]> git.saurik.com Git - wxWidgets.git/blob - configure
avoid flicker when setting the text which is the same as the current status bar pane...
[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 CXXCPP
693 subdirs
694 PKG_CONFIG
695 GTK_CFLAGS
696 GTK_LIBS
697 GTK_CONFIG
698 DIRECTFB_CFLAGS
699 DIRECTFB_LIBS
700 XMKMF
701 X_CFLAGS
702 X_PRE_LIBS
703 X_LIBS
704 X_EXTRA_LIBS
705 PANGOX_CFLAGS
706 PANGOX_LIBS
707 PANGOFT2_CFLAGS
708 PANGOFT2_LIBS
709 PANGOXFT_CFLAGS
710 PANGOXFT_LIBS
711 REZ
712 DEREZ
713 SETFILE
714 LIBICONV
715 EXTRALIBS_ESD
716 SDL_CONFIG
717 SDL_CFLAGS
718 SDL_LIBS
719 LIBGNOMEPRINTUI_CFLAGS
720 LIBGNOMEPRINTUI_LIBS
721 GNOMEVFS_CFLAGS
722 GNOMEVFS_LIBS
723 HILDON_CFLAGS
724 HILDON_LIBS
725 CAIRO_CFLAGS
726 CAIRO_LIBS
727 GST_CFLAGS
728 GST_LIBS
729 CORE_BASE_LIBS
730 CORE_GUI_LIBS
731 wxUSE_ZLIB
732 wxUSE_REGEX
733 wxUSE_EXPAT
734 wxUSE_ODBC
735 wxUSE_LIBJPEG
736 wxUSE_LIBPNG
737 wxUSE_LIBTIFF
738 VENDOR
739 OFFICIAL_BUILD
740 WX_FLAVOUR
741 WX_LIB_FLAVOUR
742 WXUNIV
743 MONOLITHIC
744 USE_PLUGINS
745 EXTRALIBS
746 EXTRALIBS_XML
747 EXTRALIBS_HTML
748 EXTRALIBS_ODBC
749 EXTRALIBS_GUI
750 EXTRALIBS_OPENGL
751 EXTRALIBS_SDL
752 WITH_PLUGIN_SDL
753 EXTRALIBS_GNOMEPRINT
754 EXTRALIBS_GNOMEVFS
755 EXTRALIBS_HILDON
756 UNICODE
757 BUILD
758 DEBUG_INFO
759 DEBUG_FLAG
760 TOOLKIT_LOWERCASE
761 TOOLKIT_VERSION
762 SAMPLES_RPATH_FLAG
763 SAMPLES_RPATH_POSTLINK
764 HOST_SUFFIX
765 CPPUNIT_CFLAGS
766 CPPUNIT_LIBS
767 SET_MAKE
768 MAKE_SET
769 AROPTIONS
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 PLATFORM_UNIX
774 PLATFORM_WIN32
775 PLATFORM_MSDOS
776 PLATFORM_MAC
777 PLATFORM_MACOS
778 PLATFORM_MACOSX
779 PLATFORM_OS2
780 PLATFORM_BEOS
781 SO_SUFFIX
782 SO_SUFFIX_MODULE
783 DLLIMP_SUFFIX
784 LIBPREFIX
785 LIBEXT
786 DLLPREFIX
787 DLLPREFIX_MODULE
788 dlldir
789 AIX_CXX_LD
790 SHARED_LD_CC
791 SHARED_LD_CXX
792 SHARED_LD_MODULE_CC
793 SHARED_LD_MODULE_CXX
794 PIC_FLAG
795 WINDOWS_IMPLIB
796 USE_SOVERSION
797 USE_SOVERLINUX
798 USE_SOVERSOLARIS
799 USE_SOVERCYGWIN
800 USE_MACVERSION
801 USE_SOSYMLINKS
802 SONAME_FLAG
803 DEPS_TRACKING
804 BK_DEPS
805 GCC_PCH
806 ICC_PCH
807 BK_MAKE_PCH
808 COND_BUILD_DEBUG
809 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
810 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
811 COND_BUILD_DEBUG_UNICODE_0
812 COND_BUILD_DEBUG_UNICODE_1
813 COND_BUILD_RELEASE
814 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
815 COND_BUILD_RELEASE_UNICODE_0
816 COND_BUILD_RELEASE_UNICODE_1
817 COND_DEBUG_FLAG_1
818 COND_DEBUG_INFO_0
819 COND_DEBUG_INFO_1
820 COND_DEPS_TRACKING_0
821 COND_DEPS_TRACKING_1
822 COND_GCC_PCH_1
823 COND_ICC_PCH_1
824 COND_MONOLITHIC_0
825 COND_MONOLITHIC_0_SHARED_0
826 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
832 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_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_XRC_1
845 COND_MONOLITHIC_0_USE_MEDIA_1
846 COND_MONOLITHIC_0_USE_ODBC_1
847 COND_MONOLITHIC_1
848 COND_MONOLITHIC_1_SHARED_0
849 COND_MONOLITHIC_1_SHARED_1
850 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
851 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
852 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
853 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
854 COND_PLATFORM_MACOSX_1
855 COND_PLATFORM_MACOSX_1_TOOLKIT_
856 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
857 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
858 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
859 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
860 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
861 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
862 COND_PLATFORM_MACOSX_1_USE_GUI_1
863 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
864 COND_PLATFORM_MACOS_1
865 COND_PLATFORM_MAC_1
866 COND_PLATFORM_MSDOS_0
867 COND_PLATFORM_MSDOS_1
868 COND_PLATFORM_OS2_1
869 COND_PLATFORM_UNIX_0
870 COND_PLATFORM_UNIX_1
871 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
872 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
873 COND_PLATFORM_UNIX_1_USE_GUI_1
874 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
875 COND_PLATFORM_WIN32_0
876 COND_PLATFORM_WIN32_1
877 COND_SHARED_0
878 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
879 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
880 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
881 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
882 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
883 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
884 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
885 COND_SHARED_0_USE_XRC_1
886 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
887 COND_SHARED_0_WXUSE_ODBC_BUILTIN
888 COND_SHARED_0_WXUSE_REGEX_BUILTIN
889 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
890 COND_SHARED_1
891 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_1_USE_XRC_1
893 COND_TOOLKIT_
894 COND_TOOLKIT_COCOA
895 COND_TOOLKIT_COCOA_USE_GUI_1
896 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
897 COND_TOOLKIT_DFB
898 COND_TOOLKIT_DFB_USE_GUI_1
899 COND_TOOLKIT_GTK
900 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
901 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
902 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
903 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
905 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
906 COND_TOOLKIT_GTK_USE_GUI_1
907 COND_TOOLKIT_MAC
908 COND_TOOLKIT_MAC_USE_GUI_1
909 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_MGL
911 COND_TOOLKIT_MGL_USE_GUI_1
912 COND_TOOLKIT_MOTIF
913 COND_TOOLKIT_MOTIF_USE_GUI_1
914 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_MSW
916 COND_TOOLKIT_MSW_USE_GUI_1
917 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_MSW_WXUNIV_0
919 COND_TOOLKIT_PM
920 COND_TOOLKIT_PM_USE_GUI_1
921 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_WINCE
923 COND_TOOLKIT_WINCE_USE_GUI_1
924 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_WINCE_WXUNIV_0
926 COND_TOOLKIT_X11
927 COND_TOOLKIT_X11_USE_GUI_1
928 COND_UNICODE_1
929 COND_USE_EXCEPTIONS_0
930 COND_USE_EXCEPTIONS_1
931 COND_USE_GUI_0
932 COND_USE_GUI_1
933 COND_USE_GUI_1_WXUNIV_0
934 COND_USE_GUI_1_WXUNIV_1
935 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
936 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
937 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
938 COND_USE_ODBC_1
939 COND_USE_OPENGL_1
940 COND_USE_PCH_1
941 COND_USE_PLUGINS_0
942 COND_USE_RTTI_0
943 COND_USE_RTTI_1
944 COND_USE_SOSYMLINKS_1
945 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
946 COND_USE_SOVERLINUX_1
947 COND_USE_SOVERSION_0
948 COND_USE_SOVERSOLARIS_1
949 COND_USE_THREADS_0
950 COND_USE_THREADS_1
951 COND_USE_XRC_1
952 COND_WINDOWS_IMPLIB_1
953 COND_WITH_PLUGIN_SDL_1
954 COND_WXUNIV_0
955 COND_WXUNIV_1
956 COND_WXUSE_EXPAT_BUILTIN
957 COND_WXUSE_LIBJPEG_BUILTIN
958 COND_WXUSE_LIBPNG_BUILTIN
959 COND_WXUSE_LIBTIFF_BUILTIN
960 COND_WXUSE_ODBC_BUILTIN
961 COND_WXUSE_REGEX_BUILTIN
962 COND_WXUSE_ZLIB_BUILTIN
963 SHARED
964 WX_LIBRARY_BASENAME_NOGUI
965 WX_LIBRARY_BASENAME_GUI
966 USE_GUI
967 AFMINSTALL
968 WIN32INSTALL
969 TOOLKIT
970 TOOLKIT_DIR
971 TOOLCHAIN_NAME
972 TOOLCHAIN_FULLNAME
973 cross_compiling
974 WIDGET_SET
975 WX_RELEASE
976 WX_VERSION
977 WX_SUBVERSION
978 WX_CHARTYPE
979 WX_DEBUGTYPE
980 WXCONFIG_CPPFLAGS
981 WXCONFIG_CFLAGS
982 WXCONFIG_CXXFLAGS
983 WXCONFIG_LIBS
984 WXCONFIG_RPATH
985 WXCONFIG_LDFLAGS_GUI
986 WXCONFIG_RESFLAGS
987 EXE_LINKER
988 GUIDIST
989 DISTDIR
990 SAMPLES_SUBDIRS
991 LDFLAGS_GL
992 OPENGL_LIBS
993 DMALLOC_LIBS
994 WX_VERSION_TAG
995 RESCOMP
996 RESFLAGS
997 RESPROGRAMOBJ
998 WX_RESOURCES_MACOSX_ASCII
999 WX_RESOURCES_MACOSX_DATA
1000 LIBWXMACRES
1001 POSTLINK_COMMAND
1002 MACSETFILE
1003 GCC
1004 CPPUNIT_CONFIG
1005 LIBOBJS
1006 LTLIBOBJS'
1007 ac_subst_files=''
1008 ac_precious_vars='build_alias
1009 host_alias
1010 target_alias
1011 CC
1012 CFLAGS
1013 LDFLAGS
1014 LIBS
1015 CPPFLAGS
1016 CPP
1017 CXX
1018 CXXFLAGS
1019 CCC
1020 CXXCPP
1021 PKG_CONFIG
1022 DIRECTFB_CFLAGS
1023 DIRECTFB_LIBS
1024 XMKMF
1025 PANGOX_CFLAGS
1026 PANGOX_LIBS
1027 PANGOFT2_CFLAGS
1028 PANGOFT2_LIBS
1029 PANGOXFT_CFLAGS
1030 PANGOXFT_LIBS
1031 LIBGNOMEPRINTUI_CFLAGS
1032 LIBGNOMEPRINTUI_LIBS
1033 GNOMEVFS_CFLAGS
1034 GNOMEVFS_LIBS
1035 HILDON_CFLAGS
1036 HILDON_LIBS
1037 CAIRO_CFLAGS
1038 CAIRO_LIBS
1039 GST_CFLAGS
1040 GST_LIBS'
1041 ac_subdirs_all='src/expat'
1042
1043 # Initialize some variables set by options.
1044 ac_init_help=
1045 ac_init_version=false
1046 # The variables have the same names as the options, with
1047 # dashes changed to underlines.
1048 cache_file=/dev/null
1049 exec_prefix=NONE
1050 no_create=
1051 no_recursion=
1052 prefix=NONE
1053 program_prefix=NONE
1054 program_suffix=NONE
1055 program_transform_name=s,x,x,
1056 silent=
1057 site=
1058 srcdir=
1059 verbose=
1060 x_includes=NONE
1061 x_libraries=NONE
1062
1063 # Installation directory options.
1064 # These are left unexpanded so users can "make install exec_prefix=/foo"
1065 # and all the variables that are supposed to be based on exec_prefix
1066 # by default will actually change.
1067 # Use braces instead of parens because sh, perl, etc. also accept them.
1068 # (The list follows the same order as the GNU Coding Standards.)
1069 bindir='${exec_prefix}/bin'
1070 sbindir='${exec_prefix}/sbin'
1071 libexecdir='${exec_prefix}/libexec'
1072 datarootdir='${prefix}/share'
1073 datadir='${datarootdir}'
1074 sysconfdir='${prefix}/etc'
1075 sharedstatedir='${prefix}/com'
1076 localstatedir='${prefix}/var'
1077 includedir='${prefix}/include'
1078 oldincludedir='/usr/include'
1079 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1080 infodir='${datarootdir}/info'
1081 htmldir='${docdir}'
1082 dvidir='${docdir}'
1083 pdfdir='${docdir}'
1084 psdir='${docdir}'
1085 libdir='${exec_prefix}/lib'
1086 localedir='${datarootdir}/locale'
1087 mandir='${datarootdir}/man'
1088
1089 ac_prev=
1090 ac_dashdash=
1091 for ac_option
1092 do
1093 # If the previous option needs an argument, assign it.
1094 if test -n "$ac_prev"; then
1095 eval $ac_prev=\$ac_option
1096 ac_prev=
1097 continue
1098 fi
1099
1100 case $ac_option in
1101 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1102 *) ac_optarg=yes ;;
1103 esac
1104
1105 # Accept the important Cygnus configure options, so we can diagnose typos.
1106
1107 case $ac_dashdash$ac_option in
1108 --)
1109 ac_dashdash=yes ;;
1110
1111 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1112 ac_prev=bindir ;;
1113 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1114 bindir=$ac_optarg ;;
1115
1116 -build | --build | --buil | --bui | --bu)
1117 ac_prev=build_alias ;;
1118 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1119 build_alias=$ac_optarg ;;
1120
1121 -cache-file | --cache-file | --cache-fil | --cache-fi \
1122 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1123 ac_prev=cache_file ;;
1124 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1125 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1126 cache_file=$ac_optarg ;;
1127
1128 --config-cache | -C)
1129 cache_file=config.cache ;;
1130
1131 -datadir | --datadir | --datadi | --datad)
1132 ac_prev=datadir ;;
1133 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1134 datadir=$ac_optarg ;;
1135
1136 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1137 | --dataroo | --dataro | --datar)
1138 ac_prev=datarootdir ;;
1139 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1140 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1141 datarootdir=$ac_optarg ;;
1142
1143 -disable-* | --disable-*)
1144 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1147 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1148 { (exit 1); exit 1; }; }
1149 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1150 eval enable_$ac_feature=no ;;
1151
1152 -docdir | --docdir | --docdi | --doc | --do)
1153 ac_prev=docdir ;;
1154 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1155 docdir=$ac_optarg ;;
1156
1157 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1158 ac_prev=dvidir ;;
1159 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1160 dvidir=$ac_optarg ;;
1161
1162 -enable-* | --enable-*)
1163 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1167 { (exit 1); exit 1; }; }
1168 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1169 eval enable_$ac_feature=\$ac_optarg ;;
1170
1171 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1172 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1173 | --exec | --exe | --ex)
1174 ac_prev=exec_prefix ;;
1175 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1176 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1177 | --exec=* | --exe=* | --ex=*)
1178 exec_prefix=$ac_optarg ;;
1179
1180 -gas | --gas | --ga | --g)
1181 # Obsolete; use --with-gas.
1182 with_gas=yes ;;
1183
1184 -help | --help | --hel | --he | -h)
1185 ac_init_help=long ;;
1186 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1187 ac_init_help=recursive ;;
1188 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1189 ac_init_help=short ;;
1190
1191 -host | --host | --hos | --ho)
1192 ac_prev=host_alias ;;
1193 -host=* | --host=* | --hos=* | --ho=*)
1194 host_alias=$ac_optarg ;;
1195
1196 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1197 ac_prev=htmldir ;;
1198 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1199 | --ht=*)
1200 htmldir=$ac_optarg ;;
1201
1202 -includedir | --includedir | --includedi | --included | --include \
1203 | --includ | --inclu | --incl | --inc)
1204 ac_prev=includedir ;;
1205 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1206 | --includ=* | --inclu=* | --incl=* | --inc=*)
1207 includedir=$ac_optarg ;;
1208
1209 -infodir | --infodir | --infodi | --infod | --info | --inf)
1210 ac_prev=infodir ;;
1211 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1212 infodir=$ac_optarg ;;
1213
1214 -libdir | --libdir | --libdi | --libd)
1215 ac_prev=libdir ;;
1216 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1217 libdir=$ac_optarg ;;
1218
1219 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1220 | --libexe | --libex | --libe)
1221 ac_prev=libexecdir ;;
1222 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1223 | --libexe=* | --libex=* | --libe=*)
1224 libexecdir=$ac_optarg ;;
1225
1226 -localedir | --localedir | --localedi | --localed | --locale)
1227 ac_prev=localedir ;;
1228 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1229 localedir=$ac_optarg ;;
1230
1231 -localstatedir | --localstatedir | --localstatedi | --localstated \
1232 | --localstate | --localstat | --localsta | --localst | --locals)
1233 ac_prev=localstatedir ;;
1234 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1235 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1236 localstatedir=$ac_optarg ;;
1237
1238 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1239 ac_prev=mandir ;;
1240 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1241 mandir=$ac_optarg ;;
1242
1243 -nfp | --nfp | --nf)
1244 # Obsolete; use --without-fp.
1245 with_fp=no ;;
1246
1247 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1248 | --no-cr | --no-c | -n)
1249 no_create=yes ;;
1250
1251 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1252 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1253 no_recursion=yes ;;
1254
1255 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1256 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1257 | --oldin | --oldi | --old | --ol | --o)
1258 ac_prev=oldincludedir ;;
1259 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1260 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1261 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1262 oldincludedir=$ac_optarg ;;
1263
1264 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1265 ac_prev=prefix ;;
1266 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1267 prefix=$ac_optarg ;;
1268
1269 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1270 | --program-pre | --program-pr | --program-p)
1271 ac_prev=program_prefix ;;
1272 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1273 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1274 program_prefix=$ac_optarg ;;
1275
1276 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1277 | --program-suf | --program-su | --program-s)
1278 ac_prev=program_suffix ;;
1279 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1280 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1281 program_suffix=$ac_optarg ;;
1282
1283 -program-transform-name | --program-transform-name \
1284 | --program-transform-nam | --program-transform-na \
1285 | --program-transform-n | --program-transform- \
1286 | --program-transform | --program-transfor \
1287 | --program-transfo | --program-transf \
1288 | --program-trans | --program-tran \
1289 | --progr-tra | --program-tr | --program-t)
1290 ac_prev=program_transform_name ;;
1291 -program-transform-name=* | --program-transform-name=* \
1292 | --program-transform-nam=* | --program-transform-na=* \
1293 | --program-transform-n=* | --program-transform-=* \
1294 | --program-transform=* | --program-transfor=* \
1295 | --program-transfo=* | --program-transf=* \
1296 | --program-trans=* | --program-tran=* \
1297 | --progr-tra=* | --program-tr=* | --program-t=*)
1298 program_transform_name=$ac_optarg ;;
1299
1300 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1301 ac_prev=pdfdir ;;
1302 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1303 pdfdir=$ac_optarg ;;
1304
1305 -psdir | --psdir | --psdi | --psd | --ps)
1306 ac_prev=psdir ;;
1307 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1308 psdir=$ac_optarg ;;
1309
1310 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1311 | -silent | --silent | --silen | --sile | --sil)
1312 silent=yes ;;
1313
1314 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1315 ac_prev=sbindir ;;
1316 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1317 | --sbi=* | --sb=*)
1318 sbindir=$ac_optarg ;;
1319
1320 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1321 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1322 | --sharedst | --shareds | --shared | --share | --shar \
1323 | --sha | --sh)
1324 ac_prev=sharedstatedir ;;
1325 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1326 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1327 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1328 | --sha=* | --sh=*)
1329 sharedstatedir=$ac_optarg ;;
1330
1331 -site | --site | --sit)
1332 ac_prev=site ;;
1333 -site=* | --site=* | --sit=*)
1334 site=$ac_optarg ;;
1335
1336 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1337 ac_prev=srcdir ;;
1338 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1339 srcdir=$ac_optarg ;;
1340
1341 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1342 | --syscon | --sysco | --sysc | --sys | --sy)
1343 ac_prev=sysconfdir ;;
1344 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1345 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1346 sysconfdir=$ac_optarg ;;
1347
1348 -target | --target | --targe | --targ | --tar | --ta | --t)
1349 ac_prev=target_alias ;;
1350 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1351 target_alias=$ac_optarg ;;
1352
1353 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1354 verbose=yes ;;
1355
1356 -version | --version | --versio | --versi | --vers | -V)
1357 ac_init_version=: ;;
1358
1359 -with-* | --with-*)
1360 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1361 # Reject names that are not valid shell variable names.
1362 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1363 { echo "$as_me: error: invalid package name: $ac_package" >&2
1364 { (exit 1); exit 1; }; }
1365 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1366 eval with_$ac_package=\$ac_optarg ;;
1367
1368 -without-* | --without-*)
1369 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1370 # Reject names that are not valid shell variable names.
1371 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372 { echo "$as_me: error: invalid package name: $ac_package" >&2
1373 { (exit 1); exit 1; }; }
1374 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1375 eval with_$ac_package=no ;;
1376
1377 --x)
1378 # Obsolete; use --with-x.
1379 with_x=yes ;;
1380
1381 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1382 | --x-incl | --x-inc | --x-in | --x-i)
1383 ac_prev=x_includes ;;
1384 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1385 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1386 x_includes=$ac_optarg ;;
1387
1388 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1389 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1390 ac_prev=x_libraries ;;
1391 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1392 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1393 x_libraries=$ac_optarg ;;
1394
1395 -*) { echo "$as_me: error: unrecognized option: $ac_option
1396 Try \`$0 --help' for more information." >&2
1397 { (exit 1); exit 1; }; }
1398 ;;
1399
1400 *=*)
1401 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1402 # Reject names that are not valid shell variable names.
1403 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1404 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1405 { (exit 1); exit 1; }; }
1406 eval $ac_envvar=\$ac_optarg
1407 export $ac_envvar ;;
1408
1409 *)
1410 # FIXME: should be removed in autoconf 3.0.
1411 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1412 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1413 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1414 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1415 ;;
1416
1417 esac
1418 done
1419
1420 if test -n "$ac_prev"; then
1421 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1422 { echo "$as_me: error: missing argument to $ac_option" >&2
1423 { (exit 1); exit 1; }; }
1424 fi
1425
1426 # Be sure to have absolute directory names.
1427 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1428 datadir sysconfdir sharedstatedir localstatedir includedir \
1429 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1430 libdir localedir mandir
1431 do
1432 eval ac_val=\$$ac_var
1433 case $ac_val in
1434 [\\/$]* | ?:[\\/]* ) continue;;
1435 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1436 esac
1437 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1438 { (exit 1); exit 1; }; }
1439 done
1440
1441 # There might be people who depend on the old broken behavior: `$host'
1442 # used to hold the argument of --host etc.
1443 # FIXME: To remove some day.
1444 build=$build_alias
1445 host=$host_alias
1446 target=$target_alias
1447
1448 # FIXME: To remove some day.
1449 if test "x$host_alias" != x; then
1450 if test "x$build_alias" = x; then
1451 cross_compiling=maybe
1452 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1453 If a cross compiler is detected then cross compile mode will be used." >&2
1454 elif test "x$build_alias" != "x$host_alias"; then
1455 cross_compiling=yes
1456 fi
1457 fi
1458
1459 ac_tool_prefix=
1460 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1461
1462 test "$silent" = yes && exec 6>/dev/null
1463
1464
1465 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1466 ac_ls_di=`ls -di .` &&
1467 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1468 { echo "$as_me: error: Working directory cannot be determined" >&2
1469 { (exit 1); exit 1; }; }
1470 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1471 { echo "$as_me: error: pwd does not report name of working directory" >&2
1472 { (exit 1); exit 1; }; }
1473
1474
1475 # Find the source files, if location was not specified.
1476 if test -z "$srcdir"; then
1477 ac_srcdir_defaulted=yes
1478 # Try the directory containing this script, then the parent directory.
1479 ac_confdir=`$as_dirname -- "$0" ||
1480 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1481 X"$0" : 'X\(//\)[^/]' \| \
1482 X"$0" : 'X\(//\)$' \| \
1483 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1484 echo X"$0" |
1485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1486 s//\1/
1487 q
1488 }
1489 /^X\(\/\/\)[^/].*/{
1490 s//\1/
1491 q
1492 }
1493 /^X\(\/\/\)$/{
1494 s//\1/
1495 q
1496 }
1497 /^X\(\/\).*/{
1498 s//\1/
1499 q
1500 }
1501 s/.*/./; q'`
1502 srcdir=$ac_confdir
1503 if test ! -r "$srcdir/$ac_unique_file"; then
1504 srcdir=..
1505 fi
1506 else
1507 ac_srcdir_defaulted=no
1508 fi
1509 if test ! -r "$srcdir/$ac_unique_file"; then
1510 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1511 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1512 { (exit 1); exit 1; }; }
1513 fi
1514 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1515 ac_abs_confdir=`(
1516 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1517 { (exit 1); exit 1; }; }
1518 pwd)`
1519 # When building in place, set srcdir=.
1520 if test "$ac_abs_confdir" = "$ac_pwd"; then
1521 srcdir=.
1522 fi
1523 # Remove unnecessary trailing slashes from srcdir.
1524 # Double slashes in file names in object file debugging info
1525 # mess up M-x gdb in Emacs.
1526 case $srcdir in
1527 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1528 esac
1529 for ac_var in $ac_precious_vars; do
1530 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1531 eval ac_env_${ac_var}_value=\$${ac_var}
1532 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1533 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1534 done
1535
1536 #
1537 # Report the --help message.
1538 #
1539 if test "$ac_init_help" = "long"; then
1540 # Omit some internal or obsolete options to make the list less imposing.
1541 # This message is too long to be a string in the A/UX 3.1 sh.
1542 cat <<_ACEOF
1543 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1544
1545 Usage: $0 [OPTION]... [VAR=VALUE]...
1546
1547 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1548 VAR=VALUE. See below for descriptions of some of the useful variables.
1549
1550 Defaults for the options are specified in brackets.
1551
1552 Configuration:
1553 -h, --help display this help and exit
1554 --help=short display options specific to this package
1555 --help=recursive display the short help of all the included packages
1556 -V, --version display version information and exit
1557 -q, --quiet, --silent do not print \`checking...' messages
1558 --cache-file=FILE cache test results in FILE [disabled]
1559 -C, --config-cache alias for \`--cache-file=config.cache'
1560 -n, --no-create do not create output files
1561 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1562
1563 Installation directories:
1564 --prefix=PREFIX install architecture-independent files in PREFIX
1565 [$ac_default_prefix]
1566 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1567 [PREFIX]
1568
1569 By default, \`make install' will install all the files in
1570 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1571 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1572 for instance \`--prefix=\$HOME'.
1573
1574 For better control, use the options below.
1575
1576 Fine tuning of the installation directories:
1577 --bindir=DIR user executables [EPREFIX/bin]
1578 --sbindir=DIR system admin executables [EPREFIX/sbin]
1579 --libexecdir=DIR program executables [EPREFIX/libexec]
1580 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1581 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1582 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1583 --libdir=DIR object code libraries [EPREFIX/lib]
1584 --includedir=DIR C header files [PREFIX/include]
1585 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1586 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1587 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1588 --infodir=DIR info documentation [DATAROOTDIR/info]
1589 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1590 --mandir=DIR man documentation [DATAROOTDIR/man]
1591 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1592 --htmldir=DIR html documentation [DOCDIR]
1593 --dvidir=DIR dvi documentation [DOCDIR]
1594 --pdfdir=DIR pdf documentation [DOCDIR]
1595 --psdir=DIR ps documentation [DOCDIR]
1596 _ACEOF
1597
1598 cat <<\_ACEOF
1599
1600 X features:
1601 --x-includes=DIR X include files are in DIR
1602 --x-libraries=DIR X library files are in DIR
1603
1604 System types:
1605 --build=BUILD configure for building on BUILD [guessed]
1606 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1607 --target=TARGET configure for building compilers for TARGET [HOST]
1608 _ACEOF
1609 fi
1610
1611 if test -n "$ac_init_help"; then
1612 case $ac_init_help in
1613 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1614 esac
1615 cat <<\_ACEOF
1616
1617 Optional Features:
1618 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1619 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1620 --enable-gui use GUI classes
1621 --enable-monolithic build wxWidgets as single library
1622 --enable-plugins build parts of wxWidgets as loadable components
1623 --enable-universal use wxWidgets GUI controls instead of native ones
1624 --enable-nanox use NanoX
1625 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1626 --enable-gpe use GNOME PDA Environment features if possible
1627 --enable-shared create shared library code
1628 --enable-optimise create optimised code
1629 --enable-debug same as debug_flag and debug_info
1630 --enable-stl use STL for containers
1631 --enable-omf use OMF object format
1632 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1633 --enable-debug_info create code with debugging information
1634 --enable-debug_gdb create code with extra GDB debugging information
1635 --enable-debug_cntxt use wxDebugContext
1636 --enable-mem_tracing create code with memory tracing
1637 --enable-profile create code with profiling information
1638 --enable-no_rtti create code without RTTI information
1639 --enable-no_exceptions create code without C++ exceptions handling
1640 --enable-permissive compile code disregarding strict ANSI
1641 --enable-no_deps create code without dependency information
1642 --disable-vararg_macros don't use vararg macros, even if they are supported
1643 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1644 --enable-compat26 enable wxWidgets 2.6 compatibility
1645 --disable-compat28 disable wxWidgets 2.8 compatibility
1646 --disable-rpath disable use of rpath for uninstalled builds
1647 --enable-intl use internationalization system
1648 --enable-config use wxConfig (and derived) classes
1649 --enable-protocols use wxProtocol and derived classes
1650 --enable-ftp use wxFTP (requires wxProtocol
1651 --enable-http use wxHTTP (requires wxProtocol
1652 --enable-fileproto use wxFileProto class (requires wxProtocol
1653 --enable-sockets use socket/network classes
1654 --enable-ole use OLE classes (Win32 only)
1655 --enable-dataobj use data object classes
1656 --enable-ipc use interprocess communication (wxSocket etc.)
1657 --enable-apple_ieee use the Apple IEEE codec
1658 --enable-arcstream use wxArchive streams
1659 --enable-backtrace use wxStackWalker class for getting backtraces
1660 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1661 --enable-cmdline use wxCmdLineParser class
1662 --enable-datetime use wxDateTime class
1663 --enable-debugreport use wxDebugReport class
1664 --enable-dialupman use dialup network classes
1665 --enable-dynlib use wxLibrary class for DLL loading
1666 --enable-dynamicloader use (new) wxDynamicLibrary class
1667 --enable-exceptions build exception-safe library
1668 --enable-ffile use wxFFile class
1669 --enable-file use wxFile class
1670 --enable-filesystem use virtual file systems classes
1671 --enable-fontmap use font encodings conversion classes
1672 --enable-fs_archive use virtual archive filesystems
1673 --enable-fs_inet use virtual HTTP/FTP filesystems
1674 --enable-fs_zip now replaced by fs_archive
1675 --enable-geometry use geometry class
1676 --enable-log use logging system
1677 --enable-longlong use wxLongLong class
1678 --enable-mimetype use wxMimeTypesManager
1679 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1680 --enable-snglinst use wxSingleInstanceChecker class
1681 --enable-std_iostreams use standard C++ stream classes
1682 --enable-std_string use standard C++ string classes
1683 --enable-stdpaths use wxStandardPaths class
1684 --enable-stopwatch use wxStopWatch class
1685 --enable-streams use wxStream etc classes
1686 --enable-sysoptions use wxSystemOptions
1687 --enable-tarstream use wxTar streams
1688 --enable-textbuf use wxTextBuffer class
1689 --enable-textfile use wxTextFile class
1690 --enable-timer use wxTimer class
1691 --enable-unicode compile wxString with Unicode support
1692 --enable-sound use wxSound class
1693 --enable-mediactrl use wxMediaCtrl class
1694 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1695 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1696 --enable-zipstream use wxZip streams
1697 --enable-url use wxURL class
1698 --enable-variant use wxVariant class
1699 --enable-protocol use wxProtocol class
1700 --enable-protocol-http HTTP support in wxProtocol
1701 --enable-protocol-ftp FTP support in wxProtocol
1702 --enable-protocol-file FILE support in wxProtocol
1703 --enable-threads use threads
1704 --enable-docview use document view architecture
1705 --enable-help use help subsystem
1706 --enable-mshtmlhelp use MS HTML Help (win32)
1707 --enable-html use wxHTML sub-library
1708 --enable-htmlhelp use wxHTML-based help
1709 --enable-xrc use XRC resources sub-library
1710 --enable-aui use AUI docking library
1711 --enable-constraints use layout-constraints system
1712 --enable-printarch use printing architecture
1713 --enable-mdi use multiple document interface architecture
1714 --enable-mdidoc use docview architecture with MDI
1715 --enable-loggui use standard GUI logger
1716 --enable-logwin use wxLogWindow
1717 --enable-logdialog use wxLogDialog
1718 --enable-webkit use wxWebKitCtrl (Mac)
1719 --enable-richtext use wxRichTextCtrl
1720 --enable-graphics_ctx use graphics context 2D drawing API
1721 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1722 --enable-prologio not available; see contrib
1723 --enable-resources not available; see contrib
1724 --enable-clipboard use wxClipboard class
1725 --enable-dnd use Drag'n'Drop classes
1726 --enable-metafile use win32 metafiles
1727 --enable-controls use all usual controls
1728 --enable-accel use accelerators
1729 --enable-animatectrl use wxAnimationCtrl class
1730 --enable-button use wxButton class
1731 --enable-bmpbutton use wxBitmapButton class
1732 --enable-bmpcombobox use wxBitmapComboBox class
1733 --enable-calendar use wxCalendarCtrl class
1734 --enable-caret use wxCaret class
1735 --enable-checkbox use wxCheckBox class
1736 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1737 --enable-choice use wxChoice class
1738 --enable-choicebook use wxChoicebook class
1739 --enable-collpane use wxCollapsiblePane class
1740 --enable-colourpicker use wxColourPickerCtrl class
1741 --enable-combobox use wxComboBox class
1742 --enable-comboctrl use wxComboCtrl class
1743 --enable-datepick use wxDatePickerCtrl class
1744 --enable-dirpicker use wxDirPickerCtrl class
1745 --enable-display use wxDisplay class
1746 --enable-detect_sm use code to detect X11 session manager
1747 --enable-filepicker use wxFilePickerCtrl class
1748 --enable-fontpicker use wxFontPickerCtrl class
1749 --enable-gauge use wxGauge class
1750 --enable-grid use wxGrid class
1751 --enable-dataviewctrl use wxDataViewCtrl class
1752 --enable-hyperlink use wxHyperlinkCtrl class
1753 --enable-imaglist use wxImageList class
1754 --enable-listbook use wxListbook class
1755 --enable-listbox use wxListBox class
1756 --enable-listctrl use wxListCtrl class
1757 --enable-notebook use wxNotebook class
1758 --enable-odcombobox use wxOwnerDrawnComboBox class
1759 --enable-radiobox use wxRadioBox class
1760 --enable-radiobtn use wxRadioButton class
1761 --enable-sash use wxSashWindow class
1762 --enable-scrollbar use wxScrollBar class and scrollable windows
1763 --enable-searchctrl use wxSearchCtrl class
1764 --enable-slider use wxSlider class
1765 --enable-spinbtn use wxSpinButton class
1766 --enable-spinctrl use wxSpinCtrl class
1767 --enable-splitter use wxSplitterWindow class
1768 --enable-statbmp use wxStaticBitmap class
1769 --enable-statbox use wxStaticBox class
1770 --enable-statline use wxStaticLine class
1771 --enable-stattext use wxStaticText class
1772 --enable-statusbar use wxStatusBar class
1773 --enable-tabdialog use wxTabControl class
1774 --enable-textctrl use wxTextCtrl class
1775 --enable-togglebtn use wxToggleButton class
1776 --enable-toolbar use wxToolBar class
1777 --enable-tbarnative use native wxToolBar class
1778 --enable-treebook use wxTreebook class
1779 --enable-toolbook use wxToolbook class
1780 --enable-treectrl use wxTreeCtrl class
1781 --enable-tipwindow use wxTipWindow class
1782 --enable-popupwin use wxPopUpWindow class
1783 --enable-commondlg use all common dialogs
1784 --enable-aboutdlg use wxAboutBox
1785 --enable-choicedlg use wxChoiceDialog
1786 --enable-coldlg use wxColourDialog
1787 --enable-filedlg use wxFileDialog
1788 --enable-finddlg use wxFindReplaceDialog
1789 --enable-fontdlg use wxFontDialog
1790 --enable-dirdlg use wxDirDialog
1791 --enable-msgdlg use wxMessageDialog
1792 --enable-numberdlg use wxNumberEntryDialog
1793 --enable-splash use wxSplashScreen
1794 --enable-textdlg use wxTextDialog
1795 --enable-tipdlg use startup tips
1796 --enable-progressdlg use wxProgressDialog
1797 --enable-wizarddlg use wxWizard
1798 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1799 --enable-miniframe use wxMiniFrame class
1800 --enable-tooltips use wxToolTip class
1801 --enable-splines use spline drawing code
1802 --enable-mousewheel use mousewheel
1803 --enable-validators use wxValidator and derived classes
1804 --enable-busyinfo use wxBusyInfo
1805 --enable-joystick use wxJoystick
1806 --enable-metafiles use wxMetaFile (Win32 only)
1807 --enable-dragimage use wxDragImage
1808 --enable-accessibility enable accessibility support
1809 --enable-dccache cache temporary wxDC objects (Win32 only)
1810 --enable-palette use wxPalette class
1811 --enable-image use wxImage class
1812 --enable-gif use gif images (GIF file format)
1813 --enable-pcx use pcx images (PCX file format)
1814 --enable-tga use tga images (TGA file format)
1815 --enable-iff use iff images (IFF file format)
1816 --enable-pnm use pnm images (PNM file format)
1817 --enable-xpm use xpm images (XPM file format)
1818 --enable-icocur use Windows ICO and CUR formats
1819 --enable-official_build official build of wxWidgets (win32 DLL only)
1820 --enable-vendor=VENDOR vendor name (win32 DLL only)
1821 --disable-largefile omit support for large files
1822 --disable-gtktest do not try to compile and run a test GTK+ program
1823 --disable-gtktest Do not try to compile and run a test GTK program
1824 --disable-sdltest Do not try to compile and run a test SDL program
1825 --enable-omf use OMF object format (OS/2)
1826 --disable-dependency-tracking
1827 don't use dependency tracking even if the compiler
1828 can
1829 --disable-precomp-headers
1830 don't use precompiled headers even if compiler can
1831
1832 Optional Packages:
1833 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1834 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1835 --without-subdirs don't generate makefiles for samples/demos/...
1836 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1837 --with-motif use Motif/Lesstif
1838 --with-mac use Mac OS X
1839 --with-cocoa use Cocoa
1840 --with-wine use Wine
1841 --with-msw use MS-Windows
1842 --with-pm use OS/2 Presentation Manager
1843 --with-mgl use SciTech MGL
1844 --with-directfb use DirectFB
1845 --with-microwin use MicroWindows
1846 --with-x11 use X11
1847 --with-libpng use libpng (PNG image format)
1848 --with-libjpeg use libjpeg (JPEG file format)
1849 --with-libtiff use libtiff (TIFF file format)
1850 --with-libxpm use libxpm (XPM file format)
1851 --with-libmspack use libmspack (CHM help files loading)
1852 --with-sdl use SDL for audio on Unix
1853 --with-gnomeprint use GNOME print for printing under GNOME
1854 --with-gnomevfs use GNOME VFS for associating MIME types
1855 --with-hildon use Hildon framework for Nokia 770
1856 --with-opengl use OpenGL (or Mesa)
1857 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1858 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1859 --with-regex enable support for wxRegEx class
1860 --with-zlib use zlib for LZW compression
1861 --with-odbc use the IODBC and wxODBC classes
1862 --with-expat enable XML support using expat parser
1863 --with-flavour=NAME specify a name to identify this build
1864 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1865 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1866 --with-x use the X Window System
1867 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1868 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1869 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1870 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1871 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1872
1873 Some influential environment variables:
1874 CC C compiler command
1875 CFLAGS C compiler flags
1876 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1877 nonstandard directory <lib dir>
1878 LIBS libraries to pass to the linker, e.g. -l<library>
1879 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1880 you have headers in a nonstandard directory <include dir>
1881 CPP C preprocessor
1882 CXX C++ compiler command
1883 CXXFLAGS C++ compiler flags
1884 CXXCPP C++ preprocessor
1885 PKG_CONFIG path to pkg-config utility
1886 DIRECTFB_CFLAGS
1887 C compiler flags for DIRECTFB, overriding pkg-config
1888 DIRECTFB_LIBS
1889 linker flags for DIRECTFB, overriding pkg-config
1890 XMKMF Path to xmkmf, Makefile generator for X Window System
1891 PANGOX_CFLAGS
1892 C compiler flags for PANGOX, overriding pkg-config
1893 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1894 PANGOFT2_CFLAGS
1895 C compiler flags for PANGOFT2, overriding pkg-config
1896 PANGOFT2_LIBS
1897 linker flags for PANGOFT2, overriding pkg-config
1898 PANGOXFT_CFLAGS
1899 C compiler flags for PANGOXFT, overriding pkg-config
1900 PANGOXFT_LIBS
1901 linker flags for PANGOXFT, overriding pkg-config
1902 LIBGNOMEPRINTUI_CFLAGS
1903 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1904 LIBGNOMEPRINTUI_LIBS
1905 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1906 GNOMEVFS_CFLAGS
1907 C compiler flags for GNOMEVFS, overriding pkg-config
1908 GNOMEVFS_LIBS
1909 linker flags for GNOMEVFS, overriding pkg-config
1910 HILDON_CFLAGS
1911 C compiler flags for HILDON, overriding pkg-config
1912 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1913 CAIRO_CFLAGS
1914 C compiler flags for CAIRO, overriding pkg-config
1915 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1916 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1917 GST_LIBS linker flags for GST, overriding pkg-config
1918
1919 Use these variables to override the choices made by `configure' or to help
1920 it to find libraries and programs with nonstandard names/locations.
1921
1922 Report bugs to <wx-dev@lists.wxwidgets.org>.
1923 _ACEOF
1924 ac_status=$?
1925 fi
1926
1927 if test "$ac_init_help" = "recursive"; then
1928 # If there are subdirs, report their specific --help.
1929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1930 test -d "$ac_dir" || continue
1931 ac_builddir=.
1932
1933 case "$ac_dir" in
1934 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1935 *)
1936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1937 # A ".." for each directory in $ac_dir_suffix.
1938 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1939 case $ac_top_builddir_sub in
1940 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1941 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1942 esac ;;
1943 esac
1944 ac_abs_top_builddir=$ac_pwd
1945 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1946 # for backward compatibility:
1947 ac_top_builddir=$ac_top_build_prefix
1948
1949 case $srcdir in
1950 .) # We are building in place.
1951 ac_srcdir=.
1952 ac_top_srcdir=$ac_top_builddir_sub
1953 ac_abs_top_srcdir=$ac_pwd ;;
1954 [\\/]* | ?:[\\/]* ) # Absolute name.
1955 ac_srcdir=$srcdir$ac_dir_suffix;
1956 ac_top_srcdir=$srcdir
1957 ac_abs_top_srcdir=$srcdir ;;
1958 *) # Relative name.
1959 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1960 ac_top_srcdir=$ac_top_build_prefix$srcdir
1961 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1962 esac
1963 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1964
1965 cd "$ac_dir" || { ac_status=$?; continue; }
1966 # Check for guested configure.
1967 if test -f "$ac_srcdir/configure.gnu"; then
1968 echo &&
1969 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1970 elif test -f "$ac_srcdir/configure"; then
1971 echo &&
1972 $SHELL "$ac_srcdir/configure" --help=recursive
1973 else
1974 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1975 fi || ac_status=$?
1976 cd "$ac_pwd" || { ac_status=$?; break; }
1977 done
1978 fi
1979
1980 test -n "$ac_init_help" && exit $ac_status
1981 if $ac_init_version; then
1982 cat <<\_ACEOF
1983 wxWidgets configure 2.9.0
1984 generated by GNU Autoconf 2.61
1985
1986 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1987 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1988 This configure script is free software; the Free Software Foundation
1989 gives unlimited permission to copy, distribute and modify it.
1990 _ACEOF
1991 exit
1992 fi
1993 cat >config.log <<_ACEOF
1994 This file contains any messages produced by compilers while
1995 running configure, to aid debugging if configure makes a mistake.
1996
1997 It was created by wxWidgets $as_me 2.9.0, which was
1998 generated by GNU Autoconf 2.61. Invocation command line was
1999
2000 $ $0 $@
2001
2002 _ACEOF
2003 exec 5>>config.log
2004 {
2005 cat <<_ASUNAME
2006 ## --------- ##
2007 ## Platform. ##
2008 ## --------- ##
2009
2010 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2011 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2012 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2013 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2014 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2015
2016 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2017 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2018
2019 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2020 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2021 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2022 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2023 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2024 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2025 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2026
2027 _ASUNAME
2028
2029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 for as_dir in $PATH
2031 do
2032 IFS=$as_save_IFS
2033 test -z "$as_dir" && as_dir=.
2034 echo "PATH: $as_dir"
2035 done
2036 IFS=$as_save_IFS
2037
2038 } >&5
2039
2040 cat >&5 <<_ACEOF
2041
2042
2043 ## ----------- ##
2044 ## Core tests. ##
2045 ## ----------- ##
2046
2047 _ACEOF
2048
2049
2050 # Keep a trace of the command line.
2051 # Strip out --no-create and --no-recursion so they do not pile up.
2052 # Strip out --silent because we don't want to record it for future runs.
2053 # Also quote any args containing shell meta-characters.
2054 # Make two passes to allow for proper duplicate-argument suppression.
2055 ac_configure_args=
2056 ac_configure_args0=
2057 ac_configure_args1=
2058 ac_must_keep_next=false
2059 for ac_pass in 1 2
2060 do
2061 for ac_arg
2062 do
2063 case $ac_arg in
2064 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2066 | -silent | --silent | --silen | --sile | --sil)
2067 continue ;;
2068 *\'*)
2069 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2070 esac
2071 case $ac_pass in
2072 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2073 2)
2074 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2075 if test $ac_must_keep_next = true; then
2076 ac_must_keep_next=false # Got value, back to normal.
2077 else
2078 case $ac_arg in
2079 *=* | --config-cache | -C | -disable-* | --disable-* \
2080 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2081 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2082 | -with-* | --with-* | -without-* | --without-* | --x)
2083 case "$ac_configure_args0 " in
2084 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2085 esac
2086 ;;
2087 -* ) ac_must_keep_next=true ;;
2088 esac
2089 fi
2090 ac_configure_args="$ac_configure_args '$ac_arg'"
2091 ;;
2092 esac
2093 done
2094 done
2095 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2096 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2097
2098 # When interrupted or exit'd, cleanup temporary files, and complete
2099 # config.log. We remove comments because anyway the quotes in there
2100 # would cause problems or look ugly.
2101 # WARNING: Use '\'' to represent an apostrophe within the trap.
2102 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2103 trap 'exit_status=$?
2104 # Save into config.log some information that might help in debugging.
2105 {
2106 echo
2107
2108 cat <<\_ASBOX
2109 ## ---------------- ##
2110 ## Cache variables. ##
2111 ## ---------------- ##
2112 _ASBOX
2113 echo
2114 # The following way of writing the cache mishandles newlines in values,
2115 (
2116 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2117 eval ac_val=\$$ac_var
2118 case $ac_val in #(
2119 *${as_nl}*)
2120 case $ac_var in #(
2121 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2122 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2123 esac
2124 case $ac_var in #(
2125 _ | IFS | as_nl) ;; #(
2126 *) $as_unset $ac_var ;;
2127 esac ;;
2128 esac
2129 done
2130 (set) 2>&1 |
2131 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2132 *${as_nl}ac_space=\ *)
2133 sed -n \
2134 "s/'\''/'\''\\\\'\'''\''/g;
2135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2136 ;; #(
2137 *)
2138 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2139 ;;
2140 esac |
2141 sort
2142 )
2143 echo
2144
2145 cat <<\_ASBOX
2146 ## ----------------- ##
2147 ## Output variables. ##
2148 ## ----------------- ##
2149 _ASBOX
2150 echo
2151 for ac_var in $ac_subst_vars
2152 do
2153 eval ac_val=\$$ac_var
2154 case $ac_val in
2155 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2156 esac
2157 echo "$ac_var='\''$ac_val'\''"
2158 done | sort
2159 echo
2160
2161 if test -n "$ac_subst_files"; then
2162 cat <<\_ASBOX
2163 ## ------------------- ##
2164 ## File substitutions. ##
2165 ## ------------------- ##
2166 _ASBOX
2167 echo
2168 for ac_var in $ac_subst_files
2169 do
2170 eval ac_val=\$$ac_var
2171 case $ac_val in
2172 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2173 esac
2174 echo "$ac_var='\''$ac_val'\''"
2175 done | sort
2176 echo
2177 fi
2178
2179 if test -s confdefs.h; then
2180 cat <<\_ASBOX
2181 ## ----------- ##
2182 ## confdefs.h. ##
2183 ## ----------- ##
2184 _ASBOX
2185 echo
2186 cat confdefs.h
2187 echo
2188 fi
2189 test "$ac_signal" != 0 &&
2190 echo "$as_me: caught signal $ac_signal"
2191 echo "$as_me: exit $exit_status"
2192 } >&5
2193 rm -f core *.core core.conftest.* &&
2194 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2195 exit $exit_status
2196 ' 0
2197 for ac_signal in 1 2 13 15; do
2198 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2199 done
2200 ac_signal=0
2201
2202 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2203 rm -f -r conftest* confdefs.h
2204
2205 # Predefined preprocessor variables.
2206
2207 cat >>confdefs.h <<_ACEOF
2208 #define PACKAGE_NAME "$PACKAGE_NAME"
2209 _ACEOF
2210
2211
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2214 _ACEOF
2215
2216
2217 cat >>confdefs.h <<_ACEOF
2218 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2219 _ACEOF
2220
2221
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_STRING "$PACKAGE_STRING"
2224 _ACEOF
2225
2226
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2229 _ACEOF
2230
2231
2232 # Let the site file select an alternate cache file if it wants to.
2233 # Prefer explicitly selected file to automatically selected ones.
2234 if test -n "$CONFIG_SITE"; then
2235 set x "$CONFIG_SITE"
2236 elif test "x$prefix" != xNONE; then
2237 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2238 else
2239 set x "$ac_default_prefix/share/config.site" \
2240 "$ac_default_prefix/etc/config.site"
2241 fi
2242 shift
2243 for ac_site_file
2244 do
2245 if test -r "$ac_site_file"; then
2246 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2247 echo "$as_me: loading site script $ac_site_file" >&6;}
2248 sed 's/^/| /' "$ac_site_file" >&5
2249 . "$ac_site_file"
2250 fi
2251 done
2252
2253 if test -r "$cache_file"; then
2254 # Some versions of bash will fail to source /dev/null (special
2255 # files actually), so we avoid doing that.
2256 if test -f "$cache_file"; then
2257 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2258 echo "$as_me: loading cache $cache_file" >&6;}
2259 case $cache_file in
2260 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2261 *) . "./$cache_file";;
2262 esac
2263 fi
2264 else
2265 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2266 echo "$as_me: creating cache $cache_file" >&6;}
2267 >$cache_file
2268 fi
2269
2270 # Check that the precious variables saved in the cache have kept the same
2271 # value.
2272 ac_cache_corrupted=false
2273 for ac_var in $ac_precious_vars; do
2274 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2275 eval ac_new_set=\$ac_env_${ac_var}_set
2276 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2277 eval ac_new_val=\$ac_env_${ac_var}_value
2278 case $ac_old_set,$ac_new_set in
2279 set,)
2280 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2281 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2282 ac_cache_corrupted=: ;;
2283 ,set)
2284 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2285 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2286 ac_cache_corrupted=: ;;
2287 ,);;
2288 *)
2289 if test "x$ac_old_val" != "x$ac_new_val"; then
2290 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2291 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2292 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2293 echo "$as_me: former value: $ac_old_val" >&2;}
2294 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2295 echo "$as_me: current value: $ac_new_val" >&2;}
2296 ac_cache_corrupted=:
2297 fi;;
2298 esac
2299 # Pass precious variables to config.status.
2300 if test "$ac_new_set" = set; then
2301 case $ac_new_val in
2302 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2303 *) ac_arg=$ac_var=$ac_new_val ;;
2304 esac
2305 case " $ac_configure_args " in
2306 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2307 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2308 esac
2309 fi
2310 done
2311 if $ac_cache_corrupted; then
2312 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2313 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2314 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2315 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2316 { (exit 1); exit 1; }; }
2317 fi
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343 ac_ext=c
2344 ac_cpp='$CPP $CPPFLAGS'
2345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2348
2349
2350
2351
2352
2353 ac_aux_dir=
2354 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2355 if test -f "$ac_dir/install-sh"; then
2356 ac_aux_dir=$ac_dir
2357 ac_install_sh="$ac_aux_dir/install-sh -c"
2358 break
2359 elif test -f "$ac_dir/install.sh"; then
2360 ac_aux_dir=$ac_dir
2361 ac_install_sh="$ac_aux_dir/install.sh -c"
2362 break
2363 elif test -f "$ac_dir/shtool"; then
2364 ac_aux_dir=$ac_dir
2365 ac_install_sh="$ac_aux_dir/shtool install -c"
2366 break
2367 fi
2368 done
2369 if test -z "$ac_aux_dir"; then
2370 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2371 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2372 { (exit 1); exit 1; }; }
2373 fi
2374
2375 # These three variables are undocumented and unsupported,
2376 # and are intended to be withdrawn in a future Autoconf release.
2377 # They can cause serious problems if a builder's source tree is in a directory
2378 # whose full name contains unusual characters.
2379 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2380 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2381 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2382
2383
2384 # Make sure we can run config.sub.
2385 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2386 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2387 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2388 { (exit 1); exit 1; }; }
2389
2390 { echo "$as_me:$LINENO: checking build system type" >&5
2391 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2392 if test "${ac_cv_build+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 else
2395 ac_build_alias=$build_alias
2396 test "x$ac_build_alias" = x &&
2397 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2398 test "x$ac_build_alias" = x &&
2399 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2400 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2401 { (exit 1); exit 1; }; }
2402 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2403 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2404 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2405 { (exit 1); exit 1; }; }
2406
2407 fi
2408 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2409 echo "${ECHO_T}$ac_cv_build" >&6; }
2410 case $ac_cv_build in
2411 *-*-*) ;;
2412 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2413 echo "$as_me: error: invalid value of canonical build" >&2;}
2414 { (exit 1); exit 1; }; };;
2415 esac
2416 build=$ac_cv_build
2417 ac_save_IFS=$IFS; IFS='-'
2418 set x $ac_cv_build
2419 shift
2420 build_cpu=$1
2421 build_vendor=$2
2422 shift; shift
2423 # Remember, the first character of IFS is used to create $*,
2424 # except with old shells:
2425 build_os=$*
2426 IFS=$ac_save_IFS
2427 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2428
2429
2430 { echo "$as_me:$LINENO: checking host system type" >&5
2431 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2432 if test "${ac_cv_host+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 else
2435 if test "x$host_alias" = x; then
2436 ac_cv_host=$ac_cv_build
2437 else
2438 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2439 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2441 { (exit 1); exit 1; }; }
2442 fi
2443
2444 fi
2445 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2446 echo "${ECHO_T}$ac_cv_host" >&6; }
2447 case $ac_cv_host in
2448 *-*-*) ;;
2449 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2450 echo "$as_me: error: invalid value of canonical host" >&2;}
2451 { (exit 1); exit 1; }; };;
2452 esac
2453 host=$ac_cv_host
2454 ac_save_IFS=$IFS; IFS='-'
2455 set x $ac_cv_host
2456 shift
2457 host_cpu=$1
2458 host_vendor=$2
2459 shift; shift
2460 # Remember, the first character of IFS is used to create $*,
2461 # except with old shells:
2462 host_os=$*
2463 IFS=$ac_save_IFS
2464 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2465
2466
2467 { echo "$as_me:$LINENO: checking target system type" >&5
2468 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2469 if test "${ac_cv_target+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 else
2472 if test "x$target_alias" = x; then
2473 ac_cv_target=$ac_cv_host
2474 else
2475 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2479 fi
2480
2481 fi
2482 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2483 echo "${ECHO_T}$ac_cv_target" >&6; }
2484 case $ac_cv_target in
2485 *-*-*) ;;
2486 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2487 echo "$as_me: error: invalid value of canonical target" >&2;}
2488 { (exit 1); exit 1; }; };;
2489 esac
2490 target=$ac_cv_target
2491 ac_save_IFS=$IFS; IFS='-'
2492 set x $ac_cv_target
2493 shift
2494 target_cpu=$1
2495 target_vendor=$2
2496 shift; shift
2497 # Remember, the first character of IFS is used to create $*,
2498 # except with old shells:
2499 target_os=$*
2500 IFS=$ac_save_IFS
2501 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2502
2503
2504 # The aliases save the names the user supplied, while $host etc.
2505 # will get canonicalized.
2506 test -n "$target_alias" &&
2507 test "$program_prefix$program_suffix$program_transform_name" = \
2508 NONENONEs,x,x, &&
2509 program_prefix=${target_alias}-
2510
2511
2512
2513 wx_major_version_number=2
2514 wx_minor_version_number=9
2515 wx_release_number=0
2516 wx_subrelease_number=0
2517
2518 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2519 WX_VERSION=$WX_RELEASE.$wx_release_number
2520 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2521
2522 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2523
2524
2525 wx_top_builddir="`pwd`"
2526
2527
2528
2529
2530 USE_UNIX=1
2531 USE_OS2=0
2532 USE_WIN32=0
2533 USE_DOS=0
2534 USE_BEOS=0
2535 USE_MAC=0
2536
2537 USE_AIX=
2538 USE_BSD= USE_DARWIN= USE_FREEBSD=
2539 USE_GNU= USE_HPUX=
2540 USE_LINUX=
2541 USE_NETBSD=
2542 USE_OPENBSD=
2543 USE_OSF= USE_SGI=
2544 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2545 USE_ULTRIX=
2546 USE_UNIXWARE=
2547
2548 USE_ALPHA=
2549
2550 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2551
2552 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2553
2554 DEFAULT_wxUSE_COCOA=0
2555 DEFAULT_wxUSE_GTK=0
2556 DEFAULT_wxUSE_MAC=0
2557 DEFAULT_wxUSE_MGL=0
2558 DEFAULT_wxUSE_MICROWIN=0
2559 DEFAULT_wxUSE_MOTIF=0
2560 DEFAULT_wxUSE_MSW=0
2561 DEFAULT_wxUSE_PM=0
2562 DEFAULT_wxUSE_X11=0
2563 DEFAULT_wxUSE_DFB=0
2564
2565 DEFAULT_DEFAULT_wxUSE_COCOA=0
2566 DEFAULT_DEFAULT_wxUSE_GTK=0
2567 DEFAULT_DEFAULT_wxUSE_MAC=0
2568 DEFAULT_DEFAULT_wxUSE_MGL=0
2569 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2570 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2571 DEFAULT_DEFAULT_wxUSE_MSW=0
2572 DEFAULT_DEFAULT_wxUSE_PM=0
2573 DEFAULT_DEFAULT_wxUSE_X11=0
2574 DEFAULT_DEFAULT_wxUSE_DFB=0
2575
2576 PROGRAM_EXT=
2577 SO_SUFFIX=so
2578 SAMPLES_RPATH_FLAG=
2579 SAMPLES_RPATH_POSTLINK=
2580
2581 DEFAULT_STD_FLAG=yes
2582
2583 case "${host}" in
2584 *-hp-hpux* )
2585 USE_HPUX=1
2586 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2587 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2588 SO_SUFFIX=sl
2589 cat >>confdefs.h <<\_ACEOF
2590 #define __HPUX__ 1
2591 _ACEOF
2592
2593
2594 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2595 ;;
2596 *-*-linux* )
2597 USE_LINUX=1
2598 cat >>confdefs.h <<\_ACEOF
2599 #define __LINUX__ 1
2600 _ACEOF
2601
2602 TMP=`uname -m`
2603 if test "x$TMP" = "xalpha"; then
2604 USE_ALPHA=1
2605 cat >>confdefs.h <<\_ACEOF
2606 #define __ALPHA__ 1
2607 _ACEOF
2608
2609 fi
2610 DEFAULT_DEFAULT_wxUSE_GTK=1
2611 ;;
2612 *-*-gnu* | *-*-k*bsd*-gnu )
2613 USE_GNU=1
2614 TMP=`uname -m`
2615 if test "x$TMP" = "xalpha"; then
2616 USE_ALPHA=1
2617 cat >>confdefs.h <<\_ACEOF
2618 #define __ALPHA__ 1
2619 _ACEOF
2620
2621 fi
2622 DEFAULT_DEFAULT_wxUSE_GTK=1
2623 ;;
2624 *-*-irix5* | *-*-irix6* )
2625 USE_SGI=1
2626 USE_SVR4=1
2627 cat >>confdefs.h <<\_ACEOF
2628 #define __SGI__ 1
2629 _ACEOF
2630
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __SVR4__ 1
2633 _ACEOF
2634
2635 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2636 ;;
2637 *-*-solaris2* )
2638 USE_SUN=1
2639 USE_SOLARIS=1
2640 USE_SVR4=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __SUN__ 1
2643 _ACEOF
2644
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __SOLARIS__ 1
2647 _ACEOF
2648
2649 cat >>confdefs.h <<\_ACEOF
2650 #define __SVR4__ 1
2651 _ACEOF
2652
2653 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2654 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2655 ;;
2656 *-*-sunos4* )
2657 USE_SUN=1
2658 USE_SUNOS=1
2659 USE_BSD=1
2660 cat >>confdefs.h <<\_ACEOF
2661 #define __SUN__ 1
2662 _ACEOF
2663
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SUNOS__ 1
2666 _ACEOF
2667
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __BSD__ 1
2670 _ACEOF
2671
2672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2673 ;;
2674 *-*-freebsd*)
2675 USE_BSD=1
2676 USE_FREEBSD=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __FREEBSD__ 1
2679 _ACEOF
2680
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __BSD__ 1
2683 _ACEOF
2684
2685 DEFAULT_DEFAULT_wxUSE_GTK=1
2686 ;;
2687 *-*-openbsd*|*-*-mirbsd*)
2688 USE_BSD=1
2689 USE_OPENBSD=1
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __OPENBSD__ 1
2692 _ACEOF
2693
2694 cat >>confdefs.h <<\_ACEOF
2695 #define __BSD__ 1
2696 _ACEOF
2697
2698 DEFAULT_DEFAULT_wxUSE_GTK=1
2699 ;;
2700 *-*-netbsd*)
2701 USE_BSD=1
2702 USE_NETBSD=1
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __NETBSD__ 1
2705 _ACEOF
2706
2707 cat >>confdefs.h <<\_ACEOF
2708 #define __BSD__ 1
2709 _ACEOF
2710
2711 DEFAULT_DEFAULT_wxUSE_GTK=1
2712 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2713
2714 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2715 ;;
2716 *-*-osf* )
2717 USE_ALPHA=1
2718 USE_OSF=1
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __ALPHA__ 1
2721 _ACEOF
2722
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __OSF__ 1
2725 _ACEOF
2726
2727 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2728 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2729 ;;
2730 *-*-dgux5* )
2731 USE_ALPHA=1
2732 USE_SVR4=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __ALPHA__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __SVR4__ 1
2739 _ACEOF
2740
2741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2742 ;;
2743 *-*-sysv5* )
2744 USE_SYSV=1
2745 USE_SVR4=1
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __SYSV__ 1
2748 _ACEOF
2749
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __SVR4__ 1
2752 _ACEOF
2753
2754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2755 ;;
2756 *-*-aix* )
2757 USE_AIX=1
2758 USE_SYSV=1
2759 USE_SVR4=1
2760 SO_SUFFIX=a
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __AIX__ 1
2763 _ACEOF
2764
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __SYSV__ 1
2767 _ACEOF
2768
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __SVR4__ 1
2771 _ACEOF
2772
2773 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2774 ;;
2775
2776 *-*-*UnixWare*)
2777 USE_SYSV=1
2778 USE_SVR4=1
2779 USE_UNIXWARE=1
2780 cat >>confdefs.h <<\_ACEOF
2781 #define __UNIXWARE__ 1
2782 _ACEOF
2783
2784 ;;
2785
2786 *-*-cygwin* | *-*-mingw32* )
2787 SO_SUFFIX=dll
2788 PROGRAM_EXT=".exe"
2789 DEFAULT_DEFAULT_wxUSE_MSW=1
2790 ;;
2791
2792 *-pc-msdosdjgpp )
2793 USE_UNIX=0
2794 USE_DOS=1
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __DOS__ 1
2797 _ACEOF
2798
2799 PROGRAM_EXT=".exe"
2800 DEFAULT_DEFAULT_wxUSE_MGL=1
2801 ;;
2802
2803 *-pc-os2_emx | *-pc-os2-emx )
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __EMX__ 1
2806 _ACEOF
2807
2808 USE_OS2=1
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __OS2__ 1
2811 _ACEOF
2812
2813 PROGRAM_EXT=".exe"
2814 DEFAULT_DEFAULT_wxUSE_PM=1
2815 CXX=gcc
2816 LDFLAGS="$LDFLAGS -Zcrtdll"
2817 ac_executable_extensions=".exe"
2818 export ac_executable_extensions
2819 ac_save_IFS="$IFS"
2820 IFS='\\'
2821 ac_TEMP_PATH=
2822 for ac_dir in $PATH; do
2823 IFS=$ac_save_IFS
2824 if test -z "$ac_TEMP_PATH"; then
2825 ac_TEMP_PATH="$ac_dir"
2826 else
2827 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2828 fi
2829 done
2830 export PATH="$ac_TEMP_PATH"
2831 unset ac_TEMP_PATH
2832 DEFAULT_STD_FLAG=no
2833 ;;
2834
2835 *-*-darwin* )
2836 USE_BSD=1
2837 USE_DARWIN=1
2838 SO_SUFFIX=dylib
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __BSD__ 1
2841 _ACEOF
2842
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __DARWIN__ 1
2845 _ACEOF
2846
2847 cat >>confdefs.h <<\_ACEOF
2848 #define TARGET_CARBON 1
2849 _ACEOF
2850
2851 DEFAULT_DEFAULT_wxUSE_MAC=1
2852 DEFAULT_STD_FLAG=no
2853 ;;
2854 powerpc-apple-macos* )
2855 USE_UNIX=0
2856 ac_cv_c_bigendian=yes
2857 SO_SUFFIX=shlib
2858 DEFAULT_DEFAULT_wxUSE_MAC=1
2859 DEFAULT_STD_FLAG=no
2860 ;;
2861
2862 *-*-beos* )
2863 USE_BEOS=1
2864 cat >>confdefs.h <<\_ACEOF
2865 #define __BEOS__ 1
2866 _ACEOF
2867
2868 ;;
2869
2870 *)
2871 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2872 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2873 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2874 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2875
2876 DEFAULT_DEFAULT_wxUSE_X11=1
2877 DEFAULT_wxUSE_SHARED=no
2878 esac
2879
2880
2881
2882
2883 wx_arg_cache_file="configarg.cache"
2884 echo "loading argument cache $wx_arg_cache_file"
2885 rm -f ${wx_arg_cache_file}.tmp
2886 touch ${wx_arg_cache_file}.tmp
2887 touch ${wx_arg_cache_file}
2888
2889
2890 DEBUG_CONFIGURE=0
2891 if test $DEBUG_CONFIGURE = 1; then
2892 DEFAULT_wxUSE_UNIVERSAL=no
2893 DEFAULT_wxUSE_STL=no
2894
2895 DEFAULT_wxUSE_NANOX=no
2896
2897 DEFAULT_wxUSE_THREADS=yes
2898
2899 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2900 DEFAULT_wxUSE_OPTIMISE=no
2901 DEFAULT_wxUSE_PROFILE=no
2902 DEFAULT_wxUSE_NO_DEPS=no
2903 DEFAULT_wxUSE_VARARG_MACROS=no
2904 DEFAULT_wxUSE_NO_RTTI=no
2905 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2906 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2907 DEFAULT_wxUSE_RPATH=yes
2908 DEFAULT_wxUSE_PERMISSIVE=no
2909 DEFAULT_wxUSE_DEBUG_FLAG=yes
2910 DEFAULT_wxUSE_DEBUG_INFO=yes
2911 DEFAULT_wxUSE_DEBUG_GDB=yes
2912 DEFAULT_wxUSE_MEM_TRACING=no
2913 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2914 DEFAULT_wxUSE_DMALLOC=no
2915 DEFAULT_wxUSE_APPLE_IEEE=no
2916
2917 DEFAULT_wxUSE_EXCEPTIONS=no
2918 DEFAULT_wxUSE_LOG=yes
2919 DEFAULT_wxUSE_LOGWINDOW=no
2920 DEFAULT_wxUSE_LOGGUI=no
2921 DEFAULT_wxUSE_LOGDIALOG=no
2922
2923 DEFAULT_wxUSE_GUI=yes
2924 DEFAULT_wxUSE_CONTROLS=no
2925
2926 DEFAULT_wxUSE_REGEX=no
2927 DEFAULT_wxUSE_XML=no
2928 DEFAULT_wxUSE_EXPAT=no
2929 DEFAULT_wxUSE_ZLIB=no
2930 DEFAULT_wxUSE_LIBPNG=no
2931 DEFAULT_wxUSE_LIBJPEG=no
2932 DEFAULT_wxUSE_LIBTIFF=no
2933 DEFAULT_wxUSE_LIBXPM=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2937 DEFAULT_wxUSE_LIBGNOMEVFS=no
2938 DEFAULT_wxUSE_LIBHILDON=no
2939 DEFAULT_wxUSE_ODBC=no
2940 DEFAULT_wxUSE_OPENGL=no
2941
2942 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2943 DEFAULT_wxUSE_STACKWALKER=no
2944 DEFAULT_wxUSE_DEBUGREPORT=no
2945 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2946 DEFAULT_wxUSE_STD_IOSTREAM=no
2947 DEFAULT_wxUSE_STD_STRING=no
2948 DEFAULT_wxUSE_CMDLINE_PARSER=no
2949 DEFAULT_wxUSE_DATETIME=no
2950 DEFAULT_wxUSE_TIMER=no
2951 DEFAULT_wxUSE_STOPWATCH=no
2952 DEFAULT_wxUSE_FILE=no
2953 DEFAULT_wxUSE_FFILE=no
2954 DEFAULT_wxUSE_STDPATHS=no
2955 DEFAULT_wxUSE_TEXTBUFFER=no
2956 DEFAULT_wxUSE_TEXTFILE=no
2957 DEFAULT_wxUSE_SOUND=no
2958 DEFAULT_wxUSE_MEDIACTRL=no
2959 DEFAULT_wxUSE_GSTREAMER8=no
2960 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2961 DEFAULT_wxUSE_INTL=no
2962 DEFAULT_wxUSE_CONFIG=no
2963 DEFAULT_wxUSE_FONTMAP=no
2964 DEFAULT_wxUSE_STREAMS=no
2965 DEFAULT_wxUSE_SOCKETS=no
2966 DEFAULT_wxUSE_OLE=no
2967 DEFAULT_wxUSE_DATAOBJ=no
2968 DEFAULT_wxUSE_DIALUP_MANAGER=no
2969 DEFAULT_wxUSE_JOYSTICK=no
2970 DEFAULT_wxUSE_DYNLIB_CLASS=no
2971 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2972 DEFAULT_wxUSE_LONGLONG=no
2973 DEFAULT_wxUSE_GEOMETRY=no
2974
2975 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2976 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2977 DEFAULT_wxUSE_POSTSCRIPT=no
2978
2979 DEFAULT_wxUSE_CLIPBOARD=no
2980 DEFAULT_wxUSE_TOOLTIPS=no
2981 DEFAULT_wxUSE_DRAG_AND_DROP=no
2982 DEFAULT_wxUSE_DRAGIMAGE=no
2983 DEFAULT_wxUSE_SPLINES=no
2984 DEFAULT_wxUSE_MOUSEWHEEL=no
2985
2986 DEFAULT_wxUSE_MDI=no
2987 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2988 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2989 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2990
2991 DEFAULT_wxUSE_RESOURCES=no
2992 DEFAULT_wxUSE_CONSTRAINTS=no
2993 DEFAULT_wxUSE_IPC=no
2994 DEFAULT_wxUSE_HELP=no
2995 DEFAULT_wxUSE_MS_HTML_HELP=no
2996 DEFAULT_wxUSE_WXHTML_HELP=no
2997 DEFAULT_wxUSE_TREELAYOUT=no
2998 DEFAULT_wxUSE_METAFILE=no
2999 DEFAULT_wxUSE_MIMETYPE=no
3000 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3001 DEFAULT_wxUSE_PROTOCOL=no
3002 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3003 DEFAULT_wxUSE_PROTOCOL_FTP=no
3004 DEFAULT_wxUSE_PROTOCOL_FILE=no
3005 DEFAULT_wxUSE_URL=no
3006 DEFAULT_wxUSE_VARIANT=no
3007
3008 DEFAULT_wxUSE_ABOUTDLG=no
3009 DEFAULT_wxUSE_COMMONDLGS=no
3010 DEFAULT_wxUSE_CHOICEDLG=no
3011 DEFAULT_wxUSE_COLOURDLG=no
3012 DEFAULT_wxUSE_DIRDLG=no
3013 DEFAULT_wxUSE_FILEDLG=no
3014 DEFAULT_wxUSE_FINDREPLDLG=no
3015 DEFAULT_wxUSE_FONTDLG=no
3016 DEFAULT_wxUSE_MSGDLG=no
3017 DEFAULT_wxUSE_NUMBERDLG=no
3018 DEFAULT_wxUSE_TEXTDLG=no
3019 DEFAULT_wxUSE_SPLASH=no
3020 DEFAULT_wxUSE_STARTUP_TIPS=no
3021 DEFAULT_wxUSE_PROGRESSDLG=no
3022 DEFAULT_wxUSE_WIZARDDLG=no
3023
3024 DEFAULT_wxUSE_MENUS=no
3025 DEFAULT_wxUSE_MINIFRAME=no
3026 DEFAULT_wxUSE_HTML=no
3027 DEFAULT_wxUSE_RICHTEXT=no
3028 DEFAULT_wxUSE_XRC=no
3029 DEFAULT_wxUSE_AUI=no
3030 DEFAULT_wxUSE_WEBKIT=no
3031 DEFAULT_wxUSE_FILESYSTEM=no
3032 DEFAULT_wxUSE_FS_INET=no
3033 DEFAULT_wxUSE_FS_ZIP=no
3034 DEFAULT_wxUSE_FS_ARCHIVE=no
3035 DEFAULT_wxUSE_BUSYINFO=no
3036 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3037 DEFAULT_wxUSE_ZIPSTREAM=no
3038 DEFAULT_wxUSE_TARSTREAM=no
3039 DEFAULT_wxUSE_VALIDATORS=no
3040
3041 DEFAULT_wxUSE_ACCEL=no
3042 DEFAULT_wxUSE_ANIMATIONCTRL=no
3043 DEFAULT_wxUSE_BUTTON=no
3044 DEFAULT_wxUSE_BMPBUTTON=no
3045 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3046 DEFAULT_wxUSE_CALCTRL=no
3047 DEFAULT_wxUSE_CARET=no
3048 DEFAULT_wxUSE_CHECKBOX=no
3049 DEFAULT_wxUSE_CHECKLST=no
3050 DEFAULT_wxUSE_CHOICE=no
3051 DEFAULT_wxUSE_CHOICEBOOK=no
3052 DEFAULT_wxUSE_COLLPANE=no
3053 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3054 DEFAULT_wxUSE_COMBOBOX=no
3055 DEFAULT_wxUSE_COMBOCTRL=no
3056 DEFAULT_wxUSE_DATEPICKCTRL=no
3057 DEFAULT_wxUSE_DISPLAY=no
3058 DEFAULT_wxUSE_DETECT_SM=no
3059 DEFAULT_wxUSE_DIRPICKERCTRL=no
3060 DEFAULT_wxUSE_FILEPICKERCTRL=no
3061 DEFAULT_wxUSE_FONTPICKERCTRL=no
3062 DEFAULT_wxUSE_GAUGE=no
3063 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3064 DEFAULT_wxUSE_GRID=no
3065 DEFAULT_wxUSE_HYPERLINKCTRL=no
3066 DEFAULT_wxUSE_DATAVIEWCTRL=no
3067 DEFAULT_wxUSE_IMAGLIST=no
3068 DEFAULT_wxUSE_LISTBOOK=no
3069 DEFAULT_wxUSE_LISTBOX=no
3070 DEFAULT_wxUSE_LISTCTRL=no
3071 DEFAULT_wxUSE_NOTEBOOK=no
3072 DEFAULT_wxUSE_ODCOMBOBOX=no
3073 DEFAULT_wxUSE_RADIOBOX=no
3074 DEFAULT_wxUSE_RADIOBTN=no
3075 DEFAULT_wxUSE_SASH=no
3076 DEFAULT_wxUSE_SCROLLBAR=no
3077 DEFAULT_wxUSE_SEARCHCTRL=no
3078 DEFAULT_wxUSE_SLIDER=no
3079 DEFAULT_wxUSE_SPINBTN=no
3080 DEFAULT_wxUSE_SPINCTRL=no
3081 DEFAULT_wxUSE_SPLITTER=no
3082 DEFAULT_wxUSE_STATBMP=no
3083 DEFAULT_wxUSE_STATBOX=no
3084 DEFAULT_wxUSE_STATLINE=no
3085 DEFAULT_wxUSE_STATTEXT=no
3086 DEFAULT_wxUSE_STATUSBAR=yes
3087 DEFAULT_wxUSE_TAB_DIALOG=no
3088 DEFAULT_wxUSE_TEXTCTRL=no
3089 DEFAULT_wxUSE_TOGGLEBTN=no
3090 DEFAULT_wxUSE_TOOLBAR=no
3091 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3092 DEFAULT_wxUSE_TREEBOOK=no
3093 DEFAULT_wxUSE_TOOLBOOK=no
3094 DEFAULT_wxUSE_TREECTRL=no
3095 DEFAULT_wxUSE_POPUPWIN=no
3096 DEFAULT_wxUSE_TIPWINDOW=no
3097
3098 DEFAULT_wxUSE_UNICODE=no
3099 DEFAULT_wxUSE_UNICODE_MSLU=no
3100 DEFAULT_wxUSE_WCSRTOMBS=no
3101
3102 DEFAULT_wxUSE_PALETTE=no
3103 DEFAULT_wxUSE_IMAGE=no
3104 DEFAULT_wxUSE_GIF=no
3105 DEFAULT_wxUSE_PCX=no
3106 DEFAULT_wxUSE_TGA=no
3107 DEFAULT_wxUSE_PNM=no
3108 DEFAULT_wxUSE_IFF=no
3109 DEFAULT_wxUSE_XPM=no
3110 DEFAULT_wxUSE_ICO_CUR=no
3111 DEFAULT_wxUSE_ACCESSIBILITY=no
3112
3113 DEFAULT_wxUSE_MONOLITHIC=no
3114 DEFAULT_wxUSE_PLUGINS=no
3115 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3116 else
3117 DEFAULT_wxUSE_UNIVERSAL=no
3118 DEFAULT_wxUSE_STL=no
3119
3120 DEFAULT_wxUSE_NANOX=no
3121
3122 DEFAULT_wxUSE_THREADS=yes
3123
3124 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3125 DEFAULT_wxUSE_OPTIMISE=yes
3126 DEFAULT_wxUSE_PROFILE=no
3127 DEFAULT_wxUSE_NO_DEPS=no
3128 DEFAULT_wxUSE_VARARG_MACROS=yes
3129 DEFAULT_wxUSE_NO_RTTI=no
3130 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3131 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3132 DEFAULT_wxUSE_RPATH=yes
3133 DEFAULT_wxUSE_PERMISSIVE=no
3134 DEFAULT_wxUSE_DEBUG_FLAG=no
3135 DEFAULT_wxUSE_DEBUG_INFO=no
3136 DEFAULT_wxUSE_DEBUG_GDB=no
3137 DEFAULT_wxUSE_MEM_TRACING=no
3138 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3139 DEFAULT_wxUSE_DMALLOC=no
3140 DEFAULT_wxUSE_APPLE_IEEE=yes
3141
3142 DEFAULT_wxUSE_EXCEPTIONS=yes
3143 DEFAULT_wxUSE_LOG=yes
3144 DEFAULT_wxUSE_LOGWINDOW=yes
3145 DEFAULT_wxUSE_LOGGUI=yes
3146 DEFAULT_wxUSE_LOGDIALOG=yes
3147
3148 DEFAULT_wxUSE_GUI=yes
3149
3150 DEFAULT_wxUSE_REGEX=yes
3151 DEFAULT_wxUSE_XML=yes
3152 DEFAULT_wxUSE_EXPAT=yes
3153 DEFAULT_wxUSE_ZLIB=yes
3154 DEFAULT_wxUSE_LIBPNG=yes
3155 DEFAULT_wxUSE_LIBJPEG=yes
3156 DEFAULT_wxUSE_LIBTIFF=yes
3157 DEFAULT_wxUSE_LIBXPM=yes
3158 DEFAULT_wxUSE_LIBMSPACK=yes
3159 DEFAULT_wxUSE_LIBSDL=no
3160 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3161 DEFAULT_wxUSE_LIBGNOMEVFS=no
3162 DEFAULT_wxUSE_LIBHILDON=no
3163 DEFAULT_wxUSE_ODBC=no
3164 DEFAULT_wxUSE_OPENGL=no
3165
3166 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3167 DEFAULT_wxUSE_STACKWALKER=yes
3168 DEFAULT_wxUSE_DEBUGREPORT=yes
3169 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3170 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3171 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3172 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3173 DEFAULT_wxUSE_DATETIME=yes
3174 DEFAULT_wxUSE_TIMER=yes
3175 DEFAULT_wxUSE_STOPWATCH=yes
3176 DEFAULT_wxUSE_FILE=yes
3177 DEFAULT_wxUSE_FFILE=yes
3178 DEFAULT_wxUSE_STDPATHS=yes
3179 DEFAULT_wxUSE_TEXTBUFFER=yes
3180 DEFAULT_wxUSE_TEXTFILE=yes
3181 DEFAULT_wxUSE_SOUND=yes
3182 DEFAULT_wxUSE_MEDIACTRL=no
3183 DEFAULT_wxUSE_GSTREAMER8=no
3184 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3185 DEFAULT_wxUSE_INTL=yes
3186 DEFAULT_wxUSE_CONFIG=yes
3187 DEFAULT_wxUSE_FONTMAP=yes
3188 DEFAULT_wxUSE_STREAMS=yes
3189 DEFAULT_wxUSE_SOCKETS=yes
3190 DEFAULT_wxUSE_OLE=yes
3191 DEFAULT_wxUSE_DATAOBJ=yes
3192 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3193 DEFAULT_wxUSE_JOYSTICK=yes
3194 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3195 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3196 DEFAULT_wxUSE_LONGLONG=yes
3197 DEFAULT_wxUSE_GEOMETRY=yes
3198
3199 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3200 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3201 DEFAULT_wxUSE_POSTSCRIPT=yes
3202
3203 DEFAULT_wxUSE_CLIPBOARD=yes
3204 DEFAULT_wxUSE_TOOLTIPS=yes
3205 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3206 DEFAULT_wxUSE_DRAGIMAGE=yes
3207 DEFAULT_wxUSE_SPLINES=yes
3208 DEFAULT_wxUSE_MOUSEWHEEL=yes
3209
3210 DEFAULT_wxUSE_MDI=yes
3211 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3212 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3213 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3214
3215 DEFAULT_wxUSE_RESOURCES=no
3216 DEFAULT_wxUSE_CONSTRAINTS=yes
3217 DEFAULT_wxUSE_IPC=yes
3218 DEFAULT_wxUSE_HELP=yes
3219 DEFAULT_wxUSE_MS_HTML_HELP=yes
3220 DEFAULT_wxUSE_WXHTML_HELP=yes
3221 DEFAULT_wxUSE_TREELAYOUT=yes
3222 DEFAULT_wxUSE_METAFILE=yes
3223 DEFAULT_wxUSE_MIMETYPE=yes
3224 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3225 DEFAULT_wxUSE_PROTOCOL=yes
3226 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3227 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3228 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3229 DEFAULT_wxUSE_URL=yes
3230 DEFAULT_wxUSE_VARIANT=yes
3231
3232 DEFAULT_wxUSE_ABOUTDLG=yes
3233 DEFAULT_wxUSE_COMMONDLGS=yes
3234 DEFAULT_wxUSE_CHOICEDLG=yes
3235 DEFAULT_wxUSE_COLOURDLG=yes
3236 DEFAULT_wxUSE_DIRDLG=yes
3237 DEFAULT_wxUSE_FILEDLG=yes
3238 DEFAULT_wxUSE_FINDREPLDLG=yes
3239 DEFAULT_wxUSE_FONTDLG=yes
3240 DEFAULT_wxUSE_MSGDLG=yes
3241 DEFAULT_wxUSE_NUMBERDLG=yes
3242 DEFAULT_wxUSE_TEXTDLG=yes
3243 DEFAULT_wxUSE_SPLASH=yes
3244 DEFAULT_wxUSE_STARTUP_TIPS=yes
3245 DEFAULT_wxUSE_PROGRESSDLG=yes
3246 DEFAULT_wxUSE_WIZARDDLG=yes
3247
3248 DEFAULT_wxUSE_MENUS=yes
3249 DEFAULT_wxUSE_MINIFRAME=yes
3250 DEFAULT_wxUSE_HTML=yes
3251 DEFAULT_wxUSE_RICHTEXT=yes
3252 DEFAULT_wxUSE_XRC=yes
3253 DEFAULT_wxUSE_AUI=yes
3254 DEFAULT_wxUSE_WEBKIT=yes
3255 DEFAULT_wxUSE_FILESYSTEM=yes
3256 DEFAULT_wxUSE_FS_INET=yes
3257 DEFAULT_wxUSE_FS_ZIP=yes
3258 DEFAULT_wxUSE_FS_ARCHIVE=yes
3259 DEFAULT_wxUSE_BUSYINFO=yes
3260 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3261 DEFAULT_wxUSE_ZIPSTREAM=yes
3262 DEFAULT_wxUSE_TARSTREAM=yes
3263 DEFAULT_wxUSE_VALIDATORS=yes
3264
3265 DEFAULT_wxUSE_ACCEL=yes
3266 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3267 DEFAULT_wxUSE_BUTTON=yes
3268 DEFAULT_wxUSE_BMPBUTTON=yes
3269 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3270 DEFAULT_wxUSE_CALCTRL=yes
3271 DEFAULT_wxUSE_CARET=yes
3272 DEFAULT_wxUSE_CHECKBOX=yes
3273 DEFAULT_wxUSE_CHECKLST=yes
3274 DEFAULT_wxUSE_CHOICE=yes
3275 DEFAULT_wxUSE_CHOICEBOOK=yes
3276 DEFAULT_wxUSE_COLLPANE=yes
3277 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3278 DEFAULT_wxUSE_COMBOBOX=yes
3279 DEFAULT_wxUSE_COMBOCTRL=yes
3280 DEFAULT_wxUSE_DATEPICKCTRL=yes
3281 DEFAULT_wxUSE_DISPLAY=yes
3282 DEFAULT_wxUSE_DETECT_SM=yes
3283 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3284 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3285 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3286 DEFAULT_wxUSE_GAUGE=yes
3287 DEFAULT_wxUSE_GRID=yes
3288 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3289 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3290 DEFAULT_wxUSE_DATAVIEWCTRL=no
3291 DEFAULT_wxUSE_IMAGLIST=yes
3292 DEFAULT_wxUSE_LISTBOOK=yes
3293 DEFAULT_wxUSE_LISTBOX=yes
3294 DEFAULT_wxUSE_LISTCTRL=yes
3295 DEFAULT_wxUSE_NOTEBOOK=yes
3296 DEFAULT_wxUSE_ODCOMBOBOX=yes
3297 DEFAULT_wxUSE_RADIOBOX=yes
3298 DEFAULT_wxUSE_RADIOBTN=yes
3299 DEFAULT_wxUSE_SASH=yes
3300 DEFAULT_wxUSE_SCROLLBAR=yes
3301 DEFAULT_wxUSE_SEARCHCTRL=yes
3302 DEFAULT_wxUSE_SLIDER=yes
3303 DEFAULT_wxUSE_SPINBTN=yes
3304 DEFAULT_wxUSE_SPINCTRL=yes
3305 DEFAULT_wxUSE_SPLITTER=yes
3306 DEFAULT_wxUSE_STATBMP=yes
3307 DEFAULT_wxUSE_STATBOX=yes
3308 DEFAULT_wxUSE_STATLINE=yes
3309 DEFAULT_wxUSE_STATTEXT=yes
3310 DEFAULT_wxUSE_STATUSBAR=yes
3311 DEFAULT_wxUSE_TAB_DIALOG=no
3312 DEFAULT_wxUSE_TEXTCTRL=yes
3313 DEFAULT_wxUSE_TOGGLEBTN=yes
3314 DEFAULT_wxUSE_TOOLBAR=yes
3315 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3316 DEFAULT_wxUSE_TREEBOOK=yes
3317 DEFAULT_wxUSE_TOOLBOOK=yes
3318 DEFAULT_wxUSE_TREECTRL=yes
3319 DEFAULT_wxUSE_POPUPWIN=yes
3320 DEFAULT_wxUSE_TIPWINDOW=yes
3321
3322 DEFAULT_wxUSE_UNICODE=no
3323 DEFAULT_wxUSE_UNICODE_MSLU=yes
3324 DEFAULT_wxUSE_WCSRTOMBS=no
3325
3326 DEFAULT_wxUSE_PALETTE=yes
3327 DEFAULT_wxUSE_IMAGE=yes
3328 DEFAULT_wxUSE_GIF=yes
3329 DEFAULT_wxUSE_PCX=yes
3330 DEFAULT_wxUSE_TGA=yes
3331 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3332 DEFAULT_wxUSE_XPM=yes
3333 DEFAULT_wxUSE_ICO_CUR=yes
3334 DEFAULT_wxUSE_ACCESSIBILITY=no
3335
3336 DEFAULT_wxUSE_MONOLITHIC=no
3337 DEFAULT_wxUSE_PLUGINS=no
3338 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3339
3340 DEFAULT_wxUSE_GTK2=yes
3341 fi
3342
3343
3344
3345
3346 for toolkit in `echo $ALL_TOOLKITS`; do
3347 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3348 if test "x$LINE" != "x" ; then
3349 has_toolkit_in_cache=1
3350 eval "DEFAULT_$LINE"
3351 eval "CACHE_$toolkit=1"
3352
3353 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3354 if test "x$LINE" != "x" ; then
3355 eval "DEFAULT_$LINE"
3356 fi
3357 fi
3358 done
3359
3360
3361
3362 enablestring=
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3365 no_cache=0
3366 # Check whether --enable-gui was given.
3367 if test "${enable_gui+set}" = set; then
3368 enableval=$enable_gui;
3369 if test "$enableval" = yes; then
3370 ac_cv_use_gui='wxUSE_GUI=yes'
3371 else
3372 ac_cv_use_gui='wxUSE_GUI=no'
3373 fi
3374
3375 else
3376
3377 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3378 if test "x$LINE" != x ; then
3379 eval "DEFAULT_$LINE"
3380 else
3381 no_cache=1
3382 fi
3383
3384 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3385
3386 fi
3387
3388
3389 eval "$ac_cv_use_gui"
3390 if test "$no_cache" != 1; then
3391 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3392 fi
3393
3394 if test "$wxUSE_GUI" = yes; then
3395 { echo "$as_me:$LINENO: result: yes" >&5
3396 echo "${ECHO_T}yes" >&6; }
3397 else
3398 { echo "$as_me:$LINENO: result: no" >&5
3399 echo "${ECHO_T}no" >&6; }
3400 fi
3401
3402
3403 enablestring=
3404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3405 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3406 no_cache=0
3407 # Check whether --enable-monolithic was given.
3408 if test "${enable_monolithic+set}" = set; then
3409 enableval=$enable_monolithic;
3410 if test "$enableval" = yes; then
3411 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3412 else
3413 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3414 fi
3415
3416 else
3417
3418 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3419 if test "x$LINE" != x ; then
3420 eval "DEFAULT_$LINE"
3421 else
3422 no_cache=1
3423 fi
3424
3425 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3426
3427 fi
3428
3429
3430 eval "$ac_cv_use_monolithic"
3431 if test "$no_cache" != 1; then
3432 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3433 fi
3434
3435 if test "$wxUSE_MONOLITHIC" = yes; then
3436 { echo "$as_me:$LINENO: result: yes" >&5
3437 echo "${ECHO_T}yes" >&6; }
3438 else
3439 { echo "$as_me:$LINENO: result: no" >&5
3440 echo "${ECHO_T}no" >&6; }
3441 fi
3442
3443
3444 enablestring=
3445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3446 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3447 no_cache=0
3448 # Check whether --enable-plugins was given.
3449 if test "${enable_plugins+set}" = set; then
3450 enableval=$enable_plugins;
3451 if test "$enableval" = yes; then
3452 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3453 else
3454 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3455 fi
3456
3457 else
3458
3459 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x ; then
3461 eval "DEFAULT_$LINE"
3462 else
3463 no_cache=1
3464 fi
3465
3466 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3467
3468 fi
3469
3470
3471 eval "$ac_cv_use_plugins"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3474 fi
3475
3476 if test "$wxUSE_PLUGINS" = yes; then
3477 { echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6; }
3479 else
3480 { echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6; }
3482 fi
3483
3484
3485 withstring=without
3486 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3487 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3488 no_cache=0
3489
3490 # Check whether --with-subdirs was given.
3491 if test "${with_subdirs+set}" = set; then
3492 withval=$with_subdirs;
3493 if test "$withval" = yes; then
3494 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3495 else
3496 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3497 fi
3498
3499 else
3500
3501 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x ; then
3503 eval "DEFAULT_$LINE"
3504 else
3505 no_cache=1
3506 fi
3507
3508 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3509
3510 fi
3511
3512
3513 eval "$ac_cv_use_subdirs"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3516 fi
3517
3518 if test "$wxWITH_SUBDIRS" = yes; then
3519 { echo "$as_me:$LINENO: result: yes" >&5
3520 echo "${ECHO_T}yes" >&6; }
3521 else
3522 { echo "$as_me:$LINENO: result: no" >&5
3523 echo "${ECHO_T}no" >&6; }
3524 fi
3525
3526
3527 if test "$wxUSE_GUI" = "yes"; then
3528
3529
3530 enablestring=
3531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3532 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3533 no_cache=0
3534 # Check whether --enable-universal was given.
3535 if test "${enable_universal+set}" = set; then
3536 enableval=$enable_universal;
3537 if test "$enableval" = yes; then
3538 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3539 else
3540 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3541 fi
3542
3543 else
3544
3545 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3546 if test "x$LINE" != x ; then
3547 eval "DEFAULT_$LINE"
3548 else
3549 no_cache=1
3550 fi
3551
3552 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3553
3554 fi
3555
3556
3557 eval "$ac_cv_use_universal"
3558 if test "$no_cache" != 1; then
3559 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3560 fi
3561
3562 if test "$wxUSE_UNIVERSAL" = yes; then
3563 { echo "$as_me:$LINENO: result: yes" >&5
3564 echo "${ECHO_T}yes" >&6; }
3565 else
3566 { echo "$as_me:$LINENO: result: no" >&5
3567 echo "${ECHO_T}no" >&6; }
3568 fi
3569
3570
3571 # Check whether --with-gtk was given.
3572 if test "${with_gtk+set}" = set; then
3573 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3574 fi
3575
3576
3577 # Check whether --with-motif was given.
3578 if test "${with_motif+set}" = set; then
3579 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3580 fi
3581
3582
3583 # Check whether --with-mac was given.
3584 if test "${with_mac+set}" = set; then
3585 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3586 fi
3587
3588
3589 # Check whether --with-cocoa was given.
3590 if test "${with_cocoa+set}" = set; then
3591 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3592 fi
3593
3594
3595 # Check whether --with-wine was given.
3596 if test "${with_wine+set}" = set; then
3597 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3598 fi
3599
3600
3601 # Check whether --with-msw was given.
3602 if test "${with_msw+set}" = set; then
3603 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3604 fi
3605
3606
3607 # Check whether --with-pm was given.
3608 if test "${with_pm+set}" = set; then
3609 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3610 fi
3611
3612
3613 # Check whether --with-mgl was given.
3614 if test "${with_mgl+set}" = set; then
3615 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3616 fi
3617
3618
3619 # Check whether --with-directfb was given.
3620 if test "${with_directfb+set}" = set; then
3621 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3622 fi
3623
3624
3625 # Check whether --with-microwin was given.
3626 if test "${with_microwin+set}" = set; then
3627 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3628 fi
3629
3630
3631 # Check whether --with-x11 was given.
3632 if test "${with_x11+set}" = set; then
3633 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3634 fi
3635
3636
3637 enablestring=
3638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3639 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3640 no_cache=0
3641 # Check whether --enable-nanox was given.
3642 if test "${enable_nanox+set}" = set; then
3643 enableval=$enable_nanox;
3644 if test "$enableval" = yes; then
3645 ac_cv_use_nanox='wxUSE_NANOX=yes'
3646 else
3647 ac_cv_use_nanox='wxUSE_NANOX=no'
3648 fi
3649
3650 else
3651
3652 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3653 if test "x$LINE" != x ; then
3654 eval "DEFAULT_$LINE"
3655 else
3656 no_cache=1
3657 fi
3658
3659 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3660
3661 fi
3662
3663
3664 eval "$ac_cv_use_nanox"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3667 fi
3668
3669 if test "$wxUSE_NANOX" = yes; then
3670 { echo "$as_me:$LINENO: result: yes" >&5
3671 echo "${ECHO_T}yes" >&6; }
3672 else
3673 { echo "$as_me:$LINENO: result: no" >&5
3674 echo "${ECHO_T}no" >&6; }
3675 fi
3676
3677
3678 # Check whether --enable-gtk2 was given.
3679 if test "${enable_gtk2+set}" = set; then
3680 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3681 fi
3682
3683
3684 enablestring=
3685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3686 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3687 no_cache=0
3688 # Check whether --enable-gpe was given.
3689 if test "${enable_gpe+set}" = set; then
3690 enableval=$enable_gpe;
3691 if test "$enableval" = yes; then
3692 ac_cv_use_gpe='wxUSE_GPE=yes'
3693 else
3694 ac_cv_use_gpe='wxUSE_GPE=no'
3695 fi
3696
3697 else
3698
3699 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x ; then
3701 eval "DEFAULT_$LINE"
3702 else
3703 no_cache=1
3704 fi
3705
3706 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3707
3708 fi
3709
3710
3711 eval "$ac_cv_use_gpe"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3714 fi
3715
3716 if test "$wxUSE_GPE" = yes; then
3717 { echo "$as_me:$LINENO: result: yes" >&5
3718 echo "${ECHO_T}yes" >&6; }
3719 else
3720 { echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6; }
3722 fi
3723
3724
3725
3726 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3727 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3728 no_cache=0
3729
3730 # Check whether --with-libpng was given.
3731 if test "${with_libpng+set}" = set; then
3732 withval=$with_libpng;
3733 if test "$withval" = yes; then
3734 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3735 elif test "$withval" = no; then
3736 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3737 elif test "$withval" = sys; then
3738 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3739 elif test "$withval" = builtin; then
3740 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3741 else
3742 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3743 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3744 { (exit 1); exit 1; }; }
3745 fi
3746
3747 else
3748
3749 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x ; then
3751 eval "DEFAULT_$LINE"
3752 else
3753 no_cache=1
3754 fi
3755
3756 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3757
3758 fi
3759
3760
3761 eval "$ac_cv_use_libpng"
3762 if test "$no_cache" != 1; then
3763 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3764 fi
3765
3766 if test "$wxUSE_LIBPNG" = yes; then
3767 { echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6; }
3769 elif test "$wxUSE_LIBPNG" = no; then
3770 { echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6; }
3772 elif test "$wxUSE_LIBPNG" = sys; then
3773 { echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6; }
3775 elif test "$wxUSE_LIBPNG" = builtin; then
3776 { echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6; }
3778 else
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3782 fi
3783
3784
3785 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3786 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3787 no_cache=0
3788
3789 # Check whether --with-libjpeg was given.
3790 if test "${with_libjpeg+set}" = set; then
3791 withval=$with_libjpeg;
3792 if test "$withval" = yes; then
3793 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3794 elif test "$withval" = no; then
3795 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3796 elif test "$withval" = sys; then
3797 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3798 elif test "$withval" = builtin; then
3799 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3800 else
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3804 fi
3805
3806 else
3807
3808 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3811 else
3812 no_cache=1
3813 fi
3814
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3816
3817 fi
3818
3819
3820 eval "$ac_cv_use_libjpeg"
3821 if test "$no_cache" != 1; then
3822 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3823 fi
3824
3825 if test "$wxUSE_LIBJPEG" = yes; then
3826 { echo "$as_me:$LINENO: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6; }
3828 elif test "$wxUSE_LIBJPEG" = no; then
3829 { echo "$as_me:$LINENO: result: no" >&5
3830 echo "${ECHO_T}no" >&6; }
3831 elif test "$wxUSE_LIBJPEG" = sys; then
3832 { echo "$as_me:$LINENO: result: system version" >&5
3833 echo "${ECHO_T}system version" >&6; }
3834 elif test "$wxUSE_LIBJPEG" = builtin; then
3835 { echo "$as_me:$LINENO: result: builtin version" >&5
3836 echo "${ECHO_T}builtin version" >&6; }
3837 else
3838 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3839 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3840 { (exit 1); exit 1; }; }
3841 fi
3842
3843
3844 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3845 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3846 no_cache=0
3847
3848 # Check whether --with-libtiff was given.
3849 if test "${with_libtiff+set}" = set; then
3850 withval=$with_libtiff;
3851 if test "$withval" = yes; then
3852 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3853 elif test "$withval" = no; then
3854 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3855 elif test "$withval" = sys; then
3856 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3857 elif test "$withval" = builtin; then
3858 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3859 else
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3863 fi
3864
3865 else
3866
3867 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3868 if test "x$LINE" != x ; then
3869 eval "DEFAULT_$LINE"
3870 else
3871 no_cache=1
3872 fi
3873
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3875
3876 fi
3877
3878
3879 eval "$ac_cv_use_libtiff"
3880 if test "$no_cache" != 1; then
3881 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3882 fi
3883
3884 if test "$wxUSE_LIBTIFF" = yes; then
3885 { echo "$as_me:$LINENO: result: yes" >&5
3886 echo "${ECHO_T}yes" >&6; }
3887 elif test "$wxUSE_LIBTIFF" = no; then
3888 { echo "$as_me:$LINENO: result: no" >&5
3889 echo "${ECHO_T}no" >&6; }
3890 elif test "$wxUSE_LIBTIFF" = sys; then
3891 { echo "$as_me:$LINENO: result: system version" >&5
3892 echo "${ECHO_T}system version" >&6; }
3893 elif test "$wxUSE_LIBTIFF" = builtin; then
3894 { echo "$as_me:$LINENO: result: builtin version" >&5
3895 echo "${ECHO_T}builtin version" >&6; }
3896 else
3897 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3898 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3899 { (exit 1); exit 1; }; }
3900 fi
3901
3902
3903 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3904 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3905 no_cache=0
3906
3907 # Check whether --with-libxpm was given.
3908 if test "${with_libxpm+set}" = set; then
3909 withval=$with_libxpm;
3910 if test "$withval" = yes; then
3911 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3912 elif test "$withval" = no; then
3913 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3914 elif test "$withval" = sys; then
3915 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3916 elif test "$withval" = builtin; then
3917 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3918 else
3919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3920 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3921 { (exit 1); exit 1; }; }
3922 fi
3923
3924 else
3925
3926 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x ; then
3928 eval "DEFAULT_$LINE"
3929 else
3930 no_cache=1
3931 fi
3932
3933 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3934
3935 fi
3936
3937
3938 eval "$ac_cv_use_libxpm"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3941 fi
3942
3943 if test "$wxUSE_LIBXPM" = yes; then
3944 { echo "$as_me:$LINENO: result: yes" >&5
3945 echo "${ECHO_T}yes" >&6; }
3946 elif test "$wxUSE_LIBXPM" = no; then
3947 { echo "$as_me:$LINENO: result: no" >&5
3948 echo "${ECHO_T}no" >&6; }
3949 elif test "$wxUSE_LIBXPM" = sys; then
3950 { echo "$as_me:$LINENO: result: system version" >&5
3951 echo "${ECHO_T}system version" >&6; }
3952 elif test "$wxUSE_LIBXPM" = builtin; then
3953 { echo "$as_me:$LINENO: result: builtin version" >&5
3954 echo "${ECHO_T}builtin version" >&6; }
3955 else
3956 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3957 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3958 { (exit 1); exit 1; }; }
3959 fi
3960
3961
3962 withstring=
3963 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3964 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3965 no_cache=0
3966
3967 # Check whether --with-libmspack was given.
3968 if test "${with_libmspack+set}" = set; then
3969 withval=$with_libmspack;
3970 if test "$withval" = yes; then
3971 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3972 else
3973 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3974 fi
3975
3976 else
3977
3978 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3979 if test "x$LINE" != x ; then
3980 eval "DEFAULT_$LINE"
3981 else
3982 no_cache=1
3983 fi
3984
3985 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3986
3987 fi
3988
3989
3990 eval "$ac_cv_use_libmspack"
3991 if test "$no_cache" != 1; then
3992 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3993 fi
3994
3995 if test "$wxUSE_LIBMSPACK" = yes; then
3996 { echo "$as_me:$LINENO: result: yes" >&5
3997 echo "${ECHO_T}yes" >&6; }
3998 else
3999 { echo "$as_me:$LINENO: result: no" >&5
4000 echo "${ECHO_T}no" >&6; }
4001 fi
4002
4003
4004 withstring=
4005 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4006 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4007 no_cache=0
4008
4009 # Check whether --with-sdl was given.
4010 if test "${with_sdl+set}" = set; then
4011 withval=$with_sdl;
4012 if test "$withval" = yes; then
4013 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4014 else
4015 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4016 fi
4017
4018 else
4019
4020 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4021 if test "x$LINE" != x ; then
4022 eval "DEFAULT_$LINE"
4023 else
4024 no_cache=1
4025 fi
4026
4027 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4028
4029 fi
4030
4031
4032 eval "$ac_cv_use_sdl"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4035 fi
4036
4037 if test "$wxUSE_LIBSDL" = yes; then
4038 { echo "$as_me:$LINENO: result: yes" >&5
4039 echo "${ECHO_T}yes" >&6; }
4040 else
4041 { echo "$as_me:$LINENO: result: no" >&5
4042 echo "${ECHO_T}no" >&6; }
4043 fi
4044
4045
4046 withstring=
4047 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4048 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4049 no_cache=0
4050
4051 # Check whether --with-gnomeprint was given.
4052 if test "${with_gnomeprint+set}" = set; then
4053 withval=$with_gnomeprint;
4054 if test "$withval" = yes; then
4055 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4056 else
4057 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4058 fi
4059
4060 else
4061
4062 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4063 if test "x$LINE" != x ; then
4064 eval "DEFAULT_$LINE"
4065 else
4066 no_cache=1
4067 fi
4068
4069 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4070
4071 fi
4072
4073
4074 eval "$ac_cv_use_gnomeprint"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4077 fi
4078
4079 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4080 { echo "$as_me:$LINENO: result: yes" >&5
4081 echo "${ECHO_T}yes" >&6; }
4082 else
4083 { echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6; }
4085 fi
4086
4087
4088 withstring=
4089 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4090 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4091 no_cache=0
4092
4093 # Check whether --with-gnomevfs was given.
4094 if test "${with_gnomevfs+set}" = set; then
4095 withval=$with_gnomevfs;
4096 if test "$withval" = yes; then
4097 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4098 else
4099 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4100 fi
4101
4102 else
4103
4104 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x ; then
4106 eval "DEFAULT_$LINE"
4107 else
4108 no_cache=1
4109 fi
4110
4111 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4112
4113 fi
4114
4115
4116 eval "$ac_cv_use_gnomevfs"
4117 if test "$no_cache" != 1; then
4118 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4119 fi
4120
4121 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4122 { echo "$as_me:$LINENO: result: yes" >&5
4123 echo "${ECHO_T}yes" >&6; }
4124 else
4125 { echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6; }
4127 fi
4128
4129
4130 withstring=
4131 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4132 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4133 no_cache=0
4134
4135 # Check whether --with-hildon was given.
4136 if test "${with_hildon+set}" = set; then
4137 withval=$with_hildon;
4138 if test "$withval" = yes; then
4139 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4140 else
4141 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4142 fi
4143
4144 else
4145
4146 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4147 if test "x$LINE" != x ; then
4148 eval "DEFAULT_$LINE"
4149 else
4150 no_cache=1
4151 fi
4152
4153 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4154
4155 fi
4156
4157
4158 eval "$ac_cv_use_hildon"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4161 fi
4162
4163 if test "$wxUSE_LIBHILDON" = yes; then
4164 { echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6; }
4166 else
4167 { echo "$as_me:$LINENO: result: no" >&5
4168 echo "${ECHO_T}no" >&6; }
4169 fi
4170
4171
4172 withstring=
4173 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4174 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4175 no_cache=0
4176
4177 # Check whether --with-opengl was given.
4178 if test "${with_opengl+set}" = set; then
4179 withval=$with_opengl;
4180 if test "$withval" = yes; then
4181 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4182 else
4183 ac_cv_use_opengl='wxUSE_OPENGL=no'
4184 fi
4185
4186 else
4187
4188 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x ; then
4190 eval "DEFAULT_$LINE"
4191 else
4192 no_cache=1
4193 fi
4194
4195 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4196
4197 fi
4198
4199
4200 eval "$ac_cv_use_opengl"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4203 fi
4204
4205 if test "$wxUSE_OPENGL" = yes; then
4206 { echo "$as_me:$LINENO: result: yes" >&5
4207 echo "${ECHO_T}yes" >&6; }
4208 else
4209 { echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6; }
4211 fi
4212
4213
4214 if test "$wxUSE_UNIVERSAL" = "yes"; then
4215
4216 # Check whether --with-themes was given.
4217 if test "${with_themes+set}" = set; then
4218 withval=$with_themes; wxUNIV_THEMES="$withval"
4219 fi
4220
4221 fi
4222
4223 fi
4224
4225
4226 withstring=
4227 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4228 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4229 no_cache=0
4230
4231 # Check whether --with-dmalloc was given.
4232 if test "${with_dmalloc+set}" = set; then
4233 withval=$with_dmalloc;
4234 if test "$withval" = yes; then
4235 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4236 else
4237 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4238 fi
4239
4240 else
4241
4242 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x ; then
4244 eval "DEFAULT_$LINE"
4245 else
4246 no_cache=1
4247 fi
4248
4249 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4250
4251 fi
4252
4253
4254 eval "$ac_cv_use_dmalloc"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_DMALLOC" = yes; then
4260 { echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6; }
4262 else
4263 { echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6; }
4265 fi
4266
4267
4268 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4269 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4270 no_cache=0
4271
4272 # Check whether --with-regex was given.
4273 if test "${with_regex+set}" = set; then
4274 withval=$with_regex;
4275 if test "$withval" = yes; then
4276 ac_cv_use_regex='wxUSE_REGEX=yes'
4277 elif test "$withval" = no; then
4278 ac_cv_use_regex='wxUSE_REGEX=no'
4279 elif test "$withval" = sys; then
4280 ac_cv_use_regex='wxUSE_REGEX=sys'
4281 elif test "$withval" = builtin; then
4282 ac_cv_use_regex='wxUSE_REGEX=builtin'
4283 else
4284 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4285 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4287 fi
4288
4289 else
4290
4291 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x ; then
4293 eval "DEFAULT_$LINE"
4294 else
4295 no_cache=1
4296 fi
4297
4298 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4299
4300 fi
4301
4302
4303 eval "$ac_cv_use_regex"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4306 fi
4307
4308 if test "$wxUSE_REGEX" = yes; then
4309 { echo "$as_me:$LINENO: result: yes" >&5
4310 echo "${ECHO_T}yes" >&6; }
4311 elif test "$wxUSE_REGEX" = no; then
4312 { echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6; }
4314 elif test "$wxUSE_REGEX" = sys; then
4315 { echo "$as_me:$LINENO: result: system version" >&5
4316 echo "${ECHO_T}system version" >&6; }
4317 elif test "$wxUSE_REGEX" = builtin; then
4318 { echo "$as_me:$LINENO: result: builtin version" >&5
4319 echo "${ECHO_T}builtin version" >&6; }
4320 else
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4324 fi
4325
4326
4327 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4328 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4329 no_cache=0
4330
4331 # Check whether --with-zlib was given.
4332 if test "${with_zlib+set}" = set; then
4333 withval=$with_zlib;
4334 if test "$withval" = yes; then
4335 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4336 elif test "$withval" = no; then
4337 ac_cv_use_zlib='wxUSE_ZLIB=no'
4338 elif test "$withval" = sys; then
4339 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4340 elif test "$withval" = builtin; then
4341 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4342 else
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4346 fi
4347
4348 else
4349
4350 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x ; then
4352 eval "DEFAULT_$LINE"
4353 else
4354 no_cache=1
4355 fi
4356
4357 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4358
4359 fi
4360
4361
4362 eval "$ac_cv_use_zlib"
4363 if test "$no_cache" != 1; then
4364 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4365 fi
4366
4367 if test "$wxUSE_ZLIB" = yes; then
4368 { echo "$as_me:$LINENO: result: yes" >&5
4369 echo "${ECHO_T}yes" >&6; }
4370 elif test "$wxUSE_ZLIB" = no; then
4371 { echo "$as_me:$LINENO: result: no" >&5
4372 echo "${ECHO_T}no" >&6; }
4373 elif test "$wxUSE_ZLIB" = sys; then
4374 { echo "$as_me:$LINENO: result: system version" >&5
4375 echo "${ECHO_T}system version" >&6; }
4376 elif test "$wxUSE_ZLIB" = builtin; then
4377 { echo "$as_me:$LINENO: result: builtin version" >&5
4378 echo "${ECHO_T}builtin version" >&6; }
4379 else
4380 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4381 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4382 { (exit 1); exit 1; }; }
4383 fi
4384
4385
4386 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4387 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4388 no_cache=0
4389
4390 # Check whether --with-odbc was given.
4391 if test "${with_odbc+set}" = set; then
4392 withval=$with_odbc;
4393 if test "$withval" = yes; then
4394 ac_cv_use_odbc='wxUSE_ODBC=yes'
4395 elif test "$withval" = no; then
4396 ac_cv_use_odbc='wxUSE_ODBC=no'
4397 elif test "$withval" = sys; then
4398 ac_cv_use_odbc='wxUSE_ODBC=sys'
4399 elif test "$withval" = builtin; then
4400 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4401 else
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4405 fi
4406
4407 else
4408
4409 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4410 if test "x$LINE" != x ; then
4411 eval "DEFAULT_$LINE"
4412 else
4413 no_cache=1
4414 fi
4415
4416 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4417
4418 fi
4419
4420
4421 eval "$ac_cv_use_odbc"
4422 if test "$no_cache" != 1; then
4423 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4424 fi
4425
4426 if test "$wxUSE_ODBC" = yes; then
4427 { echo "$as_me:$LINENO: result: yes" >&5
4428 echo "${ECHO_T}yes" >&6; }
4429 elif test "$wxUSE_ODBC" = no; then
4430 { echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6; }
4432 elif test "$wxUSE_ODBC" = sys; then
4433 { echo "$as_me:$LINENO: result: system version" >&5
4434 echo "${ECHO_T}system version" >&6; }
4435 elif test "$wxUSE_ODBC" = builtin; then
4436 { echo "$as_me:$LINENO: result: builtin version" >&5
4437 echo "${ECHO_T}builtin version" >&6; }
4438 else
4439 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4440 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4441 { (exit 1); exit 1; }; }
4442 fi
4443
4444
4445 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4446 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4447 no_cache=0
4448
4449 # Check whether --with-expat was given.
4450 if test "${with_expat+set}" = set; then
4451 withval=$with_expat;
4452 if test "$withval" = yes; then
4453 ac_cv_use_expat='wxUSE_EXPAT=yes'
4454 elif test "$withval" = no; then
4455 ac_cv_use_expat='wxUSE_EXPAT=no'
4456 elif test "$withval" = sys; then
4457 ac_cv_use_expat='wxUSE_EXPAT=sys'
4458 elif test "$withval" = builtin; then
4459 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4460 else
4461 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4462 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4463 { (exit 1); exit 1; }; }
4464 fi
4465
4466 else
4467
4468 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x ; then
4470 eval "DEFAULT_$LINE"
4471 else
4472 no_cache=1
4473 fi
4474
4475 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4476
4477 fi
4478
4479
4480 eval "$ac_cv_use_expat"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4483 fi
4484
4485 if test "$wxUSE_EXPAT" = yes; then
4486 { echo "$as_me:$LINENO: result: yes" >&5
4487 echo "${ECHO_T}yes" >&6; }
4488 elif test "$wxUSE_EXPAT" = no; then
4489 { echo "$as_me:$LINENO: result: no" >&5
4490 echo "${ECHO_T}no" >&6; }
4491 elif test "$wxUSE_EXPAT" = sys; then
4492 { echo "$as_me:$LINENO: result: system version" >&5
4493 echo "${ECHO_T}system version" >&6; }
4494 elif test "$wxUSE_EXPAT" = builtin; then
4495 { echo "$as_me:$LINENO: result: builtin version" >&5
4496 echo "${ECHO_T}builtin version" >&6; }
4497 else
4498 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4499 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4500 { (exit 1); exit 1; }; }
4501 fi
4502
4503
4504
4505
4506 enablestring=
4507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4508 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4509 no_cache=0
4510 # Check whether --enable-shared was given.
4511 if test "${enable_shared+set}" = set; then
4512 enableval=$enable_shared;
4513 if test "$enableval" = yes; then
4514 ac_cv_use_shared='wxUSE_SHARED=yes'
4515 else
4516 ac_cv_use_shared='wxUSE_SHARED=no'
4517 fi
4518
4519 else
4520
4521 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x ; then
4523 eval "DEFAULT_$LINE"
4524 else
4525 no_cache=1
4526 fi
4527
4528 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4529
4530 fi
4531
4532
4533 eval "$ac_cv_use_shared"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4536 fi
4537
4538 if test "$wxUSE_SHARED" = yes; then
4539 { echo "$as_me:$LINENO: result: yes" >&5
4540 echo "${ECHO_T}yes" >&6; }
4541 else
4542 { echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6; }
4544 fi
4545
4546
4547 enablestring=
4548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4549 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4550 no_cache=0
4551 # Check whether --enable-optimise was given.
4552 if test "${enable_optimise+set}" = set; then
4553 enableval=$enable_optimise;
4554 if test "$enableval" = yes; then
4555 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4556 else
4557 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4558 fi
4559
4560 else
4561
4562 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x ; then
4564 eval "DEFAULT_$LINE"
4565 else
4566 no_cache=1
4567 fi
4568
4569 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4570
4571 fi
4572
4573
4574 eval "$ac_cv_use_optimise"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4577 fi
4578
4579 if test "$wxUSE_OPTIMISE" = yes; then
4580 { echo "$as_me:$LINENO: result: yes" >&5
4581 echo "${ECHO_T}yes" >&6; }
4582 else
4583 { echo "$as_me:$LINENO: result: no" >&5
4584 echo "${ECHO_T}no" >&6; }
4585 fi
4586
4587
4588 enablestring=
4589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4591 no_cache=0
4592 # Check whether --enable-debug was given.
4593 if test "${enable_debug+set}" = set; then
4594 enableval=$enable_debug;
4595 if test "$enableval" = yes; then
4596 ac_cv_use_debug='wxUSE_DEBUG=yes'
4597 else
4598 ac_cv_use_debug='wxUSE_DEBUG=no'
4599 fi
4600
4601 else
4602
4603 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x ; then
4605 eval "DEFAULT_$LINE"
4606 else
4607 no_cache=1
4608 fi
4609
4610 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4611
4612 fi
4613
4614
4615 eval "$ac_cv_use_debug"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4618 fi
4619
4620 if test "$wxUSE_DEBUG" = yes; then
4621 { echo "$as_me:$LINENO: result: yes" >&5
4622 echo "${ECHO_T}yes" >&6; }
4623 else
4624 { echo "$as_me:$LINENO: result: no" >&5
4625 echo "${ECHO_T}no" >&6; }
4626 fi
4627
4628
4629 enablestring=
4630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4631 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4632 no_cache=0
4633 # Check whether --enable-stl was given.
4634 if test "${enable_stl+set}" = set; then
4635 enableval=$enable_stl;
4636 if test "$enableval" = yes; then
4637 ac_cv_use_stl='wxUSE_STL=yes'
4638 else
4639 ac_cv_use_stl='wxUSE_STL=no'
4640 fi
4641
4642 else
4643
4644 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x ; then
4646 eval "DEFAULT_$LINE"
4647 else
4648 no_cache=1
4649 fi
4650
4651 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4652
4653 fi
4654
4655
4656 eval "$ac_cv_use_stl"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4659 fi
4660
4661 if test "$wxUSE_STL" = yes; then
4662 { echo "$as_me:$LINENO: result: yes" >&5
4663 echo "${ECHO_T}yes" >&6; }
4664 else
4665 { echo "$as_me:$LINENO: result: no" >&5
4666 echo "${ECHO_T}no" >&6; }
4667 fi
4668
4669 if test "$USE_OS2" = "1"; then
4670 DEFAULT_wxUSE_OMF=no
4671
4672 enablestring=
4673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4674 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4675 no_cache=0
4676 # Check whether --enable-omf was given.
4677 if test "${enable_omf+set}" = set; then
4678 enableval=$enable_omf;
4679 if test "$enableval" = yes; then
4680 ac_cv_use_omf='wxUSE_OMF=yes'
4681 else
4682 ac_cv_use_omf='wxUSE_OMF=no'
4683 fi
4684
4685 else
4686
4687 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4688 if test "x$LINE" != x ; then
4689 eval "DEFAULT_$LINE"
4690 else
4691 no_cache=1
4692 fi
4693
4694 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4695
4696 fi
4697
4698
4699 eval "$ac_cv_use_omf"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4702 fi
4703
4704 if test "$wxUSE_OMF" = yes; then
4705 { echo "$as_me:$LINENO: result: yes" >&5
4706 echo "${ECHO_T}yes" >&6; }
4707 else
4708 { echo "$as_me:$LINENO: result: no" >&5
4709 echo "${ECHO_T}no" >&6; }
4710 fi
4711
4712 fi
4713
4714 if test "$wxUSE_DEBUG" = "yes"; then
4715 DEFAULT_wxUSE_DEBUG_FLAG=yes
4716 DEFAULT_wxUSE_DEBUG_INFO=yes
4717 BUILD=debug
4718 elif test "$wxUSE_DEBUG" = "no"; then
4719 DEFAULT_wxUSE_DEBUG_FLAG=no
4720 DEFAULT_wxUSE_DEBUG_INFO=no
4721 BUILD=release
4722 fi
4723
4724
4725 enablestring=
4726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4728 no_cache=0
4729 # Check whether --enable-debug_flag was given.
4730 if test "${enable_debug_flag+set}" = set; then
4731 enableval=$enable_debug_flag;
4732 if test "$enableval" = yes; then
4733 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4734 else
4735 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4736 fi
4737
4738 else
4739
4740 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4741 if test "x$LINE" != x ; then
4742 eval "DEFAULT_$LINE"
4743 else
4744 no_cache=1
4745 fi
4746
4747 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4748
4749 fi
4750
4751
4752 eval "$ac_cv_use_debug_flag"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4755 fi
4756
4757 if test "$wxUSE_DEBUG_FLAG" = yes; then
4758 { echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6; }
4760 else
4761 { echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6; }
4763 fi
4764
4765
4766 enablestring=
4767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4768 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4769 no_cache=0
4770 # Check whether --enable-debug_info was given.
4771 if test "${enable_debug_info+set}" = set; then
4772 enableval=$enable_debug_info;
4773 if test "$enableval" = yes; then
4774 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4775 else
4776 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4777 fi
4778
4779 else
4780
4781 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4782 if test "x$LINE" != x ; then
4783 eval "DEFAULT_$LINE"
4784 else
4785 no_cache=1
4786 fi
4787
4788 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4789
4790 fi
4791
4792
4793 eval "$ac_cv_use_debug_info"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4796 fi
4797
4798 if test "$wxUSE_DEBUG_INFO" = yes; then
4799 { echo "$as_me:$LINENO: result: yes" >&5
4800 echo "${ECHO_T}yes" >&6; }
4801 else
4802 { echo "$as_me:$LINENO: result: no" >&5
4803 echo "${ECHO_T}no" >&6; }
4804 fi
4805
4806
4807 enablestring=
4808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4809 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4810 no_cache=0
4811 # Check whether --enable-debug_gdb was given.
4812 if test "${enable_debug_gdb+set}" = set; then
4813 enableval=$enable_debug_gdb;
4814 if test "$enableval" = yes; then
4815 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4816 else
4817 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4818 fi
4819
4820 else
4821
4822 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4823 if test "x$LINE" != x ; then
4824 eval "DEFAULT_$LINE"
4825 else
4826 no_cache=1
4827 fi
4828
4829 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4830
4831 fi
4832
4833
4834 eval "$ac_cv_use_debug_gdb"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4837 fi
4838
4839 if test "$wxUSE_DEBUG_GDB" = yes; then
4840 { echo "$as_me:$LINENO: result: yes" >&5
4841 echo "${ECHO_T}yes" >&6; }
4842 else
4843 { echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6; }
4845 fi
4846
4847
4848 enablestring=
4849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4851 no_cache=0
4852 # Check whether --enable-debug_cntxt was given.
4853 if test "${enable_debug_cntxt+set}" = set; then
4854 enableval=$enable_debug_cntxt;
4855 if test "$enableval" = yes; then
4856 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4857 else
4858 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4859 fi
4860
4861 else
4862
4863 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4864 if test "x$LINE" != x ; then
4865 eval "DEFAULT_$LINE"
4866 else
4867 no_cache=1
4868 fi
4869
4870 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4871
4872 fi
4873
4874
4875 eval "$ac_cv_use_debug_cntxt"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4878 fi
4879
4880 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4881 { echo "$as_me:$LINENO: result: yes" >&5
4882 echo "${ECHO_T}yes" >&6; }
4883 else
4884 { echo "$as_me:$LINENO: result: no" >&5
4885 echo "${ECHO_T}no" >&6; }
4886 fi
4887
4888
4889 enablestring=
4890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4892 no_cache=0
4893 # Check whether --enable-mem_tracing was given.
4894 if test "${enable_mem_tracing+set}" = set; then
4895 enableval=$enable_mem_tracing;
4896 if test "$enableval" = yes; then
4897 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4898 else
4899 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4900 fi
4901
4902 else
4903
4904 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x ; then
4906 eval "DEFAULT_$LINE"
4907 else
4908 no_cache=1
4909 fi
4910
4911 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4912
4913 fi
4914
4915
4916 eval "$ac_cv_use_mem_tracing"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4919 fi
4920
4921 if test "$wxUSE_MEM_TRACING" = yes; then
4922 { echo "$as_me:$LINENO: result: yes" >&5
4923 echo "${ECHO_T}yes" >&6; }
4924 else
4925 { echo "$as_me:$LINENO: result: no" >&5
4926 echo "${ECHO_T}no" >&6; }
4927 fi
4928
4929
4930 enablestring=
4931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4932 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4933 no_cache=0
4934 # Check whether --enable-profile was given.
4935 if test "${enable_profile+set}" = set; then
4936 enableval=$enable_profile;
4937 if test "$enableval" = yes; then
4938 ac_cv_use_profile='wxUSE_PROFILE=yes'
4939 else
4940 ac_cv_use_profile='wxUSE_PROFILE=no'
4941 fi
4942
4943 else
4944
4945 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4946 if test "x$LINE" != x ; then
4947 eval "DEFAULT_$LINE"
4948 else
4949 no_cache=1
4950 fi
4951
4952 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4953
4954 fi
4955
4956
4957 eval "$ac_cv_use_profile"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4960 fi
4961
4962 if test "$wxUSE_PROFILE" = yes; then
4963 { echo "$as_me:$LINENO: result: yes" >&5
4964 echo "${ECHO_T}yes" >&6; }
4965 else
4966 { echo "$as_me:$LINENO: result: no" >&5
4967 echo "${ECHO_T}no" >&6; }
4968 fi
4969
4970
4971 enablestring=
4972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4973 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4974 no_cache=0
4975 # Check whether --enable-no_rtti was given.
4976 if test "${enable_no_rtti+set}" = set; then
4977 enableval=$enable_no_rtti;
4978 if test "$enableval" = yes; then
4979 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4980 else
4981 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4982 fi
4983
4984 else
4985
4986 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4987 if test "x$LINE" != x ; then
4988 eval "DEFAULT_$LINE"
4989 else
4990 no_cache=1
4991 fi
4992
4993 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4994
4995 fi
4996
4997
4998 eval "$ac_cv_use_no_rtti"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5001 fi
5002
5003 if test "$wxUSE_NO_RTTI" = yes; then
5004 { echo "$as_me:$LINENO: result: yes" >&5
5005 echo "${ECHO_T}yes" >&6; }
5006 else
5007 { echo "$as_me:$LINENO: result: no" >&5
5008 echo "${ECHO_T}no" >&6; }
5009 fi
5010
5011
5012 enablestring=
5013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5014 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5015 no_cache=0
5016 # Check whether --enable-no_exceptions was given.
5017 if test "${enable_no_exceptions+set}" = set; then
5018 enableval=$enable_no_exceptions;
5019 if test "$enableval" = yes; then
5020 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5021 else
5022 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5023 fi
5024
5025 else
5026
5027 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5028 if test "x$LINE" != x ; then
5029 eval "DEFAULT_$LINE"
5030 else
5031 no_cache=1
5032 fi
5033
5034 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5035
5036 fi
5037
5038
5039 eval "$ac_cv_use_no_exceptions"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5042 fi
5043
5044 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5045 { echo "$as_me:$LINENO: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6; }
5047 else
5048 { echo "$as_me:$LINENO: result: no" >&5
5049 echo "${ECHO_T}no" >&6; }
5050 fi
5051
5052
5053 enablestring=
5054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5055 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5056 no_cache=0
5057 # Check whether --enable-permissive was given.
5058 if test "${enable_permissive+set}" = set; then
5059 enableval=$enable_permissive;
5060 if test "$enableval" = yes; then
5061 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5062 else
5063 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5064 fi
5065
5066 else
5067
5068 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5069 if test "x$LINE" != x ; then
5070 eval "DEFAULT_$LINE"
5071 else
5072 no_cache=1
5073 fi
5074
5075 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5076
5077 fi
5078
5079
5080 eval "$ac_cv_use_permissive"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5083 fi
5084
5085 if test "$wxUSE_PERMISSIVE" = yes; then
5086 { echo "$as_me:$LINENO: result: yes" >&5
5087 echo "${ECHO_T}yes" >&6; }
5088 else
5089 { echo "$as_me:$LINENO: result: no" >&5
5090 echo "${ECHO_T}no" >&6; }
5091 fi
5092
5093
5094 enablestring=
5095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5096 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5097 no_cache=0
5098 # Check whether --enable-no_deps was given.
5099 if test "${enable_no_deps+set}" = set; then
5100 enableval=$enable_no_deps;
5101 if test "$enableval" = yes; then
5102 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5103 else
5104 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5105 fi
5106
5107 else
5108
5109 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5110 if test "x$LINE" != x ; then
5111 eval "DEFAULT_$LINE"
5112 else
5113 no_cache=1
5114 fi
5115
5116 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5117
5118 fi
5119
5120
5121 eval "$ac_cv_use_no_deps"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5124 fi
5125
5126 if test "$wxUSE_NO_DEPS" = yes; then
5127 { echo "$as_me:$LINENO: result: yes" >&5
5128 echo "${ECHO_T}yes" >&6; }
5129 else
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5132 fi
5133
5134
5135 enablestring=
5136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5137 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5138 no_cache=0
5139 # Check whether --enable-vararg_macros was given.
5140 if test "${enable_vararg_macros+set}" = set; then
5141 enableval=$enable_vararg_macros;
5142 if test "$enableval" = yes; then
5143 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5144 else
5145 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5146 fi
5147
5148 else
5149
5150 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x ; then
5152 eval "DEFAULT_$LINE"
5153 else
5154 no_cache=1
5155 fi
5156
5157 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5158
5159 fi
5160
5161
5162 eval "$ac_cv_use_vararg_macros"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5165 fi
5166
5167 if test "$wxUSE_VARARG_MACROS" = yes; then
5168 { echo "$as_me:$LINENO: result: yes" >&5
5169 echo "${ECHO_T}yes" >&6; }
5170 else
5171 { echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6; }
5173 fi
5174
5175
5176 enablestring=
5177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5179 no_cache=0
5180 # Check whether --enable-universal_binary was given.
5181 if test "${enable_universal_binary+set}" = set; then
5182 enableval=$enable_universal_binary;
5183 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5184
5185 else
5186
5187 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5188 if test "x$LINE" != x ; then
5189 eval "DEFAULT_$LINE"
5190 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5191 else
5192 no_cache=1
5193 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5194 fi
5195
5196 fi
5197
5198
5199 eval "$wx_cv_use_universal_binary"
5200 if test "$no_cache" != 1; then
5201 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5202 fi
5203
5204 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5205 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5206
5207
5208
5209 enablestring=enable
5210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5211 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5212 no_cache=0
5213 # Check whether --enable-compat26 was given.
5214 if test "${enable_compat26+set}" = set; then
5215 enableval=$enable_compat26;
5216 if test "$enableval" = yes; then
5217 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5218 else
5219 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5220 fi
5221
5222 else
5223
5224 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x ; then
5226 eval "DEFAULT_$LINE"
5227 else
5228 no_cache=1
5229 fi
5230
5231 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5232
5233 fi
5234
5235
5236 eval "$ac_cv_use_compat26"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5239 fi
5240
5241 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5242 { echo "$as_me:$LINENO: result: yes" >&5
5243 echo "${ECHO_T}yes" >&6; }
5244 else
5245 { echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6; }
5247 fi
5248
5249
5250 enablestring=disable
5251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5252 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5253 no_cache=0
5254 # Check whether --enable-compat28 was given.
5255 if test "${enable_compat28+set}" = set; then
5256 enableval=$enable_compat28;
5257 if test "$enableval" = yes; then
5258 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5259 else
5260 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5261 fi
5262
5263 else
5264
5265 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x ; then
5267 eval "DEFAULT_$LINE"
5268 else
5269 no_cache=1
5270 fi
5271
5272 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5273
5274 fi
5275
5276
5277 eval "$ac_cv_use_compat28"
5278 if test "$no_cache" != 1; then
5279 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5280 fi
5281
5282 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5283 { echo "$as_me:$LINENO: result: yes" >&5
5284 echo "${ECHO_T}yes" >&6; }
5285 else
5286 { echo "$as_me:$LINENO: result: no" >&5
5287 echo "${ECHO_T}no" >&6; }
5288 fi
5289
5290
5291
5292 enablestring=
5293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5295 no_cache=0
5296 # Check whether --enable-rpath was given.
5297 if test "${enable_rpath+set}" = set; then
5298 enableval=$enable_rpath;
5299 if test "$enableval" = yes; then
5300 ac_cv_use_rpath='wxUSE_RPATH=yes'
5301 else
5302 ac_cv_use_rpath='wxUSE_RPATH=no'
5303 fi
5304
5305 else
5306
5307 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x ; then
5309 eval "DEFAULT_$LINE"
5310 else
5311 no_cache=1
5312 fi
5313
5314 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5315
5316 fi
5317
5318
5319 eval "$ac_cv_use_rpath"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5322 fi
5323
5324 if test "$wxUSE_RPATH" = yes; then
5325 { echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6; }
5327 else
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5330 fi
5331
5332
5333
5334
5335
5336 enablestring=
5337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5339 no_cache=0
5340 # Check whether --enable-intl was given.
5341 if test "${enable_intl+set}" = set; then
5342 enableval=$enable_intl;
5343 if test "$enableval" = yes; then
5344 ac_cv_use_intl='wxUSE_INTL=yes'
5345 else
5346 ac_cv_use_intl='wxUSE_INTL=no'
5347 fi
5348
5349 else
5350
5351 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x ; then
5353 eval "DEFAULT_$LINE"
5354 else
5355 no_cache=1
5356 fi
5357
5358 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5359
5360 fi
5361
5362
5363 eval "$ac_cv_use_intl"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5366 fi
5367
5368 if test "$wxUSE_INTL" = yes; then
5369 { echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6; }
5371 else
5372 { echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6; }
5374 fi
5375
5376
5377 enablestring=
5378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5380 no_cache=0
5381 # Check whether --enable-config was given.
5382 if test "${enable_config+set}" = set; then
5383 enableval=$enable_config;
5384 if test "$enableval" = yes; then
5385 ac_cv_use_config='wxUSE_CONFIG=yes'
5386 else
5387 ac_cv_use_config='wxUSE_CONFIG=no'
5388 fi
5389
5390 else
5391
5392 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5393 if test "x$LINE" != x ; then
5394 eval "DEFAULT_$LINE"
5395 else
5396 no_cache=1
5397 fi
5398
5399 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5400
5401 fi
5402
5403
5404 eval "$ac_cv_use_config"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5407 fi
5408
5409 if test "$wxUSE_CONFIG" = yes; then
5410 { echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6; }
5412 else
5413 { echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6; }
5415 fi
5416
5417
5418
5419 enablestring=
5420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5422 no_cache=0
5423 # Check whether --enable-protocols was given.
5424 if test "${enable_protocols+set}" = set; then
5425 enableval=$enable_protocols;
5426 if test "$enableval" = yes; then
5427 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5428 else
5429 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5430 fi
5431
5432 else
5433
5434 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5437 else
5438 no_cache=1
5439 fi
5440
5441 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5442
5443 fi
5444
5445
5446 eval "$ac_cv_use_protocols"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5449 fi
5450
5451 if test "$wxUSE_PROTOCOL" = yes; then
5452 { echo "$as_me:$LINENO: result: yes" >&5
5453 echo "${ECHO_T}yes" >&6; }
5454 else
5455 { echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6; }
5457 fi
5458
5459
5460 enablestring=
5461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5462 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5463 no_cache=0
5464 # Check whether --enable-ftp was given.
5465 if test "${enable_ftp+set}" = set; then
5466 enableval=$enable_ftp;
5467 if test "$enableval" = yes; then
5468 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5469 else
5470 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5471 fi
5472
5473 else
5474
5475 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5478 else
5479 no_cache=1
5480 fi
5481
5482 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5483
5484 fi
5485
5486
5487 eval "$ac_cv_use_ftp"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5490 fi
5491
5492 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5493 { echo "$as_me:$LINENO: result: yes" >&5
5494 echo "${ECHO_T}yes" >&6; }
5495 else
5496 { echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6; }
5498 fi
5499
5500
5501 enablestring=
5502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5504 no_cache=0
5505 # Check whether --enable-http was given.
5506 if test "${enable_http+set}" = set; then
5507 enableval=$enable_http;
5508 if test "$enableval" = yes; then
5509 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5510 else
5511 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5512 fi
5513
5514 else
5515
5516 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5519 else
5520 no_cache=1
5521 fi
5522
5523 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5524
5525 fi
5526
5527
5528 eval "$ac_cv_use_http"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5531 fi
5532
5533 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5534 { echo "$as_me:$LINENO: result: yes" >&5
5535 echo "${ECHO_T}yes" >&6; }
5536 else
5537 { echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6; }
5539 fi
5540
5541
5542 enablestring=
5543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5545 no_cache=0
5546 # Check whether --enable-fileproto was given.
5547 if test "${enable_fileproto+set}" = set; then
5548 enableval=$enable_fileproto;
5549 if test "$enableval" = yes; then
5550 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5551 else
5552 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5553 fi
5554
5555 else
5556
5557 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5560 else
5561 no_cache=1
5562 fi
5563
5564 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5565
5566 fi
5567
5568
5569 eval "$ac_cv_use_fileproto"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5572 fi
5573
5574 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5575 { echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6; }
5577 else
5578 { echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6; }
5580 fi
5581
5582
5583 enablestring=
5584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5586 no_cache=0
5587 # Check whether --enable-sockets was given.
5588 if test "${enable_sockets+set}" = set; then
5589 enableval=$enable_sockets;
5590 if test "$enableval" = yes; then
5591 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5592 else
5593 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5594 fi
5595
5596 else
5597
5598 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5601 else
5602 no_cache=1
5603 fi
5604
5605 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5606
5607 fi
5608
5609
5610 eval "$ac_cv_use_sockets"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5613 fi
5614
5615 if test "$wxUSE_SOCKETS" = yes; then
5616 { echo "$as_me:$LINENO: result: yes" >&5
5617 echo "${ECHO_T}yes" >&6; }
5618 else
5619 { echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6; }
5621 fi
5622
5623
5624 enablestring=
5625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5627 no_cache=0
5628 # Check whether --enable-ole was given.
5629 if test "${enable_ole+set}" = set; then
5630 enableval=$enable_ole;
5631 if test "$enableval" = yes; then
5632 ac_cv_use_ole='wxUSE_OLE=yes'
5633 else
5634 ac_cv_use_ole='wxUSE_OLE=no'
5635 fi
5636
5637 else
5638
5639 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5640 if test "x$LINE" != x ; then
5641 eval "DEFAULT_$LINE"
5642 else
5643 no_cache=1
5644 fi
5645
5646 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5647
5648 fi
5649
5650
5651 eval "$ac_cv_use_ole"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5654 fi
5655
5656 if test "$wxUSE_OLE" = yes; then
5657 { echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6; }
5659 else
5660 { echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6; }
5662 fi
5663
5664
5665 enablestring=
5666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5668 no_cache=0
5669 # Check whether --enable-dataobj was given.
5670 if test "${enable_dataobj+set}" = set; then
5671 enableval=$enable_dataobj;
5672 if test "$enableval" = yes; then
5673 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5674 else
5675 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5676 fi
5677
5678 else
5679
5680 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x ; then
5682 eval "DEFAULT_$LINE"
5683 else
5684 no_cache=1
5685 fi
5686
5687 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5688
5689 fi
5690
5691
5692 eval "$ac_cv_use_dataobj"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5695 fi
5696
5697 if test "$wxUSE_DATAOBJ" = yes; then
5698 { echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6; }
5700 else
5701 { echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6; }
5703 fi
5704
5705
5706
5707 enablestring=
5708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5710 no_cache=0
5711 # Check whether --enable-ipc was given.
5712 if test "${enable_ipc+set}" = set; then
5713 enableval=$enable_ipc;
5714 if test "$enableval" = yes; then
5715 ac_cv_use_ipc='wxUSE_IPC=yes'
5716 else
5717 ac_cv_use_ipc='wxUSE_IPC=no'
5718 fi
5719
5720 else
5721
5722 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5725 else
5726 no_cache=1
5727 fi
5728
5729 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5730
5731 fi
5732
5733
5734 eval "$ac_cv_use_ipc"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5737 fi
5738
5739 if test "$wxUSE_IPC" = yes; then
5740 { echo "$as_me:$LINENO: result: yes" >&5
5741 echo "${ECHO_T}yes" >&6; }
5742 else
5743 { echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6; }
5745 fi
5746
5747
5748
5749 enablestring=
5750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5751 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5752 no_cache=0
5753 # Check whether --enable-apple_ieee was given.
5754 if test "${enable_apple_ieee+set}" = set; then
5755 enableval=$enable_apple_ieee;
5756 if test "$enableval" = yes; then
5757 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5758 else
5759 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5760 fi
5761
5762 else
5763
5764 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5765 if test "x$LINE" != x ; then
5766 eval "DEFAULT_$LINE"
5767 else
5768 no_cache=1
5769 fi
5770
5771 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5772
5773 fi
5774
5775
5776 eval "$ac_cv_use_apple_ieee"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5779 fi
5780
5781 if test "$wxUSE_APPLE_IEEE" = yes; then
5782 { echo "$as_me:$LINENO: result: yes" >&5
5783 echo "${ECHO_T}yes" >&6; }
5784 else
5785 { echo "$as_me:$LINENO: result: no" >&5
5786 echo "${ECHO_T}no" >&6; }
5787 fi
5788
5789
5790 enablestring=
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5793 no_cache=0
5794 # Check whether --enable-arcstream was given.
5795 if test "${enable_arcstream+set}" = set; then
5796 enableval=$enable_arcstream;
5797 if test "$enableval" = yes; then
5798 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5799 else
5800 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5801 fi
5802
5803 else
5804
5805 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x ; then
5807 eval "DEFAULT_$LINE"
5808 else
5809 no_cache=1
5810 fi
5811
5812 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5813
5814 fi
5815
5816
5817 eval "$ac_cv_use_arcstream"
5818 if test "$no_cache" != 1; then
5819 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5820 fi
5821
5822 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5823 { echo "$as_me:$LINENO: result: yes" >&5
5824 echo "${ECHO_T}yes" >&6; }
5825 else
5826 { echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6; }
5828 fi
5829
5830
5831 enablestring=
5832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5833 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5834 no_cache=0
5835 # Check whether --enable-backtrace was given.
5836 if test "${enable_backtrace+set}" = set; then
5837 enableval=$enable_backtrace;
5838 if test "$enableval" = yes; then
5839 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5840 else
5841 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5842 fi
5843
5844 else
5845
5846 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x ; then
5848 eval "DEFAULT_$LINE"
5849 else
5850 no_cache=1
5851 fi
5852
5853 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5854
5855 fi
5856
5857
5858 eval "$ac_cv_use_backtrace"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5861 fi
5862
5863 if test "$wxUSE_STACKWALKER" = yes; then
5864 { echo "$as_me:$LINENO: result: yes" >&5
5865 echo "${ECHO_T}yes" >&6; }
5866 else
5867 { echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6; }
5869 fi
5870
5871
5872 enablestring=
5873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5874 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5875 no_cache=0
5876 # Check whether --enable-catch_segvs was given.
5877 if test "${enable_catch_segvs+set}" = set; then
5878 enableval=$enable_catch_segvs;
5879 if test "$enableval" = yes; then
5880 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5881 else
5882 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5883 fi
5884
5885 else
5886
5887 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5888 if test "x$LINE" != x ; then
5889 eval "DEFAULT_$LINE"
5890 else
5891 no_cache=1
5892 fi
5893
5894 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5895
5896 fi
5897
5898
5899 eval "$ac_cv_use_catch_segvs"
5900 if test "$no_cache" != 1; then
5901 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5902 fi
5903
5904 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5905 { echo "$as_me:$LINENO: result: yes" >&5
5906 echo "${ECHO_T}yes" >&6; }
5907 else
5908 { echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6; }
5910 fi
5911
5912
5913 enablestring=
5914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5915 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5916 no_cache=0
5917 # Check whether --enable-cmdline was given.
5918 if test "${enable_cmdline+set}" = set; then
5919 enableval=$enable_cmdline;
5920 if test "$enableval" = yes; then
5921 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5922 else
5923 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5924 fi
5925
5926 else
5927
5928 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x ; then
5930 eval "DEFAULT_$LINE"
5931 else
5932 no_cache=1
5933 fi
5934
5935 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5936
5937 fi
5938
5939
5940 eval "$ac_cv_use_cmdline"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5943 fi
5944
5945 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5946 { echo "$as_me:$LINENO: result: yes" >&5
5947 echo "${ECHO_T}yes" >&6; }
5948 else
5949 { echo "$as_me:$LINENO: result: no" >&5
5950 echo "${ECHO_T}no" >&6; }
5951 fi
5952
5953
5954 enablestring=
5955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5956 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5957 no_cache=0
5958 # Check whether --enable-datetime was given.
5959 if test "${enable_datetime+set}" = set; then
5960 enableval=$enable_datetime;
5961 if test "$enableval" = yes; then
5962 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5963 else
5964 ac_cv_use_datetime='wxUSE_DATETIME=no'
5965 fi
5966
5967 else
5968
5969 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x ; then
5971 eval "DEFAULT_$LINE"
5972 else
5973 no_cache=1
5974 fi
5975
5976 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5977
5978 fi
5979
5980
5981 eval "$ac_cv_use_datetime"
5982 if test "$no_cache" != 1; then
5983 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5984 fi
5985
5986 if test "$wxUSE_DATETIME" = yes; then
5987 { echo "$as_me:$LINENO: result: yes" >&5
5988 echo "${ECHO_T}yes" >&6; }
5989 else
5990 { echo "$as_me:$LINENO: result: no" >&5
5991 echo "${ECHO_T}no" >&6; }
5992 fi
5993
5994
5995 enablestring=
5996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5997 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
5998 no_cache=0
5999 # Check whether --enable-debugreport was given.
6000 if test "${enable_debugreport+set}" = set; then
6001 enableval=$enable_debugreport;
6002 if test "$enableval" = yes; then
6003 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6004 else
6005 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6006 fi
6007
6008 else
6009
6010 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x ; then
6012 eval "DEFAULT_$LINE"
6013 else
6014 no_cache=1
6015 fi
6016
6017 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6018
6019 fi
6020
6021
6022 eval "$ac_cv_use_debugreport"
6023 if test "$no_cache" != 1; then
6024 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6025 fi
6026
6027 if test "$wxUSE_DEBUGREPORT" = yes; then
6028 { echo "$as_me:$LINENO: result: yes" >&5
6029 echo "${ECHO_T}yes" >&6; }
6030 else
6031 { echo "$as_me:$LINENO: result: no" >&5
6032 echo "${ECHO_T}no" >&6; }
6033 fi
6034
6035
6036 enablestring=
6037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6038 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6039 no_cache=0
6040 # Check whether --enable-dialupman was given.
6041 if test "${enable_dialupman+set}" = set; then
6042 enableval=$enable_dialupman;
6043 if test "$enableval" = yes; then
6044 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6045 else
6046 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6047 fi
6048
6049 else
6050
6051 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6052 if test "x$LINE" != x ; then
6053 eval "DEFAULT_$LINE"
6054 else
6055 no_cache=1
6056 fi
6057
6058 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6059
6060 fi
6061
6062
6063 eval "$ac_cv_use_dialupman"
6064 if test "$no_cache" != 1; then
6065 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6066 fi
6067
6068 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6069 { echo "$as_me:$LINENO: result: yes" >&5
6070 echo "${ECHO_T}yes" >&6; }
6071 else
6072 { echo "$as_me:$LINENO: result: no" >&5
6073 echo "${ECHO_T}no" >&6; }
6074 fi
6075
6076
6077 enablestring=
6078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6079 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6080 no_cache=0
6081 # Check whether --enable-dynlib was given.
6082 if test "${enable_dynlib+set}" = set; then
6083 enableval=$enable_dynlib;
6084 if test "$enableval" = yes; then
6085 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6086 else
6087 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6088 fi
6089
6090 else
6091
6092 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6093 if test "x$LINE" != x ; then
6094 eval "DEFAULT_$LINE"
6095 else
6096 no_cache=1
6097 fi
6098
6099 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6100
6101 fi
6102
6103
6104 eval "$ac_cv_use_dynlib"
6105 if test "$no_cache" != 1; then
6106 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6107 fi
6108
6109 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6110 { echo "$as_me:$LINENO: result: yes" >&5
6111 echo "${ECHO_T}yes" >&6; }
6112 else
6113 { echo "$as_me:$LINENO: result: no" >&5
6114 echo "${ECHO_T}no" >&6; }
6115 fi
6116
6117
6118 enablestring=
6119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6120 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6121 no_cache=0
6122 # Check whether --enable-dynamicloader was given.
6123 if test "${enable_dynamicloader+set}" = set; then
6124 enableval=$enable_dynamicloader;
6125 if test "$enableval" = yes; then
6126 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6127 else
6128 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6129 fi
6130
6131 else
6132
6133 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6136 else
6137 no_cache=1
6138 fi
6139
6140 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6141
6142 fi
6143
6144
6145 eval "$ac_cv_use_dynamicloader"
6146 if test "$no_cache" != 1; then
6147 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6148 fi
6149
6150 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6151 { echo "$as_me:$LINENO: result: yes" >&5
6152 echo "${ECHO_T}yes" >&6; }
6153 else
6154 { echo "$as_me:$LINENO: result: no" >&5
6155 echo "${ECHO_T}no" >&6; }
6156 fi
6157
6158
6159 enablestring=
6160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6161 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6162 no_cache=0
6163 # Check whether --enable-exceptions was given.
6164 if test "${enable_exceptions+set}" = set; then
6165 enableval=$enable_exceptions;
6166 if test "$enableval" = yes; then
6167 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6168 else
6169 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6170 fi
6171
6172 else
6173
6174 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x ; then
6176 eval "DEFAULT_$LINE"
6177 else
6178 no_cache=1
6179 fi
6180
6181 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6182
6183 fi
6184
6185
6186 eval "$ac_cv_use_exceptions"
6187 if test "$no_cache" != 1; then
6188 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6189 fi
6190
6191 if test "$wxUSE_EXCEPTIONS" = yes; then
6192 { echo "$as_me:$LINENO: result: yes" >&5
6193 echo "${ECHO_T}yes" >&6; }
6194 else
6195 { echo "$as_me:$LINENO: result: no" >&5
6196 echo "${ECHO_T}no" >&6; }
6197 fi
6198
6199
6200 enablestring=
6201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6202 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6203 no_cache=0
6204 # Check whether --enable-ffile was given.
6205 if test "${enable_ffile+set}" = set; then
6206 enableval=$enable_ffile;
6207 if test "$enableval" = yes; then
6208 ac_cv_use_ffile='wxUSE_FFILE=yes'
6209 else
6210 ac_cv_use_ffile='wxUSE_FFILE=no'
6211 fi
6212
6213 else
6214
6215 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6216 if test "x$LINE" != x ; then
6217 eval "DEFAULT_$LINE"
6218 else
6219 no_cache=1
6220 fi
6221
6222 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6223
6224 fi
6225
6226
6227 eval "$ac_cv_use_ffile"
6228 if test "$no_cache" != 1; then
6229 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6230 fi
6231
6232 if test "$wxUSE_FFILE" = yes; then
6233 { echo "$as_me:$LINENO: result: yes" >&5
6234 echo "${ECHO_T}yes" >&6; }
6235 else
6236 { echo "$as_me:$LINENO: result: no" >&5
6237 echo "${ECHO_T}no" >&6; }
6238 fi
6239
6240
6241 enablestring=
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6244 no_cache=0
6245 # Check whether --enable-file was given.
6246 if test "${enable_file+set}" = set; then
6247 enableval=$enable_file;
6248 if test "$enableval" = yes; then
6249 ac_cv_use_file='wxUSE_FILE=yes'
6250 else
6251 ac_cv_use_file='wxUSE_FILE=no'
6252 fi
6253
6254 else
6255
6256 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6259 else
6260 no_cache=1
6261 fi
6262
6263 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6264
6265 fi
6266
6267
6268 eval "$ac_cv_use_file"
6269 if test "$no_cache" != 1; then
6270 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6271 fi
6272
6273 if test "$wxUSE_FILE" = yes; then
6274 { echo "$as_me:$LINENO: result: yes" >&5
6275 echo "${ECHO_T}yes" >&6; }
6276 else
6277 { echo "$as_me:$LINENO: result: no" >&5
6278 echo "${ECHO_T}no" >&6; }
6279 fi
6280
6281
6282 enablestring=
6283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6284 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6285 no_cache=0
6286 # Check whether --enable-filesystem was given.
6287 if test "${enable_filesystem+set}" = set; then
6288 enableval=$enable_filesystem;
6289 if test "$enableval" = yes; then
6290 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6291 else
6292 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6293 fi
6294
6295 else
6296
6297 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6298 if test "x$LINE" != x ; then
6299 eval "DEFAULT_$LINE"
6300 else
6301 no_cache=1
6302 fi
6303
6304 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6305
6306 fi
6307
6308
6309 eval "$ac_cv_use_filesystem"
6310 if test "$no_cache" != 1; then
6311 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6312 fi
6313
6314 if test "$wxUSE_FILESYSTEM" = yes; then
6315 { echo "$as_me:$LINENO: result: yes" >&5
6316 echo "${ECHO_T}yes" >&6; }
6317 else
6318 { echo "$as_me:$LINENO: result: no" >&5
6319 echo "${ECHO_T}no" >&6; }
6320 fi
6321
6322
6323 enablestring=
6324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6325 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6326 no_cache=0
6327 # Check whether --enable-fontmap was given.
6328 if test "${enable_fontmap+set}" = set; then
6329 enableval=$enable_fontmap;
6330 if test "$enableval" = yes; then
6331 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6332 else
6333 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6334 fi
6335
6336 else
6337
6338 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6339 if test "x$LINE" != x ; then
6340 eval "DEFAULT_$LINE"
6341 else
6342 no_cache=1
6343 fi
6344
6345 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6346
6347 fi
6348
6349
6350 eval "$ac_cv_use_fontmap"
6351 if test "$no_cache" != 1; then
6352 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6353 fi
6354
6355 if test "$wxUSE_FONTMAP" = yes; then
6356 { echo "$as_me:$LINENO: result: yes" >&5
6357 echo "${ECHO_T}yes" >&6; }
6358 else
6359 { echo "$as_me:$LINENO: result: no" >&5
6360 echo "${ECHO_T}no" >&6; }
6361 fi
6362
6363
6364 enablestring=
6365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6367 no_cache=0
6368 # Check whether --enable-fs_archive was given.
6369 if test "${enable_fs_archive+set}" = set; then
6370 enableval=$enable_fs_archive;
6371 if test "$enableval" = yes; then
6372 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6373 else
6374 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6375 fi
6376
6377 else
6378
6379 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6380 if test "x$LINE" != x ; then
6381 eval "DEFAULT_$LINE"
6382 else
6383 no_cache=1
6384 fi
6385
6386 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6387
6388 fi
6389
6390
6391 eval "$ac_cv_use_fs_archive"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6394 fi
6395
6396 if test "$wxUSE_FS_ARCHIVE" = yes; then
6397 { echo "$as_me:$LINENO: result: yes" >&5
6398 echo "${ECHO_T}yes" >&6; }
6399 else
6400 { echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6; }
6402 fi
6403
6404
6405 enablestring=
6406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6408 no_cache=0
6409 # Check whether --enable-fs_inet was given.
6410 if test "${enable_fs_inet+set}" = set; then
6411 enableval=$enable_fs_inet;
6412 if test "$enableval" = yes; then
6413 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6414 else
6415 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6416 fi
6417
6418 else
6419
6420 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6421 if test "x$LINE" != x ; then
6422 eval "DEFAULT_$LINE"
6423 else
6424 no_cache=1
6425 fi
6426
6427 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6428
6429 fi
6430
6431
6432 eval "$ac_cv_use_fs_inet"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6435 fi
6436
6437 if test "$wxUSE_FS_INET" = yes; then
6438 { echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6; }
6440 else
6441 { echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6; }
6443 fi
6444
6445
6446 enablestring=
6447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6449 no_cache=0
6450 # Check whether --enable-fs_zip was given.
6451 if test "${enable_fs_zip+set}" = set; then
6452 enableval=$enable_fs_zip;
6453 if test "$enableval" = yes; then
6454 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6455 else
6456 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6457 fi
6458
6459 else
6460
6461 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6462 if test "x$LINE" != x ; then
6463 eval "DEFAULT_$LINE"
6464 else
6465 no_cache=1
6466 fi
6467
6468 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6469
6470 fi
6471
6472
6473 eval "$ac_cv_use_fs_zip"
6474 if test "$no_cache" != 1; then
6475 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6476 fi
6477
6478 if test "$wxUSE_FS_ZIP" = yes; then
6479 { echo "$as_me:$LINENO: result: yes" >&5
6480 echo "${ECHO_T}yes" >&6; }
6481 else
6482 { echo "$as_me:$LINENO: result: no" >&5
6483 echo "${ECHO_T}no" >&6; }
6484 fi
6485
6486
6487 enablestring=
6488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6489 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6490 no_cache=0
6491 # Check whether --enable-geometry was given.
6492 if test "${enable_geometry+set}" = set; then
6493 enableval=$enable_geometry;
6494 if test "$enableval" = yes; then
6495 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6496 else
6497 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6498 fi
6499
6500 else
6501
6502 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6503 if test "x$LINE" != x ; then
6504 eval "DEFAULT_$LINE"
6505 else
6506 no_cache=1
6507 fi
6508
6509 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6510
6511 fi
6512
6513
6514 eval "$ac_cv_use_geometry"
6515 if test "$no_cache" != 1; then
6516 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6517 fi
6518
6519 if test "$wxUSE_GEOMETRY" = yes; then
6520 { echo "$as_me:$LINENO: result: yes" >&5
6521 echo "${ECHO_T}yes" >&6; }
6522 else
6523 { echo "$as_me:$LINENO: result: no" >&5
6524 echo "${ECHO_T}no" >&6; }
6525 fi
6526
6527
6528 enablestring=
6529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6530 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6531 no_cache=0
6532 # Check whether --enable-log was given.
6533 if test "${enable_log+set}" = set; then
6534 enableval=$enable_log;
6535 if test "$enableval" = yes; then
6536 ac_cv_use_log='wxUSE_LOG=yes'
6537 else
6538 ac_cv_use_log='wxUSE_LOG=no'
6539 fi
6540
6541 else
6542
6543 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6544 if test "x$LINE" != x ; then
6545 eval "DEFAULT_$LINE"
6546 else
6547 no_cache=1
6548 fi
6549
6550 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6551
6552 fi
6553
6554
6555 eval "$ac_cv_use_log"
6556 if test "$no_cache" != 1; then
6557 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6558 fi
6559
6560 if test "$wxUSE_LOG" = yes; then
6561 { echo "$as_me:$LINENO: result: yes" >&5
6562 echo "${ECHO_T}yes" >&6; }
6563 else
6564 { echo "$as_me:$LINENO: result: no" >&5
6565 echo "${ECHO_T}no" >&6; }
6566 fi
6567
6568
6569 enablestring=
6570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6571 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6572 no_cache=0
6573 # Check whether --enable-longlong was given.
6574 if test "${enable_longlong+set}" = set; then
6575 enableval=$enable_longlong;
6576 if test "$enableval" = yes; then
6577 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6578 else
6579 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6580 fi
6581
6582 else
6583
6584 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x ; then
6586 eval "DEFAULT_$LINE"
6587 else
6588 no_cache=1
6589 fi
6590
6591 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6592
6593 fi
6594
6595
6596 eval "$ac_cv_use_longlong"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6599 fi
6600
6601 if test "$wxUSE_LONGLONG" = yes; then
6602 { echo "$as_me:$LINENO: result: yes" >&5
6603 echo "${ECHO_T}yes" >&6; }
6604 else
6605 { echo "$as_me:$LINENO: result: no" >&5
6606 echo "${ECHO_T}no" >&6; }
6607 fi
6608
6609
6610 enablestring=
6611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6613 no_cache=0
6614 # Check whether --enable-mimetype was given.
6615 if test "${enable_mimetype+set}" = set; then
6616 enableval=$enable_mimetype;
6617 if test "$enableval" = yes; then
6618 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6619 else
6620 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6621 fi
6622
6623 else
6624
6625 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6626 if test "x$LINE" != x ; then
6627 eval "DEFAULT_$LINE"
6628 else
6629 no_cache=1
6630 fi
6631
6632 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6633
6634 fi
6635
6636
6637 eval "$ac_cv_use_mimetype"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6640 fi
6641
6642 if test "$wxUSE_MIMETYPE" = yes; then
6643 { echo "$as_me:$LINENO: result: yes" >&5
6644 echo "${ECHO_T}yes" >&6; }
6645 else
6646 { echo "$as_me:$LINENO: result: no" >&5
6647 echo "${ECHO_T}no" >&6; }
6648 fi
6649
6650
6651 enablestring=
6652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6653 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6654 no_cache=0
6655 # Check whether --enable-mslu was given.
6656 if test "${enable_mslu+set}" = set; then
6657 enableval=$enable_mslu;
6658 if test "$enableval" = yes; then
6659 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6660 else
6661 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6662 fi
6663
6664 else
6665
6666 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6667 if test "x$LINE" != x ; then
6668 eval "DEFAULT_$LINE"
6669 else
6670 no_cache=1
6671 fi
6672
6673 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6674
6675 fi
6676
6677
6678 eval "$ac_cv_use_mslu"
6679 if test "$no_cache" != 1; then
6680 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6681 fi
6682
6683 if test "$wxUSE_UNICODE_MSLU" = yes; then
6684 { echo "$as_me:$LINENO: result: yes" >&5
6685 echo "${ECHO_T}yes" >&6; }
6686 else
6687 { echo "$as_me:$LINENO: result: no" >&5
6688 echo "${ECHO_T}no" >&6; }
6689 fi
6690
6691
6692 enablestring=
6693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6694 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6695 no_cache=0
6696 # Check whether --enable-snglinst was given.
6697 if test "${enable_snglinst+set}" = set; then
6698 enableval=$enable_snglinst;
6699 if test "$enableval" = yes; then
6700 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6701 else
6702 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6703 fi
6704
6705 else
6706
6707 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6708 if test "x$LINE" != x ; then
6709 eval "DEFAULT_$LINE"
6710 else
6711 no_cache=1
6712 fi
6713
6714 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6715
6716 fi
6717
6718
6719 eval "$ac_cv_use_snglinst"
6720 if test "$no_cache" != 1; then
6721 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6722 fi
6723
6724 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6725 { echo "$as_me:$LINENO: result: yes" >&5
6726 echo "${ECHO_T}yes" >&6; }
6727 else
6728 { echo "$as_me:$LINENO: result: no" >&5
6729 echo "${ECHO_T}no" >&6; }
6730 fi
6731
6732
6733 enablestring=
6734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6736 no_cache=0
6737 # Check whether --enable-std_iostreams was given.
6738 if test "${enable_std_iostreams+set}" = set; then
6739 enableval=$enable_std_iostreams;
6740 if test "$enableval" = yes; then
6741 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6742 else
6743 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6744 fi
6745
6746 else
6747
6748 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6749 if test "x$LINE" != x ; then
6750 eval "DEFAULT_$LINE"
6751 else
6752 no_cache=1
6753 fi
6754
6755 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6756
6757 fi
6758
6759
6760 eval "$ac_cv_use_std_iostreams"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6763 fi
6764
6765 if test "$wxUSE_STD_IOSTREAM" = yes; then
6766 { echo "$as_me:$LINENO: result: yes" >&5
6767 echo "${ECHO_T}yes" >&6; }
6768 else
6769 { echo "$as_me:$LINENO: result: no" >&5
6770 echo "${ECHO_T}no" >&6; }
6771 fi
6772
6773
6774 enablestring=
6775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6776 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6777 no_cache=0
6778 # Check whether --enable-std_string was given.
6779 if test "${enable_std_string+set}" = set; then
6780 enableval=$enable_std_string;
6781 if test "$enableval" = yes; then
6782 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6783 else
6784 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6785 fi
6786
6787 else
6788
6789 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6790 if test "x$LINE" != x ; then
6791 eval "DEFAULT_$LINE"
6792 else
6793 no_cache=1
6794 fi
6795
6796 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6797
6798 fi
6799
6800
6801 eval "$ac_cv_use_std_string"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6804 fi
6805
6806 if test "$wxUSE_STD_STRING" = yes; then
6807 { echo "$as_me:$LINENO: result: yes" >&5
6808 echo "${ECHO_T}yes" >&6; }
6809 else
6810 { echo "$as_me:$LINENO: result: no" >&5
6811 echo "${ECHO_T}no" >&6; }
6812 fi
6813
6814
6815 enablestring=
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6818 no_cache=0
6819 # Check whether --enable-stdpaths was given.
6820 if test "${enable_stdpaths+set}" = set; then
6821 enableval=$enable_stdpaths;
6822 if test "$enableval" = yes; then
6823 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6824 else
6825 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6826 fi
6827
6828 else
6829
6830 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6831 if test "x$LINE" != x ; then
6832 eval "DEFAULT_$LINE"
6833 else
6834 no_cache=1
6835 fi
6836
6837 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6838
6839 fi
6840
6841
6842 eval "$ac_cv_use_stdpaths"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6845 fi
6846
6847 if test "$wxUSE_STDPATHS" = yes; then
6848 { echo "$as_me:$LINENO: result: yes" >&5
6849 echo "${ECHO_T}yes" >&6; }
6850 else
6851 { echo "$as_me:$LINENO: result: no" >&5
6852 echo "${ECHO_T}no" >&6; }
6853 fi
6854
6855
6856 enablestring=
6857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6858 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6859 no_cache=0
6860 # Check whether --enable-stopwatch was given.
6861 if test "${enable_stopwatch+set}" = set; then
6862 enableval=$enable_stopwatch;
6863 if test "$enableval" = yes; then
6864 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6865 else
6866 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6867 fi
6868
6869 else
6870
6871 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6872 if test "x$LINE" != x ; then
6873 eval "DEFAULT_$LINE"
6874 else
6875 no_cache=1
6876 fi
6877
6878 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6879
6880 fi
6881
6882
6883 eval "$ac_cv_use_stopwatch"
6884 if test "$no_cache" != 1; then
6885 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6886 fi
6887
6888 if test "$wxUSE_STOPWATCH" = yes; then
6889 { echo "$as_me:$LINENO: result: yes" >&5
6890 echo "${ECHO_T}yes" >&6; }
6891 else
6892 { echo "$as_me:$LINENO: result: no" >&5
6893 echo "${ECHO_T}no" >&6; }
6894 fi
6895
6896
6897 enablestring=
6898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6899 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6900 no_cache=0
6901 # Check whether --enable-streams was given.
6902 if test "${enable_streams+set}" = set; then
6903 enableval=$enable_streams;
6904 if test "$enableval" = yes; then
6905 ac_cv_use_streams='wxUSE_STREAMS=yes'
6906 else
6907 ac_cv_use_streams='wxUSE_STREAMS=no'
6908 fi
6909
6910 else
6911
6912 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6913 if test "x$LINE" != x ; then
6914 eval "DEFAULT_$LINE"
6915 else
6916 no_cache=1
6917 fi
6918
6919 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6920
6921 fi
6922
6923
6924 eval "$ac_cv_use_streams"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6927 fi
6928
6929 if test "$wxUSE_STREAMS" = yes; then
6930 { echo "$as_me:$LINENO: result: yes" >&5
6931 echo "${ECHO_T}yes" >&6; }
6932 else
6933 { echo "$as_me:$LINENO: result: no" >&5
6934 echo "${ECHO_T}no" >&6; }
6935 fi
6936
6937
6938 enablestring=
6939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6940 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6941 no_cache=0
6942 # Check whether --enable-system_options was given.
6943 if test "${enable_system_options+set}" = set; then
6944 enableval=$enable_system_options;
6945 if test "$enableval" = yes; then
6946 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6947 else
6948 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6949 fi
6950
6951 else
6952
6953 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6954 if test "x$LINE" != x ; then
6955 eval "DEFAULT_$LINE"
6956 else
6957 no_cache=1
6958 fi
6959
6960 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6961
6962 fi
6963
6964
6965 eval "$ac_cv_use_system_options"
6966 if test "$no_cache" != 1; then
6967 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6968 fi
6969
6970 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6971 { echo "$as_me:$LINENO: result: yes" >&5
6972 echo "${ECHO_T}yes" >&6; }
6973 else
6974 { echo "$as_me:$LINENO: result: no" >&5
6975 echo "${ECHO_T}no" >&6; }
6976 fi
6977
6978
6979 enablestring=
6980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6981 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6982 no_cache=0
6983 # Check whether --enable-tarstream was given.
6984 if test "${enable_tarstream+set}" = set; then
6985 enableval=$enable_tarstream;
6986 if test "$enableval" = yes; then
6987 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6988 else
6989 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6990 fi
6991
6992 else
6993
6994 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6995 if test "x$LINE" != x ; then
6996 eval "DEFAULT_$LINE"
6997 else
6998 no_cache=1
6999 fi
7000
7001 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7002
7003 fi
7004
7005
7006 eval "$ac_cv_use_tarstream"
7007 if test "$no_cache" != 1; then
7008 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7009 fi
7010
7011 if test "$wxUSE_TARSTREAM" = yes; then
7012 { echo "$as_me:$LINENO: result: yes" >&5
7013 echo "${ECHO_T}yes" >&6; }
7014 else
7015 { echo "$as_me:$LINENO: result: no" >&5
7016 echo "${ECHO_T}no" >&6; }
7017 fi
7018
7019
7020 enablestring=
7021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7022 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7023 no_cache=0
7024 # Check whether --enable-textbuf was given.
7025 if test "${enable_textbuf+set}" = set; then
7026 enableval=$enable_textbuf;
7027 if test "$enableval" = yes; then
7028 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7029 else
7030 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7031 fi
7032
7033 else
7034
7035 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x ; then
7037 eval "DEFAULT_$LINE"
7038 else
7039 no_cache=1
7040 fi
7041
7042 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7043
7044 fi
7045
7046
7047 eval "$ac_cv_use_textbuf"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7050 fi
7051
7052 if test "$wxUSE_TEXTBUFFER" = yes; then
7053 { echo "$as_me:$LINENO: result: yes" >&5
7054 echo "${ECHO_T}yes" >&6; }
7055 else
7056 { echo "$as_me:$LINENO: result: no" >&5
7057 echo "${ECHO_T}no" >&6; }
7058 fi
7059
7060
7061 enablestring=
7062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7063 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7064 no_cache=0
7065 # Check whether --enable-textfile was given.
7066 if test "${enable_textfile+set}" = set; then
7067 enableval=$enable_textfile;
7068 if test "$enableval" = yes; then
7069 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7070 else
7071 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7072 fi
7073
7074 else
7075
7076 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x ; then
7078 eval "DEFAULT_$LINE"
7079 else
7080 no_cache=1
7081 fi
7082
7083 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7084
7085 fi
7086
7087
7088 eval "$ac_cv_use_textfile"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7091 fi
7092
7093 if test "$wxUSE_TEXTFILE" = yes; then
7094 { echo "$as_me:$LINENO: result: yes" >&5
7095 echo "${ECHO_T}yes" >&6; }
7096 else
7097 { echo "$as_me:$LINENO: result: no" >&5
7098 echo "${ECHO_T}no" >&6; }
7099 fi
7100
7101
7102 enablestring=
7103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7104 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7105 no_cache=0
7106 # Check whether --enable-timer was given.
7107 if test "${enable_timer+set}" = set; then
7108 enableval=$enable_timer;
7109 if test "$enableval" = yes; then
7110 ac_cv_use_timer='wxUSE_TIMER=yes'
7111 else
7112 ac_cv_use_timer='wxUSE_TIMER=no'
7113 fi
7114
7115 else
7116
7117 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7118 if test "x$LINE" != x ; then
7119 eval "DEFAULT_$LINE"
7120 else
7121 no_cache=1
7122 fi
7123
7124 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7125
7126 fi
7127
7128
7129 eval "$ac_cv_use_timer"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7132 fi
7133
7134 if test "$wxUSE_TIMER" = yes; then
7135 { echo "$as_me:$LINENO: result: yes" >&5
7136 echo "${ECHO_T}yes" >&6; }
7137 else
7138 { echo "$as_me:$LINENO: result: no" >&5
7139 echo "${ECHO_T}no" >&6; }
7140 fi
7141
7142
7143 enablestring=
7144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7146 no_cache=0
7147 # Check whether --enable-unicode was given.
7148 if test "${enable_unicode+set}" = set; then
7149 enableval=$enable_unicode;
7150 if test "$enableval" = yes; then
7151 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7152 else
7153 ac_cv_use_unicode='wxUSE_UNICODE=no'
7154 fi
7155
7156 else
7157
7158 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7159 if test "x$LINE" != x ; then
7160 eval "DEFAULT_$LINE"
7161 else
7162 no_cache=1
7163 fi
7164
7165 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7166
7167 fi
7168
7169
7170 eval "$ac_cv_use_unicode"
7171 if test "$no_cache" != 1; then
7172 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7173 fi
7174
7175 if test "$wxUSE_UNICODE" = yes; then
7176 { echo "$as_me:$LINENO: result: yes" >&5
7177 echo "${ECHO_T}yes" >&6; }
7178 else
7179 { echo "$as_me:$LINENO: result: no" >&5
7180 echo "${ECHO_T}no" >&6; }
7181 fi
7182
7183
7184 enablestring=
7185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7186 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7187 no_cache=0
7188 # Check whether --enable-sound was given.
7189 if test "${enable_sound+set}" = set; then
7190 enableval=$enable_sound;
7191 if test "$enableval" = yes; then
7192 ac_cv_use_sound='wxUSE_SOUND=yes'
7193 else
7194 ac_cv_use_sound='wxUSE_SOUND=no'
7195 fi
7196
7197 else
7198
7199 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7200 if test "x$LINE" != x ; then
7201 eval "DEFAULT_$LINE"
7202 else
7203 no_cache=1
7204 fi
7205
7206 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7207
7208 fi
7209
7210
7211 eval "$ac_cv_use_sound"
7212 if test "$no_cache" != 1; then
7213 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7214 fi
7215
7216 if test "$wxUSE_SOUND" = yes; then
7217 { echo "$as_me:$LINENO: result: yes" >&5
7218 echo "${ECHO_T}yes" >&6; }
7219 else
7220 { echo "$as_me:$LINENO: result: no" >&5
7221 echo "${ECHO_T}no" >&6; }
7222 fi
7223
7224
7225 enablestring=
7226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7227 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7228 no_cache=0
7229 # Check whether --enable-mediactrl was given.
7230 if test "${enable_mediactrl+set}" = set; then
7231 enableval=$enable_mediactrl;
7232 if test "$enableval" = yes; then
7233 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7234 else
7235 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7236 fi
7237
7238 else
7239
7240 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x ; then
7242 eval "DEFAULT_$LINE"
7243 else
7244 no_cache=1
7245 fi
7246
7247 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7248
7249 fi
7250
7251
7252 eval "$ac_cv_use_mediactrl"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7255 fi
7256
7257 if test "$wxUSE_MEDIACTRL" = yes; then
7258 { echo "$as_me:$LINENO: result: yes" >&5
7259 echo "${ECHO_T}yes" >&6; }
7260 else
7261 { echo "$as_me:$LINENO: result: no" >&5
7262 echo "${ECHO_T}no" >&6; }
7263 fi
7264
7265
7266 enablestring=
7267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7268 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7269 no_cache=0
7270 # Check whether --enable-gstreamer8 was given.
7271 if test "${enable_gstreamer8+set}" = set; then
7272 enableval=$enable_gstreamer8;
7273 if test "$enableval" = yes; then
7274 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7275 else
7276 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7277 fi
7278
7279 else
7280
7281 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x ; then
7283 eval "DEFAULT_$LINE"
7284 else
7285 no_cache=1
7286 fi
7287
7288 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7289
7290 fi
7291
7292
7293 eval "$ac_cv_use_gstreamer8"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7296 fi
7297
7298 if test "$wxUSE_GSTREAMER8" = yes; then
7299 { echo "$as_me:$LINENO: result: yes" >&5
7300 echo "${ECHO_T}yes" >&6; }
7301 else
7302 { echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6; }
7304 fi
7305
7306
7307 enablestring=
7308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7310 no_cache=0
7311 # Check whether --enable-printfposparam was given.
7312 if test "${enable_printfposparam+set}" = set; then
7313 enableval=$enable_printfposparam;
7314 if test "$enableval" = yes; then
7315 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7316 else
7317 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7318 fi
7319
7320 else
7321
7322 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7323 if test "x$LINE" != x ; then
7324 eval "DEFAULT_$LINE"
7325 else
7326 no_cache=1
7327 fi
7328
7329 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7330
7331 fi
7332
7333
7334 eval "$ac_cv_use_printfposparam"
7335 if test "$no_cache" != 1; then
7336 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7337 fi
7338
7339 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7340 { echo "$as_me:$LINENO: result: yes" >&5
7341 echo "${ECHO_T}yes" >&6; }
7342 else
7343 { echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6; }
7345 fi
7346
7347
7348 enablestring=
7349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7351 no_cache=0
7352 # Check whether --enable-zipstream was given.
7353 if test "${enable_zipstream+set}" = set; then
7354 enableval=$enable_zipstream;
7355 if test "$enableval" = yes; then
7356 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7357 else
7358 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7359 fi
7360
7361 else
7362
7363 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7364 if test "x$LINE" != x ; then
7365 eval "DEFAULT_$LINE"
7366 else
7367 no_cache=1
7368 fi
7369
7370 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7371
7372 fi
7373
7374
7375 eval "$ac_cv_use_zipstream"
7376 if test "$no_cache" != 1; then
7377 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7378 fi
7379
7380 if test "$wxUSE_ZIPSTREAM" = yes; then
7381 { echo "$as_me:$LINENO: result: yes" >&5
7382 echo "${ECHO_T}yes" >&6; }
7383 else
7384 { echo "$as_me:$LINENO: result: no" >&5
7385 echo "${ECHO_T}no" >&6; }
7386 fi
7387
7388
7389
7390 enablestring=
7391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7392 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7393 no_cache=0
7394 # Check whether --enable-url was given.
7395 if test "${enable_url+set}" = set; then
7396 enableval=$enable_url;
7397 if test "$enableval" = yes; then
7398 ac_cv_use_url='wxUSE_URL=yes'
7399 else
7400 ac_cv_use_url='wxUSE_URL=no'
7401 fi
7402
7403 else
7404
7405 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x ; then
7407 eval "DEFAULT_$LINE"
7408 else
7409 no_cache=1
7410 fi
7411
7412 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7413
7414 fi
7415
7416
7417 eval "$ac_cv_use_url"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7420 fi
7421
7422 if test "$wxUSE_URL" = yes; then
7423 { echo "$as_me:$LINENO: result: yes" >&5
7424 echo "${ECHO_T}yes" >&6; }
7425 else
7426 { echo "$as_me:$LINENO: result: no" >&5
7427 echo "${ECHO_T}no" >&6; }
7428 fi
7429
7430
7431 enablestring=
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7434 no_cache=0
7435 # Check whether --enable-variant was given.
7436 if test "${enable_variant+set}" = set; then
7437 enableval=$enable_variant;
7438 if test "$enableval" = yes; then
7439 ac_cv_use_variant='wxUSE_VARIANT=yes'
7440 else
7441 ac_cv_use_variant='wxUSE_VARIANT=no'
7442 fi
7443
7444 else
7445
7446 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x ; then
7448 eval "DEFAULT_$LINE"
7449 else
7450 no_cache=1
7451 fi
7452
7453 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7454
7455 fi
7456
7457
7458 eval "$ac_cv_use_variant"
7459 if test "$no_cache" != 1; then
7460 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7461 fi
7462
7463 if test "$wxUSE_VARIANT" = yes; then
7464 { echo "$as_me:$LINENO: result: yes" >&5
7465 echo "${ECHO_T}yes" >&6; }
7466 else
7467 { echo "$as_me:$LINENO: result: no" >&5
7468 echo "${ECHO_T}no" >&6; }
7469 fi
7470
7471
7472 enablestring=
7473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7474 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7475 no_cache=0
7476 # Check whether --enable-protocol was given.
7477 if test "${enable_protocol+set}" = set; then
7478 enableval=$enable_protocol;
7479 if test "$enableval" = yes; then
7480 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7481 else
7482 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7483 fi
7484
7485 else
7486
7487 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x ; then
7489 eval "DEFAULT_$LINE"
7490 else
7491 no_cache=1
7492 fi
7493
7494 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7495
7496 fi
7497
7498
7499 eval "$ac_cv_use_protocol"
7500 if test "$no_cache" != 1; then
7501 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7502 fi
7503
7504 if test "$wxUSE_PROTOCOL" = yes; then
7505 { echo "$as_me:$LINENO: result: yes" >&5
7506 echo "${ECHO_T}yes" >&6; }
7507 else
7508 { echo "$as_me:$LINENO: result: no" >&5
7509 echo "${ECHO_T}no" >&6; }
7510 fi
7511
7512
7513 enablestring=
7514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7515 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7516 no_cache=0
7517 # Check whether --enable-protocol_http was given.
7518 if test "${enable_protocol_http+set}" = set; then
7519 enableval=$enable_protocol_http;
7520 if test "$enableval" = yes; then
7521 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7522 else
7523 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7524 fi
7525
7526 else
7527
7528 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7529 if test "x$LINE" != x ; then
7530 eval "DEFAULT_$LINE"
7531 else
7532 no_cache=1
7533 fi
7534
7535 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7536
7537 fi
7538
7539
7540 eval "$ac_cv_use_protocol_http"
7541 if test "$no_cache" != 1; then
7542 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7543 fi
7544
7545 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7546 { echo "$as_me:$LINENO: result: yes" >&5
7547 echo "${ECHO_T}yes" >&6; }
7548 else
7549 { echo "$as_me:$LINENO: result: no" >&5
7550 echo "${ECHO_T}no" >&6; }
7551 fi
7552
7553
7554 enablestring=
7555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7556 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7557 no_cache=0
7558 # Check whether --enable-protocol_ftp was given.
7559 if test "${enable_protocol_ftp+set}" = set; then
7560 enableval=$enable_protocol_ftp;
7561 if test "$enableval" = yes; then
7562 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7563 else
7564 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7565 fi
7566
7567 else
7568
7569 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7570 if test "x$LINE" != x ; then
7571 eval "DEFAULT_$LINE"
7572 else
7573 no_cache=1
7574 fi
7575
7576 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7577
7578 fi
7579
7580
7581 eval "$ac_cv_use_protocol_ftp"
7582 if test "$no_cache" != 1; then
7583 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7584 fi
7585
7586 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7587 { echo "$as_me:$LINENO: result: yes" >&5
7588 echo "${ECHO_T}yes" >&6; }
7589 else
7590 { echo "$as_me:$LINENO: result: no" >&5
7591 echo "${ECHO_T}no" >&6; }
7592 fi
7593
7594
7595 enablestring=
7596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7597 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7598 no_cache=0
7599 # Check whether --enable-protocol_file was given.
7600 if test "${enable_protocol_file+set}" = set; then
7601 enableval=$enable_protocol_file;
7602 if test "$enableval" = yes; then
7603 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7604 else
7605 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7606 fi
7607
7608 else
7609
7610 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x ; then
7612 eval "DEFAULT_$LINE"
7613 else
7614 no_cache=1
7615 fi
7616
7617 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7618
7619 fi
7620
7621
7622 eval "$ac_cv_use_protocol_file"
7623 if test "$no_cache" != 1; then
7624 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7625 fi
7626
7627 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7628 { echo "$as_me:$LINENO: result: yes" >&5
7629 echo "${ECHO_T}yes" >&6; }
7630 else
7631 { echo "$as_me:$LINENO: result: no" >&5
7632 echo "${ECHO_T}no" >&6; }
7633 fi
7634
7635
7636
7637
7638
7639 enablestring=
7640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7641 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7642 no_cache=0
7643 # Check whether --enable-threads was given.
7644 if test "${enable_threads+set}" = set; then
7645 enableval=$enable_threads;
7646 if test "$enableval" = yes; then
7647 ac_cv_use_threads='wxUSE_THREADS=yes'
7648 else
7649 ac_cv_use_threads='wxUSE_THREADS=no'
7650 fi
7651
7652 else
7653
7654 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7655 if test "x$LINE" != x ; then
7656 eval "DEFAULT_$LINE"
7657 else
7658 no_cache=1
7659 fi
7660
7661 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7662
7663 fi
7664
7665
7666 eval "$ac_cv_use_threads"
7667 if test "$no_cache" != 1; then
7668 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7669 fi
7670
7671 if test "$wxUSE_THREADS" = yes; then
7672 { echo "$as_me:$LINENO: result: yes" >&5
7673 echo "${ECHO_T}yes" >&6; }
7674 else
7675 { echo "$as_me:$LINENO: result: no" >&5
7676 echo "${ECHO_T}no" >&6; }
7677 fi
7678
7679
7680 if test "$wxUSE_GUI" = "yes"; then
7681
7682
7683
7684 enablestring=
7685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7687 no_cache=0
7688 # Check whether --enable-docview was given.
7689 if test "${enable_docview+set}" = set; then
7690 enableval=$enable_docview;
7691 if test "$enableval" = yes; then
7692 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7693 else
7694 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7695 fi
7696
7697 else
7698
7699 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7700 if test "x$LINE" != x ; then
7701 eval "DEFAULT_$LINE"
7702 else
7703 no_cache=1
7704 fi
7705
7706 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7707
7708 fi
7709
7710
7711 eval "$ac_cv_use_docview"
7712 if test "$no_cache" != 1; then
7713 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7714 fi
7715
7716 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7717 { echo "$as_me:$LINENO: result: yes" >&5
7718 echo "${ECHO_T}yes" >&6; }
7719 else
7720 { echo "$as_me:$LINENO: result: no" >&5
7721 echo "${ECHO_T}no" >&6; }
7722 fi
7723
7724
7725 enablestring=
7726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7727 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7728 no_cache=0
7729 # Check whether --enable-help was given.
7730 if test "${enable_help+set}" = set; then
7731 enableval=$enable_help;
7732 if test "$enableval" = yes; then
7733 ac_cv_use_help='wxUSE_HELP=yes'
7734 else
7735 ac_cv_use_help='wxUSE_HELP=no'
7736 fi
7737
7738 else
7739
7740 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7741 if test "x$LINE" != x ; then
7742 eval "DEFAULT_$LINE"
7743 else
7744 no_cache=1
7745 fi
7746
7747 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7748
7749 fi
7750
7751
7752 eval "$ac_cv_use_help"
7753 if test "$no_cache" != 1; then
7754 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7755 fi
7756
7757 if test "$wxUSE_HELP" = yes; then
7758 { echo "$as_me:$LINENO: result: yes" >&5
7759 echo "${ECHO_T}yes" >&6; }
7760 else
7761 { echo "$as_me:$LINENO: result: no" >&5
7762 echo "${ECHO_T}no" >&6; }
7763 fi
7764
7765
7766 enablestring=
7767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7768 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7769 no_cache=0
7770 # Check whether --enable-mshtmlhelp was given.
7771 if test "${enable_mshtmlhelp+set}" = set; then
7772 enableval=$enable_mshtmlhelp;
7773 if test "$enableval" = yes; then
7774 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7775 else
7776 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7777 fi
7778
7779 else
7780
7781 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7782 if test "x$LINE" != x ; then
7783 eval "DEFAULT_$LINE"
7784 else
7785 no_cache=1
7786 fi
7787
7788 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7789
7790 fi
7791
7792
7793 eval "$ac_cv_use_mshtmlhelp"
7794 if test "$no_cache" != 1; then
7795 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7796 fi
7797
7798 if test "$wxUSE_MS_HTML_HELP" = yes; then
7799 { echo "$as_me:$LINENO: result: yes" >&5
7800 echo "${ECHO_T}yes" >&6; }
7801 else
7802 { echo "$as_me:$LINENO: result: no" >&5
7803 echo "${ECHO_T}no" >&6; }
7804 fi
7805
7806
7807 enablestring=
7808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7809 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7810 no_cache=0
7811 # Check whether --enable-html was given.
7812 if test "${enable_html+set}" = set; then
7813 enableval=$enable_html;
7814 if test "$enableval" = yes; then
7815 ac_cv_use_html='wxUSE_HTML=yes'
7816 else
7817 ac_cv_use_html='wxUSE_HTML=no'
7818 fi
7819
7820 else
7821
7822 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7823 if test "x$LINE" != x ; then
7824 eval "DEFAULT_$LINE"
7825 else
7826 no_cache=1
7827 fi
7828
7829 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7830
7831 fi
7832
7833
7834 eval "$ac_cv_use_html"
7835 if test "$no_cache" != 1; then
7836 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7837 fi
7838
7839 if test "$wxUSE_HTML" = yes; then
7840 { echo "$as_me:$LINENO: result: yes" >&5
7841 echo "${ECHO_T}yes" >&6; }
7842 else
7843 { echo "$as_me:$LINENO: result: no" >&5
7844 echo "${ECHO_T}no" >&6; }
7845 fi
7846
7847
7848 enablestring=
7849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7850 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7851 no_cache=0
7852 # Check whether --enable-htmlhelp was given.
7853 if test "${enable_htmlhelp+set}" = set; then
7854 enableval=$enable_htmlhelp;
7855 if test "$enableval" = yes; then
7856 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7857 else
7858 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7859 fi
7860
7861 else
7862
7863 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7864 if test "x$LINE" != x ; then
7865 eval "DEFAULT_$LINE"
7866 else
7867 no_cache=1
7868 fi
7869
7870 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7871
7872 fi
7873
7874
7875 eval "$ac_cv_use_htmlhelp"
7876 if test "$no_cache" != 1; then
7877 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7878 fi
7879
7880 if test "$wxUSE_WXHTML_HELP" = yes; then
7881 { echo "$as_me:$LINENO: result: yes" >&5
7882 echo "${ECHO_T}yes" >&6; }
7883 else
7884 { echo "$as_me:$LINENO: result: no" >&5
7885 echo "${ECHO_T}no" >&6; }
7886 fi
7887
7888
7889 enablestring=
7890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7891 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7892 no_cache=0
7893 # Check whether --enable-xrc was given.
7894 if test "${enable_xrc+set}" = set; then
7895 enableval=$enable_xrc;
7896 if test "$enableval" = yes; then
7897 ac_cv_use_xrc='wxUSE_XRC=yes'
7898 else
7899 ac_cv_use_xrc='wxUSE_XRC=no'
7900 fi
7901
7902 else
7903
7904 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7905 if test "x$LINE" != x ; then
7906 eval "DEFAULT_$LINE"
7907 else
7908 no_cache=1
7909 fi
7910
7911 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7912
7913 fi
7914
7915
7916 eval "$ac_cv_use_xrc"
7917 if test "$no_cache" != 1; then
7918 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7919 fi
7920
7921 if test "$wxUSE_XRC" = yes; then
7922 { echo "$as_me:$LINENO: result: yes" >&5
7923 echo "${ECHO_T}yes" >&6; }
7924 else
7925 { echo "$as_me:$LINENO: result: no" >&5
7926 echo "${ECHO_T}no" >&6; }
7927 fi
7928
7929
7930 enablestring=
7931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7932 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7933 no_cache=0
7934 # Check whether --enable-aui was given.
7935 if test "${enable_aui+set}" = set; then
7936 enableval=$enable_aui;
7937 if test "$enableval" = yes; then
7938 ac_cv_use_aui='wxUSE_AUI=yes'
7939 else
7940 ac_cv_use_aui='wxUSE_AUI=no'
7941 fi
7942
7943 else
7944
7945 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7946 if test "x$LINE" != x ; then
7947 eval "DEFAULT_$LINE"
7948 else
7949 no_cache=1
7950 fi
7951
7952 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7953
7954 fi
7955
7956
7957 eval "$ac_cv_use_aui"
7958 if test "$no_cache" != 1; then
7959 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7960 fi
7961
7962 if test "$wxUSE_AUI" = yes; then
7963 { echo "$as_me:$LINENO: result: yes" >&5
7964 echo "${ECHO_T}yes" >&6; }
7965 else
7966 { echo "$as_me:$LINENO: result: no" >&5
7967 echo "${ECHO_T}no" >&6; }
7968 fi
7969
7970
7971 enablestring=
7972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7973 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7974 no_cache=0
7975 # Check whether --enable-constraints was given.
7976 if test "${enable_constraints+set}" = set; then
7977 enableval=$enable_constraints;
7978 if test "$enableval" = yes; then
7979 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7980 else
7981 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7982 fi
7983
7984 else
7985
7986 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7987 if test "x$LINE" != x ; then
7988 eval "DEFAULT_$LINE"
7989 else
7990 no_cache=1
7991 fi
7992
7993 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7994
7995 fi
7996
7997
7998 eval "$ac_cv_use_constraints"
7999 if test "$no_cache" != 1; then
8000 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8001 fi
8002
8003 if test "$wxUSE_CONSTRAINTS" = yes; then
8004 { echo "$as_me:$LINENO: result: yes" >&5
8005 echo "${ECHO_T}yes" >&6; }
8006 else
8007 { echo "$as_me:$LINENO: result: no" >&5
8008 echo "${ECHO_T}no" >&6; }
8009 fi
8010
8011
8012 enablestring=
8013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8015 no_cache=0
8016 # Check whether --enable-printarch was given.
8017 if test "${enable_printarch+set}" = set; then
8018 enableval=$enable_printarch;
8019 if test "$enableval" = yes; then
8020 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8021 else
8022 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8023 fi
8024
8025 else
8026
8027 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8028 if test "x$LINE" != x ; then
8029 eval "DEFAULT_$LINE"
8030 else
8031 no_cache=1
8032 fi
8033
8034 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8035
8036 fi
8037
8038
8039 eval "$ac_cv_use_printarch"
8040 if test "$no_cache" != 1; then
8041 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8042 fi
8043
8044 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8045 { echo "$as_me:$LINENO: result: yes" >&5
8046 echo "${ECHO_T}yes" >&6; }
8047 else
8048 { echo "$as_me:$LINENO: result: no" >&5
8049 echo "${ECHO_T}no" >&6; }
8050 fi
8051
8052
8053 enablestring=
8054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8055 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8056 no_cache=0
8057 # Check whether --enable-mdi was given.
8058 if test "${enable_mdi+set}" = set; then
8059 enableval=$enable_mdi;
8060 if test "$enableval" = yes; then
8061 ac_cv_use_mdi='wxUSE_MDI=yes'
8062 else
8063 ac_cv_use_mdi='wxUSE_MDI=no'
8064 fi
8065
8066 else
8067
8068 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x ; then
8070 eval "DEFAULT_$LINE"
8071 else
8072 no_cache=1
8073 fi
8074
8075 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8076
8077 fi
8078
8079
8080 eval "$ac_cv_use_mdi"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8083 fi
8084
8085 if test "$wxUSE_MDI" = yes; then
8086 { echo "$as_me:$LINENO: result: yes" >&5
8087 echo "${ECHO_T}yes" >&6; }
8088 else
8089 { echo "$as_me:$LINENO: result: no" >&5
8090 echo "${ECHO_T}no" >&6; }
8091 fi
8092
8093
8094 enablestring=
8095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8096 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8097 no_cache=0
8098 # Check whether --enable-mdidoc was given.
8099 if test "${enable_mdidoc+set}" = set; then
8100 enableval=$enable_mdidoc;
8101 if test "$enableval" = yes; then
8102 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8103 else
8104 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8105 fi
8106
8107 else
8108
8109 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x ; then
8111 eval "DEFAULT_$LINE"
8112 else
8113 no_cache=1
8114 fi
8115
8116 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8117
8118 fi
8119
8120
8121 eval "$ac_cv_use_mdidoc"
8122 if test "$no_cache" != 1; then
8123 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8124 fi
8125
8126 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8127 { echo "$as_me:$LINENO: result: yes" >&5
8128 echo "${ECHO_T}yes" >&6; }
8129 else
8130 { echo "$as_me:$LINENO: result: no" >&5
8131 echo "${ECHO_T}no" >&6; }
8132 fi
8133
8134
8135 enablestring=
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8138 no_cache=0
8139 # Check whether --enable-loggui was given.
8140 if test "${enable_loggui+set}" = set; then
8141 enableval=$enable_loggui;
8142 if test "$enableval" = yes; then
8143 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8144 else
8145 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8146 fi
8147
8148 else
8149
8150 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8151 if test "x$LINE" != x ; then
8152 eval "DEFAULT_$LINE"
8153 else
8154 no_cache=1
8155 fi
8156
8157 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8158
8159 fi
8160
8161
8162 eval "$ac_cv_use_loggui"
8163 if test "$no_cache" != 1; then
8164 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8165 fi
8166
8167 if test "$wxUSE_LOGGUI" = yes; then
8168 { echo "$as_me:$LINENO: result: yes" >&5
8169 echo "${ECHO_T}yes" >&6; }
8170 else
8171 { echo "$as_me:$LINENO: result: no" >&5
8172 echo "${ECHO_T}no" >&6; }
8173 fi
8174
8175
8176 enablestring=
8177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8178 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8179 no_cache=0
8180 # Check whether --enable-logwin was given.
8181 if test "${enable_logwin+set}" = set; then
8182 enableval=$enable_logwin;
8183 if test "$enableval" = yes; then
8184 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8185 else
8186 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8187 fi
8188
8189 else
8190
8191 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8192 if test "x$LINE" != x ; then
8193 eval "DEFAULT_$LINE"
8194 else
8195 no_cache=1
8196 fi
8197
8198 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8199
8200 fi
8201
8202
8203 eval "$ac_cv_use_logwin"
8204 if test "$no_cache" != 1; then
8205 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8206 fi
8207
8208 if test "$wxUSE_LOGWINDOW" = yes; then
8209 { echo "$as_me:$LINENO: result: yes" >&5
8210 echo "${ECHO_T}yes" >&6; }
8211 else
8212 { echo "$as_me:$LINENO: result: no" >&5
8213 echo "${ECHO_T}no" >&6; }
8214 fi
8215
8216
8217 enablestring=
8218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8219 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8220 no_cache=0
8221 # Check whether --enable-logdialog was given.
8222 if test "${enable_logdialog+set}" = set; then
8223 enableval=$enable_logdialog;
8224 if test "$enableval" = yes; then
8225 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8226 else
8227 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8228 fi
8229
8230 else
8231
8232 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8233 if test "x$LINE" != x ; then
8234 eval "DEFAULT_$LINE"
8235 else
8236 no_cache=1
8237 fi
8238
8239 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8240
8241 fi
8242
8243
8244 eval "$ac_cv_use_logdialog"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8247 fi
8248
8249 if test "$wxUSE_LOGDIALOG" = yes; then
8250 { echo "$as_me:$LINENO: result: yes" >&5
8251 echo "${ECHO_T}yes" >&6; }
8252 else
8253 { echo "$as_me:$LINENO: result: no" >&5
8254 echo "${ECHO_T}no" >&6; }
8255 fi
8256
8257
8258 enablestring=
8259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8260 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8261 no_cache=0
8262 # Check whether --enable-webkit was given.
8263 if test "${enable_webkit+set}" = set; then
8264 enableval=$enable_webkit;
8265 if test "$enableval" = yes; then
8266 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8267 else
8268 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8269 fi
8270
8271 else
8272
8273 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8274 if test "x$LINE" != x ; then
8275 eval "DEFAULT_$LINE"
8276 else
8277 no_cache=1
8278 fi
8279
8280 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8281
8282 fi
8283
8284
8285 eval "$ac_cv_use_webkit"
8286 if test "$no_cache" != 1; then
8287 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8288 fi
8289
8290 if test "$wxUSE_WEBKIT" = yes; then
8291 { echo "$as_me:$LINENO: result: yes" >&5
8292 echo "${ECHO_T}yes" >&6; }
8293 else
8294 { echo "$as_me:$LINENO: result: no" >&5
8295 echo "${ECHO_T}no" >&6; }
8296 fi
8297
8298
8299 enablestring=
8300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8301 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8302 no_cache=0
8303 # Check whether --enable-richtext was given.
8304 if test "${enable_richtext+set}" = set; then
8305 enableval=$enable_richtext;
8306 if test "$enableval" = yes; then
8307 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8308 else
8309 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8310 fi
8311
8312 else
8313
8314 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8315 if test "x$LINE" != x ; then
8316 eval "DEFAULT_$LINE"
8317 else
8318 no_cache=1
8319 fi
8320
8321 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8322
8323 fi
8324
8325
8326 eval "$ac_cv_use_richtext"
8327 if test "$no_cache" != 1; then
8328 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8329 fi
8330
8331 if test "$wxUSE_RICHTEXT" = yes; then
8332 { echo "$as_me:$LINENO: result: yes" >&5
8333 echo "${ECHO_T}yes" >&6; }
8334 else
8335 { echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6; }
8337 fi
8338
8339
8340 enablestring=
8341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8342 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8343 no_cache=0
8344 # Check whether --enable-graphics_ctx was given.
8345 if test "${enable_graphics_ctx+set}" = set; then
8346 enableval=$enable_graphics_ctx;
8347 if test "$enableval" = yes; then
8348 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8349 else
8350 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8351 fi
8352
8353 else
8354
8355 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8356 if test "x$LINE" != x ; then
8357 eval "DEFAULT_$LINE"
8358 else
8359 no_cache=1
8360 fi
8361
8362 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8363
8364 fi
8365
8366
8367 eval "$ac_cv_use_graphics_ctx"
8368 if test "$no_cache" != 1; then
8369 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8370 fi
8371
8372 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8373 { echo "$as_me:$LINENO: result: yes" >&5
8374 echo "${ECHO_T}yes" >&6; }
8375 else
8376 { echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6; }
8378 fi
8379
8380
8381
8382 enablestring=
8383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8384 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8385 no_cache=0
8386 # Check whether --enable-postscript was given.
8387 if test "${enable_postscript+set}" = set; then
8388 enableval=$enable_postscript;
8389 if test "$enableval" = yes; then
8390 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8391 else
8392 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8393 fi
8394
8395 else
8396
8397 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8398 if test "x$LINE" != x ; then
8399 eval "DEFAULT_$LINE"
8400 else
8401 no_cache=1
8402 fi
8403
8404 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8405
8406 fi
8407
8408
8409 eval "$ac_cv_use_postscript"
8410 if test "$no_cache" != 1; then
8411 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8412 fi
8413
8414 if test "$wxUSE_POSTSCRIPT" = yes; then
8415 { echo "$as_me:$LINENO: result: yes" >&5
8416 echo "${ECHO_T}yes" >&6; }
8417 else
8418 { echo "$as_me:$LINENO: result: no" >&5
8419 echo "${ECHO_T}no" >&6; }
8420 fi
8421
8422
8423
8424
8425
8426 enablestring=
8427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8429 no_cache=0
8430 # Check whether --enable-prologio was given.
8431 if test "${enable_prologio+set}" = set; then
8432 enableval=$enable_prologio;
8433 if test "$enableval" = yes; then
8434 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8435 else
8436 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8437 fi
8438
8439 else
8440
8441 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8442 if test "x$LINE" != x ; then
8443 eval "DEFAULT_$LINE"
8444 else
8445 no_cache=1
8446 fi
8447
8448 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8449
8450 fi
8451
8452
8453 eval "$ac_cv_use_prologio"
8454 if test "$no_cache" != 1; then
8455 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8456 fi
8457
8458 if test "$wxUSE_PROLOGIO" = yes; then
8459 { echo "$as_me:$LINENO: result: yes" >&5
8460 echo "${ECHO_T}yes" >&6; }
8461 else
8462 { echo "$as_me:$LINENO: result: no" >&5
8463 echo "${ECHO_T}no" >&6; }
8464 fi
8465
8466
8467 enablestring=
8468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8469 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8470 no_cache=0
8471 # Check whether --enable-resources was given.
8472 if test "${enable_resources+set}" = set; then
8473 enableval=$enable_resources;
8474 if test "$enableval" = yes; then
8475 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8476 else
8477 ac_cv_use_resources='wxUSE_RESOURCES=no'
8478 fi
8479
8480 else
8481
8482 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8483 if test "x$LINE" != x ; then
8484 eval "DEFAULT_$LINE"
8485 else
8486 no_cache=1
8487 fi
8488
8489 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8490
8491 fi
8492
8493
8494 eval "$ac_cv_use_resources"
8495 if test "$no_cache" != 1; then
8496 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8497 fi
8498
8499 if test "$wxUSE_RESOURCES" = yes; then
8500 { echo "$as_me:$LINENO: result: yes" >&5
8501 echo "${ECHO_T}yes" >&6; }
8502 else
8503 { echo "$as_me:$LINENO: result: no" >&5
8504 echo "${ECHO_T}no" >&6; }
8505 fi
8506
8507
8508
8509
8510 enablestring=
8511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8512 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8513 no_cache=0
8514 # Check whether --enable-clipboard was given.
8515 if test "${enable_clipboard+set}" = set; then
8516 enableval=$enable_clipboard;
8517 if test "$enableval" = yes; then
8518 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8519 else
8520 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8521 fi
8522
8523 else
8524
8525 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8526 if test "x$LINE" != x ; then
8527 eval "DEFAULT_$LINE"
8528 else
8529 no_cache=1
8530 fi
8531
8532 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8533
8534 fi
8535
8536
8537 eval "$ac_cv_use_clipboard"
8538 if test "$no_cache" != 1; then
8539 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8540 fi
8541
8542 if test "$wxUSE_CLIPBOARD" = yes; then
8543 { echo "$as_me:$LINENO: result: yes" >&5
8544 echo "${ECHO_T}yes" >&6; }
8545 else
8546 { echo "$as_me:$LINENO: result: no" >&5
8547 echo "${ECHO_T}no" >&6; }
8548 fi
8549
8550
8551 enablestring=
8552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8554 no_cache=0
8555 # Check whether --enable-dnd was given.
8556 if test "${enable_dnd+set}" = set; then
8557 enableval=$enable_dnd;
8558 if test "$enableval" = yes; then
8559 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8560 else
8561 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8562 fi
8563
8564 else
8565
8566 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x ; then
8568 eval "DEFAULT_$LINE"
8569 else
8570 no_cache=1
8571 fi
8572
8573 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8574
8575 fi
8576
8577
8578 eval "$ac_cv_use_dnd"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8581 fi
8582
8583 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8584 { echo "$as_me:$LINENO: result: yes" >&5
8585 echo "${ECHO_T}yes" >&6; }
8586 else
8587 { echo "$as_me:$LINENO: result: no" >&5
8588 echo "${ECHO_T}no" >&6; }
8589 fi
8590
8591
8592 enablestring=
8593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8595 no_cache=0
8596 # Check whether --enable-metafile was given.
8597 if test "${enable_metafile+set}" = set; then
8598 enableval=$enable_metafile;
8599 if test "$enableval" = yes; then
8600 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8601 else
8602 ac_cv_use_metafile='wxUSE_METAFILE=no'
8603 fi
8604
8605 else
8606
8607 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x ; then
8609 eval "DEFAULT_$LINE"
8610 else
8611 no_cache=1
8612 fi
8613
8614 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8615
8616 fi
8617
8618
8619 eval "$ac_cv_use_metafile"
8620 if test "$no_cache" != 1; then
8621 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8622 fi
8623
8624 if test "$wxUSE_METAFILE" = yes; then
8625 { echo "$as_me:$LINENO: result: yes" >&5
8626 echo "${ECHO_T}yes" >&6; }
8627 else
8628 { echo "$as_me:$LINENO: result: no" >&5
8629 echo "${ECHO_T}no" >&6; }
8630 fi
8631
8632
8633
8634
8635
8636 enablestring=
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8639 no_cache=0
8640 # Check whether --enable-controls was given.
8641 if test "${enable_controls+set}" = set; then
8642 enableval=$enable_controls;
8643 if test "$enableval" = yes; then
8644 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8645 else
8646 ac_cv_use_controls='wxUSE_CONTROLS=no'
8647 fi
8648
8649 else
8650
8651 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8652 if test "x$LINE" != x ; then
8653 eval "DEFAULT_$LINE"
8654 else
8655 no_cache=1
8656 fi
8657
8658 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8659
8660 fi
8661
8662
8663 eval "$ac_cv_use_controls"
8664 if test "$no_cache" != 1; then
8665 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8666 fi
8667
8668 if test "$wxUSE_CONTROLS" = yes; then
8669 { echo "$as_me:$LINENO: result: yes" >&5
8670 echo "${ECHO_T}yes" >&6; }
8671 else
8672 { echo "$as_me:$LINENO: result: no" >&5
8673 echo "${ECHO_T}no" >&6; }
8674 fi
8675
8676
8677 if test "$wxUSE_CONTROLS" = "yes"; then
8678 DEFAULT_wxUSE_ACCEL=yes
8679 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8680 DEFAULT_wxUSE_BMPBUTTON=yes
8681 DEFAULT_wxUSE_BUTTON=yes
8682 DEFAULT_wxUSE_CALCTRL=yes
8683 DEFAULT_wxUSE_CARET=yes
8684 DEFAULT_wxUSE_COMBOBOX=yes
8685 DEFAULT_wxUSE_CHECKBOX=yes
8686 DEFAULT_wxUSE_CHECKLISTBOX=yes
8687 DEFAULT_wxUSE_CHOICE=yes
8688 DEFAULT_wxUSE_CHOICEBOOK=yes
8689 DEFAULT_wxUSE_COLLPANE=yes
8690 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8691 DEFAULT_wxUSE_COMBOBOX=yes
8692 DEFAULT_wxUSE_DATEPICKCTRL=yes
8693 DEFAULT_wxUSE_DISPLAY=yes
8694 DEFAULT_wxUSE_DETECT_SM=yes
8695 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8696 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8697 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8698 DEFAULT_wxUSE_GAUGE=yes
8699 DEFAULT_wxUSE_GRID=yes
8700 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8701 DEFAULT_wxUSE_DATAVIEWCTRL=no
8702 DEFAULT_wxUSE_IMAGLIST=yes
8703 DEFAULT_wxUSE_LISTBOOK=yes
8704 DEFAULT_wxUSE_LISTBOX=yes
8705 DEFAULT_wxUSE_LISTCTRL=yes
8706 DEFAULT_wxUSE_NOTEBOOK=yes
8707 DEFAULT_wxUSE_RADIOBOX=yes
8708 DEFAULT_wxUSE_RADIOBTN=yes
8709 DEFAULT_wxUSE_SASH=yes
8710 DEFAULT_wxUSE_SCROLLBAR=yes
8711 DEFAULT_wxUSE_SEARCHCTRL=yes
8712 DEFAULT_wxUSE_SLIDER=yes
8713 DEFAULT_wxUSE_SPINBTN=yes
8714 DEFAULT_wxUSE_SPINCTRL=yes
8715 DEFAULT_wxUSE_SPLITTER=yes
8716 DEFAULT_wxUSE_STATBMP=yes
8717 DEFAULT_wxUSE_STATBOX=yes
8718 DEFAULT_wxUSE_STATLINE=yes
8719 DEFAULT_wxUSE_STATUSBAR=yes
8720 DEFAULT_wxUSE_TAB_DIALOG=yes
8721 DEFAULT_wxUSE_TOGGLEBTN=yes
8722 DEFAULT_wxUSE_TOOLBAR=yes
8723 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8724 DEFAULT_wxUSE_TOOLTIPS=yes
8725 DEFAULT_wxUSE_TREEBOOK=yes
8726 DEFAULT_wxUSE_TOOLBOOK=yes
8727 DEFAULT_wxUSE_TREECTRL=yes
8728 DEFAULT_wxUSE_POPUPWIN=yes
8729 DEFAULT_wxUSE_TIPWINDOW=yes
8730 elif test "$wxUSE_CONTROLS" = "no"; then
8731 DEFAULT_wxUSE_ACCEL=no
8732 DEFAULT_wxUSE_ANIMATIONCTRL=no
8733 DEFAULT_wxUSE_BMPBUTTON=no
8734 DEFAULT_wxUSE_BUTTON=no
8735 DEFAULT_wxUSE_CALCTRL=no
8736 DEFAULT_wxUSE_CARET=no
8737 DEFAULT_wxUSE_COLLPANE=no
8738 DEFAULT_wxUSE_COMBOBOX=no
8739 DEFAULT_wxUSE_CHECKBOX=no
8740 DEFAULT_wxUSE_CHECKLISTBOX=no
8741 DEFAULT_wxUSE_CHOICE=no
8742 DEFAULT_wxUSE_CHOICEBOOK=no
8743 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8744 DEFAULT_wxUSE_COMBOBOX=no
8745 DEFAULT_wxUSE_DATEPICKCTRL=no
8746 DEFAULT_wxUSE_DISPLAY=no
8747 DEFAULT_wxUSE_DETECT_SM=no
8748 DEFAULT_wxUSE_DIRPICKERCTRL=no
8749 DEFAULT_wxUSE_FILEPICKERCTRL=no
8750 DEFAULT_wxUSE_FONTPICKERCTRL=no
8751 DEFAULT_wxUSE_GAUGE=no
8752 DEFAULT_wxUSE_GRID=no
8753 DEFAULT_wxUSE_HYPERLINKCTRL=no
8754 DEFAULT_wxUSE_DATAVIEWCTRL=no
8755 DEFAULT_wxUSE_IMAGLIST=no
8756 DEFAULT_wxUSE_LISTBOOK=no
8757 DEFAULT_wxUSE_LISTBOX=no
8758 DEFAULT_wxUSE_LISTCTRL=no
8759 DEFAULT_wxUSE_NOTEBOOK=no
8760 DEFAULT_wxUSE_RADIOBOX=no
8761 DEFAULT_wxUSE_RADIOBTN=no
8762 DEFAULT_wxUSE_SASH=no
8763 DEFAULT_wxUSE_SCROLLBAR=no
8764 DEFAULT_wxUSE_SEARCHCTRL=no
8765 DEFAULT_wxUSE_SLIDER=no
8766 DEFAULT_wxUSE_SPINBTN=no
8767 DEFAULT_wxUSE_SPINCTRL=no
8768 DEFAULT_wxUSE_SPLITTER=no
8769 DEFAULT_wxUSE_STATBMP=no
8770 DEFAULT_wxUSE_STATBOX=no
8771 DEFAULT_wxUSE_STATLINE=no
8772 DEFAULT_wxUSE_STATUSBAR=no
8773 DEFAULT_wxUSE_TAB_DIALOG=no
8774 DEFAULT_wxUSE_TOGGLEBTN=no
8775 DEFAULT_wxUSE_TOOLBAR=no
8776 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8777 DEFAULT_wxUSE_TOOLTIPS=no
8778 DEFAULT_wxUSE_TREEBOOK=no
8779 DEFAULT_wxUSE_TOOLBOOK=no
8780 DEFAULT_wxUSE_TREECTRL=no
8781 DEFAULT_wxUSE_POPUPWIN=no
8782 DEFAULT_wxUSE_TIPWINDOW=no
8783 fi
8784
8785
8786 enablestring=
8787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8788 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8789 no_cache=0
8790 # Check whether --enable-accel was given.
8791 if test "${enable_accel+set}" = set; then
8792 enableval=$enable_accel;
8793 if test "$enableval" = yes; then
8794 ac_cv_use_accel='wxUSE_ACCEL=yes'
8795 else
8796 ac_cv_use_accel='wxUSE_ACCEL=no'
8797 fi
8798
8799 else
8800
8801 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8802 if test "x$LINE" != x ; then
8803 eval "DEFAULT_$LINE"
8804 else
8805 no_cache=1
8806 fi
8807
8808 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8809
8810 fi
8811
8812
8813 eval "$ac_cv_use_accel"
8814 if test "$no_cache" != 1; then
8815 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8816 fi
8817
8818 if test "$wxUSE_ACCEL" = yes; then
8819 { echo "$as_me:$LINENO: result: yes" >&5
8820 echo "${ECHO_T}yes" >&6; }
8821 else
8822 { echo "$as_me:$LINENO: result: no" >&5
8823 echo "${ECHO_T}no" >&6; }
8824 fi
8825
8826
8827 enablestring=
8828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8829 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8830 no_cache=0
8831 # Check whether --enable-animatectrl was given.
8832 if test "${enable_animatectrl+set}" = set; then
8833 enableval=$enable_animatectrl;
8834 if test "$enableval" = yes; then
8835 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8836 else
8837 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8838 fi
8839
8840 else
8841
8842 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8843 if test "x$LINE" != x ; then
8844 eval "DEFAULT_$LINE"
8845 else
8846 no_cache=1
8847 fi
8848
8849 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8850
8851 fi
8852
8853
8854 eval "$ac_cv_use_animatectrl"
8855 if test "$no_cache" != 1; then
8856 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8857 fi
8858
8859 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8860 { echo "$as_me:$LINENO: result: yes" >&5
8861 echo "${ECHO_T}yes" >&6; }
8862 else
8863 { echo "$as_me:$LINENO: result: no" >&5
8864 echo "${ECHO_T}no" >&6; }
8865 fi
8866
8867
8868 enablestring=
8869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8870 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8871 no_cache=0
8872 # Check whether --enable-button was given.
8873 if test "${enable_button+set}" = set; then
8874 enableval=$enable_button;
8875 if test "$enableval" = yes; then
8876 ac_cv_use_button='wxUSE_BUTTON=yes'
8877 else
8878 ac_cv_use_button='wxUSE_BUTTON=no'
8879 fi
8880
8881 else
8882
8883 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8884 if test "x$LINE" != x ; then
8885 eval "DEFAULT_$LINE"
8886 else
8887 no_cache=1
8888 fi
8889
8890 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8891
8892 fi
8893
8894
8895 eval "$ac_cv_use_button"
8896 if test "$no_cache" != 1; then
8897 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8898 fi
8899
8900 if test "$wxUSE_BUTTON" = yes; then
8901 { echo "$as_me:$LINENO: result: yes" >&5
8902 echo "${ECHO_T}yes" >&6; }
8903 else
8904 { echo "$as_me:$LINENO: result: no" >&5
8905 echo "${ECHO_T}no" >&6; }
8906 fi
8907
8908
8909 enablestring=
8910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8911 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8912 no_cache=0
8913 # Check whether --enable-bmpbutton was given.
8914 if test "${enable_bmpbutton+set}" = set; then
8915 enableval=$enable_bmpbutton;
8916 if test "$enableval" = yes; then
8917 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8918 else
8919 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8920 fi
8921
8922 else
8923
8924 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8925 if test "x$LINE" != x ; then
8926 eval "DEFAULT_$LINE"
8927 else
8928 no_cache=1
8929 fi
8930
8931 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8932
8933 fi
8934
8935
8936 eval "$ac_cv_use_bmpbutton"
8937 if test "$no_cache" != 1; then
8938 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8939 fi
8940
8941 if test "$wxUSE_BMPBUTTON" = yes; then
8942 { echo "$as_me:$LINENO: result: yes" >&5
8943 echo "${ECHO_T}yes" >&6; }
8944 else
8945 { echo "$as_me:$LINENO: result: no" >&5
8946 echo "${ECHO_T}no" >&6; }
8947 fi
8948
8949
8950 enablestring=
8951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8952 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8953 no_cache=0
8954 # Check whether --enable-bmpcombobox was given.
8955 if test "${enable_bmpcombobox+set}" = set; then
8956 enableval=$enable_bmpcombobox;
8957 if test "$enableval" = yes; then
8958 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8959 else
8960 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8961 fi
8962
8963 else
8964
8965 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8966 if test "x$LINE" != x ; then
8967 eval "DEFAULT_$LINE"
8968 else
8969 no_cache=1
8970 fi
8971
8972 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8973
8974 fi
8975
8976
8977 eval "$ac_cv_use_bmpcombobox"
8978 if test "$no_cache" != 1; then
8979 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8980 fi
8981
8982 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8983 { echo "$as_me:$LINENO: result: yes" >&5
8984 echo "${ECHO_T}yes" >&6; }
8985 else
8986 { echo "$as_me:$LINENO: result: no" >&5
8987 echo "${ECHO_T}no" >&6; }
8988 fi
8989
8990
8991 enablestring=
8992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8994 no_cache=0
8995 # Check whether --enable-calendar was given.
8996 if test "${enable_calendar+set}" = set; then
8997 enableval=$enable_calendar;
8998 if test "$enableval" = yes; then
8999 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9000 else
9001 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9002 fi
9003
9004 else
9005
9006 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9007 if test "x$LINE" != x ; then
9008 eval "DEFAULT_$LINE"
9009 else
9010 no_cache=1
9011 fi
9012
9013 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9014
9015 fi
9016
9017
9018 eval "$ac_cv_use_calendar"
9019 if test "$no_cache" != 1; then
9020 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9021 fi
9022
9023 if test "$wxUSE_CALCTRL" = yes; then
9024 { echo "$as_me:$LINENO: result: yes" >&5
9025 echo "${ECHO_T}yes" >&6; }
9026 else
9027 { echo "$as_me:$LINENO: result: no" >&5
9028 echo "${ECHO_T}no" >&6; }
9029 fi
9030
9031
9032 enablestring=
9033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9035 no_cache=0
9036 # Check whether --enable-caret was given.
9037 if test "${enable_caret+set}" = set; then
9038 enableval=$enable_caret;
9039 if test "$enableval" = yes; then
9040 ac_cv_use_caret='wxUSE_CARET=yes'
9041 else
9042 ac_cv_use_caret='wxUSE_CARET=no'
9043 fi
9044
9045 else
9046
9047 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9048 if test "x$LINE" != x ; then
9049 eval "DEFAULT_$LINE"
9050 else
9051 no_cache=1
9052 fi
9053
9054 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9055
9056 fi
9057
9058
9059 eval "$ac_cv_use_caret"
9060 if test "$no_cache" != 1; then
9061 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9062 fi
9063
9064 if test "$wxUSE_CARET" = yes; then
9065 { echo "$as_me:$LINENO: result: yes" >&5
9066 echo "${ECHO_T}yes" >&6; }
9067 else
9068 { echo "$as_me:$LINENO: result: no" >&5
9069 echo "${ECHO_T}no" >&6; }
9070 fi
9071
9072
9073 enablestring=
9074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9076 no_cache=0
9077 # Check whether --enable-checkbox was given.
9078 if test "${enable_checkbox+set}" = set; then
9079 enableval=$enable_checkbox;
9080 if test "$enableval" = yes; then
9081 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9082 else
9083 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9084 fi
9085
9086 else
9087
9088 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9089 if test "x$LINE" != x ; then
9090 eval "DEFAULT_$LINE"
9091 else
9092 no_cache=1
9093 fi
9094
9095 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9096
9097 fi
9098
9099
9100 eval "$ac_cv_use_checkbox"
9101 if test "$no_cache" != 1; then
9102 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9103 fi
9104
9105 if test "$wxUSE_CHECKBOX" = yes; then
9106 { echo "$as_me:$LINENO: result: yes" >&5
9107 echo "${ECHO_T}yes" >&6; }
9108 else
9109 { echo "$as_me:$LINENO: result: no" >&5
9110 echo "${ECHO_T}no" >&6; }
9111 fi
9112
9113
9114 enablestring=
9115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9116 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9117 no_cache=0
9118 # Check whether --enable-checklst was given.
9119 if test "${enable_checklst+set}" = set; then
9120 enableval=$enable_checklst;
9121 if test "$enableval" = yes; then
9122 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9123 else
9124 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9125 fi
9126
9127 else
9128
9129 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9130 if test "x$LINE" != x ; then
9131 eval "DEFAULT_$LINE"
9132 else
9133 no_cache=1
9134 fi
9135
9136 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9137
9138 fi
9139
9140
9141 eval "$ac_cv_use_checklst"
9142 if test "$no_cache" != 1; then
9143 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9144 fi
9145
9146 if test "$wxUSE_CHECKLST" = yes; then
9147 { echo "$as_me:$LINENO: result: yes" >&5
9148 echo "${ECHO_T}yes" >&6; }
9149 else
9150 { echo "$as_me:$LINENO: result: no" >&5
9151 echo "${ECHO_T}no" >&6; }
9152 fi
9153
9154
9155 enablestring=
9156 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9157 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9158 no_cache=0
9159 # Check whether --enable-choice was given.
9160 if test "${enable_choice+set}" = set; then
9161 enableval=$enable_choice;
9162 if test "$enableval" = yes; then
9163 ac_cv_use_choice='wxUSE_CHOICE=yes'
9164 else
9165 ac_cv_use_choice='wxUSE_CHOICE=no'
9166 fi
9167
9168 else
9169
9170 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9171 if test "x$LINE" != x ; then
9172 eval "DEFAULT_$LINE"
9173 else
9174 no_cache=1
9175 fi
9176
9177 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9178
9179 fi
9180
9181
9182 eval "$ac_cv_use_choice"
9183 if test "$no_cache" != 1; then
9184 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9185 fi
9186
9187 if test "$wxUSE_CHOICE" = yes; then
9188 { echo "$as_me:$LINENO: result: yes" >&5
9189 echo "${ECHO_T}yes" >&6; }
9190 else
9191 { echo "$as_me:$LINENO: result: no" >&5
9192 echo "${ECHO_T}no" >&6; }
9193 fi
9194
9195
9196 enablestring=
9197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9199 no_cache=0
9200 # Check whether --enable-choicebook was given.
9201 if test "${enable_choicebook+set}" = set; then
9202 enableval=$enable_choicebook;
9203 if test "$enableval" = yes; then
9204 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9205 else
9206 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9207 fi
9208
9209 else
9210
9211 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9212 if test "x$LINE" != x ; then
9213 eval "DEFAULT_$LINE"
9214 else
9215 no_cache=1
9216 fi
9217
9218 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9219
9220 fi
9221
9222
9223 eval "$ac_cv_use_choicebook"
9224 if test "$no_cache" != 1; then
9225 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9226 fi
9227
9228 if test "$wxUSE_CHOICEBOOK" = yes; then
9229 { echo "$as_me:$LINENO: result: yes" >&5
9230 echo "${ECHO_T}yes" >&6; }
9231 else
9232 { echo "$as_me:$LINENO: result: no" >&5
9233 echo "${ECHO_T}no" >&6; }
9234 fi
9235
9236
9237 enablestring=
9238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9239 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9240 no_cache=0
9241 # Check whether --enable-collpane was given.
9242 if test "${enable_collpane+set}" = set; then
9243 enableval=$enable_collpane;
9244 if test "$enableval" = yes; then
9245 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9246 else
9247 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9248 fi
9249
9250 else
9251
9252 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9253 if test "x$LINE" != x ; then
9254 eval "DEFAULT_$LINE"
9255 else
9256 no_cache=1
9257 fi
9258
9259 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9260
9261 fi
9262
9263
9264 eval "$ac_cv_use_collpane"
9265 if test "$no_cache" != 1; then
9266 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9267 fi
9268
9269 if test "$wxUSE_COLLPANE" = yes; then
9270 { echo "$as_me:$LINENO: result: yes" >&5
9271 echo "${ECHO_T}yes" >&6; }
9272 else
9273 { echo "$as_me:$LINENO: result: no" >&5
9274 echo "${ECHO_T}no" >&6; }
9275 fi
9276
9277
9278 enablestring=
9279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9281 no_cache=0
9282 # Check whether --enable-colourpicker was given.
9283 if test "${enable_colourpicker+set}" = set; then
9284 enableval=$enable_colourpicker;
9285 if test "$enableval" = yes; then
9286 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9287 else
9288 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9289 fi
9290
9291 else
9292
9293 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9294 if test "x$LINE" != x ; then
9295 eval "DEFAULT_$LINE"
9296 else
9297 no_cache=1
9298 fi
9299
9300 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9301
9302 fi
9303
9304
9305 eval "$ac_cv_use_colourpicker"
9306 if test "$no_cache" != 1; then
9307 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9308 fi
9309
9310 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9311 { echo "$as_me:$LINENO: result: yes" >&5
9312 echo "${ECHO_T}yes" >&6; }
9313 else
9314 { echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6; }
9316 fi
9317
9318
9319 enablestring=
9320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9321 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9322 no_cache=0
9323 # Check whether --enable-combobox was given.
9324 if test "${enable_combobox+set}" = set; then
9325 enableval=$enable_combobox;
9326 if test "$enableval" = yes; then
9327 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9328 else
9329 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9330 fi
9331
9332 else
9333
9334 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9335 if test "x$LINE" != x ; then
9336 eval "DEFAULT_$LINE"
9337 else
9338 no_cache=1
9339 fi
9340
9341 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9342
9343 fi
9344
9345
9346 eval "$ac_cv_use_combobox"
9347 if test "$no_cache" != 1; then
9348 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9349 fi
9350
9351 if test "$wxUSE_COMBOBOX" = yes; then
9352 { echo "$as_me:$LINENO: result: yes" >&5
9353 echo "${ECHO_T}yes" >&6; }
9354 else
9355 { echo "$as_me:$LINENO: result: no" >&5
9356 echo "${ECHO_T}no" >&6; }
9357 fi
9358
9359
9360 enablestring=
9361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9362 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9363 no_cache=0
9364 # Check whether --enable-comboctrl was given.
9365 if test "${enable_comboctrl+set}" = set; then
9366 enableval=$enable_comboctrl;
9367 if test "$enableval" = yes; then
9368 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9369 else
9370 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9371 fi
9372
9373 else
9374
9375 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9376 if test "x$LINE" != x ; then
9377 eval "DEFAULT_$LINE"
9378 else
9379 no_cache=1
9380 fi
9381
9382 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9383
9384 fi
9385
9386
9387 eval "$ac_cv_use_comboctrl"
9388 if test "$no_cache" != 1; then
9389 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9390 fi
9391
9392 if test "$wxUSE_COMBOCTRL" = yes; then
9393 { echo "$as_me:$LINENO: result: yes" >&5
9394 echo "${ECHO_T}yes" >&6; }
9395 else
9396 { echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6; }
9398 fi
9399
9400
9401 enablestring=
9402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9403 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9404 no_cache=0
9405 # Check whether --enable-datepick was given.
9406 if test "${enable_datepick+set}" = set; then
9407 enableval=$enable_datepick;
9408 if test "$enableval" = yes; then
9409 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9410 else
9411 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9412 fi
9413
9414 else
9415
9416 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9417 if test "x$LINE" != x ; then
9418 eval "DEFAULT_$LINE"
9419 else
9420 no_cache=1
9421 fi
9422
9423 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9424
9425 fi
9426
9427
9428 eval "$ac_cv_use_datepick"
9429 if test "$no_cache" != 1; then
9430 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9431 fi
9432
9433 if test "$wxUSE_DATEPICKCTRL" = yes; then
9434 { echo "$as_me:$LINENO: result: yes" >&5
9435 echo "${ECHO_T}yes" >&6; }
9436 else
9437 { echo "$as_me:$LINENO: result: no" >&5
9438 echo "${ECHO_T}no" >&6; }
9439 fi
9440
9441
9442 enablestring=
9443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9445 no_cache=0
9446 # Check whether --enable-dirpicker was given.
9447 if test "${enable_dirpicker+set}" = set; then
9448 enableval=$enable_dirpicker;
9449 if test "$enableval" = yes; then
9450 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9451 else
9452 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9453 fi
9454
9455 else
9456
9457 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9458 if test "x$LINE" != x ; then
9459 eval "DEFAULT_$LINE"
9460 else
9461 no_cache=1
9462 fi
9463
9464 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9465
9466 fi
9467
9468
9469 eval "$ac_cv_use_dirpicker"
9470 if test "$no_cache" != 1; then
9471 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9472 fi
9473
9474 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9475 { echo "$as_me:$LINENO: result: yes" >&5
9476 echo "${ECHO_T}yes" >&6; }
9477 else
9478 { echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6; }
9480 fi
9481
9482
9483 enablestring=
9484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9485 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9486 no_cache=0
9487 # Check whether --enable-display was given.
9488 if test "${enable_display+set}" = set; then
9489 enableval=$enable_display;
9490 if test "$enableval" = yes; then
9491 ac_cv_use_display='wxUSE_DISPLAY=yes'
9492 else
9493 ac_cv_use_display='wxUSE_DISPLAY=no'
9494 fi
9495
9496 else
9497
9498 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9499 if test "x$LINE" != x ; then
9500 eval "DEFAULT_$LINE"
9501 else
9502 no_cache=1
9503 fi
9504
9505 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9506
9507 fi
9508
9509
9510 eval "$ac_cv_use_display"
9511 if test "$no_cache" != 1; then
9512 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9513 fi
9514
9515 if test "$wxUSE_DISPLAY" = yes; then
9516 { echo "$as_me:$LINENO: result: yes" >&5
9517 echo "${ECHO_T}yes" >&6; }
9518 else
9519 { echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6; }
9521 fi
9522
9523
9524 enablestring=
9525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9526 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9527 no_cache=0
9528 # Check whether --enable-detect_sm was given.
9529 if test "${enable_detect_sm+set}" = set; then
9530 enableval=$enable_detect_sm;
9531 if test "$enableval" = yes; then
9532 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9533 else
9534 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9535 fi
9536
9537 else
9538
9539 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9540 if test "x$LINE" != x ; then
9541 eval "DEFAULT_$LINE"
9542 else
9543 no_cache=1
9544 fi
9545
9546 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9547
9548 fi
9549
9550
9551 eval "$ac_cv_use_detect_sm"
9552 if test "$no_cache" != 1; then
9553 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9554 fi
9555
9556 if test "$wxUSE_DETECT_SM" = yes; then
9557 { echo "$as_me:$LINENO: result: yes" >&5
9558 echo "${ECHO_T}yes" >&6; }
9559 else
9560 { echo "$as_me:$LINENO: result: no" >&5
9561 echo "${ECHO_T}no" >&6; }
9562 fi
9563
9564
9565 enablestring=
9566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9567 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9568 no_cache=0
9569 # Check whether --enable-filepicker was given.
9570 if test "${enable_filepicker+set}" = set; then
9571 enableval=$enable_filepicker;
9572 if test "$enableval" = yes; then
9573 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9574 else
9575 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9576 fi
9577
9578 else
9579
9580 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9581 if test "x$LINE" != x ; then
9582 eval "DEFAULT_$LINE"
9583 else
9584 no_cache=1
9585 fi
9586
9587 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9588
9589 fi
9590
9591
9592 eval "$ac_cv_use_filepicker"
9593 if test "$no_cache" != 1; then
9594 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9595 fi
9596
9597 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9598 { echo "$as_me:$LINENO: result: yes" >&5
9599 echo "${ECHO_T}yes" >&6; }
9600 else
9601 { echo "$as_me:$LINENO: result: no" >&5
9602 echo "${ECHO_T}no" >&6; }
9603 fi
9604
9605
9606 enablestring=
9607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9608 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9609 no_cache=0
9610 # Check whether --enable-fontpicker was given.
9611 if test "${enable_fontpicker+set}" = set; then
9612 enableval=$enable_fontpicker;
9613 if test "$enableval" = yes; then
9614 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9615 else
9616 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9617 fi
9618
9619 else
9620
9621 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9622 if test "x$LINE" != x ; then
9623 eval "DEFAULT_$LINE"
9624 else
9625 no_cache=1
9626 fi
9627
9628 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9629
9630 fi
9631
9632
9633 eval "$ac_cv_use_fontpicker"
9634 if test "$no_cache" != 1; then
9635 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9636 fi
9637
9638 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9639 { echo "$as_me:$LINENO: result: yes" >&5
9640 echo "${ECHO_T}yes" >&6; }
9641 else
9642 { echo "$as_me:$LINENO: result: no" >&5
9643 echo "${ECHO_T}no" >&6; }
9644 fi
9645
9646
9647 enablestring=
9648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9649 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9650 no_cache=0
9651 # Check whether --enable-gauge was given.
9652 if test "${enable_gauge+set}" = set; then
9653 enableval=$enable_gauge;
9654 if test "$enableval" = yes; then
9655 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9656 else
9657 ac_cv_use_gauge='wxUSE_GAUGE=no'
9658 fi
9659
9660 else
9661
9662 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9663 if test "x$LINE" != x ; then
9664 eval "DEFAULT_$LINE"
9665 else
9666 no_cache=1
9667 fi
9668
9669 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9670
9671 fi
9672
9673
9674 eval "$ac_cv_use_gauge"
9675 if test "$no_cache" != 1; then
9676 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9677 fi
9678
9679 if test "$wxUSE_GAUGE" = yes; then
9680 { echo "$as_me:$LINENO: result: yes" >&5
9681 echo "${ECHO_T}yes" >&6; }
9682 else
9683 { echo "$as_me:$LINENO: result: no" >&5
9684 echo "${ECHO_T}no" >&6; }
9685 fi
9686
9687
9688 enablestring=
9689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9690 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9691 no_cache=0
9692 # Check whether --enable-grid was given.
9693 if test "${enable_grid+set}" = set; then
9694 enableval=$enable_grid;
9695 if test "$enableval" = yes; then
9696 ac_cv_use_grid='wxUSE_GRID=yes'
9697 else
9698 ac_cv_use_grid='wxUSE_GRID=no'
9699 fi
9700
9701 else
9702
9703 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9704 if test "x$LINE" != x ; then
9705 eval "DEFAULT_$LINE"
9706 else
9707 no_cache=1
9708 fi
9709
9710 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9711
9712 fi
9713
9714
9715 eval "$ac_cv_use_grid"
9716 if test "$no_cache" != 1; then
9717 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9718 fi
9719
9720 if test "$wxUSE_GRID" = yes; then
9721 { echo "$as_me:$LINENO: result: yes" >&5
9722 echo "${ECHO_T}yes" >&6; }
9723 else
9724 { echo "$as_me:$LINENO: result: no" >&5
9725 echo "${ECHO_T}no" >&6; }
9726 fi
9727
9728
9729 enablestring=
9730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9732 no_cache=0
9733 # Check whether --enable-dataviewctrl was given.
9734 if test "${enable_dataviewctrl+set}" = set; then
9735 enableval=$enable_dataviewctrl;
9736 if test "$enableval" = yes; then
9737 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9738 else
9739 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9740 fi
9741
9742 else
9743
9744 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9745 if test "x$LINE" != x ; then
9746 eval "DEFAULT_$LINE"
9747 else
9748 no_cache=1
9749 fi
9750
9751 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9752
9753 fi
9754
9755
9756 eval "$ac_cv_use_dataviewctrl"
9757 if test "$no_cache" != 1; then
9758 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9759 fi
9760
9761 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9762 { echo "$as_me:$LINENO: result: yes" >&5
9763 echo "${ECHO_T}yes" >&6; }
9764 else
9765 { echo "$as_me:$LINENO: result: no" >&5
9766 echo "${ECHO_T}no" >&6; }
9767 fi
9768
9769
9770 enablestring=
9771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9772 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9773 no_cache=0
9774 # Check whether --enable-hyperlink was given.
9775 if test "${enable_hyperlink+set}" = set; then
9776 enableval=$enable_hyperlink;
9777 if test "$enableval" = yes; then
9778 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9779 else
9780 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9781 fi
9782
9783 else
9784
9785 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9786 if test "x$LINE" != x ; then
9787 eval "DEFAULT_$LINE"
9788 else
9789 no_cache=1
9790 fi
9791
9792 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9793
9794 fi
9795
9796
9797 eval "$ac_cv_use_hyperlink"
9798 if test "$no_cache" != 1; then
9799 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9800 fi
9801
9802 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9803 { echo "$as_me:$LINENO: result: yes" >&5
9804 echo "${ECHO_T}yes" >&6; }
9805 else
9806 { echo "$as_me:$LINENO: result: no" >&5
9807 echo "${ECHO_T}no" >&6; }
9808 fi
9809
9810
9811 enablestring=
9812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9813 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9814 no_cache=0
9815 # Check whether --enable-imaglist was given.
9816 if test "${enable_imaglist+set}" = set; then
9817 enableval=$enable_imaglist;
9818 if test "$enableval" = yes; then
9819 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9820 else
9821 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9822 fi
9823
9824 else
9825
9826 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9827 if test "x$LINE" != x ; then
9828 eval "DEFAULT_$LINE"
9829 else
9830 no_cache=1
9831 fi
9832
9833 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9834
9835 fi
9836
9837
9838 eval "$ac_cv_use_imaglist"
9839 if test "$no_cache" != 1; then
9840 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9841 fi
9842
9843 if test "$wxUSE_IMAGLIST" = yes; then
9844 { echo "$as_me:$LINENO: result: yes" >&5
9845 echo "${ECHO_T}yes" >&6; }
9846 else
9847 { echo "$as_me:$LINENO: result: no" >&5
9848 echo "${ECHO_T}no" >&6; }
9849 fi
9850
9851
9852 enablestring=
9853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9854 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9855 no_cache=0
9856 # Check whether --enable-listbook was given.
9857 if test "${enable_listbook+set}" = set; then
9858 enableval=$enable_listbook;
9859 if test "$enableval" = yes; then
9860 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9861 else
9862 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9863 fi
9864
9865 else
9866
9867 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9868 if test "x$LINE" != x ; then
9869 eval "DEFAULT_$LINE"
9870 else
9871 no_cache=1
9872 fi
9873
9874 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9875
9876 fi
9877
9878
9879 eval "$ac_cv_use_listbook"
9880 if test "$no_cache" != 1; then
9881 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9882 fi
9883
9884 if test "$wxUSE_LISTBOOK" = yes; then
9885 { echo "$as_me:$LINENO: result: yes" >&5
9886 echo "${ECHO_T}yes" >&6; }
9887 else
9888 { echo "$as_me:$LINENO: result: no" >&5
9889 echo "${ECHO_T}no" >&6; }
9890 fi
9891
9892
9893 enablestring=
9894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9896 no_cache=0
9897 # Check whether --enable-listbox was given.
9898 if test "${enable_listbox+set}" = set; then
9899 enableval=$enable_listbox;
9900 if test "$enableval" = yes; then
9901 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9902 else
9903 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9904 fi
9905
9906 else
9907
9908 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9909 if test "x$LINE" != x ; then
9910 eval "DEFAULT_$LINE"
9911 else
9912 no_cache=1
9913 fi
9914
9915 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9916
9917 fi
9918
9919
9920 eval "$ac_cv_use_listbox"
9921 if test "$no_cache" != 1; then
9922 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9923 fi
9924
9925 if test "$wxUSE_LISTBOX" = yes; then
9926 { echo "$as_me:$LINENO: result: yes" >&5
9927 echo "${ECHO_T}yes" >&6; }
9928 else
9929 { echo "$as_me:$LINENO: result: no" >&5
9930 echo "${ECHO_T}no" >&6; }
9931 fi
9932
9933
9934 enablestring=
9935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9937 no_cache=0
9938 # Check whether --enable-listctrl was given.
9939 if test "${enable_listctrl+set}" = set; then
9940 enableval=$enable_listctrl;
9941 if test "$enableval" = yes; then
9942 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9943 else
9944 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9945 fi
9946
9947 else
9948
9949 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9950 if test "x$LINE" != x ; then
9951 eval "DEFAULT_$LINE"
9952 else
9953 no_cache=1
9954 fi
9955
9956 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9957
9958 fi
9959
9960
9961 eval "$ac_cv_use_listctrl"
9962 if test "$no_cache" != 1; then
9963 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9964 fi
9965
9966 if test "$wxUSE_LISTCTRL" = yes; then
9967 { echo "$as_me:$LINENO: result: yes" >&5
9968 echo "${ECHO_T}yes" >&6; }
9969 else
9970 { echo "$as_me:$LINENO: result: no" >&5
9971 echo "${ECHO_T}no" >&6; }
9972 fi
9973
9974
9975 enablestring=
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9978 no_cache=0
9979 # Check whether --enable-notebook was given.
9980 if test "${enable_notebook+set}" = set; then
9981 enableval=$enable_notebook;
9982 if test "$enableval" = yes; then
9983 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9984 else
9985 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9986 fi
9987
9988 else
9989
9990 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9991 if test "x$LINE" != x ; then
9992 eval "DEFAULT_$LINE"
9993 else
9994 no_cache=1
9995 fi
9996
9997 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9998
9999 fi
10000
10001
10002 eval "$ac_cv_use_notebook"
10003 if test "$no_cache" != 1; then
10004 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10005 fi
10006
10007 if test "$wxUSE_NOTEBOOK" = yes; then
10008 { echo "$as_me:$LINENO: result: yes" >&5
10009 echo "${ECHO_T}yes" >&6; }
10010 else
10011 { echo "$as_me:$LINENO: result: no" >&5
10012 echo "${ECHO_T}no" >&6; }
10013 fi
10014
10015
10016 enablestring=
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10019 no_cache=0
10020 # Check whether --enable-odcombobox was given.
10021 if test "${enable_odcombobox+set}" = set; then
10022 enableval=$enable_odcombobox;
10023 if test "$enableval" = yes; then
10024 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10025 else
10026 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10027 fi
10028
10029 else
10030
10031 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10032 if test "x$LINE" != x ; then
10033 eval "DEFAULT_$LINE"
10034 else
10035 no_cache=1
10036 fi
10037
10038 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10039
10040 fi
10041
10042
10043 eval "$ac_cv_use_odcombobox"
10044 if test "$no_cache" != 1; then
10045 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10046 fi
10047
10048 if test "$wxUSE_ODCOMBOBOX" = yes; then
10049 { echo "$as_me:$LINENO: result: yes" >&5
10050 echo "${ECHO_T}yes" >&6; }
10051 else
10052 { echo "$as_me:$LINENO: result: no" >&5
10053 echo "${ECHO_T}no" >&6; }
10054 fi
10055
10056
10057 enablestring=
10058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10059 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10060 no_cache=0
10061 # Check whether --enable-radiobox was given.
10062 if test "${enable_radiobox+set}" = set; then
10063 enableval=$enable_radiobox;
10064 if test "$enableval" = yes; then
10065 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10066 else
10067 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10068 fi
10069
10070 else
10071
10072 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10073 if test "x$LINE" != x ; then
10074 eval "DEFAULT_$LINE"
10075 else
10076 no_cache=1
10077 fi
10078
10079 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10080
10081 fi
10082
10083
10084 eval "$ac_cv_use_radiobox"
10085 if test "$no_cache" != 1; then
10086 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10087 fi
10088
10089 if test "$wxUSE_RADIOBOX" = yes; then
10090 { echo "$as_me:$LINENO: result: yes" >&5
10091 echo "${ECHO_T}yes" >&6; }
10092 else
10093 { echo "$as_me:$LINENO: result: no" >&5
10094 echo "${ECHO_T}no" >&6; }
10095 fi
10096
10097
10098 enablestring=
10099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10100 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10101 no_cache=0
10102 # Check whether --enable-radiobtn was given.
10103 if test "${enable_radiobtn+set}" = set; then
10104 enableval=$enable_radiobtn;
10105 if test "$enableval" = yes; then
10106 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10107 else
10108 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10109 fi
10110
10111 else
10112
10113 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10114 if test "x$LINE" != x ; then
10115 eval "DEFAULT_$LINE"
10116 else
10117 no_cache=1
10118 fi
10119
10120 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10121
10122 fi
10123
10124
10125 eval "$ac_cv_use_radiobtn"
10126 if test "$no_cache" != 1; then
10127 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10128 fi
10129
10130 if test "$wxUSE_RADIOBTN" = yes; then
10131 { echo "$as_me:$LINENO: result: yes" >&5
10132 echo "${ECHO_T}yes" >&6; }
10133 else
10134 { echo "$as_me:$LINENO: result: no" >&5
10135 echo "${ECHO_T}no" >&6; }
10136 fi
10137
10138
10139 enablestring=
10140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10141 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10142 no_cache=0
10143 # Check whether --enable-sash was given.
10144 if test "${enable_sash+set}" = set; then
10145 enableval=$enable_sash;
10146 if test "$enableval" = yes; then
10147 ac_cv_use_sash='wxUSE_SASH=yes'
10148 else
10149 ac_cv_use_sash='wxUSE_SASH=no'
10150 fi
10151
10152 else
10153
10154 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10155 if test "x$LINE" != x ; then
10156 eval "DEFAULT_$LINE"
10157 else
10158 no_cache=1
10159 fi
10160
10161 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10162
10163 fi
10164
10165
10166 eval "$ac_cv_use_sash"
10167 if test "$no_cache" != 1; then
10168 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10169 fi
10170
10171 if test "$wxUSE_SASH" = yes; then
10172 { echo "$as_me:$LINENO: result: yes" >&5
10173 echo "${ECHO_T}yes" >&6; }
10174 else
10175 { echo "$as_me:$LINENO: result: no" >&5
10176 echo "${ECHO_T}no" >&6; }
10177 fi
10178
10179
10180 enablestring=
10181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10182 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10183 no_cache=0
10184 # Check whether --enable-scrollbar was given.
10185 if test "${enable_scrollbar+set}" = set; then
10186 enableval=$enable_scrollbar;
10187 if test "$enableval" = yes; then
10188 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10189 else
10190 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10191 fi
10192
10193 else
10194
10195 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10196 if test "x$LINE" != x ; then
10197 eval "DEFAULT_$LINE"
10198 else
10199 no_cache=1
10200 fi
10201
10202 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10203
10204 fi
10205
10206
10207 eval "$ac_cv_use_scrollbar"
10208 if test "$no_cache" != 1; then
10209 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10210 fi
10211
10212 if test "$wxUSE_SCROLLBAR" = yes; then
10213 { echo "$as_me:$LINENO: result: yes" >&5
10214 echo "${ECHO_T}yes" >&6; }
10215 else
10216 { echo "$as_me:$LINENO: result: no" >&5
10217 echo "${ECHO_T}no" >&6; }
10218 fi
10219
10220
10221 enablestring=
10222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10223 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10224 no_cache=0
10225 # Check whether --enable-searchctrl was given.
10226 if test "${enable_searchctrl+set}" = set; then
10227 enableval=$enable_searchctrl;
10228 if test "$enableval" = yes; then
10229 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10230 else
10231 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10232 fi
10233
10234 else
10235
10236 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10237 if test "x$LINE" != x ; then
10238 eval "DEFAULT_$LINE"
10239 else
10240 no_cache=1
10241 fi
10242
10243 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10244
10245 fi
10246
10247
10248 eval "$ac_cv_use_searchctrl"
10249 if test "$no_cache" != 1; then
10250 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10251 fi
10252
10253 if test "$wxUSE_SEARCHCTRL" = yes; then
10254 { echo "$as_me:$LINENO: result: yes" >&5
10255 echo "${ECHO_T}yes" >&6; }
10256 else
10257 { echo "$as_me:$LINENO: result: no" >&5
10258 echo "${ECHO_T}no" >&6; }
10259 fi
10260
10261
10262 enablestring=
10263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10264 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10265 no_cache=0
10266 # Check whether --enable-slider was given.
10267 if test "${enable_slider+set}" = set; then
10268 enableval=$enable_slider;
10269 if test "$enableval" = yes; then
10270 ac_cv_use_slider='wxUSE_SLIDER=yes'
10271 else
10272 ac_cv_use_slider='wxUSE_SLIDER=no'
10273 fi
10274
10275 else
10276
10277 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10278 if test "x$LINE" != x ; then
10279 eval "DEFAULT_$LINE"
10280 else
10281 no_cache=1
10282 fi
10283
10284 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10285
10286 fi
10287
10288
10289 eval "$ac_cv_use_slider"
10290 if test "$no_cache" != 1; then
10291 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10292 fi
10293
10294 if test "$wxUSE_SLIDER" = yes; then
10295 { echo "$as_me:$LINENO: result: yes" >&5
10296 echo "${ECHO_T}yes" >&6; }
10297 else
10298 { echo "$as_me:$LINENO: result: no" >&5
10299 echo "${ECHO_T}no" >&6; }
10300 fi
10301
10302
10303 enablestring=
10304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10305 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10306 no_cache=0
10307 # Check whether --enable-spinbtn was given.
10308 if test "${enable_spinbtn+set}" = set; then
10309 enableval=$enable_spinbtn;
10310 if test "$enableval" = yes; then
10311 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10312 else
10313 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10314 fi
10315
10316 else
10317
10318 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10319 if test "x$LINE" != x ; then
10320 eval "DEFAULT_$LINE"
10321 else
10322 no_cache=1
10323 fi
10324
10325 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10326
10327 fi
10328
10329
10330 eval "$ac_cv_use_spinbtn"
10331 if test "$no_cache" != 1; then
10332 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10333 fi
10334
10335 if test "$wxUSE_SPINBTN" = yes; then
10336 { echo "$as_me:$LINENO: result: yes" >&5
10337 echo "${ECHO_T}yes" >&6; }
10338 else
10339 { echo "$as_me:$LINENO: result: no" >&5
10340 echo "${ECHO_T}no" >&6; }
10341 fi
10342
10343
10344 enablestring=
10345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10346 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10347 no_cache=0
10348 # Check whether --enable-spinctrl was given.
10349 if test "${enable_spinctrl+set}" = set; then
10350 enableval=$enable_spinctrl;
10351 if test "$enableval" = yes; then
10352 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10353 else
10354 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10355 fi
10356
10357 else
10358
10359 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10360 if test "x$LINE" != x ; then
10361 eval "DEFAULT_$LINE"
10362 else
10363 no_cache=1
10364 fi
10365
10366 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10367
10368 fi
10369
10370
10371 eval "$ac_cv_use_spinctrl"
10372 if test "$no_cache" != 1; then
10373 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10374 fi
10375
10376 if test "$wxUSE_SPINCTRL" = yes; then
10377 { echo "$as_me:$LINENO: result: yes" >&5
10378 echo "${ECHO_T}yes" >&6; }
10379 else
10380 { echo "$as_me:$LINENO: result: no" >&5
10381 echo "${ECHO_T}no" >&6; }
10382 fi
10383
10384
10385 enablestring=
10386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10387 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10388 no_cache=0
10389 # Check whether --enable-splitter was given.
10390 if test "${enable_splitter+set}" = set; then
10391 enableval=$enable_splitter;
10392 if test "$enableval" = yes; then
10393 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10394 else
10395 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10396 fi
10397
10398 else
10399
10400 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10401 if test "x$LINE" != x ; then
10402 eval "DEFAULT_$LINE"
10403 else
10404 no_cache=1
10405 fi
10406
10407 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10408
10409 fi
10410
10411
10412 eval "$ac_cv_use_splitter"
10413 if test "$no_cache" != 1; then
10414 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10415 fi
10416
10417 if test "$wxUSE_SPLITTER" = yes; then
10418 { echo "$as_me:$LINENO: result: yes" >&5
10419 echo "${ECHO_T}yes" >&6; }
10420 else
10421 { echo "$as_me:$LINENO: result: no" >&5
10422 echo "${ECHO_T}no" >&6; }
10423 fi
10424
10425
10426 enablestring=
10427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10428 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10429 no_cache=0
10430 # Check whether --enable-statbmp was given.
10431 if test "${enable_statbmp+set}" = set; then
10432 enableval=$enable_statbmp;
10433 if test "$enableval" = yes; then
10434 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10435 else
10436 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10437 fi
10438
10439 else
10440
10441 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10442 if test "x$LINE" != x ; then
10443 eval "DEFAULT_$LINE"
10444 else
10445 no_cache=1
10446 fi
10447
10448 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10449
10450 fi
10451
10452
10453 eval "$ac_cv_use_statbmp"
10454 if test "$no_cache" != 1; then
10455 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10456 fi
10457
10458 if test "$wxUSE_STATBMP" = yes; then
10459 { echo "$as_me:$LINENO: result: yes" >&5
10460 echo "${ECHO_T}yes" >&6; }
10461 else
10462 { echo "$as_me:$LINENO: result: no" >&5
10463 echo "${ECHO_T}no" >&6; }
10464 fi
10465
10466
10467 enablestring=
10468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10469 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10470 no_cache=0
10471 # Check whether --enable-statbox was given.
10472 if test "${enable_statbox+set}" = set; then
10473 enableval=$enable_statbox;
10474 if test "$enableval" = yes; then
10475 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10476 else
10477 ac_cv_use_statbox='wxUSE_STATBOX=no'
10478 fi
10479
10480 else
10481
10482 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10483 if test "x$LINE" != x ; then
10484 eval "DEFAULT_$LINE"
10485 else
10486 no_cache=1
10487 fi
10488
10489 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10490
10491 fi
10492
10493
10494 eval "$ac_cv_use_statbox"
10495 if test "$no_cache" != 1; then
10496 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10497 fi
10498
10499 if test "$wxUSE_STATBOX" = yes; then
10500 { echo "$as_me:$LINENO: result: yes" >&5
10501 echo "${ECHO_T}yes" >&6; }
10502 else
10503 { echo "$as_me:$LINENO: result: no" >&5
10504 echo "${ECHO_T}no" >&6; }
10505 fi
10506
10507
10508 enablestring=
10509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10510 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10511 no_cache=0
10512 # Check whether --enable-statline was given.
10513 if test "${enable_statline+set}" = set; then
10514 enableval=$enable_statline;
10515 if test "$enableval" = yes; then
10516 ac_cv_use_statline='wxUSE_STATLINE=yes'
10517 else
10518 ac_cv_use_statline='wxUSE_STATLINE=no'
10519 fi
10520
10521 else
10522
10523 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10524 if test "x$LINE" != x ; then
10525 eval "DEFAULT_$LINE"
10526 else
10527 no_cache=1
10528 fi
10529
10530 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10531
10532 fi
10533
10534
10535 eval "$ac_cv_use_statline"
10536 if test "$no_cache" != 1; then
10537 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10538 fi
10539
10540 if test "$wxUSE_STATLINE" = yes; then
10541 { echo "$as_me:$LINENO: result: yes" >&5
10542 echo "${ECHO_T}yes" >&6; }
10543 else
10544 { echo "$as_me:$LINENO: result: no" >&5
10545 echo "${ECHO_T}no" >&6; }
10546 fi
10547
10548
10549 enablestring=
10550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10551 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10552 no_cache=0
10553 # Check whether --enable-stattext was given.
10554 if test "${enable_stattext+set}" = set; then
10555 enableval=$enable_stattext;
10556 if test "$enableval" = yes; then
10557 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10558 else
10559 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10560 fi
10561
10562 else
10563
10564 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10565 if test "x$LINE" != x ; then
10566 eval "DEFAULT_$LINE"
10567 else
10568 no_cache=1
10569 fi
10570
10571 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10572
10573 fi
10574
10575
10576 eval "$ac_cv_use_stattext"
10577 if test "$no_cache" != 1; then
10578 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10579 fi
10580
10581 if test "$wxUSE_STATTEXT" = yes; then
10582 { echo "$as_me:$LINENO: result: yes" >&5
10583 echo "${ECHO_T}yes" >&6; }
10584 else
10585 { echo "$as_me:$LINENO: result: no" >&5
10586 echo "${ECHO_T}no" >&6; }
10587 fi
10588
10589
10590 enablestring=
10591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10593 no_cache=0
10594 # Check whether --enable-statusbar was given.
10595 if test "${enable_statusbar+set}" = set; then
10596 enableval=$enable_statusbar;
10597 if test "$enableval" = yes; then
10598 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10599 else
10600 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10601 fi
10602
10603 else
10604
10605 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10606 if test "x$LINE" != x ; then
10607 eval "DEFAULT_$LINE"
10608 else
10609 no_cache=1
10610 fi
10611
10612 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10613
10614 fi
10615
10616
10617 eval "$ac_cv_use_statusbar"
10618 if test "$no_cache" != 1; then
10619 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10620 fi
10621
10622 if test "$wxUSE_STATUSBAR" = yes; then
10623 { echo "$as_me:$LINENO: result: yes" >&5
10624 echo "${ECHO_T}yes" >&6; }
10625 else
10626 { echo "$as_me:$LINENO: result: no" >&5
10627 echo "${ECHO_T}no" >&6; }
10628 fi
10629
10630
10631 enablestring=
10632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10633 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10634 no_cache=0
10635 # Check whether --enable-tabdialog was given.
10636 if test "${enable_tabdialog+set}" = set; then
10637 enableval=$enable_tabdialog;
10638 if test "$enableval" = yes; then
10639 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10640 else
10641 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10642 fi
10643
10644 else
10645
10646 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10647 if test "x$LINE" != x ; then
10648 eval "DEFAULT_$LINE"
10649 else
10650 no_cache=1
10651 fi
10652
10653 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10654
10655 fi
10656
10657
10658 eval "$ac_cv_use_tabdialog"
10659 if test "$no_cache" != 1; then
10660 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10661 fi
10662
10663 if test "$wxUSE_TAB_DIALOG" = yes; then
10664 { echo "$as_me:$LINENO: result: yes" >&5
10665 echo "${ECHO_T}yes" >&6; }
10666 else
10667 { echo "$as_me:$LINENO: result: no" >&5
10668 echo "${ECHO_T}no" >&6; }
10669 fi
10670
10671
10672 enablestring=
10673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10674 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10675 no_cache=0
10676 # Check whether --enable-textctrl was given.
10677 if test "${enable_textctrl+set}" = set; then
10678 enableval=$enable_textctrl;
10679 if test "$enableval" = yes; then
10680 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10681 else
10682 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10683 fi
10684
10685 else
10686
10687 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10688 if test "x$LINE" != x ; then
10689 eval "DEFAULT_$LINE"
10690 else
10691 no_cache=1
10692 fi
10693
10694 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10695
10696 fi
10697
10698
10699 eval "$ac_cv_use_textctrl"
10700 if test "$no_cache" != 1; then
10701 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10702 fi
10703
10704 if test "$wxUSE_TEXTCTRL" = yes; then
10705 { echo "$as_me:$LINENO: result: yes" >&5
10706 echo "${ECHO_T}yes" >&6; }
10707 else
10708 { echo "$as_me:$LINENO: result: no" >&5
10709 echo "${ECHO_T}no" >&6; }
10710 fi
10711
10712
10713 enablestring=
10714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10715 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10716 no_cache=0
10717 # Check whether --enable-togglebtn was given.
10718 if test "${enable_togglebtn+set}" = set; then
10719 enableval=$enable_togglebtn;
10720 if test "$enableval" = yes; then
10721 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10722 else
10723 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10724 fi
10725
10726 else
10727
10728 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10729 if test "x$LINE" != x ; then
10730 eval "DEFAULT_$LINE"
10731 else
10732 no_cache=1
10733 fi
10734
10735 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10736
10737 fi
10738
10739
10740 eval "$ac_cv_use_togglebtn"
10741 if test "$no_cache" != 1; then
10742 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10743 fi
10744
10745 if test "$wxUSE_TOGGLEBTN" = yes; then
10746 { echo "$as_me:$LINENO: result: yes" >&5
10747 echo "${ECHO_T}yes" >&6; }
10748 else
10749 { echo "$as_me:$LINENO: result: no" >&5
10750 echo "${ECHO_T}no" >&6; }
10751 fi
10752
10753
10754 enablestring=
10755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10756 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10757 no_cache=0
10758 # Check whether --enable-toolbar was given.
10759 if test "${enable_toolbar+set}" = set; then
10760 enableval=$enable_toolbar;
10761 if test "$enableval" = yes; then
10762 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10763 else
10764 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10765 fi
10766
10767 else
10768
10769 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10770 if test "x$LINE" != x ; then
10771 eval "DEFAULT_$LINE"
10772 else
10773 no_cache=1
10774 fi
10775
10776 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10777
10778 fi
10779
10780
10781 eval "$ac_cv_use_toolbar"
10782 if test "$no_cache" != 1; then
10783 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10784 fi
10785
10786 if test "$wxUSE_TOOLBAR" = yes; then
10787 { echo "$as_me:$LINENO: result: yes" >&5
10788 echo "${ECHO_T}yes" >&6; }
10789 else
10790 { echo "$as_me:$LINENO: result: no" >&5
10791 echo "${ECHO_T}no" >&6; }
10792 fi
10793
10794
10795 enablestring=
10796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10797 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10798 no_cache=0
10799 # Check whether --enable-tbarnative was given.
10800 if test "${enable_tbarnative+set}" = set; then
10801 enableval=$enable_tbarnative;
10802 if test "$enableval" = yes; then
10803 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10804 else
10805 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10806 fi
10807
10808 else
10809
10810 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10811 if test "x$LINE" != x ; then
10812 eval "DEFAULT_$LINE"
10813 else
10814 no_cache=1
10815 fi
10816
10817 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10818
10819 fi
10820
10821
10822 eval "$ac_cv_use_tbarnative"
10823 if test "$no_cache" != 1; then
10824 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10825 fi
10826
10827 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10828 { echo "$as_me:$LINENO: result: yes" >&5
10829 echo "${ECHO_T}yes" >&6; }
10830 else
10831 { echo "$as_me:$LINENO: result: no" >&5
10832 echo "${ECHO_T}no" >&6; }
10833 fi
10834
10835
10836 enablestring=
10837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10838 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10839 no_cache=0
10840 # Check whether --enable-treebook was given.
10841 if test "${enable_treebook+set}" = set; then
10842 enableval=$enable_treebook;
10843 if test "$enableval" = yes; then
10844 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10845 else
10846 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10847 fi
10848
10849 else
10850
10851 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10852 if test "x$LINE" != x ; then
10853 eval "DEFAULT_$LINE"
10854 else
10855 no_cache=1
10856 fi
10857
10858 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10859
10860 fi
10861
10862
10863 eval "$ac_cv_use_treebook"
10864 if test "$no_cache" != 1; then
10865 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10866 fi
10867
10868 if test "$wxUSE_TREEBOOK" = yes; then
10869 { echo "$as_me:$LINENO: result: yes" >&5
10870 echo "${ECHO_T}yes" >&6; }
10871 else
10872 { echo "$as_me:$LINENO: result: no" >&5
10873 echo "${ECHO_T}no" >&6; }
10874 fi
10875
10876
10877 enablestring=
10878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10879 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10880 no_cache=0
10881 # Check whether --enable-toolbook was given.
10882 if test "${enable_toolbook+set}" = set; then
10883 enableval=$enable_toolbook;
10884 if test "$enableval" = yes; then
10885 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10886 else
10887 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10888 fi
10889
10890 else
10891
10892 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10893 if test "x$LINE" != x ; then
10894 eval "DEFAULT_$LINE"
10895 else
10896 no_cache=1
10897 fi
10898
10899 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10900
10901 fi
10902
10903
10904 eval "$ac_cv_use_toolbook"
10905 if test "$no_cache" != 1; then
10906 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10907 fi
10908
10909 if test "$wxUSE_TOOLBOOK" = yes; then
10910 { echo "$as_me:$LINENO: result: yes" >&5
10911 echo "${ECHO_T}yes" >&6; }
10912 else
10913 { echo "$as_me:$LINENO: result: no" >&5
10914 echo "${ECHO_T}no" >&6; }
10915 fi
10916
10917
10918 enablestring=
10919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10920 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10921 no_cache=0
10922 # Check whether --enable-treectrl was given.
10923 if test "${enable_treectrl+set}" = set; then
10924 enableval=$enable_treectrl;
10925 if test "$enableval" = yes; then
10926 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10927 else
10928 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10929 fi
10930
10931 else
10932
10933 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10934 if test "x$LINE" != x ; then
10935 eval "DEFAULT_$LINE"
10936 else
10937 no_cache=1
10938 fi
10939
10940 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10941
10942 fi
10943
10944
10945 eval "$ac_cv_use_treectrl"
10946 if test "$no_cache" != 1; then
10947 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10948 fi
10949
10950 if test "$wxUSE_TREECTRL" = yes; then
10951 { echo "$as_me:$LINENO: result: yes" >&5
10952 echo "${ECHO_T}yes" >&6; }
10953 else
10954 { echo "$as_me:$LINENO: result: no" >&5
10955 echo "${ECHO_T}no" >&6; }
10956 fi
10957
10958
10959 enablestring=
10960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10961 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10962 no_cache=0
10963 # Check whether --enable-tipwindow was given.
10964 if test "${enable_tipwindow+set}" = set; then
10965 enableval=$enable_tipwindow;
10966 if test "$enableval" = yes; then
10967 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10968 else
10969 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10970 fi
10971
10972 else
10973
10974 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10975 if test "x$LINE" != x ; then
10976 eval "DEFAULT_$LINE"
10977 else
10978 no_cache=1
10979 fi
10980
10981 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10982
10983 fi
10984
10985
10986 eval "$ac_cv_use_tipwindow"
10987 if test "$no_cache" != 1; then
10988 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10989 fi
10990
10991 if test "$wxUSE_TIPWINDOW" = yes; then
10992 { echo "$as_me:$LINENO: result: yes" >&5
10993 echo "${ECHO_T}yes" >&6; }
10994 else
10995 { echo "$as_me:$LINENO: result: no" >&5
10996 echo "${ECHO_T}no" >&6; }
10997 fi
10998
10999
11000 enablestring=
11001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11002 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11003 no_cache=0
11004 # Check whether --enable-popupwin was given.
11005 if test "${enable_popupwin+set}" = set; then
11006 enableval=$enable_popupwin;
11007 if test "$enableval" = yes; then
11008 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11009 else
11010 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11011 fi
11012
11013 else
11014
11015 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11016 if test "x$LINE" != x ; then
11017 eval "DEFAULT_$LINE"
11018 else
11019 no_cache=1
11020 fi
11021
11022 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11023
11024 fi
11025
11026
11027 eval "$ac_cv_use_popupwin"
11028 if test "$no_cache" != 1; then
11029 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11030 fi
11031
11032 if test "$wxUSE_POPUPWIN" = yes; then
11033 { echo "$as_me:$LINENO: result: yes" >&5
11034 echo "${ECHO_T}yes" >&6; }
11035 else
11036 { echo "$as_me:$LINENO: result: no" >&5
11037 echo "${ECHO_T}no" >&6; }
11038 fi
11039
11040
11041
11042
11043 enablestring=
11044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11045 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11046 no_cache=0
11047 # Check whether --enable-commondlg was given.
11048 if test "${enable_commondlg+set}" = set; then
11049 enableval=$enable_commondlg;
11050 if test "$enableval" = yes; then
11051 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11052 else
11053 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11054 fi
11055
11056 else
11057
11058 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11059 if test "x$LINE" != x ; then
11060 eval "DEFAULT_$LINE"
11061 else
11062 no_cache=1
11063 fi
11064
11065 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11066
11067 fi
11068
11069
11070 eval "$ac_cv_use_commondlg"
11071 if test "$no_cache" != 1; then
11072 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11073 fi
11074
11075 if test "$wxUSE_COMMONDLGS" = yes; then
11076 { echo "$as_me:$LINENO: result: yes" >&5
11077 echo "${ECHO_T}yes" >&6; }
11078 else
11079 { echo "$as_me:$LINENO: result: no" >&5
11080 echo "${ECHO_T}no" >&6; }
11081 fi
11082
11083
11084 enablestring=
11085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11086 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11087 no_cache=0
11088 # Check whether --enable-aboutdlg was given.
11089 if test "${enable_aboutdlg+set}" = set; then
11090 enableval=$enable_aboutdlg;
11091 if test "$enableval" = yes; then
11092 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11093 else
11094 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11095 fi
11096
11097 else
11098
11099 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11100 if test "x$LINE" != x ; then
11101 eval "DEFAULT_$LINE"
11102 else
11103 no_cache=1
11104 fi
11105
11106 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11107
11108 fi
11109
11110
11111 eval "$ac_cv_use_aboutdlg"
11112 if test "$no_cache" != 1; then
11113 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11114 fi
11115
11116 if test "$wxUSE_ABOUTDLG" = yes; then
11117 { echo "$as_me:$LINENO: result: yes" >&5
11118 echo "${ECHO_T}yes" >&6; }
11119 else
11120 { echo "$as_me:$LINENO: result: no" >&5
11121 echo "${ECHO_T}no" >&6; }
11122 fi
11123
11124
11125 enablestring=
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11128 no_cache=0
11129 # Check whether --enable-choicedlg was given.
11130 if test "${enable_choicedlg+set}" = set; then
11131 enableval=$enable_choicedlg;
11132 if test "$enableval" = yes; then
11133 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11134 else
11135 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11136 fi
11137
11138 else
11139
11140 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11141 if test "x$LINE" != x ; then
11142 eval "DEFAULT_$LINE"
11143 else
11144 no_cache=1
11145 fi
11146
11147 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11148
11149 fi
11150
11151
11152 eval "$ac_cv_use_choicedlg"
11153 if test "$no_cache" != 1; then
11154 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11155 fi
11156
11157 if test "$wxUSE_CHOICEDLG" = yes; then
11158 { echo "$as_me:$LINENO: result: yes" >&5
11159 echo "${ECHO_T}yes" >&6; }
11160 else
11161 { echo "$as_me:$LINENO: result: no" >&5
11162 echo "${ECHO_T}no" >&6; }
11163 fi
11164
11165
11166 enablestring=
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11169 no_cache=0
11170 # Check whether --enable-coldlg was given.
11171 if test "${enable_coldlg+set}" = set; then
11172 enableval=$enable_coldlg;
11173 if test "$enableval" = yes; then
11174 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11175 else
11176 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11177 fi
11178
11179 else
11180
11181 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11182 if test "x$LINE" != x ; then
11183 eval "DEFAULT_$LINE"
11184 else
11185 no_cache=1
11186 fi
11187
11188 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11189
11190 fi
11191
11192
11193 eval "$ac_cv_use_coldlg"
11194 if test "$no_cache" != 1; then
11195 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11196 fi
11197
11198 if test "$wxUSE_COLOURDLG" = yes; then
11199 { echo "$as_me:$LINENO: result: yes" >&5
11200 echo "${ECHO_T}yes" >&6; }
11201 else
11202 { echo "$as_me:$LINENO: result: no" >&5
11203 echo "${ECHO_T}no" >&6; }
11204 fi
11205
11206
11207 enablestring=
11208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11209 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11210 no_cache=0
11211 # Check whether --enable-filedlg was given.
11212 if test "${enable_filedlg+set}" = set; then
11213 enableval=$enable_filedlg;
11214 if test "$enableval" = yes; then
11215 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11216 else
11217 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11218 fi
11219
11220 else
11221
11222 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11223 if test "x$LINE" != x ; then
11224 eval "DEFAULT_$LINE"
11225 else
11226 no_cache=1
11227 fi
11228
11229 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11230
11231 fi
11232
11233
11234 eval "$ac_cv_use_filedlg"
11235 if test "$no_cache" != 1; then
11236 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11237 fi
11238
11239 if test "$wxUSE_FILEDLG" = yes; then
11240 { echo "$as_me:$LINENO: result: yes" >&5
11241 echo "${ECHO_T}yes" >&6; }
11242 else
11243 { echo "$as_me:$LINENO: result: no" >&5
11244 echo "${ECHO_T}no" >&6; }
11245 fi
11246
11247
11248 enablestring=
11249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11250 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11251 no_cache=0
11252 # Check whether --enable-finddlg was given.
11253 if test "${enable_finddlg+set}" = set; then
11254 enableval=$enable_finddlg;
11255 if test "$enableval" = yes; then
11256 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11257 else
11258 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11259 fi
11260
11261 else
11262
11263 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11264 if test "x$LINE" != x ; then
11265 eval "DEFAULT_$LINE"
11266 else
11267 no_cache=1
11268 fi
11269
11270 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11271
11272 fi
11273
11274
11275 eval "$ac_cv_use_finddlg"
11276 if test "$no_cache" != 1; then
11277 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11278 fi
11279
11280 if test "$wxUSE_FINDREPLDLG" = yes; then
11281 { echo "$as_me:$LINENO: result: yes" >&5
11282 echo "${ECHO_T}yes" >&6; }
11283 else
11284 { echo "$as_me:$LINENO: result: no" >&5
11285 echo "${ECHO_T}no" >&6; }
11286 fi
11287
11288
11289 enablestring=
11290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11291 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11292 no_cache=0
11293 # Check whether --enable-fontdlg was given.
11294 if test "${enable_fontdlg+set}" = set; then
11295 enableval=$enable_fontdlg;
11296 if test "$enableval" = yes; then
11297 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11298 else
11299 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11300 fi
11301
11302 else
11303
11304 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11305 if test "x$LINE" != x ; then
11306 eval "DEFAULT_$LINE"
11307 else
11308 no_cache=1
11309 fi
11310
11311 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11312
11313 fi
11314
11315
11316 eval "$ac_cv_use_fontdlg"
11317 if test "$no_cache" != 1; then
11318 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11319 fi
11320
11321 if test "$wxUSE_FONTDLG" = yes; then
11322 { echo "$as_me:$LINENO: result: yes" >&5
11323 echo "${ECHO_T}yes" >&6; }
11324 else
11325 { echo "$as_me:$LINENO: result: no" >&5
11326 echo "${ECHO_T}no" >&6; }
11327 fi
11328
11329
11330 enablestring=
11331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11332 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11333 no_cache=0
11334 # Check whether --enable-dirdlg was given.
11335 if test "${enable_dirdlg+set}" = set; then
11336 enableval=$enable_dirdlg;
11337 if test "$enableval" = yes; then
11338 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11339 else
11340 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11341 fi
11342
11343 else
11344
11345 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11346 if test "x$LINE" != x ; then
11347 eval "DEFAULT_$LINE"
11348 else
11349 no_cache=1
11350 fi
11351
11352 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11353
11354 fi
11355
11356
11357 eval "$ac_cv_use_dirdlg"
11358 if test "$no_cache" != 1; then
11359 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11360 fi
11361
11362 if test "$wxUSE_DIRDLG" = yes; then
11363 { echo "$as_me:$LINENO: result: yes" >&5
11364 echo "${ECHO_T}yes" >&6; }
11365 else
11366 { echo "$as_me:$LINENO: result: no" >&5
11367 echo "${ECHO_T}no" >&6; }
11368 fi
11369
11370
11371 enablestring=
11372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11373 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11374 no_cache=0
11375 # Check whether --enable-msgdlg was given.
11376 if test "${enable_msgdlg+set}" = set; then
11377 enableval=$enable_msgdlg;
11378 if test "$enableval" = yes; then
11379 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11380 else
11381 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11382 fi
11383
11384 else
11385
11386 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11387 if test "x$LINE" != x ; then
11388 eval "DEFAULT_$LINE"
11389 else
11390 no_cache=1
11391 fi
11392
11393 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11394
11395 fi
11396
11397
11398 eval "$ac_cv_use_msgdlg"
11399 if test "$no_cache" != 1; then
11400 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11401 fi
11402
11403 if test "$wxUSE_MSGDLG" = yes; then
11404 { echo "$as_me:$LINENO: result: yes" >&5
11405 echo "${ECHO_T}yes" >&6; }
11406 else
11407 { echo "$as_me:$LINENO: result: no" >&5
11408 echo "${ECHO_T}no" >&6; }
11409 fi
11410
11411
11412 enablestring=
11413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11414 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11415 no_cache=0
11416 # Check whether --enable-numberdlg was given.
11417 if test "${enable_numberdlg+set}" = set; then
11418 enableval=$enable_numberdlg;
11419 if test "$enableval" = yes; then
11420 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11421 else
11422 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11423 fi
11424
11425 else
11426
11427 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11428 if test "x$LINE" != x ; then
11429 eval "DEFAULT_$LINE"
11430 else
11431 no_cache=1
11432 fi
11433
11434 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11435
11436 fi
11437
11438
11439 eval "$ac_cv_use_numberdlg"
11440 if test "$no_cache" != 1; then
11441 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11442 fi
11443
11444 if test "$wxUSE_NUMBERDLG" = yes; then
11445 { echo "$as_me:$LINENO: result: yes" >&5
11446 echo "${ECHO_T}yes" >&6; }
11447 else
11448 { echo "$as_me:$LINENO: result: no" >&5
11449 echo "${ECHO_T}no" >&6; }
11450 fi
11451
11452
11453 enablestring=
11454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11455 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11456 no_cache=0
11457 # Check whether --enable-splash was given.
11458 if test "${enable_splash+set}" = set; then
11459 enableval=$enable_splash;
11460 if test "$enableval" = yes; then
11461 ac_cv_use_splash='wxUSE_SPLASH=yes'
11462 else
11463 ac_cv_use_splash='wxUSE_SPLASH=no'
11464 fi
11465
11466 else
11467
11468 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11469 if test "x$LINE" != x ; then
11470 eval "DEFAULT_$LINE"
11471 else
11472 no_cache=1
11473 fi
11474
11475 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11476
11477 fi
11478
11479
11480 eval "$ac_cv_use_splash"
11481 if test "$no_cache" != 1; then
11482 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11483 fi
11484
11485 if test "$wxUSE_SPLASH" = yes; then
11486 { echo "$as_me:$LINENO: result: yes" >&5
11487 echo "${ECHO_T}yes" >&6; }
11488 else
11489 { echo "$as_me:$LINENO: result: no" >&5
11490 echo "${ECHO_T}no" >&6; }
11491 fi
11492
11493
11494 enablestring=
11495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11496 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11497 no_cache=0
11498 # Check whether --enable-textdlg was given.
11499 if test "${enable_textdlg+set}" = set; then
11500 enableval=$enable_textdlg;
11501 if test "$enableval" = yes; then
11502 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11503 else
11504 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11505 fi
11506
11507 else
11508
11509 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11510 if test "x$LINE" != x ; then
11511 eval "DEFAULT_$LINE"
11512 else
11513 no_cache=1
11514 fi
11515
11516 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11517
11518 fi
11519
11520
11521 eval "$ac_cv_use_textdlg"
11522 if test "$no_cache" != 1; then
11523 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11524 fi
11525
11526 if test "$wxUSE_TEXTDLG" = yes; then
11527 { echo "$as_me:$LINENO: result: yes" >&5
11528 echo "${ECHO_T}yes" >&6; }
11529 else
11530 { echo "$as_me:$LINENO: result: no" >&5
11531 echo "${ECHO_T}no" >&6; }
11532 fi
11533
11534
11535 enablestring=
11536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11537 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11538 no_cache=0
11539 # Check whether --enable-tipdlg was given.
11540 if test "${enable_tipdlg+set}" = set; then
11541 enableval=$enable_tipdlg;
11542 if test "$enableval" = yes; then
11543 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11544 else
11545 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11546 fi
11547
11548 else
11549
11550 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11551 if test "x$LINE" != x ; then
11552 eval "DEFAULT_$LINE"
11553 else
11554 no_cache=1
11555 fi
11556
11557 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11558
11559 fi
11560
11561
11562 eval "$ac_cv_use_tipdlg"
11563 if test "$no_cache" != 1; then
11564 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11565 fi
11566
11567 if test "$wxUSE_STARTUP_TIPS" = yes; then
11568 { echo "$as_me:$LINENO: result: yes" >&5
11569 echo "${ECHO_T}yes" >&6; }
11570 else
11571 { echo "$as_me:$LINENO: result: no" >&5
11572 echo "${ECHO_T}no" >&6; }
11573 fi
11574
11575
11576 enablestring=
11577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11578 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11579 no_cache=0
11580 # Check whether --enable-progressdlg was given.
11581 if test "${enable_progressdlg+set}" = set; then
11582 enableval=$enable_progressdlg;
11583 if test "$enableval" = yes; then
11584 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11585 else
11586 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11587 fi
11588
11589 else
11590
11591 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11592 if test "x$LINE" != x ; then
11593 eval "DEFAULT_$LINE"
11594 else
11595 no_cache=1
11596 fi
11597
11598 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11599
11600 fi
11601
11602
11603 eval "$ac_cv_use_progressdlg"
11604 if test "$no_cache" != 1; then
11605 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11606 fi
11607
11608 if test "$wxUSE_PROGRESSDLG" = yes; then
11609 { echo "$as_me:$LINENO: result: yes" >&5
11610 echo "${ECHO_T}yes" >&6; }
11611 else
11612 { echo "$as_me:$LINENO: result: no" >&5
11613 echo "${ECHO_T}no" >&6; }
11614 fi
11615
11616
11617 enablestring=
11618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11619 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11620 no_cache=0
11621 # Check whether --enable-wizarddlg was given.
11622 if test "${enable_wizarddlg+set}" = set; then
11623 enableval=$enable_wizarddlg;
11624 if test "$enableval" = yes; then
11625 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11626 else
11627 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11628 fi
11629
11630 else
11631
11632 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11633 if test "x$LINE" != x ; then
11634 eval "DEFAULT_$LINE"
11635 else
11636 no_cache=1
11637 fi
11638
11639 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11640
11641 fi
11642
11643
11644 eval "$ac_cv_use_wizarddlg"
11645 if test "$no_cache" != 1; then
11646 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11647 fi
11648
11649 if test "$wxUSE_WIZARDDLG" = yes; then
11650 { echo "$as_me:$LINENO: result: yes" >&5
11651 echo "${ECHO_T}yes" >&6; }
11652 else
11653 { echo "$as_me:$LINENO: result: no" >&5
11654 echo "${ECHO_T}no" >&6; }
11655 fi
11656
11657
11658
11659
11660 enablestring=
11661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11662 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11663 no_cache=0
11664 # Check whether --enable-menus was given.
11665 if test "${enable_menus+set}" = set; then
11666 enableval=$enable_menus;
11667 if test "$enableval" = yes; then
11668 ac_cv_use_menus='wxUSE_MENUS=yes'
11669 else
11670 ac_cv_use_menus='wxUSE_MENUS=no'
11671 fi
11672
11673 else
11674
11675 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11676 if test "x$LINE" != x ; then
11677 eval "DEFAULT_$LINE"
11678 else
11679 no_cache=1
11680 fi
11681
11682 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11683
11684 fi
11685
11686
11687 eval "$ac_cv_use_menus"
11688 if test "$no_cache" != 1; then
11689 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11690 fi
11691
11692 if test "$wxUSE_MENUS" = yes; then
11693 { echo "$as_me:$LINENO: result: yes" >&5
11694 echo "${ECHO_T}yes" >&6; }
11695 else
11696 { echo "$as_me:$LINENO: result: no" >&5
11697 echo "${ECHO_T}no" >&6; }
11698 fi
11699
11700
11701 enablestring=
11702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11703 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11704 no_cache=0
11705 # Check whether --enable-miniframe was given.
11706 if test "${enable_miniframe+set}" = set; then
11707 enableval=$enable_miniframe;
11708 if test "$enableval" = yes; then
11709 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11710 else
11711 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11712 fi
11713
11714 else
11715
11716 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11717 if test "x$LINE" != x ; then
11718 eval "DEFAULT_$LINE"
11719 else
11720 no_cache=1
11721 fi
11722
11723 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11724
11725 fi
11726
11727
11728 eval "$ac_cv_use_miniframe"
11729 if test "$no_cache" != 1; then
11730 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11731 fi
11732
11733 if test "$wxUSE_MINIFRAME" = yes; then
11734 { echo "$as_me:$LINENO: result: yes" >&5
11735 echo "${ECHO_T}yes" >&6; }
11736 else
11737 { echo "$as_me:$LINENO: result: no" >&5
11738 echo "${ECHO_T}no" >&6; }
11739 fi
11740
11741
11742 enablestring=
11743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11744 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11745 no_cache=0
11746 # Check whether --enable-tooltips was given.
11747 if test "${enable_tooltips+set}" = set; then
11748 enableval=$enable_tooltips;
11749 if test "$enableval" = yes; then
11750 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11751 else
11752 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11753 fi
11754
11755 else
11756
11757 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11758 if test "x$LINE" != x ; then
11759 eval "DEFAULT_$LINE"
11760 else
11761 no_cache=1
11762 fi
11763
11764 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11765
11766 fi
11767
11768
11769 eval "$ac_cv_use_tooltips"
11770 if test "$no_cache" != 1; then
11771 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11772 fi
11773
11774 if test "$wxUSE_TOOLTIPS" = yes; then
11775 { echo "$as_me:$LINENO: result: yes" >&5
11776 echo "${ECHO_T}yes" >&6; }
11777 else
11778 { echo "$as_me:$LINENO: result: no" >&5
11779 echo "${ECHO_T}no" >&6; }
11780 fi
11781
11782
11783 enablestring=
11784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11785 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11786 no_cache=0
11787 # Check whether --enable-splines was given.
11788 if test "${enable_splines+set}" = set; then
11789 enableval=$enable_splines;
11790 if test "$enableval" = yes; then
11791 ac_cv_use_splines='wxUSE_SPLINES=yes'
11792 else
11793 ac_cv_use_splines='wxUSE_SPLINES=no'
11794 fi
11795
11796 else
11797
11798 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11799 if test "x$LINE" != x ; then
11800 eval "DEFAULT_$LINE"
11801 else
11802 no_cache=1
11803 fi
11804
11805 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11806
11807 fi
11808
11809
11810 eval "$ac_cv_use_splines"
11811 if test "$no_cache" != 1; then
11812 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11813 fi
11814
11815 if test "$wxUSE_SPLINES" = yes; then
11816 { echo "$as_me:$LINENO: result: yes" >&5
11817 echo "${ECHO_T}yes" >&6; }
11818 else
11819 { echo "$as_me:$LINENO: result: no" >&5
11820 echo "${ECHO_T}no" >&6; }
11821 fi
11822
11823
11824 enablestring=
11825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11826 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11827 no_cache=0
11828 # Check whether --enable-mousewheel was given.
11829 if test "${enable_mousewheel+set}" = set; then
11830 enableval=$enable_mousewheel;
11831 if test "$enableval" = yes; then
11832 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11833 else
11834 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11835 fi
11836
11837 else
11838
11839 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11840 if test "x$LINE" != x ; then
11841 eval "DEFAULT_$LINE"
11842 else
11843 no_cache=1
11844 fi
11845
11846 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11847
11848 fi
11849
11850
11851 eval "$ac_cv_use_mousewheel"
11852 if test "$no_cache" != 1; then
11853 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11854 fi
11855
11856 if test "$wxUSE_MOUSEWHEEL" = yes; then
11857 { echo "$as_me:$LINENO: result: yes" >&5
11858 echo "${ECHO_T}yes" >&6; }
11859 else
11860 { echo "$as_me:$LINENO: result: no" >&5
11861 echo "${ECHO_T}no" >&6; }
11862 fi
11863
11864
11865 enablestring=
11866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11867 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11868 no_cache=0
11869 # Check whether --enable-validators was given.
11870 if test "${enable_validators+set}" = set; then
11871 enableval=$enable_validators;
11872 if test "$enableval" = yes; then
11873 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11874 else
11875 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11876 fi
11877
11878 else
11879
11880 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11881 if test "x$LINE" != x ; then
11882 eval "DEFAULT_$LINE"
11883 else
11884 no_cache=1
11885 fi
11886
11887 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11888
11889 fi
11890
11891
11892 eval "$ac_cv_use_validators"
11893 if test "$no_cache" != 1; then
11894 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11895 fi
11896
11897 if test "$wxUSE_VALIDATORS" = yes; then
11898 { echo "$as_me:$LINENO: result: yes" >&5
11899 echo "${ECHO_T}yes" >&6; }
11900 else
11901 { echo "$as_me:$LINENO: result: no" >&5
11902 echo "${ECHO_T}no" >&6; }
11903 fi
11904
11905
11906 enablestring=
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11909 no_cache=0
11910 # Check whether --enable-busyinfo was given.
11911 if test "${enable_busyinfo+set}" = set; then
11912 enableval=$enable_busyinfo;
11913 if test "$enableval" = yes; then
11914 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11915 else
11916 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11917 fi
11918
11919 else
11920
11921 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11922 if test "x$LINE" != x ; then
11923 eval "DEFAULT_$LINE"
11924 else
11925 no_cache=1
11926 fi
11927
11928 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11929
11930 fi
11931
11932
11933 eval "$ac_cv_use_busyinfo"
11934 if test "$no_cache" != 1; then
11935 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11936 fi
11937
11938 if test "$wxUSE_BUSYINFO" = yes; then
11939 { echo "$as_me:$LINENO: result: yes" >&5
11940 echo "${ECHO_T}yes" >&6; }
11941 else
11942 { echo "$as_me:$LINENO: result: no" >&5
11943 echo "${ECHO_T}no" >&6; }
11944 fi
11945
11946
11947 enablestring=
11948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11949 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11950 no_cache=0
11951 # Check whether --enable-joystick was given.
11952 if test "${enable_joystick+set}" = set; then
11953 enableval=$enable_joystick;
11954 if test "$enableval" = yes; then
11955 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11956 else
11957 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11958 fi
11959
11960 else
11961
11962 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11963 if test "x$LINE" != x ; then
11964 eval "DEFAULT_$LINE"
11965 else
11966 no_cache=1
11967 fi
11968
11969 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11970
11971 fi
11972
11973
11974 eval "$ac_cv_use_joystick"
11975 if test "$no_cache" != 1; then
11976 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11977 fi
11978
11979 if test "$wxUSE_JOYSTICK" = yes; then
11980 { echo "$as_me:$LINENO: result: yes" >&5
11981 echo "${ECHO_T}yes" >&6; }
11982 else
11983 { echo "$as_me:$LINENO: result: no" >&5
11984 echo "${ECHO_T}no" >&6; }
11985 fi
11986
11987
11988 enablestring=
11989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11990 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11991 no_cache=0
11992 # Check whether --enable-metafile was given.
11993 if test "${enable_metafile+set}" = set; then
11994 enableval=$enable_metafile;
11995 if test "$enableval" = yes; then
11996 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11997 else
11998 ac_cv_use_metafile='wxUSE_METAFILE=no'
11999 fi
12000
12001 else
12002
12003 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12004 if test "x$LINE" != x ; then
12005 eval "DEFAULT_$LINE"
12006 else
12007 no_cache=1
12008 fi
12009
12010 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12011
12012 fi
12013
12014
12015 eval "$ac_cv_use_metafile"
12016 if test "$no_cache" != 1; then
12017 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12018 fi
12019
12020 if test "$wxUSE_METAFILE" = yes; then
12021 { echo "$as_me:$LINENO: result: yes" >&5
12022 echo "${ECHO_T}yes" >&6; }
12023 else
12024 { echo "$as_me:$LINENO: result: no" >&5
12025 echo "${ECHO_T}no" >&6; }
12026 fi
12027
12028
12029 enablestring=
12030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12031 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12032 no_cache=0
12033 # Check whether --enable-dragimage was given.
12034 if test "${enable_dragimage+set}" = set; then
12035 enableval=$enable_dragimage;
12036 if test "$enableval" = yes; then
12037 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12038 else
12039 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12040 fi
12041
12042 else
12043
12044 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12045 if test "x$LINE" != x ; then
12046 eval "DEFAULT_$LINE"
12047 else
12048 no_cache=1
12049 fi
12050
12051 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12052
12053 fi
12054
12055
12056 eval "$ac_cv_use_dragimage"
12057 if test "$no_cache" != 1; then
12058 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12059 fi
12060
12061 if test "$wxUSE_DRAGIMAGE" = yes; then
12062 { echo "$as_me:$LINENO: result: yes" >&5
12063 echo "${ECHO_T}yes" >&6; }
12064 else
12065 { echo "$as_me:$LINENO: result: no" >&5
12066 echo "${ECHO_T}no" >&6; }
12067 fi
12068
12069
12070 enablestring=
12071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12072 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12073 no_cache=0
12074 # Check whether --enable-accessibility was given.
12075 if test "${enable_accessibility+set}" = set; then
12076 enableval=$enable_accessibility;
12077 if test "$enableval" = yes; then
12078 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12079 else
12080 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12081 fi
12082
12083 else
12084
12085 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12086 if test "x$LINE" != x ; then
12087 eval "DEFAULT_$LINE"
12088 else
12089 no_cache=1
12090 fi
12091
12092 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12093
12094 fi
12095
12096
12097 eval "$ac_cv_use_accessibility"
12098 if test "$no_cache" != 1; then
12099 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12100 fi
12101
12102 if test "$wxUSE_ACCESSIBILITY" = yes; then
12103 { echo "$as_me:$LINENO: result: yes" >&5
12104 echo "${ECHO_T}yes" >&6; }
12105 else
12106 { echo "$as_me:$LINENO: result: no" >&5
12107 echo "${ECHO_T}no" >&6; }
12108 fi
12109
12110
12111 if test "$wxUSE_MSW" = "1"; then
12112
12113 enablestring=
12114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12115 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12116 no_cache=0
12117 # Check whether --enable-dccache was given.
12118 if test "${enable_dccache+set}" = set; then
12119 enableval=$enable_dccache;
12120 if test "$enableval" = yes; then
12121 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12122 else
12123 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12124 fi
12125
12126 else
12127
12128 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12129 if test "x$LINE" != x ; then
12130 eval "DEFAULT_$LINE"
12131 else
12132 no_cache=1
12133 fi
12134
12135 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12136
12137 fi
12138
12139
12140 eval "$ac_cv_use_dccache"
12141 if test "$no_cache" != 1; then
12142 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12143 fi
12144
12145 if test "$wxUSE_DC_CACHEING" = yes; then
12146 { echo "$as_me:$LINENO: result: yes" >&5
12147 echo "${ECHO_T}yes" >&6; }
12148 else
12149 { echo "$as_me:$LINENO: result: no" >&5
12150 echo "${ECHO_T}no" >&6; }
12151 fi
12152
12153 fi
12154
12155
12156
12157 enablestring=
12158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12159 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12160 no_cache=0
12161 # Check whether --enable-palette was given.
12162 if test "${enable_palette+set}" = set; then
12163 enableval=$enable_palette;
12164 if test "$enableval" = yes; then
12165 ac_cv_use_palette='wxUSE_PALETTE=yes'
12166 else
12167 ac_cv_use_palette='wxUSE_PALETTE=no'
12168 fi
12169
12170 else
12171
12172 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12173 if test "x$LINE" != x ; then
12174 eval "DEFAULT_$LINE"
12175 else
12176 no_cache=1
12177 fi
12178
12179 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12180
12181 fi
12182
12183
12184 eval "$ac_cv_use_palette"
12185 if test "$no_cache" != 1; then
12186 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12187 fi
12188
12189 if test "$wxUSE_PALETTE" = yes; then
12190 { echo "$as_me:$LINENO: result: yes" >&5
12191 echo "${ECHO_T}yes" >&6; }
12192 else
12193 { echo "$as_me:$LINENO: result: no" >&5
12194 echo "${ECHO_T}no" >&6; }
12195 fi
12196
12197
12198 enablestring=
12199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12200 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12201 no_cache=0
12202 # Check whether --enable-image was given.
12203 if test "${enable_image+set}" = set; then
12204 enableval=$enable_image;
12205 if test "$enableval" = yes; then
12206 ac_cv_use_image='wxUSE_IMAGE=yes'
12207 else
12208 ac_cv_use_image='wxUSE_IMAGE=no'
12209 fi
12210
12211 else
12212
12213 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12214 if test "x$LINE" != x ; then
12215 eval "DEFAULT_$LINE"
12216 else
12217 no_cache=1
12218 fi
12219
12220 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12221
12222 fi
12223
12224
12225 eval "$ac_cv_use_image"
12226 if test "$no_cache" != 1; then
12227 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12228 fi
12229
12230 if test "$wxUSE_IMAGE" = yes; then
12231 { echo "$as_me:$LINENO: result: yes" >&5
12232 echo "${ECHO_T}yes" >&6; }
12233 else
12234 { echo "$as_me:$LINENO: result: no" >&5
12235 echo "${ECHO_T}no" >&6; }
12236 fi
12237
12238
12239 enablestring=
12240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12241 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12242 no_cache=0
12243 # Check whether --enable-gif was given.
12244 if test "${enable_gif+set}" = set; then
12245 enableval=$enable_gif;
12246 if test "$enableval" = yes; then
12247 ac_cv_use_gif='wxUSE_GIF=yes'
12248 else
12249 ac_cv_use_gif='wxUSE_GIF=no'
12250 fi
12251
12252 else
12253
12254 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12255 if test "x$LINE" != x ; then
12256 eval "DEFAULT_$LINE"
12257 else
12258 no_cache=1
12259 fi
12260
12261 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12262
12263 fi
12264
12265
12266 eval "$ac_cv_use_gif"
12267 if test "$no_cache" != 1; then
12268 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12269 fi
12270
12271 if test "$wxUSE_GIF" = yes; then
12272 { echo "$as_me:$LINENO: result: yes" >&5
12273 echo "${ECHO_T}yes" >&6; }
12274 else
12275 { echo "$as_me:$LINENO: result: no" >&5
12276 echo "${ECHO_T}no" >&6; }
12277 fi
12278
12279
12280 enablestring=
12281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12282 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12283 no_cache=0
12284 # Check whether --enable-pcx was given.
12285 if test "${enable_pcx+set}" = set; then
12286 enableval=$enable_pcx;
12287 if test "$enableval" = yes; then
12288 ac_cv_use_pcx='wxUSE_PCX=yes'
12289 else
12290 ac_cv_use_pcx='wxUSE_PCX=no'
12291 fi
12292
12293 else
12294
12295 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12296 if test "x$LINE" != x ; then
12297 eval "DEFAULT_$LINE"
12298 else
12299 no_cache=1
12300 fi
12301
12302 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12303
12304 fi
12305
12306
12307 eval "$ac_cv_use_pcx"
12308 if test "$no_cache" != 1; then
12309 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12310 fi
12311
12312 if test "$wxUSE_PCX" = yes; then
12313 { echo "$as_me:$LINENO: result: yes" >&5
12314 echo "${ECHO_T}yes" >&6; }
12315 else
12316 { echo "$as_me:$LINENO: result: no" >&5
12317 echo "${ECHO_T}no" >&6; }
12318 fi
12319
12320
12321 enablestring=
12322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12323 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12324 no_cache=0
12325 # Check whether --enable-tga was given.
12326 if test "${enable_tga+set}" = set; then
12327 enableval=$enable_tga;
12328 if test "$enableval" = yes; then
12329 ac_cv_use_tga='wxUSE_TGA=yes'
12330 else
12331 ac_cv_use_tga='wxUSE_TGA=no'
12332 fi
12333
12334 else
12335
12336 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12337 if test "x$LINE" != x ; then
12338 eval "DEFAULT_$LINE"
12339 else
12340 no_cache=1
12341 fi
12342
12343 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12344
12345 fi
12346
12347
12348 eval "$ac_cv_use_tga"
12349 if test "$no_cache" != 1; then
12350 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12351 fi
12352
12353 if test "$wxUSE_TGA" = yes; then
12354 { echo "$as_me:$LINENO: result: yes" >&5
12355 echo "${ECHO_T}yes" >&6; }
12356 else
12357 { echo "$as_me:$LINENO: result: no" >&5
12358 echo "${ECHO_T}no" >&6; }
12359 fi
12360
12361
12362 enablestring=
12363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12364 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12365 no_cache=0
12366 # Check whether --enable-iff was given.
12367 if test "${enable_iff+set}" = set; then
12368 enableval=$enable_iff;
12369 if test "$enableval" = yes; then
12370 ac_cv_use_iff='wxUSE_IFF=yes'
12371 else
12372 ac_cv_use_iff='wxUSE_IFF=no'
12373 fi
12374
12375 else
12376
12377 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12378 if test "x$LINE" != x ; then
12379 eval "DEFAULT_$LINE"
12380 else
12381 no_cache=1
12382 fi
12383
12384 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12385
12386 fi
12387
12388
12389 eval "$ac_cv_use_iff"
12390 if test "$no_cache" != 1; then
12391 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12392 fi
12393
12394 if test "$wxUSE_IFF" = yes; then
12395 { echo "$as_me:$LINENO: result: yes" >&5
12396 echo "${ECHO_T}yes" >&6; }
12397 else
12398 { echo "$as_me:$LINENO: result: no" >&5
12399 echo "${ECHO_T}no" >&6; }
12400 fi
12401
12402
12403 enablestring=
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12406 no_cache=0
12407 # Check whether --enable-pnm was given.
12408 if test "${enable_pnm+set}" = set; then
12409 enableval=$enable_pnm;
12410 if test "$enableval" = yes; then
12411 ac_cv_use_pnm='wxUSE_PNM=yes'
12412 else
12413 ac_cv_use_pnm='wxUSE_PNM=no'
12414 fi
12415
12416 else
12417
12418 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12419 if test "x$LINE" != x ; then
12420 eval "DEFAULT_$LINE"
12421 else
12422 no_cache=1
12423 fi
12424
12425 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12426
12427 fi
12428
12429
12430 eval "$ac_cv_use_pnm"
12431 if test "$no_cache" != 1; then
12432 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12433 fi
12434
12435 if test "$wxUSE_PNM" = yes; then
12436 { echo "$as_me:$LINENO: result: yes" >&5
12437 echo "${ECHO_T}yes" >&6; }
12438 else
12439 { echo "$as_me:$LINENO: result: no" >&5
12440 echo "${ECHO_T}no" >&6; }
12441 fi
12442
12443
12444 enablestring=
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12447 no_cache=0
12448 # Check whether --enable-xpm was given.
12449 if test "${enable_xpm+set}" = set; then
12450 enableval=$enable_xpm;
12451 if test "$enableval" = yes; then
12452 ac_cv_use_xpm='wxUSE_XPM=yes'
12453 else
12454 ac_cv_use_xpm='wxUSE_XPM=no'
12455 fi
12456
12457 else
12458
12459 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12460 if test "x$LINE" != x ; then
12461 eval "DEFAULT_$LINE"
12462 else
12463 no_cache=1
12464 fi
12465
12466 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12467
12468 fi
12469
12470
12471 eval "$ac_cv_use_xpm"
12472 if test "$no_cache" != 1; then
12473 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12474 fi
12475
12476 if test "$wxUSE_XPM" = yes; then
12477 { echo "$as_me:$LINENO: result: yes" >&5
12478 echo "${ECHO_T}yes" >&6; }
12479 else
12480 { echo "$as_me:$LINENO: result: no" >&5
12481 echo "${ECHO_T}no" >&6; }
12482 fi
12483
12484
12485 enablestring=
12486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12487 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12488 no_cache=0
12489 # Check whether --enable-ico_cur was given.
12490 if test "${enable_ico_cur+set}" = set; then
12491 enableval=$enable_ico_cur;
12492 if test "$enableval" = yes; then
12493 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12494 else
12495 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12496 fi
12497
12498 else
12499
12500 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12501 if test "x$LINE" != x ; then
12502 eval "DEFAULT_$LINE"
12503 else
12504 no_cache=1
12505 fi
12506
12507 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12508
12509 fi
12510
12511
12512 eval "$ac_cv_use_ico_cur"
12513 if test "$no_cache" != 1; then
12514 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12515 fi
12516
12517 if test "$wxUSE_ICO_CUR" = yes; then
12518 { echo "$as_me:$LINENO: result: yes" >&5
12519 echo "${ECHO_T}yes" >&6; }
12520 else
12521 { echo "$as_me:$LINENO: result: no" >&5
12522 echo "${ECHO_T}no" >&6; }
12523 fi
12524
12525
12526 fi
12527
12528
12529
12530 # Check whether --with-flavour was given.
12531 if test "${with_flavour+set}" = set; then
12532 withval=$with_flavour; WX_FLAVOUR="$withval"
12533 fi
12534
12535
12536
12537
12538 enablestring=
12539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12540 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12541 no_cache=0
12542 # Check whether --enable-official_build was given.
12543 if test "${enable_official_build+set}" = set; then
12544 enableval=$enable_official_build;
12545 if test "$enableval" = yes; then
12546 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12547 else
12548 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12549 fi
12550
12551 else
12552
12553 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12554 if test "x$LINE" != x ; then
12555 eval "DEFAULT_$LINE"
12556 else
12557 no_cache=1
12558 fi
12559
12560 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12561
12562 fi
12563
12564
12565 eval "$ac_cv_use_official_build"
12566 if test "$no_cache" != 1; then
12567 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12568 fi
12569
12570 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12571 { echo "$as_me:$LINENO: result: yes" >&5
12572 echo "${ECHO_T}yes" >&6; }
12573 else
12574 { echo "$as_me:$LINENO: result: no" >&5
12575 echo "${ECHO_T}no" >&6; }
12576 fi
12577
12578 # Check whether --enable-vendor was given.
12579 if test "${enable_vendor+set}" = set; then
12580 enableval=$enable_vendor; VENDOR="$enableval"
12581 fi
12582
12583 if test "x$VENDOR" = "x"; then
12584 VENDOR="custom"
12585 fi
12586
12587
12588
12589
12590 echo "saving argument cache $wx_arg_cache_file"
12591 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12592
12593
12594
12595 { echo "$as_me:$LINENO: checking for toolkit" >&5
12596 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12597
12598 # In Wine, we need to default to MSW, not GTK or MOTIF
12599 if test "$wxUSE_WINE" = "yes"; then
12600 DEFAULT_DEFAULT_wxUSE_GTK=0
12601 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12602 DEFAULT_DEFAULT_wxUSE_MSW=1
12603 wxUSE_SHARED=no
12604 CC=${CC:-winegcc}
12605 CXX=${CXX:-wineg++}
12606 fi
12607
12608
12609 if test "$wxUSE_GUI" = "yes"; then
12610
12611 if test "$USE_BEOS" = 1; then
12612 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12613 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12614 { (exit 1); exit 1; }; }
12615 fi
12616
12617 if test "$TOOLKIT_GIVEN" = 1; then
12618 for toolkit in `echo $ALL_TOOLKITS`; do
12619 var=wxUSE_$toolkit
12620 eval "value=\$${var}"
12621 if test "x$value" = "xno"; then
12622 eval "$var=0"
12623 elif test "x$value" != "x"; then
12624 eval "$var=1"
12625 fi
12626
12627 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12628 eval "wx${toolkit}_VERSION=$value"
12629 fi
12630 done
12631 else
12632 for toolkit in `echo $ALL_TOOLKITS`; do
12633 if test "$has_toolkit_in_cache" != 1; then
12634 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12635 else
12636 var=DEFAULT_wxUSE_$toolkit
12637
12638 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12639 if test "x$version" != "x"; then
12640 eval "wx${toolkit}_VERSION=$version"
12641 fi
12642 fi
12643 eval "wxUSE_$toolkit=\$${var}"
12644 done
12645 fi
12646
12647 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12648 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12649 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12650
12651 case "${host}" in
12652 *-pc-os2_emx | *-pc-os2-emx )
12653 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12654 esac
12655
12656 case "$NUM_TOOLKITS" in
12657 1)
12658 ;;
12659 0)
12660 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12661 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12662 { (exit 1); exit 1; }; }
12663 ;;
12664 *)
12665 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12666 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12667 { (exit 1); exit 1; }; }
12668 esac
12669
12670 # to be removed when --disable-gtk2 isn't needed
12671 if test "x$wxUSE_GTK2" = "xyes"; then
12672 wxGTK_VERSION=2
12673 elif test "x$wxUSE_GTK2" = "xno"; then
12674 wxGTK_VERSION=1
12675 fi
12676
12677 for toolkit in `echo $ALL_TOOLKITS`; do
12678 var=wxUSE_$toolkit
12679 eval "value=\$${var}"
12680 if test "x$value" != x; then
12681 cache_var=CACHE_$toolkit
12682 eval "cache=\$${cache_var}"
12683 if test "$cache" = 1; then
12684 echo "$var=$value" >> ${wx_arg_cache_file}
12685 eval "version=\$wx${toolkit}_VERSION"
12686 if test "x$version" != "x"; then
12687 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12688 fi
12689 fi
12690 if test "$value" = 1; then
12691 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12692 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12693 echo "${ECHO_T}$toolkit_echo" >&6; }
12694 fi
12695 fi
12696 done
12697 else
12698 if test "x$host_alias" != "x"; then
12699 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12700 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12701 else
12702 { echo "$as_me:$LINENO: result: base only" >&5
12703 echo "${ECHO_T}base only" >&6; }
12704 fi
12705 fi
12706
12707
12708 cat >confcache <<\_ACEOF
12709 # This file is a shell script that caches the results of configure
12710 # tests run on this system so they can be shared between configure
12711 # scripts and configure runs, see configure's option --config-cache.
12712 # It is not useful on other systems. If it contains results you don't
12713 # want to keep, you may remove or edit it.
12714 #
12715 # config.status only pays attention to the cache file if you give it
12716 # the --recheck option to rerun configure.
12717 #
12718 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12720 # following values.
12721
12722 _ACEOF
12723
12724 # The following way of writing the cache mishandles newlines in values,
12725 # but we know of no workaround that is simple, portable, and efficient.
12726 # So, we kill variables containing newlines.
12727 # Ultrix sh set writes to stderr and can't be redirected directly,
12728 # and sets the high bit in the cache file unless we assign to the vars.
12729 (
12730 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12731 eval ac_val=\$$ac_var
12732 case $ac_val in #(
12733 *${as_nl}*)
12734 case $ac_var in #(
12735 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12736 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12737 esac
12738 case $ac_var in #(
12739 _ | IFS | as_nl) ;; #(
12740 *) $as_unset $ac_var ;;
12741 esac ;;
12742 esac
12743 done
12744
12745 (set) 2>&1 |
12746 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12747 *${as_nl}ac_space=\ *)
12748 # `set' does not quote correctly, so add quotes (double-quote
12749 # substitution turns \\\\ into \\, and sed turns \\ into \).
12750 sed -n \
12751 "s/'/'\\\\''/g;
12752 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12753 ;; #(
12754 *)
12755 # `set' quotes correctly as required by POSIX, so do not add quotes.
12756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12757 ;;
12758 esac |
12759 sort
12760 ) |
12761 sed '
12762 /^ac_cv_env_/b end
12763 t clear
12764 :clear
12765 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12766 t end
12767 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12768 :end' >>confcache
12769 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12770 if test -w "$cache_file"; then
12771 test "x$cache_file" != "x/dev/null" &&
12772 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12773 echo "$as_me: updating cache $cache_file" >&6;}
12774 cat confcache >$cache_file
12775 else
12776 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12777 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12778 fi
12779 fi
12780 rm -f confcache
12781
12782 CFLAGS=${CFLAGS:=}
12783
12784
12785
12786 ac_ext=c
12787 ac_cpp='$CPP $CPPFLAGS'
12788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12791 if test -n "$ac_tool_prefix"; then
12792 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12793 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12796 if test "${ac_cv_prog_CC+set}" = set; then
12797 echo $ECHO_N "(cached) $ECHO_C" >&6
12798 else
12799 if test -n "$CC"; then
12800 ac_cv_prog_CC="$CC" # Let the user override the test.
12801 else
12802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12803 for as_dir in $PATH
12804 do
12805 IFS=$as_save_IFS
12806 test -z "$as_dir" && as_dir=.
12807 for ac_exec_ext in '' $ac_executable_extensions; do
12808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12809 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12811 break 2
12812 fi
12813 done
12814 done
12815 IFS=$as_save_IFS
12816
12817 fi
12818 fi
12819 CC=$ac_cv_prog_CC
12820 if test -n "$CC"; then
12821 { echo "$as_me:$LINENO: result: $CC" >&5
12822 echo "${ECHO_T}$CC" >&6; }
12823 else
12824 { echo "$as_me:$LINENO: result: no" >&5
12825 echo "${ECHO_T}no" >&6; }
12826 fi
12827
12828
12829 fi
12830 if test -z "$ac_cv_prog_CC"; then
12831 ac_ct_CC=$CC
12832 # Extract the first word of "gcc", so it can be a program name with args.
12833 set dummy gcc; ac_word=$2
12834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12836 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12837 echo $ECHO_N "(cached) $ECHO_C" >&6
12838 else
12839 if test -n "$ac_ct_CC"; then
12840 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12841 else
12842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843 for as_dir in $PATH
12844 do
12845 IFS=$as_save_IFS
12846 test -z "$as_dir" && as_dir=.
12847 for ac_exec_ext in '' $ac_executable_extensions; do
12848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12849 ac_cv_prog_ac_ct_CC="gcc"
12850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12851 break 2
12852 fi
12853 done
12854 done
12855 IFS=$as_save_IFS
12856
12857 fi
12858 fi
12859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12860 if test -n "$ac_ct_CC"; then
12861 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12862 echo "${ECHO_T}$ac_ct_CC" >&6; }
12863 else
12864 { echo "$as_me:$LINENO: result: no" >&5
12865 echo "${ECHO_T}no" >&6; }
12866 fi
12867
12868 if test "x$ac_ct_CC" = x; then
12869 CC=""
12870 else
12871 case $cross_compiling:$ac_tool_warned in
12872 yes:)
12873 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12874 whose name does not start with the host triplet. If you think this
12875 configuration is useful to you, please write to autoconf@gnu.org." >&5
12876 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12877 whose name does not start with the host triplet. If you think this
12878 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12879 ac_tool_warned=yes ;;
12880 esac
12881 CC=$ac_ct_CC
12882 fi
12883 else
12884 CC="$ac_cv_prog_CC"
12885 fi
12886
12887 if test -z "$CC"; then
12888 if test -n "$ac_tool_prefix"; then
12889 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12890 set dummy ${ac_tool_prefix}cc; ac_word=$2
12891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12893 if test "${ac_cv_prog_CC+set}" = set; then
12894 echo $ECHO_N "(cached) $ECHO_C" >&6
12895 else
12896 if test -n "$CC"; then
12897 ac_cv_prog_CC="$CC" # Let the user override the test.
12898 else
12899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12900 for as_dir in $PATH
12901 do
12902 IFS=$as_save_IFS
12903 test -z "$as_dir" && as_dir=.
12904 for ac_exec_ext in '' $ac_executable_extensions; do
12905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12906 ac_cv_prog_CC="${ac_tool_prefix}cc"
12907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12908 break 2
12909 fi
12910 done
12911 done
12912 IFS=$as_save_IFS
12913
12914 fi
12915 fi
12916 CC=$ac_cv_prog_CC
12917 if test -n "$CC"; then
12918 { echo "$as_me:$LINENO: result: $CC" >&5
12919 echo "${ECHO_T}$CC" >&6; }
12920 else
12921 { echo "$as_me:$LINENO: result: no" >&5
12922 echo "${ECHO_T}no" >&6; }
12923 fi
12924
12925
12926 fi
12927 fi
12928 if test -z "$CC"; then
12929 # Extract the first word of "cc", so it can be a program name with args.
12930 set dummy cc; ac_word=$2
12931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12933 if test "${ac_cv_prog_CC+set}" = set; then
12934 echo $ECHO_N "(cached) $ECHO_C" >&6
12935 else
12936 if test -n "$CC"; then
12937 ac_cv_prog_CC="$CC" # Let the user override the test.
12938 else
12939 ac_prog_rejected=no
12940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12941 for as_dir in $PATH
12942 do
12943 IFS=$as_save_IFS
12944 test -z "$as_dir" && as_dir=.
12945 for ac_exec_ext in '' $ac_executable_extensions; do
12946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12947 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12948 ac_prog_rejected=yes
12949 continue
12950 fi
12951 ac_cv_prog_CC="cc"
12952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12953 break 2
12954 fi
12955 done
12956 done
12957 IFS=$as_save_IFS
12958
12959 if test $ac_prog_rejected = yes; then
12960 # We found a bogon in the path, so make sure we never use it.
12961 set dummy $ac_cv_prog_CC
12962 shift
12963 if test $# != 0; then
12964 # We chose a different compiler from the bogus one.
12965 # However, it has the same basename, so the bogon will be chosen
12966 # first if we set CC to just the basename; use the full file name.
12967 shift
12968 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12969 fi
12970 fi
12971 fi
12972 fi
12973 CC=$ac_cv_prog_CC
12974 if test -n "$CC"; then
12975 { echo "$as_me:$LINENO: result: $CC" >&5
12976 echo "${ECHO_T}$CC" >&6; }
12977 else
12978 { echo "$as_me:$LINENO: result: no" >&5
12979 echo "${ECHO_T}no" >&6; }
12980 fi
12981
12982
12983 fi
12984 if test -z "$CC"; then
12985 if test -n "$ac_tool_prefix"; then
12986 for ac_prog in cl.exe
12987 do
12988 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12989 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12992 if test "${ac_cv_prog_CC+set}" = set; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 else
12995 if test -n "$CC"; then
12996 ac_cv_prog_CC="$CC" # Let the user override the test.
12997 else
12998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12999 for as_dir in $PATH
13000 do
13001 IFS=$as_save_IFS
13002 test -z "$as_dir" && as_dir=.
13003 for ac_exec_ext in '' $ac_executable_extensions; do
13004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13005 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13007 break 2
13008 fi
13009 done
13010 done
13011 IFS=$as_save_IFS
13012
13013 fi
13014 fi
13015 CC=$ac_cv_prog_CC
13016 if test -n "$CC"; then
13017 { echo "$as_me:$LINENO: result: $CC" >&5
13018 echo "${ECHO_T}$CC" >&6; }
13019 else
13020 { echo "$as_me:$LINENO: result: no" >&5
13021 echo "${ECHO_T}no" >&6; }
13022 fi
13023
13024
13025 test -n "$CC" && break
13026 done
13027 fi
13028 if test -z "$CC"; then
13029 ac_ct_CC=$CC
13030 for ac_prog in cl.exe
13031 do
13032 # Extract the first word of "$ac_prog", so it can be a program name with args.
13033 set dummy $ac_prog; ac_word=$2
13034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13036 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13037 echo $ECHO_N "(cached) $ECHO_C" >&6
13038 else
13039 if test -n "$ac_ct_CC"; then
13040 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13041 else
13042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13043 for as_dir in $PATH
13044 do
13045 IFS=$as_save_IFS
13046 test -z "$as_dir" && as_dir=.
13047 for ac_exec_ext in '' $ac_executable_extensions; do
13048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13049 ac_cv_prog_ac_ct_CC="$ac_prog"
13050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13051 break 2
13052 fi
13053 done
13054 done
13055 IFS=$as_save_IFS
13056
13057 fi
13058 fi
13059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13060 if test -n "$ac_ct_CC"; then
13061 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13062 echo "${ECHO_T}$ac_ct_CC" >&6; }
13063 else
13064 { echo "$as_me:$LINENO: result: no" >&5
13065 echo "${ECHO_T}no" >&6; }
13066 fi
13067
13068
13069 test -n "$ac_ct_CC" && break
13070 done
13071
13072 if test "x$ac_ct_CC" = x; then
13073 CC=""
13074 else
13075 case $cross_compiling:$ac_tool_warned in
13076 yes:)
13077 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13078 whose name does not start with the host triplet. If you think this
13079 configuration is useful to you, please write to autoconf@gnu.org." >&5
13080 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13081 whose name does not start with the host triplet. If you think this
13082 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13083 ac_tool_warned=yes ;;
13084 esac
13085 CC=$ac_ct_CC
13086 fi
13087 fi
13088
13089 fi
13090
13091
13092 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13093 See \`config.log' for more details." >&5
13094 echo "$as_me: error: no acceptable C compiler found in \$PATH
13095 See \`config.log' for more details." >&2;}
13096 { (exit 1); exit 1; }; }
13097
13098 # Provide some information about the compiler.
13099 echo "$as_me:$LINENO: checking for C compiler version" >&5
13100 ac_compiler=`set X $ac_compile; echo $2`
13101 { (ac_try="$ac_compiler --version >&5"
13102 case "(($ac_try" in
13103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13104 *) ac_try_echo=$ac_try;;
13105 esac
13106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13107 (eval "$ac_compiler --version >&5") 2>&5
13108 ac_status=$?
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); }
13111 { (ac_try="$ac_compiler -v >&5"
13112 case "(($ac_try" in
13113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13114 *) ac_try_echo=$ac_try;;
13115 esac
13116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13117 (eval "$ac_compiler -v >&5") 2>&5
13118 ac_status=$?
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }
13121 { (ac_try="$ac_compiler -V >&5"
13122 case "(($ac_try" in
13123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13124 *) ac_try_echo=$ac_try;;
13125 esac
13126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13127 (eval "$ac_compiler -V >&5") 2>&5
13128 ac_status=$?
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); }
13131
13132 cat >conftest.$ac_ext <<_ACEOF
13133 /* confdefs.h. */
13134 _ACEOF
13135 cat confdefs.h >>conftest.$ac_ext
13136 cat >>conftest.$ac_ext <<_ACEOF
13137 /* end confdefs.h. */
13138
13139 int
13140 main ()
13141 {
13142
13143 ;
13144 return 0;
13145 }
13146 _ACEOF
13147 ac_clean_files_save=$ac_clean_files
13148 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13149 # Try to create an executable without -o first, disregard a.out.
13150 # It will help us diagnose broken compilers, and finding out an intuition
13151 # of exeext.
13152 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13153 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13154 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13155 #
13156 # List of possible output files, starting from the most likely.
13157 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13158 # only as a last resort. b.out is created by i960 compilers.
13159 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13160 #
13161 # The IRIX 6 linker writes into existing files which may not be
13162 # executable, retaining their permissions. Remove them first so a
13163 # subsequent execution test works.
13164 ac_rmfiles=
13165 for ac_file in $ac_files
13166 do
13167 case $ac_file in
13168 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13169 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13170 esac
13171 done
13172 rm -f $ac_rmfiles
13173
13174 if { (ac_try="$ac_link_default"
13175 case "(($ac_try" in
13176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13177 *) ac_try_echo=$ac_try;;
13178 esac
13179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13180 (eval "$ac_link_default") 2>&5
13181 ac_status=$?
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; then
13184 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13185 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13186 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13187 # so that the user can short-circuit this test for compilers unknown to
13188 # Autoconf.
13189 for ac_file in $ac_files ''
13190 do
13191 test -f "$ac_file" || continue
13192 case $ac_file in
13193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13194 ;;
13195 [ab].out )
13196 # We found the default executable, but exeext='' is most
13197 # certainly right.
13198 break;;
13199 *.* )
13200 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13201 then :; else
13202 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13203 fi
13204 # We set ac_cv_exeext here because the later test for it is not
13205 # safe: cross compilers may not add the suffix if given an `-o'
13206 # argument, so we may need to know it at that point already.
13207 # Even if this section looks crufty: it has the advantage of
13208 # actually working.
13209 break;;
13210 * )
13211 break;;
13212 esac
13213 done
13214 test "$ac_cv_exeext" = no && ac_cv_exeext=
13215
13216 else
13217 ac_file=''
13218 fi
13219
13220 { echo "$as_me:$LINENO: result: $ac_file" >&5
13221 echo "${ECHO_T}$ac_file" >&6; }
13222 if test -z "$ac_file"; then
13223 echo "$as_me: failed program was:" >&5
13224 sed 's/^/| /' conftest.$ac_ext >&5
13225
13226 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: C compiler cannot create executables
13229 See \`config.log' for more details." >&2;}
13230 { (exit 77); exit 77; }; }
13231 fi
13232
13233 ac_exeext=$ac_cv_exeext
13234
13235 # Check that the compiler produces executables we can run. If not, either
13236 # the compiler is broken, or we cross compile.
13237 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13238 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13239 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13240 # If not cross compiling, check that we can run a simple program.
13241 if test "$cross_compiling" != yes; then
13242 if { ac_try='./$ac_file'
13243 { (case "(($ac_try" in
13244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13245 *) ac_try_echo=$ac_try;;
13246 esac
13247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13248 (eval "$ac_try") 2>&5
13249 ac_status=$?
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }; }; then
13252 cross_compiling=no
13253 else
13254 if test "$cross_compiling" = maybe; then
13255 cross_compiling=yes
13256 else
13257 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13258 If you meant to cross compile, use \`--host'.
13259 See \`config.log' for more details." >&5
13260 echo "$as_me: error: cannot run C compiled programs.
13261 If you meant to cross compile, use \`--host'.
13262 See \`config.log' for more details." >&2;}
13263 { (exit 1); exit 1; }; }
13264 fi
13265 fi
13266 fi
13267 { echo "$as_me:$LINENO: result: yes" >&5
13268 echo "${ECHO_T}yes" >&6; }
13269
13270 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13271 ac_clean_files=$ac_clean_files_save
13272 # Check that the compiler produces executables we can run. If not, either
13273 # the compiler is broken, or we cross compile.
13274 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13275 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13276 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13277 echo "${ECHO_T}$cross_compiling" >&6; }
13278
13279 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13280 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13281 if { (ac_try="$ac_link"
13282 case "(($ac_try" in
13283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13284 *) ac_try_echo=$ac_try;;
13285 esac
13286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13287 (eval "$ac_link") 2>&5
13288 ac_status=$?
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); }; then
13291 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13292 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13293 # work properly (i.e., refer to `conftest.exe'), while it won't with
13294 # `rm'.
13295 for ac_file in conftest.exe conftest conftest.*; do
13296 test -f "$ac_file" || continue
13297 case $ac_file in
13298 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13299 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13300 break;;
13301 * ) break;;
13302 esac
13303 done
13304 else
13305 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13306 See \`config.log' for more details." >&5
13307 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13308 See \`config.log' for more details." >&2;}
13309 { (exit 1); exit 1; }; }
13310 fi
13311
13312 rm -f conftest$ac_cv_exeext
13313 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13314 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13315
13316 rm -f conftest.$ac_ext
13317 EXEEXT=$ac_cv_exeext
13318 ac_exeext=$EXEEXT
13319 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13320 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13321 if test "${ac_cv_objext+set}" = set; then
13322 echo $ECHO_N "(cached) $ECHO_C" >&6
13323 else
13324 cat >conftest.$ac_ext <<_ACEOF
13325 /* confdefs.h. */
13326 _ACEOF
13327 cat confdefs.h >>conftest.$ac_ext
13328 cat >>conftest.$ac_ext <<_ACEOF
13329 /* end confdefs.h. */
13330
13331 int
13332 main ()
13333 {
13334
13335 ;
13336 return 0;
13337 }
13338 _ACEOF
13339 rm -f conftest.o conftest.obj
13340 if { (ac_try="$ac_compile"
13341 case "(($ac_try" in
13342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13343 *) ac_try_echo=$ac_try;;
13344 esac
13345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13346 (eval "$ac_compile") 2>&5
13347 ac_status=$?
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; then
13350 for ac_file in conftest.o conftest.obj conftest.*; do
13351 test -f "$ac_file" || continue;
13352 case $ac_file in
13353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13354 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13355 break;;
13356 esac
13357 done
13358 else
13359 echo "$as_me: failed program was:" >&5
13360 sed 's/^/| /' conftest.$ac_ext >&5
13361
13362 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13363 See \`config.log' for more details." >&5
13364 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13365 See \`config.log' for more details." >&2;}
13366 { (exit 1); exit 1; }; }
13367 fi
13368
13369 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13370 fi
13371 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13372 echo "${ECHO_T}$ac_cv_objext" >&6; }
13373 OBJEXT=$ac_cv_objext
13374 ac_objext=$OBJEXT
13375 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13376 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13377 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13378 echo $ECHO_N "(cached) $ECHO_C" >&6
13379 else
13380 cat >conftest.$ac_ext <<_ACEOF
13381 /* confdefs.h. */
13382 _ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13386
13387 int
13388 main ()
13389 {
13390 #ifndef __GNUC__
13391 choke me
13392 #endif
13393
13394 ;
13395 return 0;
13396 }
13397 _ACEOF
13398 rm -f conftest.$ac_objext
13399 if { (ac_try="$ac_compile"
13400 case "(($ac_try" in
13401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13402 *) ac_try_echo=$ac_try;;
13403 esac
13404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13405 (eval "$ac_compile") 2>conftest.er1
13406 ac_status=$?
13407 grep -v '^ *+' conftest.er1 >conftest.err
13408 rm -f conftest.er1
13409 cat conftest.err >&5
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); } && {
13412 test -z "$ac_c_werror_flag" ||
13413 test ! -s conftest.err
13414 } && test -s conftest.$ac_objext; then
13415 ac_compiler_gnu=yes
13416 else
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.$ac_ext >&5
13419
13420 ac_compiler_gnu=no
13421 fi
13422
13423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13424 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13425
13426 fi
13427 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13428 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13429 GCC=`test $ac_compiler_gnu = yes && echo yes`
13430 ac_test_CFLAGS=${CFLAGS+set}
13431 ac_save_CFLAGS=$CFLAGS
13432 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13433 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13434 if test "${ac_cv_prog_cc_g+set}" = set; then
13435 echo $ECHO_N "(cached) $ECHO_C" >&6
13436 else
13437 ac_save_c_werror_flag=$ac_c_werror_flag
13438 ac_c_werror_flag=yes
13439 ac_cv_prog_cc_g=no
13440 CFLAGS="-g"
13441 cat >conftest.$ac_ext <<_ACEOF
13442 /* confdefs.h. */
13443 _ACEOF
13444 cat confdefs.h >>conftest.$ac_ext
13445 cat >>conftest.$ac_ext <<_ACEOF
13446 /* end confdefs.h. */
13447
13448 int
13449 main ()
13450 {
13451
13452 ;
13453 return 0;
13454 }
13455 _ACEOF
13456 rm -f conftest.$ac_objext
13457 if { (ac_try="$ac_compile"
13458 case "(($ac_try" in
13459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13460 *) ac_try_echo=$ac_try;;
13461 esac
13462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13463 (eval "$ac_compile") 2>conftest.er1
13464 ac_status=$?
13465 grep -v '^ *+' conftest.er1 >conftest.err
13466 rm -f conftest.er1
13467 cat conftest.err >&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); } && {
13470 test -z "$ac_c_werror_flag" ||
13471 test ! -s conftest.err
13472 } && test -s conftest.$ac_objext; then
13473 ac_cv_prog_cc_g=yes
13474 else
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13477
13478 CFLAGS=""
13479 cat >conftest.$ac_ext <<_ACEOF
13480 /* confdefs.h. */
13481 _ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13485
13486 int
13487 main ()
13488 {
13489
13490 ;
13491 return 0;
13492 }
13493 _ACEOF
13494 rm -f conftest.$ac_objext
13495 if { (ac_try="$ac_compile"
13496 case "(($ac_try" in
13497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13499 esac
13500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_compile") 2>conftest.er1
13502 ac_status=$?
13503 grep -v '^ *+' conftest.er1 >conftest.err
13504 rm -f conftest.er1
13505 cat conftest.err >&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } && {
13508 test -z "$ac_c_werror_flag" ||
13509 test ! -s conftest.err
13510 } && test -s conftest.$ac_objext; then
13511 :
13512 else
13513 echo "$as_me: failed program was:" >&5
13514 sed 's/^/| /' conftest.$ac_ext >&5
13515
13516 ac_c_werror_flag=$ac_save_c_werror_flag
13517 CFLAGS="-g"
13518 cat >conftest.$ac_ext <<_ACEOF
13519 /* confdefs.h. */
13520 _ACEOF
13521 cat confdefs.h >>conftest.$ac_ext
13522 cat >>conftest.$ac_ext <<_ACEOF
13523 /* end confdefs.h. */
13524
13525 int
13526 main ()
13527 {
13528
13529 ;
13530 return 0;
13531 }
13532 _ACEOF
13533 rm -f conftest.$ac_objext
13534 if { (ac_try="$ac_compile"
13535 case "(($ac_try" in
13536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13537 *) ac_try_echo=$ac_try;;
13538 esac
13539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13540 (eval "$ac_compile") 2>conftest.er1
13541 ac_status=$?
13542 grep -v '^ *+' conftest.er1 >conftest.err
13543 rm -f conftest.er1
13544 cat conftest.err >&5
13545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546 (exit $ac_status); } && {
13547 test -z "$ac_c_werror_flag" ||
13548 test ! -s conftest.err
13549 } && test -s conftest.$ac_objext; then
13550 ac_cv_prog_cc_g=yes
13551 else
13552 echo "$as_me: failed program was:" >&5
13553 sed 's/^/| /' conftest.$ac_ext >&5
13554
13555
13556 fi
13557
13558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13559 fi
13560
13561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13562 fi
13563
13564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13565 ac_c_werror_flag=$ac_save_c_werror_flag
13566 fi
13567 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13568 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13569 if test "$ac_test_CFLAGS" = set; then
13570 CFLAGS=$ac_save_CFLAGS
13571 elif test $ac_cv_prog_cc_g = yes; then
13572 if test "$GCC" = yes; then
13573 CFLAGS="-g -O2"
13574 else
13575 CFLAGS="-g"
13576 fi
13577 else
13578 if test "$GCC" = yes; then
13579 CFLAGS="-O2"
13580 else
13581 CFLAGS=
13582 fi
13583 fi
13584 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13585 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13586 if test "${ac_cv_prog_cc_c89+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 else
13589 ac_cv_prog_cc_c89=no
13590 ac_save_CC=$CC
13591 cat >conftest.$ac_ext <<_ACEOF
13592 /* confdefs.h. */
13593 _ACEOF
13594 cat confdefs.h >>conftest.$ac_ext
13595 cat >>conftest.$ac_ext <<_ACEOF
13596 /* end confdefs.h. */
13597 #include <stdarg.h>
13598 #include <stdio.h>
13599 #include <sys/types.h>
13600 #include <sys/stat.h>
13601 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13602 struct buf { int x; };
13603 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13604 static char *e (p, i)
13605 char **p;
13606 int i;
13607 {
13608 return p[i];
13609 }
13610 static char *f (char * (*g) (char **, int), char **p, ...)
13611 {
13612 char *s;
13613 va_list v;
13614 va_start (v,p);
13615 s = g (p, va_arg (v,int));
13616 va_end (v);
13617 return s;
13618 }
13619
13620 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13621 function prototypes and stuff, but not '\xHH' hex character constants.
13622 These don't provoke an error unfortunately, instead are silently treated
13623 as 'x'. The following induces an error, until -std is added to get
13624 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13625 array size at least. It's necessary to write '\x00'==0 to get something
13626 that's true only with -std. */
13627 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13628
13629 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13630 inside strings and character constants. */
13631 #define FOO(x) 'x'
13632 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13633
13634 int test (int i, double x);
13635 struct s1 {int (*f) (int a);};
13636 struct s2 {int (*f) (double a);};
13637 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13638 int argc;
13639 char **argv;
13640 int
13641 main ()
13642 {
13643 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13644 ;
13645 return 0;
13646 }
13647 _ACEOF
13648 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13649 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13650 do
13651 CC="$ac_save_CC $ac_arg"
13652 rm -f conftest.$ac_objext
13653 if { (ac_try="$ac_compile"
13654 case "(($ac_try" in
13655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13656 *) ac_try_echo=$ac_try;;
13657 esac
13658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13659 (eval "$ac_compile") 2>conftest.er1
13660 ac_status=$?
13661 grep -v '^ *+' conftest.er1 >conftest.err
13662 rm -f conftest.er1
13663 cat conftest.err >&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } && {
13666 test -z "$ac_c_werror_flag" ||
13667 test ! -s conftest.err
13668 } && test -s conftest.$ac_objext; then
13669 ac_cv_prog_cc_c89=$ac_arg
13670 else
13671 echo "$as_me: failed program was:" >&5
13672 sed 's/^/| /' conftest.$ac_ext >&5
13673
13674
13675 fi
13676
13677 rm -f core conftest.err conftest.$ac_objext
13678 test "x$ac_cv_prog_cc_c89" != "xno" && break
13679 done
13680 rm -f conftest.$ac_ext
13681 CC=$ac_save_CC
13682
13683 fi
13684 # AC_CACHE_VAL
13685 case "x$ac_cv_prog_cc_c89" in
13686 x)
13687 { echo "$as_me:$LINENO: result: none needed" >&5
13688 echo "${ECHO_T}none needed" >&6; } ;;
13689 xno)
13690 { echo "$as_me:$LINENO: result: unsupported" >&5
13691 echo "${ECHO_T}unsupported" >&6; } ;;
13692 *)
13693 CC="$CC $ac_cv_prog_cc_c89"
13694 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13695 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13696 esac
13697
13698
13699 ac_ext=c
13700 ac_cpp='$CPP $CPPFLAGS'
13701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13704
13705
13706
13707 ac_ext=c
13708 ac_cpp='$CPP $CPPFLAGS'
13709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13712
13713 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13714 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13715 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 else
13718 cat >conftest.$ac_ext <<_ACEOF
13719 /* confdefs.h. */
13720 _ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724
13725 int
13726 main ()
13727 {
13728
13729 #ifndef __INTEL_COMPILER
13730 choke me
13731 #endif
13732
13733 ;
13734 return 0;
13735 }
13736 _ACEOF
13737 rm -f conftest.$ac_objext
13738 if { (ac_try="$ac_compile"
13739 case "(($ac_try" in
13740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13741 *) ac_try_echo=$ac_try;;
13742 esac
13743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13744 (eval "$ac_compile") 2>conftest.er1
13745 ac_status=$?
13746 grep -v '^ *+' conftest.er1 >conftest.err
13747 rm -f conftest.er1
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } && {
13751 test -z "$ac_c_werror_flag" ||
13752 test ! -s conftest.err
13753 } && test -s conftest.$ac_objext; then
13754 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13755 else
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.$ac_ext >&5
13758
13759 bakefile_cv_c_compiler___INTEL_COMPILER=no
13760
13761 fi
13762
13763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13764
13765
13766 fi
13767 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13768 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13769 ac_ext=c
13770 ac_cpp='$CPP $CPPFLAGS'
13771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13774
13775 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13776 :; INTELCC=yes
13777 else
13778 :;
13779 fi
13780
13781
13782 if test "x$GCC" != "xyes"; then
13783 if test "xCC" = "xC"; then
13784 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13785 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13786 if test "${bakefile_cv_c_exto+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13788 else
13789 cat >conftest.$ac_ext <<_ACEOF
13790 /* confdefs.h. */
13791 _ACEOF
13792 cat confdefs.h >>conftest.$ac_ext
13793 cat >>conftest.$ac_ext <<_ACEOF
13794 /* end confdefs.h. */
13795
13796 int
13797 main ()
13798 {
13799
13800 ;
13801 return 0;
13802 }
13803 _ACEOF
13804 rm -f conftest.$ac_objext conftest.$ac_ext.o
13805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13806 (eval $ac_compile) 2>&5
13807 ac_status=$?
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); }; then
13810 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13811 case $ac_file in
13812 conftest.$ac_ext.o)
13813 bakefile_cv_c_exto="-ext o"
13814 ;;
13815 *)
13816 ;;
13817 esac
13818 done
13819 else
13820 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13821 See \`config.log' for more details." >&5
13822 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13823 See \`config.log' for more details." >&2;}
13824 { (exit 1); exit 1; }; }
13825
13826 fi
13827
13828 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13829
13830 fi
13831 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13832 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13833 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13834 if test "c" = "c"; then
13835 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13836 fi
13837 if test "c" = "cxx"; then
13838 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13839 fi
13840 fi
13841
13842 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13843 unset ac_cv_prog_cc_g
13844 ac_test_CFLAGS=${CFLAGS+set}
13845 ac_save_CFLAGS=$CFLAGS
13846 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13847 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13848 if test "${ac_cv_prog_cc_g+set}" = set; then
13849 echo $ECHO_N "(cached) $ECHO_C" >&6
13850 else
13851 ac_save_c_werror_flag=$ac_c_werror_flag
13852 ac_c_werror_flag=yes
13853 ac_cv_prog_cc_g=no
13854 CFLAGS="-g"
13855 cat >conftest.$ac_ext <<_ACEOF
13856 /* confdefs.h. */
13857 _ACEOF
13858 cat confdefs.h >>conftest.$ac_ext
13859 cat >>conftest.$ac_ext <<_ACEOF
13860 /* end confdefs.h. */
13861
13862 int
13863 main ()
13864 {
13865
13866 ;
13867 return 0;
13868 }
13869 _ACEOF
13870 rm -f conftest.$ac_objext
13871 if { (ac_try="$ac_compile"
13872 case "(($ac_try" in
13873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13874 *) ac_try_echo=$ac_try;;
13875 esac
13876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13877 (eval "$ac_compile") 2>conftest.er1
13878 ac_status=$?
13879 grep -v '^ *+' conftest.er1 >conftest.err
13880 rm -f conftest.er1
13881 cat conftest.err >&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); } && {
13884 test -z "$ac_c_werror_flag" ||
13885 test ! -s conftest.err
13886 } && test -s conftest.$ac_objext; then
13887 ac_cv_prog_cc_g=yes
13888 else
13889 echo "$as_me: failed program was:" >&5
13890 sed 's/^/| /' conftest.$ac_ext >&5
13891
13892 CFLAGS=""
13893 cat >conftest.$ac_ext <<_ACEOF
13894 /* confdefs.h. */
13895 _ACEOF
13896 cat confdefs.h >>conftest.$ac_ext
13897 cat >>conftest.$ac_ext <<_ACEOF
13898 /* end confdefs.h. */
13899
13900 int
13901 main ()
13902 {
13903
13904 ;
13905 return 0;
13906 }
13907 _ACEOF
13908 rm -f conftest.$ac_objext
13909 if { (ac_try="$ac_compile"
13910 case "(($ac_try" in
13911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13912 *) ac_try_echo=$ac_try;;
13913 esac
13914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13915 (eval "$ac_compile") 2>conftest.er1
13916 ac_status=$?
13917 grep -v '^ *+' conftest.er1 >conftest.err
13918 rm -f conftest.er1
13919 cat conftest.err >&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); } && {
13922 test -z "$ac_c_werror_flag" ||
13923 test ! -s conftest.err
13924 } && test -s conftest.$ac_objext; then
13925 :
13926 else
13927 echo "$as_me: failed program was:" >&5
13928 sed 's/^/| /' conftest.$ac_ext >&5
13929
13930 ac_c_werror_flag=$ac_save_c_werror_flag
13931 CFLAGS="-g"
13932 cat >conftest.$ac_ext <<_ACEOF
13933 /* confdefs.h. */
13934 _ACEOF
13935 cat confdefs.h >>conftest.$ac_ext
13936 cat >>conftest.$ac_ext <<_ACEOF
13937 /* end confdefs.h. */
13938
13939 int
13940 main ()
13941 {
13942
13943 ;
13944 return 0;
13945 }
13946 _ACEOF
13947 rm -f conftest.$ac_objext
13948 if { (ac_try="$ac_compile"
13949 case "(($ac_try" in
13950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13951 *) ac_try_echo=$ac_try;;
13952 esac
13953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13954 (eval "$ac_compile") 2>conftest.er1
13955 ac_status=$?
13956 grep -v '^ *+' conftest.er1 >conftest.err
13957 rm -f conftest.er1
13958 cat conftest.err >&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); } && {
13961 test -z "$ac_c_werror_flag" ||
13962 test ! -s conftest.err
13963 } && test -s conftest.$ac_objext; then
13964 ac_cv_prog_cc_g=yes
13965 else
13966 echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.$ac_ext >&5
13968
13969
13970 fi
13971
13972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13973 fi
13974
13975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13976 fi
13977
13978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13979 ac_c_werror_flag=$ac_save_c_werror_flag
13980 fi
13981 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13982 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13983 if test "$ac_test_CFLAGS" = set; then
13984 CFLAGS=$ac_save_CFLAGS
13985 elif test $ac_cv_prog_cc_g = yes; then
13986 if test "$GCC" = yes; then
13987 CFLAGS="-g -O2"
13988 else
13989 CFLAGS="-g"
13990 fi
13991 else
13992 if test "$GCC" = yes; then
13993 CFLAGS="-O2"
13994 else
13995 CFLAGS=
13996 fi
13997 fi
13998 fi
13999 fi
14000
14001 case `uname -s` in
14002 AIX*)
14003 ac_ext=c
14004 ac_cpp='$CPP $CPPFLAGS'
14005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14008
14009 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14010 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14011 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14012 echo $ECHO_N "(cached) $ECHO_C" >&6
14013 else
14014 cat >conftest.$ac_ext <<_ACEOF
14015 /* confdefs.h. */
14016 _ACEOF
14017 cat confdefs.h >>conftest.$ac_ext
14018 cat >>conftest.$ac_ext <<_ACEOF
14019 /* end confdefs.h. */
14020
14021 int
14022 main ()
14023 {
14024 #ifndef __xlC__
14025 choke me
14026 #endif
14027
14028 ;
14029 return 0;
14030 }
14031 _ACEOF
14032 rm -f conftest.$ac_objext
14033 if { (ac_try="$ac_compile"
14034 case "(($ac_try" in
14035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14036 *) ac_try_echo=$ac_try;;
14037 esac
14038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14039 (eval "$ac_compile") 2>conftest.er1
14040 ac_status=$?
14041 grep -v '^ *+' conftest.er1 >conftest.err
14042 rm -f conftest.er1
14043 cat conftest.err >&5
14044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14045 (exit $ac_status); } && {
14046 test -z "$ac_c_werror_flag" ||
14047 test ! -s conftest.err
14048 } && test -s conftest.$ac_objext; then
14049 bakefile_compiler_xlc=yes
14050 else
14051 echo "$as_me: failed program was:" >&5
14052 sed 's/^/| /' conftest.$ac_ext >&5
14053
14054 bakefile_compiler_xlc=no
14055 fi
14056
14057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14058 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14059
14060 fi
14061 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14062 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14063
14064 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14065 ac_ext=c
14066 ac_cpp='$CPP $CPPFLAGS'
14067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14070
14071
14072 ;;
14073
14074 Darwin)
14075 ac_ext=c
14076 ac_cpp='$CPP $CPPFLAGS'
14077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14080
14081 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14082 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14083 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14084 echo $ECHO_N "(cached) $ECHO_C" >&6
14085 else
14086 cat >conftest.$ac_ext <<_ACEOF
14087 /* confdefs.h. */
14088 _ACEOF
14089 cat confdefs.h >>conftest.$ac_ext
14090 cat >>conftest.$ac_ext <<_ACEOF
14091 /* end confdefs.h. */
14092
14093 int
14094 main ()
14095 {
14096 #ifndef __MWERKS__
14097 choke me
14098 #endif
14099
14100 ;
14101 return 0;
14102 }
14103 _ACEOF
14104 rm -f conftest.$ac_objext
14105 if { (ac_try="$ac_compile"
14106 case "(($ac_try" in
14107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14108 *) ac_try_echo=$ac_try;;
14109 esac
14110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14111 (eval "$ac_compile") 2>conftest.er1
14112 ac_status=$?
14113 grep -v '^ *+' conftest.er1 >conftest.err
14114 rm -f conftest.er1
14115 cat conftest.err >&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } && {
14118 test -z "$ac_c_werror_flag" ||
14119 test ! -s conftest.err
14120 } && test -s conftest.$ac_objext; then
14121 bakefile_compiler_mwerks=yes
14122 else
14123 echo "$as_me: failed program was:" >&5
14124 sed 's/^/| /' conftest.$ac_ext >&5
14125
14126 bakefile_compiler_mwerks=no
14127 fi
14128
14129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14130 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14131
14132 fi
14133 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14134 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14135
14136 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14137 ac_ext=c
14138 ac_cpp='$CPP $CPPFLAGS'
14139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14142
14143
14144 ac_ext=c
14145 ac_cpp='$CPP $CPPFLAGS'
14146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14149
14150 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14151 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14152 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155 cat >conftest.$ac_ext <<_ACEOF
14156 /* confdefs.h. */
14157 _ACEOF
14158 cat confdefs.h >>conftest.$ac_ext
14159 cat >>conftest.$ac_ext <<_ACEOF
14160 /* end confdefs.h. */
14161
14162 int
14163 main ()
14164 {
14165 #ifndef __xlC__
14166 choke me
14167 #endif
14168
14169 ;
14170 return 0;
14171 }
14172 _ACEOF
14173 rm -f conftest.$ac_objext
14174 if { (ac_try="$ac_compile"
14175 case "(($ac_try" in
14176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14177 *) ac_try_echo=$ac_try;;
14178 esac
14179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14180 (eval "$ac_compile") 2>conftest.er1
14181 ac_status=$?
14182 grep -v '^ *+' conftest.er1 >conftest.err
14183 rm -f conftest.er1
14184 cat conftest.err >&5
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } && {
14187 test -z "$ac_c_werror_flag" ||
14188 test ! -s conftest.err
14189 } && test -s conftest.$ac_objext; then
14190 bakefile_compiler_xlc=yes
14191 else
14192 echo "$as_me: failed program was:" >&5
14193 sed 's/^/| /' conftest.$ac_ext >&5
14194
14195 bakefile_compiler_xlc=no
14196 fi
14197
14198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14199 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14200
14201 fi
14202 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14203 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14204
14205 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14206 ac_ext=c
14207 ac_cpp='$CPP $CPPFLAGS'
14208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14211
14212
14213 ;;
14214
14215 IRIX*)
14216
14217
14218 ac_ext=c
14219 ac_cpp='$CPP $CPPFLAGS'
14220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14223
14224 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14225 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14226 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14228 else
14229 cat >conftest.$ac_ext <<_ACEOF
14230 /* confdefs.h. */
14231 _ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14235
14236 int
14237 main ()
14238 {
14239
14240 #ifndef _SGI_COMPILER_VERSION
14241 choke me
14242 #endif
14243
14244 ;
14245 return 0;
14246 }
14247 _ACEOF
14248 rm -f conftest.$ac_objext
14249 if { (ac_try="$ac_compile"
14250 case "(($ac_try" in
14251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14252 *) ac_try_echo=$ac_try;;
14253 esac
14254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14255 (eval "$ac_compile") 2>conftest.er1
14256 ac_status=$?
14257 grep -v '^ *+' conftest.er1 >conftest.err
14258 rm -f conftest.er1
14259 cat conftest.err >&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); } && {
14262 test -z "$ac_c_werror_flag" ||
14263 test ! -s conftest.err
14264 } && test -s conftest.$ac_objext; then
14265 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14266 else
14267 echo "$as_me: failed program was:" >&5
14268 sed 's/^/| /' conftest.$ac_ext >&5
14269
14270 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14271
14272 fi
14273
14274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14275
14276
14277 fi
14278 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14279 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14280 ac_ext=c
14281 ac_cpp='$CPP $CPPFLAGS'
14282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14285
14286 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14287 :; SGICC=yes
14288 else
14289 :;
14290 fi
14291
14292
14293 ;;
14294
14295 HP-UX*)
14296
14297
14298 ac_ext=c
14299 ac_cpp='$CPP $CPPFLAGS'
14300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14303
14304 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14305 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14306 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14307 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 else
14309 cat >conftest.$ac_ext <<_ACEOF
14310 /* confdefs.h. */
14311 _ACEOF
14312 cat confdefs.h >>conftest.$ac_ext
14313 cat >>conftest.$ac_ext <<_ACEOF
14314 /* end confdefs.h. */
14315
14316 int
14317 main ()
14318 {
14319
14320 #ifndef __HP_cc
14321 choke me
14322 #endif
14323
14324 ;
14325 return 0;
14326 }
14327 _ACEOF
14328 rm -f conftest.$ac_objext
14329 if { (ac_try="$ac_compile"
14330 case "(($ac_try" in
14331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14332 *) ac_try_echo=$ac_try;;
14333 esac
14334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14335 (eval "$ac_compile") 2>conftest.er1
14336 ac_status=$?
14337 grep -v '^ *+' conftest.er1 >conftest.err
14338 rm -f conftest.er1
14339 cat conftest.err >&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); } && {
14342 test -z "$ac_c_werror_flag" ||
14343 test ! -s conftest.err
14344 } && test -s conftest.$ac_objext; then
14345 bakefile_cv_c_compiler___HP_cc=yes
14346 else
14347 echo "$as_me: failed program was:" >&5
14348 sed 's/^/| /' conftest.$ac_ext >&5
14349
14350 bakefile_cv_c_compiler___HP_cc=no
14351
14352 fi
14353
14354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14355
14356
14357 fi
14358 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14359 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14360 ac_ext=c
14361 ac_cpp='$CPP $CPPFLAGS'
14362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14365
14366 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14367 :; HPCC=yes
14368 else
14369 :;
14370 fi
14371
14372
14373 ;;
14374
14375 OSF1)
14376
14377
14378 ac_ext=c
14379 ac_cpp='$CPP $CPPFLAGS'
14380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14383
14384 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14385 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14386 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14387 echo $ECHO_N "(cached) $ECHO_C" >&6
14388 else
14389 cat >conftest.$ac_ext <<_ACEOF
14390 /* confdefs.h. */
14391 _ACEOF
14392 cat confdefs.h >>conftest.$ac_ext
14393 cat >>conftest.$ac_ext <<_ACEOF
14394 /* end confdefs.h. */
14395
14396 int
14397 main ()
14398 {
14399
14400 #ifndef __DECC
14401 choke me
14402 #endif
14403
14404 ;
14405 return 0;
14406 }
14407 _ACEOF
14408 rm -f conftest.$ac_objext
14409 if { (ac_try="$ac_compile"
14410 case "(($ac_try" in
14411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14412 *) ac_try_echo=$ac_try;;
14413 esac
14414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14415 (eval "$ac_compile") 2>conftest.er1
14416 ac_status=$?
14417 grep -v '^ *+' conftest.er1 >conftest.err
14418 rm -f conftest.er1
14419 cat conftest.err >&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } && {
14422 test -z "$ac_c_werror_flag" ||
14423 test ! -s conftest.err
14424 } && test -s conftest.$ac_objext; then
14425 bakefile_cv_c_compiler___DECC=yes
14426 else
14427 echo "$as_me: failed program was:" >&5
14428 sed 's/^/| /' conftest.$ac_ext >&5
14429
14430 bakefile_cv_c_compiler___DECC=no
14431
14432 fi
14433
14434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14435
14436
14437 fi
14438 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14439 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14440 ac_ext=c
14441 ac_cpp='$CPP $CPPFLAGS'
14442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14445
14446 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14447 :; COMPAQCC=yes
14448 else
14449 :;
14450 fi
14451
14452
14453 ;;
14454
14455 SunOS)
14456
14457
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 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14465 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14466 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14467 echo $ECHO_N "(cached) $ECHO_C" >&6
14468 else
14469 cat >conftest.$ac_ext <<_ACEOF
14470 /* confdefs.h. */
14471 _ACEOF
14472 cat confdefs.h >>conftest.$ac_ext
14473 cat >>conftest.$ac_ext <<_ACEOF
14474 /* end confdefs.h. */
14475
14476 int
14477 main ()
14478 {
14479
14480 #ifndef __SUNPRO_C
14481 choke me
14482 #endif
14483
14484 ;
14485 return 0;
14486 }
14487 _ACEOF
14488 rm -f conftest.$ac_objext
14489 if { (ac_try="$ac_compile"
14490 case "(($ac_try" in
14491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14492 *) ac_try_echo=$ac_try;;
14493 esac
14494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14495 (eval "$ac_compile") 2>conftest.er1
14496 ac_status=$?
14497 grep -v '^ *+' conftest.er1 >conftest.err
14498 rm -f conftest.er1
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } && {
14502 test -z "$ac_c_werror_flag" ||
14503 test ! -s conftest.err
14504 } && test -s conftest.$ac_objext; then
14505 bakefile_cv_c_compiler___SUNPRO_C=yes
14506 else
14507 echo "$as_me: failed program was:" >&5
14508 sed 's/^/| /' conftest.$ac_ext >&5
14509
14510 bakefile_cv_c_compiler___SUNPRO_C=no
14511
14512 fi
14513
14514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14515
14516
14517 fi
14518 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14519 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14520 ac_ext=c
14521 ac_cpp='$CPP $CPPFLAGS'
14522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14525
14526 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14527 :; SUNCC=yes
14528 else
14529 :;
14530 fi
14531
14532
14533 ;;
14534 esac
14535 fi
14536
14537
14538
14539 ac_ext=c
14540 ac_cpp='$CPP $CPPFLAGS'
14541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14544 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14545 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14546 # On Suns, sometimes $CPP names a directory.
14547 if test -n "$CPP" && test -d "$CPP"; then
14548 CPP=
14549 fi
14550 if test -z "$CPP"; then
14551 if test "${ac_cv_prog_CPP+set}" = set; then
14552 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 else
14554 # Double quotes because CPP needs to be expanded
14555 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14556 do
14557 ac_preproc_ok=false
14558 for ac_c_preproc_warn_flag in '' yes
14559 do
14560 # Use a header file that comes with gcc, so configuring glibc
14561 # with a fresh cross-compiler works.
14562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14563 # <limits.h> exists even on freestanding compilers.
14564 # On the NeXT, cc -E runs the code through the compiler's parser,
14565 # not just through cpp. "Syntax error" is here to catch this case.
14566 cat >conftest.$ac_ext <<_ACEOF
14567 /* confdefs.h. */
14568 _ACEOF
14569 cat confdefs.h >>conftest.$ac_ext
14570 cat >>conftest.$ac_ext <<_ACEOF
14571 /* end confdefs.h. */
14572 #ifdef __STDC__
14573 # include <limits.h>
14574 #else
14575 # include <assert.h>
14576 #endif
14577 Syntax error
14578 _ACEOF
14579 if { (ac_try="$ac_cpp conftest.$ac_ext"
14580 case "(($ac_try" in
14581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14582 *) ac_try_echo=$ac_try;;
14583 esac
14584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14586 ac_status=$?
14587 grep -v '^ *+' conftest.er1 >conftest.err
14588 rm -f conftest.er1
14589 cat conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } >/dev/null && {
14592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14593 test ! -s conftest.err
14594 }; then
14595 :
14596 else
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14599
14600 # Broken: fails on valid input.
14601 continue
14602 fi
14603
14604 rm -f conftest.err conftest.$ac_ext
14605
14606 # OK, works on sane cases. Now check whether nonexistent headers
14607 # can be detected and how.
14608 cat >conftest.$ac_ext <<_ACEOF
14609 /* confdefs.h. */
14610 _ACEOF
14611 cat confdefs.h >>conftest.$ac_ext
14612 cat >>conftest.$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14614 #include <ac_nonexistent.h>
14615 _ACEOF
14616 if { (ac_try="$ac_cpp conftest.$ac_ext"
14617 case "(($ac_try" in
14618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14619 *) ac_try_echo=$ac_try;;
14620 esac
14621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14622 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14623 ac_status=$?
14624 grep -v '^ *+' conftest.er1 >conftest.err
14625 rm -f conftest.er1
14626 cat conftest.err >&5
14627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628 (exit $ac_status); } >/dev/null && {
14629 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14630 test ! -s conftest.err
14631 }; then
14632 # Broken: success on invalid input.
14633 continue
14634 else
14635 echo "$as_me: failed program was:" >&5
14636 sed 's/^/| /' conftest.$ac_ext >&5
14637
14638 # Passes both tests.
14639 ac_preproc_ok=:
14640 break
14641 fi
14642
14643 rm -f conftest.err conftest.$ac_ext
14644
14645 done
14646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14647 rm -f conftest.err conftest.$ac_ext
14648 if $ac_preproc_ok; then
14649 break
14650 fi
14651
14652 done
14653 ac_cv_prog_CPP=$CPP
14654
14655 fi
14656 CPP=$ac_cv_prog_CPP
14657 else
14658 ac_cv_prog_CPP=$CPP
14659 fi
14660 { echo "$as_me:$LINENO: result: $CPP" >&5
14661 echo "${ECHO_T}$CPP" >&6; }
14662 ac_preproc_ok=false
14663 for ac_c_preproc_warn_flag in '' yes
14664 do
14665 # Use a header file that comes with gcc, so configuring glibc
14666 # with a fresh cross-compiler works.
14667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14668 # <limits.h> exists even on freestanding compilers.
14669 # On the NeXT, cc -E runs the code through the compiler's parser,
14670 # not just through cpp. "Syntax error" is here to catch this case.
14671 cat >conftest.$ac_ext <<_ACEOF
14672 /* confdefs.h. */
14673 _ACEOF
14674 cat confdefs.h >>conftest.$ac_ext
14675 cat >>conftest.$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 #ifdef __STDC__
14678 # include <limits.h>
14679 #else
14680 # include <assert.h>
14681 #endif
14682 Syntax error
14683 _ACEOF
14684 if { (ac_try="$ac_cpp conftest.$ac_ext"
14685 case "(($ac_try" in
14686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14688 esac
14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14691 ac_status=$?
14692 grep -v '^ *+' conftest.er1 >conftest.err
14693 rm -f conftest.er1
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } >/dev/null && {
14697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14698 test ! -s conftest.err
14699 }; then
14700 :
14701 else
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.$ac_ext >&5
14704
14705 # Broken: fails on valid input.
14706 continue
14707 fi
14708
14709 rm -f conftest.err conftest.$ac_ext
14710
14711 # OK, works on sane cases. Now check whether nonexistent headers
14712 # can be detected and how.
14713 cat >conftest.$ac_ext <<_ACEOF
14714 /* confdefs.h. */
14715 _ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 #include <ac_nonexistent.h>
14720 _ACEOF
14721 if { (ac_try="$ac_cpp conftest.$ac_ext"
14722 case "(($ac_try" in
14723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14724 *) ac_try_echo=$ac_try;;
14725 esac
14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14728 ac_status=$?
14729 grep -v '^ *+' conftest.er1 >conftest.err
14730 rm -f conftest.er1
14731 cat conftest.err >&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); } >/dev/null && {
14734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14735 test ! -s conftest.err
14736 }; then
14737 # Broken: success on invalid input.
14738 continue
14739 else
14740 echo "$as_me: failed program was:" >&5
14741 sed 's/^/| /' conftest.$ac_ext >&5
14742
14743 # Passes both tests.
14744 ac_preproc_ok=:
14745 break
14746 fi
14747
14748 rm -f conftest.err conftest.$ac_ext
14749
14750 done
14751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14752 rm -f conftest.err conftest.$ac_ext
14753 if $ac_preproc_ok; then
14754 :
14755 else
14756 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14757 See \`config.log' for more details." >&5
14758 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14759 See \`config.log' for more details." >&2;}
14760 { (exit 1); exit 1; }; }
14761 fi
14762
14763 ac_ext=c
14764 ac_cpp='$CPP $CPPFLAGS'
14765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14768
14769
14770 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14771 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14772 if test "${ac_cv_path_GREP+set}" = set; then
14773 echo $ECHO_N "(cached) $ECHO_C" >&6
14774 else
14775 # Extract the first word of "grep ggrep" to use in msg output
14776 if test -z "$GREP"; then
14777 set dummy grep ggrep; ac_prog_name=$2
14778 if test "${ac_cv_path_GREP+set}" = set; then
14779 echo $ECHO_N "(cached) $ECHO_C" >&6
14780 else
14781 ac_path_GREP_found=false
14782 # Loop through the user's path and test for each of PROGNAME-LIST
14783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14784 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14785 do
14786 IFS=$as_save_IFS
14787 test -z "$as_dir" && as_dir=.
14788 for ac_prog in grep ggrep; do
14789 for ac_exec_ext in '' $ac_executable_extensions; do
14790 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14791 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14792 # Check for GNU ac_path_GREP and select it if it is found.
14793 # Check for GNU $ac_path_GREP
14794 case `"$ac_path_GREP" --version 2>&1` in
14795 *GNU*)
14796 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14797 *)
14798 ac_count=0
14799 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14800 while :
14801 do
14802 cat "conftest.in" "conftest.in" >"conftest.tmp"
14803 mv "conftest.tmp" "conftest.in"
14804 cp "conftest.in" "conftest.nl"
14805 echo 'GREP' >> "conftest.nl"
14806 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14807 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14808 ac_count=`expr $ac_count + 1`
14809 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14810 # Best one so far, save it but keep looking for a better one
14811 ac_cv_path_GREP="$ac_path_GREP"
14812 ac_path_GREP_max=$ac_count
14813 fi
14814 # 10*(2^10) chars as input seems more than enough
14815 test $ac_count -gt 10 && break
14816 done
14817 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14818 esac
14819
14820
14821 $ac_path_GREP_found && break 3
14822 done
14823 done
14824
14825 done
14826 IFS=$as_save_IFS
14827
14828
14829 fi
14830
14831 GREP="$ac_cv_path_GREP"
14832 if test -z "$GREP"; then
14833 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14834 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14835 { (exit 1); exit 1; }; }
14836 fi
14837
14838 else
14839 ac_cv_path_GREP=$GREP
14840 fi
14841
14842
14843 fi
14844 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14845 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14846 GREP="$ac_cv_path_GREP"
14847
14848
14849 { echo "$as_me:$LINENO: checking for egrep" >&5
14850 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14851 if test "${ac_cv_path_EGREP+set}" = set; then
14852 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 else
14854 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14855 then ac_cv_path_EGREP="$GREP -E"
14856 else
14857 # Extract the first word of "egrep" to use in msg output
14858 if test -z "$EGREP"; then
14859 set dummy egrep; ac_prog_name=$2
14860 if test "${ac_cv_path_EGREP+set}" = set; then
14861 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 else
14863 ac_path_EGREP_found=false
14864 # Loop through the user's path and test for each of PROGNAME-LIST
14865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14866 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14867 do
14868 IFS=$as_save_IFS
14869 test -z "$as_dir" && as_dir=.
14870 for ac_prog in egrep; do
14871 for ac_exec_ext in '' $ac_executable_extensions; do
14872 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14873 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14874 # Check for GNU ac_path_EGREP and select it if it is found.
14875 # Check for GNU $ac_path_EGREP
14876 case `"$ac_path_EGREP" --version 2>&1` in
14877 *GNU*)
14878 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14879 *)
14880 ac_count=0
14881 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14882 while :
14883 do
14884 cat "conftest.in" "conftest.in" >"conftest.tmp"
14885 mv "conftest.tmp" "conftest.in"
14886 cp "conftest.in" "conftest.nl"
14887 echo 'EGREP' >> "conftest.nl"
14888 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14889 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14890 ac_count=`expr $ac_count + 1`
14891 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14892 # Best one so far, save it but keep looking for a better one
14893 ac_cv_path_EGREP="$ac_path_EGREP"
14894 ac_path_EGREP_max=$ac_count
14895 fi
14896 # 10*(2^10) chars as input seems more than enough
14897 test $ac_count -gt 10 && break
14898 done
14899 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14900 esac
14901
14902
14903 $ac_path_EGREP_found && break 3
14904 done
14905 done
14906
14907 done
14908 IFS=$as_save_IFS
14909
14910
14911 fi
14912
14913 EGREP="$ac_cv_path_EGREP"
14914 if test -z "$EGREP"; then
14915 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14916 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14917 { (exit 1); exit 1; }; }
14918 fi
14919
14920 else
14921 ac_cv_path_EGREP=$EGREP
14922 fi
14923
14924
14925 fi
14926 fi
14927 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14928 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14929 EGREP="$ac_cv_path_EGREP"
14930
14931
14932 if test $ac_cv_c_compiler_gnu = yes; then
14933 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14934 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14935 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14936 echo $ECHO_N "(cached) $ECHO_C" >&6
14937 else
14938 ac_pattern="Autoconf.*'x'"
14939 cat >conftest.$ac_ext <<_ACEOF
14940 /* confdefs.h. */
14941 _ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14945 #include <sgtty.h>
14946 Autoconf TIOCGETP
14947 _ACEOF
14948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14949 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14950 ac_cv_prog_gcc_traditional=yes
14951 else
14952 ac_cv_prog_gcc_traditional=no
14953 fi
14954 rm -f conftest*
14955
14956
14957 if test $ac_cv_prog_gcc_traditional = no; then
14958 cat >conftest.$ac_ext <<_ACEOF
14959 /* confdefs.h. */
14960 _ACEOF
14961 cat confdefs.h >>conftest.$ac_ext
14962 cat >>conftest.$ac_ext <<_ACEOF
14963 /* end confdefs.h. */
14964 #include <termio.h>
14965 Autoconf TCGETA
14966 _ACEOF
14967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14968 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14969 ac_cv_prog_gcc_traditional=yes
14970 fi
14971 rm -f conftest*
14972
14973 fi
14974 fi
14975 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14976 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14977 if test $ac_cv_prog_gcc_traditional = yes; then
14978 CC="$CC -traditional"
14979 fi
14980 fi
14981
14982
14983 CXXFLAGS=${CXXFLAGS:=}
14984
14985
14986
14987 ac_ext=cpp
14988 ac_cpp='$CXXCPP $CPPFLAGS'
14989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14992 if test -z "$CXX"; then
14993 if test -n "$CCC"; then
14994 CXX=$CCC
14995 else
14996 if test -n "$ac_tool_prefix"; then
14997 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14998 do
14999 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15003 if test "${ac_cv_prog_CXX+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15006 if test -n "$CXX"; then
15007 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15008 else
15009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15010 for as_dir in $PATH
15011 do
15012 IFS=$as_save_IFS
15013 test -z "$as_dir" && as_dir=.
15014 for ac_exec_ext in '' $ac_executable_extensions; do
15015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15016 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15018 break 2
15019 fi
15020 done
15021 done
15022 IFS=$as_save_IFS
15023
15024 fi
15025 fi
15026 CXX=$ac_cv_prog_CXX
15027 if test -n "$CXX"; then
15028 { echo "$as_me:$LINENO: result: $CXX" >&5
15029 echo "${ECHO_T}$CXX" >&6; }
15030 else
15031 { echo "$as_me:$LINENO: result: no" >&5
15032 echo "${ECHO_T}no" >&6; }
15033 fi
15034
15035
15036 test -n "$CXX" && break
15037 done
15038 fi
15039 if test -z "$CXX"; then
15040 ac_ct_CXX=$CXX
15041 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15042 do
15043 # Extract the first word of "$ac_prog", so it can be a program name with args.
15044 set dummy $ac_prog; ac_word=$2
15045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15047 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 else
15050 if test -n "$ac_ct_CXX"; then
15051 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15052 else
15053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15054 for as_dir in $PATH
15055 do
15056 IFS=$as_save_IFS
15057 test -z "$as_dir" && as_dir=.
15058 for ac_exec_ext in '' $ac_executable_extensions; do
15059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15060 ac_cv_prog_ac_ct_CXX="$ac_prog"
15061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15062 break 2
15063 fi
15064 done
15065 done
15066 IFS=$as_save_IFS
15067
15068 fi
15069 fi
15070 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15071 if test -n "$ac_ct_CXX"; then
15072 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15073 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15074 else
15075 { echo "$as_me:$LINENO: result: no" >&5
15076 echo "${ECHO_T}no" >&6; }
15077 fi
15078
15079
15080 test -n "$ac_ct_CXX" && break
15081 done
15082
15083 if test "x$ac_ct_CXX" = x; then
15084 CXX="g++"
15085 else
15086 case $cross_compiling:$ac_tool_warned in
15087 yes:)
15088 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15089 whose name does not start with the host triplet. If you think this
15090 configuration is useful to you, please write to autoconf@gnu.org." >&5
15091 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15092 whose name does not start with the host triplet. If you think this
15093 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15094 ac_tool_warned=yes ;;
15095 esac
15096 CXX=$ac_ct_CXX
15097 fi
15098 fi
15099
15100 fi
15101 fi
15102 # Provide some information about the compiler.
15103 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15104 ac_compiler=`set X $ac_compile; echo $2`
15105 { (ac_try="$ac_compiler --version >&5"
15106 case "(($ac_try" in
15107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15108 *) ac_try_echo=$ac_try;;
15109 esac
15110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15111 (eval "$ac_compiler --version >&5") 2>&5
15112 ac_status=$?
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }
15115 { (ac_try="$ac_compiler -v >&5"
15116 case "(($ac_try" in
15117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15118 *) ac_try_echo=$ac_try;;
15119 esac
15120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15121 (eval "$ac_compiler -v >&5") 2>&5
15122 ac_status=$?
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); }
15125 { (ac_try="$ac_compiler -V >&5"
15126 case "(($ac_try" in
15127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15128 *) ac_try_echo=$ac_try;;
15129 esac
15130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15131 (eval "$ac_compiler -V >&5") 2>&5
15132 ac_status=$?
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); }
15135
15136 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15137 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15138 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15140 else
15141 cat >conftest.$ac_ext <<_ACEOF
15142 /* confdefs.h. */
15143 _ACEOF
15144 cat confdefs.h >>conftest.$ac_ext
15145 cat >>conftest.$ac_ext <<_ACEOF
15146 /* end confdefs.h. */
15147
15148 int
15149 main ()
15150 {
15151 #ifndef __GNUC__
15152 choke me
15153 #endif
15154
15155 ;
15156 return 0;
15157 }
15158 _ACEOF
15159 rm -f conftest.$ac_objext
15160 if { (ac_try="$ac_compile"
15161 case "(($ac_try" in
15162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15163 *) ac_try_echo=$ac_try;;
15164 esac
15165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15166 (eval "$ac_compile") 2>conftest.er1
15167 ac_status=$?
15168 grep -v '^ *+' conftest.er1 >conftest.err
15169 rm -f conftest.er1
15170 cat conftest.err >&5
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } && {
15173 test -z "$ac_cxx_werror_flag" ||
15174 test ! -s conftest.err
15175 } && test -s conftest.$ac_objext; then
15176 ac_compiler_gnu=yes
15177 else
15178 echo "$as_me: failed program was:" >&5
15179 sed 's/^/| /' conftest.$ac_ext >&5
15180
15181 ac_compiler_gnu=no
15182 fi
15183
15184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15185 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15186
15187 fi
15188 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15189 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15190 GXX=`test $ac_compiler_gnu = yes && echo yes`
15191 ac_test_CXXFLAGS=${CXXFLAGS+set}
15192 ac_save_CXXFLAGS=$CXXFLAGS
15193 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15194 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15195 if test "${ac_cv_prog_cxx_g+set}" = set; then
15196 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 else
15198 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15199 ac_cxx_werror_flag=yes
15200 ac_cv_prog_cxx_g=no
15201 CXXFLAGS="-g"
15202 cat >conftest.$ac_ext <<_ACEOF
15203 /* confdefs.h. */
15204 _ACEOF
15205 cat confdefs.h >>conftest.$ac_ext
15206 cat >>conftest.$ac_ext <<_ACEOF
15207 /* end confdefs.h. */
15208
15209 int
15210 main ()
15211 {
15212
15213 ;
15214 return 0;
15215 }
15216 _ACEOF
15217 rm -f conftest.$ac_objext
15218 if { (ac_try="$ac_compile"
15219 case "(($ac_try" in
15220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15221 *) ac_try_echo=$ac_try;;
15222 esac
15223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15224 (eval "$ac_compile") 2>conftest.er1
15225 ac_status=$?
15226 grep -v '^ *+' conftest.er1 >conftest.err
15227 rm -f conftest.er1
15228 cat conftest.err >&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); } && {
15231 test -z "$ac_cxx_werror_flag" ||
15232 test ! -s conftest.err
15233 } && test -s conftest.$ac_objext; then
15234 ac_cv_prog_cxx_g=yes
15235 else
15236 echo "$as_me: failed program was:" >&5
15237 sed 's/^/| /' conftest.$ac_ext >&5
15238
15239 CXXFLAGS=""
15240 cat >conftest.$ac_ext <<_ACEOF
15241 /* confdefs.h. */
15242 _ACEOF
15243 cat confdefs.h >>conftest.$ac_ext
15244 cat >>conftest.$ac_ext <<_ACEOF
15245 /* end confdefs.h. */
15246
15247 int
15248 main ()
15249 {
15250
15251 ;
15252 return 0;
15253 }
15254 _ACEOF
15255 rm -f conftest.$ac_objext
15256 if { (ac_try="$ac_compile"
15257 case "(($ac_try" in
15258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15259 *) ac_try_echo=$ac_try;;
15260 esac
15261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15262 (eval "$ac_compile") 2>conftest.er1
15263 ac_status=$?
15264 grep -v '^ *+' conftest.er1 >conftest.err
15265 rm -f conftest.er1
15266 cat conftest.err >&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } && {
15269 test -z "$ac_cxx_werror_flag" ||
15270 test ! -s conftest.err
15271 } && test -s conftest.$ac_objext; then
15272 :
15273 else
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.$ac_ext >&5
15276
15277 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15278 CXXFLAGS="-g"
15279 cat >conftest.$ac_ext <<_ACEOF
15280 /* confdefs.h. */
15281 _ACEOF
15282 cat confdefs.h >>conftest.$ac_ext
15283 cat >>conftest.$ac_ext <<_ACEOF
15284 /* end confdefs.h. */
15285
15286 int
15287 main ()
15288 {
15289
15290 ;
15291 return 0;
15292 }
15293 _ACEOF
15294 rm -f conftest.$ac_objext
15295 if { (ac_try="$ac_compile"
15296 case "(($ac_try" in
15297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15298 *) ac_try_echo=$ac_try;;
15299 esac
15300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15301 (eval "$ac_compile") 2>conftest.er1
15302 ac_status=$?
15303 grep -v '^ *+' conftest.er1 >conftest.err
15304 rm -f conftest.er1
15305 cat conftest.err >&5
15306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15307 (exit $ac_status); } && {
15308 test -z "$ac_cxx_werror_flag" ||
15309 test ! -s conftest.err
15310 } && test -s conftest.$ac_objext; then
15311 ac_cv_prog_cxx_g=yes
15312 else
15313 echo "$as_me: failed program was:" >&5
15314 sed 's/^/| /' conftest.$ac_ext >&5
15315
15316
15317 fi
15318
15319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15320 fi
15321
15322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15323 fi
15324
15325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15326 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15327 fi
15328 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15329 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15330 if test "$ac_test_CXXFLAGS" = set; then
15331 CXXFLAGS=$ac_save_CXXFLAGS
15332 elif test $ac_cv_prog_cxx_g = yes; then
15333 if test "$GXX" = yes; then
15334 CXXFLAGS="-g -O2"
15335 else
15336 CXXFLAGS="-g"
15337 fi
15338 else
15339 if test "$GXX" = yes; then
15340 CXXFLAGS="-O2"
15341 else
15342 CXXFLAGS=
15343 fi
15344 fi
15345 ac_ext=c
15346 ac_cpp='$CPP $CPPFLAGS'
15347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15350
15351
15352
15353 ac_ext=cpp
15354 ac_cpp='$CXXCPP $CPPFLAGS'
15355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15358
15359 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15360 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15361 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15362 echo $ECHO_N "(cached) $ECHO_C" >&6
15363 else
15364 cat >conftest.$ac_ext <<_ACEOF
15365 /* confdefs.h. */
15366 _ACEOF
15367 cat confdefs.h >>conftest.$ac_ext
15368 cat >>conftest.$ac_ext <<_ACEOF
15369 /* end confdefs.h. */
15370
15371 int
15372 main ()
15373 {
15374
15375 #ifndef __INTEL_COMPILER
15376 choke me
15377 #endif
15378
15379 ;
15380 return 0;
15381 }
15382 _ACEOF
15383 rm -f conftest.$ac_objext
15384 if { (ac_try="$ac_compile"
15385 case "(($ac_try" in
15386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15387 *) ac_try_echo=$ac_try;;
15388 esac
15389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15390 (eval "$ac_compile") 2>conftest.er1
15391 ac_status=$?
15392 grep -v '^ *+' conftest.er1 >conftest.err
15393 rm -f conftest.er1
15394 cat conftest.err >&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); } && {
15397 test -z "$ac_cxx_werror_flag" ||
15398 test ! -s conftest.err
15399 } && test -s conftest.$ac_objext; then
15400 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15401 else
15402 echo "$as_me: failed program was:" >&5
15403 sed 's/^/| /' conftest.$ac_ext >&5
15404
15405 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15406
15407 fi
15408
15409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15410
15411
15412 fi
15413 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15414 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15415 ac_ext=c
15416 ac_cpp='$CPP $CPPFLAGS'
15417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15420
15421 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15422 :; INTELCXX=yes
15423 else
15424 :;
15425 fi
15426
15427
15428 if test "x$GCXX" != "xyes"; then
15429 if test "xCXX" = "xC"; then
15430 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15431 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15432 if test "${bakefile_cv_c_exto+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 else
15435 cat >conftest.$ac_ext <<_ACEOF
15436 /* confdefs.h. */
15437 _ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441
15442 int
15443 main ()
15444 {
15445
15446 ;
15447 return 0;
15448 }
15449 _ACEOF
15450 rm -f conftest.$ac_objext conftest.$ac_ext.o
15451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15452 (eval $ac_compile) 2>&5
15453 ac_status=$?
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); }; then
15456 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15457 case $ac_file in
15458 conftest.$ac_ext.o)
15459 bakefile_cv_c_exto="-ext o"
15460 ;;
15461 *)
15462 ;;
15463 esac
15464 done
15465 else
15466 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15467 See \`config.log' for more details." >&5
15468 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15469 See \`config.log' for more details." >&2;}
15470 { (exit 1); exit 1; }; }
15471
15472 fi
15473
15474 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15475
15476 fi
15477 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15478 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15479 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15480 if test "c" = "c"; then
15481 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15482 fi
15483 if test "c" = "cxx"; then
15484 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15485 fi
15486 fi
15487
15488 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15489 unset ac_cv_prog_cc_g
15490 ac_test_CFLAGS=${CFLAGS+set}
15491 ac_save_CFLAGS=$CFLAGS
15492 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15493 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15494 if test "${ac_cv_prog_cc_g+set}" = set; then
15495 echo $ECHO_N "(cached) $ECHO_C" >&6
15496 else
15497 ac_save_c_werror_flag=$ac_c_werror_flag
15498 ac_c_werror_flag=yes
15499 ac_cv_prog_cc_g=no
15500 CFLAGS="-g"
15501 cat >conftest.$ac_ext <<_ACEOF
15502 /* confdefs.h. */
15503 _ACEOF
15504 cat confdefs.h >>conftest.$ac_ext
15505 cat >>conftest.$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15507
15508 int
15509 main ()
15510 {
15511
15512 ;
15513 return 0;
15514 }
15515 _ACEOF
15516 rm -f conftest.$ac_objext
15517 if { (ac_try="$ac_compile"
15518 case "(($ac_try" in
15519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15520 *) ac_try_echo=$ac_try;;
15521 esac
15522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15523 (eval "$ac_compile") 2>conftest.er1
15524 ac_status=$?
15525 grep -v '^ *+' conftest.er1 >conftest.err
15526 rm -f conftest.er1
15527 cat conftest.err >&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } && {
15530 test -z "$ac_c_werror_flag" ||
15531 test ! -s conftest.err
15532 } && test -s conftest.$ac_objext; then
15533 ac_cv_prog_cc_g=yes
15534 else
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15537
15538 CFLAGS=""
15539 cat >conftest.$ac_ext <<_ACEOF
15540 /* confdefs.h. */
15541 _ACEOF
15542 cat confdefs.h >>conftest.$ac_ext
15543 cat >>conftest.$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15545
15546 int
15547 main ()
15548 {
15549
15550 ;
15551 return 0;
15552 }
15553 _ACEOF
15554 rm -f conftest.$ac_objext
15555 if { (ac_try="$ac_compile"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15559 esac
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_compile") 2>conftest.er1
15562 ac_status=$?
15563 grep -v '^ *+' conftest.er1 >conftest.err
15564 rm -f conftest.er1
15565 cat conftest.err >&5
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); } && {
15568 test -z "$ac_c_werror_flag" ||
15569 test ! -s conftest.err
15570 } && test -s conftest.$ac_objext; then
15571 :
15572 else
15573 echo "$as_me: failed program was:" >&5
15574 sed 's/^/| /' conftest.$ac_ext >&5
15575
15576 ac_c_werror_flag=$ac_save_c_werror_flag
15577 CFLAGS="-g"
15578 cat >conftest.$ac_ext <<_ACEOF
15579 /* confdefs.h. */
15580 _ACEOF
15581 cat confdefs.h >>conftest.$ac_ext
15582 cat >>conftest.$ac_ext <<_ACEOF
15583 /* end confdefs.h. */
15584
15585 int
15586 main ()
15587 {
15588
15589 ;
15590 return 0;
15591 }
15592 _ACEOF
15593 rm -f conftest.$ac_objext
15594 if { (ac_try="$ac_compile"
15595 case "(($ac_try" in
15596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15597 *) ac_try_echo=$ac_try;;
15598 esac
15599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15600 (eval "$ac_compile") 2>conftest.er1
15601 ac_status=$?
15602 grep -v '^ *+' conftest.er1 >conftest.err
15603 rm -f conftest.er1
15604 cat conftest.err >&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); } && {
15607 test -z "$ac_c_werror_flag" ||
15608 test ! -s conftest.err
15609 } && test -s conftest.$ac_objext; then
15610 ac_cv_prog_cc_g=yes
15611 else
15612 echo "$as_me: failed program was:" >&5
15613 sed 's/^/| /' conftest.$ac_ext >&5
15614
15615
15616 fi
15617
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15619 fi
15620
15621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15622 fi
15623
15624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15625 ac_c_werror_flag=$ac_save_c_werror_flag
15626 fi
15627 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15628 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15629 if test "$ac_test_CFLAGS" = set; then
15630 CFLAGS=$ac_save_CFLAGS
15631 elif test $ac_cv_prog_cc_g = yes; then
15632 if test "$GCC" = yes; then
15633 CFLAGS="-g -O2"
15634 else
15635 CFLAGS="-g"
15636 fi
15637 else
15638 if test "$GCC" = yes; then
15639 CFLAGS="-O2"
15640 else
15641 CFLAGS=
15642 fi
15643 fi
15644 fi
15645 fi
15646
15647 case `uname -s` in
15648 AIX*)
15649 ac_ext=cpp
15650 ac_cpp='$CXXCPP $CPPFLAGS'
15651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15654
15655 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15656 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15657 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15658 echo $ECHO_N "(cached) $ECHO_C" >&6
15659 else
15660 cat >conftest.$ac_ext <<_ACEOF
15661 /* confdefs.h. */
15662 _ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15666
15667 int
15668 main ()
15669 {
15670 #ifndef __xlC__
15671 choke me
15672 #endif
15673
15674 ;
15675 return 0;
15676 }
15677 _ACEOF
15678 rm -f conftest.$ac_objext
15679 if { (ac_try="$ac_compile"
15680 case "(($ac_try" in
15681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15682 *) ac_try_echo=$ac_try;;
15683 esac
15684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15685 (eval "$ac_compile") 2>conftest.er1
15686 ac_status=$?
15687 grep -v '^ *+' conftest.er1 >conftest.err
15688 rm -f conftest.er1
15689 cat conftest.err >&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); } && {
15692 test -z "$ac_cxx_werror_flag" ||
15693 test ! -s conftest.err
15694 } && test -s conftest.$ac_objext; then
15695 bakefile_compiler_xlc=yes
15696 else
15697 echo "$as_me: failed program was:" >&5
15698 sed 's/^/| /' conftest.$ac_ext >&5
15699
15700 bakefile_compiler_xlc=no
15701 fi
15702
15703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15704 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15705
15706 fi
15707 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15708 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15709
15710 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15711 ac_ext=c
15712 ac_cpp='$CPP $CPPFLAGS'
15713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15716
15717
15718 ;;
15719
15720 Darwin)
15721 ac_ext=cpp
15722 ac_cpp='$CXXCPP $CPPFLAGS'
15723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15726
15727 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15728 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15729 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15731 else
15732 cat >conftest.$ac_ext <<_ACEOF
15733 /* confdefs.h. */
15734 _ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738
15739 int
15740 main ()
15741 {
15742 #ifndef __MWERKS__
15743 choke me
15744 #endif
15745
15746 ;
15747 return 0;
15748 }
15749 _ACEOF
15750 rm -f conftest.$ac_objext
15751 if { (ac_try="$ac_compile"
15752 case "(($ac_try" in
15753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15754 *) ac_try_echo=$ac_try;;
15755 esac
15756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15757 (eval "$ac_compile") 2>conftest.er1
15758 ac_status=$?
15759 grep -v '^ *+' conftest.er1 >conftest.err
15760 rm -f conftest.er1
15761 cat conftest.err >&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); } && {
15764 test -z "$ac_cxx_werror_flag" ||
15765 test ! -s conftest.err
15766 } && test -s conftest.$ac_objext; then
15767 bakefile_compiler_mwerks=yes
15768 else
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.$ac_ext >&5
15771
15772 bakefile_compiler_mwerks=no
15773 fi
15774
15775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15776 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15777
15778 fi
15779 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15780 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15781
15782 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15783 ac_ext=c
15784 ac_cpp='$CPP $CPPFLAGS'
15785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15788
15789
15790 ac_ext=cpp
15791 ac_cpp='$CXXCPP $CPPFLAGS'
15792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15795
15796 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15797 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15798 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15799 echo $ECHO_N "(cached) $ECHO_C" >&6
15800 else
15801 cat >conftest.$ac_ext <<_ACEOF
15802 /* confdefs.h. */
15803 _ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807
15808 int
15809 main ()
15810 {
15811 #ifndef __xlC__
15812 choke me
15813 #endif
15814
15815 ;
15816 return 0;
15817 }
15818 _ACEOF
15819 rm -f conftest.$ac_objext
15820 if { (ac_try="$ac_compile"
15821 case "(($ac_try" in
15822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15823 *) ac_try_echo=$ac_try;;
15824 esac
15825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15826 (eval "$ac_compile") 2>conftest.er1
15827 ac_status=$?
15828 grep -v '^ *+' conftest.er1 >conftest.err
15829 rm -f conftest.er1
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } && {
15833 test -z "$ac_cxx_werror_flag" ||
15834 test ! -s conftest.err
15835 } && test -s conftest.$ac_objext; then
15836 bakefile_compiler_xlc=yes
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15840
15841 bakefile_compiler_xlc=no
15842 fi
15843
15844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15845 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15846
15847 fi
15848 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15849 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15850
15851 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15852 ac_ext=c
15853 ac_cpp='$CPP $CPPFLAGS'
15854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15857
15858
15859 ;;
15860
15861 IRIX*)
15862
15863
15864 ac_ext=cpp
15865 ac_cpp='$CXXCPP $CPPFLAGS'
15866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15869
15870 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15871 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15872 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15873 echo $ECHO_N "(cached) $ECHO_C" >&6
15874 else
15875 cat >conftest.$ac_ext <<_ACEOF
15876 /* confdefs.h. */
15877 _ACEOF
15878 cat confdefs.h >>conftest.$ac_ext
15879 cat >>conftest.$ac_ext <<_ACEOF
15880 /* end confdefs.h. */
15881
15882 int
15883 main ()
15884 {
15885
15886 #ifndef _SGI_COMPILER_VERSION
15887 choke me
15888 #endif
15889
15890 ;
15891 return 0;
15892 }
15893 _ACEOF
15894 rm -f conftest.$ac_objext
15895 if { (ac_try="$ac_compile"
15896 case "(($ac_try" in
15897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15898 *) ac_try_echo=$ac_try;;
15899 esac
15900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15901 (eval "$ac_compile") 2>conftest.er1
15902 ac_status=$?
15903 grep -v '^ *+' conftest.er1 >conftest.err
15904 rm -f conftest.er1
15905 cat conftest.err >&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); } && {
15908 test -z "$ac_cxx_werror_flag" ||
15909 test ! -s conftest.err
15910 } && test -s conftest.$ac_objext; then
15911 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15912 else
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.$ac_ext >&5
15915
15916 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15917
15918 fi
15919
15920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921
15922
15923 fi
15924 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15925 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15926 ac_ext=c
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15931
15932 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15933 :; SGICXX=yes
15934 else
15935 :;
15936 fi
15937
15938
15939 ;;
15940
15941 HP-UX*)
15942
15943
15944 ac_ext=cpp
15945 ac_cpp='$CXXCPP $CPPFLAGS'
15946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15949
15950 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15951 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15952 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15954 else
15955 cat >conftest.$ac_ext <<_ACEOF
15956 /* confdefs.h. */
15957 _ACEOF
15958 cat confdefs.h >>conftest.$ac_ext
15959 cat >>conftest.$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15961
15962 int
15963 main ()
15964 {
15965
15966 #ifndef __HP_aCC
15967 choke me
15968 #endif
15969
15970 ;
15971 return 0;
15972 }
15973 _ACEOF
15974 rm -f conftest.$ac_objext
15975 if { (ac_try="$ac_compile"
15976 case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 *) ac_try_echo=$ac_try;;
15979 esac
15980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15981 (eval "$ac_compile") 2>conftest.er1
15982 ac_status=$?
15983 grep -v '^ *+' conftest.er1 >conftest.err
15984 rm -f conftest.er1
15985 cat conftest.err >&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } && {
15988 test -z "$ac_cxx_werror_flag" ||
15989 test ! -s conftest.err
15990 } && test -s conftest.$ac_objext; then
15991 bakefile_cv_cxx_compiler___HP_aCC=yes
15992 else
15993 echo "$as_me: failed program was:" >&5
15994 sed 's/^/| /' conftest.$ac_ext >&5
15995
15996 bakefile_cv_cxx_compiler___HP_aCC=no
15997
15998 fi
15999
16000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16001
16002
16003 fi
16004 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16005 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16006 ac_ext=c
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011
16012 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16013 :; HPCXX=yes
16014 else
16015 :;
16016 fi
16017
16018
16019 ;;
16020
16021 OSF1)
16022
16023
16024 ac_ext=cpp
16025 ac_cpp='$CXXCPP $CPPFLAGS'
16026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16029
16030 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16031 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16032 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16033 echo $ECHO_N "(cached) $ECHO_C" >&6
16034 else
16035 cat >conftest.$ac_ext <<_ACEOF
16036 /* confdefs.h. */
16037 _ACEOF
16038 cat confdefs.h >>conftest.$ac_ext
16039 cat >>conftest.$ac_ext <<_ACEOF
16040 /* end confdefs.h. */
16041
16042 int
16043 main ()
16044 {
16045
16046 #ifndef __DECCXX
16047 choke me
16048 #endif
16049
16050 ;
16051 return 0;
16052 }
16053 _ACEOF
16054 rm -f conftest.$ac_objext
16055 if { (ac_try="$ac_compile"
16056 case "(($ac_try" in
16057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16058 *) ac_try_echo=$ac_try;;
16059 esac
16060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16061 (eval "$ac_compile") 2>conftest.er1
16062 ac_status=$?
16063 grep -v '^ *+' conftest.er1 >conftest.err
16064 rm -f conftest.er1
16065 cat conftest.err >&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } && {
16068 test -z "$ac_cxx_werror_flag" ||
16069 test ! -s conftest.err
16070 } && test -s conftest.$ac_objext; then
16071 bakefile_cv_cxx_compiler___DECCXX=yes
16072 else
16073 echo "$as_me: failed program was:" >&5
16074 sed 's/^/| /' conftest.$ac_ext >&5
16075
16076 bakefile_cv_cxx_compiler___DECCXX=no
16077
16078 fi
16079
16080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16081
16082
16083 fi
16084 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16085 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16086 ac_ext=c
16087 ac_cpp='$CPP $CPPFLAGS'
16088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16091
16092 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16093 :; COMPAQCXX=yes
16094 else
16095 :;
16096 fi
16097
16098
16099 ;;
16100
16101 SunOS)
16102
16103
16104 ac_ext=cpp
16105 ac_cpp='$CXXCPP $CPPFLAGS'
16106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16109
16110 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16111 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16112 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 else
16115 cat >conftest.$ac_ext <<_ACEOF
16116 /* confdefs.h. */
16117 _ACEOF
16118 cat confdefs.h >>conftest.$ac_ext
16119 cat >>conftest.$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121
16122 int
16123 main ()
16124 {
16125
16126 #ifndef __SUNPRO_CC
16127 choke me
16128 #endif
16129
16130 ;
16131 return 0;
16132 }
16133 _ACEOF
16134 rm -f conftest.$ac_objext
16135 if { (ac_try="$ac_compile"
16136 case "(($ac_try" in
16137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16138 *) ac_try_echo=$ac_try;;
16139 esac
16140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16141 (eval "$ac_compile") 2>conftest.er1
16142 ac_status=$?
16143 grep -v '^ *+' conftest.er1 >conftest.err
16144 rm -f conftest.er1
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } && {
16148 test -z "$ac_cxx_werror_flag" ||
16149 test ! -s conftest.err
16150 } && test -s conftest.$ac_objext; then
16151 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16152 else
16153 echo "$as_me: failed program was:" >&5
16154 sed 's/^/| /' conftest.$ac_ext >&5
16155
16156 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16157
16158 fi
16159
16160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16161
16162
16163 fi
16164 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16165 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16166 ac_ext=c
16167 ac_cpp='$CPP $CPPFLAGS'
16168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16171
16172 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16173 :; SUNCXX=yes
16174 else
16175 :;
16176 fi
16177
16178
16179 ;;
16180 esac
16181 fi
16182
16183
16184
16185 if test -n "$ac_tool_prefix"; then
16186 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16187 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16190 if test "${ac_cv_prog_RANLIB+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 else
16193 if test -n "$RANLIB"; then
16194 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16195 else
16196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16197 for as_dir in $PATH
16198 do
16199 IFS=$as_save_IFS
16200 test -z "$as_dir" && as_dir=.
16201 for ac_exec_ext in '' $ac_executable_extensions; do
16202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16203 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16205 break 2
16206 fi
16207 done
16208 done
16209 IFS=$as_save_IFS
16210
16211 fi
16212 fi
16213 RANLIB=$ac_cv_prog_RANLIB
16214 if test -n "$RANLIB"; then
16215 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16216 echo "${ECHO_T}$RANLIB" >&6; }
16217 else
16218 { echo "$as_me:$LINENO: result: no" >&5
16219 echo "${ECHO_T}no" >&6; }
16220 fi
16221
16222
16223 fi
16224 if test -z "$ac_cv_prog_RANLIB"; then
16225 ac_ct_RANLIB=$RANLIB
16226 # Extract the first word of "ranlib", so it can be a program name with args.
16227 set dummy ranlib; ac_word=$2
16228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16230 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16231 echo $ECHO_N "(cached) $ECHO_C" >&6
16232 else
16233 if test -n "$ac_ct_RANLIB"; then
16234 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16235 else
16236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16237 for as_dir in $PATH
16238 do
16239 IFS=$as_save_IFS
16240 test -z "$as_dir" && as_dir=.
16241 for ac_exec_ext in '' $ac_executable_extensions; do
16242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16243 ac_cv_prog_ac_ct_RANLIB="ranlib"
16244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16245 break 2
16246 fi
16247 done
16248 done
16249 IFS=$as_save_IFS
16250
16251 fi
16252 fi
16253 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16254 if test -n "$ac_ct_RANLIB"; then
16255 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16256 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16257 else
16258 { echo "$as_me:$LINENO: result: no" >&5
16259 echo "${ECHO_T}no" >&6; }
16260 fi
16261
16262 if test "x$ac_ct_RANLIB" = x; then
16263 RANLIB=":"
16264 else
16265 case $cross_compiling:$ac_tool_warned in
16266 yes:)
16267 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16268 whose name does not start with the host triplet. If you think this
16269 configuration is useful to you, please write to autoconf@gnu.org." >&5
16270 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16271 whose name does not start with the host triplet. If you think this
16272 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16273 ac_tool_warned=yes ;;
16274 esac
16275 RANLIB=$ac_ct_RANLIB
16276 fi
16277 else
16278 RANLIB="$ac_cv_prog_RANLIB"
16279 fi
16280
16281
16282 if test "x$SUNCXX" != xyes; then
16283 if test -n "$ac_tool_prefix"; then
16284 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16285 set dummy ${ac_tool_prefix}ar; ac_word=$2
16286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16288 if test "${ac_cv_prog_AR+set}" = set; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 else
16291 if test -n "$AR"; then
16292 ac_cv_prog_AR="$AR" # Let the user override the test.
16293 else
16294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16295 for as_dir in $PATH
16296 do
16297 IFS=$as_save_IFS
16298 test -z "$as_dir" && as_dir=.
16299 for ac_exec_ext in '' $ac_executable_extensions; do
16300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16301 ac_cv_prog_AR="${ac_tool_prefix}ar"
16302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16303 break 2
16304 fi
16305 done
16306 done
16307 IFS=$as_save_IFS
16308
16309 fi
16310 fi
16311 AR=$ac_cv_prog_AR
16312 if test -n "$AR"; then
16313 { echo "$as_me:$LINENO: result: $AR" >&5
16314 echo "${ECHO_T}$AR" >&6; }
16315 else
16316 { echo "$as_me:$LINENO: result: no" >&5
16317 echo "${ECHO_T}no" >&6; }
16318 fi
16319
16320
16321 fi
16322 if test -z "$ac_cv_prog_AR"; then
16323 ac_ct_AR=$AR
16324 # Extract the first word of "ar", so it can be a program name with args.
16325 set dummy ar; ac_word=$2
16326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16328 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16330 else
16331 if test -n "$ac_ct_AR"; then
16332 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16333 else
16334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16335 for as_dir in $PATH
16336 do
16337 IFS=$as_save_IFS
16338 test -z "$as_dir" && as_dir=.
16339 for ac_exec_ext in '' $ac_executable_extensions; do
16340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16341 ac_cv_prog_ac_ct_AR="ar"
16342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16343 break 2
16344 fi
16345 done
16346 done
16347 IFS=$as_save_IFS
16348
16349 fi
16350 fi
16351 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16352 if test -n "$ac_ct_AR"; then
16353 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16354 echo "${ECHO_T}$ac_ct_AR" >&6; }
16355 else
16356 { echo "$as_me:$LINENO: result: no" >&5
16357 echo "${ECHO_T}no" >&6; }
16358 fi
16359
16360 if test "x$ac_ct_AR" = x; then
16361 AR=""
16362 else
16363 case $cross_compiling:$ac_tool_warned in
16364 yes:)
16365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16366 whose name does not start with the host triplet. If you think this
16367 configuration is useful to you, please write to autoconf@gnu.org." >&5
16368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16369 whose name does not start with the host triplet. If you think this
16370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16371 ac_tool_warned=yes ;;
16372 esac
16373 AR=$ac_ct_AR
16374 fi
16375 else
16376 AR="$ac_cv_prog_AR"
16377 fi
16378
16379 if test "x$AR" = "x" ; then
16380 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16381 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16382 { (exit 1); exit 1; }; }
16383 fi
16384 fi
16385
16386 # Find a good install program. We prefer a C program (faster),
16387 # so one script is as good as another. But avoid the broken or
16388 # incompatible versions:
16389 # SysV /etc/install, /usr/sbin/install
16390 # SunOS /usr/etc/install
16391 # IRIX /sbin/install
16392 # AIX /bin/install
16393 # AmigaOS /C/install, which installs bootblocks on floppy discs
16394 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16395 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16396 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16397 # OS/2's system install, which has a completely different semantic
16398 # ./install, which can be erroneously created by make from ./install.sh.
16399 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16400 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16401 if test -z "$INSTALL"; then
16402 if test "${ac_cv_path_install+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 else
16405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16406 for as_dir in $PATH
16407 do
16408 IFS=$as_save_IFS
16409 test -z "$as_dir" && as_dir=.
16410 # Account for people who put trailing slashes in PATH elements.
16411 case $as_dir/ in
16412 ./ | .// | /cC/* | \
16413 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16414 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16415 /usr/ucb/* ) ;;
16416 *)
16417 # OSF1 and SCO ODT 3.0 have their own names for install.
16418 # Don't use installbsd from OSF since it installs stuff as root
16419 # by default.
16420 for ac_prog in ginstall scoinst install; do
16421 for ac_exec_ext in '' $ac_executable_extensions; do
16422 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16423 if test $ac_prog = install &&
16424 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16425 # AIX install. It has an incompatible calling convention.
16426 :
16427 elif test $ac_prog = install &&
16428 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16429 # program-specific install script used by HP pwplus--don't use.
16430 :
16431 else
16432 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16433 break 3
16434 fi
16435 fi
16436 done
16437 done
16438 ;;
16439 esac
16440 done
16441 IFS=$as_save_IFS
16442
16443
16444 fi
16445 if test "${ac_cv_path_install+set}" = set; then
16446 INSTALL=$ac_cv_path_install
16447 else
16448 # As a last resort, use the slow shell script. Don't cache a
16449 # value for INSTALL within a source directory, because that will
16450 # break other packages using the cache if that directory is
16451 # removed, or if the value is a relative name.
16452 INSTALL=$ac_install_sh
16453 fi
16454 fi
16455 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16456 echo "${ECHO_T}$INSTALL" >&6; }
16457
16458 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16459 # It thinks the first close brace ends the variable substitution.
16460 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16461
16462 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16463
16464 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16465
16466
16467 case ${INSTALL} in
16468 /* ) # Absolute
16469 ;;
16470 ?:* ) # Drive letter, considered as absolute.
16471 ;;
16472 *)
16473 INSTALL=`pwd`/${INSTALL} ;;
16474 esac
16475
16476
16477 case "${host}" in
16478
16479 *-*-darwin* )
16480 INSTALL_PROGRAM="cp -fp"
16481 INSTALL_DATA="cp -fp"
16482 ;;
16483 *)
16484 ;;
16485 esac
16486
16487 if test -n "$ac_tool_prefix"; then
16488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16489 set dummy ${ac_tool_prefix}strip; ac_word=$2
16490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16492 if test "${ac_cv_prog_STRIP+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16494 else
16495 if test -n "$STRIP"; then
16496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16497 else
16498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16499 for as_dir in $PATH
16500 do
16501 IFS=$as_save_IFS
16502 test -z "$as_dir" && as_dir=.
16503 for ac_exec_ext in '' $ac_executable_extensions; do
16504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16507 break 2
16508 fi
16509 done
16510 done
16511 IFS=$as_save_IFS
16512
16513 fi
16514 fi
16515 STRIP=$ac_cv_prog_STRIP
16516 if test -n "$STRIP"; then
16517 { echo "$as_me:$LINENO: result: $STRIP" >&5
16518 echo "${ECHO_T}$STRIP" >&6; }
16519 else
16520 { echo "$as_me:$LINENO: result: no" >&5
16521 echo "${ECHO_T}no" >&6; }
16522 fi
16523
16524
16525 fi
16526 if test -z "$ac_cv_prog_STRIP"; then
16527 ac_ct_STRIP=$STRIP
16528 # Extract the first word of "strip", so it can be a program name with args.
16529 set dummy strip; ac_word=$2
16530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16533 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 else
16535 if test -n "$ac_ct_STRIP"; then
16536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16537 else
16538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16539 for as_dir in $PATH
16540 do
16541 IFS=$as_save_IFS
16542 test -z "$as_dir" && as_dir=.
16543 for ac_exec_ext in '' $ac_executable_extensions; do
16544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16545 ac_cv_prog_ac_ct_STRIP="strip"
16546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16547 break 2
16548 fi
16549 done
16550 done
16551 IFS=$as_save_IFS
16552
16553 fi
16554 fi
16555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16556 if test -n "$ac_ct_STRIP"; then
16557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16559 else
16560 { echo "$as_me:$LINENO: result: no" >&5
16561 echo "${ECHO_T}no" >&6; }
16562 fi
16563
16564 if test "x$ac_ct_STRIP" = x; then
16565 STRIP="true"
16566 else
16567 case $cross_compiling:$ac_tool_warned in
16568 yes:)
16569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16570 whose name does not start with the host triplet. If you think this
16571 configuration is useful to you, please write to autoconf@gnu.org." >&5
16572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16573 whose name does not start with the host triplet. If you think this
16574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16575 ac_tool_warned=yes ;;
16576 esac
16577 STRIP=$ac_ct_STRIP
16578 fi
16579 else
16580 STRIP="$ac_cv_prog_STRIP"
16581 fi
16582
16583
16584 if test "$wxUSE_WINE" = "yes"; then
16585 if test -n "$ac_tool_prefix"; then
16586 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16587 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16590 if test "${ac_cv_prog_WINDRES+set}" = set; then
16591 echo $ECHO_N "(cached) $ECHO_C" >&6
16592 else
16593 if test -n "$WINDRES"; then
16594 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16595 else
16596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16597 for as_dir in $PATH
16598 do
16599 IFS=$as_save_IFS
16600 test -z "$as_dir" && as_dir=.
16601 for ac_exec_ext in '' $ac_executable_extensions; do
16602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16603 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16605 break 2
16606 fi
16607 done
16608 done
16609 IFS=$as_save_IFS
16610
16611 fi
16612 fi
16613 WINDRES=$ac_cv_prog_WINDRES
16614 if test -n "$WINDRES"; then
16615 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16616 echo "${ECHO_T}$WINDRES" >&6; }
16617 else
16618 { echo "$as_me:$LINENO: result: no" >&5
16619 echo "${ECHO_T}no" >&6; }
16620 fi
16621
16622
16623 fi
16624 if test -z "$ac_cv_prog_WINDRES"; then
16625 ac_ct_WINDRES=$WINDRES
16626 # Extract the first word of "wrc", so it can be a program name with args.
16627 set dummy wrc; ac_word=$2
16628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16630 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 else
16633 if test -n "$ac_ct_WINDRES"; then
16634 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16635 else
16636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16637 for as_dir in $PATH
16638 do
16639 IFS=$as_save_IFS
16640 test -z "$as_dir" && as_dir=.
16641 for ac_exec_ext in '' $ac_executable_extensions; do
16642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16643 ac_cv_prog_ac_ct_WINDRES="wrc"
16644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16645 break 2
16646 fi
16647 done
16648 done
16649 IFS=$as_save_IFS
16650
16651 fi
16652 fi
16653 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16654 if test -n "$ac_ct_WINDRES"; then
16655 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16656 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16657 else
16658 { echo "$as_me:$LINENO: result: no" >&5
16659 echo "${ECHO_T}no" >&6; }
16660 fi
16661
16662 if test "x$ac_ct_WINDRES" = x; then
16663 WINDRES=""
16664 else
16665 case $cross_compiling:$ac_tool_warned in
16666 yes:)
16667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16668 whose name does not start with the host triplet. If you think this
16669 configuration is useful to you, please write to autoconf@gnu.org." >&5
16670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16671 whose name does not start with the host triplet. If you think this
16672 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16673 ac_tool_warned=yes ;;
16674 esac
16675 WINDRES=$ac_ct_WINDRES
16676 fi
16677 else
16678 WINDRES="$ac_cv_prog_WINDRES"
16679 fi
16680
16681 RESCOMP="$WINDRES"
16682 else
16683 case "${host}" in
16684 *-*-cygwin* | *-*-mingw32* )
16685 if test -n "$ac_tool_prefix"; then
16686 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16687 set dummy ${ac_tool_prefix}windres; ac_word=$2
16688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16690 if test "${ac_cv_prog_WINDRES+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 else
16693 if test -n "$WINDRES"; then
16694 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16695 else
16696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16697 for as_dir in $PATH
16698 do
16699 IFS=$as_save_IFS
16700 test -z "$as_dir" && as_dir=.
16701 for ac_exec_ext in '' $ac_executable_extensions; do
16702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16703 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16705 break 2
16706 fi
16707 done
16708 done
16709 IFS=$as_save_IFS
16710
16711 fi
16712 fi
16713 WINDRES=$ac_cv_prog_WINDRES
16714 if test -n "$WINDRES"; then
16715 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16716 echo "${ECHO_T}$WINDRES" >&6; }
16717 else
16718 { echo "$as_me:$LINENO: result: no" >&5
16719 echo "${ECHO_T}no" >&6; }
16720 fi
16721
16722
16723 fi
16724 if test -z "$ac_cv_prog_WINDRES"; then
16725 ac_ct_WINDRES=$WINDRES
16726 # Extract the first word of "windres", so it can be a program name with args.
16727 set dummy windres; ac_word=$2
16728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16730 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733 if test -n "$ac_ct_WINDRES"; then
16734 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16735 else
16736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16737 for as_dir in $PATH
16738 do
16739 IFS=$as_save_IFS
16740 test -z "$as_dir" && as_dir=.
16741 for ac_exec_ext in '' $ac_executable_extensions; do
16742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16743 ac_cv_prog_ac_ct_WINDRES="windres"
16744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16745 break 2
16746 fi
16747 done
16748 done
16749 IFS=$as_save_IFS
16750
16751 fi
16752 fi
16753 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16754 if test -n "$ac_ct_WINDRES"; then
16755 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16756 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16757 else
16758 { echo "$as_me:$LINENO: result: no" >&5
16759 echo "${ECHO_T}no" >&6; }
16760 fi
16761
16762 if test "x$ac_ct_WINDRES" = x; then
16763 WINDRES=""
16764 else
16765 case $cross_compiling:$ac_tool_warned in
16766 yes:)
16767 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16768 whose name does not start with the host triplet. If you think this
16769 configuration is useful to you, please write to autoconf@gnu.org." >&5
16770 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16771 whose name does not start with the host triplet. If you think this
16772 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16773 ac_tool_warned=yes ;;
16774 esac
16775 WINDRES=$ac_ct_WINDRES
16776 fi
16777 else
16778 WINDRES="$ac_cv_prog_WINDRES"
16779 fi
16780
16781 RESCOMP="$WINDRES"
16782 if test -n "$ac_tool_prefix"; then
16783 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16784 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16787 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16789 else
16790 if test -n "$DLLTOOL"; then
16791 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16792 else
16793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16794 for as_dir in $PATH
16795 do
16796 IFS=$as_save_IFS
16797 test -z "$as_dir" && as_dir=.
16798 for ac_exec_ext in '' $ac_executable_extensions; do
16799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16800 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16802 break 2
16803 fi
16804 done
16805 done
16806 IFS=$as_save_IFS
16807
16808 fi
16809 fi
16810 DLLTOOL=$ac_cv_prog_DLLTOOL
16811 if test -n "$DLLTOOL"; then
16812 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16813 echo "${ECHO_T}$DLLTOOL" >&6; }
16814 else
16815 { echo "$as_me:$LINENO: result: no" >&5
16816 echo "${ECHO_T}no" >&6; }
16817 fi
16818
16819
16820 fi
16821 if test -z "$ac_cv_prog_DLLTOOL"; then
16822 ac_ct_DLLTOOL=$DLLTOOL
16823 # Extract the first word of "dlltool", so it can be a program name with args.
16824 set dummy dlltool; ac_word=$2
16825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16827 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 else
16830 if test -n "$ac_ct_DLLTOOL"; then
16831 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16832 else
16833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16834 for as_dir in $PATH
16835 do
16836 IFS=$as_save_IFS
16837 test -z "$as_dir" && as_dir=.
16838 for ac_exec_ext in '' $ac_executable_extensions; do
16839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16840 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16842 break 2
16843 fi
16844 done
16845 done
16846 IFS=$as_save_IFS
16847
16848 fi
16849 fi
16850 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16851 if test -n "$ac_ct_DLLTOOL"; then
16852 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16853 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16854 else
16855 { echo "$as_me:$LINENO: result: no" >&5
16856 echo "${ECHO_T}no" >&6; }
16857 fi
16858
16859 if test "x$ac_ct_DLLTOOL" = x; then
16860 DLLTOOL=""
16861 else
16862 case $cross_compiling:$ac_tool_warned in
16863 yes:)
16864 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16865 whose name does not start with the host triplet. If you think this
16866 configuration is useful to you, please write to autoconf@gnu.org." >&5
16867 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16868 whose name does not start with the host triplet. If you think this
16869 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16870 ac_tool_warned=yes ;;
16871 esac
16872 DLLTOOL=$ac_ct_DLLTOOL
16873 fi
16874 else
16875 DLLTOOL="$ac_cv_prog_DLLTOOL"
16876 fi
16877
16878 ;;
16879 esac
16880 fi
16881
16882 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16883 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16884 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16885 echo $ECHO_N "(cached) $ECHO_C" >&6
16886 else
16887
16888 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16889 $EGREP -s GNU > /dev/null); then
16890 wx_cv_prog_makeisgnu="yes"
16891 else
16892 wx_cv_prog_makeisgnu="no"
16893 fi
16894
16895 fi
16896 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16897 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16898
16899 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16900 IF_GNU_MAKE=""
16901 else
16902 IF_GNU_MAKE="#"
16903 fi
16904
16905
16906
16907 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16908 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16909 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16910 if test "${wx_cv_prog_makevpath+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 else
16913
16914 cat - << EOF > confMake
16915 check : file
16916 cp \$? \$@
16917 cp \$? final_file
16918 EOF
16919
16920 if test ! -d sub ; then
16921 mkdir sub
16922 fi
16923 echo dummy > sub/file
16924 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16925 RESULT=$?
16926 rm -f sub/file check final_file confMake
16927 rmdir sub
16928 if test "$RESULT" = 0; then
16929 wx_cv_prog_makevpath="yes"
16930 else
16931 wx_cv_prog_makevpath="no"
16932 fi
16933
16934 fi
16935 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16936 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16937
16938 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16939 { { echo "$as_me:$LINENO: error:
16940 You need a make-utility that is able to use the variable
16941 VPATH correctly.
16942 If your version of make does not support VPATH correctly,
16943 please install GNU-make (possibly as gmake), and start
16944 configure with the following command:
16945 export MAKE=gmake; ./configure for sh-type shells
16946 setenv MAKE gmake; ./configure for csh-type shells
16947 Also please do remember to use gmake in this case every time
16948 you are trying to compile.
16949 " >&5
16950 echo "$as_me: error:
16951 You need a make-utility that is able to use the variable
16952 VPATH correctly.
16953 If your version of make does not support VPATH correctly,
16954 please install GNU-make (possibly as gmake), and start
16955 configure with the following command:
16956 export MAKE=gmake; ./configure for sh-type shells
16957 setenv MAKE gmake; ./configure for csh-type shells
16958 Also please do remember to use gmake in this case every time
16959 you are trying to compile.
16960 " >&2;}
16961 { (exit 1); exit 1; }; }
16962 fi fi
16963 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16964 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16965 LN_S=$as_ln_s
16966 if test "$LN_S" = "ln -s"; then
16967 { echo "$as_me:$LINENO: result: yes" >&5
16968 echo "${ECHO_T}yes" >&6; }
16969 else
16970 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16971 echo "${ECHO_T}no, using $LN_S" >&6; }
16972 fi
16973
16974
16975
16976
16977 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16978 CXXFLAGS="-qunique $CXXFLAGS"
16979 fi
16980
16981 case "${host}" in
16982 powerpc-*-darwin* )
16983 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16984 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16985 cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991
16992 int
16993 main ()
16994 {
16995 #ifndef __POWERPC__
16996 choke me for lack of PowerPC
16997 #endif
16998
16999 ;
17000 return 0;
17001 }
17002 _ACEOF
17003 rm -f conftest.$ac_objext
17004 if { (ac_try="$ac_compile"
17005 case "(($ac_try" in
17006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17007 *) ac_try_echo=$ac_try;;
17008 esac
17009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17010 (eval "$ac_compile") 2>conftest.er1
17011 ac_status=$?
17012 grep -v '^ *+' conftest.er1 >conftest.err
17013 rm -f conftest.er1
17014 cat conftest.err >&5
17015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016 (exit $ac_status); } && {
17017 test -z "$ac_c_werror_flag" ||
17018 test ! -s conftest.err
17019 } && test -s conftest.$ac_objext; then
17020 { echo "$as_me:$LINENO: result: yes" >&5
17021 echo "${ECHO_T}yes" >&6; }
17022 else
17023 echo "$as_me: failed program was:" >&5
17024 sed 's/^/| /' conftest.$ac_ext >&5
17025
17026 { echo "$as_me:$LINENO: result: no" >&5
17027 echo "${ECHO_T}no" >&6; }
17028 cat >>confdefs.h <<\_ACEOF
17029 #define __POWERPC__ 1
17030 _ACEOF
17031
17032
17033 fi
17034
17035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17036 ;;
17037 esac
17038
17039 case "${host}" in
17040 *-*-darwin* )
17041 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17042 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17043 cat >conftest.$ac_ext <<_ACEOF
17044 /* confdefs.h. */
17045 _ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h. */
17049 #include <CoreFoundation/CFBase.h>
17050
17051 int
17052 main ()
17053 {
17054
17055 ;
17056 return 0;
17057 }
17058 _ACEOF
17059 rm -f conftest.$ac_objext
17060 if { (ac_try="$ac_compile"
17061 case "(($ac_try" in
17062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17063 *) ac_try_echo=$ac_try;;
17064 esac
17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17066 (eval "$ac_compile") 2>conftest.er1
17067 ac_status=$?
17068 grep -v '^ *+' conftest.er1 >conftest.err
17069 rm -f conftest.er1
17070 cat conftest.err >&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); } && {
17073 test -z "$ac_c_werror_flag" ||
17074 test ! -s conftest.err
17075 } && test -s conftest.$ac_objext; then
17076 { echo "$as_me:$LINENO: result: yes" >&5
17077 echo "${ECHO_T}yes" >&6; }
17078 else
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17081
17082 { echo "$as_me:$LINENO: result: no" >&5
17083 echo "${ECHO_T}no" >&6; }
17084 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17085 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17086 cat >conftest.$ac_ext <<_ACEOF
17087 /* confdefs.h. */
17088 _ACEOF
17089 cat confdefs.h >>conftest.$ac_ext
17090 cat >>conftest.$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17092 #define __CF_USE_FRAMEWORK_INCLUDES__
17093 #include <CoreFoundation/CFBase.h>
17094
17095 int
17096 main ()
17097 {
17098
17099 ;
17100 return 0;
17101 }
17102 _ACEOF
17103 rm -f conftest.$ac_objext
17104 if { (ac_try="$ac_compile"
17105 case "(($ac_try" in
17106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17107 *) ac_try_echo=$ac_try;;
17108 esac
17109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17110 (eval "$ac_compile") 2>conftest.er1
17111 ac_status=$?
17112 grep -v '^ *+' conftest.er1 >conftest.err
17113 rm -f conftest.er1
17114 cat conftest.err >&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } && {
17117 test -z "$ac_c_werror_flag" ||
17118 test ! -s conftest.err
17119 } && test -s conftest.$ac_objext; then
17120 { echo "$as_me:$LINENO: result: yes" >&5
17121 echo "${ECHO_T}yes" >&6; }
17122 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17123 else
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17126
17127 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17128 See \`config.log' for more details." >&5
17129 echo "$as_me: error: no. CoreFoundation not available.
17130 See \`config.log' for more details." >&2;}
17131 { (exit 1); exit 1; }; }
17132
17133 fi
17134
17135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17136
17137
17138 fi
17139
17140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17141 ;;
17142 esac
17143
17144 wants_win32=0
17145 doesnt_want_win32=0
17146 case "${host}" in
17147 *-*-cygwin*)
17148 if test "$wxUSE_MSW" = 1 ; then
17149 wants_win32=1
17150 else
17151 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17152 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17153 if test "${wx_cv_nocygwin+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17155 else
17156
17157 cat >conftest.$ac_ext <<_ACEOF
17158 /* confdefs.h. */
17159 _ACEOF
17160 cat confdefs.h >>conftest.$ac_ext
17161 cat >>conftest.$ac_ext <<_ACEOF
17162 /* end confdefs.h. */
17163
17164 int
17165 main ()
17166 {
17167
17168 #ifdef __MINGW32__
17169 choke me
17170 #endif
17171
17172 ;
17173 return 0;
17174 }
17175 _ACEOF
17176 rm -f conftest.$ac_objext
17177 if { (ac_try="$ac_compile"
17178 case "(($ac_try" in
17179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17181 esac
17182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_compile") 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_c_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest.$ac_objext; then
17193 wx_cv_nocygwin=no
17194 else
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17197
17198 wx_cv_nocygwin=yes
17199
17200 fi
17201
17202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17203
17204
17205 fi
17206 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17207 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17208
17209 if test "$wx_cv_nocygwin" = "yes"; then
17210 wants_win32=1
17211 else
17212 doesnt_want_win32=1
17213 fi
17214 fi
17215 if test "$wants_win32" = 1 ; then
17216 BAKEFILE_FORCE_PLATFORM=win32
17217 fi
17218 ;;
17219 *-*-mingw*)
17220 wants_win32=1
17221 ;;
17222 esac
17223
17224 if test "$wxUSE_WINE" = "yes"; then
17225 wants_win32=1
17226 LDFLAGS_GUI="-mwindows"
17227 fi
17228
17229 if test "$wants_win32" = 1 ; then
17230 USE_UNIX=0
17231 USE_WIN32=1
17232 cat >>confdefs.h <<\_ACEOF
17233 #define __WIN32__ 1
17234 _ACEOF
17235
17236 cat >>confdefs.h <<\_ACEOF
17237 #define __WIN95__ 1
17238 _ACEOF
17239
17240 cat >>confdefs.h <<\_ACEOF
17241 #define __WINDOWS__ 1
17242 _ACEOF
17243
17244 cat >>confdefs.h <<\_ACEOF
17245 #define __GNUWIN32__ 1
17246 _ACEOF
17247
17248 cat >>confdefs.h <<\_ACEOF
17249 #define STRICT 1
17250 _ACEOF
17251
17252 fi
17253 if test "$doesnt_want_win32" = 1 ; then
17254 USE_UNIX=1
17255 USE_WIN32=0
17256 fi
17257
17258 if test "$USE_UNIX" = 1 ; then
17259 wxUSE_UNIX=yes
17260 cat >>confdefs.h <<\_ACEOF
17261 #define __UNIX__ 1
17262 _ACEOF
17263
17264 fi
17265
17266 case "${host}" in
17267 *-pc-os2_emx | *-pc-os2-emx )
17268 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17269 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17270 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17271 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17272 echo $ECHO_N "(cached) $ECHO_C" >&6
17273 else
17274 ac_check_lib_save_LIBS=$LIBS
17275 LIBS="-lcExt $LIBS"
17276 cat >conftest.$ac_ext <<_ACEOF
17277 /* confdefs.h. */
17278 _ACEOF
17279 cat confdefs.h >>conftest.$ac_ext
17280 cat >>conftest.$ac_ext <<_ACEOF
17281 /* end confdefs.h. */
17282
17283 /* Override any GCC internal prototype to avoid an error.
17284 Use char because int might match the return type of a GCC
17285 builtin and then its argument prototype would still apply. */
17286 #ifdef __cplusplus
17287 extern "C"
17288 #endif
17289 char drand48 ();
17290 int
17291 main ()
17292 {
17293 return drand48 ();
17294 ;
17295 return 0;
17296 }
17297 _ACEOF
17298 rm -f conftest.$ac_objext conftest$ac_exeext
17299 if { (ac_try="$ac_link"
17300 case "(($ac_try" in
17301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17302 *) ac_try_echo=$ac_try;;
17303 esac
17304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17305 (eval "$ac_link") 2>conftest.er1
17306 ac_status=$?
17307 grep -v '^ *+' conftest.er1 >conftest.err
17308 rm -f conftest.er1
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } && {
17312 test -z "$ac_c_werror_flag" ||
17313 test ! -s conftest.err
17314 } && test -s conftest$ac_exeext &&
17315 $as_test_x conftest$ac_exeext; then
17316 ac_cv_lib_cExt_drand48=yes
17317 else
17318 echo "$as_me: failed program was:" >&5
17319 sed 's/^/| /' conftest.$ac_ext >&5
17320
17321 ac_cv_lib_cExt_drand48=no
17322 fi
17323
17324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17325 conftest$ac_exeext conftest.$ac_ext
17326 LIBS=$ac_check_lib_save_LIBS
17327 fi
17328 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17329 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17330 if test $ac_cv_lib_cExt_drand48 = yes; then
17331 LIBS="$LIBS -lcExt"
17332 fi
17333
17334 else
17335 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17336 fi
17337 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17338 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17339 if test "${wx_cv_gccversion+set}" = set; then
17340 echo $ECHO_N "(cached) $ECHO_C" >&6
17341 else
17342
17343 if test "$cross_compiling" = yes; then
17344 wx_cv_gccversion="EMX2"
17345
17346 else
17347 cat >conftest.$ac_ext <<_ACEOF
17348 /* confdefs.h. */
17349 _ACEOF
17350 cat confdefs.h >>conftest.$ac_ext
17351 cat >>conftest.$ac_ext <<_ACEOF
17352 /* end confdefs.h. */
17353
17354 #include <stdio.h>
17355
17356 int main()
17357 {
17358 FILE *f=fopen("conftestval", "w");
17359 if (!f) exit(1);
17360 fprintf(f,
17361 #if (__GNUC__ < 3)
17362 "EMX2"
17363 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17364 "EMX3"
17365 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17366 "Innotek5"
17367 #else
17368 "Innotek6"
17369 #endif
17370 );
17371 exit(0);
17372 }
17373
17374 _ACEOF
17375 rm -f conftest$ac_exeext
17376 if { (ac_try="$ac_link"
17377 case "(($ac_try" in
17378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17379 *) ac_try_echo=$ac_try;;
17380 esac
17381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17382 (eval "$ac_link") 2>&5
17383 ac_status=$?
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17386 { (case "(($ac_try" in
17387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17388 *) ac_try_echo=$ac_try;;
17389 esac
17390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_try") 2>&5
17392 ac_status=$?
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; }; then
17395 wx_cv_gccversion=`cat conftestval`
17396 else
17397 echo "$as_me: program exited with status $ac_status" >&5
17398 echo "$as_me: failed program was:" >&5
17399 sed 's/^/| /' conftest.$ac_ext >&5
17400
17401 ( exit $ac_status )
17402 wx_cv_gccversion="EMX2"
17403 fi
17404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17405 fi
17406
17407
17408
17409 fi
17410 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17411 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17412 if test "$wx_cv_gccversion" = "EMX2"; then
17413 LIBS="$LIBS -lstdcpp"
17414 LDFLAGS="$LDFLAGS -Zsysv-signals"
17415 else
17416 if test "$wx_cv_gccversion" = "EMX3"; then
17417 LIBS="$LIBS -lstdcxx -lgcc"
17418 LDFLAGS="$LDFLAGS -Zsysv-signals"
17419 else
17420 LIBS="$LIBS -lstdc++"
17421 fi
17422 fi
17423 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17424 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17425 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17426 wxUSE_OMF=yes
17427 enable_omf=yes
17428 fi
17429 ;;
17430 *)
17431
17432 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17433 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17434 if test "${ac_cv_string_strcasecmp+set}" = set; then
17435 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 else
17437
17438 cat >conftest.$ac_ext <<_ACEOF
17439 /* confdefs.h. */
17440 _ACEOF
17441 cat confdefs.h >>conftest.$ac_ext
17442 cat >>conftest.$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17444
17445 #include <string.h>
17446
17447 int
17448 main ()
17449 {
17450
17451 strcasecmp("foo", "bar");
17452
17453 ;
17454 return 0;
17455 }
17456 _ACEOF
17457 rm -f conftest.$ac_objext conftest$ac_exeext
17458 if { (ac_try="$ac_link"
17459 case "(($ac_try" in
17460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17461 *) ac_try_echo=$ac_try;;
17462 esac
17463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17464 (eval "$ac_link") 2>conftest.er1
17465 ac_status=$?
17466 grep -v '^ *+' conftest.er1 >conftest.err
17467 rm -f conftest.er1
17468 cat conftest.err >&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); } && {
17471 test -z "$ac_c_werror_flag" ||
17472 test ! -s conftest.err
17473 } && test -s conftest$ac_exeext &&
17474 $as_test_x conftest$ac_exeext; then
17475 ac_cv_string_strcasecmp=yes
17476 else
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17479
17480 ac_cv_string_strcasecmp=no
17481
17482 fi
17483
17484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17485 conftest$ac_exeext conftest.$ac_ext
17486
17487 fi
17488 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17489 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17490
17491 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17492 cat >>confdefs.h <<\_ACEOF
17493 #define HAVE_STRCASECMP_IN_STRING_H 1
17494 _ACEOF
17495
17496 else
17497 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17498 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17499 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17500 echo $ECHO_N "(cached) $ECHO_C" >&6
17501 else
17502
17503 cat >conftest.$ac_ext <<_ACEOF
17504 /* confdefs.h. */
17505 _ACEOF
17506 cat confdefs.h >>conftest.$ac_ext
17507 cat >>conftest.$ac_ext <<_ACEOF
17508 /* end confdefs.h. */
17509
17510 #include <strings.h>
17511
17512 int
17513 main ()
17514 {
17515
17516 strcasecmp("foo", "bar");
17517
17518 ;
17519 return 0;
17520 }
17521 _ACEOF
17522 rm -f conftest.$ac_objext conftest$ac_exeext
17523 if { (ac_try="$ac_link"
17524 case "(($ac_try" in
17525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17526 *) ac_try_echo=$ac_try;;
17527 esac
17528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17529 (eval "$ac_link") 2>conftest.er1
17530 ac_status=$?
17531 grep -v '^ *+' conftest.er1 >conftest.err
17532 rm -f conftest.er1
17533 cat conftest.err >&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } && {
17536 test -z "$ac_c_werror_flag" ||
17537 test ! -s conftest.err
17538 } && test -s conftest$ac_exeext &&
17539 $as_test_x conftest$ac_exeext; then
17540 ac_cv_strings_strcasecmp=yes
17541 else
17542 echo "$as_me: failed program was:" >&5
17543 sed 's/^/| /' conftest.$ac_ext >&5
17544
17545 ac_cv_strings_strcasecmp=no
17546
17547 fi
17548
17549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17550 conftest$ac_exeext conftest.$ac_ext
17551
17552 fi
17553 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17554 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17555
17556 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17557 cat >>confdefs.h <<\_ACEOF
17558 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17559 _ACEOF
17560
17561 else
17562 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17563 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17564 { (exit 1); exit 1; }; }
17565 fi
17566 fi
17567
17568 ;;
17569 esac
17570
17571
17572 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17573 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17574 if test "${ac_cv_header_stdc+set}" = set; then
17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 else
17577 cat >conftest.$ac_ext <<_ACEOF
17578 /* confdefs.h. */
17579 _ACEOF
17580 cat confdefs.h >>conftest.$ac_ext
17581 cat >>conftest.$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 #include <stdlib.h>
17584 #include <stdarg.h>
17585 #include <string.h>
17586 #include <float.h>
17587
17588 int
17589 main ()
17590 {
17591
17592 ;
17593 return 0;
17594 }
17595 _ACEOF
17596 rm -f conftest.$ac_objext
17597 if { (ac_try="$ac_compile"
17598 case "(($ac_try" in
17599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17600 *) ac_try_echo=$ac_try;;
17601 esac
17602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17603 (eval "$ac_compile") 2>conftest.er1
17604 ac_status=$?
17605 grep -v '^ *+' conftest.er1 >conftest.err
17606 rm -f conftest.er1
17607 cat conftest.err >&5
17608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17609 (exit $ac_status); } && {
17610 test -z "$ac_c_werror_flag" ||
17611 test ! -s conftest.err
17612 } && test -s conftest.$ac_objext; then
17613 ac_cv_header_stdc=yes
17614 else
17615 echo "$as_me: failed program was:" >&5
17616 sed 's/^/| /' conftest.$ac_ext >&5
17617
17618 ac_cv_header_stdc=no
17619 fi
17620
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622
17623 if test $ac_cv_header_stdc = yes; then
17624 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 #include <string.h>
17632
17633 _ACEOF
17634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17635 $EGREP "memchr" >/dev/null 2>&1; then
17636 :
17637 else
17638 ac_cv_header_stdc=no
17639 fi
17640 rm -f conftest*
17641
17642 fi
17643
17644 if test $ac_cv_header_stdc = yes; then
17645 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17646 cat >conftest.$ac_ext <<_ACEOF
17647 /* confdefs.h. */
17648 _ACEOF
17649 cat confdefs.h >>conftest.$ac_ext
17650 cat >>conftest.$ac_ext <<_ACEOF
17651 /* end confdefs.h. */
17652 #include <stdlib.h>
17653
17654 _ACEOF
17655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17656 $EGREP "free" >/dev/null 2>&1; then
17657 :
17658 else
17659 ac_cv_header_stdc=no
17660 fi
17661 rm -f conftest*
17662
17663 fi
17664
17665 if test $ac_cv_header_stdc = yes; then
17666 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17667 if test "$cross_compiling" = yes; then
17668 :
17669 else
17670 cat >conftest.$ac_ext <<_ACEOF
17671 /* confdefs.h. */
17672 _ACEOF
17673 cat confdefs.h >>conftest.$ac_ext
17674 cat >>conftest.$ac_ext <<_ACEOF
17675 /* end confdefs.h. */
17676 #include <ctype.h>
17677 #include <stdlib.h>
17678 #if ((' ' & 0x0FF) == 0x020)
17679 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17680 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17681 #else
17682 # define ISLOWER(c) \
17683 (('a' <= (c) && (c) <= 'i') \
17684 || ('j' <= (c) && (c) <= 'r') \
17685 || ('s' <= (c) && (c) <= 'z'))
17686 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17687 #endif
17688
17689 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17690 int
17691 main ()
17692 {
17693 int i;
17694 for (i = 0; i < 256; i++)
17695 if (XOR (islower (i), ISLOWER (i))
17696 || toupper (i) != TOUPPER (i))
17697 return 2;
17698 return 0;
17699 }
17700 _ACEOF
17701 rm -f conftest$ac_exeext
17702 if { (ac_try="$ac_link"
17703 case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;;
17706 esac
17707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17708 (eval "$ac_link") 2>&5
17709 ac_status=$?
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17712 { (case "(($ac_try" in
17713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17714 *) ac_try_echo=$ac_try;;
17715 esac
17716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17717 (eval "$ac_try") 2>&5
17718 ac_status=$?
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); }; }; then
17721 :
17722 else
17723 echo "$as_me: program exited with status $ac_status" >&5
17724 echo "$as_me: failed program was:" >&5
17725 sed 's/^/| /' conftest.$ac_ext >&5
17726
17727 ( exit $ac_status )
17728 ac_cv_header_stdc=no
17729 fi
17730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17731 fi
17732
17733
17734 fi
17735 fi
17736 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17737 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17738 if test $ac_cv_header_stdc = yes; then
17739
17740 cat >>confdefs.h <<\_ACEOF
17741 #define STDC_HEADERS 1
17742 _ACEOF
17743
17744 fi
17745
17746 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17757 inttypes.h stdint.h unistd.h
17758 do
17759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17760 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17761 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17763 echo $ECHO_N "(cached) $ECHO_C" >&6
17764 else
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 $ac_includes_default
17772
17773 #include <$ac_header>
17774 _ACEOF
17775 rm -f conftest.$ac_objext
17776 if { (ac_try="$ac_compile"
17777 case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17780 esac
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_compile") 2>conftest.er1
17783 ac_status=$?
17784 grep -v '^ *+' conftest.er1 >conftest.err
17785 rm -f conftest.er1
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } && {
17789 test -z "$ac_c_werror_flag" ||
17790 test ! -s conftest.err
17791 } && test -s conftest.$ac_objext; then
17792 eval "$as_ac_Header=yes"
17793 else
17794 echo "$as_me: failed program was:" >&5
17795 sed 's/^/| /' conftest.$ac_ext >&5
17796
17797 eval "$as_ac_Header=no"
17798 fi
17799
17800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17801 fi
17802 ac_res=`eval echo '${'$as_ac_Header'}'`
17803 { echo "$as_me:$LINENO: result: $ac_res" >&5
17804 echo "${ECHO_T}$ac_res" >&6; }
17805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17806 cat >>confdefs.h <<_ACEOF
17807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17808 _ACEOF
17809
17810 fi
17811
17812 done
17813
17814
17815
17816
17817
17818
17819
17820
17821 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17822 do
17823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17825 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17827 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17828 echo $ECHO_N "(cached) $ECHO_C" >&6
17829 fi
17830 ac_res=`eval echo '${'$as_ac_Header'}'`
17831 { echo "$as_me:$LINENO: result: $ac_res" >&5
17832 echo "${ECHO_T}$ac_res" >&6; }
17833 else
17834 # Is the header compilable?
17835 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17837 cat >conftest.$ac_ext <<_ACEOF
17838 /* confdefs.h. */
17839 _ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 $ac_includes_default
17844 #include <$ac_header>
17845 _ACEOF
17846 rm -f conftest.$ac_objext
17847 if { (ac_try="$ac_compile"
17848 case "(($ac_try" in
17849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17850 *) ac_try_echo=$ac_try;;
17851 esac
17852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17853 (eval "$ac_compile") 2>conftest.er1
17854 ac_status=$?
17855 grep -v '^ *+' conftest.er1 >conftest.err
17856 rm -f conftest.er1
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } && {
17860 test -z "$ac_c_werror_flag" ||
17861 test ! -s conftest.err
17862 } && test -s conftest.$ac_objext; then
17863 ac_header_compiler=yes
17864 else
17865 echo "$as_me: failed program was:" >&5
17866 sed 's/^/| /' conftest.$ac_ext >&5
17867
17868 ac_header_compiler=no
17869 fi
17870
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17873 echo "${ECHO_T}$ac_header_compiler" >&6; }
17874
17875 # Is the header present?
17876 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
17877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17878 cat >conftest.$ac_ext <<_ACEOF
17879 /* confdefs.h. */
17880 _ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17884 #include <$ac_header>
17885 _ACEOF
17886 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
17893 ac_status=$?
17894 grep -v '^ *+' conftest.er1 >conftest.err
17895 rm -f conftest.er1
17896 cat conftest.err >&5
17897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17898 (exit $ac_status); } >/dev/null && {
17899 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17900 test ! -s conftest.err
17901 }; then
17902 ac_header_preproc=yes
17903 else
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.$ac_ext >&5
17906
17907 ac_header_preproc=no
17908 fi
17909
17910 rm -f conftest.err conftest.$ac_ext
17911 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17912 echo "${ECHO_T}$ac_header_preproc" >&6; }
17913
17914 # So? What about this header?
17915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17916 yes:no: )
17917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17920 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17921 ac_header_preproc=yes
17922 ;;
17923 no:yes:* )
17924 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17925 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17926 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17927 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17928 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17929 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17930 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17931 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17933 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17934 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17935 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17936 ( cat <<\_ASBOX
17937 ## ----------------------------------------- ##
17938 ## Report this to wx-dev@lists.wxwidgets.org ##
17939 ## ----------------------------------------- ##
17940 _ASBOX
17941 ) | sed "s/^/$as_me: WARNING: /" >&2
17942 ;;
17943 esac
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 eval "$as_ac_Header=\$ac_header_preproc"
17950 fi
17951 ac_res=`eval echo '${'$as_ac_Header'}'`
17952 { echo "$as_me:$LINENO: result: $ac_res" >&5
17953 echo "${ECHO_T}$ac_res" >&6; }
17954
17955 fi
17956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17957 cat >>confdefs.h <<_ACEOF
17958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17959 _ACEOF
17960
17961 fi
17962
17963 done
17964
17965
17966 if test "$ac_cv_header_wchar_h" != "yes"; then
17967
17968 for ac_header in wcstr.h
17969 do
17970 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17972 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17975 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 fi
17977 ac_res=`eval echo '${'$as_ac_Header'}'`
17978 { echo "$as_me:$LINENO: result: $ac_res" >&5
17979 echo "${ECHO_T}$ac_res" >&6; }
17980 else
17981 # Is the header compilable?
17982 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
17983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 $ac_includes_default
17991 #include <$ac_header>
17992 _ACEOF
17993 rm -f conftest.$ac_objext
17994 if { (ac_try="$ac_compile"
17995 case "(($ac_try" in
17996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17997 *) ac_try_echo=$ac_try;;
17998 esac
17999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18000 (eval "$ac_compile") 2>conftest.er1
18001 ac_status=$?
18002 grep -v '^ *+' conftest.er1 >conftest.err
18003 rm -f conftest.er1
18004 cat conftest.err >&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } && {
18007 test -z "$ac_c_werror_flag" ||
18008 test ! -s conftest.err
18009 } && test -s conftest.$ac_objext; then
18010 ac_header_compiler=yes
18011 else
18012 echo "$as_me: failed program was:" >&5
18013 sed 's/^/| /' conftest.$ac_ext >&5
18014
18015 ac_header_compiler=no
18016 fi
18017
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18020 echo "${ECHO_T}$ac_header_compiler" >&6; }
18021
18022 # Is the header present?
18023 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18024 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18025 cat >conftest.$ac_ext <<_ACEOF
18026 /* confdefs.h. */
18027 _ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 #include <$ac_header>
18032 _ACEOF
18033 if { (ac_try="$ac_cpp conftest.$ac_ext"
18034 case "(($ac_try" in
18035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18036 *) ac_try_echo=$ac_try;;
18037 esac
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18040 ac_status=$?
18041 grep -v '^ *+' conftest.er1 >conftest.err
18042 rm -f conftest.er1
18043 cat conftest.err >&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } >/dev/null && {
18046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18047 test ! -s conftest.err
18048 }; then
18049 ac_header_preproc=yes
18050 else
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18053
18054 ac_header_preproc=no
18055 fi
18056
18057 rm -f conftest.err conftest.$ac_ext
18058 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18059 echo "${ECHO_T}$ac_header_preproc" >&6; }
18060
18061 # So? What about this header?
18062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18063 yes:no: )
18064 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18065 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18067 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18068 ac_header_preproc=yes
18069 ;;
18070 no:yes:* )
18071 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18072 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18073 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18074 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18075 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18076 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18077 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18078 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18080 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18081 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18082 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18083 ( cat <<\_ASBOX
18084 ## ----------------------------------------- ##
18085 ## Report this to wx-dev@lists.wxwidgets.org ##
18086 ## ----------------------------------------- ##
18087 _ASBOX
18088 ) | sed "s/^/$as_me: WARNING: /" >&2
18089 ;;
18090 esac
18091 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18095 else
18096 eval "$as_ac_Header=\$ac_header_preproc"
18097 fi
18098 ac_res=`eval echo '${'$as_ac_Header'}'`
18099 { echo "$as_me:$LINENO: result: $ac_res" >&5
18100 echo "${ECHO_T}$ac_res" >&6; }
18101
18102 fi
18103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18104 cat >>confdefs.h <<_ACEOF
18105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18106 _ACEOF
18107
18108 fi
18109
18110 done
18111
18112 fi
18113
18114 case "${host}" in
18115 *-pc-os2_emx | *-pc-os2-emx )
18116 if test $ac_cv_header_langinfo_h = "yes" \
18117 -a \( "$wx_cv_gccversion" = "EMX2" \
18118 -o "$wx_cv_gccversion" = "EMX3" \
18119 -o "$wx_cv_gccversion" = "Innotek5" \); then
18120 LIBS="$LIBS -lintl"
18121 fi
18122 ;;
18123 esac
18124
18125 if test "$USE_UNIX" = 1 ; then
18126
18127 for ac_header in sys/select.h
18128 do
18129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18130 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18131 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18133 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 fi
18136 ac_res=`eval echo '${'$as_ac_Header'}'`
18137 { echo "$as_me:$LINENO: result: $ac_res" >&5
18138 echo "${ECHO_T}$ac_res" >&6; }
18139 else
18140 # Is the header compilable?
18141 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18143 cat >conftest.$ac_ext <<_ACEOF
18144 /* confdefs.h. */
18145 _ACEOF
18146 cat confdefs.h >>conftest.$ac_ext
18147 cat >>conftest.$ac_ext <<_ACEOF
18148 /* end confdefs.h. */
18149 $ac_includes_default
18150 #include <$ac_header>
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18157 esac
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_compile") 2>conftest.er1
18160 ac_status=$?
18161 grep -v '^ *+' conftest.er1 >conftest.err
18162 rm -f conftest.er1
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } && {
18166 test -z "$ac_c_werror_flag" ||
18167 test ! -s conftest.err
18168 } && test -s conftest.$ac_objext; then
18169 ac_header_compiler=yes
18170 else
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18173
18174 ac_header_compiler=no
18175 fi
18176
18177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18178 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18179 echo "${ECHO_T}$ac_header_compiler" >&6; }
18180
18181 # Is the header present?
18182 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18184 cat >conftest.$ac_ext <<_ACEOF
18185 /* confdefs.h. */
18186 _ACEOF
18187 cat confdefs.h >>conftest.$ac_ext
18188 cat >>conftest.$ac_ext <<_ACEOF
18189 /* end confdefs.h. */
18190 #include <$ac_header>
18191 _ACEOF
18192 if { (ac_try="$ac_cpp conftest.$ac_ext"
18193 case "(($ac_try" in
18194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18195 *) ac_try_echo=$ac_try;;
18196 esac
18197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18198 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18199 ac_status=$?
18200 grep -v '^ *+' conftest.er1 >conftest.err
18201 rm -f conftest.er1
18202 cat conftest.err >&5
18203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 (exit $ac_status); } >/dev/null && {
18205 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18206 test ! -s conftest.err
18207 }; then
18208 ac_header_preproc=yes
18209 else
18210 echo "$as_me: failed program was:" >&5
18211 sed 's/^/| /' conftest.$ac_ext >&5
18212
18213 ac_header_preproc=no
18214 fi
18215
18216 rm -f conftest.err conftest.$ac_ext
18217 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18218 echo "${ECHO_T}$ac_header_preproc" >&6; }
18219
18220 # So? What about this header?
18221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18222 yes:no: )
18223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18227 ac_header_preproc=yes
18228 ;;
18229 no:yes:* )
18230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18242 ( cat <<\_ASBOX
18243 ## ----------------------------------------- ##
18244 ## Report this to wx-dev@lists.wxwidgets.org ##
18245 ## ----------------------------------------- ##
18246 _ASBOX
18247 ) | sed "s/^/$as_me: WARNING: /" >&2
18248 ;;
18249 esac
18250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18252 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18253 echo $ECHO_N "(cached) $ECHO_C" >&6
18254 else
18255 eval "$as_ac_Header=\$ac_header_preproc"
18256 fi
18257 ac_res=`eval echo '${'$as_ac_Header'}'`
18258 { echo "$as_me:$LINENO: result: $ac_res" >&5
18259 echo "${ECHO_T}$ac_res" >&6; }
18260
18261 fi
18262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18263 cat >>confdefs.h <<_ACEOF
18264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18265 _ACEOF
18266
18267 fi
18268
18269 done
18270
18271 fi
18272
18273
18274 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18275 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18276 if test "${ac_cv_c_const+set}" = set; then
18277 echo $ECHO_N "(cached) $ECHO_C" >&6
18278 else
18279 cat >conftest.$ac_ext <<_ACEOF
18280 /* confdefs.h. */
18281 _ACEOF
18282 cat confdefs.h >>conftest.$ac_ext
18283 cat >>conftest.$ac_ext <<_ACEOF
18284 /* end confdefs.h. */
18285
18286 int
18287 main ()
18288 {
18289 /* FIXME: Include the comments suggested by Paul. */
18290 #ifndef __cplusplus
18291 /* Ultrix mips cc rejects this. */
18292 typedef int charset[2];
18293 const charset cs;
18294 /* SunOS 4.1.1 cc rejects this. */
18295 char const *const *pcpcc;
18296 char **ppc;
18297 /* NEC SVR4.0.2 mips cc rejects this. */
18298 struct point {int x, y;};
18299 static struct point const zero = {0,0};
18300 /* AIX XL C 1.02.0.0 rejects this.
18301 It does not let you subtract one const X* pointer from another in
18302 an arm of an if-expression whose if-part is not a constant
18303 expression */
18304 const char *g = "string";
18305 pcpcc = &g + (g ? g-g : 0);
18306 /* HPUX 7.0 cc rejects these. */
18307 ++pcpcc;
18308 ppc = (char**) pcpcc;
18309 pcpcc = (char const *const *) ppc;
18310 { /* SCO 3.2v4 cc rejects this. */
18311 char *t;
18312 char const *s = 0 ? (char *) 0 : (char const *) 0;
18313
18314 *t++ = 0;
18315 if (s) return 0;
18316 }
18317 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18318 int x[] = {25, 17};
18319 const int *foo = &x[0];
18320 ++foo;
18321 }
18322 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18323 typedef const int *iptr;
18324 iptr p = 0;
18325 ++p;
18326 }
18327 { /* AIX XL C 1.02.0.0 rejects this saying
18328 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18329 struct s { int j; const int *ap[3]; };
18330 struct s *b; b->j = 5;
18331 }
18332 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18333 const int foo = 10;
18334 if (!foo) return 0;
18335 }
18336 return !cs[0] && !zero.x;
18337 #endif
18338
18339 ;
18340 return 0;
18341 }
18342 _ACEOF
18343 rm -f conftest.$ac_objext
18344 if { (ac_try="$ac_compile"
18345 case "(($ac_try" in
18346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18347 *) ac_try_echo=$ac_try;;
18348 esac
18349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18350 (eval "$ac_compile") 2>conftest.er1
18351 ac_status=$?
18352 grep -v '^ *+' conftest.er1 >conftest.err
18353 rm -f conftest.er1
18354 cat conftest.err >&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); } && {
18357 test -z "$ac_c_werror_flag" ||
18358 test ! -s conftest.err
18359 } && test -s conftest.$ac_objext; then
18360 ac_cv_c_const=yes
18361 else
18362 echo "$as_me: failed program was:" >&5
18363 sed 's/^/| /' conftest.$ac_ext >&5
18364
18365 ac_cv_c_const=no
18366 fi
18367
18368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18369 fi
18370 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18371 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18372 if test $ac_cv_c_const = no; then
18373
18374 cat >>confdefs.h <<\_ACEOF
18375 #define const
18376 _ACEOF
18377
18378 fi
18379
18380 { echo "$as_me:$LINENO: checking for inline" >&5
18381 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18382 if test "${ac_cv_c_inline+set}" = set; then
18383 echo $ECHO_N "(cached) $ECHO_C" >&6
18384 else
18385 ac_cv_c_inline=no
18386 for ac_kw in inline __inline__ __inline; do
18387 cat >conftest.$ac_ext <<_ACEOF
18388 /* confdefs.h. */
18389 _ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393 #ifndef __cplusplus
18394 typedef int foo_t;
18395 static $ac_kw foo_t static_foo () {return 0; }
18396 $ac_kw foo_t foo () {return 0; }
18397 #endif
18398
18399 _ACEOF
18400 rm -f conftest.$ac_objext
18401 if { (ac_try="$ac_compile"
18402 case "(($ac_try" in
18403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18404 *) ac_try_echo=$ac_try;;
18405 esac
18406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18407 (eval "$ac_compile") 2>conftest.er1
18408 ac_status=$?
18409 grep -v '^ *+' conftest.er1 >conftest.err
18410 rm -f conftest.er1
18411 cat conftest.err >&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); } && {
18414 test -z "$ac_c_werror_flag" ||
18415 test ! -s conftest.err
18416 } && test -s conftest.$ac_objext; then
18417 ac_cv_c_inline=$ac_kw
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18421
18422
18423 fi
18424
18425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18426 test "$ac_cv_c_inline" != no && break
18427 done
18428
18429 fi
18430 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18431 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18432
18433
18434 case $ac_cv_c_inline in
18435 inline | yes) ;;
18436 *)
18437 case $ac_cv_c_inline in
18438 no) ac_val=;;
18439 *) ac_val=$ac_cv_c_inline;;
18440 esac
18441 cat >>confdefs.h <<_ACEOF
18442 #ifndef __cplusplus
18443 #define inline $ac_val
18444 #endif
18445 _ACEOF
18446 ;;
18447 esac
18448
18449
18450 { echo "$as_me:$LINENO: checking for char" >&5
18451 echo $ECHO_N "checking for char... $ECHO_C" >&6; }
18452 if test "${ac_cv_type_char+set}" = set; then
18453 echo $ECHO_N "(cached) $ECHO_C" >&6
18454 else
18455 cat >conftest.$ac_ext <<_ACEOF
18456 /* confdefs.h. */
18457 _ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 $ac_includes_default
18462 typedef char ac__type_new_;
18463 int
18464 main ()
18465 {
18466 if ((ac__type_new_ *) 0)
18467 return 0;
18468 if (sizeof (ac__type_new_))
18469 return 0;
18470 ;
18471 return 0;
18472 }
18473 _ACEOF
18474 rm -f conftest.$ac_objext
18475 if { (ac_try="$ac_compile"
18476 case "(($ac_try" in
18477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18478 *) ac_try_echo=$ac_try;;
18479 esac
18480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_compile") 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } && {
18488 test -z "$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18490 } && test -s conftest.$ac_objext; then
18491 ac_cv_type_char=yes
18492 else
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18495
18496 ac_cv_type_char=no
18497 fi
18498
18499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18500 fi
18501 { echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18502 echo "${ECHO_T}$ac_cv_type_char" >&6; }
18503
18504 # The cast to long int works around a bug in the HP C Compiler
18505 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18506 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18507 # This bug is HP SR number 8606223364.
18508 { echo "$as_me:$LINENO: checking size of char" >&5
18509 echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
18510 if test "${ac_cv_sizeof_char+set}" = set; then
18511 echo $ECHO_N "(cached) $ECHO_C" >&6
18512 else
18513 if test "$cross_compiling" = yes; then
18514 # Depending upon the size, compute the lo and hi bounds.
18515 cat >conftest.$ac_ext <<_ACEOF
18516 /* confdefs.h. */
18517 _ACEOF
18518 cat confdefs.h >>conftest.$ac_ext
18519 cat >>conftest.$ac_ext <<_ACEOF
18520 /* end confdefs.h. */
18521 $ac_includes_default
18522 typedef char ac__type_sizeof_;
18523 int
18524 main ()
18525 {
18526 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18527 test_array [0] = 0
18528
18529 ;
18530 return 0;
18531 }
18532 _ACEOF
18533 rm -f conftest.$ac_objext
18534 if { (ac_try="$ac_compile"
18535 case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18538 esac
18539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_compile") 2>conftest.er1
18541 ac_status=$?
18542 grep -v '^ *+' conftest.er1 >conftest.err
18543 rm -f conftest.er1
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } && {
18547 test -z "$ac_c_werror_flag" ||
18548 test ! -s conftest.err
18549 } && test -s conftest.$ac_objext; then
18550 ac_lo=0 ac_mid=0
18551 while :; do
18552 cat >conftest.$ac_ext <<_ACEOF
18553 /* confdefs.h. */
18554 _ACEOF
18555 cat confdefs.h >>conftest.$ac_ext
18556 cat >>conftest.$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 $ac_includes_default
18559 typedef char ac__type_sizeof_;
18560 int
18561 main ()
18562 {
18563 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18564 test_array [0] = 0
18565
18566 ;
18567 return 0;
18568 }
18569 _ACEOF
18570 rm -f conftest.$ac_objext
18571 if { (ac_try="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18575 esac
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 ac_hi=$ac_mid; break
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18591
18592 ac_lo=`expr $ac_mid + 1`
18593 if test $ac_lo -le $ac_mid; then
18594 ac_lo= ac_hi=
18595 break
18596 fi
18597 ac_mid=`expr 2 '*' $ac_mid + 1`
18598 fi
18599
18600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18601 done
18602 else
18603 echo "$as_me: failed program was:" >&5
18604 sed 's/^/| /' conftest.$ac_ext >&5
18605
18606 cat >conftest.$ac_ext <<_ACEOF
18607 /* confdefs.h. */
18608 _ACEOF
18609 cat confdefs.h >>conftest.$ac_ext
18610 cat >>conftest.$ac_ext <<_ACEOF
18611 /* end confdefs.h. */
18612 $ac_includes_default
18613 typedef char ac__type_sizeof_;
18614 int
18615 main ()
18616 {
18617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18618 test_array [0] = 0
18619
18620 ;
18621 return 0;
18622 }
18623 _ACEOF
18624 rm -f conftest.$ac_objext
18625 if { (ac_try="$ac_compile"
18626 case "(($ac_try" in
18627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18628 *) ac_try_echo=$ac_try;;
18629 esac
18630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18631 (eval "$ac_compile") 2>conftest.er1
18632 ac_status=$?
18633 grep -v '^ *+' conftest.er1 >conftest.err
18634 rm -f conftest.er1
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } && {
18638 test -z "$ac_c_werror_flag" ||
18639 test ! -s conftest.err
18640 } && test -s conftest.$ac_objext; then
18641 ac_hi=-1 ac_mid=-1
18642 while :; do
18643 cat >conftest.$ac_ext <<_ACEOF
18644 /* confdefs.h. */
18645 _ACEOF
18646 cat confdefs.h >>conftest.$ac_ext
18647 cat >>conftest.$ac_ext <<_ACEOF
18648 /* end confdefs.h. */
18649 $ac_includes_default
18650 typedef char ac__type_sizeof_;
18651 int
18652 main ()
18653 {
18654 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18655 test_array [0] = 0
18656
18657 ;
18658 return 0;
18659 }
18660 _ACEOF
18661 rm -f conftest.$ac_objext
18662 if { (ac_try="$ac_compile"
18663 case "(($ac_try" in
18664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18665 *) ac_try_echo=$ac_try;;
18666 esac
18667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18668 (eval "$ac_compile") 2>conftest.er1
18669 ac_status=$?
18670 grep -v '^ *+' conftest.er1 >conftest.err
18671 rm -f conftest.er1
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } && {
18675 test -z "$ac_c_werror_flag" ||
18676 test ! -s conftest.err
18677 } && test -s conftest.$ac_objext; then
18678 ac_lo=$ac_mid; break
18679 else
18680 echo "$as_me: failed program was:" >&5
18681 sed 's/^/| /' conftest.$ac_ext >&5
18682
18683 ac_hi=`expr '(' $ac_mid ')' - 1`
18684 if test $ac_mid -le $ac_hi; then
18685 ac_lo= ac_hi=
18686 break
18687 fi
18688 ac_mid=`expr 2 '*' $ac_mid`
18689 fi
18690
18691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18692 done
18693 else
18694 echo "$as_me: failed program was:" >&5
18695 sed 's/^/| /' conftest.$ac_ext >&5
18696
18697 ac_lo= ac_hi=
18698 fi
18699
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18701 fi
18702
18703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18704 # Binary search between lo and hi bounds.
18705 while test "x$ac_lo" != "x$ac_hi"; do
18706 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18707 cat >conftest.$ac_ext <<_ACEOF
18708 /* confdefs.h. */
18709 _ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18714 typedef char ac__type_sizeof_;
18715 int
18716 main ()
18717 {
18718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18719 test_array [0] = 0
18720
18721 ;
18722 return 0;
18723 }
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (ac_try="$ac_compile"
18727 case "(($ac_try" in
18728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18729 *) ac_try_echo=$ac_try;;
18730 esac
18731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18732 (eval "$ac_compile") 2>conftest.er1
18733 ac_status=$?
18734 grep -v '^ *+' conftest.er1 >conftest.err
18735 rm -f conftest.er1
18736 cat conftest.err >&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); } && {
18739 test -z "$ac_c_werror_flag" ||
18740 test ! -s conftest.err
18741 } && test -s conftest.$ac_objext; then
18742 ac_hi=$ac_mid
18743 else
18744 echo "$as_me: failed program was:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18746
18747 ac_lo=`expr '(' $ac_mid ')' + 1`
18748 fi
18749
18750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18751 done
18752 case $ac_lo in
18753 ?*) ac_cv_sizeof_char=$ac_lo;;
18754 '') if test "$ac_cv_type_char" = yes; then
18755 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18756 See \`config.log' for more details." >&5
18757 echo "$as_me: error: cannot compute sizeof (char)
18758 See \`config.log' for more details." >&2;}
18759 { (exit 77); exit 77; }; }
18760 else
18761 ac_cv_sizeof_char=0
18762 fi ;;
18763 esac
18764 else
18765 cat >conftest.$ac_ext <<_ACEOF
18766 /* confdefs.h. */
18767 _ACEOF
18768 cat confdefs.h >>conftest.$ac_ext
18769 cat >>conftest.$ac_ext <<_ACEOF
18770 /* end confdefs.h. */
18771 $ac_includes_default
18772 typedef char ac__type_sizeof_;
18773 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18774 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18775 #include <stdio.h>
18776 #include <stdlib.h>
18777 int
18778 main ()
18779 {
18780
18781 FILE *f = fopen ("conftest.val", "w");
18782 if (! f)
18783 return 1;
18784 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18785 {
18786 long int i = longval ();
18787 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18788 return 1;
18789 fprintf (f, "%ld\n", i);
18790 }
18791 else
18792 {
18793 unsigned long int i = ulongval ();
18794 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18795 return 1;
18796 fprintf (f, "%lu\n", i);
18797 }
18798 return ferror (f) || fclose (f) != 0;
18799
18800 ;
18801 return 0;
18802 }
18803 _ACEOF
18804 rm -f conftest$ac_exeext
18805 if { (ac_try="$ac_link"
18806 case "(($ac_try" in
18807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18808 *) ac_try_echo=$ac_try;;
18809 esac
18810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18811 (eval "$ac_link") 2>&5
18812 ac_status=$?
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18815 { (case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18817 *) ac_try_echo=$ac_try;;
18818 esac
18819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18820 (eval "$ac_try") 2>&5
18821 ac_status=$?
18822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823 (exit $ac_status); }; }; then
18824 ac_cv_sizeof_char=`cat conftest.val`
18825 else
18826 echo "$as_me: program exited with status $ac_status" >&5
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18829
18830 ( exit $ac_status )
18831 if test "$ac_cv_type_char" = yes; then
18832 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
18833 See \`config.log' for more details." >&5
18834 echo "$as_me: error: cannot compute sizeof (char)
18835 See \`config.log' for more details." >&2;}
18836 { (exit 77); exit 77; }; }
18837 else
18838 ac_cv_sizeof_char=0
18839 fi
18840 fi
18841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18842 fi
18843 rm -f conftest.val
18844 fi
18845 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18846 echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
18847
18848
18849
18850 cat >>confdefs.h <<_ACEOF
18851 #define SIZEOF_CHAR $ac_cv_sizeof_char
18852 _ACEOF
18853
18854
18855 { echo "$as_me:$LINENO: checking for short" >&5
18856 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18857 if test "${ac_cv_type_short+set}" = set; then
18858 echo $ECHO_N "(cached) $ECHO_C" >&6
18859 else
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 $ac_includes_default
18867 typedef short ac__type_new_;
18868 int
18869 main ()
18870 {
18871 if ((ac__type_new_ *) 0)
18872 return 0;
18873 if (sizeof (ac__type_new_))
18874 return 0;
18875 ;
18876 return 0;
18877 }
18878 _ACEOF
18879 rm -f conftest.$ac_objext
18880 if { (ac_try="$ac_compile"
18881 case "(($ac_try" in
18882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18883 *) ac_try_echo=$ac_try;;
18884 esac
18885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18886 (eval "$ac_compile") 2>conftest.er1
18887 ac_status=$?
18888 grep -v '^ *+' conftest.er1 >conftest.err
18889 rm -f conftest.er1
18890 cat conftest.err >&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } && {
18893 test -z "$ac_c_werror_flag" ||
18894 test ! -s conftest.err
18895 } && test -s conftest.$ac_objext; then
18896 ac_cv_type_short=yes
18897 else
18898 echo "$as_me: failed program was:" >&5
18899 sed 's/^/| /' conftest.$ac_ext >&5
18900
18901 ac_cv_type_short=no
18902 fi
18903
18904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18905 fi
18906 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18907 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18908
18909 # The cast to long int works around a bug in the HP C Compiler
18910 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18911 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18912 # This bug is HP SR number 8606223364.
18913 { echo "$as_me:$LINENO: checking size of short" >&5
18914 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18915 if test "${ac_cv_sizeof_short+set}" = set; then
18916 echo $ECHO_N "(cached) $ECHO_C" >&6
18917 else
18918 if test "$cross_compiling" = yes; then
18919 # Depending upon the size, compute the lo and hi bounds.
18920 cat >conftest.$ac_ext <<_ACEOF
18921 /* confdefs.h. */
18922 _ACEOF
18923 cat confdefs.h >>conftest.$ac_ext
18924 cat >>conftest.$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18926 $ac_includes_default
18927 typedef short ac__type_sizeof_;
18928 int
18929 main ()
18930 {
18931 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18932 test_array [0] = 0
18933
18934 ;
18935 return 0;
18936 }
18937 _ACEOF
18938 rm -f conftest.$ac_objext
18939 if { (ac_try="$ac_compile"
18940 case "(($ac_try" in
18941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18942 *) ac_try_echo=$ac_try;;
18943 esac
18944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18945 (eval "$ac_compile") 2>conftest.er1
18946 ac_status=$?
18947 grep -v '^ *+' conftest.er1 >conftest.err
18948 rm -f conftest.er1
18949 cat conftest.err >&5
18950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951 (exit $ac_status); } && {
18952 test -z "$ac_c_werror_flag" ||
18953 test ! -s conftest.err
18954 } && test -s conftest.$ac_objext; then
18955 ac_lo=0 ac_mid=0
18956 while :; do
18957 cat >conftest.$ac_ext <<_ACEOF
18958 /* confdefs.h. */
18959 _ACEOF
18960 cat confdefs.h >>conftest.$ac_ext
18961 cat >>conftest.$ac_ext <<_ACEOF
18962 /* end confdefs.h. */
18963 $ac_includes_default
18964 typedef short ac__type_sizeof_;
18965 int
18966 main ()
18967 {
18968 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18969 test_array [0] = 0
18970
18971 ;
18972 return 0;
18973 }
18974 _ACEOF
18975 rm -f conftest.$ac_objext
18976 if { (ac_try="$ac_compile"
18977 case "(($ac_try" in
18978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18979 *) ac_try_echo=$ac_try;;
18980 esac
18981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18982 (eval "$ac_compile") 2>conftest.er1
18983 ac_status=$?
18984 grep -v '^ *+' conftest.er1 >conftest.err
18985 rm -f conftest.er1
18986 cat conftest.err >&5
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } && {
18989 test -z "$ac_c_werror_flag" ||
18990 test ! -s conftest.err
18991 } && test -s conftest.$ac_objext; then
18992 ac_hi=$ac_mid; break
18993 else
18994 echo "$as_me: failed program was:" >&5
18995 sed 's/^/| /' conftest.$ac_ext >&5
18996
18997 ac_lo=`expr $ac_mid + 1`
18998 if test $ac_lo -le $ac_mid; then
18999 ac_lo= ac_hi=
19000 break
19001 fi
19002 ac_mid=`expr 2 '*' $ac_mid + 1`
19003 fi
19004
19005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19006 done
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19010
19011 cat >conftest.$ac_ext <<_ACEOF
19012 /* confdefs.h. */
19013 _ACEOF
19014 cat confdefs.h >>conftest.$ac_ext
19015 cat >>conftest.$ac_ext <<_ACEOF
19016 /* end confdefs.h. */
19017 $ac_includes_default
19018 typedef short ac__type_sizeof_;
19019 int
19020 main ()
19021 {
19022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19023 test_array [0] = 0
19024
19025 ;
19026 return 0;
19027 }
19028 _ACEOF
19029 rm -f conftest.$ac_objext
19030 if { (ac_try="$ac_compile"
19031 case "(($ac_try" in
19032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19033 *) ac_try_echo=$ac_try;;
19034 esac
19035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19036 (eval "$ac_compile") 2>conftest.er1
19037 ac_status=$?
19038 grep -v '^ *+' conftest.er1 >conftest.err
19039 rm -f conftest.er1
19040 cat conftest.err >&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } && {
19043 test -z "$ac_c_werror_flag" ||
19044 test ! -s conftest.err
19045 } && test -s conftest.$ac_objext; then
19046 ac_hi=-1 ac_mid=-1
19047 while :; do
19048 cat >conftest.$ac_ext <<_ACEOF
19049 /* confdefs.h. */
19050 _ACEOF
19051 cat confdefs.h >>conftest.$ac_ext
19052 cat >>conftest.$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19054 $ac_includes_default
19055 typedef short ac__type_sizeof_;
19056 int
19057 main ()
19058 {
19059 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19060 test_array [0] = 0
19061
19062 ;
19063 return 0;
19064 }
19065 _ACEOF
19066 rm -f conftest.$ac_objext
19067 if { (ac_try="$ac_compile"
19068 case "(($ac_try" in
19069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19070 *) ac_try_echo=$ac_try;;
19071 esac
19072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19073 (eval "$ac_compile") 2>conftest.er1
19074 ac_status=$?
19075 grep -v '^ *+' conftest.er1 >conftest.err
19076 rm -f conftest.er1
19077 cat conftest.err >&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } && {
19080 test -z "$ac_c_werror_flag" ||
19081 test ! -s conftest.err
19082 } && test -s conftest.$ac_objext; then
19083 ac_lo=$ac_mid; break
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19087
19088 ac_hi=`expr '(' $ac_mid ')' - 1`
19089 if test $ac_mid -le $ac_hi; then
19090 ac_lo= ac_hi=
19091 break
19092 fi
19093 ac_mid=`expr 2 '*' $ac_mid`
19094 fi
19095
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097 done
19098 else
19099 echo "$as_me: failed program was:" >&5
19100 sed 's/^/| /' conftest.$ac_ext >&5
19101
19102 ac_lo= ac_hi=
19103 fi
19104
19105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19106 fi
19107
19108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19109 # Binary search between lo and hi bounds.
19110 while test "x$ac_lo" != "x$ac_hi"; do
19111 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19112 cat >conftest.$ac_ext <<_ACEOF
19113 /* confdefs.h. */
19114 _ACEOF
19115 cat confdefs.h >>conftest.$ac_ext
19116 cat >>conftest.$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19118 $ac_includes_default
19119 typedef short ac__type_sizeof_;
19120 int
19121 main ()
19122 {
19123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19124 test_array [0] = 0
19125
19126 ;
19127 return 0;
19128 }
19129 _ACEOF
19130 rm -f conftest.$ac_objext
19131 if { (ac_try="$ac_compile"
19132 case "(($ac_try" in
19133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19134 *) ac_try_echo=$ac_try;;
19135 esac
19136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19137 (eval "$ac_compile") 2>conftest.er1
19138 ac_status=$?
19139 grep -v '^ *+' conftest.er1 >conftest.err
19140 rm -f conftest.er1
19141 cat conftest.err >&5
19142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143 (exit $ac_status); } && {
19144 test -z "$ac_c_werror_flag" ||
19145 test ! -s conftest.err
19146 } && test -s conftest.$ac_objext; then
19147 ac_hi=$ac_mid
19148 else
19149 echo "$as_me: failed program was:" >&5
19150 sed 's/^/| /' conftest.$ac_ext >&5
19151
19152 ac_lo=`expr '(' $ac_mid ')' + 1`
19153 fi
19154
19155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19156 done
19157 case $ac_lo in
19158 ?*) ac_cv_sizeof_short=$ac_lo;;
19159 '') if test "$ac_cv_type_short" = yes; then
19160 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19161 See \`config.log' for more details." >&5
19162 echo "$as_me: error: cannot compute sizeof (short)
19163 See \`config.log' for more details." >&2;}
19164 { (exit 77); exit 77; }; }
19165 else
19166 ac_cv_sizeof_short=0
19167 fi ;;
19168 esac
19169 else
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177 typedef short ac__type_sizeof_;
19178 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19179 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19180 #include <stdio.h>
19181 #include <stdlib.h>
19182 int
19183 main ()
19184 {
19185
19186 FILE *f = fopen ("conftest.val", "w");
19187 if (! f)
19188 return 1;
19189 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19190 {
19191 long int i = longval ();
19192 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19193 return 1;
19194 fprintf (f, "%ld\n", i);
19195 }
19196 else
19197 {
19198 unsigned long int i = ulongval ();
19199 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19200 return 1;
19201 fprintf (f, "%lu\n", i);
19202 }
19203 return ferror (f) || fclose (f) != 0;
19204
19205 ;
19206 return 0;
19207 }
19208 _ACEOF
19209 rm -f conftest$ac_exeext
19210 if { (ac_try="$ac_link"
19211 case "(($ac_try" in
19212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19213 *) ac_try_echo=$ac_try;;
19214 esac
19215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19216 (eval "$ac_link") 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19220 { (case "(($ac_try" in
19221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19222 *) ac_try_echo=$ac_try;;
19223 esac
19224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19225 (eval "$ac_try") 2>&5
19226 ac_status=$?
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); }; }; then
19229 ac_cv_sizeof_short=`cat conftest.val`
19230 else
19231 echo "$as_me: program exited with status $ac_status" >&5
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19234
19235 ( exit $ac_status )
19236 if test "$ac_cv_type_short" = yes; then
19237 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19238 See \`config.log' for more details." >&5
19239 echo "$as_me: error: cannot compute sizeof (short)
19240 See \`config.log' for more details." >&2;}
19241 { (exit 77); exit 77; }; }
19242 else
19243 ac_cv_sizeof_short=0
19244 fi
19245 fi
19246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19247 fi
19248 rm -f conftest.val
19249 fi
19250 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19251 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19252
19253
19254
19255 cat >>confdefs.h <<_ACEOF
19256 #define SIZEOF_SHORT $ac_cv_sizeof_short
19257 _ACEOF
19258
19259
19260 { echo "$as_me:$LINENO: checking for void *" >&5
19261 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19262 if test "${ac_cv_type_void_p+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19264 else
19265 cat >conftest.$ac_ext <<_ACEOF
19266 /* confdefs.h. */
19267 _ACEOF
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19271 $ac_includes_default
19272 typedef void * ac__type_new_;
19273 int
19274 main ()
19275 {
19276 if ((ac__type_new_ *) 0)
19277 return 0;
19278 if (sizeof (ac__type_new_))
19279 return 0;
19280 ;
19281 return 0;
19282 }
19283 _ACEOF
19284 rm -f conftest.$ac_objext
19285 if { (ac_try="$ac_compile"
19286 case "(($ac_try" in
19287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19288 *) ac_try_echo=$ac_try;;
19289 esac
19290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19291 (eval "$ac_compile") 2>conftest.er1
19292 ac_status=$?
19293 grep -v '^ *+' conftest.er1 >conftest.err
19294 rm -f conftest.er1
19295 cat conftest.err >&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } && {
19298 test -z "$ac_c_werror_flag" ||
19299 test ! -s conftest.err
19300 } && test -s conftest.$ac_objext; then
19301 ac_cv_type_void_p=yes
19302 else
19303 echo "$as_me: failed program was:" >&5
19304 sed 's/^/| /' conftest.$ac_ext >&5
19305
19306 ac_cv_type_void_p=no
19307 fi
19308
19309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19310 fi
19311 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19312 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19313
19314 # The cast to long int works around a bug in the HP C Compiler
19315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19317 # This bug is HP SR number 8606223364.
19318 { echo "$as_me:$LINENO: checking size of void *" >&5
19319 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19320 if test "${ac_cv_sizeof_void_p+set}" = set; then
19321 echo $ECHO_N "(cached) $ECHO_C" >&6
19322 else
19323 if test "$cross_compiling" = yes; then
19324 # Depending upon the size, compute the lo and hi bounds.
19325 cat >conftest.$ac_ext <<_ACEOF
19326 /* confdefs.h. */
19327 _ACEOF
19328 cat confdefs.h >>conftest.$ac_ext
19329 cat >>conftest.$ac_ext <<_ACEOF
19330 /* end confdefs.h. */
19331 $ac_includes_default
19332 typedef void * ac__type_sizeof_;
19333 int
19334 main ()
19335 {
19336 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19337 test_array [0] = 0
19338
19339 ;
19340 return 0;
19341 }
19342 _ACEOF
19343 rm -f conftest.$ac_objext
19344 if { (ac_try="$ac_compile"
19345 case "(($ac_try" in
19346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19347 *) ac_try_echo=$ac_try;;
19348 esac
19349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19350 (eval "$ac_compile") 2>conftest.er1
19351 ac_status=$?
19352 grep -v '^ *+' conftest.er1 >conftest.err
19353 rm -f conftest.er1
19354 cat conftest.err >&5
19355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19356 (exit $ac_status); } && {
19357 test -z "$ac_c_werror_flag" ||
19358 test ! -s conftest.err
19359 } && test -s conftest.$ac_objext; then
19360 ac_lo=0 ac_mid=0
19361 while :; do
19362 cat >conftest.$ac_ext <<_ACEOF
19363 /* confdefs.h. */
19364 _ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 $ac_includes_default
19369 typedef void * ac__type_sizeof_;
19370 int
19371 main ()
19372 {
19373 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19374 test_array [0] = 0
19375
19376 ;
19377 return 0;
19378 }
19379 _ACEOF
19380 rm -f conftest.$ac_objext
19381 if { (ac_try="$ac_compile"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19385 esac
19386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_compile") 2>conftest.er1
19388 ac_status=$?
19389 grep -v '^ *+' conftest.er1 >conftest.err
19390 rm -f conftest.er1
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest.$ac_objext; then
19397 ac_hi=$ac_mid; break
19398 else
19399 echo "$as_me: failed program was:" >&5
19400 sed 's/^/| /' conftest.$ac_ext >&5
19401
19402 ac_lo=`expr $ac_mid + 1`
19403 if test $ac_lo -le $ac_mid; then
19404 ac_lo= ac_hi=
19405 break
19406 fi
19407 ac_mid=`expr 2 '*' $ac_mid + 1`
19408 fi
19409
19410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19411 done
19412 else
19413 echo "$as_me: failed program was:" >&5
19414 sed 's/^/| /' conftest.$ac_ext >&5
19415
19416 cat >conftest.$ac_ext <<_ACEOF
19417 /* confdefs.h. */
19418 _ACEOF
19419 cat confdefs.h >>conftest.$ac_ext
19420 cat >>conftest.$ac_ext <<_ACEOF
19421 /* end confdefs.h. */
19422 $ac_includes_default
19423 typedef void * ac__type_sizeof_;
19424 int
19425 main ()
19426 {
19427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19428 test_array [0] = 0
19429
19430 ;
19431 return 0;
19432 }
19433 _ACEOF
19434 rm -f conftest.$ac_objext
19435 if { (ac_try="$ac_compile"
19436 case "(($ac_try" in
19437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19438 *) ac_try_echo=$ac_try;;
19439 esac
19440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19441 (eval "$ac_compile") 2>conftest.er1
19442 ac_status=$?
19443 grep -v '^ *+' conftest.er1 >conftest.err
19444 rm -f conftest.er1
19445 cat conftest.err >&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); } && {
19448 test -z "$ac_c_werror_flag" ||
19449 test ! -s conftest.err
19450 } && test -s conftest.$ac_objext; then
19451 ac_hi=-1 ac_mid=-1
19452 while :; do
19453 cat >conftest.$ac_ext <<_ACEOF
19454 /* confdefs.h. */
19455 _ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 $ac_includes_default
19460 typedef void * ac__type_sizeof_;
19461 int
19462 main ()
19463 {
19464 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19465 test_array [0] = 0
19466
19467 ;
19468 return 0;
19469 }
19470 _ACEOF
19471 rm -f conftest.$ac_objext
19472 if { (ac_try="$ac_compile"
19473 case "(($ac_try" in
19474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19475 *) ac_try_echo=$ac_try;;
19476 esac
19477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19478 (eval "$ac_compile") 2>conftest.er1
19479 ac_status=$?
19480 grep -v '^ *+' conftest.er1 >conftest.err
19481 rm -f conftest.er1
19482 cat conftest.err >&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } && {
19485 test -z "$ac_c_werror_flag" ||
19486 test ! -s conftest.err
19487 } && test -s conftest.$ac_objext; then
19488 ac_lo=$ac_mid; break
19489 else
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19492
19493 ac_hi=`expr '(' $ac_mid ')' - 1`
19494 if test $ac_mid -le $ac_hi; then
19495 ac_lo= ac_hi=
19496 break
19497 fi
19498 ac_mid=`expr 2 '*' $ac_mid`
19499 fi
19500
19501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19502 done
19503 else
19504 echo "$as_me: failed program was:" >&5
19505 sed 's/^/| /' conftest.$ac_ext >&5
19506
19507 ac_lo= ac_hi=
19508 fi
19509
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 fi
19512
19513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19514 # Binary search between lo and hi bounds.
19515 while test "x$ac_lo" != "x$ac_hi"; do
19516 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19517 cat >conftest.$ac_ext <<_ACEOF
19518 /* confdefs.h. */
19519 _ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523 $ac_includes_default
19524 typedef void * ac__type_sizeof_;
19525 int
19526 main ()
19527 {
19528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19529 test_array [0] = 0
19530
19531 ;
19532 return 0;
19533 }
19534 _ACEOF
19535 rm -f conftest.$ac_objext
19536 if { (ac_try="$ac_compile"
19537 case "(($ac_try" in
19538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19539 *) ac_try_echo=$ac_try;;
19540 esac
19541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19542 (eval "$ac_compile") 2>conftest.er1
19543 ac_status=$?
19544 grep -v '^ *+' conftest.er1 >conftest.err
19545 rm -f conftest.er1
19546 cat conftest.err >&5
19547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548 (exit $ac_status); } && {
19549 test -z "$ac_c_werror_flag" ||
19550 test ! -s conftest.err
19551 } && test -s conftest.$ac_objext; then
19552 ac_hi=$ac_mid
19553 else
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19556
19557 ac_lo=`expr '(' $ac_mid ')' + 1`
19558 fi
19559
19560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 done
19562 case $ac_lo in
19563 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19564 '') if test "$ac_cv_type_void_p" = yes; then
19565 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19566 See \`config.log' for more details." >&5
19567 echo "$as_me: error: cannot compute sizeof (void *)
19568 See \`config.log' for more details." >&2;}
19569 { (exit 77); exit 77; }; }
19570 else
19571 ac_cv_sizeof_void_p=0
19572 fi ;;
19573 esac
19574 else
19575 cat >conftest.$ac_ext <<_ACEOF
19576 /* confdefs.h. */
19577 _ACEOF
19578 cat confdefs.h >>conftest.$ac_ext
19579 cat >>conftest.$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 typedef void * ac__type_sizeof_;
19583 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19584 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19585 #include <stdio.h>
19586 #include <stdlib.h>
19587 int
19588 main ()
19589 {
19590
19591 FILE *f = fopen ("conftest.val", "w");
19592 if (! f)
19593 return 1;
19594 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19595 {
19596 long int i = longval ();
19597 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19598 return 1;
19599 fprintf (f, "%ld\n", i);
19600 }
19601 else
19602 {
19603 unsigned long int i = ulongval ();
19604 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19605 return 1;
19606 fprintf (f, "%lu\n", i);
19607 }
19608 return ferror (f) || fclose (f) != 0;
19609
19610 ;
19611 return 0;
19612 }
19613 _ACEOF
19614 rm -f conftest$ac_exeext
19615 if { (ac_try="$ac_link"
19616 case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19619 esac
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_link") 2>&5
19622 ac_status=$?
19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19625 { (case "(($ac_try" in
19626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19627 *) ac_try_echo=$ac_try;;
19628 esac
19629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19630 (eval "$ac_try") 2>&5
19631 ac_status=$?
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); }; }; then
19634 ac_cv_sizeof_void_p=`cat conftest.val`
19635 else
19636 echo "$as_me: program exited with status $ac_status" >&5
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640 ( exit $ac_status )
19641 if test "$ac_cv_type_void_p" = yes; then
19642 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19643 See \`config.log' for more details." >&5
19644 echo "$as_me: error: cannot compute sizeof (void *)
19645 See \`config.log' for more details." >&2;}
19646 { (exit 77); exit 77; }; }
19647 else
19648 ac_cv_sizeof_void_p=0
19649 fi
19650 fi
19651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19652 fi
19653 rm -f conftest.val
19654 fi
19655 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19656 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19657
19658
19659
19660 cat >>confdefs.h <<_ACEOF
19661 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19662 _ACEOF
19663
19664
19665 { echo "$as_me:$LINENO: checking for int" >&5
19666 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19667 if test "${ac_cv_type_int+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19669 else
19670 cat >conftest.$ac_ext <<_ACEOF
19671 /* confdefs.h. */
19672 _ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 $ac_includes_default
19677 typedef int ac__type_new_;
19678 int
19679 main ()
19680 {
19681 if ((ac__type_new_ *) 0)
19682 return 0;
19683 if (sizeof (ac__type_new_))
19684 return 0;
19685 ;
19686 return 0;
19687 }
19688 _ACEOF
19689 rm -f conftest.$ac_objext
19690 if { (ac_try="$ac_compile"
19691 case "(($ac_try" in
19692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19693 *) ac_try_echo=$ac_try;;
19694 esac
19695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19696 (eval "$ac_compile") 2>conftest.er1
19697 ac_status=$?
19698 grep -v '^ *+' conftest.er1 >conftest.err
19699 rm -f conftest.er1
19700 cat conftest.err >&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } && {
19703 test -z "$ac_c_werror_flag" ||
19704 test ! -s conftest.err
19705 } && test -s conftest.$ac_objext; then
19706 ac_cv_type_int=yes
19707 else
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.$ac_ext >&5
19710
19711 ac_cv_type_int=no
19712 fi
19713
19714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19715 fi
19716 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19717 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19718
19719 # The cast to long int works around a bug in the HP C Compiler
19720 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19721 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19722 # This bug is HP SR number 8606223364.
19723 { echo "$as_me:$LINENO: checking size of int" >&5
19724 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19725 if test "${ac_cv_sizeof_int+set}" = set; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 else
19728 if test "$cross_compiling" = yes; then
19729 # Depending upon the size, compute the lo and hi bounds.
19730 cat >conftest.$ac_ext <<_ACEOF
19731 /* confdefs.h. */
19732 _ACEOF
19733 cat confdefs.h >>conftest.$ac_ext
19734 cat >>conftest.$ac_ext <<_ACEOF
19735 /* end confdefs.h. */
19736 $ac_includes_default
19737 typedef int ac__type_sizeof_;
19738 int
19739 main ()
19740 {
19741 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19742 test_array [0] = 0
19743
19744 ;
19745 return 0;
19746 }
19747 _ACEOF
19748 rm -f conftest.$ac_objext
19749 if { (ac_try="$ac_compile"
19750 case "(($ac_try" in
19751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19753 esac
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_compile") 2>conftest.er1
19756 ac_status=$?
19757 grep -v '^ *+' conftest.er1 >conftest.err
19758 rm -f conftest.er1
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && {
19762 test -z "$ac_c_werror_flag" ||
19763 test ! -s conftest.err
19764 } && test -s conftest.$ac_objext; then
19765 ac_lo=0 ac_mid=0
19766 while :; do
19767 cat >conftest.$ac_ext <<_ACEOF
19768 /* confdefs.h. */
19769 _ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 $ac_includes_default
19774 typedef int ac__type_sizeof_;
19775 int
19776 main ()
19777 {
19778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19779 test_array [0] = 0
19780
19781 ;
19782 return 0;
19783 }
19784 _ACEOF
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19790 esac
19791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19793 ac_status=$?
19794 grep -v '^ *+' conftest.er1 >conftest.err
19795 rm -f conftest.er1
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_c_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19802 ac_hi=$ac_mid; break
19803 else
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19806
19807 ac_lo=`expr $ac_mid + 1`
19808 if test $ac_lo -le $ac_mid; then
19809 ac_lo= ac_hi=
19810 break
19811 fi
19812 ac_mid=`expr 2 '*' $ac_mid + 1`
19813 fi
19814
19815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19816 done
19817 else
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.$ac_ext >&5
19820
19821 cat >conftest.$ac_ext <<_ACEOF
19822 /* confdefs.h. */
19823 _ACEOF
19824 cat confdefs.h >>conftest.$ac_ext
19825 cat >>conftest.$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 $ac_includes_default
19828 typedef int ac__type_sizeof_;
19829 int
19830 main ()
19831 {
19832 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19833 test_array [0] = 0
19834
19835 ;
19836 return 0;
19837 }
19838 _ACEOF
19839 rm -f conftest.$ac_objext
19840 if { (ac_try="$ac_compile"
19841 case "(($ac_try" in
19842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19843 *) ac_try_echo=$ac_try;;
19844 esac
19845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19846 (eval "$ac_compile") 2>conftest.er1
19847 ac_status=$?
19848 grep -v '^ *+' conftest.er1 >conftest.err
19849 rm -f conftest.er1
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } && {
19853 test -z "$ac_c_werror_flag" ||
19854 test ! -s conftest.err
19855 } && test -s conftest.$ac_objext; then
19856 ac_hi=-1 ac_mid=-1
19857 while :; do
19858 cat >conftest.$ac_ext <<_ACEOF
19859 /* confdefs.h. */
19860 _ACEOF
19861 cat confdefs.h >>conftest.$ac_ext
19862 cat >>conftest.$ac_ext <<_ACEOF
19863 /* end confdefs.h. */
19864 $ac_includes_default
19865 typedef int ac__type_sizeof_;
19866 int
19867 main ()
19868 {
19869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19870 test_array [0] = 0
19871
19872 ;
19873 return 0;
19874 }
19875 _ACEOF
19876 rm -f conftest.$ac_objext
19877 if { (ac_try="$ac_compile"
19878 case "(($ac_try" in
19879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19880 *) ac_try_echo=$ac_try;;
19881 esac
19882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19883 (eval "$ac_compile") 2>conftest.er1
19884 ac_status=$?
19885 grep -v '^ *+' conftest.er1 >conftest.err
19886 rm -f conftest.er1
19887 cat conftest.err >&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } && {
19890 test -z "$ac_c_werror_flag" ||
19891 test ! -s conftest.err
19892 } && test -s conftest.$ac_objext; then
19893 ac_lo=$ac_mid; break
19894 else
19895 echo "$as_me: failed program was:" >&5
19896 sed 's/^/| /' conftest.$ac_ext >&5
19897
19898 ac_hi=`expr '(' $ac_mid ')' - 1`
19899 if test $ac_mid -le $ac_hi; then
19900 ac_lo= ac_hi=
19901 break
19902 fi
19903 ac_mid=`expr 2 '*' $ac_mid`
19904 fi
19905
19906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19907 done
19908 else
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19911
19912 ac_lo= ac_hi=
19913 fi
19914
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 fi
19917
19918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19919 # Binary search between lo and hi bounds.
19920 while test "x$ac_lo" != "x$ac_hi"; do
19921 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19922 cat >conftest.$ac_ext <<_ACEOF
19923 /* confdefs.h. */
19924 _ACEOF
19925 cat confdefs.h >>conftest.$ac_ext
19926 cat >>conftest.$ac_ext <<_ACEOF
19927 /* end confdefs.h. */
19928 $ac_includes_default
19929 typedef int ac__type_sizeof_;
19930 int
19931 main ()
19932 {
19933 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19934 test_array [0] = 0
19935
19936 ;
19937 return 0;
19938 }
19939 _ACEOF
19940 rm -f conftest.$ac_objext
19941 if { (ac_try="$ac_compile"
19942 case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19945 esac
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_compile") 2>conftest.er1
19948 ac_status=$?
19949 grep -v '^ *+' conftest.er1 >conftest.err
19950 rm -f conftest.er1
19951 cat conftest.err >&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); } && {
19954 test -z "$ac_c_werror_flag" ||
19955 test ! -s conftest.err
19956 } && test -s conftest.$ac_objext; then
19957 ac_hi=$ac_mid
19958 else
19959 echo "$as_me: failed program was:" >&5
19960 sed 's/^/| /' conftest.$ac_ext >&5
19961
19962 ac_lo=`expr '(' $ac_mid ')' + 1`
19963 fi
19964
19965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19966 done
19967 case $ac_lo in
19968 ?*) ac_cv_sizeof_int=$ac_lo;;
19969 '') if test "$ac_cv_type_int" = yes; then
19970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19971 See \`config.log' for more details." >&5
19972 echo "$as_me: error: cannot compute sizeof (int)
19973 See \`config.log' for more details." >&2;}
19974 { (exit 77); exit 77; }; }
19975 else
19976 ac_cv_sizeof_int=0
19977 fi ;;
19978 esac
19979 else
19980 cat >conftest.$ac_ext <<_ACEOF
19981 /* confdefs.h. */
19982 _ACEOF
19983 cat confdefs.h >>conftest.$ac_ext
19984 cat >>conftest.$ac_ext <<_ACEOF
19985 /* end confdefs.h. */
19986 $ac_includes_default
19987 typedef int ac__type_sizeof_;
19988 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19989 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19990 #include <stdio.h>
19991 #include <stdlib.h>
19992 int
19993 main ()
19994 {
19995
19996 FILE *f = fopen ("conftest.val", "w");
19997 if (! f)
19998 return 1;
19999 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20000 {
20001 long int i = longval ();
20002 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20003 return 1;
20004 fprintf (f, "%ld\n", i);
20005 }
20006 else
20007 {
20008 unsigned long int i = ulongval ();
20009 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20010 return 1;
20011 fprintf (f, "%lu\n", i);
20012 }
20013 return ferror (f) || fclose (f) != 0;
20014
20015 ;
20016 return 0;
20017 }
20018 _ACEOF
20019 rm -f conftest$ac_exeext
20020 if { (ac_try="$ac_link"
20021 case "(($ac_try" in
20022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20023 *) ac_try_echo=$ac_try;;
20024 esac
20025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20026 (eval "$ac_link") 2>&5
20027 ac_status=$?
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20030 { (case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20033 esac
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_try") 2>&5
20036 ac_status=$?
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; }; then
20039 ac_cv_sizeof_int=`cat conftest.val`
20040 else
20041 echo "$as_me: program exited with status $ac_status" >&5
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 ( exit $ac_status )
20046 if test "$ac_cv_type_int" = yes; then
20047 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20048 See \`config.log' for more details." >&5
20049 echo "$as_me: error: cannot compute sizeof (int)
20050 See \`config.log' for more details." >&2;}
20051 { (exit 77); exit 77; }; }
20052 else
20053 ac_cv_sizeof_int=0
20054 fi
20055 fi
20056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20057 fi
20058 rm -f conftest.val
20059 fi
20060 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20061 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20062
20063
20064
20065 cat >>confdefs.h <<_ACEOF
20066 #define SIZEOF_INT $ac_cv_sizeof_int
20067 _ACEOF
20068
20069
20070 { echo "$as_me:$LINENO: checking for long" >&5
20071 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20072 if test "${ac_cv_type_long+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 else
20075 cat >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 $ac_includes_default
20082 typedef long ac__type_new_;
20083 int
20084 main ()
20085 {
20086 if ((ac__type_new_ *) 0)
20087 return 0;
20088 if (sizeof (ac__type_new_))
20089 return 0;
20090 ;
20091 return 0;
20092 }
20093 _ACEOF
20094 rm -f conftest.$ac_objext
20095 if { (ac_try="$ac_compile"
20096 case "(($ac_try" in
20097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20098 *) ac_try_echo=$ac_try;;
20099 esac
20100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20101 (eval "$ac_compile") 2>conftest.er1
20102 ac_status=$?
20103 grep -v '^ *+' conftest.er1 >conftest.err
20104 rm -f conftest.er1
20105 cat conftest.err >&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); } && {
20108 test -z "$ac_c_werror_flag" ||
20109 test ! -s conftest.err
20110 } && test -s conftest.$ac_objext; then
20111 ac_cv_type_long=yes
20112 else
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.$ac_ext >&5
20115
20116 ac_cv_type_long=no
20117 fi
20118
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20120 fi
20121 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20122 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20123
20124 # The cast to long int works around a bug in the HP C Compiler
20125 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20126 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20127 # This bug is HP SR number 8606223364.
20128 { echo "$as_me:$LINENO: checking size of long" >&5
20129 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20130 if test "${ac_cv_sizeof_long+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20132 else
20133 if test "$cross_compiling" = yes; then
20134 # Depending upon the size, compute the lo and hi bounds.
20135 cat >conftest.$ac_ext <<_ACEOF
20136 /* confdefs.h. */
20137 _ACEOF
20138 cat confdefs.h >>conftest.$ac_ext
20139 cat >>conftest.$ac_ext <<_ACEOF
20140 /* end confdefs.h. */
20141 $ac_includes_default
20142 typedef long ac__type_sizeof_;
20143 int
20144 main ()
20145 {
20146 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20147 test_array [0] = 0
20148
20149 ;
20150 return 0;
20151 }
20152 _ACEOF
20153 rm -f conftest.$ac_objext
20154 if { (ac_try="$ac_compile"
20155 case "(($ac_try" in
20156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20157 *) ac_try_echo=$ac_try;;
20158 esac
20159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20160 (eval "$ac_compile") 2>conftest.er1
20161 ac_status=$?
20162 grep -v '^ *+' conftest.er1 >conftest.err
20163 rm -f conftest.er1
20164 cat conftest.err >&5
20165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20166 (exit $ac_status); } && {
20167 test -z "$ac_c_werror_flag" ||
20168 test ! -s conftest.err
20169 } && test -s conftest.$ac_objext; then
20170 ac_lo=0 ac_mid=0
20171 while :; do
20172 cat >conftest.$ac_ext <<_ACEOF
20173 /* confdefs.h. */
20174 _ACEOF
20175 cat confdefs.h >>conftest.$ac_ext
20176 cat >>conftest.$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 $ac_includes_default
20179 typedef long ac__type_sizeof_;
20180 int
20181 main ()
20182 {
20183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20184 test_array [0] = 0
20185
20186 ;
20187 return 0;
20188 }
20189 _ACEOF
20190 rm -f conftest.$ac_objext
20191 if { (ac_try="$ac_compile"
20192 case "(($ac_try" in
20193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20194 *) ac_try_echo=$ac_try;;
20195 esac
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_compile") 2>conftest.er1
20198 ac_status=$?
20199 grep -v '^ *+' conftest.er1 >conftest.err
20200 rm -f conftest.er1
20201 cat conftest.err >&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && {
20204 test -z "$ac_c_werror_flag" ||
20205 test ! -s conftest.err
20206 } && test -s conftest.$ac_objext; then
20207 ac_hi=$ac_mid; break
20208 else
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.$ac_ext >&5
20211
20212 ac_lo=`expr $ac_mid + 1`
20213 if test $ac_lo -le $ac_mid; then
20214 ac_lo= ac_hi=
20215 break
20216 fi
20217 ac_mid=`expr 2 '*' $ac_mid + 1`
20218 fi
20219
20220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20221 done
20222 else
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20225
20226 cat >conftest.$ac_ext <<_ACEOF
20227 /* confdefs.h. */
20228 _ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 $ac_includes_default
20233 typedef long ac__type_sizeof_;
20234 int
20235 main ()
20236 {
20237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20238 test_array [0] = 0
20239
20240 ;
20241 return 0;
20242 }
20243 _ACEOF
20244 rm -f conftest.$ac_objext
20245 if { (ac_try="$ac_compile"
20246 case "(($ac_try" in
20247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20248 *) ac_try_echo=$ac_try;;
20249 esac
20250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20251 (eval "$ac_compile") 2>conftest.er1
20252 ac_status=$?
20253 grep -v '^ *+' conftest.er1 >conftest.err
20254 rm -f conftest.er1
20255 cat conftest.err >&5
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } && {
20258 test -z "$ac_c_werror_flag" ||
20259 test ! -s conftest.err
20260 } && test -s conftest.$ac_objext; then
20261 ac_hi=-1 ac_mid=-1
20262 while :; do
20263 cat >conftest.$ac_ext <<_ACEOF
20264 /* confdefs.h. */
20265 _ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 $ac_includes_default
20270 typedef long ac__type_sizeof_;
20271 int
20272 main ()
20273 {
20274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20275 test_array [0] = 0
20276
20277 ;
20278 return 0;
20279 }
20280 _ACEOF
20281 rm -f conftest.$ac_objext
20282 if { (ac_try="$ac_compile"
20283 case "(($ac_try" in
20284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20285 *) ac_try_echo=$ac_try;;
20286 esac
20287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20288 (eval "$ac_compile") 2>conftest.er1
20289 ac_status=$?
20290 grep -v '^ *+' conftest.er1 >conftest.err
20291 rm -f conftest.er1
20292 cat conftest.err >&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); } && {
20295 test -z "$ac_c_werror_flag" ||
20296 test ! -s conftest.err
20297 } && test -s conftest.$ac_objext; then
20298 ac_lo=$ac_mid; break
20299 else
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.$ac_ext >&5
20302
20303 ac_hi=`expr '(' $ac_mid ')' - 1`
20304 if test $ac_mid -le $ac_hi; then
20305 ac_lo= ac_hi=
20306 break
20307 fi
20308 ac_mid=`expr 2 '*' $ac_mid`
20309 fi
20310
20311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20312 done
20313 else
20314 echo "$as_me: failed program was:" >&5
20315 sed 's/^/| /' conftest.$ac_ext >&5
20316
20317 ac_lo= ac_hi=
20318 fi
20319
20320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20321 fi
20322
20323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20324 # Binary search between lo and hi bounds.
20325 while test "x$ac_lo" != "x$ac_hi"; do
20326 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20327 cat >conftest.$ac_ext <<_ACEOF
20328 /* confdefs.h. */
20329 _ACEOF
20330 cat confdefs.h >>conftest.$ac_ext
20331 cat >>conftest.$ac_ext <<_ACEOF
20332 /* end confdefs.h. */
20333 $ac_includes_default
20334 typedef long ac__type_sizeof_;
20335 int
20336 main ()
20337 {
20338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20339 test_array [0] = 0
20340
20341 ;
20342 return 0;
20343 }
20344 _ACEOF
20345 rm -f conftest.$ac_objext
20346 if { (ac_try="$ac_compile"
20347 case "(($ac_try" in
20348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20349 *) ac_try_echo=$ac_try;;
20350 esac
20351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_compile") 2>conftest.er1
20353 ac_status=$?
20354 grep -v '^ *+' conftest.er1 >conftest.err
20355 rm -f conftest.er1
20356 cat conftest.err >&5
20357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20358 (exit $ac_status); } && {
20359 test -z "$ac_c_werror_flag" ||
20360 test ! -s conftest.err
20361 } && test -s conftest.$ac_objext; then
20362 ac_hi=$ac_mid
20363 else
20364 echo "$as_me: failed program was:" >&5
20365 sed 's/^/| /' conftest.$ac_ext >&5
20366
20367 ac_lo=`expr '(' $ac_mid ')' + 1`
20368 fi
20369
20370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20371 done
20372 case $ac_lo in
20373 ?*) ac_cv_sizeof_long=$ac_lo;;
20374 '') if test "$ac_cv_type_long" = yes; then
20375 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20376 See \`config.log' for more details." >&5
20377 echo "$as_me: error: cannot compute sizeof (long)
20378 See \`config.log' for more details." >&2;}
20379 { (exit 77); exit 77; }; }
20380 else
20381 ac_cv_sizeof_long=0
20382 fi ;;
20383 esac
20384 else
20385 cat >conftest.$ac_ext <<_ACEOF
20386 /* confdefs.h. */
20387 _ACEOF
20388 cat confdefs.h >>conftest.$ac_ext
20389 cat >>conftest.$ac_ext <<_ACEOF
20390 /* end confdefs.h. */
20391 $ac_includes_default
20392 typedef long ac__type_sizeof_;
20393 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20394 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20395 #include <stdio.h>
20396 #include <stdlib.h>
20397 int
20398 main ()
20399 {
20400
20401 FILE *f = fopen ("conftest.val", "w");
20402 if (! f)
20403 return 1;
20404 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20405 {
20406 long int i = longval ();
20407 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20408 return 1;
20409 fprintf (f, "%ld\n", i);
20410 }
20411 else
20412 {
20413 unsigned long int i = ulongval ();
20414 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20415 return 1;
20416 fprintf (f, "%lu\n", i);
20417 }
20418 return ferror (f) || fclose (f) != 0;
20419
20420 ;
20421 return 0;
20422 }
20423 _ACEOF
20424 rm -f conftest$ac_exeext
20425 if { (ac_try="$ac_link"
20426 case "(($ac_try" in
20427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20428 *) ac_try_echo=$ac_try;;
20429 esac
20430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20431 (eval "$ac_link") 2>&5
20432 ac_status=$?
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20435 { (case "(($ac_try" in
20436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20438 esac
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_try") 2>&5
20441 ac_status=$?
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 ac_cv_sizeof_long=`cat conftest.val`
20445 else
20446 echo "$as_me: program exited with status $ac_status" >&5
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20449
20450 ( exit $ac_status )
20451 if test "$ac_cv_type_long" = yes; then
20452 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20453 See \`config.log' for more details." >&5
20454 echo "$as_me: error: cannot compute sizeof (long)
20455 See \`config.log' for more details." >&2;}
20456 { (exit 77); exit 77; }; }
20457 else
20458 ac_cv_sizeof_long=0
20459 fi
20460 fi
20461 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20462 fi
20463 rm -f conftest.val
20464 fi
20465 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20466 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20467
20468
20469
20470 cat >>confdefs.h <<_ACEOF
20471 #define SIZEOF_LONG $ac_cv_sizeof_long
20472 _ACEOF
20473
20474
20475 { echo "$as_me:$LINENO: checking for size_t" >&5
20476 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20477 if test "${ac_cv_type_size_t+set}" = set; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20479 else
20480 cat >conftest.$ac_ext <<_ACEOF
20481 /* confdefs.h. */
20482 _ACEOF
20483 cat confdefs.h >>conftest.$ac_ext
20484 cat >>conftest.$ac_ext <<_ACEOF
20485 /* end confdefs.h. */
20486 $ac_includes_default
20487 typedef size_t ac__type_new_;
20488 int
20489 main ()
20490 {
20491 if ((ac__type_new_ *) 0)
20492 return 0;
20493 if (sizeof (ac__type_new_))
20494 return 0;
20495 ;
20496 return 0;
20497 }
20498 _ACEOF
20499 rm -f conftest.$ac_objext
20500 if { (ac_try="$ac_compile"
20501 case "(($ac_try" in
20502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20503 *) ac_try_echo=$ac_try;;
20504 esac
20505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20506 (eval "$ac_compile") 2>conftest.er1
20507 ac_status=$?
20508 grep -v '^ *+' conftest.er1 >conftest.err
20509 rm -f conftest.er1
20510 cat conftest.err >&5
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); } && {
20513 test -z "$ac_c_werror_flag" ||
20514 test ! -s conftest.err
20515 } && test -s conftest.$ac_objext; then
20516 ac_cv_type_size_t=yes
20517 else
20518 echo "$as_me: failed program was:" >&5
20519 sed 's/^/| /' conftest.$ac_ext >&5
20520
20521 ac_cv_type_size_t=no
20522 fi
20523
20524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 fi
20526 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20527 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20528
20529 # The cast to long int works around a bug in the HP C Compiler
20530 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20531 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20532 # This bug is HP SR number 8606223364.
20533 { echo "$as_me:$LINENO: checking size of size_t" >&5
20534 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20535 if test "${ac_cv_sizeof_size_t+set}" = set; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 else
20538 if test "$cross_compiling" = yes; then
20539 # Depending upon the size, compute the lo and hi bounds.
20540 cat >conftest.$ac_ext <<_ACEOF
20541 /* confdefs.h. */
20542 _ACEOF
20543 cat confdefs.h >>conftest.$ac_ext
20544 cat >>conftest.$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 $ac_includes_default
20547 typedef size_t ac__type_sizeof_;
20548 int
20549 main ()
20550 {
20551 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20552 test_array [0] = 0
20553
20554 ;
20555 return 0;
20556 }
20557 _ACEOF
20558 rm -f conftest.$ac_objext
20559 if { (ac_try="$ac_compile"
20560 case "(($ac_try" in
20561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20563 esac
20564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_compile") 2>conftest.er1
20566 ac_status=$?
20567 grep -v '^ *+' conftest.er1 >conftest.err
20568 rm -f conftest.er1
20569 cat conftest.err >&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); } && {
20572 test -z "$ac_c_werror_flag" ||
20573 test ! -s conftest.err
20574 } && test -s conftest.$ac_objext; then
20575 ac_lo=0 ac_mid=0
20576 while :; do
20577 cat >conftest.$ac_ext <<_ACEOF
20578 /* confdefs.h. */
20579 _ACEOF
20580 cat confdefs.h >>conftest.$ac_ext
20581 cat >>conftest.$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 $ac_includes_default
20584 typedef size_t ac__type_sizeof_;
20585 int
20586 main ()
20587 {
20588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20589 test_array [0] = 0
20590
20591 ;
20592 return 0;
20593 }
20594 _ACEOF
20595 rm -f conftest.$ac_objext
20596 if { (ac_try="$ac_compile"
20597 case "(($ac_try" in
20598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20600 esac
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_compile") 2>conftest.er1
20603 ac_status=$?
20604 grep -v '^ *+' conftest.er1 >conftest.err
20605 rm -f conftest.er1
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } && {
20609 test -z "$ac_c_werror_flag" ||
20610 test ! -s conftest.err
20611 } && test -s conftest.$ac_objext; then
20612 ac_hi=$ac_mid; break
20613 else
20614 echo "$as_me: failed program was:" >&5
20615 sed 's/^/| /' conftest.$ac_ext >&5
20616
20617 ac_lo=`expr $ac_mid + 1`
20618 if test $ac_lo -le $ac_mid; then
20619 ac_lo= ac_hi=
20620 break
20621 fi
20622 ac_mid=`expr 2 '*' $ac_mid + 1`
20623 fi
20624
20625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20626 done
20627 else
20628 echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.$ac_ext >&5
20630
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef size_t ac__type_sizeof_;
20639 int
20640 main ()
20641 {
20642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20643 test_array [0] = 0
20644
20645 ;
20646 return 0;
20647 }
20648 _ACEOF
20649 rm -f conftest.$ac_objext
20650 if { (ac_try="$ac_compile"
20651 case "(($ac_try" in
20652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20654 esac
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_compile") 2>conftest.er1
20657 ac_status=$?
20658 grep -v '^ *+' conftest.er1 >conftest.err
20659 rm -f conftest.er1
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } && {
20663 test -z "$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 } && test -s conftest.$ac_objext; then
20666 ac_hi=-1 ac_mid=-1
20667 while :; do
20668 cat >conftest.$ac_ext <<_ACEOF
20669 /* confdefs.h. */
20670 _ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 typedef size_t ac__type_sizeof_;
20676 int
20677 main ()
20678 {
20679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20680 test_array [0] = 0
20681
20682 ;
20683 return 0;
20684 }
20685 _ACEOF
20686 rm -f conftest.$ac_objext
20687 if { (ac_try="$ac_compile"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20691 esac
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_compile") 2>conftest.er1
20694 ac_status=$?
20695 grep -v '^ *+' conftest.er1 >conftest.err
20696 rm -f conftest.er1
20697 cat conftest.err >&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && {
20700 test -z "$ac_c_werror_flag" ||
20701 test ! -s conftest.err
20702 } && test -s conftest.$ac_objext; then
20703 ac_lo=$ac_mid; break
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20707
20708 ac_hi=`expr '(' $ac_mid ')' - 1`
20709 if test $ac_mid -le $ac_hi; then
20710 ac_lo= ac_hi=
20711 break
20712 fi
20713 ac_mid=`expr 2 '*' $ac_mid`
20714 fi
20715
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20717 done
20718 else
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20721
20722 ac_lo= ac_hi=
20723 fi
20724
20725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20726 fi
20727
20728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20729 # Binary search between lo and hi bounds.
20730 while test "x$ac_lo" != "x$ac_hi"; do
20731 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20732 cat >conftest.$ac_ext <<_ACEOF
20733 /* confdefs.h. */
20734 _ACEOF
20735 cat confdefs.h >>conftest.$ac_ext
20736 cat >>conftest.$ac_ext <<_ACEOF
20737 /* end confdefs.h. */
20738 $ac_includes_default
20739 typedef size_t ac__type_sizeof_;
20740 int
20741 main ()
20742 {
20743 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20744 test_array [0] = 0
20745
20746 ;
20747 return 0;
20748 }
20749 _ACEOF
20750 rm -f conftest.$ac_objext
20751 if { (ac_try="$ac_compile"
20752 case "(($ac_try" in
20753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;;
20755 esac
20756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_compile") 2>conftest.er1
20758 ac_status=$?
20759 grep -v '^ *+' conftest.er1 >conftest.err
20760 rm -f conftest.er1
20761 cat conftest.err >&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } && {
20764 test -z "$ac_c_werror_flag" ||
20765 test ! -s conftest.err
20766 } && test -s conftest.$ac_objext; then
20767 ac_hi=$ac_mid
20768 else
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20771
20772 ac_lo=`expr '(' $ac_mid ')' + 1`
20773 fi
20774
20775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20776 done
20777 case $ac_lo in
20778 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20779 '') if test "$ac_cv_type_size_t" = yes; then
20780 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20781 See \`config.log' for more details." >&5
20782 echo "$as_me: error: cannot compute sizeof (size_t)
20783 See \`config.log' for more details." >&2;}
20784 { (exit 77); exit 77; }; }
20785 else
20786 ac_cv_sizeof_size_t=0
20787 fi ;;
20788 esac
20789 else
20790 cat >conftest.$ac_ext <<_ACEOF
20791 /* confdefs.h. */
20792 _ACEOF
20793 cat confdefs.h >>conftest.$ac_ext
20794 cat >>conftest.$ac_ext <<_ACEOF
20795 /* end confdefs.h. */
20796 $ac_includes_default
20797 typedef size_t ac__type_sizeof_;
20798 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20799 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20800 #include <stdio.h>
20801 #include <stdlib.h>
20802 int
20803 main ()
20804 {
20805
20806 FILE *f = fopen ("conftest.val", "w");
20807 if (! f)
20808 return 1;
20809 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20810 {
20811 long int i = longval ();
20812 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20813 return 1;
20814 fprintf (f, "%ld\n", i);
20815 }
20816 else
20817 {
20818 unsigned long int i = ulongval ();
20819 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20820 return 1;
20821 fprintf (f, "%lu\n", i);
20822 }
20823 return ferror (f) || fclose (f) != 0;
20824
20825 ;
20826 return 0;
20827 }
20828 _ACEOF
20829 rm -f conftest$ac_exeext
20830 if { (ac_try="$ac_link"
20831 case "(($ac_try" in
20832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20833 *) ac_try_echo=$ac_try;;
20834 esac
20835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20836 (eval "$ac_link") 2>&5
20837 ac_status=$?
20838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20839 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20840 { (case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_try") 2>&5
20846 ac_status=$?
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_cv_sizeof_size_t=`cat conftest.val`
20850 else
20851 echo "$as_me: program exited with status $ac_status" >&5
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20854
20855 ( exit $ac_status )
20856 if test "$ac_cv_type_size_t" = yes; then
20857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20858 See \`config.log' for more details." >&5
20859 echo "$as_me: error: cannot compute sizeof (size_t)
20860 See \`config.log' for more details." >&2;}
20861 { (exit 77); exit 77; }; }
20862 else
20863 ac_cv_sizeof_size_t=0
20864 fi
20865 fi
20866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20867 fi
20868 rm -f conftest.val
20869 fi
20870 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20871 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20872
20873
20874
20875 cat >>confdefs.h <<_ACEOF
20876 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20877 _ACEOF
20878
20879
20880
20881 case "${host}" in
20882 arm-*-linux* )
20883 { echo "$as_me:$LINENO: checking for long long" >&5
20884 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20885 if test "${ac_cv_type_long_long+set}" = set; then
20886 echo $ECHO_N "(cached) $ECHO_C" >&6
20887 else
20888 cat >conftest.$ac_ext <<_ACEOF
20889 /* confdefs.h. */
20890 _ACEOF
20891 cat confdefs.h >>conftest.$ac_ext
20892 cat >>conftest.$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20894 $ac_includes_default
20895 typedef long long ac__type_new_;
20896 int
20897 main ()
20898 {
20899 if ((ac__type_new_ *) 0)
20900 return 0;
20901 if (sizeof (ac__type_new_))
20902 return 0;
20903 ;
20904 return 0;
20905 }
20906 _ACEOF
20907 rm -f conftest.$ac_objext
20908 if { (ac_try="$ac_compile"
20909 case "(($ac_try" in
20910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20911 *) ac_try_echo=$ac_try;;
20912 esac
20913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 (eval "$ac_compile") 2>conftest.er1
20915 ac_status=$?
20916 grep -v '^ *+' conftest.er1 >conftest.err
20917 rm -f conftest.er1
20918 cat conftest.err >&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && {
20921 test -z "$ac_c_werror_flag" ||
20922 test ! -s conftest.err
20923 } && test -s conftest.$ac_objext; then
20924 ac_cv_type_long_long=yes
20925 else
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.$ac_ext >&5
20928
20929 ac_cv_type_long_long=no
20930 fi
20931
20932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20933 fi
20934 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20935 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20936
20937 # The cast to long int works around a bug in the HP C Compiler
20938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20940 # This bug is HP SR number 8606223364.
20941 { echo "$as_me:$LINENO: checking size of long long" >&5
20942 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20943 if test "${ac_cv_sizeof_long_long+set}" = set; then
20944 echo $ECHO_N "(cached) $ECHO_C" >&6
20945 else
20946 if test "$cross_compiling" = yes; then
20947 # Depending upon the size, compute the lo and hi bounds.
20948 cat >conftest.$ac_ext <<_ACEOF
20949 /* confdefs.h. */
20950 _ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef long long ac__type_sizeof_;
20956 int
20957 main ()
20958 {
20959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20960 test_array [0] = 0
20961
20962 ;
20963 return 0;
20964 }
20965 _ACEOF
20966 rm -f conftest.$ac_objext
20967 if { (ac_try="$ac_compile"
20968 case "(($ac_try" in
20969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20971 esac
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_compile") 2>conftest.er1
20974 ac_status=$?
20975 grep -v '^ *+' conftest.er1 >conftest.err
20976 rm -f conftest.er1
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } && {
20980 test -z "$ac_c_werror_flag" ||
20981 test ! -s conftest.err
20982 } && test -s conftest.$ac_objext; then
20983 ac_lo=0 ac_mid=0
20984 while :; do
20985 cat >conftest.$ac_ext <<_ACEOF
20986 /* confdefs.h. */
20987 _ACEOF
20988 cat confdefs.h >>conftest.$ac_ext
20989 cat >>conftest.$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20991 $ac_includes_default
20992 typedef long long ac__type_sizeof_;
20993 int
20994 main ()
20995 {
20996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20997 test_array [0] = 0
20998
20999 ;
21000 return 0;
21001 }
21002 _ACEOF
21003 rm -f conftest.$ac_objext
21004 if { (ac_try="$ac_compile"
21005 case "(($ac_try" in
21006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21007 *) ac_try_echo=$ac_try;;
21008 esac
21009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21010 (eval "$ac_compile") 2>conftest.er1
21011 ac_status=$?
21012 grep -v '^ *+' conftest.er1 >conftest.err
21013 rm -f conftest.er1
21014 cat conftest.err >&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } && {
21017 test -z "$ac_c_werror_flag" ||
21018 test ! -s conftest.err
21019 } && test -s conftest.$ac_objext; then
21020 ac_hi=$ac_mid; break
21021 else
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21024
21025 ac_lo=`expr $ac_mid + 1`
21026 if test $ac_lo -le $ac_mid; then
21027 ac_lo= ac_hi=
21028 break
21029 fi
21030 ac_mid=`expr 2 '*' $ac_mid + 1`
21031 fi
21032
21033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21034 done
21035 else
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.$ac_ext >&5
21038
21039 cat >conftest.$ac_ext <<_ACEOF
21040 /* confdefs.h. */
21041 _ACEOF
21042 cat confdefs.h >>conftest.$ac_ext
21043 cat >>conftest.$ac_ext <<_ACEOF
21044 /* end confdefs.h. */
21045 $ac_includes_default
21046 typedef long long ac__type_sizeof_;
21047 int
21048 main ()
21049 {
21050 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21051 test_array [0] = 0
21052
21053 ;
21054 return 0;
21055 }
21056 _ACEOF
21057 rm -f conftest.$ac_objext
21058 if { (ac_try="$ac_compile"
21059 case "(($ac_try" in
21060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21061 *) ac_try_echo=$ac_try;;
21062 esac
21063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21064 (eval "$ac_compile") 2>conftest.er1
21065 ac_status=$?
21066 grep -v '^ *+' conftest.er1 >conftest.err
21067 rm -f conftest.er1
21068 cat conftest.err >&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); } && {
21071 test -z "$ac_c_werror_flag" ||
21072 test ! -s conftest.err
21073 } && test -s conftest.$ac_objext; then
21074 ac_hi=-1 ac_mid=-1
21075 while :; do
21076 cat >conftest.$ac_ext <<_ACEOF
21077 /* confdefs.h. */
21078 _ACEOF
21079 cat confdefs.h >>conftest.$ac_ext
21080 cat >>conftest.$ac_ext <<_ACEOF
21081 /* end confdefs.h. */
21082 $ac_includes_default
21083 typedef long long ac__type_sizeof_;
21084 int
21085 main ()
21086 {
21087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21088 test_array [0] = 0
21089
21090 ;
21091 return 0;
21092 }
21093 _ACEOF
21094 rm -f conftest.$ac_objext
21095 if { (ac_try="$ac_compile"
21096 case "(($ac_try" in
21097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21099 esac
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_compile") 2>conftest.er1
21102 ac_status=$?
21103 grep -v '^ *+' conftest.er1 >conftest.err
21104 rm -f conftest.er1
21105 cat conftest.err >&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } && {
21108 test -z "$ac_c_werror_flag" ||
21109 test ! -s conftest.err
21110 } && test -s conftest.$ac_objext; then
21111 ac_lo=$ac_mid; break
21112 else
21113 echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21115
21116 ac_hi=`expr '(' $ac_mid ')' - 1`
21117 if test $ac_mid -le $ac_hi; then
21118 ac_lo= ac_hi=
21119 break
21120 fi
21121 ac_mid=`expr 2 '*' $ac_mid`
21122 fi
21123
21124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21125 done
21126 else
21127 echo "$as_me: failed program was:" >&5
21128 sed 's/^/| /' conftest.$ac_ext >&5
21129
21130 ac_lo= ac_hi=
21131 fi
21132
21133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21134 fi
21135
21136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 # Binary search between lo and hi bounds.
21138 while test "x$ac_lo" != "x$ac_hi"; do
21139 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21140 cat >conftest.$ac_ext <<_ACEOF
21141 /* confdefs.h. */
21142 _ACEOF
21143 cat confdefs.h >>conftest.$ac_ext
21144 cat >>conftest.$ac_ext <<_ACEOF
21145 /* end confdefs.h. */
21146 $ac_includes_default
21147 typedef long long ac__type_sizeof_;
21148 int
21149 main ()
21150 {
21151 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21152 test_array [0] = 0
21153
21154 ;
21155 return 0;
21156 }
21157 _ACEOF
21158 rm -f conftest.$ac_objext
21159 if { (ac_try="$ac_compile"
21160 case "(($ac_try" in
21161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21162 *) ac_try_echo=$ac_try;;
21163 esac
21164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21165 (eval "$ac_compile") 2>conftest.er1
21166 ac_status=$?
21167 grep -v '^ *+' conftest.er1 >conftest.err
21168 rm -f conftest.er1
21169 cat conftest.err >&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } && {
21172 test -z "$ac_c_werror_flag" ||
21173 test ! -s conftest.err
21174 } && test -s conftest.$ac_objext; then
21175 ac_hi=$ac_mid
21176 else
21177 echo "$as_me: failed program was:" >&5
21178 sed 's/^/| /' conftest.$ac_ext >&5
21179
21180 ac_lo=`expr '(' $ac_mid ')' + 1`
21181 fi
21182
21183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21184 done
21185 case $ac_lo in
21186 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21187 '') if test "$ac_cv_type_long_long" = yes; then
21188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21189 See \`config.log' for more details." >&5
21190 echo "$as_me: error: cannot compute sizeof (long long)
21191 See \`config.log' for more details." >&2;}
21192 { (exit 77); exit 77; }; }
21193 else
21194 ac_cv_sizeof_long_long=0
21195 fi ;;
21196 esac
21197 else
21198 cat >conftest.$ac_ext <<_ACEOF
21199 /* confdefs.h. */
21200 _ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 typedef long long ac__type_sizeof_;
21206 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21207 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21208 #include <stdio.h>
21209 #include <stdlib.h>
21210 int
21211 main ()
21212 {
21213
21214 FILE *f = fopen ("conftest.val", "w");
21215 if (! f)
21216 return 1;
21217 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21218 {
21219 long int i = longval ();
21220 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21221 return 1;
21222 fprintf (f, "%ld\n", i);
21223 }
21224 else
21225 {
21226 unsigned long int i = ulongval ();
21227 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21228 return 1;
21229 fprintf (f, "%lu\n", i);
21230 }
21231 return ferror (f) || fclose (f) != 0;
21232
21233 ;
21234 return 0;
21235 }
21236 _ACEOF
21237 rm -f conftest$ac_exeext
21238 if { (ac_try="$ac_link"
21239 case "(($ac_try" in
21240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21242 esac
21243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_link") 2>&5
21245 ac_status=$?
21246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21247 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21248 { (case "(($ac_try" in
21249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21250 *) ac_try_echo=$ac_try;;
21251 esac
21252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21253 (eval "$ac_try") 2>&5
21254 ac_status=$?
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; }; then
21257 ac_cv_sizeof_long_long=`cat conftest.val`
21258 else
21259 echo "$as_me: program exited with status $ac_status" >&5
21260 echo "$as_me: failed program was:" >&5
21261 sed 's/^/| /' conftest.$ac_ext >&5
21262
21263 ( exit $ac_status )
21264 if test "$ac_cv_type_long_long" = yes; then
21265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21266 See \`config.log' for more details." >&5
21267 echo "$as_me: error: cannot compute sizeof (long long)
21268 See \`config.log' for more details." >&2;}
21269 { (exit 77); exit 77; }; }
21270 else
21271 ac_cv_sizeof_long_long=0
21272 fi
21273 fi
21274 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21275 fi
21276 rm -f conftest.val
21277 fi
21278 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21279 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21280
21281
21282
21283 cat >>confdefs.h <<_ACEOF
21284 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21285 _ACEOF
21286
21287
21288 ;;
21289 *-hp-hpux* )
21290 { echo "$as_me:$LINENO: checking for long long" >&5
21291 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21292 if test "${ac_cv_type_long_long+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 else
21295 cat >conftest.$ac_ext <<_ACEOF
21296 /* confdefs.h. */
21297 _ACEOF
21298 cat confdefs.h >>conftest.$ac_ext
21299 cat >>conftest.$ac_ext <<_ACEOF
21300 /* end confdefs.h. */
21301 $ac_includes_default
21302 typedef long long ac__type_new_;
21303 int
21304 main ()
21305 {
21306 if ((ac__type_new_ *) 0)
21307 return 0;
21308 if (sizeof (ac__type_new_))
21309 return 0;
21310 ;
21311 return 0;
21312 }
21313 _ACEOF
21314 rm -f conftest.$ac_objext
21315 if { (ac_try="$ac_compile"
21316 case "(($ac_try" in
21317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21318 *) ac_try_echo=$ac_try;;
21319 esac
21320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21321 (eval "$ac_compile") 2>conftest.er1
21322 ac_status=$?
21323 grep -v '^ *+' conftest.er1 >conftest.err
21324 rm -f conftest.er1
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } && {
21328 test -z "$ac_c_werror_flag" ||
21329 test ! -s conftest.err
21330 } && test -s conftest.$ac_objext; then
21331 ac_cv_type_long_long=yes
21332 else
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.$ac_ext >&5
21335
21336 ac_cv_type_long_long=no
21337 fi
21338
21339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21340 fi
21341 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21342 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21343
21344 # The cast to long int works around a bug in the HP C Compiler
21345 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21346 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21347 # This bug is HP SR number 8606223364.
21348 { echo "$as_me:$LINENO: checking size of long long" >&5
21349 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21350 if test "${ac_cv_sizeof_long_long+set}" = set; then
21351 echo $ECHO_N "(cached) $ECHO_C" >&6
21352 else
21353 if test "$cross_compiling" = yes; then
21354 # Depending upon the size, compute the lo and hi bounds.
21355 cat >conftest.$ac_ext <<_ACEOF
21356 /* confdefs.h. */
21357 _ACEOF
21358 cat confdefs.h >>conftest.$ac_ext
21359 cat >>conftest.$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21361 $ac_includes_default
21362 typedef long long ac__type_sizeof_;
21363 int
21364 main ()
21365 {
21366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21367 test_array [0] = 0
21368
21369 ;
21370 return 0;
21371 }
21372 _ACEOF
21373 rm -f conftest.$ac_objext
21374 if { (ac_try="$ac_compile"
21375 case "(($ac_try" in
21376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21377 *) ac_try_echo=$ac_try;;
21378 esac
21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 (eval "$ac_compile") 2>conftest.er1
21381 ac_status=$?
21382 grep -v '^ *+' conftest.er1 >conftest.err
21383 rm -f conftest.er1
21384 cat conftest.err >&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } && {
21387 test -z "$ac_c_werror_flag" ||
21388 test ! -s conftest.err
21389 } && test -s conftest.$ac_objext; then
21390 ac_lo=0 ac_mid=0
21391 while :; do
21392 cat >conftest.$ac_ext <<_ACEOF
21393 /* confdefs.h. */
21394 _ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 typedef long long ac__type_sizeof_;
21400 int
21401 main ()
21402 {
21403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21404 test_array [0] = 0
21405
21406 ;
21407 return 0;
21408 }
21409 _ACEOF
21410 rm -f conftest.$ac_objext
21411 if { (ac_try="$ac_compile"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21414 *) ac_try_echo=$ac_try;;
21415 esac
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compile") 2>conftest.er1
21418 ac_status=$?
21419 grep -v '^ *+' conftest.er1 >conftest.err
21420 rm -f conftest.er1
21421 cat conftest.err >&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } && {
21424 test -z "$ac_c_werror_flag" ||
21425 test ! -s conftest.err
21426 } && test -s conftest.$ac_objext; then
21427 ac_hi=$ac_mid; break
21428 else
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.$ac_ext >&5
21431
21432 ac_lo=`expr $ac_mid + 1`
21433 if test $ac_lo -le $ac_mid; then
21434 ac_lo= ac_hi=
21435 break
21436 fi
21437 ac_mid=`expr 2 '*' $ac_mid + 1`
21438 fi
21439
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 done
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21445
21446 cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h. */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h. */
21452 $ac_includes_default
21453 typedef long long ac__type_sizeof_;
21454 int
21455 main ()
21456 {
21457 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21458 test_array [0] = 0
21459
21460 ;
21461 return 0;
21462 }
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (ac_try="$ac_compile"
21466 case "(($ac_try" in
21467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21468 *) ac_try_echo=$ac_try;;
21469 esac
21470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21471 (eval "$ac_compile") 2>conftest.er1
21472 ac_status=$?
21473 grep -v '^ *+' conftest.er1 >conftest.err
21474 rm -f conftest.er1
21475 cat conftest.err >&5
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); } && {
21478 test -z "$ac_c_werror_flag" ||
21479 test ! -s conftest.err
21480 } && test -s conftest.$ac_objext; then
21481 ac_hi=-1 ac_mid=-1
21482 while :; do
21483 cat >conftest.$ac_ext <<_ACEOF
21484 /* confdefs.h. */
21485 _ACEOF
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21489 $ac_includes_default
21490 typedef long long ac__type_sizeof_;
21491 int
21492 main ()
21493 {
21494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21495 test_array [0] = 0
21496
21497 ;
21498 return 0;
21499 }
21500 _ACEOF
21501 rm -f conftest.$ac_objext
21502 if { (ac_try="$ac_compile"
21503 case "(($ac_try" in
21504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21505 *) ac_try_echo=$ac_try;;
21506 esac
21507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21508 (eval "$ac_compile") 2>conftest.er1
21509 ac_status=$?
21510 grep -v '^ *+' conftest.er1 >conftest.err
21511 rm -f conftest.er1
21512 cat conftest.err >&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); } && {
21515 test -z "$ac_c_werror_flag" ||
21516 test ! -s conftest.err
21517 } && test -s conftest.$ac_objext; then
21518 ac_lo=$ac_mid; break
21519 else
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21522
21523 ac_hi=`expr '(' $ac_mid ')' - 1`
21524 if test $ac_mid -le $ac_hi; then
21525 ac_lo= ac_hi=
21526 break
21527 fi
21528 ac_mid=`expr 2 '*' $ac_mid`
21529 fi
21530
21531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21532 done
21533 else
21534 echo "$as_me: failed program was:" >&5
21535 sed 's/^/| /' conftest.$ac_ext >&5
21536
21537 ac_lo= ac_hi=
21538 fi
21539
21540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21541 fi
21542
21543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21544 # Binary search between lo and hi bounds.
21545 while test "x$ac_lo" != "x$ac_hi"; do
21546 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21547 cat >conftest.$ac_ext <<_ACEOF
21548 /* confdefs.h. */
21549 _ACEOF
21550 cat confdefs.h >>conftest.$ac_ext
21551 cat >>conftest.$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 $ac_includes_default
21554 typedef long long ac__type_sizeof_;
21555 int
21556 main ()
21557 {
21558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21559 test_array [0] = 0
21560
21561 ;
21562 return 0;
21563 }
21564 _ACEOF
21565 rm -f conftest.$ac_objext
21566 if { (ac_try="$ac_compile"
21567 case "(($ac_try" in
21568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21569 *) ac_try_echo=$ac_try;;
21570 esac
21571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21572 (eval "$ac_compile") 2>conftest.er1
21573 ac_status=$?
21574 grep -v '^ *+' conftest.er1 >conftest.err
21575 rm -f conftest.er1
21576 cat conftest.err >&5
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); } && {
21579 test -z "$ac_c_werror_flag" ||
21580 test ! -s conftest.err
21581 } && test -s conftest.$ac_objext; then
21582 ac_hi=$ac_mid
21583 else
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21586
21587 ac_lo=`expr '(' $ac_mid ')' + 1`
21588 fi
21589
21590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21591 done
21592 case $ac_lo in
21593 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21594 '') if test "$ac_cv_type_long_long" = yes; then
21595 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21596 See \`config.log' for more details." >&5
21597 echo "$as_me: error: cannot compute sizeof (long long)
21598 See \`config.log' for more details." >&2;}
21599 { (exit 77); exit 77; }; }
21600 else
21601 ac_cv_sizeof_long_long=0
21602 fi ;;
21603 esac
21604 else
21605 cat >conftest.$ac_ext <<_ACEOF
21606 /* confdefs.h. */
21607 _ACEOF
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21611 $ac_includes_default
21612 typedef long long ac__type_sizeof_;
21613 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21614 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21615 #include <stdio.h>
21616 #include <stdlib.h>
21617 int
21618 main ()
21619 {
21620
21621 FILE *f = fopen ("conftest.val", "w");
21622 if (! f)
21623 return 1;
21624 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21625 {
21626 long int i = longval ();
21627 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21628 return 1;
21629 fprintf (f, "%ld\n", i);
21630 }
21631 else
21632 {
21633 unsigned long int i = ulongval ();
21634 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21635 return 1;
21636 fprintf (f, "%lu\n", i);
21637 }
21638 return ferror (f) || fclose (f) != 0;
21639
21640 ;
21641 return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest$ac_exeext
21645 if { (ac_try="$ac_link"
21646 case "(($ac_try" in
21647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21648 *) ac_try_echo=$ac_try;;
21649 esac
21650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21651 (eval "$ac_link") 2>&5
21652 ac_status=$?
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21655 { (case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21658 esac
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_try") 2>&5
21661 ac_status=$?
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; }; then
21664 ac_cv_sizeof_long_long=`cat conftest.val`
21665 else
21666 echo "$as_me: program exited with status $ac_status" >&5
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 ( exit $ac_status )
21671 if test "$ac_cv_type_long_long" = yes; then
21672 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21673 See \`config.log' for more details." >&5
21674 echo "$as_me: error: cannot compute sizeof (long long)
21675 See \`config.log' for more details." >&2;}
21676 { (exit 77); exit 77; }; }
21677 else
21678 ac_cv_sizeof_long_long=0
21679 fi
21680 fi
21681 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21682 fi
21683 rm -f conftest.val
21684 fi
21685 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21686 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21687
21688
21689
21690 cat >>confdefs.h <<_ACEOF
21691 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21692 _ACEOF
21693
21694
21695 if test "$ac_cv_sizeof_long_long" != "0"; then
21696 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21697 fi
21698 ;;
21699 * )
21700 { echo "$as_me:$LINENO: checking for long long" >&5
21701 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21702 if test "${ac_cv_type_long_long+set}" = set; then
21703 echo $ECHO_N "(cached) $ECHO_C" >&6
21704 else
21705 cat >conftest.$ac_ext <<_ACEOF
21706 /* confdefs.h. */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 $ac_includes_default
21712 typedef long long ac__type_new_;
21713 int
21714 main ()
21715 {
21716 if ((ac__type_new_ *) 0)
21717 return 0;
21718 if (sizeof (ac__type_new_))
21719 return 0;
21720 ;
21721 return 0;
21722 }
21723 _ACEOF
21724 rm -f conftest.$ac_objext
21725 if { (ac_try="$ac_compile"
21726 case "(($ac_try" in
21727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21729 esac
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_compile") 2>conftest.er1
21732 ac_status=$?
21733 grep -v '^ *+' conftest.er1 >conftest.err
21734 rm -f conftest.er1
21735 cat conftest.err >&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } && {
21738 test -z "$ac_c_werror_flag" ||
21739 test ! -s conftest.err
21740 } && test -s conftest.$ac_objext; then
21741 ac_cv_type_long_long=yes
21742 else
21743 echo "$as_me: failed program was:" >&5
21744 sed 's/^/| /' conftest.$ac_ext >&5
21745
21746 ac_cv_type_long_long=no
21747 fi
21748
21749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21750 fi
21751 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21752 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21753
21754 # The cast to long int works around a bug in the HP C Compiler
21755 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21756 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21757 # This bug is HP SR number 8606223364.
21758 { echo "$as_me:$LINENO: checking size of long long" >&5
21759 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21760 if test "${ac_cv_sizeof_long_long+set}" = set; then
21761 echo $ECHO_N "(cached) $ECHO_C" >&6
21762 else
21763 if test "$cross_compiling" = yes; then
21764 # Depending upon the size, compute the lo and hi bounds.
21765 cat >conftest.$ac_ext <<_ACEOF
21766 /* confdefs.h. */
21767 _ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771 $ac_includes_default
21772 typedef long long ac__type_sizeof_;
21773 int
21774 main ()
21775 {
21776 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21777 test_array [0] = 0
21778
21779 ;
21780 return 0;
21781 }
21782 _ACEOF
21783 rm -f conftest.$ac_objext
21784 if { (ac_try="$ac_compile"
21785 case "(($ac_try" in
21786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21787 *) ac_try_echo=$ac_try;;
21788 esac
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21790 (eval "$ac_compile") 2>conftest.er1
21791 ac_status=$?
21792 grep -v '^ *+' conftest.er1 >conftest.err
21793 rm -f conftest.er1
21794 cat conftest.err >&5
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); } && {
21797 test -z "$ac_c_werror_flag" ||
21798 test ! -s conftest.err
21799 } && test -s conftest.$ac_objext; then
21800 ac_lo=0 ac_mid=0
21801 while :; do
21802 cat >conftest.$ac_ext <<_ACEOF
21803 /* confdefs.h. */
21804 _ACEOF
21805 cat confdefs.h >>conftest.$ac_ext
21806 cat >>conftest.$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 $ac_includes_default
21809 typedef long long ac__type_sizeof_;
21810 int
21811 main ()
21812 {
21813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21814 test_array [0] = 0
21815
21816 ;
21817 return 0;
21818 }
21819 _ACEOF
21820 rm -f conftest.$ac_objext
21821 if { (ac_try="$ac_compile"
21822 case "(($ac_try" in
21823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21824 *) ac_try_echo=$ac_try;;
21825 esac
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_compile") 2>conftest.er1
21828 ac_status=$?
21829 grep -v '^ *+' conftest.er1 >conftest.err
21830 rm -f conftest.er1
21831 cat conftest.err >&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && {
21834 test -z "$ac_c_werror_flag" ||
21835 test ! -s conftest.err
21836 } && test -s conftest.$ac_objext; then
21837 ac_hi=$ac_mid; break
21838 else
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21841
21842 ac_lo=`expr $ac_mid + 1`
21843 if test $ac_lo -le $ac_mid; then
21844 ac_lo= ac_hi=
21845 break
21846 fi
21847 ac_mid=`expr 2 '*' $ac_mid + 1`
21848 fi
21849
21850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21851 done
21852 else
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21855
21856 cat >conftest.$ac_ext <<_ACEOF
21857 /* confdefs.h. */
21858 _ACEOF
21859 cat confdefs.h >>conftest.$ac_ext
21860 cat >>conftest.$ac_ext <<_ACEOF
21861 /* end confdefs.h. */
21862 $ac_includes_default
21863 typedef long long ac__type_sizeof_;
21864 int
21865 main ()
21866 {
21867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21868 test_array [0] = 0
21869
21870 ;
21871 return 0;
21872 }
21873 _ACEOF
21874 rm -f conftest.$ac_objext
21875 if { (ac_try="$ac_compile"
21876 case "(($ac_try" in
21877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21878 *) ac_try_echo=$ac_try;;
21879 esac
21880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21881 (eval "$ac_compile") 2>conftest.er1
21882 ac_status=$?
21883 grep -v '^ *+' conftest.er1 >conftest.err
21884 rm -f conftest.er1
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } && {
21888 test -z "$ac_c_werror_flag" ||
21889 test ! -s conftest.err
21890 } && test -s conftest.$ac_objext; then
21891 ac_hi=-1 ac_mid=-1
21892 while :; do
21893 cat >conftest.$ac_ext <<_ACEOF
21894 /* confdefs.h. */
21895 _ACEOF
21896 cat confdefs.h >>conftest.$ac_ext
21897 cat >>conftest.$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21899 $ac_includes_default
21900 typedef long long ac__type_sizeof_;
21901 int
21902 main ()
21903 {
21904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21905 test_array [0] = 0
21906
21907 ;
21908 return 0;
21909 }
21910 _ACEOF
21911 rm -f conftest.$ac_objext
21912 if { (ac_try="$ac_compile"
21913 case "(($ac_try" in
21914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21915 *) ac_try_echo=$ac_try;;
21916 esac
21917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21918 (eval "$ac_compile") 2>conftest.er1
21919 ac_status=$?
21920 grep -v '^ *+' conftest.er1 >conftest.err
21921 rm -f conftest.er1
21922 cat conftest.err >&5
21923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21924 (exit $ac_status); } && {
21925 test -z "$ac_c_werror_flag" ||
21926 test ! -s conftest.err
21927 } && test -s conftest.$ac_objext; then
21928 ac_lo=$ac_mid; break
21929 else
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21932
21933 ac_hi=`expr '(' $ac_mid ')' - 1`
21934 if test $ac_mid -le $ac_hi; then
21935 ac_lo= ac_hi=
21936 break
21937 fi
21938 ac_mid=`expr 2 '*' $ac_mid`
21939 fi
21940
21941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21942 done
21943 else
21944 echo "$as_me: failed program was:" >&5
21945 sed 's/^/| /' conftest.$ac_ext >&5
21946
21947 ac_lo= ac_hi=
21948 fi
21949
21950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21951 fi
21952
21953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21954 # Binary search between lo and hi bounds.
21955 while test "x$ac_lo" != "x$ac_hi"; do
21956 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21957 cat >conftest.$ac_ext <<_ACEOF
21958 /* confdefs.h. */
21959 _ACEOF
21960 cat confdefs.h >>conftest.$ac_ext
21961 cat >>conftest.$ac_ext <<_ACEOF
21962 /* end confdefs.h. */
21963 $ac_includes_default
21964 typedef long long ac__type_sizeof_;
21965 int
21966 main ()
21967 {
21968 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21969 test_array [0] = 0
21970
21971 ;
21972 return 0;
21973 }
21974 _ACEOF
21975 rm -f conftest.$ac_objext
21976 if { (ac_try="$ac_compile"
21977 case "(($ac_try" in
21978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21979 *) ac_try_echo=$ac_try;;
21980 esac
21981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21982 (eval "$ac_compile") 2>conftest.er1
21983 ac_status=$?
21984 grep -v '^ *+' conftest.er1 >conftest.err
21985 rm -f conftest.er1
21986 cat conftest.err >&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } && {
21989 test -z "$ac_c_werror_flag" ||
21990 test ! -s conftest.err
21991 } && test -s conftest.$ac_objext; then
21992 ac_hi=$ac_mid
21993 else
21994 echo "$as_me: failed program was:" >&5
21995 sed 's/^/| /' conftest.$ac_ext >&5
21996
21997 ac_lo=`expr '(' $ac_mid ')' + 1`
21998 fi
21999
22000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22001 done
22002 case $ac_lo in
22003 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22004 '') if test "$ac_cv_type_long_long" = yes; then
22005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22006 See \`config.log' for more details." >&5
22007 echo "$as_me: error: cannot compute sizeof (long long)
22008 See \`config.log' for more details." >&2;}
22009 { (exit 77); exit 77; }; }
22010 else
22011 ac_cv_sizeof_long_long=0
22012 fi ;;
22013 esac
22014 else
22015 cat >conftest.$ac_ext <<_ACEOF
22016 /* confdefs.h. */
22017 _ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021 $ac_includes_default
22022 typedef long long ac__type_sizeof_;
22023 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22024 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22025 #include <stdio.h>
22026 #include <stdlib.h>
22027 int
22028 main ()
22029 {
22030
22031 FILE *f = fopen ("conftest.val", "w");
22032 if (! f)
22033 return 1;
22034 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22035 {
22036 long int i = longval ();
22037 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22038 return 1;
22039 fprintf (f, "%ld\n", i);
22040 }
22041 else
22042 {
22043 unsigned long int i = ulongval ();
22044 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22045 return 1;
22046 fprintf (f, "%lu\n", i);
22047 }
22048 return ferror (f) || fclose (f) != 0;
22049
22050 ;
22051 return 0;
22052 }
22053 _ACEOF
22054 rm -f conftest$ac_exeext
22055 if { (ac_try="$ac_link"
22056 case "(($ac_try" in
22057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22058 *) ac_try_echo=$ac_try;;
22059 esac
22060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22061 (eval "$ac_link") 2>&5
22062 ac_status=$?
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22065 { (case "(($ac_try" in
22066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22067 *) ac_try_echo=$ac_try;;
22068 esac
22069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22070 (eval "$ac_try") 2>&5
22071 ac_status=$?
22072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22073 (exit $ac_status); }; }; then
22074 ac_cv_sizeof_long_long=`cat conftest.val`
22075 else
22076 echo "$as_me: program exited with status $ac_status" >&5
22077 echo "$as_me: failed program was:" >&5
22078 sed 's/^/| /' conftest.$ac_ext >&5
22079
22080 ( exit $ac_status )
22081 if test "$ac_cv_type_long_long" = yes; then
22082 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22083 See \`config.log' for more details." >&5
22084 echo "$as_me: error: cannot compute sizeof (long long)
22085 See \`config.log' for more details." >&2;}
22086 { (exit 77); exit 77; }; }
22087 else
22088 ac_cv_sizeof_long_long=0
22089 fi
22090 fi
22091 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22092 fi
22093 rm -f conftest.val
22094 fi
22095 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22096 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22097
22098
22099
22100 cat >>confdefs.h <<_ACEOF
22101 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22102 _ACEOF
22103
22104
22105 esac
22106
22107 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22108 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22109 if test "${ac_cv_type_wchar_t+set}" = set; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22111 else
22112 cat >conftest.$ac_ext <<_ACEOF
22113 /* confdefs.h. */
22114 _ACEOF
22115 cat confdefs.h >>conftest.$ac_ext
22116 cat >>conftest.$ac_ext <<_ACEOF
22117 /* end confdefs.h. */
22118
22119 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22120 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22121 # error "fake wchar_t"
22122 #endif
22123 #ifdef HAVE_WCHAR_H
22124 # ifdef __CYGWIN__
22125 # include <stddef.h>
22126 # endif
22127 # include <wchar.h>
22128 #endif
22129 #ifdef HAVE_STDLIB_H
22130 # include <stdlib.h>
22131 #endif
22132 #include <stdio.h>
22133
22134
22135
22136 typedef wchar_t ac__type_new_;
22137 int
22138 main ()
22139 {
22140 if ((ac__type_new_ *) 0)
22141 return 0;
22142 if (sizeof (ac__type_new_))
22143 return 0;
22144 ;
22145 return 0;
22146 }
22147 _ACEOF
22148 rm -f conftest.$ac_objext
22149 if { (ac_try="$ac_compile"
22150 case "(($ac_try" in
22151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22152 *) ac_try_echo=$ac_try;;
22153 esac
22154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22155 (eval "$ac_compile") 2>conftest.er1
22156 ac_status=$?
22157 grep -v '^ *+' conftest.er1 >conftest.err
22158 rm -f conftest.er1
22159 cat conftest.err >&5
22160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22161 (exit $ac_status); } && {
22162 test -z "$ac_c_werror_flag" ||
22163 test ! -s conftest.err
22164 } && test -s conftest.$ac_objext; then
22165 ac_cv_type_wchar_t=yes
22166 else
22167 echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.$ac_ext >&5
22169
22170 ac_cv_type_wchar_t=no
22171 fi
22172
22173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22174 fi
22175 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22176 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22177
22178 # The cast to long int works around a bug in the HP C Compiler
22179 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22180 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22181 # This bug is HP SR number 8606223364.
22182 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22183 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22184 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 else
22187 if test "$cross_compiling" = yes; then
22188 # Depending upon the size, compute the lo and hi bounds.
22189 cat >conftest.$ac_ext <<_ACEOF
22190 /* confdefs.h. */
22191 _ACEOF
22192 cat confdefs.h >>conftest.$ac_ext
22193 cat >>conftest.$ac_ext <<_ACEOF
22194 /* end confdefs.h. */
22195
22196 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22197 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22198 # error "fake wchar_t"
22199 #endif
22200 #ifdef HAVE_WCHAR_H
22201 # ifdef __CYGWIN__
22202 # include <stddef.h>
22203 # endif
22204 # include <wchar.h>
22205 #endif
22206 #ifdef HAVE_STDLIB_H
22207 # include <stdlib.h>
22208 #endif
22209 #include <stdio.h>
22210
22211
22212
22213 typedef wchar_t ac__type_sizeof_;
22214 int
22215 main ()
22216 {
22217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22218 test_array [0] = 0
22219
22220 ;
22221 return 0;
22222 }
22223 _ACEOF
22224 rm -f conftest.$ac_objext
22225 if { (ac_try="$ac_compile"
22226 case "(($ac_try" in
22227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22228 *) ac_try_echo=$ac_try;;
22229 esac
22230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22231 (eval "$ac_compile") 2>conftest.er1
22232 ac_status=$?
22233 grep -v '^ *+' conftest.er1 >conftest.err
22234 rm -f conftest.er1
22235 cat conftest.err >&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } && {
22238 test -z "$ac_c_werror_flag" ||
22239 test ! -s conftest.err
22240 } && test -s conftest.$ac_objext; then
22241 ac_lo=0 ac_mid=0
22242 while :; do
22243 cat >conftest.$ac_ext <<_ACEOF
22244 /* confdefs.h. */
22245 _ACEOF
22246 cat confdefs.h >>conftest.$ac_ext
22247 cat >>conftest.$ac_ext <<_ACEOF
22248 /* end confdefs.h. */
22249
22250 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22251 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22252 # error "fake wchar_t"
22253 #endif
22254 #ifdef HAVE_WCHAR_H
22255 # ifdef __CYGWIN__
22256 # include <stddef.h>
22257 # endif
22258 # include <wchar.h>
22259 #endif
22260 #ifdef HAVE_STDLIB_H
22261 # include <stdlib.h>
22262 #endif
22263 #include <stdio.h>
22264
22265
22266
22267 typedef wchar_t ac__type_sizeof_;
22268 int
22269 main ()
22270 {
22271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22272 test_array [0] = 0
22273
22274 ;
22275 return 0;
22276 }
22277 _ACEOF
22278 rm -f conftest.$ac_objext
22279 if { (ac_try="$ac_compile"
22280 case "(($ac_try" in
22281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22282 *) ac_try_echo=$ac_try;;
22283 esac
22284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22285 (eval "$ac_compile") 2>conftest.er1
22286 ac_status=$?
22287 grep -v '^ *+' conftest.er1 >conftest.err
22288 rm -f conftest.er1
22289 cat conftest.err >&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); } && {
22292 test -z "$ac_c_werror_flag" ||
22293 test ! -s conftest.err
22294 } && test -s conftest.$ac_objext; then
22295 ac_hi=$ac_mid; break
22296 else
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22299
22300 ac_lo=`expr $ac_mid + 1`
22301 if test $ac_lo -le $ac_mid; then
22302 ac_lo= ac_hi=
22303 break
22304 fi
22305 ac_mid=`expr 2 '*' $ac_mid + 1`
22306 fi
22307
22308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22309 done
22310 else
22311 echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.$ac_ext >&5
22313
22314 cat >conftest.$ac_ext <<_ACEOF
22315 /* confdefs.h. */
22316 _ACEOF
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22320
22321 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22322 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22323 # error "fake wchar_t"
22324 #endif
22325 #ifdef HAVE_WCHAR_H
22326 # ifdef __CYGWIN__
22327 # include <stddef.h>
22328 # endif
22329 # include <wchar.h>
22330 #endif
22331 #ifdef HAVE_STDLIB_H
22332 # include <stdlib.h>
22333 #endif
22334 #include <stdio.h>
22335
22336
22337
22338 typedef wchar_t ac__type_sizeof_;
22339 int
22340 main ()
22341 {
22342 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22343 test_array [0] = 0
22344
22345 ;
22346 return 0;
22347 }
22348 _ACEOF
22349 rm -f conftest.$ac_objext
22350 if { (ac_try="$ac_compile"
22351 case "(($ac_try" in
22352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22353 *) ac_try_echo=$ac_try;;
22354 esac
22355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22356 (eval "$ac_compile") 2>conftest.er1
22357 ac_status=$?
22358 grep -v '^ *+' conftest.er1 >conftest.err
22359 rm -f conftest.er1
22360 cat conftest.err >&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); } && {
22363 test -z "$ac_c_werror_flag" ||
22364 test ! -s conftest.err
22365 } && test -s conftest.$ac_objext; then
22366 ac_hi=-1 ac_mid=-1
22367 while :; do
22368 cat >conftest.$ac_ext <<_ACEOF
22369 /* confdefs.h. */
22370 _ACEOF
22371 cat confdefs.h >>conftest.$ac_ext
22372 cat >>conftest.$ac_ext <<_ACEOF
22373 /* end confdefs.h. */
22374
22375 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22376 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22377 # error "fake wchar_t"
22378 #endif
22379 #ifdef HAVE_WCHAR_H
22380 # ifdef __CYGWIN__
22381 # include <stddef.h>
22382 # endif
22383 # include <wchar.h>
22384 #endif
22385 #ifdef HAVE_STDLIB_H
22386 # include <stdlib.h>
22387 #endif
22388 #include <stdio.h>
22389
22390
22391
22392 typedef wchar_t ac__type_sizeof_;
22393 int
22394 main ()
22395 {
22396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22397 test_array [0] = 0
22398
22399 ;
22400 return 0;
22401 }
22402 _ACEOF
22403 rm -f conftest.$ac_objext
22404 if { (ac_try="$ac_compile"
22405 case "(($ac_try" in
22406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22407 *) ac_try_echo=$ac_try;;
22408 esac
22409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22410 (eval "$ac_compile") 2>conftest.er1
22411 ac_status=$?
22412 grep -v '^ *+' conftest.er1 >conftest.err
22413 rm -f conftest.er1
22414 cat conftest.err >&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); } && {
22417 test -z "$ac_c_werror_flag" ||
22418 test ! -s conftest.err
22419 } && test -s conftest.$ac_objext; then
22420 ac_lo=$ac_mid; break
22421 else
22422 echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 ac_hi=`expr '(' $ac_mid ')' - 1`
22426 if test $ac_mid -le $ac_hi; then
22427 ac_lo= ac_hi=
22428 break
22429 fi
22430 ac_mid=`expr 2 '*' $ac_mid`
22431 fi
22432
22433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22434 done
22435 else
22436 echo "$as_me: failed program was:" >&5
22437 sed 's/^/| /' conftest.$ac_ext >&5
22438
22439 ac_lo= ac_hi=
22440 fi
22441
22442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22443 fi
22444
22445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22446 # Binary search between lo and hi bounds.
22447 while test "x$ac_lo" != "x$ac_hi"; do
22448 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22449 cat >conftest.$ac_ext <<_ACEOF
22450 /* confdefs.h. */
22451 _ACEOF
22452 cat confdefs.h >>conftest.$ac_ext
22453 cat >>conftest.$ac_ext <<_ACEOF
22454 /* end confdefs.h. */
22455
22456 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22457 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22458 # error "fake wchar_t"
22459 #endif
22460 #ifdef HAVE_WCHAR_H
22461 # ifdef __CYGWIN__
22462 # include <stddef.h>
22463 # endif
22464 # include <wchar.h>
22465 #endif
22466 #ifdef HAVE_STDLIB_H
22467 # include <stdlib.h>
22468 #endif
22469 #include <stdio.h>
22470
22471
22472
22473 typedef wchar_t ac__type_sizeof_;
22474 int
22475 main ()
22476 {
22477 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22478 test_array [0] = 0
22479
22480 ;
22481 return 0;
22482 }
22483 _ACEOF
22484 rm -f conftest.$ac_objext
22485 if { (ac_try="$ac_compile"
22486 case "(($ac_try" in
22487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22489 esac
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_compile") 2>conftest.er1
22492 ac_status=$?
22493 grep -v '^ *+' conftest.er1 >conftest.err
22494 rm -f conftest.er1
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } && {
22498 test -z "$ac_c_werror_flag" ||
22499 test ! -s conftest.err
22500 } && test -s conftest.$ac_objext; then
22501 ac_hi=$ac_mid
22502 else
22503 echo "$as_me: failed program was:" >&5
22504 sed 's/^/| /' conftest.$ac_ext >&5
22505
22506 ac_lo=`expr '(' $ac_mid ')' + 1`
22507 fi
22508
22509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22510 done
22511 case $ac_lo in
22512 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22513 '') if test "$ac_cv_type_wchar_t" = yes; then
22514 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22515 See \`config.log' for more details." >&5
22516 echo "$as_me: error: cannot compute sizeof (wchar_t)
22517 See \`config.log' for more details." >&2;}
22518 { (exit 77); exit 77; }; }
22519 else
22520 ac_cv_sizeof_wchar_t=0
22521 fi ;;
22522 esac
22523 else
22524 cat >conftest.$ac_ext <<_ACEOF
22525 /* confdefs.h. */
22526 _ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h. */
22530
22531 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22532 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22533 # error "fake wchar_t"
22534 #endif
22535 #ifdef HAVE_WCHAR_H
22536 # ifdef __CYGWIN__
22537 # include <stddef.h>
22538 # endif
22539 # include <wchar.h>
22540 #endif
22541 #ifdef HAVE_STDLIB_H
22542 # include <stdlib.h>
22543 #endif
22544 #include <stdio.h>
22545
22546
22547
22548 typedef wchar_t ac__type_sizeof_;
22549 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22550 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22551 #include <stdio.h>
22552 #include <stdlib.h>
22553 int
22554 main ()
22555 {
22556
22557 FILE *f = fopen ("conftest.val", "w");
22558 if (! f)
22559 return 1;
22560 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22561 {
22562 long int i = longval ();
22563 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22564 return 1;
22565 fprintf (f, "%ld\n", i);
22566 }
22567 else
22568 {
22569 unsigned long int i = ulongval ();
22570 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22571 return 1;
22572 fprintf (f, "%lu\n", i);
22573 }
22574 return ferror (f) || fclose (f) != 0;
22575
22576 ;
22577 return 0;
22578 }
22579 _ACEOF
22580 rm -f conftest$ac_exeext
22581 if { (ac_try="$ac_link"
22582 case "(($ac_try" in
22583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22584 *) ac_try_echo=$ac_try;;
22585 esac
22586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22587 (eval "$ac_link") 2>&5
22588 ac_status=$?
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22591 { (case "(($ac_try" in
22592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22593 *) ac_try_echo=$ac_try;;
22594 esac
22595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22596 (eval "$ac_try") 2>&5
22597 ac_status=$?
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); }; }; then
22600 ac_cv_sizeof_wchar_t=`cat conftest.val`
22601 else
22602 echo "$as_me: program exited with status $ac_status" >&5
22603 echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.$ac_ext >&5
22605
22606 ( exit $ac_status )
22607 if test "$ac_cv_type_wchar_t" = yes; then
22608 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22609 See \`config.log' for more details." >&5
22610 echo "$as_me: error: cannot compute sizeof (wchar_t)
22611 See \`config.log' for more details." >&2;}
22612 { (exit 77); exit 77; }; }
22613 else
22614 ac_cv_sizeof_wchar_t=0
22615 fi
22616 fi
22617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22618 fi
22619 rm -f conftest.val
22620 fi
22621 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22622 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22623
22624
22625
22626 cat >>confdefs.h <<_ACEOF
22627 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22628 _ACEOF
22629
22630
22631 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22632 wxUSE_WCHAR_T=yes
22633 else
22634 wxUSE_WCHAR_T=no
22635 fi
22636
22637 { echo "$as_me:$LINENO: checking for va_copy" >&5
22638 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22639 if test "${wx_cv_func_va_copy+set}" = set; then
22640 echo $ECHO_N "(cached) $ECHO_C" >&6
22641 else
22642
22643 cat >conftest.$ac_ext <<_ACEOF
22644
22645 #include <stdarg.h>
22646 void foo(char *f, ...)
22647 {
22648 va_list ap1, ap2;
22649 va_start(ap1, f);
22650 va_copy(ap2, ap1);
22651 va_end(ap2);
22652 va_end(ap1);
22653 }
22654 int main()
22655 {
22656 foo("hi", 17);
22657 return 0;
22658 }
22659 _ACEOF
22660 rm -f conftest.$ac_objext conftest$ac_exeext
22661 if { (ac_try="$ac_link"
22662 case "(($ac_try" in
22663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22664 *) ac_try_echo=$ac_try;;
22665 esac
22666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22667 (eval "$ac_link") 2>conftest.er1
22668 ac_status=$?
22669 grep -v '^ *+' conftest.er1 >conftest.err
22670 rm -f conftest.er1
22671 cat conftest.err >&5
22672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22673 (exit $ac_status); } && {
22674 test -z "$ac_c_werror_flag" ||
22675 test ! -s conftest.err
22676 } && test -s conftest$ac_exeext &&
22677 $as_test_x conftest$ac_exeext; then
22678 wx_cv_func_va_copy=yes
22679 else
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.$ac_ext >&5
22682
22683 wx_cv_func_va_copy=no
22684
22685 fi
22686
22687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22688 conftest$ac_exeext conftest.$ac_ext
22689
22690
22691 fi
22692 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22693 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22694
22695 if test $wx_cv_func_va_copy = "yes"; then
22696 cat >>confdefs.h <<\_ACEOF
22697 #define HAVE_VA_COPY 1
22698 _ACEOF
22699
22700 else
22701 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22702 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22703 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22704 echo $ECHO_N "(cached) $ECHO_C" >&6
22705 else
22706
22707 if test "$cross_compiling" = yes; then
22708 wx_cv_type_va_list_lvalue=yes
22709
22710 else
22711 cat >conftest.$ac_ext <<_ACEOF
22712
22713 #include <stdarg.h>
22714 int foo(char *f, ...)
22715 {
22716 va_list ap1, ap2;
22717 va_start(ap1, f);
22718 ap2 = ap1;
22719 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22720 return 1;
22721 va_end(ap2);
22722 va_end(ap1);
22723 return 0;
22724 }
22725 int main()
22726 {
22727 return foo("hi", 17);
22728 }
22729 _ACEOF
22730 rm -f conftest$ac_exeext
22731 if { (ac_try="$ac_link"
22732 case "(($ac_try" in
22733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22734 *) ac_try_echo=$ac_try;;
22735 esac
22736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22737 (eval "$ac_link") 2>&5
22738 ac_status=$?
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22741 { (case "(($ac_try" in
22742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22743 *) ac_try_echo=$ac_try;;
22744 esac
22745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22746 (eval "$ac_try") 2>&5
22747 ac_status=$?
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); }; }; then
22750 wx_cv_type_va_list_lvalue=yes
22751 else
22752 echo "$as_me: program exited with status $ac_status" >&5
22753 echo "$as_me: failed program was:" >&5
22754 sed 's/^/| /' conftest.$ac_ext >&5
22755
22756 ( exit $ac_status )
22757 wx_cv_type_va_list_lvalue=no
22758 fi
22759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22760 fi
22761
22762
22763
22764
22765 fi
22766 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22767 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22768
22769 if test $wx_cv_type_va_list_lvalue != "yes"; then
22770 cat >>confdefs.h <<\_ACEOF
22771 #define VA_LIST_IS_ARRAY 1
22772 _ACEOF
22773
22774 fi
22775 fi
22776
22777 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22778
22779 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22780 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22781 if test "${wx_cv_have_variadic_macros+set}" = set; then
22782 echo $ECHO_N "(cached) $ECHO_C" >&6
22783 else
22784
22785 ac_ext=cpp
22786 ac_cpp='$CXXCPP $CPPFLAGS'
22787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22790
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797
22798 #include <stdio.h>
22799 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22800
22801 int
22802 main ()
22803 {
22804
22805 test("%s %d %p", "test", 1, 0);
22806
22807
22808 ;
22809 return 0;
22810 }
22811 _ACEOF
22812 rm -f conftest.$ac_objext
22813 if { (ac_try="$ac_compile"
22814 case "(($ac_try" in
22815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22816 *) ac_try_echo=$ac_try;;
22817 esac
22818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22819 (eval "$ac_compile") 2>conftest.er1
22820 ac_status=$?
22821 grep -v '^ *+' conftest.er1 >conftest.err
22822 rm -f conftest.er1
22823 cat conftest.err >&5
22824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825 (exit $ac_status); } && {
22826 test -z "$ac_cxx_werror_flag" ||
22827 test ! -s conftest.err
22828 } && test -s conftest.$ac_objext; then
22829 wx_cv_have_variadic_macros=yes
22830 else
22831 echo "$as_me: failed program was:" >&5
22832 sed 's/^/| /' conftest.$ac_ext >&5
22833
22834 wx_cv_have_variadic_macros=no
22835
22836 fi
22837
22838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22839 ac_ext=c
22840 ac_cpp='$CPP $CPPFLAGS'
22841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22844
22845
22846
22847 fi
22848 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22849 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22850
22851 if test $wx_cv_have_variadic_macros = "yes"; then
22852 cat >>confdefs.h <<\_ACEOF
22853 #define HAVE_VARIADIC_MACROS 1
22854 _ACEOF
22855
22856 fi
22857
22858 fi
22859 # Check whether --enable-largefile was given.
22860 if test "${enable_largefile+set}" = set; then
22861 enableval=$enable_largefile;
22862 fi
22863
22864 if test "$enable_largefile" != no; then
22865 wx_largefile=no
22866
22867 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22868 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22869 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22870 echo $ECHO_N "(cached) $ECHO_C" >&6
22871 else
22872
22873 cat >conftest.$ac_ext <<_ACEOF
22874 /* confdefs.h. */
22875 _ACEOF
22876 cat confdefs.h >>conftest.$ac_ext
22877 cat >>conftest.$ac_ext <<_ACEOF
22878 /* end confdefs.h. */
22879 #define _FILE_OFFSET_BITS 64
22880 #include <sys/types.h>
22881 int
22882 main ()
22883 {
22884 typedef struct {
22885 unsigned int field: sizeof(off_t) == 8;
22886 } wxlf;
22887
22888 ;
22889 return 0;
22890 }
22891 _ACEOF
22892 rm -f conftest.$ac_objext
22893 if { (ac_try="$ac_compile"
22894 case "(($ac_try" in
22895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22896 *) ac_try_echo=$ac_try;;
22897 esac
22898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22899 (eval "$ac_compile") 2>conftest.er1
22900 ac_status=$?
22901 grep -v '^ *+' conftest.er1 >conftest.err
22902 rm -f conftest.er1
22903 cat conftest.err >&5
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); } && {
22906 test -z "$ac_c_werror_flag" ||
22907 test ! -s conftest.err
22908 } && test -s conftest.$ac_objext; then
22909 ac_cv_sys_file_offset_bits=64
22910 else
22911 echo "$as_me: failed program was:" >&5
22912 sed 's/^/| /' conftest.$ac_ext >&5
22913
22914 ac_cv_sys_file_offset_bits=no
22915 fi
22916
22917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22918
22919
22920 fi
22921 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22922 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22923
22924 if test "$ac_cv_sys_file_offset_bits" != no; then
22925 wx_largefile=yes
22926 cat >>confdefs.h <<_ACEOF
22927 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22928 _ACEOF
22929
22930 fi
22931
22932 if test "x$wx_largefile" != "xyes"; then
22933
22934 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22935 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22936 if test "${ac_cv_sys_large_files+set}" = set; then
22937 echo $ECHO_N "(cached) $ECHO_C" >&6
22938 else
22939
22940 cat >conftest.$ac_ext <<_ACEOF
22941 /* confdefs.h. */
22942 _ACEOF
22943 cat confdefs.h >>conftest.$ac_ext
22944 cat >>conftest.$ac_ext <<_ACEOF
22945 /* end confdefs.h. */
22946 #define _LARGE_FILES 1
22947 #include <sys/types.h>
22948 int
22949 main ()
22950 {
22951 typedef struct {
22952 unsigned int field: sizeof(off_t) == 8;
22953 } wxlf;
22954
22955 ;
22956 return 0;
22957 }
22958 _ACEOF
22959 rm -f conftest.$ac_objext
22960 if { (ac_try="$ac_compile"
22961 case "(($ac_try" in
22962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22963 *) ac_try_echo=$ac_try;;
22964 esac
22965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22966 (eval "$ac_compile") 2>conftest.er1
22967 ac_status=$?
22968 grep -v '^ *+' conftest.er1 >conftest.err
22969 rm -f conftest.er1
22970 cat conftest.err >&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } && {
22973 test -z "$ac_c_werror_flag" ||
22974 test ! -s conftest.err
22975 } && test -s conftest.$ac_objext; then
22976 ac_cv_sys_large_files=1
22977 else
22978 echo "$as_me: failed program was:" >&5
22979 sed 's/^/| /' conftest.$ac_ext >&5
22980
22981 ac_cv_sys_large_files=no
22982 fi
22983
22984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22985
22986
22987 fi
22988 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22989 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22990
22991 if test "$ac_cv_sys_large_files" != no; then
22992 wx_largefile=yes
22993 cat >>confdefs.h <<_ACEOF
22994 #define _LARGE_FILES $ac_cv_sys_large_files
22995 _ACEOF
22996
22997 fi
22998
22999 fi
23000
23001 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23002 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23003 if test "x$wx_largefile" = "xyes"; then
23004 cat >>confdefs.h <<\_ACEOF
23005 #define HAVE_LARGEFILE_SUPPORT 1
23006 _ACEOF
23007
23008 fi
23009 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23010 echo "${ECHO_T}$wx_largefile" >&6; }
23011 fi
23012
23013
23014 if test "x$wx_largefile" = "xyes"; then
23015 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23016 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23017
23018 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23019 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23020 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23021 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23022 echo $ECHO_N "(cached) $ECHO_C" >&6
23023 else
23024
23025 ac_ext=cpp
23026 ac_cpp='$CXXCPP $CPPFLAGS'
23027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23030
23031 cat >conftest.$ac_ext <<_ACEOF
23032 /* confdefs.h. */
23033 _ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037
23038 int
23039 main ()
23040 {
23041
23042 #ifndef __STDC_EXT__
23043 choke me
23044 #endif
23045
23046 ;
23047 return 0;
23048 }
23049 _ACEOF
23050 rm -f conftest.$ac_objext
23051 if { (ac_try="$ac_compile"
23052 case "(($ac_try" in
23053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23054 *) ac_try_echo=$ac_try;;
23055 esac
23056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23057 (eval "$ac_compile") 2>conftest.er1
23058 ac_status=$?
23059 grep -v '^ *+' conftest.er1 >conftest.err
23060 rm -f conftest.er1
23061 cat conftest.err >&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); } && {
23064 test -z "$ac_cxx_werror_flag" ||
23065 test ! -s conftest.err
23066 } && test -s conftest.$ac_objext; then
23067 wx_cv_STDC_EXT_required=no
23068 else
23069 echo "$as_me: failed program was:" >&5
23070 sed 's/^/| /' conftest.$ac_ext >&5
23071
23072 wx_cv_STDC_EXT_required=yes
23073
23074 fi
23075
23076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23077 ac_ext=c
23078 ac_cpp='$CPP $CPPFLAGS'
23079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23082
23083
23084
23085 fi
23086 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23087 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23088 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23089 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23090 fi
23091 fi
23092 else
23093 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23094 fi
23095 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23096 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23097 if test "${ac_cv_sys_largefile_source+set}" = set; then
23098 echo $ECHO_N "(cached) $ECHO_C" >&6
23099 else
23100 while :; do
23101 cat >conftest.$ac_ext <<_ACEOF
23102 /* confdefs.h. */
23103 _ACEOF
23104 cat confdefs.h >>conftest.$ac_ext
23105 cat >>conftest.$ac_ext <<_ACEOF
23106 /* end confdefs.h. */
23107 #include <sys/types.h> /* for off_t */
23108 #include <stdio.h>
23109 int
23110 main ()
23111 {
23112 int (*fp) (FILE *, off_t, int) = fseeko;
23113 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23114 ;
23115 return 0;
23116 }
23117 _ACEOF
23118 rm -f conftest.$ac_objext conftest$ac_exeext
23119 if { (ac_try="$ac_link"
23120 case "(($ac_try" in
23121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23122 *) ac_try_echo=$ac_try;;
23123 esac
23124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23125 (eval "$ac_link") 2>conftest.er1
23126 ac_status=$?
23127 grep -v '^ *+' conftest.er1 >conftest.err
23128 rm -f conftest.er1
23129 cat conftest.err >&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } && {
23132 test -z "$ac_c_werror_flag" ||
23133 test ! -s conftest.err
23134 } && test -s conftest$ac_exeext &&
23135 $as_test_x conftest$ac_exeext; then
23136 ac_cv_sys_largefile_source=no; break
23137 else
23138 echo "$as_me: failed program was:" >&5
23139 sed 's/^/| /' conftest.$ac_ext >&5
23140
23141
23142 fi
23143
23144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23145 conftest$ac_exeext conftest.$ac_ext
23146 cat >conftest.$ac_ext <<_ACEOF
23147 /* confdefs.h. */
23148 _ACEOF
23149 cat confdefs.h >>conftest.$ac_ext
23150 cat >>conftest.$ac_ext <<_ACEOF
23151 /* end confdefs.h. */
23152 #define _LARGEFILE_SOURCE 1
23153 #include <sys/types.h> /* for off_t */
23154 #include <stdio.h>
23155 int
23156 main ()
23157 {
23158 int (*fp) (FILE *, off_t, int) = fseeko;
23159 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23160 ;
23161 return 0;
23162 }
23163 _ACEOF
23164 rm -f conftest.$ac_objext conftest$ac_exeext
23165 if { (ac_try="$ac_link"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23169 esac
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_link") 2>conftest.er1
23172 ac_status=$?
23173 grep -v '^ *+' conftest.er1 >conftest.err
23174 rm -f conftest.er1
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest$ac_exeext &&
23181 $as_test_x conftest$ac_exeext; then
23182 ac_cv_sys_largefile_source=1; break
23183 else
23184 echo "$as_me: failed program was:" >&5
23185 sed 's/^/| /' conftest.$ac_ext >&5
23186
23187
23188 fi
23189
23190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23191 conftest$ac_exeext conftest.$ac_ext
23192 ac_cv_sys_largefile_source=unknown
23193 break
23194 done
23195 fi
23196 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23197 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23198 case $ac_cv_sys_largefile_source in #(
23199 no | unknown) ;;
23200 *)
23201 cat >>confdefs.h <<_ACEOF
23202 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23203 _ACEOF
23204 ;;
23205 esac
23206 rm -f conftest*
23207
23208 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23209 # in glibc 2.1.3, but that breaks too many other things.
23210 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23211 if test $ac_cv_sys_largefile_source != unknown; then
23212
23213 cat >>confdefs.h <<\_ACEOF
23214 #define HAVE_FSEEKO 1
23215 _ACEOF
23216
23217 fi
23218
23219 if test "$ac_cv_sys_largefile_source" != no; then
23220 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23221 fi
23222 fi
23223
23224 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23225 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23226 if test "${ac_cv_c_bigendian+set}" = set; then
23227 echo $ECHO_N "(cached) $ECHO_C" >&6
23228 else
23229 ac_cv_c_bigendian=unknown
23230 # See if sys/param.h defines the BYTE_ORDER macro.
23231 cat >conftest.$ac_ext <<_ACEOF
23232 /* confdefs.h. */
23233 _ACEOF
23234 cat confdefs.h >>conftest.$ac_ext
23235 cat >>conftest.$ac_ext <<_ACEOF
23236 /* end confdefs.h. */
23237 #include <sys/types.h>
23238 #include <sys/param.h>
23239 int
23240 main ()
23241 {
23242
23243 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23244 bogus endian macros
23245 #endif
23246 ;
23247 return 0;
23248 }
23249 _ACEOF
23250 rm -f conftest.$ac_objext
23251 if { (ac_try="$ac_compile"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23255 esac
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_compile") 2>conftest.er1
23258 ac_status=$?
23259 grep -v '^ *+' conftest.er1 >conftest.err
23260 rm -f conftest.er1
23261 cat conftest.err >&5
23262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23263 (exit $ac_status); } && {
23264 test -z "$ac_c_werror_flag" ||
23265 test ! -s conftest.err
23266 } && test -s conftest.$ac_objext; then
23267 # It does; now see whether it defined to BIG_ENDIAN or not.
23268 cat >conftest.$ac_ext <<_ACEOF
23269 /* confdefs.h. */
23270 _ACEOF
23271 cat confdefs.h >>conftest.$ac_ext
23272 cat >>conftest.$ac_ext <<_ACEOF
23273 /* end confdefs.h. */
23274 #include <sys/types.h>
23275 #include <sys/param.h>
23276 int
23277 main ()
23278 {
23279
23280 #if BYTE_ORDER != BIG_ENDIAN
23281 not big endian
23282 #endif
23283 ;
23284 return 0;
23285 }
23286 _ACEOF
23287 rm -f conftest.$ac_objext
23288 if { (ac_try="$ac_compile"
23289 case "(($ac_try" in
23290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23291 *) ac_try_echo=$ac_try;;
23292 esac
23293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23294 (eval "$ac_compile") 2>conftest.er1
23295 ac_status=$?
23296 grep -v '^ *+' conftest.er1 >conftest.err
23297 rm -f conftest.er1
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } && {
23301 test -z "$ac_c_werror_flag" ||
23302 test ! -s conftest.err
23303 } && test -s conftest.$ac_objext; then
23304 ac_cv_c_bigendian=yes
23305 else
23306 echo "$as_me: failed program was:" >&5
23307 sed 's/^/| /' conftest.$ac_ext >&5
23308
23309 ac_cv_c_bigendian=no
23310 fi
23311
23312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23313 else
23314 echo "$as_me: failed program was:" >&5
23315 sed 's/^/| /' conftest.$ac_ext >&5
23316
23317
23318 fi
23319
23320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23321 if test $ac_cv_c_bigendian = unknown; then
23322 if test "$cross_compiling" = yes; then
23323 ac_cv_c_bigendian=unknown
23324 else
23325 cat >conftest.$ac_ext <<_ACEOF
23326 /* confdefs.h. */
23327 _ACEOF
23328 cat confdefs.h >>conftest.$ac_ext
23329 cat >>conftest.$ac_ext <<_ACEOF
23330 /* end confdefs.h. */
23331 main () {
23332 /* Are we little or big endian? From Harbison&Steele. */
23333 union
23334 {
23335 long l;
23336 char c[sizeof (long)];
23337 } u;
23338 u.l = 1;
23339 exit (u.c[sizeof (long) - 1] == 1);
23340 }
23341 _ACEOF
23342 rm -f conftest$ac_exeext
23343 if { (ac_try="$ac_link"
23344 case "(($ac_try" in
23345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23346 *) ac_try_echo=$ac_try;;
23347 esac
23348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23349 (eval "$ac_link") 2>&5
23350 ac_status=$?
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23353 { (case "(($ac_try" in
23354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23355 *) ac_try_echo=$ac_try;;
23356 esac
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_try") 2>&5
23359 ac_status=$?
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 ac_cv_c_bigendian=no
23363 else
23364 echo "$as_me: program exited with status $ac_status" >&5
23365 echo "$as_me: failed program was:" >&5
23366 sed 's/^/| /' conftest.$ac_ext >&5
23367
23368 ( exit $ac_status )
23369 ac_cv_c_bigendian=yes
23370 fi
23371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23372 fi
23373
23374
23375 fi
23376 fi
23377 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23378 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23379 if test $ac_cv_c_bigendian = unknown; then
23380 { 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
23381 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;}
23382 fi
23383 if test $ac_cv_c_bigendian = yes; then
23384 cat >>confdefs.h <<\_ACEOF
23385 #define WORDS_BIGENDIAN 1
23386 _ACEOF
23387
23388 fi
23389
23390
23391 ac_ext=cpp
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23396 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
23397 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
23398 if test -z "$CXXCPP"; then
23399 if test "${ac_cv_prog_CXXCPP+set}" = set; then
23400 echo $ECHO_N "(cached) $ECHO_C" >&6
23401 else
23402 # Double quotes because CXXCPP needs to be expanded
23403 for CXXCPP in "$CXX -E" "/lib/cpp"
23404 do
23405 ac_preproc_ok=false
23406 for ac_cxx_preproc_warn_flag in '' yes
23407 do
23408 # Use a header file that comes with gcc, so configuring glibc
23409 # with a fresh cross-compiler works.
23410 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23411 # <limits.h> exists even on freestanding compilers.
23412 # On the NeXT, cc -E runs the code through the compiler's parser,
23413 # not just through cpp. "Syntax error" is here to catch this case.
23414 cat >conftest.$ac_ext <<_ACEOF
23415 /* confdefs.h. */
23416 _ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420 #ifdef __STDC__
23421 # include <limits.h>
23422 #else
23423 # include <assert.h>
23424 #endif
23425 Syntax error
23426 _ACEOF
23427 if { (ac_try="$ac_cpp conftest.$ac_ext"
23428 case "(($ac_try" in
23429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23430 *) ac_try_echo=$ac_try;;
23431 esac
23432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23434 ac_status=$?
23435 grep -v '^ *+' conftest.er1 >conftest.err
23436 rm -f conftest.er1
23437 cat conftest.err >&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); } >/dev/null && {
23440 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23441 test ! -s conftest.err
23442 }; then
23443 :
23444 else
23445 echo "$as_me: failed program was:" >&5
23446 sed 's/^/| /' conftest.$ac_ext >&5
23447
23448 # Broken: fails on valid input.
23449 continue
23450 fi
23451
23452 rm -f conftest.err conftest.$ac_ext
23453
23454 # OK, works on sane cases. Now check whether nonexistent headers
23455 # can be detected and how.
23456 cat >conftest.$ac_ext <<_ACEOF
23457 /* confdefs.h. */
23458 _ACEOF
23459 cat confdefs.h >>conftest.$ac_ext
23460 cat >>conftest.$ac_ext <<_ACEOF
23461 /* end confdefs.h. */
23462 #include <ac_nonexistent.h>
23463 _ACEOF
23464 if { (ac_try="$ac_cpp conftest.$ac_ext"
23465 case "(($ac_try" in
23466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23467 *) ac_try_echo=$ac_try;;
23468 esac
23469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23470 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23471 ac_status=$?
23472 grep -v '^ *+' conftest.er1 >conftest.err
23473 rm -f conftest.er1
23474 cat conftest.err >&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } >/dev/null && {
23477 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23478 test ! -s conftest.err
23479 }; then
23480 # Broken: success on invalid input.
23481 continue
23482 else
23483 echo "$as_me: failed program was:" >&5
23484 sed 's/^/| /' conftest.$ac_ext >&5
23485
23486 # Passes both tests.
23487 ac_preproc_ok=:
23488 break
23489 fi
23490
23491 rm -f conftest.err conftest.$ac_ext
23492
23493 done
23494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23495 rm -f conftest.err conftest.$ac_ext
23496 if $ac_preproc_ok; then
23497 break
23498 fi
23499
23500 done
23501 ac_cv_prog_CXXCPP=$CXXCPP
23502
23503 fi
23504 CXXCPP=$ac_cv_prog_CXXCPP
23505 else
23506 ac_cv_prog_CXXCPP=$CXXCPP
23507 fi
23508 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
23509 echo "${ECHO_T}$CXXCPP" >&6; }
23510 ac_preproc_ok=false
23511 for ac_cxx_preproc_warn_flag in '' yes
23512 do
23513 # Use a header file that comes with gcc, so configuring glibc
23514 # with a fresh cross-compiler works.
23515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23516 # <limits.h> exists even on freestanding compilers.
23517 # On the NeXT, cc -E runs the code through the compiler's parser,
23518 # not just through cpp. "Syntax error" is here to catch this case.
23519 cat >conftest.$ac_ext <<_ACEOF
23520 /* confdefs.h. */
23521 _ACEOF
23522 cat confdefs.h >>conftest.$ac_ext
23523 cat >>conftest.$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 #ifdef __STDC__
23526 # include <limits.h>
23527 #else
23528 # include <assert.h>
23529 #endif
23530 Syntax error
23531 _ACEOF
23532 if { (ac_try="$ac_cpp conftest.$ac_ext"
23533 case "(($ac_try" in
23534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23535 *) ac_try_echo=$ac_try;;
23536 esac
23537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23539 ac_status=$?
23540 grep -v '^ *+' conftest.er1 >conftest.err
23541 rm -f conftest.er1
23542 cat conftest.err >&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); } >/dev/null && {
23545 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23546 test ! -s conftest.err
23547 }; then
23548 :
23549 else
23550 echo "$as_me: failed program was:" >&5
23551 sed 's/^/| /' conftest.$ac_ext >&5
23552
23553 # Broken: fails on valid input.
23554 continue
23555 fi
23556
23557 rm -f conftest.err conftest.$ac_ext
23558
23559 # OK, works on sane cases. Now check whether nonexistent headers
23560 # can be detected and how.
23561 cat >conftest.$ac_ext <<_ACEOF
23562 /* confdefs.h. */
23563 _ACEOF
23564 cat confdefs.h >>conftest.$ac_ext
23565 cat >>conftest.$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23567 #include <ac_nonexistent.h>
23568 _ACEOF
23569 if { (ac_try="$ac_cpp conftest.$ac_ext"
23570 case "(($ac_try" in
23571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23572 *) ac_try_echo=$ac_try;;
23573 esac
23574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23575 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } >/dev/null && {
23582 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23583 test ! -s conftest.err
23584 }; then
23585 # Broken: success on invalid input.
23586 continue
23587 else
23588 echo "$as_me: failed program was:" >&5
23589 sed 's/^/| /' conftest.$ac_ext >&5
23590
23591 # Passes both tests.
23592 ac_preproc_ok=:
23593 break
23594 fi
23595
23596 rm -f conftest.err conftest.$ac_ext
23597
23598 done
23599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
23600 rm -f conftest.err conftest.$ac_ext
23601 if $ac_preproc_ok; then
23602 :
23603 else
23604 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
23605 See \`config.log' for more details." >&5
23606 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
23607 See \`config.log' for more details." >&2;}
23608 { (exit 1); exit 1; }; }
23609 fi
23610
23611 ac_ext=cpp
23612 ac_cpp='$CXXCPP $CPPFLAGS'
23613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23616
23617
23618
23619
23620 ac_ext=cpp
23621 ac_cpp='$CXXCPP $CPPFLAGS'
23622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23625
23626
23627
23628 for ac_header in iostream
23629 do
23630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23632 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 fi
23637 ac_res=`eval echo '${'$as_ac_Header'}'`
23638 { echo "$as_me:$LINENO: result: $ac_res" >&5
23639 echo "${ECHO_T}$ac_res" >&6; }
23640 else
23641 # Is the header compilable?
23642 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
23643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
23644 cat >conftest.$ac_ext <<_ACEOF
23645 /* confdefs.h. */
23646 _ACEOF
23647 cat confdefs.h >>conftest.$ac_ext
23648 cat >>conftest.$ac_ext <<_ACEOF
23649 /* end confdefs.h. */
23650 $ac_includes_default
23651 #include <$ac_header>
23652 _ACEOF
23653 rm -f conftest.$ac_objext
23654 if { (ac_try="$ac_compile"
23655 case "(($ac_try" in
23656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23657 *) ac_try_echo=$ac_try;;
23658 esac
23659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23660 (eval "$ac_compile") 2>conftest.er1
23661 ac_status=$?
23662 grep -v '^ *+' conftest.er1 >conftest.err
23663 rm -f conftest.er1
23664 cat conftest.err >&5
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); } && {
23667 test -z "$ac_cxx_werror_flag" ||
23668 test ! -s conftest.err
23669 } && test -s conftest.$ac_objext; then
23670 ac_header_compiler=yes
23671 else
23672 echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.$ac_ext >&5
23674
23675 ac_header_compiler=no
23676 fi
23677
23678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23679 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23680 echo "${ECHO_T}$ac_header_compiler" >&6; }
23681
23682 # Is the header present?
23683 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
23684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 #include <$ac_header>
23692 _ACEOF
23693 if { (ac_try="$ac_cpp conftest.$ac_ext"
23694 case "(($ac_try" in
23695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23696 *) ac_try_echo=$ac_try;;
23697 esac
23698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23700 ac_status=$?
23701 grep -v '^ *+' conftest.er1 >conftest.err
23702 rm -f conftest.er1
23703 cat conftest.err >&5
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } >/dev/null && {
23706 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
23707 test ! -s conftest.err
23708 }; then
23709 ac_header_preproc=yes
23710 else
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.$ac_ext >&5
23713
23714 ac_header_preproc=no
23715 fi
23716
23717 rm -f conftest.err conftest.$ac_ext
23718 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23719 echo "${ECHO_T}$ac_header_preproc" >&6; }
23720
23721 # So? What about this header?
23722 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23723 yes:no: )
23724 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23725 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23727 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23728 ac_header_preproc=yes
23729 ;;
23730 no:yes:* )
23731 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23732 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23733 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23734 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23735 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23736 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23737 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23738 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23740 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23741 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23742 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23743 ( cat <<\_ASBOX
23744 ## ----------------------------------------- ##
23745 ## Report this to wx-dev@lists.wxwidgets.org ##
23746 ## ----------------------------------------- ##
23747 _ASBOX
23748 ) | sed "s/^/$as_me: WARNING: /" >&2
23749 ;;
23750 esac
23751 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23753 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23755 else
23756 eval "$as_ac_Header=\$ac_header_preproc"
23757 fi
23758 ac_res=`eval echo '${'$as_ac_Header'}'`
23759 { echo "$as_me:$LINENO: result: $ac_res" >&5
23760 echo "${ECHO_T}$ac_res" >&6; }
23761
23762 fi
23763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23764 cat >>confdefs.h <<_ACEOF
23765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23766 _ACEOF
23767
23768 fi
23769
23770 done
23771
23772
23773 if test "$ac_cv_header_iostream" = "yes" ; then
23774 :
23775 else
23776 cat >>confdefs.h <<\_ACEOF
23777 #define wxUSE_IOSTREAMH 1
23778 _ACEOF
23779
23780 fi
23781
23782 ac_ext=c
23783 ac_cpp='$CPP $CPPFLAGS'
23784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23787
23788
23789
23790
23791 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23792 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23793 if test "${wx_cv_cpp_bool+set}" = set; then
23794 echo $ECHO_N "(cached) $ECHO_C" >&6
23795 else
23796
23797
23798 ac_ext=cpp
23799 ac_cpp='$CXXCPP $CPPFLAGS'
23800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23803
23804
23805 cat >conftest.$ac_ext <<_ACEOF
23806 /* confdefs.h. */
23807 _ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811
23812
23813 int
23814 main ()
23815 {
23816
23817 bool b = true;
23818
23819 return 0;
23820
23821 ;
23822 return 0;
23823 }
23824 _ACEOF
23825 rm -f conftest.$ac_objext
23826 if { (ac_try="$ac_compile"
23827 case "(($ac_try" in
23828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23829 *) ac_try_echo=$ac_try;;
23830 esac
23831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23832 (eval "$ac_compile") 2>conftest.er1
23833 ac_status=$?
23834 grep -v '^ *+' conftest.er1 >conftest.err
23835 rm -f conftest.er1
23836 cat conftest.err >&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); } && {
23839 test -z "$ac_cxx_werror_flag" ||
23840 test ! -s conftest.err
23841 } && test -s conftest.$ac_objext; then
23842
23843 wx_cv_cpp_bool=yes
23844
23845 else
23846 echo "$as_me: failed program was:" >&5
23847 sed 's/^/| /' conftest.$ac_ext >&5
23848
23849
23850 wx_cv_cpp_bool=no
23851
23852
23853 fi
23854
23855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23856
23857 ac_ext=c
23858 ac_cpp='$CPP $CPPFLAGS'
23859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23862
23863
23864 fi
23865 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23866 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23867
23868 if test "$wx_cv_cpp_bool" = "yes"; then
23869 cat >>confdefs.h <<\_ACEOF
23870 #define HAVE_BOOL 1
23871 _ACEOF
23872
23873 fi
23874
23875
23876
23877 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23878 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23879 if test "${wx_cv_explicit+set}" = set; then
23880 echo $ECHO_N "(cached) $ECHO_C" >&6
23881 else
23882
23883
23884 ac_ext=cpp
23885 ac_cpp='$CXXCPP $CPPFLAGS'
23886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23889
23890
23891 cat >conftest.$ac_ext <<_ACEOF
23892 /* confdefs.h. */
23893 _ACEOF
23894 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF
23896 /* end confdefs.h. */
23897
23898 class Foo { public: explicit Foo(int) {} };
23899
23900 int
23901 main ()
23902 {
23903
23904 return 0;
23905
23906 ;
23907 return 0;
23908 }
23909 _ACEOF
23910 rm -f conftest.$ac_objext
23911 if { (ac_try="$ac_compile"
23912 case "(($ac_try" in
23913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23914 *) ac_try_echo=$ac_try;;
23915 esac
23916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23917 (eval "$ac_compile") 2>conftest.er1
23918 ac_status=$?
23919 grep -v '^ *+' conftest.er1 >conftest.err
23920 rm -f conftest.er1
23921 cat conftest.err >&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); } && {
23924 test -z "$ac_cxx_werror_flag" ||
23925 test ! -s conftest.err
23926 } && test -s conftest.$ac_objext; then
23927
23928 cat >conftest.$ac_ext <<_ACEOF
23929 /* confdefs.h. */
23930 _ACEOF
23931 cat confdefs.h >>conftest.$ac_ext
23932 cat >>conftest.$ac_ext <<_ACEOF
23933 /* end confdefs.h. */
23934
23935 class Foo { public: explicit Foo(int) {} };
23936 static void TakeFoo(const Foo& foo) { }
23937
23938 int
23939 main ()
23940 {
23941
23942 TakeFoo(17);
23943 return 0;
23944
23945 ;
23946 return 0;
23947 }
23948 _ACEOF
23949 rm -f conftest.$ac_objext
23950 if { (ac_try="$ac_compile"
23951 case "(($ac_try" in
23952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23953 *) ac_try_echo=$ac_try;;
23954 esac
23955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23956 (eval "$ac_compile") 2>conftest.er1
23957 ac_status=$?
23958 grep -v '^ *+' conftest.er1 >conftest.err
23959 rm -f conftest.er1
23960 cat conftest.err >&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); } && {
23963 test -z "$ac_cxx_werror_flag" ||
23964 test ! -s conftest.err
23965 } && test -s conftest.$ac_objext; then
23966 wx_cv_explicit=no
23967 else
23968 echo "$as_me: failed program was:" >&5
23969 sed 's/^/| /' conftest.$ac_ext >&5
23970
23971 wx_cv_explicit=yes
23972
23973 fi
23974
23975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23976
23977 else
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.$ac_ext >&5
23980
23981 wx_cv_explicit=no
23982
23983 fi
23984
23985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986
23987 ac_ext=c
23988 ac_cpp='$CPP $CPPFLAGS'
23989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23992
23993
23994 fi
23995 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23996 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23997
23998 if test "$wx_cv_explicit" = "yes"; then
23999 cat >>confdefs.h <<\_ACEOF
24000 #define HAVE_EXPLICIT 1
24001 _ACEOF
24002
24003 fi
24004
24005
24006 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24007 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24008 if test "${ac_cv_cxx_const_cast+set}" = set; then
24009 echo $ECHO_N "(cached) $ECHO_C" >&6
24010 else
24011
24012 ac_ext=cpp
24013 ac_cpp='$CXXCPP $CPPFLAGS'
24014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24017
24018 cat >conftest.$ac_ext <<_ACEOF
24019 /* confdefs.h. */
24020 _ACEOF
24021 cat confdefs.h >>conftest.$ac_ext
24022 cat >>conftest.$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24024
24025 int
24026 main ()
24027 {
24028 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24029 ;
24030 return 0;
24031 }
24032 _ACEOF
24033 rm -f conftest.$ac_objext
24034 if { (ac_try="$ac_compile"
24035 case "(($ac_try" in
24036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24037 *) ac_try_echo=$ac_try;;
24038 esac
24039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24040 (eval "$ac_compile") 2>conftest.er1
24041 ac_status=$?
24042 grep -v '^ *+' conftest.er1 >conftest.err
24043 rm -f conftest.er1
24044 cat conftest.err >&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); } && {
24047 test -z "$ac_cxx_werror_flag" ||
24048 test ! -s conftest.err
24049 } && test -s conftest.$ac_objext; then
24050 ac_cv_cxx_const_cast=yes
24051 else
24052 echo "$as_me: failed program was:" >&5
24053 sed 's/^/| /' conftest.$ac_ext >&5
24054
24055 ac_cv_cxx_const_cast=no
24056 fi
24057
24058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24059 ac_ext=c
24060 ac_cpp='$CPP $CPPFLAGS'
24061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24064
24065
24066 fi
24067 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24068 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24069 if test "$ac_cv_cxx_const_cast" = yes; then
24070
24071 cat >>confdefs.h <<\_ACEOF
24072 #define HAVE_CONST_CAST
24073 _ACEOF
24074
24075 fi
24076
24077 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24078 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24079 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24080 echo $ECHO_N "(cached) $ECHO_C" >&6
24081 else
24082
24083 ac_ext=cpp
24084 ac_cpp='$CXXCPP $CPPFLAGS'
24085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24088
24089 cat >conftest.$ac_ext <<_ACEOF
24090 /* confdefs.h. */
24091 _ACEOF
24092 cat confdefs.h >>conftest.$ac_ext
24093 cat >>conftest.$ac_ext <<_ACEOF
24094 /* end confdefs.h. */
24095 #include <typeinfo>
24096 class Base { public : Base () {} virtual void f () = 0;};
24097 class Derived : public Base { public : Derived () {} virtual void f () {} };
24098 class Unrelated { public : Unrelated () {} };
24099 int g (Unrelated&) { return 0; }
24100 int
24101 main ()
24102 {
24103
24104 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24105 ;
24106 return 0;
24107 }
24108 _ACEOF
24109 rm -f conftest.$ac_objext
24110 if { (ac_try="$ac_compile"
24111 case "(($ac_try" in
24112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24113 *) ac_try_echo=$ac_try;;
24114 esac
24115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24116 (eval "$ac_compile") 2>conftest.er1
24117 ac_status=$?
24118 grep -v '^ *+' conftest.er1 >conftest.err
24119 rm -f conftest.er1
24120 cat conftest.err >&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } && {
24123 test -z "$ac_cxx_werror_flag" ||
24124 test ! -s conftest.err
24125 } && test -s conftest.$ac_objext; then
24126 ac_cv_cxx_reinterpret_cast=yes
24127 else
24128 echo "$as_me: failed program was:" >&5
24129 sed 's/^/| /' conftest.$ac_ext >&5
24130
24131 ac_cv_cxx_reinterpret_cast=no
24132 fi
24133
24134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24135 ac_ext=c
24136 ac_cpp='$CPP $CPPFLAGS'
24137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24140
24141
24142 fi
24143 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24144 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24145 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24146
24147 cat >>confdefs.h <<\_ACEOF
24148 #define HAVE_REINTERPRET_CAST
24149 _ACEOF
24150
24151 fi
24152
24153 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24154 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24155 if test "${ac_cv_cxx_static_cast+set}" = set; then
24156 echo $ECHO_N "(cached) $ECHO_C" >&6
24157 else
24158
24159 ac_ext=cpp
24160 ac_cpp='$CXXCPP $CPPFLAGS'
24161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24164
24165 cat >conftest.$ac_ext <<_ACEOF
24166 /* confdefs.h. */
24167 _ACEOF
24168 cat confdefs.h >>conftest.$ac_ext
24169 cat >>conftest.$ac_ext <<_ACEOF
24170 /* end confdefs.h. */
24171 #include <typeinfo>
24172 class Base { public : Base () {} virtual void f () = 0; };
24173 class Derived : public Base { public : Derived () {} virtual void f () {} };
24174 int g (Derived&) { return 0; }
24175 int
24176 main ()
24177 {
24178
24179 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24180 ;
24181 return 0;
24182 }
24183 _ACEOF
24184 rm -f conftest.$ac_objext
24185 if { (ac_try="$ac_compile"
24186 case "(($ac_try" in
24187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24188 *) ac_try_echo=$ac_try;;
24189 esac
24190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24191 (eval "$ac_compile") 2>conftest.er1
24192 ac_status=$?
24193 grep -v '^ *+' conftest.er1 >conftest.err
24194 rm -f conftest.er1
24195 cat conftest.err >&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); } && {
24198 test -z "$ac_cxx_werror_flag" ||
24199 test ! -s conftest.err
24200 } && test -s conftest.$ac_objext; then
24201 ac_cv_cxx_static_cast=yes
24202 else
24203 echo "$as_me: failed program was:" >&5
24204 sed 's/^/| /' conftest.$ac_ext >&5
24205
24206 ac_cv_cxx_static_cast=no
24207 fi
24208
24209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24210 ac_ext=c
24211 ac_cpp='$CPP $CPPFLAGS'
24212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24215
24216
24217 fi
24218 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24219 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24220 if test "$ac_cv_cxx_static_cast" = yes; then
24221
24222 cat >>confdefs.h <<\_ACEOF
24223 #define HAVE_STATIC_CAST
24224 _ACEOF
24225
24226 fi
24227
24228
24229 if test "x$SUNCXX" = xyes; then
24230 CXXFLAGS="-features=tmplife $CXXFLAGS"
24231 fi
24232
24233 if test "x$SUNCC" = xyes; then
24234 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24235 fi
24236
24237 if test "x$SGICC" = "xyes"; then
24238 CFLAGS="-woff 3970 $CFLAGS"
24239 fi
24240 if test "x$SGICXX" = "xyes"; then
24241 CXXFLAGS="-woff 3970 $CXXFLAGS"
24242 fi
24243
24244 if test "x$HPCC" = "xyes"; then
24245 CFLAGS="+W 2011,2450 $CFLAGS"
24246 fi
24247 if test "x$HPCXX" = "xyes"; then
24248 CXXFLAGS="+W 2340 $CXXFLAGS"
24249 fi
24250
24251 if test "x$COMPAQCXX" = "xyes"; then
24252 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24253 fi
24254
24255 ac_ext=cpp
24256 ac_cpp='$CXXCPP $CPPFLAGS'
24257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24260
24261
24262 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24263 if test "$wxUSE_UNICODE" = "yes"; then
24264 std_string="std::wstring"
24265 char_type="wchar_t"
24266 else
24267 std_string="std::string"
24268 char_type="char"
24269 fi
24270
24271 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24272 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24273 if test "${wx_cv_class_stdstring+set}" = set; then
24274 echo $ECHO_N "(cached) $ECHO_C" >&6
24275 else
24276
24277 cat >conftest.$ac_ext <<_ACEOF
24278 /* confdefs.h. */
24279 _ACEOF
24280 cat confdefs.h >>conftest.$ac_ext
24281 cat >>conftest.$ac_ext <<_ACEOF
24282 /* end confdefs.h. */
24283 #include <string>
24284 int
24285 main ()
24286 {
24287 $std_string foo;
24288 ;
24289 return 0;
24290 }
24291 _ACEOF
24292 rm -f conftest.$ac_objext
24293 if { (ac_try="$ac_compile"
24294 case "(($ac_try" in
24295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24296 *) ac_try_echo=$ac_try;;
24297 esac
24298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299 (eval "$ac_compile") 2>conftest.er1
24300 ac_status=$?
24301 grep -v '^ *+' conftest.er1 >conftest.err
24302 rm -f conftest.er1
24303 cat conftest.err >&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } && {
24306 test -z "$ac_cxx_werror_flag" ||
24307 test ! -s conftest.err
24308 } && test -s conftest.$ac_objext; then
24309 wx_cv_class_stdstring=yes
24310 else
24311 echo "$as_me: failed program was:" >&5
24312 sed 's/^/| /' conftest.$ac_ext >&5
24313
24314 wx_cv_class_stdstring=no
24315
24316 fi
24317
24318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24319
24320
24321 fi
24322 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24323 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24324
24325 if test "$wx_cv_class_stdstring" = yes; then
24326 if test "$wxUSE_UNICODE" = "yes"; then
24327 cat >>confdefs.h <<\_ACEOF
24328 #define HAVE_STD_WSTRING 1
24329 _ACEOF
24330
24331 fi
24332 else
24333 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24334 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24335 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24336 echo $ECHO_N "(cached) $ECHO_C" >&6
24337 else
24338
24339 cat >conftest.$ac_ext <<_ACEOF
24340 /* confdefs.h. */
24341 _ACEOF
24342 cat confdefs.h >>conftest.$ac_ext
24343 cat >>conftest.$ac_ext <<_ACEOF
24344 /* end confdefs.h. */
24345
24346 #ifdef HAVE_WCHAR_H
24347 # ifdef __CYGWIN__
24348 # include <stddef.h>
24349 # endif
24350 # include <wchar.h>
24351 #endif
24352 #ifdef HAVE_STDLIB_H
24353 # include <stdlib.h>
24354 #endif
24355 #include <stdio.h>
24356 #include <string>
24357
24358 int
24359 main ()
24360 {
24361 std::basic_string<$char_type> foo;
24362 const $char_type* dummy = foo.c_str();
24363 ;
24364 return 0;
24365 }
24366 _ACEOF
24367 rm -f conftest.$ac_objext
24368 if { (ac_try="$ac_compile"
24369 case "(($ac_try" in
24370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24371 *) ac_try_echo=$ac_try;;
24372 esac
24373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24374 (eval "$ac_compile") 2>conftest.er1
24375 ac_status=$?
24376 grep -v '^ *+' conftest.er1 >conftest.err
24377 rm -f conftest.er1
24378 cat conftest.err >&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); } && {
24381 test -z "$ac_cxx_werror_flag" ||
24382 test ! -s conftest.err
24383 } && test -s conftest.$ac_objext; then
24384 wx_cv_class_stdbasicstring=yes
24385 else
24386 echo "$as_me: failed program was:" >&5
24387 sed 's/^/| /' conftest.$ac_ext >&5
24388
24389 wx_cv_class_stdbasicstring=no
24390
24391 fi
24392
24393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24394
24395
24396 fi
24397 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24398 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24399
24400 if test "$wx_cv_class_stdbasicstring" != yes; then
24401 if test "$wxUSE_STL" = "yes"; then
24402 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24403 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24404 { (exit 1); exit 1; }; }
24405 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
24406 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24407 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24408 { (exit 1); exit 1; }; }
24409 else
24410 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24411 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24412 wxUSE_STD_STRING=no
24413 fi
24414 fi
24415 fi
24416 fi
24417
24418 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24419 { echo "$as_me:$LINENO: checking for std::istream" >&5
24420 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24421 if test "${ac_cv_type_std__istream+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 else
24424 cat >conftest.$ac_ext <<_ACEOF
24425 /* confdefs.h. */
24426 _ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24430 #include <iostream>
24431
24432 typedef std::istream ac__type_new_;
24433 int
24434 main ()
24435 {
24436 if ((ac__type_new_ *) 0)
24437 return 0;
24438 if (sizeof (ac__type_new_))
24439 return 0;
24440 ;
24441 return 0;
24442 }
24443 _ACEOF
24444 rm -f conftest.$ac_objext
24445 if { (ac_try="$ac_compile"
24446 case "(($ac_try" in
24447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24448 *) ac_try_echo=$ac_try;;
24449 esac
24450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24451 (eval "$ac_compile") 2>conftest.er1
24452 ac_status=$?
24453 grep -v '^ *+' conftest.er1 >conftest.err
24454 rm -f conftest.er1
24455 cat conftest.err >&5
24456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457 (exit $ac_status); } && {
24458 test -z "$ac_cxx_werror_flag" ||
24459 test ! -s conftest.err
24460 } && test -s conftest.$ac_objext; then
24461 ac_cv_type_std__istream=yes
24462 else
24463 echo "$as_me: failed program was:" >&5
24464 sed 's/^/| /' conftest.$ac_ext >&5
24465
24466 ac_cv_type_std__istream=no
24467 fi
24468
24469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24470 fi
24471 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24472 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24473 if test $ac_cv_type_std__istream = yes; then
24474
24475 cat >>confdefs.h <<_ACEOF
24476 #define HAVE_STD__ISTREAM 1
24477 _ACEOF
24478
24479
24480 else
24481 wxUSE_STD_IOSTREAM=no
24482 fi
24483 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24484 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24485 if test "${ac_cv_type_std__ostream+set}" = set; then
24486 echo $ECHO_N "(cached) $ECHO_C" >&6
24487 else
24488 cat >conftest.$ac_ext <<_ACEOF
24489 /* confdefs.h. */
24490 _ACEOF
24491 cat confdefs.h >>conftest.$ac_ext
24492 cat >>conftest.$ac_ext <<_ACEOF
24493 /* end confdefs.h. */
24494 #include <iostream>
24495
24496 typedef std::ostream ac__type_new_;
24497 int
24498 main ()
24499 {
24500 if ((ac__type_new_ *) 0)
24501 return 0;
24502 if (sizeof (ac__type_new_))
24503 return 0;
24504 ;
24505 return 0;
24506 }
24507 _ACEOF
24508 rm -f conftest.$ac_objext
24509 if { (ac_try="$ac_compile"
24510 case "(($ac_try" in
24511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24512 *) ac_try_echo=$ac_try;;
24513 esac
24514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24515 (eval "$ac_compile") 2>conftest.er1
24516 ac_status=$?
24517 grep -v '^ *+' conftest.er1 >conftest.err
24518 rm -f conftest.er1
24519 cat conftest.err >&5
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); } && {
24522 test -z "$ac_cxx_werror_flag" ||
24523 test ! -s conftest.err
24524 } && test -s conftest.$ac_objext; then
24525 ac_cv_type_std__ostream=yes
24526 else
24527 echo "$as_me: failed program was:" >&5
24528 sed 's/^/| /' conftest.$ac_ext >&5
24529
24530 ac_cv_type_std__ostream=no
24531 fi
24532
24533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24534 fi
24535 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24536 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24537 if test $ac_cv_type_std__ostream = yes; then
24538
24539 cat >>confdefs.h <<_ACEOF
24540 #define HAVE_STD__OSTREAM 1
24541 _ACEOF
24542
24543
24544 else
24545 wxUSE_STD_IOSTREAM=no
24546 fi
24547
24548
24549 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24550 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24551 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24552 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24553 { (exit 1); exit 1; }; }
24554 else
24555 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24556 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24557 fi
24558 fi
24559 fi
24560
24561 if test "$wxUSE_STL" = "yes"; then
24562 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24563 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24564 if test "${wx_cv_lib_stl+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 else
24567 cat >conftest.$ac_ext <<_ACEOF
24568 /* confdefs.h. */
24569 _ACEOF
24570 cat confdefs.h >>conftest.$ac_ext
24571 cat >>conftest.$ac_ext <<_ACEOF
24572 /* end confdefs.h. */
24573 #include <string>
24574 #include <functional>
24575 #include <algorithm>
24576 #include <vector>
24577 #include <list>
24578 int
24579 main ()
24580 {
24581 std::vector<int> moo;
24582 std::list<int> foo;
24583 std::vector<int>::iterator it =
24584 std::find_if(moo.begin(), moo.end(),
24585 std::bind2nd(std::less<int>(), 3));
24586 ;
24587 return 0;
24588 }
24589 _ACEOF
24590 rm -f conftest.$ac_objext
24591 if { (ac_try="$ac_compile"
24592 case "(($ac_try" in
24593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24594 *) ac_try_echo=$ac_try;;
24595 esac
24596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24597 (eval "$ac_compile") 2>conftest.er1
24598 ac_status=$?
24599 grep -v '^ *+' conftest.er1 >conftest.err
24600 rm -f conftest.er1
24601 cat conftest.err >&5
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); } && {
24604 test -z "$ac_cxx_werror_flag" ||
24605 test ! -s conftest.err
24606 } && test -s conftest.$ac_objext; then
24607 wx_cv_lib_stl=yes
24608 else
24609 echo "$as_me: failed program was:" >&5
24610 sed 's/^/| /' conftest.$ac_ext >&5
24611
24612 wx_cv_lib_stl=no
24613
24614 fi
24615
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24617
24618 fi
24619 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24620 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24621
24622 if test "$wx_cv_lib_stl" != yes; then
24623 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24624 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24625 { (exit 1); exit 1; }; }
24626 fi
24627
24628 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24629 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24630 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24631 echo $ECHO_N "(cached) $ECHO_C" >&6
24632 else
24633 cat >conftest.$ac_ext <<_ACEOF
24634 /* confdefs.h. */
24635 _ACEOF
24636 cat confdefs.h >>conftest.$ac_ext
24637 cat >>conftest.$ac_ext <<_ACEOF
24638 /* end confdefs.h. */
24639 #include <string>
24640 int
24641 main ()
24642 {
24643 std::string foo, bar;
24644 foo.compare(bar);
24645 foo.compare(1, 1, bar);
24646 foo.compare(1, 1, bar, 1, 1);
24647 foo.compare("");
24648 foo.compare(1, 1, "");
24649 foo.compare(1, 1, "", 2);
24650 ;
24651 return 0;
24652 }
24653 _ACEOF
24654 rm -f conftest.$ac_objext
24655 if { (ac_try="$ac_compile"
24656 case "(($ac_try" in
24657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24658 *) ac_try_echo=$ac_try;;
24659 esac
24660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24661 (eval "$ac_compile") 2>conftest.er1
24662 ac_status=$?
24663 grep -v '^ *+' conftest.er1 >conftest.err
24664 rm -f conftest.er1
24665 cat conftest.err >&5
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); } && {
24668 test -z "$ac_cxx_werror_flag" ||
24669 test ! -s conftest.err
24670 } && test -s conftest.$ac_objext; then
24671 wx_cv_func_stdstring_compare=yes
24672 else
24673 echo "$as_me: failed program was:" >&5
24674 sed 's/^/| /' conftest.$ac_ext >&5
24675
24676 wx_cv_func_stdstring_compare=no
24677
24678 fi
24679
24680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24681
24682 fi
24683 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24684 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24685
24686 if test "$wx_cv_func_stdstring_compare" = yes; then
24687 cat >>confdefs.h <<\_ACEOF
24688 #define HAVE_STD_STRING_COMPARE 1
24689 _ACEOF
24690
24691 fi
24692
24693 if test "${ac_cv_header_hash_map+set}" = set; then
24694 { echo "$as_me:$LINENO: checking for hash_map" >&5
24695 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24696 if test "${ac_cv_header_hash_map+set}" = set; then
24697 echo $ECHO_N "(cached) $ECHO_C" >&6
24698 fi
24699 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24700 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24701 else
24702 # Is the header compilable?
24703 { echo "$as_me:$LINENO: checking hash_map usability" >&5
24704 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6; }
24705 cat >conftest.$ac_ext <<_ACEOF
24706 /* confdefs.h. */
24707 _ACEOF
24708 cat confdefs.h >>conftest.$ac_ext
24709 cat >>conftest.$ac_ext <<_ACEOF
24710 /* end confdefs.h. */
24711 $ac_includes_default
24712 #include <hash_map>
24713 _ACEOF
24714 rm -f conftest.$ac_objext
24715 if { (ac_try="$ac_compile"
24716 case "(($ac_try" in
24717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24718 *) ac_try_echo=$ac_try;;
24719 esac
24720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24721 (eval "$ac_compile") 2>conftest.er1
24722 ac_status=$?
24723 grep -v '^ *+' conftest.er1 >conftest.err
24724 rm -f conftest.er1
24725 cat conftest.err >&5
24726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24727 (exit $ac_status); } && {
24728 test -z "$ac_cxx_werror_flag" ||
24729 test ! -s conftest.err
24730 } && test -s conftest.$ac_objext; then
24731 ac_header_compiler=yes
24732 else
24733 echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.$ac_ext >&5
24735
24736 ac_header_compiler=no
24737 fi
24738
24739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24740 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24741 echo "${ECHO_T}$ac_header_compiler" >&6; }
24742
24743 # Is the header present?
24744 { echo "$as_me:$LINENO: checking hash_map presence" >&5
24745 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6; }
24746 cat >conftest.$ac_ext <<_ACEOF
24747 /* confdefs.h. */
24748 _ACEOF
24749 cat confdefs.h >>conftest.$ac_ext
24750 cat >>conftest.$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24752 #include <hash_map>
24753 _ACEOF
24754 if { (ac_try="$ac_cpp conftest.$ac_ext"
24755 case "(($ac_try" in
24756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24757 *) ac_try_echo=$ac_try;;
24758 esac
24759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24760 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24761 ac_status=$?
24762 grep -v '^ *+' conftest.er1 >conftest.err
24763 rm -f conftest.er1
24764 cat conftest.err >&5
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); } >/dev/null && {
24767 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24768 test ! -s conftest.err
24769 }; then
24770 ac_header_preproc=yes
24771 else
24772 echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.$ac_ext >&5
24774
24775 ac_header_preproc=no
24776 fi
24777
24778 rm -f conftest.err conftest.$ac_ext
24779 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24780 echo "${ECHO_T}$ac_header_preproc" >&6; }
24781
24782 # So? What about this header?
24783 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24784 yes:no: )
24785 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24786 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24787 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24788 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24789 ac_header_preproc=yes
24790 ;;
24791 no:yes:* )
24792 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24793 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24794 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24795 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24796 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24797 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24798 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24799 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24800 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24801 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24802 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24803 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24804 ( cat <<\_ASBOX
24805 ## ----------------------------------------- ##
24806 ## Report this to wx-dev@lists.wxwidgets.org ##
24807 ## ----------------------------------------- ##
24808 _ASBOX
24809 ) | sed "s/^/$as_me: WARNING: /" >&2
24810 ;;
24811 esac
24812 { echo "$as_me:$LINENO: checking for hash_map" >&5
24813 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24814 if test "${ac_cv_header_hash_map+set}" = set; then
24815 echo $ECHO_N "(cached) $ECHO_C" >&6
24816 else
24817 ac_cv_header_hash_map=$ac_header_preproc
24818 fi
24819 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24820 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24821
24822 fi
24823 if test $ac_cv_header_hash_map = yes; then
24824 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24825 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24826 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24827 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 else
24829 cat >conftest.$ac_ext <<_ACEOF
24830 /* confdefs.h. */
24831 _ACEOF
24832 cat confdefs.h >>conftest.$ac_ext
24833 cat >>conftest.$ac_ext <<_ACEOF
24834 /* end confdefs.h. */
24835 #include <hash_map>
24836 #include <hash_set>
24837 int
24838 main ()
24839 {
24840 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24841 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24842 ;
24843 return 0;
24844 }
24845 _ACEOF
24846 rm -f conftest.$ac_objext
24847 if { (ac_try="$ac_compile"
24848 case "(($ac_try" in
24849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24850 *) ac_try_echo=$ac_try;;
24851 esac
24852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24853 (eval "$ac_compile") 2>conftest.er1
24854 ac_status=$?
24855 grep -v '^ *+' conftest.er1 >conftest.err
24856 rm -f conftest.er1
24857 cat conftest.err >&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } && {
24860 test -z "$ac_cxx_werror_flag" ||
24861 test ! -s conftest.err
24862 } && test -s conftest.$ac_objext; then
24863 wx_cv_class_stdhashmapset=yes
24864 else
24865 echo "$as_me: failed program was:" >&5
24866 sed 's/^/| /' conftest.$ac_ext >&5
24867
24868 wx_cv_class_stdhashmapset=no
24869 fi
24870
24871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24872
24873
24874 fi
24875 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24876 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24877
24878 fi
24879
24880
24881
24882 if test "$wx_cv_class_stdhashmapset" = yes; then
24883 cat >>confdefs.h <<\_ACEOF
24884 #define HAVE_HASH_MAP 1
24885 _ACEOF
24886
24887 cat >>confdefs.h <<\_ACEOF
24888 #define HAVE_STD_HASH_MAP 1
24889 _ACEOF
24890
24891 fi
24892
24893 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24894 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24895 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24896 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24897 echo $ECHO_N "(cached) $ECHO_C" >&6
24898 fi
24899 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24900 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24901 else
24902 # Is the header compilable?
24903 { echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24904 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6; }
24905 cat >conftest.$ac_ext <<_ACEOF
24906 /* confdefs.h. */
24907 _ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24911 $ac_includes_default
24912 #include <ext/hash_map>
24913 _ACEOF
24914 rm -f conftest.$ac_objext
24915 if { (ac_try="$ac_compile"
24916 case "(($ac_try" in
24917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24918 *) ac_try_echo=$ac_try;;
24919 esac
24920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24921 (eval "$ac_compile") 2>conftest.er1
24922 ac_status=$?
24923 grep -v '^ *+' conftest.er1 >conftest.err
24924 rm -f conftest.er1
24925 cat conftest.err >&5
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); } && {
24928 test -z "$ac_cxx_werror_flag" ||
24929 test ! -s conftest.err
24930 } && test -s conftest.$ac_objext; then
24931 ac_header_compiler=yes
24932 else
24933 echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.$ac_ext >&5
24935
24936 ac_header_compiler=no
24937 fi
24938
24939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24940 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24941 echo "${ECHO_T}$ac_header_compiler" >&6; }
24942
24943 # Is the header present?
24944 { echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24945 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6; }
24946 cat >conftest.$ac_ext <<_ACEOF
24947 /* confdefs.h. */
24948 _ACEOF
24949 cat confdefs.h >>conftest.$ac_ext
24950 cat >>conftest.$ac_ext <<_ACEOF
24951 /* end confdefs.h. */
24952 #include <ext/hash_map>
24953 _ACEOF
24954 if { (ac_try="$ac_cpp conftest.$ac_ext"
24955 case "(($ac_try" in
24956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24957 *) ac_try_echo=$ac_try;;
24958 esac
24959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24961 ac_status=$?
24962 grep -v '^ *+' conftest.er1 >conftest.err
24963 rm -f conftest.er1
24964 cat conftest.err >&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); } >/dev/null && {
24967 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24968 test ! -s conftest.err
24969 }; then
24970 ac_header_preproc=yes
24971 else
24972 echo "$as_me: failed program was:" >&5
24973 sed 's/^/| /' conftest.$ac_ext >&5
24974
24975 ac_header_preproc=no
24976 fi
24977
24978 rm -f conftest.err conftest.$ac_ext
24979 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24980 echo "${ECHO_T}$ac_header_preproc" >&6; }
24981
24982 # So? What about this header?
24983 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24984 yes:no: )
24985 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24986 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24987 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24988 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24989 ac_header_preproc=yes
24990 ;;
24991 no:yes:* )
24992 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24993 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24994 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24995 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24996 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24997 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24998 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24999 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
25000 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
25001 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
25002 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
25003 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
25004 ( cat <<\_ASBOX
25005 ## ----------------------------------------- ##
25006 ## Report this to wx-dev@lists.wxwidgets.org ##
25007 ## ----------------------------------------- ##
25008 _ASBOX
25009 ) | sed "s/^/$as_me: WARNING: /" >&2
25010 ;;
25011 esac
25012 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25013 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25014 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25015 echo $ECHO_N "(cached) $ECHO_C" >&6
25016 else
25017 ac_cv_header_ext_hash_map=$ac_header_preproc
25018 fi
25019 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25020 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25021
25022 fi
25023 if test $ac_cv_header_ext_hash_map = yes; then
25024 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25025 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25026 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25027 echo $ECHO_N "(cached) $ECHO_C" >&6
25028 else
25029 cat >conftest.$ac_ext <<_ACEOF
25030 /* confdefs.h. */
25031 _ACEOF
25032 cat confdefs.h >>conftest.$ac_ext
25033 cat >>conftest.$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25035 #include <ext/hash_map>
25036 #include <ext/hash_set>
25037 int
25038 main ()
25039 {
25040 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25041 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25042 ;
25043 return 0;
25044 }
25045 _ACEOF
25046 rm -f conftest.$ac_objext
25047 if { (ac_try="$ac_compile"
25048 case "(($ac_try" in
25049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25050 *) ac_try_echo=$ac_try;;
25051 esac
25052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25053 (eval "$ac_compile") 2>conftest.er1
25054 ac_status=$?
25055 grep -v '^ *+' conftest.er1 >conftest.err
25056 rm -f conftest.er1
25057 cat conftest.err >&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); } && {
25060 test -z "$ac_cxx_werror_flag" ||
25061 test ! -s conftest.err
25062 } && test -s conftest.$ac_objext; then
25063 wx_cv_class_gnuhashmapset=yes
25064 else
25065 echo "$as_me: failed program was:" >&5
25066 sed 's/^/| /' conftest.$ac_ext >&5
25067
25068 wx_cv_class_gnuhashmapset=no
25069 fi
25070
25071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25072
25073
25074 fi
25075 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25076 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25077
25078 fi
25079
25080
25081
25082 if test "$wx_cv_class_gnuhashmapset" = yes; then
25083 cat >>confdefs.h <<\_ACEOF
25084 #define HAVE_EXT_HASH_MAP 1
25085 _ACEOF
25086
25087 cat >>confdefs.h <<\_ACEOF
25088 #define HAVE_GNU_CXX_HASH_MAP 1
25089 _ACEOF
25090
25091 fi
25092 fi
25093
25094 ac_ext=c
25095 ac_cpp='$CPP $CPPFLAGS'
25096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25099
25100
25101
25102 SEARCH_INCLUDE="\
25103 /usr/local/include \
25104 \
25105 /usr/Motif-2.1/include \
25106 /usr/Motif-1.2/include \
25107 /usr/include/Motif1.2 \
25108 \
25109 /usr/dt/include \
25110 /usr/openwin/include \
25111 \
25112 /usr/include/Xm \
25113 \
25114 /usr/X11R6/include \
25115 /usr/X11R6.4/include \
25116 /usr/X11R5/include \
25117 /usr/X11R4/include \
25118 \
25119 /usr/include/X11R6 \
25120 /usr/include/X11R5 \
25121 /usr/include/X11R4 \
25122 \
25123 /usr/local/X11R6/include \
25124 /usr/local/X11R5/include \
25125 /usr/local/X11R4/include \
25126 \
25127 /usr/local/include/X11R6 \
25128 /usr/local/include/X11R5 \
25129 /usr/local/include/X11R4 \
25130 \
25131 /usr/X11/include \
25132 /usr/include/X11 \
25133 /usr/local/X11/include \
25134 /usr/local/include/X11 \
25135 \
25136 /usr/XFree86/include/X11 \
25137 /usr/pkg/include \
25138 \
25139 /usr/openwin/share/include"
25140
25141 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25142 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25143
25144 case "${host}" in
25145 *-*-irix6* )
25146 if test "${wx_cv_std_libpath+set}" = set; then
25147 echo $ECHO_N "(cached) $ECHO_C" >&6
25148 else
25149
25150 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25151 for e in a so sl dylib dll.a; do
25152 libc="$d/libc.$e"
25153 if test -f $libc; then
25154 save_LIBS="$LIBS"
25155 LIBS="$libc"
25156 cat >conftest.$ac_ext <<_ACEOF
25157 int main() { return 0; }
25158 _ACEOF
25159 rm -f conftest.$ac_objext conftest$ac_exeext
25160 if { (ac_try="$ac_link"
25161 case "(($ac_try" in
25162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25163 *) ac_try_echo=$ac_try;;
25164 esac
25165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25166 (eval "$ac_link") 2>conftest.er1
25167 ac_status=$?
25168 grep -v '^ *+' conftest.er1 >conftest.err
25169 rm -f conftest.er1
25170 cat conftest.err >&5
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); } && {
25173 test -z "$ac_c_werror_flag" ||
25174 test ! -s conftest.err
25175 } && test -s conftest$ac_exeext &&
25176 $as_test_x conftest$ac_exeext; then
25177 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25178 else
25179 echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.$ac_ext >&5
25181
25182
25183 fi
25184
25185 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25186 conftest$ac_exeext conftest.$ac_ext
25187 LIBS="$save_LIBS"
25188 if test "x$wx_cv_std_libpath" != "x"; then
25189 break 2
25190 fi
25191 fi
25192 done
25193 done
25194 if test "x$wx_cv_std_libpath" = "x"; then
25195 wx_cv_std_libpath="lib"
25196 fi
25197
25198
25199 fi
25200
25201 ;;
25202
25203 *-*-solaris2* )
25204 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25205 wx_cv_std_libpath="lib/64"
25206 else
25207 wx_cv_std_libpath="lib"
25208 fi
25209 ;;
25210
25211 *-*-linux* )
25212 if test "$ac_cv_sizeof_void_p" = 8 -a \
25213 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25214 wx_cv_std_libpath="lib64"
25215 else
25216 wx_cv_std_libpath="lib"
25217 fi
25218 ;;
25219
25220 *)
25221 wx_cv_std_libpath="lib";
25222 ;;
25223 esac
25224
25225 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25226 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25227
25228 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25229
25230 if test "$build" != "$host" -a "$GCC" = yes; then
25231 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25232 cross_root=`dirname $cross_root`
25233 cross_root=`dirname $cross_root`
25234
25235 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25236 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25237 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25238
25239 if test -z "$PKG_CONFIG_PATH"; then
25240 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25241 export PKG_CONFIG_PATH
25242 fi
25243
25244 if test -z "$x_includes" -o "$x_includes" = NONE; then
25245
25246 ac_find_includes=
25247 for ac_dir in $SEARCH_INCLUDE /usr/include;
25248 do
25249 if test -f "$ac_dir/X11/Intrinsic.h"; then
25250 ac_find_includes=$ac_dir
25251 break
25252 fi
25253 done
25254
25255 x_includes=$ac_find_includes
25256 fi
25257 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25258
25259 ac_find_libraries=
25260 for ac_dir in $SEARCH_LIB;
25261 do
25262 for ac_extension in a so sl dylib dll.a; do
25263 if test -f "$ac_dir/libXt.$ac_extension"; then
25264 ac_find_libraries=$ac_dir
25265 break 2
25266 fi
25267 done
25268 done
25269
25270 x_libraries=$ac_find_libraries
25271 fi
25272 fi
25273 fi
25274
25275
25276 cat >confcache <<\_ACEOF
25277 # This file is a shell script that caches the results of configure
25278 # tests run on this system so they can be shared between configure
25279 # scripts and configure runs, see configure's option --config-cache.
25280 # It is not useful on other systems. If it contains results you don't
25281 # want to keep, you may remove or edit it.
25282 #
25283 # config.status only pays attention to the cache file if you give it
25284 # the --recheck option to rerun configure.
25285 #
25286 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25287 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25288 # following values.
25289
25290 _ACEOF
25291
25292 # The following way of writing the cache mishandles newlines in values,
25293 # but we know of no workaround that is simple, portable, and efficient.
25294 # So, we kill variables containing newlines.
25295 # Ultrix sh set writes to stderr and can't be redirected directly,
25296 # and sets the high bit in the cache file unless we assign to the vars.
25297 (
25298 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25299 eval ac_val=\$$ac_var
25300 case $ac_val in #(
25301 *${as_nl}*)
25302 case $ac_var in #(
25303 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25304 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25305 esac
25306 case $ac_var in #(
25307 _ | IFS | as_nl) ;; #(
25308 *) $as_unset $ac_var ;;
25309 esac ;;
25310 esac
25311 done
25312
25313 (set) 2>&1 |
25314 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25315 *${as_nl}ac_space=\ *)
25316 # `set' does not quote correctly, so add quotes (double-quote
25317 # substitution turns \\\\ into \\, and sed turns \\ into \).
25318 sed -n \
25319 "s/'/'\\\\''/g;
25320 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25321 ;; #(
25322 *)
25323 # `set' quotes correctly as required by POSIX, so do not add quotes.
25324 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25325 ;;
25326 esac |
25327 sort
25328 ) |
25329 sed '
25330 /^ac_cv_env_/b end
25331 t clear
25332 :clear
25333 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25334 t end
25335 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25336 :end' >>confcache
25337 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25338 if test -w "$cache_file"; then
25339 test "x$cache_file" != "x/dev/null" &&
25340 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25341 echo "$as_me: updating cache $cache_file" >&6;}
25342 cat confcache >$cache_file
25343 else
25344 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25345 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25346 fi
25347 fi
25348 rm -f confcache
25349
25350 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25351 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25352 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25353 if test "${wx_cv_lib_glibc21+set}" = set; then
25354 echo $ECHO_N "(cached) $ECHO_C" >&6
25355 else
25356
25357 cat >conftest.$ac_ext <<_ACEOF
25358 /* confdefs.h. */
25359 _ACEOF
25360 cat confdefs.h >>conftest.$ac_ext
25361 cat >>conftest.$ac_ext <<_ACEOF
25362 /* end confdefs.h. */
25363 #include <features.h>
25364 int
25365 main ()
25366 {
25367
25368 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25369 not glibc 2.1
25370 #endif
25371
25372 ;
25373 return 0;
25374 }
25375 _ACEOF
25376 rm -f conftest.$ac_objext
25377 if { (ac_try="$ac_compile"
25378 case "(($ac_try" in
25379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25380 *) ac_try_echo=$ac_try;;
25381 esac
25382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25383 (eval "$ac_compile") 2>conftest.er1
25384 ac_status=$?
25385 grep -v '^ *+' conftest.er1 >conftest.err
25386 rm -f conftest.er1
25387 cat conftest.err >&5
25388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389 (exit $ac_status); } && {
25390 test -z "$ac_c_werror_flag" ||
25391 test ! -s conftest.err
25392 } && test -s conftest.$ac_objext; then
25393
25394 wx_cv_lib_glibc21=yes
25395
25396 else
25397 echo "$as_me: failed program was:" >&5
25398 sed 's/^/| /' conftest.$ac_ext >&5
25399
25400
25401 wx_cv_lib_glibc21=no
25402
25403
25404 fi
25405
25406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25407
25408 fi
25409 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25410 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25411 if test "$wx_cv_lib_glibc21" = "yes"; then
25412 cat >>confdefs.h <<\_ACEOF
25413 #define wxHAVE_GLIBC2 1
25414 _ACEOF
25415
25416 fi
25417 fi
25418
25419 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25420 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25421 cat >>confdefs.h <<\_ACEOF
25422 #define _GNU_SOURCE 1
25423 _ACEOF
25424
25425 fi
25426 fi
25427
25428 have_cos=0
25429 have_floor=0
25430
25431 for ac_func in cos
25432 do
25433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25434 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25436 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25437 echo $ECHO_N "(cached) $ECHO_C" >&6
25438 else
25439 cat >conftest.$ac_ext <<_ACEOF
25440 /* confdefs.h. */
25441 _ACEOF
25442 cat confdefs.h >>conftest.$ac_ext
25443 cat >>conftest.$ac_ext <<_ACEOF
25444 /* end confdefs.h. */
25445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25447 #define $ac_func innocuous_$ac_func
25448
25449 /* System header to define __stub macros and hopefully few prototypes,
25450 which can conflict with char $ac_func (); below.
25451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25452 <limits.h> exists even on freestanding compilers. */
25453
25454 #ifdef __STDC__
25455 # include <limits.h>
25456 #else
25457 # include <assert.h>
25458 #endif
25459
25460 #undef $ac_func
25461
25462 /* Override any GCC internal prototype to avoid an error.
25463 Use char because int might match the return type of a GCC
25464 builtin and then its argument prototype would still apply. */
25465 #ifdef __cplusplus
25466 extern "C"
25467 #endif
25468 char $ac_func ();
25469 /* The GNU C library defines this for functions which it implements
25470 to always fail with ENOSYS. Some functions are actually named
25471 something starting with __ and the normal name is an alias. */
25472 #if defined __stub_$ac_func || defined __stub___$ac_func
25473 choke me
25474 #endif
25475
25476 int
25477 main ()
25478 {
25479 return $ac_func ();
25480 ;
25481 return 0;
25482 }
25483 _ACEOF
25484 rm -f conftest.$ac_objext conftest$ac_exeext
25485 if { (ac_try="$ac_link"
25486 case "(($ac_try" in
25487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25488 *) ac_try_echo=$ac_try;;
25489 esac
25490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25491 (eval "$ac_link") 2>conftest.er1
25492 ac_status=$?
25493 grep -v '^ *+' conftest.er1 >conftest.err
25494 rm -f conftest.er1
25495 cat conftest.err >&5
25496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25497 (exit $ac_status); } && {
25498 test -z "$ac_c_werror_flag" ||
25499 test ! -s conftest.err
25500 } && test -s conftest$ac_exeext &&
25501 $as_test_x conftest$ac_exeext; then
25502 eval "$as_ac_var=yes"
25503 else
25504 echo "$as_me: failed program was:" >&5
25505 sed 's/^/| /' conftest.$ac_ext >&5
25506
25507 eval "$as_ac_var=no"
25508 fi
25509
25510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25511 conftest$ac_exeext conftest.$ac_ext
25512 fi
25513 ac_res=`eval echo '${'$as_ac_var'}'`
25514 { echo "$as_me:$LINENO: result: $ac_res" >&5
25515 echo "${ECHO_T}$ac_res" >&6; }
25516 if test `eval echo '${'$as_ac_var'}'` = yes; then
25517 cat >>confdefs.h <<_ACEOF
25518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25519 _ACEOF
25520 have_cos=1
25521 fi
25522 done
25523
25524
25525 for ac_func in floor
25526 do
25527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25531 echo $ECHO_N "(cached) $ECHO_C" >&6
25532 else
25533 cat >conftest.$ac_ext <<_ACEOF
25534 /* confdefs.h. */
25535 _ACEOF
25536 cat confdefs.h >>conftest.$ac_ext
25537 cat >>conftest.$ac_ext <<_ACEOF
25538 /* end confdefs.h. */
25539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25541 #define $ac_func innocuous_$ac_func
25542
25543 /* System header to define __stub macros and hopefully few prototypes,
25544 which can conflict with char $ac_func (); below.
25545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25546 <limits.h> exists even on freestanding compilers. */
25547
25548 #ifdef __STDC__
25549 # include <limits.h>
25550 #else
25551 # include <assert.h>
25552 #endif
25553
25554 #undef $ac_func
25555
25556 /* Override any GCC internal prototype to avoid an error.
25557 Use char because int might match the return type of a GCC
25558 builtin and then its argument prototype would still apply. */
25559 #ifdef __cplusplus
25560 extern "C"
25561 #endif
25562 char $ac_func ();
25563 /* The GNU C library defines this for functions which it implements
25564 to always fail with ENOSYS. Some functions are actually named
25565 something starting with __ and the normal name is an alias. */
25566 #if defined __stub_$ac_func || defined __stub___$ac_func
25567 choke me
25568 #endif
25569
25570 int
25571 main ()
25572 {
25573 return $ac_func ();
25574 ;
25575 return 0;
25576 }
25577 _ACEOF
25578 rm -f conftest.$ac_objext conftest$ac_exeext
25579 if { (ac_try="$ac_link"
25580 case "(($ac_try" in
25581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25582 *) ac_try_echo=$ac_try;;
25583 esac
25584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25585 (eval "$ac_link") 2>conftest.er1
25586 ac_status=$?
25587 grep -v '^ *+' conftest.er1 >conftest.err
25588 rm -f conftest.er1
25589 cat conftest.err >&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } && {
25592 test -z "$ac_c_werror_flag" ||
25593 test ! -s conftest.err
25594 } && test -s conftest$ac_exeext &&
25595 $as_test_x conftest$ac_exeext; then
25596 eval "$as_ac_var=yes"
25597 else
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.$ac_ext >&5
25600
25601 eval "$as_ac_var=no"
25602 fi
25603
25604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25605 conftest$ac_exeext conftest.$ac_ext
25606 fi
25607 ac_res=`eval echo '${'$as_ac_var'}'`
25608 { echo "$as_me:$LINENO: result: $ac_res" >&5
25609 echo "${ECHO_T}$ac_res" >&6; }
25610 if test `eval echo '${'$as_ac_var'}'` = yes; then
25611 cat >>confdefs.h <<_ACEOF
25612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25613 _ACEOF
25614 have_floor=1
25615 fi
25616 done
25617
25618 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25619 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25620 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25621 { echo "$as_me:$LINENO: result: yes" >&5
25622 echo "${ECHO_T}yes" >&6; }
25623 else
25624 { echo "$as_me:$LINENO: result: no" >&5
25625 echo "${ECHO_T}no" >&6; }
25626 LIBS="$LIBS -lm"
25627 # use different functions to avoid configure caching
25628 have_sin=0
25629 have_ceil=0
25630
25631 for ac_func in sin
25632 do
25633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25637 echo $ECHO_N "(cached) $ECHO_C" >&6
25638 else
25639 cat >conftest.$ac_ext <<_ACEOF
25640 /* confdefs.h. */
25641 _ACEOF
25642 cat confdefs.h >>conftest.$ac_ext
25643 cat >>conftest.$ac_ext <<_ACEOF
25644 /* end confdefs.h. */
25645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25647 #define $ac_func innocuous_$ac_func
25648
25649 /* System header to define __stub macros and hopefully few prototypes,
25650 which can conflict with char $ac_func (); below.
25651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25652 <limits.h> exists even on freestanding compilers. */
25653
25654 #ifdef __STDC__
25655 # include <limits.h>
25656 #else
25657 # include <assert.h>
25658 #endif
25659
25660 #undef $ac_func
25661
25662 /* Override any GCC internal prototype to avoid an error.
25663 Use char because int might match the return type of a GCC
25664 builtin and then its argument prototype would still apply. */
25665 #ifdef __cplusplus
25666 extern "C"
25667 #endif
25668 char $ac_func ();
25669 /* The GNU C library defines this for functions which it implements
25670 to always fail with ENOSYS. Some functions are actually named
25671 something starting with __ and the normal name is an alias. */
25672 #if defined __stub_$ac_func || defined __stub___$ac_func
25673 choke me
25674 #endif
25675
25676 int
25677 main ()
25678 {
25679 return $ac_func ();
25680 ;
25681 return 0;
25682 }
25683 _ACEOF
25684 rm -f conftest.$ac_objext conftest$ac_exeext
25685 if { (ac_try="$ac_link"
25686 case "(($ac_try" in
25687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25688 *) ac_try_echo=$ac_try;;
25689 esac
25690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25691 (eval "$ac_link") 2>conftest.er1
25692 ac_status=$?
25693 grep -v '^ *+' conftest.er1 >conftest.err
25694 rm -f conftest.er1
25695 cat conftest.err >&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } && {
25698 test -z "$ac_c_werror_flag" ||
25699 test ! -s conftest.err
25700 } && test -s conftest$ac_exeext &&
25701 $as_test_x conftest$ac_exeext; then
25702 eval "$as_ac_var=yes"
25703 else
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.$ac_ext >&5
25706
25707 eval "$as_ac_var=no"
25708 fi
25709
25710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25711 conftest$ac_exeext conftest.$ac_ext
25712 fi
25713 ac_res=`eval echo '${'$as_ac_var'}'`
25714 { echo "$as_me:$LINENO: result: $ac_res" >&5
25715 echo "${ECHO_T}$ac_res" >&6; }
25716 if test `eval echo '${'$as_ac_var'}'` = yes; then
25717 cat >>confdefs.h <<_ACEOF
25718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25719 _ACEOF
25720 have_sin=1
25721 fi
25722 done
25723
25724
25725 for ac_func in ceil
25726 do
25727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25728 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25730 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25731 echo $ECHO_N "(cached) $ECHO_C" >&6
25732 else
25733 cat >conftest.$ac_ext <<_ACEOF
25734 /* confdefs.h. */
25735 _ACEOF
25736 cat confdefs.h >>conftest.$ac_ext
25737 cat >>conftest.$ac_ext <<_ACEOF
25738 /* end confdefs.h. */
25739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25741 #define $ac_func innocuous_$ac_func
25742
25743 /* System header to define __stub macros and hopefully few prototypes,
25744 which can conflict with char $ac_func (); below.
25745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25746 <limits.h> exists even on freestanding compilers. */
25747
25748 #ifdef __STDC__
25749 # include <limits.h>
25750 #else
25751 # include <assert.h>
25752 #endif
25753
25754 #undef $ac_func
25755
25756 /* Override any GCC internal prototype to avoid an error.
25757 Use char because int might match the return type of a GCC
25758 builtin and then its argument prototype would still apply. */
25759 #ifdef __cplusplus
25760 extern "C"
25761 #endif
25762 char $ac_func ();
25763 /* The GNU C library defines this for functions which it implements
25764 to always fail with ENOSYS. Some functions are actually named
25765 something starting with __ and the normal name is an alias. */
25766 #if defined __stub_$ac_func || defined __stub___$ac_func
25767 choke me
25768 #endif
25769
25770 int
25771 main ()
25772 {
25773 return $ac_func ();
25774 ;
25775 return 0;
25776 }
25777 _ACEOF
25778 rm -f conftest.$ac_objext conftest$ac_exeext
25779 if { (ac_try="$ac_link"
25780 case "(($ac_try" in
25781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25782 *) ac_try_echo=$ac_try;;
25783 esac
25784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25785 (eval "$ac_link") 2>conftest.er1
25786 ac_status=$?
25787 grep -v '^ *+' conftest.er1 >conftest.err
25788 rm -f conftest.er1
25789 cat conftest.err >&5
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); } && {
25792 test -z "$ac_c_werror_flag" ||
25793 test ! -s conftest.err
25794 } && test -s conftest$ac_exeext &&
25795 $as_test_x conftest$ac_exeext; then
25796 eval "$as_ac_var=yes"
25797 else
25798 echo "$as_me: failed program was:" >&5
25799 sed 's/^/| /' conftest.$ac_ext >&5
25800
25801 eval "$as_ac_var=no"
25802 fi
25803
25804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25805 conftest$ac_exeext conftest.$ac_ext
25806 fi
25807 ac_res=`eval echo '${'$as_ac_var'}'`
25808 { echo "$as_me:$LINENO: result: $ac_res" >&5
25809 echo "${ECHO_T}$ac_res" >&6; }
25810 if test `eval echo '${'$as_ac_var'}'` = yes; then
25811 cat >>confdefs.h <<_ACEOF
25812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25813 _ACEOF
25814 have_ceil=1
25815 fi
25816 done
25817
25818 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25819 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25820 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25821 { echo "$as_me:$LINENO: result: yes" >&5
25822 echo "${ECHO_T}yes" >&6; }
25823 else
25824 { echo "$as_me:$LINENO: result: no" >&5
25825 echo "${ECHO_T}no" >&6; }
25826 # not sure we should warn the user, crash, etc.
25827 fi
25828 fi
25829
25830 ac_ext=cpp
25831 ac_cpp='$CXXCPP $CPPFLAGS'
25832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25835
25836 if test "wxUSE_UNICODE" = "yes"; then
25837
25838 for wx_func in wcstoull
25839 do
25840 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25841 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25842 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 else
25845
25846 cat >conftest.$ac_ext <<_ACEOF
25847
25848 /* confdefs.h. */
25849 _ACEOF
25850 cat confdefs.h >>conftest.$ac_ext
25851 cat >>conftest.$ac_ext <<_ACEOF
25852 /* end confdefs.h. */
25853
25854
25855 $ac_includes_default
25856
25857 int
25858 main ()
25859 {
25860
25861 #ifndef $wx_func
25862 &$wx_func;
25863 #endif
25864
25865
25866 ;
25867 return 0;
25868 }
25869
25870 _ACEOF
25871 rm -f conftest.$ac_objext conftest$ac_exeext
25872 if { (ac_try="$ac_link"
25873 case "(($ac_try" in
25874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25875 *) ac_try_echo=$ac_try;;
25876 esac
25877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25878 (eval "$ac_link") 2>conftest.er1
25879 ac_status=$?
25880 grep -v '^ *+' conftest.er1 >conftest.err
25881 rm -f conftest.er1
25882 cat conftest.err >&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } && {
25885 test -z "$ac_cxx_werror_flag" ||
25886 test ! -s conftest.err
25887 } && test -s conftest$ac_exeext &&
25888 $as_test_x conftest$ac_exeext; then
25889 eval wx_cv_func_$wx_func=yes
25890 else
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25893
25894 eval wx_cv_func_$wx_func=no
25895 fi
25896
25897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25898 conftest$ac_exeext conftest.$ac_ext
25899
25900 fi
25901 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25902 { echo "$as_me:$LINENO: result: $ac_res" >&5
25903 echo "${ECHO_T}$ac_res" >&6; }
25904
25905 if eval test \$wx_cv_func_$wx_func = yes
25906 then
25907 cat >>confdefs.h <<_ACEOF
25908 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25909 _ACEOF
25910
25911
25912 else
25913 :
25914
25915 fi
25916 done
25917
25918 else
25919
25920 for wx_func in strtoull
25921 do
25922 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25923 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25924 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25925 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 else
25927
25928 cat >conftest.$ac_ext <<_ACEOF
25929
25930 /* confdefs.h. */
25931 _ACEOF
25932 cat confdefs.h >>conftest.$ac_ext
25933 cat >>conftest.$ac_ext <<_ACEOF
25934 /* end confdefs.h. */
25935
25936
25937 $ac_includes_default
25938
25939 int
25940 main ()
25941 {
25942
25943 #ifndef $wx_func
25944 &$wx_func;
25945 #endif
25946
25947
25948 ;
25949 return 0;
25950 }
25951
25952 _ACEOF
25953 rm -f conftest.$ac_objext conftest$ac_exeext
25954 if { (ac_try="$ac_link"
25955 case "(($ac_try" in
25956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25957 *) ac_try_echo=$ac_try;;
25958 esac
25959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25960 (eval "$ac_link") 2>conftest.er1
25961 ac_status=$?
25962 grep -v '^ *+' conftest.er1 >conftest.err
25963 rm -f conftest.er1
25964 cat conftest.err >&5
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); } && {
25967 test -z "$ac_cxx_werror_flag" ||
25968 test ! -s conftest.err
25969 } && test -s conftest$ac_exeext &&
25970 $as_test_x conftest$ac_exeext; then
25971 eval wx_cv_func_$wx_func=yes
25972 else
25973 echo "$as_me: failed program was:" >&5
25974 sed 's/^/| /' conftest.$ac_ext >&5
25975
25976 eval wx_cv_func_$wx_func=no
25977 fi
25978
25979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25980 conftest$ac_exeext conftest.$ac_ext
25981
25982 fi
25983 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25984 { echo "$as_me:$LINENO: result: $ac_res" >&5
25985 echo "${ECHO_T}$ac_res" >&6; }
25986
25987 if eval test \$wx_cv_func_$wx_func = yes
25988 then
25989 cat >>confdefs.h <<_ACEOF
25990 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25991 _ACEOF
25992
25993
25994 else
25995 :
25996
25997 fi
25998 done
25999
26000 fi
26001 ac_ext=c
26002 ac_cpp='$CPP $CPPFLAGS'
26003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26006
26007
26008
26009
26010 if test "$wxUSE_REGEX" != "no"; then
26011 cat >>confdefs.h <<\_ACEOF
26012 #define wxUSE_REGEX 1
26013 _ACEOF
26014
26015
26016 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26017 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
26018 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
26019 wxUSE_REGEX=builtin
26020 fi
26021
26022 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26023 if test "${ac_cv_header_regex_h+set}" = set; then
26024 { echo "$as_me:$LINENO: checking for regex.h" >&5
26025 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26026 if test "${ac_cv_header_regex_h+set}" = set; then
26027 echo $ECHO_N "(cached) $ECHO_C" >&6
26028 fi
26029 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26030 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26031 else
26032 # Is the header compilable?
26033 { echo "$as_me:$LINENO: checking regex.h usability" >&5
26034 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6; }
26035 cat >conftest.$ac_ext <<_ACEOF
26036 /* confdefs.h. */
26037 _ACEOF
26038 cat confdefs.h >>conftest.$ac_ext
26039 cat >>conftest.$ac_ext <<_ACEOF
26040 /* end confdefs.h. */
26041 $ac_includes_default
26042 #include <regex.h>
26043 _ACEOF
26044 rm -f conftest.$ac_objext
26045 if { (ac_try="$ac_compile"
26046 case "(($ac_try" in
26047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26048 *) ac_try_echo=$ac_try;;
26049 esac
26050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26051 (eval "$ac_compile") 2>conftest.er1
26052 ac_status=$?
26053 grep -v '^ *+' conftest.er1 >conftest.err
26054 rm -f conftest.er1
26055 cat conftest.err >&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); } && {
26058 test -z "$ac_c_werror_flag" ||
26059 test ! -s conftest.err
26060 } && test -s conftest.$ac_objext; then
26061 ac_header_compiler=yes
26062 else
26063 echo "$as_me: failed program was:" >&5
26064 sed 's/^/| /' conftest.$ac_ext >&5
26065
26066 ac_header_compiler=no
26067 fi
26068
26069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26070 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26071 echo "${ECHO_T}$ac_header_compiler" >&6; }
26072
26073 # Is the header present?
26074 { echo "$as_me:$LINENO: checking regex.h presence" >&5
26075 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6; }
26076 cat >conftest.$ac_ext <<_ACEOF
26077 /* confdefs.h. */
26078 _ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h. */
26082 #include <regex.h>
26083 _ACEOF
26084 if { (ac_try="$ac_cpp conftest.$ac_ext"
26085 case "(($ac_try" in
26086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26087 *) ac_try_echo=$ac_try;;
26088 esac
26089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26090 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26091 ac_status=$?
26092 grep -v '^ *+' conftest.er1 >conftest.err
26093 rm -f conftest.er1
26094 cat conftest.err >&5
26095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26096 (exit $ac_status); } >/dev/null && {
26097 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26098 test ! -s conftest.err
26099 }; then
26100 ac_header_preproc=yes
26101 else
26102 echo "$as_me: failed program was:" >&5
26103 sed 's/^/| /' conftest.$ac_ext >&5
26104
26105 ac_header_preproc=no
26106 fi
26107
26108 rm -f conftest.err conftest.$ac_ext
26109 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26110 echo "${ECHO_T}$ac_header_preproc" >&6; }
26111
26112 # So? What about this header?
26113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26114 yes:no: )
26115 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
26116 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26117 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
26118 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
26119 ac_header_preproc=yes
26120 ;;
26121 no:yes:* )
26122 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
26123 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
26124 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
26125 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
26126 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
26127 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
26128 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
26129 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
26130 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
26131 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
26132 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
26133 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
26134 ( cat <<\_ASBOX
26135 ## ----------------------------------------- ##
26136 ## Report this to wx-dev@lists.wxwidgets.org ##
26137 ## ----------------------------------------- ##
26138 _ASBOX
26139 ) | sed "s/^/$as_me: WARNING: /" >&2
26140 ;;
26141 esac
26142 { echo "$as_me:$LINENO: checking for regex.h" >&5
26143 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26144 if test "${ac_cv_header_regex_h+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26146 else
26147 ac_cv_header_regex_h=$ac_header_preproc
26148 fi
26149 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26150 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26151
26152 fi
26153 if test $ac_cv_header_regex_h = yes; then
26154
26155
26156 for ac_func in regcomp re_search
26157 do
26158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26162 echo $ECHO_N "(cached) $ECHO_C" >&6
26163 else
26164 cat >conftest.$ac_ext <<_ACEOF
26165 /* confdefs.h. */
26166 _ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26172 #define $ac_func innocuous_$ac_func
26173
26174 /* System header to define __stub macros and hopefully few prototypes,
26175 which can conflict with char $ac_func (); below.
26176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26177 <limits.h> exists even on freestanding compilers. */
26178
26179 #ifdef __STDC__
26180 # include <limits.h>
26181 #else
26182 # include <assert.h>
26183 #endif
26184
26185 #undef $ac_func
26186
26187 /* Override any GCC internal prototype to avoid an error.
26188 Use char because int might match the return type of a GCC
26189 builtin and then its argument prototype would still apply. */
26190 #ifdef __cplusplus
26191 extern "C"
26192 #endif
26193 char $ac_func ();
26194 /* The GNU C library defines this for functions which it implements
26195 to always fail with ENOSYS. Some functions are actually named
26196 something starting with __ and the normal name is an alias. */
26197 #if defined __stub_$ac_func || defined __stub___$ac_func
26198 choke me
26199 #endif
26200
26201 int
26202 main ()
26203 {
26204 return $ac_func ();
26205 ;
26206 return 0;
26207 }
26208 _ACEOF
26209 rm -f conftest.$ac_objext conftest$ac_exeext
26210 if { (ac_try="$ac_link"
26211 case "(($ac_try" in
26212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26213 *) ac_try_echo=$ac_try;;
26214 esac
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216 (eval "$ac_link") 2>conftest.er1
26217 ac_status=$?
26218 grep -v '^ *+' conftest.er1 >conftest.err
26219 rm -f conftest.er1
26220 cat conftest.err >&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } && {
26223 test -z "$ac_c_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest$ac_exeext &&
26226 $as_test_x conftest$ac_exeext; then
26227 eval "$as_ac_var=yes"
26228 else
26229 echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.$ac_ext >&5
26231
26232 eval "$as_ac_var=no"
26233 fi
26234
26235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26236 conftest$ac_exeext conftest.$ac_ext
26237 fi
26238 ac_res=`eval echo '${'$as_ac_var'}'`
26239 { echo "$as_me:$LINENO: result: $ac_res" >&5
26240 echo "${ECHO_T}$ac_res" >&6; }
26241 if test `eval echo '${'$as_ac_var'}'` = yes; then
26242 cat >>confdefs.h <<_ACEOF
26243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26244 _ACEOF
26245
26246 fi
26247 done
26248
26249 fi
26250
26251
26252
26253 if test "x$ac_cv_func_regcomp" != "xyes"; then
26254 if test "$wxUSE_REGEX" = "sys" ; then
26255 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26256 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26257 { (exit 1); exit 1; }; }
26258 else
26259 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26260 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26261 wxUSE_REGEX=builtin
26262 fi
26263 else
26264 wxUSE_REGEX=sys
26265 cat >>confdefs.h <<\_ACEOF
26266 #define WX_NO_REGEX_ADVANCED 1
26267 _ACEOF
26268
26269 fi
26270 fi
26271 fi
26272
26273
26274 ZLIB_LINK=
26275 if test "$wxUSE_ZLIB" != "no" ; then
26276 cat >>confdefs.h <<\_ACEOF
26277 #define wxUSE_ZLIB 1
26278 _ACEOF
26279
26280
26281 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26282 if test "$USE_DARWIN" = 1; then
26283 system_zlib_h_ok="yes"
26284 else
26285 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26286 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26287 if test "${ac_cv_header_zlib_h+set}" = set; then
26288 echo $ECHO_N "(cached) $ECHO_C" >&6
26289 else
26290 if test "$cross_compiling" = yes; then
26291 unset ac_cv_header_zlib_h
26292
26293 else
26294 cat >conftest.$ac_ext <<_ACEOF
26295 /* confdefs.h. */
26296 _ACEOF
26297 cat confdefs.h >>conftest.$ac_ext
26298 cat >>conftest.$ac_ext <<_ACEOF
26299 /* end confdefs.h. */
26300
26301 #include <zlib.h>
26302 #include <stdio.h>
26303
26304 int main()
26305 {
26306 FILE *f=fopen("conftestval", "w");
26307 if (!f) exit(1);
26308 fprintf(f, "%s",
26309 ZLIB_VERSION[0] == '1' &&
26310 (ZLIB_VERSION[2] > '1' ||
26311 (ZLIB_VERSION[2] == '1' &&
26312 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26313 exit(0);
26314 }
26315
26316 _ACEOF
26317 rm -f conftest$ac_exeext
26318 if { (ac_try="$ac_link"
26319 case "(($ac_try" in
26320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26321 *) ac_try_echo=$ac_try;;
26322 esac
26323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26324 (eval "$ac_link") 2>&5
26325 ac_status=$?
26326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26328 { (case "(($ac_try" in
26329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26330 *) ac_try_echo=$ac_try;;
26331 esac
26332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26333 (eval "$ac_try") 2>&5
26334 ac_status=$?
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); }; }; then
26337 ac_cv_header_zlib_h=`cat conftestval`
26338 else
26339 echo "$as_me: program exited with status $ac_status" >&5
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.$ac_ext >&5
26342
26343 ( exit $ac_status )
26344 ac_cv_header_zlib_h=no
26345 fi
26346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26347 fi
26348
26349
26350
26351 fi
26352 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26353 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26354 if test "${ac_cv_header_zlib_h+set}" = set; then
26355 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26356 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26357 if test "${ac_cv_header_zlib_h+set}" = set; then
26358 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 fi
26360 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26361 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26362 else
26363 # Is the header compilable?
26364 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
26365 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
26366 cat >conftest.$ac_ext <<_ACEOF
26367 /* confdefs.h. */
26368 _ACEOF
26369 cat confdefs.h >>conftest.$ac_ext
26370 cat >>conftest.$ac_ext <<_ACEOF
26371 /* end confdefs.h. */
26372 $ac_includes_default
26373 #include <zlib.h>
26374 _ACEOF
26375 rm -f conftest.$ac_objext
26376 if { (ac_try="$ac_compile"
26377 case "(($ac_try" in
26378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26379 *) ac_try_echo=$ac_try;;
26380 esac
26381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26382 (eval "$ac_compile") 2>conftest.er1
26383 ac_status=$?
26384 grep -v '^ *+' conftest.er1 >conftest.err
26385 rm -f conftest.er1
26386 cat conftest.err >&5
26387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26388 (exit $ac_status); } && {
26389 test -z "$ac_c_werror_flag" ||
26390 test ! -s conftest.err
26391 } && test -s conftest.$ac_objext; then
26392 ac_header_compiler=yes
26393 else
26394 echo "$as_me: failed program was:" >&5
26395 sed 's/^/| /' conftest.$ac_ext >&5
26396
26397 ac_header_compiler=no
26398 fi
26399
26400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26401 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26402 echo "${ECHO_T}$ac_header_compiler" >&6; }
26403
26404 # Is the header present?
26405 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
26406 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
26407 cat >conftest.$ac_ext <<_ACEOF
26408 /* confdefs.h. */
26409 _ACEOF
26410 cat confdefs.h >>conftest.$ac_ext
26411 cat >>conftest.$ac_ext <<_ACEOF
26412 /* end confdefs.h. */
26413 #include <zlib.h>
26414 _ACEOF
26415 if { (ac_try="$ac_cpp conftest.$ac_ext"
26416 case "(($ac_try" in
26417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26418 *) ac_try_echo=$ac_try;;
26419 esac
26420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26422 ac_status=$?
26423 grep -v '^ *+' conftest.er1 >conftest.err
26424 rm -f conftest.er1
26425 cat conftest.err >&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } >/dev/null && {
26428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26429 test ! -s conftest.err
26430 }; then
26431 ac_header_preproc=yes
26432 else
26433 echo "$as_me: failed program was:" >&5
26434 sed 's/^/| /' conftest.$ac_ext >&5
26435
26436 ac_header_preproc=no
26437 fi
26438
26439 rm -f conftest.err conftest.$ac_ext
26440 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26441 echo "${ECHO_T}$ac_header_preproc" >&6; }
26442
26443 # So? What about this header?
26444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26445 yes:no: )
26446 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26447 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26448 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26449 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26450 ac_header_preproc=yes
26451 ;;
26452 no:yes:* )
26453 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26454 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26455 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26456 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26457 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26458 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26459 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26460 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26461 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26462 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26463 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26464 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26465 ( cat <<\_ASBOX
26466 ## ----------------------------------------- ##
26467 ## Report this to wx-dev@lists.wxwidgets.org ##
26468 ## ----------------------------------------- ##
26469 _ASBOX
26470 ) | sed "s/^/$as_me: WARNING: /" >&2
26471 ;;
26472 esac
26473 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26474 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26475 if test "${ac_cv_header_zlib_h+set}" = set; then
26476 echo $ECHO_N "(cached) $ECHO_C" >&6
26477 else
26478 ac_cv_header_zlib_h=$ac_header_preproc
26479 fi
26480 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26481 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26482
26483 fi
26484
26485
26486
26487 system_zlib_h_ok=$ac_cv_header_zlib_h
26488 fi
26489
26490 if test "$system_zlib_h_ok" = "yes"; then
26491 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26492 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26493 if test "${ac_cv_lib_z_deflate+set}" = set; then
26494 echo $ECHO_N "(cached) $ECHO_C" >&6
26495 else
26496 ac_check_lib_save_LIBS=$LIBS
26497 LIBS="-lz $LIBS"
26498 cat >conftest.$ac_ext <<_ACEOF
26499 /* confdefs.h. */
26500 _ACEOF
26501 cat confdefs.h >>conftest.$ac_ext
26502 cat >>conftest.$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26504
26505 /* Override any GCC internal prototype to avoid an error.
26506 Use char because int might match the return type of a GCC
26507 builtin and then its argument prototype would still apply. */
26508 #ifdef __cplusplus
26509 extern "C"
26510 #endif
26511 char deflate ();
26512 int
26513 main ()
26514 {
26515 return deflate ();
26516 ;
26517 return 0;
26518 }
26519 _ACEOF
26520 rm -f conftest.$ac_objext conftest$ac_exeext
26521 if { (ac_try="$ac_link"
26522 case "(($ac_try" in
26523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26524 *) ac_try_echo=$ac_try;;
26525 esac
26526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26527 (eval "$ac_link") 2>conftest.er1
26528 ac_status=$?
26529 grep -v '^ *+' conftest.er1 >conftest.err
26530 rm -f conftest.er1
26531 cat conftest.err >&5
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); } && {
26534 test -z "$ac_c_werror_flag" ||
26535 test ! -s conftest.err
26536 } && test -s conftest$ac_exeext &&
26537 $as_test_x conftest$ac_exeext; then
26538 ac_cv_lib_z_deflate=yes
26539 else
26540 echo "$as_me: failed program was:" >&5
26541 sed 's/^/| /' conftest.$ac_ext >&5
26542
26543 ac_cv_lib_z_deflate=no
26544 fi
26545
26546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26547 conftest$ac_exeext conftest.$ac_ext
26548 LIBS=$ac_check_lib_save_LIBS
26549 fi
26550 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26551 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26552 if test $ac_cv_lib_z_deflate = yes; then
26553 ZLIB_LINK=" -lz"
26554 fi
26555
26556 fi
26557
26558 if test "x$ZLIB_LINK" = "x" ; then
26559 if test "$wxUSE_ZLIB" = "sys" ; then
26560 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26561 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26562 { (exit 1); exit 1; }; }
26563 else
26564 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26565 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26566 wxUSE_ZLIB=builtin
26567 fi
26568 else
26569 wxUSE_ZLIB=sys
26570 fi
26571 fi
26572 fi
26573
26574
26575 PNG_LINK=
26576 if test "$wxUSE_LIBPNG" != "no" ; then
26577 cat >>confdefs.h <<\_ACEOF
26578 #define wxUSE_LIBPNG 1
26579 _ACEOF
26580
26581
26582 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26583 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26584 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26585 wxUSE_LIBPNG=sys
26586 fi
26587
26588 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26589 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26590 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26591 wxUSE_LIBPNG=builtin
26592 fi
26593
26594 if test "$wxUSE_MGL" != 1 ; then
26595 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26596 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26597 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26598 if test "${ac_cv_header_png_h+set}" = set; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 else
26601 if test "$cross_compiling" = yes; then
26602 unset ac_cv_header_png_h
26603
26604 else
26605 cat >conftest.$ac_ext <<_ACEOF
26606 /* confdefs.h. */
26607 _ACEOF
26608 cat confdefs.h >>conftest.$ac_ext
26609 cat >>conftest.$ac_ext <<_ACEOF
26610 /* end confdefs.h. */
26611
26612 #include <png.h>
26613 #include <stdio.h>
26614
26615 int main()
26616 {
26617 FILE *f=fopen("conftestval", "w");
26618 if (!f) exit(1);
26619 fprintf(f, "%s",
26620 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26621 exit(0);
26622 }
26623
26624 _ACEOF
26625 rm -f conftest$ac_exeext
26626 if { (ac_try="$ac_link"
26627 case "(($ac_try" in
26628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26629 *) ac_try_echo=$ac_try;;
26630 esac
26631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26632 (eval "$ac_link") 2>&5
26633 ac_status=$?
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26636 { (case "(($ac_try" in
26637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26638 *) ac_try_echo=$ac_try;;
26639 esac
26640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26641 (eval "$ac_try") 2>&5
26642 ac_status=$?
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); }; }; then
26645 ac_cv_header_png_h=`cat conftestval`
26646 else
26647 echo "$as_me: program exited with status $ac_status" >&5
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.$ac_ext >&5
26650
26651 ( exit $ac_status )
26652 ac_cv_header_png_h=no
26653 fi
26654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26655 fi
26656
26657
26658
26659 fi
26660 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26661 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26662 if test "${ac_cv_header_png_h+set}" = set; then
26663 { echo "$as_me:$LINENO: checking for png.h" >&5
26664 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26665 if test "${ac_cv_header_png_h+set}" = set; then
26666 echo $ECHO_N "(cached) $ECHO_C" >&6
26667 fi
26668 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26669 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26670 else
26671 # Is the header compilable?
26672 { echo "$as_me:$LINENO: checking png.h usability" >&5
26673 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6; }
26674 cat >conftest.$ac_ext <<_ACEOF
26675 /* confdefs.h. */
26676 _ACEOF
26677 cat confdefs.h >>conftest.$ac_ext
26678 cat >>conftest.$ac_ext <<_ACEOF
26679 /* end confdefs.h. */
26680 $ac_includes_default
26681 #include <png.h>
26682 _ACEOF
26683 rm -f conftest.$ac_objext
26684 if { (ac_try="$ac_compile"
26685 case "(($ac_try" in
26686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26687 *) ac_try_echo=$ac_try;;
26688 esac
26689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26690 (eval "$ac_compile") 2>conftest.er1
26691 ac_status=$?
26692 grep -v '^ *+' conftest.er1 >conftest.err
26693 rm -f conftest.er1
26694 cat conftest.err >&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); } && {
26697 test -z "$ac_c_werror_flag" ||
26698 test ! -s conftest.err
26699 } && test -s conftest.$ac_objext; then
26700 ac_header_compiler=yes
26701 else
26702 echo "$as_me: failed program was:" >&5
26703 sed 's/^/| /' conftest.$ac_ext >&5
26704
26705 ac_header_compiler=no
26706 fi
26707
26708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26709 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26710 echo "${ECHO_T}$ac_header_compiler" >&6; }
26711
26712 # Is the header present?
26713 { echo "$as_me:$LINENO: checking png.h presence" >&5
26714 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6; }
26715 cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721 #include <png.h>
26722 _ACEOF
26723 if { (ac_try="$ac_cpp conftest.$ac_ext"
26724 case "(($ac_try" in
26725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26726 *) ac_try_echo=$ac_try;;
26727 esac
26728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26730 ac_status=$?
26731 grep -v '^ *+' conftest.er1 >conftest.err
26732 rm -f conftest.er1
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } >/dev/null && {
26736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26737 test ! -s conftest.err
26738 }; then
26739 ac_header_preproc=yes
26740 else
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.$ac_ext >&5
26743
26744 ac_header_preproc=no
26745 fi
26746
26747 rm -f conftest.err conftest.$ac_ext
26748 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26749 echo "${ECHO_T}$ac_header_preproc" >&6; }
26750
26751 # So? What about this header?
26752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26753 yes:no: )
26754 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26755 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26757 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26758 ac_header_preproc=yes
26759 ;;
26760 no:yes:* )
26761 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26762 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26763 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26764 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26765 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26766 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26767 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26768 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26769 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26770 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26771 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26772 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26773 ( cat <<\_ASBOX
26774 ## ----------------------------------------- ##
26775 ## Report this to wx-dev@lists.wxwidgets.org ##
26776 ## ----------------------------------------- ##
26777 _ASBOX
26778 ) | sed "s/^/$as_me: WARNING: /" >&2
26779 ;;
26780 esac
26781 { echo "$as_me:$LINENO: checking for png.h" >&5
26782 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26783 if test "${ac_cv_header_png_h+set}" = set; then
26784 echo $ECHO_N "(cached) $ECHO_C" >&6
26785 else
26786 ac_cv_header_png_h=$ac_header_preproc
26787 fi
26788 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26789 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26790
26791 fi
26792
26793
26794
26795 if test "$ac_cv_header_png_h" = "yes"; then
26796 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26797 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26798 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26799 echo $ECHO_N "(cached) $ECHO_C" >&6
26800 else
26801 ac_check_lib_save_LIBS=$LIBS
26802 LIBS="-lpng -lz -lm $LIBS"
26803 cat >conftest.$ac_ext <<_ACEOF
26804 /* confdefs.h. */
26805 _ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26809
26810 /* Override any GCC internal prototype to avoid an error.
26811 Use char because int might match the return type of a GCC
26812 builtin and then its argument prototype would still apply. */
26813 #ifdef __cplusplus
26814 extern "C"
26815 #endif
26816 char png_check_sig ();
26817 int
26818 main ()
26819 {
26820 return png_check_sig ();
26821 ;
26822 return 0;
26823 }
26824 _ACEOF
26825 rm -f conftest.$ac_objext conftest$ac_exeext
26826 if { (ac_try="$ac_link"
26827 case "(($ac_try" in
26828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26829 *) ac_try_echo=$ac_try;;
26830 esac
26831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26832 (eval "$ac_link") 2>conftest.er1
26833 ac_status=$?
26834 grep -v '^ *+' conftest.er1 >conftest.err
26835 rm -f conftest.er1
26836 cat conftest.err >&5
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } && {
26839 test -z "$ac_c_werror_flag" ||
26840 test ! -s conftest.err
26841 } && test -s conftest$ac_exeext &&
26842 $as_test_x conftest$ac_exeext; then
26843 ac_cv_lib_png_png_check_sig=yes
26844 else
26845 echo "$as_me: failed program was:" >&5
26846 sed 's/^/| /' conftest.$ac_ext >&5
26847
26848 ac_cv_lib_png_png_check_sig=no
26849 fi
26850
26851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26852 conftest$ac_exeext conftest.$ac_ext
26853 LIBS=$ac_check_lib_save_LIBS
26854 fi
26855 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26856 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26857 if test $ac_cv_lib_png_png_check_sig = yes; then
26858 PNG_LINK=" -lpng -lz"
26859 fi
26860
26861 fi
26862
26863 if test "x$PNG_LINK" = "x" ; then
26864 if test "$wxUSE_LIBPNG" = "sys" ; then
26865 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26866 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26867 { (exit 1); exit 1; }; }
26868 else
26869 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26870 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26871 wxUSE_LIBPNG=builtin
26872 fi
26873 else
26874 wxUSE_LIBPNG=sys
26875 fi
26876 fi
26877 fi
26878
26879 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26880 fi
26881
26882
26883 JPEG_LINK=
26884 if test "$wxUSE_LIBJPEG" != "no" ; then
26885 cat >>confdefs.h <<\_ACEOF
26886 #define wxUSE_LIBJPEG 1
26887 _ACEOF
26888
26889
26890 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26891 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26892 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26893 wxUSE_LIBJPEG=sys
26894 fi
26895
26896 if test "$wxUSE_MGL" != 1 ; then
26897 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26898 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26899 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26900 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26901 echo $ECHO_N "(cached) $ECHO_C" >&6
26902 else
26903 cat >conftest.$ac_ext <<_ACEOF
26904 /* confdefs.h. */
26905 _ACEOF
26906 cat confdefs.h >>conftest.$ac_ext
26907 cat >>conftest.$ac_ext <<_ACEOF
26908 /* end confdefs.h. */
26909
26910 #undef HAVE_STDLIB_H
26911 #include <stdio.h>
26912 #include <jpeglib.h>
26913
26914 int
26915 main ()
26916 {
26917
26918
26919 ;
26920 return 0;
26921 }
26922 _ACEOF
26923 rm -f conftest.$ac_objext
26924 if { (ac_try="$ac_compile"
26925 case "(($ac_try" in
26926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26927 *) ac_try_echo=$ac_try;;
26928 esac
26929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26930 (eval "$ac_compile") 2>conftest.er1
26931 ac_status=$?
26932 grep -v '^ *+' conftest.er1 >conftest.err
26933 rm -f conftest.er1
26934 cat conftest.err >&5
26935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26936 (exit $ac_status); } && {
26937 test -z "$ac_c_werror_flag" ||
26938 test ! -s conftest.err
26939 } && test -s conftest.$ac_objext; then
26940 ac_cv_header_jpeglib_h=yes
26941 else
26942 echo "$as_me: failed program was:" >&5
26943 sed 's/^/| /' conftest.$ac_ext >&5
26944
26945 ac_cv_header_jpeglib_h=no
26946
26947 fi
26948
26949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26950
26951 fi
26952
26953 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26954 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26955
26956 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26957 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26958 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26959 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26960 echo $ECHO_N "(cached) $ECHO_C" >&6
26961 else
26962 ac_check_lib_save_LIBS=$LIBS
26963 LIBS="-ljpeg $LIBS"
26964 cat >conftest.$ac_ext <<_ACEOF
26965 /* confdefs.h. */
26966 _ACEOF
26967 cat confdefs.h >>conftest.$ac_ext
26968 cat >>conftest.$ac_ext <<_ACEOF
26969 /* end confdefs.h. */
26970
26971 /* Override any GCC internal prototype to avoid an error.
26972 Use char because int might match the return type of a GCC
26973 builtin and then its argument prototype would still apply. */
26974 #ifdef __cplusplus
26975 extern "C"
26976 #endif
26977 char jpeg_read_header ();
26978 int
26979 main ()
26980 {
26981 return jpeg_read_header ();
26982 ;
26983 return 0;
26984 }
26985 _ACEOF
26986 rm -f conftest.$ac_objext conftest$ac_exeext
26987 if { (ac_try="$ac_link"
26988 case "(($ac_try" in
26989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26990 *) ac_try_echo=$ac_try;;
26991 esac
26992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26993 (eval "$ac_link") 2>conftest.er1
26994 ac_status=$?
26995 grep -v '^ *+' conftest.er1 >conftest.err
26996 rm -f conftest.er1
26997 cat conftest.err >&5
26998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999 (exit $ac_status); } && {
27000 test -z "$ac_c_werror_flag" ||
27001 test ! -s conftest.err
27002 } && test -s conftest$ac_exeext &&
27003 $as_test_x conftest$ac_exeext; then
27004 ac_cv_lib_jpeg_jpeg_read_header=yes
27005 else
27006 echo "$as_me: failed program was:" >&5
27007 sed 's/^/| /' conftest.$ac_ext >&5
27008
27009 ac_cv_lib_jpeg_jpeg_read_header=no
27010 fi
27011
27012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27013 conftest$ac_exeext conftest.$ac_ext
27014 LIBS=$ac_check_lib_save_LIBS
27015 fi
27016 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27017 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27018 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27019 JPEG_LINK=" -ljpeg"
27020 fi
27021
27022 fi
27023
27024 if test "x$JPEG_LINK" = "x" ; then
27025 if test "$wxUSE_LIBJPEG" = "sys" ; then
27026 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27027 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27028 { (exit 1); exit 1; }; }
27029 else
27030 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27031 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27032 wxUSE_LIBJPEG=builtin
27033 fi
27034 else
27035 wxUSE_LIBJPEG=sys
27036
27037 if test "$wxUSE_MSW" = 1; then
27038 { echo "$as_me:$LINENO: checking for boolean" >&5
27039 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27040 if test "${ac_cv_type_boolean+set}" = set; then
27041 echo $ECHO_N "(cached) $ECHO_C" >&6
27042 else
27043 cat >conftest.$ac_ext <<_ACEOF
27044 /* confdefs.h. */
27045 _ACEOF
27046 cat confdefs.h >>conftest.$ac_ext
27047 cat >>conftest.$ac_ext <<_ACEOF
27048 /* end confdefs.h. */
27049 #include <windows.h>
27050
27051 typedef boolean ac__type_new_;
27052 int
27053 main ()
27054 {
27055 if ((ac__type_new_ *) 0)
27056 return 0;
27057 if (sizeof (ac__type_new_))
27058 return 0;
27059 ;
27060 return 0;
27061 }
27062 _ACEOF
27063 rm -f conftest.$ac_objext
27064 if { (ac_try="$ac_compile"
27065 case "(($ac_try" in
27066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27067 *) ac_try_echo=$ac_try;;
27068 esac
27069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27070 (eval "$ac_compile") 2>conftest.er1
27071 ac_status=$?
27072 grep -v '^ *+' conftest.er1 >conftest.err
27073 rm -f conftest.er1
27074 cat conftest.err >&5
27075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27076 (exit $ac_status); } && {
27077 test -z "$ac_c_werror_flag" ||
27078 test ! -s conftest.err
27079 } && test -s conftest.$ac_objext; then
27080 ac_cv_type_boolean=yes
27081 else
27082 echo "$as_me: failed program was:" >&5
27083 sed 's/^/| /' conftest.$ac_ext >&5
27084
27085 ac_cv_type_boolean=no
27086 fi
27087
27088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27089 fi
27090 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27091 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27092 if test $ac_cv_type_boolean = yes; then
27093
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE_BOOLEAN 1
27096 _ACEOF
27097
27098
27099 { echo "$as_me:$LINENO: checking for boolean" >&5
27100 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27101 if test "${ac_cv_type_boolean+set}" = set; then
27102 echo $ECHO_N "(cached) $ECHO_C" >&6
27103 else
27104 cat >conftest.$ac_ext <<_ACEOF
27105 /* confdefs.h. */
27106 _ACEOF
27107 cat confdefs.h >>conftest.$ac_ext
27108 cat >>conftest.$ac_ext <<_ACEOF
27109 /* end confdefs.h. */
27110
27111 #undef HAVE_BOOLEAN
27112 #include <stdio.h>
27113 #include <jpeglib.h>
27114
27115
27116 typedef boolean ac__type_new_;
27117 int
27118 main ()
27119 {
27120 if ((ac__type_new_ *) 0)
27121 return 0;
27122 if (sizeof (ac__type_new_))
27123 return 0;
27124 ;
27125 return 0;
27126 }
27127 _ACEOF
27128 rm -f conftest.$ac_objext
27129 if { (ac_try="$ac_compile"
27130 case "(($ac_try" in
27131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27132 *) ac_try_echo=$ac_try;;
27133 esac
27134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27135 (eval "$ac_compile") 2>conftest.er1
27136 ac_status=$?
27137 grep -v '^ *+' conftest.er1 >conftest.err
27138 rm -f conftest.er1
27139 cat conftest.err >&5
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); } && {
27142 test -z "$ac_c_werror_flag" ||
27143 test ! -s conftest.err
27144 } && test -s conftest.$ac_objext; then
27145 ac_cv_type_boolean=yes
27146 else
27147 echo "$as_me: failed program was:" >&5
27148 sed 's/^/| /' conftest.$ac_ext >&5
27149
27150 ac_cv_type_boolean=no
27151 fi
27152
27153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27154 fi
27155 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27156 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27157
27158 # The cast to long int works around a bug in the HP C Compiler
27159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27160 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27161 # This bug is HP SR number 8606223364.
27162 { echo "$as_me:$LINENO: checking size of boolean" >&5
27163 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27164 if test "${ac_cv_sizeof_boolean+set}" = set; then
27165 echo $ECHO_N "(cached) $ECHO_C" >&6
27166 else
27167 if test "$cross_compiling" = yes; then
27168 # Depending upon the size, compute the lo and hi bounds.
27169 cat >conftest.$ac_ext <<_ACEOF
27170 /* confdefs.h. */
27171 _ACEOF
27172 cat confdefs.h >>conftest.$ac_ext
27173 cat >>conftest.$ac_ext <<_ACEOF
27174 /* end confdefs.h. */
27175
27176 #undef HAVE_BOOLEAN
27177 #include <stdio.h>
27178 #include <jpeglib.h>
27179
27180
27181 typedef boolean ac__type_sizeof_;
27182 int
27183 main ()
27184 {
27185 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27186 test_array [0] = 0
27187
27188 ;
27189 return 0;
27190 }
27191 _ACEOF
27192 rm -f conftest.$ac_objext
27193 if { (ac_try="$ac_compile"
27194 case "(($ac_try" in
27195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27196 *) ac_try_echo=$ac_try;;
27197 esac
27198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27199 (eval "$ac_compile") 2>conftest.er1
27200 ac_status=$?
27201 grep -v '^ *+' conftest.er1 >conftest.err
27202 rm -f conftest.er1
27203 cat conftest.err >&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } && {
27206 test -z "$ac_c_werror_flag" ||
27207 test ! -s conftest.err
27208 } && test -s conftest.$ac_objext; then
27209 ac_lo=0 ac_mid=0
27210 while :; do
27211 cat >conftest.$ac_ext <<_ACEOF
27212 /* confdefs.h. */
27213 _ACEOF
27214 cat confdefs.h >>conftest.$ac_ext
27215 cat >>conftest.$ac_ext <<_ACEOF
27216 /* end confdefs.h. */
27217
27218 #undef HAVE_BOOLEAN
27219 #include <stdio.h>
27220 #include <jpeglib.h>
27221
27222
27223 typedef boolean ac__type_sizeof_;
27224 int
27225 main ()
27226 {
27227 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27228 test_array [0] = 0
27229
27230 ;
27231 return 0;
27232 }
27233 _ACEOF
27234 rm -f conftest.$ac_objext
27235 if { (ac_try="$ac_compile"
27236 case "(($ac_try" in
27237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27238 *) ac_try_echo=$ac_try;;
27239 esac
27240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27241 (eval "$ac_compile") 2>conftest.er1
27242 ac_status=$?
27243 grep -v '^ *+' conftest.er1 >conftest.err
27244 rm -f conftest.er1
27245 cat conftest.err >&5
27246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247 (exit $ac_status); } && {
27248 test -z "$ac_c_werror_flag" ||
27249 test ! -s conftest.err
27250 } && test -s conftest.$ac_objext; then
27251 ac_hi=$ac_mid; break
27252 else
27253 echo "$as_me: failed program was:" >&5
27254 sed 's/^/| /' conftest.$ac_ext >&5
27255
27256 ac_lo=`expr $ac_mid + 1`
27257 if test $ac_lo -le $ac_mid; then
27258 ac_lo= ac_hi=
27259 break
27260 fi
27261 ac_mid=`expr 2 '*' $ac_mid + 1`
27262 fi
27263
27264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27265 done
27266 else
27267 echo "$as_me: failed program was:" >&5
27268 sed 's/^/| /' conftest.$ac_ext >&5
27269
27270 cat >conftest.$ac_ext <<_ACEOF
27271 /* confdefs.h. */
27272 _ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276
27277 #undef HAVE_BOOLEAN
27278 #include <stdio.h>
27279 #include <jpeglib.h>
27280
27281
27282 typedef boolean ac__type_sizeof_;
27283 int
27284 main ()
27285 {
27286 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27287 test_array [0] = 0
27288
27289 ;
27290 return 0;
27291 }
27292 _ACEOF
27293 rm -f conftest.$ac_objext
27294 if { (ac_try="$ac_compile"
27295 case "(($ac_try" in
27296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27297 *) ac_try_echo=$ac_try;;
27298 esac
27299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27300 (eval "$ac_compile") 2>conftest.er1
27301 ac_status=$?
27302 grep -v '^ *+' conftest.er1 >conftest.err
27303 rm -f conftest.er1
27304 cat conftest.err >&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); } && {
27307 test -z "$ac_c_werror_flag" ||
27308 test ! -s conftest.err
27309 } && test -s conftest.$ac_objext; then
27310 ac_hi=-1 ac_mid=-1
27311 while :; do
27312 cat >conftest.$ac_ext <<_ACEOF
27313 /* confdefs.h. */
27314 _ACEOF
27315 cat confdefs.h >>conftest.$ac_ext
27316 cat >>conftest.$ac_ext <<_ACEOF
27317 /* end confdefs.h. */
27318
27319 #undef HAVE_BOOLEAN
27320 #include <stdio.h>
27321 #include <jpeglib.h>
27322
27323
27324 typedef boolean ac__type_sizeof_;
27325 int
27326 main ()
27327 {
27328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27329 test_array [0] = 0
27330
27331 ;
27332 return 0;
27333 }
27334 _ACEOF
27335 rm -f conftest.$ac_objext
27336 if { (ac_try="$ac_compile"
27337 case "(($ac_try" in
27338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27339 *) ac_try_echo=$ac_try;;
27340 esac
27341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27342 (eval "$ac_compile") 2>conftest.er1
27343 ac_status=$?
27344 grep -v '^ *+' conftest.er1 >conftest.err
27345 rm -f conftest.er1
27346 cat conftest.err >&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } && {
27349 test -z "$ac_c_werror_flag" ||
27350 test ! -s conftest.err
27351 } && test -s conftest.$ac_objext; then
27352 ac_lo=$ac_mid; break
27353 else
27354 echo "$as_me: failed program was:" >&5
27355 sed 's/^/| /' conftest.$ac_ext >&5
27356
27357 ac_hi=`expr '(' $ac_mid ')' - 1`
27358 if test $ac_mid -le $ac_hi; then
27359 ac_lo= ac_hi=
27360 break
27361 fi
27362 ac_mid=`expr 2 '*' $ac_mid`
27363 fi
27364
27365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27366 done
27367 else
27368 echo "$as_me: failed program was:" >&5
27369 sed 's/^/| /' conftest.$ac_ext >&5
27370
27371 ac_lo= ac_hi=
27372 fi
27373
27374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27375 fi
27376
27377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27378 # Binary search between lo and hi bounds.
27379 while test "x$ac_lo" != "x$ac_hi"; do
27380 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27381 cat >conftest.$ac_ext <<_ACEOF
27382 /* confdefs.h. */
27383 _ACEOF
27384 cat confdefs.h >>conftest.$ac_ext
27385 cat >>conftest.$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387
27388 #undef HAVE_BOOLEAN
27389 #include <stdio.h>
27390 #include <jpeglib.h>
27391
27392
27393 typedef boolean ac__type_sizeof_;
27394 int
27395 main ()
27396 {
27397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27398 test_array [0] = 0
27399
27400 ;
27401 return 0;
27402 }
27403 _ACEOF
27404 rm -f conftest.$ac_objext
27405 if { (ac_try="$ac_compile"
27406 case "(($ac_try" in
27407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27408 *) ac_try_echo=$ac_try;;
27409 esac
27410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27411 (eval "$ac_compile") 2>conftest.er1
27412 ac_status=$?
27413 grep -v '^ *+' conftest.er1 >conftest.err
27414 rm -f conftest.er1
27415 cat conftest.err >&5
27416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27417 (exit $ac_status); } && {
27418 test -z "$ac_c_werror_flag" ||
27419 test ! -s conftest.err
27420 } && test -s conftest.$ac_objext; then
27421 ac_hi=$ac_mid
27422 else
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.$ac_ext >&5
27425
27426 ac_lo=`expr '(' $ac_mid ')' + 1`
27427 fi
27428
27429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27430 done
27431 case $ac_lo in
27432 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27433 '') if test "$ac_cv_type_boolean" = yes; then
27434 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27435 See \`config.log' for more details." >&5
27436 echo "$as_me: error: cannot compute sizeof (boolean)
27437 See \`config.log' for more details." >&2;}
27438 { (exit 77); exit 77; }; }
27439 else
27440 ac_cv_sizeof_boolean=0
27441 fi ;;
27442 esac
27443 else
27444 cat >conftest.$ac_ext <<_ACEOF
27445 /* confdefs.h. */
27446 _ACEOF
27447 cat confdefs.h >>conftest.$ac_ext
27448 cat >>conftest.$ac_ext <<_ACEOF
27449 /* end confdefs.h. */
27450
27451 #undef HAVE_BOOLEAN
27452 #include <stdio.h>
27453 #include <jpeglib.h>
27454
27455
27456 typedef boolean ac__type_sizeof_;
27457 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27458 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27459 #include <stdio.h>
27460 #include <stdlib.h>
27461 int
27462 main ()
27463 {
27464
27465 FILE *f = fopen ("conftest.val", "w");
27466 if (! f)
27467 return 1;
27468 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27469 {
27470 long int i = longval ();
27471 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27472 return 1;
27473 fprintf (f, "%ld\n", i);
27474 }
27475 else
27476 {
27477 unsigned long int i = ulongval ();
27478 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27479 return 1;
27480 fprintf (f, "%lu\n", i);
27481 }
27482 return ferror (f) || fclose (f) != 0;
27483
27484 ;
27485 return 0;
27486 }
27487 _ACEOF
27488 rm -f conftest$ac_exeext
27489 if { (ac_try="$ac_link"
27490 case "(($ac_try" in
27491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27492 *) ac_try_echo=$ac_try;;
27493 esac
27494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27495 (eval "$ac_link") 2>&5
27496 ac_status=$?
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27499 { (case "(($ac_try" in
27500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27501 *) ac_try_echo=$ac_try;;
27502 esac
27503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27504 (eval "$ac_try") 2>&5
27505 ac_status=$?
27506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507 (exit $ac_status); }; }; then
27508 ac_cv_sizeof_boolean=`cat conftest.val`
27509 else
27510 echo "$as_me: program exited with status $ac_status" >&5
27511 echo "$as_me: failed program was:" >&5
27512 sed 's/^/| /' conftest.$ac_ext >&5
27513
27514 ( exit $ac_status )
27515 if test "$ac_cv_type_boolean" = yes; then
27516 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27517 See \`config.log' for more details." >&5
27518 echo "$as_me: error: cannot compute sizeof (boolean)
27519 See \`config.log' for more details." >&2;}
27520 { (exit 77); exit 77; }; }
27521 else
27522 ac_cv_sizeof_boolean=0
27523 fi
27524 fi
27525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27526 fi
27527 rm -f conftest.val
27528 fi
27529 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27530 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27531
27532
27533
27534 cat >>confdefs.h <<_ACEOF
27535 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27536 _ACEOF
27537
27538
27539 cat >>confdefs.h <<_ACEOF
27540 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27541 _ACEOF
27542
27543
27544 fi
27545
27546 fi
27547 fi
27548 fi
27549 fi
27550 fi
27551
27552
27553 TIFF_LINK=
27554 TIFF_PREREQ_LINKS=-lm
27555 if test "$wxUSE_LIBTIFF" != "no" ; then
27556 cat >>confdefs.h <<\_ACEOF
27557 #define wxUSE_LIBTIFF 1
27558 _ACEOF
27559
27560
27561 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27562 if test "$wxUSE_LIBJPEG" = "sys"; then
27563 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27564 fi
27565 if test "$wxUSE_ZLIB" = "sys"; then
27566 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27567 fi
27568 if test "${ac_cv_header_tiffio_h+set}" = set; then
27569 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27570 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27571 if test "${ac_cv_header_tiffio_h+set}" = set; then
27572 echo $ECHO_N "(cached) $ECHO_C" >&6
27573 fi
27574 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27575 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27576 else
27577 # Is the header compilable?
27578 { echo "$as_me:$LINENO: checking tiffio.h usability" >&5
27579 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6; }
27580 cat >conftest.$ac_ext <<_ACEOF
27581 /* confdefs.h. */
27582 _ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27586 $ac_includes_default
27587 #include <tiffio.h>
27588 _ACEOF
27589 rm -f conftest.$ac_objext
27590 if { (ac_try="$ac_compile"
27591 case "(($ac_try" in
27592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27593 *) ac_try_echo=$ac_try;;
27594 esac
27595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27596 (eval "$ac_compile") 2>conftest.er1
27597 ac_status=$?
27598 grep -v '^ *+' conftest.er1 >conftest.err
27599 rm -f conftest.er1
27600 cat conftest.err >&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); } && {
27603 test -z "$ac_c_werror_flag" ||
27604 test ! -s conftest.err
27605 } && test -s conftest.$ac_objext; then
27606 ac_header_compiler=yes
27607 else
27608 echo "$as_me: failed program was:" >&5
27609 sed 's/^/| /' conftest.$ac_ext >&5
27610
27611 ac_header_compiler=no
27612 fi
27613
27614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27615 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27616 echo "${ECHO_T}$ac_header_compiler" >&6; }
27617
27618 # Is the header present?
27619 { echo "$as_me:$LINENO: checking tiffio.h presence" >&5
27620 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6; }
27621 cat >conftest.$ac_ext <<_ACEOF
27622 /* confdefs.h. */
27623 _ACEOF
27624 cat confdefs.h >>conftest.$ac_ext
27625 cat >>conftest.$ac_ext <<_ACEOF
27626 /* end confdefs.h. */
27627 #include <tiffio.h>
27628 _ACEOF
27629 if { (ac_try="$ac_cpp conftest.$ac_ext"
27630 case "(($ac_try" in
27631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27632 *) ac_try_echo=$ac_try;;
27633 esac
27634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27635 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27636 ac_status=$?
27637 grep -v '^ *+' conftest.er1 >conftest.err
27638 rm -f conftest.er1
27639 cat conftest.err >&5
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); } >/dev/null && {
27642 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27643 test ! -s conftest.err
27644 }; then
27645 ac_header_preproc=yes
27646 else
27647 echo "$as_me: failed program was:" >&5
27648 sed 's/^/| /' conftest.$ac_ext >&5
27649
27650 ac_header_preproc=no
27651 fi
27652
27653 rm -f conftest.err conftest.$ac_ext
27654 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27655 echo "${ECHO_T}$ac_header_preproc" >&6; }
27656
27657 # So? What about this header?
27658 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27659 yes:no: )
27660 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
27661 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27662 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
27663 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
27664 ac_header_preproc=yes
27665 ;;
27666 no:yes:* )
27667 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
27668 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
27669 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
27670 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
27671 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
27672 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
27673 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
27674 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
27675 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
27676 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
27677 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
27678 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
27679 ( cat <<\_ASBOX
27680 ## ----------------------------------------- ##
27681 ## Report this to wx-dev@lists.wxwidgets.org ##
27682 ## ----------------------------------------- ##
27683 _ASBOX
27684 ) | sed "s/^/$as_me: WARNING: /" >&2
27685 ;;
27686 esac
27687 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27688 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27689 if test "${ac_cv_header_tiffio_h+set}" = set; then
27690 echo $ECHO_N "(cached) $ECHO_C" >&6
27691 else
27692 ac_cv_header_tiffio_h=$ac_header_preproc
27693 fi
27694 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27695 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27696
27697 fi
27698 if test $ac_cv_header_tiffio_h = yes; then
27699
27700 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27701 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27702 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27703 echo $ECHO_N "(cached) $ECHO_C" >&6
27704 else
27705 ac_check_lib_save_LIBS=$LIBS
27706 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27707 cat >conftest.$ac_ext <<_ACEOF
27708 /* confdefs.h. */
27709 _ACEOF
27710 cat confdefs.h >>conftest.$ac_ext
27711 cat >>conftest.$ac_ext <<_ACEOF
27712 /* end confdefs.h. */
27713
27714 /* Override any GCC internal prototype to avoid an error.
27715 Use char because int might match the return type of a GCC
27716 builtin and then its argument prototype would still apply. */
27717 #ifdef __cplusplus
27718 extern "C"
27719 #endif
27720 char TIFFError ();
27721 int
27722 main ()
27723 {
27724 return TIFFError ();
27725 ;
27726 return 0;
27727 }
27728 _ACEOF
27729 rm -f conftest.$ac_objext conftest$ac_exeext
27730 if { (ac_try="$ac_link"
27731 case "(($ac_try" in
27732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27733 *) ac_try_echo=$ac_try;;
27734 esac
27735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27736 (eval "$ac_link") 2>conftest.er1
27737 ac_status=$?
27738 grep -v '^ *+' conftest.er1 >conftest.err
27739 rm -f conftest.er1
27740 cat conftest.err >&5
27741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27742 (exit $ac_status); } && {
27743 test -z "$ac_c_werror_flag" ||
27744 test ! -s conftest.err
27745 } && test -s conftest$ac_exeext &&
27746 $as_test_x conftest$ac_exeext; then
27747 ac_cv_lib_tiff_TIFFError=yes
27748 else
27749 echo "$as_me: failed program was:" >&5
27750 sed 's/^/| /' conftest.$ac_ext >&5
27751
27752 ac_cv_lib_tiff_TIFFError=no
27753 fi
27754
27755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27756 conftest$ac_exeext conftest.$ac_ext
27757 LIBS=$ac_check_lib_save_LIBS
27758 fi
27759 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27760 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27761 if test $ac_cv_lib_tiff_TIFFError = yes; then
27762 TIFF_LINK=" -ltiff"
27763 fi
27764
27765
27766
27767 fi
27768
27769
27770
27771 if test "x$TIFF_LINK" = "x" ; then
27772 if test "$wxUSE_LIBTIFF" = "sys" ; then
27773 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27774 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27775 { (exit 1); exit 1; }; }
27776 else
27777 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27778 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27779 wxUSE_LIBTIFF=builtin
27780 fi
27781 else
27782 wxUSE_LIBTIFF=sys
27783 fi
27784 fi
27785 fi
27786
27787
27788 if test "$wxUSE_WCHAR_T" != "yes"; then
27789 if test "$wxUSE_EXPAT" != "no"; then
27790 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27791 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27792 wxUSE_EXPAT=no
27793 fi
27794 if test "$wxUSE_XML" != "no"; then
27795 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27796 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27797 wxUSE_XML=no
27798 fi
27799 fi
27800
27801 if test "$wxUSE_EXPAT" != "no"; then
27802 wxUSE_XML=yes
27803 cat >>confdefs.h <<\_ACEOF
27804 #define wxUSE_EXPAT 1
27805 _ACEOF
27806
27807 cat >>confdefs.h <<\_ACEOF
27808 #define wxUSE_XML 1
27809 _ACEOF
27810
27811
27812 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27813 if test "${ac_cv_header_expat_h+set}" = set; then
27814 { echo "$as_me:$LINENO: checking for expat.h" >&5
27815 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27816 if test "${ac_cv_header_expat_h+set}" = set; then
27817 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 fi
27819 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27820 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27821 else
27822 # Is the header compilable?
27823 { echo "$as_me:$LINENO: checking expat.h usability" >&5
27824 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6; }
27825 cat >conftest.$ac_ext <<_ACEOF
27826 /* confdefs.h. */
27827 _ACEOF
27828 cat confdefs.h >>conftest.$ac_ext
27829 cat >>conftest.$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27831 $ac_includes_default
27832 #include <expat.h>
27833 _ACEOF
27834 rm -f conftest.$ac_objext
27835 if { (ac_try="$ac_compile"
27836 case "(($ac_try" in
27837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27838 *) ac_try_echo=$ac_try;;
27839 esac
27840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27841 (eval "$ac_compile") 2>conftest.er1
27842 ac_status=$?
27843 grep -v '^ *+' conftest.er1 >conftest.err
27844 rm -f conftest.er1
27845 cat conftest.err >&5
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); } && {
27848 test -z "$ac_c_werror_flag" ||
27849 test ! -s conftest.err
27850 } && test -s conftest.$ac_objext; then
27851 ac_header_compiler=yes
27852 else
27853 echo "$as_me: failed program was:" >&5
27854 sed 's/^/| /' conftest.$ac_ext >&5
27855
27856 ac_header_compiler=no
27857 fi
27858
27859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27860 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27861 echo "${ECHO_T}$ac_header_compiler" >&6; }
27862
27863 # Is the header present?
27864 { echo "$as_me:$LINENO: checking expat.h presence" >&5
27865 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6; }
27866 cat >conftest.$ac_ext <<_ACEOF
27867 /* confdefs.h. */
27868 _ACEOF
27869 cat confdefs.h >>conftest.$ac_ext
27870 cat >>conftest.$ac_ext <<_ACEOF
27871 /* end confdefs.h. */
27872 #include <expat.h>
27873 _ACEOF
27874 if { (ac_try="$ac_cpp conftest.$ac_ext"
27875 case "(($ac_try" in
27876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27877 *) ac_try_echo=$ac_try;;
27878 esac
27879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27881 ac_status=$?
27882 grep -v '^ *+' conftest.er1 >conftest.err
27883 rm -f conftest.er1
27884 cat conftest.err >&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); } >/dev/null && {
27887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27888 test ! -s conftest.err
27889 }; then
27890 ac_header_preproc=yes
27891 else
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.$ac_ext >&5
27894
27895 ac_header_preproc=no
27896 fi
27897
27898 rm -f conftest.err conftest.$ac_ext
27899 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27900 echo "${ECHO_T}$ac_header_preproc" >&6; }
27901
27902 # So? What about this header?
27903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27904 yes:no: )
27905 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27906 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27907 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27908 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27909 ac_header_preproc=yes
27910 ;;
27911 no:yes:* )
27912 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27913 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27914 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27915 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27916 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27917 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27918 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27919 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27920 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27921 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27922 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27923 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27924 ( cat <<\_ASBOX
27925 ## ----------------------------------------- ##
27926 ## Report this to wx-dev@lists.wxwidgets.org ##
27927 ## ----------------------------------------- ##
27928 _ASBOX
27929 ) | sed "s/^/$as_me: WARNING: /" >&2
27930 ;;
27931 esac
27932 { echo "$as_me:$LINENO: checking for expat.h" >&5
27933 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27934 if test "${ac_cv_header_expat_h+set}" = set; then
27935 echo $ECHO_N "(cached) $ECHO_C" >&6
27936 else
27937 ac_cv_header_expat_h=$ac_header_preproc
27938 fi
27939 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27940 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27941
27942 fi
27943 if test $ac_cv_header_expat_h = yes; then
27944 found_expat_h=1
27945 fi
27946
27947
27948 if test "x$found_expat_h" = "x1"; then
27949 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27950 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27951 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27952 echo $ECHO_N "(cached) $ECHO_C" >&6
27953 else
27954
27955 ac_ext=cpp
27956 ac_cpp='$CXXCPP $CPPFLAGS'
27957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27960
27961 cat >conftest.$ac_ext <<_ACEOF
27962 /* confdefs.h. */
27963 _ACEOF
27964 cat confdefs.h >>conftest.$ac_ext
27965 cat >>conftest.$ac_ext <<_ACEOF
27966 /* end confdefs.h. */
27967 #include <expat.h>
27968 int
27969 main ()
27970 {
27971
27972 ;
27973 return 0;
27974 }
27975 _ACEOF
27976 rm -f conftest.$ac_objext
27977 if { (ac_try="$ac_compile"
27978 case "(($ac_try" in
27979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27980 *) ac_try_echo=$ac_try;;
27981 esac
27982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27983 (eval "$ac_compile") 2>conftest.er1
27984 ac_status=$?
27985 grep -v '^ *+' conftest.er1 >conftest.err
27986 rm -f conftest.er1
27987 cat conftest.err >&5
27988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989 (exit $ac_status); } && {
27990 test -z "$ac_cxx_werror_flag" ||
27991 test ! -s conftest.err
27992 } && test -s conftest.$ac_objext; then
27993 wx_cv_expat_is_not_broken=yes
27994 else
27995 echo "$as_me: failed program was:" >&5
27996 sed 's/^/| /' conftest.$ac_ext >&5
27997
27998 wx_cv_expat_is_not_broken=no
27999
28000 fi
28001
28002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28003 ac_ext=c
28004 ac_cpp='$CPP $CPPFLAGS'
28005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28008
28009
28010
28011 fi
28012 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28013 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28014 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28015 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28016 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28017 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28018 echo $ECHO_N "(cached) $ECHO_C" >&6
28019 else
28020 ac_check_lib_save_LIBS=$LIBS
28021 LIBS="-lexpat $LIBS"
28022 cat >conftest.$ac_ext <<_ACEOF
28023 /* confdefs.h. */
28024 _ACEOF
28025 cat confdefs.h >>conftest.$ac_ext
28026 cat >>conftest.$ac_ext <<_ACEOF
28027 /* end confdefs.h. */
28028
28029 /* Override any GCC internal prototype to avoid an error.
28030 Use char because int might match the return type of a GCC
28031 builtin and then its argument prototype would still apply. */
28032 #ifdef __cplusplus
28033 extern "C"
28034 #endif
28035 char XML_ParserCreate ();
28036 int
28037 main ()
28038 {
28039 return XML_ParserCreate ();
28040 ;
28041 return 0;
28042 }
28043 _ACEOF
28044 rm -f conftest.$ac_objext conftest$ac_exeext
28045 if { (ac_try="$ac_link"
28046 case "(($ac_try" in
28047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28048 *) ac_try_echo=$ac_try;;
28049 esac
28050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28051 (eval "$ac_link") 2>conftest.er1
28052 ac_status=$?
28053 grep -v '^ *+' conftest.er1 >conftest.err
28054 rm -f conftest.er1
28055 cat conftest.err >&5
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); } && {
28058 test -z "$ac_c_werror_flag" ||
28059 test ! -s conftest.err
28060 } && test -s conftest$ac_exeext &&
28061 $as_test_x conftest$ac_exeext; then
28062 ac_cv_lib_expat_XML_ParserCreate=yes
28063 else
28064 echo "$as_me: failed program was:" >&5
28065 sed 's/^/| /' conftest.$ac_ext >&5
28066
28067 ac_cv_lib_expat_XML_ParserCreate=no
28068 fi
28069
28070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28071 conftest$ac_exeext conftest.$ac_ext
28072 LIBS=$ac_check_lib_save_LIBS
28073 fi
28074 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28075 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28076 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28077 EXPAT_LINK=" -lexpat"
28078 fi
28079
28080 fi
28081 fi
28082 if test "x$EXPAT_LINK" = "x" ; then
28083 if test "$wxUSE_EXPAT" = "sys" ; then
28084 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28085 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28086 { (exit 1); exit 1; }; }
28087 else
28088 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28089 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28090 wxUSE_EXPAT=builtin
28091 fi
28092 else
28093 wxUSE_EXPAT=sys
28094 fi
28095 fi
28096 if test "$wxUSE_EXPAT" = "builtin" ; then
28097 subdirs="$subdirs src/expat"
28098
28099 fi
28100 fi
28101
28102
28103
28104 if test "$wxUSE_LIBMSPACK" != "no"; then
28105 if test "${ac_cv_header_mspack_h+set}" = set; then
28106 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28107 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28108 if test "${ac_cv_header_mspack_h+set}" = set; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28110 fi
28111 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28112 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28113 else
28114 # Is the header compilable?
28115 { echo "$as_me:$LINENO: checking mspack.h usability" >&5
28116 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6; }
28117 cat >conftest.$ac_ext <<_ACEOF
28118 /* confdefs.h. */
28119 _ACEOF
28120 cat confdefs.h >>conftest.$ac_ext
28121 cat >>conftest.$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28123 $ac_includes_default
28124 #include <mspack.h>
28125 _ACEOF
28126 rm -f conftest.$ac_objext
28127 if { (ac_try="$ac_compile"
28128 case "(($ac_try" in
28129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28130 *) ac_try_echo=$ac_try;;
28131 esac
28132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28133 (eval "$ac_compile") 2>conftest.er1
28134 ac_status=$?
28135 grep -v '^ *+' conftest.er1 >conftest.err
28136 rm -f conftest.er1
28137 cat conftest.err >&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); } && {
28140 test -z "$ac_c_werror_flag" ||
28141 test ! -s conftest.err
28142 } && test -s conftest.$ac_objext; then
28143 ac_header_compiler=yes
28144 else
28145 echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28147
28148 ac_header_compiler=no
28149 fi
28150
28151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28152 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28153 echo "${ECHO_T}$ac_header_compiler" >&6; }
28154
28155 # Is the header present?
28156 { echo "$as_me:$LINENO: checking mspack.h presence" >&5
28157 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6; }
28158 cat >conftest.$ac_ext <<_ACEOF
28159 /* confdefs.h. */
28160 _ACEOF
28161 cat confdefs.h >>conftest.$ac_ext
28162 cat >>conftest.$ac_ext <<_ACEOF
28163 /* end confdefs.h. */
28164 #include <mspack.h>
28165 _ACEOF
28166 if { (ac_try="$ac_cpp conftest.$ac_ext"
28167 case "(($ac_try" in
28168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28169 *) ac_try_echo=$ac_try;;
28170 esac
28171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28173 ac_status=$?
28174 grep -v '^ *+' conftest.er1 >conftest.err
28175 rm -f conftest.er1
28176 cat conftest.err >&5
28177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28178 (exit $ac_status); } >/dev/null && {
28179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28180 test ! -s conftest.err
28181 }; then
28182 ac_header_preproc=yes
28183 else
28184 echo "$as_me: failed program was:" >&5
28185 sed 's/^/| /' conftest.$ac_ext >&5
28186
28187 ac_header_preproc=no
28188 fi
28189
28190 rm -f conftest.err conftest.$ac_ext
28191 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28192 echo "${ECHO_T}$ac_header_preproc" >&6; }
28193
28194 # So? What about this header?
28195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28196 yes:no: )
28197 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
28198 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28199 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
28200 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
28201 ac_header_preproc=yes
28202 ;;
28203 no:yes:* )
28204 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
28205 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
28206 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
28207 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
28208 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
28209 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
28210 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
28211 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
28212 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
28213 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
28214 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
28215 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
28216 ( cat <<\_ASBOX
28217 ## ----------------------------------------- ##
28218 ## Report this to wx-dev@lists.wxwidgets.org ##
28219 ## ----------------------------------------- ##
28220 _ASBOX
28221 ) | sed "s/^/$as_me: WARNING: /" >&2
28222 ;;
28223 esac
28224 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28225 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28226 if test "${ac_cv_header_mspack_h+set}" = set; then
28227 echo $ECHO_N "(cached) $ECHO_C" >&6
28228 else
28229 ac_cv_header_mspack_h=$ac_header_preproc
28230 fi
28231 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28232 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28233
28234 fi
28235 if test $ac_cv_header_mspack_h = yes; then
28236 found_mspack_h=1
28237 fi
28238
28239
28240 if test "x$found_mspack_h" = "x1"; then
28241 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28242 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28243 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28244 echo $ECHO_N "(cached) $ECHO_C" >&6
28245 else
28246 ac_check_lib_save_LIBS=$LIBS
28247 LIBS="-lmspack $LIBS"
28248 cat >conftest.$ac_ext <<_ACEOF
28249 /* confdefs.h. */
28250 _ACEOF
28251 cat confdefs.h >>conftest.$ac_ext
28252 cat >>conftest.$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28254
28255 /* Override any GCC internal prototype to avoid an error.
28256 Use char because int might match the return type of a GCC
28257 builtin and then its argument prototype would still apply. */
28258 #ifdef __cplusplus
28259 extern "C"
28260 #endif
28261 char mspack_create_chm_decompressor ();
28262 int
28263 main ()
28264 {
28265 return mspack_create_chm_decompressor ();
28266 ;
28267 return 0;
28268 }
28269 _ACEOF
28270 rm -f conftest.$ac_objext conftest$ac_exeext
28271 if { (ac_try="$ac_link"
28272 case "(($ac_try" in
28273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28274 *) ac_try_echo=$ac_try;;
28275 esac
28276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28277 (eval "$ac_link") 2>conftest.er1
28278 ac_status=$?
28279 grep -v '^ *+' conftest.er1 >conftest.err
28280 rm -f conftest.er1
28281 cat conftest.err >&5
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); } && {
28284 test -z "$ac_c_werror_flag" ||
28285 test ! -s conftest.err
28286 } && test -s conftest$ac_exeext &&
28287 $as_test_x conftest$ac_exeext; then
28288 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28289 else
28290 echo "$as_me: failed program was:" >&5
28291 sed 's/^/| /' conftest.$ac_ext >&5
28292
28293 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28294 fi
28295
28296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28297 conftest$ac_exeext conftest.$ac_ext
28298 LIBS=$ac_check_lib_save_LIBS
28299 fi
28300 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28301 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28302 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28303 MSPACK_LINK=" -lmspack"
28304 fi
28305
28306 fi
28307 if test "x$MSPACK_LINK" = "x" ; then
28308 wxUSE_LIBMSPACK=no
28309 fi
28310 fi
28311
28312 if test "$wxUSE_LIBMSPACK" != "no"; then
28313 cat >>confdefs.h <<\_ACEOF
28314 #define wxUSE_LIBMSPACK 1
28315 _ACEOF
28316
28317 fi
28318
28319
28320
28321 AFMINSTALL=
28322 WIN32INSTALL=
28323
28324 TOOLKIT=
28325 TOOLKIT_INCLUDE=
28326 WIDGET_SET=
28327
28328 if test "$USE_WIN32" = 1 ; then
28329
28330 for ac_header in w32api.h
28331 do
28332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28334 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28337 echo $ECHO_N "(cached) $ECHO_C" >&6
28338 fi
28339 ac_res=`eval echo '${'$as_ac_Header'}'`
28340 { echo "$as_me:$LINENO: result: $ac_res" >&5
28341 echo "${ECHO_T}$ac_res" >&6; }
28342 else
28343 # Is the header compilable?
28344 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28346 cat >conftest.$ac_ext <<_ACEOF
28347 /* confdefs.h. */
28348 _ACEOF
28349 cat confdefs.h >>conftest.$ac_ext
28350 cat >>conftest.$ac_ext <<_ACEOF
28351 /* end confdefs.h. */
28352 $ac_includes_default
28353 #include <$ac_header>
28354 _ACEOF
28355 rm -f conftest.$ac_objext
28356 if { (ac_try="$ac_compile"
28357 case "(($ac_try" in
28358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28359 *) ac_try_echo=$ac_try;;
28360 esac
28361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28362 (eval "$ac_compile") 2>conftest.er1
28363 ac_status=$?
28364 grep -v '^ *+' conftest.er1 >conftest.err
28365 rm -f conftest.er1
28366 cat conftest.err >&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } && {
28369 test -z "$ac_c_werror_flag" ||
28370 test ! -s conftest.err
28371 } && test -s conftest.$ac_objext; then
28372 ac_header_compiler=yes
28373 else
28374 echo "$as_me: failed program was:" >&5
28375 sed 's/^/| /' conftest.$ac_ext >&5
28376
28377 ac_header_compiler=no
28378 fi
28379
28380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28381 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28382 echo "${ECHO_T}$ac_header_compiler" >&6; }
28383
28384 # Is the header present?
28385 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28386 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28387 cat >conftest.$ac_ext <<_ACEOF
28388 /* confdefs.h. */
28389 _ACEOF
28390 cat confdefs.h >>conftest.$ac_ext
28391 cat >>conftest.$ac_ext <<_ACEOF
28392 /* end confdefs.h. */
28393 #include <$ac_header>
28394 _ACEOF
28395 if { (ac_try="$ac_cpp conftest.$ac_ext"
28396 case "(($ac_try" in
28397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28398 *) ac_try_echo=$ac_try;;
28399 esac
28400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28401 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28402 ac_status=$?
28403 grep -v '^ *+' conftest.er1 >conftest.err
28404 rm -f conftest.er1
28405 cat conftest.err >&5
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); } >/dev/null && {
28408 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28409 test ! -s conftest.err
28410 }; then
28411 ac_header_preproc=yes
28412 else
28413 echo "$as_me: failed program was:" >&5
28414 sed 's/^/| /' conftest.$ac_ext >&5
28415
28416 ac_header_preproc=no
28417 fi
28418
28419 rm -f conftest.err conftest.$ac_ext
28420 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28421 echo "${ECHO_T}$ac_header_preproc" >&6; }
28422
28423 # So? What about this header?
28424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28425 yes:no: )
28426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28429 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28430 ac_header_preproc=yes
28431 ;;
28432 no:yes:* )
28433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28445 ( cat <<\_ASBOX
28446 ## ----------------------------------------- ##
28447 ## Report this to wx-dev@lists.wxwidgets.org ##
28448 ## ----------------------------------------- ##
28449 _ASBOX
28450 ) | sed "s/^/$as_me: WARNING: /" >&2
28451 ;;
28452 esac
28453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28456 echo $ECHO_N "(cached) $ECHO_C" >&6
28457 else
28458 eval "$as_ac_Header=\$ac_header_preproc"
28459 fi
28460 ac_res=`eval echo '${'$as_ac_Header'}'`
28461 { echo "$as_me:$LINENO: result: $ac_res" >&5
28462 echo "${ECHO_T}$ac_res" >&6; }
28463
28464 fi
28465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28466 cat >>confdefs.h <<_ACEOF
28467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28468 _ACEOF
28469
28470 fi
28471
28472 done
28473
28474 if test "${ac_cv_header_windows_h+set}" = set; then
28475 { echo "$as_me:$LINENO: checking for windows.h" >&5
28476 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28477 if test "${ac_cv_header_windows_h+set}" = set; then
28478 echo $ECHO_N "(cached) $ECHO_C" >&6
28479 fi
28480 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28481 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28482 else
28483 # Is the header compilable?
28484 { echo "$as_me:$LINENO: checking windows.h usability" >&5
28485 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6; }
28486 cat >conftest.$ac_ext <<_ACEOF
28487 /* confdefs.h. */
28488 _ACEOF
28489 cat confdefs.h >>conftest.$ac_ext
28490 cat >>conftest.$ac_ext <<_ACEOF
28491 /* end confdefs.h. */
28492 $ac_includes_default
28493 #include <windows.h>
28494 _ACEOF
28495 rm -f conftest.$ac_objext
28496 if { (ac_try="$ac_compile"
28497 case "(($ac_try" in
28498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28499 *) ac_try_echo=$ac_try;;
28500 esac
28501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28502 (eval "$ac_compile") 2>conftest.er1
28503 ac_status=$?
28504 grep -v '^ *+' conftest.er1 >conftest.err
28505 rm -f conftest.er1
28506 cat conftest.err >&5
28507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28508 (exit $ac_status); } && {
28509 test -z "$ac_c_werror_flag" ||
28510 test ! -s conftest.err
28511 } && test -s conftest.$ac_objext; then
28512 ac_header_compiler=yes
28513 else
28514 echo "$as_me: failed program was:" >&5
28515 sed 's/^/| /' conftest.$ac_ext >&5
28516
28517 ac_header_compiler=no
28518 fi
28519
28520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28521 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28522 echo "${ECHO_T}$ac_header_compiler" >&6; }
28523
28524 # Is the header present?
28525 { echo "$as_me:$LINENO: checking windows.h presence" >&5
28526 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6; }
28527 cat >conftest.$ac_ext <<_ACEOF
28528 /* confdefs.h. */
28529 _ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28533 #include <windows.h>
28534 _ACEOF
28535 if { (ac_try="$ac_cpp conftest.$ac_ext"
28536 case "(($ac_try" in
28537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28538 *) ac_try_echo=$ac_try;;
28539 esac
28540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28541 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28542 ac_status=$?
28543 grep -v '^ *+' conftest.er1 >conftest.err
28544 rm -f conftest.er1
28545 cat conftest.err >&5
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); } >/dev/null && {
28548 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28549 test ! -s conftest.err
28550 }; then
28551 ac_header_preproc=yes
28552 else
28553 echo "$as_me: failed program was:" >&5
28554 sed 's/^/| /' conftest.$ac_ext >&5
28555
28556 ac_header_preproc=no
28557 fi
28558
28559 rm -f conftest.err conftest.$ac_ext
28560 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28561 echo "${ECHO_T}$ac_header_preproc" >&6; }
28562
28563 # So? What about this header?
28564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28565 yes:no: )
28566 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
28567 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28568 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
28569 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
28570 ac_header_preproc=yes
28571 ;;
28572 no:yes:* )
28573 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
28574 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
28575 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
28576 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
28577 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
28578 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
28579 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
28580 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
28581 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
28582 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
28583 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
28584 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
28585 ( cat <<\_ASBOX
28586 ## ----------------------------------------- ##
28587 ## Report this to wx-dev@lists.wxwidgets.org ##
28588 ## ----------------------------------------- ##
28589 _ASBOX
28590 ) | sed "s/^/$as_me: WARNING: /" >&2
28591 ;;
28592 esac
28593 { echo "$as_me:$LINENO: checking for windows.h" >&5
28594 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28595 if test "${ac_cv_header_windows_h+set}" = set; then
28596 echo $ECHO_N "(cached) $ECHO_C" >&6
28597 else
28598 ac_cv_header_windows_h=$ac_header_preproc
28599 fi
28600 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28601 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28602
28603 fi
28604 if test $ac_cv_header_windows_h = yes; then
28605 :
28606 else
28607
28608 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28609 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28610 { (exit 1); exit 1; }; }
28611
28612 fi
28613
28614
28615
28616 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28617
28618 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28619 LIBS="$LIBS -loleacc"
28620 fi
28621
28622 case "${host}" in
28623 *-*-cygwin* )
28624 LIBS="$LIBS -lkernel32 -luser32"
28625 esac
28626
28627 if test "$wxUSE_ODBC" = "sys" ; then
28628 wxUSE_ODBC = "yes"
28629 fi
28630 if test "$wxUSE_ODBC" = "yes" ; then
28631 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
28632 cat >>confdefs.h <<\_ACEOF
28633 #define wxUSE_ODBC 1
28634 _ACEOF
28635
28636 fi
28637
28638 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28639 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28640
28641 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28642
28643 WIN32INSTALL=win32install
28644
28645
28646 for ac_header in pbt.h
28647 do
28648 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28654 fi
28655 ac_res=`eval echo '${'$as_ac_Header'}'`
28656 { echo "$as_me:$LINENO: result: $ac_res" >&5
28657 echo "${ECHO_T}$ac_res" >&6; }
28658 else
28659 # Is the header compilable?
28660 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
28661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
28662 cat >conftest.$ac_ext <<_ACEOF
28663 /* confdefs.h. */
28664 _ACEOF
28665 cat confdefs.h >>conftest.$ac_ext
28666 cat >>conftest.$ac_ext <<_ACEOF
28667 /* end confdefs.h. */
28668 $ac_includes_default
28669 #include <$ac_header>
28670 _ACEOF
28671 rm -f conftest.$ac_objext
28672 if { (ac_try="$ac_compile"
28673 case "(($ac_try" in
28674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28675 *) ac_try_echo=$ac_try;;
28676 esac
28677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28678 (eval "$ac_compile") 2>conftest.er1
28679 ac_status=$?
28680 grep -v '^ *+' conftest.er1 >conftest.err
28681 rm -f conftest.er1
28682 cat conftest.err >&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } && {
28685 test -z "$ac_c_werror_flag" ||
28686 test ! -s conftest.err
28687 } && test -s conftest.$ac_objext; then
28688 ac_header_compiler=yes
28689 else
28690 echo "$as_me: failed program was:" >&5
28691 sed 's/^/| /' conftest.$ac_ext >&5
28692
28693 ac_header_compiler=no
28694 fi
28695
28696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28697 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28698 echo "${ECHO_T}$ac_header_compiler" >&6; }
28699
28700 # Is the header present?
28701 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
28702 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
28703 cat >conftest.$ac_ext <<_ACEOF
28704 /* confdefs.h. */
28705 _ACEOF
28706 cat confdefs.h >>conftest.$ac_ext
28707 cat >>conftest.$ac_ext <<_ACEOF
28708 /* end confdefs.h. */
28709 #include <$ac_header>
28710 _ACEOF
28711 if { (ac_try="$ac_cpp conftest.$ac_ext"
28712 case "(($ac_try" in
28713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28714 *) ac_try_echo=$ac_try;;
28715 esac
28716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28717 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28718 ac_status=$?
28719 grep -v '^ *+' conftest.er1 >conftest.err
28720 rm -f conftest.er1
28721 cat conftest.err >&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } >/dev/null && {
28724 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28725 test ! -s conftest.err
28726 }; then
28727 ac_header_preproc=yes
28728 else
28729 echo "$as_me: failed program was:" >&5
28730 sed 's/^/| /' conftest.$ac_ext >&5
28731
28732 ac_header_preproc=no
28733 fi
28734
28735 rm -f conftest.err conftest.$ac_ext
28736 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28737 echo "${ECHO_T}$ac_header_preproc" >&6; }
28738
28739 # So? What about this header?
28740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28741 yes:no: )
28742 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28743 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28745 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28746 ac_header_preproc=yes
28747 ;;
28748 no:yes:* )
28749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28753 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28754 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28755 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28756 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28757 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28758 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28759 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28760 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28761 ( cat <<\_ASBOX
28762 ## ----------------------------------------- ##
28763 ## Report this to wx-dev@lists.wxwidgets.org ##
28764 ## ----------------------------------------- ##
28765 _ASBOX
28766 ) | sed "s/^/$as_me: WARNING: /" >&2
28767 ;;
28768 esac
28769 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28772 echo $ECHO_N "(cached) $ECHO_C" >&6
28773 else
28774 eval "$as_ac_Header=\$ac_header_preproc"
28775 fi
28776 ac_res=`eval echo '${'$as_ac_Header'}'`
28777 { echo "$as_me:$LINENO: result: $ac_res" >&5
28778 echo "${ECHO_T}$ac_res" >&6; }
28779
28780 fi
28781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28782 cat >>confdefs.h <<_ACEOF
28783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28784 _ACEOF
28785
28786 else
28787 cat >>confdefs.h <<\_ACEOF
28788 #define NEED_PBT_H 1
28789 _ACEOF
28790
28791 fi
28792
28793 done
28794
28795 fi
28796
28797 if test "$wxUSE_GUI" = "yes"; then
28798 USE_GUI=1
28799
28800 GUI_TK_LIBRARY=
28801
28802 WXGTK12=
28803 WXGTK127=
28804 WXGTK20=
28805 WXGPE=
28806
28807 if test "$wxUSE_COCOA" = 1 ; then
28808 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28809 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28810 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28811 wxUSE_PRINTING_ARCHITECTURE=no
28812 fi
28813 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28814 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28815 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28816 wxUSE_DRAG_AND_DROP=no
28817 fi
28818 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28819 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28820 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28821 wxUSE_DRAGIMAGE=no
28822 fi
28823 fi
28824
28825 if test "$wxUSE_MSW" = 1 ; then
28826 TOOLKIT=MSW
28827 GUIDIST=MSW_DIST
28828
28829 case "${host}" in
28830 *-*-mingw32* )
28831 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28832 esac
28833 fi
28834
28835 if test "$wxUSE_GTK" = 1; then
28836 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28837 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28838
28839 gtk_version_cached=1
28840 if test "${wx_cv_lib_gtk+set}" = set; then
28841 echo $ECHO_N "(cached) $ECHO_C" >&6
28842 else
28843
28844 gtk_version_cached=0
28845 { echo "$as_me:$LINENO: result: " >&5
28846 echo "${ECHO_T}" >&6; }
28847
28848 GTK_MODULES=
28849 if test "$wxUSE_THREADS" = "yes"; then
28850 GTK_MODULES=gthread
28851 fi
28852
28853 wx_cv_lib_gtk=
28854 if test "x$wxGTK_VERSION" != "x1"
28855 then
28856 case "${host}" in
28857 *-*-solaris2* )
28858 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28859 enable_gtktest=no
28860 fi
28861 esac
28862
28863 # Check whether --enable-gtktest was given.
28864 if test "${enable_gtktest+set}" = set; then
28865 enableval=$enable_gtktest;
28866 else
28867 enable_gtktest=yes
28868 fi
28869
28870
28871 pkg_config_args=gtk+-2.0
28872 for module in . $GTK_MODULES
28873 do
28874 case "$module" in
28875 gthread)
28876 pkg_config_args="$pkg_config_args gthread-2.0"
28877 ;;
28878 esac
28879 done
28880
28881 no_gtk=""
28882
28883 # Extract the first word of "pkg-config", so it can be a program name with args.
28884 set dummy pkg-config; ac_word=$2
28885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28887 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28888 echo $ECHO_N "(cached) $ECHO_C" >&6
28889 else
28890 case $PKG_CONFIG in
28891 [\\/]* | ?:[\\/]*)
28892 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28893 ;;
28894 *)
28895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28896 for as_dir in $PATH
28897 do
28898 IFS=$as_save_IFS
28899 test -z "$as_dir" && as_dir=.
28900 for ac_exec_ext in '' $ac_executable_extensions; do
28901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28902 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28904 break 2
28905 fi
28906 done
28907 done
28908 IFS=$as_save_IFS
28909
28910 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28911 ;;
28912 esac
28913 fi
28914 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28915 if test -n "$PKG_CONFIG"; then
28916 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28917 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28918 else
28919 { echo "$as_me:$LINENO: result: no" >&5
28920 echo "${ECHO_T}no" >&6; }
28921 fi
28922
28923
28924
28925 if test x$PKG_CONFIG != xno ; then
28926 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28927 :
28928 else
28929 echo "*** pkg-config too old; version 0.7 or better required."
28930 no_gtk=yes
28931 PKG_CONFIG=no
28932 fi
28933 else
28934 no_gtk=yes
28935 fi
28936
28937 min_gtk_version=2.0.0
28938 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28939 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28940
28941 if test x$PKG_CONFIG != xno ; then
28942 ## don't try to run the test against uninstalled libtool libs
28943 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28944 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28945 enable_gtktest=no
28946 fi
28947
28948 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28949 :
28950 else
28951 no_gtk=yes
28952 fi
28953 fi
28954
28955 if test x"$no_gtk" = x ; then
28956 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28957 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28958 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28959 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28960 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28962 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28964 if test "x$enable_gtktest" = "xyes" ; then
28965 ac_save_CFLAGS="$CFLAGS"
28966 ac_save_LIBS="$LIBS"
28967 CFLAGS="$CFLAGS $GTK_CFLAGS"
28968 LIBS="$GTK_LIBS $LIBS"
28969 rm -f conf.gtktest
28970 if test "$cross_compiling" = yes; then
28971 echo $ac_n "cross compiling; assumed OK... $ac_c"
28972 else
28973 cat >conftest.$ac_ext <<_ACEOF
28974 /* confdefs.h. */
28975 _ACEOF
28976 cat confdefs.h >>conftest.$ac_ext
28977 cat >>conftest.$ac_ext <<_ACEOF
28978 /* end confdefs.h. */
28979
28980 #include <gtk/gtk.h>
28981 #include <stdio.h>
28982 #include <stdlib.h>
28983
28984 int
28985 main ()
28986 {
28987 int major, minor, micro;
28988 char *tmp_version;
28989
28990 system ("touch conf.gtktest");
28991
28992 /* HP/UX 9 (%@#!) writes to sscanf strings */
28993 tmp_version = g_strdup("$min_gtk_version");
28994 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28995 printf("%s, bad version string\n", "$min_gtk_version");
28996 exit(1);
28997 }
28998
28999 if ((gtk_major_version != $gtk_config_major_version) ||
29000 (gtk_minor_version != $gtk_config_minor_version) ||
29001 (gtk_micro_version != $gtk_config_micro_version))
29002 {
29003 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29004 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29005 gtk_major_version, gtk_minor_version, gtk_micro_version);
29006 printf ("*** was found! If pkg-config was correct, then it is best\n");
29007 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29008 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29009 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29010 printf("*** required on your system.\n");
29011 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29012 printf("*** to point to the correct configuration files\n");
29013 }
29014 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29015 (gtk_minor_version != GTK_MINOR_VERSION) ||
29016 (gtk_micro_version != GTK_MICRO_VERSION))
29017 {
29018 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29019 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29020 printf("*** library (version %d.%d.%d)\n",
29021 gtk_major_version, gtk_minor_version, gtk_micro_version);
29022 }
29023 else
29024 {
29025 if ((gtk_major_version > major) ||
29026 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29027 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29028 {
29029 return 0;
29030 }
29031 else
29032 {
29033 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29034 gtk_major_version, gtk_minor_version, gtk_micro_version);
29035 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29036 major, minor, micro);
29037 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29038 printf("***\n");
29039 printf("*** If you have already installed a sufficiently new version, this error\n");
29040 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29041 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29042 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29043 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29044 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29045 printf("*** so that the correct libraries are found at run-time))\n");
29046 }
29047 }
29048 return 1;
29049 }
29050
29051 _ACEOF
29052 rm -f conftest$ac_exeext
29053 if { (ac_try="$ac_link"
29054 case "(($ac_try" in
29055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29056 *) ac_try_echo=$ac_try;;
29057 esac
29058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29059 (eval "$ac_link") 2>&5
29060 ac_status=$?
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29063 { (case "(($ac_try" in
29064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29065 *) ac_try_echo=$ac_try;;
29066 esac
29067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29068 (eval "$ac_try") 2>&5
29069 ac_status=$?
29070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29071 (exit $ac_status); }; }; then
29072 :
29073 else
29074 echo "$as_me: program exited with status $ac_status" >&5
29075 echo "$as_me: failed program was:" >&5
29076 sed 's/^/| /' conftest.$ac_ext >&5
29077
29078 ( exit $ac_status )
29079 no_gtk=yes
29080 fi
29081 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29082 fi
29083
29084
29085 CFLAGS="$ac_save_CFLAGS"
29086 LIBS="$ac_save_LIBS"
29087 fi
29088 fi
29089 if test "x$no_gtk" = x ; then
29090 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29091 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29092 wx_cv_lib_gtk=2.0
29093 else
29094 { echo "$as_me:$LINENO: result: no" >&5
29095 echo "${ECHO_T}no" >&6; }
29096 if test "$PKG_CONFIG" = "no" ; then
29097 echo "*** A new enough version of pkg-config was not found."
29098 echo "*** See http://pkgconfig.sourceforge.net"
29099 else
29100 if test -f conf.gtktest ; then
29101 :
29102 else
29103 echo "*** Could not run GTK+ test program, checking why..."
29104 ac_save_CFLAGS="$CFLAGS"
29105 ac_save_LIBS="$LIBS"
29106 CFLAGS="$CFLAGS $GTK_CFLAGS"
29107 LIBS="$LIBS $GTK_LIBS"
29108 cat >conftest.$ac_ext <<_ACEOF
29109 /* confdefs.h. */
29110 _ACEOF
29111 cat confdefs.h >>conftest.$ac_ext
29112 cat >>conftest.$ac_ext <<_ACEOF
29113 /* end confdefs.h. */
29114
29115 #include <gtk/gtk.h>
29116 #include <stdio.h>
29117
29118 int
29119 main ()
29120 {
29121 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29122 ;
29123 return 0;
29124 }
29125 _ACEOF
29126 rm -f conftest.$ac_objext conftest$ac_exeext
29127 if { (ac_try="$ac_link"
29128 case "(($ac_try" in
29129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29130 *) ac_try_echo=$ac_try;;
29131 esac
29132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29133 (eval "$ac_link") 2>conftest.er1
29134 ac_status=$?
29135 grep -v '^ *+' conftest.er1 >conftest.err
29136 rm -f conftest.er1
29137 cat conftest.err >&5
29138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29139 (exit $ac_status); } && {
29140 test -z "$ac_c_werror_flag" ||
29141 test ! -s conftest.err
29142 } && test -s conftest$ac_exeext &&
29143 $as_test_x conftest$ac_exeext; then
29144 echo "*** The test program compiled, but did not run. This usually means"
29145 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29146 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29147 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29148 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29149 echo "*** is required on your system"
29150 echo "***"
29151 echo "*** If you have an old version installed, it is best to remove it, although"
29152 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29153 else
29154 echo "$as_me: failed program was:" >&5
29155 sed 's/^/| /' conftest.$ac_ext >&5
29156
29157 echo "*** The test program failed to compile or link. See the file config.log for the"
29158 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29159 fi
29160
29161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29162 conftest$ac_exeext conftest.$ac_ext
29163 CFLAGS="$ac_save_CFLAGS"
29164 LIBS="$ac_save_LIBS"
29165 fi
29166 fi
29167 GTK_CFLAGS=""
29168 GTK_LIBS=""
29169 :
29170 fi
29171
29172
29173 rm -f conf.gtktest
29174
29175
29176 case "${host}" in
29177 *-*-solaris2* )
29178 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29179 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
29180 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
29181 fi
29182 if test "$wxUSE_SHARED" != "yes"; then
29183 GTK_LIBS="$GTK_LIBS -lX11"
29184 fi
29185 esac
29186 fi
29187
29188 if test -z "$wx_cv_lib_gtk"; then
29189 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29190
29191 # Check whether --with-gtk-prefix was given.
29192 if test "${with_gtk_prefix+set}" = set; then
29193 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29194 else
29195 gtk_config_prefix=""
29196 fi
29197
29198
29199 # Check whether --with-gtk-exec-prefix was given.
29200 if test "${with_gtk_exec_prefix+set}" = set; then
29201 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29202 else
29203 gtk_config_exec_prefix=""
29204 fi
29205
29206 # Check whether --enable-gtktest was given.
29207 if test "${enable_gtktest+set}" = set; then
29208 enableval=$enable_gtktest;
29209 else
29210 enable_gtktest=yes
29211 fi
29212
29213
29214 for module in . $GTK_MODULES
29215 do
29216 case "$module" in
29217 gthread)
29218 gtk_config_args="$gtk_config_args gthread"
29219 ;;
29220 esac
29221 done
29222
29223 if test x$gtk_config_exec_prefix != x ; then
29224 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29225 if test x${GTK_CONFIG+set} != xset ; then
29226 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29227 fi
29228 fi
29229 if test x$gtk_config_prefix != x ; then
29230 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29231 if test x${GTK_CONFIG+set} != xset ; then
29232 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29233 fi
29234 fi
29235
29236 # Extract the first word of "gtk-config", so it can be a program name with args.
29237 set dummy gtk-config; ac_word=$2
29238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29240 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29241 echo $ECHO_N "(cached) $ECHO_C" >&6
29242 else
29243 case $GTK_CONFIG in
29244 [\\/]* | ?:[\\/]*)
29245 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29246 ;;
29247 *)
29248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29249 for as_dir in $PATH
29250 do
29251 IFS=$as_save_IFS
29252 test -z "$as_dir" && as_dir=.
29253 for ac_exec_ext in '' $ac_executable_extensions; do
29254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29255 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29257 break 2
29258 fi
29259 done
29260 done
29261 IFS=$as_save_IFS
29262
29263 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29264 ;;
29265 esac
29266 fi
29267 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29268 if test -n "$GTK_CONFIG"; then
29269 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29270 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29271 else
29272 { echo "$as_me:$LINENO: result: no" >&5
29273 echo "${ECHO_T}no" >&6; }
29274 fi
29275
29276
29277 min_gtk_version=1.2.7
29278 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29279 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29280 no_gtk=""
29281 if test "$GTK_CONFIG" = "no" ; then
29282 no_gtk=yes
29283 else
29284 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29285 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29286 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29288 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29290 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29292 if test "x$enable_gtktest" = "xyes" ; then
29293 ac_save_CFLAGS="$CFLAGS"
29294 ac_save_LIBS="$LIBS"
29295 CFLAGS="$CFLAGS $GTK_CFLAGS"
29296 LIBS="$GTK_LIBS $LIBS"
29297 rm -f conf.gtktest
29298 if test "$cross_compiling" = yes; then
29299 echo $ac_n "cross compiling; assumed OK... $ac_c"
29300 else
29301 cat >conftest.$ac_ext <<_ACEOF
29302 /* confdefs.h. */
29303 _ACEOF
29304 cat confdefs.h >>conftest.$ac_ext
29305 cat >>conftest.$ac_ext <<_ACEOF
29306 /* end confdefs.h. */
29307
29308 #include <gtk/gtk.h>
29309 #include <stdio.h>
29310 #include <stdlib.h>
29311
29312 int
29313 main ()
29314 {
29315 int major, minor, micro;
29316 char *tmp_version;
29317
29318 system ("touch conf.gtktest");
29319
29320 /* HP/UX 9 (%@#!) writes to sscanf strings */
29321 tmp_version = g_strdup("$min_gtk_version");
29322 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29323 printf("%s, bad version string\n", "$min_gtk_version");
29324 exit(1);
29325 }
29326
29327 if ((gtk_major_version != $gtk_config_major_version) ||
29328 (gtk_minor_version != $gtk_config_minor_version) ||
29329 (gtk_micro_version != $gtk_config_micro_version))
29330 {
29331 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29332 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29333 gtk_major_version, gtk_minor_version, gtk_micro_version);
29334 printf ("*** was found! If gtk-config was correct, then it is best\n");
29335 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29336 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29337 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29338 printf("*** required on your system.\n");
29339 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29340 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29341 printf("*** before re-running configure\n");
29342 }
29343 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29344 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29345 (gtk_minor_version != GTK_MINOR_VERSION) ||
29346 (gtk_micro_version != GTK_MICRO_VERSION))
29347 {
29348 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29349 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29350 printf("*** library (version %d.%d.%d)\n",
29351 gtk_major_version, gtk_minor_version, gtk_micro_version);
29352 }
29353 #endif /* defined (GTK_MAJOR_VERSION) ... */
29354 else
29355 {
29356 if ((gtk_major_version > major) ||
29357 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29358 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29359 {
29360 return 0;
29361 }
29362 else
29363 {
29364 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29365 gtk_major_version, gtk_minor_version, gtk_micro_version);
29366 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29367 major, minor, micro);
29368 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29369 printf("***\n");
29370 printf("*** If you have already installed a sufficiently new version, this error\n");
29371 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29372 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29373 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29374 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29375 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29376 printf("*** so that the correct libraries are found at run-time))\n");
29377 }
29378 }
29379 return 1;
29380 }
29381
29382 _ACEOF
29383 rm -f conftest$ac_exeext
29384 if { (ac_try="$ac_link"
29385 case "(($ac_try" in
29386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29387 *) ac_try_echo=$ac_try;;
29388 esac
29389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29390 (eval "$ac_link") 2>&5
29391 ac_status=$?
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29394 { (case "(($ac_try" in
29395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29396 *) ac_try_echo=$ac_try;;
29397 esac
29398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29399 (eval "$ac_try") 2>&5
29400 ac_status=$?
29401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402 (exit $ac_status); }; }; then
29403 :
29404 else
29405 echo "$as_me: program exited with status $ac_status" >&5
29406 echo "$as_me: failed program was:" >&5
29407 sed 's/^/| /' conftest.$ac_ext >&5
29408
29409 ( exit $ac_status )
29410 no_gtk=yes
29411 fi
29412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29413 fi
29414
29415
29416 CFLAGS="$ac_save_CFLAGS"
29417 LIBS="$ac_save_LIBS"
29418 fi
29419 fi
29420 if test "x$no_gtk" = x ; then
29421 { echo "$as_me:$LINENO: result: yes" >&5
29422 echo "${ECHO_T}yes" >&6; }
29423 wx_cv_lib_gtk=1.2.7
29424 else
29425 { echo "$as_me:$LINENO: result: no" >&5
29426 echo "${ECHO_T}no" >&6; }
29427 if test "$GTK_CONFIG" = "no" ; then
29428 echo "*** The gtk-config script installed by GTK could not be found"
29429 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29430 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29431 echo "*** full path to gtk-config."
29432 else
29433 if test -f conf.gtktest ; then
29434 :
29435 else
29436 echo "*** Could not run GTK test program, checking why..."
29437 CFLAGS="$CFLAGS $GTK_CFLAGS"
29438 LIBS="$LIBS $GTK_LIBS"
29439 cat >conftest.$ac_ext <<_ACEOF
29440 /* confdefs.h. */
29441 _ACEOF
29442 cat confdefs.h >>conftest.$ac_ext
29443 cat >>conftest.$ac_ext <<_ACEOF
29444 /* end confdefs.h. */
29445
29446 #include <gtk/gtk.h>
29447 #include <stdio.h>
29448
29449 int
29450 main ()
29451 {
29452 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29453 ;
29454 return 0;
29455 }
29456 _ACEOF
29457 rm -f conftest.$ac_objext conftest$ac_exeext
29458 if { (ac_try="$ac_link"
29459 case "(($ac_try" in
29460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29461 *) ac_try_echo=$ac_try;;
29462 esac
29463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29464 (eval "$ac_link") 2>conftest.er1
29465 ac_status=$?
29466 grep -v '^ *+' conftest.er1 >conftest.err
29467 rm -f conftest.er1
29468 cat conftest.err >&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } && {
29471 test -z "$ac_c_werror_flag" ||
29472 test ! -s conftest.err
29473 } && test -s conftest$ac_exeext &&
29474 $as_test_x conftest$ac_exeext; then
29475 echo "*** The test program compiled, but did not run. This usually means"
29476 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29477 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29478 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29479 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29480 echo "*** is required on your system"
29481 echo "***"
29482 echo "*** If you have an old version installed, it is best to remove it, although"
29483 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29484 echo "***"
29485 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29486 echo "*** came with the system with the command"
29487 echo "***"
29488 echo "*** rpm --erase --nodeps gtk gtk-devel"
29489 else
29490 echo "$as_me: failed program was:" >&5
29491 sed 's/^/| /' conftest.$ac_ext >&5
29492
29493 echo "*** The test program failed to compile or link. See the file config.log for the"
29494 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29495 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29496 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29497 fi
29498
29499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29500 conftest$ac_exeext conftest.$ac_ext
29501 CFLAGS="$ac_save_CFLAGS"
29502 LIBS="$ac_save_LIBS"
29503 fi
29504 fi
29505 GTK_CFLAGS=""
29506 GTK_LIBS=""
29507 :
29508 fi
29509
29510
29511 rm -f conf.gtktest
29512
29513
29514 if test -z "$wx_cv_lib_gtk"; then
29515
29516 # Check whether --with-gtk-prefix was given.
29517 if test "${with_gtk_prefix+set}" = set; then
29518 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29519 else
29520 gtk_config_prefix=""
29521 fi
29522
29523
29524 # Check whether --with-gtk-exec-prefix was given.
29525 if test "${with_gtk_exec_prefix+set}" = set; then
29526 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29527 else
29528 gtk_config_exec_prefix=""
29529 fi
29530
29531 # Check whether --enable-gtktest was given.
29532 if test "${enable_gtktest+set}" = set; then
29533 enableval=$enable_gtktest;
29534 else
29535 enable_gtktest=yes
29536 fi
29537
29538
29539 for module in . $GTK_MODULES
29540 do
29541 case "$module" in
29542 gthread)
29543 gtk_config_args="$gtk_config_args gthread"
29544 ;;
29545 esac
29546 done
29547
29548 if test x$gtk_config_exec_prefix != x ; then
29549 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29550 if test x${GTK_CONFIG+set} != xset ; then
29551 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29552 fi
29553 fi
29554 if test x$gtk_config_prefix != x ; then
29555 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29556 if test x${GTK_CONFIG+set} != xset ; then
29557 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29558 fi
29559 fi
29560
29561 # Extract the first word of "gtk-config", so it can be a program name with args.
29562 set dummy gtk-config; ac_word=$2
29563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29565 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29566 echo $ECHO_N "(cached) $ECHO_C" >&6
29567 else
29568 case $GTK_CONFIG in
29569 [\\/]* | ?:[\\/]*)
29570 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29571 ;;
29572 *)
29573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29574 for as_dir in $PATH
29575 do
29576 IFS=$as_save_IFS
29577 test -z "$as_dir" && as_dir=.
29578 for ac_exec_ext in '' $ac_executable_extensions; do
29579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29580 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29582 break 2
29583 fi
29584 done
29585 done
29586 IFS=$as_save_IFS
29587
29588 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29589 ;;
29590 esac
29591 fi
29592 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29593 if test -n "$GTK_CONFIG"; then
29594 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29595 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29596 else
29597 { echo "$as_me:$LINENO: result: no" >&5
29598 echo "${ECHO_T}no" >&6; }
29599 fi
29600
29601
29602 min_gtk_version=1.2.3
29603 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29604 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29605 no_gtk=""
29606 if test "$GTK_CONFIG" = "no" ; then
29607 no_gtk=yes
29608 else
29609 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29610 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29611 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29612 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29613 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29614 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29615 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29616 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29617 if test "x$enable_gtktest" = "xyes" ; then
29618 ac_save_CFLAGS="$CFLAGS"
29619 ac_save_LIBS="$LIBS"
29620 CFLAGS="$CFLAGS $GTK_CFLAGS"
29621 LIBS="$GTK_LIBS $LIBS"
29622 rm -f conf.gtktest
29623 if test "$cross_compiling" = yes; then
29624 echo $ac_n "cross compiling; assumed OK... $ac_c"
29625 else
29626 cat >conftest.$ac_ext <<_ACEOF
29627 /* confdefs.h. */
29628 _ACEOF
29629 cat confdefs.h >>conftest.$ac_ext
29630 cat >>conftest.$ac_ext <<_ACEOF
29631 /* end confdefs.h. */
29632
29633 #include <gtk/gtk.h>
29634 #include <stdio.h>
29635 #include <stdlib.h>
29636
29637 int
29638 main ()
29639 {
29640 int major, minor, micro;
29641 char *tmp_version;
29642
29643 system ("touch conf.gtktest");
29644
29645 /* HP/UX 9 (%@#!) writes to sscanf strings */
29646 tmp_version = g_strdup("$min_gtk_version");
29647 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29648 printf("%s, bad version string\n", "$min_gtk_version");
29649 exit(1);
29650 }
29651
29652 if ((gtk_major_version != $gtk_config_major_version) ||
29653 (gtk_minor_version != $gtk_config_minor_version) ||
29654 (gtk_micro_version != $gtk_config_micro_version))
29655 {
29656 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29657 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29658 gtk_major_version, gtk_minor_version, gtk_micro_version);
29659 printf ("*** was found! If gtk-config was correct, then it is best\n");
29660 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29661 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29662 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29663 printf("*** required on your system.\n");
29664 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29665 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29666 printf("*** before re-running configure\n");
29667 }
29668 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29669 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29670 (gtk_minor_version != GTK_MINOR_VERSION) ||
29671 (gtk_micro_version != GTK_MICRO_VERSION))
29672 {
29673 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29674 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29675 printf("*** library (version %d.%d.%d)\n",
29676 gtk_major_version, gtk_minor_version, gtk_micro_version);
29677 }
29678 #endif /* defined (GTK_MAJOR_VERSION) ... */
29679 else
29680 {
29681 if ((gtk_major_version > major) ||
29682 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29683 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29684 {
29685 return 0;
29686 }
29687 else
29688 {
29689 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29690 gtk_major_version, gtk_minor_version, gtk_micro_version);
29691 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29692 major, minor, micro);
29693 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29694 printf("***\n");
29695 printf("*** If you have already installed a sufficiently new version, this error\n");
29696 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29697 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29698 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29699 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29700 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29701 printf("*** so that the correct libraries are found at run-time))\n");
29702 }
29703 }
29704 return 1;
29705 }
29706
29707 _ACEOF
29708 rm -f conftest$ac_exeext
29709 if { (ac_try="$ac_link"
29710 case "(($ac_try" in
29711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29712 *) ac_try_echo=$ac_try;;
29713 esac
29714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29715 (eval "$ac_link") 2>&5
29716 ac_status=$?
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29719 { (case "(($ac_try" in
29720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29721 *) ac_try_echo=$ac_try;;
29722 esac
29723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29724 (eval "$ac_try") 2>&5
29725 ac_status=$?
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; }; then
29728 :
29729 else
29730 echo "$as_me: program exited with status $ac_status" >&5
29731 echo "$as_me: failed program was:" >&5
29732 sed 's/^/| /' conftest.$ac_ext >&5
29733
29734 ( exit $ac_status )
29735 no_gtk=yes
29736 fi
29737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29738 fi
29739
29740
29741 CFLAGS="$ac_save_CFLAGS"
29742 LIBS="$ac_save_LIBS"
29743 fi
29744 fi
29745 if test "x$no_gtk" = x ; then
29746 { echo "$as_me:$LINENO: result: yes" >&5
29747 echo "${ECHO_T}yes" >&6; }
29748 wx_cv_lib_gtk=1.2.3
29749 else
29750 { echo "$as_me:$LINENO: result: no" >&5
29751 echo "${ECHO_T}no" >&6; }
29752 if test "$GTK_CONFIG" = "no" ; then
29753 echo "*** The gtk-config script installed by GTK could not be found"
29754 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29755 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29756 echo "*** full path to gtk-config."
29757 else
29758 if test -f conf.gtktest ; then
29759 :
29760 else
29761 echo "*** Could not run GTK test program, checking why..."
29762 CFLAGS="$CFLAGS $GTK_CFLAGS"
29763 LIBS="$LIBS $GTK_LIBS"
29764 cat >conftest.$ac_ext <<_ACEOF
29765 /* confdefs.h. */
29766 _ACEOF
29767 cat confdefs.h >>conftest.$ac_ext
29768 cat >>conftest.$ac_ext <<_ACEOF
29769 /* end confdefs.h. */
29770
29771 #include <gtk/gtk.h>
29772 #include <stdio.h>
29773
29774 int
29775 main ()
29776 {
29777 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29778 ;
29779 return 0;
29780 }
29781 _ACEOF
29782 rm -f conftest.$ac_objext conftest$ac_exeext
29783 if { (ac_try="$ac_link"
29784 case "(($ac_try" in
29785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29786 *) ac_try_echo=$ac_try;;
29787 esac
29788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29789 (eval "$ac_link") 2>conftest.er1
29790 ac_status=$?
29791 grep -v '^ *+' conftest.er1 >conftest.err
29792 rm -f conftest.er1
29793 cat conftest.err >&5
29794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795 (exit $ac_status); } && {
29796 test -z "$ac_c_werror_flag" ||
29797 test ! -s conftest.err
29798 } && test -s conftest$ac_exeext &&
29799 $as_test_x conftest$ac_exeext; then
29800 echo "*** The test program compiled, but did not run. This usually means"
29801 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29802 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29803 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29804 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29805 echo "*** is required on your system"
29806 echo "***"
29807 echo "*** If you have an old version installed, it is best to remove it, although"
29808 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29809 echo "***"
29810 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29811 echo "*** came with the system with the command"
29812 echo "***"
29813 echo "*** rpm --erase --nodeps gtk gtk-devel"
29814 else
29815 echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.$ac_ext >&5
29817
29818 echo "*** The test program failed to compile or link. See the file config.log for the"
29819 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29820 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29821 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29822 fi
29823
29824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29825 conftest$ac_exeext conftest.$ac_ext
29826 CFLAGS="$ac_save_CFLAGS"
29827 LIBS="$ac_save_LIBS"
29828 fi
29829 fi
29830 GTK_CFLAGS=""
29831 GTK_LIBS=""
29832 :
29833 fi
29834
29835
29836 rm -f conf.gtktest
29837
29838 fi
29839 fi
29840 fi
29841
29842 if test -z "$wx_cv_lib_gtk"; then
29843 wx_cv_lib_gtk=none
29844 else
29845 wx_cv_cflags_gtk=$GTK_CFLAGS
29846 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29847 fi
29848
29849
29850 fi
29851
29852
29853 if test "$gtk_version_cached" = 1; then
29854 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29855 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29856 fi
29857
29858 case "$wx_cv_lib_gtk" in
29859 2.0) WXGTK20=1
29860 TOOLKIT_VERSION=2
29861 ;;
29862 1.2.7) WXGTK127=1
29863 WXGTK12=1
29864 ;;
29865 1.2.3) WXGTK12=1
29866 ;;
29867 *) { { echo "$as_me:$LINENO: error:
29868 The development files for GTK+ were not found. For GTK+ 2, please
29869 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29870 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29871 and that the version is 1.2.3 or above. Also check that the
29872 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29873 --libs' are in the LD_LIBRARY_PATH or equivalent.
29874 " >&5
29875 echo "$as_me: error:
29876 The development files for GTK+ were not found. For GTK+ 2, please
29877 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29878 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29879 and that the version is 1.2.3 or above. Also check that the
29880 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29881 --libs' are in the LD_LIBRARY_PATH or equivalent.
29882 " >&2;}
29883 { (exit 1); exit 1; }; }
29884 ;;
29885 esac
29886
29887 if test "$WXGTK20" = 1; then
29888 save_CFLAGS="$CFLAGS"
29889 save_LIBS="$LIBS"
29890 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29891 LIBS="$LIBS $wx_cv_libs_gtk"
29892
29893 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29894 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
29895 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29896 echo $ECHO_N "(cached) $ECHO_C" >&6
29897 else
29898 cat >conftest.$ac_ext <<_ACEOF
29899 /* confdefs.h. */
29900 _ACEOF
29901 cat confdefs.h >>conftest.$ac_ext
29902 cat >>conftest.$ac_ext <<_ACEOF
29903 /* end confdefs.h. */
29904 #include <gtk/gtk.h>
29905
29906 int
29907 main ()
29908 {
29909 #ifndef gtk_icon_size_lookup
29910 (void) gtk_icon_size_lookup;
29911 #endif
29912
29913 ;
29914 return 0;
29915 }
29916 _ACEOF
29917 rm -f conftest.$ac_objext
29918 if { (ac_try="$ac_compile"
29919 case "(($ac_try" in
29920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29921 *) ac_try_echo=$ac_try;;
29922 esac
29923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29924 (eval "$ac_compile") 2>conftest.er1
29925 ac_status=$?
29926 grep -v '^ *+' conftest.er1 >conftest.err
29927 rm -f conftest.er1
29928 cat conftest.err >&5
29929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29930 (exit $ac_status); } && {
29931 test -z "$ac_c_werror_flag" ||
29932 test ! -s conftest.err
29933 } && test -s conftest.$ac_objext; then
29934 ac_cv_have_decl_gtk_icon_size_lookup=yes
29935 else
29936 echo "$as_me: failed program was:" >&5
29937 sed 's/^/| /' conftest.$ac_ext >&5
29938
29939 ac_cv_have_decl_gtk_icon_size_lookup=no
29940 fi
29941
29942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29943 fi
29944 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29945 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
29946 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29947
29948 cat >>confdefs.h <<_ACEOF
29949 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29950 _ACEOF
29951
29952
29953 else
29954 cat >>confdefs.h <<_ACEOF
29955 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29956 _ACEOF
29957
29958 cat >>confdefs.h <<\_ACEOF
29959 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29960 _ACEOF
29961
29962 fi
29963
29964
29965
29966
29967 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29968 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29969 cat >conftest.$ac_ext <<_ACEOF
29970 /* confdefs.h. */
29971 _ACEOF
29972 cat confdefs.h >>conftest.$ac_ext
29973 cat >>conftest.$ac_ext <<_ACEOF
29974 /* end confdefs.h. */
29975
29976 #include <gtk/gtk.h>
29977
29978 int
29979 main ()
29980 {
29981
29982 #if !GTK_CHECK_VERSION(2,10,0)
29983 Not GTK+ 2.10
29984 #endif
29985
29986 ;
29987 return 0;
29988 }
29989 _ACEOF
29990 rm -f conftest.$ac_objext
29991 if { (ac_try="$ac_compile"
29992 case "(($ac_try" in
29993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29994 *) ac_try_echo=$ac_try;;
29995 esac
29996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29997 (eval "$ac_compile") 2>conftest.er1
29998 ac_status=$?
29999 grep -v '^ *+' conftest.er1 >conftest.err
30000 rm -f conftest.er1
30001 cat conftest.err >&5
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); } && {
30004 test -z "$ac_c_werror_flag" ||
30005 test ! -s conftest.err
30006 } && test -s conftest.$ac_objext; then
30007
30008 cat >>confdefs.h <<\_ACEOF
30009 #define __WXGTK210__ 1
30010 _ACEOF
30011
30012 cat >>confdefs.h <<\_ACEOF
30013 #define __WXGTK26__ 1
30014 _ACEOF
30015
30016 cat >>confdefs.h <<\_ACEOF
30017 #define __WXGTK24__ 1
30018 _ACEOF
30019
30020 { echo "$as_me:$LINENO: result: yes" >&5
30021 echo "${ECHO_T}yes" >&6; }
30022 ac_wxgtk210=1
30023
30024 else
30025 echo "$as_me: failed program was:" >&5
30026 sed 's/^/| /' conftest.$ac_ext >&5
30027
30028
30029 { echo "$as_me:$LINENO: result: no" >&5
30030 echo "${ECHO_T}no" >&6; }
30031 ac_wxgtk210=0
30032
30033 fi
30034
30035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30036
30037 if test "$ac_wxgtk210" = 0; then
30038 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30039 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30040 cat >conftest.$ac_ext <<_ACEOF
30041 /* confdefs.h. */
30042 _ACEOF
30043 cat confdefs.h >>conftest.$ac_ext
30044 cat >>conftest.$ac_ext <<_ACEOF
30045 /* end confdefs.h. */
30046
30047 #include <gtk/gtk.h>
30048
30049 int
30050 main ()
30051 {
30052
30053 #if !GTK_CHECK_VERSION(2,6,0)
30054 Not GTK+ 2.6
30055 #endif
30056
30057 ;
30058 return 0;
30059 }
30060 _ACEOF
30061 rm -f conftest.$ac_objext
30062 if { (ac_try="$ac_compile"
30063 case "(($ac_try" in
30064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30065 *) ac_try_echo=$ac_try;;
30066 esac
30067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30068 (eval "$ac_compile") 2>conftest.er1
30069 ac_status=$?
30070 grep -v '^ *+' conftest.er1 >conftest.err
30071 rm -f conftest.er1
30072 cat conftest.err >&5
30073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30074 (exit $ac_status); } && {
30075 test -z "$ac_c_werror_flag" ||
30076 test ! -s conftest.err
30077 } && test -s conftest.$ac_objext; then
30078
30079 cat >>confdefs.h <<\_ACEOF
30080 #define __WXGTK26__ 1
30081 _ACEOF
30082
30083 cat >>confdefs.h <<\_ACEOF
30084 #define __WXGTK24__ 1
30085 _ACEOF
30086
30087 { echo "$as_me:$LINENO: result: yes" >&5
30088 echo "${ECHO_T}yes" >&6; }
30089 ac_wxgtk26=1
30090
30091 else
30092 echo "$as_me: failed program was:" >&5
30093 sed 's/^/| /' conftest.$ac_ext >&5
30094
30095
30096 { echo "$as_me:$LINENO: result: no" >&5
30097 echo "${ECHO_T}no" >&6; }
30098 ac_wxgtk26=0
30099
30100 fi
30101
30102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30103 fi
30104
30105 if test "$ac_wxgtk26" = 0; then
30106 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30107 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
30108 cat >conftest.$ac_ext <<_ACEOF
30109 /* confdefs.h. */
30110 _ACEOF
30111 cat confdefs.h >>conftest.$ac_ext
30112 cat >>conftest.$ac_ext <<_ACEOF
30113 /* end confdefs.h. */
30114
30115 #include <gtk/gtk.h>
30116
30117 int
30118 main ()
30119 {
30120
30121 #if !GTK_CHECK_VERSION(2,4,0)
30122 Not GTK+ 2.4
30123 #endif
30124
30125 ;
30126 return 0;
30127 }
30128 _ACEOF
30129 rm -f conftest.$ac_objext
30130 if { (ac_try="$ac_compile"
30131 case "(($ac_try" in
30132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30133 *) ac_try_echo=$ac_try;;
30134 esac
30135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30136 (eval "$ac_compile") 2>conftest.er1
30137 ac_status=$?
30138 grep -v '^ *+' conftest.er1 >conftest.err
30139 rm -f conftest.er1
30140 cat conftest.err >&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); } && {
30143 test -z "$ac_c_werror_flag" ||
30144 test ! -s conftest.err
30145 } && test -s conftest.$ac_objext; then
30146
30147 cat >>confdefs.h <<\_ACEOF
30148 #define __WXGTK24__ 1
30149 _ACEOF
30150
30151 { echo "$as_me:$LINENO: result: yes" >&5
30152 echo "${ECHO_T}yes" >&6; }
30153
30154 else
30155 echo "$as_me: failed program was:" >&5
30156 sed 's/^/| /' conftest.$ac_ext >&5
30157
30158
30159 { echo "$as_me:$LINENO: result: no" >&5
30160 echo "${ECHO_T}no" >&6; }
30161
30162 fi
30163
30164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30165 fi
30166
30167 CFLAGS="$save_CFLAGS"
30168 LIBS="$save_LIBS"
30169 else
30170 if test "$wxUSE_UNICODE" = "yes"; then
30171 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30172 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30173 wxUSE_UNICODE=no
30174 fi
30175
30176 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30177 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30178 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30179 echo $ECHO_N "(cached) $ECHO_C" >&6
30180 else
30181 ac_check_lib_save_LIBS=$LIBS
30182 LIBS="-lgdk $LIBS"
30183 cat >conftest.$ac_ext <<_ACEOF
30184 /* confdefs.h. */
30185 _ACEOF
30186 cat confdefs.h >>conftest.$ac_ext
30187 cat >>conftest.$ac_ext <<_ACEOF
30188 /* end confdefs.h. */
30189
30190 /* Override any GCC internal prototype to avoid an error.
30191 Use char because int might match the return type of a GCC
30192 builtin and then its argument prototype would still apply. */
30193 #ifdef __cplusplus
30194 extern "C"
30195 #endif
30196 char gdk_im_open ();
30197 int
30198 main ()
30199 {
30200 return gdk_im_open ();
30201 ;
30202 return 0;
30203 }
30204 _ACEOF
30205 rm -f conftest.$ac_objext conftest$ac_exeext
30206 if { (ac_try="$ac_link"
30207 case "(($ac_try" in
30208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30209 *) ac_try_echo=$ac_try;;
30210 esac
30211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30212 (eval "$ac_link") 2>conftest.er1
30213 ac_status=$?
30214 grep -v '^ *+' conftest.er1 >conftest.err
30215 rm -f conftest.er1
30216 cat conftest.err >&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); } && {
30219 test -z "$ac_c_werror_flag" ||
30220 test ! -s conftest.err
30221 } && test -s conftest$ac_exeext &&
30222 $as_test_x conftest$ac_exeext; then
30223 ac_cv_lib_gdk_gdk_im_open=yes
30224 else
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.$ac_ext >&5
30227
30228 ac_cv_lib_gdk_gdk_im_open=no
30229 fi
30230
30231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30232 conftest$ac_exeext conftest.$ac_ext
30233 LIBS=$ac_check_lib_save_LIBS
30234 fi
30235 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30236 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30237 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30238 cat >>confdefs.h <<\_ACEOF
30239 #define HAVE_XIM 1
30240 _ACEOF
30241
30242 fi
30243
30244
30245 if test "$USE_DARWIN" != 1; then
30246
30247 for ac_func in poll
30248 do
30249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30253 echo $ECHO_N "(cached) $ECHO_C" >&6
30254 else
30255 cat >conftest.$ac_ext <<_ACEOF
30256 /* confdefs.h. */
30257 _ACEOF
30258 cat confdefs.h >>conftest.$ac_ext
30259 cat >>conftest.$ac_ext <<_ACEOF
30260 /* end confdefs.h. */
30261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30263 #define $ac_func innocuous_$ac_func
30264
30265 /* System header to define __stub macros and hopefully few prototypes,
30266 which can conflict with char $ac_func (); below.
30267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30268 <limits.h> exists even on freestanding compilers. */
30269
30270 #ifdef __STDC__
30271 # include <limits.h>
30272 #else
30273 # include <assert.h>
30274 #endif
30275
30276 #undef $ac_func
30277
30278 /* Override any GCC internal prototype to avoid an error.
30279 Use char because int might match the return type of a GCC
30280 builtin and then its argument prototype would still apply. */
30281 #ifdef __cplusplus
30282 extern "C"
30283 #endif
30284 char $ac_func ();
30285 /* The GNU C library defines this for functions which it implements
30286 to always fail with ENOSYS. Some functions are actually named
30287 something starting with __ and the normal name is an alias. */
30288 #if defined __stub_$ac_func || defined __stub___$ac_func
30289 choke me
30290 #endif
30291
30292 int
30293 main ()
30294 {
30295 return $ac_func ();
30296 ;
30297 return 0;
30298 }
30299 _ACEOF
30300 rm -f conftest.$ac_objext conftest$ac_exeext
30301 if { (ac_try="$ac_link"
30302 case "(($ac_try" in
30303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30304 *) ac_try_echo=$ac_try;;
30305 esac
30306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30307 (eval "$ac_link") 2>conftest.er1
30308 ac_status=$?
30309 grep -v '^ *+' conftest.er1 >conftest.err
30310 rm -f conftest.er1
30311 cat conftest.err >&5
30312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30313 (exit $ac_status); } && {
30314 test -z "$ac_c_werror_flag" ||
30315 test ! -s conftest.err
30316 } && test -s conftest$ac_exeext &&
30317 $as_test_x conftest$ac_exeext; then
30318 eval "$as_ac_var=yes"
30319 else
30320 echo "$as_me: failed program was:" >&5
30321 sed 's/^/| /' conftest.$ac_ext >&5
30322
30323 eval "$as_ac_var=no"
30324 fi
30325
30326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30327 conftest$ac_exeext conftest.$ac_ext
30328 fi
30329 ac_res=`eval echo '${'$as_ac_var'}'`
30330 { echo "$as_me:$LINENO: result: $ac_res" >&5
30331 echo "${ECHO_T}$ac_res" >&6; }
30332 if test `eval echo '${'$as_ac_var'}'` = yes; then
30333 cat >>confdefs.h <<_ACEOF
30334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30335 _ACEOF
30336
30337 fi
30338 done
30339
30340 fi
30341 fi
30342
30343 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30344 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30345
30346 AFMINSTALL=afminstall
30347 TOOLKIT=GTK
30348 GUIDIST=GTK_DIST
30349
30350 if test "$wxUSE_GPE" = "yes"; then
30351 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30352 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30353
30354 ac_find_libraries=
30355 for ac_dir in $SEARCH_LIB;
30356 do
30357 for ac_extension in a so sl dylib dll.a; do
30358 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30359 ac_find_libraries=$ac_dir
30360 break 2
30361 fi
30362 done
30363 done
30364
30365 if test "$ac_find_libraries" != "" ; then
30366
30367 if test "$ac_find_libraries" = "default location"; then
30368 ac_path_to_link=""
30369 else
30370 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30371 result=$?
30372 if test $result = 0; then
30373 ac_path_to_link=""
30374 else
30375 ac_path_to_link=" -L$ac_find_libraries"
30376 fi
30377 fi
30378
30379 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30380 WXGPE=1
30381 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30382 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30383 else
30384 { echo "$as_me:$LINENO: result: not found" >&5
30385 echo "${ECHO_T}not found" >&6; }
30386 fi
30387
30388 fi
30389 fi
30390
30391 if test "$wxUSE_MGL" = 1; then
30392 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30393 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30394 if test "x$MGL_ROOT" = x ; then
30395 { echo "$as_me:$LINENO: result: not found" >&5
30396 echo "${ECHO_T}not found" >&6; }
30397 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30398 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30399 { (exit 1); exit 1; }; }
30400 else
30401 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30402 echo "${ECHO_T}$MGL_ROOT" >&6; }
30403 fi
30404
30405 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30406 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30407 case "${host}" in
30408 *-*-linux* )
30409 if test "x$wxUSE_SHARED" = xyes ; then
30410 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30411 else
30412 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30413 fi
30414 ;;
30415 *-pc-msdosdjgpp )
30416 mgl_os_candidates="dos32/dj2"
30417 ;;
30418 *)
30419 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30420 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30421 { (exit 1); exit 1; }; }
30422 esac
30423
30424 mgl_lib_type=""
30425 mgl_os=""
30426
30427 for mgl_os_i in $mgl_os_candidates ; do
30428 if test "x$mgl_os" = x ; then
30429 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30430 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30431 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30432 mgl_lib_type=debug
30433 mgl_os=$mgl_os_i
30434 fi
30435 fi
30436 if test "x$mgl_lib_type" = x ; then
30437 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30438 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30439 mgl_lib_type=release
30440 mgl_os=$mgl_os_i
30441 fi
30442 fi
30443 fi
30444 done
30445
30446 if test "x$mgl_os" = x ; then
30447 { echo "$as_me:$LINENO: result: not found" >&5
30448 echo "${ECHO_T}not found" >&6; }
30449 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30450 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30451 { (exit 1); exit 1; }; }
30452 fi
30453 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30454 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30455
30456 wxUSE_UNIVERSAL="yes"
30457
30458 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30459 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30460
30461 AFMINSTALL=afminstall
30462 TOOLKIT=MGL
30463 GUIDIST=MGL_DIST
30464 fi
30465
30466 if test "$wxUSE_DFB" = 1; then
30467
30468
30469 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30470 if test -n "$ac_tool_prefix"; then
30471 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30472 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30473 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30475 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30476 echo $ECHO_N "(cached) $ECHO_C" >&6
30477 else
30478 case $PKG_CONFIG in
30479 [\\/]* | ?:[\\/]*)
30480 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30481 ;;
30482 *)
30483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30484 for as_dir in $PATH
30485 do
30486 IFS=$as_save_IFS
30487 test -z "$as_dir" && as_dir=.
30488 for ac_exec_ext in '' $ac_executable_extensions; do
30489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30490 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30492 break 2
30493 fi
30494 done
30495 done
30496 IFS=$as_save_IFS
30497
30498 ;;
30499 esac
30500 fi
30501 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30502 if test -n "$PKG_CONFIG"; then
30503 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30504 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30505 else
30506 { echo "$as_me:$LINENO: result: no" >&5
30507 echo "${ECHO_T}no" >&6; }
30508 fi
30509
30510
30511 fi
30512 if test -z "$ac_cv_path_PKG_CONFIG"; then
30513 ac_pt_PKG_CONFIG=$PKG_CONFIG
30514 # Extract the first word of "pkg-config", so it can be a program name with args.
30515 set dummy pkg-config; ac_word=$2
30516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30518 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30519 echo $ECHO_N "(cached) $ECHO_C" >&6
30520 else
30521 case $ac_pt_PKG_CONFIG in
30522 [\\/]* | ?:[\\/]*)
30523 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30524 ;;
30525 *)
30526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30527 for as_dir in $PATH
30528 do
30529 IFS=$as_save_IFS
30530 test -z "$as_dir" && as_dir=.
30531 for ac_exec_ext in '' $ac_executable_extensions; do
30532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30533 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30535 break 2
30536 fi
30537 done
30538 done
30539 IFS=$as_save_IFS
30540
30541 ;;
30542 esac
30543 fi
30544 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30545 if test -n "$ac_pt_PKG_CONFIG"; then
30546 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30547 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30548 else
30549 { echo "$as_me:$LINENO: result: no" >&5
30550 echo "${ECHO_T}no" >&6; }
30551 fi
30552
30553 if test "x$ac_pt_PKG_CONFIG" = x; then
30554 PKG_CONFIG=""
30555 else
30556 case $cross_compiling:$ac_tool_warned in
30557 yes:)
30558 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30559 whose name does not start with the host triplet. If you think this
30560 configuration is useful to you, please write to autoconf@gnu.org." >&5
30561 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30562 whose name does not start with the host triplet. If you think this
30563 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30564 ac_tool_warned=yes ;;
30565 esac
30566 PKG_CONFIG=$ac_pt_PKG_CONFIG
30567 fi
30568 else
30569 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30570 fi
30571
30572 fi
30573 if test -n "$PKG_CONFIG"; then
30574 _pkg_min_version=0.9.0
30575 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30576 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30577 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30578 { echo "$as_me:$LINENO: result: yes" >&5
30579 echo "${ECHO_T}yes" >&6; }
30580 else
30581 { echo "$as_me:$LINENO: result: no" >&5
30582 echo "${ECHO_T}no" >&6; }
30583 PKG_CONFIG=""
30584 fi
30585
30586 fi
30587
30588
30589 pkg_failed=no
30590 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30591 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30592
30593 if test -n "$PKG_CONFIG"; then
30594 if test -n "$DIRECTFB_CFLAGS"; then
30595 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30596 else
30597 if test -n "$PKG_CONFIG" && \
30598 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30599 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30600 ac_status=$?
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); }; then
30603 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30604 else
30605 pkg_failed=yes
30606 fi
30607 fi
30608 else
30609 pkg_failed=untried
30610 fi
30611 if test -n "$PKG_CONFIG"; then
30612 if test -n "$DIRECTFB_LIBS"; then
30613 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30614 else
30615 if test -n "$PKG_CONFIG" && \
30616 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30617 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30618 ac_status=$?
30619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30620 (exit $ac_status); }; then
30621 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30622 else
30623 pkg_failed=yes
30624 fi
30625 fi
30626 else
30627 pkg_failed=untried
30628 fi
30629
30630
30631
30632 if test $pkg_failed = yes; then
30633
30634 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30635 _pkg_short_errors_supported=yes
30636 else
30637 _pkg_short_errors_supported=no
30638 fi
30639 if test $_pkg_short_errors_supported = yes; then
30640 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30641 else
30642 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30643 fi
30644 # Put the nasty error message in config.log where it belongs
30645 echo "$DIRECTFB_PKG_ERRORS" >&5
30646
30647
30648 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30649 echo "$as_me: error: DirectFB not found." >&2;}
30650 { (exit 1); exit 1; }; }
30651
30652
30653 elif test $pkg_failed = untried; then
30654
30655 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30656 echo "$as_me: error: DirectFB not found." >&2;}
30657 { (exit 1); exit 1; }; }
30658
30659
30660 else
30661 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30662 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30663 { echo "$as_me:$LINENO: result: yes" >&5
30664 echo "${ECHO_T}yes" >&6; }
30665
30666 wxUSE_UNIVERSAL="yes"
30667 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30668 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30669 TOOLKIT=DFB
30670 GUIDIST=DFB_DIST
30671
30672 fi
30673 fi
30674
30675 if test "$wxUSE_MICROWIN" = 1; then
30676 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30677 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30678 if test "x$MICROWINDOWS" = x ; then
30679 { echo "$as_me:$LINENO: result: not found" >&5
30680 echo "${ECHO_T}not found" >&6; }
30681 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30682 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30683 { (exit 1); exit 1; }; }
30684 else
30685 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30686 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30687 fi
30688
30689 if test -f $MICROWINDOWS/lib/libmwin.a; then
30690 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30691 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30692 else
30693 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30694 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30695 { (exit 1); exit 1; }; }
30696 fi
30697
30698 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30699 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30700
30701 wxUSE_UNIVERSAL="yes"
30702
30703 AFMINSTALL=afminstall
30704 TOOLKIT=MICROWIN
30705 GUIDIST=MICROWIN_DIST
30706
30707 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30708 fi
30709
30710 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30711 { echo "$as_me:$LINENO: checking for X" >&5
30712 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30713
30714
30715 # Check whether --with-x was given.
30716 if test "${with_x+set}" = set; then
30717 withval=$with_x;
30718 fi
30719
30720 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30721 if test "x$with_x" = xno; then
30722 # The user explicitly disabled X.
30723 have_x=disabled
30724 else
30725 case $x_includes,$x_libraries in #(
30726 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30727 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30728 { (exit 1); exit 1; }; };; #(
30729 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30730 echo $ECHO_N "(cached) $ECHO_C" >&6
30731 else
30732 # One or both of the vars are not set, and there is no cached value.
30733 ac_x_includes=no ac_x_libraries=no
30734 rm -f -r conftest.dir
30735 if mkdir conftest.dir; then
30736 cd conftest.dir
30737 cat >Imakefile <<'_ACEOF'
30738 incroot:
30739 @echo incroot='${INCROOT}'
30740 usrlibdir:
30741 @echo usrlibdir='${USRLIBDIR}'
30742 libdir:
30743 @echo libdir='${LIBDIR}'
30744 _ACEOF
30745 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30746 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30747 for ac_var in incroot usrlibdir libdir; do
30748 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30749 done
30750 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30751 for ac_extension in a so sl; do
30752 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30753 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30754 ac_im_usrlibdir=$ac_im_libdir; break
30755 fi
30756 done
30757 # Screen out bogus values from the imake configuration. They are
30758 # bogus both because they are the default anyway, and because
30759 # using them would break gcc on systems where it needs fixed includes.
30760 case $ac_im_incroot in
30761 /usr/include) ac_x_includes= ;;
30762 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30763 esac
30764 case $ac_im_usrlibdir in
30765 /usr/lib | /lib) ;;
30766 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30767 esac
30768 fi
30769 cd ..
30770 rm -f -r conftest.dir
30771 fi
30772
30773 # Standard set of common directories for X headers.
30774 # Check X11 before X11Rn because it is often a symlink to the current release.
30775 ac_x_header_dirs='
30776 /usr/X11/include
30777 /usr/X11R6/include
30778 /usr/X11R5/include
30779 /usr/X11R4/include
30780
30781 /usr/include/X11
30782 /usr/include/X11R6
30783 /usr/include/X11R5
30784 /usr/include/X11R4
30785
30786 /usr/local/X11/include
30787 /usr/local/X11R6/include
30788 /usr/local/X11R5/include
30789 /usr/local/X11R4/include
30790
30791 /usr/local/include/X11
30792 /usr/local/include/X11R6
30793 /usr/local/include/X11R5
30794 /usr/local/include/X11R4
30795
30796 /usr/X386/include
30797 /usr/x386/include
30798 /usr/XFree86/include/X11
30799
30800 /usr/include
30801 /usr/local/include
30802 /usr/unsupported/include
30803 /usr/athena/include
30804 /usr/local/x11r5/include
30805 /usr/lpp/Xamples/include
30806
30807 /usr/openwin/include
30808 /usr/openwin/share/include'
30809
30810 if test "$ac_x_includes" = no; then
30811 # Guess where to find include files, by looking for Xlib.h.
30812 # First, try using that file with no special directory specified.
30813 cat >conftest.$ac_ext <<_ACEOF
30814 /* confdefs.h. */
30815 _ACEOF
30816 cat confdefs.h >>conftest.$ac_ext
30817 cat >>conftest.$ac_ext <<_ACEOF
30818 /* end confdefs.h. */
30819 #include <X11/Xlib.h>
30820 _ACEOF
30821 if { (ac_try="$ac_cpp conftest.$ac_ext"
30822 case "(($ac_try" in
30823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30824 *) ac_try_echo=$ac_try;;
30825 esac
30826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30828 ac_status=$?
30829 grep -v '^ *+' conftest.er1 >conftest.err
30830 rm -f conftest.er1
30831 cat conftest.err >&5
30832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30833 (exit $ac_status); } >/dev/null && {
30834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30835 test ! -s conftest.err
30836 }; then
30837 # We can compile using X headers with no special include directory.
30838 ac_x_includes=
30839 else
30840 echo "$as_me: failed program was:" >&5
30841 sed 's/^/| /' conftest.$ac_ext >&5
30842
30843 for ac_dir in $ac_x_header_dirs; do
30844 if test -r "$ac_dir/X11/Xlib.h"; then
30845 ac_x_includes=$ac_dir
30846 break
30847 fi
30848 done
30849 fi
30850
30851 rm -f conftest.err conftest.$ac_ext
30852 fi # $ac_x_includes = no
30853
30854 if test "$ac_x_libraries" = no; then
30855 # Check for the libraries.
30856 # See if we find them without any special options.
30857 # Don't add to $LIBS permanently.
30858 ac_save_LIBS=$LIBS
30859 LIBS="-lX11 $LIBS"
30860 cat >conftest.$ac_ext <<_ACEOF
30861 /* confdefs.h. */
30862 _ACEOF
30863 cat confdefs.h >>conftest.$ac_ext
30864 cat >>conftest.$ac_ext <<_ACEOF
30865 /* end confdefs.h. */
30866 #include <X11/Xlib.h>
30867 int
30868 main ()
30869 {
30870 XrmInitialize ()
30871 ;
30872 return 0;
30873 }
30874 _ACEOF
30875 rm -f conftest.$ac_objext conftest$ac_exeext
30876 if { (ac_try="$ac_link"
30877 case "(($ac_try" in
30878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30879 *) ac_try_echo=$ac_try;;
30880 esac
30881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30882 (eval "$ac_link") 2>conftest.er1
30883 ac_status=$?
30884 grep -v '^ *+' conftest.er1 >conftest.err
30885 rm -f conftest.er1
30886 cat conftest.err >&5
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); } && {
30889 test -z "$ac_c_werror_flag" ||
30890 test ! -s conftest.err
30891 } && test -s conftest$ac_exeext &&
30892 $as_test_x conftest$ac_exeext; then
30893 LIBS=$ac_save_LIBS
30894 # We can link X programs with no special library path.
30895 ac_x_libraries=
30896 else
30897 echo "$as_me: failed program was:" >&5
30898 sed 's/^/| /' conftest.$ac_ext >&5
30899
30900 LIBS=$ac_save_LIBS
30901 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30902 do
30903 # Don't even attempt the hair of trying to link an X program!
30904 for ac_extension in a so sl; do
30905 if test -r "$ac_dir/libX11.$ac_extension"; then
30906 ac_x_libraries=$ac_dir
30907 break 2
30908 fi
30909 done
30910 done
30911 fi
30912
30913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30914 conftest$ac_exeext conftest.$ac_ext
30915 fi # $ac_x_libraries = no
30916
30917 case $ac_x_includes,$ac_x_libraries in #(
30918 no,* | *,no | *\'*)
30919 # Didn't find X, or a directory has "'" in its name.
30920 ac_cv_have_x="have_x=no";; #(
30921 *)
30922 # Record where we found X for the cache.
30923 ac_cv_have_x="have_x=yes\
30924 ac_x_includes='$ac_x_includes'\
30925 ac_x_libraries='$ac_x_libraries'"
30926 esac
30927 fi
30928 ;; #(
30929 *) have_x=yes;;
30930 esac
30931 eval "$ac_cv_have_x"
30932 fi # $with_x != no
30933
30934 if test "$have_x" != yes; then
30935 { echo "$as_me:$LINENO: result: $have_x" >&5
30936 echo "${ECHO_T}$have_x" >&6; }
30937 no_x=yes
30938 else
30939 # If each of the values was on the command line, it overrides each guess.
30940 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30941 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30942 # Update the cache value to reflect the command line values.
30943 ac_cv_have_x="have_x=yes\
30944 ac_x_includes='$x_includes'\
30945 ac_x_libraries='$x_libraries'"
30946 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30947 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30948 fi
30949
30950 if test "$no_x" = yes; then
30951 # Not all programs may use this symbol, but it does not hurt to define it.
30952
30953 cat >>confdefs.h <<\_ACEOF
30954 #define X_DISPLAY_MISSING 1
30955 _ACEOF
30956
30957 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30958 else
30959 if test -n "$x_includes"; then
30960 X_CFLAGS="$X_CFLAGS -I$x_includes"
30961 fi
30962
30963 # It would also be nice to do this for all -L options, not just this one.
30964 if test -n "$x_libraries"; then
30965 X_LIBS="$X_LIBS -L$x_libraries"
30966 # For Solaris; some versions of Sun CC require a space after -R and
30967 # others require no space. Words are not sufficient . . . .
30968 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30969 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30970 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30971 ac_xsave_c_werror_flag=$ac_c_werror_flag
30972 ac_c_werror_flag=yes
30973 cat >conftest.$ac_ext <<_ACEOF
30974 /* confdefs.h. */
30975 _ACEOF
30976 cat confdefs.h >>conftest.$ac_ext
30977 cat >>conftest.$ac_ext <<_ACEOF
30978 /* end confdefs.h. */
30979
30980 int
30981 main ()
30982 {
30983
30984 ;
30985 return 0;
30986 }
30987 _ACEOF
30988 rm -f conftest.$ac_objext conftest$ac_exeext
30989 if { (ac_try="$ac_link"
30990 case "(($ac_try" in
30991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30992 *) ac_try_echo=$ac_try;;
30993 esac
30994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30995 (eval "$ac_link") 2>conftest.er1
30996 ac_status=$?
30997 grep -v '^ *+' conftest.er1 >conftest.err
30998 rm -f conftest.er1
30999 cat conftest.err >&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); } && {
31002 test -z "$ac_c_werror_flag" ||
31003 test ! -s conftest.err
31004 } && test -s conftest$ac_exeext &&
31005 $as_test_x conftest$ac_exeext; then
31006 { echo "$as_me:$LINENO: result: no" >&5
31007 echo "${ECHO_T}no" >&6; }
31008 X_LIBS="$X_LIBS -R$x_libraries"
31009 else
31010 echo "$as_me: failed program was:" >&5
31011 sed 's/^/| /' conftest.$ac_ext >&5
31012
31013 LIBS="$ac_xsave_LIBS -R $x_libraries"
31014 cat >conftest.$ac_ext <<_ACEOF
31015 /* confdefs.h. */
31016 _ACEOF
31017 cat confdefs.h >>conftest.$ac_ext
31018 cat >>conftest.$ac_ext <<_ACEOF
31019 /* end confdefs.h. */
31020
31021 int
31022 main ()
31023 {
31024
31025 ;
31026 return 0;
31027 }
31028 _ACEOF
31029 rm -f conftest.$ac_objext conftest$ac_exeext
31030 if { (ac_try="$ac_link"
31031 case "(($ac_try" in
31032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31033 *) ac_try_echo=$ac_try;;
31034 esac
31035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31036 (eval "$ac_link") 2>conftest.er1
31037 ac_status=$?
31038 grep -v '^ *+' conftest.er1 >conftest.err
31039 rm -f conftest.er1
31040 cat conftest.err >&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } && {
31043 test -z "$ac_c_werror_flag" ||
31044 test ! -s conftest.err
31045 } && test -s conftest$ac_exeext &&
31046 $as_test_x conftest$ac_exeext; then
31047 { echo "$as_me:$LINENO: result: yes" >&5
31048 echo "${ECHO_T}yes" >&6; }
31049 X_LIBS="$X_LIBS -R $x_libraries"
31050 else
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.$ac_ext >&5
31053
31054 { echo "$as_me:$LINENO: result: neither works" >&5
31055 echo "${ECHO_T}neither works" >&6; }
31056 fi
31057
31058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31059 conftest$ac_exeext conftest.$ac_ext
31060 fi
31061
31062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31063 conftest$ac_exeext conftest.$ac_ext
31064 ac_c_werror_flag=$ac_xsave_c_werror_flag
31065 LIBS=$ac_xsave_LIBS
31066 fi
31067
31068 # Check for system-dependent libraries X programs must link with.
31069 # Do this before checking for the system-independent R6 libraries
31070 # (-lICE), since we may need -lsocket or whatever for X linking.
31071
31072 if test "$ISC" = yes; then
31073 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31074 else
31075 # Martyn Johnson says this is needed for Ultrix, if the X
31076 # libraries were built with DECnet support. And Karl Berry says
31077 # the Alpha needs dnet_stub (dnet does not exist).
31078 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31079 cat >conftest.$ac_ext <<_ACEOF
31080 /* confdefs.h. */
31081 _ACEOF
31082 cat confdefs.h >>conftest.$ac_ext
31083 cat >>conftest.$ac_ext <<_ACEOF
31084 /* end confdefs.h. */
31085
31086 /* Override any GCC internal prototype to avoid an error.
31087 Use char because int might match the return type of a GCC
31088 builtin and then its argument prototype would still apply. */
31089 #ifdef __cplusplus
31090 extern "C"
31091 #endif
31092 char XOpenDisplay ();
31093 int
31094 main ()
31095 {
31096 return XOpenDisplay ();
31097 ;
31098 return 0;
31099 }
31100 _ACEOF
31101 rm -f conftest.$ac_objext conftest$ac_exeext
31102 if { (ac_try="$ac_link"
31103 case "(($ac_try" in
31104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31105 *) ac_try_echo=$ac_try;;
31106 esac
31107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31108 (eval "$ac_link") 2>conftest.er1
31109 ac_status=$?
31110 grep -v '^ *+' conftest.er1 >conftest.err
31111 rm -f conftest.er1
31112 cat conftest.err >&5
31113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31114 (exit $ac_status); } && {
31115 test -z "$ac_c_werror_flag" ||
31116 test ! -s conftest.err
31117 } && test -s conftest$ac_exeext &&
31118 $as_test_x conftest$ac_exeext; then
31119 :
31120 else
31121 echo "$as_me: failed program was:" >&5
31122 sed 's/^/| /' conftest.$ac_ext >&5
31123
31124 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31125 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31126 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31127 echo $ECHO_N "(cached) $ECHO_C" >&6
31128 else
31129 ac_check_lib_save_LIBS=$LIBS
31130 LIBS="-ldnet $LIBS"
31131 cat >conftest.$ac_ext <<_ACEOF
31132 /* confdefs.h. */
31133 _ACEOF
31134 cat confdefs.h >>conftest.$ac_ext
31135 cat >>conftest.$ac_ext <<_ACEOF
31136 /* end confdefs.h. */
31137
31138 /* Override any GCC internal prototype to avoid an error.
31139 Use char because int might match the return type of a GCC
31140 builtin and then its argument prototype would still apply. */
31141 #ifdef __cplusplus
31142 extern "C"
31143 #endif
31144 char dnet_ntoa ();
31145 int
31146 main ()
31147 {
31148 return dnet_ntoa ();
31149 ;
31150 return 0;
31151 }
31152 _ACEOF
31153 rm -f conftest.$ac_objext conftest$ac_exeext
31154 if { (ac_try="$ac_link"
31155 case "(($ac_try" in
31156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31157 *) ac_try_echo=$ac_try;;
31158 esac
31159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31160 (eval "$ac_link") 2>conftest.er1
31161 ac_status=$?
31162 grep -v '^ *+' conftest.er1 >conftest.err
31163 rm -f conftest.er1
31164 cat conftest.err >&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } && {
31167 test -z "$ac_c_werror_flag" ||
31168 test ! -s conftest.err
31169 } && test -s conftest$ac_exeext &&
31170 $as_test_x conftest$ac_exeext; then
31171 ac_cv_lib_dnet_dnet_ntoa=yes
31172 else
31173 echo "$as_me: failed program was:" >&5
31174 sed 's/^/| /' conftest.$ac_ext >&5
31175
31176 ac_cv_lib_dnet_dnet_ntoa=no
31177 fi
31178
31179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31180 conftest$ac_exeext conftest.$ac_ext
31181 LIBS=$ac_check_lib_save_LIBS
31182 fi
31183 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31184 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31185 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31186 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31187 fi
31188
31189 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31190 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31191 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31192 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31193 echo $ECHO_N "(cached) $ECHO_C" >&6
31194 else
31195 ac_check_lib_save_LIBS=$LIBS
31196 LIBS="-ldnet_stub $LIBS"
31197 cat >conftest.$ac_ext <<_ACEOF
31198 /* confdefs.h. */
31199 _ACEOF
31200 cat confdefs.h >>conftest.$ac_ext
31201 cat >>conftest.$ac_ext <<_ACEOF
31202 /* end confdefs.h. */
31203
31204 /* Override any GCC internal prototype to avoid an error.
31205 Use char because int might match the return type of a GCC
31206 builtin and then its argument prototype would still apply. */
31207 #ifdef __cplusplus
31208 extern "C"
31209 #endif
31210 char dnet_ntoa ();
31211 int
31212 main ()
31213 {
31214 return dnet_ntoa ();
31215 ;
31216 return 0;
31217 }
31218 _ACEOF
31219 rm -f conftest.$ac_objext conftest$ac_exeext
31220 if { (ac_try="$ac_link"
31221 case "(($ac_try" in
31222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31223 *) ac_try_echo=$ac_try;;
31224 esac
31225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31226 (eval "$ac_link") 2>conftest.er1
31227 ac_status=$?
31228 grep -v '^ *+' conftest.er1 >conftest.err
31229 rm -f conftest.er1
31230 cat conftest.err >&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); } && {
31233 test -z "$ac_c_werror_flag" ||
31234 test ! -s conftest.err
31235 } && test -s conftest$ac_exeext &&
31236 $as_test_x conftest$ac_exeext; then
31237 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31238 else
31239 echo "$as_me: failed program was:" >&5
31240 sed 's/^/| /' conftest.$ac_ext >&5
31241
31242 ac_cv_lib_dnet_stub_dnet_ntoa=no
31243 fi
31244
31245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31246 conftest$ac_exeext conftest.$ac_ext
31247 LIBS=$ac_check_lib_save_LIBS
31248 fi
31249 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31250 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31251 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31252 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31253 fi
31254
31255 fi
31256 fi
31257
31258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31259 conftest$ac_exeext conftest.$ac_ext
31260 LIBS="$ac_xsave_LIBS"
31261
31262 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31263 # to get the SysV transport functions.
31264 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31265 # needs -lnsl.
31266 # The nsl library prevents programs from opening the X display
31267 # on Irix 5.2, according to T.E. Dickey.
31268 # The functions gethostbyname, getservbyname, and inet_addr are
31269 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31270 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31271 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31272 if test "${ac_cv_func_gethostbyname+set}" = set; then
31273 echo $ECHO_N "(cached) $ECHO_C" >&6
31274 else
31275 cat >conftest.$ac_ext <<_ACEOF
31276 /* confdefs.h. */
31277 _ACEOF
31278 cat confdefs.h >>conftest.$ac_ext
31279 cat >>conftest.$ac_ext <<_ACEOF
31280 /* end confdefs.h. */
31281 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31283 #define gethostbyname innocuous_gethostbyname
31284
31285 /* System header to define __stub macros and hopefully few prototypes,
31286 which can conflict with char gethostbyname (); below.
31287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31288 <limits.h> exists even on freestanding compilers. */
31289
31290 #ifdef __STDC__
31291 # include <limits.h>
31292 #else
31293 # include <assert.h>
31294 #endif
31295
31296 #undef gethostbyname
31297
31298 /* Override any GCC internal prototype to avoid an error.
31299 Use char because int might match the return type of a GCC
31300 builtin and then its argument prototype would still apply. */
31301 #ifdef __cplusplus
31302 extern "C"
31303 #endif
31304 char gethostbyname ();
31305 /* The GNU C library defines this for functions which it implements
31306 to always fail with ENOSYS. Some functions are actually named
31307 something starting with __ and the normal name is an alias. */
31308 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31309 choke me
31310 #endif
31311
31312 int
31313 main ()
31314 {
31315 return gethostbyname ();
31316 ;
31317 return 0;
31318 }
31319 _ACEOF
31320 rm -f conftest.$ac_objext conftest$ac_exeext
31321 if { (ac_try="$ac_link"
31322 case "(($ac_try" in
31323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31324 *) ac_try_echo=$ac_try;;
31325 esac
31326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31327 (eval "$ac_link") 2>conftest.er1
31328 ac_status=$?
31329 grep -v '^ *+' conftest.er1 >conftest.err
31330 rm -f conftest.er1
31331 cat conftest.err >&5
31332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31333 (exit $ac_status); } && {
31334 test -z "$ac_c_werror_flag" ||
31335 test ! -s conftest.err
31336 } && test -s conftest$ac_exeext &&
31337 $as_test_x conftest$ac_exeext; then
31338 ac_cv_func_gethostbyname=yes
31339 else
31340 echo "$as_me: failed program was:" >&5
31341 sed 's/^/| /' conftest.$ac_ext >&5
31342
31343 ac_cv_func_gethostbyname=no
31344 fi
31345
31346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31347 conftest$ac_exeext conftest.$ac_ext
31348 fi
31349 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31350 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31351
31352 if test $ac_cv_func_gethostbyname = no; then
31353 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31354 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31355 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31356 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 else
31358 ac_check_lib_save_LIBS=$LIBS
31359 LIBS="-lnsl $LIBS"
31360 cat >conftest.$ac_ext <<_ACEOF
31361 /* confdefs.h. */
31362 _ACEOF
31363 cat confdefs.h >>conftest.$ac_ext
31364 cat >>conftest.$ac_ext <<_ACEOF
31365 /* end confdefs.h. */
31366
31367 /* Override any GCC internal prototype to avoid an error.
31368 Use char because int might match the return type of a GCC
31369 builtin and then its argument prototype would still apply. */
31370 #ifdef __cplusplus
31371 extern "C"
31372 #endif
31373 char gethostbyname ();
31374 int
31375 main ()
31376 {
31377 return gethostbyname ();
31378 ;
31379 return 0;
31380 }
31381 _ACEOF
31382 rm -f conftest.$ac_objext conftest$ac_exeext
31383 if { (ac_try="$ac_link"
31384 case "(($ac_try" in
31385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31386 *) ac_try_echo=$ac_try;;
31387 esac
31388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31389 (eval "$ac_link") 2>conftest.er1
31390 ac_status=$?
31391 grep -v '^ *+' conftest.er1 >conftest.err
31392 rm -f conftest.er1
31393 cat conftest.err >&5
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); } && {
31396 test -z "$ac_c_werror_flag" ||
31397 test ! -s conftest.err
31398 } && test -s conftest$ac_exeext &&
31399 $as_test_x conftest$ac_exeext; then
31400 ac_cv_lib_nsl_gethostbyname=yes
31401 else
31402 echo "$as_me: failed program was:" >&5
31403 sed 's/^/| /' conftest.$ac_ext >&5
31404
31405 ac_cv_lib_nsl_gethostbyname=no
31406 fi
31407
31408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31409 conftest$ac_exeext conftest.$ac_ext
31410 LIBS=$ac_check_lib_save_LIBS
31411 fi
31412 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31413 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31414 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31415 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31416 fi
31417
31418 if test $ac_cv_lib_nsl_gethostbyname = no; then
31419 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31420 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31421 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31422 echo $ECHO_N "(cached) $ECHO_C" >&6
31423 else
31424 ac_check_lib_save_LIBS=$LIBS
31425 LIBS="-lbsd $LIBS"
31426 cat >conftest.$ac_ext <<_ACEOF
31427 /* confdefs.h. */
31428 _ACEOF
31429 cat confdefs.h >>conftest.$ac_ext
31430 cat >>conftest.$ac_ext <<_ACEOF
31431 /* end confdefs.h. */
31432
31433 /* Override any GCC internal prototype to avoid an error.
31434 Use char because int might match the return type of a GCC
31435 builtin and then its argument prototype would still apply. */
31436 #ifdef __cplusplus
31437 extern "C"
31438 #endif
31439 char gethostbyname ();
31440 int
31441 main ()
31442 {
31443 return gethostbyname ();
31444 ;
31445 return 0;
31446 }
31447 _ACEOF
31448 rm -f conftest.$ac_objext conftest$ac_exeext
31449 if { (ac_try="$ac_link"
31450 case "(($ac_try" in
31451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31452 *) ac_try_echo=$ac_try;;
31453 esac
31454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31455 (eval "$ac_link") 2>conftest.er1
31456 ac_status=$?
31457 grep -v '^ *+' conftest.er1 >conftest.err
31458 rm -f conftest.er1
31459 cat conftest.err >&5
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); } && {
31462 test -z "$ac_c_werror_flag" ||
31463 test ! -s conftest.err
31464 } && test -s conftest$ac_exeext &&
31465 $as_test_x conftest$ac_exeext; then
31466 ac_cv_lib_bsd_gethostbyname=yes
31467 else
31468 echo "$as_me: failed program was:" >&5
31469 sed 's/^/| /' conftest.$ac_ext >&5
31470
31471 ac_cv_lib_bsd_gethostbyname=no
31472 fi
31473
31474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31475 conftest$ac_exeext conftest.$ac_ext
31476 LIBS=$ac_check_lib_save_LIBS
31477 fi
31478 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31479 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31480 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31481 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31482 fi
31483
31484 fi
31485 fi
31486
31487 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31488 # socket/setsockopt and other routines are undefined under SCO ODT
31489 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31490 # on later versions), says Simon Leinen: it contains gethostby*
31491 # variants that don't use the name server (or something). -lsocket
31492 # must be given before -lnsl if both are needed. We assume that
31493 # if connect needs -lnsl, so does gethostbyname.
31494 { echo "$as_me:$LINENO: checking for connect" >&5
31495 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31496 if test "${ac_cv_func_connect+set}" = set; then
31497 echo $ECHO_N "(cached) $ECHO_C" >&6
31498 else
31499 cat >conftest.$ac_ext <<_ACEOF
31500 /* confdefs.h. */
31501 _ACEOF
31502 cat confdefs.h >>conftest.$ac_ext
31503 cat >>conftest.$ac_ext <<_ACEOF
31504 /* end confdefs.h. */
31505 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31507 #define connect innocuous_connect
31508
31509 /* System header to define __stub macros and hopefully few prototypes,
31510 which can conflict with char connect (); below.
31511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31512 <limits.h> exists even on freestanding compilers. */
31513
31514 #ifdef __STDC__
31515 # include <limits.h>
31516 #else
31517 # include <assert.h>
31518 #endif
31519
31520 #undef connect
31521
31522 /* Override any GCC internal prototype to avoid an error.
31523 Use char because int might match the return type of a GCC
31524 builtin and then its argument prototype would still apply. */
31525 #ifdef __cplusplus
31526 extern "C"
31527 #endif
31528 char connect ();
31529 /* The GNU C library defines this for functions which it implements
31530 to always fail with ENOSYS. Some functions are actually named
31531 something starting with __ and the normal name is an alias. */
31532 #if defined __stub_connect || defined __stub___connect
31533 choke me
31534 #endif
31535
31536 int
31537 main ()
31538 {
31539 return connect ();
31540 ;
31541 return 0;
31542 }
31543 _ACEOF
31544 rm -f conftest.$ac_objext conftest$ac_exeext
31545 if { (ac_try="$ac_link"
31546 case "(($ac_try" in
31547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31548 *) ac_try_echo=$ac_try;;
31549 esac
31550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31551 (eval "$ac_link") 2>conftest.er1
31552 ac_status=$?
31553 grep -v '^ *+' conftest.er1 >conftest.err
31554 rm -f conftest.er1
31555 cat conftest.err >&5
31556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557 (exit $ac_status); } && {
31558 test -z "$ac_c_werror_flag" ||
31559 test ! -s conftest.err
31560 } && test -s conftest$ac_exeext &&
31561 $as_test_x conftest$ac_exeext; then
31562 ac_cv_func_connect=yes
31563 else
31564 echo "$as_me: failed program was:" >&5
31565 sed 's/^/| /' conftest.$ac_ext >&5
31566
31567 ac_cv_func_connect=no
31568 fi
31569
31570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31571 conftest$ac_exeext conftest.$ac_ext
31572 fi
31573 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31574 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31575
31576 if test $ac_cv_func_connect = no; then
31577 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31578 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31579 if test "${ac_cv_lib_socket_connect+set}" = set; then
31580 echo $ECHO_N "(cached) $ECHO_C" >&6
31581 else
31582 ac_check_lib_save_LIBS=$LIBS
31583 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31584 cat >conftest.$ac_ext <<_ACEOF
31585 /* confdefs.h. */
31586 _ACEOF
31587 cat confdefs.h >>conftest.$ac_ext
31588 cat >>conftest.$ac_ext <<_ACEOF
31589 /* end confdefs.h. */
31590
31591 /* Override any GCC internal prototype to avoid an error.
31592 Use char because int might match the return type of a GCC
31593 builtin and then its argument prototype would still apply. */
31594 #ifdef __cplusplus
31595 extern "C"
31596 #endif
31597 char connect ();
31598 int
31599 main ()
31600 {
31601 return connect ();
31602 ;
31603 return 0;
31604 }
31605 _ACEOF
31606 rm -f conftest.$ac_objext conftest$ac_exeext
31607 if { (ac_try="$ac_link"
31608 case "(($ac_try" in
31609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31610 *) ac_try_echo=$ac_try;;
31611 esac
31612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31613 (eval "$ac_link") 2>conftest.er1
31614 ac_status=$?
31615 grep -v '^ *+' conftest.er1 >conftest.err
31616 rm -f conftest.er1
31617 cat conftest.err >&5
31618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31619 (exit $ac_status); } && {
31620 test -z "$ac_c_werror_flag" ||
31621 test ! -s conftest.err
31622 } && test -s conftest$ac_exeext &&
31623 $as_test_x conftest$ac_exeext; then
31624 ac_cv_lib_socket_connect=yes
31625 else
31626 echo "$as_me: failed program was:" >&5
31627 sed 's/^/| /' conftest.$ac_ext >&5
31628
31629 ac_cv_lib_socket_connect=no
31630 fi
31631
31632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31633 conftest$ac_exeext conftest.$ac_ext
31634 LIBS=$ac_check_lib_save_LIBS
31635 fi
31636 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31637 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31638 if test $ac_cv_lib_socket_connect = yes; then
31639 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31640 fi
31641
31642 fi
31643
31644 # Guillermo Gomez says -lposix is necessary on A/UX.
31645 { echo "$as_me:$LINENO: checking for remove" >&5
31646 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31647 if test "${ac_cv_func_remove+set}" = set; then
31648 echo $ECHO_N "(cached) $ECHO_C" >&6
31649 else
31650 cat >conftest.$ac_ext <<_ACEOF
31651 /* confdefs.h. */
31652 _ACEOF
31653 cat confdefs.h >>conftest.$ac_ext
31654 cat >>conftest.$ac_ext <<_ACEOF
31655 /* end confdefs.h. */
31656 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31658 #define remove innocuous_remove
31659
31660 /* System header to define __stub macros and hopefully few prototypes,
31661 which can conflict with char remove (); below.
31662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31663 <limits.h> exists even on freestanding compilers. */
31664
31665 #ifdef __STDC__
31666 # include <limits.h>
31667 #else
31668 # include <assert.h>
31669 #endif
31670
31671 #undef remove
31672
31673 /* Override any GCC internal prototype to avoid an error.
31674 Use char because int might match the return type of a GCC
31675 builtin and then its argument prototype would still apply. */
31676 #ifdef __cplusplus
31677 extern "C"
31678 #endif
31679 char remove ();
31680 /* The GNU C library defines this for functions which it implements
31681 to always fail with ENOSYS. Some functions are actually named
31682 something starting with __ and the normal name is an alias. */
31683 #if defined __stub_remove || defined __stub___remove
31684 choke me
31685 #endif
31686
31687 int
31688 main ()
31689 {
31690 return remove ();
31691 ;
31692 return 0;
31693 }
31694 _ACEOF
31695 rm -f conftest.$ac_objext conftest$ac_exeext
31696 if { (ac_try="$ac_link"
31697 case "(($ac_try" in
31698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31699 *) ac_try_echo=$ac_try;;
31700 esac
31701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31702 (eval "$ac_link") 2>conftest.er1
31703 ac_status=$?
31704 grep -v '^ *+' conftest.er1 >conftest.err
31705 rm -f conftest.er1
31706 cat conftest.err >&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } && {
31709 test -z "$ac_c_werror_flag" ||
31710 test ! -s conftest.err
31711 } && test -s conftest$ac_exeext &&
31712 $as_test_x conftest$ac_exeext; then
31713 ac_cv_func_remove=yes
31714 else
31715 echo "$as_me: failed program was:" >&5
31716 sed 's/^/| /' conftest.$ac_ext >&5
31717
31718 ac_cv_func_remove=no
31719 fi
31720
31721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31722 conftest$ac_exeext conftest.$ac_ext
31723 fi
31724 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31725 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31726
31727 if test $ac_cv_func_remove = no; then
31728 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31729 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31730 if test "${ac_cv_lib_posix_remove+set}" = set; then
31731 echo $ECHO_N "(cached) $ECHO_C" >&6
31732 else
31733 ac_check_lib_save_LIBS=$LIBS
31734 LIBS="-lposix $LIBS"
31735 cat >conftest.$ac_ext <<_ACEOF
31736 /* confdefs.h. */
31737 _ACEOF
31738 cat confdefs.h >>conftest.$ac_ext
31739 cat >>conftest.$ac_ext <<_ACEOF
31740 /* end confdefs.h. */
31741
31742 /* Override any GCC internal prototype to avoid an error.
31743 Use char because int might match the return type of a GCC
31744 builtin and then its argument prototype would still apply. */
31745 #ifdef __cplusplus
31746 extern "C"
31747 #endif
31748 char remove ();
31749 int
31750 main ()
31751 {
31752 return remove ();
31753 ;
31754 return 0;
31755 }
31756 _ACEOF
31757 rm -f conftest.$ac_objext conftest$ac_exeext
31758 if { (ac_try="$ac_link"
31759 case "(($ac_try" in
31760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31761 *) ac_try_echo=$ac_try;;
31762 esac
31763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31764 (eval "$ac_link") 2>conftest.er1
31765 ac_status=$?
31766 grep -v '^ *+' conftest.er1 >conftest.err
31767 rm -f conftest.er1
31768 cat conftest.err >&5
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); } && {
31771 test -z "$ac_c_werror_flag" ||
31772 test ! -s conftest.err
31773 } && test -s conftest$ac_exeext &&
31774 $as_test_x conftest$ac_exeext; then
31775 ac_cv_lib_posix_remove=yes
31776 else
31777 echo "$as_me: failed program was:" >&5
31778 sed 's/^/| /' conftest.$ac_ext >&5
31779
31780 ac_cv_lib_posix_remove=no
31781 fi
31782
31783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31784 conftest$ac_exeext conftest.$ac_ext
31785 LIBS=$ac_check_lib_save_LIBS
31786 fi
31787 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31788 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31789 if test $ac_cv_lib_posix_remove = yes; then
31790 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31791 fi
31792
31793 fi
31794
31795 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31796 { echo "$as_me:$LINENO: checking for shmat" >&5
31797 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31798 if test "${ac_cv_func_shmat+set}" = set; then
31799 echo $ECHO_N "(cached) $ECHO_C" >&6
31800 else
31801 cat >conftest.$ac_ext <<_ACEOF
31802 /* confdefs.h. */
31803 _ACEOF
31804 cat confdefs.h >>conftest.$ac_ext
31805 cat >>conftest.$ac_ext <<_ACEOF
31806 /* end confdefs.h. */
31807 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31809 #define shmat innocuous_shmat
31810
31811 /* System header to define __stub macros and hopefully few prototypes,
31812 which can conflict with char shmat (); below.
31813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31814 <limits.h> exists even on freestanding compilers. */
31815
31816 #ifdef __STDC__
31817 # include <limits.h>
31818 #else
31819 # include <assert.h>
31820 #endif
31821
31822 #undef shmat
31823
31824 /* Override any GCC internal prototype to avoid an error.
31825 Use char because int might match the return type of a GCC
31826 builtin and then its argument prototype would still apply. */
31827 #ifdef __cplusplus
31828 extern "C"
31829 #endif
31830 char shmat ();
31831 /* The GNU C library defines this for functions which it implements
31832 to always fail with ENOSYS. Some functions are actually named
31833 something starting with __ and the normal name is an alias. */
31834 #if defined __stub_shmat || defined __stub___shmat
31835 choke me
31836 #endif
31837
31838 int
31839 main ()
31840 {
31841 return shmat ();
31842 ;
31843 return 0;
31844 }
31845 _ACEOF
31846 rm -f conftest.$ac_objext conftest$ac_exeext
31847 if { (ac_try="$ac_link"
31848 case "(($ac_try" in
31849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31850 *) ac_try_echo=$ac_try;;
31851 esac
31852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31853 (eval "$ac_link") 2>conftest.er1
31854 ac_status=$?
31855 grep -v '^ *+' conftest.er1 >conftest.err
31856 rm -f conftest.er1
31857 cat conftest.err >&5
31858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31859 (exit $ac_status); } && {
31860 test -z "$ac_c_werror_flag" ||
31861 test ! -s conftest.err
31862 } && test -s conftest$ac_exeext &&
31863 $as_test_x conftest$ac_exeext; then
31864 ac_cv_func_shmat=yes
31865 else
31866 echo "$as_me: failed program was:" >&5
31867 sed 's/^/| /' conftest.$ac_ext >&5
31868
31869 ac_cv_func_shmat=no
31870 fi
31871
31872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31873 conftest$ac_exeext conftest.$ac_ext
31874 fi
31875 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31876 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31877
31878 if test $ac_cv_func_shmat = no; then
31879 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31880 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31881 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31882 echo $ECHO_N "(cached) $ECHO_C" >&6
31883 else
31884 ac_check_lib_save_LIBS=$LIBS
31885 LIBS="-lipc $LIBS"
31886 cat >conftest.$ac_ext <<_ACEOF
31887 /* confdefs.h. */
31888 _ACEOF
31889 cat confdefs.h >>conftest.$ac_ext
31890 cat >>conftest.$ac_ext <<_ACEOF
31891 /* end confdefs.h. */
31892
31893 /* Override any GCC internal prototype to avoid an error.
31894 Use char because int might match the return type of a GCC
31895 builtin and then its argument prototype would still apply. */
31896 #ifdef __cplusplus
31897 extern "C"
31898 #endif
31899 char shmat ();
31900 int
31901 main ()
31902 {
31903 return shmat ();
31904 ;
31905 return 0;
31906 }
31907 _ACEOF
31908 rm -f conftest.$ac_objext conftest$ac_exeext
31909 if { (ac_try="$ac_link"
31910 case "(($ac_try" in
31911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31912 *) ac_try_echo=$ac_try;;
31913 esac
31914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31915 (eval "$ac_link") 2>conftest.er1
31916 ac_status=$?
31917 grep -v '^ *+' conftest.er1 >conftest.err
31918 rm -f conftest.er1
31919 cat conftest.err >&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); } && {
31922 test -z "$ac_c_werror_flag" ||
31923 test ! -s conftest.err
31924 } && test -s conftest$ac_exeext &&
31925 $as_test_x conftest$ac_exeext; then
31926 ac_cv_lib_ipc_shmat=yes
31927 else
31928 echo "$as_me: failed program was:" >&5
31929 sed 's/^/| /' conftest.$ac_ext >&5
31930
31931 ac_cv_lib_ipc_shmat=no
31932 fi
31933
31934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31935 conftest$ac_exeext conftest.$ac_ext
31936 LIBS=$ac_check_lib_save_LIBS
31937 fi
31938 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31939 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31940 if test $ac_cv_lib_ipc_shmat = yes; then
31941 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31942 fi
31943
31944 fi
31945 fi
31946
31947 # Check for libraries that X11R6 Xt/Xaw programs need.
31948 ac_save_LDFLAGS=$LDFLAGS
31949 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31950 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31951 # check for ICE first), but we must link in the order -lSM -lICE or
31952 # we get undefined symbols. So assume we have SM if we have ICE.
31953 # These have to be linked with before -lX11, unlike the other
31954 # libraries we check for below, so use a different variable.
31955 # John Interrante, Karl Berry
31956 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31957 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31958 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31959 echo $ECHO_N "(cached) $ECHO_C" >&6
31960 else
31961 ac_check_lib_save_LIBS=$LIBS
31962 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31963 cat >conftest.$ac_ext <<_ACEOF
31964 /* confdefs.h. */
31965 _ACEOF
31966 cat confdefs.h >>conftest.$ac_ext
31967 cat >>conftest.$ac_ext <<_ACEOF
31968 /* end confdefs.h. */
31969
31970 /* Override any GCC internal prototype to avoid an error.
31971 Use char because int might match the return type of a GCC
31972 builtin and then its argument prototype would still apply. */
31973 #ifdef __cplusplus
31974 extern "C"
31975 #endif
31976 char IceConnectionNumber ();
31977 int
31978 main ()
31979 {
31980 return IceConnectionNumber ();
31981 ;
31982 return 0;
31983 }
31984 _ACEOF
31985 rm -f conftest.$ac_objext conftest$ac_exeext
31986 if { (ac_try="$ac_link"
31987 case "(($ac_try" in
31988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31989 *) ac_try_echo=$ac_try;;
31990 esac
31991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31992 (eval "$ac_link") 2>conftest.er1
31993 ac_status=$?
31994 grep -v '^ *+' conftest.er1 >conftest.err
31995 rm -f conftest.er1
31996 cat conftest.err >&5
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); } && {
31999 test -z "$ac_c_werror_flag" ||
32000 test ! -s conftest.err
32001 } && test -s conftest$ac_exeext &&
32002 $as_test_x conftest$ac_exeext; then
32003 ac_cv_lib_ICE_IceConnectionNumber=yes
32004 else
32005 echo "$as_me: failed program was:" >&5
32006 sed 's/^/| /' conftest.$ac_ext >&5
32007
32008 ac_cv_lib_ICE_IceConnectionNumber=no
32009 fi
32010
32011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32012 conftest$ac_exeext conftest.$ac_ext
32013 LIBS=$ac_check_lib_save_LIBS
32014 fi
32015 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32016 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32017 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32018 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32019 fi
32020
32021 LDFLAGS=$ac_save_LDFLAGS
32022
32023 fi
32024
32025
32026 if test "$no_x" = "yes"; then
32027 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32028 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32029 { (exit 1); exit 1; }; }
32030 fi
32031
32032 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32033 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32034 AFMINSTALL=afminstall
32035 COMPILED_X_PROGRAM=0
32036
32037 fi
32038
32039 if test "$wxUSE_X11" = 1; then
32040 if test "$wxUSE_NANOX" = "yes"; then
32041 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32042 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32043 if test "x$MICROWIN" = x ; then
32044 { echo "$as_me:$LINENO: result: not found" >&5
32045 echo "${ECHO_T}not found" >&6; }
32046 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32047 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32048 { (exit 1); exit 1; }; }
32049 else
32050 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32051 echo "${ECHO_T}$MICROWIN" >&6; }
32052 cat >>confdefs.h <<\_ACEOF
32053 #define wxUSE_NANOX 1
32054 _ACEOF
32055
32056 fi
32057 fi
32058
32059 if test "$wxUSE_UNICODE" = "yes"; then
32060
32061
32062 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32063 if test -n "$ac_tool_prefix"; then
32064 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32065 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32068 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32069 echo $ECHO_N "(cached) $ECHO_C" >&6
32070 else
32071 case $PKG_CONFIG in
32072 [\\/]* | ?:[\\/]*)
32073 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32074 ;;
32075 *)
32076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32077 for as_dir in $PATH
32078 do
32079 IFS=$as_save_IFS
32080 test -z "$as_dir" && as_dir=.
32081 for ac_exec_ext in '' $ac_executable_extensions; do
32082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32083 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32085 break 2
32086 fi
32087 done
32088 done
32089 IFS=$as_save_IFS
32090
32091 ;;
32092 esac
32093 fi
32094 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32095 if test -n "$PKG_CONFIG"; then
32096 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32097 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32098 else
32099 { echo "$as_me:$LINENO: result: no" >&5
32100 echo "${ECHO_T}no" >&6; }
32101 fi
32102
32103
32104 fi
32105 if test -z "$ac_cv_path_PKG_CONFIG"; then
32106 ac_pt_PKG_CONFIG=$PKG_CONFIG
32107 # Extract the first word of "pkg-config", so it can be a program name with args.
32108 set dummy pkg-config; ac_word=$2
32109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32111 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32112 echo $ECHO_N "(cached) $ECHO_C" >&6
32113 else
32114 case $ac_pt_PKG_CONFIG in
32115 [\\/]* | ?:[\\/]*)
32116 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32117 ;;
32118 *)
32119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32120 for as_dir in $PATH
32121 do
32122 IFS=$as_save_IFS
32123 test -z "$as_dir" && as_dir=.
32124 for ac_exec_ext in '' $ac_executable_extensions; do
32125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32126 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32128 break 2
32129 fi
32130 done
32131 done
32132 IFS=$as_save_IFS
32133
32134 ;;
32135 esac
32136 fi
32137 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32138 if test -n "$ac_pt_PKG_CONFIG"; then
32139 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32140 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32141 else
32142 { echo "$as_me:$LINENO: result: no" >&5
32143 echo "${ECHO_T}no" >&6; }
32144 fi
32145
32146 if test "x$ac_pt_PKG_CONFIG" = x; then
32147 PKG_CONFIG=""
32148 else
32149 case $cross_compiling:$ac_tool_warned in
32150 yes:)
32151 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32152 whose name does not start with the host triplet. If you think this
32153 configuration is useful to you, please write to autoconf@gnu.org." >&5
32154 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32155 whose name does not start with the host triplet. If you think this
32156 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32157 ac_tool_warned=yes ;;
32158 esac
32159 PKG_CONFIG=$ac_pt_PKG_CONFIG
32160 fi
32161 else
32162 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32163 fi
32164
32165 fi
32166 if test -n "$PKG_CONFIG"; then
32167 _pkg_min_version=0.9.0
32168 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32169 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32170 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32171 { echo "$as_me:$LINENO: result: yes" >&5
32172 echo "${ECHO_T}yes" >&6; }
32173 else
32174 { echo "$as_me:$LINENO: result: no" >&5
32175 echo "${ECHO_T}no" >&6; }
32176 PKG_CONFIG=""
32177 fi
32178
32179 fi
32180
32181
32182 pkg_failed=no
32183 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32184 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32185
32186 if test -n "$PKG_CONFIG"; then
32187 if test -n "$PANGOX_CFLAGS"; then
32188 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32189 else
32190 if test -n "$PKG_CONFIG" && \
32191 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32192 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32193 ac_status=$?
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); }; then
32196 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32197 else
32198 pkg_failed=yes
32199 fi
32200 fi
32201 else
32202 pkg_failed=untried
32203 fi
32204 if test -n "$PKG_CONFIG"; then
32205 if test -n "$PANGOX_LIBS"; then
32206 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32207 else
32208 if test -n "$PKG_CONFIG" && \
32209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32210 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32211 ac_status=$?
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); }; then
32214 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32215 else
32216 pkg_failed=yes
32217 fi
32218 fi
32219 else
32220 pkg_failed=untried
32221 fi
32222
32223
32224
32225 if test $pkg_failed = yes; then
32226
32227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32228 _pkg_short_errors_supported=yes
32229 else
32230 _pkg_short_errors_supported=no
32231 fi
32232 if test $_pkg_short_errors_supported = yes; then
32233 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32234 else
32235 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32236 fi
32237 # Put the nasty error message in config.log where it belongs
32238 echo "$PANGOX_PKG_ERRORS" >&5
32239
32240
32241 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32242 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32243 { (exit 1); exit 1; }; }
32244
32245
32246 elif test $pkg_failed = untried; then
32247
32248 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32249 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32250 { (exit 1); exit 1; }; }
32251
32252
32253 else
32254 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32255 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32256 { echo "$as_me:$LINENO: result: yes" >&5
32257 echo "${ECHO_T}yes" >&6; }
32258
32259 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32260 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32261 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32262
32263 fi
32264
32265 pkg_failed=no
32266 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32267 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32268
32269 if test -n "$PKG_CONFIG"; then
32270 if test -n "$PANGOFT2_CFLAGS"; then
32271 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32272 else
32273 if test -n "$PKG_CONFIG" && \
32274 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32275 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32276 ac_status=$?
32277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32278 (exit $ac_status); }; then
32279 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32280 else
32281 pkg_failed=yes
32282 fi
32283 fi
32284 else
32285 pkg_failed=untried
32286 fi
32287 if test -n "$PKG_CONFIG"; then
32288 if test -n "$PANGOFT2_LIBS"; then
32289 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32290 else
32291 if test -n "$PKG_CONFIG" && \
32292 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32293 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32294 ac_status=$?
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; then
32297 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32298 else
32299 pkg_failed=yes
32300 fi
32301 fi
32302 else
32303 pkg_failed=untried
32304 fi
32305
32306
32307
32308 if test $pkg_failed = yes; then
32309
32310 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32311 _pkg_short_errors_supported=yes
32312 else
32313 _pkg_short_errors_supported=no
32314 fi
32315 if test $_pkg_short_errors_supported = yes; then
32316 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32317 else
32318 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32319 fi
32320 # Put the nasty error message in config.log where it belongs
32321 echo "$PANGOFT2_PKG_ERRORS" >&5
32322
32323
32324 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32325 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32326 wxUSE_PRINTING_ARCHITECTURE="no"
32327
32328
32329 elif test $pkg_failed = untried; then
32330
32331 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32332 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32333 wxUSE_PRINTING_ARCHITECTURE="no"
32334
32335
32336 else
32337 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32338 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32339 { echo "$as_me:$LINENO: result: yes" >&5
32340 echo "${ECHO_T}yes" >&6; }
32341
32342 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32343 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32344 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32345
32346 fi
32347
32348 pkg_failed=no
32349 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32350 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32351
32352 if test -n "$PKG_CONFIG"; then
32353 if test -n "$PANGOXFT_CFLAGS"; then
32354 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32355 else
32356 if test -n "$PKG_CONFIG" && \
32357 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32358 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32359 ac_status=$?
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); }; then
32362 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32363 else
32364 pkg_failed=yes
32365 fi
32366 fi
32367 else
32368 pkg_failed=untried
32369 fi
32370 if test -n "$PKG_CONFIG"; then
32371 if test -n "$PANGOXFT_LIBS"; then
32372 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32373 else
32374 if test -n "$PKG_CONFIG" && \
32375 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32376 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32377 ac_status=$?
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); }; then
32380 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32381 else
32382 pkg_failed=yes
32383 fi
32384 fi
32385 else
32386 pkg_failed=untried
32387 fi
32388
32389
32390
32391 if test $pkg_failed = yes; then
32392
32393 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32394 _pkg_short_errors_supported=yes
32395 else
32396 _pkg_short_errors_supported=no
32397 fi
32398 if test $_pkg_short_errors_supported = yes; then
32399 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32400 else
32401 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32402 fi
32403 # Put the nasty error message in config.log where it belongs
32404 echo "$PANGOXFT_PKG_ERRORS" >&5
32405
32406
32407 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32408 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32409
32410
32411 elif test $pkg_failed = untried; then
32412
32413 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32414 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32415
32416
32417 else
32418 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32419 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32420 { echo "$as_me:$LINENO: result: yes" >&5
32421 echo "${ECHO_T}yes" >&6; }
32422
32423 cat >>confdefs.h <<\_ACEOF
32424 #define HAVE_PANGO_XFT 1
32425 _ACEOF
32426
32427 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32428 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32429 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32430
32431 fi
32432 save_LIBS="$LIBS"
32433 LIBS="$LIBS $PANGOX_LIBS"
32434
32435 for ac_func in pango_font_family_is_monospace
32436 do
32437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32438 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32440 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32441 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 else
32443 cat >conftest.$ac_ext <<_ACEOF
32444 /* confdefs.h. */
32445 _ACEOF
32446 cat confdefs.h >>conftest.$ac_ext
32447 cat >>conftest.$ac_ext <<_ACEOF
32448 /* end confdefs.h. */
32449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32451 #define $ac_func innocuous_$ac_func
32452
32453 /* System header to define __stub macros and hopefully few prototypes,
32454 which can conflict with char $ac_func (); below.
32455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32456 <limits.h> exists even on freestanding compilers. */
32457
32458 #ifdef __STDC__
32459 # include <limits.h>
32460 #else
32461 # include <assert.h>
32462 #endif
32463
32464 #undef $ac_func
32465
32466 /* Override any GCC internal prototype to avoid an error.
32467 Use char because int might match the return type of a GCC
32468 builtin and then its argument prototype would still apply. */
32469 #ifdef __cplusplus
32470 extern "C"
32471 #endif
32472 char $ac_func ();
32473 /* The GNU C library defines this for functions which it implements
32474 to always fail with ENOSYS. Some functions are actually named
32475 something starting with __ and the normal name is an alias. */
32476 #if defined __stub_$ac_func || defined __stub___$ac_func
32477 choke me
32478 #endif
32479
32480 int
32481 main ()
32482 {
32483 return $ac_func ();
32484 ;
32485 return 0;
32486 }
32487 _ACEOF
32488 rm -f conftest.$ac_objext conftest$ac_exeext
32489 if { (ac_try="$ac_link"
32490 case "(($ac_try" in
32491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32492 *) ac_try_echo=$ac_try;;
32493 esac
32494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32495 (eval "$ac_link") 2>conftest.er1
32496 ac_status=$?
32497 grep -v '^ *+' conftest.er1 >conftest.err
32498 rm -f conftest.er1
32499 cat conftest.err >&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); } && {
32502 test -z "$ac_c_werror_flag" ||
32503 test ! -s conftest.err
32504 } && test -s conftest$ac_exeext &&
32505 $as_test_x conftest$ac_exeext; then
32506 eval "$as_ac_var=yes"
32507 else
32508 echo "$as_me: failed program was:" >&5
32509 sed 's/^/| /' conftest.$ac_ext >&5
32510
32511 eval "$as_ac_var=no"
32512 fi
32513
32514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32515 conftest$ac_exeext conftest.$ac_ext
32516 fi
32517 ac_res=`eval echo '${'$as_ac_var'}'`
32518 { echo "$as_me:$LINENO: result: $ac_res" >&5
32519 echo "${ECHO_T}$ac_res" >&6; }
32520 if test `eval echo '${'$as_ac_var'}'` = yes; then
32521 cat >>confdefs.h <<_ACEOF
32522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32523 _ACEOF
32524
32525 fi
32526 done
32527
32528 LIBS="$save_LIBS"
32529 fi
32530
32531 wxUSE_UNIVERSAL="yes"
32532
32533 if test "$wxUSE_NANOX" = "yes"; then
32534 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32535 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"
32536 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32537 else
32538 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32539 fi
32540
32541 TOOLKIT=X11
32542 GUIDIST=X11_DIST
32543 fi
32544
32545 if test "$wxUSE_MOTIF" = 1; then
32546 if test "$wxUSE_UNICODE" = "yes"; then
32547 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
32548 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
32549 { (exit 1); exit 1; }; }
32550 fi
32551
32552 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32553 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32554
32555 ac_find_includes=
32556 for ac_dir in $SEARCH_INCLUDE /usr/include;
32557 do
32558 if test -f "$ac_dir/Xm/Xm.h"; then
32559 ac_find_includes=$ac_dir
32560 break
32561 fi
32562 done
32563
32564 if test "$ac_find_includes" != "" ; then
32565 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32566 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32567
32568 if test "x$ac_find_includes" = "x/usr/include"; then
32569 ac_path_to_include=""
32570 else
32571 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32572 result=$?
32573 if test $result = 0; then
32574 ac_path_to_include=""
32575 else
32576 ac_path_to_include=" -I$ac_find_includes"
32577 fi
32578 fi
32579
32580 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32581 else
32582 save_CFLAGS=$CFLAGS
32583 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32584
32585 cat >conftest.$ac_ext <<_ACEOF
32586 /* confdefs.h. */
32587 _ACEOF
32588 cat confdefs.h >>conftest.$ac_ext
32589 cat >>conftest.$ac_ext <<_ACEOF
32590 /* end confdefs.h. */
32591
32592 #include <Xm/Xm.h>
32593
32594 int
32595 main ()
32596 {
32597
32598 int version;
32599 version = xmUseVersion;
32600
32601 ;
32602 return 0;
32603 }
32604 _ACEOF
32605 rm -f conftest.$ac_objext
32606 if { (ac_try="$ac_compile"
32607 case "(($ac_try" in
32608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32609 *) ac_try_echo=$ac_try;;
32610 esac
32611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32612 (eval "$ac_compile") 2>conftest.er1
32613 ac_status=$?
32614 grep -v '^ *+' conftest.er1 >conftest.err
32615 rm -f conftest.er1
32616 cat conftest.err >&5
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); } && {
32619 test -z "$ac_c_werror_flag" ||
32620 test ! -s conftest.err
32621 } && test -s conftest.$ac_objext; then
32622
32623 { echo "$as_me:$LINENO: result: found in default search path" >&5
32624 echo "${ECHO_T}found in default search path" >&6; }
32625 COMPILED_X_PROGRAM=1
32626
32627 else
32628 echo "$as_me: failed program was:" >&5
32629 sed 's/^/| /' conftest.$ac_ext >&5
32630
32631
32632 { echo "$as_me:$LINENO: result: no" >&5
32633 echo "${ECHO_T}no" >&6; }
32634 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32635 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32636 { (exit 1); exit 1; }; }
32637
32638
32639 fi
32640
32641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32642
32643 CFLAGS=$save_CFLAGS
32644 fi
32645
32646
32647 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32648 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32649
32650 ac_find_libraries=
32651 for ac_dir in $SEARCH_LIB;
32652 do
32653 for ac_extension in a so sl dylib dll.a; do
32654 if test -f "$ac_dir/libXm.$ac_extension"; then
32655 ac_find_libraries=$ac_dir
32656 break 2
32657 fi
32658 done
32659 done
32660
32661
32662 if test "x$ac_find_libraries" != "x" ; then
32663 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32664 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32665
32666
32667 if test "$ac_find_libraries" = "default location"; then
32668 ac_path_to_link=""
32669 else
32670 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32671 result=$?
32672 if test $result = 0; then
32673 ac_path_to_link=""
32674 else
32675 ac_path_to_link=" -L$ac_find_libraries"
32676 fi
32677 fi
32678
32679 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32680 else
32681 save_CFLAGS=$CFLAGS
32682 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32683 save_LIBS="$LIBS"
32684 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32685
32686 cat >conftest.$ac_ext <<_ACEOF
32687 /* confdefs.h. */
32688 _ACEOF
32689 cat confdefs.h >>conftest.$ac_ext
32690 cat >>conftest.$ac_ext <<_ACEOF
32691 /* end confdefs.h. */
32692
32693 #include <Xm/Xm.h>
32694
32695 int
32696 main ()
32697 {
32698
32699 int version;
32700 version = xmUseVersion;
32701
32702 ;
32703 return 0;
32704 }
32705 _ACEOF
32706 rm -f conftest.$ac_objext conftest$ac_exeext
32707 if { (ac_try="$ac_link"
32708 case "(($ac_try" in
32709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32710 *) ac_try_echo=$ac_try;;
32711 esac
32712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32713 (eval "$ac_link") 2>conftest.er1
32714 ac_status=$?
32715 grep -v '^ *+' conftest.er1 >conftest.err
32716 rm -f conftest.er1
32717 cat conftest.err >&5
32718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32719 (exit $ac_status); } && {
32720 test -z "$ac_c_werror_flag" ||
32721 test ! -s conftest.err
32722 } && test -s conftest$ac_exeext &&
32723 $as_test_x conftest$ac_exeext; then
32724
32725 { echo "$as_me:$LINENO: result: found in default search path" >&5
32726 echo "${ECHO_T}found in default search path" >&6; }
32727 COMPILED_X_PROGRAM=1
32728
32729 else
32730 echo "$as_me: failed program was:" >&5
32731 sed 's/^/| /' conftest.$ac_ext >&5
32732
32733
32734 { echo "$as_me:$LINENO: result: no" >&5
32735 echo "${ECHO_T}no" >&6; }
32736 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32737 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32738 { (exit 1); exit 1; }; }
32739
32740
32741 fi
32742
32743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32744 conftest$ac_exeext conftest.$ac_ext
32745
32746 CFLAGS=$save_CFLAGS
32747 LIBS="$save_LIBS"
32748 fi
32749
32750 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32751 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32752 libp_link=""
32753 libsm_ice_link=""
32754 libs_found=0
32755 for libp in "" " -lXp"; do
32756 if test "$libs_found" = "0"; then
32757 for libsm_ice in "" " -lSM -lICE"; do
32758 if test "$libs_found" = "0"; then
32759 save_LIBS="$LIBS"
32760 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32761 save_CFLAGS=$CFLAGS
32762 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32763
32764 cat >conftest.$ac_ext <<_ACEOF
32765 /* confdefs.h. */
32766 _ACEOF
32767 cat confdefs.h >>conftest.$ac_ext
32768 cat >>conftest.$ac_ext <<_ACEOF
32769 /* end confdefs.h. */
32770
32771 #include <Xm/Xm.h>
32772 #include <Xm/List.h>
32773
32774 int
32775 main ()
32776 {
32777
32778 XmString string = NULL;
32779 Widget w = NULL;
32780 int position = 0;
32781 XmListAddItem(w, string, position);
32782
32783 ;
32784 return 0;
32785 }
32786 _ACEOF
32787 rm -f conftest.$ac_objext conftest$ac_exeext
32788 if { (ac_try="$ac_link"
32789 case "(($ac_try" in
32790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32791 *) ac_try_echo=$ac_try;;
32792 esac
32793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32794 (eval "$ac_link") 2>conftest.er1
32795 ac_status=$?
32796 grep -v '^ *+' conftest.er1 >conftest.err
32797 rm -f conftest.er1
32798 cat conftest.err >&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); } && {
32801 test -z "$ac_c_werror_flag" ||
32802 test ! -s conftest.err
32803 } && test -s conftest$ac_exeext &&
32804 $as_test_x conftest$ac_exeext; then
32805
32806 libp_link="$libp"
32807 libsm_ice_link="$libsm_ice"
32808 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32809 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32810 libs_found=1
32811
32812 else
32813 echo "$as_me: failed program was:" >&5
32814 sed 's/^/| /' conftest.$ac_ext >&5
32815
32816
32817
32818 fi
32819
32820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32821 conftest$ac_exeext conftest.$ac_ext
32822
32823 LIBS="$save_LIBS"
32824 CFLAGS=$save_CFLAGS
32825 fi
32826 done
32827 fi
32828 done
32829
32830 if test "$libs_found" = "0"; then
32831 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32832 echo "${ECHO_T}can't find the right libraries" >&6; }
32833 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32834 echo "$as_me: error: can't link a simple motif program" >&2;}
32835 { (exit 1); exit 1; }; }
32836 fi
32837
32838 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32839 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32840 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32841 echo $ECHO_N "(cached) $ECHO_C" >&6
32842 else
32843 ac_check_lib_save_LIBS=$LIBS
32844 LIBS="-lSgm $LIBS"
32845 cat >conftest.$ac_ext <<_ACEOF
32846 /* confdefs.h. */
32847 _ACEOF
32848 cat confdefs.h >>conftest.$ac_ext
32849 cat >>conftest.$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32851
32852 /* Override any GCC internal prototype to avoid an error.
32853 Use char because int might match the return type of a GCC
32854 builtin and then its argument prototype would still apply. */
32855 #ifdef __cplusplus
32856 extern "C"
32857 #endif
32858 char SgCreateList ();
32859 int
32860 main ()
32861 {
32862 return SgCreateList ();
32863 ;
32864 return 0;
32865 }
32866 _ACEOF
32867 rm -f conftest.$ac_objext conftest$ac_exeext
32868 if { (ac_try="$ac_link"
32869 case "(($ac_try" in
32870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32871 *) ac_try_echo=$ac_try;;
32872 esac
32873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32874 (eval "$ac_link") 2>conftest.er1
32875 ac_status=$?
32876 grep -v '^ *+' conftest.er1 >conftest.err
32877 rm -f conftest.er1
32878 cat conftest.err >&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); } && {
32881 test -z "$ac_c_werror_flag" ||
32882 test ! -s conftest.err
32883 } && test -s conftest$ac_exeext &&
32884 $as_test_x conftest$ac_exeext; then
32885 ac_cv_lib_Sgm_SgCreateList=yes
32886 else
32887 echo "$as_me: failed program was:" >&5
32888 sed 's/^/| /' conftest.$ac_ext >&5
32889
32890 ac_cv_lib_Sgm_SgCreateList=no
32891 fi
32892
32893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32894 conftest$ac_exeext conftest.$ac_ext
32895 LIBS=$ac_check_lib_save_LIBS
32896 fi
32897 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32898 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32899 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32900 libsgm_link=" -lSgm"
32901 fi
32902
32903
32904 save_CFLAGS=$CFLAGS
32905 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32906
32907 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32908 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32909 if test "${wx_cv_lib_motif2+set}" = set; then
32910 echo $ECHO_N "(cached) $ECHO_C" >&6
32911 else
32912 cat >conftest.$ac_ext <<_ACEOF
32913 /* confdefs.h. */
32914 _ACEOF
32915 cat confdefs.h >>conftest.$ac_ext
32916 cat >>conftest.$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32918
32919 #include <Xm/Xm.h>
32920
32921 int
32922 main ()
32923 {
32924
32925 #if XmVersion < 2000
32926 Not Motif 2
32927 #endif
32928
32929 ;
32930 return 0;
32931 }
32932 _ACEOF
32933 rm -f conftest.$ac_objext
32934 if { (ac_try="$ac_compile"
32935 case "(($ac_try" in
32936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32937 *) ac_try_echo=$ac_try;;
32938 esac
32939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32940 (eval "$ac_compile") 2>conftest.er1
32941 ac_status=$?
32942 grep -v '^ *+' conftest.er1 >conftest.err
32943 rm -f conftest.er1
32944 cat conftest.err >&5
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); } && {
32947 test -z "$ac_c_werror_flag" ||
32948 test ! -s conftest.err
32949 } && test -s conftest.$ac_objext; then
32950 wx_cv_lib_motif2="yes"
32951 else
32952 echo "$as_me: failed program was:" >&5
32953 sed 's/^/| /' conftest.$ac_ext >&5
32954
32955 wx_cv_lib_motif2="no"
32956 fi
32957
32958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32959 fi
32960 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32961 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32962 if test "$wx_cv_lib_motif2" = "yes"; then
32963 cat >>confdefs.h <<\_ACEOF
32964 #define __WXMOTIF20__ 1
32965 _ACEOF
32966
32967 else
32968 cat >>confdefs.h <<\_ACEOF
32969 #define __WXMOTIF20__ 0
32970 _ACEOF
32971
32972 fi
32973
32974 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32975 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32976 if test "${wx_cv_lib_lesstif+set}" = set; then
32977 echo $ECHO_N "(cached) $ECHO_C" >&6
32978 else
32979 cat >conftest.$ac_ext <<_ACEOF
32980 /* confdefs.h. */
32981 _ACEOF
32982 cat confdefs.h >>conftest.$ac_ext
32983 cat >>conftest.$ac_ext <<_ACEOF
32984 /* end confdefs.h. */
32985
32986 #include <Xm/Xm.h>
32987
32988 int
32989 main ()
32990 {
32991
32992 #if !defined(LesstifVersion) || LesstifVersion <= 0
32993 Not Lesstif
32994 #endif
32995
32996 ;
32997 return 0;
32998 }
32999 _ACEOF
33000 rm -f conftest.$ac_objext
33001 if { (ac_try="$ac_compile"
33002 case "(($ac_try" in
33003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33004 *) ac_try_echo=$ac_try;;
33005 esac
33006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33007 (eval "$ac_compile") 2>conftest.er1
33008 ac_status=$?
33009 grep -v '^ *+' conftest.er1 >conftest.err
33010 rm -f conftest.er1
33011 cat conftest.err >&5
33012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33013 (exit $ac_status); } && {
33014 test -z "$ac_c_werror_flag" ||
33015 test ! -s conftest.err
33016 } && test -s conftest.$ac_objext; then
33017 wx_cv_lib_lesstif="yes"
33018 else
33019 echo "$as_me: failed program was:" >&5
33020 sed 's/^/| /' conftest.$ac_ext >&5
33021
33022 wx_cv_lib_lesstif="no"
33023 fi
33024
33025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33026
33027 fi
33028 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33029 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33030 if test "$wx_cv_lib_lesstif" = "yes"; then
33031 cat >>confdefs.h <<\_ACEOF
33032 #define __WXLESSTIF__ 1
33033 _ACEOF
33034
33035 else
33036 cat >>confdefs.h <<\_ACEOF
33037 #define __WXLESSTIF__ 0
33038 _ACEOF
33039
33040 fi
33041
33042 CFLAGS=$save_CFLAGS
33043
33044 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33045 TOOLKIT=MOTIF
33046 GUIDIST=MOTIF_DIST
33047 fi
33048
33049 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33050 if test "$wxUSE_LIBXPM" = "sys"; then
33051 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33052 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33053
33054 ac_find_libraries=
33055 for ac_dir in $SEARCH_LIB;
33056 do
33057 for ac_extension in a so sl dylib dll.a; do
33058 if test -f "$ac_dir/libXpm.$ac_extension"; then
33059 ac_find_libraries=$ac_dir
33060 break 2
33061 fi
33062 done
33063 done
33064
33065 if test "$ac_find_libraries" != "" ; then
33066
33067 if test "$ac_find_libraries" = "default location"; then
33068 ac_path_to_link=""
33069 else
33070 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33071 result=$?
33072 if test $result = 0; then
33073 ac_path_to_link=""
33074 else
33075 ac_path_to_link=" -L$ac_find_libraries"
33076 fi
33077 fi
33078
33079 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33080 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33081 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33082
33083 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33084 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33085 if test "${wx_cv_x11_xpm_h+set}" = set; then
33086 echo $ECHO_N "(cached) $ECHO_C" >&6
33087 else
33088
33089 save_CFLAGS=$CFLAGS
33090 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33091
33092 cat >conftest.$ac_ext <<_ACEOF
33093 /* confdefs.h. */
33094 _ACEOF
33095 cat confdefs.h >>conftest.$ac_ext
33096 cat >>conftest.$ac_ext <<_ACEOF
33097 /* end confdefs.h. */
33098
33099 #include <X11/xpm.h>
33100
33101 int
33102 main ()
33103 {
33104
33105 int version;
33106 version = XpmLibraryVersion();
33107
33108 ;
33109 return 0;
33110 }
33111 _ACEOF
33112 rm -f conftest.$ac_objext
33113 if { (ac_try="$ac_compile"
33114 case "(($ac_try" in
33115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33116 *) ac_try_echo=$ac_try;;
33117 esac
33118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33119 (eval "$ac_compile") 2>conftest.er1
33120 ac_status=$?
33121 grep -v '^ *+' conftest.er1 >conftest.err
33122 rm -f conftest.er1
33123 cat conftest.err >&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } && {
33126 test -z "$ac_c_werror_flag" ||
33127 test ! -s conftest.err
33128 } && test -s conftest.$ac_objext; then
33129 wx_cv_x11_xpm_h=yes
33130 else
33131 echo "$as_me: failed program was:" >&5
33132 sed 's/^/| /' conftest.$ac_ext >&5
33133
33134 wx_cv_x11_xpm_h=no
33135
33136 fi
33137
33138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33139
33140 CFLAGS=$save_CFLAGS
33141
33142
33143 fi
33144 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33145 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33146
33147 if test $wx_cv_x11_xpm_h = "yes"; then
33148 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33149 cat >>confdefs.h <<\_ACEOF
33150 #define wxHAVE_LIB_XPM 1
33151 _ACEOF
33152
33153 else
33154 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33155 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33156 fi
33157 fi
33158
33159 fi
33160
33161 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33162 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33163 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33164 echo $ECHO_N "(cached) $ECHO_C" >&6
33165 else
33166 ac_check_lib_save_LIBS=$LIBS
33167 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
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
33175 /* Override any GCC internal prototype to avoid an error.
33176 Use char because int might match the return type of a GCC
33177 builtin and then its argument prototype would still apply. */
33178 #ifdef __cplusplus
33179 extern "C"
33180 #endif
33181 char XShapeQueryExtension ();
33182 int
33183 main ()
33184 {
33185 return XShapeQueryExtension ();
33186 ;
33187 return 0;
33188 }
33189 _ACEOF
33190 rm -f conftest.$ac_objext conftest$ac_exeext
33191 if { (ac_try="$ac_link"
33192 case "(($ac_try" in
33193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33194 *) ac_try_echo=$ac_try;;
33195 esac
33196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33197 (eval "$ac_link") 2>conftest.er1
33198 ac_status=$?
33199 grep -v '^ *+' conftest.er1 >conftest.err
33200 rm -f conftest.er1
33201 cat conftest.err >&5
33202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203 (exit $ac_status); } && {
33204 test -z "$ac_c_werror_flag" ||
33205 test ! -s conftest.err
33206 } && test -s conftest$ac_exeext &&
33207 $as_test_x conftest$ac_exeext; then
33208 ac_cv_lib_Xext_XShapeQueryExtension=yes
33209 else
33210 echo "$as_me: failed program was:" >&5
33211 sed 's/^/| /' conftest.$ac_ext >&5
33212
33213 ac_cv_lib_Xext_XShapeQueryExtension=no
33214 fi
33215
33216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33217 conftest$ac_exeext conftest.$ac_ext
33218 LIBS=$ac_check_lib_save_LIBS
33219 fi
33220 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33221 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33222 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33223
33224 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33225 wxHAVE_XEXT_LIB=1
33226
33227 fi
33228
33229
33230 if test "$wxHAVE_XEXT_LIB" = 1; then
33231 save_CFLAGS="$CFLAGS"
33232 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33233
33234 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33235 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33236 cat >conftest.$ac_ext <<_ACEOF
33237 /* confdefs.h. */
33238 _ACEOF
33239 cat confdefs.h >>conftest.$ac_ext
33240 cat >>conftest.$ac_ext <<_ACEOF
33241 /* end confdefs.h. */
33242
33243 #include <X11/Xlib.h>
33244 #include <X11/extensions/shape.h>
33245
33246 int
33247 main ()
33248 {
33249
33250 int dummy1, dummy2;
33251 XShapeQueryExtension((Display*)NULL,
33252 (int*)NULL, (int*)NULL);
33253
33254 ;
33255 return 0;
33256 }
33257 _ACEOF
33258 rm -f conftest.$ac_objext
33259 if { (ac_try="$ac_compile"
33260 case "(($ac_try" in
33261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33262 *) ac_try_echo=$ac_try;;
33263 esac
33264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33265 (eval "$ac_compile") 2>conftest.er1
33266 ac_status=$?
33267 grep -v '^ *+' conftest.er1 >conftest.err
33268 rm -f conftest.er1
33269 cat conftest.err >&5
33270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 (exit $ac_status); } && {
33272 test -z "$ac_c_werror_flag" ||
33273 test ! -s conftest.err
33274 } && test -s conftest.$ac_objext; then
33275
33276 cat >>confdefs.h <<\_ACEOF
33277 #define HAVE_XSHAPE 1
33278 _ACEOF
33279
33280 { echo "$as_me:$LINENO: result: found" >&5
33281 echo "${ECHO_T}found" >&6; }
33282
33283 else
33284 echo "$as_me: failed program was:" >&5
33285 sed 's/^/| /' conftest.$ac_ext >&5
33286
33287
33288 { echo "$as_me:$LINENO: result: not found" >&5
33289 echo "${ECHO_T}not found" >&6; }
33290
33291 fi
33292
33293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33294 CFLAGS="$save_CFLAGS"
33295
33296 fi
33297 fi
33298
33299 if test "$wxUSE_MAC" = 1; then
33300 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33301 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33302 if test "$GCC" = yes; then
33303 { echo "$as_me:$LINENO: result: gcc" >&5
33304 echo "${ECHO_T}gcc" >&6; }
33305 CPPFLAGS_PASCAL="-fpascal-strings"
33306 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33307 { echo "$as_me:$LINENO: result: xlc" >&5
33308 echo "${ECHO_T}xlc" >&6; }
33309 CPPFLAGS_PASCAL="-qmacpstr"
33310 else
33311 { echo "$as_me:$LINENO: result: none" >&5
33312 echo "${ECHO_T}none" >&6; }
33313 fi
33314
33315 if test "x$wxUSE_UNIX" = "xyes"; then
33316 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33317 else
33318 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
33319 fi
33320
33321 TOOLKIT=MAC
33322 GUIDIST=MACX_DIST
33323 WXBASEPORT="_carbon"
33324 fi
33325
33326 if test "$wxUSE_COCOA" = 1; then
33327 TOOLKIT=COCOA
33328 GUIDIST=COCOA_DIST
33329 fi
33330
33331 if test "$wxUSE_PM" = 1; then
33332 TOOLKIT=PM
33333 GUIDIST=PM_DIST
33334 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33335 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33336 if test "${wx_cv_spbcdata+set}" = set; then
33337 echo $ECHO_N "(cached) $ECHO_C" >&6
33338 else
33339
33340 cat >conftest.$ac_ext <<_ACEOF
33341 /* confdefs.h. */
33342 _ACEOF
33343 cat confdefs.h >>conftest.$ac_ext
33344 cat >>conftest.$ac_ext <<_ACEOF
33345 /* end confdefs.h. */
33346
33347 #define INCL_PM
33348 #include <os2.h>
33349
33350 int
33351 main ()
33352 {
33353
33354 SPBCDATA test;
33355
33356 ;
33357 return 0;
33358 }
33359 _ACEOF
33360 rm -f conftest.$ac_objext
33361 if { (ac_try="$ac_compile"
33362 case "(($ac_try" in
33363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33364 *) ac_try_echo=$ac_try;;
33365 esac
33366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33367 (eval "$ac_compile") 2>conftest.er1
33368 ac_status=$?
33369 grep -v '^ *+' conftest.er1 >conftest.err
33370 rm -f conftest.er1
33371 cat conftest.err >&5
33372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33373 (exit $ac_status); } && {
33374 test -z "$ac_c_werror_flag" ||
33375 test ! -s conftest.err
33376 } && test -s conftest.$ac_objext; then
33377 wx_cv_spbcdata=yes
33378 else
33379 echo "$as_me: failed program was:" >&5
33380 sed 's/^/| /' conftest.$ac_ext >&5
33381
33382 wx_cv_spbcdata=no
33383
33384 fi
33385
33386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33387
33388
33389 fi
33390 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33391 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33392
33393 if test $wx_cv_spbcdata = "yes"; then
33394 cat >>confdefs.h <<\_ACEOF
33395 #define HAVE_SPBCDATA 1
33396 _ACEOF
33397
33398 fi
33399 fi
33400
33401 if test "$TOOLKIT" = "PM" ; then
33402 TOOLKIT_DIR="os2"
33403 else
33404 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
33405 fi
33406
33407 if test "$wxUSE_UNIVERSAL" = "yes"; then
33408 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33409 WIDGET_SET=univ
33410 fi
33411
33412 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33413 DISTDIR="wx\$(TOOLKIT)"
33414 else
33415 USE_GUI=0
33416
33417 TOOLKIT_DIR="base"
33418
33419 if test "$USE_WIN32" = 1 ; then
33420 TOOLKIT="MSW"
33421 fi
33422
33423 GUIDIST="BASE_DIST"
33424 DISTDIR="wxBase"
33425 fi
33426
33427
33428 if test "$wxUSE_GUI" = "yes"; then
33429 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33430
33431 for ac_header in X11/Xlib.h
33432 do
33433 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33435 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33437 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33438 echo $ECHO_N "(cached) $ECHO_C" >&6
33439 fi
33440 ac_res=`eval echo '${'$as_ac_Header'}'`
33441 { echo "$as_me:$LINENO: result: $ac_res" >&5
33442 echo "${ECHO_T}$ac_res" >&6; }
33443 else
33444 # Is the header compilable?
33445 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
33446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
33447 cat >conftest.$ac_ext <<_ACEOF
33448 /* confdefs.h. */
33449 _ACEOF
33450 cat confdefs.h >>conftest.$ac_ext
33451 cat >>conftest.$ac_ext <<_ACEOF
33452 /* end confdefs.h. */
33453 $ac_includes_default
33454 #include <$ac_header>
33455 _ACEOF
33456 rm -f conftest.$ac_objext
33457 if { (ac_try="$ac_compile"
33458 case "(($ac_try" in
33459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33460 *) ac_try_echo=$ac_try;;
33461 esac
33462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33463 (eval "$ac_compile") 2>conftest.er1
33464 ac_status=$?
33465 grep -v '^ *+' conftest.er1 >conftest.err
33466 rm -f conftest.er1
33467 cat conftest.err >&5
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); } && {
33470 test -z "$ac_c_werror_flag" ||
33471 test ! -s conftest.err
33472 } && test -s conftest.$ac_objext; then
33473 ac_header_compiler=yes
33474 else
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.$ac_ext >&5
33477
33478 ac_header_compiler=no
33479 fi
33480
33481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33482 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33483 echo "${ECHO_T}$ac_header_compiler" >&6; }
33484
33485 # Is the header present?
33486 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
33487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33488 cat >conftest.$ac_ext <<_ACEOF
33489 /* confdefs.h. */
33490 _ACEOF
33491 cat confdefs.h >>conftest.$ac_ext
33492 cat >>conftest.$ac_ext <<_ACEOF
33493 /* end confdefs.h. */
33494 #include <$ac_header>
33495 _ACEOF
33496 if { (ac_try="$ac_cpp conftest.$ac_ext"
33497 case "(($ac_try" in
33498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33499 *) ac_try_echo=$ac_try;;
33500 esac
33501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33503 ac_status=$?
33504 grep -v '^ *+' conftest.er1 >conftest.err
33505 rm -f conftest.er1
33506 cat conftest.err >&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); } >/dev/null && {
33509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33510 test ! -s conftest.err
33511 }; then
33512 ac_header_preproc=yes
33513 else
33514 echo "$as_me: failed program was:" >&5
33515 sed 's/^/| /' conftest.$ac_ext >&5
33516
33517 ac_header_preproc=no
33518 fi
33519
33520 rm -f conftest.err conftest.$ac_ext
33521 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33522 echo "${ECHO_T}$ac_header_preproc" >&6; }
33523
33524 # So? What about this header?
33525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33526 yes:no: )
33527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
33528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
33529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
33530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
33531 ac_header_preproc=yes
33532 ;;
33533 no:yes:* )
33534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
33535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
33536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
33537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
33538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
33539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
33540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
33541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
33542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
33543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33546 ( cat <<\_ASBOX
33547 ## ----------------------------------------- ##
33548 ## Report this to wx-dev@lists.wxwidgets.org ##
33549 ## ----------------------------------------- ##
33550 _ASBOX
33551 ) | sed "s/^/$as_me: WARNING: /" >&2
33552 ;;
33553 esac
33554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33556 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33557 echo $ECHO_N "(cached) $ECHO_C" >&6
33558 else
33559 eval "$as_ac_Header=\$ac_header_preproc"
33560 fi
33561 ac_res=`eval echo '${'$as_ac_Header'}'`
33562 { echo "$as_me:$LINENO: result: $ac_res" >&5
33563 echo "${ECHO_T}$ac_res" >&6; }
33564
33565 fi
33566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33567 cat >>confdefs.h <<_ACEOF
33568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33569 _ACEOF
33570
33571 fi
33572
33573 done
33574
33575
33576 for ac_header in X11/XKBlib.h
33577 do
33578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33579 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33582 echo $ECHO_N "(cached) $ECHO_C" >&6
33583 else
33584 cat >conftest.$ac_ext <<_ACEOF
33585 /* confdefs.h. */
33586 _ACEOF
33587 cat confdefs.h >>conftest.$ac_ext
33588 cat >>conftest.$ac_ext <<_ACEOF
33589 /* end confdefs.h. */
33590
33591 #if HAVE_X11_XLIB_H
33592 #include <X11/Xlib.h>
33593 #endif
33594
33595
33596 #include <$ac_header>
33597 _ACEOF
33598 rm -f conftest.$ac_objext
33599 if { (ac_try="$ac_compile"
33600 case "(($ac_try" in
33601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33602 *) ac_try_echo=$ac_try;;
33603 esac
33604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33605 (eval "$ac_compile") 2>conftest.er1
33606 ac_status=$?
33607 grep -v '^ *+' conftest.er1 >conftest.err
33608 rm -f conftest.er1
33609 cat conftest.err >&5
33610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33611 (exit $ac_status); } && {
33612 test -z "$ac_c_werror_flag" ||
33613 test ! -s conftest.err
33614 } && test -s conftest.$ac_objext; then
33615 eval "$as_ac_Header=yes"
33616 else
33617 echo "$as_me: failed program was:" >&5
33618 sed 's/^/| /' conftest.$ac_ext >&5
33619
33620 eval "$as_ac_Header=no"
33621 fi
33622
33623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33624 fi
33625 ac_res=`eval echo '${'$as_ac_Header'}'`
33626 { echo "$as_me:$LINENO: result: $ac_res" >&5
33627 echo "${ECHO_T}$ac_res" >&6; }
33628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33629 cat >>confdefs.h <<_ACEOF
33630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33631 _ACEOF
33632
33633 fi
33634
33635 done
33636
33637 fi
33638 fi
33639
33640
33641
33642 IODBC_C_SRC=""
33643
33644
33645 if test "$TOOLKIT" != "MSW" ; then
33646
33647 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
33648
33649 if test "${ac_cv_header_sql_h+set}" = set; then
33650 { echo "$as_me:$LINENO: checking for sql.h" >&5
33651 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
33652 if test "${ac_cv_header_sql_h+set}" = set; then
33653 echo $ECHO_N "(cached) $ECHO_C" >&6
33654 fi
33655 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33656 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
33657 else
33658 # Is the header compilable?
33659 { echo "$as_me:$LINENO: checking sql.h usability" >&5
33660 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6; }
33661 cat >conftest.$ac_ext <<_ACEOF
33662 /* confdefs.h. */
33663 _ACEOF
33664 cat confdefs.h >>conftest.$ac_ext
33665 cat >>conftest.$ac_ext <<_ACEOF
33666 /* end confdefs.h. */
33667 $ac_includes_default
33668 #include <sql.h>
33669 _ACEOF
33670 rm -f conftest.$ac_objext
33671 if { (ac_try="$ac_compile"
33672 case "(($ac_try" in
33673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33674 *) ac_try_echo=$ac_try;;
33675 esac
33676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33677 (eval "$ac_compile") 2>conftest.er1
33678 ac_status=$?
33679 grep -v '^ *+' conftest.er1 >conftest.err
33680 rm -f conftest.er1
33681 cat conftest.err >&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); } && {
33684 test -z "$ac_c_werror_flag" ||
33685 test ! -s conftest.err
33686 } && test -s conftest.$ac_objext; then
33687 ac_header_compiler=yes
33688 else
33689 echo "$as_me: failed program was:" >&5
33690 sed 's/^/| /' conftest.$ac_ext >&5
33691
33692 ac_header_compiler=no
33693 fi
33694
33695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33696 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33697 echo "${ECHO_T}$ac_header_compiler" >&6; }
33698
33699 # Is the header present?
33700 { echo "$as_me:$LINENO: checking sql.h presence" >&5
33701 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6; }
33702 cat >conftest.$ac_ext <<_ACEOF
33703 /* confdefs.h. */
33704 _ACEOF
33705 cat confdefs.h >>conftest.$ac_ext
33706 cat >>conftest.$ac_ext <<_ACEOF
33707 /* end confdefs.h. */
33708 #include <sql.h>
33709 _ACEOF
33710 if { (ac_try="$ac_cpp conftest.$ac_ext"
33711 case "(($ac_try" in
33712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33713 *) ac_try_echo=$ac_try;;
33714 esac
33715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33717 ac_status=$?
33718 grep -v '^ *+' conftest.er1 >conftest.err
33719 rm -f conftest.er1
33720 cat conftest.err >&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } >/dev/null && {
33723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33724 test ! -s conftest.err
33725 }; then
33726 ac_header_preproc=yes
33727 else
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.$ac_ext >&5
33730
33731 ac_header_preproc=no
33732 fi
33733
33734 rm -f conftest.err conftest.$ac_ext
33735 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33736 echo "${ECHO_T}$ac_header_preproc" >&6; }
33737
33738 # So? What about this header?
33739 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33740 yes:no: )
33741 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
33742 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33743 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
33744 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
33745 ac_header_preproc=yes
33746 ;;
33747 no:yes:* )
33748 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
33749 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
33750 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33751 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33752 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33753 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33754 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33755 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33756 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33757 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33758 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33759 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33760 ( cat <<\_ASBOX
33761 ## ----------------------------------------- ##
33762 ## Report this to wx-dev@lists.wxwidgets.org ##
33763 ## ----------------------------------------- ##
33764 _ASBOX
33765 ) | sed "s/^/$as_me: WARNING: /" >&2
33766 ;;
33767 esac
33768 { echo "$as_me:$LINENO: checking for sql.h" >&5
33769 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
33770 if test "${ac_cv_header_sql_h+set}" = set; then
33771 echo $ECHO_N "(cached) $ECHO_C" >&6
33772 else
33773 ac_cv_header_sql_h=$ac_header_preproc
33774 fi
33775 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33776 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
33777
33778 fi
33779 if test $ac_cv_header_sql_h = yes; then
33780 found_sql_h=1
33781 fi
33782
33783
33784 if test "x$found_sql_h" = "x1" ; then
33785 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33786 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
33787 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33788 echo $ECHO_N "(cached) $ECHO_C" >&6
33789 else
33790 ac_check_lib_save_LIBS=$LIBS
33791 LIBS="-liodbc $LIBS"
33792 cat >conftest.$ac_ext <<_ACEOF
33793 /* confdefs.h. */
33794 _ACEOF
33795 cat confdefs.h >>conftest.$ac_ext
33796 cat >>conftest.$ac_ext <<_ACEOF
33797 /* end confdefs.h. */
33798
33799 /* Override any GCC internal prototype to avoid an error.
33800 Use char because int might match the return type of a GCC
33801 builtin and then its argument prototype would still apply. */
33802 #ifdef __cplusplus
33803 extern "C"
33804 #endif
33805 char SQLAllocEnv ();
33806 int
33807 main ()
33808 {
33809 return SQLAllocEnv ();
33810 ;
33811 return 0;
33812 }
33813 _ACEOF
33814 rm -f conftest.$ac_objext conftest$ac_exeext
33815 if { (ac_try="$ac_link"
33816 case "(($ac_try" in
33817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33818 *) ac_try_echo=$ac_try;;
33819 esac
33820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33821 (eval "$ac_link") 2>conftest.er1
33822 ac_status=$?
33823 grep -v '^ *+' conftest.er1 >conftest.err
33824 rm -f conftest.er1
33825 cat conftest.err >&5
33826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33827 (exit $ac_status); } && {
33828 test -z "$ac_c_werror_flag" ||
33829 test ! -s conftest.err
33830 } && test -s conftest$ac_exeext &&
33831 $as_test_x conftest$ac_exeext; then
33832 ac_cv_lib_iodbc_SQLAllocEnv=yes
33833 else
33834 echo "$as_me: failed program was:" >&5
33835 sed 's/^/| /' conftest.$ac_ext >&5
33836
33837 ac_cv_lib_iodbc_SQLAllocEnv=no
33838 fi
33839
33840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33841 conftest$ac_exeext conftest.$ac_ext
33842 LIBS=$ac_check_lib_save_LIBS
33843 fi
33844 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33845 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
33846 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33847 ODBC_LINK=" -liodbc"
33848 else
33849
33850 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33851 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
33852 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33853 echo $ECHO_N "(cached) $ECHO_C" >&6
33854 else
33855 ac_check_lib_save_LIBS=$LIBS
33856 LIBS="-lunixodbc $LIBS"
33857 cat >conftest.$ac_ext <<_ACEOF
33858 /* confdefs.h. */
33859 _ACEOF
33860 cat confdefs.h >>conftest.$ac_ext
33861 cat >>conftest.$ac_ext <<_ACEOF
33862 /* end confdefs.h. */
33863
33864 /* Override any GCC internal prototype to avoid an error.
33865 Use char because int might match the return type of a GCC
33866 builtin and then its argument prototype would still apply. */
33867 #ifdef __cplusplus
33868 extern "C"
33869 #endif
33870 char SQLAllocEnv ();
33871 int
33872 main ()
33873 {
33874 return SQLAllocEnv ();
33875 ;
33876 return 0;
33877 }
33878 _ACEOF
33879 rm -f conftest.$ac_objext conftest$ac_exeext
33880 if { (ac_try="$ac_link"
33881 case "(($ac_try" in
33882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33883 *) ac_try_echo=$ac_try;;
33884 esac
33885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33886 (eval "$ac_link") 2>conftest.er1
33887 ac_status=$?
33888 grep -v '^ *+' conftest.er1 >conftest.err
33889 rm -f conftest.er1
33890 cat conftest.err >&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); } && {
33893 test -z "$ac_c_werror_flag" ||
33894 test ! -s conftest.err
33895 } && test -s conftest$ac_exeext &&
33896 $as_test_x conftest$ac_exeext; then
33897 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33898 else
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33901
33902 ac_cv_lib_unixodbc_SQLAllocEnv=no
33903 fi
33904
33905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33906 conftest$ac_exeext conftest.$ac_ext
33907 LIBS=$ac_check_lib_save_LIBS
33908 fi
33909 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33910 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
33911 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33912 ODBC_LINK=" -lunixodbc"
33913 else
33914
33915 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33916 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
33917 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33918 echo $ECHO_N "(cached) $ECHO_C" >&6
33919 else
33920 ac_check_lib_save_LIBS=$LIBS
33921 LIBS="-lodbc $LIBS"
33922 cat >conftest.$ac_ext <<_ACEOF
33923 /* confdefs.h. */
33924 _ACEOF
33925 cat confdefs.h >>conftest.$ac_ext
33926 cat >>conftest.$ac_ext <<_ACEOF
33927 /* end confdefs.h. */
33928
33929 /* Override any GCC internal prototype to avoid an error.
33930 Use char because int might match the return type of a GCC
33931 builtin and then its argument prototype would still apply. */
33932 #ifdef __cplusplus
33933 extern "C"
33934 #endif
33935 char SQLAllocEnv ();
33936 int
33937 main ()
33938 {
33939 return SQLAllocEnv ();
33940 ;
33941 return 0;
33942 }
33943 _ACEOF
33944 rm -f conftest.$ac_objext conftest$ac_exeext
33945 if { (ac_try="$ac_link"
33946 case "(($ac_try" in
33947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33948 *) ac_try_echo=$ac_try;;
33949 esac
33950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33951 (eval "$ac_link") 2>conftest.er1
33952 ac_status=$?
33953 grep -v '^ *+' conftest.er1 >conftest.err
33954 rm -f conftest.er1
33955 cat conftest.err >&5
33956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957 (exit $ac_status); } && {
33958 test -z "$ac_c_werror_flag" ||
33959 test ! -s conftest.err
33960 } && test -s conftest$ac_exeext &&
33961 $as_test_x conftest$ac_exeext; then
33962 ac_cv_lib_odbc_SQLAllocEnv=yes
33963 else
33964 echo "$as_me: failed program was:" >&5
33965 sed 's/^/| /' conftest.$ac_ext >&5
33966
33967 ac_cv_lib_odbc_SQLAllocEnv=no
33968 fi
33969
33970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33971 conftest$ac_exeext conftest.$ac_ext
33972 LIBS=$ac_check_lib_save_LIBS
33973 fi
33974 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33975 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
33976 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33977 ODBC_LINK=" -lodbc"
33978 fi
33979
33980
33981 fi
33982
33983
33984 fi
33985
33986 fi
33987 if test "x$ODBC_LINK" = "x" ; then
33988 if test "$wxUSE_ODBC" = "sys" ; then
33989 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33990 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33991 { (exit 1); exit 1; }; }
33992 else
33993 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33994 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33995 wxUSE_ODBC=builtin
33996 fi
33997 else
33998 wxUSE_ODBC=sys
33999 fi
34000 fi
34001
34002 if test "$wxUSE_ODBC" = "builtin" ; then
34003 cat >>confdefs.h <<\_ACEOF
34004 #define wxUSE_BUILTIN_IODBC 1
34005 _ACEOF
34006
34007 fi
34008 fi
34009
34010 if test "$wxUSE_ODBC" != "no" ; then
34011 cat >>confdefs.h <<\_ACEOF
34012 #define wxUSE_ODBC 1
34013 _ACEOF
34014
34015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
34016
34017 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
34018 fi
34019
34020
34021 if test "$wxUSE_DISPLAY" = "yes"; then
34022 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34023 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34024 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34025
34026 ac_find_libraries=
34027 for ac_dir in $SEARCH_LIB;
34028 do
34029 for ac_extension in a so sl dylib dll.a; do
34030 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34031 ac_find_libraries=$ac_dir
34032 break 2
34033 fi
34034 done
34035 done
34036
34037 if test "$ac_find_libraries" != "" ; then
34038
34039 if test "$ac_find_libraries" = "default location"; then
34040 ac_path_to_link=""
34041 else
34042 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34043 result=$?
34044 if test $result = 0; then
34045 ac_path_to_link=""
34046 else
34047 ac_path_to_link=" -L$ac_find_libraries"
34048 fi
34049 fi
34050
34051 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34052 LDFLAGS="$LDFLAGS $ac_path_to_link"
34053 fi
34054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34055 { echo "$as_me:$LINENO: result: yes" >&5
34056 echo "${ECHO_T}yes" >&6; }
34057
34058 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34059 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34060
34061 ac_find_libraries=
34062 for ac_dir in $SEARCH_LIB;
34063 do
34064 for ac_extension in a so sl dylib dll.a; do
34065 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34066 ac_find_libraries=$ac_dir
34067 break 2
34068 fi
34069 done
34070 done
34071
34072 if test "$ac_find_libraries" != "" ; then
34073 { echo "$as_me:$LINENO: result: yes" >&5
34074 echo "${ECHO_T}yes" >&6; }
34075
34076 for ac_header in X11/extensions/xf86vmode.h
34077 do
34078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34079 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34082 echo $ECHO_N "(cached) $ECHO_C" >&6
34083 else
34084 cat >conftest.$ac_ext <<_ACEOF
34085 /* confdefs.h. */
34086 _ACEOF
34087 cat confdefs.h >>conftest.$ac_ext
34088 cat >>conftest.$ac_ext <<_ACEOF
34089 /* end confdefs.h. */
34090
34091 #if HAVE_X11_XLIB_H
34092 #include <X11/Xlib.h>
34093 #endif
34094
34095
34096 #include <$ac_header>
34097 _ACEOF
34098 rm -f conftest.$ac_objext
34099 if { (ac_try="$ac_compile"
34100 case "(($ac_try" in
34101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34102 *) ac_try_echo=$ac_try;;
34103 esac
34104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34105 (eval "$ac_compile") 2>conftest.er1
34106 ac_status=$?
34107 grep -v '^ *+' conftest.er1 >conftest.err
34108 rm -f conftest.er1
34109 cat conftest.err >&5
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); } && {
34112 test -z "$ac_c_werror_flag" ||
34113 test ! -s conftest.err
34114 } && test -s conftest.$ac_objext; then
34115 eval "$as_ac_Header=yes"
34116 else
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.$ac_ext >&5
34119
34120 eval "$as_ac_Header=no"
34121 fi
34122
34123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34124 fi
34125 ac_res=`eval echo '${'$as_ac_Header'}'`
34126 { echo "$as_me:$LINENO: result: $ac_res" >&5
34127 echo "${ECHO_T}$ac_res" >&6; }
34128 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34129 cat >>confdefs.h <<_ACEOF
34130 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34131 _ACEOF
34132
34133 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34134
34135 fi
34136
34137 done
34138
34139 else
34140 { echo "$as_me:$LINENO: result: no" >&5
34141 echo "${ECHO_T}no" >&6; }
34142 fi
34143
34144 else
34145 { echo "$as_me:$LINENO: result: no" >&5
34146 echo "${ECHO_T}no" >&6; }
34147 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34148 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34149 wxUSE_DISPLAY="no"
34150 fi
34151 elif test "$wxUSE_MSW" = 1; then
34152
34153 for ac_header in ddraw.h
34154 do
34155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34159 echo $ECHO_N "(cached) $ECHO_C" >&6
34160 else
34161 cat >conftest.$ac_ext <<_ACEOF
34162 /* confdefs.h. */
34163 _ACEOF
34164 cat confdefs.h >>conftest.$ac_ext
34165 cat >>conftest.$ac_ext <<_ACEOF
34166 /* end confdefs.h. */
34167 #include <windows.h>
34168
34169 #include <$ac_header>
34170 _ACEOF
34171 rm -f conftest.$ac_objext
34172 if { (ac_try="$ac_compile"
34173 case "(($ac_try" in
34174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34175 *) ac_try_echo=$ac_try;;
34176 esac
34177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34178 (eval "$ac_compile") 2>conftest.er1
34179 ac_status=$?
34180 grep -v '^ *+' conftest.er1 >conftest.err
34181 rm -f conftest.er1
34182 cat conftest.err >&5
34183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34184 (exit $ac_status); } && {
34185 test -z "$ac_c_werror_flag" ||
34186 test ! -s conftest.err
34187 } && test -s conftest.$ac_objext; then
34188 eval "$as_ac_Header=yes"
34189 else
34190 echo "$as_me: failed program was:" >&5
34191 sed 's/^/| /' conftest.$ac_ext >&5
34192
34193 eval "$as_ac_Header=no"
34194 fi
34195
34196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34197 fi
34198 ac_res=`eval echo '${'$as_ac_Header'}'`
34199 { echo "$as_me:$LINENO: result: $ac_res" >&5
34200 echo "${ECHO_T}$ac_res" >&6; }
34201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34202 cat >>confdefs.h <<_ACEOF
34203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34204 _ACEOF
34205
34206 fi
34207
34208 done
34209
34210 fi
34211 fi
34212
34213 if test "$wxUSE_DETECT_SM" = "yes"; then
34214 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34215 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34216 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34217
34218 ac_find_libraries=
34219 for ac_dir in $SEARCH_LIB;
34220 do
34221 for ac_extension in a so sl dylib dll.a; do
34222 if test -f "$ac_dir/libSM.$ac_extension"; then
34223 ac_find_libraries=$ac_dir
34224 break 2
34225 fi
34226 done
34227 done
34228
34229 if test "$ac_find_libraries" != "" ; then
34230
34231 if test "$ac_find_libraries" = "default location"; then
34232 ac_path_to_link=""
34233 else
34234 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34235 result=$?
34236 if test $result = 0; then
34237 ac_path_to_link=""
34238 else
34239 ac_path_to_link=" -L$ac_find_libraries"
34240 fi
34241 fi
34242
34243 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34244 LDFLAGS="$LDFLAGS $ac_path_to_link"
34245 fi
34246 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34247 { echo "$as_me:$LINENO: result: yes" >&5
34248 echo "${ECHO_T}yes" >&6; }
34249 else
34250 { echo "$as_me:$LINENO: result: no" >&5
34251 echo "${ECHO_T}no" >&6; }
34252 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34253 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34254 wxUSE_DETECT_SM="no"
34255 fi
34256 else
34257 wxUSE_DETECT_SM="no"
34258 fi
34259 fi
34260
34261
34262
34263 USE_OPENGL=0
34264 if test "$wxUSE_OPENGL" = "yes"; then
34265 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
34266 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34267 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34268 wxUSE_OPENGL="no"
34269 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
34270 OPENGL_LIBS="-framework OpenGL -framework AGL"
34271 elif test "$wxUSE_MSW" = 1; then
34272 OPENGL_LIBS="-lopengl32 -lglu32"
34273 else
34274 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34275 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34276
34277 ac_find_includes=
34278 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34279 do
34280 if test -f "$ac_dir/GL/gl.h"; then
34281 ac_find_includes=$ac_dir
34282 break
34283 fi
34284 done
34285
34286 if test "$ac_find_includes" != "" ; then
34287 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34288 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34289
34290 if test "x$ac_find_includes" = "x/usr/include"; then
34291 ac_path_to_include=""
34292 else
34293 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34294 result=$?
34295 if test $result = 0; then
34296 ac_path_to_include=""
34297 else
34298 ac_path_to_include=" -I$ac_find_includes"
34299 fi
34300 fi
34301
34302 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34303 else
34304 { echo "$as_me:$LINENO: result: not found" >&5
34305 echo "${ECHO_T}not found" >&6; }
34306 fi
34307
34308 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34309 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34310 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34311 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34313 fi
34314 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34315 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34316 else
34317 # Is the header compilable?
34318 { echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
34319 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6; }
34320 cat >conftest.$ac_ext <<_ACEOF
34321 /* confdefs.h. */
34322 _ACEOF
34323 cat confdefs.h >>conftest.$ac_ext
34324 cat >>conftest.$ac_ext <<_ACEOF
34325 /* end confdefs.h. */
34326 $ac_includes_default
34327 #include <GL/gl.h>
34328 _ACEOF
34329 rm -f conftest.$ac_objext
34330 if { (ac_try="$ac_compile"
34331 case "(($ac_try" in
34332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34333 *) ac_try_echo=$ac_try;;
34334 esac
34335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34336 (eval "$ac_compile") 2>conftest.er1
34337 ac_status=$?
34338 grep -v '^ *+' conftest.er1 >conftest.err
34339 rm -f conftest.er1
34340 cat conftest.err >&5
34341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34342 (exit $ac_status); } && {
34343 test -z "$ac_c_werror_flag" ||
34344 test ! -s conftest.err
34345 } && test -s conftest.$ac_objext; then
34346 ac_header_compiler=yes
34347 else
34348 echo "$as_me: failed program was:" >&5
34349 sed 's/^/| /' conftest.$ac_ext >&5
34350
34351 ac_header_compiler=no
34352 fi
34353
34354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34355 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34356 echo "${ECHO_T}$ac_header_compiler" >&6; }
34357
34358 # Is the header present?
34359 { echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
34360 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6; }
34361 cat >conftest.$ac_ext <<_ACEOF
34362 /* confdefs.h. */
34363 _ACEOF
34364 cat confdefs.h >>conftest.$ac_ext
34365 cat >>conftest.$ac_ext <<_ACEOF
34366 /* end confdefs.h. */
34367 #include <GL/gl.h>
34368 _ACEOF
34369 if { (ac_try="$ac_cpp conftest.$ac_ext"
34370 case "(($ac_try" in
34371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34372 *) ac_try_echo=$ac_try;;
34373 esac
34374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34375 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34376 ac_status=$?
34377 grep -v '^ *+' conftest.er1 >conftest.err
34378 rm -f conftest.er1
34379 cat conftest.err >&5
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); } >/dev/null && {
34382 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34383 test ! -s conftest.err
34384 }; then
34385 ac_header_preproc=yes
34386 else
34387 echo "$as_me: failed program was:" >&5
34388 sed 's/^/| /' conftest.$ac_ext >&5
34389
34390 ac_header_preproc=no
34391 fi
34392
34393 rm -f conftest.err conftest.$ac_ext
34394 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34395 echo "${ECHO_T}$ac_header_preproc" >&6; }
34396
34397 # So? What about this header?
34398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34399 yes:no: )
34400 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
34401 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34402 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
34403 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
34404 ac_header_preproc=yes
34405 ;;
34406 no:yes:* )
34407 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
34408 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
34409 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
34410 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
34411 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
34412 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
34413 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
34414 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
34415 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
34416 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
34417 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
34418 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
34419 ( cat <<\_ASBOX
34420 ## ----------------------------------------- ##
34421 ## Report this to wx-dev@lists.wxwidgets.org ##
34422 ## ----------------------------------------- ##
34423 _ASBOX
34424 ) | sed "s/^/$as_me: WARNING: /" >&2
34425 ;;
34426 esac
34427 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34428 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34429 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34430 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 else
34432 ac_cv_header_GL_gl_h=$ac_header_preproc
34433 fi
34434 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34435 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34436
34437 fi
34438 if test $ac_cv_header_GL_gl_h = yes; then
34439
34440 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34441 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34442 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34443 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34445 fi
34446 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34447 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34448 else
34449 # Is the header compilable?
34450 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
34451 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
34452 cat >conftest.$ac_ext <<_ACEOF
34453 /* confdefs.h. */
34454 _ACEOF
34455 cat confdefs.h >>conftest.$ac_ext
34456 cat >>conftest.$ac_ext <<_ACEOF
34457 /* end confdefs.h. */
34458 $ac_includes_default
34459 #include <GL/glu.h>
34460 _ACEOF
34461 rm -f conftest.$ac_objext
34462 if { (ac_try="$ac_compile"
34463 case "(($ac_try" in
34464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34465 *) ac_try_echo=$ac_try;;
34466 esac
34467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34468 (eval "$ac_compile") 2>conftest.er1
34469 ac_status=$?
34470 grep -v '^ *+' conftest.er1 >conftest.err
34471 rm -f conftest.er1
34472 cat conftest.err >&5
34473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34474 (exit $ac_status); } && {
34475 test -z "$ac_c_werror_flag" ||
34476 test ! -s conftest.err
34477 } && test -s conftest.$ac_objext; then
34478 ac_header_compiler=yes
34479 else
34480 echo "$as_me: failed program was:" >&5
34481 sed 's/^/| /' conftest.$ac_ext >&5
34482
34483 ac_header_compiler=no
34484 fi
34485
34486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34487 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34488 echo "${ECHO_T}$ac_header_compiler" >&6; }
34489
34490 # Is the header present?
34491 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
34492 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
34493 cat >conftest.$ac_ext <<_ACEOF
34494 /* confdefs.h. */
34495 _ACEOF
34496 cat confdefs.h >>conftest.$ac_ext
34497 cat >>conftest.$ac_ext <<_ACEOF
34498 /* end confdefs.h. */
34499 #include <GL/glu.h>
34500 _ACEOF
34501 if { (ac_try="$ac_cpp conftest.$ac_ext"
34502 case "(($ac_try" in
34503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34504 *) ac_try_echo=$ac_try;;
34505 esac
34506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34507 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34508 ac_status=$?
34509 grep -v '^ *+' conftest.er1 >conftest.err
34510 rm -f conftest.er1
34511 cat conftest.err >&5
34512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513 (exit $ac_status); } >/dev/null && {
34514 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34515 test ! -s conftest.err
34516 }; then
34517 ac_header_preproc=yes
34518 else
34519 echo "$as_me: failed program was:" >&5
34520 sed 's/^/| /' conftest.$ac_ext >&5
34521
34522 ac_header_preproc=no
34523 fi
34524
34525 rm -f conftest.err conftest.$ac_ext
34526 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34527 echo "${ECHO_T}$ac_header_preproc" >&6; }
34528
34529 # So? What about this header?
34530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34531 yes:no: )
34532 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
34533 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34534 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
34535 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
34536 ac_header_preproc=yes
34537 ;;
34538 no:yes:* )
34539 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
34540 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
34541 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
34542 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
34543 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
34544 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
34545 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
34546 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
34547 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
34548 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
34549 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
34550 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
34551 ( cat <<\_ASBOX
34552 ## ----------------------------------------- ##
34553 ## Report this to wx-dev@lists.wxwidgets.org ##
34554 ## ----------------------------------------- ##
34555 _ASBOX
34556 ) | sed "s/^/$as_me: WARNING: /" >&2
34557 ;;
34558 esac
34559 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34560 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34561 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34562 echo $ECHO_N "(cached) $ECHO_C" >&6
34563 else
34564 ac_cv_header_GL_glu_h=$ac_header_preproc
34565 fi
34566 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34567 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34568
34569 fi
34570 if test $ac_cv_header_GL_glu_h = yes; then
34571
34572 found_gl=0
34573
34574 { echo "$as_me:$LINENO: checking for -lGL" >&5
34575 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34576
34577 ac_find_libraries=
34578 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34579 do
34580 for ac_extension in a so sl dylib dll.a; do
34581 if test -f "$ac_dir/libGL.$ac_extension"; then
34582 ac_find_libraries=$ac_dir
34583 break 2
34584 fi
34585 done
34586 done
34587
34588 if test "$ac_find_libraries" != "" ; then
34589 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34590 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34591
34592
34593 if test "$ac_find_libraries" = "default location"; then
34594 ac_path_to_link=""
34595 else
34596 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34597 result=$?
34598 if test $result = 0; then
34599 ac_path_to_link=""
34600 else
34601 ac_path_to_link=" -L$ac_find_libraries"
34602 fi
34603 fi
34604
34605 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34606 LDFLAGS_GL="$ac_path_to_link"
34607 fi
34608
34609 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34610 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34611
34612 ac_find_libraries=
34613 for ac_dir in $SEARCH_LIB;
34614 do
34615 for ac_extension in a so sl dylib dll.a; do
34616 if test -f "$ac_dir/libGLU.$ac_extension"; then
34617 ac_find_libraries=$ac_dir
34618 break 2
34619 fi
34620 done
34621 done
34622
34623 if test "$ac_find_libraries" != "" ; then
34624
34625 if test "$ac_find_libraries" = "default location"; then
34626 ac_path_to_link=""
34627 else
34628 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34629 result=$?
34630 if test $result = 0; then
34631 ac_path_to_link=""
34632 else
34633 ac_path_to_link=" -L$ac_find_libraries"
34634 fi
34635 fi
34636
34637 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34638 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34639 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34640 fi
34641
34642 found_gl=1
34643 OPENGL_LIBS="-lGL -lGLU"
34644 { echo "$as_me:$LINENO: result: yes" >&5
34645 echo "${ECHO_T}yes" >&6; }
34646 else
34647 { echo "$as_me:$LINENO: result: no" >&5
34648 echo "${ECHO_T}no" >&6; }
34649 fi
34650 else
34651 { echo "$as_me:$LINENO: result: no" >&5
34652 echo "${ECHO_T}no" >&6; }
34653 fi
34654
34655 if test "$found_gl" != 1; then
34656 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34657 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34658
34659 ac_find_libraries=
34660 for ac_dir in $SEARCH_LIB;
34661 do
34662 for ac_extension in a so sl dylib dll.a; do
34663 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34664 ac_find_libraries=$ac_dir
34665 break 2
34666 fi
34667 done
34668 done
34669
34670 if test "$ac_find_libraries" != "" ; then
34671
34672 if test "$ac_find_libraries" = "default location"; then
34673 ac_path_to_link=""
34674 else
34675 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34676 result=$?
34677 if test $result = 0; then
34678 ac_path_to_link=""
34679 else
34680 ac_path_to_link=" -L$ac_find_libraries"
34681 fi
34682 fi
34683
34684 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34685 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34686 { echo "$as_me:$LINENO: result: yes" >&5
34687 echo "${ECHO_T}yes" >&6; }
34688 else
34689 { echo "$as_me:$LINENO: result: no" >&5
34690 echo "${ECHO_T}no" >&6; }
34691 fi
34692 fi
34693
34694 fi
34695
34696
34697
34698 fi
34699
34700
34701
34702 if test "x$OPENGL_LIBS" = "x"; then
34703 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34704 echo "$as_me: error: OpenGL libraries not available" >&2;}
34705 { (exit 1); exit 1; }; }
34706 fi
34707 fi
34708
34709 if test "$wxUSE_OPENGL" = "yes"; then
34710 USE_OPENGL=1
34711 cat >>confdefs.h <<\_ACEOF
34712 #define wxUSE_OPENGL 1
34713 _ACEOF
34714
34715 cat >>confdefs.h <<\_ACEOF
34716 #define wxUSE_GLCANVAS 1
34717 _ACEOF
34718
34719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34720 fi
34721 fi
34722
34723
34724 if test -n "$TOOLKIT" ; then
34725 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34726 fi
34727
34728
34729
34730 if test "$wxUSE_SHARED" = "yes"; then
34731 case "${host}" in
34732 *-pc-msdosdjgpp )
34733 wxUSE_SHARED=no
34734 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34735 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34736 ;;
34737 esac
34738 fi
34739
34740 if test "$wxUSE_SHARED" = "yes"; then
34741
34742
34743 case "${host}" in
34744 *-*-cygwin* | *-*-mingw* )
34745 wx_cv_version_script=no
34746 ;;
34747
34748 *)
34749 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34750 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34751 if test "${wx_cv_version_script+set}" = set; then
34752 echo $ECHO_N "(cached) $ECHO_C" >&6
34753 else
34754
34755 echo "VER_1 { *; };" >conftest.sym
34756 echo "int main() { return 0; }" >conftest.cpp
34757
34758 if { ac_try='
34759 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34760 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34762 (eval $ac_try) 2>&5
34763 ac_status=$?
34764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34765 (exit $ac_status); }; } ; then
34766 if test -s conftest.stderr ; then
34767 wx_cv_version_script=no
34768 else
34769 wx_cv_version_script=yes
34770 fi
34771 else
34772 wx_cv_version_script=no
34773 fi
34774
34775 if test $wx_cv_version_script = yes
34776 then
34777 echo "struct B { virtual ~B() { } }; \
34778 struct D : public B { }; \
34779 void F() { D d; }" > conftest.cpp
34780
34781 if { ac_try='
34782 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34783 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34785 (eval $ac_try) 2>&5
34786 ac_status=$?
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); }; } &&
34789 { ac_try='
34790 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34791 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34793 (eval $ac_try) 2>&5
34794 ac_status=$?
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); }; }
34797 then
34798 if { ac_try='
34799 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34800 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34802 (eval $ac_try) 2>&5
34803 ac_status=$?
34804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34805 (exit $ac_status); }; }
34806 then
34807 wx_cv_version_script=yes
34808 else
34809 wx_cv_version_script=no
34810 fi
34811 fi
34812 fi
34813
34814 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34815 rm -f conftest1.output conftest2.output conftest3.output
34816
34817 fi
34818 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34819 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34820
34821 if test $wx_cv_version_script = yes ; then
34822 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34823 fi
34824 ;;
34825 esac
34826
34827
34828 case "${host}" in
34829 *-*-linux* | *-*-gnu* )
34830 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34831 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34832 ;;
34833
34834 *-*-solaris2* )
34835 if test "$GCC" = yes ; then
34836 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34837
34838 saveLdflags="$LDFLAGS"
34839 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34840 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34841 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34842 cat >conftest.$ac_ext <<_ACEOF
34843 /* confdefs.h. */
34844 _ACEOF
34845 cat confdefs.h >>conftest.$ac_ext
34846 cat >>conftest.$ac_ext <<_ACEOF
34847 /* end confdefs.h. */
34848
34849 int
34850 main ()
34851 {
34852
34853 ;
34854 return 0;
34855 }
34856 _ACEOF
34857 rm -f conftest.$ac_objext conftest$ac_exeext
34858 if { (ac_try="$ac_link"
34859 case "(($ac_try" in
34860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34861 *) ac_try_echo=$ac_try;;
34862 esac
34863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34864 (eval "$ac_link") 2>conftest.er1
34865 ac_status=$?
34866 grep -v '^ *+' conftest.er1 >conftest.err
34867 rm -f conftest.er1
34868 cat conftest.err >&5
34869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34870 (exit $ac_status); } && {
34871 test -z "$ac_c_werror_flag" ||
34872 test ! -s conftest.err
34873 } && test -s conftest$ac_exeext &&
34874 $as_test_x conftest$ac_exeext; then
34875
34876 { echo "$as_me:$LINENO: result: yes" >&5
34877 echo "${ECHO_T}yes" >&6; }
34878 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34879 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34880
34881 else
34882 echo "$as_me: failed program was:" >&5
34883 sed 's/^/| /' conftest.$ac_ext >&5
34884
34885
34886 { echo "$as_me:$LINENO: result: no" >&5
34887 echo "${ECHO_T}no" >&6; }
34888 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34889 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34890 LDFLAGS="$saveLdflags -Wl,-R,/"
34891 cat >conftest.$ac_ext <<_ACEOF
34892 /* confdefs.h. */
34893 _ACEOF
34894 cat confdefs.h >>conftest.$ac_ext
34895 cat >>conftest.$ac_ext <<_ACEOF
34896 /* end confdefs.h. */
34897
34898 int
34899 main ()
34900 {
34901
34902 ;
34903 return 0;
34904 }
34905 _ACEOF
34906 rm -f conftest.$ac_objext conftest$ac_exeext
34907 if { (ac_try="$ac_link"
34908 case "(($ac_try" in
34909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34910 *) ac_try_echo=$ac_try;;
34911 esac
34912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34913 (eval "$ac_link") 2>conftest.er1
34914 ac_status=$?
34915 grep -v '^ *+' conftest.er1 >conftest.err
34916 rm -f conftest.er1
34917 cat conftest.err >&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); } && {
34920 test -z "$ac_c_werror_flag" ||
34921 test ! -s conftest.err
34922 } && test -s conftest$ac_exeext &&
34923 $as_test_x conftest$ac_exeext; then
34924
34925 { echo "$as_me:$LINENO: result: yes" >&5
34926 echo "${ECHO_T}yes" >&6; }
34927 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34928 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34929
34930 else
34931 echo "$as_me: failed program was:" >&5
34932 sed 's/^/| /' conftest.$ac_ext >&5
34933
34934
34935 { echo "$as_me:$LINENO: result: no" >&5
34936 echo "${ECHO_T}no" >&6; }
34937
34938 fi
34939
34940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34941 conftest$ac_exeext conftest.$ac_ext
34942
34943 fi
34944
34945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34946 conftest$ac_exeext conftest.$ac_ext
34947 LDFLAGS="$saveLdflags"
34948 else
34949 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34950 WXCONFIG_RPATH="-R\$libdir"
34951 fi
34952 ;;
34953
34954 *-*-darwin* )
34955 install_name_tool=`which install_name_tool`
34956 if test "$install_name_tool" -a -x "$install_name_tool"; then
34957 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34958 cat <<EOF >change-install-names
34959 #!/bin/sh
34960 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34961 inst_cmd="install_name_tool "
34962 for i in \${libnames} ; do
34963 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34964 done
34965 \${inst_cmd} \${3}
34966 EOF
34967 chmod +x change-install-names
34968 fi
34969 ;;
34970
34971 *-*-cygwin* | *-*-mingw32* )
34972 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34973 ;;
34974
34975 *-*-hpux* )
34976 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34977 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34978 ;;
34979
34980 esac
34981
34982 if test $wxUSE_RPATH = "no"; then
34983 SAMPLES_RPATH_FLAG=''
34984 SAMPLES_RPATH_POSTLINK=''
34985 WXCONFIG_RPATH=''
34986 fi
34987
34988 SHARED=1
34989
34990 else
34991
34992 config_linkage_component="-static"
34993 SHARED=0
34994
34995 fi
34996
34997
34998 UNICODE=0
34999 lib_unicode_suffix=
35000 WX_CHARTYPE="ansi"
35001 if test "$wxUSE_UNICODE" = "yes"; then
35002 lib_unicode_suffix=u
35003 WX_CHARTYPE="unicode"
35004 UNICODE=1
35005 fi
35006
35007 lib_debug_suffix=
35008 WX_DEBUGTYPE="release"
35009 DEBUG_FLAG=0
35010 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
35011 lib_debug_suffix=d
35012 WX_DEBUGTYPE="debug"
35013 DEBUG_FLAG=1
35014 fi
35015
35016 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35017 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35018
35019 DEBUG_INFO=0
35020 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35021 DEBUG_INFO=1
35022 fi
35023
35024 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
35025
35026 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
35027
35028 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35029
35030 if test "$cross_compiling" = "yes"; then
35031 HOST_SUFFIX="-$host_alias"
35032 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
35033 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
35034 fi
35035
35036 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35037 if test "${TOOLKIT_DIR}" = "os2"; then
35038 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35039 else
35040 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35041 fi
35042
35043
35044
35045 if test "$wxUSE_COCOA" = 1; then
35046
35047 ac_ext=c
35048 ac_cpp='$CPP $CPPFLAGS'
35049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35052
35053 ac_ext=m
35054
35055 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35056 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35057 cat >conftest.$ac_ext <<_ACEOF
35058 /* confdefs.h. */
35059 _ACEOF
35060 cat confdefs.h >>conftest.$ac_ext
35061 cat >>conftest.$ac_ext <<_ACEOF
35062 /* end confdefs.h. */
35063 #include <AppKit/NSEvent.h>
35064 #include <CoreFoundation/CoreFoundation.h>
35065
35066 int
35067 main ()
35068 {
35069
35070 ;
35071 return 0;
35072 }
35073 _ACEOF
35074 rm -f conftest.$ac_objext
35075 if { (ac_try="$ac_compile"
35076 case "(($ac_try" in
35077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35078 *) ac_try_echo=$ac_try;;
35079 esac
35080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35081 (eval "$ac_compile") 2>conftest.er1
35082 ac_status=$?
35083 grep -v '^ *+' conftest.er1 >conftest.err
35084 rm -f conftest.er1
35085 cat conftest.err >&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); } && {
35088 test -z "$ac_c_werror_flag" ||
35089 test ! -s conftest.err
35090 } && test -s conftest.$ac_objext; then
35091 { echo "$as_me:$LINENO: result: no" >&5
35092 echo "${ECHO_T}no" >&6; }
35093 else
35094 echo "$as_me: failed program was:" >&5
35095 sed 's/^/| /' conftest.$ac_ext >&5
35096
35097 { echo "$as_me:$LINENO: result: yes" >&5
35098 echo "${ECHO_T}yes" >&6; }
35099 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35100 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35101 cat >conftest.$ac_ext <<_ACEOF
35102 /* confdefs.h. */
35103 _ACEOF
35104 cat confdefs.h >>conftest.$ac_ext
35105 cat >>conftest.$ac_ext <<_ACEOF
35106 /* end confdefs.h. */
35107 #define __Point__ 1
35108 #include <AppKit/NSEvent.h>
35109 #include <CoreFoundation/CoreFoundation.h>
35110
35111 int
35112 main ()
35113 {
35114
35115 ;
35116 return 0;
35117 }
35118 _ACEOF
35119 rm -f conftest.$ac_objext
35120 if { (ac_try="$ac_compile"
35121 case "(($ac_try" in
35122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35123 *) ac_try_echo=$ac_try;;
35124 esac
35125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35126 (eval "$ac_compile") 2>conftest.er1
35127 ac_status=$?
35128 grep -v '^ *+' conftest.er1 >conftest.err
35129 rm -f conftest.er1
35130 cat conftest.err >&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); } && {
35133 test -z "$ac_c_werror_flag" ||
35134 test ! -s conftest.err
35135 } && test -s conftest.$ac_objext; then
35136 { echo "$as_me:$LINENO: result: yes" >&5
35137 echo "${ECHO_T}yes" >&6; }
35138 cat >>confdefs.h <<\_ACEOF
35139 #define __Point__ 1
35140 _ACEOF
35141
35142
35143 else
35144 echo "$as_me: failed program was:" >&5
35145 sed 's/^/| /' conftest.$ac_ext >&5
35146
35147 { { echo "$as_me:$LINENO: error: no
35148 See \`config.log' for more details." >&5
35149 echo "$as_me: error: no
35150 See \`config.log' for more details." >&2;}
35151 { (exit 1); exit 1; }; }
35152
35153 fi
35154
35155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35156
35157 fi
35158
35159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35160 ac_ext=c
35161 ac_cpp='$CPP $CPPFLAGS'
35162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35165
35166 fi
35167
35168 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35169 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
35170 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
35171
35172 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
35173
35174 # Extract the first word of "Rez", so it can be a program name with args.
35175 set dummy Rez; ac_word=$2
35176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35178 if test "${ac_cv_prog_REZ+set}" = set; then
35179 echo $ECHO_N "(cached) $ECHO_C" >&6
35180 else
35181 if test -n "$REZ"; then
35182 ac_cv_prog_REZ="$REZ" # Let the user override the test.
35183 else
35184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35185 for as_dir in $PATH
35186 do
35187 IFS=$as_save_IFS
35188 test -z "$as_dir" && as_dir=.
35189 for ac_exec_ext in '' $ac_executable_extensions; do
35190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35191 ac_cv_prog_REZ="Rez"
35192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35193 break 2
35194 fi
35195 done
35196 done
35197 IFS=$as_save_IFS
35198
35199 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
35200 fi
35201 fi
35202 REZ=$ac_cv_prog_REZ
35203 if test -n "$REZ"; then
35204 { echo "$as_me:$LINENO: result: $REZ" >&5
35205 echo "${ECHO_T}$REZ" >&6; }
35206 else
35207 { echo "$as_me:$LINENO: result: no" >&5
35208 echo "${ECHO_T}no" >&6; }
35209 fi
35210
35211
35212 # Extract the first word of "DeRez", so it can be a program name with args.
35213 set dummy DeRez; ac_word=$2
35214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35216 if test "${ac_cv_prog_DEREZ+set}" = set; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35218 else
35219 if test -n "$DEREZ"; then
35220 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
35221 else
35222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35223 for as_dir in $PATH
35224 do
35225 IFS=$as_save_IFS
35226 test -z "$as_dir" && as_dir=.
35227 for ac_exec_ext in '' $ac_executable_extensions; do
35228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35229 ac_cv_prog_DEREZ="DeRez"
35230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35231 break 2
35232 fi
35233 done
35234 done
35235 IFS=$as_save_IFS
35236
35237 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
35238 fi
35239 fi
35240 DEREZ=$ac_cv_prog_DEREZ
35241 if test -n "$DEREZ"; then
35242 { echo "$as_me:$LINENO: result: $DEREZ" >&5
35243 echo "${ECHO_T}$DEREZ" >&6; }
35244 else
35245 { echo "$as_me:$LINENO: result: no" >&5
35246 echo "${ECHO_T}no" >&6; }
35247 fi
35248
35249
35250 # Extract the first word of "SetFile", so it can be a program name with args.
35251 set dummy SetFile; ac_word=$2
35252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35254 if test "${ac_cv_prog_SETFILE+set}" = set; then
35255 echo $ECHO_N "(cached) $ECHO_C" >&6
35256 else
35257 if test -n "$SETFILE"; then
35258 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35259 else
35260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35261 for as_dir in $PATH
35262 do
35263 IFS=$as_save_IFS
35264 test -z "$as_dir" && as_dir=.
35265 for ac_exec_ext in '' $ac_executable_extensions; do
35266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35267 ac_cv_prog_SETFILE="SetFile"
35268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35269 break 2
35270 fi
35271 done
35272 done
35273 IFS=$as_save_IFS
35274
35275 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35276 fi
35277 fi
35278 SETFILE=$ac_cv_prog_SETFILE
35279 if test -n "$SETFILE"; then
35280 { echo "$as_me:$LINENO: result: $SETFILE" >&5
35281 echo "${ECHO_T}$SETFILE" >&6; }
35282 else
35283 { echo "$as_me:$LINENO: result: no" >&5
35284 echo "${ECHO_T}no" >&6; }
35285 fi
35286
35287
35288
35289 MACSETFILE="\$(SETFILE)"
35290
35291 if test "$wxUSE_MAC" = 1; then
35292 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
35293 RESCOMP="$REZ"
35294 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
35295 else
35296 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
35297 RESCOMP="echo -n \| $REZ"
35298 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
35299 fi
35300
35301 else
35302 MACSETFILE="@true"
35303
35304 if test "$wxUSE_PM" = 1; then
35305 RESCOMP="emxbind"
35306 WXCONFIG_RESFLAGS="-ep"
35307
35308 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
35309 else
35310 POSTLINK_COMMAND="@true"
35311 fi
35312
35313 fi
35314
35315
35316
35317 { echo "$as_me:$LINENO: checking for mode_t" >&5
35318 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35319 if test "${ac_cv_type_mode_t+set}" = set; then
35320 echo $ECHO_N "(cached) $ECHO_C" >&6
35321 else
35322 cat >conftest.$ac_ext <<_ACEOF
35323 /* confdefs.h. */
35324 _ACEOF
35325 cat confdefs.h >>conftest.$ac_ext
35326 cat >>conftest.$ac_ext <<_ACEOF
35327 /* end confdefs.h. */
35328 $ac_includes_default
35329 typedef mode_t ac__type_new_;
35330 int
35331 main ()
35332 {
35333 if ((ac__type_new_ *) 0)
35334 return 0;
35335 if (sizeof (ac__type_new_))
35336 return 0;
35337 ;
35338 return 0;
35339 }
35340 _ACEOF
35341 rm -f conftest.$ac_objext
35342 if { (ac_try="$ac_compile"
35343 case "(($ac_try" in
35344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35345 *) ac_try_echo=$ac_try;;
35346 esac
35347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35348 (eval "$ac_compile") 2>conftest.er1
35349 ac_status=$?
35350 grep -v '^ *+' conftest.er1 >conftest.err
35351 rm -f conftest.er1
35352 cat conftest.err >&5
35353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35354 (exit $ac_status); } && {
35355 test -z "$ac_c_werror_flag" ||
35356 test ! -s conftest.err
35357 } && test -s conftest.$ac_objext; then
35358 ac_cv_type_mode_t=yes
35359 else
35360 echo "$as_me: failed program was:" >&5
35361 sed 's/^/| /' conftest.$ac_ext >&5
35362
35363 ac_cv_type_mode_t=no
35364 fi
35365
35366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35367 fi
35368 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35369 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35370 if test $ac_cv_type_mode_t = yes; then
35371 :
35372 else
35373
35374 cat >>confdefs.h <<_ACEOF
35375 #define mode_t int
35376 _ACEOF
35377
35378 fi
35379
35380 { echo "$as_me:$LINENO: checking for off_t" >&5
35381 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35382 if test "${ac_cv_type_off_t+set}" = set; then
35383 echo $ECHO_N "(cached) $ECHO_C" >&6
35384 else
35385 cat >conftest.$ac_ext <<_ACEOF
35386 /* confdefs.h. */
35387 _ACEOF
35388 cat confdefs.h >>conftest.$ac_ext
35389 cat >>conftest.$ac_ext <<_ACEOF
35390 /* end confdefs.h. */
35391 $ac_includes_default
35392 typedef off_t ac__type_new_;
35393 int
35394 main ()
35395 {
35396 if ((ac__type_new_ *) 0)
35397 return 0;
35398 if (sizeof (ac__type_new_))
35399 return 0;
35400 ;
35401 return 0;
35402 }
35403 _ACEOF
35404 rm -f conftest.$ac_objext
35405 if { (ac_try="$ac_compile"
35406 case "(($ac_try" in
35407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35408 *) ac_try_echo=$ac_try;;
35409 esac
35410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35411 (eval "$ac_compile") 2>conftest.er1
35412 ac_status=$?
35413 grep -v '^ *+' conftest.er1 >conftest.err
35414 rm -f conftest.er1
35415 cat conftest.err >&5
35416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35417 (exit $ac_status); } && {
35418 test -z "$ac_c_werror_flag" ||
35419 test ! -s conftest.err
35420 } && test -s conftest.$ac_objext; then
35421 ac_cv_type_off_t=yes
35422 else
35423 echo "$as_me: failed program was:" >&5
35424 sed 's/^/| /' conftest.$ac_ext >&5
35425
35426 ac_cv_type_off_t=no
35427 fi
35428
35429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35430 fi
35431 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35432 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35433 if test $ac_cv_type_off_t = yes; then
35434 :
35435 else
35436
35437 cat >>confdefs.h <<_ACEOF
35438 #define off_t long int
35439 _ACEOF
35440
35441 fi
35442
35443 { echo "$as_me:$LINENO: checking for pid_t" >&5
35444 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35445 if test "${ac_cv_type_pid_t+set}" = set; then
35446 echo $ECHO_N "(cached) $ECHO_C" >&6
35447 else
35448 cat >conftest.$ac_ext <<_ACEOF
35449 /* confdefs.h. */
35450 _ACEOF
35451 cat confdefs.h >>conftest.$ac_ext
35452 cat >>conftest.$ac_ext <<_ACEOF
35453 /* end confdefs.h. */
35454 $ac_includes_default
35455 typedef pid_t ac__type_new_;
35456 int
35457 main ()
35458 {
35459 if ((ac__type_new_ *) 0)
35460 return 0;
35461 if (sizeof (ac__type_new_))
35462 return 0;
35463 ;
35464 return 0;
35465 }
35466 _ACEOF
35467 rm -f conftest.$ac_objext
35468 if { (ac_try="$ac_compile"
35469 case "(($ac_try" in
35470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35471 *) ac_try_echo=$ac_try;;
35472 esac
35473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35474 (eval "$ac_compile") 2>conftest.er1
35475 ac_status=$?
35476 grep -v '^ *+' conftest.er1 >conftest.err
35477 rm -f conftest.er1
35478 cat conftest.err >&5
35479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35480 (exit $ac_status); } && {
35481 test -z "$ac_c_werror_flag" ||
35482 test ! -s conftest.err
35483 } && test -s conftest.$ac_objext; then
35484 ac_cv_type_pid_t=yes
35485 else
35486 echo "$as_me: failed program was:" >&5
35487 sed 's/^/| /' conftest.$ac_ext >&5
35488
35489 ac_cv_type_pid_t=no
35490 fi
35491
35492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35493 fi
35494 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35495 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35496 if test $ac_cv_type_pid_t = yes; then
35497 :
35498 else
35499
35500 cat >>confdefs.h <<_ACEOF
35501 #define pid_t int
35502 _ACEOF
35503
35504 fi
35505
35506 { echo "$as_me:$LINENO: checking for size_t" >&5
35507 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35508 if test "${ac_cv_type_size_t+set}" = set; then
35509 echo $ECHO_N "(cached) $ECHO_C" >&6
35510 else
35511 cat >conftest.$ac_ext <<_ACEOF
35512 /* confdefs.h. */
35513 _ACEOF
35514 cat confdefs.h >>conftest.$ac_ext
35515 cat >>conftest.$ac_ext <<_ACEOF
35516 /* end confdefs.h. */
35517 $ac_includes_default
35518 typedef size_t ac__type_new_;
35519 int
35520 main ()
35521 {
35522 if ((ac__type_new_ *) 0)
35523 return 0;
35524 if (sizeof (ac__type_new_))
35525 return 0;
35526 ;
35527 return 0;
35528 }
35529 _ACEOF
35530 rm -f conftest.$ac_objext
35531 if { (ac_try="$ac_compile"
35532 case "(($ac_try" in
35533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35534 *) ac_try_echo=$ac_try;;
35535 esac
35536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35537 (eval "$ac_compile") 2>conftest.er1
35538 ac_status=$?
35539 grep -v '^ *+' conftest.er1 >conftest.err
35540 rm -f conftest.er1
35541 cat conftest.err >&5
35542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35543 (exit $ac_status); } && {
35544 test -z "$ac_c_werror_flag" ||
35545 test ! -s conftest.err
35546 } && test -s conftest.$ac_objext; then
35547 ac_cv_type_size_t=yes
35548 else
35549 echo "$as_me: failed program was:" >&5
35550 sed 's/^/| /' conftest.$ac_ext >&5
35551
35552 ac_cv_type_size_t=no
35553 fi
35554
35555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35556 fi
35557 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35558 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35559 if test $ac_cv_type_size_t = yes; then
35560 :
35561 else
35562
35563 cat >>confdefs.h <<_ACEOF
35564 #define size_t unsigned int
35565 _ACEOF
35566
35567 fi
35568
35569 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
35570 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
35571 if test "${ac_cv_type_uid_t+set}" = set; then
35572 echo $ECHO_N "(cached) $ECHO_C" >&6
35573 else
35574 cat >conftest.$ac_ext <<_ACEOF
35575 /* confdefs.h. */
35576 _ACEOF
35577 cat confdefs.h >>conftest.$ac_ext
35578 cat >>conftest.$ac_ext <<_ACEOF
35579 /* end confdefs.h. */
35580 #include <sys/types.h>
35581
35582 _ACEOF
35583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35584 $EGREP "uid_t" >/dev/null 2>&1; then
35585 ac_cv_type_uid_t=yes
35586 else
35587 ac_cv_type_uid_t=no
35588 fi
35589 rm -f conftest*
35590
35591 fi
35592 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
35593 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
35594 if test $ac_cv_type_uid_t = no; then
35595
35596 cat >>confdefs.h <<\_ACEOF
35597 #define uid_t int
35598 _ACEOF
35599
35600
35601 cat >>confdefs.h <<\_ACEOF
35602 #define gid_t int
35603 _ACEOF
35604
35605 fi
35606
35607
35608 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35609 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35610 if test "${ac_cv_type_ssize_t+set}" = set; then
35611 echo $ECHO_N "(cached) $ECHO_C" >&6
35612 else
35613 cat >conftest.$ac_ext <<_ACEOF
35614 /* confdefs.h. */
35615 _ACEOF
35616 cat confdefs.h >>conftest.$ac_ext
35617 cat >>conftest.$ac_ext <<_ACEOF
35618 /* end confdefs.h. */
35619 $ac_includes_default
35620 typedef ssize_t ac__type_new_;
35621 int
35622 main ()
35623 {
35624 if ((ac__type_new_ *) 0)
35625 return 0;
35626 if (sizeof (ac__type_new_))
35627 return 0;
35628 ;
35629 return 0;
35630 }
35631 _ACEOF
35632 rm -f conftest.$ac_objext
35633 if { (ac_try="$ac_compile"
35634 case "(($ac_try" in
35635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35636 *) ac_try_echo=$ac_try;;
35637 esac
35638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35639 (eval "$ac_compile") 2>conftest.er1
35640 ac_status=$?
35641 grep -v '^ *+' conftest.er1 >conftest.err
35642 rm -f conftest.er1
35643 cat conftest.err >&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); } && {
35646 test -z "$ac_c_werror_flag" ||
35647 test ! -s conftest.err
35648 } && test -s conftest.$ac_objext; then
35649 ac_cv_type_ssize_t=yes
35650 else
35651 echo "$as_me: failed program was:" >&5
35652 sed 's/^/| /' conftest.$ac_ext >&5
35653
35654 ac_cv_type_ssize_t=no
35655 fi
35656
35657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35658 fi
35659 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35660 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35661 if test $ac_cv_type_ssize_t = yes; then
35662
35663 cat >>confdefs.h <<_ACEOF
35664 #define HAVE_SSIZE_T 1
35665 _ACEOF
35666
35667
35668 fi
35669
35670
35671 ac_ext=cpp
35672 ac_cpp='$CXXCPP $CPPFLAGS'
35673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35676 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35677 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35678 if test "${wx_cv_size_t_is_uint+set}" = set; then
35679 echo $ECHO_N "(cached) $ECHO_C" >&6
35680 else
35681
35682 cat >conftest.$ac_ext <<_ACEOF
35683 /* confdefs.h. */
35684 _ACEOF
35685 cat confdefs.h >>conftest.$ac_ext
35686 cat >>conftest.$ac_ext <<_ACEOF
35687 /* end confdefs.h. */
35688 #include <stddef.h>
35689 int
35690 main ()
35691 {
35692
35693 return 0; }
35694
35695 struct Foo { void foo(size_t); void foo(unsigned int); };
35696
35697 int bar() {
35698
35699 ;
35700 return 0;
35701 }
35702 _ACEOF
35703 rm -f conftest.$ac_objext
35704 if { (ac_try="$ac_compile"
35705 case "(($ac_try" in
35706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35707 *) ac_try_echo=$ac_try;;
35708 esac
35709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35710 (eval "$ac_compile") 2>conftest.er1
35711 ac_status=$?
35712 grep -v '^ *+' conftest.er1 >conftest.err
35713 rm -f conftest.er1
35714 cat conftest.err >&5
35715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35716 (exit $ac_status); } && {
35717 test -z "$ac_cxx_werror_flag" ||
35718 test ! -s conftest.err
35719 } && test -s conftest.$ac_objext; then
35720 wx_cv_size_t_is_uint=no
35721 else
35722 echo "$as_me: failed program was:" >&5
35723 sed 's/^/| /' conftest.$ac_ext >&5
35724
35725 wx_cv_size_t_is_uint=yes
35726
35727 fi
35728
35729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35730
35731
35732 fi
35733 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35734 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35735
35736 if test "$wx_cv_size_t_is_uint" = "yes"; then
35737 cat >>confdefs.h <<\_ACEOF
35738 #define wxSIZE_T_IS_UINT 1
35739 _ACEOF
35740
35741 else
35742 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35743 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35744 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35745 echo $ECHO_N "(cached) $ECHO_C" >&6
35746 else
35747 cat >conftest.$ac_ext <<_ACEOF
35748 /* confdefs.h. */
35749 _ACEOF
35750 cat confdefs.h >>conftest.$ac_ext
35751 cat >>conftest.$ac_ext <<_ACEOF
35752 /* end confdefs.h. */
35753 #include <stddef.h>
35754 int
35755 main ()
35756 {
35757
35758 return 0; }
35759
35760 struct Foo { void foo(size_t); void foo(unsigned long); };
35761
35762 int bar() {
35763
35764 ;
35765 return 0;
35766 }
35767 _ACEOF
35768 rm -f conftest.$ac_objext
35769 if { (ac_try="$ac_compile"
35770 case "(($ac_try" in
35771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35772 *) ac_try_echo=$ac_try;;
35773 esac
35774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35775 (eval "$ac_compile") 2>conftest.er1
35776 ac_status=$?
35777 grep -v '^ *+' conftest.er1 >conftest.err
35778 rm -f conftest.er1
35779 cat conftest.err >&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); } && {
35782 test -z "$ac_cxx_werror_flag" ||
35783 test ! -s conftest.err
35784 } && test -s conftest.$ac_objext; then
35785 wx_cv_size_t_is_ulong=no
35786 else
35787 echo "$as_me: failed program was:" >&5
35788 sed 's/^/| /' conftest.$ac_ext >&5
35789
35790 wx_cv_size_t_is_ulong=yes
35791
35792 fi
35793
35794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35795
35796 fi
35797 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35798 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35799
35800 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35801 cat >>confdefs.h <<\_ACEOF
35802 #define wxSIZE_T_IS_ULONG 1
35803 _ACEOF
35804
35805 fi
35806 fi
35807
35808 ac_ext=c
35809 ac_cpp='$CPP $CPPFLAGS'
35810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35813
35814
35815 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35816 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35817 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35818 echo $ECHO_N "(cached) $ECHO_C" >&6
35819 else
35820
35821 cat >conftest.$ac_ext <<_ACEOF
35822 /* confdefs.h. */
35823 _ACEOF
35824 cat confdefs.h >>conftest.$ac_ext
35825 cat >>conftest.$ac_ext <<_ACEOF
35826 /* end confdefs.h. */
35827 #include <pwd.h>
35828 int
35829 main ()
35830 {
35831
35832 char *p;
35833 struct passwd *pw;
35834 p = pw->pw_gecos;
35835
35836 ;
35837 return 0;
35838 }
35839 _ACEOF
35840 rm -f conftest.$ac_objext
35841 if { (ac_try="$ac_compile"
35842 case "(($ac_try" in
35843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35844 *) ac_try_echo=$ac_try;;
35845 esac
35846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35847 (eval "$ac_compile") 2>conftest.er1
35848 ac_status=$?
35849 grep -v '^ *+' conftest.er1 >conftest.err
35850 rm -f conftest.er1
35851 cat conftest.err >&5
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); } && {
35854 test -z "$ac_c_werror_flag" ||
35855 test ! -s conftest.err
35856 } && test -s conftest.$ac_objext; then
35857
35858 wx_cv_struct_pw_gecos=yes
35859
35860 else
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35863
35864
35865 wx_cv_struct_pw_gecos=no
35866
35867
35868 fi
35869
35870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35871
35872
35873 fi
35874 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35875 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35876
35877 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35878 cat >>confdefs.h <<\_ACEOF
35879 #define HAVE_PW_GECOS 1
35880 _ACEOF
35881
35882 fi
35883
35884
35885 if test "$wxUSE_WCHAR_T" = "yes"; then
35886 cat >>confdefs.h <<\_ACEOF
35887 #define wxUSE_WCHAR_T 1
35888 _ACEOF
35889
35890
35891 WCSLEN_FOUND=0
35892 WCHAR_LINK=
35893
35894 for ac_func in wcslen
35895 do
35896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35897 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35899 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35900 echo $ECHO_N "(cached) $ECHO_C" >&6
35901 else
35902 cat >conftest.$ac_ext <<_ACEOF
35903 /* confdefs.h. */
35904 _ACEOF
35905 cat confdefs.h >>conftest.$ac_ext
35906 cat >>conftest.$ac_ext <<_ACEOF
35907 /* end confdefs.h. */
35908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35910 #define $ac_func innocuous_$ac_func
35911
35912 /* System header to define __stub macros and hopefully few prototypes,
35913 which can conflict with char $ac_func (); below.
35914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35915 <limits.h> exists even on freestanding compilers. */
35916
35917 #ifdef __STDC__
35918 # include <limits.h>
35919 #else
35920 # include <assert.h>
35921 #endif
35922
35923 #undef $ac_func
35924
35925 /* Override any GCC internal prototype to avoid an error.
35926 Use char because int might match the return type of a GCC
35927 builtin and then its argument prototype would still apply. */
35928 #ifdef __cplusplus
35929 extern "C"
35930 #endif
35931 char $ac_func ();
35932 /* The GNU C library defines this for functions which it implements
35933 to always fail with ENOSYS. Some functions are actually named
35934 something starting with __ and the normal name is an alias. */
35935 #if defined __stub_$ac_func || defined __stub___$ac_func
35936 choke me
35937 #endif
35938
35939 int
35940 main ()
35941 {
35942 return $ac_func ();
35943 ;
35944 return 0;
35945 }
35946 _ACEOF
35947 rm -f conftest.$ac_objext conftest$ac_exeext
35948 if { (ac_try="$ac_link"
35949 case "(($ac_try" in
35950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35951 *) ac_try_echo=$ac_try;;
35952 esac
35953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35954 (eval "$ac_link") 2>conftest.er1
35955 ac_status=$?
35956 grep -v '^ *+' conftest.er1 >conftest.err
35957 rm -f conftest.er1
35958 cat conftest.err >&5
35959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960 (exit $ac_status); } && {
35961 test -z "$ac_c_werror_flag" ||
35962 test ! -s conftest.err
35963 } && test -s conftest$ac_exeext &&
35964 $as_test_x conftest$ac_exeext; then
35965 eval "$as_ac_var=yes"
35966 else
35967 echo "$as_me: failed program was:" >&5
35968 sed 's/^/| /' conftest.$ac_ext >&5
35969
35970 eval "$as_ac_var=no"
35971 fi
35972
35973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35974 conftest$ac_exeext conftest.$ac_ext
35975 fi
35976 ac_res=`eval echo '${'$as_ac_var'}'`
35977 { echo "$as_me:$LINENO: result: $ac_res" >&5
35978 echo "${ECHO_T}$ac_res" >&6; }
35979 if test `eval echo '${'$as_ac_var'}'` = yes; then
35980 cat >>confdefs.h <<_ACEOF
35981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35982 _ACEOF
35983 WCSLEN_FOUND=1
35984 fi
35985 done
35986
35987
35988 if test "$WCSLEN_FOUND" = 0; then
35989 if test "$TOOLKIT" = "MSW"; then
35990 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35991 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35992 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35993 echo $ECHO_N "(cached) $ECHO_C" >&6
35994 else
35995 ac_check_lib_save_LIBS=$LIBS
35996 LIBS="-lmsvcrt $LIBS"
35997 cat >conftest.$ac_ext <<_ACEOF
35998 /* confdefs.h. */
35999 _ACEOF
36000 cat confdefs.h >>conftest.$ac_ext
36001 cat >>conftest.$ac_ext <<_ACEOF
36002 /* end confdefs.h. */
36003
36004 /* Override any GCC internal prototype to avoid an error.
36005 Use char because int might match the return type of a GCC
36006 builtin and then its argument prototype would still apply. */
36007 #ifdef __cplusplus
36008 extern "C"
36009 #endif
36010 char wcslen ();
36011 int
36012 main ()
36013 {
36014 return wcslen ();
36015 ;
36016 return 0;
36017 }
36018 _ACEOF
36019 rm -f conftest.$ac_objext conftest$ac_exeext
36020 if { (ac_try="$ac_link"
36021 case "(($ac_try" in
36022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36023 *) ac_try_echo=$ac_try;;
36024 esac
36025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36026 (eval "$ac_link") 2>conftest.er1
36027 ac_status=$?
36028 grep -v '^ *+' conftest.er1 >conftest.err
36029 rm -f conftest.er1
36030 cat conftest.err >&5
36031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36032 (exit $ac_status); } && {
36033 test -z "$ac_c_werror_flag" ||
36034 test ! -s conftest.err
36035 } && test -s conftest$ac_exeext &&
36036 $as_test_x conftest$ac_exeext; then
36037 ac_cv_lib_msvcrt_wcslen=yes
36038 else
36039 echo "$as_me: failed program was:" >&5
36040 sed 's/^/| /' conftest.$ac_ext >&5
36041
36042 ac_cv_lib_msvcrt_wcslen=no
36043 fi
36044
36045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36046 conftest$ac_exeext conftest.$ac_ext
36047 LIBS=$ac_check_lib_save_LIBS
36048 fi
36049 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36050 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36051 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36052 WCHAR_OK=1
36053 fi
36054
36055 else
36056 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36057 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36058 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36059 echo $ECHO_N "(cached) $ECHO_C" >&6
36060 else
36061 ac_check_lib_save_LIBS=$LIBS
36062 LIBS="-lw $LIBS"
36063 cat >conftest.$ac_ext <<_ACEOF
36064 /* confdefs.h. */
36065 _ACEOF
36066 cat confdefs.h >>conftest.$ac_ext
36067 cat >>conftest.$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36069
36070 /* Override any GCC internal prototype to avoid an error.
36071 Use char because int might match the return type of a GCC
36072 builtin and then its argument prototype would still apply. */
36073 #ifdef __cplusplus
36074 extern "C"
36075 #endif
36076 char wcslen ();
36077 int
36078 main ()
36079 {
36080 return wcslen ();
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 ac_cv_lib_w_wcslen=yes
36104 else
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36107
36108 ac_cv_lib_w_wcslen=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 LIBS=$ac_check_lib_save_LIBS
36114 fi
36115 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36116 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36117 if test $ac_cv_lib_w_wcslen = yes; then
36118
36119 WCHAR_LINK=" -lw"
36120 WCSLEN_FOUND=1
36121
36122 fi
36123
36124 fi
36125 fi
36126
36127 if test "$WCSLEN_FOUND" = 1; then
36128 cat >>confdefs.h <<\_ACEOF
36129 #define HAVE_WCSLEN 1
36130 _ACEOF
36131
36132 fi
36133
36134 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36135 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36136 fi
36137
36138 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36139 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36140 if test "${ac_cv_type_mbstate_t+set}" = set; then
36141 echo $ECHO_N "(cached) $ECHO_C" >&6
36142 else
36143 cat >conftest.$ac_ext <<_ACEOF
36144 /* confdefs.h. */
36145 _ACEOF
36146 cat confdefs.h >>conftest.$ac_ext
36147 cat >>conftest.$ac_ext <<_ACEOF
36148 /* end confdefs.h. */
36149 #include <wchar.h>
36150
36151 typedef mbstate_t ac__type_new_;
36152 int
36153 main ()
36154 {
36155 if ((ac__type_new_ *) 0)
36156 return 0;
36157 if (sizeof (ac__type_new_))
36158 return 0;
36159 ;
36160 return 0;
36161 }
36162 _ACEOF
36163 rm -f conftest.$ac_objext
36164 if { (ac_try="$ac_compile"
36165 case "(($ac_try" in
36166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36167 *) ac_try_echo=$ac_try;;
36168 esac
36169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36170 (eval "$ac_compile") 2>conftest.er1
36171 ac_status=$?
36172 grep -v '^ *+' conftest.er1 >conftest.err
36173 rm -f conftest.er1
36174 cat conftest.err >&5
36175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36176 (exit $ac_status); } && {
36177 test -z "$ac_c_werror_flag" ||
36178 test ! -s conftest.err
36179 } && test -s conftest.$ac_objext; then
36180 ac_cv_type_mbstate_t=yes
36181 else
36182 echo "$as_me: failed program was:" >&5
36183 sed 's/^/| /' conftest.$ac_ext >&5
36184
36185 ac_cv_type_mbstate_t=no
36186 fi
36187
36188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36189 fi
36190 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36191 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36192 if test $ac_cv_type_mbstate_t = yes; then
36193
36194 cat >>confdefs.h <<_ACEOF
36195 #define HAVE_MBSTATE_T 1
36196 _ACEOF
36197
36198
36199 for ac_func in wcsrtombs
36200 do
36201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36202 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36204 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36205 echo $ECHO_N "(cached) $ECHO_C" >&6
36206 else
36207 cat >conftest.$ac_ext <<_ACEOF
36208 /* confdefs.h. */
36209 _ACEOF
36210 cat confdefs.h >>conftest.$ac_ext
36211 cat >>conftest.$ac_ext <<_ACEOF
36212 /* end confdefs.h. */
36213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36215 #define $ac_func innocuous_$ac_func
36216
36217 /* System header to define __stub macros and hopefully few prototypes,
36218 which can conflict with char $ac_func (); below.
36219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36220 <limits.h> exists even on freestanding compilers. */
36221
36222 #ifdef __STDC__
36223 # include <limits.h>
36224 #else
36225 # include <assert.h>
36226 #endif
36227
36228 #undef $ac_func
36229
36230 /* Override any GCC internal prototype to avoid an error.
36231 Use char because int might match the return type of a GCC
36232 builtin and then its argument prototype would still apply. */
36233 #ifdef __cplusplus
36234 extern "C"
36235 #endif
36236 char $ac_func ();
36237 /* The GNU C library defines this for functions which it implements
36238 to always fail with ENOSYS. Some functions are actually named
36239 something starting with __ and the normal name is an alias. */
36240 #if defined __stub_$ac_func || defined __stub___$ac_func
36241 choke me
36242 #endif
36243
36244 int
36245 main ()
36246 {
36247 return $ac_func ();
36248 ;
36249 return 0;
36250 }
36251 _ACEOF
36252 rm -f conftest.$ac_objext conftest$ac_exeext
36253 if { (ac_try="$ac_link"
36254 case "(($ac_try" in
36255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36256 *) ac_try_echo=$ac_try;;
36257 esac
36258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36259 (eval "$ac_link") 2>conftest.er1
36260 ac_status=$?
36261 grep -v '^ *+' conftest.er1 >conftest.err
36262 rm -f conftest.er1
36263 cat conftest.err >&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); } && {
36266 test -z "$ac_c_werror_flag" ||
36267 test ! -s conftest.err
36268 } && test -s conftest$ac_exeext &&
36269 $as_test_x conftest$ac_exeext; then
36270 eval "$as_ac_var=yes"
36271 else
36272 echo "$as_me: failed program was:" >&5
36273 sed 's/^/| /' conftest.$ac_ext >&5
36274
36275 eval "$as_ac_var=no"
36276 fi
36277
36278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36279 conftest$ac_exeext conftest.$ac_ext
36280 fi
36281 ac_res=`eval echo '${'$as_ac_var'}'`
36282 { echo "$as_me:$LINENO: result: $ac_res" >&5
36283 echo "${ECHO_T}$ac_res" >&6; }
36284 if test `eval echo '${'$as_ac_var'}'` = yes; then
36285 cat >>confdefs.h <<_ACEOF
36286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36287 _ACEOF
36288
36289 fi
36290 done
36291
36292 fi
36293
36294 else
36295 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36296 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36297 fi
36298
36299
36300
36301 for ac_func in snprintf vsnprintf
36302 do
36303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36307 echo $ECHO_N "(cached) $ECHO_C" >&6
36308 else
36309 cat >conftest.$ac_ext <<_ACEOF
36310 /* confdefs.h. */
36311 _ACEOF
36312 cat confdefs.h >>conftest.$ac_ext
36313 cat >>conftest.$ac_ext <<_ACEOF
36314 /* end confdefs.h. */
36315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36317 #define $ac_func innocuous_$ac_func
36318
36319 /* System header to define __stub macros and hopefully few prototypes,
36320 which can conflict with char $ac_func (); below.
36321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36322 <limits.h> exists even on freestanding compilers. */
36323
36324 #ifdef __STDC__
36325 # include <limits.h>
36326 #else
36327 # include <assert.h>
36328 #endif
36329
36330 #undef $ac_func
36331
36332 /* Override any GCC internal prototype to avoid an error.
36333 Use char because int might match the return type of a GCC
36334 builtin and then its argument prototype would still apply. */
36335 #ifdef __cplusplus
36336 extern "C"
36337 #endif
36338 char $ac_func ();
36339 /* The GNU C library defines this for functions which it implements
36340 to always fail with ENOSYS. Some functions are actually named
36341 something starting with __ and the normal name is an alias. */
36342 #if defined __stub_$ac_func || defined __stub___$ac_func
36343 choke me
36344 #endif
36345
36346 int
36347 main ()
36348 {
36349 return $ac_func ();
36350 ;
36351 return 0;
36352 }
36353 _ACEOF
36354 rm -f conftest.$ac_objext conftest$ac_exeext
36355 if { (ac_try="$ac_link"
36356 case "(($ac_try" in
36357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36358 *) ac_try_echo=$ac_try;;
36359 esac
36360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36361 (eval "$ac_link") 2>conftest.er1
36362 ac_status=$?
36363 grep -v '^ *+' conftest.er1 >conftest.err
36364 rm -f conftest.er1
36365 cat conftest.err >&5
36366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36367 (exit $ac_status); } && {
36368 test -z "$ac_c_werror_flag" ||
36369 test ! -s conftest.err
36370 } && test -s conftest$ac_exeext &&
36371 $as_test_x conftest$ac_exeext; then
36372 eval "$as_ac_var=yes"
36373 else
36374 echo "$as_me: failed program was:" >&5
36375 sed 's/^/| /' conftest.$ac_ext >&5
36376
36377 eval "$as_ac_var=no"
36378 fi
36379
36380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36381 conftest$ac_exeext conftest.$ac_ext
36382 fi
36383 ac_res=`eval echo '${'$as_ac_var'}'`
36384 { echo "$as_me:$LINENO: result: $ac_res" >&5
36385 echo "${ECHO_T}$ac_res" >&6; }
36386 if test `eval echo '${'$as_ac_var'}'` = yes; then
36387 cat >>confdefs.h <<_ACEOF
36388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36389 _ACEOF
36390
36391 fi
36392 done
36393
36394
36395 if test "$ac_cv_func_vsnprintf" = "yes"; then
36396 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36397 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36398 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36399 echo $ECHO_N "(cached) $ECHO_C" >&6
36400 else
36401
36402 cat >conftest.$ac_ext <<_ACEOF
36403 /* confdefs.h. */
36404 _ACEOF
36405 cat confdefs.h >>conftest.$ac_ext
36406 cat >>conftest.$ac_ext <<_ACEOF
36407 /* end confdefs.h. */
36408
36409 #include <stdio.h>
36410 #include <stdarg.h>
36411 #ifdef __MSL__
36412 #if __MSL__ >= 0x6000
36413 namespace std {}
36414 using namespace std;
36415 #endif
36416 #endif
36417
36418 int
36419 main ()
36420 {
36421
36422 char *buf;
36423 va_list ap;
36424 vsnprintf(buf, 10u, "%s", ap);
36425
36426 ;
36427 return 0;
36428 }
36429 _ACEOF
36430 rm -f conftest.$ac_objext
36431 if { (ac_try="$ac_compile"
36432 case "(($ac_try" in
36433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36434 *) ac_try_echo=$ac_try;;
36435 esac
36436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36437 (eval "$ac_compile") 2>conftest.er1
36438 ac_status=$?
36439 grep -v '^ *+' conftest.er1 >conftest.err
36440 rm -f conftest.er1
36441 cat conftest.err >&5
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); } && {
36444 test -z "$ac_c_werror_flag" ||
36445 test ! -s conftest.err
36446 } && test -s conftest.$ac_objext; then
36447 wx_cv_func_vsnprintf_decl=yes
36448 else
36449 echo "$as_me: failed program was:" >&5
36450 sed 's/^/| /' conftest.$ac_ext >&5
36451
36452 wx_cv_func_vsnprintf_decl=no
36453
36454 fi
36455
36456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36457
36458
36459 fi
36460 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36461 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36462
36463 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36464 cat >>confdefs.h <<\_ACEOF
36465 #define HAVE_VSNPRINTF_DECL 1
36466 _ACEOF
36467
36468
36469 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36470 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36471 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36472 echo $ECHO_N "(cached) $ECHO_C" >&6
36473 else
36474
36475 cat >conftest.$ac_ext <<_ACEOF
36476 /* confdefs.h. */
36477 _ACEOF
36478 cat confdefs.h >>conftest.$ac_ext
36479 cat >>conftest.$ac_ext <<_ACEOF
36480 /* end confdefs.h. */
36481
36482 #include <stdio.h>
36483 #include <stdarg.h>
36484 #ifdef __MSL__
36485 #if __MSL__ >= 0x6000
36486 namespace std {}
36487 using namespace std;
36488 #endif
36489 #endif
36490
36491 int
36492 main ()
36493 {
36494
36495 char *buf;
36496 va_list ap;
36497 const char *fmt = "%s";
36498 vsnprintf(buf, 10u, fmt, ap);
36499
36500 ;
36501 return 0;
36502 }
36503 _ACEOF
36504 rm -f conftest.$ac_objext
36505 if { (ac_try="$ac_compile"
36506 case "(($ac_try" in
36507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36508 *) ac_try_echo=$ac_try;;
36509 esac
36510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36511 (eval "$ac_compile") 2>conftest.er1
36512 ac_status=$?
36513 grep -v '^ *+' conftest.er1 >conftest.err
36514 rm -f conftest.er1
36515 cat conftest.err >&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); } && {
36518 test -z "$ac_c_werror_flag" ||
36519 test ! -s conftest.err
36520 } && test -s conftest.$ac_objext; then
36521 wx_cv_func_broken_vsnprintf_decl=no
36522 else
36523 echo "$as_me: failed program was:" >&5
36524 sed 's/^/| /' conftest.$ac_ext >&5
36525
36526 wx_cv_func_broken_vsnprintf_decl=yes
36527
36528 fi
36529
36530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36531
36532
36533 fi
36534 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36535 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36536
36537 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36538 cat >>confdefs.h <<\_ACEOF
36539 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36540 _ACEOF
36541
36542 fi
36543 fi
36544 fi
36545
36546 if test "$ac_cv_func_snprintf" = "yes"; then
36547 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36548 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36549 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36550 echo $ECHO_N "(cached) $ECHO_C" >&6
36551 else
36552
36553 cat >conftest.$ac_ext <<_ACEOF
36554 /* confdefs.h. */
36555 _ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559
36560 #include <stdio.h>
36561 #include <stdarg.h>
36562 #ifdef __MSL__
36563 #if __MSL__ >= 0x6000
36564 namespace std {}
36565 using namespace std;
36566 #endif
36567 #endif
36568
36569 int
36570 main ()
36571 {
36572
36573 char *buf;
36574 snprintf(buf, 10u, "%s", "wx");
36575
36576 ;
36577 return 0;
36578 }
36579 _ACEOF
36580 rm -f conftest.$ac_objext
36581 if { (ac_try="$ac_compile"
36582 case "(($ac_try" in
36583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36584 *) ac_try_echo=$ac_try;;
36585 esac
36586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36587 (eval "$ac_compile") 2>conftest.er1
36588 ac_status=$?
36589 grep -v '^ *+' conftest.er1 >conftest.err
36590 rm -f conftest.er1
36591 cat conftest.err >&5
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); } && {
36594 test -z "$ac_c_werror_flag" ||
36595 test ! -s conftest.err
36596 } && test -s conftest.$ac_objext; then
36597 wx_cv_func_snprintf_decl=yes
36598 else
36599 echo "$as_me: failed program was:" >&5
36600 sed 's/^/| /' conftest.$ac_ext >&5
36601
36602 wx_cv_func_snprintf_decl=no
36603
36604 fi
36605
36606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36607
36608
36609 fi
36610 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36611 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36612
36613 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36614 cat >>confdefs.h <<\_ACEOF
36615 #define HAVE_SNPRINTF_DECL 1
36616 _ACEOF
36617
36618
36619 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
36620 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
36621 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
36622 echo $ECHO_N "(cached) $ECHO_C" >&6
36623 else
36624
36625 cat >conftest.$ac_ext <<_ACEOF
36626 /* confdefs.h. */
36627 _ACEOF
36628 cat confdefs.h >>conftest.$ac_ext
36629 cat >>conftest.$ac_ext <<_ACEOF
36630 /* end confdefs.h. */
36631
36632 #include <stdio.h>
36633 #include <stdarg.h>
36634 #ifdef __MSL__
36635 #if __MSL__ >= 0x6000
36636 namespace std {}
36637 using namespace std;
36638 #endif
36639 #endif
36640
36641 int
36642 main ()
36643 {
36644
36645 char *buf;
36646 const char *fmt = "%s";
36647 snprintf(buf, 10u, fmt, "wx");
36648
36649 ;
36650 return 0;
36651 }
36652 _ACEOF
36653 rm -f conftest.$ac_objext
36654 if { (ac_try="$ac_compile"
36655 case "(($ac_try" in
36656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36657 *) ac_try_echo=$ac_try;;
36658 esac
36659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36660 (eval "$ac_compile") 2>conftest.er1
36661 ac_status=$?
36662 grep -v '^ *+' conftest.er1 >conftest.err
36663 rm -f conftest.er1
36664 cat conftest.err >&5
36665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36666 (exit $ac_status); } && {
36667 test -z "$ac_c_werror_flag" ||
36668 test ! -s conftest.err
36669 } && test -s conftest.$ac_objext; then
36670 wx_cv_func_broken_snprintf_decl=no
36671 else
36672 echo "$as_me: failed program was:" >&5
36673 sed 's/^/| /' conftest.$ac_ext >&5
36674
36675 wx_cv_func_broken_snprintf_decl=yes
36676
36677 fi
36678
36679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36680
36681
36682 fi
36683 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
36684 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
36685
36686 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
36687 cat >>confdefs.h <<\_ACEOF
36688 #define HAVE_BROKEN_SNPRINTF_DECL 1
36689 _ACEOF
36690
36691 fi
36692 fi
36693
36694 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36695
36696 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36697 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36698 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36699 echo $ECHO_N "(cached) $ECHO_C" >&6
36700 else
36701
36702 if test "$cross_compiling" = yes; then
36703
36704 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36705 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36706 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36707 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36708 wx_cv_func_snprintf_pos_params=no
36709
36710
36711 else
36712 cat >conftest.$ac_ext <<_ACEOF
36713 /* confdefs.h. */
36714 _ACEOF
36715 cat confdefs.h >>conftest.$ac_ext
36716 cat >>conftest.$ac_ext <<_ACEOF
36717 /* end confdefs.h. */
36718
36719 #include <stdio.h>
36720
36721 int main (void)
36722 {
36723 char buffer[128];
36724 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36725 if (strcmp ("2 3 1", buffer) == 0)
36726 exit (0);
36727 exit (1);
36728 }
36729
36730 _ACEOF
36731 rm -f conftest$ac_exeext
36732 if { (ac_try="$ac_link"
36733 case "(($ac_try" in
36734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36735 *) ac_try_echo=$ac_try;;
36736 esac
36737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36738 (eval "$ac_link") 2>&5
36739 ac_status=$?
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36742 { (case "(($ac_try" in
36743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36744 *) ac_try_echo=$ac_try;;
36745 esac
36746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36747 (eval "$ac_try") 2>&5
36748 ac_status=$?
36749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750 (exit $ac_status); }; }; then
36751 wx_cv_func_snprintf_pos_params=no
36752 else
36753 echo "$as_me: program exited with status $ac_status" >&5
36754 echo "$as_me: failed program was:" >&5
36755 sed 's/^/| /' conftest.$ac_ext >&5
36756
36757 ( exit $ac_status )
36758 wx_cv_func_snprintf_pos_params=yes
36759 fi
36760 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36761 fi
36762
36763
36764
36765
36766 fi
36767 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36768 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36769
36770 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36771 cat >>confdefs.h <<\_ACEOF
36772 #define HAVE_UNIX98_PRINTF 1
36773 _ACEOF
36774
36775 fi
36776 fi
36777 fi
36778
36779 if test "$wxUSE_UNICODE" = yes; then
36780
36781
36782 for ac_func in swprintf
36783 do
36784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36785 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36787 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36788 echo $ECHO_N "(cached) $ECHO_C" >&6
36789 else
36790 cat >conftest.$ac_ext <<_ACEOF
36791 /* confdefs.h. */
36792 _ACEOF
36793 cat confdefs.h >>conftest.$ac_ext
36794 cat >>conftest.$ac_ext <<_ACEOF
36795 /* end confdefs.h. */
36796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36798 #define $ac_func innocuous_$ac_func
36799
36800 /* System header to define __stub macros and hopefully few prototypes,
36801 which can conflict with char $ac_func (); below.
36802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36803 <limits.h> exists even on freestanding compilers. */
36804
36805 #ifdef __STDC__
36806 # include <limits.h>
36807 #else
36808 # include <assert.h>
36809 #endif
36810
36811 #undef $ac_func
36812
36813 /* Override any GCC internal prototype to avoid an error.
36814 Use char because int might match the return type of a GCC
36815 builtin and then its argument prototype would still apply. */
36816 #ifdef __cplusplus
36817 extern "C"
36818 #endif
36819 char $ac_func ();
36820 /* The GNU C library defines this for functions which it implements
36821 to always fail with ENOSYS. Some functions are actually named
36822 something starting with __ and the normal name is an alias. */
36823 #if defined __stub_$ac_func || defined __stub___$ac_func
36824 choke me
36825 #endif
36826
36827 int
36828 main ()
36829 {
36830 return $ac_func ();
36831 ;
36832 return 0;
36833 }
36834 _ACEOF
36835 rm -f conftest.$ac_objext conftest$ac_exeext
36836 if { (ac_try="$ac_link"
36837 case "(($ac_try" in
36838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36839 *) ac_try_echo=$ac_try;;
36840 esac
36841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36842 (eval "$ac_link") 2>conftest.er1
36843 ac_status=$?
36844 grep -v '^ *+' conftest.er1 >conftest.err
36845 rm -f conftest.er1
36846 cat conftest.err >&5
36847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36848 (exit $ac_status); } && {
36849 test -z "$ac_c_werror_flag" ||
36850 test ! -s conftest.err
36851 } && test -s conftest$ac_exeext &&
36852 $as_test_x conftest$ac_exeext; then
36853 eval "$as_ac_var=yes"
36854 else
36855 echo "$as_me: failed program was:" >&5
36856 sed 's/^/| /' conftest.$ac_ext >&5
36857
36858 eval "$as_ac_var=no"
36859 fi
36860
36861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36862 conftest$ac_exeext conftest.$ac_ext
36863 fi
36864 ac_res=`eval echo '${'$as_ac_var'}'`
36865 { echo "$as_me:$LINENO: result: $ac_res" >&5
36866 echo "${ECHO_T}$ac_res" >&6; }
36867 if test `eval echo '${'$as_ac_var'}'` = yes; then
36868 cat >>confdefs.h <<_ACEOF
36869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36870 _ACEOF
36871
36872 fi
36873 done
36874
36875
36876 if test "$ac_cv_func_swprintf" = "yes"; then
36877 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36878 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
36879 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36880 echo $ECHO_N "(cached) $ECHO_C" >&6
36881 else
36882
36883 cat >conftest.$ac_ext <<_ACEOF
36884 /* confdefs.h. */
36885 _ACEOF
36886 cat confdefs.h >>conftest.$ac_ext
36887 cat >>conftest.$ac_ext <<_ACEOF
36888 /* end confdefs.h. */
36889
36890 #include <stdio.h>
36891 #include <stdarg.h>
36892 #include <wchar.h>
36893
36894 int
36895 main ()
36896 {
36897
36898 wchar_t *buf;
36899 const wchar_t *fmt = L"test";
36900 swprintf(buf, 10u, fmt);
36901
36902 ;
36903 return 0;
36904 }
36905 _ACEOF
36906 rm -f conftest.$ac_objext
36907 if { (ac_try="$ac_compile"
36908 case "(($ac_try" in
36909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36910 *) ac_try_echo=$ac_try;;
36911 esac
36912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36913 (eval "$ac_compile") 2>conftest.er1
36914 ac_status=$?
36915 grep -v '^ *+' conftest.er1 >conftest.err
36916 rm -f conftest.er1
36917 cat conftest.err >&5
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); } && {
36920 test -z "$ac_c_werror_flag" ||
36921 test ! -s conftest.err
36922 } && test -s conftest.$ac_objext; then
36923 wx_cv_func_broken_swprintf_decl=no
36924 else
36925 echo "$as_me: failed program was:" >&5
36926 sed 's/^/| /' conftest.$ac_ext >&5
36927
36928 wx_cv_func_broken_swprintf_decl=yes
36929
36930 fi
36931
36932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36933
36934
36935 fi
36936 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36937 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
36938
36939 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36940 cat >>confdefs.h <<\_ACEOF
36941 #define HAVE_BROKEN_SWPRINTF_DECL 1
36942 _ACEOF
36943
36944 fi
36945 fi
36946
36947 wchar_headers="#include <stdio.h>
36948 #include <wchar.h>"
36949 case "${host}" in
36950 *-*-solaris2* )
36951
36952 for ac_header in widec.h
36953 do
36954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36960 fi
36961 ac_res=`eval echo '${'$as_ac_Header'}'`
36962 { echo "$as_me:$LINENO: result: $ac_res" >&5
36963 echo "${ECHO_T}$ac_res" >&6; }
36964 else
36965 # Is the header compilable?
36966 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
36967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
36968 cat >conftest.$ac_ext <<_ACEOF
36969 /* confdefs.h. */
36970 _ACEOF
36971 cat confdefs.h >>conftest.$ac_ext
36972 cat >>conftest.$ac_ext <<_ACEOF
36973 /* end confdefs.h. */
36974 $ac_includes_default
36975 #include <$ac_header>
36976 _ACEOF
36977 rm -f conftest.$ac_objext
36978 if { (ac_try="$ac_compile"
36979 case "(($ac_try" in
36980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36981 *) ac_try_echo=$ac_try;;
36982 esac
36983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36984 (eval "$ac_compile") 2>conftest.er1
36985 ac_status=$?
36986 grep -v '^ *+' conftest.er1 >conftest.err
36987 rm -f conftest.er1
36988 cat conftest.err >&5
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); } && {
36991 test -z "$ac_c_werror_flag" ||
36992 test ! -s conftest.err
36993 } && test -s conftest.$ac_objext; then
36994 ac_header_compiler=yes
36995 else
36996 echo "$as_me: failed program was:" >&5
36997 sed 's/^/| /' conftest.$ac_ext >&5
36998
36999 ac_header_compiler=no
37000 fi
37001
37002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37003 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37004 echo "${ECHO_T}$ac_header_compiler" >&6; }
37005
37006 # Is the header present?
37007 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
37008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
37009 cat >conftest.$ac_ext <<_ACEOF
37010 /* confdefs.h. */
37011 _ACEOF
37012 cat confdefs.h >>conftest.$ac_ext
37013 cat >>conftest.$ac_ext <<_ACEOF
37014 /* end confdefs.h. */
37015 #include <$ac_header>
37016 _ACEOF
37017 if { (ac_try="$ac_cpp conftest.$ac_ext"
37018 case "(($ac_try" in
37019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37020 *) ac_try_echo=$ac_try;;
37021 esac
37022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
37024 ac_status=$?
37025 grep -v '^ *+' conftest.er1 >conftest.err
37026 rm -f conftest.er1
37027 cat conftest.err >&5
37028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37029 (exit $ac_status); } >/dev/null && {
37030 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
37031 test ! -s conftest.err
37032 }; then
37033 ac_header_preproc=yes
37034 else
37035 echo "$as_me: failed program was:" >&5
37036 sed 's/^/| /' conftest.$ac_ext >&5
37037
37038 ac_header_preproc=no
37039 fi
37040
37041 rm -f conftest.err conftest.$ac_ext
37042 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37043 echo "${ECHO_T}$ac_header_preproc" >&6; }
37044
37045 # So? What about this header?
37046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37047 yes:no: )
37048 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37049 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37051 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37052 ac_header_preproc=yes
37053 ;;
37054 no:yes:* )
37055 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37056 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37057 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37058 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37059 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37060 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37061 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37062 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37063 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37064 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37065 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37066 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37067 ( cat <<\_ASBOX
37068 ## ----------------------------------------- ##
37069 ## Report this to wx-dev@lists.wxwidgets.org ##
37070 ## ----------------------------------------- ##
37071 _ASBOX
37072 ) | sed "s/^/$as_me: WARNING: /" >&2
37073 ;;
37074 esac
37075 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37077 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37079 else
37080 eval "$as_ac_Header=\$ac_header_preproc"
37081 fi
37082 ac_res=`eval echo '${'$as_ac_Header'}'`
37083 { echo "$as_me:$LINENO: result: $ac_res" >&5
37084 echo "${ECHO_T}$ac_res" >&6; }
37085
37086 fi
37087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37088 cat >>confdefs.h <<_ACEOF
37089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37090 _ACEOF
37091
37092 fi
37093
37094 done
37095
37096 if test "$ac_cv_header_widec_h" = "yes"; then
37097 wchar_headers="$wchar_headers
37098 #include <widec.h>"
37099 fi
37100 esac
37101
37102
37103 for wx_func in wputc wputchar putws fputws wprintf vswprintf
37104 do
37105 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37106 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37107 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37108 echo $ECHO_N "(cached) $ECHO_C" >&6
37109 else
37110
37111 cat >conftest.$ac_ext <<_ACEOF
37112
37113 /* confdefs.h. */
37114 _ACEOF
37115 cat confdefs.h >>conftest.$ac_ext
37116 cat >>conftest.$ac_ext <<_ACEOF
37117 /* end confdefs.h. */
37118
37119 $wchar_headers
37120 $ac_includes_default
37121
37122 int
37123 main ()
37124 {
37125
37126 #ifndef $wx_func
37127 &$wx_func;
37128 #endif
37129
37130
37131 ;
37132 return 0;
37133 }
37134
37135 _ACEOF
37136 rm -f conftest.$ac_objext conftest$ac_exeext
37137 if { (ac_try="$ac_link"
37138 case "(($ac_try" in
37139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37140 *) ac_try_echo=$ac_try;;
37141 esac
37142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37143 (eval "$ac_link") 2>conftest.er1
37144 ac_status=$?
37145 grep -v '^ *+' conftest.er1 >conftest.err
37146 rm -f conftest.er1
37147 cat conftest.err >&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } && {
37150 test -z "$ac_c_werror_flag" ||
37151 test ! -s conftest.err
37152 } && test -s conftest$ac_exeext &&
37153 $as_test_x conftest$ac_exeext; then
37154 eval wx_cv_func_$wx_func=yes
37155 else
37156 echo "$as_me: failed program was:" >&5
37157 sed 's/^/| /' conftest.$ac_ext >&5
37158
37159 eval wx_cv_func_$wx_func=no
37160 fi
37161
37162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37163 conftest$ac_exeext conftest.$ac_ext
37164
37165 fi
37166 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37167 { echo "$as_me:$LINENO: result: $ac_res" >&5
37168 echo "${ECHO_T}$ac_res" >&6; }
37169
37170 if eval test \$wx_cv_func_$wx_func = yes
37171 then
37172 cat >>confdefs.h <<_ACEOF
37173 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37174 _ACEOF
37175
37176
37177 else
37178 :
37179
37180 fi
37181 done
37182
37183
37184 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37185 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37186 cat >conftest.$ac_ext <<_ACEOF
37187 /* confdefs.h. */
37188 _ACEOF
37189 cat confdefs.h >>conftest.$ac_ext
37190 cat >>conftest.$ac_ext <<_ACEOF
37191 /* end confdefs.h. */
37192 #include <wchar.h>
37193 int
37194 main ()
37195 {
37196 &_vsnwprintf;
37197 ;
37198 return 0;
37199 }
37200 _ACEOF
37201 rm -f conftest.$ac_objext
37202 if { (ac_try="$ac_compile"
37203 case "(($ac_try" in
37204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37205 *) ac_try_echo=$ac_try;;
37206 esac
37207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37208 (eval "$ac_compile") 2>conftest.er1
37209 ac_status=$?
37210 grep -v '^ *+' conftest.er1 >conftest.err
37211 rm -f conftest.er1
37212 cat conftest.err >&5
37213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37214 (exit $ac_status); } && {
37215 test -z "$ac_c_werror_flag" ||
37216 test ! -s conftest.err
37217 } && test -s conftest.$ac_objext; then
37218 { echo "$as_me:$LINENO: result: yes" >&5
37219 echo "${ECHO_T}yes" >&6; }
37220 cat >>confdefs.h <<\_ACEOF
37221 #define HAVE__VSNWPRINTF 1
37222 _ACEOF
37223
37224 else
37225 echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.$ac_ext >&5
37227
37228 { echo "$as_me:$LINENO: result: no" >&5
37229 echo "${ECHO_T}no" >&6; }
37230 fi
37231
37232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37233 fi
37234
37235 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
37236
37237 for wx_func in fnmatch
37238 do
37239 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37240 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37241 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37242 echo $ECHO_N "(cached) $ECHO_C" >&6
37243 else
37244
37245 cat >conftest.$ac_ext <<_ACEOF
37246
37247 /* confdefs.h. */
37248 _ACEOF
37249 cat confdefs.h >>conftest.$ac_ext
37250 cat >>conftest.$ac_ext <<_ACEOF
37251 /* end confdefs.h. */
37252
37253 #include <fnmatch.h>
37254 $ac_includes_default
37255
37256 int
37257 main ()
37258 {
37259
37260 #ifndef $wx_func
37261 &$wx_func;
37262 #endif
37263
37264
37265 ;
37266 return 0;
37267 }
37268
37269 _ACEOF
37270 rm -f conftest.$ac_objext conftest$ac_exeext
37271 if { (ac_try="$ac_link"
37272 case "(($ac_try" in
37273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37274 *) ac_try_echo=$ac_try;;
37275 esac
37276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37277 (eval "$ac_link") 2>conftest.er1
37278 ac_status=$?
37279 grep -v '^ *+' conftest.er1 >conftest.err
37280 rm -f conftest.er1
37281 cat conftest.err >&5
37282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283 (exit $ac_status); } && {
37284 test -z "$ac_c_werror_flag" ||
37285 test ! -s conftest.err
37286 } && test -s conftest$ac_exeext &&
37287 $as_test_x conftest$ac_exeext; then
37288 eval wx_cv_func_$wx_func=yes
37289 else
37290 echo "$as_me: failed program was:" >&5
37291 sed 's/^/| /' conftest.$ac_ext >&5
37292
37293 eval wx_cv_func_$wx_func=no
37294 fi
37295
37296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37297 conftest$ac_exeext conftest.$ac_ext
37298
37299 fi
37300 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37301 { echo "$as_me:$LINENO: result: $ac_res" >&5
37302 echo "${ECHO_T}$ac_res" >&6; }
37303
37304 if eval test \$wx_cv_func_$wx_func = yes
37305 then
37306 cat >>confdefs.h <<_ACEOF
37307 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37308 _ACEOF
37309
37310
37311 else
37312 :
37313
37314 fi
37315 done
37316
37317 fi
37318
37319 if test "$wxUSE_FILE" = "yes"; then
37320
37321 for wx_func in fsync
37322 do
37323 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37324 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37325 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37326 echo $ECHO_N "(cached) $ECHO_C" >&6
37327 else
37328
37329 cat >conftest.$ac_ext <<_ACEOF
37330
37331 /* confdefs.h. */
37332 _ACEOF
37333 cat confdefs.h >>conftest.$ac_ext
37334 cat >>conftest.$ac_ext <<_ACEOF
37335 /* end confdefs.h. */
37336
37337
37338 $ac_includes_default
37339
37340 int
37341 main ()
37342 {
37343
37344 #ifndef $wx_func
37345 &$wx_func;
37346 #endif
37347
37348
37349 ;
37350 return 0;
37351 }
37352
37353 _ACEOF
37354 rm -f conftest.$ac_objext conftest$ac_exeext
37355 if { (ac_try="$ac_link"
37356 case "(($ac_try" in
37357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37358 *) ac_try_echo=$ac_try;;
37359 esac
37360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37361 (eval "$ac_link") 2>conftest.er1
37362 ac_status=$?
37363 grep -v '^ *+' conftest.er1 >conftest.err
37364 rm -f conftest.er1
37365 cat conftest.err >&5
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); } && {
37368 test -z "$ac_c_werror_flag" ||
37369 test ! -s conftest.err
37370 } && test -s conftest$ac_exeext &&
37371 $as_test_x conftest$ac_exeext; then
37372 eval wx_cv_func_$wx_func=yes
37373 else
37374 echo "$as_me: failed program was:" >&5
37375 sed 's/^/| /' conftest.$ac_ext >&5
37376
37377 eval wx_cv_func_$wx_func=no
37378 fi
37379
37380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37381 conftest$ac_exeext conftest.$ac_ext
37382
37383 fi
37384 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37385 { echo "$as_me:$LINENO: result: $ac_res" >&5
37386 echo "${ECHO_T}$ac_res" >&6; }
37387
37388 if eval test \$wx_cv_func_$wx_func = yes
37389 then
37390 cat >>confdefs.h <<_ACEOF
37391 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37392 _ACEOF
37393
37394
37395 else
37396 :
37397
37398 fi
37399 done
37400
37401 fi
37402
37403
37404 for wx_func in round
37405 do
37406 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37407 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37408 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37409 echo $ECHO_N "(cached) $ECHO_C" >&6
37410 else
37411
37412 cat >conftest.$ac_ext <<_ACEOF
37413
37414 /* confdefs.h. */
37415 _ACEOF
37416 cat confdefs.h >>conftest.$ac_ext
37417 cat >>conftest.$ac_ext <<_ACEOF
37418 /* end confdefs.h. */
37419
37420 #include <math.h>
37421 $ac_includes_default
37422
37423 int
37424 main ()
37425 {
37426
37427 #ifndef $wx_func
37428 &$wx_func;
37429 #endif
37430
37431
37432 ;
37433 return 0;
37434 }
37435
37436 _ACEOF
37437 rm -f conftest.$ac_objext conftest$ac_exeext
37438 if { (ac_try="$ac_link"
37439 case "(($ac_try" in
37440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37441 *) ac_try_echo=$ac_try;;
37442 esac
37443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37444 (eval "$ac_link") 2>conftest.er1
37445 ac_status=$?
37446 grep -v '^ *+' conftest.er1 >conftest.err
37447 rm -f conftest.er1
37448 cat conftest.err >&5
37449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37450 (exit $ac_status); } && {
37451 test -z "$ac_c_werror_flag" ||
37452 test ! -s conftest.err
37453 } && test -s conftest$ac_exeext &&
37454 $as_test_x conftest$ac_exeext; then
37455 eval wx_cv_func_$wx_func=yes
37456 else
37457 echo "$as_me: failed program was:" >&5
37458 sed 's/^/| /' conftest.$ac_ext >&5
37459
37460 eval wx_cv_func_$wx_func=no
37461 fi
37462
37463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37464 conftest$ac_exeext conftest.$ac_ext
37465
37466 fi
37467 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37468 { echo "$as_me:$LINENO: result: $ac_res" >&5
37469 echo "${ECHO_T}$ac_res" >&6; }
37470
37471 if eval test \$wx_cv_func_$wx_func = yes
37472 then
37473 cat >>confdefs.h <<_ACEOF
37474 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37475 _ACEOF
37476
37477
37478 else
37479 :
37480
37481 fi
37482 done
37483
37484
37485 if test "$TOOLKIT" != "MSW"; then
37486
37487
37488
37489
37490
37491 # Check whether --with-libiconv-prefix was given.
37492 if test "${with_libiconv_prefix+set}" = set; then
37493 withval=$with_libiconv_prefix;
37494 for dir in `echo "$withval" | tr : ' '`; do
37495 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37496 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37497 done
37498
37499 fi
37500
37501
37502 { echo "$as_me:$LINENO: checking for iconv" >&5
37503 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37504 if test "${am_cv_func_iconv+set}" = set; then
37505 echo $ECHO_N "(cached) $ECHO_C" >&6
37506 else
37507
37508 am_cv_func_iconv="no, consider installing GNU libiconv"
37509 am_cv_lib_iconv=no
37510 cat >conftest.$ac_ext <<_ACEOF
37511 /* confdefs.h. */
37512 _ACEOF
37513 cat confdefs.h >>conftest.$ac_ext
37514 cat >>conftest.$ac_ext <<_ACEOF
37515 /* end confdefs.h. */
37516 #include <stdlib.h>
37517 #include <iconv.h>
37518 int
37519 main ()
37520 {
37521 iconv_t cd = iconv_open("","");
37522 iconv(cd,NULL,NULL,NULL,NULL);
37523 iconv_close(cd);
37524 ;
37525 return 0;
37526 }
37527 _ACEOF
37528 rm -f conftest.$ac_objext conftest$ac_exeext
37529 if { (ac_try="$ac_link"
37530 case "(($ac_try" in
37531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37532 *) ac_try_echo=$ac_try;;
37533 esac
37534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37535 (eval "$ac_link") 2>conftest.er1
37536 ac_status=$?
37537 grep -v '^ *+' conftest.er1 >conftest.err
37538 rm -f conftest.er1
37539 cat conftest.err >&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); } && {
37542 test -z "$ac_c_werror_flag" ||
37543 test ! -s conftest.err
37544 } && test -s conftest$ac_exeext &&
37545 $as_test_x conftest$ac_exeext; then
37546 am_cv_func_iconv=yes
37547 else
37548 echo "$as_me: failed program was:" >&5
37549 sed 's/^/| /' conftest.$ac_ext >&5
37550
37551
37552 fi
37553
37554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37555 conftest$ac_exeext conftest.$ac_ext
37556 if test "$am_cv_func_iconv" != yes; then
37557 am_save_LIBS="$LIBS"
37558 LIBS="$LIBS -liconv"
37559 cat >conftest.$ac_ext <<_ACEOF
37560 /* confdefs.h. */
37561 _ACEOF
37562 cat confdefs.h >>conftest.$ac_ext
37563 cat >>conftest.$ac_ext <<_ACEOF
37564 /* end confdefs.h. */
37565 #include <stdlib.h>
37566 #include <iconv.h>
37567 int
37568 main ()
37569 {
37570 iconv_t cd = iconv_open("","");
37571 iconv(cd,NULL,NULL,NULL,NULL);
37572 iconv_close(cd);
37573 ;
37574 return 0;
37575 }
37576 _ACEOF
37577 rm -f conftest.$ac_objext conftest$ac_exeext
37578 if { (ac_try="$ac_link"
37579 case "(($ac_try" in
37580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37581 *) ac_try_echo=$ac_try;;
37582 esac
37583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37584 (eval "$ac_link") 2>conftest.er1
37585 ac_status=$?
37586 grep -v '^ *+' conftest.er1 >conftest.err
37587 rm -f conftest.er1
37588 cat conftest.err >&5
37589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37590 (exit $ac_status); } && {
37591 test -z "$ac_c_werror_flag" ||
37592 test ! -s conftest.err
37593 } && test -s conftest$ac_exeext &&
37594 $as_test_x conftest$ac_exeext; then
37595 am_cv_lib_iconv=yes
37596 am_cv_func_iconv=yes
37597 else
37598 echo "$as_me: failed program was:" >&5
37599 sed 's/^/| /' conftest.$ac_ext >&5
37600
37601
37602 fi
37603
37604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37605 conftest$ac_exeext conftest.$ac_ext
37606 LIBS="$am_save_LIBS"
37607 fi
37608
37609 fi
37610 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37611 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37612 if test "$am_cv_func_iconv" = yes; then
37613
37614 cat >>confdefs.h <<\_ACEOF
37615 #define HAVE_ICONV 1
37616 _ACEOF
37617
37618 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37619 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37620 if test "${wx_cv_func_iconv_const+set}" = set; then
37621 echo $ECHO_N "(cached) $ECHO_C" >&6
37622 else
37623 cat >conftest.$ac_ext <<_ACEOF
37624 /* confdefs.h. */
37625 _ACEOF
37626 cat confdefs.h >>conftest.$ac_ext
37627 cat >>conftest.$ac_ext <<_ACEOF
37628 /* end confdefs.h. */
37629
37630 #include <stdlib.h>
37631 #include <iconv.h>
37632 extern
37633 #ifdef __cplusplus
37634 "C"
37635 #endif
37636 #if defined(__STDC__) || defined(__cplusplus)
37637 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37638 #else
37639 size_t iconv();
37640 #endif
37641
37642 int
37643 main ()
37644 {
37645
37646 ;
37647 return 0;
37648 }
37649 _ACEOF
37650 rm -f conftest.$ac_objext
37651 if { (ac_try="$ac_compile"
37652 case "(($ac_try" in
37653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37654 *) ac_try_echo=$ac_try;;
37655 esac
37656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37657 (eval "$ac_compile") 2>conftest.er1
37658 ac_status=$?
37659 grep -v '^ *+' conftest.er1 >conftest.err
37660 rm -f conftest.er1
37661 cat conftest.err >&5
37662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37663 (exit $ac_status); } && {
37664 test -z "$ac_c_werror_flag" ||
37665 test ! -s conftest.err
37666 } && test -s conftest.$ac_objext; then
37667 wx_cv_func_iconv_const="no"
37668 else
37669 echo "$as_me: failed program was:" >&5
37670 sed 's/^/| /' conftest.$ac_ext >&5
37671
37672 wx_cv_func_iconv_const="yes"
37673
37674 fi
37675
37676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37677
37678 fi
37679 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37680 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37681
37682 iconv_const=
37683 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37684 iconv_const="const"
37685 fi
37686
37687
37688 cat >>confdefs.h <<_ACEOF
37689 #define ICONV_CONST $iconv_const
37690 _ACEOF
37691
37692 fi
37693 LIBICONV=
37694 if test "$am_cv_lib_iconv" = yes; then
37695 LIBICONV="-liconv"
37696 fi
37697
37698
37699 LIBS="$LIBICONV $LIBS"
37700
37701 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37702
37703 for ac_func in sigaction
37704 do
37705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37708 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37709 echo $ECHO_N "(cached) $ECHO_C" >&6
37710 else
37711 cat >conftest.$ac_ext <<_ACEOF
37712 /* confdefs.h. */
37713 _ACEOF
37714 cat confdefs.h >>conftest.$ac_ext
37715 cat >>conftest.$ac_ext <<_ACEOF
37716 /* end confdefs.h. */
37717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37719 #define $ac_func innocuous_$ac_func
37720
37721 /* System header to define __stub macros and hopefully few prototypes,
37722 which can conflict with char $ac_func (); below.
37723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37724 <limits.h> exists even on freestanding compilers. */
37725
37726 #ifdef __STDC__
37727 # include <limits.h>
37728 #else
37729 # include <assert.h>
37730 #endif
37731
37732 #undef $ac_func
37733
37734 /* Override any GCC internal prototype to avoid an error.
37735 Use char because int might match the return type of a GCC
37736 builtin and then its argument prototype would still apply. */
37737 #ifdef __cplusplus
37738 extern "C"
37739 #endif
37740 char $ac_func ();
37741 /* The GNU C library defines this for functions which it implements
37742 to always fail with ENOSYS. Some functions are actually named
37743 something starting with __ and the normal name is an alias. */
37744 #if defined __stub_$ac_func || defined __stub___$ac_func
37745 choke me
37746 #endif
37747
37748 int
37749 main ()
37750 {
37751 return $ac_func ();
37752 ;
37753 return 0;
37754 }
37755 _ACEOF
37756 rm -f conftest.$ac_objext conftest$ac_exeext
37757 if { (ac_try="$ac_link"
37758 case "(($ac_try" in
37759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37760 *) ac_try_echo=$ac_try;;
37761 esac
37762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37763 (eval "$ac_link") 2>conftest.er1
37764 ac_status=$?
37765 grep -v '^ *+' conftest.er1 >conftest.err
37766 rm -f conftest.er1
37767 cat conftest.err >&5
37768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37769 (exit $ac_status); } && {
37770 test -z "$ac_c_werror_flag" ||
37771 test ! -s conftest.err
37772 } && test -s conftest$ac_exeext &&
37773 $as_test_x conftest$ac_exeext; then
37774 eval "$as_ac_var=yes"
37775 else
37776 echo "$as_me: failed program was:" >&5
37777 sed 's/^/| /' conftest.$ac_ext >&5
37778
37779 eval "$as_ac_var=no"
37780 fi
37781
37782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37783 conftest$ac_exeext conftest.$ac_ext
37784 fi
37785 ac_res=`eval echo '${'$as_ac_var'}'`
37786 { echo "$as_me:$LINENO: result: $ac_res" >&5
37787 echo "${ECHO_T}$ac_res" >&6; }
37788 if test `eval echo '${'$as_ac_var'}'` = yes; then
37789 cat >>confdefs.h <<_ACEOF
37790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37791 _ACEOF
37792
37793 fi
37794 done
37795
37796
37797 if test "$ac_cv_func_sigaction" = "no"; then
37798 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37799 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37800 wxUSE_ON_FATAL_EXCEPTION=no
37801 fi
37802
37803 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37804 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37805 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37806 if test "${wx_cv_type_sa_handler+set}" = set; then
37807 echo $ECHO_N "(cached) $ECHO_C" >&6
37808 else
37809
37810 ac_ext=cpp
37811 ac_cpp='$CXXCPP $CPPFLAGS'
37812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37815
37816 cat >conftest.$ac_ext <<_ACEOF
37817 /* confdefs.h. */
37818 _ACEOF
37819 cat confdefs.h >>conftest.$ac_ext
37820 cat >>conftest.$ac_ext <<_ACEOF
37821 /* end confdefs.h. */
37822 #include <signal.h>
37823 int
37824 main ()
37825 {
37826
37827 extern void testSigHandler(int);
37828
37829 struct sigaction sa;
37830 sa.sa_handler = testSigHandler;
37831
37832 ;
37833 return 0;
37834 }
37835 _ACEOF
37836 rm -f conftest.$ac_objext
37837 if { (ac_try="$ac_compile"
37838 case "(($ac_try" in
37839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37840 *) ac_try_echo=$ac_try;;
37841 esac
37842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37843 (eval "$ac_compile") 2>conftest.er1
37844 ac_status=$?
37845 grep -v '^ *+' conftest.er1 >conftest.err
37846 rm -f conftest.er1
37847 cat conftest.err >&5
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); } && {
37850 test -z "$ac_cxx_werror_flag" ||
37851 test ! -s conftest.err
37852 } && test -s conftest.$ac_objext; then
37853
37854 wx_cv_type_sa_handler=int
37855
37856 else
37857 echo "$as_me: failed program was:" >&5
37858 sed 's/^/| /' conftest.$ac_ext >&5
37859
37860
37861 wx_cv_type_sa_handler=void
37862
37863 fi
37864
37865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37866 ac_ext=c
37867 ac_cpp='$CPP $CPPFLAGS'
37868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37871
37872
37873 fi
37874 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37875 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37876
37877 cat >>confdefs.h <<_ACEOF
37878 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37879 _ACEOF
37880
37881 fi
37882 fi
37883
37884 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37885 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37886 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37887 if test "${wx_cv_func_backtrace+set}" = set; then
37888 echo $ECHO_N "(cached) $ECHO_C" >&6
37889 else
37890
37891 ac_ext=cpp
37892 ac_cpp='$CXXCPP $CPPFLAGS'
37893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37896
37897 cat >conftest.$ac_ext <<_ACEOF
37898 /* confdefs.h. */
37899 _ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 #include <execinfo.h>
37904 int
37905 main ()
37906 {
37907
37908 void *trace[1];
37909 char **messages;
37910
37911 backtrace(trace, 1);
37912 messages = backtrace_symbols(trace, 1);
37913
37914 ;
37915 return 0;
37916 }
37917 _ACEOF
37918 rm -f conftest.$ac_objext
37919 if { (ac_try="$ac_compile"
37920 case "(($ac_try" in
37921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37922 *) ac_try_echo=$ac_try;;
37923 esac
37924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37925 (eval "$ac_compile") 2>conftest.er1
37926 ac_status=$?
37927 grep -v '^ *+' conftest.er1 >conftest.err
37928 rm -f conftest.er1
37929 cat conftest.err >&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } && {
37932 test -z "$ac_cxx_werror_flag" ||
37933 test ! -s conftest.err
37934 } && test -s conftest.$ac_objext; then
37935 wx_cv_func_backtrace=yes
37936 else
37937 echo "$as_me: failed program was:" >&5
37938 sed 's/^/| /' conftest.$ac_ext >&5
37939
37940 wx_cv_func_backtrace=no
37941
37942 fi
37943
37944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37945 ac_ext=c
37946 ac_cpp='$CPP $CPPFLAGS'
37947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37950
37951
37952
37953 fi
37954 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37955 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37956
37957
37958 if test "$wx_cv_func_backtrace" = "no"; then
37959 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37960 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37961 wxUSE_STACKWALKER=no
37962 else
37963 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37964 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37965 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37966 echo $ECHO_N "(cached) $ECHO_C" >&6
37967 else
37968
37969 ac_ext=cpp
37970 ac_cpp='$CXXCPP $CPPFLAGS'
37971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37974
37975 cat >conftest.$ac_ext <<_ACEOF
37976 /* confdefs.h. */
37977 _ACEOF
37978 cat confdefs.h >>conftest.$ac_ext
37979 cat >>conftest.$ac_ext <<_ACEOF
37980 /* end confdefs.h. */
37981 #include <cxxabi.h>
37982 int
37983 main ()
37984 {
37985
37986 int rc;
37987 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37988
37989 ;
37990 return 0;
37991 }
37992 _ACEOF
37993 rm -f conftest.$ac_objext conftest$ac_exeext
37994 if { (ac_try="$ac_link"
37995 case "(($ac_try" in
37996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37997 *) ac_try_echo=$ac_try;;
37998 esac
37999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38000 (eval "$ac_link") 2>conftest.er1
38001 ac_status=$?
38002 grep -v '^ *+' conftest.er1 >conftest.err
38003 rm -f conftest.er1
38004 cat conftest.err >&5
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); } && {
38007 test -z "$ac_cxx_werror_flag" ||
38008 test ! -s conftest.err
38009 } && test -s conftest$ac_exeext &&
38010 $as_test_x conftest$ac_exeext; then
38011 wx_cv_func_cxa_demangle=yes
38012 else
38013 echo "$as_me: failed program was:" >&5
38014 sed 's/^/| /' conftest.$ac_ext >&5
38015
38016 wx_cv_func_cxa_demangle=no
38017
38018 fi
38019
38020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38021 conftest$ac_exeext conftest.$ac_ext
38022 ac_ext=c
38023 ac_cpp='$CPP $CPPFLAGS'
38024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38027
38028
38029
38030 fi
38031 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38032 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38033
38034 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38035 cat >>confdefs.h <<\_ACEOF
38036 #define HAVE_CXA_DEMANGLE 1
38037 _ACEOF
38038
38039 fi
38040 fi
38041 fi
38042
38043 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
38044 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38045 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38046 wxUSE_STACKWALKER=no
38047 fi
38048
38049
38050
38051
38052 for ac_func in mkstemp mktemp
38053 do
38054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38058 echo $ECHO_N "(cached) $ECHO_C" >&6
38059 else
38060 cat >conftest.$ac_ext <<_ACEOF
38061 /* confdefs.h. */
38062 _ACEOF
38063 cat confdefs.h >>conftest.$ac_ext
38064 cat >>conftest.$ac_ext <<_ACEOF
38065 /* end confdefs.h. */
38066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38068 #define $ac_func innocuous_$ac_func
38069
38070 /* System header to define __stub macros and hopefully few prototypes,
38071 which can conflict with char $ac_func (); below.
38072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38073 <limits.h> exists even on freestanding compilers. */
38074
38075 #ifdef __STDC__
38076 # include <limits.h>
38077 #else
38078 # include <assert.h>
38079 #endif
38080
38081 #undef $ac_func
38082
38083 /* Override any GCC internal prototype to avoid an error.
38084 Use char because int might match the return type of a GCC
38085 builtin and then its argument prototype would still apply. */
38086 #ifdef __cplusplus
38087 extern "C"
38088 #endif
38089 char $ac_func ();
38090 /* The GNU C library defines this for functions which it implements
38091 to always fail with ENOSYS. Some functions are actually named
38092 something starting with __ and the normal name is an alias. */
38093 #if defined __stub_$ac_func || defined __stub___$ac_func
38094 choke me
38095 #endif
38096
38097 int
38098 main ()
38099 {
38100 return $ac_func ();
38101 ;
38102 return 0;
38103 }
38104 _ACEOF
38105 rm -f conftest.$ac_objext conftest$ac_exeext
38106 if { (ac_try="$ac_link"
38107 case "(($ac_try" in
38108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38109 *) ac_try_echo=$ac_try;;
38110 esac
38111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38112 (eval "$ac_link") 2>conftest.er1
38113 ac_status=$?
38114 grep -v '^ *+' conftest.er1 >conftest.err
38115 rm -f conftest.er1
38116 cat conftest.err >&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } && {
38119 test -z "$ac_c_werror_flag" ||
38120 test ! -s conftest.err
38121 } && test -s conftest$ac_exeext &&
38122 $as_test_x conftest$ac_exeext; then
38123 eval "$as_ac_var=yes"
38124 else
38125 echo "$as_me: failed program was:" >&5
38126 sed 's/^/| /' conftest.$ac_ext >&5
38127
38128 eval "$as_ac_var=no"
38129 fi
38130
38131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38132 conftest$ac_exeext conftest.$ac_ext
38133 fi
38134 ac_res=`eval echo '${'$as_ac_var'}'`
38135 { echo "$as_me:$LINENO: result: $ac_res" >&5
38136 echo "${ECHO_T}$ac_res" >&6; }
38137 if test `eval echo '${'$as_ac_var'}'` = yes; then
38138 cat >>confdefs.h <<_ACEOF
38139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38140 _ACEOF
38141 break
38142 fi
38143 done
38144
38145
38146 { echo "$as_me:$LINENO: checking for statfs" >&5
38147 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38148 if test "${wx_cv_func_statfs+set}" = set; then
38149 echo $ECHO_N "(cached) $ECHO_C" >&6
38150 else
38151 cat >conftest.$ac_ext <<_ACEOF
38152 /* confdefs.h. */
38153 _ACEOF
38154 cat confdefs.h >>conftest.$ac_ext
38155 cat >>conftest.$ac_ext <<_ACEOF
38156 /* end confdefs.h. */
38157
38158 #if defined(__BSD__)
38159 #include <sys/param.h>
38160 #include <sys/mount.h>
38161 #else
38162 #include <sys/vfs.h>
38163 #endif
38164
38165 int
38166 main ()
38167 {
38168
38169 long l;
38170 struct statfs fs;
38171 statfs("/", &fs);
38172 l = fs.f_bsize;
38173 l += fs.f_blocks;
38174 l += fs.f_bavail;
38175
38176 ;
38177 return 0;
38178 }
38179 _ACEOF
38180 rm -f conftest.$ac_objext
38181 if { (ac_try="$ac_compile"
38182 case "(($ac_try" in
38183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38184 *) ac_try_echo=$ac_try;;
38185 esac
38186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38187 (eval "$ac_compile") 2>conftest.er1
38188 ac_status=$?
38189 grep -v '^ *+' conftest.er1 >conftest.err
38190 rm -f conftest.er1
38191 cat conftest.err >&5
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); } && {
38194 test -z "$ac_c_werror_flag" ||
38195 test ! -s conftest.err
38196 } && test -s conftest.$ac_objext; then
38197 wx_cv_func_statfs=yes
38198 else
38199 echo "$as_me: failed program was:" >&5
38200 sed 's/^/| /' conftest.$ac_ext >&5
38201
38202 wx_cv_func_statfs=no
38203
38204 fi
38205
38206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38207
38208 fi
38209 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38210 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38211
38212 if test "$wx_cv_func_statfs" = "yes"; then
38213 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38214 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38215 if test "${wx_cv_func_statfs_decl+set}" = set; then
38216 echo $ECHO_N "(cached) $ECHO_C" >&6
38217 else
38218 ac_ext=cpp
38219 ac_cpp='$CXXCPP $CPPFLAGS'
38220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38223
38224 cat >conftest.$ac_ext <<_ACEOF
38225 /* confdefs.h. */
38226 _ACEOF
38227 cat confdefs.h >>conftest.$ac_ext
38228 cat >>conftest.$ac_ext <<_ACEOF
38229 /* end confdefs.h. */
38230
38231 #if defined(__BSD__)
38232 #include <sys/param.h>
38233 #include <sys/mount.h>
38234 #else
38235 #include <sys/vfs.h>
38236 #endif
38237
38238 int
38239 main ()
38240 {
38241
38242 struct statfs fs;
38243 statfs("", &fs);
38244
38245 ;
38246 return 0;
38247 }
38248 _ACEOF
38249 rm -f conftest.$ac_objext
38250 if { (ac_try="$ac_compile"
38251 case "(($ac_try" in
38252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38253 *) ac_try_echo=$ac_try;;
38254 esac
38255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38256 (eval "$ac_compile") 2>conftest.er1
38257 ac_status=$?
38258 grep -v '^ *+' conftest.er1 >conftest.err
38259 rm -f conftest.er1
38260 cat conftest.err >&5
38261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262 (exit $ac_status); } && {
38263 test -z "$ac_cxx_werror_flag" ||
38264 test ! -s conftest.err
38265 } && test -s conftest.$ac_objext; then
38266 wx_cv_func_statfs_decl=yes
38267 else
38268 echo "$as_me: failed program was:" >&5
38269 sed 's/^/| /' conftest.$ac_ext >&5
38270
38271 wx_cv_func_statfs_decl=no
38272
38273 fi
38274
38275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38276 ac_ext=c
38277 ac_cpp='$CPP $CPPFLAGS'
38278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38281
38282
38283 fi
38284 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38285 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38286
38287 if test "$wx_cv_func_statfs_decl" = "yes"; then
38288 cat >>confdefs.h <<\_ACEOF
38289 #define HAVE_STATFS_DECL 1
38290 _ACEOF
38291
38292 fi
38293
38294 wx_cv_type_statvfs_t="struct statfs"
38295 cat >>confdefs.h <<\_ACEOF
38296 #define HAVE_STATFS 1
38297 _ACEOF
38298
38299 else
38300 { echo "$as_me:$LINENO: checking for statvfs" >&5
38301 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38302 if test "${wx_cv_func_statvfs+set}" = set; then
38303 echo $ECHO_N "(cached) $ECHO_C" >&6
38304 else
38305 cat >conftest.$ac_ext <<_ACEOF
38306 /* confdefs.h. */
38307 _ACEOF
38308 cat confdefs.h >>conftest.$ac_ext
38309 cat >>conftest.$ac_ext <<_ACEOF
38310 /* end confdefs.h. */
38311
38312 #include <stddef.h>
38313 #include <sys/statvfs.h>
38314
38315 int
38316 main ()
38317 {
38318
38319 statvfs("/", NULL);
38320
38321 ;
38322 return 0;
38323 }
38324 _ACEOF
38325 rm -f conftest.$ac_objext
38326 if { (ac_try="$ac_compile"
38327 case "(($ac_try" in
38328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38329 *) ac_try_echo=$ac_try;;
38330 esac
38331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38332 (eval "$ac_compile") 2>conftest.er1
38333 ac_status=$?
38334 grep -v '^ *+' conftest.er1 >conftest.err
38335 rm -f conftest.er1
38336 cat conftest.err >&5
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); } && {
38339 test -z "$ac_c_werror_flag" ||
38340 test ! -s conftest.err
38341 } && test -s conftest.$ac_objext; then
38342 wx_cv_func_statvfs=yes
38343 else
38344 echo "$as_me: failed program was:" >&5
38345 sed 's/^/| /' conftest.$ac_ext >&5
38346
38347 wx_cv_func_statvfs=no
38348
38349 fi
38350
38351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38352
38353 fi
38354 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38355 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38356
38357 if test "$wx_cv_func_statvfs" = "yes"; then
38358 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38359 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38360 if test "${wx_cv_type_statvfs_t+set}" = set; then
38361 echo $ECHO_N "(cached) $ECHO_C" >&6
38362 else
38363 ac_ext=cpp
38364 ac_cpp='$CXXCPP $CPPFLAGS'
38365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38368
38369 cat >conftest.$ac_ext <<_ACEOF
38370 /* confdefs.h. */
38371 _ACEOF
38372 cat confdefs.h >>conftest.$ac_ext
38373 cat >>conftest.$ac_ext <<_ACEOF
38374 /* end confdefs.h. */
38375
38376 #include <sys/statvfs.h>
38377
38378 int
38379 main ()
38380 {
38381
38382 long l;
38383 statvfs_t fs;
38384 statvfs("/", &fs);
38385 l = fs.f_bsize;
38386 l += fs.f_blocks;
38387 l += fs.f_bavail;
38388
38389 ;
38390 return 0;
38391 }
38392 _ACEOF
38393 rm -f conftest.$ac_objext
38394 if { (ac_try="$ac_compile"
38395 case "(($ac_try" in
38396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38397 *) ac_try_echo=$ac_try;;
38398 esac
38399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38400 (eval "$ac_compile") 2>conftest.er1
38401 ac_status=$?
38402 grep -v '^ *+' conftest.er1 >conftest.err
38403 rm -f conftest.er1
38404 cat conftest.err >&5
38405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 (exit $ac_status); } && {
38407 test -z "$ac_cxx_werror_flag" ||
38408 test ! -s conftest.err
38409 } && test -s conftest.$ac_objext; then
38410 wx_cv_type_statvfs_t=statvfs_t
38411 else
38412 echo "$as_me: failed program was:" >&5
38413 sed 's/^/| /' conftest.$ac_ext >&5
38414
38415
38416 cat >conftest.$ac_ext <<_ACEOF
38417 /* confdefs.h. */
38418 _ACEOF
38419 cat confdefs.h >>conftest.$ac_ext
38420 cat >>conftest.$ac_ext <<_ACEOF
38421 /* end confdefs.h. */
38422
38423 #include <sys/statvfs.h>
38424
38425 int
38426 main ()
38427 {
38428
38429 long l;
38430 struct statvfs fs;
38431 statvfs("/", &fs);
38432 l = fs.f_bsize;
38433 l += fs.f_blocks;
38434 l += fs.f_bavail;
38435
38436 ;
38437 return 0;
38438 }
38439 _ACEOF
38440 rm -f conftest.$ac_objext
38441 if { (ac_try="$ac_compile"
38442 case "(($ac_try" in
38443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38444 *) ac_try_echo=$ac_try;;
38445 esac
38446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38447 (eval "$ac_compile") 2>conftest.er1
38448 ac_status=$?
38449 grep -v '^ *+' conftest.er1 >conftest.err
38450 rm -f conftest.er1
38451 cat conftest.err >&5
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); } && {
38454 test -z "$ac_cxx_werror_flag" ||
38455 test ! -s conftest.err
38456 } && test -s conftest.$ac_objext; then
38457 wx_cv_type_statvfs_t="struct statvfs"
38458 else
38459 echo "$as_me: failed program was:" >&5
38460 sed 's/^/| /' conftest.$ac_ext >&5
38461
38462 wx_cv_type_statvfs_t="unknown"
38463
38464 fi
38465
38466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38467
38468
38469 fi
38470
38471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38472 ac_ext=c
38473 ac_cpp='$CPP $CPPFLAGS'
38474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38477
38478
38479 fi
38480 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38481 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38482
38483 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38484 cat >>confdefs.h <<\_ACEOF
38485 #define HAVE_STATVFS 1
38486 _ACEOF
38487
38488 fi
38489 else
38490 wx_cv_type_statvfs_t="unknown"
38491 fi
38492 fi
38493
38494 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38495 cat >>confdefs.h <<_ACEOF
38496 #define WX_STATFS_T $wx_cv_type_statvfs_t
38497 _ACEOF
38498
38499 else
38500 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38501 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38502 fi
38503
38504 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38505
38506
38507 for ac_func in fcntl flock
38508 do
38509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38510 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38512 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38513 echo $ECHO_N "(cached) $ECHO_C" >&6
38514 else
38515 cat >conftest.$ac_ext <<_ACEOF
38516 /* confdefs.h. */
38517 _ACEOF
38518 cat confdefs.h >>conftest.$ac_ext
38519 cat >>conftest.$ac_ext <<_ACEOF
38520 /* end confdefs.h. */
38521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38523 #define $ac_func innocuous_$ac_func
38524
38525 /* System header to define __stub macros and hopefully few prototypes,
38526 which can conflict with char $ac_func (); below.
38527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38528 <limits.h> exists even on freestanding compilers. */
38529
38530 #ifdef __STDC__
38531 # include <limits.h>
38532 #else
38533 # include <assert.h>
38534 #endif
38535
38536 #undef $ac_func
38537
38538 /* Override any GCC internal prototype to avoid an error.
38539 Use char because int might match the return type of a GCC
38540 builtin and then its argument prototype would still apply. */
38541 #ifdef __cplusplus
38542 extern "C"
38543 #endif
38544 char $ac_func ();
38545 /* The GNU C library defines this for functions which it implements
38546 to always fail with ENOSYS. Some functions are actually named
38547 something starting with __ and the normal name is an alias. */
38548 #if defined __stub_$ac_func || defined __stub___$ac_func
38549 choke me
38550 #endif
38551
38552 int
38553 main ()
38554 {
38555 return $ac_func ();
38556 ;
38557 return 0;
38558 }
38559 _ACEOF
38560 rm -f conftest.$ac_objext conftest$ac_exeext
38561 if { (ac_try="$ac_link"
38562 case "(($ac_try" in
38563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38564 *) ac_try_echo=$ac_try;;
38565 esac
38566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38567 (eval "$ac_link") 2>conftest.er1
38568 ac_status=$?
38569 grep -v '^ *+' conftest.er1 >conftest.err
38570 rm -f conftest.er1
38571 cat conftest.err >&5
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); } && {
38574 test -z "$ac_c_werror_flag" ||
38575 test ! -s conftest.err
38576 } && test -s conftest$ac_exeext &&
38577 $as_test_x conftest$ac_exeext; then
38578 eval "$as_ac_var=yes"
38579 else
38580 echo "$as_me: failed program was:" >&5
38581 sed 's/^/| /' conftest.$ac_ext >&5
38582
38583 eval "$as_ac_var=no"
38584 fi
38585
38586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38587 conftest$ac_exeext conftest.$ac_ext
38588 fi
38589 ac_res=`eval echo '${'$as_ac_var'}'`
38590 { echo "$as_me:$LINENO: result: $ac_res" >&5
38591 echo "${ECHO_T}$ac_res" >&6; }
38592 if test `eval echo '${'$as_ac_var'}'` = yes; then
38593 cat >>confdefs.h <<_ACEOF
38594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38595 _ACEOF
38596 break
38597 fi
38598 done
38599
38600
38601 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38602 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38603 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38604 wxUSE_SNGLINST_CHECKER=no
38605 fi
38606 fi
38607
38608
38609 for ac_func in timegm
38610 do
38611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38612 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38614 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38615 echo $ECHO_N "(cached) $ECHO_C" >&6
38616 else
38617 cat >conftest.$ac_ext <<_ACEOF
38618 /* confdefs.h. */
38619 _ACEOF
38620 cat confdefs.h >>conftest.$ac_ext
38621 cat >>conftest.$ac_ext <<_ACEOF
38622 /* end confdefs.h. */
38623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38625 #define $ac_func innocuous_$ac_func
38626
38627 /* System header to define __stub macros and hopefully few prototypes,
38628 which can conflict with char $ac_func (); below.
38629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38630 <limits.h> exists even on freestanding compilers. */
38631
38632 #ifdef __STDC__
38633 # include <limits.h>
38634 #else
38635 # include <assert.h>
38636 #endif
38637
38638 #undef $ac_func
38639
38640 /* Override any GCC internal prototype to avoid an error.
38641 Use char because int might match the return type of a GCC
38642 builtin and then its argument prototype would still apply. */
38643 #ifdef __cplusplus
38644 extern "C"
38645 #endif
38646 char $ac_func ();
38647 /* The GNU C library defines this for functions which it implements
38648 to always fail with ENOSYS. Some functions are actually named
38649 something starting with __ and the normal name is an alias. */
38650 #if defined __stub_$ac_func || defined __stub___$ac_func
38651 choke me
38652 #endif
38653
38654 int
38655 main ()
38656 {
38657 return $ac_func ();
38658 ;
38659 return 0;
38660 }
38661 _ACEOF
38662 rm -f conftest.$ac_objext conftest$ac_exeext
38663 if { (ac_try="$ac_link"
38664 case "(($ac_try" in
38665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38666 *) ac_try_echo=$ac_try;;
38667 esac
38668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38669 (eval "$ac_link") 2>conftest.er1
38670 ac_status=$?
38671 grep -v '^ *+' conftest.er1 >conftest.err
38672 rm -f conftest.er1
38673 cat conftest.err >&5
38674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38675 (exit $ac_status); } && {
38676 test -z "$ac_c_werror_flag" ||
38677 test ! -s conftest.err
38678 } && test -s conftest$ac_exeext &&
38679 $as_test_x conftest$ac_exeext; then
38680 eval "$as_ac_var=yes"
38681 else
38682 echo "$as_me: failed program was:" >&5
38683 sed 's/^/| /' conftest.$ac_ext >&5
38684
38685 eval "$as_ac_var=no"
38686 fi
38687
38688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38689 conftest$ac_exeext conftest.$ac_ext
38690 fi
38691 ac_res=`eval echo '${'$as_ac_var'}'`
38692 { echo "$as_me:$LINENO: result: $ac_res" >&5
38693 echo "${ECHO_T}$ac_res" >&6; }
38694 if test `eval echo '${'$as_ac_var'}'` = yes; then
38695 cat >>confdefs.h <<_ACEOF
38696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38697 _ACEOF
38698
38699 fi
38700 done
38701
38702
38703
38704
38705 for ac_func in putenv setenv
38706 do
38707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38708 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38710 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38711 echo $ECHO_N "(cached) $ECHO_C" >&6
38712 else
38713 cat >conftest.$ac_ext <<_ACEOF
38714 /* confdefs.h. */
38715 _ACEOF
38716 cat confdefs.h >>conftest.$ac_ext
38717 cat >>conftest.$ac_ext <<_ACEOF
38718 /* end confdefs.h. */
38719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38721 #define $ac_func innocuous_$ac_func
38722
38723 /* System header to define __stub macros and hopefully few prototypes,
38724 which can conflict with char $ac_func (); below.
38725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38726 <limits.h> exists even on freestanding compilers. */
38727
38728 #ifdef __STDC__
38729 # include <limits.h>
38730 #else
38731 # include <assert.h>
38732 #endif
38733
38734 #undef $ac_func
38735
38736 /* Override any GCC internal prototype to avoid an error.
38737 Use char because int might match the return type of a GCC
38738 builtin and then its argument prototype would still apply. */
38739 #ifdef __cplusplus
38740 extern "C"
38741 #endif
38742 char $ac_func ();
38743 /* The GNU C library defines this for functions which it implements
38744 to always fail with ENOSYS. Some functions are actually named
38745 something starting with __ and the normal name is an alias. */
38746 #if defined __stub_$ac_func || defined __stub___$ac_func
38747 choke me
38748 #endif
38749
38750 int
38751 main ()
38752 {
38753 return $ac_func ();
38754 ;
38755 return 0;
38756 }
38757 _ACEOF
38758 rm -f conftest.$ac_objext conftest$ac_exeext
38759 if { (ac_try="$ac_link"
38760 case "(($ac_try" in
38761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38762 *) ac_try_echo=$ac_try;;
38763 esac
38764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38765 (eval "$ac_link") 2>conftest.er1
38766 ac_status=$?
38767 grep -v '^ *+' conftest.er1 >conftest.err
38768 rm -f conftest.er1
38769 cat conftest.err >&5
38770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38771 (exit $ac_status); } && {
38772 test -z "$ac_c_werror_flag" ||
38773 test ! -s conftest.err
38774 } && test -s conftest$ac_exeext &&
38775 $as_test_x conftest$ac_exeext; then
38776 eval "$as_ac_var=yes"
38777 else
38778 echo "$as_me: failed program was:" >&5
38779 sed 's/^/| /' conftest.$ac_ext >&5
38780
38781 eval "$as_ac_var=no"
38782 fi
38783
38784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38785 conftest$ac_exeext conftest.$ac_ext
38786 fi
38787 ac_res=`eval echo '${'$as_ac_var'}'`
38788 { echo "$as_me:$LINENO: result: $ac_res" >&5
38789 echo "${ECHO_T}$ac_res" >&6; }
38790 if test `eval echo '${'$as_ac_var'}'` = yes; then
38791 cat >>confdefs.h <<_ACEOF
38792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38793 _ACEOF
38794 break
38795 fi
38796 done
38797
38798
38799 HAVE_SOME_SLEEP_FUNC=0
38800 if test "$USE_BEOS" = 1; then
38801 cat >>confdefs.h <<\_ACEOF
38802 #define HAVE_SLEEP 1
38803 _ACEOF
38804
38805 HAVE_SOME_SLEEP_FUNC=1
38806 fi
38807
38808 if test "$USE_DARWIN" = 1; then
38809 cat >>confdefs.h <<\_ACEOF
38810 #define HAVE_USLEEP 1
38811 _ACEOF
38812
38813 HAVE_SOME_SLEEP_FUNC=1
38814 fi
38815
38816 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38817 POSIX4_LINK=
38818
38819 for ac_func in nanosleep
38820 do
38821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38822 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38825 echo $ECHO_N "(cached) $ECHO_C" >&6
38826 else
38827 cat >conftest.$ac_ext <<_ACEOF
38828 /* confdefs.h. */
38829 _ACEOF
38830 cat confdefs.h >>conftest.$ac_ext
38831 cat >>conftest.$ac_ext <<_ACEOF
38832 /* end confdefs.h. */
38833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38835 #define $ac_func innocuous_$ac_func
38836
38837 /* System header to define __stub macros and hopefully few prototypes,
38838 which can conflict with char $ac_func (); below.
38839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38840 <limits.h> exists even on freestanding compilers. */
38841
38842 #ifdef __STDC__
38843 # include <limits.h>
38844 #else
38845 # include <assert.h>
38846 #endif
38847
38848 #undef $ac_func
38849
38850 /* Override any GCC internal prototype to avoid an error.
38851 Use char because int might match the return type of a GCC
38852 builtin and then its argument prototype would still apply. */
38853 #ifdef __cplusplus
38854 extern "C"
38855 #endif
38856 char $ac_func ();
38857 /* The GNU C library defines this for functions which it implements
38858 to always fail with ENOSYS. Some functions are actually named
38859 something starting with __ and the normal name is an alias. */
38860 #if defined __stub_$ac_func || defined __stub___$ac_func
38861 choke me
38862 #endif
38863
38864 int
38865 main ()
38866 {
38867 return $ac_func ();
38868 ;
38869 return 0;
38870 }
38871 _ACEOF
38872 rm -f conftest.$ac_objext conftest$ac_exeext
38873 if { (ac_try="$ac_link"
38874 case "(($ac_try" in
38875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38876 *) ac_try_echo=$ac_try;;
38877 esac
38878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38879 (eval "$ac_link") 2>conftest.er1
38880 ac_status=$?
38881 grep -v '^ *+' conftest.er1 >conftest.err
38882 rm -f conftest.er1
38883 cat conftest.err >&5
38884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38885 (exit $ac_status); } && {
38886 test -z "$ac_c_werror_flag" ||
38887 test ! -s conftest.err
38888 } && test -s conftest$ac_exeext &&
38889 $as_test_x conftest$ac_exeext; then
38890 eval "$as_ac_var=yes"
38891 else
38892 echo "$as_me: failed program was:" >&5
38893 sed 's/^/| /' conftest.$ac_ext >&5
38894
38895 eval "$as_ac_var=no"
38896 fi
38897
38898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38899 conftest$ac_exeext conftest.$ac_ext
38900 fi
38901 ac_res=`eval echo '${'$as_ac_var'}'`
38902 { echo "$as_me:$LINENO: result: $ac_res" >&5
38903 echo "${ECHO_T}$ac_res" >&6; }
38904 if test `eval echo '${'$as_ac_var'}'` = yes; then
38905 cat >>confdefs.h <<_ACEOF
38906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38907 _ACEOF
38908 cat >>confdefs.h <<\_ACEOF
38909 #define HAVE_NANOSLEEP 1
38910 _ACEOF
38911
38912 else
38913
38914 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38915 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38916 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38917 echo $ECHO_N "(cached) $ECHO_C" >&6
38918 else
38919 ac_check_lib_save_LIBS=$LIBS
38920 LIBS="-lposix4 $LIBS"
38921 cat >conftest.$ac_ext <<_ACEOF
38922 /* confdefs.h. */
38923 _ACEOF
38924 cat confdefs.h >>conftest.$ac_ext
38925 cat >>conftest.$ac_ext <<_ACEOF
38926 /* end confdefs.h. */
38927
38928 /* Override any GCC internal prototype to avoid an error.
38929 Use char because int might match the return type of a GCC
38930 builtin and then its argument prototype would still apply. */
38931 #ifdef __cplusplus
38932 extern "C"
38933 #endif
38934 char nanosleep ();
38935 int
38936 main ()
38937 {
38938 return nanosleep ();
38939 ;
38940 return 0;
38941 }
38942 _ACEOF
38943 rm -f conftest.$ac_objext conftest$ac_exeext
38944 if { (ac_try="$ac_link"
38945 case "(($ac_try" in
38946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38947 *) ac_try_echo=$ac_try;;
38948 esac
38949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38950 (eval "$ac_link") 2>conftest.er1
38951 ac_status=$?
38952 grep -v '^ *+' conftest.er1 >conftest.err
38953 rm -f conftest.er1
38954 cat conftest.err >&5
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); } && {
38957 test -z "$ac_c_werror_flag" ||
38958 test ! -s conftest.err
38959 } && test -s conftest$ac_exeext &&
38960 $as_test_x conftest$ac_exeext; then
38961 ac_cv_lib_posix4_nanosleep=yes
38962 else
38963 echo "$as_me: failed program was:" >&5
38964 sed 's/^/| /' conftest.$ac_ext >&5
38965
38966 ac_cv_lib_posix4_nanosleep=no
38967 fi
38968
38969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38970 conftest$ac_exeext conftest.$ac_ext
38971 LIBS=$ac_check_lib_save_LIBS
38972 fi
38973 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38974 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38975 if test $ac_cv_lib_posix4_nanosleep = yes; then
38976
38977 cat >>confdefs.h <<\_ACEOF
38978 #define HAVE_NANOSLEEP 1
38979 _ACEOF
38980
38981 POSIX4_LINK=" -lposix4"
38982
38983 else
38984
38985
38986 for wx_func in usleep
38987 do
38988 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38989 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38990 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38991 echo $ECHO_N "(cached) $ECHO_C" >&6
38992 else
38993
38994 cat >conftest.$ac_ext <<_ACEOF
38995
38996 /* confdefs.h. */
38997 _ACEOF
38998 cat confdefs.h >>conftest.$ac_ext
38999 cat >>conftest.$ac_ext <<_ACEOF
39000 /* end confdefs.h. */
39001
39002
39003 $ac_includes_default
39004
39005 int
39006 main ()
39007 {
39008
39009 #ifndef $wx_func
39010 &$wx_func;
39011 #endif
39012
39013
39014 ;
39015 return 0;
39016 }
39017
39018 _ACEOF
39019 rm -f conftest.$ac_objext conftest$ac_exeext
39020 if { (ac_try="$ac_link"
39021 case "(($ac_try" in
39022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39023 *) ac_try_echo=$ac_try;;
39024 esac
39025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39026 (eval "$ac_link") 2>conftest.er1
39027 ac_status=$?
39028 grep -v '^ *+' conftest.er1 >conftest.err
39029 rm -f conftest.er1
39030 cat conftest.err >&5
39031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39032 (exit $ac_status); } && {
39033 test -z "$ac_c_werror_flag" ||
39034 test ! -s conftest.err
39035 } && test -s conftest$ac_exeext &&
39036 $as_test_x conftest$ac_exeext; then
39037 eval wx_cv_func_$wx_func=yes
39038 else
39039 echo "$as_me: failed program was:" >&5
39040 sed 's/^/| /' conftest.$ac_ext >&5
39041
39042 eval wx_cv_func_$wx_func=no
39043 fi
39044
39045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39046 conftest$ac_exeext conftest.$ac_ext
39047
39048 fi
39049 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39050 { echo "$as_me:$LINENO: result: $ac_res" >&5
39051 echo "${ECHO_T}$ac_res" >&6; }
39052
39053 if eval test \$wx_cv_func_$wx_func = yes
39054 then
39055 cat >>confdefs.h <<_ACEOF
39056 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39057 _ACEOF
39058
39059
39060 else
39061 :
39062 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39063 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39064
39065 fi
39066 done
39067
39068
39069
39070 fi
39071
39072
39073
39074 fi
39075 done
39076
39077 fi
39078
39079
39080 for wx_func in uname
39081 do
39082 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39083 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39084 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39085 echo $ECHO_N "(cached) $ECHO_C" >&6
39086 else
39087
39088 cat >conftest.$ac_ext <<_ACEOF
39089
39090 /* confdefs.h. */
39091 _ACEOF
39092 cat confdefs.h >>conftest.$ac_ext
39093 cat >>conftest.$ac_ext <<_ACEOF
39094 /* end confdefs.h. */
39095
39096 #include <sys/utsname.h>
39097 $ac_includes_default
39098
39099 int
39100 main ()
39101 {
39102
39103 #ifndef $wx_func
39104 &$wx_func;
39105 #endif
39106
39107
39108 ;
39109 return 0;
39110 }
39111
39112 _ACEOF
39113 rm -f conftest.$ac_objext conftest$ac_exeext
39114 if { (ac_try="$ac_link"
39115 case "(($ac_try" in
39116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39117 *) ac_try_echo=$ac_try;;
39118 esac
39119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39120 (eval "$ac_link") 2>conftest.er1
39121 ac_status=$?
39122 grep -v '^ *+' conftest.er1 >conftest.err
39123 rm -f conftest.er1
39124 cat conftest.err >&5
39125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39126 (exit $ac_status); } && {
39127 test -z "$ac_c_werror_flag" ||
39128 test ! -s conftest.err
39129 } && test -s conftest$ac_exeext &&
39130 $as_test_x conftest$ac_exeext; then
39131 eval wx_cv_func_$wx_func=yes
39132 else
39133 echo "$as_me: failed program was:" >&5
39134 sed 's/^/| /' conftest.$ac_ext >&5
39135
39136 eval wx_cv_func_$wx_func=no
39137 fi
39138
39139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39140 conftest$ac_exeext conftest.$ac_ext
39141
39142 fi
39143 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39144 { echo "$as_me:$LINENO: result: $ac_res" >&5
39145 echo "${ECHO_T}$ac_res" >&6; }
39146
39147 if eval test \$wx_cv_func_$wx_func = yes
39148 then
39149 cat >>confdefs.h <<_ACEOF
39150 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39151 _ACEOF
39152
39153
39154 else
39155 :
39156
39157 fi
39158 done
39159
39160 if test "$wx_cv_func_uname" != yes; then
39161
39162 for wx_func in gethostname
39163 do
39164 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39165 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39166 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39167 echo $ECHO_N "(cached) $ECHO_C" >&6
39168 else
39169
39170 cat >conftest.$ac_ext <<_ACEOF
39171
39172 /* confdefs.h. */
39173 _ACEOF
39174 cat confdefs.h >>conftest.$ac_ext
39175 cat >>conftest.$ac_ext <<_ACEOF
39176 /* end confdefs.h. */
39177
39178
39179 $ac_includes_default
39180
39181 int
39182 main ()
39183 {
39184
39185 #ifndef $wx_func
39186 &$wx_func;
39187 #endif
39188
39189
39190 ;
39191 return 0;
39192 }
39193
39194 _ACEOF
39195 rm -f conftest.$ac_objext conftest$ac_exeext
39196 if { (ac_try="$ac_link"
39197 case "(($ac_try" in
39198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39199 *) ac_try_echo=$ac_try;;
39200 esac
39201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39202 (eval "$ac_link") 2>conftest.er1
39203 ac_status=$?
39204 grep -v '^ *+' conftest.er1 >conftest.err
39205 rm -f conftest.er1
39206 cat conftest.err >&5
39207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39208 (exit $ac_status); } && {
39209 test -z "$ac_c_werror_flag" ||
39210 test ! -s conftest.err
39211 } && test -s conftest$ac_exeext &&
39212 $as_test_x conftest$ac_exeext; then
39213 eval wx_cv_func_$wx_func=yes
39214 else
39215 echo "$as_me: failed program was:" >&5
39216 sed 's/^/| /' conftest.$ac_ext >&5
39217
39218 eval wx_cv_func_$wx_func=no
39219 fi
39220
39221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39222 conftest$ac_exeext conftest.$ac_ext
39223
39224 fi
39225 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39226 { echo "$as_me:$LINENO: result: $ac_res" >&5
39227 echo "${ECHO_T}$ac_res" >&6; }
39228
39229 if eval test \$wx_cv_func_$wx_func = yes
39230 then
39231 cat >>confdefs.h <<_ACEOF
39232 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39233 _ACEOF
39234
39235
39236 else
39237 :
39238
39239 fi
39240 done
39241
39242 fi
39243
39244
39245 for wx_func in strtok_r
39246 do
39247 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39248 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39249 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39250 echo $ECHO_N "(cached) $ECHO_C" >&6
39251 else
39252
39253 cat >conftest.$ac_ext <<_ACEOF
39254
39255 /* confdefs.h. */
39256 _ACEOF
39257 cat confdefs.h >>conftest.$ac_ext
39258 cat >>conftest.$ac_ext <<_ACEOF
39259 /* end confdefs.h. */
39260
39261 #define _REENTRANT
39262 $ac_includes_default
39263
39264 int
39265 main ()
39266 {
39267
39268 #ifndef $wx_func
39269 &$wx_func;
39270 #endif
39271
39272
39273 ;
39274 return 0;
39275 }
39276
39277 _ACEOF
39278 rm -f conftest.$ac_objext conftest$ac_exeext
39279 if { (ac_try="$ac_link"
39280 case "(($ac_try" in
39281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39282 *) ac_try_echo=$ac_try;;
39283 esac
39284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39285 (eval "$ac_link") 2>conftest.er1
39286 ac_status=$?
39287 grep -v '^ *+' conftest.er1 >conftest.err
39288 rm -f conftest.er1
39289 cat conftest.err >&5
39290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39291 (exit $ac_status); } && {
39292 test -z "$ac_c_werror_flag" ||
39293 test ! -s conftest.err
39294 } && test -s conftest$ac_exeext &&
39295 $as_test_x conftest$ac_exeext; then
39296 eval wx_cv_func_$wx_func=yes
39297 else
39298 echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.$ac_ext >&5
39300
39301 eval wx_cv_func_$wx_func=no
39302 fi
39303
39304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39305 conftest$ac_exeext conftest.$ac_ext
39306
39307 fi
39308 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39309 { echo "$as_me:$LINENO: result: $ac_res" >&5
39310 echo "${ECHO_T}$ac_res" >&6; }
39311
39312 if eval test \$wx_cv_func_$wx_func = yes
39313 then
39314 cat >>confdefs.h <<_ACEOF
39315 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39316 _ACEOF
39317
39318
39319 else
39320 :
39321
39322 fi
39323 done
39324
39325
39326 INET_LINK=
39327
39328 for ac_func in inet_addr
39329 do
39330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39331 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39333 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39335 else
39336 cat >conftest.$ac_ext <<_ACEOF
39337 /* confdefs.h. */
39338 _ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39344 #define $ac_func innocuous_$ac_func
39345
39346 /* System header to define __stub macros and hopefully few prototypes,
39347 which can conflict with char $ac_func (); below.
39348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39349 <limits.h> exists even on freestanding compilers. */
39350
39351 #ifdef __STDC__
39352 # include <limits.h>
39353 #else
39354 # include <assert.h>
39355 #endif
39356
39357 #undef $ac_func
39358
39359 /* Override any GCC internal prototype to avoid an error.
39360 Use char because int might match the return type of a GCC
39361 builtin and then its argument prototype would still apply. */
39362 #ifdef __cplusplus
39363 extern "C"
39364 #endif
39365 char $ac_func ();
39366 /* The GNU C library defines this for functions which it implements
39367 to always fail with ENOSYS. Some functions are actually named
39368 something starting with __ and the normal name is an alias. */
39369 #if defined __stub_$ac_func || defined __stub___$ac_func
39370 choke me
39371 #endif
39372
39373 int
39374 main ()
39375 {
39376 return $ac_func ();
39377 ;
39378 return 0;
39379 }
39380 _ACEOF
39381 rm -f conftest.$ac_objext conftest$ac_exeext
39382 if { (ac_try="$ac_link"
39383 case "(($ac_try" in
39384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39385 *) ac_try_echo=$ac_try;;
39386 esac
39387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39388 (eval "$ac_link") 2>conftest.er1
39389 ac_status=$?
39390 grep -v '^ *+' conftest.er1 >conftest.err
39391 rm -f conftest.er1
39392 cat conftest.err >&5
39393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39394 (exit $ac_status); } && {
39395 test -z "$ac_c_werror_flag" ||
39396 test ! -s conftest.err
39397 } && test -s conftest$ac_exeext &&
39398 $as_test_x conftest$ac_exeext; then
39399 eval "$as_ac_var=yes"
39400 else
39401 echo "$as_me: failed program was:" >&5
39402 sed 's/^/| /' conftest.$ac_ext >&5
39403
39404 eval "$as_ac_var=no"
39405 fi
39406
39407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39408 conftest$ac_exeext conftest.$ac_ext
39409 fi
39410 ac_res=`eval echo '${'$as_ac_var'}'`
39411 { echo "$as_me:$LINENO: result: $ac_res" >&5
39412 echo "${ECHO_T}$ac_res" >&6; }
39413 if test `eval echo '${'$as_ac_var'}'` = yes; then
39414 cat >>confdefs.h <<_ACEOF
39415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39416 _ACEOF
39417 cat >>confdefs.h <<\_ACEOF
39418 #define HAVE_INET_ADDR 1
39419 _ACEOF
39420
39421 else
39422
39423 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39424 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39425 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39426 echo $ECHO_N "(cached) $ECHO_C" >&6
39427 else
39428 ac_check_lib_save_LIBS=$LIBS
39429 LIBS="-lnsl $LIBS"
39430 cat >conftest.$ac_ext <<_ACEOF
39431 /* confdefs.h. */
39432 _ACEOF
39433 cat confdefs.h >>conftest.$ac_ext
39434 cat >>conftest.$ac_ext <<_ACEOF
39435 /* end confdefs.h. */
39436
39437 /* Override any GCC internal prototype to avoid an error.
39438 Use char because int might match the return type of a GCC
39439 builtin and then its argument prototype would still apply. */
39440 #ifdef __cplusplus
39441 extern "C"
39442 #endif
39443 char inet_addr ();
39444 int
39445 main ()
39446 {
39447 return inet_addr ();
39448 ;
39449 return 0;
39450 }
39451 _ACEOF
39452 rm -f conftest.$ac_objext conftest$ac_exeext
39453 if { (ac_try="$ac_link"
39454 case "(($ac_try" in
39455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39456 *) ac_try_echo=$ac_try;;
39457 esac
39458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39459 (eval "$ac_link") 2>conftest.er1
39460 ac_status=$?
39461 grep -v '^ *+' conftest.er1 >conftest.err
39462 rm -f conftest.er1
39463 cat conftest.err >&5
39464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465 (exit $ac_status); } && {
39466 test -z "$ac_c_werror_flag" ||
39467 test ! -s conftest.err
39468 } && test -s conftest$ac_exeext &&
39469 $as_test_x conftest$ac_exeext; then
39470 ac_cv_lib_nsl_inet_addr=yes
39471 else
39472 echo "$as_me: failed program was:" >&5
39473 sed 's/^/| /' conftest.$ac_ext >&5
39474
39475 ac_cv_lib_nsl_inet_addr=no
39476 fi
39477
39478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39479 conftest$ac_exeext conftest.$ac_ext
39480 LIBS=$ac_check_lib_save_LIBS
39481 fi
39482 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39483 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39484 if test $ac_cv_lib_nsl_inet_addr = yes; then
39485 INET_LINK="nsl"
39486 else
39487
39488 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39489 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39490 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39491 echo $ECHO_N "(cached) $ECHO_C" >&6
39492 else
39493 ac_check_lib_save_LIBS=$LIBS
39494 LIBS="-lresolv $LIBS"
39495 cat >conftest.$ac_ext <<_ACEOF
39496 /* confdefs.h. */
39497 _ACEOF
39498 cat confdefs.h >>conftest.$ac_ext
39499 cat >>conftest.$ac_ext <<_ACEOF
39500 /* end confdefs.h. */
39501
39502 /* Override any GCC internal prototype to avoid an error.
39503 Use char because int might match the return type of a GCC
39504 builtin and then its argument prototype would still apply. */
39505 #ifdef __cplusplus
39506 extern "C"
39507 #endif
39508 char inet_addr ();
39509 int
39510 main ()
39511 {
39512 return inet_addr ();
39513 ;
39514 return 0;
39515 }
39516 _ACEOF
39517 rm -f conftest.$ac_objext conftest$ac_exeext
39518 if { (ac_try="$ac_link"
39519 case "(($ac_try" in
39520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39521 *) ac_try_echo=$ac_try;;
39522 esac
39523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39524 (eval "$ac_link") 2>conftest.er1
39525 ac_status=$?
39526 grep -v '^ *+' conftest.er1 >conftest.err
39527 rm -f conftest.er1
39528 cat conftest.err >&5
39529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530 (exit $ac_status); } && {
39531 test -z "$ac_c_werror_flag" ||
39532 test ! -s conftest.err
39533 } && test -s conftest$ac_exeext &&
39534 $as_test_x conftest$ac_exeext; then
39535 ac_cv_lib_resolv_inet_addr=yes
39536 else
39537 echo "$as_me: failed program was:" >&5
39538 sed 's/^/| /' conftest.$ac_ext >&5
39539
39540 ac_cv_lib_resolv_inet_addr=no
39541 fi
39542
39543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39544 conftest$ac_exeext conftest.$ac_ext
39545 LIBS=$ac_check_lib_save_LIBS
39546 fi
39547 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39548 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39549 if test $ac_cv_lib_resolv_inet_addr = yes; then
39550 INET_LINK="resolv"
39551 else
39552
39553 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39554 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39555 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39556 echo $ECHO_N "(cached) $ECHO_C" >&6
39557 else
39558 ac_check_lib_save_LIBS=$LIBS
39559 LIBS="-lsocket $LIBS"
39560 cat >conftest.$ac_ext <<_ACEOF
39561 /* confdefs.h. */
39562 _ACEOF
39563 cat confdefs.h >>conftest.$ac_ext
39564 cat >>conftest.$ac_ext <<_ACEOF
39565 /* end confdefs.h. */
39566
39567 /* Override any GCC internal prototype to avoid an error.
39568 Use char because int might match the return type of a GCC
39569 builtin and then its argument prototype would still apply. */
39570 #ifdef __cplusplus
39571 extern "C"
39572 #endif
39573 char inet_addr ();
39574 int
39575 main ()
39576 {
39577 return inet_addr ();
39578 ;
39579 return 0;
39580 }
39581 _ACEOF
39582 rm -f conftest.$ac_objext conftest$ac_exeext
39583 if { (ac_try="$ac_link"
39584 case "(($ac_try" in
39585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39586 *) ac_try_echo=$ac_try;;
39587 esac
39588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39589 (eval "$ac_link") 2>conftest.er1
39590 ac_status=$?
39591 grep -v '^ *+' conftest.er1 >conftest.err
39592 rm -f conftest.er1
39593 cat conftest.err >&5
39594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39595 (exit $ac_status); } && {
39596 test -z "$ac_c_werror_flag" ||
39597 test ! -s conftest.err
39598 } && test -s conftest$ac_exeext &&
39599 $as_test_x conftest$ac_exeext; then
39600 ac_cv_lib_socket_inet_addr=yes
39601 else
39602 echo "$as_me: failed program was:" >&5
39603 sed 's/^/| /' conftest.$ac_ext >&5
39604
39605 ac_cv_lib_socket_inet_addr=no
39606 fi
39607
39608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39609 conftest$ac_exeext conftest.$ac_ext
39610 LIBS=$ac_check_lib_save_LIBS
39611 fi
39612 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39613 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39614 if test $ac_cv_lib_socket_inet_addr = yes; then
39615 INET_LINK="socket"
39616
39617 fi
39618
39619
39620
39621 fi
39622
39623
39624
39625 fi
39626
39627
39628
39629 fi
39630 done
39631
39632
39633
39634 for ac_func in inet_aton
39635 do
39636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39637 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39639 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39640 echo $ECHO_N "(cached) $ECHO_C" >&6
39641 else
39642 cat >conftest.$ac_ext <<_ACEOF
39643 /* confdefs.h. */
39644 _ACEOF
39645 cat confdefs.h >>conftest.$ac_ext
39646 cat >>conftest.$ac_ext <<_ACEOF
39647 /* end confdefs.h. */
39648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39650 #define $ac_func innocuous_$ac_func
39651
39652 /* System header to define __stub macros and hopefully few prototypes,
39653 which can conflict with char $ac_func (); below.
39654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39655 <limits.h> exists even on freestanding compilers. */
39656
39657 #ifdef __STDC__
39658 # include <limits.h>
39659 #else
39660 # include <assert.h>
39661 #endif
39662
39663 #undef $ac_func
39664
39665 /* Override any GCC internal prototype to avoid an error.
39666 Use char because int might match the return type of a GCC
39667 builtin and then its argument prototype would still apply. */
39668 #ifdef __cplusplus
39669 extern "C"
39670 #endif
39671 char $ac_func ();
39672 /* The GNU C library defines this for functions which it implements
39673 to always fail with ENOSYS. Some functions are actually named
39674 something starting with __ and the normal name is an alias. */
39675 #if defined __stub_$ac_func || defined __stub___$ac_func
39676 choke me
39677 #endif
39678
39679 int
39680 main ()
39681 {
39682 return $ac_func ();
39683 ;
39684 return 0;
39685 }
39686 _ACEOF
39687 rm -f conftest.$ac_objext conftest$ac_exeext
39688 if { (ac_try="$ac_link"
39689 case "(($ac_try" in
39690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39691 *) ac_try_echo=$ac_try;;
39692 esac
39693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39694 (eval "$ac_link") 2>conftest.er1
39695 ac_status=$?
39696 grep -v '^ *+' conftest.er1 >conftest.err
39697 rm -f conftest.er1
39698 cat conftest.err >&5
39699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39700 (exit $ac_status); } && {
39701 test -z "$ac_c_werror_flag" ||
39702 test ! -s conftest.err
39703 } && test -s conftest$ac_exeext &&
39704 $as_test_x conftest$ac_exeext; then
39705 eval "$as_ac_var=yes"
39706 else
39707 echo "$as_me: failed program was:" >&5
39708 sed 's/^/| /' conftest.$ac_ext >&5
39709
39710 eval "$as_ac_var=no"
39711 fi
39712
39713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39714 conftest$ac_exeext conftest.$ac_ext
39715 fi
39716 ac_res=`eval echo '${'$as_ac_var'}'`
39717 { echo "$as_me:$LINENO: result: $ac_res" >&5
39718 echo "${ECHO_T}$ac_res" >&6; }
39719 if test `eval echo '${'$as_ac_var'}'` = yes; then
39720 cat >>confdefs.h <<_ACEOF
39721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39722 _ACEOF
39723 cat >>confdefs.h <<\_ACEOF
39724 #define HAVE_INET_ATON 1
39725 _ACEOF
39726
39727 else
39728
39729 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39730 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39731 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39732 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39733 echo $ECHO_N "(cached) $ECHO_C" >&6
39734 else
39735 ac_check_lib_save_LIBS=$LIBS
39736 LIBS="-l$INET_LINK $LIBS"
39737 cat >conftest.$ac_ext <<_ACEOF
39738 /* confdefs.h. */
39739 _ACEOF
39740 cat confdefs.h >>conftest.$ac_ext
39741 cat >>conftest.$ac_ext <<_ACEOF
39742 /* end confdefs.h. */
39743
39744 /* Override any GCC internal prototype to avoid an error.
39745 Use char because int might match the return type of a GCC
39746 builtin and then its argument prototype would still apply. */
39747 #ifdef __cplusplus
39748 extern "C"
39749 #endif
39750 char inet_aton ();
39751 int
39752 main ()
39753 {
39754 return inet_aton ();
39755 ;
39756 return 0;
39757 }
39758 _ACEOF
39759 rm -f conftest.$ac_objext conftest$ac_exeext
39760 if { (ac_try="$ac_link"
39761 case "(($ac_try" in
39762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39763 *) ac_try_echo=$ac_try;;
39764 esac
39765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39766 (eval "$ac_link") 2>conftest.er1
39767 ac_status=$?
39768 grep -v '^ *+' conftest.er1 >conftest.err
39769 rm -f conftest.er1
39770 cat conftest.err >&5
39771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39772 (exit $ac_status); } && {
39773 test -z "$ac_c_werror_flag" ||
39774 test ! -s conftest.err
39775 } && test -s conftest$ac_exeext &&
39776 $as_test_x conftest$ac_exeext; then
39777 eval "$as_ac_Lib=yes"
39778 else
39779 echo "$as_me: failed program was:" >&5
39780 sed 's/^/| /' conftest.$ac_ext >&5
39781
39782 eval "$as_ac_Lib=no"
39783 fi
39784
39785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39786 conftest$ac_exeext conftest.$ac_ext
39787 LIBS=$ac_check_lib_save_LIBS
39788 fi
39789 ac_res=`eval echo '${'$as_ac_Lib'}'`
39790 { echo "$as_me:$LINENO: result: $ac_res" >&5
39791 echo "${ECHO_T}$ac_res" >&6; }
39792 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39793 cat >>confdefs.h <<\_ACEOF
39794 #define HAVE_INET_ATON 1
39795 _ACEOF
39796
39797 fi
39798
39799
39800 fi
39801 done
39802
39803
39804 if test "x$INET_LINK" != "x"; then
39805 cat >>confdefs.h <<\_ACEOF
39806 #define HAVE_INET_ADDR 1
39807 _ACEOF
39808
39809 INET_LINK=" -l$INET_LINK"
39810 fi
39811
39812
39813 for wx_func in fdopen
39814 do
39815 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39816 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39817 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39818 echo $ECHO_N "(cached) $ECHO_C" >&6
39819 else
39820
39821 cat >conftest.$ac_ext <<_ACEOF
39822
39823 /* confdefs.h. */
39824 _ACEOF
39825 cat confdefs.h >>conftest.$ac_ext
39826 cat >>conftest.$ac_ext <<_ACEOF
39827 /* end confdefs.h. */
39828
39829
39830 $ac_includes_default
39831
39832 int
39833 main ()
39834 {
39835
39836 #ifndef $wx_func
39837 &$wx_func;
39838 #endif
39839
39840
39841 ;
39842 return 0;
39843 }
39844
39845 _ACEOF
39846 rm -f conftest.$ac_objext conftest$ac_exeext
39847 if { (ac_try="$ac_link"
39848 case "(($ac_try" in
39849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39850 *) ac_try_echo=$ac_try;;
39851 esac
39852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39853 (eval "$ac_link") 2>conftest.er1
39854 ac_status=$?
39855 grep -v '^ *+' conftest.er1 >conftest.err
39856 rm -f conftest.er1
39857 cat conftest.err >&5
39858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39859 (exit $ac_status); } && {
39860 test -z "$ac_c_werror_flag" ||
39861 test ! -s conftest.err
39862 } && test -s conftest$ac_exeext &&
39863 $as_test_x conftest$ac_exeext; then
39864 eval wx_cv_func_$wx_func=yes
39865 else
39866 echo "$as_me: failed program was:" >&5
39867 sed 's/^/| /' conftest.$ac_ext >&5
39868
39869 eval wx_cv_func_$wx_func=no
39870 fi
39871
39872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39873 conftest$ac_exeext conftest.$ac_ext
39874
39875 fi
39876 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39877 { echo "$as_me:$LINENO: result: $ac_res" >&5
39878 echo "${ECHO_T}$ac_res" >&6; }
39879
39880 if eval test \$wx_cv_func_$wx_func = yes
39881 then
39882 cat >>confdefs.h <<_ACEOF
39883 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39884 _ACEOF
39885
39886
39887 else
39888 :
39889
39890 fi
39891 done
39892
39893
39894 fi
39895
39896
39897
39898
39899 EXTRALIBS_ESD=
39900 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39901 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
39902 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39903 echo $ECHO_N "(cached) $ECHO_C" >&6
39904 else
39905 ac_check_lib_save_LIBS=$LIBS
39906 LIBS="-lesd $LIBS"
39907 cat >conftest.$ac_ext <<_ACEOF
39908 /* confdefs.h. */
39909 _ACEOF
39910 cat confdefs.h >>conftest.$ac_ext
39911 cat >>conftest.$ac_ext <<_ACEOF
39912 /* end confdefs.h. */
39913
39914 /* Override any GCC internal prototype to avoid an error.
39915 Use char because int might match the return type of a GCC
39916 builtin and then its argument prototype would still apply. */
39917 #ifdef __cplusplus
39918 extern "C"
39919 #endif
39920 char esd_close ();
39921 int
39922 main ()
39923 {
39924 return esd_close ();
39925 ;
39926 return 0;
39927 }
39928 _ACEOF
39929 rm -f conftest.$ac_objext conftest$ac_exeext
39930 if { (ac_try="$ac_link"
39931 case "(($ac_try" in
39932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39933 *) ac_try_echo=$ac_try;;
39934 esac
39935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39936 (eval "$ac_link") 2>conftest.er1
39937 ac_status=$?
39938 grep -v '^ *+' conftest.er1 >conftest.err
39939 rm -f conftest.er1
39940 cat conftest.err >&5
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); } && {
39943 test -z "$ac_c_werror_flag" ||
39944 test ! -s conftest.err
39945 } && test -s conftest$ac_exeext &&
39946 $as_test_x conftest$ac_exeext; then
39947 ac_cv_lib_esd_esd_close=yes
39948 else
39949 echo "$as_me: failed program was:" >&5
39950 sed 's/^/| /' conftest.$ac_ext >&5
39951
39952 ac_cv_lib_esd_esd_close=no
39953 fi
39954
39955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39956 conftest$ac_exeext conftest.$ac_ext
39957 LIBS=$ac_check_lib_save_LIBS
39958 fi
39959 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39960 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
39961 if test $ac_cv_lib_esd_esd_close = yes; then
39962
39963
39964 for ac_header in esd.h
39965 do
39966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39967 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39968 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39970 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39971 echo $ECHO_N "(cached) $ECHO_C" >&6
39972 fi
39973 ac_res=`eval echo '${'$as_ac_Header'}'`
39974 { echo "$as_me:$LINENO: result: $ac_res" >&5
39975 echo "${ECHO_T}$ac_res" >&6; }
39976 else
39977 # Is the header compilable?
39978 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
39979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
39980 cat >conftest.$ac_ext <<_ACEOF
39981 /* confdefs.h. */
39982 _ACEOF
39983 cat confdefs.h >>conftest.$ac_ext
39984 cat >>conftest.$ac_ext <<_ACEOF
39985 /* end confdefs.h. */
39986 $ac_includes_default
39987 #include <$ac_header>
39988 _ACEOF
39989 rm -f conftest.$ac_objext
39990 if { (ac_try="$ac_compile"
39991 case "(($ac_try" in
39992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39993 *) ac_try_echo=$ac_try;;
39994 esac
39995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39996 (eval "$ac_compile") 2>conftest.er1
39997 ac_status=$?
39998 grep -v '^ *+' conftest.er1 >conftest.err
39999 rm -f conftest.er1
40000 cat conftest.err >&5
40001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40002 (exit $ac_status); } && {
40003 test -z "$ac_c_werror_flag" ||
40004 test ! -s conftest.err
40005 } && test -s conftest.$ac_objext; then
40006 ac_header_compiler=yes
40007 else
40008 echo "$as_me: failed program was:" >&5
40009 sed 's/^/| /' conftest.$ac_ext >&5
40010
40011 ac_header_compiler=no
40012 fi
40013
40014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40015 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40016 echo "${ECHO_T}$ac_header_compiler" >&6; }
40017
40018 # Is the header present?
40019 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
40020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
40021 cat >conftest.$ac_ext <<_ACEOF
40022 /* confdefs.h. */
40023 _ACEOF
40024 cat confdefs.h >>conftest.$ac_ext
40025 cat >>conftest.$ac_ext <<_ACEOF
40026 /* end confdefs.h. */
40027 #include <$ac_header>
40028 _ACEOF
40029 if { (ac_try="$ac_cpp conftest.$ac_ext"
40030 case "(($ac_try" in
40031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40032 *) ac_try_echo=$ac_try;;
40033 esac
40034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
40036 ac_status=$?
40037 grep -v '^ *+' conftest.er1 >conftest.err
40038 rm -f conftest.er1
40039 cat conftest.err >&5
40040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40041 (exit $ac_status); } >/dev/null && {
40042 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
40043 test ! -s conftest.err
40044 }; then
40045 ac_header_preproc=yes
40046 else
40047 echo "$as_me: failed program was:" >&5
40048 sed 's/^/| /' conftest.$ac_ext >&5
40049
40050 ac_header_preproc=no
40051 fi
40052
40053 rm -f conftest.err conftest.$ac_ext
40054 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40055 echo "${ECHO_T}$ac_header_preproc" >&6; }
40056
40057 # So? What about this header?
40058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40059 yes:no: )
40060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40064 ac_header_preproc=yes
40065 ;;
40066 no:yes:* )
40067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40079 ( cat <<\_ASBOX
40080 ## ----------------------------------------- ##
40081 ## Report this to wx-dev@lists.wxwidgets.org ##
40082 ## ----------------------------------------- ##
40083 _ASBOX
40084 ) | sed "s/^/$as_me: WARNING: /" >&2
40085 ;;
40086 esac
40087 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40090 echo $ECHO_N "(cached) $ECHO_C" >&6
40091 else
40092 eval "$as_ac_Header=\$ac_header_preproc"
40093 fi
40094 ac_res=`eval echo '${'$as_ac_Header'}'`
40095 { echo "$as_me:$LINENO: result: $ac_res" >&5
40096 echo "${ECHO_T}$ac_res" >&6; }
40097
40098 fi
40099 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40100 cat >>confdefs.h <<_ACEOF
40101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40102 _ACEOF
40103
40104 EXTRALIBS_ESD="-lesd"
40105
40106 fi
40107
40108 done
40109
40110
40111 fi
40112
40113
40114
40115 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
40116 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
40117 cat >conftest.$ac_ext <<_ACEOF
40118 /* confdefs.h. */
40119 _ACEOF
40120 cat confdefs.h >>conftest.$ac_ext
40121 cat >>conftest.$ac_ext <<_ACEOF
40122 /* end confdefs.h. */
40123 #ifdef __linux__
40124 #include <linux/cdrom.h>
40125 #else
40126 /* For Solaris */
40127 #include <sys/cdio.h>
40128 #endif
40129
40130 int
40131 main ()
40132 {
40133 struct cdrom_tocentry entry, old_entry;
40134 ;
40135 return 0;
40136 }
40137 _ACEOF
40138 rm -f conftest.$ac_objext
40139 if { (ac_try="$ac_compile"
40140 case "(($ac_try" in
40141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40142 *) ac_try_echo=$ac_try;;
40143 esac
40144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40145 (eval "$ac_compile") 2>conftest.er1
40146 ac_status=$?
40147 grep -v '^ *+' conftest.er1 >conftest.err
40148 rm -f conftest.er1
40149 cat conftest.err >&5
40150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40151 (exit $ac_status); } && {
40152 test -z "$ac_c_werror_flag" ||
40153 test ! -s conftest.err
40154 } && test -s conftest.$ac_objext; then
40155 { echo "$as_me:$LINENO: result: yes" >&5
40156 echo "${ECHO_T}yes" >&6; }
40157 cat >>confdefs.h <<\_ACEOF
40158 #define HAVE_KNOWN_CDROM_INTERFACE 1
40159 _ACEOF
40160
40161 else
40162 echo "$as_me: failed program was:" >&5
40163 sed 's/^/| /' conftest.$ac_ext >&5
40164
40165 { echo "$as_me:$LINENO: result: no" >&5
40166 echo "${ECHO_T}no" >&6; }
40167 fi
40168
40169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40170
40171
40172 cat >confcache <<\_ACEOF
40173 # This file is a shell script that caches the results of configure
40174 # tests run on this system so they can be shared between configure
40175 # scripts and configure runs, see configure's option --config-cache.
40176 # It is not useful on other systems. If it contains results you don't
40177 # want to keep, you may remove or edit it.
40178 #
40179 # config.status only pays attention to the cache file if you give it
40180 # the --recheck option to rerun configure.
40181 #
40182 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40183 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40184 # following values.
40185
40186 _ACEOF
40187
40188 # The following way of writing the cache mishandles newlines in values,
40189 # but we know of no workaround that is simple, portable, and efficient.
40190 # So, we kill variables containing newlines.
40191 # Ultrix sh set writes to stderr and can't be redirected directly,
40192 # and sets the high bit in the cache file unless we assign to the vars.
40193 (
40194 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40195 eval ac_val=\$$ac_var
40196 case $ac_val in #(
40197 *${as_nl}*)
40198 case $ac_var in #(
40199 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40200 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40201 esac
40202 case $ac_var in #(
40203 _ | IFS | as_nl) ;; #(
40204 *) $as_unset $ac_var ;;
40205 esac ;;
40206 esac
40207 done
40208
40209 (set) 2>&1 |
40210 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40211 *${as_nl}ac_space=\ *)
40212 # `set' does not quote correctly, so add quotes (double-quote
40213 # substitution turns \\\\ into \\, and sed turns \\ into \).
40214 sed -n \
40215 "s/'/'\\\\''/g;
40216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40217 ;; #(
40218 *)
40219 # `set' quotes correctly as required by POSIX, so do not add quotes.
40220 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40221 ;;
40222 esac |
40223 sort
40224 ) |
40225 sed '
40226 /^ac_cv_env_/b end
40227 t clear
40228 :clear
40229 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40230 t end
40231 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40232 :end' >>confcache
40233 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40234 if test -w "$cache_file"; then
40235 test "x$cache_file" != "x/dev/null" &&
40236 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40237 echo "$as_me: updating cache $cache_file" >&6;}
40238 cat confcache >$cache_file
40239 else
40240 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40241 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40242 fi
40243 fi
40244 rm -f confcache
40245
40246
40247 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40248
40249
40250 THREADS_LINK=
40251 THREADS_CFLAGS=
40252
40253 if test "$wxUSE_THREADS" = "yes" ; then
40254 if test "$USE_BEOS" = 1; then
40255 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40256 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40257 wxUSE_THREADS="no"
40258 fi
40259 fi
40260
40261 if test "$wxUSE_THREADS" = "yes" ; then
40262
40263
40264 THREAD_OPTS="-pthread"
40265 case "${host}" in
40266 *-*-solaris2* | *-*-sunos4* )
40267 if test "x$GCC" = "xyes"; then
40268 THREAD_OPTS="-pthreads $THREAD_OPTS"
40269 else
40270 THREAD_OPTS="-mt $THREAD_OPTS"
40271 fi
40272 ;;
40273 *-*-freebsd*)
40274 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40275 ;;
40276 *-*-darwin* | *-*-cygwin* )
40277 THREAD_OPTS=""
40278 ;;
40279 *-*-aix*)
40280 THREAD_OPTS="pthreads"
40281 ;;
40282 *-hp-hpux* )
40283 if test "x$GCC" = "xyes"; then
40284 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40285 THREAD_OPTS=""
40286 else
40287 THREAD_OPTS="-mt"
40288 fi
40289 ;;
40290
40291 *-*-irix* )
40292 if test "x$GCC" = "xyes"; then
40293 THREAD_OPTS=""
40294 fi
40295 ;;
40296
40297 *-*-*UnixWare*)
40298 if test "x$GCC" != "xyes"; then
40299 THREAD_OPTS="-Ethread"
40300 fi
40301 ;;
40302 esac
40303
40304 THREAD_OPTS="$THREAD_OPTS pthread none"
40305
40306 THREADS_OK=no
40307 for flag in $THREAD_OPTS; do
40308 case $flag in
40309 none)
40310 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40311 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40312 ;;
40313
40314 -*)
40315 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40316 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40317 THREADS_CFLAGS="$flag"
40318 ;;
40319
40320 *)
40321 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40322 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40323 THREADS_LINK="-l$flag"
40324 ;;
40325 esac
40326
40327 save_LIBS="$LIBS"
40328 save_CFLAGS="$CFLAGS"
40329 LIBS="$THREADS_LINK $LIBS"
40330 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40331
40332 cat >conftest.$ac_ext <<_ACEOF
40333 /* confdefs.h. */
40334 _ACEOF
40335 cat confdefs.h >>conftest.$ac_ext
40336 cat >>conftest.$ac_ext <<_ACEOF
40337 /* end confdefs.h. */
40338 #include <pthread.h>
40339 int
40340 main ()
40341 {
40342 pthread_create(0,0,0,0);
40343 ;
40344 return 0;
40345 }
40346 _ACEOF
40347 rm -f conftest.$ac_objext conftest$ac_exeext
40348 if { (ac_try="$ac_link"
40349 case "(($ac_try" in
40350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40351 *) ac_try_echo=$ac_try;;
40352 esac
40353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40354 (eval "$ac_link") 2>conftest.er1
40355 ac_status=$?
40356 grep -v '^ *+' conftest.er1 >conftest.err
40357 rm -f conftest.er1
40358 cat conftest.err >&5
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); } && {
40361 test -z "$ac_c_werror_flag" ||
40362 test ! -s conftest.err
40363 } && test -s conftest$ac_exeext &&
40364 $as_test_x conftest$ac_exeext; then
40365 THREADS_OK=yes
40366 else
40367 echo "$as_me: failed program was:" >&5
40368 sed 's/^/| /' conftest.$ac_ext >&5
40369
40370
40371 fi
40372
40373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40374 conftest$ac_exeext conftest.$ac_ext
40375
40376 LIBS="$save_LIBS"
40377 CFLAGS="$save_CFLAGS"
40378
40379 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40380 echo "${ECHO_T}$THREADS_OK" >&6; }
40381 if test "x$THREADS_OK" = "xyes"; then
40382 break;
40383 fi
40384
40385 THREADS_LINK=""
40386 THREADS_CFLAGS=""
40387 done
40388
40389 if test "x$THREADS_OK" != "xyes"; then
40390 wxUSE_THREADS=no
40391 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40392 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40393 else
40394 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40395 LIBS="$THREADS_LINK $LIBS"
40396
40397 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40398 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40399 flag=no
40400 case "${host}" in
40401 *-aix*)
40402 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40403 flag="-D_THREAD_SAFE"
40404 ;;
40405 *-freebsd*)
40406 flag="-D_THREAD_SAFE"
40407 ;;
40408 *-hp-hpux* )
40409 flag="-D_REENTRANT"
40410 if test "x$GCC" != "xyes"; then
40411 flag="$flag -D_RWSTD_MULTI_THREAD"
40412 fi
40413 ;;
40414 *solaris* | alpha*-osf*)
40415 flag="-D_REENTRANT"
40416 ;;
40417 esac
40418 { echo "$as_me:$LINENO: result: ${flag}" >&5
40419 echo "${ECHO_T}${flag}" >&6; }
40420 if test "x$flag" != xno; then
40421 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40422 fi
40423
40424 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40425 fi
40426 fi
40427
40428 if test "$wxUSE_THREADS" = "yes" ; then
40429
40430 for ac_func in thr_setconcurrency
40431 do
40432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40433 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40435 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40436 echo $ECHO_N "(cached) $ECHO_C" >&6
40437 else
40438 cat >conftest.$ac_ext <<_ACEOF
40439 /* confdefs.h. */
40440 _ACEOF
40441 cat confdefs.h >>conftest.$ac_ext
40442 cat >>conftest.$ac_ext <<_ACEOF
40443 /* end confdefs.h. */
40444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40446 #define $ac_func innocuous_$ac_func
40447
40448 /* System header to define __stub macros and hopefully few prototypes,
40449 which can conflict with char $ac_func (); below.
40450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40451 <limits.h> exists even on freestanding compilers. */
40452
40453 #ifdef __STDC__
40454 # include <limits.h>
40455 #else
40456 # include <assert.h>
40457 #endif
40458
40459 #undef $ac_func
40460
40461 /* Override any GCC internal prototype to avoid an error.
40462 Use char because int might match the return type of a GCC
40463 builtin and then its argument prototype would still apply. */
40464 #ifdef __cplusplus
40465 extern "C"
40466 #endif
40467 char $ac_func ();
40468 /* The GNU C library defines this for functions which it implements
40469 to always fail with ENOSYS. Some functions are actually named
40470 something starting with __ and the normal name is an alias. */
40471 #if defined __stub_$ac_func || defined __stub___$ac_func
40472 choke me
40473 #endif
40474
40475 int
40476 main ()
40477 {
40478 return $ac_func ();
40479 ;
40480 return 0;
40481 }
40482 _ACEOF
40483 rm -f conftest.$ac_objext conftest$ac_exeext
40484 if { (ac_try="$ac_link"
40485 case "(($ac_try" in
40486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40487 *) ac_try_echo=$ac_try;;
40488 esac
40489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40490 (eval "$ac_link") 2>conftest.er1
40491 ac_status=$?
40492 grep -v '^ *+' conftest.er1 >conftest.err
40493 rm -f conftest.er1
40494 cat conftest.err >&5
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); } && {
40497 test -z "$ac_c_werror_flag" ||
40498 test ! -s conftest.err
40499 } && test -s conftest$ac_exeext &&
40500 $as_test_x conftest$ac_exeext; then
40501 eval "$as_ac_var=yes"
40502 else
40503 echo "$as_me: failed program was:" >&5
40504 sed 's/^/| /' conftest.$ac_ext >&5
40505
40506 eval "$as_ac_var=no"
40507 fi
40508
40509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40510 conftest$ac_exeext conftest.$ac_ext
40511 fi
40512 ac_res=`eval echo '${'$as_ac_var'}'`
40513 { echo "$as_me:$LINENO: result: $ac_res" >&5
40514 echo "${ECHO_T}$ac_res" >&6; }
40515 if test `eval echo '${'$as_ac_var'}'` = yes; then
40516 cat >>confdefs.h <<_ACEOF
40517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40518 _ACEOF
40519
40520 fi
40521 done
40522
40523
40524 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40525 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40526 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40527 echo $ECHO_N "(cached) $ECHO_C" >&6
40528 else
40529
40530 cat >conftest.$ac_ext <<_ACEOF
40531 /* confdefs.h. */
40532 _ACEOF
40533 cat confdefs.h >>conftest.$ac_ext
40534 cat >>conftest.$ac_ext <<_ACEOF
40535 /* end confdefs.h. */
40536 #include <pthread.h>
40537 void ThreadCleanupFunc(void *p);
40538
40539 int
40540 main ()
40541 {
40542
40543 void *p;
40544 pthread_cleanup_push(ThreadCleanupFunc, p);
40545 pthread_cleanup_pop(0);
40546
40547 ;
40548 return 0;
40549 }
40550 _ACEOF
40551 rm -f conftest.$ac_objext
40552 if { (ac_try="$ac_compile"
40553 case "(($ac_try" in
40554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40555 *) ac_try_echo=$ac_try;;
40556 esac
40557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40558 (eval "$ac_compile") 2>conftest.er1
40559 ac_status=$?
40560 grep -v '^ *+' conftest.er1 >conftest.err
40561 rm -f conftest.er1
40562 cat conftest.err >&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); } && {
40565 test -z "$ac_c_werror_flag" ||
40566 test ! -s conftest.err
40567 } && test -s conftest.$ac_objext; then
40568
40569 wx_cv_func_pthread_cleanup=yes
40570
40571 else
40572 echo "$as_me: failed program was:" >&5
40573 sed 's/^/| /' conftest.$ac_ext >&5
40574
40575
40576 wx_cv_func_pthread_cleanup=no
40577
40578
40579 fi
40580
40581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40582
40583 fi
40584 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40585 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40586 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40587 cat >>confdefs.h <<\_ACEOF
40588 #define wxHAVE_PTHREAD_CLEANUP 1
40589 _ACEOF
40590
40591 fi
40592
40593
40594 for ac_header in sched.h
40595 do
40596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40601 echo $ECHO_N "(cached) $ECHO_C" >&6
40602 fi
40603 ac_res=`eval echo '${'$as_ac_Header'}'`
40604 { echo "$as_me:$LINENO: result: $ac_res" >&5
40605 echo "${ECHO_T}$ac_res" >&6; }
40606 else
40607 # Is the header compilable?
40608 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
40609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
40610 cat >conftest.$ac_ext <<_ACEOF
40611 /* confdefs.h. */
40612 _ACEOF
40613 cat confdefs.h >>conftest.$ac_ext
40614 cat >>conftest.$ac_ext <<_ACEOF
40615 /* end confdefs.h. */
40616 $ac_includes_default
40617 #include <$ac_header>
40618 _ACEOF
40619 rm -f conftest.$ac_objext
40620 if { (ac_try="$ac_compile"
40621 case "(($ac_try" in
40622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40623 *) ac_try_echo=$ac_try;;
40624 esac
40625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40626 (eval "$ac_compile") 2>conftest.er1
40627 ac_status=$?
40628 grep -v '^ *+' conftest.er1 >conftest.err
40629 rm -f conftest.er1
40630 cat conftest.err >&5
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); } && {
40633 test -z "$ac_c_werror_flag" ||
40634 test ! -s conftest.err
40635 } && test -s conftest.$ac_objext; then
40636 ac_header_compiler=yes
40637 else
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.$ac_ext >&5
40640
40641 ac_header_compiler=no
40642 fi
40643
40644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40645 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40646 echo "${ECHO_T}$ac_header_compiler" >&6; }
40647
40648 # Is the header present?
40649 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
40650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
40651 cat >conftest.$ac_ext <<_ACEOF
40652 /* confdefs.h. */
40653 _ACEOF
40654 cat confdefs.h >>conftest.$ac_ext
40655 cat >>conftest.$ac_ext <<_ACEOF
40656 /* end confdefs.h. */
40657 #include <$ac_header>
40658 _ACEOF
40659 if { (ac_try="$ac_cpp conftest.$ac_ext"
40660 case "(($ac_try" in
40661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40662 *) ac_try_echo=$ac_try;;
40663 esac
40664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
40666 ac_status=$?
40667 grep -v '^ *+' conftest.er1 >conftest.err
40668 rm -f conftest.er1
40669 cat conftest.err >&5
40670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40671 (exit $ac_status); } >/dev/null && {
40672 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
40673 test ! -s conftest.err
40674 }; then
40675 ac_header_preproc=yes
40676 else
40677 echo "$as_me: failed program was:" >&5
40678 sed 's/^/| /' conftest.$ac_ext >&5
40679
40680 ac_header_preproc=no
40681 fi
40682
40683 rm -f conftest.err conftest.$ac_ext
40684 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40685 echo "${ECHO_T}$ac_header_preproc" >&6; }
40686
40687 # So? What about this header?
40688 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40689 yes:no: )
40690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40694 ac_header_preproc=yes
40695 ;;
40696 no:yes:* )
40697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40709 ( cat <<\_ASBOX
40710 ## ----------------------------------------- ##
40711 ## Report this to wx-dev@lists.wxwidgets.org ##
40712 ## ----------------------------------------- ##
40713 _ASBOX
40714 ) | sed "s/^/$as_me: WARNING: /" >&2
40715 ;;
40716 esac
40717 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40719 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40720 echo $ECHO_N "(cached) $ECHO_C" >&6
40721 else
40722 eval "$as_ac_Header=\$ac_header_preproc"
40723 fi
40724 ac_res=`eval echo '${'$as_ac_Header'}'`
40725 { echo "$as_me:$LINENO: result: $ac_res" >&5
40726 echo "${ECHO_T}$ac_res" >&6; }
40727
40728 fi
40729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40730 cat >>confdefs.h <<_ACEOF
40731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40732 _ACEOF
40733
40734 fi
40735
40736 done
40737
40738 if test "$ac_cv_header_sched_h" = "yes"; then
40739 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40740 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40741 if test "${ac_cv_func_sched_yield+set}" = set; then
40742 echo $ECHO_N "(cached) $ECHO_C" >&6
40743 else
40744 cat >conftest.$ac_ext <<_ACEOF
40745 /* confdefs.h. */
40746 _ACEOF
40747 cat confdefs.h >>conftest.$ac_ext
40748 cat >>conftest.$ac_ext <<_ACEOF
40749 /* end confdefs.h. */
40750 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40752 #define sched_yield innocuous_sched_yield
40753
40754 /* System header to define __stub macros and hopefully few prototypes,
40755 which can conflict with char sched_yield (); below.
40756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40757 <limits.h> exists even on freestanding compilers. */
40758
40759 #ifdef __STDC__
40760 # include <limits.h>
40761 #else
40762 # include <assert.h>
40763 #endif
40764
40765 #undef sched_yield
40766
40767 /* Override any GCC internal prototype to avoid an error.
40768 Use char because int might match the return type of a GCC
40769 builtin and then its argument prototype would still apply. */
40770 #ifdef __cplusplus
40771 extern "C"
40772 #endif
40773 char sched_yield ();
40774 /* The GNU C library defines this for functions which it implements
40775 to always fail with ENOSYS. Some functions are actually named
40776 something starting with __ and the normal name is an alias. */
40777 #if defined __stub_sched_yield || defined __stub___sched_yield
40778 choke me
40779 #endif
40780
40781 int
40782 main ()
40783 {
40784 return sched_yield ();
40785 ;
40786 return 0;
40787 }
40788 _ACEOF
40789 rm -f conftest.$ac_objext conftest$ac_exeext
40790 if { (ac_try="$ac_link"
40791 case "(($ac_try" in
40792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40793 *) ac_try_echo=$ac_try;;
40794 esac
40795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40796 (eval "$ac_link") 2>conftest.er1
40797 ac_status=$?
40798 grep -v '^ *+' conftest.er1 >conftest.err
40799 rm -f conftest.er1
40800 cat conftest.err >&5
40801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40802 (exit $ac_status); } && {
40803 test -z "$ac_c_werror_flag" ||
40804 test ! -s conftest.err
40805 } && test -s conftest$ac_exeext &&
40806 $as_test_x conftest$ac_exeext; then
40807 ac_cv_func_sched_yield=yes
40808 else
40809 echo "$as_me: failed program was:" >&5
40810 sed 's/^/| /' conftest.$ac_ext >&5
40811
40812 ac_cv_func_sched_yield=no
40813 fi
40814
40815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40816 conftest$ac_exeext conftest.$ac_ext
40817 fi
40818 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40819 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40820 if test $ac_cv_func_sched_yield = yes; then
40821 cat >>confdefs.h <<\_ACEOF
40822 #define HAVE_SCHED_YIELD 1
40823 _ACEOF
40824
40825 else
40826
40827 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40828 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40829 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40830 echo $ECHO_N "(cached) $ECHO_C" >&6
40831 else
40832 ac_check_lib_save_LIBS=$LIBS
40833 LIBS="-lposix4 $LIBS"
40834 cat >conftest.$ac_ext <<_ACEOF
40835 /* confdefs.h. */
40836 _ACEOF
40837 cat confdefs.h >>conftest.$ac_ext
40838 cat >>conftest.$ac_ext <<_ACEOF
40839 /* end confdefs.h. */
40840
40841 /* Override any GCC internal prototype to avoid an error.
40842 Use char because int might match the return type of a GCC
40843 builtin and then its argument prototype would still apply. */
40844 #ifdef __cplusplus
40845 extern "C"
40846 #endif
40847 char sched_yield ();
40848 int
40849 main ()
40850 {
40851 return sched_yield ();
40852 ;
40853 return 0;
40854 }
40855 _ACEOF
40856 rm -f conftest.$ac_objext conftest$ac_exeext
40857 if { (ac_try="$ac_link"
40858 case "(($ac_try" in
40859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40860 *) ac_try_echo=$ac_try;;
40861 esac
40862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40863 (eval "$ac_link") 2>conftest.er1
40864 ac_status=$?
40865 grep -v '^ *+' conftest.er1 >conftest.err
40866 rm -f conftest.er1
40867 cat conftest.err >&5
40868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869 (exit $ac_status); } && {
40870 test -z "$ac_c_werror_flag" ||
40871 test ! -s conftest.err
40872 } && test -s conftest$ac_exeext &&
40873 $as_test_x conftest$ac_exeext; then
40874 ac_cv_lib_posix4_sched_yield=yes
40875 else
40876 echo "$as_me: failed program was:" >&5
40877 sed 's/^/| /' conftest.$ac_ext >&5
40878
40879 ac_cv_lib_posix4_sched_yield=no
40880 fi
40881
40882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40883 conftest$ac_exeext conftest.$ac_ext
40884 LIBS=$ac_check_lib_save_LIBS
40885 fi
40886 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40887 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40888 if test $ac_cv_lib_posix4_sched_yield = yes; then
40889 cat >>confdefs.h <<\_ACEOF
40890 #define HAVE_SCHED_YIELD 1
40891 _ACEOF
40892 POSIX4_LINK=" -lposix4"
40893 else
40894 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40895 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40896
40897 fi
40898
40899
40900
40901 fi
40902
40903 fi
40904
40905 HAVE_PRIOR_FUNCS=0
40906 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40907 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40908 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40909 echo $ECHO_N "(cached) $ECHO_C" >&6
40910 else
40911 cat >conftest.$ac_ext <<_ACEOF
40912 /* confdefs.h. */
40913 _ACEOF
40914 cat confdefs.h >>conftest.$ac_ext
40915 cat >>conftest.$ac_ext <<_ACEOF
40916 /* end confdefs.h. */
40917 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40919 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40920
40921 /* System header to define __stub macros and hopefully few prototypes,
40922 which can conflict with char pthread_attr_getschedpolicy (); below.
40923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40924 <limits.h> exists even on freestanding compilers. */
40925
40926 #ifdef __STDC__
40927 # include <limits.h>
40928 #else
40929 # include <assert.h>
40930 #endif
40931
40932 #undef pthread_attr_getschedpolicy
40933
40934 /* Override any GCC internal prototype to avoid an error.
40935 Use char because int might match the return type of a GCC
40936 builtin and then its argument prototype would still apply. */
40937 #ifdef __cplusplus
40938 extern "C"
40939 #endif
40940 char pthread_attr_getschedpolicy ();
40941 /* The GNU C library defines this for functions which it implements
40942 to always fail with ENOSYS. Some functions are actually named
40943 something starting with __ and the normal name is an alias. */
40944 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40945 choke me
40946 #endif
40947
40948 int
40949 main ()
40950 {
40951 return pthread_attr_getschedpolicy ();
40952 ;
40953 return 0;
40954 }
40955 _ACEOF
40956 rm -f conftest.$ac_objext conftest$ac_exeext
40957 if { (ac_try="$ac_link"
40958 case "(($ac_try" in
40959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40960 *) ac_try_echo=$ac_try;;
40961 esac
40962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40963 (eval "$ac_link") 2>conftest.er1
40964 ac_status=$?
40965 grep -v '^ *+' conftest.er1 >conftest.err
40966 rm -f conftest.er1
40967 cat conftest.err >&5
40968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969 (exit $ac_status); } && {
40970 test -z "$ac_c_werror_flag" ||
40971 test ! -s conftest.err
40972 } && test -s conftest$ac_exeext &&
40973 $as_test_x conftest$ac_exeext; then
40974 ac_cv_func_pthread_attr_getschedpolicy=yes
40975 else
40976 echo "$as_me: failed program was:" >&5
40977 sed 's/^/| /' conftest.$ac_ext >&5
40978
40979 ac_cv_func_pthread_attr_getschedpolicy=no
40980 fi
40981
40982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40983 conftest$ac_exeext conftest.$ac_ext
40984 fi
40985 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40986 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40987 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40988 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40989 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40990 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40991 echo $ECHO_N "(cached) $ECHO_C" >&6
40992 else
40993 cat >conftest.$ac_ext <<_ACEOF
40994 /* confdefs.h. */
40995 _ACEOF
40996 cat confdefs.h >>conftest.$ac_ext
40997 cat >>conftest.$ac_ext <<_ACEOF
40998 /* end confdefs.h. */
40999 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41001 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41002
41003 /* System header to define __stub macros and hopefully few prototypes,
41004 which can conflict with char pthread_attr_setschedparam (); below.
41005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41006 <limits.h> exists even on freestanding compilers. */
41007
41008 #ifdef __STDC__
41009 # include <limits.h>
41010 #else
41011 # include <assert.h>
41012 #endif
41013
41014 #undef pthread_attr_setschedparam
41015
41016 /* Override any GCC internal prototype to avoid an error.
41017 Use char because int might match the return type of a GCC
41018 builtin and then its argument prototype would still apply. */
41019 #ifdef __cplusplus
41020 extern "C"
41021 #endif
41022 char pthread_attr_setschedparam ();
41023 /* The GNU C library defines this for functions which it implements
41024 to always fail with ENOSYS. Some functions are actually named
41025 something starting with __ and the normal name is an alias. */
41026 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41027 choke me
41028 #endif
41029
41030 int
41031 main ()
41032 {
41033 return pthread_attr_setschedparam ();
41034 ;
41035 return 0;
41036 }
41037 _ACEOF
41038 rm -f conftest.$ac_objext conftest$ac_exeext
41039 if { (ac_try="$ac_link"
41040 case "(($ac_try" in
41041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41042 *) ac_try_echo=$ac_try;;
41043 esac
41044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41045 (eval "$ac_link") 2>conftest.er1
41046 ac_status=$?
41047 grep -v '^ *+' conftest.er1 >conftest.err
41048 rm -f conftest.er1
41049 cat conftest.err >&5
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); } && {
41052 test -z "$ac_c_werror_flag" ||
41053 test ! -s conftest.err
41054 } && test -s conftest$ac_exeext &&
41055 $as_test_x conftest$ac_exeext; then
41056 ac_cv_func_pthread_attr_setschedparam=yes
41057 else
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.$ac_ext >&5
41060
41061 ac_cv_func_pthread_attr_setschedparam=no
41062 fi
41063
41064 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41065 conftest$ac_exeext conftest.$ac_ext
41066 fi
41067 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41068 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41069 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41070 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41071 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41072 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41073 echo $ECHO_N "(cached) $ECHO_C" >&6
41074 else
41075 cat >conftest.$ac_ext <<_ACEOF
41076 /* confdefs.h. */
41077 _ACEOF
41078 cat confdefs.h >>conftest.$ac_ext
41079 cat >>conftest.$ac_ext <<_ACEOF
41080 /* end confdefs.h. */
41081 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41083 #define sched_get_priority_max innocuous_sched_get_priority_max
41084
41085 /* System header to define __stub macros and hopefully few prototypes,
41086 which can conflict with char sched_get_priority_max (); below.
41087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41088 <limits.h> exists even on freestanding compilers. */
41089
41090 #ifdef __STDC__
41091 # include <limits.h>
41092 #else
41093 # include <assert.h>
41094 #endif
41095
41096 #undef sched_get_priority_max
41097
41098 /* Override any GCC internal prototype to avoid an error.
41099 Use char because int might match the return type of a GCC
41100 builtin and then its argument prototype would still apply. */
41101 #ifdef __cplusplus
41102 extern "C"
41103 #endif
41104 char sched_get_priority_max ();
41105 /* The GNU C library defines this for functions which it implements
41106 to always fail with ENOSYS. Some functions are actually named
41107 something starting with __ and the normal name is an alias. */
41108 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41109 choke me
41110 #endif
41111
41112 int
41113 main ()
41114 {
41115 return sched_get_priority_max ();
41116 ;
41117 return 0;
41118 }
41119 _ACEOF
41120 rm -f conftest.$ac_objext conftest$ac_exeext
41121 if { (ac_try="$ac_link"
41122 case "(($ac_try" in
41123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41124 *) ac_try_echo=$ac_try;;
41125 esac
41126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41127 (eval "$ac_link") 2>conftest.er1
41128 ac_status=$?
41129 grep -v '^ *+' conftest.er1 >conftest.err
41130 rm -f conftest.er1
41131 cat conftest.err >&5
41132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41133 (exit $ac_status); } && {
41134 test -z "$ac_c_werror_flag" ||
41135 test ! -s conftest.err
41136 } && test -s conftest$ac_exeext &&
41137 $as_test_x conftest$ac_exeext; then
41138 ac_cv_func_sched_get_priority_max=yes
41139 else
41140 echo "$as_me: failed program was:" >&5
41141 sed 's/^/| /' conftest.$ac_ext >&5
41142
41143 ac_cv_func_sched_get_priority_max=no
41144 fi
41145
41146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41147 conftest$ac_exeext conftest.$ac_ext
41148 fi
41149 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41150 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41151 if test $ac_cv_func_sched_get_priority_max = yes; then
41152 HAVE_PRIOR_FUNCS=1
41153 else
41154 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41155 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41156 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41157 echo $ECHO_N "(cached) $ECHO_C" >&6
41158 else
41159 ac_check_lib_save_LIBS=$LIBS
41160 LIBS="-lposix4 $LIBS"
41161 cat >conftest.$ac_ext <<_ACEOF
41162 /* confdefs.h. */
41163 _ACEOF
41164 cat confdefs.h >>conftest.$ac_ext
41165 cat >>conftest.$ac_ext <<_ACEOF
41166 /* end confdefs.h. */
41167
41168 /* Override any GCC internal prototype to avoid an error.
41169 Use char because int might match the return type of a GCC
41170 builtin and then its argument prototype would still apply. */
41171 #ifdef __cplusplus
41172 extern "C"
41173 #endif
41174 char sched_get_priority_max ();
41175 int
41176 main ()
41177 {
41178 return sched_get_priority_max ();
41179 ;
41180 return 0;
41181 }
41182 _ACEOF
41183 rm -f conftest.$ac_objext conftest$ac_exeext
41184 if { (ac_try="$ac_link"
41185 case "(($ac_try" in
41186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41187 *) ac_try_echo=$ac_try;;
41188 esac
41189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41190 (eval "$ac_link") 2>conftest.er1
41191 ac_status=$?
41192 grep -v '^ *+' conftest.er1 >conftest.err
41193 rm -f conftest.er1
41194 cat conftest.err >&5
41195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196 (exit $ac_status); } && {
41197 test -z "$ac_c_werror_flag" ||
41198 test ! -s conftest.err
41199 } && test -s conftest$ac_exeext &&
41200 $as_test_x conftest$ac_exeext; then
41201 ac_cv_lib_posix4_sched_get_priority_max=yes
41202 else
41203 echo "$as_me: failed program was:" >&5
41204 sed 's/^/| /' conftest.$ac_ext >&5
41205
41206 ac_cv_lib_posix4_sched_get_priority_max=no
41207 fi
41208
41209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41210 conftest$ac_exeext conftest.$ac_ext
41211 LIBS=$ac_check_lib_save_LIBS
41212 fi
41213 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41214 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41215 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41216
41217 HAVE_PRIOR_FUNCS=1
41218 POSIX4_LINK=" -lposix4"
41219
41220 fi
41221
41222
41223 fi
41224
41225
41226 fi
41227
41228
41229 fi
41230
41231
41232 if test "$HAVE_PRIOR_FUNCS" = 1; then
41233 cat >>confdefs.h <<\_ACEOF
41234 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41235 _ACEOF
41236
41237 else
41238 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41239 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41240 fi
41241
41242 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41243 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41244 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41245 echo $ECHO_N "(cached) $ECHO_C" >&6
41246 else
41247 cat >conftest.$ac_ext <<_ACEOF
41248 /* confdefs.h. */
41249 _ACEOF
41250 cat confdefs.h >>conftest.$ac_ext
41251 cat >>conftest.$ac_ext <<_ACEOF
41252 /* end confdefs.h. */
41253 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41255 #define pthread_cancel innocuous_pthread_cancel
41256
41257 /* System header to define __stub macros and hopefully few prototypes,
41258 which can conflict with char pthread_cancel (); below.
41259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41260 <limits.h> exists even on freestanding compilers. */
41261
41262 #ifdef __STDC__
41263 # include <limits.h>
41264 #else
41265 # include <assert.h>
41266 #endif
41267
41268 #undef pthread_cancel
41269
41270 /* Override any GCC internal prototype to avoid an error.
41271 Use char because int might match the return type of a GCC
41272 builtin and then its argument prototype would still apply. */
41273 #ifdef __cplusplus
41274 extern "C"
41275 #endif
41276 char pthread_cancel ();
41277 /* The GNU C library defines this for functions which it implements
41278 to always fail with ENOSYS. Some functions are actually named
41279 something starting with __ and the normal name is an alias. */
41280 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41281 choke me
41282 #endif
41283
41284 int
41285 main ()
41286 {
41287 return pthread_cancel ();
41288 ;
41289 return 0;
41290 }
41291 _ACEOF
41292 rm -f conftest.$ac_objext conftest$ac_exeext
41293 if { (ac_try="$ac_link"
41294 case "(($ac_try" in
41295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41296 *) ac_try_echo=$ac_try;;
41297 esac
41298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41299 (eval "$ac_link") 2>conftest.er1
41300 ac_status=$?
41301 grep -v '^ *+' conftest.er1 >conftest.err
41302 rm -f conftest.er1
41303 cat conftest.err >&5
41304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305 (exit $ac_status); } && {
41306 test -z "$ac_c_werror_flag" ||
41307 test ! -s conftest.err
41308 } && test -s conftest$ac_exeext &&
41309 $as_test_x conftest$ac_exeext; then
41310 ac_cv_func_pthread_cancel=yes
41311 else
41312 echo "$as_me: failed program was:" >&5
41313 sed 's/^/| /' conftest.$ac_ext >&5
41314
41315 ac_cv_func_pthread_cancel=no
41316 fi
41317
41318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41319 conftest$ac_exeext conftest.$ac_ext
41320 fi
41321 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41322 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41323 if test $ac_cv_func_pthread_cancel = yes; then
41324 cat >>confdefs.h <<\_ACEOF
41325 #define HAVE_PTHREAD_CANCEL 1
41326 _ACEOF
41327
41328 else
41329 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41330 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41331 fi
41332
41333
41334 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41335 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41336 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41337 echo $ECHO_N "(cached) $ECHO_C" >&6
41338 else
41339 cat >conftest.$ac_ext <<_ACEOF
41340 /* confdefs.h. */
41341 _ACEOF
41342 cat confdefs.h >>conftest.$ac_ext
41343 cat >>conftest.$ac_ext <<_ACEOF
41344 /* end confdefs.h. */
41345 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41347 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41348
41349 /* System header to define __stub macros and hopefully few prototypes,
41350 which can conflict with char pthread_attr_setstacksize (); below.
41351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41352 <limits.h> exists even on freestanding compilers. */
41353
41354 #ifdef __STDC__
41355 # include <limits.h>
41356 #else
41357 # include <assert.h>
41358 #endif
41359
41360 #undef pthread_attr_setstacksize
41361
41362 /* Override any GCC internal prototype to avoid an error.
41363 Use char because int might match the return type of a GCC
41364 builtin and then its argument prototype would still apply. */
41365 #ifdef __cplusplus
41366 extern "C"
41367 #endif
41368 char pthread_attr_setstacksize ();
41369 /* The GNU C library defines this for functions which it implements
41370 to always fail with ENOSYS. Some functions are actually named
41371 something starting with __ and the normal name is an alias. */
41372 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41373 choke me
41374 #endif
41375
41376 int
41377 main ()
41378 {
41379 return pthread_attr_setstacksize ();
41380 ;
41381 return 0;
41382 }
41383 _ACEOF
41384 rm -f conftest.$ac_objext conftest$ac_exeext
41385 if { (ac_try="$ac_link"
41386 case "(($ac_try" in
41387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41388 *) ac_try_echo=$ac_try;;
41389 esac
41390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41391 (eval "$ac_link") 2>conftest.er1
41392 ac_status=$?
41393 grep -v '^ *+' conftest.er1 >conftest.err
41394 rm -f conftest.er1
41395 cat conftest.err >&5
41396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41397 (exit $ac_status); } && {
41398 test -z "$ac_c_werror_flag" ||
41399 test ! -s conftest.err
41400 } && test -s conftest$ac_exeext &&
41401 $as_test_x conftest$ac_exeext; then
41402 ac_cv_func_pthread_attr_setstacksize=yes
41403 else
41404 echo "$as_me: failed program was:" >&5
41405 sed 's/^/| /' conftest.$ac_ext >&5
41406
41407 ac_cv_func_pthread_attr_setstacksize=no
41408 fi
41409
41410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41411 conftest$ac_exeext conftest.$ac_ext
41412 fi
41413 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41414 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41415 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41416 cat >>confdefs.h <<\_ACEOF
41417 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41418 _ACEOF
41419
41420 fi
41421
41422
41423
41424 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41425 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41426 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41427 echo $ECHO_N "(cached) $ECHO_C" >&6
41428 else
41429
41430 cat >conftest.$ac_ext <<_ACEOF
41431 /* confdefs.h. */
41432 _ACEOF
41433 cat confdefs.h >>conftest.$ac_ext
41434 cat >>conftest.$ac_ext <<_ACEOF
41435 /* end confdefs.h. */
41436 #include <pthread.h>
41437 int
41438 main ()
41439 {
41440
41441 pthread_mutexattr_t attr;
41442 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41443
41444 ;
41445 return 0;
41446 }
41447 _ACEOF
41448 rm -f conftest.$ac_objext
41449 if { (ac_try="$ac_compile"
41450 case "(($ac_try" in
41451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41452 *) ac_try_echo=$ac_try;;
41453 esac
41454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41455 (eval "$ac_compile") 2>conftest.er1
41456 ac_status=$?
41457 grep -v '^ *+' conftest.er1 >conftest.err
41458 rm -f conftest.er1
41459 cat conftest.err >&5
41460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41461 (exit $ac_status); } && {
41462 test -z "$ac_c_werror_flag" ||
41463 test ! -s conftest.err
41464 } && test -s conftest.$ac_objext; then
41465 wx_cv_type_pthread_mutexattr_t=yes
41466 else
41467 echo "$as_me: failed program was:" >&5
41468 sed 's/^/| /' conftest.$ac_ext >&5
41469
41470 wx_cv_type_pthread_mutexattr_t=no
41471
41472 fi
41473
41474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41475
41476 fi
41477 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41478 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41479
41480 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41481 cat >>confdefs.h <<\_ACEOF
41482 #define HAVE_PTHREAD_MUTEXATTR_T 1
41483 _ACEOF
41484
41485
41486 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41487 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41488 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41489 echo $ECHO_N "(cached) $ECHO_C" >&6
41490 else
41491
41492 cat >conftest.$ac_ext <<_ACEOF
41493 /* confdefs.h. */
41494 _ACEOF
41495 cat confdefs.h >>conftest.$ac_ext
41496 cat >>conftest.$ac_ext <<_ACEOF
41497 /* end confdefs.h. */
41498 #include <pthread.h>
41499 int
41500 main ()
41501 {
41502
41503 pthread_mutexattr_t attr;
41504 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41505
41506 ;
41507 return 0;
41508 }
41509 _ACEOF
41510 rm -f conftest.$ac_objext
41511 if { (ac_try="$ac_compile"
41512 case "(($ac_try" in
41513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41514 *) ac_try_echo=$ac_try;;
41515 esac
41516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41517 (eval "$ac_compile") 2>conftest.er1
41518 ac_status=$?
41519 grep -v '^ *+' conftest.er1 >conftest.err
41520 rm -f conftest.er1
41521 cat conftest.err >&5
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); } && {
41524 test -z "$ac_c_werror_flag" ||
41525 test ! -s conftest.err
41526 } && test -s conftest.$ac_objext; then
41527 wx_cv_func_pthread_mutexattr_settype_decl=yes
41528 else
41529 echo "$as_me: failed program was:" >&5
41530 sed 's/^/| /' conftest.$ac_ext >&5
41531
41532 wx_cv_func_pthread_mutexattr_settype_decl=no
41533
41534 fi
41535
41536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41537
41538 fi
41539 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41540 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41541 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41542 cat >>confdefs.h <<\_ACEOF
41543 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41544 _ACEOF
41545
41546 fi
41547 else
41548 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41549 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41550 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41551 echo $ECHO_N "(cached) $ECHO_C" >&6
41552 else
41553
41554 cat >conftest.$ac_ext <<_ACEOF
41555 /* confdefs.h. */
41556 _ACEOF
41557 cat confdefs.h >>conftest.$ac_ext
41558 cat >>conftest.$ac_ext <<_ACEOF
41559 /* end confdefs.h. */
41560 #include <pthread.h>
41561 int
41562 main ()
41563 {
41564
41565 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41566
41567 ;
41568 return 0;
41569 }
41570 _ACEOF
41571 rm -f conftest.$ac_objext
41572 if { (ac_try="$ac_compile"
41573 case "(($ac_try" in
41574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41575 *) ac_try_echo=$ac_try;;
41576 esac
41577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41578 (eval "$ac_compile") 2>conftest.er1
41579 ac_status=$?
41580 grep -v '^ *+' conftest.er1 >conftest.err
41581 rm -f conftest.er1
41582 cat conftest.err >&5
41583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41584 (exit $ac_status); } && {
41585 test -z "$ac_c_werror_flag" ||
41586 test ! -s conftest.err
41587 } && test -s conftest.$ac_objext; then
41588
41589 wx_cv_type_pthread_rec_mutex_init=yes
41590
41591 else
41592 echo "$as_me: failed program was:" >&5
41593 sed 's/^/| /' conftest.$ac_ext >&5
41594
41595
41596 wx_cv_type_pthread_rec_mutex_init=no
41597
41598
41599 fi
41600
41601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41602
41603 fi
41604 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41605 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41606 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41607 cat >>confdefs.h <<\_ACEOF
41608 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41609 _ACEOF
41610
41611 else
41612 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41613 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41614 fi
41615 fi
41616 fi
41617
41618 else
41619 if test "$wxUSE_THREADS" = "yes" ; then
41620 case "${host}" in
41621 *-*-mingw32* )
41622 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41623 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41624 if test "${wx_cv_cflags_mthread+set}" = set; then
41625 echo $ECHO_N "(cached) $ECHO_C" >&6
41626 else
41627
41628 CFLAGS_OLD="$CFLAGS"
41629 CFLAGS="-mthreads $CFLAGS"
41630 cat >conftest.$ac_ext <<_ACEOF
41631 /* confdefs.h. */
41632 _ACEOF
41633 cat confdefs.h >>conftest.$ac_ext
41634 cat >>conftest.$ac_ext <<_ACEOF
41635 /* end confdefs.h. */
41636
41637 int
41638 main ()
41639 {
41640
41641 ;
41642 return 0;
41643 }
41644 _ACEOF
41645 rm -f conftest.$ac_objext
41646 if { (ac_try="$ac_compile"
41647 case "(($ac_try" in
41648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41649 *) ac_try_echo=$ac_try;;
41650 esac
41651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41652 (eval "$ac_compile") 2>conftest.er1
41653 ac_status=$?
41654 grep -v '^ *+' conftest.er1 >conftest.err
41655 rm -f conftest.er1
41656 cat conftest.err >&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); } && {
41659 test -z "$ac_c_werror_flag" ||
41660 test ! -s conftest.err
41661 } && test -s conftest.$ac_objext; then
41662 wx_cv_cflags_mthread=yes
41663 else
41664 echo "$as_me: failed program was:" >&5
41665 sed 's/^/| /' conftest.$ac_ext >&5
41666
41667 wx_cv_cflags_mthread=no
41668
41669 fi
41670
41671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41672
41673
41674 fi
41675 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41676 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41677
41678 if test "$wx_cv_cflags_mthread" = "yes"; then
41679 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41680 LDFLAGS="$LDFLAGS -mthreads"
41681 else
41682 CFLAGS="$CFLAGS_OLD"
41683 fi
41684 ;;
41685 *-pc-os2*emx )
41686 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41687 LDFLAGS="$LDFLAGS -Zmt"
41688 ;;
41689 esac
41690 fi
41691 fi
41692
41693 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41694 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41695 if test "${ac_cv_func_localtime_r+set}" = set; then
41696 echo $ECHO_N "(cached) $ECHO_C" >&6
41697 else
41698 cat >conftest.$ac_ext <<_ACEOF
41699 /* confdefs.h. */
41700 _ACEOF
41701 cat confdefs.h >>conftest.$ac_ext
41702 cat >>conftest.$ac_ext <<_ACEOF
41703 /* end confdefs.h. */
41704 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41706 #define localtime_r innocuous_localtime_r
41707
41708 /* System header to define __stub macros and hopefully few prototypes,
41709 which can conflict with char localtime_r (); below.
41710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41711 <limits.h> exists even on freestanding compilers. */
41712
41713 #ifdef __STDC__
41714 # include <limits.h>
41715 #else
41716 # include <assert.h>
41717 #endif
41718
41719 #undef localtime_r
41720
41721 /* Override any GCC internal prototype to avoid an error.
41722 Use char because int might match the return type of a GCC
41723 builtin and then its argument prototype would still apply. */
41724 #ifdef __cplusplus
41725 extern "C"
41726 #endif
41727 char localtime_r ();
41728 /* The GNU C library defines this for functions which it implements
41729 to always fail with ENOSYS. Some functions are actually named
41730 something starting with __ and the normal name is an alias. */
41731 #if defined __stub_localtime_r || defined __stub___localtime_r
41732 choke me
41733 #endif
41734
41735 int
41736 main ()
41737 {
41738 return localtime_r ();
41739 ;
41740 return 0;
41741 }
41742 _ACEOF
41743 rm -f conftest.$ac_objext conftest$ac_exeext
41744 if { (ac_try="$ac_link"
41745 case "(($ac_try" in
41746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41747 *) ac_try_echo=$ac_try;;
41748 esac
41749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41750 (eval "$ac_link") 2>conftest.er1
41751 ac_status=$?
41752 grep -v '^ *+' conftest.er1 >conftest.err
41753 rm -f conftest.er1
41754 cat conftest.err >&5
41755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41756 (exit $ac_status); } && {
41757 test -z "$ac_c_werror_flag" ||
41758 test ! -s conftest.err
41759 } && test -s conftest$ac_exeext &&
41760 $as_test_x conftest$ac_exeext; then
41761 ac_cv_func_localtime_r=yes
41762 else
41763 echo "$as_me: failed program was:" >&5
41764 sed 's/^/| /' conftest.$ac_ext >&5
41765
41766 ac_cv_func_localtime_r=no
41767 fi
41768
41769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41770 conftest$ac_exeext conftest.$ac_ext
41771 fi
41772 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41773 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41774 if test $ac_cv_func_localtime_r = yes; then
41775 cat >>confdefs.h <<\_ACEOF
41776 #define HAVE_LOCALTIME_R 1
41777 _ACEOF
41778
41779 fi
41780
41781 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41782 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41783 if test "${ac_cv_func_gmtime_r+set}" = set; then
41784 echo $ECHO_N "(cached) $ECHO_C" >&6
41785 else
41786 cat >conftest.$ac_ext <<_ACEOF
41787 /* confdefs.h. */
41788 _ACEOF
41789 cat confdefs.h >>conftest.$ac_ext
41790 cat >>conftest.$ac_ext <<_ACEOF
41791 /* end confdefs.h. */
41792 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41794 #define gmtime_r innocuous_gmtime_r
41795
41796 /* System header to define __stub macros and hopefully few prototypes,
41797 which can conflict with char gmtime_r (); below.
41798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41799 <limits.h> exists even on freestanding compilers. */
41800
41801 #ifdef __STDC__
41802 # include <limits.h>
41803 #else
41804 # include <assert.h>
41805 #endif
41806
41807 #undef gmtime_r
41808
41809 /* Override any GCC internal prototype to avoid an error.
41810 Use char because int might match the return type of a GCC
41811 builtin and then its argument prototype would still apply. */
41812 #ifdef __cplusplus
41813 extern "C"
41814 #endif
41815 char gmtime_r ();
41816 /* The GNU C library defines this for functions which it implements
41817 to always fail with ENOSYS. Some functions are actually named
41818 something starting with __ and the normal name is an alias. */
41819 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41820 choke me
41821 #endif
41822
41823 int
41824 main ()
41825 {
41826 return gmtime_r ();
41827 ;
41828 return 0;
41829 }
41830 _ACEOF
41831 rm -f conftest.$ac_objext conftest$ac_exeext
41832 if { (ac_try="$ac_link"
41833 case "(($ac_try" in
41834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41835 *) ac_try_echo=$ac_try;;
41836 esac
41837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41838 (eval "$ac_link") 2>conftest.er1
41839 ac_status=$?
41840 grep -v '^ *+' conftest.er1 >conftest.err
41841 rm -f conftest.er1
41842 cat conftest.err >&5
41843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41844 (exit $ac_status); } && {
41845 test -z "$ac_c_werror_flag" ||
41846 test ! -s conftest.err
41847 } && test -s conftest$ac_exeext &&
41848 $as_test_x conftest$ac_exeext; then
41849 ac_cv_func_gmtime_r=yes
41850 else
41851 echo "$as_me: failed program was:" >&5
41852 sed 's/^/| /' conftest.$ac_ext >&5
41853
41854 ac_cv_func_gmtime_r=no
41855 fi
41856
41857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41858 conftest$ac_exeext conftest.$ac_ext
41859 fi
41860 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41861 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41862 if test $ac_cv_func_gmtime_r = yes; then
41863 cat >>confdefs.h <<\_ACEOF
41864 #define HAVE_GMTIME_R 1
41865 _ACEOF
41866
41867 fi
41868
41869 { echo "$as_me:$LINENO: checking for readdir_r" >&5
41870 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
41871 if test "${ac_cv_func_readdir_r+set}" = set; then
41872 echo $ECHO_N "(cached) $ECHO_C" >&6
41873 else
41874 cat >conftest.$ac_ext <<_ACEOF
41875 /* confdefs.h. */
41876 _ACEOF
41877 cat confdefs.h >>conftest.$ac_ext
41878 cat >>conftest.$ac_ext <<_ACEOF
41879 /* end confdefs.h. */
41880 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41882 #define readdir_r innocuous_readdir_r
41883
41884 /* System header to define __stub macros and hopefully few prototypes,
41885 which can conflict with char readdir_r (); below.
41886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41887 <limits.h> exists even on freestanding compilers. */
41888
41889 #ifdef __STDC__
41890 # include <limits.h>
41891 #else
41892 # include <assert.h>
41893 #endif
41894
41895 #undef readdir_r
41896
41897 /* Override any GCC internal prototype to avoid an error.
41898 Use char because int might match the return type of a GCC
41899 builtin and then its argument prototype would still apply. */
41900 #ifdef __cplusplus
41901 extern "C"
41902 #endif
41903 char readdir_r ();
41904 /* The GNU C library defines this for functions which it implements
41905 to always fail with ENOSYS. Some functions are actually named
41906 something starting with __ and the normal name is an alias. */
41907 #if defined __stub_readdir_r || defined __stub___readdir_r
41908 choke me
41909 #endif
41910
41911 int
41912 main ()
41913 {
41914 return readdir_r ();
41915 ;
41916 return 0;
41917 }
41918 _ACEOF
41919 rm -f conftest.$ac_objext conftest$ac_exeext
41920 if { (ac_try="$ac_link"
41921 case "(($ac_try" in
41922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41923 *) ac_try_echo=$ac_try;;
41924 esac
41925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41926 (eval "$ac_link") 2>conftest.er1
41927 ac_status=$?
41928 grep -v '^ *+' conftest.er1 >conftest.err
41929 rm -f conftest.er1
41930 cat conftest.err >&5
41931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41932 (exit $ac_status); } && {
41933 test -z "$ac_c_werror_flag" ||
41934 test ! -s conftest.err
41935 } && test -s conftest$ac_exeext &&
41936 $as_test_x conftest$ac_exeext; then
41937 ac_cv_func_readdir_r=yes
41938 else
41939 echo "$as_me: failed program was:" >&5
41940 sed 's/^/| /' conftest.$ac_ext >&5
41941
41942 ac_cv_func_readdir_r=no
41943 fi
41944
41945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41946 conftest$ac_exeext conftest.$ac_ext
41947 fi
41948 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41949 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
41950 if test $ac_cv_func_readdir_r = yes; then
41951 cat >>confdefs.h <<\_ACEOF
41952 #define HAVE_READDIR_R 1
41953 _ACEOF
41954
41955 fi
41956
41957
41958
41959
41960 ac_ext=c
41961 ac_cpp='$CPP $CPPFLAGS'
41962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41965
41966 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41967 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41968
41969 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41970 echo $ECHO_N "(cached) $ECHO_C" >&6
41971 else
41972
41973
41974 ################################################################
41975
41976 ac_cv_func_which_gethostbyname_r=unknown
41977
41978 #
41979 # ONE ARGUMENT (sanity check)
41980 #
41981
41982 # This should fail, as there is no variant of gethostbyname_r() that takes
41983 # a single argument. If it actually compiles, then we can assume that
41984 # netdb.h is not declaring the function, and the compiler is thereby
41985 # assuming an implicit prototype. In which case, we're out of luck.
41986 #
41987 cat >conftest.$ac_ext <<_ACEOF
41988 /* confdefs.h. */
41989 _ACEOF
41990 cat confdefs.h >>conftest.$ac_ext
41991 cat >>conftest.$ac_ext <<_ACEOF
41992 /* end confdefs.h. */
41993 #include <netdb.h>
41994 int
41995 main ()
41996 {
41997
41998 char *name = "www.gnu.org";
41999 (void)gethostbyname_r(name) /* ; */
42000
42001 ;
42002 return 0;
42003 }
42004 _ACEOF
42005 rm -f conftest.$ac_objext
42006 if { (ac_try="$ac_compile"
42007 case "(($ac_try" in
42008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42009 *) ac_try_echo=$ac_try;;
42010 esac
42011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42012 (eval "$ac_compile") 2>conftest.er1
42013 ac_status=$?
42014 grep -v '^ *+' conftest.er1 >conftest.err
42015 rm -f conftest.er1
42016 cat conftest.err >&5
42017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42018 (exit $ac_status); } && {
42019 test -z "$ac_c_werror_flag" ||
42020 test ! -s conftest.err
42021 } && test -s conftest.$ac_objext; then
42022 ac_cv_func_which_gethostbyname_r=no
42023 else
42024 echo "$as_me: failed program was:" >&5
42025 sed 's/^/| /' conftest.$ac_ext >&5
42026
42027
42028 fi
42029
42030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42031
42032 #
42033 # SIX ARGUMENTS
42034 # (e.g. Linux)
42035 #
42036
42037 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42038
42039 cat >conftest.$ac_ext <<_ACEOF
42040 /* confdefs.h. */
42041 _ACEOF
42042 cat confdefs.h >>conftest.$ac_ext
42043 cat >>conftest.$ac_ext <<_ACEOF
42044 /* end confdefs.h. */
42045 #include <netdb.h>
42046 int
42047 main ()
42048 {
42049
42050 char *name = "www.gnu.org";
42051 struct hostent ret, *retp;
42052 char buf[1024];
42053 int buflen = 1024;
42054 int my_h_errno;
42055 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42056
42057 ;
42058 return 0;
42059 }
42060 _ACEOF
42061 rm -f conftest.$ac_objext
42062 if { (ac_try="$ac_compile"
42063 case "(($ac_try" in
42064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42065 *) ac_try_echo=$ac_try;;
42066 esac
42067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42068 (eval "$ac_compile") 2>conftest.er1
42069 ac_status=$?
42070 grep -v '^ *+' conftest.er1 >conftest.err
42071 rm -f conftest.er1
42072 cat conftest.err >&5
42073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42074 (exit $ac_status); } && {
42075 test -z "$ac_c_werror_flag" ||
42076 test ! -s conftest.err
42077 } && test -s conftest.$ac_objext; then
42078 ac_cv_func_which_gethostbyname_r=six
42079 else
42080 echo "$as_me: failed program was:" >&5
42081 sed 's/^/| /' conftest.$ac_ext >&5
42082
42083
42084 fi
42085
42086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42087
42088 fi
42089
42090 #
42091 # FIVE ARGUMENTS
42092 # (e.g. Solaris)
42093 #
42094
42095 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42096
42097 cat >conftest.$ac_ext <<_ACEOF
42098 /* confdefs.h. */
42099 _ACEOF
42100 cat confdefs.h >>conftest.$ac_ext
42101 cat >>conftest.$ac_ext <<_ACEOF
42102 /* end confdefs.h. */
42103 #include <netdb.h>
42104 int
42105 main ()
42106 {
42107
42108 char *name = "www.gnu.org";
42109 struct hostent ret;
42110 char buf[1024];
42111 int buflen = 1024;
42112 int my_h_errno;
42113 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42114
42115 ;
42116 return 0;
42117 }
42118 _ACEOF
42119 rm -f conftest.$ac_objext
42120 if { (ac_try="$ac_compile"
42121 case "(($ac_try" in
42122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42123 *) ac_try_echo=$ac_try;;
42124 esac
42125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42126 (eval "$ac_compile") 2>conftest.er1
42127 ac_status=$?
42128 grep -v '^ *+' conftest.er1 >conftest.err
42129 rm -f conftest.er1
42130 cat conftest.err >&5
42131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42132 (exit $ac_status); } && {
42133 test -z "$ac_c_werror_flag" ||
42134 test ! -s conftest.err
42135 } && test -s conftest.$ac_objext; then
42136 ac_cv_func_which_gethostbyname_r=five
42137 else
42138 echo "$as_me: failed program was:" >&5
42139 sed 's/^/| /' conftest.$ac_ext >&5
42140
42141
42142 fi
42143
42144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42145
42146 fi
42147
42148 #
42149 # THREE ARGUMENTS
42150 # (e.g. AIX, HP-UX, Tru64)
42151 #
42152
42153 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42154
42155 cat >conftest.$ac_ext <<_ACEOF
42156 /* confdefs.h. */
42157 _ACEOF
42158 cat confdefs.h >>conftest.$ac_ext
42159 cat >>conftest.$ac_ext <<_ACEOF
42160 /* end confdefs.h. */
42161 #include <netdb.h>
42162 int
42163 main ()
42164 {
42165
42166 char *name = "www.gnu.org";
42167 struct hostent ret;
42168 struct hostent_data data;
42169 (void)gethostbyname_r(name, &ret, &data) /* ; */
42170
42171 ;
42172 return 0;
42173 }
42174 _ACEOF
42175 rm -f conftest.$ac_objext
42176 if { (ac_try="$ac_compile"
42177 case "(($ac_try" in
42178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42179 *) ac_try_echo=$ac_try;;
42180 esac
42181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42182 (eval "$ac_compile") 2>conftest.er1
42183 ac_status=$?
42184 grep -v '^ *+' conftest.er1 >conftest.err
42185 rm -f conftest.er1
42186 cat conftest.err >&5
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); } && {
42189 test -z "$ac_c_werror_flag" ||
42190 test ! -s conftest.err
42191 } && test -s conftest.$ac_objext; then
42192 ac_cv_func_which_gethostbyname_r=three
42193 else
42194 echo "$as_me: failed program was:" >&5
42195 sed 's/^/| /' conftest.$ac_ext >&5
42196
42197
42198 fi
42199
42200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42201
42202 fi
42203
42204 ################################################################
42205
42206
42207 fi
42208
42209 case "$ac_cv_func_which_gethostbyname_r" in
42210 three)
42211 { echo "$as_me:$LINENO: result: three" >&5
42212 echo "${ECHO_T}three" >&6; }
42213 cat >>confdefs.h <<\_ACEOF
42214 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42215 _ACEOF
42216
42217 ;;
42218
42219 five)
42220 { echo "$as_me:$LINENO: result: five" >&5
42221 echo "${ECHO_T}five" >&6; }
42222 cat >>confdefs.h <<\_ACEOF
42223 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42224 _ACEOF
42225
42226 ;;
42227
42228 six)
42229 { echo "$as_me:$LINENO: result: six" >&5
42230 echo "${ECHO_T}six" >&6; }
42231 cat >>confdefs.h <<\_ACEOF
42232 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42233 _ACEOF
42234
42235 ;;
42236
42237 no)
42238 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42239 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42240 ;;
42241
42242 unknown)
42243 { echo "$as_me:$LINENO: result: can't tell" >&5
42244 echo "${ECHO_T}can't tell" >&6; }
42245 ;;
42246
42247 *)
42248 { { echo "$as_me:$LINENO: error: internal error" >&5
42249 echo "$as_me: error: internal error" >&2;}
42250 { (exit 1); exit 1; }; }
42251 ;;
42252 esac
42253
42254 ac_ext=c
42255 ac_cpp='$CPP $CPPFLAGS'
42256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42259
42260
42261
42262 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42263 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42264 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42265 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42266 if test "${ac_cv_func_gethostbyname+set}" = set; then
42267 echo $ECHO_N "(cached) $ECHO_C" >&6
42268 else
42269 cat >conftest.$ac_ext <<_ACEOF
42270 /* confdefs.h. */
42271 _ACEOF
42272 cat confdefs.h >>conftest.$ac_ext
42273 cat >>conftest.$ac_ext <<_ACEOF
42274 /* end confdefs.h. */
42275 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42277 #define gethostbyname innocuous_gethostbyname
42278
42279 /* System header to define __stub macros and hopefully few prototypes,
42280 which can conflict with char gethostbyname (); below.
42281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42282 <limits.h> exists even on freestanding compilers. */
42283
42284 #ifdef __STDC__
42285 # include <limits.h>
42286 #else
42287 # include <assert.h>
42288 #endif
42289
42290 #undef gethostbyname
42291
42292 /* Override any GCC internal prototype to avoid an error.
42293 Use char because int might match the return type of a GCC
42294 builtin and then its argument prototype would still apply. */
42295 #ifdef __cplusplus
42296 extern "C"
42297 #endif
42298 char gethostbyname ();
42299 /* The GNU C library defines this for functions which it implements
42300 to always fail with ENOSYS. Some functions are actually named
42301 something starting with __ and the normal name is an alias. */
42302 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42303 choke me
42304 #endif
42305
42306 int
42307 main ()
42308 {
42309 return gethostbyname ();
42310 ;
42311 return 0;
42312 }
42313 _ACEOF
42314 rm -f conftest.$ac_objext conftest$ac_exeext
42315 if { (ac_try="$ac_link"
42316 case "(($ac_try" in
42317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42318 *) ac_try_echo=$ac_try;;
42319 esac
42320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42321 (eval "$ac_link") 2>conftest.er1
42322 ac_status=$?
42323 grep -v '^ *+' conftest.er1 >conftest.err
42324 rm -f conftest.er1
42325 cat conftest.err >&5
42326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327 (exit $ac_status); } && {
42328 test -z "$ac_c_werror_flag" ||
42329 test ! -s conftest.err
42330 } && test -s conftest$ac_exeext &&
42331 $as_test_x conftest$ac_exeext; then
42332 ac_cv_func_gethostbyname=yes
42333 else
42334 echo "$as_me: failed program was:" >&5
42335 sed 's/^/| /' conftest.$ac_ext >&5
42336
42337 ac_cv_func_gethostbyname=no
42338 fi
42339
42340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42341 conftest$ac_exeext conftest.$ac_ext
42342 fi
42343 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42344 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42345 if test $ac_cv_func_gethostbyname = yes; then
42346 cat >>confdefs.h <<\_ACEOF
42347 #define HAVE_GETHOSTBYNAME 1
42348 _ACEOF
42349
42350 fi
42351
42352 fi
42353
42354 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42355 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42356 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42357 echo $ECHO_N "(cached) $ECHO_C" >&6
42358 else
42359
42360 ac_ext=cpp
42361 ac_cpp='$CXXCPP $CPPFLAGS'
42362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42365
42366
42367 cat >conftest.$ac_ext <<_ACEOF
42368 /* confdefs.h. */
42369 _ACEOF
42370 cat confdefs.h >>conftest.$ac_ext
42371 cat >>conftest.$ac_ext <<_ACEOF
42372 /* end confdefs.h. */
42373 #include <netdb.h>
42374 int
42375 main ()
42376 {
42377
42378 char *name;
42379 char *proto;
42380 struct servent *se, *res;
42381 char buffer[2048];
42382 int buflen = 2048;
42383 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42384
42385 ;
42386 return 0;
42387 }
42388 _ACEOF
42389 rm -f conftest.$ac_objext
42390 if { (ac_try="$ac_compile"
42391 case "(($ac_try" in
42392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42393 *) ac_try_echo=$ac_try;;
42394 esac
42395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42396 (eval "$ac_compile") 2>conftest.er1
42397 ac_status=$?
42398 grep -v '^ *+' conftest.er1 >conftest.err
42399 rm -f conftest.er1
42400 cat conftest.err >&5
42401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42402 (exit $ac_status); } && {
42403 test -z "$ac_cxx_werror_flag" ||
42404 test ! -s conftest.err
42405 } && test -s conftest.$ac_objext; then
42406 ac_cv_func_which_getservbyname_r=six
42407 else
42408 echo "$as_me: failed program was:" >&5
42409 sed 's/^/| /' conftest.$ac_ext >&5
42410
42411
42412 cat >conftest.$ac_ext <<_ACEOF
42413 /* confdefs.h. */
42414 _ACEOF
42415 cat confdefs.h >>conftest.$ac_ext
42416 cat >>conftest.$ac_ext <<_ACEOF
42417 /* end confdefs.h. */
42418 #include <netdb.h>
42419 int
42420 main ()
42421 {
42422
42423 char *name;
42424 char *proto;
42425 struct servent *se;
42426 char buffer[2048];
42427 int buflen = 2048;
42428 (void) getservbyname_r(name, proto, se, buffer, buflen)
42429
42430 ;
42431 return 0;
42432 }
42433 _ACEOF
42434 rm -f conftest.$ac_objext
42435 if { (ac_try="$ac_compile"
42436 case "(($ac_try" in
42437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42438 *) ac_try_echo=$ac_try;;
42439 esac
42440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42441 (eval "$ac_compile") 2>conftest.er1
42442 ac_status=$?
42443 grep -v '^ *+' conftest.er1 >conftest.err
42444 rm -f conftest.er1
42445 cat conftest.err >&5
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); } && {
42448 test -z "$ac_cxx_werror_flag" ||
42449 test ! -s conftest.err
42450 } && test -s conftest.$ac_objext; then
42451 ac_cv_func_which_getservbyname_r=five
42452 else
42453 echo "$as_me: failed program was:" >&5
42454 sed 's/^/| /' conftest.$ac_ext >&5
42455
42456
42457 cat >conftest.$ac_ext <<_ACEOF
42458 /* confdefs.h. */
42459 _ACEOF
42460 cat confdefs.h >>conftest.$ac_ext
42461 cat >>conftest.$ac_ext <<_ACEOF
42462 /* end confdefs.h. */
42463 #include <netdb.h>
42464 int
42465 main ()
42466 {
42467
42468 char *name;
42469 char *proto;
42470 struct servent *se;
42471 struct servent_data data;
42472 (void) getservbyname_r(name, proto, se, &data);
42473
42474 ;
42475 return 0;
42476 }
42477 _ACEOF
42478 rm -f conftest.$ac_objext
42479 if { (ac_try="$ac_compile"
42480 case "(($ac_try" in
42481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42482 *) ac_try_echo=$ac_try;;
42483 esac
42484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42485 (eval "$ac_compile") 2>conftest.er1
42486 ac_status=$?
42487 grep -v '^ *+' conftest.er1 >conftest.err
42488 rm -f conftest.er1
42489 cat conftest.err >&5
42490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42491 (exit $ac_status); } && {
42492 test -z "$ac_cxx_werror_flag" ||
42493 test ! -s conftest.err
42494 } && test -s conftest.$ac_objext; then
42495 ac_cv_func_which_getservbyname_r=four
42496 else
42497 echo "$as_me: failed program was:" >&5
42498 sed 's/^/| /' conftest.$ac_ext >&5
42499
42500 ac_cv_func_which_getservbyname_r=no
42501
42502 fi
42503
42504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42505
42506
42507 fi
42508
42509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42510
42511
42512 fi
42513
42514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42515 ac_ext=c
42516 ac_cpp='$CPP $CPPFLAGS'
42517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42520
42521
42522
42523 fi
42524 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42525 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42526
42527 if test $ac_cv_func_which_getservbyname_r = six; then
42528 cat >>confdefs.h <<\_ACEOF
42529 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42530 _ACEOF
42531
42532 elif test $ac_cv_func_which_getservbyname_r = five; then
42533 cat >>confdefs.h <<\_ACEOF
42534 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42535 _ACEOF
42536
42537 elif test $ac_cv_func_which_getservbyname_r = four; then
42538 cat >>confdefs.h <<\_ACEOF
42539 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42540 _ACEOF
42541
42542 fi
42543
42544
42545 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42546 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42547
42548 for ac_func in getservbyname
42549 do
42550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42551 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42553 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42554 echo $ECHO_N "(cached) $ECHO_C" >&6
42555 else
42556 cat >conftest.$ac_ext <<_ACEOF
42557 /* confdefs.h. */
42558 _ACEOF
42559 cat confdefs.h >>conftest.$ac_ext
42560 cat >>conftest.$ac_ext <<_ACEOF
42561 /* end confdefs.h. */
42562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42564 #define $ac_func innocuous_$ac_func
42565
42566 /* System header to define __stub macros and hopefully few prototypes,
42567 which can conflict with char $ac_func (); below.
42568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42569 <limits.h> exists even on freestanding compilers. */
42570
42571 #ifdef __STDC__
42572 # include <limits.h>
42573 #else
42574 # include <assert.h>
42575 #endif
42576
42577 #undef $ac_func
42578
42579 /* Override any GCC internal prototype to avoid an error.
42580 Use char because int might match the return type of a GCC
42581 builtin and then its argument prototype would still apply. */
42582 #ifdef __cplusplus
42583 extern "C"
42584 #endif
42585 char $ac_func ();
42586 /* The GNU C library defines this for functions which it implements
42587 to always fail with ENOSYS. Some functions are actually named
42588 something starting with __ and the normal name is an alias. */
42589 #if defined __stub_$ac_func || defined __stub___$ac_func
42590 choke me
42591 #endif
42592
42593 int
42594 main ()
42595 {
42596 return $ac_func ();
42597 ;
42598 return 0;
42599 }
42600 _ACEOF
42601 rm -f conftest.$ac_objext conftest$ac_exeext
42602 if { (ac_try="$ac_link"
42603 case "(($ac_try" in
42604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42605 *) ac_try_echo=$ac_try;;
42606 esac
42607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42608 (eval "$ac_link") 2>conftest.er1
42609 ac_status=$?
42610 grep -v '^ *+' conftest.er1 >conftest.err
42611 rm -f conftest.er1
42612 cat conftest.err >&5
42613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42614 (exit $ac_status); } && {
42615 test -z "$ac_c_werror_flag" ||
42616 test ! -s conftest.err
42617 } && test -s conftest$ac_exeext &&
42618 $as_test_x conftest$ac_exeext; then
42619 eval "$as_ac_var=yes"
42620 else
42621 echo "$as_me: failed program was:" >&5
42622 sed 's/^/| /' conftest.$ac_ext >&5
42623
42624 eval "$as_ac_var=no"
42625 fi
42626
42627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42628 conftest$ac_exeext conftest.$ac_ext
42629 fi
42630 ac_res=`eval echo '${'$as_ac_var'}'`
42631 { echo "$as_me:$LINENO: result: $ac_res" >&5
42632 echo "${ECHO_T}$ac_res" >&6; }
42633 if test `eval echo '${'$as_ac_var'}'` = yes; then
42634 cat >>confdefs.h <<_ACEOF
42635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42636 _ACEOF
42637 cat >>confdefs.h <<\_ACEOF
42638 #define HAVE_GETSERVBYNAME 1
42639 _ACEOF
42640
42641 fi
42642 done
42643
42644 fi
42645
42646 if test "$wxUSE_THREADS" = "yes"; then
42647 cat >>confdefs.h <<\_ACEOF
42648 #define wxUSE_THREADS 1
42649 _ACEOF
42650
42651
42652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42653 else
42654 if test "$wx_cv_func_strtok_r" = "yes"; then
42655 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42656 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42657 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42658 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42659 { echo "$as_me:$LINENO: result: yes" >&5
42660 echo "${ECHO_T}yes" >&6; }
42661 else
42662 { echo "$as_me:$LINENO: result: no" >&5
42663 echo "${ECHO_T}no" >&6; }
42664 fi
42665 fi
42666 fi
42667
42668 if test "$WXGTK20" = 1 ; then
42669 cat >>confdefs.h <<_ACEOF
42670 #define __WXGTK20__ $WXGTK20
42671 _ACEOF
42672
42673 WXGTK12=1
42674 fi
42675
42676 if test "$WXGTK12" = 1 ; then
42677 cat >>confdefs.h <<_ACEOF
42678 #define __WXGTK12__ $WXGTK12
42679 _ACEOF
42680
42681 fi
42682
42683 if test "$WXGTK127" = 1 ; then
42684 cat >>confdefs.h <<_ACEOF
42685 #define __WXGTK127__ $WXGTK127
42686 _ACEOF
42687
42688 fi
42689
42690 if test "$WXGPE" = 1 ; then
42691 cat >>confdefs.h <<_ACEOF
42692 #define __WXGPE__ $WXGPE
42693 _ACEOF
42694
42695 fi
42696
42697 DEBUG_CFLAGS=
42698 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42699 DEBUG_CFLAGS="-g"
42700 wxUSE_OPTIMISE=no
42701 fi
42702
42703 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42704 wxUSE_DEBUG_INFO=yes
42705 if test "$GCC" = yes; then
42706 DEBUG_CFLAGS="-ggdb"
42707 fi
42708 fi
42709
42710 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42711 cat >>confdefs.h <<\_ACEOF
42712 #define WXDEBUG 1
42713 _ACEOF
42714
42715 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42716 else
42717 if test "$wxUSE_GTK" = 1 ; then
42718 if test "x$wxGTK_VERSION" = "x1" ; then
42719 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42720 fi
42721 fi
42722 fi
42723
42724 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42725 cat >>confdefs.h <<\_ACEOF
42726 #define wxUSE_MEMORY_TRACING 1
42727 _ACEOF
42728
42729 cat >>confdefs.h <<\_ACEOF
42730 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42731 _ACEOF
42732
42733 cat >>confdefs.h <<\_ACEOF
42734 #define wxUSE_DEBUG_NEW_ALWAYS 1
42735 _ACEOF
42736
42737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42738 fi
42739
42740 if test "$wxUSE_DMALLOC" = "yes" ; then
42741 DMALLOC_LIBS="-ldmallocthcxx"
42742 fi
42743
42744 PROFILE_FLAGS=
42745 if test "$wxUSE_PROFILE" = "yes" ; then
42746 PROFILE_FLAGS=" -pg"
42747 fi
42748
42749 if test "$GCC" = "yes" ; then
42750 if test "$wxUSE_NO_RTTI" = "yes" ; then
42751 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42752 fi
42753 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42754 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42755 fi
42756 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42757 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42758 fi
42759
42760 case "${host}" in
42761 powerpc*-*-aix* )
42762 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42763 ;;
42764 *-hppa* )
42765 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42766 ;;
42767 esac
42768 fi
42769
42770 OPTIMISE_CFLAGS=
42771 if test "$wxUSE_OPTIMISE" = "no" ; then
42772 if test "$GCC" = yes ; then
42773 OPTIMISE_CFLAGS="-O0"
42774 fi
42775 else
42776 if test "$GCC" = yes ; then
42777 case "${host}" in
42778 *-pc-os2_emx | *-pc-os2-emx )
42779 OPTIMISE_CFLAGS="-O2"
42780 ;;
42781 *)
42782 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42783 ;;
42784 esac
42785 else
42786 OPTIMISE_CFLAGS="-O"
42787 fi
42788 fi
42789
42790
42791 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42792 cat >>confdefs.h <<\_ACEOF
42793 #define WXWIN_COMPATIBILITY_2_6 1
42794 _ACEOF
42795
42796
42797 WXWIN_COMPATIBILITY_2_8="yes"
42798 fi
42799
42800 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42801 cat >>confdefs.h <<\_ACEOF
42802 #define WXWIN_COMPATIBILITY_2_8 1
42803 _ACEOF
42804
42805 fi
42806
42807
42808 if test "$wxUSE_GUI" = "yes"; then
42809 cat >>confdefs.h <<\_ACEOF
42810 #define wxUSE_GUI 1
42811 _ACEOF
42812
42813
42814 fi
42815
42816
42817 if test "$wxUSE_UNIX" = "yes"; then
42818 cat >>confdefs.h <<\_ACEOF
42819 #define wxUSE_UNIX 1
42820 _ACEOF
42821
42822 fi
42823
42824
42825 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42826
42827 HAVE_DL_FUNCS=0
42828 HAVE_SHL_FUNCS=0
42829 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42830 if test "$USE_DARWIN" = 1; then
42831 HAVE_DL_FUNCS=1
42832 elif test "$USE_DOS" = 1; then
42833 HAVE_DL_FUNCS=0
42834 else
42835
42836 for ac_func in dlopen
42837 do
42838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42839 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42841 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42842 echo $ECHO_N "(cached) $ECHO_C" >&6
42843 else
42844 cat >conftest.$ac_ext <<_ACEOF
42845 /* confdefs.h. */
42846 _ACEOF
42847 cat confdefs.h >>conftest.$ac_ext
42848 cat >>conftest.$ac_ext <<_ACEOF
42849 /* end confdefs.h. */
42850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42852 #define $ac_func innocuous_$ac_func
42853
42854 /* System header to define __stub macros and hopefully few prototypes,
42855 which can conflict with char $ac_func (); below.
42856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42857 <limits.h> exists even on freestanding compilers. */
42858
42859 #ifdef __STDC__
42860 # include <limits.h>
42861 #else
42862 # include <assert.h>
42863 #endif
42864
42865 #undef $ac_func
42866
42867 /* Override any GCC internal prototype to avoid an error.
42868 Use char because int might match the return type of a GCC
42869 builtin and then its argument prototype would still apply. */
42870 #ifdef __cplusplus
42871 extern "C"
42872 #endif
42873 char $ac_func ();
42874 /* The GNU C library defines this for functions which it implements
42875 to always fail with ENOSYS. Some functions are actually named
42876 something starting with __ and the normal name is an alias. */
42877 #if defined __stub_$ac_func || defined __stub___$ac_func
42878 choke me
42879 #endif
42880
42881 int
42882 main ()
42883 {
42884 return $ac_func ();
42885 ;
42886 return 0;
42887 }
42888 _ACEOF
42889 rm -f conftest.$ac_objext conftest$ac_exeext
42890 if { (ac_try="$ac_link"
42891 case "(($ac_try" in
42892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42893 *) ac_try_echo=$ac_try;;
42894 esac
42895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42896 (eval "$ac_link") 2>conftest.er1
42897 ac_status=$?
42898 grep -v '^ *+' conftest.er1 >conftest.err
42899 rm -f conftest.er1
42900 cat conftest.err >&5
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); } && {
42903 test -z "$ac_c_werror_flag" ||
42904 test ! -s conftest.err
42905 } && test -s conftest$ac_exeext &&
42906 $as_test_x conftest$ac_exeext; then
42907 eval "$as_ac_var=yes"
42908 else
42909 echo "$as_me: failed program was:" >&5
42910 sed 's/^/| /' conftest.$ac_ext >&5
42911
42912 eval "$as_ac_var=no"
42913 fi
42914
42915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42916 conftest$ac_exeext conftest.$ac_ext
42917 fi
42918 ac_res=`eval echo '${'$as_ac_var'}'`
42919 { echo "$as_me:$LINENO: result: $ac_res" >&5
42920 echo "${ECHO_T}$ac_res" >&6; }
42921 if test `eval echo '${'$as_ac_var'}'` = yes; then
42922 cat >>confdefs.h <<_ACEOF
42923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42924 _ACEOF
42925
42926 cat >>confdefs.h <<\_ACEOF
42927 #define HAVE_DLOPEN 1
42928 _ACEOF
42929
42930 HAVE_DL_FUNCS=1
42931
42932 else
42933
42934 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42935 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42936 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42937 echo $ECHO_N "(cached) $ECHO_C" >&6
42938 else
42939 ac_check_lib_save_LIBS=$LIBS
42940 LIBS="-ldl $LIBS"
42941 cat >conftest.$ac_ext <<_ACEOF
42942 /* confdefs.h. */
42943 _ACEOF
42944 cat confdefs.h >>conftest.$ac_ext
42945 cat >>conftest.$ac_ext <<_ACEOF
42946 /* end confdefs.h. */
42947
42948 /* Override any GCC internal prototype to avoid an error.
42949 Use char because int might match the return type of a GCC
42950 builtin and then its argument prototype would still apply. */
42951 #ifdef __cplusplus
42952 extern "C"
42953 #endif
42954 char dlopen ();
42955 int
42956 main ()
42957 {
42958 return dlopen ();
42959 ;
42960 return 0;
42961 }
42962 _ACEOF
42963 rm -f conftest.$ac_objext conftest$ac_exeext
42964 if { (ac_try="$ac_link"
42965 case "(($ac_try" in
42966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42967 *) ac_try_echo=$ac_try;;
42968 esac
42969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42970 (eval "$ac_link") 2>conftest.er1
42971 ac_status=$?
42972 grep -v '^ *+' conftest.er1 >conftest.err
42973 rm -f conftest.er1
42974 cat conftest.err >&5
42975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42976 (exit $ac_status); } && {
42977 test -z "$ac_c_werror_flag" ||
42978 test ! -s conftest.err
42979 } && test -s conftest$ac_exeext &&
42980 $as_test_x conftest$ac_exeext; then
42981 ac_cv_lib_dl_dlopen=yes
42982 else
42983 echo "$as_me: failed program was:" >&5
42984 sed 's/^/| /' conftest.$ac_ext >&5
42985
42986 ac_cv_lib_dl_dlopen=no
42987 fi
42988
42989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42990 conftest$ac_exeext conftest.$ac_ext
42991 LIBS=$ac_check_lib_save_LIBS
42992 fi
42993 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42994 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42995 if test $ac_cv_lib_dl_dlopen = yes; then
42996
42997 cat >>confdefs.h <<\_ACEOF
42998 #define HAVE_DLOPEN 1
42999 _ACEOF
43000
43001 HAVE_DL_FUNCS=1
43002 DL_LINK=" -ldl$DL_LINK"
43003
43004 else
43005
43006
43007 for ac_func in shl_load
43008 do
43009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43010 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43012 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43013 echo $ECHO_N "(cached) $ECHO_C" >&6
43014 else
43015 cat >conftest.$ac_ext <<_ACEOF
43016 /* confdefs.h. */
43017 _ACEOF
43018 cat confdefs.h >>conftest.$ac_ext
43019 cat >>conftest.$ac_ext <<_ACEOF
43020 /* end confdefs.h. */
43021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43023 #define $ac_func innocuous_$ac_func
43024
43025 /* System header to define __stub macros and hopefully few prototypes,
43026 which can conflict with char $ac_func (); below.
43027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43028 <limits.h> exists even on freestanding compilers. */
43029
43030 #ifdef __STDC__
43031 # include <limits.h>
43032 #else
43033 # include <assert.h>
43034 #endif
43035
43036 #undef $ac_func
43037
43038 /* Override any GCC internal prototype to avoid an error.
43039 Use char because int might match the return type of a GCC
43040 builtin and then its argument prototype would still apply. */
43041 #ifdef __cplusplus
43042 extern "C"
43043 #endif
43044 char $ac_func ();
43045 /* The GNU C library defines this for functions which it implements
43046 to always fail with ENOSYS. Some functions are actually named
43047 something starting with __ and the normal name is an alias. */
43048 #if defined __stub_$ac_func || defined __stub___$ac_func
43049 choke me
43050 #endif
43051
43052 int
43053 main ()
43054 {
43055 return $ac_func ();
43056 ;
43057 return 0;
43058 }
43059 _ACEOF
43060 rm -f conftest.$ac_objext conftest$ac_exeext
43061 if { (ac_try="$ac_link"
43062 case "(($ac_try" in
43063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43064 *) ac_try_echo=$ac_try;;
43065 esac
43066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43067 (eval "$ac_link") 2>conftest.er1
43068 ac_status=$?
43069 grep -v '^ *+' conftest.er1 >conftest.err
43070 rm -f conftest.er1
43071 cat conftest.err >&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } && {
43074 test -z "$ac_c_werror_flag" ||
43075 test ! -s conftest.err
43076 } && test -s conftest$ac_exeext &&
43077 $as_test_x conftest$ac_exeext; then
43078 eval "$as_ac_var=yes"
43079 else
43080 echo "$as_me: failed program was:" >&5
43081 sed 's/^/| /' conftest.$ac_ext >&5
43082
43083 eval "$as_ac_var=no"
43084 fi
43085
43086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43087 conftest$ac_exeext conftest.$ac_ext
43088 fi
43089 ac_res=`eval echo '${'$as_ac_var'}'`
43090 { echo "$as_me:$LINENO: result: $ac_res" >&5
43091 echo "${ECHO_T}$ac_res" >&6; }
43092 if test `eval echo '${'$as_ac_var'}'` = yes; then
43093 cat >>confdefs.h <<_ACEOF
43094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43095 _ACEOF
43096
43097 cat >>confdefs.h <<\_ACEOF
43098 #define HAVE_SHL_LOAD 1
43099 _ACEOF
43100
43101 HAVE_SHL_FUNCS=1
43102
43103 else
43104
43105 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43106 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43107 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43108 echo $ECHO_N "(cached) $ECHO_C" >&6
43109 else
43110 ac_check_lib_save_LIBS=$LIBS
43111 LIBS="-lshl_load $LIBS"
43112 cat >conftest.$ac_ext <<_ACEOF
43113 /* confdefs.h. */
43114 _ACEOF
43115 cat confdefs.h >>conftest.$ac_ext
43116 cat >>conftest.$ac_ext <<_ACEOF
43117 /* end confdefs.h. */
43118
43119 /* Override any GCC internal prototype to avoid an error.
43120 Use char because int might match the return type of a GCC
43121 builtin and then its argument prototype would still apply. */
43122 #ifdef __cplusplus
43123 extern "C"
43124 #endif
43125 char dld ();
43126 int
43127 main ()
43128 {
43129 return dld ();
43130 ;
43131 return 0;
43132 }
43133 _ACEOF
43134 rm -f conftest.$ac_objext conftest$ac_exeext
43135 if { (ac_try="$ac_link"
43136 case "(($ac_try" in
43137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43138 *) ac_try_echo=$ac_try;;
43139 esac
43140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43141 (eval "$ac_link") 2>conftest.er1
43142 ac_status=$?
43143 grep -v '^ *+' conftest.er1 >conftest.err
43144 rm -f conftest.er1
43145 cat conftest.err >&5
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); } && {
43148 test -z "$ac_c_werror_flag" ||
43149 test ! -s conftest.err
43150 } && test -s conftest$ac_exeext &&
43151 $as_test_x conftest$ac_exeext; then
43152 ac_cv_lib_shl_load_dld=yes
43153 else
43154 echo "$as_me: failed program was:" >&5
43155 sed 's/^/| /' conftest.$ac_ext >&5
43156
43157 ac_cv_lib_shl_load_dld=no
43158 fi
43159
43160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43161 conftest$ac_exeext conftest.$ac_ext
43162 LIBS=$ac_check_lib_save_LIBS
43163 fi
43164 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43165 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43166 if test $ac_cv_lib_shl_load_dld = yes; then
43167
43168 HAVE_SHL_FUNCS=1
43169 DL_LINK=" -ldld$DL_LINK"
43170
43171 fi
43172
43173
43174 fi
43175 done
43176
43177
43178 fi
43179
43180
43181 fi
43182 done
43183
43184
43185 if test "$HAVE_DL_FUNCS" = 1; then
43186
43187 for ac_func in dlerror
43188 do
43189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43190 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43192 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43193 echo $ECHO_N "(cached) $ECHO_C" >&6
43194 else
43195 cat >conftest.$ac_ext <<_ACEOF
43196 /* confdefs.h. */
43197 _ACEOF
43198 cat confdefs.h >>conftest.$ac_ext
43199 cat >>conftest.$ac_ext <<_ACEOF
43200 /* end confdefs.h. */
43201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43203 #define $ac_func innocuous_$ac_func
43204
43205 /* System header to define __stub macros and hopefully few prototypes,
43206 which can conflict with char $ac_func (); below.
43207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43208 <limits.h> exists even on freestanding compilers. */
43209
43210 #ifdef __STDC__
43211 # include <limits.h>
43212 #else
43213 # include <assert.h>
43214 #endif
43215
43216 #undef $ac_func
43217
43218 /* Override any GCC internal prototype to avoid an error.
43219 Use char because int might match the return type of a GCC
43220 builtin and then its argument prototype would still apply. */
43221 #ifdef __cplusplus
43222 extern "C"
43223 #endif
43224 char $ac_func ();
43225 /* The GNU C library defines this for functions which it implements
43226 to always fail with ENOSYS. Some functions are actually named
43227 something starting with __ and the normal name is an alias. */
43228 #if defined __stub_$ac_func || defined __stub___$ac_func
43229 choke me
43230 #endif
43231
43232 int
43233 main ()
43234 {
43235 return $ac_func ();
43236 ;
43237 return 0;
43238 }
43239 _ACEOF
43240 rm -f conftest.$ac_objext conftest$ac_exeext
43241 if { (ac_try="$ac_link"
43242 case "(($ac_try" in
43243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43244 *) ac_try_echo=$ac_try;;
43245 esac
43246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43247 (eval "$ac_link") 2>conftest.er1
43248 ac_status=$?
43249 grep -v '^ *+' conftest.er1 >conftest.err
43250 rm -f conftest.er1
43251 cat conftest.err >&5
43252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253 (exit $ac_status); } && {
43254 test -z "$ac_c_werror_flag" ||
43255 test ! -s conftest.err
43256 } && test -s conftest$ac_exeext &&
43257 $as_test_x conftest$ac_exeext; then
43258 eval "$as_ac_var=yes"
43259 else
43260 echo "$as_me: failed program was:" >&5
43261 sed 's/^/| /' conftest.$ac_ext >&5
43262
43263 eval "$as_ac_var=no"
43264 fi
43265
43266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43267 conftest$ac_exeext conftest.$ac_ext
43268 fi
43269 ac_res=`eval echo '${'$as_ac_var'}'`
43270 { echo "$as_me:$LINENO: result: $ac_res" >&5
43271 echo "${ECHO_T}$ac_res" >&6; }
43272 if test `eval echo '${'$as_ac_var'}'` = yes; then
43273 cat >>confdefs.h <<_ACEOF
43274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43275 _ACEOF
43276 cat >>confdefs.h <<\_ACEOF
43277 #define HAVE_DLERROR 1
43278 _ACEOF
43279
43280 else
43281
43282 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43283 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43284 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43285 echo $ECHO_N "(cached) $ECHO_C" >&6
43286 else
43287 ac_check_lib_save_LIBS=$LIBS
43288 LIBS="-ldl $LIBS"
43289 cat >conftest.$ac_ext <<_ACEOF
43290 /* confdefs.h. */
43291 _ACEOF
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h. */
43295
43296 /* Override any GCC internal prototype to avoid an error.
43297 Use char because int might match the return type of a GCC
43298 builtin and then its argument prototype would still apply. */
43299 #ifdef __cplusplus
43300 extern "C"
43301 #endif
43302 char dlerror ();
43303 int
43304 main ()
43305 {
43306 return dlerror ();
43307 ;
43308 return 0;
43309 }
43310 _ACEOF
43311 rm -f conftest.$ac_objext conftest$ac_exeext
43312 if { (ac_try="$ac_link"
43313 case "(($ac_try" in
43314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43315 *) ac_try_echo=$ac_try;;
43316 esac
43317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43318 (eval "$ac_link") 2>conftest.er1
43319 ac_status=$?
43320 grep -v '^ *+' conftest.er1 >conftest.err
43321 rm -f conftest.er1
43322 cat conftest.err >&5
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); } && {
43325 test -z "$ac_c_werror_flag" ||
43326 test ! -s conftest.err
43327 } && test -s conftest$ac_exeext &&
43328 $as_test_x conftest$ac_exeext; then
43329 ac_cv_lib_dl_dlerror=yes
43330 else
43331 echo "$as_me: failed program was:" >&5
43332 sed 's/^/| /' conftest.$ac_ext >&5
43333
43334 ac_cv_lib_dl_dlerror=no
43335 fi
43336
43337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43338 conftest$ac_exeext conftest.$ac_ext
43339 LIBS=$ac_check_lib_save_LIBS
43340 fi
43341 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43342 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43343 if test $ac_cv_lib_dl_dlerror = yes; then
43344 cat >>confdefs.h <<\_ACEOF
43345 #define HAVE_DLERROR 1
43346 _ACEOF
43347
43348 fi
43349
43350
43351
43352 fi
43353 done
43354
43355 fi
43356 fi
43357
43358 if test "$HAVE_DL_FUNCS" = 0; then
43359 if test "$HAVE_SHL_FUNCS" = 0; then
43360 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43361 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43362 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43363 wxUSE_DYNAMIC_LOADER=no
43364 wxUSE_DYNLIB_CLASS=no
43365 else
43366 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43367 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43368 fi
43369 fi
43370 fi
43371 fi
43372 fi
43373
43374 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43375 cat >>confdefs.h <<\_ACEOF
43376 #define wxUSE_DYNAMIC_LOADER 1
43377 _ACEOF
43378
43379 fi
43380 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43381 cat >>confdefs.h <<\_ACEOF
43382 #define wxUSE_DYNLIB_CLASS 1
43383 _ACEOF
43384
43385 fi
43386
43387
43388
43389 if test "$wxUSE_PLUGINS" = "yes" ; then
43390 if test "$wxUSE_SHARED" = "no" ; then
43391 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43392 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43393 wxUSE_PLUGINS=no
43394 fi
43395 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43396 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43397 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43398 wxUSE_PLUGINS=no
43399 fi
43400 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43401 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43402 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43403 wxUSE_PLUGINS=no
43404 fi
43405 if test "$wxUSE_PLUGINS" = "yes" ; then
43406 cat >>confdefs.h <<\_ACEOF
43407 #define wxUSE_PLUGINS 1
43408 _ACEOF
43409
43410 fi
43411 fi
43412
43413
43414 if test "$wxUSE_STL" = "yes"; then
43415 cat >>confdefs.h <<\_ACEOF
43416 #define wxUSE_STL 1
43417 _ACEOF
43418
43419 fi
43420
43421 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43422 cat >>confdefs.h <<\_ACEOF
43423 #define wxUSE_APPLE_IEEE 1
43424 _ACEOF
43425
43426 fi
43427
43428 if test "$wxUSE_TIMER" = "yes"; then
43429 cat >>confdefs.h <<\_ACEOF
43430 #define wxUSE_TIMER 1
43431 _ACEOF
43432
43433 fi
43434
43435 if test "$USE_UNIX" = "1" ; then
43436 if test "$wxUSE_MGL" != 1; then
43437 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43438 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43439 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43440 echo $ECHO_N "(cached) $ECHO_C" >&6
43441 else
43442
43443 cat >conftest.$ac_ext <<_ACEOF
43444 /* confdefs.h. */
43445 _ACEOF
43446 cat confdefs.h >>conftest.$ac_ext
43447 cat >>conftest.$ac_ext <<_ACEOF
43448 /* end confdefs.h. */
43449
43450 #include <sys/ioctl.h>
43451 #include <sys/soundcard.h>
43452
43453 int
43454 main ()
43455 {
43456
43457 ioctl(0, SNDCTL_DSP_SPEED, 0);
43458
43459 ;
43460 return 0;
43461 }
43462 _ACEOF
43463 rm -f conftest.$ac_objext conftest$ac_exeext
43464 if { (ac_try="$ac_link"
43465 case "(($ac_try" in
43466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43467 *) ac_try_echo=$ac_try;;
43468 esac
43469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43470 (eval "$ac_link") 2>conftest.er1
43471 ac_status=$?
43472 grep -v '^ *+' conftest.er1 >conftest.err
43473 rm -f conftest.er1
43474 cat conftest.err >&5
43475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43476 (exit $ac_status); } && {
43477 test -z "$ac_c_werror_flag" ||
43478 test ! -s conftest.err
43479 } && test -s conftest$ac_exeext &&
43480 $as_test_x conftest$ac_exeext; then
43481 ac_cv_header_sys_soundcard=yes
43482 else
43483 echo "$as_me: failed program was:" >&5
43484 sed 's/^/| /' conftest.$ac_ext >&5
43485
43486
43487 saveLibs="$LIBS"
43488 LIBS="$saveLibs -lossaudio"
43489 cat >conftest.$ac_ext <<_ACEOF
43490 /* confdefs.h. */
43491 _ACEOF
43492 cat confdefs.h >>conftest.$ac_ext
43493 cat >>conftest.$ac_ext <<_ACEOF
43494 /* end confdefs.h. */
43495
43496 #include <sys/ioctl.h>
43497 #include <sys/soundcard.h>
43498
43499 int
43500 main ()
43501 {
43502
43503 ioctl(0, SNDCTL_DSP_SPEED, 0);
43504
43505 ;
43506 return 0;
43507 }
43508 _ACEOF
43509 rm -f conftest.$ac_objext conftest$ac_exeext
43510 if { (ac_try="$ac_link"
43511 case "(($ac_try" in
43512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43513 *) ac_try_echo=$ac_try;;
43514 esac
43515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43516 (eval "$ac_link") 2>conftest.er1
43517 ac_status=$?
43518 grep -v '^ *+' conftest.er1 >conftest.err
43519 rm -f conftest.er1
43520 cat conftest.err >&5
43521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43522 (exit $ac_status); } && {
43523 test -z "$ac_c_werror_flag" ||
43524 test ! -s conftest.err
43525 } && test -s conftest$ac_exeext &&
43526 $as_test_x conftest$ac_exeext; then
43527 ac_cv_header_sys_soundcard=yes
43528 else
43529 echo "$as_me: failed program was:" >&5
43530 sed 's/^/| /' conftest.$ac_ext >&5
43531
43532
43533 LIBS="$saveLibs"
43534 ac_cv_header_sys_soundcard=no
43535
43536
43537 fi
43538
43539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43540 conftest$ac_exeext conftest.$ac_ext
43541
43542
43543 fi
43544
43545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43546 conftest$ac_exeext conftest.$ac_ext
43547
43548 fi
43549 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43550 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43551 fi
43552
43553 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43554 cat >>confdefs.h <<\_ACEOF
43555 #define HAVE_SYS_SOUNDCARD_H 1
43556 _ACEOF
43557
43558 else
43559 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
43560 fi
43561 fi
43562
43563 WITH_PLUGIN_SDL=0
43564 if test "$wxUSE_SOUND" = "yes"; then
43565 if test "$USE_UNIX" = "1" ; then
43566 if test "$wxUSE_LIBSDL" != "no"; then
43567
43568 # Check whether --with-sdl-prefix was given.
43569 if test "${with_sdl_prefix+set}" = set; then
43570 withval=$with_sdl_prefix; sdl_prefix="$withval"
43571 else
43572 sdl_prefix=""
43573 fi
43574
43575
43576 # Check whether --with-sdl-exec-prefix was given.
43577 if test "${with_sdl_exec_prefix+set}" = set; then
43578 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43579 else
43580 sdl_exec_prefix=""
43581 fi
43582
43583 # Check whether --enable-sdltest was given.
43584 if test "${enable_sdltest+set}" = set; then
43585 enableval=$enable_sdltest;
43586 else
43587 enable_sdltest=yes
43588 fi
43589
43590
43591 if test x$sdl_exec_prefix != x ; then
43592 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43593 if test x${SDL_CONFIG+set} != xset ; then
43594 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43595 fi
43596 fi
43597 if test x$sdl_prefix != x ; then
43598 sdl_args="$sdl_args --prefix=$sdl_prefix"
43599 if test x${SDL_CONFIG+set} != xset ; then
43600 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43601 fi
43602 fi
43603
43604 if test "x$prefix" != xNONE; then
43605 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43606 fi
43607 # Extract the first word of "sdl-config", so it can be a program name with args.
43608 set dummy sdl-config; ac_word=$2
43609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43611 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43612 echo $ECHO_N "(cached) $ECHO_C" >&6
43613 else
43614 case $SDL_CONFIG in
43615 [\\/]* | ?:[\\/]*)
43616 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43617 ;;
43618 *)
43619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43620 for as_dir in $PATH
43621 do
43622 IFS=$as_save_IFS
43623 test -z "$as_dir" && as_dir=.
43624 for ac_exec_ext in '' $ac_executable_extensions; do
43625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43626 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43628 break 2
43629 fi
43630 done
43631 done
43632 IFS=$as_save_IFS
43633
43634 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43635 ;;
43636 esac
43637 fi
43638 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43639 if test -n "$SDL_CONFIG"; then
43640 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43641 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43642 else
43643 { echo "$as_me:$LINENO: result: no" >&5
43644 echo "${ECHO_T}no" >&6; }
43645 fi
43646
43647
43648 min_sdl_version=1.2.0
43649 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43650 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43651 no_sdl=""
43652 if test "$SDL_CONFIG" = "no" ; then
43653 no_sdl=yes
43654 else
43655 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43656 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43657
43658 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43659 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43660 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43662 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43664 if test "x$enable_sdltest" = "xyes" ; then
43665 ac_save_CFLAGS="$CFLAGS"
43666 ac_save_CXXFLAGS="$CXXFLAGS"
43667 ac_save_LIBS="$LIBS"
43668 CFLAGS="$CFLAGS $SDL_CFLAGS"
43669 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43670 LIBS="$LIBS $SDL_LIBS"
43671 rm -f conf.sdltest
43672 if test "$cross_compiling" = yes; then
43673 echo $ac_n "cross compiling; assumed OK... $ac_c"
43674 else
43675 cat >conftest.$ac_ext <<_ACEOF
43676 /* confdefs.h. */
43677 _ACEOF
43678 cat confdefs.h >>conftest.$ac_ext
43679 cat >>conftest.$ac_ext <<_ACEOF
43680 /* end confdefs.h. */
43681
43682 #include <stdio.h>
43683 #include <stdlib.h>
43684 #include <string.h>
43685 #include "SDL.h"
43686
43687 char*
43688 my_strdup (char *str)
43689 {
43690 char *new_str;
43691
43692 if (str)
43693 {
43694 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43695 strcpy (new_str, str);
43696 }
43697 else
43698 new_str = NULL;
43699
43700 return new_str;
43701 }
43702
43703 int main (int argc, char *argv[])
43704 {
43705 int major, minor, micro;
43706 char *tmp_version;
43707
43708 /* This hangs on some systems (?)
43709 system ("touch conf.sdltest");
43710 */
43711 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43712
43713 /* HP/UX 9 (%@#!) writes to sscanf strings */
43714 tmp_version = my_strdup("$min_sdl_version");
43715 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43716 printf("%s, bad version string\n", "$min_sdl_version");
43717 exit(1);
43718 }
43719
43720 if (($sdl_major_version > major) ||
43721 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43722 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43723 {
43724 return 0;
43725 }
43726 else
43727 {
43728 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43729 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43730 printf("*** best to upgrade to the required version.\n");
43731 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43732 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43733 printf("*** config.cache before re-running configure\n");
43734 return 1;
43735 }
43736 }
43737
43738
43739 _ACEOF
43740 rm -f conftest$ac_exeext
43741 if { (ac_try="$ac_link"
43742 case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43744 *) ac_try_echo=$ac_try;;
43745 esac
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_link") 2>&5
43748 ac_status=$?
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43751 { (case "(($ac_try" in
43752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43753 *) ac_try_echo=$ac_try;;
43754 esac
43755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43756 (eval "$ac_try") 2>&5
43757 ac_status=$?
43758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43759 (exit $ac_status); }; }; then
43760 :
43761 else
43762 echo "$as_me: program exited with status $ac_status" >&5
43763 echo "$as_me: failed program was:" >&5
43764 sed 's/^/| /' conftest.$ac_ext >&5
43765
43766 ( exit $ac_status )
43767 no_sdl=yes
43768 fi
43769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43770 fi
43771
43772
43773 CFLAGS="$ac_save_CFLAGS"
43774 CXXFLAGS="$ac_save_CXXFLAGS"
43775 LIBS="$ac_save_LIBS"
43776 fi
43777 fi
43778 if test "x$no_sdl" = x ; then
43779 { echo "$as_me:$LINENO: result: yes" >&5
43780 echo "${ECHO_T}yes" >&6; }
43781
43782 EXTRALIBS_SDL="$SDL_LIBS"
43783 CFLAGS="$SDL_CFLAGS $CFLAGS"
43784 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43785 cat >>confdefs.h <<\_ACEOF
43786 #define wxUSE_LIBSDL 1
43787 _ACEOF
43788
43789
43790 else
43791 { echo "$as_me:$LINENO: result: no" >&5
43792 echo "${ECHO_T}no" >&6; }
43793 if test "$SDL_CONFIG" = "no" ; then
43794 echo "*** The sdl-config script installed by SDL could not be found"
43795 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43796 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43797 echo "*** full path to sdl-config."
43798 else
43799 if test -f conf.sdltest ; then
43800 :
43801 else
43802 echo "*** Could not run SDL test program, checking why..."
43803 CFLAGS="$CFLAGS $SDL_CFLAGS"
43804 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43805 LIBS="$LIBS $SDL_LIBS"
43806 cat >conftest.$ac_ext <<_ACEOF
43807 /* confdefs.h. */
43808 _ACEOF
43809 cat confdefs.h >>conftest.$ac_ext
43810 cat >>conftest.$ac_ext <<_ACEOF
43811 /* end confdefs.h. */
43812
43813 #include <stdio.h>
43814 #include "SDL.h"
43815
43816 int main(int argc, char *argv[])
43817 { return 0; }
43818 #undef main
43819 #define main K_and_R_C_main
43820
43821 int
43822 main ()
43823 {
43824 return 0;
43825 ;
43826 return 0;
43827 }
43828 _ACEOF
43829 rm -f conftest.$ac_objext conftest$ac_exeext
43830 if { (ac_try="$ac_link"
43831 case "(($ac_try" in
43832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43833 *) ac_try_echo=$ac_try;;
43834 esac
43835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43836 (eval "$ac_link") 2>conftest.er1
43837 ac_status=$?
43838 grep -v '^ *+' conftest.er1 >conftest.err
43839 rm -f conftest.er1
43840 cat conftest.err >&5
43841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43842 (exit $ac_status); } && {
43843 test -z "$ac_c_werror_flag" ||
43844 test ! -s conftest.err
43845 } && test -s conftest$ac_exeext &&
43846 $as_test_x conftest$ac_exeext; then
43847 echo "*** The test program compiled, but did not run. This usually means"
43848 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43849 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43850 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43851 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43852 echo "*** is required on your system"
43853 echo "***"
43854 echo "*** If you have an old version installed, it is best to remove it, although"
43855 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43856 else
43857 echo "$as_me: failed program was:" >&5
43858 sed 's/^/| /' conftest.$ac_ext >&5
43859
43860 echo "*** The test program failed to compile or link. See the file config.log for the"
43861 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43862 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43863 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43864 fi
43865
43866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43867 conftest$ac_exeext conftest.$ac_ext
43868 CFLAGS="$ac_save_CFLAGS"
43869 CXXFLAGS="$ac_save_CXXFLAGS"
43870 LIBS="$ac_save_LIBS"
43871 fi
43872 fi
43873 SDL_CFLAGS=""
43874 SDL_LIBS=""
43875 wxUSE_LIBSDL="no"
43876 fi
43877
43878
43879 rm -f conf.sdltest
43880
43881 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43882 WITH_PLUGIN_SDL=1
43883 fi
43884 fi
43885 else
43886 if test "$wxUSE_MGL" = 1; then
43887 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43888 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43889 wxUSE_SOUND="no"
43890 fi
43891 fi
43892 fi
43893
43894 if test "$wxUSE_SOUND" = "yes"; then
43895 cat >>confdefs.h <<\_ACEOF
43896 #define wxUSE_SOUND 1
43897 _ACEOF
43898
43899 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43900 fi
43901
43902 if test "$WXGTK20" = 1; then
43903
43904
43905 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43906 if test -n "$ac_tool_prefix"; then
43907 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43908 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43909 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43911 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43912 echo $ECHO_N "(cached) $ECHO_C" >&6
43913 else
43914 case $PKG_CONFIG in
43915 [\\/]* | ?:[\\/]*)
43916 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43917 ;;
43918 *)
43919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43920 for as_dir in $PATH
43921 do
43922 IFS=$as_save_IFS
43923 test -z "$as_dir" && as_dir=.
43924 for ac_exec_ext in '' $ac_executable_extensions; do
43925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43926 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43928 break 2
43929 fi
43930 done
43931 done
43932 IFS=$as_save_IFS
43933
43934 ;;
43935 esac
43936 fi
43937 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43938 if test -n "$PKG_CONFIG"; then
43939 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43940 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43941 else
43942 { echo "$as_me:$LINENO: result: no" >&5
43943 echo "${ECHO_T}no" >&6; }
43944 fi
43945
43946
43947 fi
43948 if test -z "$ac_cv_path_PKG_CONFIG"; then
43949 ac_pt_PKG_CONFIG=$PKG_CONFIG
43950 # Extract the first word of "pkg-config", so it can be a program name with args.
43951 set dummy pkg-config; ac_word=$2
43952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43954 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43955 echo $ECHO_N "(cached) $ECHO_C" >&6
43956 else
43957 case $ac_pt_PKG_CONFIG in
43958 [\\/]* | ?:[\\/]*)
43959 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43960 ;;
43961 *)
43962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43963 for as_dir in $PATH
43964 do
43965 IFS=$as_save_IFS
43966 test -z "$as_dir" && as_dir=.
43967 for ac_exec_ext in '' $ac_executable_extensions; do
43968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43969 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43971 break 2
43972 fi
43973 done
43974 done
43975 IFS=$as_save_IFS
43976
43977 ;;
43978 esac
43979 fi
43980 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43981 if test -n "$ac_pt_PKG_CONFIG"; then
43982 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43983 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43984 else
43985 { echo "$as_me:$LINENO: result: no" >&5
43986 echo "${ECHO_T}no" >&6; }
43987 fi
43988
43989 if test "x$ac_pt_PKG_CONFIG" = x; then
43990 PKG_CONFIG=""
43991 else
43992 case $cross_compiling:$ac_tool_warned in
43993 yes:)
43994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43995 whose name does not start with the host triplet. If you think this
43996 configuration is useful to you, please write to autoconf@gnu.org." >&5
43997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43998 whose name does not start with the host triplet. If you think this
43999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44000 ac_tool_warned=yes ;;
44001 esac
44002 PKG_CONFIG=$ac_pt_PKG_CONFIG
44003 fi
44004 else
44005 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44006 fi
44007
44008 fi
44009 if test -n "$PKG_CONFIG"; then
44010 _pkg_min_version=0.9.0
44011 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44012 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44013 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44014 { echo "$as_me:$LINENO: result: yes" >&5
44015 echo "${ECHO_T}yes" >&6; }
44016 else
44017 { echo "$as_me:$LINENO: result: no" >&5
44018 echo "${ECHO_T}no" >&6; }
44019 PKG_CONFIG=""
44020 fi
44021
44022 fi
44023
44024 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44025 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44026
44027
44028 pkg_failed=no
44029 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44030 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44031
44032 if test -n "$PKG_CONFIG"; then
44033 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44034 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44035 else
44036 if test -n "$PKG_CONFIG" && \
44037 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44038 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44039 ac_status=$?
44040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44041 (exit $ac_status); }; then
44042 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44043 else
44044 pkg_failed=yes
44045 fi
44046 fi
44047 else
44048 pkg_failed=untried
44049 fi
44050 if test -n "$PKG_CONFIG"; then
44051 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44052 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44053 else
44054 if test -n "$PKG_CONFIG" && \
44055 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44056 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44057 ac_status=$?
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); }; then
44060 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44061 else
44062 pkg_failed=yes
44063 fi
44064 fi
44065 else
44066 pkg_failed=untried
44067 fi
44068
44069
44070
44071 if test $pkg_failed = yes; then
44072
44073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44074 _pkg_short_errors_supported=yes
44075 else
44076 _pkg_short_errors_supported=no
44077 fi
44078 if test $_pkg_short_errors_supported = yes; then
44079 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44080 else
44081 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44082 fi
44083 # Put the nasty error message in config.log where it belongs
44084 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44085
44086
44087 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44088 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44089 wxUSE_LIBGNOMEPRINT="no"
44090
44091
44092 elif test $pkg_failed = untried; then
44093
44094 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44095 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44096 wxUSE_LIBGNOMEPRINT="no"
44097
44098
44099 else
44100 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44101 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44102 { echo "$as_me:$LINENO: result: yes" >&5
44103 echo "${ECHO_T}yes" >&6; }
44104
44105 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44106 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44107 cat >>confdefs.h <<\_ACEOF
44108 #define wxUSE_LIBGNOMEPRINT 1
44109 _ACEOF
44110
44111
44112 fi
44113 fi
44114 fi
44115
44116 if test "$wxUSE_MIMETYPE" = "yes" ; then
44117 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44118
44119
44120 pkg_failed=no
44121 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44122 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44123
44124 if test -n "$PKG_CONFIG"; then
44125 if test -n "$GNOMEVFS_CFLAGS"; then
44126 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44127 else
44128 if test -n "$PKG_CONFIG" && \
44129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44130 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44131 ac_status=$?
44132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44133 (exit $ac_status); }; then
44134 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44135 else
44136 pkg_failed=yes
44137 fi
44138 fi
44139 else
44140 pkg_failed=untried
44141 fi
44142 if test -n "$PKG_CONFIG"; then
44143 if test -n "$GNOMEVFS_LIBS"; then
44144 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44145 else
44146 if test -n "$PKG_CONFIG" && \
44147 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44148 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44149 ac_status=$?
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); }; then
44152 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44153 else
44154 pkg_failed=yes
44155 fi
44156 fi
44157 else
44158 pkg_failed=untried
44159 fi
44160
44161
44162
44163 if test $pkg_failed = yes; then
44164
44165 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44166 _pkg_short_errors_supported=yes
44167 else
44168 _pkg_short_errors_supported=no
44169 fi
44170 if test $_pkg_short_errors_supported = yes; then
44171 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44172 else
44173 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44174 fi
44175 # Put the nasty error message in config.log where it belongs
44176 echo "$GNOMEVFS_PKG_ERRORS" >&5
44177
44178
44179 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44180 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44181 wxUSE_LIBGNOMEVFS="no"
44182
44183
44184 elif test $pkg_failed = untried; then
44185
44186 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44187 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44188 wxUSE_LIBGNOMEVFS="no"
44189
44190
44191 else
44192 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44193 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44194 { echo "$as_me:$LINENO: result: yes" >&5
44195 echo "${ECHO_T}yes" >&6; }
44196
44197 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44198 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44199 cat >>confdefs.h <<\_ACEOF
44200 #define wxUSE_LIBGNOMEVFS 1
44201 _ACEOF
44202
44203
44204 fi
44205 fi
44206 fi
44207
44208 if test "$wxUSE_LIBHILDON" = "yes" ; then
44209
44210 pkg_failed=no
44211 { echo "$as_me:$LINENO: checking for HILDON" >&5
44212 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44213
44214 if test -n "$PKG_CONFIG"; then
44215 if test -n "$HILDON_CFLAGS"; then
44216 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44217 else
44218 if test -n "$PKG_CONFIG" && \
44219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44220 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44221 ac_status=$?
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; then
44224 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44225 else
44226 pkg_failed=yes
44227 fi
44228 fi
44229 else
44230 pkg_failed=untried
44231 fi
44232 if test -n "$PKG_CONFIG"; then
44233 if test -n "$HILDON_LIBS"; then
44234 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44235 else
44236 if test -n "$PKG_CONFIG" && \
44237 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44238 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44239 ac_status=$?
44240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44241 (exit $ac_status); }; then
44242 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44243 else
44244 pkg_failed=yes
44245 fi
44246 fi
44247 else
44248 pkg_failed=untried
44249 fi
44250
44251
44252
44253 if test $pkg_failed = yes; then
44254
44255 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44256 _pkg_short_errors_supported=yes
44257 else
44258 _pkg_short_errors_supported=no
44259 fi
44260 if test $_pkg_short_errors_supported = yes; then
44261 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44262 else
44263 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44264 fi
44265 # Put the nasty error message in config.log where it belongs
44266 echo "$HILDON_PKG_ERRORS" >&5
44267
44268
44269 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44270 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44271 wxUSE_LIBHILDON="no"
44272
44273
44274 elif test $pkg_failed = untried; then
44275
44276 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44277 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44278 wxUSE_LIBHILDON="no"
44279
44280
44281 else
44282 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44283 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44284 { echo "$as_me:$LINENO: result: yes" >&5
44285 echo "${ECHO_T}yes" >&6; }
44286
44287 EXTRALIBS_HILDON="$HILDON_LIBS"
44288 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44289 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44290 cat >>confdefs.h <<\_ACEOF
44291 #define wxUSE_LIBHILDON 1
44292 _ACEOF
44293
44294
44295 fi
44296 fi
44297 fi
44298
44299 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44300 cat >>confdefs.h <<\_ACEOF
44301 #define wxUSE_CMDLINE_PARSER 1
44302 _ACEOF
44303
44304 fi
44305
44306 if test "$wxUSE_STOPWATCH" = "yes"; then
44307 cat >>confdefs.h <<\_ACEOF
44308 #define wxUSE_STOPWATCH 1
44309 _ACEOF
44310
44311 fi
44312
44313 if test "$wxUSE_DATETIME" = "yes"; then
44314 cat >>confdefs.h <<\_ACEOF
44315 #define wxUSE_DATETIME 1
44316 _ACEOF
44317
44318 fi
44319
44320 if test "$wxUSE_FILE" = "yes"; then
44321 cat >>confdefs.h <<\_ACEOF
44322 #define wxUSE_FILE 1
44323 _ACEOF
44324
44325 fi
44326
44327 if test "$wxUSE_FFILE" = "yes"; then
44328 cat >>confdefs.h <<\_ACEOF
44329 #define wxUSE_FFILE 1
44330 _ACEOF
44331
44332 fi
44333
44334 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44335 if test "$wxUSE_STREAMS" != yes; then
44336 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44337 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44338 wxUSE_ARCHIVE_STREAMS=no
44339 else
44340 cat >>confdefs.h <<\_ACEOF
44341 #define wxUSE_ARCHIVE_STREAMS 1
44342 _ACEOF
44343
44344 fi
44345 fi
44346
44347 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44348 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44349 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44350 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44351 elif test "$wxUSE_ZLIB" = "no"; then
44352 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44353 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44354 else
44355 cat >>confdefs.h <<\_ACEOF
44356 #define wxUSE_ZIPSTREAM 1
44357 _ACEOF
44358
44359 fi
44360 fi
44361
44362 if test "$wxUSE_TARSTREAM" = "yes"; then
44363 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44364 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44365 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44366 else
44367 cat >>confdefs.h <<\_ACEOF
44368 #define wxUSE_TARSTREAM 1
44369 _ACEOF
44370
44371 fi
44372 fi
44373
44374 if test "$wxUSE_FILESYSTEM" = "yes"; then
44375 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44376 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44377 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44378 wxUSE_FILESYSTEM=no
44379 else
44380 cat >>confdefs.h <<\_ACEOF
44381 #define wxUSE_FILESYSTEM 1
44382 _ACEOF
44383
44384 fi
44385 fi
44386
44387 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44388 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44389 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44390 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44391 else
44392 cat >>confdefs.h <<\_ACEOF
44393 #define wxUSE_FS_ARCHIVE 1
44394 _ACEOF
44395
44396 fi
44397 fi
44398
44399 if test "$wxUSE_FS_ZIP" = "yes"; then
44400 if test "$wxUSE_FS_ARCHIVE" != yes; then
44401 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44402 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44403 else
44404 cat >>confdefs.h <<\_ACEOF
44405 #define wxUSE_FS_ZIP 1
44406 _ACEOF
44407
44408 fi
44409 fi
44410
44411 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44412 if test "$USE_UNIX" != 1; then
44413 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44414 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44415 wxUSE_ON_FATAL_EXCEPTION=no
44416 else
44417 cat >>confdefs.h <<\_ACEOF
44418 #define wxUSE_ON_FATAL_EXCEPTION 1
44419 _ACEOF
44420
44421 fi
44422 fi
44423
44424 if test "$wxUSE_STACKWALKER" = "yes"; then
44425 cat >>confdefs.h <<\_ACEOF
44426 #define wxUSE_STACKWALKER 1
44427 _ACEOF
44428
44429 fi
44430
44431 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44432 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
44433 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44434 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44435 wxUSE_DEBUGREPORT=no
44436 else
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_DEBUGREPORT 1
44439 _ACEOF
44440
44441 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44443 fi
44444 fi
44445 fi
44446
44447 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44448 cat >>confdefs.h <<\_ACEOF
44449 #define wxUSE_SNGLINST_CHECKER 1
44450 _ACEOF
44451
44452 fi
44453
44454 if test "$wxUSE_BUSYINFO" = "yes"; then
44455 cat >>confdefs.h <<\_ACEOF
44456 #define wxUSE_BUSYINFO 1
44457 _ACEOF
44458
44459 fi
44460
44461 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44462 cat >>confdefs.h <<\_ACEOF
44463 #define wxUSE_STD_IOSTREAM 1
44464 _ACEOF
44465
44466 fi
44467
44468 if test "$wxUSE_STD_STRING" = "yes"; then
44469 cat >>confdefs.h <<\_ACEOF
44470 #define wxUSE_STD_STRING 1
44471 _ACEOF
44472
44473 fi
44474
44475 if test "$wxUSE_STDPATHS" = "yes"; then
44476 cat >>confdefs.h <<\_ACEOF
44477 #define wxUSE_STDPATHS 1
44478 _ACEOF
44479
44480 fi
44481
44482 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44483 cat >>confdefs.h <<\_ACEOF
44484 #define wxUSE_TEXTBUFFER 1
44485 _ACEOF
44486
44487 fi
44488
44489 if test "$wxUSE_TEXTFILE" = "yes"; then
44490 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44491 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44492 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44493 else
44494 cat >>confdefs.h <<\_ACEOF
44495 #define wxUSE_TEXTFILE 1
44496 _ACEOF
44497
44498 fi
44499 fi
44500
44501 if test "$wxUSE_CONFIG" = "yes" ; then
44502 if test "$wxUSE_TEXTFILE" != "yes"; then
44503 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44504 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44505 else
44506 cat >>confdefs.h <<\_ACEOF
44507 #define wxUSE_CONFIG 1
44508 _ACEOF
44509
44510 cat >>confdefs.h <<\_ACEOF
44511 #define wxUSE_CONFIG_NATIVE 1
44512 _ACEOF
44513
44514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44515 fi
44516 fi
44517
44518 if test "$wxUSE_INTL" = "yes" ; then
44519 if test "$wxUSE_FILE" != "yes"; then
44520 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44521 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44522 else
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_INTL 1
44525 _ACEOF
44526
44527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44528 GUIDIST="$GUIDIST INTL_DIST"
44529 fi
44530 fi
44531
44532 if test "$wxUSE_LOG" = "yes"; then
44533 cat >>confdefs.h <<\_ACEOF
44534 #define wxUSE_LOG 1
44535 _ACEOF
44536
44537
44538 if test "$wxUSE_LOGGUI" = "yes"; then
44539 cat >>confdefs.h <<\_ACEOF
44540 #define wxUSE_LOGGUI 1
44541 _ACEOF
44542
44543 fi
44544
44545 if test "$wxUSE_LOGWINDOW" = "yes"; then
44546 cat >>confdefs.h <<\_ACEOF
44547 #define wxUSE_LOGWINDOW 1
44548 _ACEOF
44549
44550 fi
44551
44552 if test "$wxUSE_LOGDIALOG" = "yes"; then
44553 cat >>confdefs.h <<\_ACEOF
44554 #define wxUSE_LOG_DIALOG 1
44555 _ACEOF
44556
44557 fi
44558
44559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44560 fi
44561
44562 if test "$wxUSE_LONGLONG" = "yes"; then
44563 cat >>confdefs.h <<\_ACEOF
44564 #define wxUSE_LONGLONG 1
44565 _ACEOF
44566
44567 fi
44568
44569 if test "$wxUSE_GEOMETRY" = "yes"; then
44570 cat >>confdefs.h <<\_ACEOF
44571 #define wxUSE_GEOMETRY 1
44572 _ACEOF
44573
44574 fi
44575
44576 if test "$wxUSE_STREAMS" = "yes" ; then
44577 cat >>confdefs.h <<\_ACEOF
44578 #define wxUSE_STREAMS 1
44579 _ACEOF
44580
44581 fi
44582
44583 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_PRINTF_POS_PARAMS 1
44586 _ACEOF
44587
44588 fi
44589
44590
44591
44592 if test "$wxUSE_DATETIME" = "yes"; then
44593
44594 for ac_func in strptime
44595 do
44596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44597 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44599 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44600 echo $ECHO_N "(cached) $ECHO_C" >&6
44601 else
44602 cat >conftest.$ac_ext <<_ACEOF
44603 /* confdefs.h. */
44604 _ACEOF
44605 cat confdefs.h >>conftest.$ac_ext
44606 cat >>conftest.$ac_ext <<_ACEOF
44607 /* end confdefs.h. */
44608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44610 #define $ac_func innocuous_$ac_func
44611
44612 /* System header to define __stub macros and hopefully few prototypes,
44613 which can conflict with char $ac_func (); below.
44614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44615 <limits.h> exists even on freestanding compilers. */
44616
44617 #ifdef __STDC__
44618 # include <limits.h>
44619 #else
44620 # include <assert.h>
44621 #endif
44622
44623 #undef $ac_func
44624
44625 /* Override any GCC internal prototype to avoid an error.
44626 Use char because int might match the return type of a GCC
44627 builtin and then its argument prototype would still apply. */
44628 #ifdef __cplusplus
44629 extern "C"
44630 #endif
44631 char $ac_func ();
44632 /* The GNU C library defines this for functions which it implements
44633 to always fail with ENOSYS. Some functions are actually named
44634 something starting with __ and the normal name is an alias. */
44635 #if defined __stub_$ac_func || defined __stub___$ac_func
44636 choke me
44637 #endif
44638
44639 int
44640 main ()
44641 {
44642 return $ac_func ();
44643 ;
44644 return 0;
44645 }
44646 _ACEOF
44647 rm -f conftest.$ac_objext conftest$ac_exeext
44648 if { (ac_try="$ac_link"
44649 case "(($ac_try" in
44650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44651 *) ac_try_echo=$ac_try;;
44652 esac
44653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44654 (eval "$ac_link") 2>conftest.er1
44655 ac_status=$?
44656 grep -v '^ *+' conftest.er1 >conftest.err
44657 rm -f conftest.er1
44658 cat conftest.err >&5
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); } && {
44661 test -z "$ac_c_werror_flag" ||
44662 test ! -s conftest.err
44663 } && test -s conftest$ac_exeext &&
44664 $as_test_x conftest$ac_exeext; then
44665 eval "$as_ac_var=yes"
44666 else
44667 echo "$as_me: failed program was:" >&5
44668 sed 's/^/| /' conftest.$ac_ext >&5
44669
44670 eval "$as_ac_var=no"
44671 fi
44672
44673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44674 conftest$ac_exeext conftest.$ac_ext
44675 fi
44676 ac_res=`eval echo '${'$as_ac_var'}'`
44677 { echo "$as_me:$LINENO: result: $ac_res" >&5
44678 echo "${ECHO_T}$ac_res" >&6; }
44679 if test `eval echo '${'$as_ac_var'}'` = yes; then
44680 cat >>confdefs.h <<_ACEOF
44681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44682 _ACEOF
44683
44684 fi
44685 done
44686
44687 if test "$ac_cv_func_strptime" = "yes"; then
44688 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
44689 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
44690 if test "${wx_cv_func_strptime_decl+set}" = set; then
44691 echo $ECHO_N "(cached) $ECHO_C" >&6
44692 else
44693
44694 ac_ext=cpp
44695 ac_cpp='$CXXCPP $CPPFLAGS'
44696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44699
44700 cat >conftest.$ac_ext <<_ACEOF
44701 /* confdefs.h. */
44702 _ACEOF
44703 cat confdefs.h >>conftest.$ac_ext
44704 cat >>conftest.$ac_ext <<_ACEOF
44705 /* end confdefs.h. */
44706
44707 #include <time.h>
44708
44709 int
44710 main ()
44711 {
44712
44713 struct tm t;
44714 strptime("foo", "bar", &t);
44715
44716 ;
44717 return 0;
44718 }
44719 _ACEOF
44720 rm -f conftest.$ac_objext
44721 if { (ac_try="$ac_compile"
44722 case "(($ac_try" in
44723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44724 *) ac_try_echo=$ac_try;;
44725 esac
44726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44727 (eval "$ac_compile") 2>conftest.er1
44728 ac_status=$?
44729 grep -v '^ *+' conftest.er1 >conftest.err
44730 rm -f conftest.er1
44731 cat conftest.err >&5
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); } && {
44734 test -z "$ac_cxx_werror_flag" ||
44735 test ! -s conftest.err
44736 } && test -s conftest.$ac_objext; then
44737 wx_cv_func_strptime_decl=yes
44738 else
44739 echo "$as_me: failed program was:" >&5
44740 sed 's/^/| /' conftest.$ac_ext >&5
44741
44742 wx_cv_func_strptime_decl=no
44743
44744 fi
44745
44746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44747 ac_ext=c
44748 ac_cpp='$CPP $CPPFLAGS'
44749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44752
44753
44754
44755 fi
44756 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44757 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
44758 fi
44759 if test "$wx_cv_func_strptime_decl" = "yes"; then
44760 cat >>confdefs.h <<\_ACEOF
44761 #define HAVE_STRPTIME_DECL 1
44762 _ACEOF
44763
44764 fi
44765
44766 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44767 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44768 if test "${wx_cv_var_timezone+set}" = set; then
44769 echo $ECHO_N "(cached) $ECHO_C" >&6
44770 else
44771
44772 ac_ext=cpp
44773 ac_cpp='$CXXCPP $CPPFLAGS'
44774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44777
44778 cat >conftest.$ac_ext <<_ACEOF
44779 /* confdefs.h. */
44780 _ACEOF
44781 cat confdefs.h >>conftest.$ac_ext
44782 cat >>conftest.$ac_ext <<_ACEOF
44783 /* end confdefs.h. */
44784
44785 #include <time.h>
44786
44787 int
44788 main ()
44789 {
44790
44791 int tz;
44792 tz = timezone;
44793
44794 ;
44795 return 0;
44796 }
44797 _ACEOF
44798 rm -f conftest.$ac_objext
44799 if { (ac_try="$ac_compile"
44800 case "(($ac_try" in
44801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44802 *) ac_try_echo=$ac_try;;
44803 esac
44804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44805 (eval "$ac_compile") 2>conftest.er1
44806 ac_status=$?
44807 grep -v '^ *+' conftest.er1 >conftest.err
44808 rm -f conftest.er1
44809 cat conftest.err >&5
44810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44811 (exit $ac_status); } && {
44812 test -z "$ac_cxx_werror_flag" ||
44813 test ! -s conftest.err
44814 } && test -s conftest.$ac_objext; then
44815
44816 wx_cv_var_timezone=timezone
44817
44818 else
44819 echo "$as_me: failed program was:" >&5
44820 sed 's/^/| /' conftest.$ac_ext >&5
44821
44822
44823 cat >conftest.$ac_ext <<_ACEOF
44824 /* confdefs.h. */
44825 _ACEOF
44826 cat confdefs.h >>conftest.$ac_ext
44827 cat >>conftest.$ac_ext <<_ACEOF
44828 /* end confdefs.h. */
44829
44830 #include <time.h>
44831
44832 int
44833 main ()
44834 {
44835
44836 int tz;
44837 tz = _timezone;
44838
44839 ;
44840 return 0;
44841 }
44842 _ACEOF
44843 rm -f conftest.$ac_objext
44844 if { (ac_try="$ac_compile"
44845 case "(($ac_try" in
44846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44847 *) ac_try_echo=$ac_try;;
44848 esac
44849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44850 (eval "$ac_compile") 2>conftest.er1
44851 ac_status=$?
44852 grep -v '^ *+' conftest.er1 >conftest.err
44853 rm -f conftest.er1
44854 cat conftest.err >&5
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); } && {
44857 test -z "$ac_cxx_werror_flag" ||
44858 test ! -s conftest.err
44859 } && test -s conftest.$ac_objext; then
44860
44861 wx_cv_var_timezone=_timezone
44862
44863 else
44864 echo "$as_me: failed program was:" >&5
44865 sed 's/^/| /' conftest.$ac_ext >&5
44866
44867
44868 cat >conftest.$ac_ext <<_ACEOF
44869 /* confdefs.h. */
44870 _ACEOF
44871 cat confdefs.h >>conftest.$ac_ext
44872 cat >>conftest.$ac_ext <<_ACEOF
44873 /* end confdefs.h. */
44874
44875 #include <time.h>
44876
44877 int
44878 main ()
44879 {
44880
44881 int tz;
44882 tz = __timezone;
44883
44884 ;
44885 return 0;
44886 }
44887 _ACEOF
44888 rm -f conftest.$ac_objext
44889 if { (ac_try="$ac_compile"
44890 case "(($ac_try" in
44891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44892 *) ac_try_echo=$ac_try;;
44893 esac
44894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44895 (eval "$ac_compile") 2>conftest.er1
44896 ac_status=$?
44897 grep -v '^ *+' conftest.er1 >conftest.err
44898 rm -f conftest.er1
44899 cat conftest.err >&5
44900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44901 (exit $ac_status); } && {
44902 test -z "$ac_cxx_werror_flag" ||
44903 test ! -s conftest.err
44904 } && test -s conftest.$ac_objext; then
44905
44906 wx_cv_var_timezone=__timezone
44907
44908 else
44909 echo "$as_me: failed program was:" >&5
44910 sed 's/^/| /' conftest.$ac_ext >&5
44911
44912
44913 if test "$USE_DOS" = 0 ; then
44914 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44915 echo "$as_me: WARNING: no timezone variable" >&2;}
44916 fi
44917
44918
44919 fi
44920
44921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44922
44923
44924 fi
44925
44926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44927
44928
44929 fi
44930
44931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44932 ac_ext=c
44933 ac_cpp='$CPP $CPPFLAGS'
44934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44937
44938
44939
44940 fi
44941 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44942 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44943
44944 if test "x$wx_cv_var_timezone" != x ; then
44945 cat >>confdefs.h <<_ACEOF
44946 #define WX_TIMEZONE $wx_cv_var_timezone
44947 _ACEOF
44948
44949 fi
44950
44951
44952 for ac_func in localtime
44953 do
44954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44955 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44957 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44958 echo $ECHO_N "(cached) $ECHO_C" >&6
44959 else
44960 cat >conftest.$ac_ext <<_ACEOF
44961 /* confdefs.h. */
44962 _ACEOF
44963 cat confdefs.h >>conftest.$ac_ext
44964 cat >>conftest.$ac_ext <<_ACEOF
44965 /* end confdefs.h. */
44966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44968 #define $ac_func innocuous_$ac_func
44969
44970 /* System header to define __stub macros and hopefully few prototypes,
44971 which can conflict with char $ac_func (); below.
44972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44973 <limits.h> exists even on freestanding compilers. */
44974
44975 #ifdef __STDC__
44976 # include <limits.h>
44977 #else
44978 # include <assert.h>
44979 #endif
44980
44981 #undef $ac_func
44982
44983 /* Override any GCC internal prototype to avoid an error.
44984 Use char because int might match the return type of a GCC
44985 builtin and then its argument prototype would still apply. */
44986 #ifdef __cplusplus
44987 extern "C"
44988 #endif
44989 char $ac_func ();
44990 /* The GNU C library defines this for functions which it implements
44991 to always fail with ENOSYS. Some functions are actually named
44992 something starting with __ and the normal name is an alias. */
44993 #if defined __stub_$ac_func || defined __stub___$ac_func
44994 choke me
44995 #endif
44996
44997 int
44998 main ()
44999 {
45000 return $ac_func ();
45001 ;
45002 return 0;
45003 }
45004 _ACEOF
45005 rm -f conftest.$ac_objext conftest$ac_exeext
45006 if { (ac_try="$ac_link"
45007 case "(($ac_try" in
45008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45009 *) ac_try_echo=$ac_try;;
45010 esac
45011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45012 (eval "$ac_link") 2>conftest.er1
45013 ac_status=$?
45014 grep -v '^ *+' conftest.er1 >conftest.err
45015 rm -f conftest.er1
45016 cat conftest.err >&5
45017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45018 (exit $ac_status); } && {
45019 test -z "$ac_c_werror_flag" ||
45020 test ! -s conftest.err
45021 } && test -s conftest$ac_exeext &&
45022 $as_test_x conftest$ac_exeext; then
45023 eval "$as_ac_var=yes"
45024 else
45025 echo "$as_me: failed program was:" >&5
45026 sed 's/^/| /' conftest.$ac_ext >&5
45027
45028 eval "$as_ac_var=no"
45029 fi
45030
45031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45032 conftest$ac_exeext conftest.$ac_ext
45033 fi
45034 ac_res=`eval echo '${'$as_ac_var'}'`
45035 { echo "$as_me:$LINENO: result: $ac_res" >&5
45036 echo "${ECHO_T}$ac_res" >&6; }
45037 if test `eval echo '${'$as_ac_var'}'` = yes; then
45038 cat >>confdefs.h <<_ACEOF
45039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45040 _ACEOF
45041
45042 fi
45043 done
45044
45045
45046 if test "$ac_cv_func_localtime" = "yes"; then
45047 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45048 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45049 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45050 echo $ECHO_N "(cached) $ECHO_C" >&6
45051 else
45052
45053 cat >conftest.$ac_ext <<_ACEOF
45054 /* confdefs.h. */
45055 _ACEOF
45056 cat confdefs.h >>conftest.$ac_ext
45057 cat >>conftest.$ac_ext <<_ACEOF
45058 /* end confdefs.h. */
45059
45060 #include <time.h>
45061
45062 int
45063 main ()
45064 {
45065
45066 struct tm tm;
45067 tm.tm_gmtoff++;
45068
45069 ;
45070 return 0;
45071 }
45072 _ACEOF
45073 rm -f conftest.$ac_objext
45074 if { (ac_try="$ac_compile"
45075 case "(($ac_try" in
45076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45077 *) ac_try_echo=$ac_try;;
45078 esac
45079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45080 (eval "$ac_compile") 2>conftest.er1
45081 ac_status=$?
45082 grep -v '^ *+' conftest.er1 >conftest.err
45083 rm -f conftest.er1
45084 cat conftest.err >&5
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); } && {
45087 test -z "$ac_c_werror_flag" ||
45088 test ! -s conftest.err
45089 } && test -s conftest.$ac_objext; then
45090
45091 wx_cv_struct_tm_has_gmtoff=yes
45092
45093 else
45094 echo "$as_me: failed program was:" >&5
45095 sed 's/^/| /' conftest.$ac_ext >&5
45096
45097 wx_cv_struct_tm_has_gmtoff=no
45098
45099 fi
45100
45101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45102
45103 fi
45104 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45105 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
45106 fi
45107
45108 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define WX_GMTOFF_IN_TM 1
45111 _ACEOF
45112
45113 fi
45114
45115
45116
45117 for ac_func in gettimeofday ftime
45118 do
45119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45123 echo $ECHO_N "(cached) $ECHO_C" >&6
45124 else
45125 cat >conftest.$ac_ext <<_ACEOF
45126 /* confdefs.h. */
45127 _ACEOF
45128 cat confdefs.h >>conftest.$ac_ext
45129 cat >>conftest.$ac_ext <<_ACEOF
45130 /* end confdefs.h. */
45131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45133 #define $ac_func innocuous_$ac_func
45134
45135 /* System header to define __stub macros and hopefully few prototypes,
45136 which can conflict with char $ac_func (); below.
45137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45138 <limits.h> exists even on freestanding compilers. */
45139
45140 #ifdef __STDC__
45141 # include <limits.h>
45142 #else
45143 # include <assert.h>
45144 #endif
45145
45146 #undef $ac_func
45147
45148 /* Override any GCC internal prototype to avoid an error.
45149 Use char because int might match the return type of a GCC
45150 builtin and then its argument prototype would still apply. */
45151 #ifdef __cplusplus
45152 extern "C"
45153 #endif
45154 char $ac_func ();
45155 /* The GNU C library defines this for functions which it implements
45156 to always fail with ENOSYS. Some functions are actually named
45157 something starting with __ and the normal name is an alias. */
45158 #if defined __stub_$ac_func || defined __stub___$ac_func
45159 choke me
45160 #endif
45161
45162 int
45163 main ()
45164 {
45165 return $ac_func ();
45166 ;
45167 return 0;
45168 }
45169 _ACEOF
45170 rm -f conftest.$ac_objext conftest$ac_exeext
45171 if { (ac_try="$ac_link"
45172 case "(($ac_try" in
45173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45174 *) ac_try_echo=$ac_try;;
45175 esac
45176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45177 (eval "$ac_link") 2>conftest.er1
45178 ac_status=$?
45179 grep -v '^ *+' conftest.er1 >conftest.err
45180 rm -f conftest.er1
45181 cat conftest.err >&5
45182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45183 (exit $ac_status); } && {
45184 test -z "$ac_c_werror_flag" ||
45185 test ! -s conftest.err
45186 } && test -s conftest$ac_exeext &&
45187 $as_test_x conftest$ac_exeext; then
45188 eval "$as_ac_var=yes"
45189 else
45190 echo "$as_me: failed program was:" >&5
45191 sed 's/^/| /' conftest.$ac_ext >&5
45192
45193 eval "$as_ac_var=no"
45194 fi
45195
45196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45197 conftest$ac_exeext conftest.$ac_ext
45198 fi
45199 ac_res=`eval echo '${'$as_ac_var'}'`
45200 { echo "$as_me:$LINENO: result: $ac_res" >&5
45201 echo "${ECHO_T}$ac_res" >&6; }
45202 if test `eval echo '${'$as_ac_var'}'` = yes; then
45203 cat >>confdefs.h <<_ACEOF
45204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45205 _ACEOF
45206 break
45207 fi
45208 done
45209
45210
45211 if test "$ac_cv_func_gettimeofday" = "yes"; then
45212 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45213 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45214 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45215 echo $ECHO_N "(cached) $ECHO_C" >&6
45216 else
45217
45218 cat >conftest.$ac_ext <<_ACEOF
45219 /* confdefs.h. */
45220 _ACEOF
45221 cat confdefs.h >>conftest.$ac_ext
45222 cat >>conftest.$ac_ext <<_ACEOF
45223 /* end confdefs.h. */
45224
45225 #include <sys/time.h>
45226 #include <unistd.h>
45227
45228 int
45229 main ()
45230 {
45231
45232 struct timeval tv;
45233 gettimeofday(&tv, NULL);
45234
45235 ;
45236 return 0;
45237 }
45238 _ACEOF
45239 rm -f conftest.$ac_objext
45240 if { (ac_try="$ac_compile"
45241 case "(($ac_try" in
45242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45243 *) ac_try_echo=$ac_try;;
45244 esac
45245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45246 (eval "$ac_compile") 2>conftest.er1
45247 ac_status=$?
45248 grep -v '^ *+' conftest.er1 >conftest.err
45249 rm -f conftest.er1
45250 cat conftest.err >&5
45251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45252 (exit $ac_status); } && {
45253 test -z "$ac_c_werror_flag" ||
45254 test ! -s conftest.err
45255 } && test -s conftest.$ac_objext; then
45256 wx_cv_func_gettimeofday_has_2_args=yes
45257 else
45258 echo "$as_me: failed program was:" >&5
45259 sed 's/^/| /' conftest.$ac_ext >&5
45260
45261 cat >conftest.$ac_ext <<_ACEOF
45262 /* confdefs.h. */
45263 _ACEOF
45264 cat confdefs.h >>conftest.$ac_ext
45265 cat >>conftest.$ac_ext <<_ACEOF
45266 /* end confdefs.h. */
45267
45268 #include <sys/time.h>
45269 #include <unistd.h>
45270
45271 int
45272 main ()
45273 {
45274
45275 struct timeval tv;
45276 gettimeofday(&tv);
45277
45278 ;
45279 return 0;
45280 }
45281 _ACEOF
45282 rm -f conftest.$ac_objext
45283 if { (ac_try="$ac_compile"
45284 case "(($ac_try" in
45285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45286 *) ac_try_echo=$ac_try;;
45287 esac
45288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45289 (eval "$ac_compile") 2>conftest.er1
45290 ac_status=$?
45291 grep -v '^ *+' conftest.er1 >conftest.err
45292 rm -f conftest.er1
45293 cat conftest.err >&5
45294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45295 (exit $ac_status); } && {
45296 test -z "$ac_c_werror_flag" ||
45297 test ! -s conftest.err
45298 } && test -s conftest.$ac_objext; then
45299 wx_cv_func_gettimeofday_has_2_args=no
45300 else
45301 echo "$as_me: failed program was:" >&5
45302 sed 's/^/| /' conftest.$ac_ext >&5
45303
45304
45305 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45306 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45307 wx_cv_func_gettimeofday_has_2_args=unknown
45308
45309
45310 fi
45311
45312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45313
45314 fi
45315
45316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45317
45318 fi
45319 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45320 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45321
45322 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45323 cat >>confdefs.h <<\_ACEOF
45324 #define WX_GETTIMEOFDAY_NO_TZ 1
45325 _ACEOF
45326
45327 fi
45328 fi
45329
45330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45331 fi
45332
45333
45334 if test "$wxUSE_SOCKETS" = "yes"; then
45335 if test "$wxUSE_MGL" = "1"; then
45336 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45337 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45338 wxUSE_SOCKETS="no"
45339 fi
45340 fi
45341
45342 if test "$wxUSE_SOCKETS" = "yes"; then
45343 if test "$TOOLKIT" != "MSW"; then
45344 { echo "$as_me:$LINENO: checking for socket" >&5
45345 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45346 if test "${ac_cv_func_socket+set}" = set; then
45347 echo $ECHO_N "(cached) $ECHO_C" >&6
45348 else
45349 cat >conftest.$ac_ext <<_ACEOF
45350 /* confdefs.h. */
45351 _ACEOF
45352 cat confdefs.h >>conftest.$ac_ext
45353 cat >>conftest.$ac_ext <<_ACEOF
45354 /* end confdefs.h. */
45355 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45357 #define socket innocuous_socket
45358
45359 /* System header to define __stub macros and hopefully few prototypes,
45360 which can conflict with char socket (); below.
45361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45362 <limits.h> exists even on freestanding compilers. */
45363
45364 #ifdef __STDC__
45365 # include <limits.h>
45366 #else
45367 # include <assert.h>
45368 #endif
45369
45370 #undef socket
45371
45372 /* Override any GCC internal prototype to avoid an error.
45373 Use char because int might match the return type of a GCC
45374 builtin and then its argument prototype would still apply. */
45375 #ifdef __cplusplus
45376 extern "C"
45377 #endif
45378 char socket ();
45379 /* The GNU C library defines this for functions which it implements
45380 to always fail with ENOSYS. Some functions are actually named
45381 something starting with __ and the normal name is an alias. */
45382 #if defined __stub_socket || defined __stub___socket
45383 choke me
45384 #endif
45385
45386 int
45387 main ()
45388 {
45389 return socket ();
45390 ;
45391 return 0;
45392 }
45393 _ACEOF
45394 rm -f conftest.$ac_objext conftest$ac_exeext
45395 if { (ac_try="$ac_link"
45396 case "(($ac_try" in
45397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45398 *) ac_try_echo=$ac_try;;
45399 esac
45400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45401 (eval "$ac_link") 2>conftest.er1
45402 ac_status=$?
45403 grep -v '^ *+' conftest.er1 >conftest.err
45404 rm -f conftest.er1
45405 cat conftest.err >&5
45406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45407 (exit $ac_status); } && {
45408 test -z "$ac_c_werror_flag" ||
45409 test ! -s conftest.err
45410 } && test -s conftest$ac_exeext &&
45411 $as_test_x conftest$ac_exeext; then
45412 ac_cv_func_socket=yes
45413 else
45414 echo "$as_me: failed program was:" >&5
45415 sed 's/^/| /' conftest.$ac_ext >&5
45416
45417 ac_cv_func_socket=no
45418 fi
45419
45420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45421 conftest$ac_exeext conftest.$ac_ext
45422 fi
45423 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45424 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45425 if test $ac_cv_func_socket = yes; then
45426 :
45427 else
45428
45429 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45430 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45431 if test "${ac_cv_lib_socket_socket+set}" = set; then
45432 echo $ECHO_N "(cached) $ECHO_C" >&6
45433 else
45434 ac_check_lib_save_LIBS=$LIBS
45435 LIBS="-lsocket $LIBS"
45436 cat >conftest.$ac_ext <<_ACEOF
45437 /* confdefs.h. */
45438 _ACEOF
45439 cat confdefs.h >>conftest.$ac_ext
45440 cat >>conftest.$ac_ext <<_ACEOF
45441 /* end confdefs.h. */
45442
45443 /* Override any GCC internal prototype to avoid an error.
45444 Use char because int might match the return type of a GCC
45445 builtin and then its argument prototype would still apply. */
45446 #ifdef __cplusplus
45447 extern "C"
45448 #endif
45449 char socket ();
45450 int
45451 main ()
45452 {
45453 return socket ();
45454 ;
45455 return 0;
45456 }
45457 _ACEOF
45458 rm -f conftest.$ac_objext conftest$ac_exeext
45459 if { (ac_try="$ac_link"
45460 case "(($ac_try" in
45461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45462 *) ac_try_echo=$ac_try;;
45463 esac
45464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45465 (eval "$ac_link") 2>conftest.er1
45466 ac_status=$?
45467 grep -v '^ *+' conftest.er1 >conftest.err
45468 rm -f conftest.er1
45469 cat conftest.err >&5
45470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45471 (exit $ac_status); } && {
45472 test -z "$ac_c_werror_flag" ||
45473 test ! -s conftest.err
45474 } && test -s conftest$ac_exeext &&
45475 $as_test_x conftest$ac_exeext; then
45476 ac_cv_lib_socket_socket=yes
45477 else
45478 echo "$as_me: failed program was:" >&5
45479 sed 's/^/| /' conftest.$ac_ext >&5
45480
45481 ac_cv_lib_socket_socket=no
45482 fi
45483
45484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45485 conftest$ac_exeext conftest.$ac_ext
45486 LIBS=$ac_check_lib_save_LIBS
45487 fi
45488 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45489 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45490 if test $ac_cv_lib_socket_socket = yes; then
45491 if test "$INET_LINK" != " -lsocket"; then
45492 INET_LINK="$INET_LINK -lsocket"
45493 fi
45494 else
45495
45496 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45497 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45498 wxUSE_SOCKETS=no
45499
45500
45501 fi
45502
45503
45504
45505 fi
45506
45507 fi
45508 fi
45509
45510 if test "$wxUSE_SOCKETS" = "yes" ; then
45511 if test "$TOOLKIT" != "MSW"; then
45512 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45513 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45514 if test "${wx_cv_type_getsockname3+set}" = set; then
45515 echo $ECHO_N "(cached) $ECHO_C" >&6
45516 else
45517
45518 ac_ext=cpp
45519 ac_cpp='$CXXCPP $CPPFLAGS'
45520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45523
45524 cat >conftest.$ac_ext <<_ACEOF
45525 /* confdefs.h. */
45526 _ACEOF
45527 cat confdefs.h >>conftest.$ac_ext
45528 cat >>conftest.$ac_ext <<_ACEOF
45529 /* end confdefs.h. */
45530
45531 #include <sys/types.h>
45532 #include <sys/socket.h>
45533
45534 int
45535 main ()
45536 {
45537
45538 socklen_t len;
45539 getsockname(0, 0, &len);
45540
45541 ;
45542 return 0;
45543 }
45544 _ACEOF
45545 rm -f conftest.$ac_objext
45546 if { (ac_try="$ac_compile"
45547 case "(($ac_try" in
45548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45549 *) ac_try_echo=$ac_try;;
45550 esac
45551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45552 (eval "$ac_compile") 2>conftest.er1
45553 ac_status=$?
45554 grep -v '^ *+' conftest.er1 >conftest.err
45555 rm -f conftest.er1
45556 cat conftest.err >&5
45557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45558 (exit $ac_status); } && {
45559 test -z "$ac_cxx_werror_flag" ||
45560 test ! -s conftest.err
45561 } && test -s conftest.$ac_objext; then
45562 wx_cv_type_getsockname3=socklen_t
45563 else
45564 echo "$as_me: failed program was:" >&5
45565 sed 's/^/| /' conftest.$ac_ext >&5
45566
45567
45568 CFLAGS_OLD="$CFLAGS"
45569 if test "$GCC" = yes ; then
45570 CFLAGS="-Werror $CFLAGS"
45571 fi
45572
45573 cat >conftest.$ac_ext <<_ACEOF
45574 /* confdefs.h. */
45575 _ACEOF
45576 cat confdefs.h >>conftest.$ac_ext
45577 cat >>conftest.$ac_ext <<_ACEOF
45578 /* end confdefs.h. */
45579
45580 #include <sys/types.h>
45581 #include <sys/socket.h>
45582
45583 int
45584 main ()
45585 {
45586
45587 size_t len;
45588 getsockname(0, 0, &len);
45589
45590 ;
45591 return 0;
45592 }
45593 _ACEOF
45594 rm -f conftest.$ac_objext
45595 if { (ac_try="$ac_compile"
45596 case "(($ac_try" in
45597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45598 *) ac_try_echo=$ac_try;;
45599 esac
45600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45601 (eval "$ac_compile") 2>conftest.er1
45602 ac_status=$?
45603 grep -v '^ *+' conftest.er1 >conftest.err
45604 rm -f conftest.er1
45605 cat conftest.err >&5
45606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45607 (exit $ac_status); } && {
45608 test -z "$ac_cxx_werror_flag" ||
45609 test ! -s conftest.err
45610 } && test -s conftest.$ac_objext; then
45611 wx_cv_type_getsockname3=size_t
45612 else
45613 echo "$as_me: failed program was:" >&5
45614 sed 's/^/| /' conftest.$ac_ext >&5
45615
45616 cat >conftest.$ac_ext <<_ACEOF
45617 /* confdefs.h. */
45618 _ACEOF
45619 cat confdefs.h >>conftest.$ac_ext
45620 cat >>conftest.$ac_ext <<_ACEOF
45621 /* end confdefs.h. */
45622
45623 #include <sys/types.h>
45624 #include <sys/socket.h>
45625
45626 int
45627 main ()
45628 {
45629
45630 int len;
45631 getsockname(0, 0, &len);
45632
45633 ;
45634 return 0;
45635 }
45636 _ACEOF
45637 rm -f conftest.$ac_objext
45638 if { (ac_try="$ac_compile"
45639 case "(($ac_try" in
45640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45641 *) ac_try_echo=$ac_try;;
45642 esac
45643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45644 (eval "$ac_compile") 2>conftest.er1
45645 ac_status=$?
45646 grep -v '^ *+' conftest.er1 >conftest.err
45647 rm -f conftest.er1
45648 cat conftest.err >&5
45649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45650 (exit $ac_status); } && {
45651 test -z "$ac_cxx_werror_flag" ||
45652 test ! -s conftest.err
45653 } && test -s conftest.$ac_objext; then
45654 wx_cv_type_getsockname3=int
45655 else
45656 echo "$as_me: failed program was:" >&5
45657 sed 's/^/| /' conftest.$ac_ext >&5
45658
45659 wx_cv_type_getsockname3=unknown
45660
45661 fi
45662
45663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45664
45665 fi
45666
45667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45668
45669 CFLAGS="$CFLAGS_OLD"
45670
45671
45672 fi
45673
45674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45675 ac_ext=c
45676 ac_cpp='$CPP $CPPFLAGS'
45677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45680
45681
45682 fi
45683 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45684 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45685
45686 if test "$wx_cv_type_getsockname3" = "unknown"; then
45687 wxUSE_SOCKETS=no
45688 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45689 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45690 else
45691 cat >>confdefs.h <<_ACEOF
45692 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45693 _ACEOF
45694
45695 fi
45696 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45697 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45698 if test "${wx_cv_type_getsockopt5+set}" = set; then
45699 echo $ECHO_N "(cached) $ECHO_C" >&6
45700 else
45701
45702 cat >conftest.$ac_ext <<_ACEOF
45703 /* confdefs.h. */
45704 _ACEOF
45705 cat confdefs.h >>conftest.$ac_ext
45706 cat >>conftest.$ac_ext <<_ACEOF
45707 /* end confdefs.h. */
45708
45709 #include <sys/types.h>
45710 #include <sys/socket.h>
45711
45712 int
45713 main ()
45714 {
45715
45716 socklen_t len;
45717 getsockopt(0, 0, 0, 0, &len);
45718
45719 ;
45720 return 0;
45721 }
45722 _ACEOF
45723 rm -f conftest.$ac_objext
45724 if { (ac_try="$ac_compile"
45725 case "(($ac_try" in
45726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45727 *) ac_try_echo=$ac_try;;
45728 esac
45729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45730 (eval "$ac_compile") 2>conftest.er1
45731 ac_status=$?
45732 grep -v '^ *+' conftest.er1 >conftest.err
45733 rm -f conftest.er1
45734 cat conftest.err >&5
45735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45736 (exit $ac_status); } && {
45737 test -z "$ac_c_werror_flag" ||
45738 test ! -s conftest.err
45739 } && test -s conftest.$ac_objext; then
45740 wx_cv_type_getsockopt5=socklen_t
45741 else
45742 echo "$as_me: failed program was:" >&5
45743 sed 's/^/| /' conftest.$ac_ext >&5
45744
45745
45746 ac_ext=cpp
45747 ac_cpp='$CXXCPP $CPPFLAGS'
45748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45751
45752 cat >conftest.$ac_ext <<_ACEOF
45753 /* confdefs.h. */
45754 _ACEOF
45755 cat confdefs.h >>conftest.$ac_ext
45756 cat >>conftest.$ac_ext <<_ACEOF
45757 /* end confdefs.h. */
45758
45759 #include <sys/types.h>
45760 #include <sys/socket.h>
45761
45762 int
45763 main ()
45764 {
45765
45766 size_t len;
45767 getsockopt(0, 0, 0, 0, &len);
45768
45769 ;
45770 return 0;
45771 }
45772 _ACEOF
45773 rm -f conftest.$ac_objext
45774 if { (ac_try="$ac_compile"
45775 case "(($ac_try" in
45776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45777 *) ac_try_echo=$ac_try;;
45778 esac
45779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45780 (eval "$ac_compile") 2>conftest.er1
45781 ac_status=$?
45782 grep -v '^ *+' conftest.er1 >conftest.err
45783 rm -f conftest.er1
45784 cat conftest.err >&5
45785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45786 (exit $ac_status); } && {
45787 test -z "$ac_cxx_werror_flag" ||
45788 test ! -s conftest.err
45789 } && test -s conftest.$ac_objext; then
45790 wx_cv_type_getsockopt5=size_t
45791 else
45792 echo "$as_me: failed program was:" >&5
45793 sed 's/^/| /' conftest.$ac_ext >&5
45794
45795 cat >conftest.$ac_ext <<_ACEOF
45796 /* confdefs.h. */
45797 _ACEOF
45798 cat confdefs.h >>conftest.$ac_ext
45799 cat >>conftest.$ac_ext <<_ACEOF
45800 /* end confdefs.h. */
45801
45802 #include <sys/types.h>
45803 #include <sys/socket.h>
45804
45805 int
45806 main ()
45807 {
45808
45809 int len;
45810 getsockopt(0, 0, 0, 0, &len);
45811
45812 ;
45813 return 0;
45814 }
45815 _ACEOF
45816 rm -f conftest.$ac_objext
45817 if { (ac_try="$ac_compile"
45818 case "(($ac_try" in
45819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45820 *) ac_try_echo=$ac_try;;
45821 esac
45822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45823 (eval "$ac_compile") 2>conftest.er1
45824 ac_status=$?
45825 grep -v '^ *+' conftest.er1 >conftest.err
45826 rm -f conftest.er1
45827 cat conftest.err >&5
45828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45829 (exit $ac_status); } && {
45830 test -z "$ac_cxx_werror_flag" ||
45831 test ! -s conftest.err
45832 } && test -s conftest.$ac_objext; then
45833 wx_cv_type_getsockopt5=int
45834 else
45835 echo "$as_me: failed program was:" >&5
45836 sed 's/^/| /' conftest.$ac_ext >&5
45837
45838 wx_cv_type_getsockopt5=unknown
45839
45840 fi
45841
45842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45843
45844 fi
45845
45846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45847 ac_ext=c
45848 ac_cpp='$CPP $CPPFLAGS'
45849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45852
45853
45854
45855 fi
45856
45857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45858
45859 fi
45860 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45861 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45862
45863 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45864 wxUSE_SOCKETS=no
45865 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45866 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45867 else
45868 cat >>confdefs.h <<_ACEOF
45869 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45870 _ACEOF
45871
45872 fi
45873 fi
45874 fi
45875
45876 if test "$wxUSE_SOCKETS" = "yes" ; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_SOCKETS 1
45879 _ACEOF
45880
45881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45882 fi
45883
45884 if test "$wxUSE_PROTOCOL" = "yes"; then
45885 if test "$wxUSE_SOCKETS" != "yes"; then
45886 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45887 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45888 wxUSE_PROTOCOL=no
45889 fi
45890 fi
45891
45892 if test "$wxUSE_PROTOCOL" = "yes"; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_PROTOCOL 1
45895 _ACEOF
45896
45897
45898 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45899 cat >>confdefs.h <<\_ACEOF
45900 #define wxUSE_PROTOCOL_HTTP 1
45901 _ACEOF
45902
45903 fi
45904 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_PROTOCOL_FTP 1
45907 _ACEOF
45908
45909 fi
45910 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_PROTOCOL_FILE 1
45913 _ACEOF
45914
45915 fi
45916 else
45917 if test "$wxUSE_FS_INET" = "yes"; then
45918 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45919 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45920 wxUSE_FS_INET="no"
45921 fi
45922 fi
45923
45924 if test "$wxUSE_URL" = "yes"; then
45925 if test "$wxUSE_PROTOCOL" != "yes"; then
45926 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45927 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45928 wxUSE_URL=no
45929 fi
45930 if test "$wxUSE_URL" = "yes"; then
45931 cat >>confdefs.h <<\_ACEOF
45932 #define wxUSE_URL 1
45933 _ACEOF
45934
45935 fi
45936 fi
45937
45938 if test "$wxUSE_VARIANT" = "yes"; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_VARIANT 1
45941 _ACEOF
45942
45943 fi
45944
45945 if test "$wxUSE_FS_INET" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_FS_INET 1
45948 _ACEOF
45949
45950 fi
45951
45952
45953 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45954 wxUSE_JOYSTICK=no
45955
45956 if test "$TOOLKIT" = "MSW"; then
45957 wxUSE_JOYSTICK=yes
45958
45959 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45960 if test "$USE_DARWIN" = 1; then
45961 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45962 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45963 ac_ext=cpp
45964 ac_cpp='$CXXCPP $CPPFLAGS'
45965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45968
45969 cat >conftest.$ac_ext <<_ACEOF
45970 /* confdefs.h. */
45971 _ACEOF
45972 cat confdefs.h >>conftest.$ac_ext
45973 cat >>conftest.$ac_ext <<_ACEOF
45974 /* end confdefs.h. */
45975 #include <IOKit/hid/IOHIDLib.h>
45976 int
45977 main ()
45978 {
45979 IOHIDQueueInterface *qi = NULL;
45980 IOHIDCallbackFunction cb = NULL;
45981 qi->setEventCallout(NULL, cb, NULL, NULL);
45982 ;
45983 return 0;
45984 }
45985 _ACEOF
45986 rm -f conftest.$ac_objext
45987 if { (ac_try="$ac_compile"
45988 case "(($ac_try" in
45989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45990 *) ac_try_echo=$ac_try;;
45991 esac
45992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45993 (eval "$ac_compile") 2>conftest.er1
45994 ac_status=$?
45995 grep -v '^ *+' conftest.er1 >conftest.err
45996 rm -f conftest.er1
45997 cat conftest.err >&5
45998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45999 (exit $ac_status); } && {
46000 test -z "$ac_cxx_werror_flag" ||
46001 test ! -s conftest.err
46002 } && test -s conftest.$ac_objext; then
46003 wxUSE_JOYSTICK=yes
46004
46005 else
46006 echo "$as_me: failed program was:" >&5
46007 sed 's/^/| /' conftest.$ac_ext >&5
46008
46009
46010 fi
46011
46012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46013 ac_ext=c
46014 ac_cpp='$CPP $CPPFLAGS'
46015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46018
46019 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46020 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46021 fi
46022
46023 else
46024 if test "$wxUSE_MGL" != "1"; then
46025 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46026 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
46027 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46028 echo $ECHO_N "(cached) $ECHO_C" >&6
46029 else
46030 cat >conftest.$ac_ext <<_ACEOF
46031 /* confdefs.h. */
46032 _ACEOF
46033 cat confdefs.h >>conftest.$ac_ext
46034 cat >>conftest.$ac_ext <<_ACEOF
46035 /* end confdefs.h. */
46036 #include <stdio.h>
46037
46038 #include <linux/joystick.h>
46039 _ACEOF
46040 rm -f conftest.$ac_objext
46041 if { (ac_try="$ac_compile"
46042 case "(($ac_try" in
46043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46044 *) ac_try_echo=$ac_try;;
46045 esac
46046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46047 (eval "$ac_compile") 2>conftest.er1
46048 ac_status=$?
46049 grep -v '^ *+' conftest.er1 >conftest.err
46050 rm -f conftest.er1
46051 cat conftest.err >&5
46052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46053 (exit $ac_status); } && {
46054 test -z "$ac_c_werror_flag" ||
46055 test ! -s conftest.err
46056 } && test -s conftest.$ac_objext; then
46057 ac_cv_header_linux_joystick_h=yes
46058 else
46059 echo "$as_me: failed program was:" >&5
46060 sed 's/^/| /' conftest.$ac_ext >&5
46061
46062 ac_cv_header_linux_joystick_h=no
46063 fi
46064
46065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46066 fi
46067 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46068 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
46069 if test $ac_cv_header_linux_joystick_h = yes; then
46070 wxUSE_JOYSTICK=yes
46071 fi
46072
46073
46074 fi
46075 fi
46076
46077 if test "$wxUSE_JOYSTICK" = "yes"; then
46078 cat >>confdefs.h <<\_ACEOF
46079 #define wxUSE_JOYSTICK 1
46080 _ACEOF
46081
46082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46083 else
46084 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46085 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46086 fi
46087 fi
46088
46089
46090
46091 if test "$wxUSE_FONTMAP" = "yes" ; then
46092 cat >>confdefs.h <<\_ACEOF
46093 #define wxUSE_FONTMAP 1
46094 _ACEOF
46095
46096 fi
46097
46098 if test "$wxUSE_UNICODE" = "yes" ; then
46099 cat >>confdefs.h <<\_ACEOF
46100 #define wxUSE_UNICODE 1
46101 _ACEOF
46102
46103
46104 if test "$USE_WIN32" != 1; then
46105 wxUSE_UNICODE_MSLU=no
46106 fi
46107
46108 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46109 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46110 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46111 if test "${ac_cv_lib_unicows_main+set}" = set; then
46112 echo $ECHO_N "(cached) $ECHO_C" >&6
46113 else
46114 ac_check_lib_save_LIBS=$LIBS
46115 LIBS="-lunicows $LIBS"
46116 cat >conftest.$ac_ext <<_ACEOF
46117 /* confdefs.h. */
46118 _ACEOF
46119 cat confdefs.h >>conftest.$ac_ext
46120 cat >>conftest.$ac_ext <<_ACEOF
46121 /* end confdefs.h. */
46122
46123
46124 int
46125 main ()
46126 {
46127 return main ();
46128 ;
46129 return 0;
46130 }
46131 _ACEOF
46132 rm -f conftest.$ac_objext conftest$ac_exeext
46133 if { (ac_try="$ac_link"
46134 case "(($ac_try" in
46135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46136 *) ac_try_echo=$ac_try;;
46137 esac
46138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46139 (eval "$ac_link") 2>conftest.er1
46140 ac_status=$?
46141 grep -v '^ *+' conftest.er1 >conftest.err
46142 rm -f conftest.er1
46143 cat conftest.err >&5
46144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46145 (exit $ac_status); } && {
46146 test -z "$ac_c_werror_flag" ||
46147 test ! -s conftest.err
46148 } && test -s conftest$ac_exeext &&
46149 $as_test_x conftest$ac_exeext; then
46150 ac_cv_lib_unicows_main=yes
46151 else
46152 echo "$as_me: failed program was:" >&5
46153 sed 's/^/| /' conftest.$ac_ext >&5
46154
46155 ac_cv_lib_unicows_main=no
46156 fi
46157
46158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46159 conftest$ac_exeext conftest.$ac_ext
46160 LIBS=$ac_check_lib_save_LIBS
46161 fi
46162 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46163 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46164 if test $ac_cv_lib_unicows_main = yes; then
46165
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_UNICODE_MSLU 1
46168 _ACEOF
46169
46170
46171 else
46172
46173 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46174 Applications will only run on Windows NT/2000/XP!" >&5
46175 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46176 Applications will only run on Windows NT/2000/XP!" >&2;}
46177 wxUSE_UNICODE_MSLU=no
46178
46179 fi
46180
46181 fi
46182 fi
46183
46184 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
46185 cat >>confdefs.h <<\_ACEOF
46186 #define wxUSE_EXPERIMENTAL_PRINTF 1
46187 _ACEOF
46188
46189 fi
46190
46191
46192 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_POSTSCRIPT 1
46195 _ACEOF
46196
46197 fi
46198
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46201 _ACEOF
46202
46203
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_NORMALIZED_PS_FONTS 1
46206 _ACEOF
46207
46208
46209
46210 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46211 cat >>confdefs.h <<\_ACEOF
46212 #define wxUSE_CONSTRAINTS 1
46213 _ACEOF
46214
46215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46216 fi
46217
46218 if test "$wxUSE_MDI" = "yes"; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_MDI 1
46221 _ACEOF
46222
46223
46224 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46225 cat >>confdefs.h <<\_ACEOF
46226 #define wxUSE_MDI_ARCHITECTURE 1
46227 _ACEOF
46228
46229 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46230 fi
46231 fi
46232
46233 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46234 cat >>confdefs.h <<\_ACEOF
46235 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46236 _ACEOF
46237
46238 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46239 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46240 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
46241 fi
46242 fi
46243
46244 if test "$wxUSE_HELP" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_HELP 1
46247 _ACEOF
46248
46249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46250
46251 if test "$wxUSE_MSW" = 1; then
46252 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_MS_HTML_HELP 1
46255 _ACEOF
46256
46257 fi
46258 fi
46259
46260 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46261 if test "$wxUSE_HTML" = "yes"; then
46262 cat >>confdefs.h <<\_ACEOF
46263 #define wxUSE_WXHTML_HELP 1
46264 _ACEOF
46265
46266 else
46267 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46268 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46269 wxUSE_WXHTML_HELP=no
46270 fi
46271 fi
46272 fi
46273
46274 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46275 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46276 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
46277 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
46278 else
46279 cat >>confdefs.h <<\_ACEOF
46280 #define wxUSE_PRINTING_ARCHITECTURE 1
46281 _ACEOF
46282
46283 fi
46284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46285 fi
46286
46287 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
46288 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
46289 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
46290 { (exit 1); exit 1; }; }
46291 fi
46292
46293
46294 if test "$wxUSE_METAFILE" = "yes"; then
46295 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46296 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46297 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46298 wxUSE_METAFILE=no
46299 fi
46300 fi
46301
46302
46303 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46304 -o "$wxUSE_CLIPBOARD" = "yes" \
46305 -o "$wxUSE_OLE" = "yes" \
46306 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46307
46308 for ac_header in ole2.h
46309 do
46310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46311 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46312 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46314 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46315 echo $ECHO_N "(cached) $ECHO_C" >&6
46316 fi
46317 ac_res=`eval echo '${'$as_ac_Header'}'`
46318 { echo "$as_me:$LINENO: result: $ac_res" >&5
46319 echo "${ECHO_T}$ac_res" >&6; }
46320 else
46321 # Is the header compilable?
46322 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
46323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
46324 cat >conftest.$ac_ext <<_ACEOF
46325 /* confdefs.h. */
46326 _ACEOF
46327 cat confdefs.h >>conftest.$ac_ext
46328 cat >>conftest.$ac_ext <<_ACEOF
46329 /* end confdefs.h. */
46330 $ac_includes_default
46331 #include <$ac_header>
46332 _ACEOF
46333 rm -f conftest.$ac_objext
46334 if { (ac_try="$ac_compile"
46335 case "(($ac_try" in
46336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46337 *) ac_try_echo=$ac_try;;
46338 esac
46339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46340 (eval "$ac_compile") 2>conftest.er1
46341 ac_status=$?
46342 grep -v '^ *+' conftest.er1 >conftest.err
46343 rm -f conftest.er1
46344 cat conftest.err >&5
46345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46346 (exit $ac_status); } && {
46347 test -z "$ac_c_werror_flag" ||
46348 test ! -s conftest.err
46349 } && test -s conftest.$ac_objext; then
46350 ac_header_compiler=yes
46351 else
46352 echo "$as_me: failed program was:" >&5
46353 sed 's/^/| /' conftest.$ac_ext >&5
46354
46355 ac_header_compiler=no
46356 fi
46357
46358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46359 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46360 echo "${ECHO_T}$ac_header_compiler" >&6; }
46361
46362 # Is the header present?
46363 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
46364 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
46365 cat >conftest.$ac_ext <<_ACEOF
46366 /* confdefs.h. */
46367 _ACEOF
46368 cat confdefs.h >>conftest.$ac_ext
46369 cat >>conftest.$ac_ext <<_ACEOF
46370 /* end confdefs.h. */
46371 #include <$ac_header>
46372 _ACEOF
46373 if { (ac_try="$ac_cpp conftest.$ac_ext"
46374 case "(($ac_try" in
46375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46376 *) ac_try_echo=$ac_try;;
46377 esac
46378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
46380 ac_status=$?
46381 grep -v '^ *+' conftest.er1 >conftest.err
46382 rm -f conftest.er1
46383 cat conftest.err >&5
46384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46385 (exit $ac_status); } >/dev/null && {
46386 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
46387 test ! -s conftest.err
46388 }; then
46389 ac_header_preproc=yes
46390 else
46391 echo "$as_me: failed program was:" >&5
46392 sed 's/^/| /' conftest.$ac_ext >&5
46393
46394 ac_header_preproc=no
46395 fi
46396
46397 rm -f conftest.err conftest.$ac_ext
46398 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46399 echo "${ECHO_T}$ac_header_preproc" >&6; }
46400
46401 # So? What about this header?
46402 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
46403 yes:no: )
46404 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46405 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46406 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
46407 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
46408 ac_header_preproc=yes
46409 ;;
46410 no:yes:* )
46411 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46412 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46413 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46414 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46415 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
46416 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
46417 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
46418 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
46419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46420 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46421 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
46422 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
46423 ( cat <<\_ASBOX
46424 ## ----------------------------------------- ##
46425 ## Report this to wx-dev@lists.wxwidgets.org ##
46426 ## ----------------------------------------- ##
46427 _ASBOX
46428 ) | sed "s/^/$as_me: WARNING: /" >&2
46429 ;;
46430 esac
46431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46434 echo $ECHO_N "(cached) $ECHO_C" >&6
46435 else
46436 eval "$as_ac_Header=\$ac_header_preproc"
46437 fi
46438 ac_res=`eval echo '${'$as_ac_Header'}'`
46439 { echo "$as_me:$LINENO: result: $ac_res" >&5
46440 echo "${ECHO_T}$ac_res" >&6; }
46441
46442 fi
46443 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46444 cat >>confdefs.h <<_ACEOF
46445 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46446 _ACEOF
46447
46448 fi
46449
46450 done
46451
46452
46453 if test "$ac_cv_header_ole2_h" = "yes" ; then
46454 if test "$GCC" = yes ; then
46455 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46456 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46457 cat >conftest.$ac_ext <<_ACEOF
46458 /* confdefs.h. */
46459 _ACEOF
46460 cat confdefs.h >>conftest.$ac_ext
46461 cat >>conftest.$ac_ext <<_ACEOF
46462 /* end confdefs.h. */
46463 #include <windows.h>
46464 #include <ole2.h>
46465 int
46466 main ()
46467 {
46468
46469 ;
46470 return 0;
46471 }
46472 _ACEOF
46473 rm -f conftest.$ac_objext
46474 if { (ac_try="$ac_compile"
46475 case "(($ac_try" in
46476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46477 *) ac_try_echo=$ac_try;;
46478 esac
46479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46480 (eval "$ac_compile") 2>conftest.er1
46481 ac_status=$?
46482 grep -v '^ *+' conftest.er1 >conftest.err
46483 rm -f conftest.er1
46484 cat conftest.err >&5
46485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46486 (exit $ac_status); } && {
46487 test -z "$ac_c_werror_flag" ||
46488 test ! -s conftest.err
46489 } && test -s conftest.$ac_objext; then
46490 { echo "$as_me:$LINENO: result: no" >&5
46491 echo "${ECHO_T}no" >&6; }
46492 else
46493 echo "$as_me: failed program was:" >&5
46494 sed 's/^/| /' conftest.$ac_ext >&5
46495
46496 { echo "$as_me:$LINENO: result: yes" >&5
46497 echo "${ECHO_T}yes" >&6; }
46498 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46499 fi
46500
46501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46502 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46503 if test "$wxUSE_OLE" = "yes" ; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_OLE 1
46506 _ACEOF
46507
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_OLE_AUTOMATION 1
46510 _ACEOF
46511
46512 cat >>confdefs.h <<\_ACEOF
46513 #define wxUSE_ACTIVEX 1
46514 _ACEOF
46515
46516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46517 fi
46518 fi
46519
46520 if test "$wxUSE_DATAOBJ" = "yes" ; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_DATAOBJ 1
46523 _ACEOF
46524
46525 fi
46526 else
46527 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46528 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46529
46530 wxUSE_CLIPBOARD=no
46531 wxUSE_DRAG_AND_DROP=no
46532 wxUSE_DATAOBJ=no
46533 wxUSE_OLE=no
46534 fi
46535
46536 if test "$wxUSE_METAFILE" = "yes"; then
46537 cat >>confdefs.h <<\_ACEOF
46538 #define wxUSE_METAFILE 1
46539 _ACEOF
46540
46541
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_ENH_METAFILE 1
46544 _ACEOF
46545
46546 fi
46547 fi
46548
46549 if test "$wxUSE_IPC" = "yes"; then
46550 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46551 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46552 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46553 wxUSE_IPC=no
46554 fi
46555
46556 if test "$wxUSE_IPC" = "yes"; then
46557 cat >>confdefs.h <<\_ACEOF
46558 #define wxUSE_IPC 1
46559 _ACEOF
46560
46561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46562 fi
46563 fi
46564
46565 if test "$wxUSE_DATAOBJ" = "yes"; then
46566 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46567 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46568 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46569 wxUSE_DATAOBJ=no
46570 else
46571 cat >>confdefs.h <<\_ACEOF
46572 #define wxUSE_DATAOBJ 1
46573 _ACEOF
46574
46575 fi
46576 else
46577 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46578 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46579 wxUSE_CLIPBOARD=no
46580 wxUSE_DRAG_AND_DROP=no
46581 fi
46582
46583 if test "$wxUSE_CLIPBOARD" = "yes"; then
46584 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46585 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46586 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46587 wxUSE_CLIPBOARD=no
46588 fi
46589
46590 if test "$wxUSE_CLIPBOARD" = "yes"; then
46591 cat >>confdefs.h <<\_ACEOF
46592 #define wxUSE_CLIPBOARD 1
46593 _ACEOF
46594
46595 fi
46596 fi
46597
46598 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46599 if test "$wxUSE_GTK" = 1; then
46600 if test "$WXGTK12" != 1; then
46601 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46602 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46603 wxUSE_DRAG_AND_DROP=no
46604 fi
46605 fi
46606
46607 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46608 "$wxUSE_DFB" = 1; then
46609 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46610 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46611 wxUSE_DRAG_AND_DROP=no
46612 fi
46613
46614 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46615 cat >>confdefs.h <<\_ACEOF
46616 #define wxUSE_DRAG_AND_DROP 1
46617 _ACEOF
46618
46619 fi
46620
46621 fi
46622
46623 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46625 fi
46626
46627 if test "$wxUSE_SPLINES" = "yes" ; then
46628 cat >>confdefs.h <<\_ACEOF
46629 #define wxUSE_SPLINES 1
46630 _ACEOF
46631
46632 fi
46633
46634 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_MOUSEWHEEL 1
46637 _ACEOF
46638
46639 fi
46640
46641
46642 USES_CONTROLS=0
46643 if test "$wxUSE_CONTROLS" = "yes"; then
46644 USES_CONTROLS=1
46645 fi
46646
46647 if test "$wxUSE_ACCEL" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_ACCEL 1
46650 _ACEOF
46651
46652 USES_CONTROLS=1
46653 fi
46654
46655 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_ANIMATIONCTRL 1
46658 _ACEOF
46659
46660 USES_CONTROLS=1
46661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46662 fi
46663
46664 if test "$wxUSE_BUTTON" = "yes"; then
46665 cat >>confdefs.h <<\_ACEOF
46666 #define wxUSE_BUTTON 1
46667 _ACEOF
46668
46669 USES_CONTROLS=1
46670 fi
46671
46672 if test "$wxUSE_BMPBUTTON" = "yes"; then
46673 cat >>confdefs.h <<\_ACEOF
46674 #define wxUSE_BMPBUTTON 1
46675 _ACEOF
46676
46677 USES_CONTROLS=1
46678 fi
46679
46680 if test "$wxUSE_CALCTRL" = "yes"; then
46681 cat >>confdefs.h <<\_ACEOF
46682 #define wxUSE_CALENDARCTRL 1
46683 _ACEOF
46684
46685 USES_CONTROLS=1
46686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46687 fi
46688
46689 if test "$wxUSE_CARET" = "yes"; then
46690 cat >>confdefs.h <<\_ACEOF
46691 #define wxUSE_CARET 1
46692 _ACEOF
46693
46694 USES_CONTROLS=1
46695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46696 fi
46697
46698 if test "$wxUSE_COLLPANE" = "yes"; then
46699 cat >>confdefs.h <<\_ACEOF
46700 #define wxUSE_COLLPANE 1
46701 _ACEOF
46702
46703 USES_CONTROLS=1
46704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46705 fi
46706
46707 if test "$wxUSE_COMBOBOX" = "yes"; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_COMBOBOX 1
46710 _ACEOF
46711
46712 USES_CONTROLS=1
46713 fi
46714
46715 if test "$wxUSE_COMBOCTRL" = "yes"; then
46716 cat >>confdefs.h <<\_ACEOF
46717 #define wxUSE_COMBOCTRL 1
46718 _ACEOF
46719
46720 USES_CONTROLS=1
46721 fi
46722
46723 if test "$wxUSE_CHOICE" = "yes"; then
46724 cat >>confdefs.h <<\_ACEOF
46725 #define wxUSE_CHOICE 1
46726 _ACEOF
46727
46728 USES_CONTROLS=1
46729 fi
46730
46731 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46732 cat >>confdefs.h <<\_ACEOF
46733 #define wxUSE_CHOICEBOOK 1
46734 _ACEOF
46735
46736 USES_CONTROLS=1
46737 fi
46738
46739 if test "$wxUSE_CHECKBOX" = "yes"; then
46740 cat >>confdefs.h <<\_ACEOF
46741 #define wxUSE_CHECKBOX 1
46742 _ACEOF
46743
46744 USES_CONTROLS=1
46745 fi
46746
46747 if test "$wxUSE_CHECKLST" = "yes"; then
46748 cat >>confdefs.h <<\_ACEOF
46749 #define wxUSE_CHECKLISTBOX 1
46750 _ACEOF
46751
46752 USES_CONTROLS=1
46753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46754 fi
46755
46756 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46757 cat >>confdefs.h <<\_ACEOF
46758 #define wxUSE_COLOURPICKERCTRL 1
46759 _ACEOF
46760
46761 USES_CONTROLS=1
46762 fi
46763
46764 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46765 cat >>confdefs.h <<\_ACEOF
46766 #define wxUSE_DATEPICKCTRL 1
46767 _ACEOF
46768
46769 USES_CONTROLS=1
46770 fi
46771
46772 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46773 cat >>confdefs.h <<\_ACEOF
46774 #define wxUSE_DIRPICKERCTRL 1
46775 _ACEOF
46776
46777 USES_CONTROLS=1
46778 fi
46779
46780 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46781 cat >>confdefs.h <<\_ACEOF
46782 #define wxUSE_FILEPICKERCTRL 1
46783 _ACEOF
46784
46785 USES_CONTROLS=1
46786 fi
46787
46788 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46789 cat >>confdefs.h <<\_ACEOF
46790 #define wxUSE_FONTPICKERCTRL 1
46791 _ACEOF
46792
46793 USES_CONTROLS=1
46794 fi
46795
46796 if test "$wxUSE_DISPLAY" = "yes"; then
46797 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46798 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46799 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46800 wxUSE_DISPLAY=no
46801 else
46802 cat >>confdefs.h <<\_ACEOF
46803 #define wxUSE_DISPLAY 1
46804 _ACEOF
46805
46806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46807 fi
46808 fi
46809
46810 if test "$wxUSE_DETECT_SM" = "yes"; then
46811 cat >>confdefs.h <<\_ACEOF
46812 #define wxUSE_DETECT_SM 1
46813 _ACEOF
46814
46815 fi
46816
46817 if test "$wxUSE_GAUGE" = "yes"; then
46818 cat >>confdefs.h <<\_ACEOF
46819 #define wxUSE_GAUGE 1
46820 _ACEOF
46821
46822 USES_CONTROLS=1
46823 fi
46824
46825 if test "$wxUSE_GRID" = "yes"; then
46826 cat >>confdefs.h <<\_ACEOF
46827 #define wxUSE_GRID 1
46828 _ACEOF
46829
46830 USES_CONTROLS=1
46831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46832 fi
46833
46834 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46835 cat >>confdefs.h <<\_ACEOF
46836 #define wxUSE_HYPERLINKCTRL 1
46837 _ACEOF
46838
46839 USES_CONTROLS=1
46840 fi
46841
46842 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46843 cat >>confdefs.h <<\_ACEOF
46844 #define wxUSE_BITMAPCOMBOBOX 1
46845 _ACEOF
46846
46847 USES_CONTROLS=1
46848 fi
46849
46850 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46851 cat >>confdefs.h <<\_ACEOF
46852 #define wxUSE_DATAVIEWCTRL 1
46853 _ACEOF
46854
46855 USES_CONTROLS=1
46856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46857 fi
46858
46859 if test "$wxUSE_IMAGLIST" = "yes"; then
46860 cat >>confdefs.h <<\_ACEOF
46861 #define wxUSE_IMAGLIST 1
46862 _ACEOF
46863
46864 fi
46865
46866 if test "$wxUSE_LISTBOOK" = "yes"; then
46867 cat >>confdefs.h <<\_ACEOF
46868 #define wxUSE_LISTBOOK 1
46869 _ACEOF
46870
46871 USES_CONTROLS=1
46872 fi
46873
46874 if test "$wxUSE_LISTBOX" = "yes"; then
46875 cat >>confdefs.h <<\_ACEOF
46876 #define wxUSE_LISTBOX 1
46877 _ACEOF
46878
46879 USES_CONTROLS=1
46880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46881 fi
46882
46883 if test "$wxUSE_LISTCTRL" = "yes"; then
46884 if test "$wxUSE_IMAGLIST" = "yes"; then
46885 cat >>confdefs.h <<\_ACEOF
46886 #define wxUSE_LISTCTRL 1
46887 _ACEOF
46888
46889 USES_CONTROLS=1
46890 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46891 else
46892 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46893 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46894 fi
46895 fi
46896
46897 if test "$wxUSE_NOTEBOOK" = "yes"; then
46898 cat >>confdefs.h <<\_ACEOF
46899 #define wxUSE_NOTEBOOK 1
46900 _ACEOF
46901
46902 USES_CONTROLS=1
46903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46904 fi
46905
46906 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46907 cat >>confdefs.h <<\_ACEOF
46908 #define wxUSE_ODCOMBOBOX 1
46909 _ACEOF
46910
46911 USES_CONTROLS=1
46912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46913 fi
46914
46915
46916 if test "$wxUSE_RADIOBOX" = "yes"; then
46917 cat >>confdefs.h <<\_ACEOF
46918 #define wxUSE_RADIOBOX 1
46919 _ACEOF
46920
46921 USES_CONTROLS=1
46922 fi
46923
46924 if test "$wxUSE_RADIOBTN" = "yes"; then
46925 cat >>confdefs.h <<\_ACEOF
46926 #define wxUSE_RADIOBTN 1
46927 _ACEOF
46928
46929 USES_CONTROLS=1
46930 fi
46931
46932 if test "$wxUSE_SASH" = "yes"; then
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_SASH 1
46935 _ACEOF
46936
46937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46938 fi
46939
46940 if test "$wxUSE_SCROLLBAR" = "yes"; then
46941 cat >>confdefs.h <<\_ACEOF
46942 #define wxUSE_SCROLLBAR 1
46943 _ACEOF
46944
46945 USES_CONTROLS=1
46946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46947 fi
46948
46949 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46950 cat >>confdefs.h <<\_ACEOF
46951 #define wxUSE_SEARCHCTRL 1
46952 _ACEOF
46953
46954 USES_CONTROLS=1
46955 fi
46956
46957 if test "$wxUSE_SLIDER" = "yes"; then
46958 cat >>confdefs.h <<\_ACEOF
46959 #define wxUSE_SLIDER 1
46960 _ACEOF
46961
46962 USES_CONTROLS=1
46963 fi
46964
46965 if test "$wxUSE_SPINBTN" = "yes"; then
46966 cat >>confdefs.h <<\_ACEOF
46967 #define wxUSE_SPINBTN 1
46968 _ACEOF
46969
46970 USES_CONTROLS=1
46971 fi
46972
46973 if test "$wxUSE_SPINCTRL" = "yes"; then
46974 cat >>confdefs.h <<\_ACEOF
46975 #define wxUSE_SPINCTRL 1
46976 _ACEOF
46977
46978 USES_CONTROLS=1
46979 fi
46980
46981 if test "$wxUSE_SPLITTER" = "yes"; then
46982 cat >>confdefs.h <<\_ACEOF
46983 #define wxUSE_SPLITTER 1
46984 _ACEOF
46985
46986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46987 fi
46988
46989 if test "$wxUSE_STATBMP" = "yes"; then
46990 cat >>confdefs.h <<\_ACEOF
46991 #define wxUSE_STATBMP 1
46992 _ACEOF
46993
46994 USES_CONTROLS=1
46995 fi
46996
46997 if test "$wxUSE_STATBOX" = "yes"; then
46998 cat >>confdefs.h <<\_ACEOF
46999 #define wxUSE_STATBOX 1
47000 _ACEOF
47001
47002 USES_CONTROLS=1
47003 fi
47004
47005 if test "$wxUSE_STATTEXT" = "yes"; then
47006 cat >>confdefs.h <<\_ACEOF
47007 #define wxUSE_STATTEXT 1
47008 _ACEOF
47009
47010 USES_CONTROLS=1
47011 fi
47012
47013 if test "$wxUSE_STATLINE" = "yes"; then
47014 cat >>confdefs.h <<\_ACEOF
47015 #define wxUSE_STATLINE 1
47016 _ACEOF
47017
47018 USES_CONTROLS=1
47019 fi
47020
47021 if test "$wxUSE_STATUSBAR" = "yes"; then
47022 cat >>confdefs.h <<\_ACEOF
47023 #define wxUSE_NATIVE_STATUSBAR 1
47024 _ACEOF
47025
47026 cat >>confdefs.h <<\_ACEOF
47027 #define wxUSE_STATUSBAR 1
47028 _ACEOF
47029
47030 USES_CONTROLS=1
47031
47032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47033 fi
47034
47035 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_TAB_DIALOG 1
47038 _ACEOF
47039
47040 fi
47041
47042 if test "$wxUSE_TEXTCTRL" = "yes"; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_TEXTCTRL 1
47045 _ACEOF
47046
47047 USES_CONTROLS=1
47048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47049 fi
47050
47051 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47052 if test "$wxUSE_COCOA" = 1 ; then
47053 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47054 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47055 wxUSE_TOGGLEBTN=no
47056 fi
47057
47058 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47059 cat >>confdefs.h <<\_ACEOF
47060 #define wxUSE_TOGGLEBTN 1
47061 _ACEOF
47062
47063 USES_CONTROLS=1
47064 fi
47065 fi
47066
47067 if test "$wxUSE_TOOLBAR" = "yes"; then
47068 cat >>confdefs.h <<\_ACEOF
47069 #define wxUSE_TOOLBAR 1
47070 _ACEOF
47071
47072 USES_CONTROLS=1
47073
47074 if test "$wxUSE_UNIVERSAL" = "yes"; then
47075 wxUSE_TOOLBAR_NATIVE="no"
47076 else
47077 wxUSE_TOOLBAR_NATIVE="yes"
47078 cat >>confdefs.h <<\_ACEOF
47079 #define wxUSE_TOOLBAR_NATIVE 1
47080 _ACEOF
47081
47082 fi
47083
47084 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47085 fi
47086
47087 if test "$wxUSE_TOOLTIPS" = "yes"; then
47088 if test "$wxUSE_MOTIF" = 1; then
47089 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47090 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47091 else
47092 if test "$wxUSE_UNIVERSAL" = "yes"; then
47093 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47094 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47095 else
47096 cat >>confdefs.h <<\_ACEOF
47097 #define wxUSE_TOOLTIPS 1
47098 _ACEOF
47099
47100 fi
47101 fi
47102 fi
47103
47104 if test "$wxUSE_TREEBOOK" = "yes"; then
47105 cat >>confdefs.h <<\_ACEOF
47106 #define wxUSE_TREEBOOK 1
47107 _ACEOF
47108
47109 USES_CONTROLS=1
47110 fi
47111
47112 if test "$wxUSE_TOOLBOOK" = "yes"; then
47113 cat >>confdefs.h <<\_ACEOF
47114 #define wxUSE_TOOLBOOK 1
47115 _ACEOF
47116
47117 USES_CONTROLS=1
47118 fi
47119
47120 if test "$wxUSE_TREECTRL" = "yes"; then
47121 if test "$wxUSE_IMAGLIST" = "yes"; then
47122 cat >>confdefs.h <<\_ACEOF
47123 #define wxUSE_TREECTRL 1
47124 _ACEOF
47125
47126 USES_CONTROLS=1
47127 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47128 else
47129 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47130 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47131 fi
47132 fi
47133
47134 if test "$wxUSE_POPUPWIN" = "yes"; then
47135 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47136 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47137 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47138 else
47139 if test "$wxUSE_PM" = 1; then
47140 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47141 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47142 else
47143 cat >>confdefs.h <<\_ACEOF
47144 #define wxUSE_POPUPWIN 1
47145 _ACEOF
47146
47147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47148
47149 USES_CONTROLS=1
47150 fi
47151 fi
47152 fi
47153
47154 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47155 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47156 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47157 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47158 else
47159 cat >>confdefs.h <<\_ACEOF
47160 #define wxUSE_DIALUP_MANAGER 1
47161 _ACEOF
47162
47163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47164 fi
47165 fi
47166
47167 if test "$wxUSE_TIPWINDOW" = "yes"; then
47168 if test "$wxUSE_PM" = 1; then
47169 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47170 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47171 else
47172 cat >>confdefs.h <<\_ACEOF
47173 #define wxUSE_TIPWINDOW 1
47174 _ACEOF
47175
47176 fi
47177 fi
47178
47179 if test "$USES_CONTROLS" = 1; then
47180 cat >>confdefs.h <<\_ACEOF
47181 #define wxUSE_CONTROLS 1
47182 _ACEOF
47183
47184 fi
47185
47186
47187 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47188 cat >>confdefs.h <<\_ACEOF
47189 #define wxUSE_ACCESSIBILITY 1
47190 _ACEOF
47191
47192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47193 fi
47194
47195 if test "$wxUSE_DC_CACHEING" = "yes"; then
47196 cat >>confdefs.h <<\_ACEOF
47197 #define wxUSE_DC_CACHEING 1
47198 _ACEOF
47199
47200 fi
47201
47202 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47203 cat >>confdefs.h <<\_ACEOF
47204 #define wxUSE_DRAGIMAGE 1
47205 _ACEOF
47206
47207 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47208 fi
47209
47210 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47211 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47212 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47213 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47214 else
47215 cat >>confdefs.h <<\_ACEOF
47216 #define wxUSE_EXCEPTIONS 1
47217 _ACEOF
47218
47219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47220 fi
47221 fi
47222
47223 USE_HTML=0
47224 if test "$wxUSE_HTML" = "yes"; then
47225 cat >>confdefs.h <<\_ACEOF
47226 #define wxUSE_HTML 1
47227 _ACEOF
47228
47229 USE_HTML=1
47230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47231 if test "$wxUSE_MAC" = 1; then
47232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47233 fi
47234 fi
47235 if test "$wxUSE_WEBKIT" = "yes"; then
47236 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47237 old_CPPFLAGS="$CPPFLAGS"
47238 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47239 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47240 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
47241 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47242 echo $ECHO_N "(cached) $ECHO_C" >&6
47243 else
47244 cat >conftest.$ac_ext <<_ACEOF
47245 /* confdefs.h. */
47246 _ACEOF
47247 cat confdefs.h >>conftest.$ac_ext
47248 cat >>conftest.$ac_ext <<_ACEOF
47249 /* end confdefs.h. */
47250
47251 #include <Carbon/Carbon.h>
47252 #include <WebKit/WebKit.h>
47253
47254
47255 #include <WebKit/HIWebView.h>
47256 _ACEOF
47257 rm -f conftest.$ac_objext
47258 if { (ac_try="$ac_compile"
47259 case "(($ac_try" in
47260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47261 *) ac_try_echo=$ac_try;;
47262 esac
47263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47264 (eval "$ac_compile") 2>conftest.er1
47265 ac_status=$?
47266 grep -v '^ *+' conftest.er1 >conftest.err
47267 rm -f conftest.er1
47268 cat conftest.err >&5
47269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47270 (exit $ac_status); } && {
47271 test -z "$ac_c_werror_flag" ||
47272 test ! -s conftest.err
47273 } && test -s conftest.$ac_objext; then
47274 ac_cv_header_WebKit_HIWebView_h=yes
47275 else
47276 echo "$as_me: failed program was:" >&5
47277 sed 's/^/| /' conftest.$ac_ext >&5
47278
47279 ac_cv_header_WebKit_HIWebView_h=no
47280 fi
47281
47282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47283 fi
47284 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47285 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
47286 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47287
47288 cat >>confdefs.h <<\_ACEOF
47289 #define wxUSE_WEBKIT 1
47290 _ACEOF
47291
47292 WEBKIT_LINK="-framework WebKit"
47293
47294 else
47295
47296 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47297 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47298 wxUSE_WEBKIT=no
47299
47300 fi
47301
47302
47303 CPPFLAGS="$old_CPPFLAGS"
47304 elif test "$wxUSE_COCOA" = 1; then
47305 cat >>confdefs.h <<\_ACEOF
47306 #define wxUSE_WEBKIT 1
47307 _ACEOF
47308
47309 else
47310 wxUSE_WEBKIT=no
47311 fi
47312 fi
47313
47314 USE_XRC=0
47315 if test "$wxUSE_XRC" = "yes"; then
47316 if test "$wxUSE_XML" != "yes"; then
47317 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47318 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47319 wxUSE_XRC=no
47320 else
47321 cat >>confdefs.h <<\_ACEOF
47322 #define wxUSE_XRC 1
47323 _ACEOF
47324
47325 USE_XRC=1
47326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47327 fi
47328 fi
47329
47330 USE_AUI=0
47331 if test "$wxUSE_AUI" = "yes"; then
47332 cat >>confdefs.h <<\_ACEOF
47333 #define wxUSE_AUI 1
47334 _ACEOF
47335
47336 USE_AUI=1
47337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47338 fi
47339
47340 if test "$wxUSE_MENUS" = "yes"; then
47341 cat >>confdefs.h <<\_ACEOF
47342 #define wxUSE_MENUS 1
47343 _ACEOF
47344
47345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47346 fi
47347
47348 if test "$wxUSE_METAFILE" = "yes"; then
47349 cat >>confdefs.h <<\_ACEOF
47350 #define wxUSE_METAFILE 1
47351 _ACEOF
47352
47353 fi
47354
47355 if test "$wxUSE_MIMETYPE" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_MIMETYPE 1
47358 _ACEOF
47359
47360 fi
47361
47362 if test "$wxUSE_MINIFRAME" = "yes"; then
47363 cat >>confdefs.h <<\_ACEOF
47364 #define wxUSE_MINIFRAME 1
47365 _ACEOF
47366
47367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
47368 fi
47369
47370 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47371 cat >>confdefs.h <<\_ACEOF
47372 #define wxUSE_SYSTEM_OPTIONS 1
47373 _ACEOF
47374
47375 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
47376 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
47377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47378 fi
47379 fi
47380
47381
47382 if test "$wxUSE_VALIDATORS" = "yes"; then
47383 cat >>confdefs.h <<\_ACEOF
47384 #define wxUSE_VALIDATORS 1
47385 _ACEOF
47386
47387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47388 fi
47389
47390 if test "$wxUSE_PALETTE" = "yes" ; then
47391 if test "$wxUSE_DFB" = 1; then
47392 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47393 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47394 wxUSE_PALETTE=no
47395 else
47396 cat >>confdefs.h <<\_ACEOF
47397 #define wxUSE_PALETTE 1
47398 _ACEOF
47399
47400 fi
47401 fi
47402
47403 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47404 LIBS=" -lunicows $LIBS"
47405 fi
47406
47407 USE_RICHTEXT=0
47408 if test "$wxUSE_RICHTEXT" = "yes"; then
47409 cat >>confdefs.h <<\_ACEOF
47410 #define wxUSE_RICHTEXT 1
47411 _ACEOF
47412
47413 USE_RICHTEXT=1
47414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47415 fi
47416
47417
47418 if test "$wxUSE_IMAGE" = "yes" ; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_IMAGE 1
47421 _ACEOF
47422
47423
47424 if test "$wxUSE_GIF" = "yes" ; then
47425 cat >>confdefs.h <<\_ACEOF
47426 #define wxUSE_GIF 1
47427 _ACEOF
47428
47429 fi
47430
47431 if test "$wxUSE_PCX" = "yes" ; then
47432 cat >>confdefs.h <<\_ACEOF
47433 #define wxUSE_PCX 1
47434 _ACEOF
47435
47436 fi
47437
47438 if test "$wxUSE_TGA" = "yes" ; then
47439 cat >>confdefs.h <<\_ACEOF
47440 #define wxUSE_TGA 1
47441 _ACEOF
47442
47443 fi
47444
47445 if test "$wxUSE_IFF" = "yes" ; then
47446 cat >>confdefs.h <<\_ACEOF
47447 #define wxUSE_IFF 1
47448 _ACEOF
47449
47450 fi
47451
47452 if test "$wxUSE_PNM" = "yes" ; then
47453 cat >>confdefs.h <<\_ACEOF
47454 #define wxUSE_PNM 1
47455 _ACEOF
47456
47457 fi
47458
47459 if test "$wxUSE_XPM" = "yes" ; then
47460 cat >>confdefs.h <<\_ACEOF
47461 #define wxUSE_XPM 1
47462 _ACEOF
47463
47464 fi
47465
47466 if test "$wxUSE_ICO_CUR" = "yes" ; then
47467 cat >>confdefs.h <<\_ACEOF
47468 #define wxUSE_ICO_CUR 1
47469 _ACEOF
47470
47471 fi
47472 fi
47473
47474
47475 if test "$wxUSE_ABOUTDLG" = "yes"; then
47476 cat >>confdefs.h <<\_ACEOF
47477 #define wxUSE_ABOUTDLG 1
47478 _ACEOF
47479
47480 fi
47481
47482 if test "$wxUSE_CHOICEDLG" = "yes"; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define wxUSE_CHOICEDLG 1
47485 _ACEOF
47486
47487 fi
47488
47489 if test "$wxUSE_COLOURDLG" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_COLOURDLG 1
47492 _ACEOF
47493
47494 fi
47495
47496 if test "$wxUSE_FILEDLG" = "yes"; then
47497 cat >>confdefs.h <<\_ACEOF
47498 #define wxUSE_FILEDLG 1
47499 _ACEOF
47500
47501 fi
47502
47503 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47504 cat >>confdefs.h <<\_ACEOF
47505 #define wxUSE_FINDREPLDLG 1
47506 _ACEOF
47507
47508 fi
47509
47510 if test "$wxUSE_FONTDLG" = "yes"; then
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_FONTDLG 1
47513 _ACEOF
47514
47515 fi
47516
47517 if test "$wxUSE_DIRDLG" = "yes"; then
47518 if test "$wxUSE_TREECTRL" != "yes"; then
47519 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47520 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47521 else
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_DIRDLG 1
47524 _ACEOF
47525
47526 fi
47527 fi
47528
47529 if test "$wxUSE_MSGDLG" = "yes"; then
47530 cat >>confdefs.h <<\_ACEOF
47531 #define wxUSE_MSGDLG 1
47532 _ACEOF
47533
47534 fi
47535
47536 if test "$wxUSE_NUMBERDLG" = "yes"; then
47537 cat >>confdefs.h <<\_ACEOF
47538 #define wxUSE_NUMBERDLG 1
47539 _ACEOF
47540
47541 fi
47542
47543 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47544 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47545 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47546 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47547 else
47548 cat >>confdefs.h <<\_ACEOF
47549 #define wxUSE_PROGRESSDLG 1
47550 _ACEOF
47551
47552 fi
47553 fi
47554
47555 if test "$wxUSE_SPLASH" = "yes"; then
47556 cat >>confdefs.h <<\_ACEOF
47557 #define wxUSE_SPLASH 1
47558 _ACEOF
47559
47560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47561 fi
47562
47563 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47564 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47565 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47566 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47567 else
47568 cat >>confdefs.h <<\_ACEOF
47569 #define wxUSE_STARTUP_TIPS 1
47570 _ACEOF
47571
47572 fi
47573 fi
47574
47575 if test "$wxUSE_TEXTDLG" = "yes"; then
47576 cat >>confdefs.h <<\_ACEOF
47577 #define wxUSE_TEXTDLG 1
47578 _ACEOF
47579
47580 fi
47581
47582 if test "$wxUSE_WIZARDDLG" = "yes"; then
47583 cat >>confdefs.h <<\_ACEOF
47584 #define wxUSE_WIZARDDLG 1
47585 _ACEOF
47586
47587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47588 fi
47589
47590
47591 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47592 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47593 cat >>confdefs.h <<\_ACEOF
47594 #define wxUSE_GRAPHICS_CONTEXT 1
47595 _ACEOF
47596
47597 elif test "$wxUSE_GTK" != 1; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_GRAPHICS_CONTEXT 1
47600 _ACEOF
47601
47602 else
47603
47604 pkg_failed=no
47605 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47606 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47607
47608 if test -n "$PKG_CONFIG"; then
47609 if test -n "$CAIRO_CFLAGS"; then
47610 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47611 else
47612 if test -n "$PKG_CONFIG" && \
47613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47614 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47615 ac_status=$?
47616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47617 (exit $ac_status); }; then
47618 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47619 else
47620 pkg_failed=yes
47621 fi
47622 fi
47623 else
47624 pkg_failed=untried
47625 fi
47626 if test -n "$PKG_CONFIG"; then
47627 if test -n "$CAIRO_LIBS"; then
47628 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47629 else
47630 if test -n "$PKG_CONFIG" && \
47631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47632 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47633 ac_status=$?
47634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47635 (exit $ac_status); }; then
47636 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47637 else
47638 pkg_failed=yes
47639 fi
47640 fi
47641 else
47642 pkg_failed=untried
47643 fi
47644
47645
47646
47647 if test $pkg_failed = yes; then
47648
47649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47650 _pkg_short_errors_supported=yes
47651 else
47652 _pkg_short_errors_supported=no
47653 fi
47654 if test $_pkg_short_errors_supported = yes; then
47655 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47656 else
47657 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47658 fi
47659 # Put the nasty error message in config.log where it belongs
47660 echo "$CAIRO_PKG_ERRORS" >&5
47661
47662 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47663 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47664
47665 elif test $pkg_failed = untried; then
47666 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47667 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47668
47669 else
47670 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47671 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47672 { echo "$as_me:$LINENO: result: yes" >&5
47673 echo "${ECHO_T}yes" >&6; }
47674 cat >>confdefs.h <<\_ACEOF
47675 #define wxUSE_GRAPHICS_CONTEXT 1
47676 _ACEOF
47677
47678 fi
47679 fi
47680 fi
47681
47682
47683 USE_MEDIA=0
47684
47685 if test "$wxUSE_MEDIACTRL" = "yes"; then
47686 USE_MEDIA=1
47687
47688 if test "$wxUSE_GTK" = 1; then
47689 wxUSE_GSTREAMER="no"
47690
47691 GST_VERSION_MAJOR=0
47692 GST_VERSION_MINOR=10
47693 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47694
47695 if test "$wxUSE_GSTREAMER8" = "no"; then
47696
47697 pkg_failed=no
47698 { echo "$as_me:$LINENO: checking for GST" >&5
47699 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47700
47701 if test -n "$PKG_CONFIG"; then
47702 if test -n "$GST_CFLAGS"; then
47703 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47704 else
47705 if test -n "$PKG_CONFIG" && \
47706 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47707 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47708 ac_status=$?
47709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47710 (exit $ac_status); }; then
47711 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47712 else
47713 pkg_failed=yes
47714 fi
47715 fi
47716 else
47717 pkg_failed=untried
47718 fi
47719 if test -n "$PKG_CONFIG"; then
47720 if test -n "$GST_LIBS"; then
47721 pkg_cv_GST_LIBS="$GST_LIBS"
47722 else
47723 if test -n "$PKG_CONFIG" && \
47724 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47725 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47726 ac_status=$?
47727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47728 (exit $ac_status); }; then
47729 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47730 else
47731 pkg_failed=yes
47732 fi
47733 fi
47734 else
47735 pkg_failed=untried
47736 fi
47737
47738
47739
47740 if test $pkg_failed = yes; then
47741
47742 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47743 _pkg_short_errors_supported=yes
47744 else
47745 _pkg_short_errors_supported=no
47746 fi
47747 if test $_pkg_short_errors_supported = yes; then
47748 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47749 else
47750 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47751 fi
47752 # Put the nasty error message in config.log where it belongs
47753 echo "$GST_PKG_ERRORS" >&5
47754
47755
47756 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47757 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47758 GST_VERSION_MINOR=8
47759
47760
47761 elif test $pkg_failed = untried; then
47762
47763 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47764 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47765 GST_VERSION_MINOR=8
47766
47767
47768 else
47769 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47770 GST_LIBS=$pkg_cv_GST_LIBS
47771 { echo "$as_me:$LINENO: result: yes" >&5
47772 echo "${ECHO_T}yes" >&6; }
47773
47774 wxUSE_GSTREAMER="yes"
47775 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47776
47777 fi
47778 else
47779 GST_VERSION_MINOR=8
47780 fi
47781
47782 if test $GST_VERSION_MINOR = "8"; then
47783 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47784
47785 pkg_failed=no
47786 { echo "$as_me:$LINENO: checking for GST" >&5
47787 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47788
47789 if test -n "$PKG_CONFIG"; then
47790 if test -n "$GST_CFLAGS"; then
47791 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47792 else
47793 if test -n "$PKG_CONFIG" && \
47794 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47795 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47796 ac_status=$?
47797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47798 (exit $ac_status); }; then
47799 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47800 else
47801 pkg_failed=yes
47802 fi
47803 fi
47804 else
47805 pkg_failed=untried
47806 fi
47807 if test -n "$PKG_CONFIG"; then
47808 if test -n "$GST_LIBS"; then
47809 pkg_cv_GST_LIBS="$GST_LIBS"
47810 else
47811 if test -n "$PKG_CONFIG" && \
47812 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47813 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47814 ac_status=$?
47815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47816 (exit $ac_status); }; then
47817 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47818 else
47819 pkg_failed=yes
47820 fi
47821 fi
47822 else
47823 pkg_failed=untried
47824 fi
47825
47826
47827
47828 if test $pkg_failed = yes; then
47829
47830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47831 _pkg_short_errors_supported=yes
47832 else
47833 _pkg_short_errors_supported=no
47834 fi
47835 if test $_pkg_short_errors_supported = yes; then
47836 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47837 else
47838 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47839 fi
47840 # Put the nasty error message in config.log where it belongs
47841 echo "$GST_PKG_ERRORS" >&5
47842
47843
47844 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47845 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47846
47847 elif test $pkg_failed = untried; then
47848
47849 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47850 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47851
47852 else
47853 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47854 GST_LIBS=$pkg_cv_GST_LIBS
47855 { echo "$as_me:$LINENO: result: yes" >&5
47856 echo "${ECHO_T}yes" >&6; }
47857 wxUSE_GSTREAMER="yes"
47858 fi
47859 fi
47860
47861
47862 if test "$wxUSE_GSTREAMER" = "yes"; then
47863 case "${host}" in
47864 *-*-solaris2* )
47865 if "$GCC" = yes; then
47866 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47867 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47868 fi
47869 esac
47870
47871 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47872 LIBS="$GST_LIBS $LIBS"
47873
47874 cat >>confdefs.h <<\_ACEOF
47875 #define wxUSE_GSTREAMER 1
47876 _ACEOF
47877
47878 else
47879 USE_MEDIA=0
47880 fi
47881 fi
47882
47883 if test $USE_MEDIA = 1; then
47884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47885 cat >>confdefs.h <<\_ACEOF
47886 #define wxUSE_MEDIACTRL 1
47887 _ACEOF
47888
47889 fi
47890 fi
47891
47892
47893 if test "$cross_compiling" = "yes"; then
47894 OSINFO="\"$host\""
47895 else
47896 OSINFO=`uname -s -r -m`
47897 OSINFO="\"$OSINFO\""
47898 fi
47899
47900 cat >>confdefs.h <<_ACEOF
47901 #define WXWIN_OS_DESCRIPTION $OSINFO
47902 _ACEOF
47903
47904
47905
47906 if test "x$prefix" != "xNONE"; then
47907 wxPREFIX=$prefix
47908 else
47909 wxPREFIX=$ac_default_prefix
47910 fi
47911
47912 cat >>confdefs.h <<_ACEOF
47913 #define wxINSTALL_PREFIX "$wxPREFIX"
47914 _ACEOF
47915
47916
47917
47918
47919 CORE_BASE_LIBS="net base"
47920 CORE_GUI_LIBS="adv core"
47921
47922 if test "$wxUSE_XML" = "yes" ; then
47923 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47924 fi
47925 if test "$wxUSE_ODBC" != "no" ; then
47926 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47927 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47928 fi
47929 if test "$wxUSE_HTML" = "yes" ; then
47930 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47931 fi
47932 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47933 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47934 fi
47935 if test "$wxUSE_XRC" = "yes" ; then
47936 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47937 fi
47938 if test "$wxUSE_AUI" = "yes" ; then
47939 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47940 fi
47941
47942 if test "$wxUSE_GUI" != "yes"; then
47943 CORE_GUI_LIBS=""
47944 fi
47945
47946
47947
47948
47949
47950
47951 if test "$wxUSE_MAC" = 1 ; then
47952 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47953 if test "$USE_DARWIN" = 1; then
47954 LDFLAGS="$LDFLAGS -framework QuickTime"
47955 else
47956 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47957 fi
47958 fi
47959 if test "$USE_DARWIN" = 1; then
47960 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47961 else
47962 LDFLAGS="$LDFLAGS -lCarbonLib"
47963 fi
47964 fi
47965 if test "$wxUSE_COCOA" = 1 ; then
47966 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47967 if test "$wxUSE_MEDIACTRL" = "yes"; then
47968 LDFLAGS="$LDFLAGS -framework QuickTime"
47969 fi
47970 fi
47971 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47972 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47973 fi
47974
47975 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47976
47977 if test "$wxUSE_GUI" = "yes"; then
47978
47979
47980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47981 dynamic erase event exec font image minimal mobile \
47982 mobile/wxedit mobile/styles propsize render \
47983 rotate shaped vscroll widgets"
47984
47985 if test "$wxUSE_MONOLITHIC" != "yes"; then
47986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47987 fi
47988 if test "$TOOLKIT" = "MSW"; then
47989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47990 if test "$wxUSE_UNIVERSAL" != "yes"; then
47991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47992 fi
47993 fi
47994 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47996 fi
47997 else
47998 SAMPLES_SUBDIRS="console"
47999 fi
48000
48001
48002 if test "x$INTELCC" = "xyes" ; then
48003 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48004 elif test "$GCC" = yes ; then
48005 CWARNINGS="-Wall -Wundef"
48006 fi
48007
48008 if test "x$INTELCXX" = "xyes" ; then
48009 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48010 elif test "$GXX" = yes ; then
48011 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48012 fi
48013
48014
48015 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48016 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48017
48018
48019 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48020 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48021 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48022 $CPPFLAGS `
48023
48024 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48025 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48026 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
48027
48028 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48029
48030
48031 if test "x$MWCC" = "xyes"; then
48032
48033 CC="$CC -cwd source -I-"
48034 CXX="$CXX -cwd source -I-"
48035 fi
48036
48037
48038 LIBS=`echo $LIBS`
48039 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48040 EXTRALIBS_XML="$EXPAT_LINK"
48041 EXTRALIBS_HTML="$MSPACK_LINK"
48042 EXTRALIBS_ODBC="$ODBC_LINK"
48043 if test "$wxUSE_GUI" = "yes"; then
48044 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48045 fi
48046 if test "$wxUSE_OPENGL" = "yes"; then
48047 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48048 fi
48049
48050 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48051
48052 WXCONFIG_LIBS="$LIBS"
48053
48054 if test "$wxUSE_REGEX" = "builtin" ; then
48055 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48056 fi
48057 if test "$wxUSE_EXPAT" = "builtin" ; then
48058 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48059 fi
48060 if test "$wxUSE_ODBC" = "builtin" ; then
48061 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
48062 fi
48063 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48064 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48065 fi
48066 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48067 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48068 fi
48069 if test "$wxUSE_LIBPNG" = "builtin" ; then
48070 wxconfig_3rdparty="png $wxconfig_3rdparty"
48071 fi
48072 if test "$wxUSE_ZLIB" = "builtin" ; then
48073 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48074 fi
48075
48076 for i in $wxconfig_3rdparty ; do
48077 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48078 done
48079
48080
48081 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48082 WXUNIV=1
48083
48084 case "$wxUNIV_THEMES" in
48085 ''|all)
48086 cat >>confdefs.h <<\_ACEOF
48087 #define wxUSE_ALL_THEMES 1
48088 _ACEOF
48089
48090 ;;
48091
48092 *)
48093 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48094 cat >>confdefs.h <<_ACEOF
48095 #define wxUSE_THEME_$t 1
48096 _ACEOF
48097
48098 done
48099 esac
48100 else
48101 WXUNIV=0
48102 fi
48103
48104
48105
48106
48107
48108
48109
48110
48111
48112 if test $wxUSE_MONOLITHIC = "yes" ; then
48113 MONOLITHIC=1
48114 else
48115 MONOLITHIC=0
48116 fi
48117
48118 if test $wxUSE_PLUGINS = "yes" ; then
48119 USE_PLUGINS=1
48120 else
48121 USE_PLUGINS=0
48122 fi
48123
48124 if test $wxUSE_ODBC != "no" ; then
48125 USE_ODBC=1
48126 else
48127 USE_ODBC=0
48128 fi
48129
48130 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48131 USE_QA=1
48132 else
48133 USE_QA=0
48134 fi
48135
48136 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48137 OFFICIAL_BUILD=1
48138 else
48139 OFFICIAL_BUILD=0
48140 fi
48141
48142
48143
48144
48145
48146
48147
48148
48149
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48167
48168
48169
48170
48171
48172
48173
48174
48175 case "$TOOLKIT" in
48176 GTK)
48177 TOOLKIT_DESC="GTK+"
48178 if test "$WXGTK20" = 1; then
48179 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48180 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48181 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48182 fi
48183 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48184 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48185 fi
48186 if test "$wxUSE_LIBHILDON" = "yes"; then
48187 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48188 fi
48189
48190 if test "$TOOLKIT_EXTRA" != ""; then
48191 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48192 fi
48193 fi
48194 ;;
48195
48196 ?*)
48197 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48198 ;;
48199
48200 *)
48201 TOOLKIT_DESC="base only"
48202 ;;
48203 esac
48204
48205 if test "$wxUSE_WINE" = "yes"; then
48206 BAKEFILE_FORCE_PLATFORM=win32
48207 fi
48208
48209 if test "$wxUSE_MAC" = 1 ; then
48210 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
48211 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
48212 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
48213 else
48214 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
48215 fi
48216 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
48217 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
48218 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
48219 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
48220 bk_use_pch=no
48221 fi
48222 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
48223 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
48224 fi
48225
48226 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48227 then
48228 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48229 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48230 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48231 echo $ECHO_N "(cached) $ECHO_C" >&6
48232 else
48233
48234 echo '#include <stdio.h>
48235 const wchar_t test_var[] = L"awidetest";' > conftest.h
48236
48237 echo '#include "conftest.h"
48238 int main()
48239 {
48240 printf("%ls", test_var);
48241 return 0;
48242 }' > conftest.cpp
48243
48244 wx_cv_gcc_pch_bug="pch not supported"
48245
48246 if $CXX conftest.h >/dev/null 2>&1
48247 then
48248 wx_cv_gcc_pch_bug=
48249
48250 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48251 then
48252 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48253 grep awidetest >/dev/null
48254 then
48255 wx_cv_gcc_pch_bug=no
48256 else
48257 wx_cv_gcc_pch_bug=yes
48258 fi
48259 fi
48260 fi
48261
48262 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48263
48264 fi
48265 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48266 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48267
48268 if test "$wx_cv_gcc_pch_bug" = yes; then
48269 bk_use_pch=no
48270 fi
48271 fi
48272
48273
48274
48275
48276 if test "x$BAKEFILE_HOST" = "x"; then
48277 if test "x${host}" = "x" ; then
48278 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48279 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48280 { (exit 1); exit 1; }; }
48281 fi
48282
48283 BAKEFILE_HOST="${host}"
48284 fi
48285
48286 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48287
48288 if test -n "$ac_tool_prefix"; then
48289 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48290 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48293 if test "${ac_cv_prog_RANLIB+set}" = set; then
48294 echo $ECHO_N "(cached) $ECHO_C" >&6
48295 else
48296 if test -n "$RANLIB"; then
48297 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48298 else
48299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48300 for as_dir in $PATH
48301 do
48302 IFS=$as_save_IFS
48303 test -z "$as_dir" && as_dir=.
48304 for ac_exec_ext in '' $ac_executable_extensions; do
48305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48306 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48308 break 2
48309 fi
48310 done
48311 done
48312 IFS=$as_save_IFS
48313
48314 fi
48315 fi
48316 RANLIB=$ac_cv_prog_RANLIB
48317 if test -n "$RANLIB"; then
48318 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48319 echo "${ECHO_T}$RANLIB" >&6; }
48320 else
48321 { echo "$as_me:$LINENO: result: no" >&5
48322 echo "${ECHO_T}no" >&6; }
48323 fi
48324
48325
48326 fi
48327 if test -z "$ac_cv_prog_RANLIB"; then
48328 ac_ct_RANLIB=$RANLIB
48329 # Extract the first word of "ranlib", so it can be a program name with args.
48330 set dummy ranlib; ac_word=$2
48331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48333 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48334 echo $ECHO_N "(cached) $ECHO_C" >&6
48335 else
48336 if test -n "$ac_ct_RANLIB"; then
48337 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48338 else
48339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48340 for as_dir in $PATH
48341 do
48342 IFS=$as_save_IFS
48343 test -z "$as_dir" && as_dir=.
48344 for ac_exec_ext in '' $ac_executable_extensions; do
48345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48346 ac_cv_prog_ac_ct_RANLIB="ranlib"
48347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48348 break 2
48349 fi
48350 done
48351 done
48352 IFS=$as_save_IFS
48353
48354 fi
48355 fi
48356 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48357 if test -n "$ac_ct_RANLIB"; then
48358 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48359 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48360 else
48361 { echo "$as_me:$LINENO: result: no" >&5
48362 echo "${ECHO_T}no" >&6; }
48363 fi
48364
48365 if test "x$ac_ct_RANLIB" = x; then
48366 RANLIB=":"
48367 else
48368 case $cross_compiling:$ac_tool_warned in
48369 yes:)
48370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48371 whose name does not start with the host triplet. If you think this
48372 configuration is useful to you, please write to autoconf@gnu.org." >&5
48373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48374 whose name does not start with the host triplet. If you think this
48375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48376 ac_tool_warned=yes ;;
48377 esac
48378 RANLIB=$ac_ct_RANLIB
48379 fi
48380 else
48381 RANLIB="$ac_cv_prog_RANLIB"
48382 fi
48383
48384 # Find a good install program. We prefer a C program (faster),
48385 # so one script is as good as another. But avoid the broken or
48386 # incompatible versions:
48387 # SysV /etc/install, /usr/sbin/install
48388 # SunOS /usr/etc/install
48389 # IRIX /sbin/install
48390 # AIX /bin/install
48391 # AmigaOS /C/install, which installs bootblocks on floppy discs
48392 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48395 # OS/2's system install, which has a completely different semantic
48396 # ./install, which can be erroneously created by make from ./install.sh.
48397 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48398 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48399 if test -z "$INSTALL"; then
48400 if test "${ac_cv_path_install+set}" = set; then
48401 echo $ECHO_N "(cached) $ECHO_C" >&6
48402 else
48403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48404 for as_dir in $PATH
48405 do
48406 IFS=$as_save_IFS
48407 test -z "$as_dir" && as_dir=.
48408 # Account for people who put trailing slashes in PATH elements.
48409 case $as_dir/ in
48410 ./ | .// | /cC/* | \
48411 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48412 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48413 /usr/ucb/* ) ;;
48414 *)
48415 # OSF1 and SCO ODT 3.0 have their own names for install.
48416 # Don't use installbsd from OSF since it installs stuff as root
48417 # by default.
48418 for ac_prog in ginstall scoinst install; do
48419 for ac_exec_ext in '' $ac_executable_extensions; do
48420 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48421 if test $ac_prog = install &&
48422 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48423 # AIX install. It has an incompatible calling convention.
48424 :
48425 elif test $ac_prog = install &&
48426 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48427 # program-specific install script used by HP pwplus--don't use.
48428 :
48429 else
48430 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48431 break 3
48432 fi
48433 fi
48434 done
48435 done
48436 ;;
48437 esac
48438 done
48439 IFS=$as_save_IFS
48440
48441
48442 fi
48443 if test "${ac_cv_path_install+set}" = set; then
48444 INSTALL=$ac_cv_path_install
48445 else
48446 # As a last resort, use the slow shell script. Don't cache a
48447 # value for INSTALL within a source directory, because that will
48448 # break other packages using the cache if that directory is
48449 # removed, or if the value is a relative name.
48450 INSTALL=$ac_install_sh
48451 fi
48452 fi
48453 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48454 echo "${ECHO_T}$INSTALL" >&6; }
48455
48456 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48457 # It thinks the first close brace ends the variable substitution.
48458 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48459
48460 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48461
48462 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48463
48464 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48465 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48466 LN_S=$as_ln_s
48467 if test "$LN_S" = "ln -s"; then
48468 { echo "$as_me:$LINENO: result: yes" >&5
48469 echo "${ECHO_T}yes" >&6; }
48470 else
48471 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48472 echo "${ECHO_T}no, using $LN_S" >&6; }
48473 fi
48474
48475
48476 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48477 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48478 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48479 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48480 echo $ECHO_N "(cached) $ECHO_C" >&6
48481 else
48482 cat >conftest.make <<\_ACEOF
48483 SHELL = /bin/sh
48484 all:
48485 @echo '@@@%%%=$(MAKE)=@@@%%%'
48486 _ACEOF
48487 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48488 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48489 *@@@%%%=?*=@@@%%%*)
48490 eval ac_cv_prog_make_${ac_make}_set=yes;;
48491 *)
48492 eval ac_cv_prog_make_${ac_make}_set=no;;
48493 esac
48494 rm -f conftest.make
48495 fi
48496 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48497 { echo "$as_me:$LINENO: result: yes" >&5
48498 echo "${ECHO_T}yes" >&6; }
48499 SET_MAKE=
48500 else
48501 { echo "$as_me:$LINENO: result: no" >&5
48502 echo "${ECHO_T}no" >&6; }
48503 SET_MAKE="MAKE=${MAKE-make}"
48504 fi
48505
48506
48507
48508 if test "x$SUNCXX" = "xyes"; then
48509 AR=$CXX
48510 AROPTIONS="-xar -o"
48511
48512 elif test "x$SGICC" = "xyes"; then
48513 AR=$CXX
48514 AROPTIONS="-ar -o"
48515
48516 else
48517 if test -n "$ac_tool_prefix"; then
48518 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48519 set dummy ${ac_tool_prefix}ar; ac_word=$2
48520 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48522 if test "${ac_cv_prog_AR+set}" = set; then
48523 echo $ECHO_N "(cached) $ECHO_C" >&6
48524 else
48525 if test -n "$AR"; then
48526 ac_cv_prog_AR="$AR" # Let the user override the test.
48527 else
48528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48529 for as_dir in $PATH
48530 do
48531 IFS=$as_save_IFS
48532 test -z "$as_dir" && as_dir=.
48533 for ac_exec_ext in '' $ac_executable_extensions; do
48534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48535 ac_cv_prog_AR="${ac_tool_prefix}ar"
48536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48537 break 2
48538 fi
48539 done
48540 done
48541 IFS=$as_save_IFS
48542
48543 fi
48544 fi
48545 AR=$ac_cv_prog_AR
48546 if test -n "$AR"; then
48547 { echo "$as_me:$LINENO: result: $AR" >&5
48548 echo "${ECHO_T}$AR" >&6; }
48549 else
48550 { echo "$as_me:$LINENO: result: no" >&5
48551 echo "${ECHO_T}no" >&6; }
48552 fi
48553
48554
48555 fi
48556 if test -z "$ac_cv_prog_AR"; then
48557 ac_ct_AR=$AR
48558 # Extract the first word of "ar", so it can be a program name with args.
48559 set dummy ar; ac_word=$2
48560 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48562 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48563 echo $ECHO_N "(cached) $ECHO_C" >&6
48564 else
48565 if test -n "$ac_ct_AR"; then
48566 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48567 else
48568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48569 for as_dir in $PATH
48570 do
48571 IFS=$as_save_IFS
48572 test -z "$as_dir" && as_dir=.
48573 for ac_exec_ext in '' $ac_executable_extensions; do
48574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48575 ac_cv_prog_ac_ct_AR="ar"
48576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48577 break 2
48578 fi
48579 done
48580 done
48581 IFS=$as_save_IFS
48582
48583 fi
48584 fi
48585 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48586 if test -n "$ac_ct_AR"; then
48587 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48588 echo "${ECHO_T}$ac_ct_AR" >&6; }
48589 else
48590 { echo "$as_me:$LINENO: result: no" >&5
48591 echo "${ECHO_T}no" >&6; }
48592 fi
48593
48594 if test "x$ac_ct_AR" = x; then
48595 AR="ar"
48596 else
48597 case $cross_compiling:$ac_tool_warned in
48598 yes:)
48599 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48600 whose name does not start with the host triplet. If you think this
48601 configuration is useful to you, please write to autoconf@gnu.org." >&5
48602 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48603 whose name does not start with the host triplet. If you think this
48604 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48605 ac_tool_warned=yes ;;
48606 esac
48607 AR=$ac_ct_AR
48608 fi
48609 else
48610 AR="$ac_cv_prog_AR"
48611 fi
48612
48613 AROPTIONS=rcu
48614 fi
48615
48616
48617 if test -n "$ac_tool_prefix"; then
48618 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48619 set dummy ${ac_tool_prefix}strip; ac_word=$2
48620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48622 if test "${ac_cv_prog_STRIP+set}" = set; then
48623 echo $ECHO_N "(cached) $ECHO_C" >&6
48624 else
48625 if test -n "$STRIP"; then
48626 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48627 else
48628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48629 for as_dir in $PATH
48630 do
48631 IFS=$as_save_IFS
48632 test -z "$as_dir" && as_dir=.
48633 for ac_exec_ext in '' $ac_executable_extensions; do
48634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48635 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48637 break 2
48638 fi
48639 done
48640 done
48641 IFS=$as_save_IFS
48642
48643 fi
48644 fi
48645 STRIP=$ac_cv_prog_STRIP
48646 if test -n "$STRIP"; then
48647 { echo "$as_me:$LINENO: result: $STRIP" >&5
48648 echo "${ECHO_T}$STRIP" >&6; }
48649 else
48650 { echo "$as_me:$LINENO: result: no" >&5
48651 echo "${ECHO_T}no" >&6; }
48652 fi
48653
48654
48655 fi
48656 if test -z "$ac_cv_prog_STRIP"; then
48657 ac_ct_STRIP=$STRIP
48658 # Extract the first word of "strip", so it can be a program name with args.
48659 set dummy strip; ac_word=$2
48660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48663 echo $ECHO_N "(cached) $ECHO_C" >&6
48664 else
48665 if test -n "$ac_ct_STRIP"; then
48666 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48667 else
48668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48669 for as_dir in $PATH
48670 do
48671 IFS=$as_save_IFS
48672 test -z "$as_dir" && as_dir=.
48673 for ac_exec_ext in '' $ac_executable_extensions; do
48674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48675 ac_cv_prog_ac_ct_STRIP="strip"
48676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48677 break 2
48678 fi
48679 done
48680 done
48681 IFS=$as_save_IFS
48682
48683 fi
48684 fi
48685 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48686 if test -n "$ac_ct_STRIP"; then
48687 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48688 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48689 else
48690 { echo "$as_me:$LINENO: result: no" >&5
48691 echo "${ECHO_T}no" >&6; }
48692 fi
48693
48694 if test "x$ac_ct_STRIP" = x; then
48695 STRIP=":"
48696 else
48697 case $cross_compiling:$ac_tool_warned in
48698 yes:)
48699 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48700 whose name does not start with the host triplet. If you think this
48701 configuration is useful to you, please write to autoconf@gnu.org." >&5
48702 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48703 whose name does not start with the host triplet. If you think this
48704 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48705 ac_tool_warned=yes ;;
48706 esac
48707 STRIP=$ac_ct_STRIP
48708 fi
48709 else
48710 STRIP="$ac_cv_prog_STRIP"
48711 fi
48712
48713 if test -n "$ac_tool_prefix"; then
48714 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48715 set dummy ${ac_tool_prefix}nm; ac_word=$2
48716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48718 if test "${ac_cv_prog_NM+set}" = set; then
48719 echo $ECHO_N "(cached) $ECHO_C" >&6
48720 else
48721 if test -n "$NM"; then
48722 ac_cv_prog_NM="$NM" # Let the user override the test.
48723 else
48724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48725 for as_dir in $PATH
48726 do
48727 IFS=$as_save_IFS
48728 test -z "$as_dir" && as_dir=.
48729 for ac_exec_ext in '' $ac_executable_extensions; do
48730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48731 ac_cv_prog_NM="${ac_tool_prefix}nm"
48732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48733 break 2
48734 fi
48735 done
48736 done
48737 IFS=$as_save_IFS
48738
48739 fi
48740 fi
48741 NM=$ac_cv_prog_NM
48742 if test -n "$NM"; then
48743 { echo "$as_me:$LINENO: result: $NM" >&5
48744 echo "${ECHO_T}$NM" >&6; }
48745 else
48746 { echo "$as_me:$LINENO: result: no" >&5
48747 echo "${ECHO_T}no" >&6; }
48748 fi
48749
48750
48751 fi
48752 if test -z "$ac_cv_prog_NM"; then
48753 ac_ct_NM=$NM
48754 # Extract the first word of "nm", so it can be a program name with args.
48755 set dummy nm; ac_word=$2
48756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48758 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48759 echo $ECHO_N "(cached) $ECHO_C" >&6
48760 else
48761 if test -n "$ac_ct_NM"; then
48762 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48763 else
48764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48765 for as_dir in $PATH
48766 do
48767 IFS=$as_save_IFS
48768 test -z "$as_dir" && as_dir=.
48769 for ac_exec_ext in '' $ac_executable_extensions; do
48770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48771 ac_cv_prog_ac_ct_NM="nm"
48772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48773 break 2
48774 fi
48775 done
48776 done
48777 IFS=$as_save_IFS
48778
48779 fi
48780 fi
48781 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48782 if test -n "$ac_ct_NM"; then
48783 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48784 echo "${ECHO_T}$ac_ct_NM" >&6; }
48785 else
48786 { echo "$as_me:$LINENO: result: no" >&5
48787 echo "${ECHO_T}no" >&6; }
48788 fi
48789
48790 if test "x$ac_ct_NM" = x; then
48791 NM=":"
48792 else
48793 case $cross_compiling:$ac_tool_warned in
48794 yes:)
48795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48796 whose name does not start with the host triplet. If you think this
48797 configuration is useful to you, please write to autoconf@gnu.org." >&5
48798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48799 whose name does not start with the host triplet. If you think this
48800 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48801 ac_tool_warned=yes ;;
48802 esac
48803 NM=$ac_ct_NM
48804 fi
48805 else
48806 NM="$ac_cv_prog_NM"
48807 fi
48808
48809
48810 case ${BAKEFILE_HOST} in
48811 *-hp-hpux* )
48812 INSTALL_DIR="mkdir -p"
48813 ;;
48814 * )
48815 INSTALL_DIR='$(INSTALL) -d'
48816 ;;
48817 esac
48818
48819
48820 LDFLAGS_GUI=
48821 case ${BAKEFILE_HOST} in
48822 *-*-cygwin* | *-*-mingw32* )
48823 LDFLAGS_GUI="-mwindows"
48824 esac
48825
48826
48827 fi
48828
48829 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48830 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48831 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48832 echo $ECHO_N "(cached) $ECHO_C" >&6
48833 else
48834
48835 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48836 egrep -s GNU > /dev/null); then
48837 bakefile_cv_prog_makeisgnu="yes"
48838 else
48839 bakefile_cv_prog_makeisgnu="no"
48840 fi
48841
48842 fi
48843 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48844 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48845
48846 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48847 IF_GNU_MAKE=""
48848 else
48849 IF_GNU_MAKE="#"
48850 fi
48851
48852
48853
48854 PLATFORM_UNIX=0
48855 PLATFORM_WIN32=0
48856 PLATFORM_MSDOS=0
48857 PLATFORM_MAC=0
48858 PLATFORM_MACOS=0
48859 PLATFORM_MACOSX=0
48860 PLATFORM_OS2=0
48861 PLATFORM_BEOS=0
48862
48863 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48864 case "${BAKEFILE_HOST}" in
48865 *-*-mingw32* )
48866 PLATFORM_WIN32=1
48867 ;;
48868 *-pc-msdosdjgpp )
48869 PLATFORM_MSDOS=1
48870 ;;
48871 *-pc-os2_emx | *-pc-os2-emx )
48872 PLATFORM_OS2=1
48873 ;;
48874 *-*-darwin* )
48875 PLATFORM_MAC=1
48876 PLATFORM_MACOSX=1
48877 ;;
48878 *-*-beos* )
48879 PLATFORM_BEOS=1
48880 ;;
48881 powerpc-apple-macos* )
48882 PLATFORM_MAC=1
48883 PLATFORM_MACOS=1
48884 ;;
48885 * )
48886 PLATFORM_UNIX=1
48887 ;;
48888 esac
48889 else
48890 case "$BAKEFILE_FORCE_PLATFORM" in
48891 win32 )
48892 PLATFORM_WIN32=1
48893 ;;
48894 msdos )
48895 PLATFORM_MSDOS=1
48896 ;;
48897 os2 )
48898 PLATFORM_OS2=1
48899 ;;
48900 darwin )
48901 PLATFORM_MAC=1
48902 PLATFORM_MACOSX=1
48903 ;;
48904 unix )
48905 PLATFORM_UNIX=1
48906 ;;
48907 beos )
48908 PLATFORM_BEOS=1
48909 ;;
48910 * )
48911 ;;
48912 esac
48913 fi
48914
48915
48916
48917
48918
48919
48920
48921
48922
48923
48924
48925 # Check whether --enable-omf was given.
48926 if test "${enable_omf+set}" = set; then
48927 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48928 fi
48929
48930
48931 case "${BAKEFILE_HOST}" in
48932 *-*-darwin* )
48933 if test "x$GCC" = "xyes"; then
48934 CFLAGS="$CFLAGS -fno-common"
48935 CXXFLAGS="$CXXFLAGS -fno-common"
48936 fi
48937 if test "x$XLCC" = "xyes"; then
48938 CFLAGS="$CFLAGS -qnocommon"
48939 CXXFLAGS="$CXXFLAGS -qnocommon"
48940 fi
48941 ;;
48942
48943 *-pc-os2_emx | *-pc-os2-emx )
48944 if test "x$bk_os2_use_omf" = "xyes" ; then
48945 AR=emxomfar
48946 RANLIB=:
48947 LDFLAGS="-Zomf $LDFLAGS"
48948 CFLAGS="-Zomf $CFLAGS"
48949 CXXFLAGS="-Zomf $CXXFLAGS"
48950 OS2_LIBEXT="lib"
48951 else
48952 OS2_LIBEXT="a"
48953 fi
48954 ;;
48955
48956 i*86-*-beos* )
48957 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48958 ;;
48959 esac
48960
48961
48962 SO_SUFFIX="so"
48963 SO_SUFFIX_MODULE="so"
48964 EXEEXT=""
48965 LIBPREFIX="lib"
48966 LIBEXT=".a"
48967 DLLPREFIX="lib"
48968 DLLPREFIX_MODULE=""
48969 DLLIMP_SUFFIX=""
48970 dlldir="$libdir"
48971
48972 case "${BAKEFILE_HOST}" in
48973 *-hp-hpux* )
48974 SO_SUFFIX="sl"
48975 SO_SUFFIX_MODULE="sl"
48976 ;;
48977 *-*-aix* )
48978 SO_SUFFIX="a"
48979 SO_SUFFIX_MODULE="a"
48980 ;;
48981 *-*-cygwin* )
48982 SO_SUFFIX="dll"
48983 SO_SUFFIX_MODULE="dll"
48984 DLLIMP_SUFFIX="dll.a"
48985 EXEEXT=".exe"
48986 DLLPREFIX="cyg"
48987 dlldir="$bindir"
48988 ;;
48989 *-*-mingw32* )
48990 SO_SUFFIX="dll"
48991 SO_SUFFIX_MODULE="dll"
48992 DLLIMP_SUFFIX="dll.a"
48993 EXEEXT=".exe"
48994 DLLPREFIX=""
48995 dlldir="$bindir"
48996 ;;
48997 *-pc-msdosdjgpp )
48998 EXEEXT=".exe"
48999 DLLPREFIX=""
49000 dlldir="$bindir"
49001 ;;
49002 *-pc-os2_emx | *-pc-os2-emx )
49003 SO_SUFFIX="dll"
49004 SO_SUFFIX_MODULE="dll"
49005 DLLIMP_SUFFIX=$OS2_LIBEXT
49006 EXEEXT=".exe"
49007 DLLPREFIX=""
49008 LIBPREFIX=""
49009 LIBEXT=".$OS2_LIBEXT"
49010 dlldir="$bindir"
49011 ;;
49012 *-*-darwin* )
49013 SO_SUFFIX="dylib"
49014 SO_SUFFIX_MODULE="bundle"
49015 ;;
49016 esac
49017
49018 if test "x$DLLIMP_SUFFIX" = "x" ; then
49019 DLLIMP_SUFFIX="$SO_SUFFIX"
49020 fi
49021
49022
49023
49024
49025
49026
49027
49028
49029
49030
49031
49032
49033 PIC_FLAG=""
49034 if test "x$GCC" = "xyes"; then
49035 PIC_FLAG="-fPIC"
49036 fi
49037
49038 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49039 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49040 WINDOWS_IMPLIB=0
49041
49042 case "${BAKEFILE_HOST}" in
49043 *-hp-hpux* )
49044 if test "x$GCC" != "xyes"; then
49045 LDFLAGS="$LDFLAGS -L/usr/lib"
49046
49047 SHARED_LD_CC="${CC} -b -o"
49048 SHARED_LD_CXX="${CXX} -b -o"
49049 PIC_FLAG="+Z"
49050 fi
49051 ;;
49052
49053 *-*-linux* )
49054 if test "x$GCC" != "xyes"; then
49055 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
49056 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
49057 if test "${bakefile_cv_prog_icc+set}" = set; then
49058 echo $ECHO_N "(cached) $ECHO_C" >&6
49059 else
49060
49061 cat >conftest.$ac_ext <<_ACEOF
49062 /* confdefs.h. */
49063 _ACEOF
49064 cat confdefs.h >>conftest.$ac_ext
49065 cat >>conftest.$ac_ext <<_ACEOF
49066 /* end confdefs.h. */
49067
49068 int
49069 main ()
49070 {
49071
49072 #ifndef __INTEL_COMPILER
49073 This is not ICC
49074 #endif
49075
49076 ;
49077 return 0;
49078 }
49079 _ACEOF
49080 rm -f conftest.$ac_objext
49081 if { (ac_try="$ac_compile"
49082 case "(($ac_try" in
49083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49084 *) ac_try_echo=$ac_try;;
49085 esac
49086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49087 (eval "$ac_compile") 2>conftest.er1
49088 ac_status=$?
49089 grep -v '^ *+' conftest.er1 >conftest.err
49090 rm -f conftest.er1
49091 cat conftest.err >&5
49092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49093 (exit $ac_status); } && {
49094 test -z "$ac_c_werror_flag" ||
49095 test ! -s conftest.err
49096 } && test -s conftest.$ac_objext; then
49097 bakefile_cv_prog_icc=yes
49098 else
49099 echo "$as_me: failed program was:" >&5
49100 sed 's/^/| /' conftest.$ac_ext >&5
49101
49102 bakefile_cv_prog_icc=no
49103
49104 fi
49105
49106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49107
49108 fi
49109 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
49110 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
49111 if test "$bakefile_cv_prog_icc" = "yes"; then
49112 PIC_FLAG="-KPIC"
49113 fi
49114 fi
49115 ;;
49116
49117 *-*-solaris2* )
49118 if test "x$GCC" != xyes ; then
49119 SHARED_LD_CC="${CC} -G -o"
49120 SHARED_LD_CXX="${CXX} -G -o"
49121 PIC_FLAG="-KPIC"
49122 fi
49123 ;;
49124
49125 *-*-darwin* )
49126
49127 D='$'
49128 cat <<EOF >shared-ld-sh
49129 #!/bin/sh
49130 #-----------------------------------------------------------------------------
49131 #-- Name: distrib/mac/shared-ld-sh
49132 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49133 #-- Author: Gilles Depeyrot
49134 #-- Copyright: (c) 2002 Gilles Depeyrot
49135 #-- Licence: any use permitted
49136 #-----------------------------------------------------------------------------
49137
49138 verbose=0
49139 args=""
49140 objects=""
49141 linking_flag="-dynamiclib"
49142 ldargs="-r -keep_private_externs -nostdlib"
49143
49144 while test ${D}# -gt 0; do
49145 case ${D}1 in
49146
49147 -v)
49148 verbose=1
49149 ;;
49150
49151 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49152 # collect these options and values
49153 args="${D}{args} ${D}1 ${D}2"
49154 shift
49155 ;;
49156
49157 -s|-Wl,*)
49158 # collect these load args
49159 ldargs="${D}{ldargs} ${D}1"
49160 ;;
49161
49162 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49163 # collect these options
49164 args="${D}{args} ${D}1"
49165 ;;
49166
49167 -dynamiclib|-bundle)
49168 linking_flag="${D}1"
49169 ;;
49170
49171 -*)
49172 echo "shared-ld: unhandled option '${D}1'"
49173 exit 1
49174 ;;
49175
49176 *.o | *.a | *.dylib)
49177 # collect object files
49178 objects="${D}{objects} ${D}1"
49179 ;;
49180
49181 *)
49182 echo "shared-ld: unhandled argument '${D}1'"
49183 exit 1
49184 ;;
49185
49186 esac
49187 shift
49188 done
49189
49190 status=0
49191
49192 #
49193 # Link one module containing all the others
49194 #
49195 if test ${D}{verbose} = 1; then
49196 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49197 fi
49198 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49199 status=${D}?
49200
49201 #
49202 # Link the shared library from the single module created, but only if the
49203 # previous command didn't fail:
49204 #
49205 if test ${D}{status} = 0; then
49206 if test ${D}{verbose} = 1; then
49207 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49208 fi
49209 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49210 status=${D}?
49211 fi
49212
49213 #
49214 # Remove intermediate module
49215 #
49216 rm -f master.${D}${D}.o
49217
49218 exit ${D}status
49219 EOF
49220
49221 chmod +x shared-ld-sh
49222
49223 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49224 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
49225
49226
49227 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49228 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49229 if test "${bakefile_cv_gcc31+set}" = set; then
49230 echo $ECHO_N "(cached) $ECHO_C" >&6
49231 else
49232
49233 cat >conftest.$ac_ext <<_ACEOF
49234 /* confdefs.h. */
49235 _ACEOF
49236 cat confdefs.h >>conftest.$ac_ext
49237 cat >>conftest.$ac_ext <<_ACEOF
49238 /* end confdefs.h. */
49239
49240 int
49241 main ()
49242 {
49243
49244 #if (__GNUC__ < 3) || \
49245 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49246 This is old gcc
49247 #endif
49248
49249 ;
49250 return 0;
49251 }
49252 _ACEOF
49253 rm -f conftest.$ac_objext
49254 if { (ac_try="$ac_compile"
49255 case "(($ac_try" in
49256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49257 *) ac_try_echo=$ac_try;;
49258 esac
49259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49260 (eval "$ac_compile") 2>conftest.er1
49261 ac_status=$?
49262 grep -v '^ *+' conftest.er1 >conftest.err
49263 rm -f conftest.er1
49264 cat conftest.err >&5
49265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49266 (exit $ac_status); } && {
49267 test -z "$ac_c_werror_flag" ||
49268 test ! -s conftest.err
49269 } && test -s conftest.$ac_objext; then
49270
49271 bakefile_cv_gcc31=yes
49272
49273 else
49274 echo "$as_me: failed program was:" >&5
49275 sed 's/^/| /' conftest.$ac_ext >&5
49276
49277
49278 bakefile_cv_gcc31=no
49279
49280
49281 fi
49282
49283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49284
49285 fi
49286 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49287 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49288 if test "$bakefile_cv_gcc31" = "no"; then
49289 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49290 SHARED_LD_CXX="$SHARED_LD_CC"
49291 else
49292 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49293 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49294 fi
49295
49296 if test "x$GCC" == "xyes"; then
49297 PIC_FLAG="-dynamic -fPIC"
49298 fi
49299 if test "x$XLCC" = "xyes"; then
49300 PIC_FLAG="-dynamic -DPIC"
49301 fi
49302 ;;
49303
49304 *-*-aix* )
49305 if test "x$GCC" = "xyes"; then
49306 PIC_FLAG=""
49307
49308 case "${BAKEFILE_HOST}" in
49309 *-*-aix5* )
49310 LD_EXPFULL="-Wl,-bexpfull"
49311 ;;
49312 esac
49313
49314 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49315 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49316 else
49317 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49318 set dummy makeC++SharedLib; ac_word=$2
49319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49321 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49322 echo $ECHO_N "(cached) $ECHO_C" >&6
49323 else
49324 if test -n "$AIX_CXX_LD"; then
49325 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49326 else
49327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49328 for as_dir in $PATH
49329 do
49330 IFS=$as_save_IFS
49331 test -z "$as_dir" && as_dir=.
49332 for ac_exec_ext in '' $ac_executable_extensions; do
49333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49334 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49336 break 2
49337 fi
49338 done
49339 done
49340 IFS=$as_save_IFS
49341
49342 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49343 fi
49344 fi
49345 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49346 if test -n "$AIX_CXX_LD"; then
49347 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49348 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49349 else
49350 { echo "$as_me:$LINENO: result: no" >&5
49351 echo "${ECHO_T}no" >&6; }
49352 fi
49353
49354
49355 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49356 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49357 fi
49358 ;;
49359
49360 *-*-beos* )
49361 SHARED_LD_CC="${LD} -nostart -o"
49362 SHARED_LD_CXX="${LD} -nostart -o"
49363 ;;
49364
49365 *-*-irix* )
49366 if test "x$GCC" != "xyes"; then
49367 PIC_FLAG="-KPIC"
49368 fi
49369 ;;
49370
49371 *-*-cygwin* | *-*-mingw32* )
49372 PIC_FLAG=""
49373 SHARED_LD_CC="\$(CC) -shared -o"
49374 SHARED_LD_CXX="\$(CXX) -shared -o"
49375 WINDOWS_IMPLIB=1
49376 ;;
49377
49378 *-pc-os2_emx | *-pc-os2-emx )
49379 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49380 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49381 PIC_FLAG=""
49382
49383 D='$'
49384 cat <<EOF >dllar.sh
49385 #!/bin/sh
49386 #
49387 # dllar - a tool to build both a .dll and an .a file
49388 # from a set of object (.o) files for EMX/OS2.
49389 #
49390 # Written by Andrew Zabolotny, bit@freya.etu.ru
49391 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49392 #
49393 # This script will accept a set of files on the command line.
49394 # All the public symbols from the .o files will be exported into
49395 # a .DEF file, then linker will be run (through gcc) against them to
49396 # build a shared library consisting of all given .o files. All libraries
49397 # (.a) will be first decompressed into component .o files then act as
49398 # described above. You can optionally give a description (-d "description")
49399 # which will be put into .DLL. To see the list of accepted options (as well
49400 # as command-line format) simply run this program without options. The .DLL
49401 # is built to be imported by name (there is no guarantee that new versions
49402 # of the library you build will have same ordinals for same symbols).
49403 #
49404 # dllar is free software; you can redistribute it and/or modify
49405 # it under the terms of the GNU General Public License as published by
49406 # the Free Software Foundation; either version 2, or (at your option)
49407 # any later version.
49408 #
49409 # dllar is distributed in the hope that it will be useful,
49410 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49411 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49412 # GNU General Public License for more details.
49413 #
49414 # You should have received a copy of the GNU General Public License
49415 # along with dllar; see the file COPYING. If not, write to the Free
49416 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49417 # 02111-1307, USA.
49418
49419 # To successfuly run this program you will need:
49420 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49421 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49422 # - gcc
49423 # (used to build the .dll)
49424 # - emxexp
49425 # (used to create .def file from .o files)
49426 # - emximp
49427 # (used to create .a file from .def file)
49428 # - GNU text utilites (cat, sort, uniq)
49429 # used to process emxexp output
49430 # - GNU file utilities (mv, rm)
49431 # - GNU sed
49432 # - lxlite (optional, see flag below)
49433 # (used for general .dll cleanup)
49434 #
49435
49436 flag_USE_LXLITE=1;
49437
49438 #
49439 # helper functions
49440 # basnam, variant of basename, which does _not_ remove the path, _iff_
49441 # second argument (suffix to remove) is given
49442 basnam(){
49443 case ${D}# in
49444 1)
49445 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49446 ;;
49447 2)
49448 echo ${D}1 | sed 's/'${D}2'${D}//'
49449 ;;
49450 *)
49451 echo "error in basnam ${D}*"
49452 exit 8
49453 ;;
49454 esac
49455 }
49456
49457 # Cleanup temporary files and output
49458 CleanUp() {
49459 cd ${D}curDir
49460 for i in ${D}inputFiles ; do
49461 case ${D}i in
49462 *!)
49463 rm -rf \`basnam ${D}i !\`
49464 ;;
49465 *)
49466 ;;
49467 esac
49468 done
49469
49470 # Kill result in case of failure as there is just to many stupid make/nmake
49471 # things out there which doesn't do this.
49472 if [ ${D}# -eq 0 ]; then
49473 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49474 fi
49475 }
49476
49477 # Print usage and exit script with rc=1.
49478 PrintHelp() {
49479 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49480 echo ' [-name-mangler-script script.sh]'
49481 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49482 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49483 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49484 echo ' [*.o] [*.a]'
49485 echo '*> "output_file" should have no extension.'
49486 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49487 echo ' The import library name is derived from this and is set to "name".a,'
49488 echo ' unless overridden by -import'
49489 echo '*> "importlib_name" should have no extension.'
49490 echo ' If it has the .o, or .a extension, it is automatically removed.'
49491 echo ' This name is used as the import library name and may be longer and'
49492 echo ' more descriptive than the DLL name which has to follow the old '
49493 echo ' 8.3 convention of FAT.'
49494 echo '*> "script.sh may be given to override the output_file name by a'
49495 echo ' different name. It is mainly useful if the regular make process'
49496 echo ' of some package does not take into account OS/2 restriction of'
49497 echo ' DLL name lengths. It takes the importlib name as input and is'
49498 echo ' supposed to procude a shorter name as output. The script should'
49499 echo ' expect to get importlib_name without extension and should produce'
49500 echo ' a (max.) 8 letter name without extension.'
49501 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49502 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49503 echo ' These flags will be put at the start of GCC command line.'
49504 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49505 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49506 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49507 echo ' If the last character of a symbol is "*", all symbols beginning'
49508 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49509 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49510 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49511 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49512 echo ' C runtime DLLs.'
49513 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49514 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49515 echo ' unchanged to GCC at the end of command line.'
49516 echo '*> If you create a DLL from a library and you do not specify -o,'
49517 echo ' the basename for DLL and import library will be set to library name,'
49518 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49519 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49520 echo ' library will be renamed into gcc_s.a.'
49521 echo '--------'
49522 echo 'Example:'
49523 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49524 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49525 CleanUp
49526 exit 1
49527 }
49528
49529 # Execute a command.
49530 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49531 # @Uses Whatever CleanUp() uses.
49532 doCommand() {
49533 echo "${D}*"
49534 eval ${D}*
49535 rcCmd=${D}?
49536
49537 if [ ${D}rcCmd -ne 0 ]; then
49538 echo "command failed, exit code="${D}rcCmd
49539 CleanUp
49540 exit ${D}rcCmd
49541 fi
49542 }
49543
49544 # main routine
49545 # setup globals
49546 cmdLine=${D}*
49547 outFile=""
49548 outimpFile=""
49549 inputFiles=""
49550 renameScript=""
49551 description=""
49552 CC=gcc.exe
49553 CFLAGS="-s -Zcrtdll"
49554 EXTRA_CFLAGS=""
49555 EXPORT_BY_ORDINALS=0
49556 exclude_symbols=""
49557 library_flags=""
49558 curDir=\`pwd\`
49559 curDirS=curDir
49560 case ${D}curDirS in
49561 */)
49562 ;;
49563 *)
49564 curDirS=${D}{curDirS}"/"
49565 ;;
49566 esac
49567 # Parse commandline
49568 libsToLink=0
49569 omfLinking=0
49570 while [ ${D}1 ]; do
49571 case ${D}1 in
49572 -ord*)
49573 EXPORT_BY_ORDINALS=1;
49574 ;;
49575 -o*)
49576 shift
49577 outFile=${D}1
49578 ;;
49579 -i*)
49580 shift
49581 outimpFile=${D}1
49582 ;;
49583 -name-mangler-script)
49584 shift
49585 renameScript=${D}1
49586 ;;
49587 -d*)
49588 shift
49589 description=${D}1
49590 ;;
49591 -f*)
49592 shift
49593 CFLAGS=${D}1
49594 ;;
49595 -c*)
49596 shift
49597 CC=${D}1
49598 ;;
49599 -h*)
49600 PrintHelp
49601 ;;
49602 -ex*)
49603 shift
49604 exclude_symbols=${D}{exclude_symbols}${D}1" "
49605 ;;
49606 -libf*)
49607 shift
49608 library_flags=${D}{library_flags}${D}1" "
49609 ;;
49610 -nocrt*)
49611 CFLAGS="-s"
49612 ;;
49613 -nolxl*)
49614 flag_USE_LXLITE=0
49615 ;;
49616 -* | /*)
49617 case ${D}1 in
49618 -L* | -l*)
49619 libsToLink=1
49620 ;;
49621 -Zomf)
49622 omfLinking=1
49623 ;;
49624 *)
49625 ;;
49626 esac
49627 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49628 ;;
49629 *.dll)
49630 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49631 if [ ${D}omfLinking -eq 1 ]; then
49632 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49633 else
49634 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49635 fi
49636 ;;
49637 *)
49638 found=0;
49639 if [ ${D}libsToLink -ne 0 ]; then
49640 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49641 else
49642 for file in ${D}1 ; do
49643 if [ -f ${D}file ]; then
49644 inputFiles="${D}{inputFiles} ${D}file"
49645 found=1
49646 fi
49647 done
49648 if [ ${D}found -eq 0 ]; then
49649 echo "ERROR: No file(s) found: "${D}1
49650 exit 8
49651 fi
49652 fi
49653 ;;
49654 esac
49655 shift
49656 done # iterate cmdline words
49657
49658 #
49659 if [ -z "${D}inputFiles" ]; then
49660 echo "dllar: no input files"
49661 PrintHelp
49662 fi
49663
49664 # Now extract all .o files from .a files
49665 newInputFiles=""
49666 for file in ${D}inputFiles ; do
49667 case ${D}file in
49668 *.a | *.lib)
49669 case ${D}file in
49670 *.a)
49671 suffix=".a"
49672 AR="ar"
49673 ;;
49674 *.lib)
49675 suffix=".lib"
49676 AR="emxomfar"
49677 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49678 ;;
49679 *)
49680 ;;
49681 esac
49682 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49683 mkdir ${D}dirname
49684 if [ ${D}? -ne 0 ]; then
49685 echo "Failed to create subdirectory ./${D}dirname"
49686 CleanUp
49687 exit 8;
49688 fi
49689 # Append '!' to indicate archive
49690 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49691 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49692 cd ${D}curDir
49693 found=0;
49694 for subfile in ${D}dirname/*.o* ; do
49695 if [ -f ${D}subfile ]; then
49696 found=1
49697 if [ -s ${D}subfile ]; then
49698 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49699 newInputFiles="${D}newInputFiles ${D}subfile"
49700 fi
49701 fi
49702 done
49703 if [ ${D}found -eq 0 ]; then
49704 echo "WARNING: there are no files in archive \\'${D}file\\'"
49705 fi
49706 ;;
49707 *)
49708 newInputFiles="${D}{newInputFiles} ${D}file"
49709 ;;
49710 esac
49711 done
49712 inputFiles="${D}newInputFiles"
49713
49714 # Output filename(s).
49715 do_backup=0;
49716 if [ -z ${D}outFile ]; then
49717 do_backup=1;
49718 set outFile ${D}inputFiles; outFile=${D}2
49719 fi
49720
49721 # If it is an archive, remove the '!' and the '_%' suffixes
49722 case ${D}outFile in
49723 *_%!)
49724 outFile=\`basnam ${D}outFile _%!\`
49725 ;;
49726 *)
49727 ;;
49728 esac
49729 case ${D}outFile in
49730 *.dll)
49731 outFile=\`basnam ${D}outFile .dll\`
49732 ;;
49733 *.DLL)
49734 outFile=\`basnam ${D}outFile .DLL\`
49735 ;;
49736 *.o)
49737 outFile=\`basnam ${D}outFile .o\`
49738 ;;
49739 *.obj)
49740 outFile=\`basnam ${D}outFile .obj\`
49741 ;;
49742 *.a)
49743 outFile=\`basnam ${D}outFile .a\`
49744 ;;
49745 *.lib)
49746 outFile=\`basnam ${D}outFile .lib\`
49747 ;;
49748 *)
49749 ;;
49750 esac
49751 case ${D}outimpFile in
49752 *.a)
49753 outimpFile=\`basnam ${D}outimpFile .a\`
49754 ;;
49755 *.lib)
49756 outimpFile=\`basnam ${D}outimpFile .lib\`
49757 ;;
49758 *)
49759 ;;
49760 esac
49761 if [ -z ${D}outimpFile ]; then
49762 outimpFile=${D}outFile
49763 fi
49764 defFile="${D}{outFile}.def"
49765 arcFile="${D}{outimpFile}.a"
49766 arcFile2="${D}{outimpFile}.lib"
49767
49768 #create ${D}dllFile as something matching 8.3 restrictions,
49769 if [ -z ${D}renameScript ] ; then
49770 dllFile="${D}outFile"
49771 else
49772 dllFile=\`${D}renameScript ${D}outimpFile\`
49773 fi
49774
49775 if [ ${D}do_backup -ne 0 ] ; then
49776 if [ -f ${D}arcFile ] ; then
49777 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49778 fi
49779 if [ -f ${D}arcFile2 ] ; then
49780 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49781 fi
49782 fi
49783
49784 # Extract public symbols from all the object files.
49785 tmpdefFile=${D}{defFile}_%
49786 rm -f ${D}tmpdefFile
49787 for file in ${D}inputFiles ; do
49788 case ${D}file in
49789 *!)
49790 ;;
49791 *)
49792 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49793 ;;
49794 esac
49795 done
49796
49797 # Create the def file.
49798 rm -f ${D}defFile
49799 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49800 dllFile="${D}{dllFile}.dll"
49801 if [ ! -z ${D}description ]; then
49802 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49803 fi
49804 echo "EXPORTS" >> ${D}defFile
49805
49806 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49807 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49808
49809 # Checks if the export is ok or not.
49810 for word in ${D}exclude_symbols; do
49811 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49812 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49813 done
49814
49815
49816 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49817 sed "=" < ${D}tmpdefFile | \\
49818 sed '
49819 N
49820 : loop
49821 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49822 t loop
49823 ' > ${D}{tmpdefFile}%
49824 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49825 else
49826 rm -f ${D}{tmpdefFile}%
49827 fi
49828 cat ${D}tmpdefFile >> ${D}defFile
49829 rm -f ${D}tmpdefFile
49830
49831 # Do linking, create implib, and apply lxlite.
49832 gccCmdl="";
49833 for file in ${D}inputFiles ; do
49834 case ${D}file in
49835 *!)
49836 ;;
49837 *)
49838 gccCmdl="${D}gccCmdl ${D}file"
49839 ;;
49840 esac
49841 done
49842 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49843 touch "${D}{outFile}.dll"
49844
49845 doCommand "emximp -o ${D}arcFile ${D}defFile"
49846 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49847 add_flags="";
49848 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49849 add_flags="-ynd"
49850 fi
49851 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49852 fi
49853 doCommand "emxomf -s -l ${D}arcFile"
49854
49855 # Successful exit.
49856 CleanUp 1
49857 exit 0
49858 EOF
49859
49860 chmod +x dllar.sh
49861 ;;
49862
49863 powerpc-apple-macos* | \
49864 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49865 *-*-mirbsd* | \
49866 *-*-sunos4* | \
49867 *-*-osf* | \
49868 *-*-dgux5* | \
49869 *-*-sysv5* | \
49870 *-pc-msdosdjgpp )
49871 ;;
49872
49873 *)
49874 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49875 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49876 { (exit 1); exit 1; }; }
49877 esac
49878
49879 if test "x$PIC_FLAG" != "x" ; then
49880 PIC_FLAG="$PIC_FLAG -DPIC"
49881 fi
49882
49883 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49884 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49885 fi
49886 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49887 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49888 fi
49889
49890
49891
49892
49893
49894
49895
49896
49897
49898 USE_SOVERSION=0
49899 USE_SOVERLINUX=0
49900 USE_SOVERSOLARIS=0
49901 USE_SOVERCYGWIN=0
49902 USE_SOSYMLINKS=0
49903 USE_MACVERSION=0
49904 SONAME_FLAG=
49905
49906 case "${BAKEFILE_HOST}" in
49907 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49908 SONAME_FLAG="-Wl,-soname,"
49909 USE_SOVERSION=1
49910 USE_SOVERLINUX=1
49911 USE_SOSYMLINKS=1
49912 ;;
49913
49914 *-*-solaris2* )
49915 SONAME_FLAG="-h "
49916 USE_SOVERSION=1
49917 USE_SOVERSOLARIS=1
49918 USE_SOSYMLINKS=1
49919 ;;
49920
49921 *-*-darwin* )
49922 USE_MACVERSION=1
49923 USE_SOVERSION=1
49924 USE_SOSYMLINKS=1
49925 ;;
49926
49927 *-*-cygwin* )
49928 USE_SOVERSION=1
49929 USE_SOVERCYGWIN=1
49930 ;;
49931 esac
49932
49933
49934
49935
49936
49937
49938
49939
49940
49941
49942 # Check whether --enable-dependency-tracking was given.
49943 if test "${enable_dependency_tracking+set}" = set; then
49944 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49945 fi
49946
49947
49948 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49949 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49950
49951 BK_DEPS=""
49952 if test "x$bk_use_trackdeps" = "xno" ; then
49953 DEPS_TRACKING=0
49954 { echo "$as_me:$LINENO: result: disabled" >&5
49955 echo "${ECHO_T}disabled" >&6; }
49956 else
49957 DEPS_TRACKING=1
49958
49959 if test "x$GCC" = "xyes"; then
49960 DEPSMODE=gcc
49961 case "${BAKEFILE_HOST}" in
49962 *-*-darwin* )
49963 DEPSFLAG="-no-cpp-precomp -MMD"
49964 ;;
49965 * )
49966 DEPSFLAG="-MMD"
49967 ;;
49968 esac
49969 { echo "$as_me:$LINENO: result: gcc" >&5
49970 echo "${ECHO_T}gcc" >&6; }
49971 elif test "x$MWCC" = "xyes"; then
49972 DEPSMODE=mwcc
49973 DEPSFLAG="-MM"
49974 { echo "$as_me:$LINENO: result: mwcc" >&5
49975 echo "${ECHO_T}mwcc" >&6; }
49976 elif test "x$SUNCC" = "xyes"; then
49977 DEPSMODE=unixcc
49978 DEPSFLAG="-xM1"
49979 { echo "$as_me:$LINENO: result: Sun cc" >&5
49980 echo "${ECHO_T}Sun cc" >&6; }
49981 elif test "x$SGICC" = "xyes"; then
49982 DEPSMODE=unixcc
49983 DEPSFLAG="-M"
49984 { echo "$as_me:$LINENO: result: SGI cc" >&5
49985 echo "${ECHO_T}SGI cc" >&6; }
49986 elif test "x$HPCC" = "xyes"; then
49987 DEPSMODE=unixcc
49988 DEPSFLAG="+make"
49989 { echo "$as_me:$LINENO: result: HP cc" >&5
49990 echo "${ECHO_T}HP cc" >&6; }
49991 elif test "x$COMPAQCC" = "xyes"; then
49992 DEPSMODE=gcc
49993 DEPSFLAG="-MD"
49994 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49995 echo "${ECHO_T}Compaq cc" >&6; }
49996 else
49997 DEPS_TRACKING=0
49998 { echo "$as_me:$LINENO: result: none" >&5
49999 echo "${ECHO_T}none" >&6; }
50000 fi
50001
50002 if test $DEPS_TRACKING = 1 ; then
50003
50004 D='$'
50005 cat <<EOF >bk-deps
50006 #!/bin/sh
50007
50008 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50009 # script. It is used to track C/C++ files dependencies in portable way.
50010 #
50011 # Permission is given to use this file in any way.
50012
50013 DEPSMODE=${DEPSMODE}
50014 DEPSDIR=.deps
50015 DEPSFLAG="${DEPSFLAG}"
50016
50017 mkdir -p ${D}DEPSDIR
50018
50019 if test ${D}DEPSMODE = gcc ; then
50020 ${D}* ${D}{DEPSFLAG}
50021 status=${D}?
50022 if test ${D}{status} != 0 ; then
50023 exit ${D}{status}
50024 fi
50025 # move created file to the location we want it in:
50026 while test ${D}# -gt 0; do
50027 case "${D}1" in
50028 -o )
50029 shift
50030 objfile=${D}1
50031 ;;
50032 -* )
50033 ;;
50034 * )
50035 srcfile=${D}1
50036 ;;
50037 esac
50038 shift
50039 done
50040 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50041 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50042 if test -f ${D}depfile ; then
50043 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50044 rm -f ${D}depfile
50045 else
50046 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50047 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50048 if test ! -f ${D}depfile ; then
50049 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50050 depfile="${D}objfile.d"
50051 fi
50052 if test -f ${D}depfile ; then
50053 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50054 rm -f ${D}depfile
50055 fi
50056 fi
50057 exit 0
50058 elif test ${D}DEPSMODE = mwcc ; then
50059 ${D}* || exit ${D}?
50060 # Run mwcc again with -MM and redirect into the dep file we want
50061 # NOTE: We can't use shift here because we need ${D}* to be valid
50062 prevarg=
50063 for arg in ${D}* ; do
50064 if test "${D}prevarg" = "-o"; then
50065 objfile=${D}arg
50066 else
50067 case "${D}arg" in
50068 -* )
50069 ;;
50070 * )
50071 srcfile=${D}arg
50072 ;;
50073 esac
50074 fi
50075 prevarg="${D}arg"
50076 done
50077 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50078 exit 0
50079 elif test ${D}DEPSMODE = unixcc; then
50080 ${D}* || exit ${D}?
50081 # Run compiler again with deps flag and redirect into the dep file.
50082 # It doesn't work if the '-o FILE' option is used, but without it the
50083 # dependency file will contain the wrong name for the object. So it is
50084 # removed from the command line, and the dep file is fixed with sed.
50085 cmd=""
50086 while test ${D}# -gt 0; do
50087 case "${D}1" in
50088 -o )
50089 shift
50090 objfile=${D}1
50091 ;;
50092 * )
50093 eval arg${D}#=\\${D}1
50094 cmd="${D}cmd \\${D}arg${D}#"
50095 ;;
50096 esac
50097 shift
50098 done
50099 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50100 exit 0
50101 else
50102 ${D}*
50103 exit ${D}?
50104 fi
50105 EOF
50106
50107 chmod +x bk-deps
50108 BK_DEPS="`pwd`/bk-deps"
50109 fi
50110 fi
50111
50112
50113
50114
50115
50116 case ${BAKEFILE_HOST} in
50117 *-*-cygwin* | *-*-mingw32* )
50118 if test -n "$ac_tool_prefix"; then
50119 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50120 set dummy ${ac_tool_prefix}windres; ac_word=$2
50121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50123 if test "${ac_cv_prog_WINDRES+set}" = set; then
50124 echo $ECHO_N "(cached) $ECHO_C" >&6
50125 else
50126 if test -n "$WINDRES"; then
50127 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50128 else
50129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50130 for as_dir in $PATH
50131 do
50132 IFS=$as_save_IFS
50133 test -z "$as_dir" && as_dir=.
50134 for ac_exec_ext in '' $ac_executable_extensions; do
50135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50136 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50138 break 2
50139 fi
50140 done
50141 done
50142 IFS=$as_save_IFS
50143
50144 fi
50145 fi
50146 WINDRES=$ac_cv_prog_WINDRES
50147 if test -n "$WINDRES"; then
50148 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50149 echo "${ECHO_T}$WINDRES" >&6; }
50150 else
50151 { echo "$as_me:$LINENO: result: no" >&5
50152 echo "${ECHO_T}no" >&6; }
50153 fi
50154
50155
50156 fi
50157 if test -z "$ac_cv_prog_WINDRES"; then
50158 ac_ct_WINDRES=$WINDRES
50159 # Extract the first word of "windres", so it can be a program name with args.
50160 set dummy windres; ac_word=$2
50161 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50163 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50164 echo $ECHO_N "(cached) $ECHO_C" >&6
50165 else
50166 if test -n "$ac_ct_WINDRES"; then
50167 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50168 else
50169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50170 for as_dir in $PATH
50171 do
50172 IFS=$as_save_IFS
50173 test -z "$as_dir" && as_dir=.
50174 for ac_exec_ext in '' $ac_executable_extensions; do
50175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50176 ac_cv_prog_ac_ct_WINDRES="windres"
50177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50178 break 2
50179 fi
50180 done
50181 done
50182 IFS=$as_save_IFS
50183
50184 fi
50185 fi
50186 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50187 if test -n "$ac_ct_WINDRES"; then
50188 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50189 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50190 else
50191 { echo "$as_me:$LINENO: result: no" >&5
50192 echo "${ECHO_T}no" >&6; }
50193 fi
50194
50195 if test "x$ac_ct_WINDRES" = x; then
50196 WINDRES=""
50197 else
50198 case $cross_compiling:$ac_tool_warned in
50199 yes:)
50200 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50201 whose name does not start with the host triplet. If you think this
50202 configuration is useful to you, please write to autoconf@gnu.org." >&5
50203 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50204 whose name does not start with the host triplet. If you think this
50205 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50206 ac_tool_warned=yes ;;
50207 esac
50208 WINDRES=$ac_ct_WINDRES
50209 fi
50210 else
50211 WINDRES="$ac_cv_prog_WINDRES"
50212 fi
50213
50214 ;;
50215
50216 *-*-darwin* | powerpc-apple-macos* )
50217 # Extract the first word of "Rez", so it can be a program name with args.
50218 set dummy Rez; ac_word=$2
50219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50221 if test "${ac_cv_prog_REZ+set}" = set; then
50222 echo $ECHO_N "(cached) $ECHO_C" >&6
50223 else
50224 if test -n "$REZ"; then
50225 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50226 else
50227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50228 for as_dir in $PATH
50229 do
50230 IFS=$as_save_IFS
50231 test -z "$as_dir" && as_dir=.
50232 for ac_exec_ext in '' $ac_executable_extensions; do
50233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50234 ac_cv_prog_REZ="Rez"
50235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50236 break 2
50237 fi
50238 done
50239 done
50240 IFS=$as_save_IFS
50241
50242 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50243 fi
50244 fi
50245 REZ=$ac_cv_prog_REZ
50246 if test -n "$REZ"; then
50247 { echo "$as_me:$LINENO: result: $REZ" >&5
50248 echo "${ECHO_T}$REZ" >&6; }
50249 else
50250 { echo "$as_me:$LINENO: result: no" >&5
50251 echo "${ECHO_T}no" >&6; }
50252 fi
50253
50254
50255 # Extract the first word of "SetFile", so it can be a program name with args.
50256 set dummy SetFile; ac_word=$2
50257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50259 if test "${ac_cv_prog_SETFILE+set}" = set; then
50260 echo $ECHO_N "(cached) $ECHO_C" >&6
50261 else
50262 if test -n "$SETFILE"; then
50263 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50264 else
50265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50266 for as_dir in $PATH
50267 do
50268 IFS=$as_save_IFS
50269 test -z "$as_dir" && as_dir=.
50270 for ac_exec_ext in '' $ac_executable_extensions; do
50271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50272 ac_cv_prog_SETFILE="SetFile"
50273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50274 break 2
50275 fi
50276 done
50277 done
50278 IFS=$as_save_IFS
50279
50280 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50281 fi
50282 fi
50283 SETFILE=$ac_cv_prog_SETFILE
50284 if test -n "$SETFILE"; then
50285 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50286 echo "${ECHO_T}$SETFILE" >&6; }
50287 else
50288 { echo "$as_me:$LINENO: result: no" >&5
50289 echo "${ECHO_T}no" >&6; }
50290 fi
50291
50292
50293 ;;
50294 esac
50295
50296
50297
50298
50299
50300
50301 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
50302
50303
50304 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
50305
50306
50307
50308 # Check whether --enable-precomp-headers was given.
50309 if test "${enable_precomp_headers+set}" = set; then
50310 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50311 fi
50312
50313
50314 GCC_PCH=0
50315 ICC_PCH=0
50316 USE_PCH=0
50317 BK_MAKE_PCH=""
50318
50319 case ${BAKEFILE_HOST} in
50320 *-*-cygwin* )
50321 bk_use_pch="no"
50322 ;;
50323 esac
50324
50325 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50326 if test "x$GCC" = "xyes"; then
50327 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50328 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50329 cat >conftest.$ac_ext <<_ACEOF
50330 /* confdefs.h. */
50331 _ACEOF
50332 cat confdefs.h >>conftest.$ac_ext
50333 cat >>conftest.$ac_ext <<_ACEOF
50334 /* end confdefs.h. */
50335
50336 int
50337 main ()
50338 {
50339
50340 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50341 There is no PCH support
50342 #endif
50343 #if (__GNUC__ < 3)
50344 There is no PCH support
50345 #endif
50346 #if (__GNUC__ == 3) && \
50347 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50348 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50349 ( defined(__INTEL_COMPILER) )
50350 There is no PCH support
50351 #endif
50352
50353 ;
50354 return 0;
50355 }
50356 _ACEOF
50357 rm -f conftest.$ac_objext
50358 if { (ac_try="$ac_compile"
50359 case "(($ac_try" in
50360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50361 *) ac_try_echo=$ac_try;;
50362 esac
50363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50364 (eval "$ac_compile") 2>conftest.er1
50365 ac_status=$?
50366 grep -v '^ *+' conftest.er1 >conftest.err
50367 rm -f conftest.er1
50368 cat conftest.err >&5
50369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50370 (exit $ac_status); } && {
50371 test -z "$ac_c_werror_flag" ||
50372 test ! -s conftest.err
50373 } && test -s conftest.$ac_objext; then
50374
50375 { echo "$as_me:$LINENO: result: yes" >&5
50376 echo "${ECHO_T}yes" >&6; }
50377 GCC_PCH=1
50378
50379 else
50380 echo "$as_me: failed program was:" >&5
50381 sed 's/^/| /' conftest.$ac_ext >&5
50382
50383
50384 cat >conftest.$ac_ext <<_ACEOF
50385 /* confdefs.h. */
50386 _ACEOF
50387 cat confdefs.h >>conftest.$ac_ext
50388 cat >>conftest.$ac_ext <<_ACEOF
50389 /* end confdefs.h. */
50390
50391 int
50392 main ()
50393 {
50394
50395 #if !defined(__INTEL_COMPILER) || \
50396 (__INTEL_COMPILER < 800)
50397 There is no PCH support
50398 #endif
50399
50400 ;
50401 return 0;
50402 }
50403 _ACEOF
50404 rm -f conftest.$ac_objext
50405 if { (ac_try="$ac_compile"
50406 case "(($ac_try" in
50407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50408 *) ac_try_echo=$ac_try;;
50409 esac
50410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50411 (eval "$ac_compile") 2>conftest.er1
50412 ac_status=$?
50413 grep -v '^ *+' conftest.er1 >conftest.err
50414 rm -f conftest.er1
50415 cat conftest.err >&5
50416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50417 (exit $ac_status); } && {
50418 test -z "$ac_c_werror_flag" ||
50419 test ! -s conftest.err
50420 } && test -s conftest.$ac_objext; then
50421
50422 { echo "$as_me:$LINENO: result: yes" >&5
50423 echo "${ECHO_T}yes" >&6; }
50424 ICC_PCH=1
50425
50426 else
50427 echo "$as_me: failed program was:" >&5
50428 sed 's/^/| /' conftest.$ac_ext >&5
50429
50430
50431 { echo "$as_me:$LINENO: result: no" >&5
50432 echo "${ECHO_T}no" >&6; }
50433
50434 fi
50435
50436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50437
50438 fi
50439
50440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50441 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50442 USE_PCH=1
50443
50444 D='$'
50445 cat <<EOF >bk-make-pch
50446 #!/bin/sh
50447
50448 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50449 # script. It is used to generated precompiled headers.
50450 #
50451 # Permission is given to use this file in any way.
50452
50453 outfile="${D}{1}"
50454 header="${D}{2}"
50455 shift
50456 shift
50457
50458 compiler=""
50459 headerfile=""
50460
50461 while test ${D}{#} -gt 0; do
50462 add_to_cmdline=1
50463 case "${D}{1}" in
50464 -I* )
50465 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50466 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50467 headerfile="${D}{incdir}/${D}{header}"
50468 fi
50469 ;;
50470 -use-pch|-use_pch )
50471 shift
50472 add_to_cmdline=0
50473 ;;
50474 esac
50475 if test ${D}add_to_cmdline = 1 ; then
50476 compiler="${D}{compiler} ${D}{1}"
50477 fi
50478 shift
50479 done
50480
50481 if test "x${D}{headerfile}" = "x" ; then
50482 echo "error: can't find header ${D}{header} in include paths" >&2
50483 else
50484 if test -f ${D}{outfile} ; then
50485 rm -f ${D}{outfile}
50486 else
50487 mkdir -p \`dirname ${D}{outfile}\`
50488 fi
50489 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50490 mkdir -p .deps
50491 if test "x${GCC_PCH}" = "x1" ; then
50492 # can do this because gcc is >= 3.4:
50493 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50494 elif test "x${ICC_PCH}" = "x1" ; then
50495 filename=pch_gen-${D}${D}
50496 file=${D}{filename}.c
50497 dfile=${D}{filename}.d
50498 cat > ${D}file <<EOT
50499 #include "${D}header"
50500 EOT
50501 # using -MF icc complains about differing command lines in creation/use
50502 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
50503 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50504 rm -f ${D}file ${D}dfile ${D}{filename}.o
50505 fi
50506 exit ${D}{?}
50507 fi
50508 EOF
50509
50510 chmod +x bk-make-pch
50511 BK_MAKE_PCH="`pwd`/bk-make-pch"
50512 fi
50513 fi
50514 fi
50515
50516
50517
50518
50519
50520 COND_BUILD_DEBUG="#"
50521 if test "x$BUILD" = "xdebug" ; then
50522 COND_BUILD_DEBUG=""
50523 fi
50524
50525 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50526 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50527 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50528 fi
50529
50530 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50531 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50532 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50533 fi
50534
50535 COND_BUILD_DEBUG_UNICODE_0="#"
50536 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50537 COND_BUILD_DEBUG_UNICODE_0=""
50538 fi
50539
50540 COND_BUILD_DEBUG_UNICODE_1="#"
50541 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50542 COND_BUILD_DEBUG_UNICODE_1=""
50543 fi
50544
50545 COND_BUILD_RELEASE="#"
50546 if test "x$BUILD" = "xrelease" ; then
50547 COND_BUILD_RELEASE=""
50548 fi
50549
50550 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50551 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50552 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50553 fi
50554
50555 COND_BUILD_RELEASE_UNICODE_0="#"
50556 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50557 COND_BUILD_RELEASE_UNICODE_0=""
50558 fi
50559
50560 COND_BUILD_RELEASE_UNICODE_1="#"
50561 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50562 COND_BUILD_RELEASE_UNICODE_1=""
50563 fi
50564
50565 COND_DEBUG_FLAG_1="#"
50566 if test "x$DEBUG_FLAG" = "x1" ; then
50567 COND_DEBUG_FLAG_1=""
50568 fi
50569
50570 COND_DEBUG_INFO_0="#"
50571 if test "x$DEBUG_INFO" = "x0" ; then
50572 COND_DEBUG_INFO_0=""
50573 fi
50574
50575 COND_DEBUG_INFO_1="#"
50576 if test "x$DEBUG_INFO" = "x1" ; then
50577 COND_DEBUG_INFO_1=""
50578 fi
50579
50580 COND_DEPS_TRACKING_0="#"
50581 if test "x$DEPS_TRACKING" = "x0" ; then
50582 COND_DEPS_TRACKING_0=""
50583 fi
50584
50585 COND_DEPS_TRACKING_1="#"
50586 if test "x$DEPS_TRACKING" = "x1" ; then
50587 COND_DEPS_TRACKING_1=""
50588 fi
50589
50590 COND_GCC_PCH_1="#"
50591 if test "x$GCC_PCH" = "x1" ; then
50592 COND_GCC_PCH_1=""
50593 fi
50594
50595 COND_ICC_PCH_1="#"
50596 if test "x$ICC_PCH" = "x1" ; then
50597 COND_ICC_PCH_1=""
50598 fi
50599
50600 COND_MONOLITHIC_0="#"
50601 if test "x$MONOLITHIC" = "x0" ; then
50602 COND_MONOLITHIC_0=""
50603 fi
50604
50605 COND_MONOLITHIC_0_SHARED_0="#"
50606 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50607 COND_MONOLITHIC_0_SHARED_0=""
50608 fi
50609
50610 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50611 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50612 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50613 fi
50614
50615 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50616 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50617 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50618 fi
50619
50620 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50621 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50622 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50623 fi
50624
50625 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50626 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50627 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50628 fi
50629
50630 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50631 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50632 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50633 fi
50634
50635 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50636 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50637 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50638 fi
50639
50640 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50642 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50643 fi
50644
50645 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50646 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50647 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50648 fi
50649
50650 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50652 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50653 fi
50654
50655 COND_MONOLITHIC_0_SHARED_1="#"
50656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50657 COND_MONOLITHIC_0_SHARED_1=""
50658 fi
50659
50660 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50662 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50663 fi
50664
50665 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50667 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50668 fi
50669
50670 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50672 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50673 fi
50674
50675 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50677 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50678 fi
50679
50680 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50682 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50683 fi
50684
50685 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50687 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50688 fi
50689
50690 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50692 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50693 fi
50694
50695 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50697 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50698 fi
50699
50700 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50702 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50703 fi
50704
50705 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50706 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50707 COND_MONOLITHIC_0_USE_MEDIA_1=""
50708 fi
50709
50710 COND_MONOLITHIC_0_USE_ODBC_1="#"
50711 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50712 COND_MONOLITHIC_0_USE_ODBC_1=""
50713 fi
50714
50715 COND_MONOLITHIC_1="#"
50716 if test "x$MONOLITHIC" = "x1" ; then
50717 COND_MONOLITHIC_1=""
50718 fi
50719
50720 COND_MONOLITHIC_1_SHARED_0="#"
50721 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50722 COND_MONOLITHIC_1_SHARED_0=""
50723 fi
50724
50725 COND_MONOLITHIC_1_SHARED_1="#"
50726 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50727 COND_MONOLITHIC_1_SHARED_1=""
50728 fi
50729
50730 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50731 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50732 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50733 fi
50734
50735 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50736 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50737 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50738 fi
50739
50740 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50741 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50742 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50743 fi
50744
50745 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50746 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50747 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50748 fi
50749
50750 COND_PLATFORM_MACOSX_1="#"
50751 if test "x$PLATFORM_MACOSX" = "x1" ; then
50752 COND_PLATFORM_MACOSX_1=""
50753 fi
50754
50755 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50756 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50757 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50758 fi
50759
50760 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50761 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50762 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50763 fi
50764
50765 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50766 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50767 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50768 fi
50769
50770 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50771 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50772 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50773 fi
50774
50775 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50776 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50777 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50778 fi
50779
50780 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50781 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50782 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50783 fi
50784
50785 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50786 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50787 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50788 fi
50789
50790 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50791 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50792 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50793 fi
50794
50795 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50796 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50797 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50798 fi
50799
50800 COND_PLATFORM_MACOS_1="#"
50801 if test "x$PLATFORM_MACOS" = "x1" ; then
50802 COND_PLATFORM_MACOS_1=""
50803 fi
50804
50805 COND_PLATFORM_MAC_1="#"
50806 if test "x$PLATFORM_MAC" = "x1" ; then
50807 COND_PLATFORM_MAC_1=""
50808 fi
50809
50810 COND_PLATFORM_MSDOS_0="#"
50811 if test "x$PLATFORM_MSDOS" = "x0" ; then
50812 COND_PLATFORM_MSDOS_0=""
50813 fi
50814
50815 COND_PLATFORM_MSDOS_1="#"
50816 if test "x$PLATFORM_MSDOS" = "x1" ; then
50817 COND_PLATFORM_MSDOS_1=""
50818 fi
50819
50820 COND_PLATFORM_OS2_1="#"
50821 if test "x$PLATFORM_OS2" = "x1" ; then
50822 COND_PLATFORM_OS2_1=""
50823 fi
50824
50825 COND_PLATFORM_UNIX_0="#"
50826 if test "x$PLATFORM_UNIX" = "x0" ; then
50827 COND_PLATFORM_UNIX_0=""
50828 fi
50829
50830 COND_PLATFORM_UNIX_1="#"
50831 if test "x$PLATFORM_UNIX" = "x1" ; then
50832 COND_PLATFORM_UNIX_1=""
50833 fi
50834
50835 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50836 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50837 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50838 fi
50839
50840 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50841 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50842 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50843 fi
50844
50845 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50846 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50847 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50848 fi
50849
50850 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50851 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50852 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50853 fi
50854
50855 COND_PLATFORM_WIN32_0="#"
50856 if test "x$PLATFORM_WIN32" = "x0" ; then
50857 COND_PLATFORM_WIN32_0=""
50858 fi
50859
50860 COND_PLATFORM_WIN32_1="#"
50861 if test "x$PLATFORM_WIN32" = "x1" ; then
50862 COND_PLATFORM_WIN32_1=""
50863 fi
50864
50865 COND_SHARED_0="#"
50866 if test "x$SHARED" = "x0" ; then
50867 COND_SHARED_0=""
50868 fi
50869
50870 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50871 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50872 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50873 fi
50874
50875 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50876 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50877 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50878 fi
50879
50880 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50881 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50882 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50883 fi
50884
50885 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50886 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50887 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50888 fi
50889
50890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50891 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50893 fi
50894
50895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50896 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50898 fi
50899
50900 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50901 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50902 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50903 fi
50904
50905 COND_SHARED_0_USE_XRC_1="#"
50906 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50907 COND_SHARED_0_USE_XRC_1=""
50908 fi
50909
50910 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50911 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50912 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50913 fi
50914
50915 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50916 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50917 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50918 fi
50919
50920 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50921 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50922 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50923 fi
50924
50925 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50926 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50927 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50928 fi
50929
50930 COND_SHARED_1="#"
50931 if test "x$SHARED" = "x1" ; then
50932 COND_SHARED_1=""
50933 fi
50934
50935 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50936 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50937 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50938 fi
50939
50940 COND_SHARED_1_USE_XRC_1="#"
50941 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50942 COND_SHARED_1_USE_XRC_1=""
50943 fi
50944
50945 COND_TOOLKIT_="#"
50946 if test "x$TOOLKIT" = "x" ; then
50947 COND_TOOLKIT_=""
50948 fi
50949
50950 COND_TOOLKIT_COCOA="#"
50951 if test "x$TOOLKIT" = "xCOCOA" ; then
50952 COND_TOOLKIT_COCOA=""
50953 fi
50954
50955 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50956 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50957 COND_TOOLKIT_COCOA_USE_GUI_1=""
50958 fi
50959
50960 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50961 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50962 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50963 fi
50964
50965 COND_TOOLKIT_DFB="#"
50966 if test "x$TOOLKIT" = "xDFB" ; then
50967 COND_TOOLKIT_DFB=""
50968 fi
50969
50970 COND_TOOLKIT_DFB_USE_GUI_1="#"
50971 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50972 COND_TOOLKIT_DFB_USE_GUI_1=""
50973 fi
50974
50975 COND_TOOLKIT_GTK="#"
50976 if test "x$TOOLKIT" = "xGTK" ; then
50977 COND_TOOLKIT_GTK=""
50978 fi
50979
50980 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50981 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50982 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50983 fi
50984
50985 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50986 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50987 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50988 fi
50989
50990 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50991 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50992 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50993 fi
50994
50995 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50996 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50997 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50998 fi
50999
51000 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51001 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51002 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51003 fi
51004
51005 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51006 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51007 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51008 fi
51009
51010 COND_TOOLKIT_GTK_USE_GUI_1="#"
51011 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51012 COND_TOOLKIT_GTK_USE_GUI_1=""
51013 fi
51014
51015 COND_TOOLKIT_MAC="#"
51016 if test "x$TOOLKIT" = "xMAC" ; then
51017 COND_TOOLKIT_MAC=""
51018 fi
51019
51020 COND_TOOLKIT_MAC_USE_GUI_1="#"
51021 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51022 COND_TOOLKIT_MAC_USE_GUI_1=""
51023 fi
51024
51025 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51026 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51027 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51028 fi
51029
51030 COND_TOOLKIT_MGL="#"
51031 if test "x$TOOLKIT" = "xMGL" ; then
51032 COND_TOOLKIT_MGL=""
51033 fi
51034
51035 COND_TOOLKIT_MGL_USE_GUI_1="#"
51036 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51037 COND_TOOLKIT_MGL_USE_GUI_1=""
51038 fi
51039
51040 COND_TOOLKIT_MOTIF="#"
51041 if test "x$TOOLKIT" = "xMOTIF" ; then
51042 COND_TOOLKIT_MOTIF=""
51043 fi
51044
51045 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51046 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51047 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51048 fi
51049
51050 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51051 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51052 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51053 fi
51054
51055 COND_TOOLKIT_MSW="#"
51056 if test "x$TOOLKIT" = "xMSW" ; then
51057 COND_TOOLKIT_MSW=""
51058 fi
51059
51060 COND_TOOLKIT_MSW_USE_GUI_1="#"
51061 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51062 COND_TOOLKIT_MSW_USE_GUI_1=""
51063 fi
51064
51065 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51066 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51067 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51068 fi
51069
51070 COND_TOOLKIT_MSW_WXUNIV_0="#"
51071 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51072 COND_TOOLKIT_MSW_WXUNIV_0=""
51073 fi
51074
51075 COND_TOOLKIT_PM="#"
51076 if test "x$TOOLKIT" = "xPM" ; then
51077 COND_TOOLKIT_PM=""
51078 fi
51079
51080 COND_TOOLKIT_PM_USE_GUI_1="#"
51081 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51082 COND_TOOLKIT_PM_USE_GUI_1=""
51083 fi
51084
51085 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51086 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51087 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51088 fi
51089
51090 COND_TOOLKIT_WINCE="#"
51091 if test "x$TOOLKIT" = "xWINCE" ; then
51092 COND_TOOLKIT_WINCE=""
51093 fi
51094
51095 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51096 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51097 COND_TOOLKIT_WINCE_USE_GUI_1=""
51098 fi
51099
51100 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51101 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51102 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51103 fi
51104
51105 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51106 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51107 COND_TOOLKIT_WINCE_WXUNIV_0=""
51108 fi
51109
51110 COND_TOOLKIT_X11="#"
51111 if test "x$TOOLKIT" = "xX11" ; then
51112 COND_TOOLKIT_X11=""
51113 fi
51114
51115 COND_TOOLKIT_X11_USE_GUI_1="#"
51116 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51117 COND_TOOLKIT_X11_USE_GUI_1=""
51118 fi
51119
51120 COND_UNICODE_1="#"
51121 if test "x$UNICODE" = "x1" ; then
51122 COND_UNICODE_1=""
51123 fi
51124
51125 COND_USE_EXCEPTIONS_0="#"
51126 if test "x$USE_EXCEPTIONS" = "x0" ; then
51127 COND_USE_EXCEPTIONS_0=""
51128 fi
51129
51130 COND_USE_EXCEPTIONS_1="#"
51131 if test "x$USE_EXCEPTIONS" = "x1" ; then
51132 COND_USE_EXCEPTIONS_1=""
51133 fi
51134
51135 COND_USE_GUI_0="#"
51136 if test "x$USE_GUI" = "x0" ; then
51137 COND_USE_GUI_0=""
51138 fi
51139
51140 COND_USE_GUI_1="#"
51141 if test "x$USE_GUI" = "x1" ; then
51142 COND_USE_GUI_1=""
51143 fi
51144
51145 COND_USE_GUI_1_WXUNIV_0="#"
51146 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51147 COND_USE_GUI_1_WXUNIV_0=""
51148 fi
51149
51150 COND_USE_GUI_1_WXUNIV_1="#"
51151 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51152 COND_USE_GUI_1_WXUNIV_1=""
51153 fi
51154
51155 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51156 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51157 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51158 fi
51159
51160 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51161 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51162 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51163 fi
51164
51165 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51166 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51167 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51168 fi
51169
51170 COND_USE_ODBC_1="#"
51171 if test "x$USE_ODBC" = "x1" ; then
51172 COND_USE_ODBC_1=""
51173 fi
51174
51175 COND_USE_OPENGL_1="#"
51176 if test "x$USE_OPENGL" = "x1" ; then
51177 COND_USE_OPENGL_1=""
51178 fi
51179
51180 COND_USE_PCH_1="#"
51181 if test "x$USE_PCH" = "x1" ; then
51182 COND_USE_PCH_1=""
51183 fi
51184
51185 COND_USE_PLUGINS_0="#"
51186 if test "x$USE_PLUGINS" = "x0" ; then
51187 COND_USE_PLUGINS_0=""
51188 fi
51189
51190 COND_USE_RTTI_0="#"
51191 if test "x$USE_RTTI" = "x0" ; then
51192 COND_USE_RTTI_0=""
51193 fi
51194
51195 COND_USE_RTTI_1="#"
51196 if test "x$USE_RTTI" = "x1" ; then
51197 COND_USE_RTTI_1=""
51198 fi
51199
51200 COND_USE_SOSYMLINKS_1="#"
51201 if test "x$USE_SOSYMLINKS" = "x1" ; then
51202 COND_USE_SOSYMLINKS_1=""
51203 fi
51204
51205 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51206 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51207 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51208 fi
51209
51210 COND_USE_SOVERLINUX_1="#"
51211 if test "x$USE_SOVERLINUX" = "x1" ; then
51212 COND_USE_SOVERLINUX_1=""
51213 fi
51214
51215 COND_USE_SOVERSION_0="#"
51216 if test "x$USE_SOVERSION" = "x0" ; then
51217 COND_USE_SOVERSION_0=""
51218 fi
51219
51220 COND_USE_SOVERSOLARIS_1="#"
51221 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51222 COND_USE_SOVERSOLARIS_1=""
51223 fi
51224
51225 COND_USE_THREADS_0="#"
51226 if test "x$USE_THREADS" = "x0" ; then
51227 COND_USE_THREADS_0=""
51228 fi
51229
51230 COND_USE_THREADS_1="#"
51231 if test "x$USE_THREADS" = "x1" ; then
51232 COND_USE_THREADS_1=""
51233 fi
51234
51235 COND_USE_XRC_1="#"
51236 if test "x$USE_XRC" = "x1" ; then
51237 COND_USE_XRC_1=""
51238 fi
51239
51240 COND_WINDOWS_IMPLIB_1="#"
51241 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51242 COND_WINDOWS_IMPLIB_1=""
51243 fi
51244
51245 COND_WITH_PLUGIN_SDL_1="#"
51246 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51247 COND_WITH_PLUGIN_SDL_1=""
51248 fi
51249
51250 COND_WXUNIV_0="#"
51251 if test "x$WXUNIV" = "x0" ; then
51252 COND_WXUNIV_0=""
51253 fi
51254
51255 COND_WXUNIV_1="#"
51256 if test "x$WXUNIV" = "x1" ; then
51257 COND_WXUNIV_1=""
51258 fi
51259
51260 COND_WXUSE_EXPAT_BUILTIN="#"
51261 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51262 COND_WXUSE_EXPAT_BUILTIN=""
51263 fi
51264
51265 COND_WXUSE_LIBJPEG_BUILTIN="#"
51266 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51267 COND_WXUSE_LIBJPEG_BUILTIN=""
51268 fi
51269
51270 COND_WXUSE_LIBPNG_BUILTIN="#"
51271 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51272 COND_WXUSE_LIBPNG_BUILTIN=""
51273 fi
51274
51275 COND_WXUSE_LIBTIFF_BUILTIN="#"
51276 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51277 COND_WXUSE_LIBTIFF_BUILTIN=""
51278 fi
51279
51280 COND_WXUSE_ODBC_BUILTIN="#"
51281 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
51282 COND_WXUSE_ODBC_BUILTIN=""
51283 fi
51284
51285 COND_WXUSE_REGEX_BUILTIN="#"
51286 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51287 COND_WXUSE_REGEX_BUILTIN=""
51288 fi
51289
51290 COND_WXUSE_ZLIB_BUILTIN="#"
51291 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51292 COND_WXUSE_ZLIB_BUILTIN=""
51293 fi
51294
51295
51296
51297 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51298 { { 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
51299 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;}
51300 { (exit 1); exit 1; }; }
51301 fi
51302
51303 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51304 { { 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
51305 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;}
51306 { (exit 1); exit 1; }; }
51307 fi
51308
51309
51310 if test $GCC_PCH = 1
51311 then
51312 if test "$wx_cv_gcc_pch_bug" = yes; then
51313 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51314 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51315 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51316 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51317 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51318 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51319 fi
51320
51321 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
51322 fi
51323
51324
51325 if test "$wxUSE_MAC" = 1 ; then
51326 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51327 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51328 mv temp bk-deps
51329 chmod +x bk-deps
51330 fi
51331 fi
51332
51333 if test "$wxUSE_SHARED" = "yes"; then
51334
51335 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
51336 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
51337
51338 case "${host}" in
51339 *-pc-os2_emx | *-pc-os2-emx )
51340 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51341 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51342 cp -p ${srcdir}/src/os2/dllnames.sh .
51343 cp -p ${srcdir}/src/os2/dllar.sh .
51344 ;;
51345 esac
51346 else
51347
51348 EXE_LINKER="$CXX -o"
51349
51350 fi
51351 if test "$wxUSE_OMF" = "yes"; then
51352 case "${host}" in
51353 *-pc-os2_emx | *-pc-os2-emx )
51354 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51355 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51356 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51357 ;;
51358 esac
51359 fi
51360
51361 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51362
51363 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51364
51365
51366
51367
51368
51369
51370
51371
51372
51373
51374
51375
51376
51377
51378
51379
51380
51381
51382
51383
51384
51385
51386
51387
51388
51389
51390
51391
51392
51393
51394
51395
51396
51397
51398
51399
51400
51401
51402
51403
51404
51405
51406
51407
51408
51409
51410
51411
51412
51413
51414
51415
51416
51417
51418
51419
51420
51421
51422
51423
51424
51425 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51426 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51427 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51428 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51429 echo $ECHO_N "(cached) $ECHO_C" >&6
51430 else
51431 cat >conftest.make <<\_ACEOF
51432 SHELL = /bin/sh
51433 all:
51434 @echo '@@@%%%=$(MAKE)=@@@%%%'
51435 _ACEOF
51436 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51437 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51438 *@@@%%%=?*=@@@%%%*)
51439 eval ac_cv_prog_make_${ac_make}_set=yes;;
51440 *)
51441 eval ac_cv_prog_make_${ac_make}_set=no;;
51442 esac
51443 rm -f conftest.make
51444 fi
51445 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51446 { echo "$as_me:$LINENO: result: yes" >&5
51447 echo "${ECHO_T}yes" >&6; }
51448 SET_MAKE=
51449 else
51450 { echo "$as_me:$LINENO: result: no" >&5
51451 echo "${ECHO_T}no" >&6; }
51452 SET_MAKE="MAKE=${MAKE-make}"
51453 fi
51454
51455
51456
51457 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51458
51459
51460 if test "$USE_WIN32" = 1; then
51461 ac_config_commands="$ac_config_commands
51462 rcdefs.h
51463 "
51464
51465 fi
51466
51467 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51468
51469
51470 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51471
51472
51473 if test "$wx_cv_version_script" = "yes"; then
51474 ac_config_files="$ac_config_files version-script"
51475
51476 fi
51477 ac_config_files="$ac_config_files Makefile"
51478
51479
51480 ac_config_commands="$ac_config_commands wx-config"
51481
51482
51483
51484 if test "$wxWITH_SUBDIRS" != "no"; then
51485 if test "$wxUSE_GUI" = "yes"; then
51486 SUBDIRS="samples demos utils contrib"
51487 else SUBDIRS="samples utils"
51488 fi
51489
51490
51491
51492 # Check whether --with-cppunit-prefix was given.
51493 if test "${with_cppunit_prefix+set}" = set; then
51494 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51495 else
51496 cppunit_config_prefix=""
51497 fi
51498
51499
51500 # Check whether --with-cppunit-exec-prefix was given.
51501 if test "${with_cppunit_exec_prefix+set}" = set; then
51502 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51503 else
51504 cppunit_config_exec_prefix=""
51505 fi
51506
51507
51508 if test x$cppunit_config_exec_prefix != x ; then
51509 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51510 if test x${CPPUNIT_CONFIG+set} != xset ; then
51511 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51512 fi
51513 fi
51514 if test x$cppunit_config_prefix != x ; then
51515 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51516 if test x${CPPUNIT_CONFIG+set} != xset ; then
51517 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51518 fi
51519 fi
51520
51521 # Extract the first word of "cppunit-config", so it can be a program name with args.
51522 set dummy cppunit-config; ac_word=$2
51523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51525 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51526 echo $ECHO_N "(cached) $ECHO_C" >&6
51527 else
51528 case $CPPUNIT_CONFIG in
51529 [\\/]* | ?:[\\/]*)
51530 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51531 ;;
51532 *)
51533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51534 for as_dir in $PATH
51535 do
51536 IFS=$as_save_IFS
51537 test -z "$as_dir" && as_dir=.
51538 for ac_exec_ext in '' $ac_executable_extensions; do
51539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51540 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51542 break 2
51543 fi
51544 done
51545 done
51546 IFS=$as_save_IFS
51547
51548 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51549 ;;
51550 esac
51551 fi
51552 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51553 if test -n "$CPPUNIT_CONFIG"; then
51554 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51555 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51556 else
51557 { echo "$as_me:$LINENO: result: no" >&5
51558 echo "${ECHO_T}no" >&6; }
51559 fi
51560
51561
51562 cppunit_version_min=1.8.0
51563
51564 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51565 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51566 no_cppunit=""
51567 if test "$CPPUNIT_CONFIG" = "no" ; then
51568 { echo "$as_me:$LINENO: result: no" >&5
51569 echo "${ECHO_T}no" >&6; }
51570 no_cppunit=yes
51571 else
51572 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51573 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51574 cppunit_version=`$CPPUNIT_CONFIG --version`
51575
51576 cppunit_major_version=`echo $cppunit_version | \
51577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51578 cppunit_minor_version=`echo $cppunit_version | \
51579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51580 cppunit_micro_version=`echo $cppunit_version | \
51581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51582
51583 cppunit_major_min=`echo $cppunit_version_min | \
51584 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51585 cppunit_minor_min=`echo $cppunit_version_min | \
51586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51587 cppunit_micro_min=`echo $cppunit_version_min | \
51588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51589
51590 cppunit_version_proper=`expr \
51591 $cppunit_major_version \> $cppunit_major_min \| \
51592 $cppunit_major_version \= $cppunit_major_min \& \
51593 $cppunit_minor_version \> $cppunit_minor_min \| \
51594 $cppunit_major_version \= $cppunit_major_min \& \
51595 $cppunit_minor_version \= $cppunit_minor_min \& \
51596 $cppunit_micro_version \>= $cppunit_micro_min `
51597
51598 if test "$cppunit_version_proper" = "1" ; then
51599 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51600 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51601 else
51602 { echo "$as_me:$LINENO: result: no" >&5
51603 echo "${ECHO_T}no" >&6; }
51604 no_cppunit=yes
51605 fi
51606 fi
51607
51608 if test "x$no_cppunit" = x ; then
51609 SUBDIRS="$SUBDIRS tests"
51610 else
51611 CPPUNIT_CFLAGS=""
51612 CPPUNIT_LIBS=""
51613 :
51614 fi
51615
51616
51617
51618
51619
51620 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
51621 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
51622 fi
51623
51624 for subdir in `echo $SUBDIRS`; do
51625 if test -d ${srcdir}/${subdir} ; then
51626 if test "$wxUSE_GUI" = "yes"; then
51627 if test ${subdir} = "samples"; then
51628 makefiles="samples/Makefile.in $makefiles"
51629 for sample in `echo $SAMPLES_SUBDIRS`; do
51630 if test -d $srcdir/samples/$sample; then
51631 makefiles="samples/$sample/Makefile.in $makefiles"
51632 fi
51633 done
51634 else
51635 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
51636 eval "disabled=\$$disabled_var"
51637 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51638 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51639 fi
51640 else if test ${subdir} = "samples"; then
51641 makefiles="samples/Makefile.in samples/console/Makefile.in"
51642 elif test ${subdir} = "utils"; then
51643 makefiles=""
51644 for util in HelpGen tex2rtf ; do
51645 if test -d $srcdir/utils/$util ; then
51646 makefiles="utils/$util/Makefile.in \
51647 utils/$util/src/Makefile.in \
51648 $makefiles"
51649 fi
51650 done
51651 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51652 fi
51653 fi
51654
51655 for mkin in $makefiles ; do
51656 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51657 ac_config_files="$ac_config_files $mk"
51658
51659 done
51660 fi
51661 done
51662 fi
51663 cat >confcache <<\_ACEOF
51664 # This file is a shell script that caches the results of configure
51665 # tests run on this system so they can be shared between configure
51666 # scripts and configure runs, see configure's option --config-cache.
51667 # It is not useful on other systems. If it contains results you don't
51668 # want to keep, you may remove or edit it.
51669 #
51670 # config.status only pays attention to the cache file if you give it
51671 # the --recheck option to rerun configure.
51672 #
51673 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51674 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51675 # following values.
51676
51677 _ACEOF
51678
51679 # The following way of writing the cache mishandles newlines in values,
51680 # but we know of no workaround that is simple, portable, and efficient.
51681 # So, we kill variables containing newlines.
51682 # Ultrix sh set writes to stderr and can't be redirected directly,
51683 # and sets the high bit in the cache file unless we assign to the vars.
51684 (
51685 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51686 eval ac_val=\$$ac_var
51687 case $ac_val in #(
51688 *${as_nl}*)
51689 case $ac_var in #(
51690 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51691 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51692 esac
51693 case $ac_var in #(
51694 _ | IFS | as_nl) ;; #(
51695 *) $as_unset $ac_var ;;
51696 esac ;;
51697 esac
51698 done
51699
51700 (set) 2>&1 |
51701 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51702 *${as_nl}ac_space=\ *)
51703 # `set' does not quote correctly, so add quotes (double-quote
51704 # substitution turns \\\\ into \\, and sed turns \\ into \).
51705 sed -n \
51706 "s/'/'\\\\''/g;
51707 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51708 ;; #(
51709 *)
51710 # `set' quotes correctly as required by POSIX, so do not add quotes.
51711 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51712 ;;
51713 esac |
51714 sort
51715 ) |
51716 sed '
51717 /^ac_cv_env_/b end
51718 t clear
51719 :clear
51720 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51721 t end
51722 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51723 :end' >>confcache
51724 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51725 if test -w "$cache_file"; then
51726 test "x$cache_file" != "x/dev/null" &&
51727 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51728 echo "$as_me: updating cache $cache_file" >&6;}
51729 cat confcache >$cache_file
51730 else
51731 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51732 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51733 fi
51734 fi
51735 rm -f confcache
51736
51737 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51738 # Let make expand exec_prefix.
51739 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51740
51741 DEFS=-DHAVE_CONFIG_H
51742
51743 ac_libobjs=
51744 ac_ltlibobjs=
51745 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51746 # 1. Remove the extension, and $U if already installed.
51747 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51748 ac_i=`echo "$ac_i" | sed "$ac_script"`
51749 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51750 # will be set to the directory where LIBOBJS objects are built.
51751 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51752 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51753 done
51754 LIBOBJS=$ac_libobjs
51755
51756 LTLIBOBJS=$ac_ltlibobjs
51757
51758
51759
51760 : ${CONFIG_STATUS=./config.status}
51761 ac_clean_files_save=$ac_clean_files
51762 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51763 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51764 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51765 cat >$CONFIG_STATUS <<_ACEOF
51766 #! $SHELL
51767 # Generated by $as_me.
51768 # Run this file to recreate the current configuration.
51769 # Compiler output produced by configure, useful for debugging
51770 # configure, is in config.log if it exists.
51771
51772 debug=false
51773 ac_cs_recheck=false
51774 ac_cs_silent=false
51775 SHELL=\${CONFIG_SHELL-$SHELL}
51776 _ACEOF
51777
51778 cat >>$CONFIG_STATUS <<\_ACEOF
51779 ## --------------------- ##
51780 ## M4sh Initialization. ##
51781 ## --------------------- ##
51782
51783 # Be more Bourne compatible
51784 DUALCASE=1; export DUALCASE # for MKS sh
51785 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51786 emulate sh
51787 NULLCMD=:
51788 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51789 # is contrary to our usage. Disable this feature.
51790 alias -g '${1+"$@"}'='"$@"'
51791 setopt NO_GLOB_SUBST
51792 else
51793 case `(set -o) 2>/dev/null` in
51794 *posix*) set -o posix ;;
51795 esac
51796
51797 fi
51798
51799
51800
51801
51802 # PATH needs CR
51803 # Avoid depending upon Character Ranges.
51804 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51805 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51806 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51807 as_cr_digits='0123456789'
51808 as_cr_alnum=$as_cr_Letters$as_cr_digits
51809
51810 # The user is always right.
51811 if test "${PATH_SEPARATOR+set}" != set; then
51812 echo "#! /bin/sh" >conf$$.sh
51813 echo "exit 0" >>conf$$.sh
51814 chmod +x conf$$.sh
51815 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51816 PATH_SEPARATOR=';'
51817 else
51818 PATH_SEPARATOR=:
51819 fi
51820 rm -f conf$$.sh
51821 fi
51822
51823 # Support unset when possible.
51824 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51825 as_unset=unset
51826 else
51827 as_unset=false
51828 fi
51829
51830
51831 # IFS
51832 # We need space, tab and new line, in precisely that order. Quoting is
51833 # there to prevent editors from complaining about space-tab.
51834 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51835 # splitting by setting IFS to empty value.)
51836 as_nl='
51837 '
51838 IFS=" "" $as_nl"
51839
51840 # Find who we are. Look in the path if we contain no directory separator.
51841 case $0 in
51842 *[\\/]* ) as_myself=$0 ;;
51843 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51844 for as_dir in $PATH
51845 do
51846 IFS=$as_save_IFS
51847 test -z "$as_dir" && as_dir=.
51848 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51849 done
51850 IFS=$as_save_IFS
51851
51852 ;;
51853 esac
51854 # We did not find ourselves, most probably we were run as `sh COMMAND'
51855 # in which case we are not to be found in the path.
51856 if test "x$as_myself" = x; then
51857 as_myself=$0
51858 fi
51859 if test ! -f "$as_myself"; then
51860 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51861 { (exit 1); exit 1; }
51862 fi
51863
51864 # Work around bugs in pre-3.0 UWIN ksh.
51865 for as_var in ENV MAIL MAILPATH
51866 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51867 done
51868 PS1='$ '
51869 PS2='> '
51870 PS4='+ '
51871
51872 # NLS nuisances.
51873 for as_var in \
51874 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51875 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51876 LC_TELEPHONE LC_TIME
51877 do
51878 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51879 eval $as_var=C; export $as_var
51880 else
51881 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51882 fi
51883 done
51884
51885 # Required to use basename.
51886 if expr a : '\(a\)' >/dev/null 2>&1 &&
51887 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51888 as_expr=expr
51889 else
51890 as_expr=false
51891 fi
51892
51893 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51894 as_basename=basename
51895 else
51896 as_basename=false
51897 fi
51898
51899
51900 # Name of the executable.
51901 as_me=`$as_basename -- "$0" ||
51902 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51903 X"$0" : 'X\(//\)$' \| \
51904 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51905 echo X/"$0" |
51906 sed '/^.*\/\([^/][^/]*\)\/*$/{
51907 s//\1/
51908 q
51909 }
51910 /^X\/\(\/\/\)$/{
51911 s//\1/
51912 q
51913 }
51914 /^X\/\(\/\).*/{
51915 s//\1/
51916 q
51917 }
51918 s/.*/./; q'`
51919
51920 # CDPATH.
51921 $as_unset CDPATH
51922
51923
51924
51925 as_lineno_1=$LINENO
51926 as_lineno_2=$LINENO
51927 test "x$as_lineno_1" != "x$as_lineno_2" &&
51928 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51929
51930 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51931 # uniformly replaced by the line number. The first 'sed' inserts a
51932 # line-number line after each line using $LINENO; the second 'sed'
51933 # does the real work. The second script uses 'N' to pair each
51934 # line-number line with the line containing $LINENO, and appends
51935 # trailing '-' during substitution so that $LINENO is not a special
51936 # case at line end.
51937 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51938 # scripts with optimization help from Paolo Bonzini. Blame Lee
51939 # E. McMahon (1931-1989) for sed's syntax. :-)
51940 sed -n '
51941 p
51942 /[$]LINENO/=
51943 ' <$as_myself |
51944 sed '
51945 s/[$]LINENO.*/&-/
51946 t lineno
51947 b
51948 :lineno
51949 N
51950 :loop
51951 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51952 t loop
51953 s/-\n.*//
51954 ' >$as_me.lineno &&
51955 chmod +x "$as_me.lineno" ||
51956 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51957 { (exit 1); exit 1; }; }
51958
51959 # Don't try to exec as it changes $[0], causing all sort of problems
51960 # (the dirname of $[0] is not the place where we might find the
51961 # original and so on. Autoconf is especially sensitive to this).
51962 . "./$as_me.lineno"
51963 # Exit status is that of the last command.
51964 exit
51965 }
51966
51967
51968 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51969 as_dirname=dirname
51970 else
51971 as_dirname=false
51972 fi
51973
51974 ECHO_C= ECHO_N= ECHO_T=
51975 case `echo -n x` in
51976 -n*)
51977 case `echo 'x\c'` in
51978 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51979 *) ECHO_C='\c';;
51980 esac;;
51981 *)
51982 ECHO_N='-n';;
51983 esac
51984
51985 if expr a : '\(a\)' >/dev/null 2>&1 &&
51986 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51987 as_expr=expr
51988 else
51989 as_expr=false
51990 fi
51991
51992 rm -f conf$$ conf$$.exe conf$$.file
51993 if test -d conf$$.dir; then
51994 rm -f conf$$.dir/conf$$.file
51995 else
51996 rm -f conf$$.dir
51997 mkdir conf$$.dir
51998 fi
51999 echo >conf$$.file
52000 if ln -s conf$$.file conf$$ 2>/dev/null; then
52001 as_ln_s='ln -s'
52002 # ... but there are two gotchas:
52003 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52004 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52005 # In both cases, we have to default to `cp -p'.
52006 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52007 as_ln_s='cp -p'
52008 elif ln conf$$.file conf$$ 2>/dev/null; then
52009 as_ln_s=ln
52010 else
52011 as_ln_s='cp -p'
52012 fi
52013 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52014 rmdir conf$$.dir 2>/dev/null
52015
52016 if mkdir -p . 2>/dev/null; then
52017 as_mkdir_p=:
52018 else
52019 test -d ./-p && rmdir ./-p
52020 as_mkdir_p=false
52021 fi
52022
52023 if test -x / >/dev/null 2>&1; then
52024 as_test_x='test -x'
52025 else
52026 if ls -dL / >/dev/null 2>&1; then
52027 as_ls_L_option=L
52028 else
52029 as_ls_L_option=
52030 fi
52031 as_test_x='
52032 eval sh -c '\''
52033 if test -d "$1"; then
52034 test -d "$1/.";
52035 else
52036 case $1 in
52037 -*)set "./$1";;
52038 esac;
52039 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52040 ???[sx]*):;;*)false;;esac;fi
52041 '\'' sh
52042 '
52043 fi
52044 as_executable_p=$as_test_x
52045
52046 # Sed expression to map a string onto a valid CPP name.
52047 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52048
52049 # Sed expression to map a string onto a valid variable name.
52050 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52051
52052
52053 exec 6>&1
52054
52055 # Save the log message, to keep $[0] and so on meaningful, and to
52056 # report actual input values of CONFIG_FILES etc. instead of their
52057 # values after options handling.
52058 ac_log="
52059 This file was extended by wxWidgets $as_me 2.9.0, which was
52060 generated by GNU Autoconf 2.61. Invocation command line was
52061
52062 CONFIG_FILES = $CONFIG_FILES
52063 CONFIG_HEADERS = $CONFIG_HEADERS
52064 CONFIG_LINKS = $CONFIG_LINKS
52065 CONFIG_COMMANDS = $CONFIG_COMMANDS
52066 $ $0 $@
52067
52068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52069 "
52070
52071 _ACEOF
52072
52073 cat >>$CONFIG_STATUS <<_ACEOF
52074 # Files that config.status was made for.
52075 config_files="$ac_config_files"
52076 config_headers="$ac_config_headers"
52077 config_commands="$ac_config_commands"
52078
52079 _ACEOF
52080
52081 cat >>$CONFIG_STATUS <<\_ACEOF
52082 ac_cs_usage="\
52083 \`$as_me' instantiates files from templates according to the
52084 current configuration.
52085
52086 Usage: $0 [OPTIONS] [FILE]...
52087
52088 -h, --help print this help, then exit
52089 -V, --version print version number and configuration settings, then exit
52090 -q, --quiet do not print progress messages
52091 -d, --debug don't remove temporary files
52092 --recheck update $as_me by reconfiguring in the same conditions
52093 --file=FILE[:TEMPLATE]
52094 instantiate the configuration file FILE
52095 --header=FILE[:TEMPLATE]
52096 instantiate the configuration header FILE
52097
52098 Configuration files:
52099 $config_files
52100
52101 Configuration headers:
52102 $config_headers
52103
52104 Configuration commands:
52105 $config_commands
52106
52107 Report bugs to <bug-autoconf@gnu.org>."
52108
52109 _ACEOF
52110 cat >>$CONFIG_STATUS <<_ACEOF
52111 ac_cs_version="\\
52112 wxWidgets config.status 2.9.0
52113 configured by $0, generated by GNU Autoconf 2.61,
52114 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52115
52116 Copyright (C) 2006 Free Software Foundation, Inc.
52117 This config.status script is free software; the Free Software Foundation
52118 gives unlimited permission to copy, distribute and modify it."
52119
52120 ac_pwd='$ac_pwd'
52121 srcdir='$srcdir'
52122 INSTALL='$INSTALL'
52123 _ACEOF
52124
52125 cat >>$CONFIG_STATUS <<\_ACEOF
52126 # If no file are specified by the user, then we need to provide default
52127 # value. By we need to know if files were specified by the user.
52128 ac_need_defaults=:
52129 while test $# != 0
52130 do
52131 case $1 in
52132 --*=*)
52133 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52134 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52135 ac_shift=:
52136 ;;
52137 *)
52138 ac_option=$1
52139 ac_optarg=$2
52140 ac_shift=shift
52141 ;;
52142 esac
52143
52144 case $ac_option in
52145 # Handling of the options.
52146 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52147 ac_cs_recheck=: ;;
52148 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52149 echo "$ac_cs_version"; exit ;;
52150 --debug | --debu | --deb | --de | --d | -d )
52151 debug=: ;;
52152 --file | --fil | --fi | --f )
52153 $ac_shift
52154 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52155 ac_need_defaults=false;;
52156 --header | --heade | --head | --hea )
52157 $ac_shift
52158 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52159 ac_need_defaults=false;;
52160 --he | --h)
52161 # Conflict between --help and --header
52162 { echo "$as_me: error: ambiguous option: $1
52163 Try \`$0 --help' for more information." >&2
52164 { (exit 1); exit 1; }; };;
52165 --help | --hel | -h )
52166 echo "$ac_cs_usage"; exit ;;
52167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52168 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52169 ac_cs_silent=: ;;
52170
52171 # This is an error.
52172 -*) { echo "$as_me: error: unrecognized option: $1
52173 Try \`$0 --help' for more information." >&2
52174 { (exit 1); exit 1; }; } ;;
52175
52176 *) ac_config_targets="$ac_config_targets $1"
52177 ac_need_defaults=false ;;
52178
52179 esac
52180 shift
52181 done
52182
52183 ac_configure_extra_args=
52184
52185 if $ac_cs_silent; then
52186 exec 6>/dev/null
52187 ac_configure_extra_args="$ac_configure_extra_args --silent"
52188 fi
52189
52190 _ACEOF
52191 cat >>$CONFIG_STATUS <<_ACEOF
52192 if \$ac_cs_recheck; then
52193 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52194 CONFIG_SHELL=$SHELL
52195 export CONFIG_SHELL
52196 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52197 fi
52198
52199 _ACEOF
52200 cat >>$CONFIG_STATUS <<\_ACEOF
52201 exec 5>>config.log
52202 {
52203 echo
52204 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52205 ## Running $as_me. ##
52206 _ASBOX
52207 echo "$ac_log"
52208 } >&5
52209
52210 _ACEOF
52211 cat >>$CONFIG_STATUS <<_ACEOF
52212 #
52213 # INIT-COMMANDS
52214 #
52215
52216 CPP="$CPP"
52217 infile="$srcdir/include/wx/msw/genrcdefs.h"
52218 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52219
52220
52221 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52222 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52223 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52224 LN_S="${LN_S}"
52225
52226
52227 _ACEOF
52228
52229 cat >>$CONFIG_STATUS <<\_ACEOF
52230
52231 # Handling of arguments.
52232 for ac_config_target in $ac_config_targets
52233 do
52234 case $ac_config_target in
52235 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52236 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52237 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52238 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52239 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52240 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52241 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52242 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52243
52244 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52245 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52246 { (exit 1); exit 1; }; };;
52247 esac
52248 done
52249
52250
52251 # If the user did not use the arguments to specify the items to instantiate,
52252 # then the envvar interface is used. Set only those that are not.
52253 # We use the long form for the default assignment because of an extremely
52254 # bizarre bug on SunOS 4.1.3.
52255 if $ac_need_defaults; then
52256 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52257 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52258 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52259 fi
52260
52261 # Have a temporary directory for convenience. Make it in the build tree
52262 # simply because there is no reason against having it here, and in addition,
52263 # creating and moving files from /tmp can sometimes cause problems.
52264 # Hook for its removal unless debugging.
52265 # Note that there is a small window in which the directory will not be cleaned:
52266 # after its creation but before its name has been assigned to `$tmp'.
52267 $debug ||
52268 {
52269 tmp=
52270 trap 'exit_status=$?
52271 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52272 ' 0
52273 trap '{ (exit 1); exit 1; }' 1 2 13 15
52274 }
52275 # Create a (secure) tmp directory for tmp files.
52276
52277 {
52278 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52279 test -n "$tmp" && test -d "$tmp"
52280 } ||
52281 {
52282 tmp=./conf$$-$RANDOM
52283 (umask 077 && mkdir "$tmp")
52284 } ||
52285 {
52286 echo "$me: cannot create a temporary directory in ." >&2
52287 { (exit 1); exit 1; }
52288 }
52289
52290 #
52291 # Set up the sed scripts for CONFIG_FILES section.
52292 #
52293
52294 # No need to generate the scripts if there are no CONFIG_FILES.
52295 # This happens for instance when ./config.status config.h
52296 if test -n "$CONFIG_FILES"; then
52297
52298 _ACEOF
52299
52300
52301
52302 ac_delim='%!_!# '
52303 for ac_last_try in false false false false false :; do
52304 cat >conf$$subs.sed <<_ACEOF
52305 SHELL!$SHELL$ac_delim
52306 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52307 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52308 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52309 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52310 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52311 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52312 exec_prefix!$exec_prefix$ac_delim
52313 prefix!$prefix$ac_delim
52314 program_transform_name!$program_transform_name$ac_delim
52315 bindir!$bindir$ac_delim
52316 sbindir!$sbindir$ac_delim
52317 libexecdir!$libexecdir$ac_delim
52318 datarootdir!$datarootdir$ac_delim
52319 datadir!$datadir$ac_delim
52320 sysconfdir!$sysconfdir$ac_delim
52321 sharedstatedir!$sharedstatedir$ac_delim
52322 localstatedir!$localstatedir$ac_delim
52323 includedir!$includedir$ac_delim
52324 oldincludedir!$oldincludedir$ac_delim
52325 docdir!$docdir$ac_delim
52326 infodir!$infodir$ac_delim
52327 htmldir!$htmldir$ac_delim
52328 dvidir!$dvidir$ac_delim
52329 pdfdir!$pdfdir$ac_delim
52330 psdir!$psdir$ac_delim
52331 libdir!$libdir$ac_delim
52332 localedir!$localedir$ac_delim
52333 mandir!$mandir$ac_delim
52334 DEFS!$DEFS$ac_delim
52335 ECHO_C!$ECHO_C$ac_delim
52336 ECHO_N!$ECHO_N$ac_delim
52337 ECHO_T!$ECHO_T$ac_delim
52338 LIBS!$LIBS$ac_delim
52339 build_alias!$build_alias$ac_delim
52340 host_alias!$host_alias$ac_delim
52341 target_alias!$target_alias$ac_delim
52342 build!$build$ac_delim
52343 build_cpu!$build_cpu$ac_delim
52344 build_vendor!$build_vendor$ac_delim
52345 build_os!$build_os$ac_delim
52346 host!$host$ac_delim
52347 host_cpu!$host_cpu$ac_delim
52348 host_vendor!$host_vendor$ac_delim
52349 host_os!$host_os$ac_delim
52350 target!$target$ac_delim
52351 target_cpu!$target_cpu$ac_delim
52352 target_vendor!$target_vendor$ac_delim
52353 target_os!$target_os$ac_delim
52354 wx_top_builddir!$wx_top_builddir$ac_delim
52355 CC!$CC$ac_delim
52356 CFLAGS!$CFLAGS$ac_delim
52357 LDFLAGS!$LDFLAGS$ac_delim
52358 CPPFLAGS!$CPPFLAGS$ac_delim
52359 ac_ct_CC!$ac_ct_CC$ac_delim
52360 EXEEXT!$EXEEXT$ac_delim
52361 OBJEXT!$OBJEXT$ac_delim
52362 CPP!$CPP$ac_delim
52363 GREP!$GREP$ac_delim
52364 EGREP!$EGREP$ac_delim
52365 CXX!$CXX$ac_delim
52366 CXXFLAGS!$CXXFLAGS$ac_delim
52367 ac_ct_CXX!$ac_ct_CXX$ac_delim
52368 RANLIB!$RANLIB$ac_delim
52369 AR!$AR$ac_delim
52370 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52371 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52372 INSTALL_DATA!$INSTALL_DATA$ac_delim
52373 STRIP!$STRIP$ac_delim
52374 WINDRES!$WINDRES$ac_delim
52375 DLLTOOL!$DLLTOOL$ac_delim
52376 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52377 LN_S!$LN_S$ac_delim
52378 CXXCPP!$CXXCPP$ac_delim
52379 subdirs!$subdirs$ac_delim
52380 PKG_CONFIG!$PKG_CONFIG$ac_delim
52381 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52382 GTK_LIBS!$GTK_LIBS$ac_delim
52383 GTK_CONFIG!$GTK_CONFIG$ac_delim
52384 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52385 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52386 XMKMF!$XMKMF$ac_delim
52387 X_CFLAGS!$X_CFLAGS$ac_delim
52388 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52389 X_LIBS!$X_LIBS$ac_delim
52390 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52391 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52392 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52393 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52394 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52395 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52396 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52397 REZ!$REZ$ac_delim
52398 DEREZ!$DEREZ$ac_delim
52399 SETFILE!$SETFILE$ac_delim
52400 LIBICONV!$LIBICONV$ac_delim
52401 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
52402 _ACEOF
52403
52404 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52405 break
52406 elif $ac_last_try; then
52407 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52408 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52409 { (exit 1); exit 1; }; }
52410 else
52411 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52412 fi
52413 done
52414
52415 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52416 if test -n "$ac_eof"; then
52417 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52418 ac_eof=`expr $ac_eof + 1`
52419 fi
52420
52421 cat >>$CONFIG_STATUS <<_ACEOF
52422 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52424 _ACEOF
52425 sed '
52426 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52427 s/^/s,@/; s/!/@,|#_!!_#|/
52428 :n
52429 t n
52430 s/'"$ac_delim"'$/,g/; t
52431 s/$/\\/; p
52432 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52433 ' >>$CONFIG_STATUS <conf$$subs.sed
52434 rm -f conf$$subs.sed
52435 cat >>$CONFIG_STATUS <<_ACEOF
52436 CEOF$ac_eof
52437 _ACEOF
52438
52439
52440 ac_delim='%!_!# '
52441 for ac_last_try in false false false false false :; do
52442 cat >conf$$subs.sed <<_ACEOF
52443 SDL_CONFIG!$SDL_CONFIG$ac_delim
52444 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52445 SDL_LIBS!$SDL_LIBS$ac_delim
52446 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52447 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52448 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52449 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52450 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52451 HILDON_LIBS!$HILDON_LIBS$ac_delim
52452 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52453 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52454 GST_CFLAGS!$GST_CFLAGS$ac_delim
52455 GST_LIBS!$GST_LIBS$ac_delim
52456 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
52457 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
52458 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52459 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52460 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52461 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
52462 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52463 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52464 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52465 VENDOR!$VENDOR$ac_delim
52466 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52467 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52468 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52469 WXUNIV!$WXUNIV$ac_delim
52470 MONOLITHIC!$MONOLITHIC$ac_delim
52471 USE_PLUGINS!$USE_PLUGINS$ac_delim
52472 EXTRALIBS!$EXTRALIBS$ac_delim
52473 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52474 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52475 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
52476 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52477 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52478 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52479 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52480 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52481 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52482 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52483 UNICODE!$UNICODE$ac_delim
52484 BUILD!$BUILD$ac_delim
52485 DEBUG_INFO!$DEBUG_INFO$ac_delim
52486 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52487 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52488 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52489 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52490 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
52491 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52492 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52493 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52494 SET_MAKE!$SET_MAKE$ac_delim
52495 MAKE_SET!$MAKE_SET$ac_delim
52496 AROPTIONS!$AROPTIONS$ac_delim
52497 NM!$NM$ac_delim
52498 INSTALL_DIR!$INSTALL_DIR$ac_delim
52499 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52500 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52501 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52502 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52503 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52504 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52505 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52506 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52507 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52508 SO_SUFFIX!$SO_SUFFIX$ac_delim
52509 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52510 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52511 LIBPREFIX!$LIBPREFIX$ac_delim
52512 LIBEXT!$LIBEXT$ac_delim
52513 DLLPREFIX!$DLLPREFIX$ac_delim
52514 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52515 dlldir!$dlldir$ac_delim
52516 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52517 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52518 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52519 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52520 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52521 PIC_FLAG!$PIC_FLAG$ac_delim
52522 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52523 USE_SOVERSION!$USE_SOVERSION$ac_delim
52524 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52525 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52526 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52527 USE_MACVERSION!$USE_MACVERSION$ac_delim
52528 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52529 SONAME_FLAG!$SONAME_FLAG$ac_delim
52530 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52531 BK_DEPS!$BK_DEPS$ac_delim
52532 GCC_PCH!$GCC_PCH$ac_delim
52533 ICC_PCH!$ICC_PCH$ac_delim
52534 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52535 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52536 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52537 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52538 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52539 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52540 _ACEOF
52541
52542 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52543 break
52544 elif $ac_last_try; then
52545 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52546 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52547 { (exit 1); exit 1; }; }
52548 else
52549 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52550 fi
52551 done
52552
52553 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52554 if test -n "$ac_eof"; then
52555 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52556 ac_eof=`expr $ac_eof + 1`
52557 fi
52558
52559 cat >>$CONFIG_STATUS <<_ACEOF
52560 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52561 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52562 _ACEOF
52563 sed '
52564 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52565 s/^/s,@/; s/!/@,|#_!!_#|/
52566 :n
52567 t n
52568 s/'"$ac_delim"'$/,g/; t
52569 s/$/\\/; p
52570 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52571 ' >>$CONFIG_STATUS <conf$$subs.sed
52572 rm -f conf$$subs.sed
52573 cat >>$CONFIG_STATUS <<_ACEOF
52574 CEOF$ac_eof
52575 _ACEOF
52576
52577
52578 ac_delim='%!_!# '
52579 for ac_last_try in false false false false false :; do
52580 cat >conf$$subs.sed <<_ACEOF
52581 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52582 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52583 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52584 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52585 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52586 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52587 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52588 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52589 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52590 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52591 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52592 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52593 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52594 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52595 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52596 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52597 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52598 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
52599 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52600 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
52601 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52602 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52603 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52604 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52605 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52606 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52607 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52608 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
52609 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52610 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
52611 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52612 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52613 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52614 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
52615 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52616 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52617 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52618 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52619 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52620 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52621 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52622 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52623 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
52624 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
52625 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
52626 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
52627 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
52628 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
52629 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
52630 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52631 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52632 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52633 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52634 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52635 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52636 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52637 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52638 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52639 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52640 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52641 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52642 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52643 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52644 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52645 COND_SHARED_0!$COND_SHARED_0$ac_delim
52646 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52647 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52648 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52649 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52650 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52651 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52652 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52653 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
52654 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
52655 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
52656 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
52657 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
52658 COND_SHARED_1!$COND_SHARED_1$ac_delim
52659 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52660 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
52661 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52662 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52663 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52664 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52665 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52666 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52667 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52668 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52669 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52670 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52671 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52672 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52673 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52674 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52675 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52676 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
52677 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
52678 _ACEOF
52679
52680 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52681 break
52682 elif $ac_last_try; then
52683 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52684 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52685 { (exit 1); exit 1; }; }
52686 else
52687 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52688 fi
52689 done
52690
52691 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52692 if test -n "$ac_eof"; then
52693 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52694 ac_eof=`expr $ac_eof + 1`
52695 fi
52696
52697 cat >>$CONFIG_STATUS <<_ACEOF
52698 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52699 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52700 _ACEOF
52701 sed '
52702 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52703 s/^/s,@/; s/!/@,|#_!!_#|/
52704 :n
52705 t n
52706 s/'"$ac_delim"'$/,g/; t
52707 s/$/\\/; p
52708 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52709 ' >>$CONFIG_STATUS <conf$$subs.sed
52710 rm -f conf$$subs.sed
52711 cat >>$CONFIG_STATUS <<_ACEOF
52712 CEOF$ac_eof
52713 _ACEOF
52714
52715
52716 ac_delim='%!_!# '
52717 for ac_last_try in false false false false false :; do
52718 cat >conf$$subs.sed <<_ACEOF
52719 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52720 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52721 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52722 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52723 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52724 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52725 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52726 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52727 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52728 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52729 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52730 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52731 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52732 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52733 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52734 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52735 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52736 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52737 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52738 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52739 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52740 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52741 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52742 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52743 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52744 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52745 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52746 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52747 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
52748 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52749 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52750 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52751 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52752 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52753 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52754 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52755 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52756 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52757 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52758 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52759 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52760 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52761 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52762 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52763 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52764 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52765 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52766 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52767 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52768 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52769 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
52770 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52771 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52772 SHARED!$SHARED$ac_delim
52773 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52774 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52775 USE_GUI!$USE_GUI$ac_delim
52776 AFMINSTALL!$AFMINSTALL$ac_delim
52777 WIN32INSTALL!$WIN32INSTALL$ac_delim
52778 TOOLKIT!$TOOLKIT$ac_delim
52779 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52780 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52781 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52782 cross_compiling!$cross_compiling$ac_delim
52783 WIDGET_SET!$WIDGET_SET$ac_delim
52784 WX_RELEASE!$WX_RELEASE$ac_delim
52785 WX_VERSION!$WX_VERSION$ac_delim
52786 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52787 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52788 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52789 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52790 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52791 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52792 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52793 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52794 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52795 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52796 EXE_LINKER!$EXE_LINKER$ac_delim
52797 GUIDIST!$GUIDIST$ac_delim
52798 DISTDIR!$DISTDIR$ac_delim
52799 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52800 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52801 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52802 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52803 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52804 RESCOMP!$RESCOMP$ac_delim
52805 RESFLAGS!$RESFLAGS$ac_delim
52806 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52807 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52808 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52809 LIBWXMACRES!$LIBWXMACRES$ac_delim
52810 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52811 MACSETFILE!$MACSETFILE$ac_delim
52812 GCC!$GCC$ac_delim
52813 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52814 LIBOBJS!$LIBOBJS$ac_delim
52815 LTLIBOBJS!$LTLIBOBJS$ac_delim
52816 _ACEOF
52817
52818 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52819 break
52820 elif $ac_last_try; then
52821 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52822 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52823 { (exit 1); exit 1; }; }
52824 else
52825 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52826 fi
52827 done
52828
52829 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52830 if test -n "$ac_eof"; then
52831 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52832 ac_eof=`expr $ac_eof + 1`
52833 fi
52834
52835 cat >>$CONFIG_STATUS <<_ACEOF
52836 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52837 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52838 _ACEOF
52839 sed '
52840 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52841 s/^/s,@/; s/!/@,|#_!!_#|/
52842 :n
52843 t n
52844 s/'"$ac_delim"'$/,g/; t
52845 s/$/\\/; p
52846 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52847 ' >>$CONFIG_STATUS <conf$$subs.sed
52848 rm -f conf$$subs.sed
52849 cat >>$CONFIG_STATUS <<_ACEOF
52850 CEOF$ac_eof
52851 _ACEOF
52852
52853
52854 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52855 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52856 # trailing colons and then remove the whole line if VPATH becomes empty
52857 # (actually we leave an empty line to preserve line numbers).
52858 if test "x$srcdir" = x.; then
52859 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52860 s/:*\$(srcdir):*/:/
52861 s/:*\${srcdir}:*/:/
52862 s/:*@srcdir@:*/:/
52863 s/^\([^=]*=[ ]*\):*/\1/
52864 s/:*$//
52865 s/^[^=]*=[ ]*$//
52866 }'
52867 fi
52868
52869 cat >>$CONFIG_STATUS <<\_ACEOF
52870 fi # test -n "$CONFIG_FILES"
52871
52872
52873 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52874 do
52875 case $ac_tag in
52876 :[FHLC]) ac_mode=$ac_tag; continue;;
52877 esac
52878 case $ac_mode$ac_tag in
52879 :[FHL]*:*);;
52880 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52881 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52882 { (exit 1); exit 1; }; };;
52883 :[FH]-) ac_tag=-:-;;
52884 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52885 esac
52886 ac_save_IFS=$IFS
52887 IFS=:
52888 set x $ac_tag
52889 IFS=$ac_save_IFS
52890 shift
52891 ac_file=$1
52892 shift
52893
52894 case $ac_mode in
52895 :L) ac_source=$1;;
52896 :[FH])
52897 ac_file_inputs=
52898 for ac_f
52899 do
52900 case $ac_f in
52901 -) ac_f="$tmp/stdin";;
52902 *) # Look for the file first in the build tree, then in the source tree
52903 # (if the path is not absolute). The absolute path cannot be DOS-style,
52904 # because $ac_f cannot contain `:'.
52905 test -f "$ac_f" ||
52906 case $ac_f in
52907 [\\/$]*) false;;
52908 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52909 esac ||
52910 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52911 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52912 { (exit 1); exit 1; }; };;
52913 esac
52914 ac_file_inputs="$ac_file_inputs $ac_f"
52915 done
52916
52917 # Let's still pretend it is `configure' which instantiates (i.e., don't
52918 # use $as_me), people would be surprised to read:
52919 # /* config.h. Generated by config.status. */
52920 configure_input="Generated from "`IFS=:
52921 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52922 if test x"$ac_file" != x-; then
52923 configure_input="$ac_file. $configure_input"
52924 { echo "$as_me:$LINENO: creating $ac_file" >&5
52925 echo "$as_me: creating $ac_file" >&6;}
52926 fi
52927
52928 case $ac_tag in
52929 *:-:* | *:-) cat >"$tmp/stdin";;
52930 esac
52931 ;;
52932 esac
52933
52934 ac_dir=`$as_dirname -- "$ac_file" ||
52935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52936 X"$ac_file" : 'X\(//\)[^/]' \| \
52937 X"$ac_file" : 'X\(//\)$' \| \
52938 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52939 echo X"$ac_file" |
52940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52941 s//\1/
52942 q
52943 }
52944 /^X\(\/\/\)[^/].*/{
52945 s//\1/
52946 q
52947 }
52948 /^X\(\/\/\)$/{
52949 s//\1/
52950 q
52951 }
52952 /^X\(\/\).*/{
52953 s//\1/
52954 q
52955 }
52956 s/.*/./; q'`
52957 { as_dir="$ac_dir"
52958 case $as_dir in #(
52959 -*) as_dir=./$as_dir;;
52960 esac
52961 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52962 as_dirs=
52963 while :; do
52964 case $as_dir in #(
52965 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52966 *) as_qdir=$as_dir;;
52967 esac
52968 as_dirs="'$as_qdir' $as_dirs"
52969 as_dir=`$as_dirname -- "$as_dir" ||
52970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52971 X"$as_dir" : 'X\(//\)[^/]' \| \
52972 X"$as_dir" : 'X\(//\)$' \| \
52973 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52974 echo X"$as_dir" |
52975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52976 s//\1/
52977 q
52978 }
52979 /^X\(\/\/\)[^/].*/{
52980 s//\1/
52981 q
52982 }
52983 /^X\(\/\/\)$/{
52984 s//\1/
52985 q
52986 }
52987 /^X\(\/\).*/{
52988 s//\1/
52989 q
52990 }
52991 s/.*/./; q'`
52992 test -d "$as_dir" && break
52993 done
52994 test -z "$as_dirs" || eval "mkdir $as_dirs"
52995 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52996 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52997 { (exit 1); exit 1; }; }; }
52998 ac_builddir=.
52999
53000 case "$ac_dir" in
53001 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53002 *)
53003 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53004 # A ".." for each directory in $ac_dir_suffix.
53005 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53006 case $ac_top_builddir_sub in
53007 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53008 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53009 esac ;;
53010 esac
53011 ac_abs_top_builddir=$ac_pwd
53012 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53013 # for backward compatibility:
53014 ac_top_builddir=$ac_top_build_prefix
53015
53016 case $srcdir in
53017 .) # We are building in place.
53018 ac_srcdir=.
53019 ac_top_srcdir=$ac_top_builddir_sub
53020 ac_abs_top_srcdir=$ac_pwd ;;
53021 [\\/]* | ?:[\\/]* ) # Absolute name.
53022 ac_srcdir=$srcdir$ac_dir_suffix;
53023 ac_top_srcdir=$srcdir
53024 ac_abs_top_srcdir=$srcdir ;;
53025 *) # Relative name.
53026 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53027 ac_top_srcdir=$ac_top_build_prefix$srcdir
53028 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53029 esac
53030 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53031
53032
53033 case $ac_mode in
53034 :F)
53035 #
53036 # CONFIG_FILE
53037 #
53038
53039 case $INSTALL in
53040 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53041 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53042 esac
53043 _ACEOF
53044
53045 cat >>$CONFIG_STATUS <<\_ACEOF
53046 # If the template does not know about datarootdir, expand it.
53047 # FIXME: This hack should be removed a few years after 2.60.
53048 ac_datarootdir_hack=; ac_datarootdir_seen=
53049
53050 case `sed -n '/datarootdir/ {
53051 p
53052 q
53053 }
53054 /@datadir@/p
53055 /@docdir@/p
53056 /@infodir@/p
53057 /@localedir@/p
53058 /@mandir@/p
53059 ' $ac_file_inputs` in
53060 *datarootdir*) ac_datarootdir_seen=yes;;
53061 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53062 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53063 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53064 _ACEOF
53065 cat >>$CONFIG_STATUS <<_ACEOF
53066 ac_datarootdir_hack='
53067 s&@datadir@&$datadir&g
53068 s&@docdir@&$docdir&g
53069 s&@infodir@&$infodir&g
53070 s&@localedir@&$localedir&g
53071 s&@mandir@&$mandir&g
53072 s&\\\${datarootdir}&$datarootdir&g' ;;
53073 esac
53074 _ACEOF
53075
53076 # Neutralize VPATH when `$srcdir' = `.'.
53077 # Shell code in configure.ac might set extrasub.
53078 # FIXME: do we really want to maintain this feature?
53079 cat >>$CONFIG_STATUS <<_ACEOF
53080 sed "$ac_vpsub
53081 $extrasub
53082 _ACEOF
53083 cat >>$CONFIG_STATUS <<\_ACEOF
53084 :t
53085 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53086 s&@configure_input@&$configure_input&;t t
53087 s&@top_builddir@&$ac_top_builddir_sub&;t t
53088 s&@srcdir@&$ac_srcdir&;t t
53089 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53090 s&@top_srcdir@&$ac_top_srcdir&;t t
53091 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53092 s&@builddir@&$ac_builddir&;t t
53093 s&@abs_builddir@&$ac_abs_builddir&;t t
53094 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53095 s&@INSTALL@&$ac_INSTALL&;t t
53096 $ac_datarootdir_hack
53097 " $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 's/|#_!!_#|//g' >$tmp/out
53098
53099 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53100 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53101 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53102 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53103 which seems to be undefined. Please make sure it is defined." >&5
53104 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53105 which seems to be undefined. Please make sure it is defined." >&2;}
53106
53107 rm -f "$tmp/stdin"
53108 case $ac_file in
53109 -) cat "$tmp/out"; rm -f "$tmp/out";;
53110 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53111 esac
53112 ;;
53113 :H)
53114 #
53115 # CONFIG_HEADER
53116 #
53117 _ACEOF
53118
53119 # Transform confdefs.h into a sed script `conftest.defines', that
53120 # substitutes the proper values into config.h.in to produce config.h.
53121 rm -f conftest.defines conftest.tail
53122 # First, append a space to every undef/define line, to ease matching.
53123 echo 's/$/ /' >conftest.defines
53124 # Then, protect against being on the right side of a sed subst, or in
53125 # an unquoted here document, in config.status. If some macros were
53126 # called several times there might be several #defines for the same
53127 # symbol, which is useless. But do not sort them, since the last
53128 # AC_DEFINE must be honored.
53129 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53130 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53131 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53132 # PARAMS is the parameter list in the macro definition--in most cases, it's
53133 # just an empty string.
53134 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53135 ac_dB='\\)[ (].*,\\1define\\2'
53136 ac_dC=' '
53137 ac_dD=' ,'
53138
53139 uniq confdefs.h |
53140 sed -n '
53141 t rset
53142 :rset
53143 s/^[ ]*#[ ]*define[ ][ ]*//
53144 t ok
53145 d
53146 :ok
53147 s/[\\&,]/\\&/g
53148 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53149 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53150 ' >>conftest.defines
53151
53152 # Remove the space that was appended to ease matching.
53153 # Then replace #undef with comments. This is necessary, for
53154 # example, in the case of _POSIX_SOURCE, which is predefined and required
53155 # on some systems where configure will not decide to define it.
53156 # (The regexp can be short, since the line contains either #define or #undef.)
53157 echo 's/ $//
53158 s,^[ #]*u.*,/* & */,' >>conftest.defines
53159
53160 # Break up conftest.defines:
53161 ac_max_sed_lines=50
53162
53163 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53164 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53165 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53166 # et cetera.
53167 ac_in='$ac_file_inputs'
53168 ac_out='"$tmp/out1"'
53169 ac_nxt='"$tmp/out2"'
53170
53171 while :
53172 do
53173 # Write a here document:
53174 cat >>$CONFIG_STATUS <<_ACEOF
53175 # First, check the format of the line:
53176 cat >"\$tmp/defines.sed" <<\\CEOF
53177 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53178 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53179 b
53180 :def
53181 _ACEOF
53182 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53183 echo 'CEOF
53184 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53185 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53186 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53187 grep . conftest.tail >/dev/null || break
53188 rm -f conftest.defines
53189 mv conftest.tail conftest.defines
53190 done
53191 rm -f conftest.defines conftest.tail
53192
53193 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53194 cat >>$CONFIG_STATUS <<\_ACEOF
53195 if test x"$ac_file" != x-; then
53196 echo "/* $configure_input */" >"$tmp/config.h"
53197 cat "$ac_result" >>"$tmp/config.h"
53198 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53199 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53200 echo "$as_me: $ac_file is unchanged" >&6;}
53201 else
53202 rm -f $ac_file
53203 mv "$tmp/config.h" $ac_file
53204 fi
53205 else
53206 echo "/* $configure_input */"
53207 cat "$ac_result"
53208 fi
53209 rm -f "$tmp/out12"
53210 ;;
53211
53212 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53213 echo "$as_me: executing $ac_file commands" >&6;}
53214 ;;
53215 esac
53216
53217
53218 case $ac_file$ac_mode in
53219 "rcdefs.h":C)
53220 mkdir -p $outdir &&
53221 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53222 ;;
53223 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53224 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53225 "wx-config":C) rm -f wx-config
53226 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53227 ;;
53228
53229 esac
53230 done # for ac_tag
53231
53232
53233 { (exit 0); exit 0; }
53234 _ACEOF
53235 chmod +x $CONFIG_STATUS
53236 ac_clean_files=$ac_clean_files_save
53237
53238
53239 # configure is writing to config.log, and then calls config.status.
53240 # config.status does its own redirection, appending to config.log.
53241 # Unfortunately, on DOS this fails, as config.log is still kept open
53242 # by configure, so config.status won't be able to write to it; its
53243 # output is simply discarded. So we exec the FD to /dev/null,
53244 # effectively closing config.log, so it can be properly (re)opened and
53245 # appended to by config.status. When coming back to configure, we
53246 # need to make the FD available again.
53247 if test "$no_create" != yes; then
53248 ac_cs_success=:
53249 ac_config_status_args=
53250 test "$silent" = yes &&
53251 ac_config_status_args="$ac_config_status_args --quiet"
53252 exec 5>/dev/null
53253 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53254 exec 5>>config.log
53255 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53256 # would make configure fail if this is the last instruction.
53257 $ac_cs_success || { (exit 1); exit 1; }
53258 fi
53259
53260 #
53261 # CONFIG_SUBDIRS section.
53262 #
53263 if test "$no_recursion" != yes; then
53264
53265 # Remove --cache-file and --srcdir arguments so they do not pile up.
53266 ac_sub_configure_args=
53267 ac_prev=
53268 eval "set x $ac_configure_args"
53269 shift
53270 for ac_arg
53271 do
53272 if test -n "$ac_prev"; then
53273 ac_prev=
53274 continue
53275 fi
53276 case $ac_arg in
53277 -cache-file | --cache-file | --cache-fil | --cache-fi \
53278 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53279 ac_prev=cache_file ;;
53280 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53281 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53282 | --c=*)
53283 ;;
53284 --config-cache | -C)
53285 ;;
53286 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53287 ac_prev=srcdir ;;
53288 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53289 ;;
53290 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53291 ac_prev=prefix ;;
53292 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53293 ;;
53294 *)
53295 case $ac_arg in
53296 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53297 esac
53298 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53299 esac
53300 done
53301
53302 # Always prepend --prefix to ensure using the same prefix
53303 # in subdir configurations.
53304 ac_arg="--prefix=$prefix"
53305 case $ac_arg in
53306 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53307 esac
53308 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53309
53310 # Pass --silent
53311 if test "$silent" = yes; then
53312 ac_sub_configure_args="--silent $ac_sub_configure_args"
53313 fi
53314
53315 ac_popdir=`pwd`
53316 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53317
53318 # Do not complain, so a configure script can configure whichever
53319 # parts of a large source tree are present.
53320 test -d "$srcdir/$ac_dir" || continue
53321
53322 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53323 echo "$as_me:$LINENO: $ac_msg" >&5
53324 echo "$ac_msg" >&6
53325 { as_dir="$ac_dir"
53326 case $as_dir in #(
53327 -*) as_dir=./$as_dir;;
53328 esac
53329 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53330 as_dirs=
53331 while :; do
53332 case $as_dir in #(
53333 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53334 *) as_qdir=$as_dir;;
53335 esac
53336 as_dirs="'$as_qdir' $as_dirs"
53337 as_dir=`$as_dirname -- "$as_dir" ||
53338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53339 X"$as_dir" : 'X\(//\)[^/]' \| \
53340 X"$as_dir" : 'X\(//\)$' \| \
53341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53342 echo X"$as_dir" |
53343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53344 s//\1/
53345 q
53346 }
53347 /^X\(\/\/\)[^/].*/{
53348 s//\1/
53349 q
53350 }
53351 /^X\(\/\/\)$/{
53352 s//\1/
53353 q
53354 }
53355 /^X\(\/\).*/{
53356 s//\1/
53357 q
53358 }
53359 s/.*/./; q'`
53360 test -d "$as_dir" && break
53361 done
53362 test -z "$as_dirs" || eval "mkdir $as_dirs"
53363 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53364 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53365 { (exit 1); exit 1; }; }; }
53366 ac_builddir=.
53367
53368 case "$ac_dir" in
53369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53370 *)
53371 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53372 # A ".." for each directory in $ac_dir_suffix.
53373 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53374 case $ac_top_builddir_sub in
53375 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53376 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53377 esac ;;
53378 esac
53379 ac_abs_top_builddir=$ac_pwd
53380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53381 # for backward compatibility:
53382 ac_top_builddir=$ac_top_build_prefix
53383
53384 case $srcdir in
53385 .) # We are building in place.
53386 ac_srcdir=.
53387 ac_top_srcdir=$ac_top_builddir_sub
53388 ac_abs_top_srcdir=$ac_pwd ;;
53389 [\\/]* | ?:[\\/]* ) # Absolute name.
53390 ac_srcdir=$srcdir$ac_dir_suffix;
53391 ac_top_srcdir=$srcdir
53392 ac_abs_top_srcdir=$srcdir ;;
53393 *) # Relative name.
53394 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53395 ac_top_srcdir=$ac_top_build_prefix$srcdir
53396 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53397 esac
53398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53399
53400
53401 cd "$ac_dir"
53402
53403 # Check for guested configure; otherwise get Cygnus style configure.
53404 if test -f "$ac_srcdir/configure.gnu"; then
53405 ac_sub_configure=$ac_srcdir/configure.gnu
53406 elif test -f "$ac_srcdir/configure"; then
53407 ac_sub_configure=$ac_srcdir/configure
53408 elif test -f "$ac_srcdir/configure.in"; then
53409 # This should be Cygnus configure.
53410 ac_sub_configure=$ac_aux_dir/configure
53411 else
53412 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53413 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53414 ac_sub_configure=
53415 fi
53416
53417 # The recursion is here.
53418 if test -n "$ac_sub_configure"; then
53419 # Make the cache file name correct relative to the subdirectory.
53420 case $cache_file in
53421 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53422 *) # Relative name.
53423 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53424 esac
53425
53426 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53427 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53428 # The eval makes quoting arguments work.
53429 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53430 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53431 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53432 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53433 { (exit 1); exit 1; }; }
53434 fi
53435
53436 cd "$ac_popdir"
53437 done
53438 fi
53439
53440
53441 echo
53442 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53443 echo ""
53444 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53445 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53446
53447 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53448 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53449 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
53450
53451 echo " What level of wxWidgets compatibility should be enabled?"
53452 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53453 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53454
53455 echo " Which libraries should wxWidgets use?"
53456 echo " jpeg ${wxUSE_LIBJPEG-none}"
53457 echo " png ${wxUSE_LIBPNG-none}"
53458 echo " regex ${wxUSE_REGEX}"
53459 echo " tiff ${wxUSE_LIBTIFF-none}"
53460 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53461 echo " xpm ${wxUSE_LIBXPM-none}"
53462 fi
53463 echo " zlib ${wxUSE_ZLIB}"
53464 echo " odbc ${wxUSE_ODBC}"
53465 echo " expat ${wxUSE_EXPAT}"
53466 echo " libmspack ${wxUSE_LIBMSPACK}"
53467 echo " sdl ${wxUSE_LIBSDL}"
53468
53469 echo ""
53470