]> git.saurik.com Git - wxWidgets.git/blob - configure
Enable the HWND of the task dialog to be fetched with GetHandle if it is being used.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.3.
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.3'
579 PACKAGE_STRING='wxWidgets 2.9.3'
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 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.3 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.3:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros, even if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1711 --enable-macosx_arch=ARCH build for just the specified architecture
1712 --enable-compat26 enable wxWidgets 2.6 compatibility
1713 --disable-compat28 disable wxWidgets 2.8 compatibility
1714 --disable-rpath disable use of rpath for uninstalled builds
1715 --enable-objc_uniquifying enable Objective-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x-locale support (requires wxLocale)
1720 --enable-config use wxConfig (and derived) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP (requires wxProtocol
1723 --enable-http use wxHTTP (requires wxProtocol
1724 --enable-fileproto use wxFileProto class (requires wxProtocol
1725 --enable-sockets use socket/network classes
1726 --enable-ipv6 enable IPv6 support in wxSocket
1727 --enable-ole use OLE classes (Win32 only)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication (wxSocket etc.)
1730 --enable-baseevtloop use event loop in console programs too
1731 --enable-epollloop use wxEpollDispatcher class (Linux only)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding/decoding functions
1737 --enable-backtrace use wxStackWalker class for getting backtraces
1738 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class for DLL loading
1744 --enable-dynamicloader use (new) wxDynamicLibrary class
1745 --enable-exceptions build exception-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support in wxProtocol
1776 --enable-protocol-ftp FTP support in wxProtocol
1777 --enable-protocol-file FILE support in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig (Win32 only)
1780 --enable-regkey use wxRegKey class (Win32 only)
1781 --enable-docview use document view architecture
1782 --enable-help use help subsystem
1783 --enable-mshtmlhelp use MS HTML Help (win32)
1784 --enable-html use wxHTML sub-library
1785 --enable-htmlhelp use wxHTML-based help
1786 --enable-xrc use XRC resources sub-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl (Mac)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context 2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag'n'Drop classes
1807 --disable-controls disable compilation of all standard controls
1808 --enable-markup support wxControl::SetLabelMarkup
1809 --enable-accel use accelerators
1810 --enable-animatectrl use wxAnimationCtrl class
1811 --enable-bannerwindow use wxBannerWindow class
1812 --enable-artstd use standard XPM icons in wxArtProvider
1813 --enable-arttango use Tango icons in wxArtProvider
1814 --enable-bmpbutton use wxBitmapButton class
1815 --enable-bmpcombobox use wxBitmapComboBox class
1816 --enable-button use wxButton class
1817 --enable-calendar use wxCalendarCtrl class
1818 --enable-caret use wxCaret class
1819 --enable-checkbox use wxCheckBox class
1820 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1821 --enable-choice use wxChoice class
1822 --enable-choicebook use wxChoicebook class
1823 --enable-collpane use wxCollapsiblePane class
1824 --enable-colourpicker use wxColourPickerCtrl class
1825 --enable-combobox use wxComboBox class
1826 --enable-comboctrl use wxComboCtrl class
1827 --enable-commandlinkbutton use wxCommmandLinkButton class
1828 --enable-dataviewctrl use wxDataViewCtrl class
1829 --enable-datepick use wxDatePickerCtrl class
1830 --enable-detect_sm use code to detect X11 session manager
1831 --enable-dirpicker use wxDirPickerCtrl class
1832 --enable-display use wxDisplay class
1833 --enable-editablebox use wxEditableListBox class
1834 --enable-filectrl use wxFileCtrl class
1835 --enable-filepicker use wxFilePickerCtrl class
1836 --enable-fontpicker use wxFontPickerCtrl class
1837 --enable-gauge use wxGauge class
1838 --enable-grid use wxGrid class
1839 --enable-headerctrl use wxHeaderCtrl class
1840 --enable-hyperlink use wxHyperlinkCtrl class
1841 --enable-imaglist use wxImageList class
1842 --enable-infobar use wxInfoBar class
1843 --enable-listbook use wxListbook class
1844 --enable-listbox use wxListBox class
1845 --enable-listctrl use wxListCtrl class
1846 --enable-notebook use wxNotebook class
1847 --enable-notifmsg use wxNotificationMessage class
1848 --enable-odcombobox use wxOwnerDrawnComboBox class
1849 --enable-popupwin use wxPopUpWindow class
1850 --enable-radiobox use wxRadioBox class
1851 --enable-radiobtn use wxRadioButton class
1852 --enable-richmsgdlg use wxRichMessageDialog class
1853 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1854 --enable-sash use wxSashWindow class
1855 --enable-scrollbar use wxScrollBar class and scrollable windows
1856 --enable-searchctrl use wxSearchCtrl class
1857 --enable-slider use wxSlider class
1858 --enable-spinbtn use wxSpinButton class
1859 --enable-spinctrl use wxSpinCtrl class
1860 --enable-splitter use wxSplitterWindow class
1861 --enable-statbmp use wxStaticBitmap class
1862 --enable-statbox use wxStaticBox class
1863 --enable-statline use wxStaticLine class
1864 --enable-stattext use wxStaticText class
1865 --enable-statusbar use wxStatusBar class
1866 --enable-taskbaricon use wxTaskBarIcon class
1867 --enable-tbarnative use native wxToolBar class
1868 --enable-textctrl use wxTextCtrl class
1869 --enable-tipwindow use wxTipWindow class
1870 --enable-togglebtn use wxToggleButton class
1871 --enable-toolbar use wxToolBar class
1872 --enable-toolbook use wxToolbook class
1873 --enable-treebook use wxTreebook class
1874 --enable-treectrl use wxTreeCtrl class
1875 --enable-treelist use wxTreeListCtrl class
1876 --enable-commondlg use all common dialogs
1877 --enable-aboutdlg use wxAboutBox
1878 --enable-choicedlg use wxChoiceDialog
1879 --enable-coldlg use wxColourDialog
1880 --enable-filedlg use wxFileDialog
1881 --enable-finddlg use wxFindReplaceDialog
1882 --enable-fontdlg use wxFontDialog
1883 --enable-dirdlg use wxDirDialog
1884 --enable-msgdlg use wxMessageDialog
1885 --enable-numberdlg use wxNumberEntryDialog
1886 --enable-splash use wxSplashScreen
1887 --enable-textdlg use wxTextDialog
1888 --enable-tipdlg use startup tips
1889 --enable-progressdlg use wxProgressDialog
1890 --enable-wizarddlg use wxWizard
1891 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1892 --enable-miniframe use wxMiniFrame class
1893 --enable-tooltips use wxToolTip class
1894 --enable-splines use spline drawing code
1895 --enable-mousewheel use mousewheel
1896 --enable-validators use wxValidator and derived classes
1897 --enable-busyinfo use wxBusyInfo
1898 --enable-hotkey use wxWindow::RegisterHotKey()
1899 --enable-joystick use wxJoystick
1900 --enable-metafiles use wxMetaFile
1901 --enable-dragimage use wxDragImage
1902 --enable-accessibility enable accessibility support
1903 --enable-uiactionsim use wxUIActionSimulator (experimental)
1904 --enable-dctransform use wxDC::SetTransformMatrix and related
1905 --enable-palette use wxPalette class
1906 --enable-image use wxImage class
1907 --enable-gif use gif images (GIF file format)
1908 --enable-pcx use pcx images (PCX file format)
1909 --enable-tga use tga images (TGA file format)
1910 --enable-iff use iff images (IFF file format)
1911 --enable-pnm use pnm images (PNM file format)
1912 --enable-xpm use xpm images (XPM file format)
1913 --enable-ico_cur use Windows ICO and CUR formats
1914 --enable-dccache cache temporary wxDC objects (Win32 only)
1915 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1916 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1917 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1918 --enable-wxdib use wxDIB class (Win32 only)
1919 --enable-autoidman use automatic ids management
1920 --disable-largefile omit support for large files
1921 --disable-gtktest do not try to compile and run a test GTK+ program
1922 --disable-gtktest Do not try to compile and run a test GTK program
1923 --disable-sdltest Do not try to compile and run a test SDL program
1924 --enable-omf use OMF object format (OS/2)
1925 --disable-dependency-tracking
1926 don't use dependency tracking even if the compiler
1927 can
1928 --disable-precomp-headers
1929 don't use precompiled headers even if compiler can
1930
1931 Optional Packages:
1932 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1933 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1934 --without-subdirs don't generate makefiles for samples/demos/...
1935 --with-flavour=NAME specify a name to identify this build
1936 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1937 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1938 --with-motif use Motif/Lesstif
1939 --with-osx_carbon use Mac OS X (Carbon)
1940 --with-osx_cocoa use Mac OS X (Cocoa)
1941 --with-osx_iphone use iPhone OS X port
1942 --with-osx use Mac OS X (default port, currently Carbon)
1943 --with-carbon same as --with-osx_carbon
1944 --with-cocoa same as --with-osx_cocoa
1945 --with-iphone same as --with-osx_iphone
1946 --with-mac same as --with-osx
1947 --with-old_cocoa use old, deprecated, Cocoa port
1948 --with-wine use Wine
1949 --with-msw use MS-Windows
1950 --with-pm use OS/2 Presentation Manager
1951 --with-mgl use SciTech MGL
1952 --with-directfb use DirectFB
1953 --with-microwin use MicroWindows
1954 --with-x11 use X11
1955 --with-libpng use libpng (PNG image format)
1956 --with-libjpeg use libjpeg (JPEG file format)
1957 --with-libtiff use libtiff (TIFF file format)
1958 --with-libxpm use libxpm (XPM file format)
1959 --with-libiconv use libiconv (character conversion)
1960 --with-libmspack use libmspack (CHM help files loading)
1961 --without-gtkprint don't use GTK printing support
1962 --without-gnomeprint don't use GNOME printing libraries
1963 --with-gnomevfs use GNOME VFS for associating MIME types
1964 --with-hildon use Hildon framework for Nokia 770/800/810
1965 --with-opengl use OpenGL (or Mesa)
1966 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1967 --with-sdl use SDL for audio on Unix
1968 --with-regex enable support for wxRegEx class
1969 --with-zlib use zlib for LZW compression
1970 --with-expat enable XML support using expat parser
1971 --with-macosx-sdk=PATH use an OS X SDK at PATH
1972 --with-macosx-version-min=VER build binaries which require at least this OS X version
1973 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1974 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1975 --with-x use the X Window System
1976 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1977 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1978 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1979 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1980 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1981
1982 Some influential environment variables:
1983 CC C compiler command
1984 CFLAGS C compiler flags
1985 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1986 nonstandard directory <lib dir>
1987 LIBS libraries to pass to the linker, e.g. -l<library>
1988 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1989 you have headers in a nonstandard directory <include dir>
1990 CPP C preprocessor
1991 CXX C++ compiler command
1992 CXXFLAGS C++ compiler flags
1993 CXXCPP C++ preprocessor
1994 PKG_CONFIG path to pkg-config utility
1995 DIRECTFB_CFLAGS
1996 C compiler flags for DIRECTFB, overriding pkg-config
1997 DIRECTFB_LIBS
1998 linker flags for DIRECTFB, overriding pkg-config
1999 XMKMF Path to xmkmf, Makefile generator for X Window System
2000 PANGOX_CFLAGS
2001 C compiler flags for PANGOX, overriding pkg-config
2002 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2003 PANGOFT2_CFLAGS
2004 C compiler flags for PANGOFT2, overriding pkg-config
2005 PANGOFT2_LIBS
2006 linker flags for PANGOFT2, overriding pkg-config
2007 PANGOXFT_CFLAGS
2008 C compiler flags for PANGOXFT, overriding pkg-config
2009 PANGOXFT_LIBS
2010 linker flags for PANGOXFT, overriding pkg-config
2011 GTKPRINT_CFLAGS
2012 C compiler flags for GTKPRINT, overriding pkg-config
2013 GTKPRINT_LIBS
2014 linker flags for GTKPRINT, overriding pkg-config
2015 LIBGNOMEPRINTUI_CFLAGS
2016 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2017 LIBGNOMEPRINTUI_LIBS
2018 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2019 GNOMEVFS_CFLAGS
2020 C compiler flags for GNOMEVFS, overriding pkg-config
2021 GNOMEVFS_LIBS
2022 linker flags for GNOMEVFS, overriding pkg-config
2023 HILDON_CFLAGS
2024 C compiler flags for HILDON, overriding pkg-config
2025 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2026 HILDON2_CFLAGS
2027 C compiler flags for HILDON2, overriding pkg-config
2028 HILDON2_LIBS
2029 linker flags for HILDON2, overriding pkg-config
2030 CAIRO_CFLAGS
2031 C compiler flags for CAIRO, overriding pkg-config
2032 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2033 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2034 GST_LIBS linker flags for GST, overriding pkg-config
2035
2036 Use these variables to override the choices made by `configure' or to help
2037 it to find libraries and programs with nonstandard names/locations.
2038
2039 Report bugs to <wx-dev@lists.wxwidgets.org>.
2040 _ACEOF
2041 ac_status=$?
2042 fi
2043
2044 if test "$ac_init_help" = "recursive"; then
2045 # If there are subdirs, report their specific --help.
2046 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2047 test -d "$ac_dir" || continue
2048 ac_builddir=.
2049
2050 case "$ac_dir" in
2051 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2052 *)
2053 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2054 # A ".." for each directory in $ac_dir_suffix.
2055 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2056 case $ac_top_builddir_sub in
2057 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2058 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2059 esac ;;
2060 esac
2061 ac_abs_top_builddir=$ac_pwd
2062 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2063 # for backward compatibility:
2064 ac_top_builddir=$ac_top_build_prefix
2065
2066 case $srcdir in
2067 .) # We are building in place.
2068 ac_srcdir=.
2069 ac_top_srcdir=$ac_top_builddir_sub
2070 ac_abs_top_srcdir=$ac_pwd ;;
2071 [\\/]* | ?:[\\/]* ) # Absolute name.
2072 ac_srcdir=$srcdir$ac_dir_suffix;
2073 ac_top_srcdir=$srcdir
2074 ac_abs_top_srcdir=$srcdir ;;
2075 *) # Relative name.
2076 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2077 ac_top_srcdir=$ac_top_build_prefix$srcdir
2078 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2079 esac
2080 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2081
2082 cd "$ac_dir" || { ac_status=$?; continue; }
2083 # Check for guested configure.
2084 if test -f "$ac_srcdir/configure.gnu"; then
2085 echo &&
2086 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2087 elif test -f "$ac_srcdir/configure"; then
2088 echo &&
2089 $SHELL "$ac_srcdir/configure" --help=recursive
2090 else
2091 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2092 fi || ac_status=$?
2093 cd "$ac_pwd" || { ac_status=$?; break; }
2094 done
2095 fi
2096
2097 test -n "$ac_init_help" && exit $ac_status
2098 if $ac_init_version; then
2099 cat <<\_ACEOF
2100 wxWidgets configure 2.9.3
2101 generated by GNU Autoconf 2.61
2102
2103 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2104 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2105 This configure script is free software; the Free Software Foundation
2106 gives unlimited permission to copy, distribute and modify it.
2107 _ACEOF
2108 exit
2109 fi
2110 cat >config.log <<_ACEOF
2111 This file contains any messages produced by compilers while
2112 running configure, to aid debugging if configure makes a mistake.
2113
2114 It was created by wxWidgets $as_me 2.9.3, which was
2115 generated by GNU Autoconf 2.61. Invocation command line was
2116
2117 $ $0 $@
2118
2119 _ACEOF
2120 exec 5>>config.log
2121 {
2122 cat <<_ASUNAME
2123 ## --------- ##
2124 ## Platform. ##
2125 ## --------- ##
2126
2127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2132
2133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2135
2136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2143
2144 _ASUNAME
2145
2146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 for as_dir in $PATH
2148 do
2149 IFS=$as_save_IFS
2150 test -z "$as_dir" && as_dir=.
2151 echo "PATH: $as_dir"
2152 done
2153 IFS=$as_save_IFS
2154
2155 } >&5
2156
2157 cat >&5 <<_ACEOF
2158
2159
2160 ## ----------- ##
2161 ## Core tests. ##
2162 ## ----------- ##
2163
2164 _ACEOF
2165
2166
2167 # Keep a trace of the command line.
2168 # Strip out --no-create and --no-recursion so they do not pile up.
2169 # Strip out --silent because we don't want to record it for future runs.
2170 # Also quote any args containing shell meta-characters.
2171 # Make two passes to allow for proper duplicate-argument suppression.
2172 ac_configure_args=
2173 ac_configure_args0=
2174 ac_configure_args1=
2175 ac_must_keep_next=false
2176 for ac_pass in 1 2
2177 do
2178 for ac_arg
2179 do
2180 case $ac_arg in
2181 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2183 | -silent | --silent | --silen | --sile | --sil)
2184 continue ;;
2185 *\'*)
2186 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2187 esac
2188 case $ac_pass in
2189 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2190 2)
2191 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2192 if test $ac_must_keep_next = true; then
2193 ac_must_keep_next=false # Got value, back to normal.
2194 else
2195 case $ac_arg in
2196 *=* | --config-cache | -C | -disable-* | --disable-* \
2197 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2198 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2199 | -with-* | --with-* | -without-* | --without-* | --x)
2200 case "$ac_configure_args0 " in
2201 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2202 esac
2203 ;;
2204 -* ) ac_must_keep_next=true ;;
2205 esac
2206 fi
2207 ac_configure_args="$ac_configure_args '$ac_arg'"
2208 ;;
2209 esac
2210 done
2211 done
2212 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2213 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2214
2215 # When interrupted or exit'd, cleanup temporary files, and complete
2216 # config.log. We remove comments because anyway the quotes in there
2217 # would cause problems or look ugly.
2218 # WARNING: Use '\'' to represent an apostrophe within the trap.
2219 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2220 trap 'exit_status=$?
2221 # Save into config.log some information that might help in debugging.
2222 {
2223 echo
2224
2225 cat <<\_ASBOX
2226 ## ---------------- ##
2227 ## Cache variables. ##
2228 ## ---------------- ##
2229 _ASBOX
2230 echo
2231 # The following way of writing the cache mishandles newlines in values,
2232 (
2233 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2234 eval ac_val=\$$ac_var
2235 case $ac_val in #(
2236 *${as_nl}*)
2237 case $ac_var in #(
2238 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2239 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2240 esac
2241 case $ac_var in #(
2242 _ | IFS | as_nl) ;; #(
2243 *) $as_unset $ac_var ;;
2244 esac ;;
2245 esac
2246 done
2247 (set) 2>&1 |
2248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2249 *${as_nl}ac_space=\ *)
2250 sed -n \
2251 "s/'\''/'\''\\\\'\'''\''/g;
2252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2253 ;; #(
2254 *)
2255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2256 ;;
2257 esac |
2258 sort
2259 )
2260 echo
2261
2262 cat <<\_ASBOX
2263 ## ----------------- ##
2264 ## Output variables. ##
2265 ## ----------------- ##
2266 _ASBOX
2267 echo
2268 for ac_var in $ac_subst_vars
2269 do
2270 eval ac_val=\$$ac_var
2271 case $ac_val in
2272 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2273 esac
2274 echo "$ac_var='\''$ac_val'\''"
2275 done | sort
2276 echo
2277
2278 if test -n "$ac_subst_files"; then
2279 cat <<\_ASBOX
2280 ## ------------------- ##
2281 ## File substitutions. ##
2282 ## ------------------- ##
2283 _ASBOX
2284 echo
2285 for ac_var in $ac_subst_files
2286 do
2287 eval ac_val=\$$ac_var
2288 case $ac_val in
2289 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2290 esac
2291 echo "$ac_var='\''$ac_val'\''"
2292 done | sort
2293 echo
2294 fi
2295
2296 if test -s confdefs.h; then
2297 cat <<\_ASBOX
2298 ## ----------- ##
2299 ## confdefs.h. ##
2300 ## ----------- ##
2301 _ASBOX
2302 echo
2303 cat confdefs.h
2304 echo
2305 fi
2306 test "$ac_signal" != 0 &&
2307 echo "$as_me: caught signal $ac_signal"
2308 echo "$as_me: exit $exit_status"
2309 } >&5
2310 rm -f core *.core core.conftest.* &&
2311 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2312 exit $exit_status
2313 ' 0
2314 for ac_signal in 1 2 13 15; do
2315 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2316 done
2317 ac_signal=0
2318
2319 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2320 rm -f -r conftest* confdefs.h
2321
2322 # Predefined preprocessor variables.
2323
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_NAME "$PACKAGE_NAME"
2326 _ACEOF
2327
2328
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2331 _ACEOF
2332
2333
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2336 _ACEOF
2337
2338
2339 cat >>confdefs.h <<_ACEOF
2340 #define PACKAGE_STRING "$PACKAGE_STRING"
2341 _ACEOF
2342
2343
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2346 _ACEOF
2347
2348
2349 # Let the site file select an alternate cache file if it wants to.
2350 # Prefer explicitly selected file to automatically selected ones.
2351 if test -n "$CONFIG_SITE"; then
2352 set x "$CONFIG_SITE"
2353 elif test "x$prefix" != xNONE; then
2354 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2355 else
2356 set x "$ac_default_prefix/share/config.site" \
2357 "$ac_default_prefix/etc/config.site"
2358 fi
2359 shift
2360 for ac_site_file
2361 do
2362 if test -r "$ac_site_file"; then
2363 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2364 echo "$as_me: loading site script $ac_site_file" >&6;}
2365 sed 's/^/| /' "$ac_site_file" >&5
2366 . "$ac_site_file"
2367 fi
2368 done
2369
2370 if test -r "$cache_file"; then
2371 # Some versions of bash will fail to source /dev/null (special
2372 # files actually), so we avoid doing that.
2373 if test -f "$cache_file"; then
2374 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2375 echo "$as_me: loading cache $cache_file" >&6;}
2376 case $cache_file in
2377 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2378 *) . "./$cache_file";;
2379 esac
2380 fi
2381 else
2382 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2383 echo "$as_me: creating cache $cache_file" >&6;}
2384 >$cache_file
2385 fi
2386
2387 # Check that the precious variables saved in the cache have kept the same
2388 # value.
2389 ac_cache_corrupted=false
2390 for ac_var in $ac_precious_vars; do
2391 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2392 eval ac_new_set=\$ac_env_${ac_var}_set
2393 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2394 eval ac_new_val=\$ac_env_${ac_var}_value
2395 case $ac_old_set,$ac_new_set in
2396 set,)
2397 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2398 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2399 ac_cache_corrupted=: ;;
2400 ,set)
2401 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2402 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2403 ac_cache_corrupted=: ;;
2404 ,);;
2405 *)
2406 if test "x$ac_old_val" != "x$ac_new_val"; then
2407 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2408 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2409 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2410 echo "$as_me: former value: $ac_old_val" >&2;}
2411 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2412 echo "$as_me: current value: $ac_new_val" >&2;}
2413 ac_cache_corrupted=:
2414 fi;;
2415 esac
2416 # Pass precious variables to config.status.
2417 if test "$ac_new_set" = set; then
2418 case $ac_new_val in
2419 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2420 *) ac_arg=$ac_var=$ac_new_val ;;
2421 esac
2422 case " $ac_configure_args " in
2423 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2424 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2425 esac
2426 fi
2427 done
2428 if $ac_cache_corrupted; then
2429 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2430 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2431 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2432 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2433 { (exit 1); exit 1; }; }
2434 fi
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460 ac_ext=c
2461 ac_cpp='$CPP $CPPFLAGS'
2462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2465
2466
2467
2468
2469
2470 ac_aux_dir=
2471 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2472 if test -f "$ac_dir/install-sh"; then
2473 ac_aux_dir=$ac_dir
2474 ac_install_sh="$ac_aux_dir/install-sh -c"
2475 break
2476 elif test -f "$ac_dir/install.sh"; then
2477 ac_aux_dir=$ac_dir
2478 ac_install_sh="$ac_aux_dir/install.sh -c"
2479 break
2480 elif test -f "$ac_dir/shtool"; then
2481 ac_aux_dir=$ac_dir
2482 ac_install_sh="$ac_aux_dir/shtool install -c"
2483 break
2484 fi
2485 done
2486 if test -z "$ac_aux_dir"; then
2487 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2488 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2489 { (exit 1); exit 1; }; }
2490 fi
2491
2492 # These three variables are undocumented and unsupported,
2493 # and are intended to be withdrawn in a future Autoconf release.
2494 # They can cause serious problems if a builder's source tree is in a directory
2495 # whose full name contains unusual characters.
2496 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2497 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2498 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2499
2500
2501 # Make sure we can run config.sub.
2502 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2503 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2504 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2505 { (exit 1); exit 1; }; }
2506
2507 { echo "$as_me:$LINENO: checking build system type" >&5
2508 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2509 if test "${ac_cv_build+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 else
2512 ac_build_alias=$build_alias
2513 test "x$ac_build_alias" = x &&
2514 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2515 test "x$ac_build_alias" = x &&
2516 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2517 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2518 { (exit 1); exit 1; }; }
2519 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2520 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2521 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2523
2524 fi
2525 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2526 echo "${ECHO_T}$ac_cv_build" >&6; }
2527 case $ac_cv_build in
2528 *-*-*) ;;
2529 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2530 echo "$as_me: error: invalid value of canonical build" >&2;}
2531 { (exit 1); exit 1; }; };;
2532 esac
2533 build=$ac_cv_build
2534 ac_save_IFS=$IFS; IFS='-'
2535 set x $ac_cv_build
2536 shift
2537 build_cpu=$1
2538 build_vendor=$2
2539 shift; shift
2540 # Remember, the first character of IFS is used to create $*,
2541 # except with old shells:
2542 build_os=$*
2543 IFS=$ac_save_IFS
2544 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2545
2546
2547 { echo "$as_me:$LINENO: checking host system type" >&5
2548 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2549 if test "${ac_cv_host+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 else
2552 if test "x$host_alias" = x; then
2553 ac_cv_host=$ac_cv_build
2554 else
2555 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2556 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2557 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2558 { (exit 1); exit 1; }; }
2559 fi
2560
2561 fi
2562 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2563 echo "${ECHO_T}$ac_cv_host" >&6; }
2564 case $ac_cv_host in
2565 *-*-*) ;;
2566 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2567 echo "$as_me: error: invalid value of canonical host" >&2;}
2568 { (exit 1); exit 1; }; };;
2569 esac
2570 host=$ac_cv_host
2571 ac_save_IFS=$IFS; IFS='-'
2572 set x $ac_cv_host
2573 shift
2574 host_cpu=$1
2575 host_vendor=$2
2576 shift; shift
2577 # Remember, the first character of IFS is used to create $*,
2578 # except with old shells:
2579 host_os=$*
2580 IFS=$ac_save_IFS
2581 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2582
2583
2584
2585 if test "$cross_compiling" != "no"; then
2586 HOST_PREFIX="${host_alias}-"
2587 HOST_SUFFIX="-$host_alias"
2588 else
2589 HOST_PREFIX=
2590 HOST_SUFFIX=
2591 fi
2592
2593
2594 wx_major_version_number=2
2595 wx_minor_version_number=9
2596 wx_release_number=3
2597 wx_subrelease_number=0
2598
2599 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2600 WX_VERSION=$WX_RELEASE.$wx_release_number
2601 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2602
2603 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2604
2605
2606 wx_top_builddir="`pwd`"
2607
2608
2609
2610
2611 USE_UNIX=1
2612 USE_OS2=0
2613 USE_WIN32=0
2614 USE_DOS=0
2615 USE_BEOS=0
2616 USE_MAC=0
2617
2618 USE_AIX=
2619 USE_BSD= USE_DARWIN= USE_FREEBSD=
2620 USE_GNU= USE_HPUX=
2621 USE_LINUX=
2622 USE_NETBSD=
2623 USE_OPENBSD=
2624 USE_OSF= USE_SGI=
2625 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2626 USE_ULTRIX=
2627 USE_UNIXWARE=
2628
2629 USE_ALPHA=
2630
2631 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2632
2633 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2634
2635 DEFAULT_wxUSE_OLD_COCOA=0
2636 DEFAULT_wxUSE_GTK=0
2637 DEFAULT_wxUSE_OSX_CARBON=0
2638 DEFAULT_wxUSE_OSX_COCOA=0
2639 DEFAULT_wxUSE_OSX_IPHONE=0
2640 DEFAULT_wxUSE_MGL=0
2641 DEFAULT_wxUSE_MICROWIN=0
2642 DEFAULT_wxUSE_MOTIF=0
2643 DEFAULT_wxUSE_MSW=0
2644 DEFAULT_wxUSE_PM=0
2645 DEFAULT_wxUSE_X11=0
2646 DEFAULT_wxUSE_DFB=0
2647
2648 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2649 DEFAULT_DEFAULT_wxUSE_GTK=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2651 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2652 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2653 DEFAULT_DEFAULT_wxUSE_MGL=0
2654 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2655 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2656 DEFAULT_DEFAULT_wxUSE_MSW=0
2657 DEFAULT_DEFAULT_wxUSE_PM=0
2658 DEFAULT_DEFAULT_wxUSE_X11=0
2659 DEFAULT_DEFAULT_wxUSE_DFB=0
2660
2661 PROGRAM_EXT=
2662 SAMPLES_RPATH_FLAG=
2663 DYLIB_RPATH_INSTALL=
2664 DYLIB_RPATH_POSTLINK=
2665
2666 DEFAULT_STD_FLAG=yes
2667
2668 case "${host}" in
2669 *-hp-hpux* )
2670 USE_HPUX=1
2671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2672 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __HPUX__ 1
2675 _ACEOF
2676
2677
2678 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2679 ;;
2680 *-*-linux* )
2681 USE_LINUX=1
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __LINUX__ 1
2684 _ACEOF
2685
2686 TMP=`uname -m`
2687 if test "x$TMP" = "xalpha"; then
2688 USE_ALPHA=1
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __ALPHA__ 1
2691 _ACEOF
2692
2693 fi
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 ;;
2696 *-*-gnu* | *-*-k*bsd*-gnu )
2697 USE_GNU=1
2698 TMP=`uname -m`
2699 if test "x$TMP" = "xalpha"; then
2700 USE_ALPHA=1
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __ALPHA__ 1
2703 _ACEOF
2704
2705 fi
2706 DEFAULT_DEFAULT_wxUSE_GTK=1
2707 ;;
2708 *-*-irix5* | *-*-irix6* )
2709 USE_SGI=1
2710 USE_SVR4=1
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __SGI__ 1
2713 _ACEOF
2714
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __SVR4__ 1
2717 _ACEOF
2718
2719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2720 ;;
2721 *-*-qnx*)
2722 USE_QNX=1
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __QNX__ 1
2725 _ACEOF
2726
2727 DEFAULT_DEFAULT_wxUSE_X11=1
2728 ;;
2729 *-*-solaris2* )
2730 USE_SUN=1
2731 USE_SOLARIS=1
2732 USE_SVR4=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __SUN__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __SOLARIS__ 1
2739 _ACEOF
2740
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __SVR4__ 1
2743 _ACEOF
2744
2745 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2746 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747 ;;
2748 *-*-sunos4* )
2749 USE_SUN=1
2750 USE_SUNOS=1
2751 USE_BSD=1
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __SUN__ 1
2754 _ACEOF
2755
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __SUNOS__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __BSD__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2765 ;;
2766 *-*-freebsd*)
2767 USE_BSD=1
2768 USE_FREEBSD=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __FREEBSD__ 1
2771 _ACEOF
2772
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __BSD__ 1
2775 _ACEOF
2776
2777 DEFAULT_DEFAULT_wxUSE_GTK=1
2778 ;;
2779 *-*-openbsd*|*-*-mirbsd*)
2780 USE_BSD=1
2781 USE_OPENBSD=1
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __OPENBSD__ 1
2784 _ACEOF
2785
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __BSD__ 1
2788 _ACEOF
2789
2790 DEFAULT_DEFAULT_wxUSE_GTK=1
2791 ;;
2792 *-*-netbsd*)
2793 USE_BSD=1
2794 USE_NETBSD=1
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __NETBSD__ 1
2797 _ACEOF
2798
2799 cat >>confdefs.h <<\_ACEOF
2800 #define __BSD__ 1
2801 _ACEOF
2802
2803 DEFAULT_DEFAULT_wxUSE_GTK=1
2804 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2805
2806 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2807 ;;
2808 *-*-osf* )
2809 USE_ALPHA=1
2810 USE_OSF=1
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __ALPHA__ 1
2813 _ACEOF
2814
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __OSF__ 1
2817 _ACEOF
2818
2819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2820 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2821 ;;
2822 *-*-dgux5* )
2823 USE_ALPHA=1
2824 USE_SVR4=1
2825 cat >>confdefs.h <<\_ACEOF
2826 #define __ALPHA__ 1
2827 _ACEOF
2828
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __SVR4__ 1
2831 _ACEOF
2832
2833 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2834 ;;
2835 *-*-sysv5* )
2836 USE_SYSV=1
2837 USE_SVR4=1
2838 cat >>confdefs.h <<\_ACEOF
2839 #define __SYSV__ 1
2840 _ACEOF
2841
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __SVR4__ 1
2844 _ACEOF
2845
2846 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2847 ;;
2848 *-*-aix* )
2849 USE_AIX=1
2850 USE_SYSV=1
2851 USE_SVR4=1
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __AIX__ 1
2854 _ACEOF
2855
2856 cat >>confdefs.h <<\_ACEOF
2857 #define __SYSV__ 1
2858 _ACEOF
2859
2860 cat >>confdefs.h <<\_ACEOF
2861 #define __SVR4__ 1
2862 _ACEOF
2863
2864 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2865 ;;
2866
2867 *-*-*UnixWare*)
2868 USE_SYSV=1
2869 USE_SVR4=1
2870 USE_UNIXWARE=1
2871 cat >>confdefs.h <<\_ACEOF
2872 #define __UNIXWARE__ 1
2873 _ACEOF
2874
2875 ;;
2876
2877 *-*-cygwin* | *-*-mingw32* )
2878 PROGRAM_EXT=".exe"
2879 DEFAULT_DEFAULT_wxUSE_MSW=1
2880 ;;
2881
2882 *-pc-msdosdjgpp )
2883 USE_UNIX=0
2884 USE_DOS=1
2885 cat >>confdefs.h <<\_ACEOF
2886 #define __DOS__ 1
2887 _ACEOF
2888
2889 PROGRAM_EXT=".exe"
2890 DEFAULT_DEFAULT_wxUSE_MGL=1
2891 ;;
2892
2893 *-pc-os2_emx | *-pc-os2-emx )
2894 cat >>confdefs.h <<\_ACEOF
2895 #define __EMX__ 1
2896 _ACEOF
2897
2898 USE_OS2=1
2899 cat >>confdefs.h <<\_ACEOF
2900 #define __OS2__ 1
2901 _ACEOF
2902
2903 PROGRAM_EXT=".exe"
2904 DEFAULT_DEFAULT_wxUSE_PM=1
2905 CXX=gcc
2906 LDFLAGS="$LDFLAGS -Zcrtdll"
2907 ac_executable_extensions=".exe"
2908 export ac_executable_extensions
2909 ac_save_IFS="$IFS"
2910 IFS='\\'
2911 ac_TEMP_PATH=
2912 for ac_dir in $PATH; do
2913 IFS=$ac_save_IFS
2914 if test -z "$ac_TEMP_PATH"; then
2915 ac_TEMP_PATH="$ac_dir"
2916 else
2917 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2918 fi
2919 done
2920 export PATH="$ac_TEMP_PATH"
2921 unset ac_TEMP_PATH
2922 DEFAULT_STD_FLAG=no
2923 ;;
2924
2925 arm-apple-darwin*)
2926 USE_BSD=1
2927 USE_DARWIN=1
2928 cat >>confdefs.h <<\_ACEOF
2929 #define __BSD__ 1
2930 _ACEOF
2931
2932 cat >>confdefs.h <<\_ACEOF
2933 #define __DARWIN__ 1
2934 _ACEOF
2935
2936 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2937 ;;
2938
2939 *-*-darwin* )
2940 USE_BSD=1
2941 USE_DARWIN=1
2942 cat >>confdefs.h <<\_ACEOF
2943 #define __BSD__ 1
2944 _ACEOF
2945
2946 cat >>confdefs.h <<\_ACEOF
2947 #define __DARWIN__ 1
2948 _ACEOF
2949
2950 cat >>confdefs.h <<\_ACEOF
2951 #define TARGET_CARBON 1
2952 _ACEOF
2953
2954 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2955 ;;
2956
2957 *-*-beos* )
2958 USE_BEOS=1
2959 cat >>confdefs.h <<\_ACEOF
2960 #define __BEOS__ 1
2961 _ACEOF
2962
2963 ;;
2964
2965 *)
2966 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2967 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2968 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2969 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2970
2971 DEFAULT_DEFAULT_wxUSE_X11=1
2972 DEFAULT_wxUSE_SHARED=no
2973 esac
2974
2975
2976
2977 DEFAULT_wxUSE_ALL_FEATURES=yes
2978
2979 DEFAULT_wxUSE_STD_CONTAINERS=no
2980 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2981 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2982
2983 DEFAULT_wxUSE_DMALLOC=no
2984 DEFAULT_wxUSE_LIBGNOMEVFS=no
2985 DEFAULT_wxUSE_LIBHILDON=no
2986 DEFAULT_wxUSE_LIBHILDON2=no
2987 DEFAULT_wxUSE_LIBMSPACK=no
2988 DEFAULT_wxUSE_LIBSDL=no
2989
2990 DEFAULT_wxUSE_ACCESSIBILITY=no
2991 DEFAULT_wxUSE_IPV6=no
2992 DEFAULT_wxUSE_GSTREAMER8=no
2993
2994 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2995 DEFAULT_wxUSE_UNICODE_UTF8=auto
2996 DEFAULT_wxUSE_OPENGL=auto
2997 DEFAULT_wxUSE_MEDIACTRL=auto
2998 DEFAULT_wxUSE_COMPILER_TLS=auto
2999 DEFAULT_wxUSE_HOTKEY=auto
3000 DEFAULT_wxUSE_METAFILE=auto
3001
3002 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3003
3004 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3005 DEFAULT_wxUSE_MAC_ARCH=no
3006
3007 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3008
3009 DEFAULT_wxUSE_GTK2=yes
3010
3011 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3012
3013
3014
3015
3016
3017 enablestring=disable
3018 defaultval=
3019 if test -z "$defaultval"; then
3020 if test x"$enablestring" = xdisable; then
3021 defaultval=yes
3022 else
3023 defaultval=no
3024 fi
3025 fi
3026
3027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3028 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3029 # Check whether --enable-gui was given.
3030 if test "${enable_gui+set}" = set; then
3031 enableval=$enable_gui;
3032 if test "$enableval" = yes; then
3033 wx_cv_use_gui='wxUSE_GUI=yes'
3034 else
3035 wx_cv_use_gui='wxUSE_GUI=no'
3036 fi
3037
3038 else
3039
3040 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3041
3042 fi
3043
3044
3045 eval "$wx_cv_use_gui"
3046
3047 if test x"$enablestring" = xdisable; then
3048 if test $wxUSE_GUI = no; then
3049 result=yes
3050 else
3051 result=no
3052 fi
3053 else
3054 result=$wxUSE_GUI
3055 fi
3056
3057 { echo "$as_me:$LINENO: result: $result" >&5
3058 echo "${ECHO_T}$result" >&6; }
3059
3060
3061 enablestring=
3062 defaultval=
3063 if test -z "$defaultval"; then
3064 if test x"$enablestring" = xdisable; then
3065 defaultval=yes
3066 else
3067 defaultval=no
3068 fi
3069 fi
3070
3071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3072 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3073 # Check whether --enable-monolithic was given.
3074 if test "${enable_monolithic+set}" = set; then
3075 enableval=$enable_monolithic;
3076 if test "$enableval" = yes; then
3077 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3078 else
3079 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3080 fi
3081
3082 else
3083
3084 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3085
3086 fi
3087
3088
3089 eval "$wx_cv_use_monolithic"
3090
3091 if test x"$enablestring" = xdisable; then
3092 if test $wxUSE_MONOLITHIC = no; then
3093 result=yes
3094 else
3095 result=no
3096 fi
3097 else
3098 result=$wxUSE_MONOLITHIC
3099 fi
3100
3101 { echo "$as_me:$LINENO: result: $result" >&5
3102 echo "${ECHO_T}$result" >&6; }
3103
3104
3105 enablestring=
3106 defaultval=
3107 if test -z "$defaultval"; then
3108 if test x"$enablestring" = xdisable; then
3109 defaultval=yes
3110 else
3111 defaultval=no
3112 fi
3113 fi
3114
3115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3116 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3117 # Check whether --enable-plugins was given.
3118 if test "${enable_plugins+set}" = set; then
3119 enableval=$enable_plugins;
3120 if test "$enableval" = yes; then
3121 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3122 else
3123 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3124 fi
3125
3126 else
3127
3128 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3129
3130 fi
3131
3132
3133 eval "$wx_cv_use_plugins"
3134
3135 if test x"$enablestring" = xdisable; then
3136 if test $wxUSE_PLUGINS = no; then
3137 result=yes
3138 else
3139 result=no
3140 fi
3141 else
3142 result=$wxUSE_PLUGINS
3143 fi
3144
3145 { echo "$as_me:$LINENO: result: $result" >&5
3146 echo "${ECHO_T}$result" >&6; }
3147
3148
3149 withstring=without
3150 defaultval=$wxUSE_ALL_FEATURES
3151 if test -z "$defaultval"; then
3152 if test x"$withstring" = xwithout; then
3153 defaultval=yes
3154 else
3155 defaultval=no
3156 fi
3157 fi
3158 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3159 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3160
3161 # Check whether --with-subdirs was given.
3162 if test "${with_subdirs+set}" = set; then
3163 withval=$with_subdirs;
3164 if test "$withval" = yes; then
3165 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3166 else
3167 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3168 fi
3169
3170 else
3171
3172 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3173
3174 fi
3175
3176
3177 eval "$wx_cv_use_subdirs"
3178
3179 if test x"$withstring" = xwithout; then
3180 if test $wxWITH_SUBDIRS = yes; then
3181 result=no
3182 else
3183 result=yes
3184 fi
3185 else
3186 result=$wxWITH_SUBDIRS
3187 fi
3188
3189 { echo "$as_me:$LINENO: result: $result" >&5
3190 echo "${ECHO_T}$result" >&6; }
3191
3192
3193 # Check whether --with-flavour was given.
3194 if test "${with_flavour+set}" = set; then
3195 withval=$with_flavour; WX_FLAVOUR="$withval"
3196 fi
3197
3198
3199 enablestring=
3200 defaultval=
3201 if test -z "$defaultval"; then
3202 if test x"$enablestring" = xdisable; then
3203 defaultval=yes
3204 else
3205 defaultval=no
3206 fi
3207 fi
3208
3209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3210 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3211 # Check whether --enable-official_build was given.
3212 if test "${enable_official_build+set}" = set; then
3213 enableval=$enable_official_build;
3214 if test "$enableval" = yes; then
3215 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3216 else
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3218 fi
3219
3220 else
3221
3222 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3223
3224 fi
3225
3226
3227 eval "$wx_cv_use_official_build"
3228
3229 if test x"$enablestring" = xdisable; then
3230 if test $wxUSE_OFFICIAL_BUILD = no; then
3231 result=yes
3232 else
3233 result=no
3234 fi
3235 else
3236 result=$wxUSE_OFFICIAL_BUILD
3237 fi
3238
3239 { echo "$as_me:$LINENO: result: $result" >&5
3240 echo "${ECHO_T}$result" >&6; }
3241
3242 # Check whether --enable-vendor was given.
3243 if test "${enable_vendor+set}" = set; then
3244 enableval=$enable_vendor; VENDOR="$enableval"
3245 fi
3246
3247 if test "x$VENDOR" = "x"; then
3248 VENDOR="custom"
3249 fi
3250
3251
3252 enablestring=disable
3253 defaultval=
3254 if test -z "$defaultval"; then
3255 if test x"$enablestring" = xdisable; then
3256 defaultval=yes
3257 else
3258 defaultval=no
3259 fi
3260 fi
3261
3262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3263 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3264 # Check whether --enable-all-features was given.
3265 if test "${enable_all_features+set}" = set; then
3266 enableval=$enable_all_features;
3267 if test "$enableval" = yes; then
3268 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3269 else
3270 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3271 fi
3272
3273 else
3274
3275 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3276
3277 fi
3278
3279
3280 eval "$wx_cv_use_all_features"
3281
3282 if test x"$enablestring" = xdisable; then
3283 if test $wxUSE_ALL_FEATURES = no; then
3284 result=yes
3285 else
3286 result=no
3287 fi
3288 else
3289 result=$wxUSE_ALL_FEATURES
3290 fi
3291
3292 { echo "$as_me:$LINENO: result: $result" >&5
3293 echo "${ECHO_T}$result" >&6; }
3294
3295
3296 if test "$wxUSE_ALL_FEATURES" = "no"; then
3297 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3298 DEFAULT_wxUSE_MEDIACTRL=no
3299 fi
3300
3301
3302 if test "$wxUSE_GUI" = "yes"; then
3303
3304
3305 enablestring=
3306 defaultval=
3307 if test -z "$defaultval"; then
3308 if test x"$enablestring" = xdisable; then
3309 defaultval=yes
3310 else
3311 defaultval=no
3312 fi
3313 fi
3314
3315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3316 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3317 # Check whether --enable-universal was given.
3318 if test "${enable_universal+set}" = set; then
3319 enableval=$enable_universal;
3320 if test "$enableval" = yes; then
3321 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3322 else
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3324 fi
3325
3326 else
3327
3328 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3329
3330 fi
3331
3332
3333 eval "$wx_cv_use_universal"
3334
3335 if test x"$enablestring" = xdisable; then
3336 if test $wxUSE_UNIVERSAL = no; then
3337 result=yes
3338 else
3339 result=no
3340 fi
3341 else
3342 result=$wxUSE_UNIVERSAL
3343 fi
3344
3345 { echo "$as_me:$LINENO: result: $result" >&5
3346 echo "${ECHO_T}$result" >&6; }
3347
3348 if test "$wxUSE_UNIVERSAL" = "yes"; then
3349
3350 # Check whether --with-themes was given.
3351 if test "${with_themes+set}" = set; then
3352 withval=$with_themes; wxUNIV_THEMES="$withval"
3353 fi
3354
3355 fi
3356
3357
3358 # Check whether --with-gtk was given.
3359 if test "${with_gtk+set}" = set; then
3360 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3361 fi
3362
3363
3364 # Check whether --with-motif was given.
3365 if test "${with_motif+set}" = set; then
3366 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3367 fi
3368
3369
3370 # Check whether --with-osx_carbon was given.
3371 if test "${with_osx_carbon+set}" = set; then
3372 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3373 fi
3374
3375
3376 # Check whether --with-osx_cocoa was given.
3377 if test "${with_osx_cocoa+set}" = set; then
3378 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3379 fi
3380
3381
3382 # Check whether --with-osx_iphone was given.
3383 if test "${with_osx_iphone+set}" = set; then
3384 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3385 fi
3386
3387
3388 # Check whether --with-osx was given.
3389 if test "${with_osx+set}" = set; then
3390 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3391 fi
3392
3393
3394 # Check whether --with-carbon was given.
3395 if test "${with_carbon+set}" = set; then
3396 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3397 fi
3398
3399
3400 # Check whether --with-cocoa was given.
3401 if test "${with_cocoa+set}" = set; then
3402 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3403 fi
3404
3405
3406 # Check whether --with-iphone was given.
3407 if test "${with_iphone+set}" = set; then
3408 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3409 fi
3410
3411
3412 # Check whether --with-mac was given.
3413 if test "${with_mac+set}" = set; then
3414 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3415 fi
3416
3417
3418 # Check whether --with-old_cocoa was given.
3419 if test "${with_old_cocoa+set}" = set; then
3420 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3421 fi
3422
3423
3424 # Check whether --with-wine was given.
3425 if test "${with_wine+set}" = set; then
3426 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3427 fi
3428
3429
3430 # Check whether --with-msw was given.
3431 if test "${with_msw+set}" = set; then
3432 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3433 fi
3434
3435
3436 # Check whether --with-pm was given.
3437 if test "${with_pm+set}" = set; then
3438 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3439 fi
3440
3441
3442 # Check whether --with-mgl was given.
3443 if test "${with_mgl+set}" = set; then
3444 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3445 fi
3446
3447
3448 # Check whether --with-directfb was given.
3449 if test "${with_directfb+set}" = set; then
3450 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3451 fi
3452
3453
3454 # Check whether --with-microwin was given.
3455 if test "${with_microwin+set}" = set; then
3456 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3457 fi
3458
3459
3460 # Check whether --with-x11 was given.
3461 if test "${with_x11+set}" = set; then
3462 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3463 fi
3464
3465
3466 enablestring=
3467 defaultval=
3468 if test -z "$defaultval"; then
3469 if test x"$enablestring" = xdisable; then
3470 defaultval=yes
3471 else
3472 defaultval=no
3473 fi
3474 fi
3475
3476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3477 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3478 # Check whether --enable-nanox was given.
3479 if test "${enable_nanox+set}" = set; then
3480 enableval=$enable_nanox;
3481 if test "$enableval" = yes; then
3482 wx_cv_use_nanox='wxUSE_NANOX=yes'
3483 else
3484 wx_cv_use_nanox='wxUSE_NANOX=no'
3485 fi
3486
3487 else
3488
3489 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3490
3491 fi
3492
3493
3494 eval "$wx_cv_use_nanox"
3495
3496 if test x"$enablestring" = xdisable; then
3497 if test $wxUSE_NANOX = no; then
3498 result=yes
3499 else
3500 result=no
3501 fi
3502 else
3503 result=$wxUSE_NANOX
3504 fi
3505
3506 { echo "$as_me:$LINENO: result: $result" >&5
3507 echo "${ECHO_T}$result" >&6; }
3508
3509
3510 # Check whether --enable-gtk2 was given.
3511 if test "${enable_gtk2+set}" = set; then
3512 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3513 fi
3514
3515
3516 enablestring=
3517 defaultval=
3518 if test -z "$defaultval"; then
3519 if test x"$enablestring" = xdisable; then
3520 defaultval=yes
3521 else
3522 defaultval=no
3523 fi
3524 fi
3525
3526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3528 # Check whether --enable-gpe was given.
3529 if test "${enable_gpe+set}" = set; then
3530 enableval=$enable_gpe;
3531 if test "$enableval" = yes; then
3532 wx_cv_use_gpe='wxUSE_GPE=yes'
3533 else
3534 wx_cv_use_gpe='wxUSE_GPE=no'
3535 fi
3536
3537 else
3538
3539 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3540
3541 fi
3542
3543
3544 eval "$wx_cv_use_gpe"
3545
3546 if test x"$enablestring" = xdisable; then
3547 if test $wxUSE_GPE = no; then
3548 result=yes
3549 else
3550 result=no
3551 fi
3552 else
3553 result=$wxUSE_GPE
3554 fi
3555
3556 { echo "$as_me:$LINENO: result: $result" >&5
3557 echo "${ECHO_T}$result" >&6; }
3558
3559
3560
3561 { echo "$as_me:$LINENO: checking for toolkit" >&5
3562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3563
3564
3565
3566 # In Wine, we need to default to MSW, not GTK or MOTIF
3567 if test "$wxUSE_WINE" = "yes"; then
3568 DEFAULT_DEFAULT_wxUSE_GTK=0
3569 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3570 DEFAULT_DEFAULT_wxUSE_MSW=1
3571 wxUSE_SHARED=no
3572 CC=${CC:-winegcc}
3573 CXX=${CXX:-wineg++}
3574 fi
3575
3576
3577 if test "$wxUSE_GUI" = "yes"; then
3578
3579 if test "$USE_BEOS" = 1; then
3580 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3581 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3582 { (exit 1); exit 1; }; }
3583 fi
3584
3585 if test "$TOOLKIT_GIVEN" = 1; then
3586 for toolkit in $ALL_TOOLKITS; do
3587 var=wxUSE_$toolkit
3588 eval "value=\$${var}"
3589 if test "x$value" = "xno"; then
3590 eval "$var=0"
3591 elif test "x$value" != "x"; then
3592 eval "$var=1"
3593 fi
3594
3595 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3596 eval "wx${toolkit}_VERSION=$value"
3597 fi
3598 done
3599 else
3600 for toolkit in $ALL_TOOLKITS; do
3601 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3602 eval "wxUSE_$toolkit=\$${var}"
3603 done
3604 fi
3605
3606 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3607 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3608 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3609
3610 case "${host}" in
3611 *-pc-os2_emx | *-pc-os2-emx )
3612 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3613 esac
3614
3615 case "$NUM_TOOLKITS" in
3616 1)
3617 ;;
3618 0)
3619 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3620 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3621 { (exit 1); exit 1; }; }
3622 ;;
3623 *)
3624 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3625 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3626 { (exit 1); exit 1; }; }
3627 esac
3628
3629 # to be removed when --disable-gtk2 isn't needed
3630 if test "x$wxUSE_GTK2" = "xyes"; then
3631 wxGTK_VERSION=2
3632 wxUSE_GTK1=0
3633 elif test "x$wxUSE_GTK2" = "xno"; then
3634 wxGTK_VERSION=1
3635 wxUSE_GTK1=1
3636 fi
3637
3638 for toolkit in $ALL_TOOLKITS; do
3639 var=wxUSE_$toolkit
3640 eval "value=\$${var}"
3641 if test "$value" = 1; then
3642 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3643 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3644 echo "${ECHO_T}$toolkit_echo" >&6; }
3645 fi
3646 done
3647 else
3648 if test "x$host_alias" != "x"; then
3649 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3650 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3651 else
3652 { echo "$as_me:$LINENO: result: base only" >&5
3653 echo "${ECHO_T}base only" >&6; }
3654 fi
3655 fi
3656
3657 wxUSE_MAC=0
3658 if test "$wxUSE_OSX_CARBON" = 1 \
3659 -o "$wxUSE_OSX_COCOA" = 1 \
3660 -o "$wxUSE_OSX_IPHONE" = 1; then
3661 wxUSE_MAC=1
3662 fi
3663
3664
3665
3666 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3667 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3668
3669 # Check whether --with-libpng was given.
3670 if test "${with_libpng+set}" = set; then
3671 withval=$with_libpng;
3672 if test "$withval" = yes; then
3673 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3674 elif test "$withval" = no; then
3675 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3676 elif test "$withval" = sys; then
3677 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3678 elif test "$withval" = builtin; then
3679 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3680 else
3681 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3682 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3683 { (exit 1); exit 1; }; }
3684 fi
3685
3686 else
3687
3688 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3689
3690 fi
3691
3692
3693 eval "$wx_cv_use_libpng"
3694
3695 if test "$wxUSE_LIBPNG" = yes; then
3696 { echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6; }
3698 elif test "$wxUSE_LIBPNG" = no; then
3699 { echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6; }
3701 elif test "$wxUSE_LIBPNG" = sys; then
3702 { echo "$as_me:$LINENO: result: system version" >&5
3703 echo "${ECHO_T}system version" >&6; }
3704 elif test "$wxUSE_LIBPNG" = builtin; then
3705 { echo "$as_me:$LINENO: result: builtin version" >&5
3706 echo "${ECHO_T}builtin version" >&6; }
3707 else
3708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3709 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3710 { (exit 1); exit 1; }; }
3711 fi
3712
3713
3714 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3715 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3716
3717 # Check whether --with-libjpeg was given.
3718 if test "${with_libjpeg+set}" = set; then
3719 withval=$with_libjpeg;
3720 if test "$withval" = yes; then
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3722 elif test "$withval" = no; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3724 elif test "$withval" = sys; then
3725 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3726 elif test "$withval" = builtin; then
3727 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3728 else
3729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3730 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3731 { (exit 1); exit 1; }; }
3732 fi
3733
3734 else
3735
3736 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3737
3738 fi
3739
3740
3741 eval "$wx_cv_use_libjpeg"
3742
3743 if test "$wxUSE_LIBJPEG" = yes; then
3744 { echo "$as_me:$LINENO: result: yes" >&5
3745 echo "${ECHO_T}yes" >&6; }
3746 elif test "$wxUSE_LIBJPEG" = no; then
3747 { echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6; }
3749 elif test "$wxUSE_LIBJPEG" = sys; then
3750 { echo "$as_me:$LINENO: result: system version" >&5
3751 echo "${ECHO_T}system version" >&6; }
3752 elif test "$wxUSE_LIBJPEG" = builtin; then
3753 { echo "$as_me:$LINENO: result: builtin version" >&5
3754 echo "${ECHO_T}builtin version" >&6; }
3755 else
3756 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3757 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3758 { (exit 1); exit 1; }; }
3759 fi
3760
3761
3762 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3763 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3764
3765 # Check whether --with-libtiff was given.
3766 if test "${with_libtiff+set}" = set; then
3767 withval=$with_libtiff;
3768 if test "$withval" = yes; then
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3770 elif test "$withval" = no; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3772 elif test "$withval" = sys; then
3773 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3774 elif test "$withval" = builtin; then
3775 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3776 else
3777 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3778 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3779 { (exit 1); exit 1; }; }
3780 fi
3781
3782 else
3783
3784 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3785
3786 fi
3787
3788
3789 eval "$wx_cv_use_libtiff"
3790
3791 if test "$wxUSE_LIBTIFF" = yes; then
3792 { echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6; }
3794 elif test "$wxUSE_LIBTIFF" = no; then
3795 { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3797 elif test "$wxUSE_LIBTIFF" = sys; then
3798 { echo "$as_me:$LINENO: result: system version" >&5
3799 echo "${ECHO_T}system version" >&6; }
3800 elif test "$wxUSE_LIBTIFF" = builtin; then
3801 { echo "$as_me:$LINENO: result: builtin version" >&5
3802 echo "${ECHO_T}builtin version" >&6; }
3803 else
3804 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3805 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3806 { (exit 1); exit 1; }; }
3807 fi
3808
3809
3810 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3811 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3812
3813 # Check whether --with-libxpm was given.
3814 if test "${with_libxpm+set}" = set; then
3815 withval=$with_libxpm;
3816 if test "$withval" = yes; then
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3818 elif test "$withval" = no; then
3819 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3820 elif test "$withval" = sys; then
3821 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3822 elif test "$withval" = builtin; then
3823 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3824 else
3825 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3826 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3827 { (exit 1); exit 1; }; }
3828 fi
3829
3830 else
3831
3832 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3833
3834 fi
3835
3836
3837 eval "$wx_cv_use_libxpm"
3838
3839 if test "$wxUSE_LIBXPM" = yes; then
3840 { echo "$as_me:$LINENO: result: yes" >&5
3841 echo "${ECHO_T}yes" >&6; }
3842 elif test "$wxUSE_LIBXPM" = no; then
3843 { echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6; }
3845 elif test "$wxUSE_LIBXPM" = sys; then
3846 { echo "$as_me:$LINENO: result: system version" >&5
3847 echo "${ECHO_T}system version" >&6; }
3848 elif test "$wxUSE_LIBXPM" = builtin; then
3849 { echo "$as_me:$LINENO: result: builtin version" >&5
3850 echo "${ECHO_T}builtin version" >&6; }
3851 else
3852 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3853 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3854 { (exit 1); exit 1; }; }
3855 fi
3856
3857
3858 withstring=
3859 defaultval=$wxUSE_ALL_FEATURES
3860 if test -z "$defaultval"; then
3861 if test x"$withstring" = xwithout; then
3862 defaultval=yes
3863 else
3864 defaultval=no
3865 fi
3866 fi
3867 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3868 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3869
3870 # Check whether --with-libiconv was given.
3871 if test "${with_libiconv+set}" = set; then
3872 withval=$with_libiconv;
3873 if test "$withval" = yes; then
3874 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3875 else
3876 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3877 fi
3878
3879 else
3880
3881 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3882
3883 fi
3884
3885
3886 eval "$wx_cv_use_libiconv"
3887
3888 if test x"$withstring" = xwithout; then
3889 if test $wxUSE_LIBICONV = yes; then
3890 result=no
3891 else
3892 result=yes
3893 fi
3894 else
3895 result=$wxUSE_LIBICONV
3896 fi
3897
3898 { echo "$as_me:$LINENO: result: $result" >&5
3899 echo "${ECHO_T}$result" >&6; }
3900
3901
3902 withstring=
3903 defaultval=$wxUSE_ALL_FEATURES
3904 if test -z "$defaultval"; then
3905 if test x"$withstring" = xwithout; then
3906 defaultval=yes
3907 else
3908 defaultval=no
3909 fi
3910 fi
3911 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3912 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3913
3914 # Check whether --with-libmspack was given.
3915 if test "${with_libmspack+set}" = set; then
3916 withval=$with_libmspack;
3917 if test "$withval" = yes; then
3918 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3919 else
3920 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3921 fi
3922
3923 else
3924
3925 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3926
3927 fi
3928
3929
3930 eval "$wx_cv_use_libmspack"
3931
3932 if test x"$withstring" = xwithout; then
3933 if test $wxUSE_LIBMSPACK = yes; then
3934 result=no
3935 else
3936 result=yes
3937 fi
3938 else
3939 result=$wxUSE_LIBMSPACK
3940 fi
3941
3942 { echo "$as_me:$LINENO: result: $result" >&5
3943 echo "${ECHO_T}$result" >&6; }
3944
3945
3946 withstring=without
3947 defaultval=$wxUSE_ALL_FEATURES
3948 if test -z "$defaultval"; then
3949 if test x"$withstring" = xwithout; then
3950 defaultval=yes
3951 else
3952 defaultval=no
3953 fi
3954 fi
3955 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3956 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3957
3958 # Check whether --with-gtkprint was given.
3959 if test "${with_gtkprint+set}" = set; then
3960 withval=$with_gtkprint;
3961 if test "$withval" = yes; then
3962 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3963 else
3964 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3965 fi
3966
3967 else
3968
3969 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3970
3971 fi
3972
3973
3974 eval "$wx_cv_use_gtkprint"
3975
3976 if test x"$withstring" = xwithout; then
3977 if test $wxUSE_GTKPRINT = yes; then
3978 result=no
3979 else
3980 result=yes
3981 fi
3982 else
3983 result=$wxUSE_GTKPRINT
3984 fi
3985
3986 { echo "$as_me:$LINENO: result: $result" >&5
3987 echo "${ECHO_T}$result" >&6; }
3988
3989
3990 withstring=without
3991 defaultval=$wxUSE_ALL_FEATURES
3992 if test -z "$defaultval"; then
3993 if test x"$withstring" = xwithout; then
3994 defaultval=yes
3995 else
3996 defaultval=no
3997 fi
3998 fi
3999 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4000 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4001
4002 # Check whether --with-gnomeprint was given.
4003 if test "${with_gnomeprint+set}" = set; then
4004 withval=$with_gnomeprint;
4005 if test "$withval" = yes; then
4006 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4007 else
4008 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4009 fi
4010
4011 else
4012
4013 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4014
4015 fi
4016
4017
4018 eval "$wx_cv_use_gnomeprint"
4019
4020 if test x"$withstring" = xwithout; then
4021 if test $wxUSE_LIBGNOMEPRINT = yes; then
4022 result=no
4023 else
4024 result=yes
4025 fi
4026 else
4027 result=$wxUSE_LIBGNOMEPRINT
4028 fi
4029
4030 { echo "$as_me:$LINENO: result: $result" >&5
4031 echo "${ECHO_T}$result" >&6; }
4032
4033
4034 withstring=
4035 defaultval=$wxUSE_ALL_FEATURES
4036 if test -z "$defaultval"; then
4037 if test x"$withstring" = xwithout; then
4038 defaultval=yes
4039 else
4040 defaultval=no
4041 fi
4042 fi
4043 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4044 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4045
4046 # Check whether --with-gnomevfs was given.
4047 if test "${with_gnomevfs+set}" = set; then
4048 withval=$with_gnomevfs;
4049 if test "$withval" = yes; then
4050 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4051 else
4052 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4053 fi
4054
4055 else
4056
4057 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4058
4059 fi
4060
4061
4062 eval "$wx_cv_use_gnomevfs"
4063
4064 if test x"$withstring" = xwithout; then
4065 if test $wxUSE_LIBGNOMEVFS = yes; then
4066 result=no
4067 else
4068 result=yes
4069 fi
4070 else
4071 result=$wxUSE_LIBGNOMEVFS
4072 fi
4073
4074 { echo "$as_me:$LINENO: result: $result" >&5
4075 echo "${ECHO_T}$result" >&6; }
4076
4077
4078 withstring=
4079 defaultval=$wxUSE_ALL_FEATURES
4080 if test -z "$defaultval"; then
4081 if test x"$withstring" = xwithout; then
4082 defaultval=yes
4083 else
4084 defaultval=no
4085 fi
4086 fi
4087 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4088 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4089
4090 # Check whether --with-hildon was given.
4091 if test "${with_hildon+set}" = set; then
4092 withval=$with_hildon;
4093 if test "$withval" = yes; then
4094 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4095 else
4096 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4097 fi
4098
4099 else
4100
4101 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4102
4103 fi
4104
4105
4106 eval "$wx_cv_use_hildon"
4107
4108 if test x"$withstring" = xwithout; then
4109 if test $wxUSE_LIBHILDON = yes; then
4110 result=no
4111 else
4112 result=yes
4113 fi
4114 else
4115 result=$wxUSE_LIBHILDON
4116 fi
4117
4118 { echo "$as_me:$LINENO: result: $result" >&5
4119 echo "${ECHO_T}$result" >&6; }
4120
4121
4122 withstring=
4123 defaultval=$wxUSE_ALL_FEATURES
4124 if test -z "$defaultval"; then
4125 if test x"$withstring" = xwithout; then
4126 defaultval=yes
4127 else
4128 defaultval=no
4129 fi
4130 fi
4131 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4132 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4133
4134 # Check whether --with-opengl was given.
4135 if test "${with_opengl+set}" = set; then
4136 withval=$with_opengl;
4137 if test "$withval" = yes; then
4138 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4139 else
4140 wx_cv_use_opengl='wxUSE_OPENGL=no'
4141 fi
4142
4143 else
4144
4145 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4146
4147 fi
4148
4149
4150 eval "$wx_cv_use_opengl"
4151
4152 if test x"$withstring" = xwithout; then
4153 if test $wxUSE_OPENGL = yes; then
4154 result=no
4155 else
4156 result=yes
4157 fi
4158 else
4159 result=$wxUSE_OPENGL
4160 fi
4161
4162 { echo "$as_me:$LINENO: result: $result" >&5
4163 echo "${ECHO_T}$result" >&6; }
4164
4165
4166 fi
4167
4168
4169 withstring=
4170 defaultval=$wxUSE_ALL_FEATURES
4171 if test -z "$defaultval"; then
4172 if test x"$withstring" = xwithout; then
4173 defaultval=yes
4174 else
4175 defaultval=no
4176 fi
4177 fi
4178 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4179 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4180
4181 # Check whether --with-dmalloc was given.
4182 if test "${with_dmalloc+set}" = set; then
4183 withval=$with_dmalloc;
4184 if test "$withval" = yes; then
4185 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4186 else
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4188 fi
4189
4190 else
4191
4192 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4193
4194 fi
4195
4196
4197 eval "$wx_cv_use_dmalloc"
4198
4199 if test x"$withstring" = xwithout; then
4200 if test $wxUSE_DMALLOC = yes; then
4201 result=no
4202 else
4203 result=yes
4204 fi
4205 else
4206 result=$wxUSE_DMALLOC
4207 fi
4208
4209 { echo "$as_me:$LINENO: result: $result" >&5
4210 echo "${ECHO_T}$result" >&6; }
4211
4212
4213 withstring=
4214 defaultval=$wxUSE_ALL_FEATURES
4215 if test -z "$defaultval"; then
4216 if test x"$withstring" = xwithout; then
4217 defaultval=yes
4218 else
4219 defaultval=no
4220 fi
4221 fi
4222 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4223 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4224
4225 # Check whether --with-sdl was given.
4226 if test "${with_sdl+set}" = set; then
4227 withval=$with_sdl;
4228 if test "$withval" = yes; then
4229 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4230 else
4231 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4232 fi
4233
4234 else
4235
4236 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4237
4238 fi
4239
4240
4241 eval "$wx_cv_use_sdl"
4242
4243 if test x"$withstring" = xwithout; then
4244 if test $wxUSE_LIBSDL = yes; then
4245 result=no
4246 else
4247 result=yes
4248 fi
4249 else
4250 result=$wxUSE_LIBSDL
4251 fi
4252
4253 { echo "$as_me:$LINENO: result: $result" >&5
4254 echo "${ECHO_T}$result" >&6; }
4255
4256
4257 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4258 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4259
4260 # Check whether --with-regex was given.
4261 if test "${with_regex+set}" = set; then
4262 withval=$with_regex;
4263 if test "$withval" = yes; then
4264 wx_cv_use_regex='wxUSE_REGEX=yes'
4265 elif test "$withval" = no; then
4266 wx_cv_use_regex='wxUSE_REGEX=no'
4267 elif test "$withval" = sys; then
4268 wx_cv_use_regex='wxUSE_REGEX=sys'
4269 elif test "$withval" = builtin; then
4270 wx_cv_use_regex='wxUSE_REGEX=builtin'
4271 else
4272 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4273 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4274 { (exit 1); exit 1; }; }
4275 fi
4276
4277 else
4278
4279 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4280
4281 fi
4282
4283
4284 eval "$wx_cv_use_regex"
4285
4286 if test "$wxUSE_REGEX" = yes; then
4287 { echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6; }
4289 elif test "$wxUSE_REGEX" = no; then
4290 { echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6; }
4292 elif test "$wxUSE_REGEX" = sys; then
4293 { echo "$as_me:$LINENO: result: system version" >&5
4294 echo "${ECHO_T}system version" >&6; }
4295 elif test "$wxUSE_REGEX" = builtin; then
4296 { echo "$as_me:$LINENO: result: builtin version" >&5
4297 echo "${ECHO_T}builtin version" >&6; }
4298 else
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4302 fi
4303
4304
4305 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4306 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4307
4308 # Check whether --with-zlib was given.
4309 if test "${with_zlib+set}" = set; then
4310 withval=$with_zlib;
4311 if test "$withval" = yes; then
4312 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4313 elif test "$withval" = no; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=no'
4315 elif test "$withval" = sys; then
4316 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4317 elif test "$withval" = builtin; then
4318 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4319 else
4320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4322 { (exit 1); exit 1; }; }
4323 fi
4324
4325 else
4326
4327 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4328
4329 fi
4330
4331
4332 eval "$wx_cv_use_zlib"
4333
4334 if test "$wxUSE_ZLIB" = yes; then
4335 { echo "$as_me:$LINENO: result: yes" >&5
4336 echo "${ECHO_T}yes" >&6; }
4337 elif test "$wxUSE_ZLIB" = no; then
4338 { echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6; }
4340 elif test "$wxUSE_ZLIB" = sys; then
4341 { echo "$as_me:$LINENO: result: system version" >&5
4342 echo "${ECHO_T}system version" >&6; }
4343 elif test "$wxUSE_ZLIB" = builtin; then
4344 { echo "$as_me:$LINENO: result: builtin version" >&5
4345 echo "${ECHO_T}builtin version" >&6; }
4346 else
4347 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4348 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4349 { (exit 1); exit 1; }; }
4350 fi
4351
4352
4353 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4354 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4355
4356 # Check whether --with-expat was given.
4357 if test "${with_expat+set}" = set; then
4358 withval=$with_expat;
4359 if test "$withval" = yes; then
4360 wx_cv_use_expat='wxUSE_EXPAT=yes'
4361 elif test "$withval" = no; then
4362 wx_cv_use_expat='wxUSE_EXPAT=no'
4363 elif test "$withval" = sys; then
4364 wx_cv_use_expat='wxUSE_EXPAT=sys'
4365 elif test "$withval" = builtin; then
4366 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4367 else
4368 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4369 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4370 { (exit 1); exit 1; }; }
4371 fi
4372
4373 else
4374
4375 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4376
4377 fi
4378
4379
4380 eval "$wx_cv_use_expat"
4381
4382 if test "$wxUSE_EXPAT" = yes; then
4383 { echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6; }
4385 elif test "$wxUSE_EXPAT" = no; then
4386 { echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6; }
4388 elif test "$wxUSE_EXPAT" = sys; then
4389 { echo "$as_me:$LINENO: result: system version" >&5
4390 echo "${ECHO_T}system version" >&6; }
4391 elif test "$wxUSE_EXPAT" = builtin; then
4392 { echo "$as_me:$LINENO: result: builtin version" >&5
4393 echo "${ECHO_T}builtin version" >&6; }
4394 else
4395 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4396 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4397 { (exit 1); exit 1; }; }
4398 fi
4399
4400
4401 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4402 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4403
4404 # Check whether --with-macosx-sdk was given.
4405 if test "${with_macosx_sdk+set}" = set; then
4406 withval=$with_macosx_sdk;
4407 wxUSE_MACOSX_SDK=$withval
4408 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4409
4410 fi
4411
4412 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4413 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4414
4415 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4416 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4417
4418 # Check whether --with-macosx-version-min was given.
4419 if test "${with_macosx_version_min+set}" = set; then
4420 withval=$with_macosx_version_min;
4421 wxUSE_MACOSX_VERSION_MIN=$withval
4422 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4423
4424 fi
4425
4426 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4427 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4428
4429
4430 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4431 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4432 # Check whether --enable-debug was given.
4433 if test "${enable_debug+set}" = set; then
4434 enableval=$enable_debug;
4435 if test "$enableval" = yes; then
4436 wxUSE_DEBUG=yes
4437 elif test "$enableval" = no; then
4438 wxUSE_DEBUG=no
4439 elif test "$enableval" = max; then
4440 wxUSE_DEBUG=yes
4441 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4442 else
4443 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4444 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4445 { (exit 1); exit 1; }; }
4446 fi
4447
4448 else
4449 wxUSE_DEBUG=default
4450
4451 fi
4452
4453
4454 case "$wxUSE_DEBUG" in
4455 yes)
4456 DEFAULT_wxUSE_DEBUG_FLAG=yes
4457 DEFAULT_wxUSE_DEBUG_INFO=yes
4458
4459 DEFAULT_wxUSE_OPTIMISE=no
4460 ;;
4461
4462 no)
4463 DEFAULT_wxUSE_DEBUG_FLAG=no
4464 DEFAULT_wxUSE_DEBUG_INFO=no
4465 ;;
4466
4467 default)
4468 DEFAULT_wxUSE_DEBUG_FLAG=yes
4469 DEFAULT_wxUSE_DEBUG_INFO=no
4470 ;;
4471 esac
4472
4473
4474 enablestring=disable
4475 defaultval=
4476 if test -z "$defaultval"; then
4477 if test x"$enablestring" = xdisable; then
4478 defaultval=yes
4479 else
4480 defaultval=no
4481 fi
4482 fi
4483
4484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4485 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4486 # Check whether --enable-debug_flag was given.
4487 if test "${enable_debug_flag+set}" = set; then
4488 enableval=$enable_debug_flag;
4489 if test "$enableval" = yes; then
4490 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4491 else
4492 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4493 fi
4494
4495 else
4496
4497 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4498
4499 fi
4500
4501
4502 eval "$wx_cv_use_debug_flag"
4503
4504 if test x"$enablestring" = xdisable; then
4505 if test $wxUSE_DEBUG_FLAG = no; then
4506 result=yes
4507 else
4508 result=no
4509 fi
4510 else
4511 result=$wxUSE_DEBUG_FLAG
4512 fi
4513
4514 { echo "$as_me:$LINENO: result: $result" >&5
4515 echo "${ECHO_T}$result" >&6; }
4516
4517
4518 enablestring=
4519 defaultval=
4520 if test -z "$defaultval"; then
4521 if test x"$enablestring" = xdisable; then
4522 defaultval=yes
4523 else
4524 defaultval=no
4525 fi
4526 fi
4527
4528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4530 # Check whether --enable-debug_info was given.
4531 if test "${enable_debug_info+set}" = set; then
4532 enableval=$enable_debug_info;
4533 if test "$enableval" = yes; then
4534 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4535 else
4536 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4537 fi
4538
4539 else
4540
4541 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4542
4543 fi
4544
4545
4546 eval "$wx_cv_use_debug_info"
4547
4548 if test x"$enablestring" = xdisable; then
4549 if test $wxUSE_DEBUG_INFO = no; then
4550 result=yes
4551 else
4552 result=no
4553 fi
4554 else
4555 result=$wxUSE_DEBUG_INFO
4556 fi
4557
4558 { echo "$as_me:$LINENO: result: $result" >&5
4559 echo "${ECHO_T}$result" >&6; }
4560
4561
4562
4563
4564 enablestring=
4565 defaultval=
4566 if test -z "$defaultval"; then
4567 if test x"$enablestring" = xdisable; then
4568 defaultval=yes
4569 else
4570 defaultval=no
4571 fi
4572 fi
4573
4574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4575 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4576 # Check whether --enable-debug_gdb was given.
4577 if test "${enable_debug_gdb+set}" = set; then
4578 enableval=$enable_debug_gdb;
4579 if test "$enableval" = yes; then
4580 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4581 else
4582 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4583 fi
4584
4585 else
4586
4587 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4588
4589 fi
4590
4591
4592 eval "$wx_cv_use_debug_gdb"
4593
4594 if test x"$enablestring" = xdisable; then
4595 if test $wxUSE_DEBUG_GDB = no; then
4596 result=yes
4597 else
4598 result=no
4599 fi
4600 else
4601 result=$wxUSE_DEBUG_GDB
4602 fi
4603
4604 { echo "$as_me:$LINENO: result: $result" >&5
4605 echo "${ECHO_T}$result" >&6; }
4606
4607
4608 enablestring=
4609 defaultval=
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4612 defaultval=yes
4613 else
4614 defaultval=no
4615 fi
4616 fi
4617
4618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4620 # Check whether --enable-debug_cntxt was given.
4621 if test "${enable_debug_cntxt+set}" = set; then
4622 enableval=$enable_debug_cntxt;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4625 else
4626 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4627 fi
4628
4629 else
4630
4631 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4632
4633 fi
4634
4635
4636 eval "$wx_cv_use_debug_cntxt"
4637
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_DEBUG_CONTEXT = no; then
4640 result=yes
4641 else
4642 result=no
4643 fi
4644 else
4645 result=$wxUSE_DEBUG_CONTEXT
4646 fi
4647
4648 { echo "$as_me:$LINENO: result: $result" >&5
4649 echo "${ECHO_T}$result" >&6; }
4650
4651
4652 enablestring=
4653 defaultval=
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4656 defaultval=yes
4657 else
4658 defaultval=no
4659 fi
4660 fi
4661
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4664 # Check whether --enable-mem_tracing was given.
4665 if test "${enable_mem_tracing+set}" = set; then
4666 enableval=$enable_mem_tracing;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4669 else
4670 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4671 fi
4672
4673 else
4674
4675 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_mem_tracing"
4681
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_MEM_TRACING = no; then
4684 result=yes
4685 else
4686 result=no
4687 fi
4688 else
4689 result=$wxUSE_MEM_TRACING
4690 fi
4691
4692 { echo "$as_me:$LINENO: result: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4694
4695
4696
4697
4698 enablestring=disable
4699 defaultval=
4700 if test -z "$defaultval"; then
4701 if test x"$enablestring" = xdisable; then
4702 defaultval=yes
4703 else
4704 defaultval=no
4705 fi
4706 fi
4707
4708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4710 # Check whether --enable-shared was given.
4711 if test "${enable_shared+set}" = set; then
4712 enableval=$enable_shared;
4713 if test "$enableval" = yes; then
4714 wx_cv_use_shared='wxUSE_SHARED=yes'
4715 else
4716 wx_cv_use_shared='wxUSE_SHARED=no'
4717 fi
4718
4719 else
4720
4721 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4722
4723 fi
4724
4725
4726 eval "$wx_cv_use_shared"
4727
4728 if test x"$enablestring" = xdisable; then
4729 if test $wxUSE_SHARED = no; then
4730 result=yes
4731 else
4732 result=no
4733 fi
4734 else
4735 result=$wxUSE_SHARED
4736 fi
4737
4738 { echo "$as_me:$LINENO: result: $result" >&5
4739 echo "${ECHO_T}$result" >&6; }
4740
4741
4742 enablestring=
4743 defaultval=
4744 if test -z "$defaultval"; then
4745 if test x"$enablestring" = xdisable; then
4746 defaultval=yes
4747 else
4748 defaultval=no
4749 fi
4750 fi
4751
4752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4754 # Check whether --enable-stl was given.
4755 if test "${enable_stl+set}" = set; then
4756 enableval=$enable_stl;
4757 if test "$enableval" = yes; then
4758 wx_cv_use_stl='wxUSE_STL=yes'
4759 else
4760 wx_cv_use_stl='wxUSE_STL=no'
4761 fi
4762
4763 else
4764
4765 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4766
4767 fi
4768
4769
4770 eval "$wx_cv_use_stl"
4771
4772 if test x"$enablestring" = xdisable; then
4773 if test $wxUSE_STL = no; then
4774 result=yes
4775 else
4776 result=no
4777 fi
4778 else
4779 result=$wxUSE_STL
4780 fi
4781
4782 { echo "$as_me:$LINENO: result: $result" >&5
4783 echo "${ECHO_T}$result" >&6; }
4784
4785 if test "$wxUSE_STL" = "yes"; then
4786 DEFAULT_wxUSE_STD_CONTAINERS=yes
4787 DEFAULT_wxUSE_STD_IOSTREAM=yes
4788 DEFAULT_wxUSE_STD_STRING=yes
4789 fi
4790
4791 enablestring=
4792 defaultval=
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4795 defaultval=yes
4796 else
4797 defaultval=no
4798 fi
4799 fi
4800
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4803 # Check whether --enable-std_containers was given.
4804 if test "${enable_std_containers+set}" = set; then
4805 enableval=$enable_std_containers;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4808 else
4809 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4810 fi
4811
4812 else
4813
4814 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4815
4816 fi
4817
4818
4819 eval "$wx_cv_use_std_containers"
4820
4821 if test x"$enablestring" = xdisable; then
4822 if test $wxUSE_STD_CONTAINERS = no; then
4823 result=yes
4824 else
4825 result=no
4826 fi
4827 else
4828 result=$wxUSE_STD_CONTAINERS
4829 fi
4830
4831 { echo "$as_me:$LINENO: result: $result" >&5
4832 echo "${ECHO_T}$result" >&6; }
4833
4834
4835 enablestring=
4836 defaultval=
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4839 defaultval=yes
4840 else
4841 defaultval=no
4842 fi
4843 fi
4844
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4847 # Check whether --enable-std_iostreams was given.
4848 if test "${enable_std_iostreams+set}" = set; then
4849 enableval=$enable_std_iostreams;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4852 else
4853 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4854 fi
4855
4856 else
4857
4858 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4859
4860 fi
4861
4862
4863 eval "$wx_cv_use_std_iostreams"
4864
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_STD_IOSTREAM = no; then
4867 result=yes
4868 else
4869 result=no
4870 fi
4871 else
4872 result=$wxUSE_STD_IOSTREAM
4873 fi
4874
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4877
4878
4879 enablestring=
4880 defaultval=
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4883 defaultval=yes
4884 else
4885 defaultval=no
4886 fi
4887 fi
4888
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4891 # Check whether --enable-std_string was given.
4892 if test "${enable_std_string+set}" = set; then
4893 enableval=$enable_std_string;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4896 else
4897 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4898 fi
4899
4900 else
4901
4902 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4903
4904 fi
4905
4906
4907 eval "$wx_cv_use_std_string"
4908
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_STD_STRING = no; then
4911 result=yes
4912 else
4913 result=no
4914 fi
4915 else
4916 result=$wxUSE_STD_STRING
4917 fi
4918
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4921
4922
4923 enablestring=
4924 defaultval=
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4927 defaultval=yes
4928 else
4929 defaultval=no
4930 fi
4931 fi
4932
4933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4934 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4935 # Check whether --enable-std_string_conv_in_wxstring was given.
4936 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4937 enableval=$enable_std_string_conv_in_wxstring;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4940 else
4941 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4942 fi
4943
4944 else
4945
4946 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4947
4948 fi
4949
4950
4951 eval "$wx_cv_use_std_string_conv_in_wxstring"
4952
4953 if test x"$enablestring" = xdisable; then
4954 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4955 result=yes
4956 else
4957 result=no
4958 fi
4959 else
4960 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4961 fi
4962
4963 { echo "$as_me:$LINENO: result: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4965
4966
4967 enablestring=disable
4968 defaultval=
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4971 defaultval=yes
4972 else
4973 defaultval=no
4974 fi
4975 fi
4976
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4979 # Check whether --enable-unicode was given.
4980 if test "${enable_unicode+set}" = set; then
4981 enableval=$enable_unicode;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4984 else
4985 wx_cv_use_unicode='wxUSE_UNICODE=no'
4986 fi
4987
4988 else
4989
4990 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4991
4992 fi
4993
4994
4995 eval "$wx_cv_use_unicode"
4996
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_UNICODE = no; then
4999 result=yes
5000 else
5001 result=no
5002 fi
5003 else
5004 result=$wxUSE_UNICODE
5005 fi
5006
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5009
5010
5011 enablestring=
5012 defaultval=
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5015 defaultval=yes
5016 else
5017 defaultval=no
5018 fi
5019 fi
5020
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5023 # Check whether --enable-mslu was given.
5024 if test "${enable_mslu+set}" = set; then
5025 enableval=$enable_mslu;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5028 else
5029 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5030 fi
5031
5032 else
5033
5034 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5035
5036 fi
5037
5038
5039 eval "$wx_cv_use_mslu"
5040
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_UNICODE_MSLU = no; then
5043 result=yes
5044 else
5045 result=no
5046 fi
5047 else
5048 result=$wxUSE_UNICODE_MSLU
5049 fi
5050
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5053
5054
5055 enablestring=
5056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5057 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5058 # Check whether --enable-utf8 was given.
5059 if test "${enable_utf8+set}" = set; then
5060 enableval=$enable_utf8;
5061 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5062
5063 else
5064
5065 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5066
5067 fi
5068
5069
5070 eval "$wx_cv_use_utf8"
5071
5072 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5073 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5074
5075
5076 enablestring=
5077 defaultval=
5078 if test -z "$defaultval"; then
5079 if test x"$enablestring" = xdisable; then
5080 defaultval=yes
5081 else
5082 defaultval=no
5083 fi
5084 fi
5085
5086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5088 # Check whether --enable-utf8only was given.
5089 if test "${enable_utf8only+set}" = set; then
5090 enableval=$enable_utf8only;
5091 if test "$enableval" = yes; then
5092 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5093 else
5094 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5095 fi
5096
5097 else
5098
5099 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5100
5101 fi
5102
5103
5104 eval "$wx_cv_use_utf8only"
5105
5106 if test x"$enablestring" = xdisable; then
5107 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5108 result=yes
5109 else
5110 result=no
5111 fi
5112 else
5113 result=$wxUSE_UNICODE_UTF8_LOCALE
5114 fi
5115
5116 { echo "$as_me:$LINENO: result: $result" >&5
5117 echo "${ECHO_T}$result" >&6; }
5118
5119
5120 enablestring=
5121 defaultval=
5122 if test -z "$defaultval"; then
5123 if test x"$enablestring" = xdisable; then
5124 defaultval=yes
5125 else
5126 defaultval=no
5127 fi
5128 fi
5129
5130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5132 # Check whether --enable-extended_rtti was given.
5133 if test "${enable_extended_rtti+set}" = set; then
5134 enableval=$enable_extended_rtti;
5135 if test "$enableval" = yes; then
5136 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5137 else
5138 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5139 fi
5140
5141 else
5142
5143 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5144
5145 fi
5146
5147
5148 eval "$wx_cv_use_extended_rtti"
5149
5150 if test x"$enablestring" = xdisable; then
5151 if test $wxUSE_EXTENDED_RTTI = no; then
5152 result=yes
5153 else
5154 result=no
5155 fi
5156 else
5157 result=$wxUSE_EXTENDED_RTTI
5158 fi
5159
5160 { echo "$as_me:$LINENO: result: $result" >&5
5161 echo "${ECHO_T}$result" >&6; }
5162
5163 if test "$USE_OS2" = 1; then
5164 DEFAULT_wxUSE_OMF=no
5165
5166 enablestring=
5167 defaultval=
5168 if test -z "$defaultval"; then
5169 if test x"$enablestring" = xdisable; then
5170 defaultval=yes
5171 else
5172 defaultval=no
5173 fi
5174 fi
5175
5176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5177 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5178 # Check whether --enable-omf was given.
5179 if test "${enable_omf+set}" = set; then
5180 enableval=$enable_omf;
5181 if test "$enableval" = yes; then
5182 wx_cv_use_omf='wxUSE_OMF=yes'
5183 else
5184 wx_cv_use_omf='wxUSE_OMF=no'
5185 fi
5186
5187 else
5188
5189 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5190
5191 fi
5192
5193
5194 eval "$wx_cv_use_omf"
5195
5196 if test x"$enablestring" = xdisable; then
5197 if test $wxUSE_OMF = no; then
5198 result=yes
5199 else
5200 result=no
5201 fi
5202 else
5203 result=$wxUSE_OMF
5204 fi
5205
5206 { echo "$as_me:$LINENO: result: $result" >&5
5207 echo "${ECHO_T}$result" >&6; }
5208
5209 fi
5210
5211
5212 enablestring=disable
5213 defaultval=
5214 if test -z "$defaultval"; then
5215 if test x"$enablestring" = xdisable; then
5216 defaultval=yes
5217 else
5218 defaultval=no
5219 fi
5220 fi
5221
5222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5223 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5224 # Check whether --enable-optimise was given.
5225 if test "${enable_optimise+set}" = set; then
5226 enableval=$enable_optimise;
5227 if test "$enableval" = yes; then
5228 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5229 else
5230 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5231 fi
5232
5233 else
5234
5235 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5236
5237 fi
5238
5239
5240 eval "$wx_cv_use_optimise"
5241
5242 if test x"$enablestring" = xdisable; then
5243 if test $wxUSE_OPTIMISE = no; then
5244 result=yes
5245 else
5246 result=no
5247 fi
5248 else
5249 result=$wxUSE_OPTIMISE
5250 fi
5251
5252 { echo "$as_me:$LINENO: result: $result" >&5
5253 echo "${ECHO_T}$result" >&6; }
5254
5255
5256
5257 enablestring=
5258 defaultval=
5259 if test -z "$defaultval"; then
5260 if test x"$enablestring" = xdisable; then
5261 defaultval=yes
5262 else
5263 defaultval=no
5264 fi
5265 fi
5266
5267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5268 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5269 # Check whether --enable-profile was given.
5270 if test "${enable_profile+set}" = set; then
5271 enableval=$enable_profile;
5272 if test "$enableval" = yes; then
5273 wx_cv_use_profile='wxUSE_PROFILE=yes'
5274 else
5275 wx_cv_use_profile='wxUSE_PROFILE=no'
5276 fi
5277
5278 else
5279
5280 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5281
5282 fi
5283
5284
5285 eval "$wx_cv_use_profile"
5286
5287 if test x"$enablestring" = xdisable; then
5288 if test $wxUSE_PROFILE = no; then
5289 result=yes
5290 else
5291 result=no
5292 fi
5293 else
5294 result=$wxUSE_PROFILE
5295 fi
5296
5297 { echo "$as_me:$LINENO: result: $result" >&5
5298 echo "${ECHO_T}$result" >&6; }
5299
5300
5301 enablestring=
5302 defaultval=
5303 if test -z "$defaultval"; then
5304 if test x"$enablestring" = xdisable; then
5305 defaultval=yes
5306 else
5307 defaultval=no
5308 fi
5309 fi
5310
5311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5313 # Check whether --enable-no_rtti was given.
5314 if test "${enable_no_rtti+set}" = set; then
5315 enableval=$enable_no_rtti;
5316 if test "$enableval" = yes; then
5317 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5318 else
5319 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5320 fi
5321
5322 else
5323
5324 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5325
5326 fi
5327
5328
5329 eval "$wx_cv_use_no_rtti"
5330
5331 if test x"$enablestring" = xdisable; then
5332 if test $wxUSE_NO_RTTI = no; then
5333 result=yes
5334 else
5335 result=no
5336 fi
5337 else
5338 result=$wxUSE_NO_RTTI
5339 fi
5340
5341 { echo "$as_me:$LINENO: result: $result" >&5
5342 echo "${ECHO_T}$result" >&6; }
5343
5344
5345 enablestring=
5346 defaultval=
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5349 defaultval=yes
5350 else
5351 defaultval=no
5352 fi
5353 fi
5354
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5357 # Check whether --enable-no_exceptions was given.
5358 if test "${enable_no_exceptions+set}" = set; then
5359 enableval=$enable_no_exceptions;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5362 else
5363 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5364 fi
5365
5366 else
5367
5368 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5369
5370 fi
5371
5372
5373 eval "$wx_cv_use_no_exceptions"
5374
5375 if test x"$enablestring" = xdisable; then
5376 if test $wxUSE_NO_EXCEPTIONS = no; then
5377 result=yes
5378 else
5379 result=no
5380 fi
5381 else
5382 result=$wxUSE_NO_EXCEPTIONS
5383 fi
5384
5385 { echo "$as_me:$LINENO: result: $result" >&5
5386 echo "${ECHO_T}$result" >&6; }
5387
5388
5389 enablestring=
5390 defaultval=
5391 if test -z "$defaultval"; then
5392 if test x"$enablestring" = xdisable; then
5393 defaultval=yes
5394 else
5395 defaultval=no
5396 fi
5397 fi
5398
5399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5401 # Check whether --enable-permissive was given.
5402 if test "${enable_permissive+set}" = set; then
5403 enableval=$enable_permissive;
5404 if test "$enableval" = yes; then
5405 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5406 else
5407 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5408 fi
5409
5410 else
5411
5412 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5413
5414 fi
5415
5416
5417 eval "$wx_cv_use_permissive"
5418
5419 if test x"$enablestring" = xdisable; then
5420 if test $wxUSE_PERMISSIVE = no; then
5421 result=yes
5422 else
5423 result=no
5424 fi
5425 else
5426 result=$wxUSE_PERMISSIVE
5427 fi
5428
5429 { echo "$as_me:$LINENO: result: $result" >&5
5430 echo "${ECHO_T}$result" >&6; }
5431
5432
5433 enablestring=
5434 defaultval=
5435 if test -z "$defaultval"; then
5436 if test x"$enablestring" = xdisable; then
5437 defaultval=yes
5438 else
5439 defaultval=no
5440 fi
5441 fi
5442
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5445 # Check whether --enable-no_deps was given.
5446 if test "${enable_no_deps+set}" = set; then
5447 enableval=$enable_no_deps;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5450 else
5451 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5452 fi
5453
5454 else
5455
5456 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5457
5458 fi
5459
5460
5461 eval "$wx_cv_use_no_deps"
5462
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_NO_DEPS = no; then
5465 result=yes
5466 else
5467 result=no
5468 fi
5469 else
5470 result=$wxUSE_NO_DEPS
5471 fi
5472
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5475
5476
5477 enablestring=disable
5478 defaultval=
5479 if test -z "$defaultval"; then
5480 if test x"$enablestring" = xdisable; then
5481 defaultval=yes
5482 else
5483 defaultval=no
5484 fi
5485 fi
5486
5487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5489 # Check whether --enable-vararg_macros was given.
5490 if test "${enable_vararg_macros+set}" = set; then
5491 enableval=$enable_vararg_macros;
5492 if test "$enableval" = yes; then
5493 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5494 else
5495 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5496 fi
5497
5498 else
5499
5500 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5501
5502 fi
5503
5504
5505 eval "$wx_cv_use_vararg_macros"
5506
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_VARARG_MACROS = no; then
5509 result=yes
5510 else
5511 result=no
5512 fi
5513 else
5514 result=$wxUSE_VARARG_MACROS
5515 fi
5516
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5519
5520
5521
5522 enablestring=
5523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5525 # Check whether --enable-universal_binary was given.
5526 if test "${enable_universal_binary+set}" = set; then
5527 enableval=$enable_universal_binary;
5528 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5529
5530 else
5531
5532 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5533
5534 fi
5535
5536
5537 eval "$wx_cv_use_universal_binary"
5538
5539 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5540 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5541
5542
5543 enablestring=
5544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5546 # Check whether --enable-macosx_arch was given.
5547 if test "${enable_macosx_arch+set}" = set; then
5548 enableval=$enable_macosx_arch;
5549 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5550
5551 else
5552
5553 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5554
5555 fi
5556
5557
5558 eval "$wx_cv_use_macosx_arch"
5559
5560 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5561 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5562
5563
5564
5565 enablestring=
5566 defaultval=
5567 if test -z "$defaultval"; then
5568 if test x"$enablestring" = xdisable; then
5569 defaultval=yes
5570 else
5571 defaultval=no
5572 fi
5573 fi
5574
5575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5577 # Check whether --enable-compat26 was given.
5578 if test "${enable_compat26+set}" = set; then
5579 enableval=$enable_compat26;
5580 if test "$enableval" = yes; then
5581 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5582 else
5583 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5584 fi
5585
5586 else
5587
5588 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5589
5590 fi
5591
5592
5593 eval "$wx_cv_use_compat26"
5594
5595 if test x"$enablestring" = xdisable; then
5596 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5597 result=yes
5598 else
5599 result=no
5600 fi
5601 else
5602 result=$WXWIN_COMPATIBILITY_2_6
5603 fi
5604
5605 { echo "$as_me:$LINENO: result: $result" >&5
5606 echo "${ECHO_T}$result" >&6; }
5607
5608
5609 enablestring=disable
5610 defaultval=
5611 if test -z "$defaultval"; then
5612 if test x"$enablestring" = xdisable; then
5613 defaultval=yes
5614 else
5615 defaultval=no
5616 fi
5617 fi
5618
5619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5621 # Check whether --enable-compat28 was given.
5622 if test "${enable_compat28+set}" = set; then
5623 enableval=$enable_compat28;
5624 if test "$enableval" = yes; then
5625 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5626 else
5627 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5628 fi
5629
5630 else
5631
5632 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5633
5634 fi
5635
5636
5637 eval "$wx_cv_use_compat28"
5638
5639 if test x"$enablestring" = xdisable; then
5640 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5641 result=yes
5642 else
5643 result=no
5644 fi
5645 else
5646 result=$WXWIN_COMPATIBILITY_2_8
5647 fi
5648
5649 { echo "$as_me:$LINENO: result: $result" >&5
5650 echo "${ECHO_T}$result" >&6; }
5651
5652
5653
5654 enablestring=disable
5655 defaultval=
5656 if test -z "$defaultval"; then
5657 if test x"$enablestring" = xdisable; then
5658 defaultval=yes
5659 else
5660 defaultval=no
5661 fi
5662 fi
5663
5664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5665 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5666 # Check whether --enable-rpath was given.
5667 if test "${enable_rpath+set}" = set; then
5668 enableval=$enable_rpath;
5669 if test "$enableval" = yes; then
5670 wx_cv_use_rpath='wxUSE_RPATH=yes'
5671 else
5672 wx_cv_use_rpath='wxUSE_RPATH=no'
5673 fi
5674
5675 else
5676
5677 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5678
5679 fi
5680
5681
5682 eval "$wx_cv_use_rpath"
5683
5684 if test x"$enablestring" = xdisable; then
5685 if test $wxUSE_RPATH = no; then
5686 result=yes
5687 else
5688 result=no
5689 fi
5690 else
5691 result=$wxUSE_RPATH
5692 fi
5693
5694 { echo "$as_me:$LINENO: result: $result" >&5
5695 echo "${ECHO_T}$result" >&6; }
5696
5697
5698
5699 enablestring=
5700 defaultval=
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5703 defaultval=yes
5704 else
5705 defaultval=no
5706 fi
5707 fi
5708
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5711 # Check whether --enable-objc_uniquifying was given.
5712 if test "${enable_objc_uniquifying+set}" = set; then
5713 enableval=$enable_objc_uniquifying;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5716 else
5717 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5718 fi
5719
5720 else
5721
5722 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5723
5724 fi
5725
5726
5727 eval "$wx_cv_use_objc_uniquifying"
5728
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5731 result=yes
5732 else
5733 result=no
5734 fi
5735 else
5736 result=$wxUSE_OBJC_UNIQUIFYING
5737 fi
5738
5739 { echo "$as_me:$LINENO: result: $result" >&5
5740 echo "${ECHO_T}$result" >&6; }
5741
5742
5743
5744 enablestring=disable
5745 defaultval=
5746 if test -z "$defaultval"; then
5747 if test x"$enablestring" = xdisable; then
5748 defaultval=yes
5749 else
5750 defaultval=no
5751 fi
5752 fi
5753
5754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5755 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5756 # Check whether --enable-visibility was given.
5757 if test "${enable_visibility+set}" = set; then
5758 enableval=$enable_visibility;
5759 if test "$enableval" = yes; then
5760 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5761 else
5762 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5763 fi
5764
5765 else
5766
5767 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5768
5769 fi
5770
5771
5772 eval "$wx_cv_use_visibility"
5773
5774 if test x"$enablestring" = xdisable; then
5775 if test $wxUSE_VISIBILITY = no; then
5776 result=yes
5777 else
5778 result=no
5779 fi
5780 else
5781 result=$wxUSE_VISIBILITY
5782 fi
5783
5784 { echo "$as_me:$LINENO: result: $result" >&5
5785 echo "${ECHO_T}$result" >&6; }
5786
5787
5788 enablestring=disable
5789 defaultval=
5790 if test -z "$defaultval"; then
5791 if test x"$enablestring" = xdisable; then
5792 defaultval=yes
5793 else
5794 defaultval=no
5795 fi
5796 fi
5797
5798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5799 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5800 # Check whether --enable-tls was given.
5801 if test "${enable_tls+set}" = set; then
5802 enableval=$enable_tls;
5803 if test "$enableval" = yes; then
5804 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5805 else
5806 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5807 fi
5808
5809 else
5810
5811 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5812
5813 fi
5814
5815
5816 eval "$wx_cv_use_tls"
5817
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_COMPILER_TLS = no; then
5820 result=yes
5821 else
5822 result=no
5823 fi
5824 else
5825 result=$wxUSE_COMPILER_TLS
5826 fi
5827
5828 { echo "$as_me:$LINENO: result: $result" >&5
5829 echo "${ECHO_T}$result" >&6; }
5830
5831
5832
5833
5834 enablestring=
5835 defaultval=$wxUSE_ALL_FEATURES
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5838 defaultval=yes
5839 else
5840 defaultval=no
5841 fi
5842 fi
5843
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5846 # Check whether --enable-intl was given.
5847 if test "${enable_intl+set}" = set; then
5848 enableval=$enable_intl;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_intl='wxUSE_INTL=yes'
5851 else
5852 wx_cv_use_intl='wxUSE_INTL=no'
5853 fi
5854
5855 else
5856
5857 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5858
5859 fi
5860
5861
5862 eval "$wx_cv_use_intl"
5863
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_INTL = no; then
5866 result=yes
5867 else
5868 result=no
5869 fi
5870 else
5871 result=$wxUSE_INTL
5872 fi
5873
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5876
5877
5878 enablestring=
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5882 defaultval=yes
5883 else
5884 defaultval=no
5885 fi
5886 fi
5887
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5890 # Check whether --enable-xlocale was given.
5891 if test "${enable_xlocale+set}" = set; then
5892 enableval=$enable_xlocale;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5895 else
5896 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5897 fi
5898
5899 else
5900
5901 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5902
5903 fi
5904
5905
5906 eval "$wx_cv_use_xlocale"
5907
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_XLOCALE = no; then
5910 result=yes
5911 else
5912 result=no
5913 fi
5914 else
5915 result=$wxUSE_XLOCALE
5916 fi
5917
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5920
5921
5922 enablestring=
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5926 defaultval=yes
5927 else
5928 defaultval=no
5929 fi
5930 fi
5931
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5934 # Check whether --enable-config was given.
5935 if test "${enable_config+set}" = set; then
5936 enableval=$enable_config;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_config='wxUSE_CONFIG=yes'
5939 else
5940 wx_cv_use_config='wxUSE_CONFIG=no'
5941 fi
5942
5943 else
5944
5945 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5946
5947 fi
5948
5949
5950 eval "$wx_cv_use_config"
5951
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_CONFIG = no; then
5954 result=yes
5955 else
5956 result=no
5957 fi
5958 else
5959 result=$wxUSE_CONFIG
5960 fi
5961
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5964
5965
5966
5967 enablestring=
5968 defaultval=$wxUSE_ALL_FEATURES
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5971 defaultval=yes
5972 else
5973 defaultval=no
5974 fi
5975 fi
5976
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5979 # Check whether --enable-protocols was given.
5980 if test "${enable_protocols+set}" = set; then
5981 enableval=$enable_protocols;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5984 else
5985 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5986 fi
5987
5988 else
5989
5990 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5991
5992 fi
5993
5994
5995 eval "$wx_cv_use_protocols"
5996
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_PROTOCOL = no; then
5999 result=yes
6000 else
6001 result=no
6002 fi
6003 else
6004 result=$wxUSE_PROTOCOL
6005 fi
6006
6007 { echo "$as_me:$LINENO: result: $result" >&5
6008 echo "${ECHO_T}$result" >&6; }
6009
6010
6011 enablestring=
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6015 defaultval=yes
6016 else
6017 defaultval=no
6018 fi
6019 fi
6020
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6023 # Check whether --enable-ftp was given.
6024 if test "${enable_ftp+set}" = set; then
6025 enableval=$enable_ftp;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6028 else
6029 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6030 fi
6031
6032 else
6033
6034 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6035
6036 fi
6037
6038
6039 eval "$wx_cv_use_ftp"
6040
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_PROTOCOL_FTP = no; then
6043 result=yes
6044 else
6045 result=no
6046 fi
6047 else
6048 result=$wxUSE_PROTOCOL_FTP
6049 fi
6050
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6053
6054
6055 enablestring=
6056 defaultval=$wxUSE_ALL_FEATURES
6057 if test -z "$defaultval"; then
6058 if test x"$enablestring" = xdisable; then
6059 defaultval=yes
6060 else
6061 defaultval=no
6062 fi
6063 fi
6064
6065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6067 # Check whether --enable-http was given.
6068 if test "${enable_http+set}" = set; then
6069 enableval=$enable_http;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6072 else
6073 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6074 fi
6075
6076 else
6077
6078 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6079
6080 fi
6081
6082
6083 eval "$wx_cv_use_http"
6084
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_PROTOCOL_HTTP = no; then
6087 result=yes
6088 else
6089 result=no
6090 fi
6091 else
6092 result=$wxUSE_PROTOCOL_HTTP
6093 fi
6094
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6097
6098
6099 enablestring=
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6103 defaultval=yes
6104 else
6105 defaultval=no
6106 fi
6107 fi
6108
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6111 # Check whether --enable-fileproto was given.
6112 if test "${enable_fileproto+set}" = set; then
6113 enableval=$enable_fileproto;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6116 else
6117 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6118 fi
6119
6120 else
6121
6122 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6123
6124 fi
6125
6126
6127 eval "$wx_cv_use_fileproto"
6128
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_PROTOCOL_FILE = no; then
6131 result=yes
6132 else
6133 result=no
6134 fi
6135 else
6136 result=$wxUSE_PROTOCOL_FILE
6137 fi
6138
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6141
6142
6143 enablestring=
6144 defaultval=$wxUSE_ALL_FEATURES
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6147 defaultval=yes
6148 else
6149 defaultval=no
6150 fi
6151 fi
6152
6153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6155 # Check whether --enable-sockets was given.
6156 if test "${enable_sockets+set}" = set; then
6157 enableval=$enable_sockets;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6160 else
6161 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6162 fi
6163
6164 else
6165
6166 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6167
6168 fi
6169
6170
6171 eval "$wx_cv_use_sockets"
6172
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_SOCKETS = no; then
6175 result=yes
6176 else
6177 result=no
6178 fi
6179 else
6180 result=$wxUSE_SOCKETS
6181 fi
6182
6183 { echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6; }
6185
6186
6187 enablestring=
6188 defaultval=$wxUSE_ALL_FEATURES
6189 if test -z "$defaultval"; then
6190 if test x"$enablestring" = xdisable; then
6191 defaultval=yes
6192 else
6193 defaultval=no
6194 fi
6195 fi
6196
6197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6199 # Check whether --enable-ipv6 was given.
6200 if test "${enable_ipv6+set}" = set; then
6201 enableval=$enable_ipv6;
6202 if test "$enableval" = yes; then
6203 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6204 else
6205 wx_cv_use_ipv6='wxUSE_IPV6=no'
6206 fi
6207
6208 else
6209
6210 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6211
6212 fi
6213
6214
6215 eval "$wx_cv_use_ipv6"
6216
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_IPV6 = no; then
6219 result=yes
6220 else
6221 result=no
6222 fi
6223 else
6224 result=$wxUSE_IPV6
6225 fi
6226
6227 { echo "$as_me:$LINENO: result: $result" >&5
6228 echo "${ECHO_T}$result" >&6; }
6229
6230
6231 enablestring=
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6235 defaultval=yes
6236 else
6237 defaultval=no
6238 fi
6239 fi
6240
6241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6243 # Check whether --enable-ole was given.
6244 if test "${enable_ole+set}" = set; then
6245 enableval=$enable_ole;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_ole='wxUSE_OLE=yes'
6248 else
6249 wx_cv_use_ole='wxUSE_OLE=no'
6250 fi
6251
6252 else
6253
6254 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6255
6256 fi
6257
6258
6259 eval "$wx_cv_use_ole"
6260
6261 if test x"$enablestring" = xdisable; then
6262 if test $wxUSE_OLE = no; then
6263 result=yes
6264 else
6265 result=no
6266 fi
6267 else
6268 result=$wxUSE_OLE
6269 fi
6270
6271 { echo "$as_me:$LINENO: result: $result" >&5
6272 echo "${ECHO_T}$result" >&6; }
6273
6274
6275 enablestring=
6276 defaultval=$wxUSE_ALL_FEATURES
6277 if test -z "$defaultval"; then
6278 if test x"$enablestring" = xdisable; then
6279 defaultval=yes
6280 else
6281 defaultval=no
6282 fi
6283 fi
6284
6285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6286 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6287 # Check whether --enable-dataobj was given.
6288 if test "${enable_dataobj+set}" = set; then
6289 enableval=$enable_dataobj;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6292 else
6293 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6294 fi
6295
6296 else
6297
6298 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6299
6300 fi
6301
6302
6303 eval "$wx_cv_use_dataobj"
6304
6305 if test x"$enablestring" = xdisable; then
6306 if test $wxUSE_DATAOBJ = no; then
6307 result=yes
6308 else
6309 result=no
6310 fi
6311 else
6312 result=$wxUSE_DATAOBJ
6313 fi
6314
6315 { echo "$as_me:$LINENO: result: $result" >&5
6316 echo "${ECHO_T}$result" >&6; }
6317
6318
6319
6320 enablestring=
6321 defaultval=$wxUSE_ALL_FEATURES
6322 if test -z "$defaultval"; then
6323 if test x"$enablestring" = xdisable; then
6324 defaultval=yes
6325 else
6326 defaultval=no
6327 fi
6328 fi
6329
6330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6332 # Check whether --enable-ipc was given.
6333 if test "${enable_ipc+set}" = set; then
6334 enableval=$enable_ipc;
6335 if test "$enableval" = yes; then
6336 wx_cv_use_ipc='wxUSE_IPC=yes'
6337 else
6338 wx_cv_use_ipc='wxUSE_IPC=no'
6339 fi
6340
6341 else
6342
6343 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6344
6345 fi
6346
6347
6348 eval "$wx_cv_use_ipc"
6349
6350 if test x"$enablestring" = xdisable; then
6351 if test $wxUSE_IPC = no; then
6352 result=yes
6353 else
6354 result=no
6355 fi
6356 else
6357 result=$wxUSE_IPC
6358 fi
6359
6360 { echo "$as_me:$LINENO: result: $result" >&5
6361 echo "${ECHO_T}$result" >&6; }
6362
6363
6364
6365 enablestring=
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6369 defaultval=yes
6370 else
6371 defaultval=no
6372 fi
6373 fi
6374
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6377 # Check whether --enable-baseevtloop was given.
6378 if test "${enable_baseevtloop+set}" = set; then
6379 enableval=$enable_baseevtloop;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6382 else
6383 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6384 fi
6385
6386 else
6387
6388 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6389
6390 fi
6391
6392
6393 eval "$wx_cv_use_baseevtloop"
6394
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6397 result=yes
6398 else
6399 result=no
6400 fi
6401 else
6402 result=$wxUSE_CONSOLE_EVENTLOOP
6403 fi
6404
6405 { echo "$as_me:$LINENO: result: $result" >&5
6406 echo "${ECHO_T}$result" >&6; }
6407
6408
6409 enablestring=
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6413 defaultval=yes
6414 else
6415 defaultval=no
6416 fi
6417 fi
6418
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6421 # Check whether --enable-epollloop was given.
6422 if test "${enable_epollloop+set}" = set; then
6423 enableval=$enable_epollloop;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6426 else
6427 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6428 fi
6429
6430 else
6431
6432 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6433
6434 fi
6435
6436
6437 eval "$wx_cv_use_epollloop"
6438
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_EPOLL_DISPATCHER = no; then
6441 result=yes
6442 else
6443 result=no
6444 fi
6445 else
6446 result=$wxUSE_EPOLL_DISPATCHER
6447 fi
6448
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6451
6452
6453 enablestring=
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6457 defaultval=yes
6458 else
6459 defaultval=no
6460 fi
6461 fi
6462
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6465 # Check whether --enable-selectloop was given.
6466 if test "${enable_selectloop+set}" = set; then
6467 enableval=$enable_selectloop;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6470 else
6471 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6472 fi
6473
6474 else
6475
6476 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6477
6478 fi
6479
6480
6481 eval "$wx_cv_use_selectloop"
6482
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_SELECT_DISPATCHER = no; then
6485 result=yes
6486 else
6487 result=no
6488 fi
6489 else
6490 result=$wxUSE_SELECT_DISPATCHER
6491 fi
6492
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6495
6496
6497
6498 enablestring=
6499 defaultval=$wxUSE_ALL_FEATURES
6500 if test -z "$defaultval"; then
6501 if test x"$enablestring" = xdisable; then
6502 defaultval=yes
6503 else
6504 defaultval=no
6505 fi
6506 fi
6507
6508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6510 # Check whether --enable-any was given.
6511 if test "${enable_any+set}" = set; then
6512 enableval=$enable_any;
6513 if test "$enableval" = yes; then
6514 wx_cv_use_any='wxUSE_ANY=yes'
6515 else
6516 wx_cv_use_any='wxUSE_ANY=no'
6517 fi
6518
6519 else
6520
6521 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6522
6523 fi
6524
6525
6526 eval "$wx_cv_use_any"
6527
6528 if test x"$enablestring" = xdisable; then
6529 if test $wxUSE_ANY = no; then
6530 result=yes
6531 else
6532 result=no
6533 fi
6534 else
6535 result=$wxUSE_ANY
6536 fi
6537
6538 { echo "$as_me:$LINENO: result: $result" >&5
6539 echo "${ECHO_T}$result" >&6; }
6540
6541
6542 enablestring=
6543 defaultval=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x"$enablestring" = xdisable; then
6546 defaultval=yes
6547 else
6548 defaultval=no
6549 fi
6550 fi
6551
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6554 # Check whether --enable-apple_ieee was given.
6555 if test "${enable_apple_ieee+set}" = set; then
6556 enableval=$enable_apple_ieee;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6559 else
6560 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6561 fi
6562
6563 else
6564
6565 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6566
6567 fi
6568
6569
6570 eval "$wx_cv_use_apple_ieee"
6571
6572 if test x"$enablestring" = xdisable; then
6573 if test $wxUSE_APPLE_IEEE = no; then
6574 result=yes
6575 else
6576 result=no
6577 fi
6578 else
6579 result=$wxUSE_APPLE_IEEE
6580 fi
6581
6582 { echo "$as_me:$LINENO: result: $result" >&5
6583 echo "${ECHO_T}$result" >&6; }
6584
6585
6586 enablestring=
6587 defaultval=$wxUSE_ALL_FEATURES
6588 if test -z "$defaultval"; then
6589 if test x"$enablestring" = xdisable; then
6590 defaultval=yes
6591 else
6592 defaultval=no
6593 fi
6594 fi
6595
6596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6598 # Check whether --enable-arcstream was given.
6599 if test "${enable_arcstream+set}" = set; then
6600 enableval=$enable_arcstream;
6601 if test "$enableval" = yes; then
6602 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6603 else
6604 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6605 fi
6606
6607 else
6608
6609 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6610
6611 fi
6612
6613
6614 eval "$wx_cv_use_arcstream"
6615
6616 if test x"$enablestring" = xdisable; then
6617 if test $wxUSE_ARCHIVE_STREAMS = no; then
6618 result=yes
6619 else
6620 result=no
6621 fi
6622 else
6623 result=$wxUSE_ARCHIVE_STREAMS
6624 fi
6625
6626 { echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6; }
6628
6629
6630 enablestring=
6631 defaultval=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x"$enablestring" = xdisable; then
6634 defaultval=yes
6635 else
6636 defaultval=no
6637 fi
6638 fi
6639
6640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6642 # Check whether --enable-base64 was given.
6643 if test "${enable_base64+set}" = set; then
6644 enableval=$enable_base64;
6645 if test "$enableval" = yes; then
6646 wx_cv_use_base64='wxUSE_BASE64=yes'
6647 else
6648 wx_cv_use_base64='wxUSE_BASE64=no'
6649 fi
6650
6651 else
6652
6653 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6654
6655 fi
6656
6657
6658 eval "$wx_cv_use_base64"
6659
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_BASE64 = no; then
6662 result=yes
6663 else
6664 result=no
6665 fi
6666 else
6667 result=$wxUSE_BASE64
6668 fi
6669
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6672
6673
6674 enablestring=
6675 defaultval=$wxUSE_ALL_FEATURES
6676 if test -z "$defaultval"; then
6677 if test x"$enablestring" = xdisable; then
6678 defaultval=yes
6679 else
6680 defaultval=no
6681 fi
6682 fi
6683
6684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6686 # Check whether --enable-backtrace was given.
6687 if test "${enable_backtrace+set}" = set; then
6688 enableval=$enable_backtrace;
6689 if test "$enableval" = yes; then
6690 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6691 else
6692 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6693 fi
6694
6695 else
6696
6697 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6698
6699 fi
6700
6701
6702 eval "$wx_cv_use_backtrace"
6703
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_STACKWALKER = no; then
6706 result=yes
6707 else
6708 result=no
6709 fi
6710 else
6711 result=$wxUSE_STACKWALKER
6712 fi
6713
6714 { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6716
6717
6718 enablestring=
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6722 defaultval=yes
6723 else
6724 defaultval=no
6725 fi
6726 fi
6727
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6730 # Check whether --enable-catch_segvs was given.
6731 if test "${enable_catch_segvs+set}" = set; then
6732 enableval=$enable_catch_segvs;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6735 else
6736 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6737 fi
6738
6739 else
6740
6741 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6742
6743 fi
6744
6745
6746 eval "$wx_cv_use_catch_segvs"
6747
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6750 result=yes
6751 else
6752 result=no
6753 fi
6754 else
6755 result=$wxUSE_ON_FATAL_EXCEPTION
6756 fi
6757
6758 { echo "$as_me:$LINENO: result: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6760
6761
6762 enablestring=
6763 defaultval=$wxUSE_ALL_FEATURES
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6766 defaultval=yes
6767 else
6768 defaultval=no
6769 fi
6770 fi
6771
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6774 # Check whether --enable-cmdline was given.
6775 if test "${enable_cmdline+set}" = set; then
6776 enableval=$enable_cmdline;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6779 else
6780 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6781 fi
6782
6783 else
6784
6785 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6786
6787 fi
6788
6789
6790 eval "$wx_cv_use_cmdline"
6791
6792 if test x"$enablestring" = xdisable; then
6793 if test $wxUSE_CMDLINE_PARSER = no; then
6794 result=yes
6795 else
6796 result=no
6797 fi
6798 else
6799 result=$wxUSE_CMDLINE_PARSER
6800 fi
6801
6802 { echo "$as_me:$LINENO: result: $result" >&5
6803 echo "${ECHO_T}$result" >&6; }
6804
6805
6806 enablestring=
6807 defaultval=$wxUSE_ALL_FEATURES
6808 if test -z "$defaultval"; then
6809 if test x"$enablestring" = xdisable; then
6810 defaultval=yes
6811 else
6812 defaultval=no
6813 fi
6814 fi
6815
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6818 # Check whether --enable-datetime was given.
6819 if test "${enable_datetime+set}" = set; then
6820 enableval=$enable_datetime;
6821 if test "$enableval" = yes; then
6822 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6823 else
6824 wx_cv_use_datetime='wxUSE_DATETIME=no'
6825 fi
6826
6827 else
6828
6829 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6830
6831 fi
6832
6833
6834 eval "$wx_cv_use_datetime"
6835
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_DATETIME = no; then
6838 result=yes
6839 else
6840 result=no
6841 fi
6842 else
6843 result=$wxUSE_DATETIME
6844 fi
6845
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6848
6849
6850 enablestring=
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6854 defaultval=yes
6855 else
6856 defaultval=no
6857 fi
6858 fi
6859
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6862 # Check whether --enable-debugreport was given.
6863 if test "${enable_debugreport+set}" = set; then
6864 enableval=$enable_debugreport;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6867 else
6868 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6869 fi
6870
6871 else
6872
6873 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6874
6875 fi
6876
6877
6878 eval "$wx_cv_use_debugreport"
6879
6880 if test x"$enablestring" = xdisable; then
6881 if test $wxUSE_DEBUGREPORT = no; then
6882 result=yes
6883 else
6884 result=no
6885 fi
6886 else
6887 result=$wxUSE_DEBUGREPORT
6888 fi
6889
6890 { echo "$as_me:$LINENO: result: $result" >&5
6891 echo "${ECHO_T}$result" >&6; }
6892
6893
6894 enablestring=
6895 defaultval=$wxUSE_ALL_FEATURES
6896 if test -z "$defaultval"; then
6897 if test x"$enablestring" = xdisable; then
6898 defaultval=yes
6899 else
6900 defaultval=no
6901 fi
6902 fi
6903
6904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6906 # Check whether --enable-dialupman was given.
6907 if test "${enable_dialupman+set}" = set; then
6908 enableval=$enable_dialupman;
6909 if test "$enableval" = yes; then
6910 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6911 else
6912 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6913 fi
6914
6915 else
6916
6917 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6918
6919 fi
6920
6921
6922 eval "$wx_cv_use_dialupman"
6923
6924 if test x"$enablestring" = xdisable; then
6925 if test $wxUSE_DIALUP_MANAGER = no; then
6926 result=yes
6927 else
6928 result=no
6929 fi
6930 else
6931 result=$wxUSE_DIALUP_MANAGER
6932 fi
6933
6934 { echo "$as_me:$LINENO: result: $result" >&5
6935 echo "${ECHO_T}$result" >&6; }
6936
6937
6938 enablestring=
6939 defaultval=$wxUSE_ALL_FEATURES
6940 if test -z "$defaultval"; then
6941 if test x"$enablestring" = xdisable; then
6942 defaultval=yes
6943 else
6944 defaultval=no
6945 fi
6946 fi
6947
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6950 # Check whether --enable-dynlib was given.
6951 if test "${enable_dynlib+set}" = set; then
6952 enableval=$enable_dynlib;
6953 if test "$enableval" = yes; then
6954 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6955 else
6956 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6957 fi
6958
6959 else
6960
6961 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6962
6963 fi
6964
6965
6966 eval "$wx_cv_use_dynlib"
6967
6968 if test x"$enablestring" = xdisable; then
6969 if test $wxUSE_DYNLIB_CLASS = no; then
6970 result=yes
6971 else
6972 result=no
6973 fi
6974 else
6975 result=$wxUSE_DYNLIB_CLASS
6976 fi
6977
6978 { echo "$as_me:$LINENO: result: $result" >&5
6979 echo "${ECHO_T}$result" >&6; }
6980
6981
6982 enablestring=
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6986 defaultval=yes
6987 else
6988 defaultval=no
6989 fi
6990 fi
6991
6992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6994 # Check whether --enable-dynamicloader was given.
6995 if test "${enable_dynamicloader+set}" = set; then
6996 enableval=$enable_dynamicloader;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6999 else
7000 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7001 fi
7002
7003 else
7004
7005 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7006
7007 fi
7008
7009
7010 eval "$wx_cv_use_dynamicloader"
7011
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_DYNAMIC_LOADER = no; then
7014 result=yes
7015 else
7016 result=no
7017 fi
7018 else
7019 result=$wxUSE_DYNAMIC_LOADER
7020 fi
7021
7022 { echo "$as_me:$LINENO: result: $result" >&5
7023 echo "${ECHO_T}$result" >&6; }
7024
7025
7026 enablestring=
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7030 defaultval=yes
7031 else
7032 defaultval=no
7033 fi
7034 fi
7035
7036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7038 # Check whether --enable-exceptions was given.
7039 if test "${enable_exceptions+set}" = set; then
7040 enableval=$enable_exceptions;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7043 else
7044 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7045 fi
7046
7047 else
7048
7049 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7050
7051 fi
7052
7053
7054 eval "$wx_cv_use_exceptions"
7055
7056 if test x"$enablestring" = xdisable; then
7057 if test $wxUSE_EXCEPTIONS = no; then
7058 result=yes
7059 else
7060 result=no
7061 fi
7062 else
7063 result=$wxUSE_EXCEPTIONS
7064 fi
7065
7066 { echo "$as_me:$LINENO: result: $result" >&5
7067 echo "${ECHO_T}$result" >&6; }
7068
7069
7070 enablestring=
7071 defaultval=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x"$enablestring" = xdisable; then
7074 defaultval=yes
7075 else
7076 defaultval=no
7077 fi
7078 fi
7079
7080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7082 # Check whether --enable-ffile was given.
7083 if test "${enable_ffile+set}" = set; then
7084 enableval=$enable_ffile;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_ffile='wxUSE_FFILE=yes'
7087 else
7088 wx_cv_use_ffile='wxUSE_FFILE=no'
7089 fi
7090
7091 else
7092
7093 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7094
7095 fi
7096
7097
7098 eval "$wx_cv_use_ffile"
7099
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_FFILE = no; then
7102 result=yes
7103 else
7104 result=no
7105 fi
7106 else
7107 result=$wxUSE_FFILE
7108 fi
7109
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7112
7113
7114 enablestring=
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7118 defaultval=yes
7119 else
7120 defaultval=no
7121 fi
7122 fi
7123
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7126 # Check whether --enable-file was given.
7127 if test "${enable_file+set}" = set; then
7128 enableval=$enable_file;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_file='wxUSE_FILE=yes'
7131 else
7132 wx_cv_use_file='wxUSE_FILE=no'
7133 fi
7134
7135 else
7136
7137 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7138
7139 fi
7140
7141
7142 eval "$wx_cv_use_file"
7143
7144 if test x"$enablestring" = xdisable; then
7145 if test $wxUSE_FILE = no; then
7146 result=yes
7147 else
7148 result=no
7149 fi
7150 else
7151 result=$wxUSE_FILE
7152 fi
7153
7154 { echo "$as_me:$LINENO: result: $result" >&5
7155 echo "${ECHO_T}$result" >&6; }
7156
7157
7158 enablestring=
7159 defaultval=$wxUSE_ALL_FEATURES
7160 if test -z "$defaultval"; then
7161 if test x"$enablestring" = xdisable; then
7162 defaultval=yes
7163 else
7164 defaultval=no
7165 fi
7166 fi
7167
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7170 # Check whether --enable-filehistory was given.
7171 if test "${enable_filehistory+set}" = set; then
7172 enableval=$enable_filehistory;
7173 if test "$enableval" = yes; then
7174 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7175 else
7176 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7177 fi
7178
7179 else
7180
7181 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7182
7183 fi
7184
7185
7186 eval "$wx_cv_use_filehistory"
7187
7188 if test x"$enablestring" = xdisable; then
7189 if test $wxUSE_FILE_HISTORY = no; then
7190 result=yes
7191 else
7192 result=no
7193 fi
7194 else
7195 result=$wxUSE_FILE_HISTORY
7196 fi
7197
7198 { echo "$as_me:$LINENO: result: $result" >&5
7199 echo "${ECHO_T}$result" >&6; }
7200
7201
7202 enablestring=
7203 defaultval=$wxUSE_ALL_FEATURES
7204 if test -z "$defaultval"; then
7205 if test x"$enablestring" = xdisable; then
7206 defaultval=yes
7207 else
7208 defaultval=no
7209 fi
7210 fi
7211
7212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7214 # Check whether --enable-filesystem was given.
7215 if test "${enable_filesystem+set}" = set; then
7216 enableval=$enable_filesystem;
7217 if test "$enableval" = yes; then
7218 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7219 else
7220 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7221 fi
7222
7223 else
7224
7225 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7226
7227 fi
7228
7229
7230 eval "$wx_cv_use_filesystem"
7231
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_FILESYSTEM = no; then
7234 result=yes
7235 else
7236 result=no
7237 fi
7238 else
7239 result=$wxUSE_FILESYSTEM
7240 fi
7241
7242 { echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6; }
7244
7245
7246 enablestring=
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7250 defaultval=yes
7251 else
7252 defaultval=no
7253 fi
7254 fi
7255
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7258 # Check whether --enable-fontenum was given.
7259 if test "${enable_fontenum+set}" = set; then
7260 enableval=$enable_fontenum;
7261 if test "$enableval" = yes; then
7262 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7263 else
7264 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7265 fi
7266
7267 else
7268
7269 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7270
7271 fi
7272
7273
7274 eval "$wx_cv_use_fontenum"
7275
7276 if test x"$enablestring" = xdisable; then
7277 if test $wxUSE_FONTENUM = no; then
7278 result=yes
7279 else
7280 result=no
7281 fi
7282 else
7283 result=$wxUSE_FONTENUM
7284 fi
7285
7286 { echo "$as_me:$LINENO: result: $result" >&5
7287 echo "${ECHO_T}$result" >&6; }
7288
7289
7290 enablestring=
7291 defaultval=$wxUSE_ALL_FEATURES
7292 if test -z "$defaultval"; then
7293 if test x"$enablestring" = xdisable; then
7294 defaultval=yes
7295 else
7296 defaultval=no
7297 fi
7298 fi
7299
7300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7302 # Check whether --enable-fontmap was given.
7303 if test "${enable_fontmap+set}" = set; then
7304 enableval=$enable_fontmap;
7305 if test "$enableval" = yes; then
7306 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7307 else
7308 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7309 fi
7310
7311 else
7312
7313 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7314
7315 fi
7316
7317
7318 eval "$wx_cv_use_fontmap"
7319
7320 if test x"$enablestring" = xdisable; then
7321 if test $wxUSE_FONTMAP = no; then
7322 result=yes
7323 else
7324 result=no
7325 fi
7326 else
7327 result=$wxUSE_FONTMAP
7328 fi
7329
7330 { echo "$as_me:$LINENO: result: $result" >&5
7331 echo "${ECHO_T}$result" >&6; }
7332
7333
7334 enablestring=
7335 defaultval=$wxUSE_ALL_FEATURES
7336 if test -z "$defaultval"; then
7337 if test x"$enablestring" = xdisable; then
7338 defaultval=yes
7339 else
7340 defaultval=no
7341 fi
7342 fi
7343
7344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7346 # Check whether --enable-fs_archive was given.
7347 if test "${enable_fs_archive+set}" = set; then
7348 enableval=$enable_fs_archive;
7349 if test "$enableval" = yes; then
7350 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7351 else
7352 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7353 fi
7354
7355 else
7356
7357 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7358
7359 fi
7360
7361
7362 eval "$wx_cv_use_fs_archive"
7363
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_FS_ARCHIVE = no; then
7366 result=yes
7367 else
7368 result=no
7369 fi
7370 else
7371 result=$wxUSE_FS_ARCHIVE
7372 fi
7373
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7376
7377
7378 enablestring=
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7382 defaultval=yes
7383 else
7384 defaultval=no
7385 fi
7386 fi
7387
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7390 # Check whether --enable-fs_inet was given.
7391 if test "${enable_fs_inet+set}" = set; then
7392 enableval=$enable_fs_inet;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7395 else
7396 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7397 fi
7398
7399 else
7400
7401 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7402
7403 fi
7404
7405
7406 eval "$wx_cv_use_fs_inet"
7407
7408 if test x"$enablestring" = xdisable; then
7409 if test $wxUSE_FS_INET = no; then
7410 result=yes
7411 else
7412 result=no
7413 fi
7414 else
7415 result=$wxUSE_FS_INET
7416 fi
7417
7418 { echo "$as_me:$LINENO: result: $result" >&5
7419 echo "${ECHO_T}$result" >&6; }
7420
7421
7422 enablestring=
7423 defaultval=$wxUSE_ALL_FEATURES
7424 if test -z "$defaultval"; then
7425 if test x"$enablestring" = xdisable; then
7426 defaultval=yes
7427 else
7428 defaultval=no
7429 fi
7430 fi
7431
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7434 # Check whether --enable-fs_zip was given.
7435 if test "${enable_fs_zip+set}" = set; then
7436 enableval=$enable_fs_zip;
7437 if test "$enableval" = yes; then
7438 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7439 else
7440 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7441 fi
7442
7443 else
7444
7445 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7446
7447 fi
7448
7449
7450 eval "$wx_cv_use_fs_zip"
7451
7452 if test x"$enablestring" = xdisable; then
7453 if test $wxUSE_FS_ZIP = no; then
7454 result=yes
7455 else
7456 result=no
7457 fi
7458 else
7459 result=$wxUSE_FS_ZIP
7460 fi
7461
7462 { echo "$as_me:$LINENO: result: $result" >&5
7463 echo "${ECHO_T}$result" >&6; }
7464
7465
7466 enablestring=
7467 defaultval=$wxUSE_ALL_FEATURES
7468 if test -z "$defaultval"; then
7469 if test x"$enablestring" = xdisable; then
7470 defaultval=yes
7471 else
7472 defaultval=no
7473 fi
7474 fi
7475
7476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7478 # Check whether --enable-fswatcher was given.
7479 if test "${enable_fswatcher+set}" = set; then
7480 enableval=$enable_fswatcher;
7481 if test "$enableval" = yes; then
7482 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7483 else
7484 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7485 fi
7486
7487 else
7488
7489 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7490
7491 fi
7492
7493
7494 eval "$wx_cv_use_fswatcher"
7495
7496 if test x"$enablestring" = xdisable; then
7497 if test $wxUSE_FSWATCHER = no; then
7498 result=yes
7499 else
7500 result=no
7501 fi
7502 else
7503 result=$wxUSE_FSWATCHER
7504 fi
7505
7506 { echo "$as_me:$LINENO: result: $result" >&5
7507 echo "${ECHO_T}$result" >&6; }
7508
7509
7510 enablestring=
7511 defaultval=$wxUSE_ALL_FEATURES
7512 if test -z "$defaultval"; then
7513 if test x"$enablestring" = xdisable; then
7514 defaultval=yes
7515 else
7516 defaultval=no
7517 fi
7518 fi
7519
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7522 # Check whether --enable-geometry was given.
7523 if test "${enable_geometry+set}" = set; then
7524 enableval=$enable_geometry;
7525 if test "$enableval" = yes; then
7526 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7527 else
7528 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7529 fi
7530
7531 else
7532
7533 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7534
7535 fi
7536
7537
7538 eval "$wx_cv_use_geometry"
7539
7540 if test x"$enablestring" = xdisable; then
7541 if test $wxUSE_GEOMETRY = no; then
7542 result=yes
7543 else
7544 result=no
7545 fi
7546 else
7547 result=$wxUSE_GEOMETRY
7548 fi
7549
7550 { echo "$as_me:$LINENO: result: $result" >&5
7551 echo "${ECHO_T}$result" >&6; }
7552
7553
7554 enablestring=
7555 defaultval=$wxUSE_ALL_FEATURES
7556 if test -z "$defaultval"; then
7557 if test x"$enablestring" = xdisable; then
7558 defaultval=yes
7559 else
7560 defaultval=no
7561 fi
7562 fi
7563
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7566 # Check whether --enable-log was given.
7567 if test "${enable_log+set}" = set; then
7568 enableval=$enable_log;
7569 if test "$enableval" = yes; then
7570 wx_cv_use_log='wxUSE_LOG=yes'
7571 else
7572 wx_cv_use_log='wxUSE_LOG=no'
7573 fi
7574
7575 else
7576
7577 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7578
7579 fi
7580
7581
7582 eval "$wx_cv_use_log"
7583
7584 if test x"$enablestring" = xdisable; then
7585 if test $wxUSE_LOG = no; then
7586 result=yes
7587 else
7588 result=no
7589 fi
7590 else
7591 result=$wxUSE_LOG
7592 fi
7593
7594 { echo "$as_me:$LINENO: result: $result" >&5
7595 echo "${ECHO_T}$result" >&6; }
7596
7597
7598 enablestring=
7599 defaultval=$wxUSE_ALL_FEATURES
7600 if test -z "$defaultval"; then
7601 if test x"$enablestring" = xdisable; then
7602 defaultval=yes
7603 else
7604 defaultval=no
7605 fi
7606 fi
7607
7608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7610 # Check whether --enable-longlong was given.
7611 if test "${enable_longlong+set}" = set; then
7612 enableval=$enable_longlong;
7613 if test "$enableval" = yes; then
7614 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7615 else
7616 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7617 fi
7618
7619 else
7620
7621 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7622
7623 fi
7624
7625
7626 eval "$wx_cv_use_longlong"
7627
7628 if test x"$enablestring" = xdisable; then
7629 if test $wxUSE_LONGLONG = no; then
7630 result=yes
7631 else
7632 result=no
7633 fi
7634 else
7635 result=$wxUSE_LONGLONG
7636 fi
7637
7638 { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7640
7641
7642 enablestring=
7643 defaultval=$wxUSE_ALL_FEATURES
7644 if test -z "$defaultval"; then
7645 if test x"$enablestring" = xdisable; then
7646 defaultval=yes
7647 else
7648 defaultval=no
7649 fi
7650 fi
7651
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7654 # Check whether --enable-mimetype was given.
7655 if test "${enable_mimetype+set}" = set; then
7656 enableval=$enable_mimetype;
7657 if test "$enableval" = yes; then
7658 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7659 else
7660 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7661 fi
7662
7663 else
7664
7665 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7666
7667 fi
7668
7669
7670 eval "$wx_cv_use_mimetype"
7671
7672 if test x"$enablestring" = xdisable; then
7673 if test $wxUSE_MIMETYPE = no; then
7674 result=yes
7675 else
7676 result=no
7677 fi
7678 else
7679 result=$wxUSE_MIMETYPE
7680 fi
7681
7682 { echo "$as_me:$LINENO: result: $result" >&5
7683 echo "${ECHO_T}$result" >&6; }
7684
7685
7686 enablestring=
7687 defaultval=$wxUSE_ALL_FEATURES
7688 if test -z "$defaultval"; then
7689 if test x"$enablestring" = xdisable; then
7690 defaultval=yes
7691 else
7692 defaultval=no
7693 fi
7694 fi
7695
7696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7698 # Check whether --enable-printfposparam was given.
7699 if test "${enable_printfposparam+set}" = set; then
7700 enableval=$enable_printfposparam;
7701 if test "$enableval" = yes; then
7702 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7703 else
7704 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7705 fi
7706
7707 else
7708
7709 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7710
7711 fi
7712
7713
7714 eval "$wx_cv_use_printfposparam"
7715
7716 if test x"$enablestring" = xdisable; then
7717 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7718 result=yes
7719 else
7720 result=no
7721 fi
7722 else
7723 result=$wxUSE_PRINTF_POS_PARAMS
7724 fi
7725
7726 { echo "$as_me:$LINENO: result: $result" >&5
7727 echo "${ECHO_T}$result" >&6; }
7728
7729
7730 enablestring=
7731 defaultval=$wxUSE_ALL_FEATURES
7732 if test -z "$defaultval"; then
7733 if test x"$enablestring" = xdisable; then
7734 defaultval=yes
7735 else
7736 defaultval=no
7737 fi
7738 fi
7739
7740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7742 # Check whether --enable-snglinst was given.
7743 if test "${enable_snglinst+set}" = set; then
7744 enableval=$enable_snglinst;
7745 if test "$enableval" = yes; then
7746 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7747 else
7748 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7749 fi
7750
7751 else
7752
7753 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7754
7755 fi
7756
7757
7758 eval "$wx_cv_use_snglinst"
7759
7760 if test x"$enablestring" = xdisable; then
7761 if test $wxUSE_SNGLINST_CHECKER = no; then
7762 result=yes
7763 else
7764 result=no
7765 fi
7766 else
7767 result=$wxUSE_SNGLINST_CHECKER
7768 fi
7769
7770 { echo "$as_me:$LINENO: result: $result" >&5
7771 echo "${ECHO_T}$result" >&6; }
7772
7773
7774 enablestring=
7775 defaultval=$wxUSE_ALL_FEATURES
7776 if test -z "$defaultval"; then
7777 if test x"$enablestring" = xdisable; then
7778 defaultval=yes
7779 else
7780 defaultval=no
7781 fi
7782 fi
7783
7784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7786 # Check whether --enable-sound was given.
7787 if test "${enable_sound+set}" = set; then
7788 enableval=$enable_sound;
7789 if test "$enableval" = yes; then
7790 wx_cv_use_sound='wxUSE_SOUND=yes'
7791 else
7792 wx_cv_use_sound='wxUSE_SOUND=no'
7793 fi
7794
7795 else
7796
7797 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7798
7799 fi
7800
7801
7802 eval "$wx_cv_use_sound"
7803
7804 if test x"$enablestring" = xdisable; then
7805 if test $wxUSE_SOUND = no; then
7806 result=yes
7807 else
7808 result=no
7809 fi
7810 else
7811 result=$wxUSE_SOUND
7812 fi
7813
7814 { echo "$as_me:$LINENO: result: $result" >&5
7815 echo "${ECHO_T}$result" >&6; }
7816
7817
7818 enablestring=
7819 defaultval=$wxUSE_ALL_FEATURES
7820 if test -z "$defaultval"; then
7821 if test x"$enablestring" = xdisable; then
7822 defaultval=yes
7823 else
7824 defaultval=no
7825 fi
7826 fi
7827
7828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7830 # Check whether --enable-stdpaths was given.
7831 if test "${enable_stdpaths+set}" = set; then
7832 enableval=$enable_stdpaths;
7833 if test "$enableval" = yes; then
7834 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7835 else
7836 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7837 fi
7838
7839 else
7840
7841 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7842
7843 fi
7844
7845
7846 eval "$wx_cv_use_stdpaths"
7847
7848 if test x"$enablestring" = xdisable; then
7849 if test $wxUSE_STDPATHS = no; then
7850 result=yes
7851 else
7852 result=no
7853 fi
7854 else
7855 result=$wxUSE_STDPATHS
7856 fi
7857
7858 { echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6; }
7860
7861
7862 enablestring=
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7866 defaultval=yes
7867 else
7868 defaultval=no
7869 fi
7870 fi
7871
7872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7874 # Check whether --enable-stopwatch was given.
7875 if test "${enable_stopwatch+set}" = set; then
7876 enableval=$enable_stopwatch;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7879 else
7880 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7881 fi
7882
7883 else
7884
7885 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7886
7887 fi
7888
7889
7890 eval "$wx_cv_use_stopwatch"
7891
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_STOPWATCH = no; then
7894 result=yes
7895 else
7896 result=no
7897 fi
7898 else
7899 result=$wxUSE_STOPWATCH
7900 fi
7901
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7904
7905
7906 enablestring=
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7910 defaultval=yes
7911 else
7912 defaultval=no
7913 fi
7914 fi
7915
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7918 # Check whether --enable-streams was given.
7919 if test "${enable_streams+set}" = set; then
7920 enableval=$enable_streams;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_streams='wxUSE_STREAMS=yes'
7923 else
7924 wx_cv_use_streams='wxUSE_STREAMS=no'
7925 fi
7926
7927 else
7928
7929 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7930
7931 fi
7932
7933
7934 eval "$wx_cv_use_streams"
7935
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_STREAMS = no; then
7938 result=yes
7939 else
7940 result=no
7941 fi
7942 else
7943 result=$wxUSE_STREAMS
7944 fi
7945
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7948
7949
7950 enablestring=
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7954 defaultval=yes
7955 else
7956 defaultval=no
7957 fi
7958 fi
7959
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7962 # Check whether --enable-sysoptions was given.
7963 if test "${enable_sysoptions+set}" = set; then
7964 enableval=$enable_sysoptions;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7967 else
7968 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7969 fi
7970
7971 else
7972
7973 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7974
7975 fi
7976
7977
7978 eval "$wx_cv_use_sysoptions"
7979
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_SYSTEM_OPTIONS = no; then
7982 result=yes
7983 else
7984 result=no
7985 fi
7986 else
7987 result=$wxUSE_SYSTEM_OPTIONS
7988 fi
7989
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7992
7993
7994 enablestring=
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
7998 defaultval=yes
7999 else
8000 defaultval=no
8001 fi
8002 fi
8003
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8006 # Check whether --enable-tarstream was given.
8007 if test "${enable_tarstream+set}" = set; then
8008 enableval=$enable_tarstream;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8011 else
8012 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8013 fi
8014
8015 else
8016
8017 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8018
8019 fi
8020
8021
8022 eval "$wx_cv_use_tarstream"
8023
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_TARSTREAM = no; then
8026 result=yes
8027 else
8028 result=no
8029 fi
8030 else
8031 result=$wxUSE_TARSTREAM
8032 fi
8033
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8036
8037
8038 enablestring=
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8042 defaultval=yes
8043 else
8044 defaultval=no
8045 fi
8046 fi
8047
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8050 # Check whether --enable-textbuf was given.
8051 if test "${enable_textbuf+set}" = set; then
8052 enableval=$enable_textbuf;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8055 else
8056 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8057 fi
8058
8059 else
8060
8061 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8062
8063 fi
8064
8065
8066 eval "$wx_cv_use_textbuf"
8067
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_TEXTBUFFER = no; then
8070 result=yes
8071 else
8072 result=no
8073 fi
8074 else
8075 result=$wxUSE_TEXTBUFFER
8076 fi
8077
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8080
8081
8082 enablestring=
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8086 defaultval=yes
8087 else
8088 defaultval=no
8089 fi
8090 fi
8091
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8094 # Check whether --enable-textfile was given.
8095 if test "${enable_textfile+set}" = set; then
8096 enableval=$enable_textfile;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8099 else
8100 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8101 fi
8102
8103 else
8104
8105 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8106
8107 fi
8108
8109
8110 eval "$wx_cv_use_textfile"
8111
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_TEXTFILE = no; then
8114 result=yes
8115 else
8116 result=no
8117 fi
8118 else
8119 result=$wxUSE_TEXTFILE
8120 fi
8121
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8124
8125
8126 enablestring=
8127 defaultval=$wxUSE_ALL_FEATURES
8128 if test -z "$defaultval"; then
8129 if test x"$enablestring" = xdisable; then
8130 defaultval=yes
8131 else
8132 defaultval=no
8133 fi
8134 fi
8135
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8138 # Check whether --enable-timer was given.
8139 if test "${enable_timer+set}" = set; then
8140 enableval=$enable_timer;
8141 if test "$enableval" = yes; then
8142 wx_cv_use_timer='wxUSE_TIMER=yes'
8143 else
8144 wx_cv_use_timer='wxUSE_TIMER=no'
8145 fi
8146
8147 else
8148
8149 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8150
8151 fi
8152
8153
8154 eval "$wx_cv_use_timer"
8155
8156 if test x"$enablestring" = xdisable; then
8157 if test $wxUSE_TIMER = no; then
8158 result=yes
8159 else
8160 result=no
8161 fi
8162 else
8163 result=$wxUSE_TIMER
8164 fi
8165
8166 { echo "$as_me:$LINENO: result: $result" >&5
8167 echo "${ECHO_T}$result" >&6; }
8168
8169
8170 enablestring=
8171 defaultval=$wxUSE_ALL_FEATURES
8172 if test -z "$defaultval"; then
8173 if test x"$enablestring" = xdisable; then
8174 defaultval=yes
8175 else
8176 defaultval=no
8177 fi
8178 fi
8179
8180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8182 # Check whether --enable-variant was given.
8183 if test "${enable_variant+set}" = set; then
8184 enableval=$enable_variant;
8185 if test "$enableval" = yes; then
8186 wx_cv_use_variant='wxUSE_VARIANT=yes'
8187 else
8188 wx_cv_use_variant='wxUSE_VARIANT=no'
8189 fi
8190
8191 else
8192
8193 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8194
8195 fi
8196
8197
8198 eval "$wx_cv_use_variant"
8199
8200 if test x"$enablestring" = xdisable; then
8201 if test $wxUSE_VARIANT = no; then
8202 result=yes
8203 else
8204 result=no
8205 fi
8206 else
8207 result=$wxUSE_VARIANT
8208 fi
8209
8210 { echo "$as_me:$LINENO: result: $result" >&5
8211 echo "${ECHO_T}$result" >&6; }
8212
8213
8214 enablestring=
8215 defaultval=$wxUSE_ALL_FEATURES
8216 if test -z "$defaultval"; then
8217 if test x"$enablestring" = xdisable; then
8218 defaultval=yes
8219 else
8220 defaultval=no
8221 fi
8222 fi
8223
8224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8226 # Check whether --enable-zipstream was given.
8227 if test "${enable_zipstream+set}" = set; then
8228 enableval=$enable_zipstream;
8229 if test "$enableval" = yes; then
8230 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8231 else
8232 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8233 fi
8234
8235 else
8236
8237 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8238
8239 fi
8240
8241
8242 eval "$wx_cv_use_zipstream"
8243
8244 if test x"$enablestring" = xdisable; then
8245 if test $wxUSE_ZIPSTREAM = no; then
8246 result=yes
8247 else
8248 result=no
8249 fi
8250 else
8251 result=$wxUSE_ZIPSTREAM
8252 fi
8253
8254 { echo "$as_me:$LINENO: result: $result" >&5
8255 echo "${ECHO_T}$result" >&6; }
8256
8257
8258
8259 enablestring=
8260 defaultval=$wxUSE_ALL_FEATURES
8261 if test -z "$defaultval"; then
8262 if test x"$enablestring" = xdisable; then
8263 defaultval=yes
8264 else
8265 defaultval=no
8266 fi
8267 fi
8268
8269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8270 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8271 # Check whether --enable-url was given.
8272 if test "${enable_url+set}" = set; then
8273 enableval=$enable_url;
8274 if test "$enableval" = yes; then
8275 wx_cv_use_url='wxUSE_URL=yes'
8276 else
8277 wx_cv_use_url='wxUSE_URL=no'
8278 fi
8279
8280 else
8281
8282 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8283
8284 fi
8285
8286
8287 eval "$wx_cv_use_url"
8288
8289 if test x"$enablestring" = xdisable; then
8290 if test $wxUSE_URL = no; then
8291 result=yes
8292 else
8293 result=no
8294 fi
8295 else
8296 result=$wxUSE_URL
8297 fi
8298
8299 { echo "$as_me:$LINENO: result: $result" >&5
8300 echo "${ECHO_T}$result" >&6; }
8301
8302
8303 enablestring=
8304 defaultval=$wxUSE_ALL_FEATURES
8305 if test -z "$defaultval"; then
8306 if test x"$enablestring" = xdisable; then
8307 defaultval=yes
8308 else
8309 defaultval=no
8310 fi
8311 fi
8312
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8315 # Check whether --enable-protocol was given.
8316 if test "${enable_protocol+set}" = set; then
8317 enableval=$enable_protocol;
8318 if test "$enableval" = yes; then
8319 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8320 else
8321 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8322 fi
8323
8324 else
8325
8326 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8327
8328 fi
8329
8330
8331 eval "$wx_cv_use_protocol"
8332
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_PROTOCOL = no; then
8335 result=yes
8336 else
8337 result=no
8338 fi
8339 else
8340 result=$wxUSE_PROTOCOL
8341 fi
8342
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8345
8346
8347 enablestring=
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8351 defaultval=yes
8352 else
8353 defaultval=no
8354 fi
8355 fi
8356
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8359 # Check whether --enable-protocol_http was given.
8360 if test "${enable_protocol_http+set}" = set; then
8361 enableval=$enable_protocol_http;
8362 if test "$enableval" = yes; then
8363 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8364 else
8365 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8366 fi
8367
8368 else
8369
8370 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8371
8372 fi
8373
8374
8375 eval "$wx_cv_use_protocol_http"
8376
8377 if test x"$enablestring" = xdisable; then
8378 if test $wxUSE_PROTOCOL_HTTP = no; then
8379 result=yes
8380 else
8381 result=no
8382 fi
8383 else
8384 result=$wxUSE_PROTOCOL_HTTP
8385 fi
8386
8387 { echo "$as_me:$LINENO: result: $result" >&5
8388 echo "${ECHO_T}$result" >&6; }
8389
8390
8391 enablestring=
8392 defaultval=$wxUSE_ALL_FEATURES
8393 if test -z "$defaultval"; then
8394 if test x"$enablestring" = xdisable; then
8395 defaultval=yes
8396 else
8397 defaultval=no
8398 fi
8399 fi
8400
8401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8403 # Check whether --enable-protocol_ftp was given.
8404 if test "${enable_protocol_ftp+set}" = set; then
8405 enableval=$enable_protocol_ftp;
8406 if test "$enableval" = yes; then
8407 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8408 else
8409 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8410 fi
8411
8412 else
8413
8414 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8415
8416 fi
8417
8418
8419 eval "$wx_cv_use_protocol_ftp"
8420
8421 if test x"$enablestring" = xdisable; then
8422 if test $wxUSE_PROTOCOL_FTP = no; then
8423 result=yes
8424 else
8425 result=no
8426 fi
8427 else
8428 result=$wxUSE_PROTOCOL_FTP
8429 fi
8430
8431 { echo "$as_me:$LINENO: result: $result" >&5
8432 echo "${ECHO_T}$result" >&6; }
8433
8434
8435 enablestring=
8436 defaultval=$wxUSE_ALL_FEATURES
8437 if test -z "$defaultval"; then
8438 if test x"$enablestring" = xdisable; then
8439 defaultval=yes
8440 else
8441 defaultval=no
8442 fi
8443 fi
8444
8445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8447 # Check whether --enable-protocol_file was given.
8448 if test "${enable_protocol_file+set}" = set; then
8449 enableval=$enable_protocol_file;
8450 if test "$enableval" = yes; then
8451 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8452 else
8453 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8454 fi
8455
8456 else
8457
8458 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8459
8460 fi
8461
8462
8463 eval "$wx_cv_use_protocol_file"
8464
8465 if test x"$enablestring" = xdisable; then
8466 if test $wxUSE_PROTOCOL_FILE = no; then
8467 result=yes
8468 else
8469 result=no
8470 fi
8471 else
8472 result=$wxUSE_PROTOCOL_FILE
8473 fi
8474
8475 { echo "$as_me:$LINENO: result: $result" >&5
8476 echo "${ECHO_T}$result" >&6; }
8477
8478
8479
8480 enablestring=
8481 defaultval=$wxUSE_ALL_FEATURES
8482 if test -z "$defaultval"; then
8483 if test x"$enablestring" = xdisable; then
8484 defaultval=yes
8485 else
8486 defaultval=no
8487 fi
8488 fi
8489
8490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8492 # Check whether --enable-threads was given.
8493 if test "${enable_threads+set}" = set; then
8494 enableval=$enable_threads;
8495 if test "$enableval" = yes; then
8496 wx_cv_use_threads='wxUSE_THREADS=yes'
8497 else
8498 wx_cv_use_threads='wxUSE_THREADS=no'
8499 fi
8500
8501 else
8502
8503 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8504
8505 fi
8506
8507
8508 eval "$wx_cv_use_threads"
8509
8510 if test x"$enablestring" = xdisable; then
8511 if test $wxUSE_THREADS = no; then
8512 result=yes
8513 else
8514 result=no
8515 fi
8516 else
8517 result=$wxUSE_THREADS
8518 fi
8519
8520 { echo "$as_me:$LINENO: result: $result" >&5
8521 echo "${ECHO_T}$result" >&6; }
8522
8523
8524
8525 enablestring=
8526 defaultval=
8527 if test -z "$defaultval"; then
8528 if test x"$enablestring" = xdisable; then
8529 defaultval=yes
8530 else
8531 defaultval=no
8532 fi
8533 fi
8534
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8537 # Check whether --enable-iniconf was given.
8538 if test "${enable_iniconf+set}" = set; then
8539 enableval=$enable_iniconf;
8540 if test "$enableval" = yes; then
8541 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8542 else
8543 wx_cv_use_iniconf='wxUSE_INICONF=no'
8544 fi
8545
8546 else
8547
8548 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8549
8550 fi
8551
8552
8553 eval "$wx_cv_use_iniconf"
8554
8555 if test x"$enablestring" = xdisable; then
8556 if test $wxUSE_INICONF = no; then
8557 result=yes
8558 else
8559 result=no
8560 fi
8561 else
8562 result=$wxUSE_INICONF
8563 fi
8564
8565 { echo "$as_me:$LINENO: result: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8567
8568
8569 enablestring=
8570 defaultval=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8573 defaultval=yes
8574 else
8575 defaultval=no
8576 fi
8577 fi
8578
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8581 # Check whether --enable-regkey was given.
8582 if test "${enable_regkey+set}" = set; then
8583 enableval=$enable_regkey;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8586 else
8587 wx_cv_use_regkey='wxUSE_REGKEY=no'
8588 fi
8589
8590 else
8591
8592 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8593
8594 fi
8595
8596
8597 eval "$wx_cv_use_regkey"
8598
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_REGKEY = no; then
8601 result=yes
8602 else
8603 result=no
8604 fi
8605 else
8606 result=$wxUSE_REGKEY
8607 fi
8608
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8611
8612
8613 if test "$wxUSE_GUI" = "yes"; then
8614
8615
8616
8617 enablestring=
8618 defaultval=$wxUSE_ALL_FEATURES
8619 if test -z "$defaultval"; then
8620 if test x"$enablestring" = xdisable; then
8621 defaultval=yes
8622 else
8623 defaultval=no
8624 fi
8625 fi
8626
8627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8629 # Check whether --enable-docview was given.
8630 if test "${enable_docview+set}" = set; then
8631 enableval=$enable_docview;
8632 if test "$enableval" = yes; then
8633 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8634 else
8635 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8636 fi
8637
8638 else
8639
8640 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8641
8642 fi
8643
8644
8645 eval "$wx_cv_use_docview"
8646
8647 if test x"$enablestring" = xdisable; then
8648 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8649 result=yes
8650 else
8651 result=no
8652 fi
8653 else
8654 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8655 fi
8656
8657 { echo "$as_me:$LINENO: result: $result" >&5
8658 echo "${ECHO_T}$result" >&6; }
8659
8660
8661 enablestring=
8662 defaultval=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x"$enablestring" = xdisable; then
8665 defaultval=yes
8666 else
8667 defaultval=no
8668 fi
8669 fi
8670
8671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8673 # Check whether --enable-help was given.
8674 if test "${enable_help+set}" = set; then
8675 enableval=$enable_help;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_help='wxUSE_HELP=yes'
8678 else
8679 wx_cv_use_help='wxUSE_HELP=no'
8680 fi
8681
8682 else
8683
8684 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8685
8686 fi
8687
8688
8689 eval "$wx_cv_use_help"
8690
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_HELP = no; then
8693 result=yes
8694 else
8695 result=no
8696 fi
8697 else
8698 result=$wxUSE_HELP
8699 fi
8700
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8703
8704
8705 enablestring=
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8709 defaultval=yes
8710 else
8711 defaultval=no
8712 fi
8713 fi
8714
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8717 # Check whether --enable-mshtmlhelp was given.
8718 if test "${enable_mshtmlhelp+set}" = set; then
8719 enableval=$enable_mshtmlhelp;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8722 else
8723 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8724 fi
8725
8726 else
8727
8728 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8729
8730 fi
8731
8732
8733 eval "$wx_cv_use_mshtmlhelp"
8734
8735 if test x"$enablestring" = xdisable; then
8736 if test $wxUSE_MS_HTML_HELP = no; then
8737 result=yes
8738 else
8739 result=no
8740 fi
8741 else
8742 result=$wxUSE_MS_HTML_HELP
8743 fi
8744
8745 { echo "$as_me:$LINENO: result: $result" >&5
8746 echo "${ECHO_T}$result" >&6; }
8747
8748
8749 enablestring=
8750 defaultval=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x"$enablestring" = xdisable; then
8753 defaultval=yes
8754 else
8755 defaultval=no
8756 fi
8757 fi
8758
8759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8761 # Check whether --enable-html was given.
8762 if test "${enable_html+set}" = set; then
8763 enableval=$enable_html;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_html='wxUSE_HTML=yes'
8766 else
8767 wx_cv_use_html='wxUSE_HTML=no'
8768 fi
8769
8770 else
8771
8772 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8773
8774 fi
8775
8776
8777 eval "$wx_cv_use_html"
8778
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_HTML = no; then
8781 result=yes
8782 else
8783 result=no
8784 fi
8785 else
8786 result=$wxUSE_HTML
8787 fi
8788
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8791
8792
8793 enablestring=
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8797 defaultval=yes
8798 else
8799 defaultval=no
8800 fi
8801 fi
8802
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8805 # Check whether --enable-htmlhelp was given.
8806 if test "${enable_htmlhelp+set}" = set; then
8807 enableval=$enable_htmlhelp;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8810 else
8811 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8812 fi
8813
8814 else
8815
8816 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8817
8818 fi
8819
8820
8821 eval "$wx_cv_use_htmlhelp"
8822
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_WXHTML_HELP = no; then
8825 result=yes
8826 else
8827 result=no
8828 fi
8829 else
8830 result=$wxUSE_WXHTML_HELP
8831 fi
8832
8833 { echo "$as_me:$LINENO: result: $result" >&5
8834 echo "${ECHO_T}$result" >&6; }
8835
8836
8837 enablestring=
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8841 defaultval=yes
8842 else
8843 defaultval=no
8844 fi
8845 fi
8846
8847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8849 # Check whether --enable-xrc was given.
8850 if test "${enable_xrc+set}" = set; then
8851 enableval=$enable_xrc;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_xrc='wxUSE_XRC=yes'
8854 else
8855 wx_cv_use_xrc='wxUSE_XRC=no'
8856 fi
8857
8858 else
8859
8860 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8861
8862 fi
8863
8864
8865 eval "$wx_cv_use_xrc"
8866
8867 if test x"$enablestring" = xdisable; then
8868 if test $wxUSE_XRC = no; then
8869 result=yes
8870 else
8871 result=no
8872 fi
8873 else
8874 result=$wxUSE_XRC
8875 fi
8876
8877 { echo "$as_me:$LINENO: result: $result" >&5
8878 echo "${ECHO_T}$result" >&6; }
8879
8880
8881 enablestring=
8882 defaultval=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x"$enablestring" = xdisable; then
8885 defaultval=yes
8886 else
8887 defaultval=no
8888 fi
8889 fi
8890
8891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8893 # Check whether --enable-aui was given.
8894 if test "${enable_aui+set}" = set; then
8895 enableval=$enable_aui;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_aui='wxUSE_AUI=yes'
8898 else
8899 wx_cv_use_aui='wxUSE_AUI=no'
8900 fi
8901
8902 else
8903
8904 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8905
8906 fi
8907
8908
8909 eval "$wx_cv_use_aui"
8910
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_AUI = no; then
8913 result=yes
8914 else
8915 result=no
8916 fi
8917 else
8918 result=$wxUSE_AUI
8919 fi
8920
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8923
8924
8925 enablestring=
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8929 defaultval=yes
8930 else
8931 defaultval=no
8932 fi
8933 fi
8934
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8937 # Check whether --enable-propgrid was given.
8938 if test "${enable_propgrid+set}" = set; then
8939 enableval=$enable_propgrid;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8942 else
8943 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8944 fi
8945
8946 else
8947
8948 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8949
8950 fi
8951
8952
8953 eval "$wx_cv_use_propgrid"
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_PROPGRID = no; then
8957 result=yes
8958 else
8959 result=no
8960 fi
8961 else
8962 result=$wxUSE_PROPGRID
8963 fi
8964
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969 enablestring=
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8973 defaultval=yes
8974 else
8975 defaultval=no
8976 fi
8977 fi
8978
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8981 # Check whether --enable-ribbon was given.
8982 if test "${enable_ribbon+set}" = set; then
8983 enableval=$enable_ribbon;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8986 else
8987 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8988 fi
8989
8990 else
8991
8992 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8993
8994 fi
8995
8996
8997 eval "$wx_cv_use_ribbon"
8998
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_RIBBON = no; then
9001 result=yes
9002 else
9003 result=no
9004 fi
9005 else
9006 result=$wxUSE_RIBBON
9007 fi
9008
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9025 # Check whether --enable-stc was given.
9026 if test "${enable_stc+set}" = set; then
9027 enableval=$enable_stc;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_stc='wxUSE_STC=yes'
9030 else
9031 wx_cv_use_stc='wxUSE_STC=no'
9032 fi
9033
9034 else
9035
9036 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9037
9038 fi
9039
9040
9041 eval "$wx_cv_use_stc"
9042
9043 if test x"$enablestring" = xdisable; then
9044 if test $wxUSE_STC = no; then
9045 result=yes
9046 else
9047 result=no
9048 fi
9049 else
9050 result=$wxUSE_STC
9051 fi
9052
9053 { echo "$as_me:$LINENO: result: $result" >&5
9054 echo "${ECHO_T}$result" >&6; }
9055
9056
9057 enablestring=
9058 defaultval=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x"$enablestring" = xdisable; then
9061 defaultval=yes
9062 else
9063 defaultval=no
9064 fi
9065 fi
9066
9067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9069 # Check whether --enable-constraints was given.
9070 if test "${enable_constraints+set}" = set; then
9071 enableval=$enable_constraints;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9074 else
9075 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9076 fi
9077
9078 else
9079
9080 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9081
9082 fi
9083
9084
9085 eval "$wx_cv_use_constraints"
9086
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_CONSTRAINTS = no; then
9089 result=yes
9090 else
9091 result=no
9092 fi
9093 else
9094 result=$wxUSE_CONSTRAINTS
9095 fi
9096
9097 { echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6; }
9099
9100
9101 enablestring=
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9105 defaultval=yes
9106 else
9107 defaultval=no
9108 fi
9109 fi
9110
9111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9113 # Check whether --enable-loggui was given.
9114 if test "${enable_loggui+set}" = set; then
9115 enableval=$enable_loggui;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9118 else
9119 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9120 fi
9121
9122 else
9123
9124 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9125
9126 fi
9127
9128
9129 eval "$wx_cv_use_loggui"
9130
9131 if test x"$enablestring" = xdisable; then
9132 if test $wxUSE_LOGGUI = no; then
9133 result=yes
9134 else
9135 result=no
9136 fi
9137 else
9138 result=$wxUSE_LOGGUI
9139 fi
9140
9141 { echo "$as_me:$LINENO: result: $result" >&5
9142 echo "${ECHO_T}$result" >&6; }
9143
9144
9145 enablestring=
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9149 defaultval=yes
9150 else
9151 defaultval=no
9152 fi
9153 fi
9154
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9157 # Check whether --enable-logwin was given.
9158 if test "${enable_logwin+set}" = set; then
9159 enableval=$enable_logwin;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9162 else
9163 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9164 fi
9165
9166 else
9167
9168 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9169
9170 fi
9171
9172
9173 eval "$wx_cv_use_logwin"
9174
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_LOGWINDOW = no; then
9177 result=yes
9178 else
9179 result=no
9180 fi
9181 else
9182 result=$wxUSE_LOGWINDOW
9183 fi
9184
9185 { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9187
9188
9189 enablestring=
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9193 defaultval=yes
9194 else
9195 defaultval=no
9196 fi
9197 fi
9198
9199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9201 # Check whether --enable-logdialog was given.
9202 if test "${enable_logdialog+set}" = set; then
9203 enableval=$enable_logdialog;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9206 else
9207 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9208 fi
9209
9210 else
9211
9212 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9213
9214 fi
9215
9216
9217 eval "$wx_cv_use_logdialog"
9218
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_LOGDIALOG = no; then
9221 result=yes
9222 else
9223 result=no
9224 fi
9225 else
9226 result=$wxUSE_LOGDIALOG
9227 fi
9228
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9231
9232
9233 enablestring=
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9237 defaultval=yes
9238 else
9239 defaultval=no
9240 fi
9241 fi
9242
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9245 # Check whether --enable-mdi was given.
9246 if test "${enable_mdi+set}" = set; then
9247 enableval=$enable_mdi;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_mdi='wxUSE_MDI=yes'
9250 else
9251 wx_cv_use_mdi='wxUSE_MDI=no'
9252 fi
9253
9254 else
9255
9256 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9257
9258 fi
9259
9260
9261 eval "$wx_cv_use_mdi"
9262
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_MDI = no; then
9265 result=yes
9266 else
9267 result=no
9268 fi
9269 else
9270 result=$wxUSE_MDI
9271 fi
9272
9273 { echo "$as_me:$LINENO: result: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9275
9276
9277 enablestring=
9278 defaultval=$wxUSE_ALL_FEATURES
9279 if test -z "$defaultval"; then
9280 if test x"$enablestring" = xdisable; then
9281 defaultval=yes
9282 else
9283 defaultval=no
9284 fi
9285 fi
9286
9287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9289 # Check whether --enable-mdidoc was given.
9290 if test "${enable_mdidoc+set}" = set; then
9291 enableval=$enable_mdidoc;
9292 if test "$enableval" = yes; then
9293 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9294 else
9295 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9296 fi
9297
9298 else
9299
9300 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9301
9302 fi
9303
9304
9305 eval "$wx_cv_use_mdidoc"
9306
9307 if test x"$enablestring" = xdisable; then
9308 if test $wxUSE_MDI_ARCHITECTURE = no; then
9309 result=yes
9310 else
9311 result=no
9312 fi
9313 else
9314 result=$wxUSE_MDI_ARCHITECTURE
9315 fi
9316
9317 { echo "$as_me:$LINENO: result: $result" >&5
9318 echo "${ECHO_T}$result" >&6; }
9319
9320
9321 enablestring=
9322 defaultval=$wxUSE_ALL_FEATURES
9323 if test -z "$defaultval"; then
9324 if test x"$enablestring" = xdisable; then
9325 defaultval=yes
9326 else
9327 defaultval=no
9328 fi
9329 fi
9330
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9333 # Check whether --enable-mediactrl was given.
9334 if test "${enable_mediactrl+set}" = set; then
9335 enableval=$enable_mediactrl;
9336 if test "$enableval" = yes; then
9337 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9338 else
9339 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9340 fi
9341
9342 else
9343
9344 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9345
9346 fi
9347
9348
9349 eval "$wx_cv_use_mediactrl"
9350
9351 if test x"$enablestring" = xdisable; then
9352 if test $wxUSE_MEDIACTRL = no; then
9353 result=yes
9354 else
9355 result=no
9356 fi
9357 else
9358 result=$wxUSE_MEDIACTRL
9359 fi
9360
9361 { echo "$as_me:$LINENO: result: $result" >&5
9362 echo "${ECHO_T}$result" >&6; }
9363
9364
9365 enablestring=
9366 defaultval=$wxUSE_ALL_FEATURES
9367 if test -z "$defaultval"; then
9368 if test x"$enablestring" = xdisable; then
9369 defaultval=yes
9370 else
9371 defaultval=no
9372 fi
9373 fi
9374
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9377 # Check whether --enable-gstreamer8 was given.
9378 if test "${enable_gstreamer8+set}" = set; then
9379 enableval=$enable_gstreamer8;
9380 if test "$enableval" = yes; then
9381 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9382 else
9383 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9384 fi
9385
9386 else
9387
9388 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9389
9390 fi
9391
9392
9393 eval "$wx_cv_use_gstreamer8"
9394
9395 if test x"$enablestring" = xdisable; then
9396 if test $wxUSE_GSTREAMER8 = no; then
9397 result=yes
9398 else
9399 result=no
9400 fi
9401 else
9402 result=$wxUSE_GSTREAMER8
9403 fi
9404
9405 { echo "$as_me:$LINENO: result: $result" >&5
9406 echo "${ECHO_T}$result" >&6; }
9407
9408
9409 enablestring=
9410 defaultval=$wxUSE_ALL_FEATURES
9411 if test -z "$defaultval"; then
9412 if test x"$enablestring" = xdisable; then
9413 defaultval=yes
9414 else
9415 defaultval=no
9416 fi
9417 fi
9418
9419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9420 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9421 # Check whether --enable-webkit was given.
9422 if test "${enable_webkit+set}" = set; then
9423 enableval=$enable_webkit;
9424 if test "$enableval" = yes; then
9425 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9426 else
9427 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9428 fi
9429
9430 else
9431
9432 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9433
9434 fi
9435
9436
9437 eval "$wx_cv_use_webkit"
9438
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_WEBKIT = no; then
9441 result=yes
9442 else
9443 result=no
9444 fi
9445 else
9446 result=$wxUSE_WEBKIT
9447 fi
9448
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9451
9452
9453 enablestring=
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9457 defaultval=yes
9458 else
9459 defaultval=no
9460 fi
9461 fi
9462
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9465 # Check whether --enable-richtext was given.
9466 if test "${enable_richtext+set}" = set; then
9467 enableval=$enable_richtext;
9468 if test "$enableval" = yes; then
9469 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9470 else
9471 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9472 fi
9473
9474 else
9475
9476 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9477
9478 fi
9479
9480
9481 eval "$wx_cv_use_richtext"
9482
9483 if test x"$enablestring" = xdisable; then
9484 if test $wxUSE_RICHTEXT = no; then
9485 result=yes
9486 else
9487 result=no
9488 fi
9489 else
9490 result=$wxUSE_RICHTEXT
9491 fi
9492
9493 { echo "$as_me:$LINENO: result: $result" >&5
9494 echo "${ECHO_T}$result" >&6; }
9495
9496
9497 enablestring=
9498 defaultval=$wxUSE_ALL_FEATURES
9499 if test -z "$defaultval"; then
9500 if test x"$enablestring" = xdisable; then
9501 defaultval=yes
9502 else
9503 defaultval=no
9504 fi
9505 fi
9506
9507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9508 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9509 # Check whether --enable-postscript was given.
9510 if test "${enable_postscript+set}" = set; then
9511 enableval=$enable_postscript;
9512 if test "$enableval" = yes; then
9513 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9514 else
9515 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9516 fi
9517
9518 else
9519
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9521
9522 fi
9523
9524
9525 eval "$wx_cv_use_postscript"
9526
9527 if test x"$enablestring" = xdisable; then
9528 if test $wxUSE_POSTSCRIPT = no; then
9529 result=yes
9530 else
9531 result=no
9532 fi
9533 else
9534 result=$wxUSE_POSTSCRIPT
9535 fi
9536
9537 { echo "$as_me:$LINENO: result: $result" >&5
9538 echo "${ECHO_T}$result" >&6; }
9539
9540
9541 enablestring=
9542 defaultval=$wxUSE_ALL_FEATURES
9543 if test -z "$defaultval"; then
9544 if test x"$enablestring" = xdisable; then
9545 defaultval=yes
9546 else
9547 defaultval=no
9548 fi
9549 fi
9550
9551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9553 # Check whether --enable-printarch was given.
9554 if test "${enable_printarch+set}" = set; then
9555 enableval=$enable_printarch;
9556 if test "$enableval" = yes; then
9557 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9558 else
9559 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9560 fi
9561
9562 else
9563
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9565
9566 fi
9567
9568
9569 eval "$wx_cv_use_printarch"
9570
9571 if test x"$enablestring" = xdisable; then
9572 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9573 result=yes
9574 else
9575 result=no
9576 fi
9577 else
9578 result=$wxUSE_PRINTING_ARCHITECTURE
9579 fi
9580
9581 { echo "$as_me:$LINENO: result: $result" >&5
9582 echo "${ECHO_T}$result" >&6; }
9583
9584
9585 enablestring=
9586 defaultval=$wxUSE_ALL_FEATURES
9587 if test -z "$defaultval"; then
9588 if test x"$enablestring" = xdisable; then
9589 defaultval=yes
9590 else
9591 defaultval=no
9592 fi
9593 fi
9594
9595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9596 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9597 # Check whether --enable-svg was given.
9598 if test "${enable_svg+set}" = set; then
9599 enableval=$enable_svg;
9600 if test "$enableval" = yes; then
9601 wx_cv_use_svg='wxUSE_SVG=yes'
9602 else
9603 wx_cv_use_svg='wxUSE_SVG=no'
9604 fi
9605
9606 else
9607
9608 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9609
9610 fi
9611
9612
9613 eval "$wx_cv_use_svg"
9614
9615 if test x"$enablestring" = xdisable; then
9616 if test $wxUSE_SVG = no; then
9617 result=yes
9618 else
9619 result=no
9620 fi
9621 else
9622 result=$wxUSE_SVG
9623 fi
9624
9625 { echo "$as_me:$LINENO: result: $result" >&5
9626 echo "${ECHO_T}$result" >&6; }
9627
9628
9629 if test "$wxUSE_MAC" != 1; then
9630
9631 enablestring=
9632 defaultval=$wxUSE_ALL_FEATURES
9633 if test -z "$defaultval"; then
9634 if test x"$enablestring" = xdisable; then
9635 defaultval=yes
9636 else
9637 defaultval=no
9638 fi
9639 fi
9640
9641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9643 # Check whether --enable-graphics_ctx was given.
9644 if test "${enable_graphics_ctx+set}" = set; then
9645 enableval=$enable_graphics_ctx;
9646 if test "$enableval" = yes; then
9647 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9648 else
9649 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9650 fi
9651
9652 else
9653
9654 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9655
9656 fi
9657
9658
9659 eval "$wx_cv_use_graphics_ctx"
9660
9661 if test x"$enablestring" = xdisable; then
9662 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9663 result=yes
9664 else
9665 result=no
9666 fi
9667 else
9668 result=$wxUSE_GRAPHICS_CONTEXT
9669 fi
9670
9671 { echo "$as_me:$LINENO: result: $result" >&5
9672 echo "${ECHO_T}$result" >&6; }
9673
9674 fi
9675
9676
9677
9678 enablestring=
9679 defaultval=$wxUSE_ALL_FEATURES
9680 if test -z "$defaultval"; then
9681 if test x"$enablestring" = xdisable; then
9682 defaultval=yes
9683 else
9684 defaultval=no
9685 fi
9686 fi
9687
9688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9689 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9690 # Check whether --enable-clipboard was given.
9691 if test "${enable_clipboard+set}" = set; then
9692 enableval=$enable_clipboard;
9693 if test "$enableval" = yes; then
9694 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9695 else
9696 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9697 fi
9698
9699 else
9700
9701 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9702
9703 fi
9704
9705
9706 eval "$wx_cv_use_clipboard"
9707
9708 if test x"$enablestring" = xdisable; then
9709 if test $wxUSE_CLIPBOARD = no; then
9710 result=yes
9711 else
9712 result=no
9713 fi
9714 else
9715 result=$wxUSE_CLIPBOARD
9716 fi
9717
9718 { echo "$as_me:$LINENO: result: $result" >&5
9719 echo "${ECHO_T}$result" >&6; }
9720
9721
9722 enablestring=
9723 defaultval=$wxUSE_ALL_FEATURES
9724 if test -z "$defaultval"; then
9725 if test x"$enablestring" = xdisable; then
9726 defaultval=yes
9727 else
9728 defaultval=no
9729 fi
9730 fi
9731
9732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9733 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9734 # Check whether --enable-dnd was given.
9735 if test "${enable_dnd+set}" = set; then
9736 enableval=$enable_dnd;
9737 if test "$enableval" = yes; then
9738 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9739 else
9740 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9741 fi
9742
9743 else
9744
9745 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9746
9747 fi
9748
9749
9750 eval "$wx_cv_use_dnd"
9751
9752 if test x"$enablestring" = xdisable; then
9753 if test $wxUSE_DRAG_AND_DROP = no; then
9754 result=yes
9755 else
9756 result=no
9757 fi
9758 else
9759 result=$wxUSE_DRAG_AND_DROP
9760 fi
9761
9762 { echo "$as_me:$LINENO: result: $result" >&5
9763 echo "${ECHO_T}$result" >&6; }
9764
9765
9766
9767 DEFAULT_wxUSE_CONTROLS=none
9768
9769 enablestring=disable
9770 defaultval=
9771 if test -z "$defaultval"; then
9772 if test x"$enablestring" = xdisable; then
9773 defaultval=yes
9774 else
9775 defaultval=no
9776 fi
9777 fi
9778
9779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9780 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9781 # Check whether --enable-controls was given.
9782 if test "${enable_controls+set}" = set; then
9783 enableval=$enable_controls;
9784 if test "$enableval" = yes; then
9785 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9786 else
9787 wx_cv_use_controls='wxUSE_CONTROLS=no'
9788 fi
9789
9790 else
9791
9792 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9793
9794 fi
9795
9796
9797 eval "$wx_cv_use_controls"
9798
9799 if test x"$enablestring" = xdisable; then
9800 if test $wxUSE_CONTROLS = no; then
9801 result=yes
9802 else
9803 result=no
9804 fi
9805 else
9806 result=$wxUSE_CONTROLS
9807 fi
9808
9809 { echo "$as_me:$LINENO: result: $result" >&5
9810 echo "${ECHO_T}$result" >&6; }
9811
9812
9813 if test "$wxUSE_CONTROLS" = "no"; then
9814 DEFAULT_wxUSE_ACCEL=no
9815 DEFAULT_wxUSE_ANIMATIONCTRL=no
9816 DEFAULT_wxUSE_BANNERWINDOW=no
9817 DEFAULT_wxUSE_BMPBUTTON=no
9818 DEFAULT_wxUSE_BUTTON=no
9819 DEFAULT_wxUSE_CALCTRL=no
9820 DEFAULT_wxUSE_CARET=no
9821 DEFAULT_wxUSE_CHECKBOX=no
9822 DEFAULT_wxUSE_CHECKLISTBOX=no
9823 DEFAULT_wxUSE_CHOICE=no
9824 DEFAULT_wxUSE_CHOICEBOOK=no
9825 DEFAULT_wxUSE_COLLPANE=no
9826 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9827 DEFAULT_wxUSE_COMBOBOX=no
9828 DEFAULT_wxUSE_COMBOBOX=no
9829 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9830 DEFAULT_wxUSE_DATAVIEWCTRL=no
9831 DEFAULT_wxUSE_DATEPICKCTRL=no
9832 DEFAULT_wxUSE_DETECT_SM=no
9833 DEFAULT_wxUSE_DIRPICKERCTRL=no
9834 DEFAULT_wxUSE_DISPLAY=no
9835 DEFAULT_wxUSE_FILECTRL=no
9836 DEFAULT_wxUSE_FILEPICKERCTRL=no
9837 DEFAULT_wxUSE_FONTPICKERCTRL=no
9838 DEFAULT_wxUSE_GAUGE=no
9839 DEFAULT_wxUSE_GRID=no
9840 DEFAULT_wxUSE_HEADERCTRL=no
9841 DEFAULT_wxUSE_HYPERLINKCTRL=no
9842 DEFAULT_wxUSE_IMAGLIST=no
9843 DEFAULT_wxUSE_LISTBOOK=no
9844 DEFAULT_wxUSE_LISTBOX=no
9845 DEFAULT_wxUSE_LISTCTRL=no
9846 DEFAULT_wxUSE_MARKUP=no
9847 DEFAULT_wxUSE_NOTEBOOK=no
9848 DEFAULT_wxUSE_POPUPWIN=no
9849 DEFAULT_wxUSE_RADIOBOX=no
9850 DEFAULT_wxUSE_RADIOBTN=no
9851 DEFAULT_wxUSE_RICHMSGDLG=no
9852 DEFAULT_wxUSE_REARRANGECTRL=no
9853 DEFAULT_wxUSE_SASH=no
9854 DEFAULT_wxUSE_SCROLLBAR=no
9855 DEFAULT_wxUSE_SEARCHCTRL=no
9856 DEFAULT_wxUSE_SLIDER=no
9857 DEFAULT_wxUSE_SPINBTN=no
9858 DEFAULT_wxUSE_SPINCTRL=no
9859 DEFAULT_wxUSE_SPLITTER=no
9860 DEFAULT_wxUSE_STATBMP=no
9861 DEFAULT_wxUSE_STATBOX=no
9862 DEFAULT_wxUSE_STATLINE=no
9863 DEFAULT_wxUSE_STATUSBAR=no
9864 DEFAULT_wxUSE_TIPWINDOW=no
9865 DEFAULT_wxUSE_TOGGLEBTN=no
9866 DEFAULT_wxUSE_TOOLBAR=no
9867 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9868 DEFAULT_wxUSE_TOOLBOOK=no
9869 DEFAULT_wxUSE_TOOLTIPS=no
9870 DEFAULT_wxUSE_TREEBOOK=no
9871 DEFAULT_wxUSE_TREECTRL=no
9872 DEFAULT_wxUSE_TREELISTCTRL=no
9873 fi
9874
9875
9876 enablestring=
9877 defaultval=$wxUSE_ALL_FEATURES
9878 if test -z "$defaultval"; then
9879 if test x"$enablestring" = xdisable; then
9880 defaultval=yes
9881 else
9882 defaultval=no
9883 fi
9884 fi
9885
9886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9887 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9888 # Check whether --enable-markup was given.
9889 if test "${enable_markup+set}" = set; then
9890 enableval=$enable_markup;
9891 if test "$enableval" = yes; then
9892 wx_cv_use_markup='wxUSE_MARKUP=yes'
9893 else
9894 wx_cv_use_markup='wxUSE_MARKUP=no'
9895 fi
9896
9897 else
9898
9899 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9900
9901 fi
9902
9903
9904 eval "$wx_cv_use_markup"
9905
9906 if test x"$enablestring" = xdisable; then
9907 if test $wxUSE_MARKUP = no; then
9908 result=yes
9909 else
9910 result=no
9911 fi
9912 else
9913 result=$wxUSE_MARKUP
9914 fi
9915
9916 { echo "$as_me:$LINENO: result: $result" >&5
9917 echo "${ECHO_T}$result" >&6; }
9918
9919
9920
9921 enablestring=
9922 defaultval=$wxUSE_ALL_FEATURES
9923 if test -z "$defaultval"; then
9924 if test x"$enablestring" = xdisable; then
9925 defaultval=yes
9926 else
9927 defaultval=no
9928 fi
9929 fi
9930
9931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9932 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9933 # Check whether --enable-accel was given.
9934 if test "${enable_accel+set}" = set; then
9935 enableval=$enable_accel;
9936 if test "$enableval" = yes; then
9937 wx_cv_use_accel='wxUSE_ACCEL=yes'
9938 else
9939 wx_cv_use_accel='wxUSE_ACCEL=no'
9940 fi
9941
9942 else
9943
9944 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9945
9946 fi
9947
9948
9949 eval "$wx_cv_use_accel"
9950
9951 if test x"$enablestring" = xdisable; then
9952 if test $wxUSE_ACCEL = no; then
9953 result=yes
9954 else
9955 result=no
9956 fi
9957 else
9958 result=$wxUSE_ACCEL
9959 fi
9960
9961 { echo "$as_me:$LINENO: result: $result" >&5
9962 echo "${ECHO_T}$result" >&6; }
9963
9964
9965 enablestring=
9966 defaultval=$wxUSE_ALL_FEATURES
9967 if test -z "$defaultval"; then
9968 if test x"$enablestring" = xdisable; then
9969 defaultval=yes
9970 else
9971 defaultval=no
9972 fi
9973 fi
9974
9975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9976 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9977 # Check whether --enable-animatectrl was given.
9978 if test "${enable_animatectrl+set}" = set; then
9979 enableval=$enable_animatectrl;
9980 if test "$enableval" = yes; then
9981 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9982 else
9983 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9984 fi
9985
9986 else
9987
9988 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9989
9990 fi
9991
9992
9993 eval "$wx_cv_use_animatectrl"
9994
9995 if test x"$enablestring" = xdisable; then
9996 if test $wxUSE_ANIMATIONCTRL = no; then
9997 result=yes
9998 else
9999 result=no
10000 fi
10001 else
10002 result=$wxUSE_ANIMATIONCTRL
10003 fi
10004
10005 { echo "$as_me:$LINENO: result: $result" >&5
10006 echo "${ECHO_T}$result" >&6; }
10007
10008
10009 enablestring=
10010 defaultval=$wxUSE_ALL_FEATURES
10011 if test -z "$defaultval"; then
10012 if test x"$enablestring" = xdisable; then
10013 defaultval=yes
10014 else
10015 defaultval=no
10016 fi
10017 fi
10018
10019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10021 # Check whether --enable-bannerwindow was given.
10022 if test "${enable_bannerwindow+set}" = set; then
10023 enableval=$enable_bannerwindow;
10024 if test "$enableval" = yes; then
10025 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10026 else
10027 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10028 fi
10029
10030 else
10031
10032 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10033
10034 fi
10035
10036
10037 eval "$wx_cv_use_bannerwindow"
10038
10039 if test x"$enablestring" = xdisable; then
10040 if test $wxUSE_BANNERWINDOW = no; then
10041 result=yes
10042 else
10043 result=no
10044 fi
10045 else
10046 result=$wxUSE_BANNERWINDOW
10047 fi
10048
10049 { echo "$as_me:$LINENO: result: $result" >&5
10050 echo "${ECHO_T}$result" >&6; }
10051
10052
10053 enablestring=
10054 defaultval=$wxUSE_ALL_FEATURES
10055 if test -z "$defaultval"; then
10056 if test x"$enablestring" = xdisable; then
10057 defaultval=yes
10058 else
10059 defaultval=no
10060 fi
10061 fi
10062
10063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10065 # Check whether --enable-artstd was given.
10066 if test "${enable_artstd+set}" = set; then
10067 enableval=$enable_artstd;
10068 if test "$enableval" = yes; then
10069 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10070 else
10071 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10072 fi
10073
10074 else
10075
10076 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10077
10078 fi
10079
10080
10081 eval "$wx_cv_use_artstd"
10082
10083 if test x"$enablestring" = xdisable; then
10084 if test $wxUSE_ARTPROVIDER_STD = no; then
10085 result=yes
10086 else
10087 result=no
10088 fi
10089 else
10090 result=$wxUSE_ARTPROVIDER_STD
10091 fi
10092
10093 { echo "$as_me:$LINENO: result: $result" >&5
10094 echo "${ECHO_T}$result" >&6; }
10095
10096
10097 enablestring=
10098 defaultval=$wxUSE_ALL_FEATURES
10099 if test -z "$defaultval"; then
10100 if test x"$enablestring" = xdisable; then
10101 defaultval=yes
10102 else
10103 defaultval=no
10104 fi
10105 fi
10106
10107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10109 # Check whether --enable-arttango was given.
10110 if test "${enable_arttango+set}" = set; then
10111 enableval=$enable_arttango;
10112 if test "$enableval" = yes; then
10113 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10114 else
10115 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10116 fi
10117
10118 else
10119
10120 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10121
10122 fi
10123
10124
10125 eval "$wx_cv_use_arttango"
10126
10127 if test x"$enablestring" = xdisable; then
10128 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10129 result=yes
10130 else
10131 result=no
10132 fi
10133 else
10134 result=$wxUSE_ARTPROVIDER_TANGO
10135 fi
10136
10137 { echo "$as_me:$LINENO: result: $result" >&5
10138 echo "${ECHO_T}$result" >&6; }
10139
10140
10141 enablestring=
10142 defaultval=$wxUSE_ALL_FEATURES
10143 if test -z "$defaultval"; then
10144 if test x"$enablestring" = xdisable; then
10145 defaultval=yes
10146 else
10147 defaultval=no
10148 fi
10149 fi
10150
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10153 # Check whether --enable-bmpbutton was given.
10154 if test "${enable_bmpbutton+set}" = set; then
10155 enableval=$enable_bmpbutton;
10156 if test "$enableval" = yes; then
10157 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10158 else
10159 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10160 fi
10161
10162 else
10163
10164 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10165
10166 fi
10167
10168
10169 eval "$wx_cv_use_bmpbutton"
10170
10171 if test x"$enablestring" = xdisable; then
10172 if test $wxUSE_BMPBUTTON = no; then
10173 result=yes
10174 else
10175 result=no
10176 fi
10177 else
10178 result=$wxUSE_BMPBUTTON
10179 fi
10180
10181 { echo "$as_me:$LINENO: result: $result" >&5
10182 echo "${ECHO_T}$result" >&6; }
10183
10184
10185 enablestring=
10186 defaultval=$wxUSE_ALL_FEATURES
10187 if test -z "$defaultval"; then
10188 if test x"$enablestring" = xdisable; then
10189 defaultval=yes
10190 else
10191 defaultval=no
10192 fi
10193 fi
10194
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10197 # Check whether --enable-bmpcombobox was given.
10198 if test "${enable_bmpcombobox+set}" = set; then
10199 enableval=$enable_bmpcombobox;
10200 if test "$enableval" = yes; then
10201 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10202 else
10203 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10204 fi
10205
10206 else
10207
10208 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10209
10210 fi
10211
10212
10213 eval "$wx_cv_use_bmpcombobox"
10214
10215 if test x"$enablestring" = xdisable; then
10216 if test $wxUSE_BITMAPCOMBOBOX = no; then
10217 result=yes
10218 else
10219 result=no
10220 fi
10221 else
10222 result=$wxUSE_BITMAPCOMBOBOX
10223 fi
10224
10225 { echo "$as_me:$LINENO: result: $result" >&5
10226 echo "${ECHO_T}$result" >&6; }
10227
10228
10229 enablestring=
10230 defaultval=$wxUSE_ALL_FEATURES
10231 if test -z "$defaultval"; then
10232 if test x"$enablestring" = xdisable; then
10233 defaultval=yes
10234 else
10235 defaultval=no
10236 fi
10237 fi
10238
10239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10241 # Check whether --enable-button was given.
10242 if test "${enable_button+set}" = set; then
10243 enableval=$enable_button;
10244 if test "$enableval" = yes; then
10245 wx_cv_use_button='wxUSE_BUTTON=yes'
10246 else
10247 wx_cv_use_button='wxUSE_BUTTON=no'
10248 fi
10249
10250 else
10251
10252 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10253
10254 fi
10255
10256
10257 eval "$wx_cv_use_button"
10258
10259 if test x"$enablestring" = xdisable; then
10260 if test $wxUSE_BUTTON = no; then
10261 result=yes
10262 else
10263 result=no
10264 fi
10265 else
10266 result=$wxUSE_BUTTON
10267 fi
10268
10269 { echo "$as_me:$LINENO: result: $result" >&5
10270 echo "${ECHO_T}$result" >&6; }
10271
10272
10273 enablestring=
10274 defaultval=$wxUSE_ALL_FEATURES
10275 if test -z "$defaultval"; then
10276 if test x"$enablestring" = xdisable; then
10277 defaultval=yes
10278 else
10279 defaultval=no
10280 fi
10281 fi
10282
10283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10284 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10285 # Check whether --enable-calendar was given.
10286 if test "${enable_calendar+set}" = set; then
10287 enableval=$enable_calendar;
10288 if test "$enableval" = yes; then
10289 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10290 else
10291 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10292 fi
10293
10294 else
10295
10296 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10297
10298 fi
10299
10300
10301 eval "$wx_cv_use_calendar"
10302
10303 if test x"$enablestring" = xdisable; then
10304 if test $wxUSE_CALCTRL = no; then
10305 result=yes
10306 else
10307 result=no
10308 fi
10309 else
10310 result=$wxUSE_CALCTRL
10311 fi
10312
10313 { echo "$as_me:$LINENO: result: $result" >&5
10314 echo "${ECHO_T}$result" >&6; }
10315
10316
10317 enablestring=
10318 defaultval=$wxUSE_ALL_FEATURES
10319 if test -z "$defaultval"; then
10320 if test x"$enablestring" = xdisable; then
10321 defaultval=yes
10322 else
10323 defaultval=no
10324 fi
10325 fi
10326
10327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10328 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10329 # Check whether --enable-caret was given.
10330 if test "${enable_caret+set}" = set; then
10331 enableval=$enable_caret;
10332 if test "$enableval" = yes; then
10333 wx_cv_use_caret='wxUSE_CARET=yes'
10334 else
10335 wx_cv_use_caret='wxUSE_CARET=no'
10336 fi
10337
10338 else
10339
10340 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10341
10342 fi
10343
10344
10345 eval "$wx_cv_use_caret"
10346
10347 if test x"$enablestring" = xdisable; then
10348 if test $wxUSE_CARET = no; then
10349 result=yes
10350 else
10351 result=no
10352 fi
10353 else
10354 result=$wxUSE_CARET
10355 fi
10356
10357 { echo "$as_me:$LINENO: result: $result" >&5
10358 echo "${ECHO_T}$result" >&6; }
10359
10360
10361 enablestring=
10362 defaultval=$wxUSE_ALL_FEATURES
10363 if test -z "$defaultval"; then
10364 if test x"$enablestring" = xdisable; then
10365 defaultval=yes
10366 else
10367 defaultval=no
10368 fi
10369 fi
10370
10371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10373 # Check whether --enable-checkbox was given.
10374 if test "${enable_checkbox+set}" = set; then
10375 enableval=$enable_checkbox;
10376 if test "$enableval" = yes; then
10377 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10378 else
10379 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10380 fi
10381
10382 else
10383
10384 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10385
10386 fi
10387
10388
10389 eval "$wx_cv_use_checkbox"
10390
10391 if test x"$enablestring" = xdisable; then
10392 if test $wxUSE_CHECKBOX = no; then
10393 result=yes
10394 else
10395 result=no
10396 fi
10397 else
10398 result=$wxUSE_CHECKBOX
10399 fi
10400
10401 { echo "$as_me:$LINENO: result: $result" >&5
10402 echo "${ECHO_T}$result" >&6; }
10403
10404
10405 enablestring=
10406 defaultval=$wxUSE_ALL_FEATURES
10407 if test -z "$defaultval"; then
10408 if test x"$enablestring" = xdisable; then
10409 defaultval=yes
10410 else
10411 defaultval=no
10412 fi
10413 fi
10414
10415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10417 # Check whether --enable-checklst was given.
10418 if test "${enable_checklst+set}" = set; then
10419 enableval=$enable_checklst;
10420 if test "$enableval" = yes; then
10421 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10422 else
10423 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10424 fi
10425
10426 else
10427
10428 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10429
10430 fi
10431
10432
10433 eval "$wx_cv_use_checklst"
10434
10435 if test x"$enablestring" = xdisable; then
10436 if test $wxUSE_CHECKLST = no; then
10437 result=yes
10438 else
10439 result=no
10440 fi
10441 else
10442 result=$wxUSE_CHECKLST
10443 fi
10444
10445 { echo "$as_me:$LINENO: result: $result" >&5
10446 echo "${ECHO_T}$result" >&6; }
10447
10448
10449 enablestring=
10450 defaultval=$wxUSE_ALL_FEATURES
10451 if test -z "$defaultval"; then
10452 if test x"$enablestring" = xdisable; then
10453 defaultval=yes
10454 else
10455 defaultval=no
10456 fi
10457 fi
10458
10459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10461 # Check whether --enable-choice was given.
10462 if test "${enable_choice+set}" = set; then
10463 enableval=$enable_choice;
10464 if test "$enableval" = yes; then
10465 wx_cv_use_choice='wxUSE_CHOICE=yes'
10466 else
10467 wx_cv_use_choice='wxUSE_CHOICE=no'
10468 fi
10469
10470 else
10471
10472 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10473
10474 fi
10475
10476
10477 eval "$wx_cv_use_choice"
10478
10479 if test x"$enablestring" = xdisable; then
10480 if test $wxUSE_CHOICE = no; then
10481 result=yes
10482 else
10483 result=no
10484 fi
10485 else
10486 result=$wxUSE_CHOICE
10487 fi
10488
10489 { echo "$as_me:$LINENO: result: $result" >&5
10490 echo "${ECHO_T}$result" >&6; }
10491
10492
10493 enablestring=
10494 defaultval=$wxUSE_ALL_FEATURES
10495 if test -z "$defaultval"; then
10496 if test x"$enablestring" = xdisable; then
10497 defaultval=yes
10498 else
10499 defaultval=no
10500 fi
10501 fi
10502
10503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10504 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10505 # Check whether --enable-choicebook was given.
10506 if test "${enable_choicebook+set}" = set; then
10507 enableval=$enable_choicebook;
10508 if test "$enableval" = yes; then
10509 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10510 else
10511 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10512 fi
10513
10514 else
10515
10516 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10517
10518 fi
10519
10520
10521 eval "$wx_cv_use_choicebook"
10522
10523 if test x"$enablestring" = xdisable; then
10524 if test $wxUSE_CHOICEBOOK = no; then
10525 result=yes
10526 else
10527 result=no
10528 fi
10529 else
10530 result=$wxUSE_CHOICEBOOK
10531 fi
10532
10533 { echo "$as_me:$LINENO: result: $result" >&5
10534 echo "${ECHO_T}$result" >&6; }
10535
10536
10537 enablestring=
10538 defaultval=$wxUSE_ALL_FEATURES
10539 if test -z "$defaultval"; then
10540 if test x"$enablestring" = xdisable; then
10541 defaultval=yes
10542 else
10543 defaultval=no
10544 fi
10545 fi
10546
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10549 # Check whether --enable-collpane was given.
10550 if test "${enable_collpane+set}" = set; then
10551 enableval=$enable_collpane;
10552 if test "$enableval" = yes; then
10553 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10554 else
10555 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10556 fi
10557
10558 else
10559
10560 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10561
10562 fi
10563
10564
10565 eval "$wx_cv_use_collpane"
10566
10567 if test x"$enablestring" = xdisable; then
10568 if test $wxUSE_COLLPANE = no; then
10569 result=yes
10570 else
10571 result=no
10572 fi
10573 else
10574 result=$wxUSE_COLLPANE
10575 fi
10576
10577 { echo "$as_me:$LINENO: result: $result" >&5
10578 echo "${ECHO_T}$result" >&6; }
10579
10580
10581 enablestring=
10582 defaultval=$wxUSE_ALL_FEATURES
10583 if test -z "$defaultval"; then
10584 if test x"$enablestring" = xdisable; then
10585 defaultval=yes
10586 else
10587 defaultval=no
10588 fi
10589 fi
10590
10591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10593 # Check whether --enable-colourpicker was given.
10594 if test "${enable_colourpicker+set}" = set; then
10595 enableval=$enable_colourpicker;
10596 if test "$enableval" = yes; then
10597 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10598 else
10599 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10600 fi
10601
10602 else
10603
10604 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10605
10606 fi
10607
10608
10609 eval "$wx_cv_use_colourpicker"
10610
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_COLOURPICKERCTRL = no; then
10613 result=yes
10614 else
10615 result=no
10616 fi
10617 else
10618 result=$wxUSE_COLOURPICKERCTRL
10619 fi
10620
10621 { echo "$as_me:$LINENO: result: $result" >&5
10622 echo "${ECHO_T}$result" >&6; }
10623
10624
10625 enablestring=
10626 defaultval=$wxUSE_ALL_FEATURES
10627 if test -z "$defaultval"; then
10628 if test x"$enablestring" = xdisable; then
10629 defaultval=yes
10630 else
10631 defaultval=no
10632 fi
10633 fi
10634
10635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10637 # Check whether --enable-combobox was given.
10638 if test "${enable_combobox+set}" = set; then
10639 enableval=$enable_combobox;
10640 if test "$enableval" = yes; then
10641 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10642 else
10643 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10644 fi
10645
10646 else
10647
10648 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10649
10650 fi
10651
10652
10653 eval "$wx_cv_use_combobox"
10654
10655 if test x"$enablestring" = xdisable; then
10656 if test $wxUSE_COMBOBOX = no; then
10657 result=yes
10658 else
10659 result=no
10660 fi
10661 else
10662 result=$wxUSE_COMBOBOX
10663 fi
10664
10665 { echo "$as_me:$LINENO: result: $result" >&5
10666 echo "${ECHO_T}$result" >&6; }
10667
10668
10669 enablestring=
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10673 defaultval=yes
10674 else
10675 defaultval=no
10676 fi
10677 fi
10678
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10681 # Check whether --enable-comboctrl was given.
10682 if test "${enable_comboctrl+set}" = set; then
10683 enableval=$enable_comboctrl;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10686 else
10687 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10688 fi
10689
10690 else
10691
10692 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10693
10694 fi
10695
10696
10697 eval "$wx_cv_use_comboctrl"
10698
10699 if test x"$enablestring" = xdisable; then
10700 if test $wxUSE_COMBOCTRL = no; then
10701 result=yes
10702 else
10703 result=no
10704 fi
10705 else
10706 result=$wxUSE_COMBOCTRL
10707 fi
10708
10709 { echo "$as_me:$LINENO: result: $result" >&5
10710 echo "${ECHO_T}$result" >&6; }
10711
10712
10713 enablestring=
10714 defaultval=$wxUSE_ALL_FEATURES
10715 if test -z "$defaultval"; then
10716 if test x"$enablestring" = xdisable; then
10717 defaultval=yes
10718 else
10719 defaultval=no
10720 fi
10721 fi
10722
10723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10725 # Check whether --enable-commandlinkbutton was given.
10726 if test "${enable_commandlinkbutton+set}" = set; then
10727 enableval=$enable_commandlinkbutton;
10728 if test "$enableval" = yes; then
10729 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10730 else
10731 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10732 fi
10733
10734 else
10735
10736 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10737
10738 fi
10739
10740
10741 eval "$wx_cv_use_commandlinkbutton"
10742
10743 if test x"$enablestring" = xdisable; then
10744 if test $wxUSE_COMMANDLINKBUTTON = no; then
10745 result=yes
10746 else
10747 result=no
10748 fi
10749 else
10750 result=$wxUSE_COMMANDLINKBUTTON
10751 fi
10752
10753 { echo "$as_me:$LINENO: result: $result" >&5
10754 echo "${ECHO_T}$result" >&6; }
10755
10756
10757 enablestring=
10758 defaultval=$wxUSE_ALL_FEATURES
10759 if test -z "$defaultval"; then
10760 if test x"$enablestring" = xdisable; then
10761 defaultval=yes
10762 else
10763 defaultval=no
10764 fi
10765 fi
10766
10767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10769 # Check whether --enable-dataviewctrl was given.
10770 if test "${enable_dataviewctrl+set}" = set; then
10771 enableval=$enable_dataviewctrl;
10772 if test "$enableval" = yes; then
10773 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10774 else
10775 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10776 fi
10777
10778 else
10779
10780 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10781
10782 fi
10783
10784
10785 eval "$wx_cv_use_dataviewctrl"
10786
10787 if test x"$enablestring" = xdisable; then
10788 if test $wxUSE_DATAVIEWCTRL = no; then
10789 result=yes
10790 else
10791 result=no
10792 fi
10793 else
10794 result=$wxUSE_DATAVIEWCTRL
10795 fi
10796
10797 { echo "$as_me:$LINENO: result: $result" >&5
10798 echo "${ECHO_T}$result" >&6; }
10799
10800
10801 enablestring=
10802 defaultval=$wxUSE_ALL_FEATURES
10803 if test -z "$defaultval"; then
10804 if test x"$enablestring" = xdisable; then
10805 defaultval=yes
10806 else
10807 defaultval=no
10808 fi
10809 fi
10810
10811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10812 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10813 # Check whether --enable-datepick was given.
10814 if test "${enable_datepick+set}" = set; then
10815 enableval=$enable_datepick;
10816 if test "$enableval" = yes; then
10817 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10818 else
10819 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10820 fi
10821
10822 else
10823
10824 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10825
10826 fi
10827
10828
10829 eval "$wx_cv_use_datepick"
10830
10831 if test x"$enablestring" = xdisable; then
10832 if test $wxUSE_DATEPICKCTRL = no; then
10833 result=yes
10834 else
10835 result=no
10836 fi
10837 else
10838 result=$wxUSE_DATEPICKCTRL
10839 fi
10840
10841 { echo "$as_me:$LINENO: result: $result" >&5
10842 echo "${ECHO_T}$result" >&6; }
10843
10844
10845 enablestring=
10846 defaultval=$wxUSE_ALL_FEATURES
10847 if test -z "$defaultval"; then
10848 if test x"$enablestring" = xdisable; then
10849 defaultval=yes
10850 else
10851 defaultval=no
10852 fi
10853 fi
10854
10855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10856 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10857 # Check whether --enable-detect_sm was given.
10858 if test "${enable_detect_sm+set}" = set; then
10859 enableval=$enable_detect_sm;
10860 if test "$enableval" = yes; then
10861 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10862 else
10863 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10864 fi
10865
10866 else
10867
10868 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10869
10870 fi
10871
10872
10873 eval "$wx_cv_use_detect_sm"
10874
10875 if test x"$enablestring" = xdisable; then
10876 if test $wxUSE_DETECT_SM = no; then
10877 result=yes
10878 else
10879 result=no
10880 fi
10881 else
10882 result=$wxUSE_DETECT_SM
10883 fi
10884
10885 { echo "$as_me:$LINENO: result: $result" >&5
10886 echo "${ECHO_T}$result" >&6; }
10887
10888
10889 enablestring=
10890 defaultval=$wxUSE_ALL_FEATURES
10891 if test -z "$defaultval"; then
10892 if test x"$enablestring" = xdisable; then
10893 defaultval=yes
10894 else
10895 defaultval=no
10896 fi
10897 fi
10898
10899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10900 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10901 # Check whether --enable-dirpicker was given.
10902 if test "${enable_dirpicker+set}" = set; then
10903 enableval=$enable_dirpicker;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10906 else
10907 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10908 fi
10909
10910 else
10911
10912 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10913
10914 fi
10915
10916
10917 eval "$wx_cv_use_dirpicker"
10918
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_DIRPICKERCTRL = no; then
10921 result=yes
10922 else
10923 result=no
10924 fi
10925 else
10926 result=$wxUSE_DIRPICKERCTRL
10927 fi
10928
10929 { echo "$as_me:$LINENO: result: $result" >&5
10930 echo "${ECHO_T}$result" >&6; }
10931
10932
10933 enablestring=
10934 defaultval=$wxUSE_ALL_FEATURES
10935 if test -z "$defaultval"; then
10936 if test x"$enablestring" = xdisable; then
10937 defaultval=yes
10938 else
10939 defaultval=no
10940 fi
10941 fi
10942
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10945 # Check whether --enable-display was given.
10946 if test "${enable_display+set}" = set; then
10947 enableval=$enable_display;
10948 if test "$enableval" = yes; then
10949 wx_cv_use_display='wxUSE_DISPLAY=yes'
10950 else
10951 wx_cv_use_display='wxUSE_DISPLAY=no'
10952 fi
10953
10954 else
10955
10956 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10957
10958 fi
10959
10960
10961 eval "$wx_cv_use_display"
10962
10963 if test x"$enablestring" = xdisable; then
10964 if test $wxUSE_DISPLAY = no; then
10965 result=yes
10966 else
10967 result=no
10968 fi
10969 else
10970 result=$wxUSE_DISPLAY
10971 fi
10972
10973 { echo "$as_me:$LINENO: result: $result" >&5
10974 echo "${ECHO_T}$result" >&6; }
10975
10976
10977 enablestring=
10978 defaultval=$wxUSE_ALL_FEATURES
10979 if test -z "$defaultval"; then
10980 if test x"$enablestring" = xdisable; then
10981 defaultval=yes
10982 else
10983 defaultval=no
10984 fi
10985 fi
10986
10987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10989 # Check whether --enable-editablebox was given.
10990 if test "${enable_editablebox+set}" = set; then
10991 enableval=$enable_editablebox;
10992 if test "$enableval" = yes; then
10993 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10994 else
10995 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10996 fi
10997
10998 else
10999
11000 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11001
11002 fi
11003
11004
11005 eval "$wx_cv_use_editablebox"
11006
11007 if test x"$enablestring" = xdisable; then
11008 if test $wxUSE_EDITABLELISTBOX = no; then
11009 result=yes
11010 else
11011 result=no
11012 fi
11013 else
11014 result=$wxUSE_EDITABLELISTBOX
11015 fi
11016
11017 { echo "$as_me:$LINENO: result: $result" >&5
11018 echo "${ECHO_T}$result" >&6; }
11019
11020
11021 enablestring=
11022 defaultval=$wxUSE_ALL_FEATURES
11023 if test -z "$defaultval"; then
11024 if test x"$enablestring" = xdisable; then
11025 defaultval=yes
11026 else
11027 defaultval=no
11028 fi
11029 fi
11030
11031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11033 # Check whether --enable-filectrl was given.
11034 if test "${enable_filectrl+set}" = set; then
11035 enableval=$enable_filectrl;
11036 if test "$enableval" = yes; then
11037 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11038 else
11039 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11040 fi
11041
11042 else
11043
11044 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11045
11046 fi
11047
11048
11049 eval "$wx_cv_use_filectrl"
11050
11051 if test x"$enablestring" = xdisable; then
11052 if test $wxUSE_FILECTRL = no; then
11053 result=yes
11054 else
11055 result=no
11056 fi
11057 else
11058 result=$wxUSE_FILECTRL
11059 fi
11060
11061 { echo "$as_me:$LINENO: result: $result" >&5
11062 echo "${ECHO_T}$result" >&6; }
11063
11064
11065 enablestring=
11066 defaultval=$wxUSE_ALL_FEATURES
11067 if test -z "$defaultval"; then
11068 if test x"$enablestring" = xdisable; then
11069 defaultval=yes
11070 else
11071 defaultval=no
11072 fi
11073 fi
11074
11075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11077 # Check whether --enable-filepicker was given.
11078 if test "${enable_filepicker+set}" = set; then
11079 enableval=$enable_filepicker;
11080 if test "$enableval" = yes; then
11081 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11082 else
11083 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11084 fi
11085
11086 else
11087
11088 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11089
11090 fi
11091
11092
11093 eval "$wx_cv_use_filepicker"
11094
11095 if test x"$enablestring" = xdisable; then
11096 if test $wxUSE_FILEPICKERCTRL = no; then
11097 result=yes
11098 else
11099 result=no
11100 fi
11101 else
11102 result=$wxUSE_FILEPICKERCTRL
11103 fi
11104
11105 { echo "$as_me:$LINENO: result: $result" >&5
11106 echo "${ECHO_T}$result" >&6; }
11107
11108
11109 enablestring=
11110 defaultval=$wxUSE_ALL_FEATURES
11111 if test -z "$defaultval"; then
11112 if test x"$enablestring" = xdisable; then
11113 defaultval=yes
11114 else
11115 defaultval=no
11116 fi
11117 fi
11118
11119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11121 # Check whether --enable-fontpicker was given.
11122 if test "${enable_fontpicker+set}" = set; then
11123 enableval=$enable_fontpicker;
11124 if test "$enableval" = yes; then
11125 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11126 else
11127 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11128 fi
11129
11130 else
11131
11132 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11133
11134 fi
11135
11136
11137 eval "$wx_cv_use_fontpicker"
11138
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_FONTPICKERCTRL = no; then
11141 result=yes
11142 else
11143 result=no
11144 fi
11145 else
11146 result=$wxUSE_FONTPICKERCTRL
11147 fi
11148
11149 { echo "$as_me:$LINENO: result: $result" >&5
11150 echo "${ECHO_T}$result" >&6; }
11151
11152
11153 enablestring=
11154 defaultval=$wxUSE_ALL_FEATURES
11155 if test -z "$defaultval"; then
11156 if test x"$enablestring" = xdisable; then
11157 defaultval=yes
11158 else
11159 defaultval=no
11160 fi
11161 fi
11162
11163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11165 # Check whether --enable-gauge was given.
11166 if test "${enable_gauge+set}" = set; then
11167 enableval=$enable_gauge;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11170 else
11171 wx_cv_use_gauge='wxUSE_GAUGE=no'
11172 fi
11173
11174 else
11175
11176 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11177
11178 fi
11179
11180
11181 eval "$wx_cv_use_gauge"
11182
11183 if test x"$enablestring" = xdisable; then
11184 if test $wxUSE_GAUGE = no; then
11185 result=yes
11186 else
11187 result=no
11188 fi
11189 else
11190 result=$wxUSE_GAUGE
11191 fi
11192
11193 { echo "$as_me:$LINENO: result: $result" >&5
11194 echo "${ECHO_T}$result" >&6; }
11195
11196
11197 enablestring=
11198 defaultval=$wxUSE_ALL_FEATURES
11199 if test -z "$defaultval"; then
11200 if test x"$enablestring" = xdisable; then
11201 defaultval=yes
11202 else
11203 defaultval=no
11204 fi
11205 fi
11206
11207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11208 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11209 # Check whether --enable-grid was given.
11210 if test "${enable_grid+set}" = set; then
11211 enableval=$enable_grid;
11212 if test "$enableval" = yes; then
11213 wx_cv_use_grid='wxUSE_GRID=yes'
11214 else
11215 wx_cv_use_grid='wxUSE_GRID=no'
11216 fi
11217
11218 else
11219
11220 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11221
11222 fi
11223
11224
11225 eval "$wx_cv_use_grid"
11226
11227 if test x"$enablestring" = xdisable; then
11228 if test $wxUSE_GRID = no; then
11229 result=yes
11230 else
11231 result=no
11232 fi
11233 else
11234 result=$wxUSE_GRID
11235 fi
11236
11237 { echo "$as_me:$LINENO: result: $result" >&5
11238 echo "${ECHO_T}$result" >&6; }
11239
11240
11241 enablestring=
11242 defaultval=$wxUSE_ALL_FEATURES
11243 if test -z "$defaultval"; then
11244 if test x"$enablestring" = xdisable; then
11245 defaultval=yes
11246 else
11247 defaultval=no
11248 fi
11249 fi
11250
11251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11252 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11253 # Check whether --enable-headerctrl was given.
11254 if test "${enable_headerctrl+set}" = set; then
11255 enableval=$enable_headerctrl;
11256 if test "$enableval" = yes; then
11257 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11258 else
11259 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11260 fi
11261
11262 else
11263
11264 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11265
11266 fi
11267
11268
11269 eval "$wx_cv_use_headerctrl"
11270
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_HEADERCTRL = no; then
11273 result=yes
11274 else
11275 result=no
11276 fi
11277 else
11278 result=$wxUSE_HEADERCTRL
11279 fi
11280
11281 { echo "$as_me:$LINENO: result: $result" >&5
11282 echo "${ECHO_T}$result" >&6; }
11283
11284
11285 enablestring=
11286 defaultval=$wxUSE_ALL_FEATURES
11287 if test -z "$defaultval"; then
11288 if test x"$enablestring" = xdisable; then
11289 defaultval=yes
11290 else
11291 defaultval=no
11292 fi
11293 fi
11294
11295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11297 # Check whether --enable-hyperlink was given.
11298 if test "${enable_hyperlink+set}" = set; then
11299 enableval=$enable_hyperlink;
11300 if test "$enableval" = yes; then
11301 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11302 else
11303 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11304 fi
11305
11306 else
11307
11308 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11309
11310 fi
11311
11312
11313 eval "$wx_cv_use_hyperlink"
11314
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_HYPERLINKCTRL = no; then
11317 result=yes
11318 else
11319 result=no
11320 fi
11321 else
11322 result=$wxUSE_HYPERLINKCTRL
11323 fi
11324
11325 { echo "$as_me:$LINENO: result: $result" >&5
11326 echo "${ECHO_T}$result" >&6; }
11327
11328
11329 enablestring=
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11333 defaultval=yes
11334 else
11335 defaultval=no
11336 fi
11337 fi
11338
11339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11341 # Check whether --enable-imaglist was given.
11342 if test "${enable_imaglist+set}" = set; then
11343 enableval=$enable_imaglist;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11346 else
11347 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11348 fi
11349
11350 else
11351
11352 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11353
11354 fi
11355
11356
11357 eval "$wx_cv_use_imaglist"
11358
11359 if test x"$enablestring" = xdisable; then
11360 if test $wxUSE_IMAGLIST = no; then
11361 result=yes
11362 else
11363 result=no
11364 fi
11365 else
11366 result=$wxUSE_IMAGLIST
11367 fi
11368
11369 { echo "$as_me:$LINENO: result: $result" >&5
11370 echo "${ECHO_T}$result" >&6; }
11371
11372
11373 enablestring=
11374 defaultval=$wxUSE_ALL_FEATURES
11375 if test -z "$defaultval"; then
11376 if test x"$enablestring" = xdisable; then
11377 defaultval=yes
11378 else
11379 defaultval=no
11380 fi
11381 fi
11382
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11385 # Check whether --enable-infobar was given.
11386 if test "${enable_infobar+set}" = set; then
11387 enableval=$enable_infobar;
11388 if test "$enableval" = yes; then
11389 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11390 else
11391 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11392 fi
11393
11394 else
11395
11396 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11397
11398 fi
11399
11400
11401 eval "$wx_cv_use_infobar"
11402
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_INFOBAR = no; then
11405 result=yes
11406 else
11407 result=no
11408 fi
11409 else
11410 result=$wxUSE_INFOBAR
11411 fi
11412
11413 { echo "$as_me:$LINENO: result: $result" >&5
11414 echo "${ECHO_T}$result" >&6; }
11415
11416
11417 enablestring=
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11421 defaultval=yes
11422 else
11423 defaultval=no
11424 fi
11425 fi
11426
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11429 # Check whether --enable-listbook was given.
11430 if test "${enable_listbook+set}" = set; then
11431 enableval=$enable_listbook;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11434 else
11435 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11436 fi
11437
11438 else
11439
11440 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11441
11442 fi
11443
11444
11445 eval "$wx_cv_use_listbook"
11446
11447 if test x"$enablestring" = xdisable; then
11448 if test $wxUSE_LISTBOOK = no; then
11449 result=yes
11450 else
11451 result=no
11452 fi
11453 else
11454 result=$wxUSE_LISTBOOK
11455 fi
11456
11457 { echo "$as_me:$LINENO: result: $result" >&5
11458 echo "${ECHO_T}$result" >&6; }
11459
11460
11461 enablestring=
11462 defaultval=$wxUSE_ALL_FEATURES
11463 if test -z "$defaultval"; then
11464 if test x"$enablestring" = xdisable; then
11465 defaultval=yes
11466 else
11467 defaultval=no
11468 fi
11469 fi
11470
11471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11472 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11473 # Check whether --enable-listbox was given.
11474 if test "${enable_listbox+set}" = set; then
11475 enableval=$enable_listbox;
11476 if test "$enableval" = yes; then
11477 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11478 else
11479 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11480 fi
11481
11482 else
11483
11484 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11485
11486 fi
11487
11488
11489 eval "$wx_cv_use_listbox"
11490
11491 if test x"$enablestring" = xdisable; then
11492 if test $wxUSE_LISTBOX = no; then
11493 result=yes
11494 else
11495 result=no
11496 fi
11497 else
11498 result=$wxUSE_LISTBOX
11499 fi
11500
11501 { echo "$as_me:$LINENO: result: $result" >&5
11502 echo "${ECHO_T}$result" >&6; }
11503
11504
11505 enablestring=
11506 defaultval=$wxUSE_ALL_FEATURES
11507 if test -z "$defaultval"; then
11508 if test x"$enablestring" = xdisable; then
11509 defaultval=yes
11510 else
11511 defaultval=no
11512 fi
11513 fi
11514
11515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11516 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11517 # Check whether --enable-listctrl was given.
11518 if test "${enable_listctrl+set}" = set; then
11519 enableval=$enable_listctrl;
11520 if test "$enableval" = yes; then
11521 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11522 else
11523 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11524 fi
11525
11526 else
11527
11528 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11529
11530 fi
11531
11532
11533 eval "$wx_cv_use_listctrl"
11534
11535 if test x"$enablestring" = xdisable; then
11536 if test $wxUSE_LISTCTRL = no; then
11537 result=yes
11538 else
11539 result=no
11540 fi
11541 else
11542 result=$wxUSE_LISTCTRL
11543 fi
11544
11545 { echo "$as_me:$LINENO: result: $result" >&5
11546 echo "${ECHO_T}$result" >&6; }
11547
11548
11549 enablestring=
11550 defaultval=$wxUSE_ALL_FEATURES
11551 if test -z "$defaultval"; then
11552 if test x"$enablestring" = xdisable; then
11553 defaultval=yes
11554 else
11555 defaultval=no
11556 fi
11557 fi
11558
11559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11560 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11561 # Check whether --enable-notebook was given.
11562 if test "${enable_notebook+set}" = set; then
11563 enableval=$enable_notebook;
11564 if test "$enableval" = yes; then
11565 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11566 else
11567 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11568 fi
11569
11570 else
11571
11572 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11573
11574 fi
11575
11576
11577 eval "$wx_cv_use_notebook"
11578
11579 if test x"$enablestring" = xdisable; then
11580 if test $wxUSE_NOTEBOOK = no; then
11581 result=yes
11582 else
11583 result=no
11584 fi
11585 else
11586 result=$wxUSE_NOTEBOOK
11587 fi
11588
11589 { echo "$as_me:$LINENO: result: $result" >&5
11590 echo "${ECHO_T}$result" >&6; }
11591
11592
11593 enablestring=
11594 defaultval=$wxUSE_ALL_FEATURES
11595 if test -z "$defaultval"; then
11596 if test x"$enablestring" = xdisable; then
11597 defaultval=yes
11598 else
11599 defaultval=no
11600 fi
11601 fi
11602
11603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11605 # Check whether --enable-notifmsg was given.
11606 if test "${enable_notifmsg+set}" = set; then
11607 enableval=$enable_notifmsg;
11608 if test "$enableval" = yes; then
11609 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11610 else
11611 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11612 fi
11613
11614 else
11615
11616 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11617
11618 fi
11619
11620
11621 eval "$wx_cv_use_notifmsg"
11622
11623 if test x"$enablestring" = xdisable; then
11624 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11625 result=yes
11626 else
11627 result=no
11628 fi
11629 else
11630 result=$wxUSE_NOTIFICATION_MESSAGE
11631 fi
11632
11633 { echo "$as_me:$LINENO: result: $result" >&5
11634 echo "${ECHO_T}$result" >&6; }
11635
11636
11637 enablestring=
11638 defaultval=$wxUSE_ALL_FEATURES
11639 if test -z "$defaultval"; then
11640 if test x"$enablestring" = xdisable; then
11641 defaultval=yes
11642 else
11643 defaultval=no
11644 fi
11645 fi
11646
11647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11649 # Check whether --enable-odcombobox was given.
11650 if test "${enable_odcombobox+set}" = set; then
11651 enableval=$enable_odcombobox;
11652 if test "$enableval" = yes; then
11653 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11654 else
11655 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11656 fi
11657
11658 else
11659
11660 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11661
11662 fi
11663
11664
11665 eval "$wx_cv_use_odcombobox"
11666
11667 if test x"$enablestring" = xdisable; then
11668 if test $wxUSE_ODCOMBOBOX = no; then
11669 result=yes
11670 else
11671 result=no
11672 fi
11673 else
11674 result=$wxUSE_ODCOMBOBOX
11675 fi
11676
11677 { echo "$as_me:$LINENO: result: $result" >&5
11678 echo "${ECHO_T}$result" >&6; }
11679
11680
11681 enablestring=
11682 defaultval=$wxUSE_ALL_FEATURES
11683 if test -z "$defaultval"; then
11684 if test x"$enablestring" = xdisable; then
11685 defaultval=yes
11686 else
11687 defaultval=no
11688 fi
11689 fi
11690
11691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11693 # Check whether --enable-popupwin was given.
11694 if test "${enable_popupwin+set}" = set; then
11695 enableval=$enable_popupwin;
11696 if test "$enableval" = yes; then
11697 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11698 else
11699 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11700 fi
11701
11702 else
11703
11704 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11705
11706 fi
11707
11708
11709 eval "$wx_cv_use_popupwin"
11710
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_POPUPWIN = no; then
11713 result=yes
11714 else
11715 result=no
11716 fi
11717 else
11718 result=$wxUSE_POPUPWIN
11719 fi
11720
11721 { echo "$as_me:$LINENO: result: $result" >&5
11722 echo "${ECHO_T}$result" >&6; }
11723
11724
11725 enablestring=
11726 defaultval=$wxUSE_ALL_FEATURES
11727 if test -z "$defaultval"; then
11728 if test x"$enablestring" = xdisable; then
11729 defaultval=yes
11730 else
11731 defaultval=no
11732 fi
11733 fi
11734
11735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11736 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11737 # Check whether --enable-radiobox was given.
11738 if test "${enable_radiobox+set}" = set; then
11739 enableval=$enable_radiobox;
11740 if test "$enableval" = yes; then
11741 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11742 else
11743 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11744 fi
11745
11746 else
11747
11748 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11749
11750 fi
11751
11752
11753 eval "$wx_cv_use_radiobox"
11754
11755 if test x"$enablestring" = xdisable; then
11756 if test $wxUSE_RADIOBOX = no; then
11757 result=yes
11758 else
11759 result=no
11760 fi
11761 else
11762 result=$wxUSE_RADIOBOX
11763 fi
11764
11765 { echo "$as_me:$LINENO: result: $result" >&5
11766 echo "${ECHO_T}$result" >&6; }
11767
11768
11769 enablestring=
11770 defaultval=$wxUSE_ALL_FEATURES
11771 if test -z "$defaultval"; then
11772 if test x"$enablestring" = xdisable; then
11773 defaultval=yes
11774 else
11775 defaultval=no
11776 fi
11777 fi
11778
11779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11781 # Check whether --enable-radiobtn was given.
11782 if test "${enable_radiobtn+set}" = set; then
11783 enableval=$enable_radiobtn;
11784 if test "$enableval" = yes; then
11785 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11786 else
11787 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11788 fi
11789
11790 else
11791
11792 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11793
11794 fi
11795
11796
11797 eval "$wx_cv_use_radiobtn"
11798
11799 if test x"$enablestring" = xdisable; then
11800 if test $wxUSE_RADIOBTN = no; then
11801 result=yes
11802 else
11803 result=no
11804 fi
11805 else
11806 result=$wxUSE_RADIOBTN
11807 fi
11808
11809 { echo "$as_me:$LINENO: result: $result" >&5
11810 echo "${ECHO_T}$result" >&6; }
11811
11812
11813 enablestring=
11814 defaultval=$wxUSE_ALL_FEATURES
11815 if test -z "$defaultval"; then
11816 if test x"$enablestring" = xdisable; then
11817 defaultval=yes
11818 else
11819 defaultval=no
11820 fi
11821 fi
11822
11823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11824 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11825 # Check whether --enable-richmsgdlg was given.
11826 if test "${enable_richmsgdlg+set}" = set; then
11827 enableval=$enable_richmsgdlg;
11828 if test "$enableval" = yes; then
11829 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11830 else
11831 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11832 fi
11833
11834 else
11835
11836 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11837
11838 fi
11839
11840
11841 eval "$wx_cv_use_richmsgdlg"
11842
11843 if test x"$enablestring" = xdisable; then
11844 if test $wxUSE_RICHMSGDLG = no; then
11845 result=yes
11846 else
11847 result=no
11848 fi
11849 else
11850 result=$wxUSE_RICHMSGDLG
11851 fi
11852
11853 { echo "$as_me:$LINENO: result: $result" >&5
11854 echo "${ECHO_T}$result" >&6; }
11855
11856
11857 enablestring=
11858 defaultval=$wxUSE_ALL_FEATURES
11859 if test -z "$defaultval"; then
11860 if test x"$enablestring" = xdisable; then
11861 defaultval=yes
11862 else
11863 defaultval=no
11864 fi
11865 fi
11866
11867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11868 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11869 # Check whether --enable-rearrangectrl was given.
11870 if test "${enable_rearrangectrl+set}" = set; then
11871 enableval=$enable_rearrangectrl;
11872 if test "$enableval" = yes; then
11873 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11874 else
11875 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11876 fi
11877
11878 else
11879
11880 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11881
11882 fi
11883
11884
11885 eval "$wx_cv_use_rearrangectrl"
11886
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_REARRANGECTRL = no; then
11889 result=yes
11890 else
11891 result=no
11892 fi
11893 else
11894 result=$wxUSE_REARRANGECTRL
11895 fi
11896
11897 { echo "$as_me:$LINENO: result: $result" >&5
11898 echo "${ECHO_T}$result" >&6; }
11899
11900
11901 enablestring=
11902 defaultval=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x"$enablestring" = xdisable; then
11905 defaultval=yes
11906 else
11907 defaultval=no
11908 fi
11909 fi
11910
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11913 # Check whether --enable-sash was given.
11914 if test "${enable_sash+set}" = set; then
11915 enableval=$enable_sash;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_sash='wxUSE_SASH=yes'
11918 else
11919 wx_cv_use_sash='wxUSE_SASH=no'
11920 fi
11921
11922 else
11923
11924 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11925
11926 fi
11927
11928
11929 eval "$wx_cv_use_sash"
11930
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_SASH = no; then
11933 result=yes
11934 else
11935 result=no
11936 fi
11937 else
11938 result=$wxUSE_SASH
11939 fi
11940
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11943
11944
11945 enablestring=
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11949 defaultval=yes
11950 else
11951 defaultval=no
11952 fi
11953 fi
11954
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11957 # Check whether --enable-scrollbar was given.
11958 if test "${enable_scrollbar+set}" = set; then
11959 enableval=$enable_scrollbar;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11962 else
11963 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11964 fi
11965
11966 else
11967
11968 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11969
11970 fi
11971
11972
11973 eval "$wx_cv_use_scrollbar"
11974
11975 if test x"$enablestring" = xdisable; then
11976 if test $wxUSE_SCROLLBAR = no; then
11977 result=yes
11978 else
11979 result=no
11980 fi
11981 else
11982 result=$wxUSE_SCROLLBAR
11983 fi
11984
11985 { echo "$as_me:$LINENO: result: $result" >&5
11986 echo "${ECHO_T}$result" >&6; }
11987
11988
11989 enablestring=
11990 defaultval=$wxUSE_ALL_FEATURES
11991 if test -z "$defaultval"; then
11992 if test x"$enablestring" = xdisable; then
11993 defaultval=yes
11994 else
11995 defaultval=no
11996 fi
11997 fi
11998
11999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12000 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12001 # Check whether --enable-searchctrl was given.
12002 if test "${enable_searchctrl+set}" = set; then
12003 enableval=$enable_searchctrl;
12004 if test "$enableval" = yes; then
12005 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12006 else
12007 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12008 fi
12009
12010 else
12011
12012 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12013
12014 fi
12015
12016
12017 eval "$wx_cv_use_searchctrl"
12018
12019 if test x"$enablestring" = xdisable; then
12020 if test $wxUSE_SEARCHCTRL = no; then
12021 result=yes
12022 else
12023 result=no
12024 fi
12025 else
12026 result=$wxUSE_SEARCHCTRL
12027 fi
12028
12029 { echo "$as_me:$LINENO: result: $result" >&5
12030 echo "${ECHO_T}$result" >&6; }
12031
12032
12033 enablestring=
12034 defaultval=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x"$enablestring" = xdisable; then
12037 defaultval=yes
12038 else
12039 defaultval=no
12040 fi
12041 fi
12042
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12045 # Check whether --enable-slider was given.
12046 if test "${enable_slider+set}" = set; then
12047 enableval=$enable_slider;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_slider='wxUSE_SLIDER=yes'
12050 else
12051 wx_cv_use_slider='wxUSE_SLIDER=no'
12052 fi
12053
12054 else
12055
12056 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12057
12058 fi
12059
12060
12061 eval "$wx_cv_use_slider"
12062
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_SLIDER = no; then
12065 result=yes
12066 else
12067 result=no
12068 fi
12069 else
12070 result=$wxUSE_SLIDER
12071 fi
12072
12073 { echo "$as_me:$LINENO: result: $result" >&5
12074 echo "${ECHO_T}$result" >&6; }
12075
12076
12077 enablestring=
12078 defaultval=$wxUSE_ALL_FEATURES
12079 if test -z "$defaultval"; then
12080 if test x"$enablestring" = xdisable; then
12081 defaultval=yes
12082 else
12083 defaultval=no
12084 fi
12085 fi
12086
12087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12088 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12089 # Check whether --enable-spinbtn was given.
12090 if test "${enable_spinbtn+set}" = set; then
12091 enableval=$enable_spinbtn;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12094 else
12095 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12096 fi
12097
12098 else
12099
12100 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12101
12102 fi
12103
12104
12105 eval "$wx_cv_use_spinbtn"
12106
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_SPINBTN = no; then
12109 result=yes
12110 else
12111 result=no
12112 fi
12113 else
12114 result=$wxUSE_SPINBTN
12115 fi
12116
12117 { echo "$as_me:$LINENO: result: $result" >&5
12118 echo "${ECHO_T}$result" >&6; }
12119
12120
12121 enablestring=
12122 defaultval=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x"$enablestring" = xdisable; then
12125 defaultval=yes
12126 else
12127 defaultval=no
12128 fi
12129 fi
12130
12131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12132 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12133 # Check whether --enable-spinctrl was given.
12134 if test "${enable_spinctrl+set}" = set; then
12135 enableval=$enable_spinctrl;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12138 else
12139 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12140 fi
12141
12142 else
12143
12144 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12145
12146 fi
12147
12148
12149 eval "$wx_cv_use_spinctrl"
12150
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_SPINCTRL = no; then
12153 result=yes
12154 else
12155 result=no
12156 fi
12157 else
12158 result=$wxUSE_SPINCTRL
12159 fi
12160
12161 { echo "$as_me:$LINENO: result: $result" >&5
12162 echo "${ECHO_T}$result" >&6; }
12163
12164
12165 enablestring=
12166 defaultval=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x"$enablestring" = xdisable; then
12169 defaultval=yes
12170 else
12171 defaultval=no
12172 fi
12173 fi
12174
12175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12176 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12177 # Check whether --enable-splitter was given.
12178 if test "${enable_splitter+set}" = set; then
12179 enableval=$enable_splitter;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12182 else
12183 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12184 fi
12185
12186 else
12187
12188 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12189
12190 fi
12191
12192
12193 eval "$wx_cv_use_splitter"
12194
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_SPLITTER = no; then
12197 result=yes
12198 else
12199 result=no
12200 fi
12201 else
12202 result=$wxUSE_SPLITTER
12203 fi
12204
12205 { echo "$as_me:$LINENO: result: $result" >&5
12206 echo "${ECHO_T}$result" >&6; }
12207
12208
12209 enablestring=
12210 defaultval=$wxUSE_ALL_FEATURES
12211 if test -z "$defaultval"; then
12212 if test x"$enablestring" = xdisable; then
12213 defaultval=yes
12214 else
12215 defaultval=no
12216 fi
12217 fi
12218
12219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12220 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12221 # Check whether --enable-statbmp was given.
12222 if test "${enable_statbmp+set}" = set; then
12223 enableval=$enable_statbmp;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12226 else
12227 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12228 fi
12229
12230 else
12231
12232 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12233
12234 fi
12235
12236
12237 eval "$wx_cv_use_statbmp"
12238
12239 if test x"$enablestring" = xdisable; then
12240 if test $wxUSE_STATBMP = no; then
12241 result=yes
12242 else
12243 result=no
12244 fi
12245 else
12246 result=$wxUSE_STATBMP
12247 fi
12248
12249 { echo "$as_me:$LINENO: result: $result" >&5
12250 echo "${ECHO_T}$result" >&6; }
12251
12252
12253 enablestring=
12254 defaultval=$wxUSE_ALL_FEATURES
12255 if test -z "$defaultval"; then
12256 if test x"$enablestring" = xdisable; then
12257 defaultval=yes
12258 else
12259 defaultval=no
12260 fi
12261 fi
12262
12263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12264 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12265 # Check whether --enable-statbox was given.
12266 if test "${enable_statbox+set}" = set; then
12267 enableval=$enable_statbox;
12268 if test "$enableval" = yes; then
12269 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12270 else
12271 wx_cv_use_statbox='wxUSE_STATBOX=no'
12272 fi
12273
12274 else
12275
12276 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12277
12278 fi
12279
12280
12281 eval "$wx_cv_use_statbox"
12282
12283 if test x"$enablestring" = xdisable; then
12284 if test $wxUSE_STATBOX = no; then
12285 result=yes
12286 else
12287 result=no
12288 fi
12289 else
12290 result=$wxUSE_STATBOX
12291 fi
12292
12293 { echo "$as_me:$LINENO: result: $result" >&5
12294 echo "${ECHO_T}$result" >&6; }
12295
12296
12297 enablestring=
12298 defaultval=$wxUSE_ALL_FEATURES
12299 if test -z "$defaultval"; then
12300 if test x"$enablestring" = xdisable; then
12301 defaultval=yes
12302 else
12303 defaultval=no
12304 fi
12305 fi
12306
12307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12308 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12309 # Check whether --enable-statline was given.
12310 if test "${enable_statline+set}" = set; then
12311 enableval=$enable_statline;
12312 if test "$enableval" = yes; then
12313 wx_cv_use_statline='wxUSE_STATLINE=yes'
12314 else
12315 wx_cv_use_statline='wxUSE_STATLINE=no'
12316 fi
12317
12318 else
12319
12320 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12321
12322 fi
12323
12324
12325 eval "$wx_cv_use_statline"
12326
12327 if test x"$enablestring" = xdisable; then
12328 if test $wxUSE_STATLINE = no; then
12329 result=yes
12330 else
12331 result=no
12332 fi
12333 else
12334 result=$wxUSE_STATLINE
12335 fi
12336
12337 { echo "$as_me:$LINENO: result: $result" >&5
12338 echo "${ECHO_T}$result" >&6; }
12339
12340
12341 enablestring=
12342 defaultval=$wxUSE_ALL_FEATURES
12343 if test -z "$defaultval"; then
12344 if test x"$enablestring" = xdisable; then
12345 defaultval=yes
12346 else
12347 defaultval=no
12348 fi
12349 fi
12350
12351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12352 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12353 # Check whether --enable-stattext was given.
12354 if test "${enable_stattext+set}" = set; then
12355 enableval=$enable_stattext;
12356 if test "$enableval" = yes; then
12357 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12358 else
12359 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12360 fi
12361
12362 else
12363
12364 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12365
12366 fi
12367
12368
12369 eval "$wx_cv_use_stattext"
12370
12371 if test x"$enablestring" = xdisable; then
12372 if test $wxUSE_STATTEXT = no; then
12373 result=yes
12374 else
12375 result=no
12376 fi
12377 else
12378 result=$wxUSE_STATTEXT
12379 fi
12380
12381 { echo "$as_me:$LINENO: result: $result" >&5
12382 echo "${ECHO_T}$result" >&6; }
12383
12384
12385 enablestring=
12386 defaultval=$wxUSE_ALL_FEATURES
12387 if test -z "$defaultval"; then
12388 if test x"$enablestring" = xdisable; then
12389 defaultval=yes
12390 else
12391 defaultval=no
12392 fi
12393 fi
12394
12395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12396 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12397 # Check whether --enable-statusbar was given.
12398 if test "${enable_statusbar+set}" = set; then
12399 enableval=$enable_statusbar;
12400 if test "$enableval" = yes; then
12401 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12402 else
12403 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12404 fi
12405
12406 else
12407
12408 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12409
12410 fi
12411
12412
12413 eval "$wx_cv_use_statusbar"
12414
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_STATUSBAR = no; then
12417 result=yes
12418 else
12419 result=no
12420 fi
12421 else
12422 result=$wxUSE_STATUSBAR
12423 fi
12424
12425 { echo "$as_me:$LINENO: result: $result" >&5
12426 echo "${ECHO_T}$result" >&6; }
12427
12428
12429 enablestring=
12430 defaultval=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x"$enablestring" = xdisable; then
12433 defaultval=yes
12434 else
12435 defaultval=no
12436 fi
12437 fi
12438
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12441 # Check whether --enable-taskbaricon was given.
12442 if test "${enable_taskbaricon+set}" = set; then
12443 enableval=$enable_taskbaricon;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12446 else
12447 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12448 fi
12449
12450 else
12451
12452 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12453
12454 fi
12455
12456
12457 eval "$wx_cv_use_taskbaricon"
12458
12459 if test x"$enablestring" = xdisable; then
12460 if test $wxUSE_TASKBARICON = no; then
12461 result=yes
12462 else
12463 result=no
12464 fi
12465 else
12466 result=$wxUSE_TASKBARICON
12467 fi
12468
12469 { echo "$as_me:$LINENO: result: $result" >&5
12470 echo "${ECHO_T}$result" >&6; }
12471
12472
12473 enablestring=
12474 defaultval=$wxUSE_ALL_FEATURES
12475 if test -z "$defaultval"; then
12476 if test x"$enablestring" = xdisable; then
12477 defaultval=yes
12478 else
12479 defaultval=no
12480 fi
12481 fi
12482
12483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12485 # Check whether --enable-tbarnative was given.
12486 if test "${enable_tbarnative+set}" = set; then
12487 enableval=$enable_tbarnative;
12488 if test "$enableval" = yes; then
12489 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12490 else
12491 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12492 fi
12493
12494 else
12495
12496 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12497
12498 fi
12499
12500
12501 eval "$wx_cv_use_tbarnative"
12502
12503 if test x"$enablestring" = xdisable; then
12504 if test $wxUSE_TOOLBAR_NATIVE = no; then
12505 result=yes
12506 else
12507 result=no
12508 fi
12509 else
12510 result=$wxUSE_TOOLBAR_NATIVE
12511 fi
12512
12513 { echo "$as_me:$LINENO: result: $result" >&5
12514 echo "${ECHO_T}$result" >&6; }
12515
12516
12517 enablestring=
12518 defaultval=$wxUSE_ALL_FEATURES
12519 if test -z "$defaultval"; then
12520 if test x"$enablestring" = xdisable; then
12521 defaultval=yes
12522 else
12523 defaultval=no
12524 fi
12525 fi
12526
12527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12528 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12529 # Check whether --enable-textctrl was given.
12530 if test "${enable_textctrl+set}" = set; then
12531 enableval=$enable_textctrl;
12532 if test "$enableval" = yes; then
12533 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12534 else
12535 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12536 fi
12537
12538 else
12539
12540 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12541
12542 fi
12543
12544
12545 eval "$wx_cv_use_textctrl"
12546
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_TEXTCTRL = no; then
12549 result=yes
12550 else
12551 result=no
12552 fi
12553 else
12554 result=$wxUSE_TEXTCTRL
12555 fi
12556
12557 { echo "$as_me:$LINENO: result: $result" >&5
12558 echo "${ECHO_T}$result" >&6; }
12559
12560
12561 enablestring=
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12565 defaultval=yes
12566 else
12567 defaultval=no
12568 fi
12569 fi
12570
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12573 # Check whether --enable-tipwindow was given.
12574 if test "${enable_tipwindow+set}" = set; then
12575 enableval=$enable_tipwindow;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12578 else
12579 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12580 fi
12581
12582 else
12583
12584 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12585
12586 fi
12587
12588
12589 eval "$wx_cv_use_tipwindow"
12590
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_TIPWINDOW = no; then
12593 result=yes
12594 else
12595 result=no
12596 fi
12597 else
12598 result=$wxUSE_TIPWINDOW
12599 fi
12600
12601 { echo "$as_me:$LINENO: result: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12603
12604
12605 enablestring=
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12609 defaultval=yes
12610 else
12611 defaultval=no
12612 fi
12613 fi
12614
12615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12617 # Check whether --enable-togglebtn was given.
12618 if test "${enable_togglebtn+set}" = set; then
12619 enableval=$enable_togglebtn;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12622 else
12623 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12624 fi
12625
12626 else
12627
12628 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12629
12630 fi
12631
12632
12633 eval "$wx_cv_use_togglebtn"
12634
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_TOGGLEBTN = no; then
12637 result=yes
12638 else
12639 result=no
12640 fi
12641 else
12642 result=$wxUSE_TOGGLEBTN
12643 fi
12644
12645 { echo "$as_me:$LINENO: result: $result" >&5
12646 echo "${ECHO_T}$result" >&6; }
12647
12648
12649 enablestring=
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12653 defaultval=yes
12654 else
12655 defaultval=no
12656 fi
12657 fi
12658
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12661 # Check whether --enable-toolbar was given.
12662 if test "${enable_toolbar+set}" = set; then
12663 enableval=$enable_toolbar;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12666 else
12667 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12668 fi
12669
12670 else
12671
12672 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12673
12674 fi
12675
12676
12677 eval "$wx_cv_use_toolbar"
12678
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_TOOLBAR = no; then
12681 result=yes
12682 else
12683 result=no
12684 fi
12685 else
12686 result=$wxUSE_TOOLBAR
12687 fi
12688
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12691
12692
12693 enablestring=
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12697 defaultval=yes
12698 else
12699 defaultval=no
12700 fi
12701 fi
12702
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12705 # Check whether --enable-toolbook was given.
12706 if test "${enable_toolbook+set}" = set; then
12707 enableval=$enable_toolbook;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12710 else
12711 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12712 fi
12713
12714 else
12715
12716 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12717
12718 fi
12719
12720
12721 eval "$wx_cv_use_toolbook"
12722
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_TOOLBOOK = no; then
12725 result=yes
12726 else
12727 result=no
12728 fi
12729 else
12730 result=$wxUSE_TOOLBOOK
12731 fi
12732
12733 { echo "$as_me:$LINENO: result: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12735
12736
12737 enablestring=
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12741 defaultval=yes
12742 else
12743 defaultval=no
12744 fi
12745 fi
12746
12747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12749 # Check whether --enable-treebook was given.
12750 if test "${enable_treebook+set}" = set; then
12751 enableval=$enable_treebook;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12754 else
12755 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12756 fi
12757
12758 else
12759
12760 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12761
12762 fi
12763
12764
12765 eval "$wx_cv_use_treebook"
12766
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_TREEBOOK = no; then
12769 result=yes
12770 else
12771 result=no
12772 fi
12773 else
12774 result=$wxUSE_TREEBOOK
12775 fi
12776
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12779
12780
12781 enablestring=
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12785 defaultval=yes
12786 else
12787 defaultval=no
12788 fi
12789 fi
12790
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12793 # Check whether --enable-treectrl was given.
12794 if test "${enable_treectrl+set}" = set; then
12795 enableval=$enable_treectrl;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12798 else
12799 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12800 fi
12801
12802 else
12803
12804 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12805
12806 fi
12807
12808
12809 eval "$wx_cv_use_treectrl"
12810
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_TREECTRL = no; then
12813 result=yes
12814 else
12815 result=no
12816 fi
12817 else
12818 result=$wxUSE_TREECTRL
12819 fi
12820
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12823
12824
12825 enablestring=
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12829 defaultval=yes
12830 else
12831 defaultval=no
12832 fi
12833 fi
12834
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
12837 # Check whether --enable-treelist was given.
12838 if test "${enable_treelist+set}" = set; then
12839 enableval=$enable_treelist;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
12842 else
12843 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
12844 fi
12845
12846 else
12847
12848 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
12849
12850 fi
12851
12852
12853 eval "$wx_cv_use_treelist"
12854
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_TREELISTCTRL = no; then
12857 result=yes
12858 else
12859 result=no
12860 fi
12861 else
12862 result=$wxUSE_TREELISTCTRL
12863 fi
12864
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12867
12868
12869
12870
12871 enablestring=
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12875 defaultval=yes
12876 else
12877 defaultval=no
12878 fi
12879 fi
12880
12881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12882 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12883 # Check whether --enable-commondlg was given.
12884 if test "${enable_commondlg+set}" = set; then
12885 enableval=$enable_commondlg;
12886 if test "$enableval" = yes; then
12887 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12888 else
12889 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12890 fi
12891
12892 else
12893
12894 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12895
12896 fi
12897
12898
12899 eval "$wx_cv_use_commondlg"
12900
12901 if test x"$enablestring" = xdisable; then
12902 if test $wxUSE_COMMONDLGS = no; then
12903 result=yes
12904 else
12905 result=no
12906 fi
12907 else
12908 result=$wxUSE_COMMONDLGS
12909 fi
12910
12911 { echo "$as_me:$LINENO: result: $result" >&5
12912 echo "${ECHO_T}$result" >&6; }
12913
12914
12915 enablestring=
12916 defaultval=$wxUSE_ALL_FEATURES
12917 if test -z "$defaultval"; then
12918 if test x"$enablestring" = xdisable; then
12919 defaultval=yes
12920 else
12921 defaultval=no
12922 fi
12923 fi
12924
12925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12926 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12927 # Check whether --enable-aboutdlg was given.
12928 if test "${enable_aboutdlg+set}" = set; then
12929 enableval=$enable_aboutdlg;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12932 else
12933 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12934 fi
12935
12936 else
12937
12938 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12939
12940 fi
12941
12942
12943 eval "$wx_cv_use_aboutdlg"
12944
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_ABOUTDLG = no; then
12947 result=yes
12948 else
12949 result=no
12950 fi
12951 else
12952 result=$wxUSE_ABOUTDLG
12953 fi
12954
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12957
12958
12959 enablestring=
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12963 defaultval=yes
12964 else
12965 defaultval=no
12966 fi
12967 fi
12968
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12971 # Check whether --enable-choicedlg was given.
12972 if test "${enable_choicedlg+set}" = set; then
12973 enableval=$enable_choicedlg;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12976 else
12977 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12978 fi
12979
12980 else
12981
12982 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12983
12984 fi
12985
12986
12987 eval "$wx_cv_use_choicedlg"
12988
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_CHOICEDLG = no; then
12991 result=yes
12992 else
12993 result=no
12994 fi
12995 else
12996 result=$wxUSE_CHOICEDLG
12997 fi
12998
12999 { echo "$as_me:$LINENO: result: $result" >&5
13000 echo "${ECHO_T}$result" >&6; }
13001
13002
13003 enablestring=
13004 defaultval=$wxUSE_ALL_FEATURES
13005 if test -z "$defaultval"; then
13006 if test x"$enablestring" = xdisable; then
13007 defaultval=yes
13008 else
13009 defaultval=no
13010 fi
13011 fi
13012
13013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13014 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13015 # Check whether --enable-coldlg was given.
13016 if test "${enable_coldlg+set}" = set; then
13017 enableval=$enable_coldlg;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13020 else
13021 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13022 fi
13023
13024 else
13025
13026 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13027
13028 fi
13029
13030
13031 eval "$wx_cv_use_coldlg"
13032
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_COLOURDLG = no; then
13035 result=yes
13036 else
13037 result=no
13038 fi
13039 else
13040 result=$wxUSE_COLOURDLG
13041 fi
13042
13043 { echo "$as_me:$LINENO: result: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13045
13046
13047 enablestring=
13048 defaultval=$wxUSE_ALL_FEATURES
13049 if test -z "$defaultval"; then
13050 if test x"$enablestring" = xdisable; then
13051 defaultval=yes
13052 else
13053 defaultval=no
13054 fi
13055 fi
13056
13057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13058 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13059 # Check whether --enable-filedlg was given.
13060 if test "${enable_filedlg+set}" = set; then
13061 enableval=$enable_filedlg;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13064 else
13065 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13066 fi
13067
13068 else
13069
13070 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13071
13072 fi
13073
13074
13075 eval "$wx_cv_use_filedlg"
13076
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_FILEDLG = no; then
13079 result=yes
13080 else
13081 result=no
13082 fi
13083 else
13084 result=$wxUSE_FILEDLG
13085 fi
13086
13087 { echo "$as_me:$LINENO: result: $result" >&5
13088 echo "${ECHO_T}$result" >&6; }
13089
13090
13091 enablestring=
13092 defaultval=$wxUSE_ALL_FEATURES
13093 if test -z "$defaultval"; then
13094 if test x"$enablestring" = xdisable; then
13095 defaultval=yes
13096 else
13097 defaultval=no
13098 fi
13099 fi
13100
13101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13103 # Check whether --enable-finddlg was given.
13104 if test "${enable_finddlg+set}" = set; then
13105 enableval=$enable_finddlg;
13106 if test "$enableval" = yes; then
13107 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13108 else
13109 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13110 fi
13111
13112 else
13113
13114 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13115
13116 fi
13117
13118
13119 eval "$wx_cv_use_finddlg"
13120
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_FINDREPLDLG = no; then
13123 result=yes
13124 else
13125 result=no
13126 fi
13127 else
13128 result=$wxUSE_FINDREPLDLG
13129 fi
13130
13131 { echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13133
13134
13135 enablestring=
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13139 defaultval=yes
13140 else
13141 defaultval=no
13142 fi
13143 fi
13144
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13147 # Check whether --enable-fontdlg was given.
13148 if test "${enable_fontdlg+set}" = set; then
13149 enableval=$enable_fontdlg;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13152 else
13153 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13154 fi
13155
13156 else
13157
13158 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13159
13160 fi
13161
13162
13163 eval "$wx_cv_use_fontdlg"
13164
13165 if test x"$enablestring" = xdisable; then
13166 if test $wxUSE_FONTDLG = no; then
13167 result=yes
13168 else
13169 result=no
13170 fi
13171 else
13172 result=$wxUSE_FONTDLG
13173 fi
13174
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13177
13178
13179 enablestring=
13180 defaultval=$wxUSE_ALL_FEATURES
13181 if test -z "$defaultval"; then
13182 if test x"$enablestring" = xdisable; then
13183 defaultval=yes
13184 else
13185 defaultval=no
13186 fi
13187 fi
13188
13189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13190 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13191 # Check whether --enable-dirdlg was given.
13192 if test "${enable_dirdlg+set}" = set; then
13193 enableval=$enable_dirdlg;
13194 if test "$enableval" = yes; then
13195 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13196 else
13197 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13198 fi
13199
13200 else
13201
13202 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13203
13204 fi
13205
13206
13207 eval "$wx_cv_use_dirdlg"
13208
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_DIRDLG = no; then
13211 result=yes
13212 else
13213 result=no
13214 fi
13215 else
13216 result=$wxUSE_DIRDLG
13217 fi
13218
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13221
13222
13223 enablestring=
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13227 defaultval=yes
13228 else
13229 defaultval=no
13230 fi
13231 fi
13232
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13235 # Check whether --enable-msgdlg was given.
13236 if test "${enable_msgdlg+set}" = set; then
13237 enableval=$enable_msgdlg;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13240 else
13241 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13242 fi
13243
13244 else
13245
13246 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13247
13248 fi
13249
13250
13251 eval "$wx_cv_use_msgdlg"
13252
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_MSGDLG = no; then
13255 result=yes
13256 else
13257 result=no
13258 fi
13259 else
13260 result=$wxUSE_MSGDLG
13261 fi
13262
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13265
13266
13267 enablestring=
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13271 defaultval=yes
13272 else
13273 defaultval=no
13274 fi
13275 fi
13276
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13279 # Check whether --enable-numberdlg was given.
13280 if test "${enable_numberdlg+set}" = set; then
13281 enableval=$enable_numberdlg;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13284 else
13285 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13286 fi
13287
13288 else
13289
13290 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13291
13292 fi
13293
13294
13295 eval "$wx_cv_use_numberdlg"
13296
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_NUMBERDLG = no; then
13299 result=yes
13300 else
13301 result=no
13302 fi
13303 else
13304 result=$wxUSE_NUMBERDLG
13305 fi
13306
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13309
13310
13311 enablestring=
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13315 defaultval=yes
13316 else
13317 defaultval=no
13318 fi
13319 fi
13320
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13323 # Check whether --enable-splash was given.
13324 if test "${enable_splash+set}" = set; then
13325 enableval=$enable_splash;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_splash='wxUSE_SPLASH=yes'
13328 else
13329 wx_cv_use_splash='wxUSE_SPLASH=no'
13330 fi
13331
13332 else
13333
13334 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13335
13336 fi
13337
13338
13339 eval "$wx_cv_use_splash"
13340
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_SPLASH = no; then
13343 result=yes
13344 else
13345 result=no
13346 fi
13347 else
13348 result=$wxUSE_SPLASH
13349 fi
13350
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13353
13354
13355 enablestring=
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13359 defaultval=yes
13360 else
13361 defaultval=no
13362 fi
13363 fi
13364
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13367 # Check whether --enable-textdlg was given.
13368 if test "${enable_textdlg+set}" = set; then
13369 enableval=$enable_textdlg;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13372 else
13373 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13374 fi
13375
13376 else
13377
13378 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13379
13380 fi
13381
13382
13383 eval "$wx_cv_use_textdlg"
13384
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_TEXTDLG = no; then
13387 result=yes
13388 else
13389 result=no
13390 fi
13391 else
13392 result=$wxUSE_TEXTDLG
13393 fi
13394
13395 { echo "$as_me:$LINENO: result: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13397
13398
13399 enablestring=
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13403 defaultval=yes
13404 else
13405 defaultval=no
13406 fi
13407 fi
13408
13409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13411 # Check whether --enable-tipdlg was given.
13412 if test "${enable_tipdlg+set}" = set; then
13413 enableval=$enable_tipdlg;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13416 else
13417 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13418 fi
13419
13420 else
13421
13422 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13423
13424 fi
13425
13426
13427 eval "$wx_cv_use_tipdlg"
13428
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_STARTUP_TIPS = no; then
13431 result=yes
13432 else
13433 result=no
13434 fi
13435 else
13436 result=$wxUSE_STARTUP_TIPS
13437 fi
13438
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13441
13442
13443 enablestring=
13444 defaultval=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x"$enablestring" = xdisable; then
13447 defaultval=yes
13448 else
13449 defaultval=no
13450 fi
13451 fi
13452
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13455 # Check whether --enable-progressdlg was given.
13456 if test "${enable_progressdlg+set}" = set; then
13457 enableval=$enable_progressdlg;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13460 else
13461 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13462 fi
13463
13464 else
13465
13466 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13467
13468 fi
13469
13470
13471 eval "$wx_cv_use_progressdlg"
13472
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_PROGRESSDLG = no; then
13475 result=yes
13476 else
13477 result=no
13478 fi
13479 else
13480 result=$wxUSE_PROGRESSDLG
13481 fi
13482
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13485
13486
13487 enablestring=
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13491 defaultval=yes
13492 else
13493 defaultval=no
13494 fi
13495 fi
13496
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13499 # Check whether --enable-wizarddlg was given.
13500 if test "${enable_wizarddlg+set}" = set; then
13501 enableval=$enable_wizarddlg;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13504 else
13505 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13506 fi
13507
13508 else
13509
13510 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13511
13512 fi
13513
13514
13515 eval "$wx_cv_use_wizarddlg"
13516
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_WIZARDDLG = no; then
13519 result=yes
13520 else
13521 result=no
13522 fi
13523 else
13524 result=$wxUSE_WIZARDDLG
13525 fi
13526
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13529
13530
13531
13532
13533 enablestring=
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13537 defaultval=yes
13538 else
13539 defaultval=no
13540 fi
13541 fi
13542
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13545 # Check whether --enable-menus was given.
13546 if test "${enable_menus+set}" = set; then
13547 enableval=$enable_menus;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_menus='wxUSE_MENUS=yes'
13550 else
13551 wx_cv_use_menus='wxUSE_MENUS=no'
13552 fi
13553
13554 else
13555
13556 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13557
13558 fi
13559
13560
13561 eval "$wx_cv_use_menus"
13562
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_MENUS = no; then
13565 result=yes
13566 else
13567 result=no
13568 fi
13569 else
13570 result=$wxUSE_MENUS
13571 fi
13572
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13575
13576
13577 enablestring=
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13581 defaultval=yes
13582 else
13583 defaultval=no
13584 fi
13585 fi
13586
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13589 # Check whether --enable-miniframe was given.
13590 if test "${enable_miniframe+set}" = set; then
13591 enableval=$enable_miniframe;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13594 else
13595 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13596 fi
13597
13598 else
13599
13600 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13601
13602 fi
13603
13604
13605 eval "$wx_cv_use_miniframe"
13606
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_MINIFRAME = no; then
13609 result=yes
13610 else
13611 result=no
13612 fi
13613 else
13614 result=$wxUSE_MINIFRAME
13615 fi
13616
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13619
13620
13621 enablestring=
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13625 defaultval=yes
13626 else
13627 defaultval=no
13628 fi
13629 fi
13630
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13633 # Check whether --enable-tooltips was given.
13634 if test "${enable_tooltips+set}" = set; then
13635 enableval=$enable_tooltips;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13638 else
13639 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13640 fi
13641
13642 else
13643
13644 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13645
13646 fi
13647
13648
13649 eval "$wx_cv_use_tooltips"
13650
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_TOOLTIPS = no; then
13653 result=yes
13654 else
13655 result=no
13656 fi
13657 else
13658 result=$wxUSE_TOOLTIPS
13659 fi
13660
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13663
13664
13665 enablestring=
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13669 defaultval=yes
13670 else
13671 defaultval=no
13672 fi
13673 fi
13674
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13677 # Check whether --enable-splines was given.
13678 if test "${enable_splines+set}" = set; then
13679 enableval=$enable_splines;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_splines='wxUSE_SPLINES=yes'
13682 else
13683 wx_cv_use_splines='wxUSE_SPLINES=no'
13684 fi
13685
13686 else
13687
13688 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13689
13690 fi
13691
13692
13693 eval "$wx_cv_use_splines"
13694
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_SPLINES = no; then
13697 result=yes
13698 else
13699 result=no
13700 fi
13701 else
13702 result=$wxUSE_SPLINES
13703 fi
13704
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13707
13708
13709 enablestring=
13710 defaultval=$wxUSE_ALL_FEATURES
13711 if test -z "$defaultval"; then
13712 if test x"$enablestring" = xdisable; then
13713 defaultval=yes
13714 else
13715 defaultval=no
13716 fi
13717 fi
13718
13719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13721 # Check whether --enable-mousewheel was given.
13722 if test "${enable_mousewheel+set}" = set; then
13723 enableval=$enable_mousewheel;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13726 else
13727 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13728 fi
13729
13730 else
13731
13732 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13733
13734 fi
13735
13736
13737 eval "$wx_cv_use_mousewheel"
13738
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_MOUSEWHEEL = no; then
13741 result=yes
13742 else
13743 result=no
13744 fi
13745 else
13746 result=$wxUSE_MOUSEWHEEL
13747 fi
13748
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6; }
13751
13752
13753 enablestring=
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13757 defaultval=yes
13758 else
13759 defaultval=no
13760 fi
13761 fi
13762
13763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13765 # Check whether --enable-validators was given.
13766 if test "${enable_validators+set}" = set; then
13767 enableval=$enable_validators;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13770 else
13771 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13772 fi
13773
13774 else
13775
13776 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13777
13778 fi
13779
13780
13781 eval "$wx_cv_use_validators"
13782
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_VALIDATORS = no; then
13785 result=yes
13786 else
13787 result=no
13788 fi
13789 else
13790 result=$wxUSE_VALIDATORS
13791 fi
13792
13793 { echo "$as_me:$LINENO: result: $result" >&5
13794 echo "${ECHO_T}$result" >&6; }
13795
13796
13797 enablestring=
13798 defaultval=$wxUSE_ALL_FEATURES
13799 if test -z "$defaultval"; then
13800 if test x"$enablestring" = xdisable; then
13801 defaultval=yes
13802 else
13803 defaultval=no
13804 fi
13805 fi
13806
13807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13809 # Check whether --enable-busyinfo was given.
13810 if test "${enable_busyinfo+set}" = set; then
13811 enableval=$enable_busyinfo;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13814 else
13815 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13816 fi
13817
13818 else
13819
13820 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13821
13822 fi
13823
13824
13825 eval "$wx_cv_use_busyinfo"
13826
13827 if test x"$enablestring" = xdisable; then
13828 if test $wxUSE_BUSYINFO = no; then
13829 result=yes
13830 else
13831 result=no
13832 fi
13833 else
13834 result=$wxUSE_BUSYINFO
13835 fi
13836
13837 { echo "$as_me:$LINENO: result: $result" >&5
13838 echo "${ECHO_T}$result" >&6; }
13839
13840
13841 enablestring=
13842 defaultval=$wxUSE_ALL_FEATURES
13843 if test -z "$defaultval"; then
13844 if test x"$enablestring" = xdisable; then
13845 defaultval=yes
13846 else
13847 defaultval=no
13848 fi
13849 fi
13850
13851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
13852 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
13853 # Check whether --enable-hotkey was given.
13854 if test "${enable_hotkey+set}" = set; then
13855 enableval=$enable_hotkey;
13856 if test "$enableval" = yes; then
13857 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
13858 else
13859 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
13860 fi
13861
13862 else
13863
13864 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
13865
13866 fi
13867
13868
13869 eval "$wx_cv_use_hotkey"
13870
13871 if test x"$enablestring" = xdisable; then
13872 if test $wxUSE_HOTKEY = no; then
13873 result=yes
13874 else
13875 result=no
13876 fi
13877 else
13878 result=$wxUSE_HOTKEY
13879 fi
13880
13881 { echo "$as_me:$LINENO: result: $result" >&5
13882 echo "${ECHO_T}$result" >&6; }
13883
13884
13885 enablestring=
13886 defaultval=$wxUSE_ALL_FEATURES
13887 if test -z "$defaultval"; then
13888 if test x"$enablestring" = xdisable; then
13889 defaultval=yes
13890 else
13891 defaultval=no
13892 fi
13893 fi
13894
13895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13896 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13897 # Check whether --enable-joystick was given.
13898 if test "${enable_joystick+set}" = set; then
13899 enableval=$enable_joystick;
13900 if test "$enableval" = yes; then
13901 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13902 else
13903 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13904 fi
13905
13906 else
13907
13908 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13909
13910 fi
13911
13912
13913 eval "$wx_cv_use_joystick"
13914
13915 if test x"$enablestring" = xdisable; then
13916 if test $wxUSE_JOYSTICK = no; then
13917 result=yes
13918 else
13919 result=no
13920 fi
13921 else
13922 result=$wxUSE_JOYSTICK
13923 fi
13924
13925 { echo "$as_me:$LINENO: result: $result" >&5
13926 echo "${ECHO_T}$result" >&6; }
13927
13928
13929 enablestring=
13930 defaultval=$wxUSE_ALL_FEATURES
13931 if test -z "$defaultval"; then
13932 if test x"$enablestring" = xdisable; then
13933 defaultval=yes
13934 else
13935 defaultval=no
13936 fi
13937 fi
13938
13939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13940 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13941 # Check whether --enable-metafile was given.
13942 if test "${enable_metafile+set}" = set; then
13943 enableval=$enable_metafile;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13946 else
13947 wx_cv_use_metafile='wxUSE_METAFILE=no'
13948 fi
13949
13950 else
13951
13952 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13953
13954 fi
13955
13956
13957 eval "$wx_cv_use_metafile"
13958
13959 if test x"$enablestring" = xdisable; then
13960 if test $wxUSE_METAFILE = no; then
13961 result=yes
13962 else
13963 result=no
13964 fi
13965 else
13966 result=$wxUSE_METAFILE
13967 fi
13968
13969 { echo "$as_me:$LINENO: result: $result" >&5
13970 echo "${ECHO_T}$result" >&6; }
13971
13972
13973 enablestring=
13974 defaultval=$wxUSE_ALL_FEATURES
13975 if test -z "$defaultval"; then
13976 if test x"$enablestring" = xdisable; then
13977 defaultval=yes
13978 else
13979 defaultval=no
13980 fi
13981 fi
13982
13983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13984 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13985 # Check whether --enable-dragimage was given.
13986 if test "${enable_dragimage+set}" = set; then
13987 enableval=$enable_dragimage;
13988 if test "$enableval" = yes; then
13989 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13990 else
13991 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13992 fi
13993
13994 else
13995
13996 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13997
13998 fi
13999
14000
14001 eval "$wx_cv_use_dragimage"
14002
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_DRAGIMAGE = no; then
14005 result=yes
14006 else
14007 result=no
14008 fi
14009 else
14010 result=$wxUSE_DRAGIMAGE
14011 fi
14012
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14015
14016
14017 enablestring=
14018 defaultval=$wxUSE_ALL_FEATURES
14019 if test -z "$defaultval"; then
14020 if test x"$enablestring" = xdisable; then
14021 defaultval=yes
14022 else
14023 defaultval=no
14024 fi
14025 fi
14026
14027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14029 # Check whether --enable-accessibility was given.
14030 if test "${enable_accessibility+set}" = set; then
14031 enableval=$enable_accessibility;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14034 else
14035 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14036 fi
14037
14038 else
14039
14040 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14041
14042 fi
14043
14044
14045 eval "$wx_cv_use_accessibility"
14046
14047 if test x"$enablestring" = xdisable; then
14048 if test $wxUSE_ACCESSIBILITY = no; then
14049 result=yes
14050 else
14051 result=no
14052 fi
14053 else
14054 result=$wxUSE_ACCESSIBILITY
14055 fi
14056
14057 { echo "$as_me:$LINENO: result: $result" >&5
14058 echo "${ECHO_T}$result" >&6; }
14059
14060
14061 enablestring=
14062 defaultval=$wxUSE_ALL_FEATURES
14063 if test -z "$defaultval"; then
14064 if test x"$enablestring" = xdisable; then
14065 defaultval=yes
14066 else
14067 defaultval=no
14068 fi
14069 fi
14070
14071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14072 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14073 # Check whether --enable-uiactionsim was given.
14074 if test "${enable_uiactionsim+set}" = set; then
14075 enableval=$enable_uiactionsim;
14076 if test "$enableval" = yes; then
14077 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14078 else
14079 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14080 fi
14081
14082 else
14083
14084 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14085
14086 fi
14087
14088
14089 eval "$wx_cv_use_uiactionsim"
14090
14091 if test x"$enablestring" = xdisable; then
14092 if test $wxUSE_UIACTIONSIMULATOR = no; then
14093 result=yes
14094 else
14095 result=no
14096 fi
14097 else
14098 result=$wxUSE_UIACTIONSIMULATOR
14099 fi
14100
14101 { echo "$as_me:$LINENO: result: $result" >&5
14102 echo "${ECHO_T}$result" >&6; }
14103
14104
14105 enablestring=
14106 defaultval=$wxUSE_ALL_FEATURES
14107 if test -z "$defaultval"; then
14108 if test x"$enablestring" = xdisable; then
14109 defaultval=yes
14110 else
14111 defaultval=no
14112 fi
14113 fi
14114
14115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14116 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14117 # Check whether --enable-dctransform was given.
14118 if test "${enable_dctransform+set}" = set; then
14119 enableval=$enable_dctransform;
14120 if test "$enableval" = yes; then
14121 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14122 else
14123 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14124 fi
14125
14126 else
14127
14128 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14129
14130 fi
14131
14132
14133 eval "$wx_cv_use_dctransform"
14134
14135 if test x"$enablestring" = xdisable; then
14136 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14137 result=yes
14138 else
14139 result=no
14140 fi
14141 else
14142 result=$wxUSE_DC_TRANSFORM_MATRIX
14143 fi
14144
14145 { echo "$as_me:$LINENO: result: $result" >&5
14146 echo "${ECHO_T}$result" >&6; }
14147
14148
14149
14150
14151 enablestring=
14152 defaultval=$wxUSE_ALL_FEATURES
14153 if test -z "$defaultval"; then
14154 if test x"$enablestring" = xdisable; then
14155 defaultval=yes
14156 else
14157 defaultval=no
14158 fi
14159 fi
14160
14161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14162 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14163 # Check whether --enable-palette was given.
14164 if test "${enable_palette+set}" = set; then
14165 enableval=$enable_palette;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_palette='wxUSE_PALETTE=yes'
14168 else
14169 wx_cv_use_palette='wxUSE_PALETTE=no'
14170 fi
14171
14172 else
14173
14174 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14175
14176 fi
14177
14178
14179 eval "$wx_cv_use_palette"
14180
14181 if test x"$enablestring" = xdisable; then
14182 if test $wxUSE_PALETTE = no; then
14183 result=yes
14184 else
14185 result=no
14186 fi
14187 else
14188 result=$wxUSE_PALETTE
14189 fi
14190
14191 { echo "$as_me:$LINENO: result: $result" >&5
14192 echo "${ECHO_T}$result" >&6; }
14193
14194
14195 enablestring=
14196 defaultval=$wxUSE_ALL_FEATURES
14197 if test -z "$defaultval"; then
14198 if test x"$enablestring" = xdisable; then
14199 defaultval=yes
14200 else
14201 defaultval=no
14202 fi
14203 fi
14204
14205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14207 # Check whether --enable-image was given.
14208 if test "${enable_image+set}" = set; then
14209 enableval=$enable_image;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_image='wxUSE_IMAGE=yes'
14212 else
14213 wx_cv_use_image='wxUSE_IMAGE=no'
14214 fi
14215
14216 else
14217
14218 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14219
14220 fi
14221
14222
14223 eval "$wx_cv_use_image"
14224
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_IMAGE = no; then
14227 result=yes
14228 else
14229 result=no
14230 fi
14231 else
14232 result=$wxUSE_IMAGE
14233 fi
14234
14235 { echo "$as_me:$LINENO: result: $result" >&5
14236 echo "${ECHO_T}$result" >&6; }
14237
14238
14239 enablestring=
14240 defaultval=$wxUSE_ALL_FEATURES
14241 if test -z "$defaultval"; then
14242 if test x"$enablestring" = xdisable; then
14243 defaultval=yes
14244 else
14245 defaultval=no
14246 fi
14247 fi
14248
14249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14251 # Check whether --enable-gif was given.
14252 if test "${enable_gif+set}" = set; then
14253 enableval=$enable_gif;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_gif='wxUSE_GIF=yes'
14256 else
14257 wx_cv_use_gif='wxUSE_GIF=no'
14258 fi
14259
14260 else
14261
14262 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14263
14264 fi
14265
14266
14267 eval "$wx_cv_use_gif"
14268
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_GIF = no; then
14271 result=yes
14272 else
14273 result=no
14274 fi
14275 else
14276 result=$wxUSE_GIF
14277 fi
14278
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14281
14282
14283 enablestring=
14284 defaultval=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x"$enablestring" = xdisable; then
14287 defaultval=yes
14288 else
14289 defaultval=no
14290 fi
14291 fi
14292
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14295 # Check whether --enable-pcx was given.
14296 if test "${enable_pcx+set}" = set; then
14297 enableval=$enable_pcx;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_pcx='wxUSE_PCX=yes'
14300 else
14301 wx_cv_use_pcx='wxUSE_PCX=no'
14302 fi
14303
14304 else
14305
14306 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14307
14308 fi
14309
14310
14311 eval "$wx_cv_use_pcx"
14312
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_PCX = no; then
14315 result=yes
14316 else
14317 result=no
14318 fi
14319 else
14320 result=$wxUSE_PCX
14321 fi
14322
14323 { echo "$as_me:$LINENO: result: $result" >&5
14324 echo "${ECHO_T}$result" >&6; }
14325
14326
14327 enablestring=
14328 defaultval=$wxUSE_ALL_FEATURES
14329 if test -z "$defaultval"; then
14330 if test x"$enablestring" = xdisable; then
14331 defaultval=yes
14332 else
14333 defaultval=no
14334 fi
14335 fi
14336
14337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14339 # Check whether --enable-tga was given.
14340 if test "${enable_tga+set}" = set; then
14341 enableval=$enable_tga;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_tga='wxUSE_TGA=yes'
14344 else
14345 wx_cv_use_tga='wxUSE_TGA=no'
14346 fi
14347
14348 else
14349
14350 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14351
14352 fi
14353
14354
14355 eval "$wx_cv_use_tga"
14356
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_TGA = no; then
14359 result=yes
14360 else
14361 result=no
14362 fi
14363 else
14364 result=$wxUSE_TGA
14365 fi
14366
14367 { echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14369
14370
14371 enablestring=
14372 defaultval=$wxUSE_ALL_FEATURES
14373 if test -z "$defaultval"; then
14374 if test x"$enablestring" = xdisable; then
14375 defaultval=yes
14376 else
14377 defaultval=no
14378 fi
14379 fi
14380
14381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14382 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14383 # Check whether --enable-iff was given.
14384 if test "${enable_iff+set}" = set; then
14385 enableval=$enable_iff;
14386 if test "$enableval" = yes; then
14387 wx_cv_use_iff='wxUSE_IFF=yes'
14388 else
14389 wx_cv_use_iff='wxUSE_IFF=no'
14390 fi
14391
14392 else
14393
14394 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14395
14396 fi
14397
14398
14399 eval "$wx_cv_use_iff"
14400
14401 if test x"$enablestring" = xdisable; then
14402 if test $wxUSE_IFF = no; then
14403 result=yes
14404 else
14405 result=no
14406 fi
14407 else
14408 result=$wxUSE_IFF
14409 fi
14410
14411 { echo "$as_me:$LINENO: result: $result" >&5
14412 echo "${ECHO_T}$result" >&6; }
14413
14414
14415 enablestring=
14416 defaultval=$wxUSE_ALL_FEATURES
14417 if test -z "$defaultval"; then
14418 if test x"$enablestring" = xdisable; then
14419 defaultval=yes
14420 else
14421 defaultval=no
14422 fi
14423 fi
14424
14425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14426 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14427 # Check whether --enable-pnm was given.
14428 if test "${enable_pnm+set}" = set; then
14429 enableval=$enable_pnm;
14430 if test "$enableval" = yes; then
14431 wx_cv_use_pnm='wxUSE_PNM=yes'
14432 else
14433 wx_cv_use_pnm='wxUSE_PNM=no'
14434 fi
14435
14436 else
14437
14438 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14439
14440 fi
14441
14442
14443 eval "$wx_cv_use_pnm"
14444
14445 if test x"$enablestring" = xdisable; then
14446 if test $wxUSE_PNM = no; then
14447 result=yes
14448 else
14449 result=no
14450 fi
14451 else
14452 result=$wxUSE_PNM
14453 fi
14454
14455 { echo "$as_me:$LINENO: result: $result" >&5
14456 echo "${ECHO_T}$result" >&6; }
14457
14458
14459 enablestring=
14460 defaultval=$wxUSE_ALL_FEATURES
14461 if test -z "$defaultval"; then
14462 if test x"$enablestring" = xdisable; then
14463 defaultval=yes
14464 else
14465 defaultval=no
14466 fi
14467 fi
14468
14469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14470 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14471 # Check whether --enable-xpm was given.
14472 if test "${enable_xpm+set}" = set; then
14473 enableval=$enable_xpm;
14474 if test "$enableval" = yes; then
14475 wx_cv_use_xpm='wxUSE_XPM=yes'
14476 else
14477 wx_cv_use_xpm='wxUSE_XPM=no'
14478 fi
14479
14480 else
14481
14482 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14483
14484 fi
14485
14486
14487 eval "$wx_cv_use_xpm"
14488
14489 if test x"$enablestring" = xdisable; then
14490 if test $wxUSE_XPM = no; then
14491 result=yes
14492 else
14493 result=no
14494 fi
14495 else
14496 result=$wxUSE_XPM
14497 fi
14498
14499 { echo "$as_me:$LINENO: result: $result" >&5
14500 echo "${ECHO_T}$result" >&6; }
14501
14502
14503 enablestring=
14504 defaultval=$wxUSE_ALL_FEATURES
14505 if test -z "$defaultval"; then
14506 if test x"$enablestring" = xdisable; then
14507 defaultval=yes
14508 else
14509 defaultval=no
14510 fi
14511 fi
14512
14513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14514 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14515 # Check whether --enable-ico_cur was given.
14516 if test "${enable_ico_cur+set}" = set; then
14517 enableval=$enable_ico_cur;
14518 if test "$enableval" = yes; then
14519 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14520 else
14521 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14522 fi
14523
14524 else
14525
14526 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14527
14528 fi
14529
14530
14531 eval "$wx_cv_use_ico_cur"
14532
14533 if test x"$enablestring" = xdisable; then
14534 if test $wxUSE_ICO_CUR = no; then
14535 result=yes
14536 else
14537 result=no
14538 fi
14539 else
14540 result=$wxUSE_ICO_CUR
14541 fi
14542
14543 { echo "$as_me:$LINENO: result: $result" >&5
14544 echo "${ECHO_T}$result" >&6; }
14545
14546
14547
14548
14549 enablestring=
14550 defaultval=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x"$enablestring" = xdisable; then
14553 defaultval=yes
14554 else
14555 defaultval=no
14556 fi
14557 fi
14558
14559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14560 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14561 # Check whether --enable-dccache was given.
14562 if test "${enable_dccache+set}" = set; then
14563 enableval=$enable_dccache;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14566 else
14567 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14568 fi
14569
14570 else
14571
14572 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14573
14574 fi
14575
14576
14577 eval "$wx_cv_use_dccache"
14578
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_DC_CACHEING = no; then
14581 result=yes
14582 else
14583 result=no
14584 fi
14585 else
14586 result=$wxUSE_DC_CACHEING
14587 fi
14588
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14591
14592
14593 enablestring=
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14597 defaultval=yes
14598 else
14599 defaultval=no
14600 fi
14601 fi
14602
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14605 # Check whether --enable-ps-in-msw was given.
14606 if test "${enable_ps_in_msw+set}" = set; then
14607 enableval=$enable_ps_in_msw;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14610 else
14611 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14612 fi
14613
14614 else
14615
14616 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14617
14618 fi
14619
14620
14621 eval "$wx_cv_use_ps_in_msw"
14622
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14625 result=yes
14626 else
14627 result=no
14628 fi
14629 else
14630 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14631 fi
14632
14633 { echo "$as_me:$LINENO: result: $result" >&5
14634 echo "${ECHO_T}$result" >&6; }
14635
14636
14637 enablestring=
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14641 defaultval=yes
14642 else
14643 defaultval=no
14644 fi
14645 fi
14646
14647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14648 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14649 # Check whether --enable-ownerdrawn was given.
14650 if test "${enable_ownerdrawn+set}" = set; then
14651 enableval=$enable_ownerdrawn;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14654 else
14655 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14656 fi
14657
14658 else
14659
14660 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14661
14662 fi
14663
14664
14665 eval "$wx_cv_use_ownerdrawn"
14666
14667 if test x"$enablestring" = xdisable; then
14668 if test $wxUSE_OWNER_DRAWN = no; then
14669 result=yes
14670 else
14671 result=no
14672 fi
14673 else
14674 result=$wxUSE_OWNER_DRAWN
14675 fi
14676
14677 { echo "$as_me:$LINENO: result: $result" >&5
14678 echo "${ECHO_T}$result" >&6; }
14679
14680
14681 enablestring=
14682 defaultval=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x"$enablestring" = xdisable; then
14685 defaultval=yes
14686 else
14687 defaultval=no
14688 fi
14689 fi
14690
14691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14692 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14693 # Check whether --enable-uxtheme was given.
14694 if test "${enable_uxtheme+set}" = set; then
14695 enableval=$enable_uxtheme;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14698 else
14699 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14700 fi
14701
14702 else
14703
14704 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14705
14706 fi
14707
14708
14709 eval "$wx_cv_use_uxtheme"
14710
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_UXTHEME = no; then
14713 result=yes
14714 else
14715 result=no
14716 fi
14717 else
14718 result=$wxUSE_UXTHEME
14719 fi
14720
14721 { echo "$as_me:$LINENO: result: $result" >&5
14722 echo "${ECHO_T}$result" >&6; }
14723
14724
14725 enablestring=
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14729 defaultval=yes
14730 else
14731 defaultval=no
14732 fi
14733 fi
14734
14735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14736 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14737 # Check whether --enable-wxdib was given.
14738 if test "${enable_wxdib+set}" = set; then
14739 enableval=$enable_wxdib;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_wxdib='wxUSE_DIB=yes'
14742 else
14743 wx_cv_use_wxdib='wxUSE_DIB=no'
14744 fi
14745
14746 else
14747
14748 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14749
14750 fi
14751
14752
14753 eval "$wx_cv_use_wxdib"
14754
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_DIB = no; then
14757 result=yes
14758 else
14759 result=no
14760 fi
14761 else
14762 result=$wxUSE_DIB
14763 fi
14764
14765 { echo "$as_me:$LINENO: result: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14767
14768
14769 if test "$wxUSE_MSW" != 1; then
14770 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14771 fi
14772
14773
14774 enablestring=
14775 defaultval=$wxUSE_ALL_FEATURES
14776 if test -z "$defaultval"; then
14777 if test x"$enablestring" = xdisable; then
14778 defaultval=yes
14779 else
14780 defaultval=no
14781 fi
14782 fi
14783
14784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14785 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14786 # Check whether --enable-autoidman was given.
14787 if test "${enable_autoidman+set}" = set; then
14788 enableval=$enable_autoidman;
14789 if test "$enableval" = yes; then
14790 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14791 else
14792 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14793 fi
14794
14795 else
14796
14797 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14798
14799 fi
14800
14801
14802 eval "$wx_cv_use_autoidman"
14803
14804 if test x"$enablestring" = xdisable; then
14805 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14806 result=yes
14807 else
14808 result=no
14809 fi
14810 else
14811 result=$wxUSE_AUTOID_MANAGEMENT
14812 fi
14813
14814 { echo "$as_me:$LINENO: result: $result" >&5
14815 echo "${ECHO_T}$result" >&6; }
14816
14817
14818 fi
14819
14820
14821 cat >confcache <<\_ACEOF
14822 # This file is a shell script that caches the results of configure
14823 # tests run on this system so they can be shared between configure
14824 # scripts and configure runs, see configure's option --config-cache.
14825 # It is not useful on other systems. If it contains results you don't
14826 # want to keep, you may remove or edit it.
14827 #
14828 # config.status only pays attention to the cache file if you give it
14829 # the --recheck option to rerun configure.
14830 #
14831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14833 # following values.
14834
14835 _ACEOF
14836
14837 # The following way of writing the cache mishandles newlines in values,
14838 # but we know of no workaround that is simple, portable, and efficient.
14839 # So, we kill variables containing newlines.
14840 # Ultrix sh set writes to stderr and can't be redirected directly,
14841 # and sets the high bit in the cache file unless we assign to the vars.
14842 (
14843 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14844 eval ac_val=\$$ac_var
14845 case $ac_val in #(
14846 *${as_nl}*)
14847 case $ac_var in #(
14848 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14849 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14850 esac
14851 case $ac_var in #(
14852 _ | IFS | as_nl) ;; #(
14853 *) $as_unset $ac_var ;;
14854 esac ;;
14855 esac
14856 done
14857
14858 (set) 2>&1 |
14859 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14860 *${as_nl}ac_space=\ *)
14861 # `set' does not quote correctly, so add quotes (double-quote
14862 # substitution turns \\\\ into \\, and sed turns \\ into \).
14863 sed -n \
14864 "s/'/'\\\\''/g;
14865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14866 ;; #(
14867 *)
14868 # `set' quotes correctly as required by POSIX, so do not add quotes.
14869 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14870 ;;
14871 esac |
14872 sort
14873 ) |
14874 sed '
14875 /^ac_cv_env_/b end
14876 t clear
14877 :clear
14878 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14879 t end
14880 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14881 :end' >>confcache
14882 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14883 if test -w "$cache_file"; then
14884 test "x$cache_file" != "x/dev/null" &&
14885 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14886 echo "$as_me: updating cache $cache_file" >&6;}
14887 cat confcache >$cache_file
14888 else
14889 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14890 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14891 fi
14892 fi
14893 rm -f confcache
14894
14895 CFLAGS=${CFLAGS:=}
14896 ac_ext=c
14897 ac_cpp='$CPP $CPPFLAGS'
14898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14901 if test -n "$ac_tool_prefix"; then
14902 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14903 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14906 if test "${ac_cv_prog_CC+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14909 if test -n "$CC"; then
14910 ac_cv_prog_CC="$CC" # Let the user override the test.
14911 else
14912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14913 for as_dir in $PATH
14914 do
14915 IFS=$as_save_IFS
14916 test -z "$as_dir" && as_dir=.
14917 for ac_exec_ext in '' $ac_executable_extensions; do
14918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14919 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14921 break 2
14922 fi
14923 done
14924 done
14925 IFS=$as_save_IFS
14926
14927 fi
14928 fi
14929 CC=$ac_cv_prog_CC
14930 if test -n "$CC"; then
14931 { echo "$as_me:$LINENO: result: $CC" >&5
14932 echo "${ECHO_T}$CC" >&6; }
14933 else
14934 { echo "$as_me:$LINENO: result: no" >&5
14935 echo "${ECHO_T}no" >&6; }
14936 fi
14937
14938
14939 fi
14940 if test -z "$ac_cv_prog_CC"; then
14941 ac_ct_CC=$CC
14942 # Extract the first word of "gcc", so it can be a program name with args.
14943 set dummy gcc; ac_word=$2
14944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14946 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 else
14949 if test -n "$ac_ct_CC"; then
14950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14951 else
14952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14953 for as_dir in $PATH
14954 do
14955 IFS=$as_save_IFS
14956 test -z "$as_dir" && as_dir=.
14957 for ac_exec_ext in '' $ac_executable_extensions; do
14958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14959 ac_cv_prog_ac_ct_CC="gcc"
14960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14961 break 2
14962 fi
14963 done
14964 done
14965 IFS=$as_save_IFS
14966
14967 fi
14968 fi
14969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14970 if test -n "$ac_ct_CC"; then
14971 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14972 echo "${ECHO_T}$ac_ct_CC" >&6; }
14973 else
14974 { echo "$as_me:$LINENO: result: no" >&5
14975 echo "${ECHO_T}no" >&6; }
14976 fi
14977
14978 if test "x$ac_ct_CC" = x; then
14979 CC=""
14980 else
14981 case $cross_compiling:$ac_tool_warned in
14982 yes:)
14983 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14984 whose name does not start with the host triplet. If you think this
14985 configuration is useful to you, please write to autoconf@gnu.org." >&5
14986 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14987 whose name does not start with the host triplet. If you think this
14988 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14989 ac_tool_warned=yes ;;
14990 esac
14991 CC=$ac_ct_CC
14992 fi
14993 else
14994 CC="$ac_cv_prog_CC"
14995 fi
14996
14997 if test -z "$CC"; then
14998 if test -n "$ac_tool_prefix"; then
14999 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15000 set dummy ${ac_tool_prefix}cc; 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_CC+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15006 if test -n "$CC"; then
15007 ac_cv_prog_CC="$CC" # 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_CC="${ac_tool_prefix}cc"
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 CC=$ac_cv_prog_CC
15027 if test -n "$CC"; then
15028 { echo "$as_me:$LINENO: result: $CC" >&5
15029 echo "${ECHO_T}$CC" >&6; }
15030 else
15031 { echo "$as_me:$LINENO: result: no" >&5
15032 echo "${ECHO_T}no" >&6; }
15033 fi
15034
15035
15036 fi
15037 fi
15038 if test -z "$CC"; then
15039 # Extract the first word of "cc", so it can be a program name with args.
15040 set dummy cc; ac_word=$2
15041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15043 if test "${ac_cv_prog_CC+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 else
15046 if test -n "$CC"; then
15047 ac_cv_prog_CC="$CC" # Let the user override the test.
15048 else
15049 ac_prog_rejected=no
15050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15051 for as_dir in $PATH
15052 do
15053 IFS=$as_save_IFS
15054 test -z "$as_dir" && as_dir=.
15055 for ac_exec_ext in '' $ac_executable_extensions; do
15056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15057 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15058 ac_prog_rejected=yes
15059 continue
15060 fi
15061 ac_cv_prog_CC="cc"
15062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15063 break 2
15064 fi
15065 done
15066 done
15067 IFS=$as_save_IFS
15068
15069 if test $ac_prog_rejected = yes; then
15070 # We found a bogon in the path, so make sure we never use it.
15071 set dummy $ac_cv_prog_CC
15072 shift
15073 if test $# != 0; then
15074 # We chose a different compiler from the bogus one.
15075 # However, it has the same basename, so the bogon will be chosen
15076 # first if we set CC to just the basename; use the full file name.
15077 shift
15078 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15079 fi
15080 fi
15081 fi
15082 fi
15083 CC=$ac_cv_prog_CC
15084 if test -n "$CC"; then
15085 { echo "$as_me:$LINENO: result: $CC" >&5
15086 echo "${ECHO_T}$CC" >&6; }
15087 else
15088 { echo "$as_me:$LINENO: result: no" >&5
15089 echo "${ECHO_T}no" >&6; }
15090 fi
15091
15092
15093 fi
15094 if test -z "$CC"; then
15095 if test -n "$ac_tool_prefix"; then
15096 for ac_prog in cl.exe
15097 do
15098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15102 if test "${ac_cv_prog_CC+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 else
15105 if test -n "$CC"; then
15106 ac_cv_prog_CC="$CC" # Let the user override the test.
15107 else
15108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15109 for as_dir in $PATH
15110 do
15111 IFS=$as_save_IFS
15112 test -z "$as_dir" && as_dir=.
15113 for ac_exec_ext in '' $ac_executable_extensions; do
15114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15115 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15117 break 2
15118 fi
15119 done
15120 done
15121 IFS=$as_save_IFS
15122
15123 fi
15124 fi
15125 CC=$ac_cv_prog_CC
15126 if test -n "$CC"; then
15127 { echo "$as_me:$LINENO: result: $CC" >&5
15128 echo "${ECHO_T}$CC" >&6; }
15129 else
15130 { echo "$as_me:$LINENO: result: no" >&5
15131 echo "${ECHO_T}no" >&6; }
15132 fi
15133
15134
15135 test -n "$CC" && break
15136 done
15137 fi
15138 if test -z "$CC"; then
15139 ac_ct_CC=$CC
15140 for ac_prog in cl.exe
15141 do
15142 # Extract the first word of "$ac_prog", so it can be a program name with args.
15143 set dummy $ac_prog; ac_word=$2
15144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15146 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else
15149 if test -n "$ac_ct_CC"; then
15150 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15151 else
15152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15153 for as_dir in $PATH
15154 do
15155 IFS=$as_save_IFS
15156 test -z "$as_dir" && as_dir=.
15157 for ac_exec_ext in '' $ac_executable_extensions; do
15158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15159 ac_cv_prog_ac_ct_CC="$ac_prog"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15161 break 2
15162 fi
15163 done
15164 done
15165 IFS=$as_save_IFS
15166
15167 fi
15168 fi
15169 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15170 if test -n "$ac_ct_CC"; then
15171 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15172 echo "${ECHO_T}$ac_ct_CC" >&6; }
15173 else
15174 { echo "$as_me:$LINENO: result: no" >&5
15175 echo "${ECHO_T}no" >&6; }
15176 fi
15177
15178
15179 test -n "$ac_ct_CC" && break
15180 done
15181
15182 if test "x$ac_ct_CC" = x; then
15183 CC=""
15184 else
15185 case $cross_compiling:$ac_tool_warned in
15186 yes:)
15187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15188 whose name does not start with the host triplet. If you think this
15189 configuration is useful to you, please write to autoconf@gnu.org." >&5
15190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15191 whose name does not start with the host triplet. If you think this
15192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15193 ac_tool_warned=yes ;;
15194 esac
15195 CC=$ac_ct_CC
15196 fi
15197 fi
15198
15199 fi
15200
15201
15202 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15203 See \`config.log' for more details." >&5
15204 echo "$as_me: error: no acceptable C compiler found in \$PATH
15205 See \`config.log' for more details." >&2;}
15206 { (exit 1); exit 1; }; }
15207
15208 # Provide some information about the compiler.
15209 echo "$as_me:$LINENO: checking for C compiler version" >&5
15210 ac_compiler=`set X $ac_compile; echo $2`
15211 { (ac_try="$ac_compiler --version >&5"
15212 case "(($ac_try" in
15213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15214 *) ac_try_echo=$ac_try;;
15215 esac
15216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15217 (eval "$ac_compiler --version >&5") 2>&5
15218 ac_status=$?
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); }
15221 { (ac_try="$ac_compiler -v >&5"
15222 case "(($ac_try" in
15223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15224 *) ac_try_echo=$ac_try;;
15225 esac
15226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15227 (eval "$ac_compiler -v >&5") 2>&5
15228 ac_status=$?
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }
15231 { (ac_try="$ac_compiler -V >&5"
15232 case "(($ac_try" in
15233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15234 *) ac_try_echo=$ac_try;;
15235 esac
15236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15237 (eval "$ac_compiler -V >&5") 2>&5
15238 ac_status=$?
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }
15241
15242 cat >conftest.$ac_ext <<_ACEOF
15243 /* confdefs.h. */
15244 _ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15248
15249 int
15250 main ()
15251 {
15252
15253 ;
15254 return 0;
15255 }
15256 _ACEOF
15257 ac_clean_files_save=$ac_clean_files
15258 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15259 # Try to create an executable without -o first, disregard a.out.
15260 # It will help us diagnose broken compilers, and finding out an intuition
15261 # of exeext.
15262 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15263 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15264 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15265 #
15266 # List of possible output files, starting from the most likely.
15267 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15268 # only as a last resort. b.out is created by i960 compilers.
15269 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15270 #
15271 # The IRIX 6 linker writes into existing files which may not be
15272 # executable, retaining their permissions. Remove them first so a
15273 # subsequent execution test works.
15274 ac_rmfiles=
15275 for ac_file in $ac_files
15276 do
15277 case $ac_file in
15278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15279 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15280 esac
15281 done
15282 rm -f $ac_rmfiles
15283
15284 if { (ac_try="$ac_link_default"
15285 case "(($ac_try" in
15286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15287 *) ac_try_echo=$ac_try;;
15288 esac
15289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15290 (eval "$ac_link_default") 2>&5
15291 ac_status=$?
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; then
15294 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15295 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15296 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15297 # so that the user can short-circuit this test for compilers unknown to
15298 # Autoconf.
15299 for ac_file in $ac_files ''
15300 do
15301 test -f "$ac_file" || continue
15302 case $ac_file in
15303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15304 ;;
15305 [ab].out )
15306 # We found the default executable, but exeext='' is most
15307 # certainly right.
15308 break;;
15309 *.* )
15310 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15311 then :; else
15312 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15313 fi
15314 # We set ac_cv_exeext here because the later test for it is not
15315 # safe: cross compilers may not add the suffix if given an `-o'
15316 # argument, so we may need to know it at that point already.
15317 # Even if this section looks crufty: it has the advantage of
15318 # actually working.
15319 break;;
15320 * )
15321 break;;
15322 esac
15323 done
15324 test "$ac_cv_exeext" = no && ac_cv_exeext=
15325
15326 else
15327 ac_file=''
15328 fi
15329
15330 { echo "$as_me:$LINENO: result: $ac_file" >&5
15331 echo "${ECHO_T}$ac_file" >&6; }
15332 if test -z "$ac_file"; then
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15335
15336 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15337 See \`config.log' for more details." >&5
15338 echo "$as_me: error: C compiler cannot create executables
15339 See \`config.log' for more details." >&2;}
15340 { (exit 77); exit 77; }; }
15341 fi
15342
15343 ac_exeext=$ac_cv_exeext
15344
15345 # Check that the compiler produces executables we can run. If not, either
15346 # the compiler is broken, or we cross compile.
15347 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15348 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15349 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15350 # If not cross compiling, check that we can run a simple program.
15351 if test "$cross_compiling" != yes; then
15352 if { ac_try='./$ac_file'
15353 { (case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_try") 2>&5
15359 ac_status=$?
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; }; then
15362 cross_compiling=no
15363 else
15364 if test "$cross_compiling" = maybe; then
15365 cross_compiling=yes
15366 else
15367 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15368 If you meant to cross compile, use \`--host'.
15369 See \`config.log' for more details." >&5
15370 echo "$as_me: error: cannot run C compiled programs.
15371 If you meant to cross compile, use \`--host'.
15372 See \`config.log' for more details." >&2;}
15373 { (exit 1); exit 1; }; }
15374 fi
15375 fi
15376 fi
15377 { echo "$as_me:$LINENO: result: yes" >&5
15378 echo "${ECHO_T}yes" >&6; }
15379
15380 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15381 ac_clean_files=$ac_clean_files_save
15382 # Check that the compiler produces executables we can run. If not, either
15383 # the compiler is broken, or we cross compile.
15384 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15385 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15386 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15387 echo "${ECHO_T}$cross_compiling" >&6; }
15388
15389 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15390 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15391 if { (ac_try="$ac_link"
15392 case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15395 esac
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_link") 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; then
15401 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15402 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15403 # work properly (i.e., refer to `conftest.exe'), while it won't with
15404 # `rm'.
15405 for ac_file in conftest.exe conftest conftest.*; do
15406 test -f "$ac_file" || continue
15407 case $ac_file in
15408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15409 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15410 break;;
15411 * ) break;;
15412 esac
15413 done
15414 else
15415 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15416 See \`config.log' for more details." >&5
15417 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15418 See \`config.log' for more details." >&2;}
15419 { (exit 1); exit 1; }; }
15420 fi
15421
15422 rm -f conftest$ac_cv_exeext
15423 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15424 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15425
15426 rm -f conftest.$ac_ext
15427 EXEEXT=$ac_cv_exeext
15428 ac_exeext=$EXEEXT
15429 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15430 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15431 if test "${ac_cv_objext+set}" = set; then
15432 echo $ECHO_N "(cached) $ECHO_C" >&6
15433 else
15434 cat >conftest.$ac_ext <<_ACEOF
15435 /* confdefs.h. */
15436 _ACEOF
15437 cat confdefs.h >>conftest.$ac_ext
15438 cat >>conftest.$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15440
15441 int
15442 main ()
15443 {
15444
15445 ;
15446 return 0;
15447 }
15448 _ACEOF
15449 rm -f conftest.o conftest.obj
15450 if { (ac_try="$ac_compile"
15451 case "(($ac_try" in
15452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15453 *) ac_try_echo=$ac_try;;
15454 esac
15455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15456 (eval "$ac_compile") 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; then
15460 for ac_file in conftest.o conftest.obj conftest.*; do
15461 test -f "$ac_file" || continue;
15462 case $ac_file in
15463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15464 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15465 break;;
15466 esac
15467 done
15468 else
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15471
15472 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15473 See \`config.log' for more details." >&5
15474 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15475 See \`config.log' for more details." >&2;}
15476 { (exit 1); exit 1; }; }
15477 fi
15478
15479 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15480 fi
15481 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15482 echo "${ECHO_T}$ac_cv_objext" >&6; }
15483 OBJEXT=$ac_cv_objext
15484 ac_objext=$OBJEXT
15485 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15486 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15487 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15488 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 else
15490 cat >conftest.$ac_ext <<_ACEOF
15491 /* confdefs.h. */
15492 _ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496
15497 int
15498 main ()
15499 {
15500 #ifndef __GNUC__
15501 choke me
15502 #endif
15503
15504 ;
15505 return 0;
15506 }
15507 _ACEOF
15508 rm -f conftest.$ac_objext
15509 if { (ac_try="$ac_compile"
15510 case "(($ac_try" in
15511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15512 *) ac_try_echo=$ac_try;;
15513 esac
15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15515 (eval "$ac_compile") 2>conftest.er1
15516 ac_status=$?
15517 grep -v '^ *+' conftest.er1 >conftest.err
15518 rm -f conftest.er1
15519 cat conftest.err >&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && {
15522 test -z "$ac_c_werror_flag" ||
15523 test ! -s conftest.err
15524 } && test -s conftest.$ac_objext; then
15525 ac_compiler_gnu=yes
15526 else
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.$ac_ext >&5
15529
15530 ac_compiler_gnu=no
15531 fi
15532
15533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15534 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15535
15536 fi
15537 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15538 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15539 GCC=`test $ac_compiler_gnu = yes && echo yes`
15540 ac_test_CFLAGS=${CFLAGS+set}
15541 ac_save_CFLAGS=$CFLAGS
15542 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15543 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15544 if test "${ac_cv_prog_cc_g+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 else
15547 ac_save_c_werror_flag=$ac_c_werror_flag
15548 ac_c_werror_flag=yes
15549 ac_cv_prog_cc_g=no
15550 CFLAGS="-g"
15551 cat >conftest.$ac_ext <<_ACEOF
15552 /* confdefs.h. */
15553 _ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15557
15558 int
15559 main ()
15560 {
15561
15562 ;
15563 return 0;
15564 }
15565 _ACEOF
15566 rm -f conftest.$ac_objext
15567 if { (ac_try="$ac_compile"
15568 case "(($ac_try" in
15569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15571 esac
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_compile") 2>conftest.er1
15574 ac_status=$?
15575 grep -v '^ *+' conftest.er1 >conftest.err
15576 rm -f conftest.er1
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && {
15580 test -z "$ac_c_werror_flag" ||
15581 test ! -s conftest.err
15582 } && test -s conftest.$ac_objext; then
15583 ac_cv_prog_cc_g=yes
15584 else
15585 echo "$as_me: failed program was:" >&5
15586 sed 's/^/| /' conftest.$ac_ext >&5
15587
15588 CFLAGS=""
15589 cat >conftest.$ac_ext <<_ACEOF
15590 /* confdefs.h. */
15591 _ACEOF
15592 cat confdefs.h >>conftest.$ac_ext
15593 cat >>conftest.$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595
15596 int
15597 main ()
15598 {
15599
15600 ;
15601 return 0;
15602 }
15603 _ACEOF
15604 rm -f conftest.$ac_objext
15605 if { (ac_try="$ac_compile"
15606 case "(($ac_try" in
15607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15608 *) ac_try_echo=$ac_try;;
15609 esac
15610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15611 (eval "$ac_compile") 2>conftest.er1
15612 ac_status=$?
15613 grep -v '^ *+' conftest.er1 >conftest.err
15614 rm -f conftest.er1
15615 cat conftest.err >&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); } && {
15618 test -z "$ac_c_werror_flag" ||
15619 test ! -s conftest.err
15620 } && test -s conftest.$ac_objext; then
15621 :
15622 else
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15625
15626 ac_c_werror_flag=$ac_save_c_werror_flag
15627 CFLAGS="-g"
15628 cat >conftest.$ac_ext <<_ACEOF
15629 /* confdefs.h. */
15630 _ACEOF
15631 cat confdefs.h >>conftest.$ac_ext
15632 cat >>conftest.$ac_ext <<_ACEOF
15633 /* end confdefs.h. */
15634
15635 int
15636 main ()
15637 {
15638
15639 ;
15640 return 0;
15641 }
15642 _ACEOF
15643 rm -f conftest.$ac_objext
15644 if { (ac_try="$ac_compile"
15645 case "(($ac_try" in
15646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15647 *) ac_try_echo=$ac_try;;
15648 esac
15649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15650 (eval "$ac_compile") 2>conftest.er1
15651 ac_status=$?
15652 grep -v '^ *+' conftest.er1 >conftest.err
15653 rm -f conftest.er1
15654 cat conftest.err >&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } && {
15657 test -z "$ac_c_werror_flag" ||
15658 test ! -s conftest.err
15659 } && test -s conftest.$ac_objext; then
15660 ac_cv_prog_cc_g=yes
15661 else
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.$ac_ext >&5
15664
15665
15666 fi
15667
15668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15669 fi
15670
15671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15672 fi
15673
15674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15675 ac_c_werror_flag=$ac_save_c_werror_flag
15676 fi
15677 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15678 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15679 if test "$ac_test_CFLAGS" = set; then
15680 CFLAGS=$ac_save_CFLAGS
15681 elif test $ac_cv_prog_cc_g = yes; then
15682 if test "$GCC" = yes; then
15683 CFLAGS="-g -O2"
15684 else
15685 CFLAGS="-g"
15686 fi
15687 else
15688 if test "$GCC" = yes; then
15689 CFLAGS="-O2"
15690 else
15691 CFLAGS=
15692 fi
15693 fi
15694 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15695 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15696 if test "${ac_cv_prog_cc_c89+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 else
15699 ac_cv_prog_cc_c89=no
15700 ac_save_CC=$CC
15701 cat >conftest.$ac_ext <<_ACEOF
15702 /* confdefs.h. */
15703 _ACEOF
15704 cat confdefs.h >>conftest.$ac_ext
15705 cat >>conftest.$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15707 #include <stdarg.h>
15708 #include <stdio.h>
15709 #include <sys/types.h>
15710 #include <sys/stat.h>
15711 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15712 struct buf { int x; };
15713 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15714 static char *e (p, i)
15715 char **p;
15716 int i;
15717 {
15718 return p[i];
15719 }
15720 static char *f (char * (*g) (char **, int), char **p, ...)
15721 {
15722 char *s;
15723 va_list v;
15724 va_start (v,p);
15725 s = g (p, va_arg (v,int));
15726 va_end (v);
15727 return s;
15728 }
15729
15730 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15731 function prototypes and stuff, but not '\xHH' hex character constants.
15732 These don't provoke an error unfortunately, instead are silently treated
15733 as 'x'. The following induces an error, until -std is added to get
15734 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15735 array size at least. It's necessary to write '\x00'==0 to get something
15736 that's true only with -std. */
15737 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15738
15739 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15740 inside strings and character constants. */
15741 #define FOO(x) 'x'
15742 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15743
15744 int test (int i, double x);
15745 struct s1 {int (*f) (int a);};
15746 struct s2 {int (*f) (double a);};
15747 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15748 int argc;
15749 char **argv;
15750 int
15751 main ()
15752 {
15753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15754 ;
15755 return 0;
15756 }
15757 _ACEOF
15758 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15759 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15760 do
15761 CC="$ac_save_CC $ac_arg"
15762 rm -f conftest.$ac_objext
15763 if { (ac_try="$ac_compile"
15764 case "(($ac_try" in
15765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15766 *) ac_try_echo=$ac_try;;
15767 esac
15768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15769 (eval "$ac_compile") 2>conftest.er1
15770 ac_status=$?
15771 grep -v '^ *+' conftest.er1 >conftest.err
15772 rm -f conftest.er1
15773 cat conftest.err >&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } && {
15776 test -z "$ac_c_werror_flag" ||
15777 test ! -s conftest.err
15778 } && test -s conftest.$ac_objext; then
15779 ac_cv_prog_cc_c89=$ac_arg
15780 else
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15783
15784
15785 fi
15786
15787 rm -f core conftest.err conftest.$ac_objext
15788 test "x$ac_cv_prog_cc_c89" != "xno" && break
15789 done
15790 rm -f conftest.$ac_ext
15791 CC=$ac_save_CC
15792
15793 fi
15794 # AC_CACHE_VAL
15795 case "x$ac_cv_prog_cc_c89" in
15796 x)
15797 { echo "$as_me:$LINENO: result: none needed" >&5
15798 echo "${ECHO_T}none needed" >&6; } ;;
15799 xno)
15800 { echo "$as_me:$LINENO: result: unsupported" >&5
15801 echo "${ECHO_T}unsupported" >&6; } ;;
15802 *)
15803 CC="$CC $ac_cv_prog_cc_c89"
15804 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15805 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15806 esac
15807
15808
15809 ac_ext=c
15810 ac_cpp='$CPP $CPPFLAGS'
15811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15814
15815
15816
15817
15818
15819
15820
15821
15822 ac_ext=c
15823 ac_cpp='$CPP $CPPFLAGS'
15824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15827
15828 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15829 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15830 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 else
15833 cat >conftest.$ac_ext <<_ACEOF
15834 /* confdefs.h. */
15835 _ACEOF
15836 cat confdefs.h >>conftest.$ac_ext
15837 cat >>conftest.$ac_ext <<_ACEOF
15838 /* end confdefs.h. */
15839
15840 int
15841 main ()
15842 {
15843
15844 #ifndef __INTEL_COMPILER
15845 choke me
15846 #endif
15847
15848 ;
15849 return 0;
15850 }
15851 _ACEOF
15852 rm -f conftest.$ac_objext
15853 if { (ac_try="$ac_compile"
15854 case "(($ac_try" in
15855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15856 *) ac_try_echo=$ac_try;;
15857 esac
15858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15859 (eval "$ac_compile") 2>conftest.er1
15860 ac_status=$?
15861 grep -v '^ *+' conftest.er1 >conftest.err
15862 rm -f conftest.er1
15863 cat conftest.err >&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } && {
15866 test -z "$ac_c_werror_flag" ||
15867 test ! -s conftest.err
15868 } && test -s conftest.$ac_objext; then
15869 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15870 else
15871 echo "$as_me: failed program was:" >&5
15872 sed 's/^/| /' conftest.$ac_ext >&5
15873
15874 bakefile_cv_c_compiler___INTEL_COMPILER=no
15875
15876 fi
15877
15878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15879
15880
15881 fi
15882 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15883 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15884 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15885 :; INTELCC=yes
15886 else
15887 :;
15888 fi
15889 ac_ext=c
15890 ac_cpp='$CPP $CPPFLAGS'
15891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15894
15895
15896
15897
15898 if test "$INTELCC" = "yes"; then
15899
15900
15901 ac_ext=c
15902 ac_cpp='$CPP $CPPFLAGS'
15903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15906
15907 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15908 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15909 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15910 echo $ECHO_N "(cached) $ECHO_C" >&6
15911 else
15912 cat >conftest.$ac_ext <<_ACEOF
15913 /* confdefs.h. */
15914 _ACEOF
15915 cat confdefs.h >>conftest.$ac_ext
15916 cat >>conftest.$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918
15919 int
15920 main ()
15921 {
15922
15923 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15924 choke me
15925 #endif
15926
15927 ;
15928 return 0;
15929 }
15930 _ACEOF
15931 rm -f conftest.$ac_objext
15932 if { (ac_try="$ac_compile"
15933 case "(($ac_try" in
15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15936 esac
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_compile") 2>conftest.er1
15939 ac_status=$?
15940 grep -v '^ *+' conftest.er1 >conftest.err
15941 rm -f conftest.er1
15942 cat conftest.err >&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } && {
15945 test -z "$ac_c_werror_flag" ||
15946 test ! -s conftest.err
15947 } && test -s conftest.$ac_objext; then
15948 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15949 else
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.$ac_ext >&5
15952
15953 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15954
15955 fi
15956
15957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15958
15959
15960 fi
15961 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15962 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15963 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15964 :; INTELCC8=yes
15965 else
15966 :;
15967 fi
15968 ac_ext=c
15969 ac_cpp='$CPP $CPPFLAGS'
15970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15973
15974
15975
15976
15977
15978 ac_ext=c
15979 ac_cpp='$CPP $CPPFLAGS'
15980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15983
15984 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15985 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15986 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15987 echo $ECHO_N "(cached) $ECHO_C" >&6
15988 else
15989 cat >conftest.$ac_ext <<_ACEOF
15990 /* confdefs.h. */
15991 _ACEOF
15992 cat confdefs.h >>conftest.$ac_ext
15993 cat >>conftest.$ac_ext <<_ACEOF
15994 /* end confdefs.h. */
15995
15996 int
15997 main ()
15998 {
15999
16000 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16001 choke me
16002 #endif
16003
16004 ;
16005 return 0;
16006 }
16007 _ACEOF
16008 rm -f conftest.$ac_objext
16009 if { (ac_try="$ac_compile"
16010 case "(($ac_try" in
16011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16012 *) ac_try_echo=$ac_try;;
16013 esac
16014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16015 (eval "$ac_compile") 2>conftest.er1
16016 ac_status=$?
16017 grep -v '^ *+' conftest.er1 >conftest.err
16018 rm -f conftest.er1
16019 cat conftest.err >&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); } && {
16022 test -z "$ac_c_werror_flag" ||
16023 test ! -s conftest.err
16024 } && test -s conftest.$ac_objext; then
16025 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16026 else
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16029
16030 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16031
16032 fi
16033
16034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16035
16036
16037 fi
16038 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16039 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16040 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16041 :; INTELCC10=yes
16042 else
16043 :;
16044 fi
16045 ac_ext=c
16046 ac_cpp='$CPP $CPPFLAGS'
16047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16050
16051
16052
16053 fi
16054
16055 if test "x$GCC" != "xyes"; then
16056 if test "xCC" = "xC"; then
16057 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16058 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16059 if test "${bakefile_cv_c_exto+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 else
16062 cat >conftest.$ac_ext <<_ACEOF
16063 /* confdefs.h. */
16064 _ACEOF
16065 cat confdefs.h >>conftest.$ac_ext
16066 cat >>conftest.$ac_ext <<_ACEOF
16067 /* end confdefs.h. */
16068
16069 int
16070 main ()
16071 {
16072
16073 ;
16074 return 0;
16075 }
16076 _ACEOF
16077 rm -f conftest.$ac_objext conftest.$ac_ext.o
16078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16079 (eval $ac_compile) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; then
16083 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16084 case $ac_file in
16085 conftest.$ac_ext.o)
16086 bakefile_cv_c_exto="-ext o"
16087 ;;
16088 *)
16089 ;;
16090 esac
16091 done
16092 else
16093 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16094 See \`config.log' for more details." >&5
16095 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16096 See \`config.log' for more details." >&2;}
16097 { (exit 1); exit 1; }; }
16098
16099 fi
16100
16101 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16102
16103 fi
16104 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16105 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16106 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16107 if test "c" = "c"; then
16108 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16109 fi
16110 if test "c" = "cxx"; then
16111 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16112 fi
16113 fi
16114
16115 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16116 unset ac_cv_prog_cc_g
16117 ac_test_CFLAGS=${CFLAGS+set}
16118 ac_save_CFLAGS=$CFLAGS
16119 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16120 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16121 if test "${ac_cv_prog_cc_g+set}" = set; then
16122 echo $ECHO_N "(cached) $ECHO_C" >&6
16123 else
16124 ac_save_c_werror_flag=$ac_c_werror_flag
16125 ac_c_werror_flag=yes
16126 ac_cv_prog_cc_g=no
16127 CFLAGS="-g"
16128 cat >conftest.$ac_ext <<_ACEOF
16129 /* confdefs.h. */
16130 _ACEOF
16131 cat confdefs.h >>conftest.$ac_ext
16132 cat >>conftest.$ac_ext <<_ACEOF
16133 /* end confdefs.h. */
16134
16135 int
16136 main ()
16137 {
16138
16139 ;
16140 return 0;
16141 }
16142 _ACEOF
16143 rm -f conftest.$ac_objext
16144 if { (ac_try="$ac_compile"
16145 case "(($ac_try" in
16146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16147 *) ac_try_echo=$ac_try;;
16148 esac
16149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16150 (eval "$ac_compile") 2>conftest.er1
16151 ac_status=$?
16152 grep -v '^ *+' conftest.er1 >conftest.err
16153 rm -f conftest.er1
16154 cat conftest.err >&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } && {
16157 test -z "$ac_c_werror_flag" ||
16158 test ! -s conftest.err
16159 } && test -s conftest.$ac_objext; then
16160 ac_cv_prog_cc_g=yes
16161 else
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16164
16165 CFLAGS=""
16166 cat >conftest.$ac_ext <<_ACEOF
16167 /* confdefs.h. */
16168 _ACEOF
16169 cat confdefs.h >>conftest.$ac_ext
16170 cat >>conftest.$ac_ext <<_ACEOF
16171 /* end confdefs.h. */
16172
16173 int
16174 main ()
16175 {
16176
16177 ;
16178 return 0;
16179 }
16180 _ACEOF
16181 rm -f conftest.$ac_objext
16182 if { (ac_try="$ac_compile"
16183 case "(($ac_try" in
16184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16185 *) ac_try_echo=$ac_try;;
16186 esac
16187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16188 (eval "$ac_compile") 2>conftest.er1
16189 ac_status=$?
16190 grep -v '^ *+' conftest.er1 >conftest.err
16191 rm -f conftest.er1
16192 cat conftest.err >&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); } && {
16195 test -z "$ac_c_werror_flag" ||
16196 test ! -s conftest.err
16197 } && test -s conftest.$ac_objext; then
16198 :
16199 else
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16202
16203 ac_c_werror_flag=$ac_save_c_werror_flag
16204 CFLAGS="-g"
16205 cat >conftest.$ac_ext <<_ACEOF
16206 /* confdefs.h. */
16207 _ACEOF
16208 cat confdefs.h >>conftest.$ac_ext
16209 cat >>conftest.$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16211
16212 int
16213 main ()
16214 {
16215
16216 ;
16217 return 0;
16218 }
16219 _ACEOF
16220 rm -f conftest.$ac_objext
16221 if { (ac_try="$ac_compile"
16222 case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16225 esac
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_compile") 2>conftest.er1
16228 ac_status=$?
16229 grep -v '^ *+' conftest.er1 >conftest.err
16230 rm -f conftest.er1
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } && {
16234 test -z "$ac_c_werror_flag" ||
16235 test ! -s conftest.err
16236 } && test -s conftest.$ac_objext; then
16237 ac_cv_prog_cc_g=yes
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16241
16242
16243 fi
16244
16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16246 fi
16247
16248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16249 fi
16250
16251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16252 ac_c_werror_flag=$ac_save_c_werror_flag
16253 fi
16254 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16255 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16256 if test "$ac_test_CFLAGS" = set; then
16257 CFLAGS=$ac_save_CFLAGS
16258 elif test $ac_cv_prog_cc_g = yes; then
16259 if test "$GCC" = yes; then
16260 CFLAGS="-g -O2"
16261 else
16262 CFLAGS="-g"
16263 fi
16264 else
16265 if test "$GCC" = yes; then
16266 CFLAGS="-O2"
16267 else
16268 CFLAGS=
16269 fi
16270 fi
16271 fi
16272 fi
16273
16274 case `uname -s` in
16275 AIX*)
16276
16277
16278 ac_ext=c
16279 ac_cpp='$CPP $CPPFLAGS'
16280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16283
16284 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16285 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16286 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 else
16289 cat >conftest.$ac_ext <<_ACEOF
16290 /* confdefs.h. */
16291 _ACEOF
16292 cat confdefs.h >>conftest.$ac_ext
16293 cat >>conftest.$ac_ext <<_ACEOF
16294 /* end confdefs.h. */
16295
16296 int
16297 main ()
16298 {
16299
16300 #ifndef __xlC__
16301 choke me
16302 #endif
16303
16304 ;
16305 return 0;
16306 }
16307 _ACEOF
16308 rm -f conftest.$ac_objext
16309 if { (ac_try="$ac_compile"
16310 case "(($ac_try" in
16311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16312 *) ac_try_echo=$ac_try;;
16313 esac
16314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16315 (eval "$ac_compile") 2>conftest.er1
16316 ac_status=$?
16317 grep -v '^ *+' conftest.er1 >conftest.err
16318 rm -f conftest.er1
16319 cat conftest.err >&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); } && {
16322 test -z "$ac_c_werror_flag" ||
16323 test ! -s conftest.err
16324 } && test -s conftest.$ac_objext; then
16325 bakefile_cv_c_compiler___xlC__=yes
16326 else
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16329
16330 bakefile_cv_c_compiler___xlC__=no
16331
16332 fi
16333
16334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16335
16336
16337 fi
16338 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16339 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16340 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16341 :; XLCC=yes
16342 else
16343 :;
16344 fi
16345 ac_ext=c
16346 ac_cpp='$CPP $CPPFLAGS'
16347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16350
16351
16352
16353 ;;
16354
16355 Darwin)
16356
16357
16358 ac_ext=c
16359 ac_cpp='$CPP $CPPFLAGS'
16360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16363
16364 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16365 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16366 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16367 echo $ECHO_N "(cached) $ECHO_C" >&6
16368 else
16369 cat >conftest.$ac_ext <<_ACEOF
16370 /* confdefs.h. */
16371 _ACEOF
16372 cat confdefs.h >>conftest.$ac_ext
16373 cat >>conftest.$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16375
16376 int
16377 main ()
16378 {
16379
16380 #ifndef __MWERKS__
16381 choke me
16382 #endif
16383
16384 ;
16385 return 0;
16386 }
16387 _ACEOF
16388 rm -f conftest.$ac_objext
16389 if { (ac_try="$ac_compile"
16390 case "(($ac_try" in
16391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16392 *) ac_try_echo=$ac_try;;
16393 esac
16394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16395 (eval "$ac_compile") 2>conftest.er1
16396 ac_status=$?
16397 grep -v '^ *+' conftest.er1 >conftest.err
16398 rm -f conftest.er1
16399 cat conftest.err >&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } && {
16402 test -z "$ac_c_werror_flag" ||
16403 test ! -s conftest.err
16404 } && test -s conftest.$ac_objext; then
16405 bakefile_cv_c_compiler___MWERKS__=yes
16406 else
16407 echo "$as_me: failed program was:" >&5
16408 sed 's/^/| /' conftest.$ac_ext >&5
16409
16410 bakefile_cv_c_compiler___MWERKS__=no
16411
16412 fi
16413
16414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16415
16416
16417 fi
16418 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16419 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16420 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16421 :; MWCC=yes
16422 else
16423 :;
16424 fi
16425 ac_ext=c
16426 ac_cpp='$CPP $CPPFLAGS'
16427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16430
16431
16432
16433 if test "$MWCC" != "yes"; then
16434
16435
16436 ac_ext=c
16437 ac_cpp='$CPP $CPPFLAGS'
16438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16441
16442 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16443 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16444 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16446 else
16447 cat >conftest.$ac_ext <<_ACEOF
16448 /* confdefs.h. */
16449 _ACEOF
16450 cat confdefs.h >>conftest.$ac_ext
16451 cat >>conftest.$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453
16454 int
16455 main ()
16456 {
16457
16458 #ifndef __xlC__
16459 choke me
16460 #endif
16461
16462 ;
16463 return 0;
16464 }
16465 _ACEOF
16466 rm -f conftest.$ac_objext
16467 if { (ac_try="$ac_compile"
16468 case "(($ac_try" in
16469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16470 *) ac_try_echo=$ac_try;;
16471 esac
16472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16473 (eval "$ac_compile") 2>conftest.er1
16474 ac_status=$?
16475 grep -v '^ *+' conftest.er1 >conftest.err
16476 rm -f conftest.er1
16477 cat conftest.err >&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } && {
16480 test -z "$ac_c_werror_flag" ||
16481 test ! -s conftest.err
16482 } && test -s conftest.$ac_objext; then
16483 bakefile_cv_c_compiler___xlC__=yes
16484 else
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16487
16488 bakefile_cv_c_compiler___xlC__=no
16489
16490 fi
16491
16492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16493
16494
16495 fi
16496 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16497 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16498 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16499 :; XLCC=yes
16500 else
16501 :;
16502 fi
16503 ac_ext=c
16504 ac_cpp='$CPP $CPPFLAGS'
16505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16508
16509
16510
16511 fi
16512 ;;
16513
16514 IRIX*)
16515
16516
16517 ac_ext=c
16518 ac_cpp='$CPP $CPPFLAGS'
16519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16522
16523 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16524 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16525 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16526 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 else
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534
16535 int
16536 main ()
16537 {
16538
16539 #ifndef _SGI_COMPILER_VERSION
16540 choke me
16541 #endif
16542
16543 ;
16544 return 0;
16545 }
16546 _ACEOF
16547 rm -f conftest.$ac_objext
16548 if { (ac_try="$ac_compile"
16549 case "(($ac_try" in
16550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16551 *) ac_try_echo=$ac_try;;
16552 esac
16553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16554 (eval "$ac_compile") 2>conftest.er1
16555 ac_status=$?
16556 grep -v '^ *+' conftest.er1 >conftest.err
16557 rm -f conftest.er1
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } && {
16561 test -z "$ac_c_werror_flag" ||
16562 test ! -s conftest.err
16563 } && test -s conftest.$ac_objext; then
16564 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16565 else
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.$ac_ext >&5
16568
16569 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16570
16571 fi
16572
16573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16574
16575
16576 fi
16577 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16578 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16579 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16580 :; SGICC=yes
16581 else
16582 :;
16583 fi
16584 ac_ext=c
16585 ac_cpp='$CPP $CPPFLAGS'
16586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16589
16590
16591
16592 ;;
16593
16594 Linux*)
16595 if test "$INTELCC" != "yes"; then
16596
16597
16598 ac_ext=c
16599 ac_cpp='$CPP $CPPFLAGS'
16600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16603
16604 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16605 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16606 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16608 else
16609 cat >conftest.$ac_ext <<_ACEOF
16610 /* confdefs.h. */
16611 _ACEOF
16612 cat confdefs.h >>conftest.$ac_ext
16613 cat >>conftest.$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16615
16616 int
16617 main ()
16618 {
16619
16620 #ifndef __SUNPRO_C
16621 choke me
16622 #endif
16623
16624 ;
16625 return 0;
16626 }
16627 _ACEOF
16628 rm -f conftest.$ac_objext
16629 if { (ac_try="$ac_compile"
16630 case "(($ac_try" in
16631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16633 esac
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_compile") 2>conftest.er1
16636 ac_status=$?
16637 grep -v '^ *+' conftest.er1 >conftest.err
16638 rm -f conftest.er1
16639 cat conftest.err >&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } && {
16642 test -z "$ac_c_werror_flag" ||
16643 test ! -s conftest.err
16644 } && test -s conftest.$ac_objext; then
16645 bakefile_cv_c_compiler___SUNPRO_C=yes
16646 else
16647 echo "$as_me: failed program was:" >&5
16648 sed 's/^/| /' conftest.$ac_ext >&5
16649
16650 bakefile_cv_c_compiler___SUNPRO_C=no
16651
16652 fi
16653
16654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16655
16656
16657 fi
16658 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16659 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16660 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16661 :; SUNCC=yes
16662 else
16663 :;
16664 fi
16665 ac_ext=c
16666 ac_cpp='$CPP $CPPFLAGS'
16667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16670
16671
16672
16673 fi
16674 ;;
16675
16676 HP-UX*)
16677
16678
16679 ac_ext=c
16680 ac_cpp='$CPP $CPPFLAGS'
16681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16684
16685 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16686 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16687 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690 cat >conftest.$ac_ext <<_ACEOF
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696
16697 int
16698 main ()
16699 {
16700
16701 #ifndef __HP_cc
16702 choke me
16703 #endif
16704
16705 ;
16706 return 0;
16707 }
16708 _ACEOF
16709 rm -f conftest.$ac_objext
16710 if { (ac_try="$ac_compile"
16711 case "(($ac_try" in
16712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16713 *) ac_try_echo=$ac_try;;
16714 esac
16715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16716 (eval "$ac_compile") 2>conftest.er1
16717 ac_status=$?
16718 grep -v '^ *+' conftest.er1 >conftest.err
16719 rm -f conftest.er1
16720 cat conftest.err >&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } && {
16723 test -z "$ac_c_werror_flag" ||
16724 test ! -s conftest.err
16725 } && test -s conftest.$ac_objext; then
16726 bakefile_cv_c_compiler___HP_cc=yes
16727 else
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16730
16731 bakefile_cv_c_compiler___HP_cc=no
16732
16733 fi
16734
16735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16736
16737
16738 fi
16739 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16740 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16741 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16742 :; HPCC=yes
16743 else
16744 :;
16745 fi
16746 ac_ext=c
16747 ac_cpp='$CPP $CPPFLAGS'
16748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16751
16752
16753
16754 ;;
16755
16756 OSF1)
16757
16758
16759 ac_ext=c
16760 ac_cpp='$CPP $CPPFLAGS'
16761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16764
16765 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16766 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16767 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16768 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 else
16770 cat >conftest.$ac_ext <<_ACEOF
16771 /* confdefs.h. */
16772 _ACEOF
16773 cat confdefs.h >>conftest.$ac_ext
16774 cat >>conftest.$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16776
16777 int
16778 main ()
16779 {
16780
16781 #ifndef __DECC
16782 choke me
16783 #endif
16784
16785 ;
16786 return 0;
16787 }
16788 _ACEOF
16789 rm -f conftest.$ac_objext
16790 if { (ac_try="$ac_compile"
16791 case "(($ac_try" in
16792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16793 *) ac_try_echo=$ac_try;;
16794 esac
16795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16796 (eval "$ac_compile") 2>conftest.er1
16797 ac_status=$?
16798 grep -v '^ *+' conftest.er1 >conftest.err
16799 rm -f conftest.er1
16800 cat conftest.err >&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } && {
16803 test -z "$ac_c_werror_flag" ||
16804 test ! -s conftest.err
16805 } && test -s conftest.$ac_objext; then
16806 bakefile_cv_c_compiler___DECC=yes
16807 else
16808 echo "$as_me: failed program was:" >&5
16809 sed 's/^/| /' conftest.$ac_ext >&5
16810
16811 bakefile_cv_c_compiler___DECC=no
16812
16813 fi
16814
16815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16816
16817
16818 fi
16819 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16820 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16821 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16822 :; COMPAQCC=yes
16823 else
16824 :;
16825 fi
16826 ac_ext=c
16827 ac_cpp='$CPP $CPPFLAGS'
16828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16831
16832
16833
16834 ;;
16835
16836 SunOS)
16837
16838
16839 ac_ext=c
16840 ac_cpp='$CPP $CPPFLAGS'
16841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16844
16845 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16846 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16847 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16849 else
16850 cat >conftest.$ac_ext <<_ACEOF
16851 /* confdefs.h. */
16852 _ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856
16857 int
16858 main ()
16859 {
16860
16861 #ifndef __SUNPRO_C
16862 choke me
16863 #endif
16864
16865 ;
16866 return 0;
16867 }
16868 _ACEOF
16869 rm -f conftest.$ac_objext
16870 if { (ac_try="$ac_compile"
16871 case "(($ac_try" in
16872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16873 *) ac_try_echo=$ac_try;;
16874 esac
16875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16876 (eval "$ac_compile") 2>conftest.er1
16877 ac_status=$?
16878 grep -v '^ *+' conftest.er1 >conftest.err
16879 rm -f conftest.er1
16880 cat conftest.err >&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } && {
16883 test -z "$ac_c_werror_flag" ||
16884 test ! -s conftest.err
16885 } && test -s conftest.$ac_objext; then
16886 bakefile_cv_c_compiler___SUNPRO_C=yes
16887 else
16888 echo "$as_me: failed program was:" >&5
16889 sed 's/^/| /' conftest.$ac_ext >&5
16890
16891 bakefile_cv_c_compiler___SUNPRO_C=no
16892
16893 fi
16894
16895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16896
16897
16898 fi
16899 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16900 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16901 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16902 :; SUNCC=yes
16903 else
16904 :;
16905 fi
16906 ac_ext=c
16907 ac_cpp='$CPP $CPPFLAGS'
16908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16911
16912
16913
16914 ;;
16915 esac
16916 fi
16917
16918
16919
16920 ac_ext=c
16921 ac_cpp='$CPP $CPPFLAGS'
16922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16925 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16926 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16927 # On Suns, sometimes $CPP names a directory.
16928 if test -n "$CPP" && test -d "$CPP"; then
16929 CPP=
16930 fi
16931 if test -z "$CPP"; then
16932 if test "${ac_cv_prog_CPP+set}" = set; then
16933 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 else
16935 # Double quotes because CPP needs to be expanded
16936 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16937 do
16938 ac_preproc_ok=false
16939 for ac_c_preproc_warn_flag in '' yes
16940 do
16941 # Use a header file that comes with gcc, so configuring glibc
16942 # with a fresh cross-compiler works.
16943 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16944 # <limits.h> exists even on freestanding compilers.
16945 # On the NeXT, cc -E runs the code through the compiler's parser,
16946 # not just through cpp. "Syntax error" is here to catch this case.
16947 cat >conftest.$ac_ext <<_ACEOF
16948 /* confdefs.h. */
16949 _ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16953 #ifdef __STDC__
16954 # include <limits.h>
16955 #else
16956 # include <assert.h>
16957 #endif
16958 Syntax error
16959 _ACEOF
16960 if { (ac_try="$ac_cpp conftest.$ac_ext"
16961 case "(($ac_try" in
16962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16963 *) ac_try_echo=$ac_try;;
16964 esac
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16967 ac_status=$?
16968 grep -v '^ *+' conftest.er1 >conftest.err
16969 rm -f conftest.er1
16970 cat conftest.err >&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); } >/dev/null && {
16973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16974 test ! -s conftest.err
16975 }; then
16976 :
16977 else
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16980
16981 # Broken: fails on valid input.
16982 continue
16983 fi
16984
16985 rm -f conftest.err conftest.$ac_ext
16986
16987 # OK, works on sane cases. Now check whether nonexistent headers
16988 # can be detected and how.
16989 cat >conftest.$ac_ext <<_ACEOF
16990 /* confdefs.h. */
16991 _ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 #include <ac_nonexistent.h>
16996 _ACEOF
16997 if { (ac_try="$ac_cpp conftest.$ac_ext"
16998 case "(($ac_try" in
16999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17000 *) ac_try_echo=$ac_try;;
17001 esac
17002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17004 ac_status=$?
17005 grep -v '^ *+' conftest.er1 >conftest.err
17006 rm -f conftest.er1
17007 cat conftest.err >&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } >/dev/null && {
17010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17011 test ! -s conftest.err
17012 }; then
17013 # Broken: success on invalid input.
17014 continue
17015 else
17016 echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.$ac_ext >&5
17018
17019 # Passes both tests.
17020 ac_preproc_ok=:
17021 break
17022 fi
17023
17024 rm -f conftest.err conftest.$ac_ext
17025
17026 done
17027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17028 rm -f conftest.err conftest.$ac_ext
17029 if $ac_preproc_ok; then
17030 break
17031 fi
17032
17033 done
17034 ac_cv_prog_CPP=$CPP
17035
17036 fi
17037 CPP=$ac_cv_prog_CPP
17038 else
17039 ac_cv_prog_CPP=$CPP
17040 fi
17041 { echo "$as_me:$LINENO: result: $CPP" >&5
17042 echo "${ECHO_T}$CPP" >&6; }
17043 ac_preproc_ok=false
17044 for ac_c_preproc_warn_flag in '' yes
17045 do
17046 # Use a header file that comes with gcc, so configuring glibc
17047 # with a fresh cross-compiler works.
17048 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17049 # <limits.h> exists even on freestanding compilers.
17050 # On the NeXT, cc -E runs the code through the compiler's parser,
17051 # not just through cpp. "Syntax error" is here to catch this case.
17052 cat >conftest.$ac_ext <<_ACEOF
17053 /* confdefs.h. */
17054 _ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 #ifdef __STDC__
17059 # include <limits.h>
17060 #else
17061 # include <assert.h>
17062 #endif
17063 Syntax error
17064 _ACEOF
17065 if { (ac_try="$ac_cpp conftest.$ac_ext"
17066 case "(($ac_try" in
17067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17068 *) ac_try_echo=$ac_try;;
17069 esac
17070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17072 ac_status=$?
17073 grep -v '^ *+' conftest.er1 >conftest.err
17074 rm -f conftest.er1
17075 cat conftest.err >&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } >/dev/null && {
17078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17079 test ! -s conftest.err
17080 }; then
17081 :
17082 else
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.$ac_ext >&5
17085
17086 # Broken: fails on valid input.
17087 continue
17088 fi
17089
17090 rm -f conftest.err conftest.$ac_ext
17091
17092 # OK, works on sane cases. Now check whether nonexistent headers
17093 # can be detected and how.
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 #include <ac_nonexistent.h>
17101 _ACEOF
17102 if { (ac_try="$ac_cpp conftest.$ac_ext"
17103 case "(($ac_try" in
17104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17105 *) ac_try_echo=$ac_try;;
17106 esac
17107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17109 ac_status=$?
17110 grep -v '^ *+' conftest.er1 >conftest.err
17111 rm -f conftest.er1
17112 cat conftest.err >&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } >/dev/null && {
17115 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17116 test ! -s conftest.err
17117 }; then
17118 # Broken: success on invalid input.
17119 continue
17120 else
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17123
17124 # Passes both tests.
17125 ac_preproc_ok=:
17126 break
17127 fi
17128
17129 rm -f conftest.err conftest.$ac_ext
17130
17131 done
17132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17133 rm -f conftest.err conftest.$ac_ext
17134 if $ac_preproc_ok; then
17135 :
17136 else
17137 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17138 See \`config.log' for more details." >&5
17139 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17140 See \`config.log' for more details." >&2;}
17141 { (exit 1); exit 1; }; }
17142 fi
17143
17144 ac_ext=c
17145 ac_cpp='$CPP $CPPFLAGS'
17146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17149
17150
17151 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17152 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17153 if test "${ac_cv_path_GREP+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17155 else
17156 # Extract the first word of "grep ggrep" to use in msg output
17157 if test -z "$GREP"; then
17158 set dummy grep ggrep; ac_prog_name=$2
17159 if test "${ac_cv_path_GREP+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 else
17162 ac_path_GREP_found=false
17163 # Loop through the user's path and test for each of PROGNAME-LIST
17164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17165 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17166 do
17167 IFS=$as_save_IFS
17168 test -z "$as_dir" && as_dir=.
17169 for ac_prog in grep ggrep; do
17170 for ac_exec_ext in '' $ac_executable_extensions; do
17171 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17172 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17173 # Check for GNU ac_path_GREP and select it if it is found.
17174 # Check for GNU $ac_path_GREP
17175 case `"$ac_path_GREP" --version 2>&1` in
17176 *GNU*)
17177 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17178 *)
17179 ac_count=0
17180 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17181 while :
17182 do
17183 cat "conftest.in" "conftest.in" >"conftest.tmp"
17184 mv "conftest.tmp" "conftest.in"
17185 cp "conftest.in" "conftest.nl"
17186 echo 'GREP' >> "conftest.nl"
17187 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17188 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17189 ac_count=`expr $ac_count + 1`
17190 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17191 # Best one so far, save it but keep looking for a better one
17192 ac_cv_path_GREP="$ac_path_GREP"
17193 ac_path_GREP_max=$ac_count
17194 fi
17195 # 10*(2^10) chars as input seems more than enough
17196 test $ac_count -gt 10 && break
17197 done
17198 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17199 esac
17200
17201
17202 $ac_path_GREP_found && break 3
17203 done
17204 done
17205
17206 done
17207 IFS=$as_save_IFS
17208
17209
17210 fi
17211
17212 GREP="$ac_cv_path_GREP"
17213 if test -z "$GREP"; then
17214 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17215 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17216 { (exit 1); exit 1; }; }
17217 fi
17218
17219 else
17220 ac_cv_path_GREP=$GREP
17221 fi
17222
17223
17224 fi
17225 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17226 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17227 GREP="$ac_cv_path_GREP"
17228
17229
17230 { echo "$as_me:$LINENO: checking for egrep" >&5
17231 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17232 if test "${ac_cv_path_EGREP+set}" = set; then
17233 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 else
17235 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17236 then ac_cv_path_EGREP="$GREP -E"
17237 else
17238 # Extract the first word of "egrep" to use in msg output
17239 if test -z "$EGREP"; then
17240 set dummy egrep; ac_prog_name=$2
17241 if test "${ac_cv_path_EGREP+set}" = set; then
17242 echo $ECHO_N "(cached) $ECHO_C" >&6
17243 else
17244 ac_path_EGREP_found=false
17245 # Loop through the user's path and test for each of PROGNAME-LIST
17246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17248 do
17249 IFS=$as_save_IFS
17250 test -z "$as_dir" && as_dir=.
17251 for ac_prog in egrep; do
17252 for ac_exec_ext in '' $ac_executable_extensions; do
17253 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17254 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17255 # Check for GNU ac_path_EGREP and select it if it is found.
17256 # Check for GNU $ac_path_EGREP
17257 case `"$ac_path_EGREP" --version 2>&1` in
17258 *GNU*)
17259 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17260 *)
17261 ac_count=0
17262 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17263 while :
17264 do
17265 cat "conftest.in" "conftest.in" >"conftest.tmp"
17266 mv "conftest.tmp" "conftest.in"
17267 cp "conftest.in" "conftest.nl"
17268 echo 'EGREP' >> "conftest.nl"
17269 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17271 ac_count=`expr $ac_count + 1`
17272 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17273 # Best one so far, save it but keep looking for a better one
17274 ac_cv_path_EGREP="$ac_path_EGREP"
17275 ac_path_EGREP_max=$ac_count
17276 fi
17277 # 10*(2^10) chars as input seems more than enough
17278 test $ac_count -gt 10 && break
17279 done
17280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17281 esac
17282
17283
17284 $ac_path_EGREP_found && break 3
17285 done
17286 done
17287
17288 done
17289 IFS=$as_save_IFS
17290
17291
17292 fi
17293
17294 EGREP="$ac_cv_path_EGREP"
17295 if test -z "$EGREP"; then
17296 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17297 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17298 { (exit 1); exit 1; }; }
17299 fi
17300
17301 else
17302 ac_cv_path_EGREP=$EGREP
17303 fi
17304
17305
17306 fi
17307 fi
17308 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17309 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17310 EGREP="$ac_cv_path_EGREP"
17311
17312
17313 if test $ac_cv_c_compiler_gnu = yes; then
17314 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17315 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17316 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17317 echo $ECHO_N "(cached) $ECHO_C" >&6
17318 else
17319 ac_pattern="Autoconf.*'x'"
17320 cat >conftest.$ac_ext <<_ACEOF
17321 /* confdefs.h. */
17322 _ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17326 #include <sgtty.h>
17327 Autoconf TIOCGETP
17328 _ACEOF
17329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17330 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17331 ac_cv_prog_gcc_traditional=yes
17332 else
17333 ac_cv_prog_gcc_traditional=no
17334 fi
17335 rm -f conftest*
17336
17337
17338 if test $ac_cv_prog_gcc_traditional = no; then
17339 cat >conftest.$ac_ext <<_ACEOF
17340 /* confdefs.h. */
17341 _ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 #include <termio.h>
17346 Autoconf TCGETA
17347 _ACEOF
17348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17349 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17350 ac_cv_prog_gcc_traditional=yes
17351 fi
17352 rm -f conftest*
17353
17354 fi
17355 fi
17356 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17357 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17358 if test $ac_cv_prog_gcc_traditional = yes; then
17359 CC="$CC -traditional"
17360 fi
17361 fi
17362
17363
17364 CXXFLAGS=${CXXFLAGS:=}
17365 ac_ext=cpp
17366 ac_cpp='$CXXCPP $CPPFLAGS'
17367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17370 if test -z "$CXX"; then
17371 if test -n "$CCC"; then
17372 CXX=$CCC
17373 else
17374 if test -n "$ac_tool_prefix"; then
17375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17376 do
17377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17381 if test "${ac_cv_prog_CXX+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 else
17384 if test -n "$CXX"; then
17385 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17386 else
17387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17388 for as_dir in $PATH
17389 do
17390 IFS=$as_save_IFS
17391 test -z "$as_dir" && as_dir=.
17392 for ac_exec_ext in '' $ac_executable_extensions; do
17393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17394 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17396 break 2
17397 fi
17398 done
17399 done
17400 IFS=$as_save_IFS
17401
17402 fi
17403 fi
17404 CXX=$ac_cv_prog_CXX
17405 if test -n "$CXX"; then
17406 { echo "$as_me:$LINENO: result: $CXX" >&5
17407 echo "${ECHO_T}$CXX" >&6; }
17408 else
17409 { echo "$as_me:$LINENO: result: no" >&5
17410 echo "${ECHO_T}no" >&6; }
17411 fi
17412
17413
17414 test -n "$CXX" && break
17415 done
17416 fi
17417 if test -z "$CXX"; then
17418 ac_ct_CXX=$CXX
17419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17420 do
17421 # Extract the first word of "$ac_prog", so it can be a program name with args.
17422 set dummy $ac_prog; ac_word=$2
17423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17425 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17428 if test -n "$ac_ct_CXX"; then
17429 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17430 else
17431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17432 for as_dir in $PATH
17433 do
17434 IFS=$as_save_IFS
17435 test -z "$as_dir" && as_dir=.
17436 for ac_exec_ext in '' $ac_executable_extensions; do
17437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17438 ac_cv_prog_ac_ct_CXX="$ac_prog"
17439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17440 break 2
17441 fi
17442 done
17443 done
17444 IFS=$as_save_IFS
17445
17446 fi
17447 fi
17448 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17449 if test -n "$ac_ct_CXX"; then
17450 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17451 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17452 else
17453 { echo "$as_me:$LINENO: result: no" >&5
17454 echo "${ECHO_T}no" >&6; }
17455 fi
17456
17457
17458 test -n "$ac_ct_CXX" && break
17459 done
17460
17461 if test "x$ac_ct_CXX" = x; then
17462 CXX="g++"
17463 else
17464 case $cross_compiling:$ac_tool_warned in
17465 yes:)
17466 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17467 whose name does not start with the host triplet. If you think this
17468 configuration is useful to you, please write to autoconf@gnu.org." >&5
17469 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17470 whose name does not start with the host triplet. If you think this
17471 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17472 ac_tool_warned=yes ;;
17473 esac
17474 CXX=$ac_ct_CXX
17475 fi
17476 fi
17477
17478 fi
17479 fi
17480 # Provide some information about the compiler.
17481 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17482 ac_compiler=`set X $ac_compile; echo $2`
17483 { (ac_try="$ac_compiler --version >&5"
17484 case "(($ac_try" in
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486 *) ac_try_echo=$ac_try;;
17487 esac
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_compiler --version >&5") 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }
17493 { (ac_try="$ac_compiler -v >&5"
17494 case "(($ac_try" in
17495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17496 *) ac_try_echo=$ac_try;;
17497 esac
17498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17499 (eval "$ac_compiler -v >&5") 2>&5
17500 ac_status=$?
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }
17503 { (ac_try="$ac_compiler -V >&5"
17504 case "(($ac_try" in
17505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17506 *) ac_try_echo=$ac_try;;
17507 esac
17508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17509 (eval "$ac_compiler -V >&5") 2>&5
17510 ac_status=$?
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }
17513
17514 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17515 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17516 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17517 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 else
17519 cat >conftest.$ac_ext <<_ACEOF
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525
17526 int
17527 main ()
17528 {
17529 #ifndef __GNUC__
17530 choke me
17531 #endif
17532
17533 ;
17534 return 0;
17535 }
17536 _ACEOF
17537 rm -f conftest.$ac_objext
17538 if { (ac_try="$ac_compile"
17539 case "(($ac_try" in
17540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17541 *) ac_try_echo=$ac_try;;
17542 esac
17543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17544 (eval "$ac_compile") 2>conftest.er1
17545 ac_status=$?
17546 grep -v '^ *+' conftest.er1 >conftest.err
17547 rm -f conftest.er1
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } && {
17551 test -z "$ac_cxx_werror_flag" ||
17552 test ! -s conftest.err
17553 } && test -s conftest.$ac_objext; then
17554 ac_compiler_gnu=yes
17555 else
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.$ac_ext >&5
17558
17559 ac_compiler_gnu=no
17560 fi
17561
17562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17563 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17564
17565 fi
17566 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17567 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17568 GXX=`test $ac_compiler_gnu = yes && echo yes`
17569 ac_test_CXXFLAGS=${CXXFLAGS+set}
17570 ac_save_CXXFLAGS=$CXXFLAGS
17571 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17572 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17573 if test "${ac_cv_prog_cxx_g+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17575 else
17576 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17577 ac_cxx_werror_flag=yes
17578 ac_cv_prog_cxx_g=no
17579 CXXFLAGS="-g"
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586
17587 int
17588 main ()
17589 {
17590
17591 ;
17592 return 0;
17593 }
17594 _ACEOF
17595 rm -f conftest.$ac_objext
17596 if { (ac_try="$ac_compile"
17597 case "(($ac_try" in
17598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17599 *) ac_try_echo=$ac_try;;
17600 esac
17601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17603 ac_status=$?
17604 grep -v '^ *+' conftest.er1 >conftest.err
17605 rm -f conftest.er1
17606 cat conftest.err >&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_cxx_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.$ac_objext; then
17612 ac_cv_prog_cxx_g=yes
17613 else
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17616
17617 CXXFLAGS=""
17618 cat >conftest.$ac_ext <<_ACEOF
17619 /* confdefs.h. */
17620 _ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624
17625 int
17626 main ()
17627 {
17628
17629 ;
17630 return 0;
17631 }
17632 _ACEOF
17633 rm -f conftest.$ac_objext
17634 if { (ac_try="$ac_compile"
17635 case "(($ac_try" in
17636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17638 esac
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_compile") 2>conftest.er1
17641 ac_status=$?
17642 grep -v '^ *+' conftest.er1 >conftest.err
17643 rm -f conftest.er1
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && {
17647 test -z "$ac_cxx_werror_flag" ||
17648 test ! -s conftest.err
17649 } && test -s conftest.$ac_objext; then
17650 :
17651 else
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17654
17655 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17656 CXXFLAGS="-g"
17657 cat >conftest.$ac_ext <<_ACEOF
17658 /* confdefs.h. */
17659 _ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17663
17664 int
17665 main ()
17666 {
17667
17668 ;
17669 return 0;
17670 }
17671 _ACEOF
17672 rm -f conftest.$ac_objext
17673 if { (ac_try="$ac_compile"
17674 case "(($ac_try" in
17675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17676 *) ac_try_echo=$ac_try;;
17677 esac
17678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17679 (eval "$ac_compile") 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } && {
17686 test -z "$ac_cxx_werror_flag" ||
17687 test ! -s conftest.err
17688 } && test -s conftest.$ac_objext; then
17689 ac_cv_prog_cxx_g=yes
17690 else
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17693
17694
17695 fi
17696
17697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698 fi
17699
17700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17701 fi
17702
17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17704 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17705 fi
17706 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17707 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17708 if test "$ac_test_CXXFLAGS" = set; then
17709 CXXFLAGS=$ac_save_CXXFLAGS
17710 elif test $ac_cv_prog_cxx_g = yes; then
17711 if test "$GXX" = yes; then
17712 CXXFLAGS="-g -O2"
17713 else
17714 CXXFLAGS="-g"
17715 fi
17716 else
17717 if test "$GXX" = yes; then
17718 CXXFLAGS="-O2"
17719 else
17720 CXXFLAGS=
17721 fi
17722 fi
17723 ac_ext=c
17724 ac_cpp='$CPP $CPPFLAGS'
17725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17728
17729
17730
17731
17732
17733
17734
17735
17736 ac_ext=cpp
17737 ac_cpp='$CXXCPP $CPPFLAGS'
17738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17741
17742 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17743 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17744 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17745 echo $ECHO_N "(cached) $ECHO_C" >&6
17746 else
17747 cat >conftest.$ac_ext <<_ACEOF
17748 /* confdefs.h. */
17749 _ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17753
17754 int
17755 main ()
17756 {
17757
17758 #ifndef __INTEL_COMPILER
17759 choke me
17760 #endif
17761
17762 ;
17763 return 0;
17764 }
17765 _ACEOF
17766 rm -f conftest.$ac_objext
17767 if { (ac_try="$ac_compile"
17768 case "(($ac_try" in
17769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17770 *) ac_try_echo=$ac_try;;
17771 esac
17772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17773 (eval "$ac_compile") 2>conftest.er1
17774 ac_status=$?
17775 grep -v '^ *+' conftest.er1 >conftest.err
17776 rm -f conftest.er1
17777 cat conftest.err >&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } && {
17780 test -z "$ac_cxx_werror_flag" ||
17781 test ! -s conftest.err
17782 } && test -s conftest.$ac_objext; then
17783 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17784 else
17785 echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.$ac_ext >&5
17787
17788 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17789
17790 fi
17791
17792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17793
17794
17795 fi
17796 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17797 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17798 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17799 :; INTELCXX=yes
17800 else
17801 :;
17802 fi
17803 ac_ext=c
17804 ac_cpp='$CPP $CPPFLAGS'
17805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17808
17809
17810
17811
17812 if test "$INTELCXX" = "yes"; then
17813
17814
17815 ac_ext=cpp
17816 ac_cpp='$CXXCPP $CPPFLAGS'
17817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17820
17821 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17822 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17823 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17825 else
17826 cat >conftest.$ac_ext <<_ACEOF
17827 /* confdefs.h. */
17828 _ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832
17833 int
17834 main ()
17835 {
17836
17837 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17838 choke me
17839 #endif
17840
17841 ;
17842 return 0;
17843 }
17844 _ACEOF
17845 rm -f conftest.$ac_objext
17846 if { (ac_try="$ac_compile"
17847 case "(($ac_try" in
17848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17849 *) ac_try_echo=$ac_try;;
17850 esac
17851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17852 (eval "$ac_compile") 2>conftest.er1
17853 ac_status=$?
17854 grep -v '^ *+' conftest.er1 >conftest.err
17855 rm -f conftest.er1
17856 cat conftest.err >&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } && {
17859 test -z "$ac_cxx_werror_flag" ||
17860 test ! -s conftest.err
17861 } && test -s conftest.$ac_objext; then
17862 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17863 else
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17866
17867 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17868
17869 fi
17870
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872
17873
17874 fi
17875 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17876 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17877 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17878 :; INTELCXX8=yes
17879 else
17880 :;
17881 fi
17882 ac_ext=c
17883 ac_cpp='$CPP $CPPFLAGS'
17884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17887
17888
17889
17890
17891
17892 ac_ext=cpp
17893 ac_cpp='$CXXCPP $CPPFLAGS'
17894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17897
17898 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17899 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17900 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17901 echo $ECHO_N "(cached) $ECHO_C" >&6
17902 else
17903 cat >conftest.$ac_ext <<_ACEOF
17904 /* confdefs.h. */
17905 _ACEOF
17906 cat confdefs.h >>conftest.$ac_ext
17907 cat >>conftest.$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17909
17910 int
17911 main ()
17912 {
17913
17914 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17915 choke me
17916 #endif
17917
17918 ;
17919 return 0;
17920 }
17921 _ACEOF
17922 rm -f conftest.$ac_objext
17923 if { (ac_try="$ac_compile"
17924 case "(($ac_try" in
17925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17926 *) ac_try_echo=$ac_try;;
17927 esac
17928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17929 (eval "$ac_compile") 2>conftest.er1
17930 ac_status=$?
17931 grep -v '^ *+' conftest.er1 >conftest.err
17932 rm -f conftest.er1
17933 cat conftest.err >&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); } && {
17936 test -z "$ac_cxx_werror_flag" ||
17937 test ! -s conftest.err
17938 } && test -s conftest.$ac_objext; then
17939 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17940 else
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17943
17944 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17945
17946 fi
17947
17948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17949
17950
17951 fi
17952 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17953 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17954 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17955 :; INTELCXX10=yes
17956 else
17957 :;
17958 fi
17959 ac_ext=c
17960 ac_cpp='$CPP $CPPFLAGS'
17961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17964
17965
17966
17967 fi
17968
17969 if test "x$GCXX" != "xyes"; then
17970 if test "xCXX" = "xC"; then
17971 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17972 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17973 if test "${bakefile_cv_c_exto+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17975 else
17976 cat >conftest.$ac_ext <<_ACEOF
17977 /* confdefs.h. */
17978 _ACEOF
17979 cat confdefs.h >>conftest.$ac_ext
17980 cat >>conftest.$ac_ext <<_ACEOF
17981 /* end confdefs.h. */
17982
17983 int
17984 main ()
17985 {
17986
17987 ;
17988 return 0;
17989 }
17990 _ACEOF
17991 rm -f conftest.$ac_objext conftest.$ac_ext.o
17992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17993 (eval $ac_compile) 2>&5
17994 ac_status=$?
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; then
17997 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17998 case $ac_file in
17999 conftest.$ac_ext.o)
18000 bakefile_cv_c_exto="-ext o"
18001 ;;
18002 *)
18003 ;;
18004 esac
18005 done
18006 else
18007 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18008 See \`config.log' for more details." >&5
18009 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18010 See \`config.log' for more details." >&2;}
18011 { (exit 1); exit 1; }; }
18012
18013 fi
18014
18015 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18016
18017 fi
18018 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18019 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18020 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18021 if test "c" = "c"; then
18022 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18023 fi
18024 if test "c" = "cxx"; then
18025 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18026 fi
18027 fi
18028
18029 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18030 unset ac_cv_prog_cc_g
18031 ac_test_CFLAGS=${CFLAGS+set}
18032 ac_save_CFLAGS=$CFLAGS
18033 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18034 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18035 if test "${ac_cv_prog_cc_g+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18037 else
18038 ac_save_c_werror_flag=$ac_c_werror_flag
18039 ac_c_werror_flag=yes
18040 ac_cv_prog_cc_g=no
18041 CFLAGS="-g"
18042 cat >conftest.$ac_ext <<_ACEOF
18043 /* confdefs.h. */
18044 _ACEOF
18045 cat confdefs.h >>conftest.$ac_ext
18046 cat >>conftest.$ac_ext <<_ACEOF
18047 /* end confdefs.h. */
18048
18049 int
18050 main ()
18051 {
18052
18053 ;
18054 return 0;
18055 }
18056 _ACEOF
18057 rm -f conftest.$ac_objext
18058 if { (ac_try="$ac_compile"
18059 case "(($ac_try" in
18060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18061 *) ac_try_echo=$ac_try;;
18062 esac
18063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18064 (eval "$ac_compile") 2>conftest.er1
18065 ac_status=$?
18066 grep -v '^ *+' conftest.er1 >conftest.err
18067 rm -f conftest.er1
18068 cat conftest.err >&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } && {
18071 test -z "$ac_c_werror_flag" ||
18072 test ! -s conftest.err
18073 } && test -s conftest.$ac_objext; then
18074 ac_cv_prog_cc_g=yes
18075 else
18076 echo "$as_me: failed program was:" >&5
18077 sed 's/^/| /' conftest.$ac_ext >&5
18078
18079 CFLAGS=""
18080 cat >conftest.$ac_ext <<_ACEOF
18081 /* confdefs.h. */
18082 _ACEOF
18083 cat confdefs.h >>conftest.$ac_ext
18084 cat >>conftest.$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086
18087 int
18088 main ()
18089 {
18090
18091 ;
18092 return 0;
18093 }
18094 _ACEOF
18095 rm -f conftest.$ac_objext
18096 if { (ac_try="$ac_compile"
18097 case "(($ac_try" in
18098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18099 *) ac_try_echo=$ac_try;;
18100 esac
18101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18102 (eval "$ac_compile") 2>conftest.er1
18103 ac_status=$?
18104 grep -v '^ *+' conftest.er1 >conftest.err
18105 rm -f conftest.er1
18106 cat conftest.err >&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } && {
18109 test -z "$ac_c_werror_flag" ||
18110 test ! -s conftest.err
18111 } && test -s conftest.$ac_objext; then
18112 :
18113 else
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18116
18117 ac_c_werror_flag=$ac_save_c_werror_flag
18118 CFLAGS="-g"
18119 cat >conftest.$ac_ext <<_ACEOF
18120 /* confdefs.h. */
18121 _ACEOF
18122 cat confdefs.h >>conftest.$ac_ext
18123 cat >>conftest.$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125
18126 int
18127 main ()
18128 {
18129
18130 ;
18131 return 0;
18132 }
18133 _ACEOF
18134 rm -f conftest.$ac_objext
18135 if { (ac_try="$ac_compile"
18136 case "(($ac_try" in
18137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138 *) ac_try_echo=$ac_try;;
18139 esac
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_compile") 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && {
18148 test -z "$ac_c_werror_flag" ||
18149 test ! -s conftest.err
18150 } && test -s conftest.$ac_objext; then
18151 ac_cv_prog_cc_g=yes
18152 else
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18155
18156
18157 fi
18158
18159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 fi
18161
18162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18163 fi
18164
18165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18166 ac_c_werror_flag=$ac_save_c_werror_flag
18167 fi
18168 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18169 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18170 if test "$ac_test_CFLAGS" = set; then
18171 CFLAGS=$ac_save_CFLAGS
18172 elif test $ac_cv_prog_cc_g = yes; then
18173 if test "$GCC" = yes; then
18174 CFLAGS="-g -O2"
18175 else
18176 CFLAGS="-g"
18177 fi
18178 else
18179 if test "$GCC" = yes; then
18180 CFLAGS="-O2"
18181 else
18182 CFLAGS=
18183 fi
18184 fi
18185 fi
18186 fi
18187
18188 case `uname -s` in
18189 AIX*)
18190
18191
18192 ac_ext=cpp
18193 ac_cpp='$CXXCPP $CPPFLAGS'
18194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18197
18198 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18199 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18200 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18201 echo $ECHO_N "(cached) $ECHO_C" >&6
18202 else
18203 cat >conftest.$ac_ext <<_ACEOF
18204 /* confdefs.h. */
18205 _ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209
18210 int
18211 main ()
18212 {
18213
18214 #ifndef __xlC__
18215 choke me
18216 #endif
18217
18218 ;
18219 return 0;
18220 }
18221 _ACEOF
18222 rm -f conftest.$ac_objext
18223 if { (ac_try="$ac_compile"
18224 case "(($ac_try" in
18225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18226 *) ac_try_echo=$ac_try;;
18227 esac
18228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18229 (eval "$ac_compile") 2>conftest.er1
18230 ac_status=$?
18231 grep -v '^ *+' conftest.er1 >conftest.err
18232 rm -f conftest.er1
18233 cat conftest.err >&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); } && {
18236 test -z "$ac_cxx_werror_flag" ||
18237 test ! -s conftest.err
18238 } && test -s conftest.$ac_objext; then
18239 bakefile_cv_cxx_compiler___xlC__=yes
18240 else
18241 echo "$as_me: failed program was:" >&5
18242 sed 's/^/| /' conftest.$ac_ext >&5
18243
18244 bakefile_cv_cxx_compiler___xlC__=no
18245
18246 fi
18247
18248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18249
18250
18251 fi
18252 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18253 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18254 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18255 :; XLCXX=yes
18256 else
18257 :;
18258 fi
18259 ac_ext=c
18260 ac_cpp='$CPP $CPPFLAGS'
18261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18264
18265
18266
18267 ;;
18268
18269 Darwin)
18270
18271
18272 ac_ext=cpp
18273 ac_cpp='$CXXCPP $CPPFLAGS'
18274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18277
18278 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18279 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18280 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18282 else
18283 cat >conftest.$ac_ext <<_ACEOF
18284 /* confdefs.h. */
18285 _ACEOF
18286 cat confdefs.h >>conftest.$ac_ext
18287 cat >>conftest.$ac_ext <<_ACEOF
18288 /* end confdefs.h. */
18289
18290 int
18291 main ()
18292 {
18293
18294 #ifndef __MWERKS__
18295 choke me
18296 #endif
18297
18298 ;
18299 return 0;
18300 }
18301 _ACEOF
18302 rm -f conftest.$ac_objext
18303 if { (ac_try="$ac_compile"
18304 case "(($ac_try" in
18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18307 esac
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_compile") 2>conftest.er1
18310 ac_status=$?
18311 grep -v '^ *+' conftest.er1 >conftest.err
18312 rm -f conftest.er1
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } && {
18316 test -z "$ac_cxx_werror_flag" ||
18317 test ! -s conftest.err
18318 } && test -s conftest.$ac_objext; then
18319 bakefile_cv_cxx_compiler___MWERKS__=yes
18320 else
18321 echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.$ac_ext >&5
18323
18324 bakefile_cv_cxx_compiler___MWERKS__=no
18325
18326 fi
18327
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329
18330
18331 fi
18332 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18333 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18334 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18335 :; MWCXX=yes
18336 else
18337 :;
18338 fi
18339 ac_ext=c
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18344
18345
18346
18347 if test "$MWCXX" != "yes"; then
18348
18349
18350 ac_ext=cpp
18351 ac_cpp='$CXXCPP $CPPFLAGS'
18352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18355
18356 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18357 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18358 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 else
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h. */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367
18368 int
18369 main ()
18370 {
18371
18372 #ifndef __xlC__
18373 choke me
18374 #endif
18375
18376 ;
18377 return 0;
18378 }
18379 _ACEOF
18380 rm -f conftest.$ac_objext
18381 if { (ac_try="$ac_compile"
18382 case "(($ac_try" in
18383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18384 *) ac_try_echo=$ac_try;;
18385 esac
18386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18387 (eval "$ac_compile") 2>conftest.er1
18388 ac_status=$?
18389 grep -v '^ *+' conftest.er1 >conftest.err
18390 rm -f conftest.er1
18391 cat conftest.err >&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); } && {
18394 test -z "$ac_cxx_werror_flag" ||
18395 test ! -s conftest.err
18396 } && test -s conftest.$ac_objext; then
18397 bakefile_cv_cxx_compiler___xlC__=yes
18398 else
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.$ac_ext >&5
18401
18402 bakefile_cv_cxx_compiler___xlC__=no
18403
18404 fi
18405
18406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18407
18408
18409 fi
18410 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18411 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18412 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18413 :; XLCXX=yes
18414 else
18415 :;
18416 fi
18417 ac_ext=c
18418 ac_cpp='$CPP $CPPFLAGS'
18419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18422
18423
18424
18425 fi
18426 ;;
18427
18428 IRIX*)
18429
18430
18431 ac_ext=cpp
18432 ac_cpp='$CXXCPP $CPPFLAGS'
18433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18436
18437 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18438 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18439 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18440 echo $ECHO_N "(cached) $ECHO_C" >&6
18441 else
18442 cat >conftest.$ac_ext <<_ACEOF
18443 /* confdefs.h. */
18444 _ACEOF
18445 cat confdefs.h >>conftest.$ac_ext
18446 cat >>conftest.$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448
18449 int
18450 main ()
18451 {
18452
18453 #ifndef _SGI_COMPILER_VERSION
18454 choke me
18455 #endif
18456
18457 ;
18458 return 0;
18459 }
18460 _ACEOF
18461 rm -f conftest.$ac_objext
18462 if { (ac_try="$ac_compile"
18463 case "(($ac_try" in
18464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18465 *) ac_try_echo=$ac_try;;
18466 esac
18467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18468 (eval "$ac_compile") 2>conftest.er1
18469 ac_status=$?
18470 grep -v '^ *+' conftest.er1 >conftest.err
18471 rm -f conftest.er1
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } && {
18475 test -z "$ac_cxx_werror_flag" ||
18476 test ! -s conftest.err
18477 } && test -s conftest.$ac_objext; then
18478 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18479 else
18480 echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.$ac_ext >&5
18482
18483 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18484
18485 fi
18486
18487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488
18489
18490 fi
18491 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18492 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18493 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18494 :; SGICXX=yes
18495 else
18496 :;
18497 fi
18498 ac_ext=c
18499 ac_cpp='$CPP $CPPFLAGS'
18500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18503
18504
18505
18506 ;;
18507
18508 Linux*)
18509 if test "$INTELCXX" != "yes"; then
18510
18511
18512 ac_ext=cpp
18513 ac_cpp='$CXXCPP $CPPFLAGS'
18514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18517
18518 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18519 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18520 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 else
18523 cat >conftest.$ac_ext <<_ACEOF
18524 /* confdefs.h. */
18525 _ACEOF
18526 cat confdefs.h >>conftest.$ac_ext
18527 cat >>conftest.$ac_ext <<_ACEOF
18528 /* end confdefs.h. */
18529
18530 int
18531 main ()
18532 {
18533
18534 #ifndef __SUNPRO_CC
18535 choke me
18536 #endif
18537
18538 ;
18539 return 0;
18540 }
18541 _ACEOF
18542 rm -f conftest.$ac_objext
18543 if { (ac_try="$ac_compile"
18544 case "(($ac_try" in
18545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18546 *) ac_try_echo=$ac_try;;
18547 esac
18548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18549 (eval "$ac_compile") 2>conftest.er1
18550 ac_status=$?
18551 grep -v '^ *+' conftest.er1 >conftest.err
18552 rm -f conftest.er1
18553 cat conftest.err >&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); } && {
18556 test -z "$ac_cxx_werror_flag" ||
18557 test ! -s conftest.err
18558 } && test -s conftest.$ac_objext; then
18559 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18560 else
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.$ac_ext >&5
18563
18564 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18565
18566 fi
18567
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18569
18570
18571 fi
18572 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18573 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18574 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18575 :; SUNCXX=yes
18576 else
18577 :;
18578 fi
18579 ac_ext=c
18580 ac_cpp='$CPP $CPPFLAGS'
18581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18584
18585
18586
18587 fi
18588 ;;
18589
18590 HP-UX*)
18591
18592
18593 ac_ext=cpp
18594 ac_cpp='$CXXCPP $CPPFLAGS'
18595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18598
18599 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18600 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18601 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 else
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h. */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610
18611 int
18612 main ()
18613 {
18614
18615 #ifndef __HP_aCC
18616 choke me
18617 #endif
18618
18619 ;
18620 return 0;
18621 }
18622 _ACEOF
18623 rm -f conftest.$ac_objext
18624 if { (ac_try="$ac_compile"
18625 case "(($ac_try" in
18626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18627 *) ac_try_echo=$ac_try;;
18628 esac
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630 (eval "$ac_compile") 2>conftest.er1
18631 ac_status=$?
18632 grep -v '^ *+' conftest.er1 >conftest.err
18633 rm -f conftest.er1
18634 cat conftest.err >&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && {
18637 test -z "$ac_cxx_werror_flag" ||
18638 test ! -s conftest.err
18639 } && test -s conftest.$ac_objext; then
18640 bakefile_cv_cxx_compiler___HP_aCC=yes
18641 else
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18644
18645 bakefile_cv_cxx_compiler___HP_aCC=no
18646
18647 fi
18648
18649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18650
18651
18652 fi
18653 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18654 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18655 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18656 :; HPCXX=yes
18657 else
18658 :;
18659 fi
18660 ac_ext=c
18661 ac_cpp='$CPP $CPPFLAGS'
18662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18665
18666
18667
18668 ;;
18669
18670 OSF1)
18671
18672
18673 ac_ext=cpp
18674 ac_cpp='$CXXCPP $CPPFLAGS'
18675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18678
18679 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18680 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18681 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18682 echo $ECHO_N "(cached) $ECHO_C" >&6
18683 else
18684 cat >conftest.$ac_ext <<_ACEOF
18685 /* confdefs.h. */
18686 _ACEOF
18687 cat confdefs.h >>conftest.$ac_ext
18688 cat >>conftest.$ac_ext <<_ACEOF
18689 /* end confdefs.h. */
18690
18691 int
18692 main ()
18693 {
18694
18695 #ifndef __DECCXX
18696 choke me
18697 #endif
18698
18699 ;
18700 return 0;
18701 }
18702 _ACEOF
18703 rm -f conftest.$ac_objext
18704 if { (ac_try="$ac_compile"
18705 case "(($ac_try" in
18706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18707 *) ac_try_echo=$ac_try;;
18708 esac
18709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18710 (eval "$ac_compile") 2>conftest.er1
18711 ac_status=$?
18712 grep -v '^ *+' conftest.er1 >conftest.err
18713 rm -f conftest.er1
18714 cat conftest.err >&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); } && {
18717 test -z "$ac_cxx_werror_flag" ||
18718 test ! -s conftest.err
18719 } && test -s conftest.$ac_objext; then
18720 bakefile_cv_cxx_compiler___DECCXX=yes
18721 else
18722 echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.$ac_ext >&5
18724
18725 bakefile_cv_cxx_compiler___DECCXX=no
18726
18727 fi
18728
18729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18730
18731
18732 fi
18733 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18734 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18735 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18736 :; COMPAQCXX=yes
18737 else
18738 :;
18739 fi
18740 ac_ext=c
18741 ac_cpp='$CPP $CPPFLAGS'
18742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18745
18746
18747
18748 ;;
18749
18750 SunOS)
18751
18752
18753 ac_ext=cpp
18754 ac_cpp='$CXXCPP $CPPFLAGS'
18755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18758
18759 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18760 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18761 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 else
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770
18771 int
18772 main ()
18773 {
18774
18775 #ifndef __SUNPRO_CC
18776 choke me
18777 #endif
18778
18779 ;
18780 return 0;
18781 }
18782 _ACEOF
18783 rm -f conftest.$ac_objext
18784 if { (ac_try="$ac_compile"
18785 case "(($ac_try" in
18786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18787 *) ac_try_echo=$ac_try;;
18788 esac
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18790 (eval "$ac_compile") 2>conftest.er1
18791 ac_status=$?
18792 grep -v '^ *+' conftest.er1 >conftest.err
18793 rm -f conftest.er1
18794 cat conftest.err >&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } && {
18797 test -z "$ac_cxx_werror_flag" ||
18798 test ! -s conftest.err
18799 } && test -s conftest.$ac_objext; then
18800 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18801 else
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18804
18805 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18806
18807 fi
18808
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18810
18811
18812 fi
18813 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18814 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18815 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18816 :; SUNCXX=yes
18817 else
18818 :;
18819 fi
18820 ac_ext=c
18821 ac_cpp='$CPP $CPPFLAGS'
18822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18825
18826
18827
18828 ;;
18829 esac
18830 fi
18831
18832
18833
18834 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18835 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18836 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18837 { (exit 1); exit 1; }; }
18838 fi
18839
18840 if test "x$SUNCXX" != xyes; then
18841 if test -n "$ac_tool_prefix"; then
18842 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18843 set dummy ${ac_tool_prefix}ar; ac_word=$2
18844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18846 if test "${ac_cv_prog_AR+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 else
18849 if test -n "$AR"; then
18850 ac_cv_prog_AR="$AR" # Let the user override the test.
18851 else
18852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18853 for as_dir in $PATH
18854 do
18855 IFS=$as_save_IFS
18856 test -z "$as_dir" && as_dir=.
18857 for ac_exec_ext in '' $ac_executable_extensions; do
18858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18859 ac_cv_prog_AR="${ac_tool_prefix}ar"
18860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18861 break 2
18862 fi
18863 done
18864 done
18865 IFS=$as_save_IFS
18866
18867 fi
18868 fi
18869 AR=$ac_cv_prog_AR
18870 if test -n "$AR"; then
18871 { echo "$as_me:$LINENO: result: $AR" >&5
18872 echo "${ECHO_T}$AR" >&6; }
18873 else
18874 { echo "$as_me:$LINENO: result: no" >&5
18875 echo "${ECHO_T}no" >&6; }
18876 fi
18877
18878
18879 fi
18880 if test -z "$ac_cv_prog_AR"; then
18881 ac_ct_AR=$AR
18882 # Extract the first word of "ar", so it can be a program name with args.
18883 set dummy ar; ac_word=$2
18884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18886 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18887 echo $ECHO_N "(cached) $ECHO_C" >&6
18888 else
18889 if test -n "$ac_ct_AR"; then
18890 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18891 else
18892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18893 for as_dir in $PATH
18894 do
18895 IFS=$as_save_IFS
18896 test -z "$as_dir" && as_dir=.
18897 for ac_exec_ext in '' $ac_executable_extensions; do
18898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18899 ac_cv_prog_ac_ct_AR="ar"
18900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18901 break 2
18902 fi
18903 done
18904 done
18905 IFS=$as_save_IFS
18906
18907 fi
18908 fi
18909 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18910 if test -n "$ac_ct_AR"; then
18911 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18912 echo "${ECHO_T}$ac_ct_AR" >&6; }
18913 else
18914 { echo "$as_me:$LINENO: result: no" >&5
18915 echo "${ECHO_T}no" >&6; }
18916 fi
18917
18918 if test "x$ac_ct_AR" = x; then
18919 AR=""
18920 else
18921 case $cross_compiling:$ac_tool_warned in
18922 yes:)
18923 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18924 whose name does not start with the host triplet. If you think this
18925 configuration is useful to you, please write to autoconf@gnu.org." >&5
18926 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18927 whose name does not start with the host triplet. If you think this
18928 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18929 ac_tool_warned=yes ;;
18930 esac
18931 AR=$ac_ct_AR
18932 fi
18933 else
18934 AR="$ac_cv_prog_AR"
18935 fi
18936
18937 if test "x$AR" = "x" ; then
18938 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18939 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18940 { (exit 1); exit 1; }; }
18941 fi
18942 fi
18943
18944
18945 if test "$wxUSE_MAC" = 1; then
18946
18947 retest_macosx_linking=no
18948
18949 OSX_ARCH_OPTS=""
18950 if test "x$wxUSE_MAC_ARCH" != xno; then
18951 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18952 fi
18953
18954 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18955 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18956 # Implicitly turn on the new --with-macosx-sdk using the default
18957 # SDK which provides the behaviour this option has always had.
18958 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18959 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18960 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18961 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18962 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18963 wxUSE_MACOSX_SDK=yes
18964 fi
18965 else
18966 # Complain to user if he specified an argument to --enable-universal_binary
18967 # and also 1) specified --with-macosx-sdk using the default (yes) or
18968 # 2) specified --with-macosx-sdk using a path or 3) specified
18969 # --without-macosx-sdk (no).
18970 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18971 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18972 See \`config.log' for more details." >&5
18973 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18974 See \`config.log' for more details." >&2;}
18975 { (exit 1); exit 1; }; }
18976 else
18977 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18978 # special-case the empty string because the below test simply
18979 # converts "no" to the empty string anyway.
18980 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18981 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18982 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18983 fi
18984 fi
18985 OSX_ARCH_OPTS="-arch ppc -arch i386"
18986 if test "$wxUSE_OSX_COCOA" = 1; then
18987 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18988 fi
18989 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18990 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18991 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18992 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18993
18994 retest_macosx_linking=yes
18995
18996 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18997 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18998 bk_use_pch=no
18999 fi
19000
19001 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19002 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19003 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19004 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19005 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19006
19007 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19008 wxUSE_MACOSX_SDK=
19009 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19010 # TODO: Search for most recent SDK and use it.
19011 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19012 fi
19013
19014
19015 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19016 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19017 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19018 if ! test -d "$wxUSE_MACOSX_SDK"; then
19019 { { echo "$as_me:$LINENO: error: not found
19020 See \`config.log' for more details." >&5
19021 echo "$as_me: error: not found
19022 See \`config.log' for more details." >&2;}
19023 { (exit 1); exit 1; }; }
19024 else
19025 { echo "$as_me:$LINENO: result: exists" >&5
19026 echo "${ECHO_T}exists" >&6; }
19027 fi
19028 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19029 retest_macosx_linking=yes
19030 fi
19031
19032 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19033 wxUSE_MACOSX_VERSION_MIN=
19034 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19035 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19036 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19037 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19038
19039 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19040
19041 # If that failed, try again with the new key
19042 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19043
19044 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19045
19046 fi
19047
19048 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19049 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19050 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19051 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19052 else
19053 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19054 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19055 wxUSE_MACOSX_VERSION_MIN=
19056 fi
19057 else
19058 wxUSE_MACOSX_VERSION_MIN=
19059 fi
19060 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19061 for ac_prog in sw_vers
19062 do
19063 # Extract the first word of "$ac_prog", so it can be a program name with args.
19064 set dummy $ac_prog; ac_word=$2
19065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19067 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 else
19070 if test -n "$OSX_SW_VERS"; then
19071 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19072 else
19073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19074 for as_dir in $PATH
19075 do
19076 IFS=$as_save_IFS
19077 test -z "$as_dir" && as_dir=.
19078 for ac_exec_ext in '' $ac_executable_extensions; do
19079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19080 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19082 break 2
19083 fi
19084 done
19085 done
19086 IFS=$as_save_IFS
19087
19088 fi
19089 fi
19090 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19091 if test -n "$OSX_SW_VERS"; then
19092 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19093 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19094 else
19095 { echo "$as_me:$LINENO: result: no" >&5
19096 echo "${ECHO_T}no" >&6; }
19097 fi
19098
19099
19100 test -n "$OSX_SW_VERS" && break
19101 done
19102
19103 if test "$OSX_SW_VERS" != ""; then
19104 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19105 else
19106 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19107 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19108 OSX_VERSION="10.4"
19109 fi
19110
19111 case "$OSX_VERSION" in
19112 10.4* )
19113 wxUSE_MACOSX_VERSION_MIN=10.4
19114 ;;
19115
19116 * )
19117 if test "$wxUSE_OSX_CARBON" = 1; then
19118 # otherwise configure stops on leopard for universal_binary
19119 wxUSE_MACOSX_VERSION_MIN=10.4
19120 else
19121 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19122 wxUSE_MACOSX_VERSION_MIN=10.5
19123 fi
19124 ;;
19125 esac
19126 fi
19127
19128 NEEDS_GCC40="no"
19129 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19130 NEEDS_GCC40="yes"
19131 fi
19132
19133 if test "$wxUSE_OSX_CARBON" = 1; then
19134 NEEDS_GCC40="yes"
19135 fi
19136
19137 if test "x$NEEDS_GCC40" == "xyes"; then
19138 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19139 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19140 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19141 if test "x$CC" = "xgcc"; then
19142 CCVERSION=`$CC --version | grep 4.[2-9].`
19143 if test "x$CCVERSION" != "x"; then
19144 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19145 CC="gcc-4.0"
19146 fi
19147 fi
19148
19149 if test "x$CXX" = "xg++"; then
19150 CCVERSION=`$CXX --version | grep 4.[2-9].`
19151 if test "x$CCVERSION" != "x"; then
19152 CXX="g++-4.0"
19153 fi
19154 fi
19155 fi
19156
19157 if test "x$MACOSX_SDK_OPTS" != "x"; then
19158 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19159 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19160 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19161 fi
19162
19163 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19164 if test "$wxUSE_OSX_IPHONE" = 1; then
19165 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19166 else
19167 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19168 fi
19169 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19170 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19171 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19172 retest_macosx_linking=yes
19173 fi
19174
19175 if test "x$retest_macosx_linking" = "xyes"; then
19176 ac_ext=c
19177 ac_cpp='$CPP $CPPFLAGS'
19178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19181
19182 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19183 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19184 cat >conftest.$ac_ext <<_ACEOF
19185 /* confdefs.h. */
19186 _ACEOF
19187 cat confdefs.h >>conftest.$ac_ext
19188 cat >>conftest.$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190
19191 int
19192 main ()
19193 {
19194
19195 ;
19196 return 0;
19197 }
19198 _ACEOF
19199 rm -f conftest.$ac_objext conftest$ac_exeext
19200 if { (ac_try="$ac_link"
19201 case "(($ac_try" in
19202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19203 *) ac_try_echo=$ac_try;;
19204 esac
19205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19206 (eval "$ac_link") 2>conftest.er1
19207 ac_status=$?
19208 grep -v '^ *+' conftest.er1 >conftest.err
19209 rm -f conftest.er1
19210 cat conftest.err >&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } && {
19213 test -z "$ac_c_werror_flag" ||
19214 test ! -s conftest.err
19215 } && test -s conftest$ac_exeext &&
19216 $as_test_x conftest$ac_exeext; then
19217 { echo "$as_me:$LINENO: result: yes" >&5
19218 echo "${ECHO_T}yes" >&6; }
19219 else
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19222
19223 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19224 See \`config.log' for more details." >&5
19225 echo "$as_me: error: no. Try a different SDK
19226 See \`config.log' for more details." >&2;}
19227 { (exit 1); exit 1; }; }; exit 1
19228 fi
19229
19230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19231 conftest$ac_exeext conftest.$ac_ext
19232 ac_ext=c
19233 ac_cpp='$CPP $CPPFLAGS'
19234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19237
19238
19239 ac_ext=cpp
19240 ac_cpp='$CXXCPP $CPPFLAGS'
19241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19244
19245 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19246 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19247 cat >conftest.$ac_ext <<_ACEOF
19248 /* confdefs.h. */
19249 _ACEOF
19250 cat confdefs.h >>conftest.$ac_ext
19251 cat >>conftest.$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19253
19254 int
19255 main ()
19256 {
19257
19258 ;
19259 return 0;
19260 }
19261 _ACEOF
19262 rm -f conftest.$ac_objext conftest$ac_exeext
19263 if { (ac_try="$ac_link"
19264 case "(($ac_try" in
19265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19266 *) ac_try_echo=$ac_try;;
19267 esac
19268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19269 (eval "$ac_link") 2>conftest.er1
19270 ac_status=$?
19271 grep -v '^ *+' conftest.er1 >conftest.err
19272 rm -f conftest.er1
19273 cat conftest.err >&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } && {
19276 test -z "$ac_cxx_werror_flag" ||
19277 test ! -s conftest.err
19278 } && test -s conftest$ac_exeext &&
19279 $as_test_x conftest$ac_exeext; then
19280 { echo "$as_me:$LINENO: result: yes" >&5
19281 echo "${ECHO_T}yes" >&6; }
19282 else
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.$ac_ext >&5
19285
19286 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19287 See \`config.log' for more details." >&5
19288 echo "$as_me: error: no. Try a different SDK
19289 See \`config.log' for more details." >&2;}
19290 { (exit 1); exit 1; }; }; exit 1
19291 fi
19292
19293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19294 conftest$ac_exeext conftest.$ac_ext
19295 ac_ext=c
19296 ac_cpp='$CPP $CPPFLAGS'
19297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19300
19301 fi
19302
19303 fi
19304 case "${host}" in
19305
19306 *-*-darwin* )
19307 INSTALL_PROGRAM="cp -fp"
19308 INSTALL_DATA="cp -fp"
19309 ;;
19310 *)
19311 ;;
19312 esac
19313
19314
19315 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19316 CXXFLAGS="-qunique $CXXFLAGS"
19317 fi
19318
19319 case "${host}" in
19320 powerpc-*-darwin* )
19321 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19322 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19323 cat >conftest.$ac_ext <<_ACEOF
19324 /* confdefs.h. */
19325 _ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329
19330 int
19331 main ()
19332 {
19333 #ifndef __POWERPC__
19334 choke me for lack of PowerPC
19335 #endif
19336
19337 ;
19338 return 0;
19339 }
19340 _ACEOF
19341 rm -f conftest.$ac_objext
19342 if { (ac_try="$ac_compile"
19343 case "(($ac_try" in
19344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19345 *) ac_try_echo=$ac_try;;
19346 esac
19347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19348 (eval "$ac_compile") 2>conftest.er1
19349 ac_status=$?
19350 grep -v '^ *+' conftest.er1 >conftest.err
19351 rm -f conftest.er1
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } && {
19355 test -z "$ac_c_werror_flag" ||
19356 test ! -s conftest.err
19357 } && test -s conftest.$ac_objext; then
19358 { echo "$as_me:$LINENO: result: yes" >&5
19359 echo "${ECHO_T}yes" >&6; }
19360 else
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.$ac_ext >&5
19363
19364 { echo "$as_me:$LINENO: result: no" >&5
19365 echo "${ECHO_T}no" >&6; }
19366 cat >>confdefs.h <<\_ACEOF
19367 #define __POWERPC__ 1
19368 _ACEOF
19369
19370
19371 fi
19372
19373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19374 ;;
19375 esac
19376
19377 case "${host}" in
19378 *-*-darwin* )
19379 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19380 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19381 cat >conftest.$ac_ext <<_ACEOF
19382 /* confdefs.h. */
19383 _ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387 #include <CoreFoundation/CFBase.h>
19388
19389 int
19390 main ()
19391 {
19392
19393 ;
19394 return 0;
19395 }
19396 _ACEOF
19397 rm -f conftest.$ac_objext
19398 if { (ac_try="$ac_compile"
19399 case "(($ac_try" in
19400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19401 *) ac_try_echo=$ac_try;;
19402 esac
19403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19404 (eval "$ac_compile") 2>conftest.er1
19405 ac_status=$?
19406 grep -v '^ *+' conftest.er1 >conftest.err
19407 rm -f conftest.er1
19408 cat conftest.err >&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } && {
19411 test -z "$ac_c_werror_flag" ||
19412 test ! -s conftest.err
19413 } && test -s conftest.$ac_objext; then
19414 { echo "$as_me:$LINENO: result: yes" >&5
19415 echo "${ECHO_T}yes" >&6; }
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19419
19420 { echo "$as_me:$LINENO: result: no" >&5
19421 echo "${ECHO_T}no" >&6; }
19422 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19423 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19424 cat >conftest.$ac_ext <<_ACEOF
19425 /* confdefs.h. */
19426 _ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 #define __CF_USE_FRAMEWORK_INCLUDES__
19431 #include <CoreFoundation/CFBase.h>
19432
19433 int
19434 main ()
19435 {
19436
19437 ;
19438 return 0;
19439 }
19440 _ACEOF
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19446 esac
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19449 ac_status=$?
19450 grep -v '^ *+' conftest.er1 >conftest.err
19451 rm -f conftest.er1
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 { echo "$as_me:$LINENO: result: yes" >&5
19459 echo "${ECHO_T}yes" >&6; }
19460 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19461 else
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19464
19465 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19466 See \`config.log' for more details." >&5
19467 echo "$as_me: error: no. CoreFoundation not available.
19468 See \`config.log' for more details." >&2;}
19469 { (exit 1); exit 1; }; }
19470
19471 fi
19472
19473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19474
19475
19476 fi
19477
19478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19479 ;;
19480 esac
19481
19482 wants_win32=0
19483 doesnt_want_win32=0
19484 case "${host}" in
19485 *-*-cygwin*)
19486 if test "$wxUSE_MSW" = 1 ; then
19487 wants_win32=1
19488 else
19489 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19490 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19491 if test "${wx_cv_nocygwin+set}" = set; then
19492 echo $ECHO_N "(cached) $ECHO_C" >&6
19493 else
19494
19495 cat >conftest.$ac_ext <<_ACEOF
19496 /* confdefs.h. */
19497 _ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19501
19502 int
19503 main ()
19504 {
19505
19506 #ifdef __MINGW32__
19507 choke me
19508 #endif
19509
19510 ;
19511 return 0;
19512 }
19513 _ACEOF
19514 rm -f conftest.$ac_objext
19515 if { (ac_try="$ac_compile"
19516 case "(($ac_try" in
19517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19518 *) ac_try_echo=$ac_try;;
19519 esac
19520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19521 (eval "$ac_compile") 2>conftest.er1
19522 ac_status=$?
19523 grep -v '^ *+' conftest.er1 >conftest.err
19524 rm -f conftest.er1
19525 cat conftest.err >&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } && {
19528 test -z "$ac_c_werror_flag" ||
19529 test ! -s conftest.err
19530 } && test -s conftest.$ac_objext; then
19531 wx_cv_nocygwin=no
19532 else
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.$ac_ext >&5
19535
19536 wx_cv_nocygwin=yes
19537
19538 fi
19539
19540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19541
19542
19543 fi
19544 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19545 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19546
19547 if test "$wx_cv_nocygwin" = "yes"; then
19548 wants_win32=1
19549 else
19550 doesnt_want_win32=1
19551 fi
19552 fi
19553 if test "$wants_win32" = 1 ; then
19554 BAKEFILE_FORCE_PLATFORM=win32
19555 fi
19556 ;;
19557 *-*-mingw*)
19558 wants_win32=1
19559 ;;
19560 esac
19561
19562 if test "$wxUSE_WINE" = "yes"; then
19563 wants_win32=1
19564 LDFLAGS_GUI="-mwindows"
19565 fi
19566
19567 if test "$wants_win32" = 1 ; then
19568 USE_UNIX=0
19569 USE_WIN32=1
19570 cat >>confdefs.h <<\_ACEOF
19571 #define __WIN32__ 1
19572 _ACEOF
19573
19574 cat >>confdefs.h <<\_ACEOF
19575 #define __WIN95__ 1
19576 _ACEOF
19577
19578 cat >>confdefs.h <<\_ACEOF
19579 #define __WINDOWS__ 1
19580 _ACEOF
19581
19582 cat >>confdefs.h <<\_ACEOF
19583 #define __GNUWIN32__ 1
19584 _ACEOF
19585
19586 cat >>confdefs.h <<\_ACEOF
19587 #define STRICT 1
19588 _ACEOF
19589
19590 fi
19591 if test "$doesnt_want_win32" = 1 ; then
19592 USE_UNIX=1
19593 USE_WIN32=0
19594 fi
19595
19596 if test "$USE_UNIX" = 1 ; then
19597 wxUSE_UNIX=yes
19598 cat >>confdefs.h <<\_ACEOF
19599 #define __UNIX__ 1
19600 _ACEOF
19601
19602 fi
19603
19604 case "${host}" in
19605 *-pc-os2_emx | *-pc-os2-emx )
19606 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19607 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19608 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19609 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 else
19612 ac_check_lib_save_LIBS=$LIBS
19613 LIBS="-lcExt $LIBS"
19614 cat >conftest.$ac_ext <<_ACEOF
19615 /* confdefs.h. */
19616 _ACEOF
19617 cat confdefs.h >>conftest.$ac_ext
19618 cat >>conftest.$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620
19621 /* Override any GCC internal prototype to avoid an error.
19622 Use char because int might match the return type of a GCC
19623 builtin and then its argument prototype would still apply. */
19624 #ifdef __cplusplus
19625 extern "C"
19626 #endif
19627 char drand48 ();
19628 int
19629 main ()
19630 {
19631 return drand48 ();
19632 ;
19633 return 0;
19634 }
19635 _ACEOF
19636 rm -f conftest.$ac_objext conftest$ac_exeext
19637 if { (ac_try="$ac_link"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19641 esac
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_link") 2>conftest.er1
19644 ac_status=$?
19645 grep -v '^ *+' conftest.er1 >conftest.err
19646 rm -f conftest.er1
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest$ac_exeext &&
19653 $as_test_x conftest$ac_exeext; then
19654 ac_cv_lib_cExt_drand48=yes
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19658
19659 ac_cv_lib_cExt_drand48=no
19660 fi
19661
19662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19663 conftest$ac_exeext conftest.$ac_ext
19664 LIBS=$ac_check_lib_save_LIBS
19665 fi
19666 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19667 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19668 if test $ac_cv_lib_cExt_drand48 = yes; then
19669 LIBS="$LIBS -lcExt"
19670 fi
19671
19672 else
19673 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19674 fi
19675 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19676 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19677 if test "${wx_cv_gccversion+set}" = set; then
19678 echo $ECHO_N "(cached) $ECHO_C" >&6
19679 else
19680
19681 if test "$cross_compiling" = yes; then
19682 wx_cv_gccversion="EMX2"
19683
19684 else
19685 cat >conftest.$ac_ext <<_ACEOF
19686 /* confdefs.h. */
19687 _ACEOF
19688 cat confdefs.h >>conftest.$ac_ext
19689 cat >>conftest.$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19691
19692 #include <stdio.h>
19693
19694 int main()
19695 {
19696 FILE *f=fopen("conftestval", "w");
19697 if (!f) exit(1);
19698 fprintf(f,
19699 #if (__GNUC__ < 3)
19700 "EMX2"
19701 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19702 "EMX3"
19703 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19704 "Innotek5"
19705 #else
19706 "Innotek6"
19707 #endif
19708 );
19709 exit(0);
19710 }
19711
19712 _ACEOF
19713 rm -f conftest$ac_exeext
19714 if { (ac_try="$ac_link"
19715 case "(($ac_try" in
19716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19717 *) ac_try_echo=$ac_try;;
19718 esac
19719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19720 (eval "$ac_link") 2>&5
19721 ac_status=$?
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19724 { (case "(($ac_try" in
19725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19726 *) ac_try_echo=$ac_try;;
19727 esac
19728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19729 (eval "$ac_try") 2>&5
19730 ac_status=$?
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; }; then
19733 wx_cv_gccversion=`cat conftestval`
19734 else
19735 echo "$as_me: program exited with status $ac_status" >&5
19736 echo "$as_me: failed program was:" >&5
19737 sed 's/^/| /' conftest.$ac_ext >&5
19738
19739 ( exit $ac_status )
19740 wx_cv_gccversion="EMX2"
19741 fi
19742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19743 fi
19744
19745
19746
19747 fi
19748 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19749 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19750 if test "$wx_cv_gccversion" = "EMX2"; then
19751 LIBS="$LIBS -lstdcpp"
19752 LDFLAGS="$LDFLAGS -Zsysv-signals"
19753 else
19754 if test "$wx_cv_gccversion" = "EMX3"; then
19755 LIBS="$LIBS -lstdcxx -lgcc"
19756 LDFLAGS="$LDFLAGS -Zsysv-signals"
19757 else
19758 LIBS="$LIBS -lstdc++"
19759 fi
19760 fi
19761 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19762 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19763 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19764 wxUSE_OMF=yes
19765 enable_omf=yes
19766 fi
19767 ;;
19768 *)
19769
19770 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19771 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19772 if test "${ac_cv_string_strcasecmp+set}" = set; then
19773 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 else
19775
19776 cat >conftest.$ac_ext <<_ACEOF
19777 /* confdefs.h. */
19778 _ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782
19783 #include <string.h>
19784
19785 int
19786 main ()
19787 {
19788
19789 strcasecmp("foo", "bar");
19790
19791 ;
19792 return 0;
19793 }
19794 _ACEOF
19795 rm -f conftest.$ac_objext conftest$ac_exeext
19796 if { (ac_try="$ac_link"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19800 esac
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_link") 2>conftest.er1
19803 ac_status=$?
19804 grep -v '^ *+' conftest.er1 >conftest.err
19805 rm -f conftest.er1
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest$ac_exeext &&
19812 $as_test_x conftest$ac_exeext; then
19813 ac_cv_string_strcasecmp=yes
19814 else
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19817
19818 ac_cv_string_strcasecmp=no
19819
19820 fi
19821
19822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19823 conftest$ac_exeext conftest.$ac_ext
19824
19825 fi
19826 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19827 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19828
19829 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19830 cat >>confdefs.h <<\_ACEOF
19831 #define HAVE_STRCASECMP_IN_STRING_H 1
19832 _ACEOF
19833
19834 else
19835 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19836 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19837 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19838 echo $ECHO_N "(cached) $ECHO_C" >&6
19839 else
19840
19841 cat >conftest.$ac_ext <<_ACEOF
19842 /* confdefs.h. */
19843 _ACEOF
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847
19848 #include <strings.h>
19849
19850 int
19851 main ()
19852 {
19853
19854 strcasecmp("foo", "bar");
19855
19856 ;
19857 return 0;
19858 }
19859 _ACEOF
19860 rm -f conftest.$ac_objext conftest$ac_exeext
19861 if { (ac_try="$ac_link"
19862 case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19865 esac
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_link") 2>conftest.er1
19868 ac_status=$?
19869 grep -v '^ *+' conftest.er1 >conftest.err
19870 rm -f conftest.er1
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } && {
19874 test -z "$ac_c_werror_flag" ||
19875 test ! -s conftest.err
19876 } && test -s conftest$ac_exeext &&
19877 $as_test_x conftest$ac_exeext; then
19878 ac_cv_strings_strcasecmp=yes
19879 else
19880 echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19882
19883 ac_cv_strings_strcasecmp=no
19884
19885 fi
19886
19887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19888 conftest$ac_exeext conftest.$ac_ext
19889
19890 fi
19891 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19892 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19893
19894 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19895 cat >>confdefs.h <<\_ACEOF
19896 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19897 _ACEOF
19898
19899 else
19900 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19901 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19902 { (exit 1); exit 1; }; }
19903 fi
19904 fi
19905
19906 ;;
19907 esac
19908
19909
19910 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19911 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19912 if test "${ac_cv_header_stdc+set}" = set; then
19913 echo $ECHO_N "(cached) $ECHO_C" >&6
19914 else
19915 cat >conftest.$ac_ext <<_ACEOF
19916 /* confdefs.h. */
19917 _ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 #include <stdlib.h>
19922 #include <stdarg.h>
19923 #include <string.h>
19924 #include <float.h>
19925
19926 int
19927 main ()
19928 {
19929
19930 ;
19931 return 0;
19932 }
19933 _ACEOF
19934 rm -f conftest.$ac_objext
19935 if { (ac_try="$ac_compile"
19936 case "(($ac_try" in
19937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19938 *) ac_try_echo=$ac_try;;
19939 esac
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_compile") 2>conftest.er1
19942 ac_status=$?
19943 grep -v '^ *+' conftest.er1 >conftest.err
19944 rm -f conftest.er1
19945 cat conftest.err >&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } && {
19948 test -z "$ac_c_werror_flag" ||
19949 test ! -s conftest.err
19950 } && test -s conftest.$ac_objext; then
19951 ac_cv_header_stdc=yes
19952 else
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19955
19956 ac_cv_header_stdc=no
19957 fi
19958
19959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19960
19961 if test $ac_cv_header_stdc = yes; then
19962 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19963 cat >conftest.$ac_ext <<_ACEOF
19964 /* confdefs.h. */
19965 _ACEOF
19966 cat confdefs.h >>conftest.$ac_ext
19967 cat >>conftest.$ac_ext <<_ACEOF
19968 /* end confdefs.h. */
19969 #include <string.h>
19970
19971 _ACEOF
19972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19973 $EGREP "memchr" >/dev/null 2>&1; then
19974 :
19975 else
19976 ac_cv_header_stdc=no
19977 fi
19978 rm -f conftest*
19979
19980 fi
19981
19982 if test $ac_cv_header_stdc = yes; then
19983 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19984 cat >conftest.$ac_ext <<_ACEOF
19985 /* confdefs.h. */
19986 _ACEOF
19987 cat confdefs.h >>conftest.$ac_ext
19988 cat >>conftest.$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 #include <stdlib.h>
19991
19992 _ACEOF
19993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19994 $EGREP "free" >/dev/null 2>&1; then
19995 :
19996 else
19997 ac_cv_header_stdc=no
19998 fi
19999 rm -f conftest*
20000
20001 fi
20002
20003 if test $ac_cv_header_stdc = yes; then
20004 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20005 if test "$cross_compiling" = yes; then
20006 :
20007 else
20008 cat >conftest.$ac_ext <<_ACEOF
20009 /* confdefs.h. */
20010 _ACEOF
20011 cat confdefs.h >>conftest.$ac_ext
20012 cat >>conftest.$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014 #include <ctype.h>
20015 #include <stdlib.h>
20016 #if ((' ' & 0x0FF) == 0x020)
20017 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20018 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20019 #else
20020 # define ISLOWER(c) \
20021 (('a' <= (c) && (c) <= 'i') \
20022 || ('j' <= (c) && (c) <= 'r') \
20023 || ('s' <= (c) && (c) <= 'z'))
20024 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20025 #endif
20026
20027 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20028 int
20029 main ()
20030 {
20031 int i;
20032 for (i = 0; i < 256; i++)
20033 if (XOR (islower (i), ISLOWER (i))
20034 || toupper (i) != TOUPPER (i))
20035 return 2;
20036 return 0;
20037 }
20038 _ACEOF
20039 rm -f conftest$ac_exeext
20040 if { (ac_try="$ac_link"
20041 case "(($ac_try" in
20042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20043 *) ac_try_echo=$ac_try;;
20044 esac
20045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20046 (eval "$ac_link") 2>&5
20047 ac_status=$?
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20050 { (case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20053 esac
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_try") 2>&5
20056 ac_status=$?
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; }; then
20059 :
20060 else
20061 echo "$as_me: program exited with status $ac_status" >&5
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20064
20065 ( exit $ac_status )
20066 ac_cv_header_stdc=no
20067 fi
20068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20069 fi
20070
20071
20072 fi
20073 fi
20074 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20075 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20076 if test $ac_cv_header_stdc = yes; then
20077
20078 cat >>confdefs.h <<\_ACEOF
20079 #define STDC_HEADERS 1
20080 _ACEOF
20081
20082 fi
20083
20084 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20095 inttypes.h stdint.h unistd.h
20096 do
20097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20098 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20101 echo $ECHO_N "(cached) $ECHO_C" >&6
20102 else
20103 cat >conftest.$ac_ext <<_ACEOF
20104 /* confdefs.h. */
20105 _ACEOF
20106 cat confdefs.h >>conftest.$ac_ext
20107 cat >>conftest.$ac_ext <<_ACEOF
20108 /* end confdefs.h. */
20109 $ac_includes_default
20110
20111 #include <$ac_header>
20112 _ACEOF
20113 rm -f conftest.$ac_objext
20114 if { (ac_try="$ac_compile"
20115 case "(($ac_try" in
20116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20117 *) ac_try_echo=$ac_try;;
20118 esac
20119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20120 (eval "$ac_compile") 2>conftest.er1
20121 ac_status=$?
20122 grep -v '^ *+' conftest.er1 >conftest.err
20123 rm -f conftest.er1
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } && {
20127 test -z "$ac_c_werror_flag" ||
20128 test ! -s conftest.err
20129 } && test -s conftest.$ac_objext; then
20130 eval "$as_ac_Header=yes"
20131 else
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.$ac_ext >&5
20134
20135 eval "$as_ac_Header=no"
20136 fi
20137
20138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20139 fi
20140 ac_res=`eval echo '${'$as_ac_Header'}'`
20141 { echo "$as_me:$LINENO: result: $ac_res" >&5
20142 echo "${ECHO_T}$ac_res" >&6; }
20143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20144 cat >>confdefs.h <<_ACEOF
20145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20146 _ACEOF
20147
20148 fi
20149
20150 done
20151
20152
20153
20154
20155 for ac_header in langinfo.h wchar.h
20156 do
20157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 else
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h. */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 $ac_includes_default
20170
20171 #include <$ac_header>
20172 _ACEOF
20173 rm -f conftest.$ac_objext
20174 if { (ac_try="$ac_compile"
20175 case "(($ac_try" in
20176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20178 esac
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_compile") 2>conftest.er1
20181 ac_status=$?
20182 grep -v '^ *+' conftest.er1 >conftest.err
20183 rm -f conftest.er1
20184 cat conftest.err >&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } && {
20187 test -z "$ac_c_werror_flag" ||
20188 test ! -s conftest.err
20189 } && test -s conftest.$ac_objext; then
20190 eval "$as_ac_Header=yes"
20191 else
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20194
20195 eval "$as_ac_Header=no"
20196 fi
20197
20198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20199 fi
20200 ac_res=`eval echo '${'$as_ac_Header'}'`
20201 { echo "$as_me:$LINENO: result: $ac_res" >&5
20202 echo "${ECHO_T}$ac_res" >&6; }
20203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20204 cat >>confdefs.h <<_ACEOF
20205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20206 _ACEOF
20207
20208 fi
20209
20210 done
20211
20212
20213 if test "$ac_cv_header_wchar_h" != "yes"; then
20214
20215 for ac_header in wcstr.h
20216 do
20217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20221 echo $ECHO_N "(cached) $ECHO_C" >&6
20222 else
20223 cat >conftest.$ac_ext <<_ACEOF
20224 /* confdefs.h. */
20225 _ACEOF
20226 cat confdefs.h >>conftest.$ac_ext
20227 cat >>conftest.$ac_ext <<_ACEOF
20228 /* end confdefs.h. */
20229 $ac_includes_default
20230
20231 #include <$ac_header>
20232 _ACEOF
20233 rm -f conftest.$ac_objext
20234 if { (ac_try="$ac_compile"
20235 case "(($ac_try" in
20236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20237 *) ac_try_echo=$ac_try;;
20238 esac
20239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20240 (eval "$ac_compile") 2>conftest.er1
20241 ac_status=$?
20242 grep -v '^ *+' conftest.er1 >conftest.err
20243 rm -f conftest.er1
20244 cat conftest.err >&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); } && {
20247 test -z "$ac_c_werror_flag" ||
20248 test ! -s conftest.err
20249 } && test -s conftest.$ac_objext; then
20250 eval "$as_ac_Header=yes"
20251 else
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20254
20255 eval "$as_ac_Header=no"
20256 fi
20257
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 fi
20260 ac_res=`eval echo '${'$as_ac_Header'}'`
20261 { echo "$as_me:$LINENO: result: $ac_res" >&5
20262 echo "${ECHO_T}$ac_res" >&6; }
20263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20264 cat >>confdefs.h <<_ACEOF
20265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20266 _ACEOF
20267
20268 fi
20269
20270 done
20271
20272 fi
20273
20274 case "${host}" in
20275 *-pc-os2_emx | *-pc-os2-emx )
20276 if test $ac_cv_header_langinfo_h = "yes" \
20277 -a \( "$wx_cv_gccversion" = "EMX2" \
20278 -o "$wx_cv_gccversion" = "EMX3" \
20279 -o "$wx_cv_gccversion" = "Innotek5" \); then
20280 LIBS="$LIBS -lintl"
20281 fi
20282 ;;
20283 esac
20284
20285 if test "$USE_UNIX" = 1 ; then
20286
20287 for ac_header in sys/select.h
20288 do
20289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20290 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20293 echo $ECHO_N "(cached) $ECHO_C" >&6
20294 else
20295 cat >conftest.$ac_ext <<_ACEOF
20296 /* confdefs.h. */
20297 _ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 $ac_includes_default
20302
20303 #include <$ac_header>
20304 _ACEOF
20305 rm -f conftest.$ac_objext
20306 if { (ac_try="$ac_compile"
20307 case "(($ac_try" in
20308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20310 esac
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_compile") 2>conftest.er1
20313 ac_status=$?
20314 grep -v '^ *+' conftest.er1 >conftest.err
20315 rm -f conftest.er1
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then
20322 eval "$as_ac_Header=yes"
20323 else
20324 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.$ac_ext >&5
20326
20327 eval "$as_ac_Header=no"
20328 fi
20329
20330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20331 fi
20332 ac_res=`eval echo '${'$as_ac_Header'}'`
20333 { echo "$as_me:$LINENO: result: $ac_res" >&5
20334 echo "${ECHO_T}$ac_res" >&6; }
20335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20336 cat >>confdefs.h <<_ACEOF
20337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20338 _ACEOF
20339
20340 fi
20341
20342 done
20343
20344 fi
20345
20346
20347 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20348 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20349 if test "${ac_cv_c_const+set}" = set; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20351 else
20352 cat >conftest.$ac_ext <<_ACEOF
20353 /* confdefs.h. */
20354 _ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358
20359 int
20360 main ()
20361 {
20362 /* FIXME: Include the comments suggested by Paul. */
20363 #ifndef __cplusplus
20364 /* Ultrix mips cc rejects this. */
20365 typedef int charset[2];
20366 const charset cs;
20367 /* SunOS 4.1.1 cc rejects this. */
20368 char const *const *pcpcc;
20369 char **ppc;
20370 /* NEC SVR4.0.2 mips cc rejects this. */
20371 struct point {int x, y;};
20372 static struct point const zero = {0,0};
20373 /* AIX XL C 1.02.0.0 rejects this.
20374 It does not let you subtract one const X* pointer from another in
20375 an arm of an if-expression whose if-part is not a constant
20376 expression */
20377 const char *g = "string";
20378 pcpcc = &g + (g ? g-g : 0);
20379 /* HPUX 7.0 cc rejects these. */
20380 ++pcpcc;
20381 ppc = (char**) pcpcc;
20382 pcpcc = (char const *const *) ppc;
20383 { /* SCO 3.2v4 cc rejects this. */
20384 char *t;
20385 char const *s = 0 ? (char *) 0 : (char const *) 0;
20386
20387 *t++ = 0;
20388 if (s) return 0;
20389 }
20390 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20391 int x[] = {25, 17};
20392 const int *foo = &x[0];
20393 ++foo;
20394 }
20395 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20396 typedef const int *iptr;
20397 iptr p = 0;
20398 ++p;
20399 }
20400 { /* AIX XL C 1.02.0.0 rejects this saying
20401 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20402 struct s { int j; const int *ap[3]; };
20403 struct s *b; b->j = 5;
20404 }
20405 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20406 const int foo = 10;
20407 if (!foo) return 0;
20408 }
20409 return !cs[0] && !zero.x;
20410 #endif
20411
20412 ;
20413 return 0;
20414 }
20415 _ACEOF
20416 rm -f conftest.$ac_objext
20417 if { (ac_try="$ac_compile"
20418 case "(($ac_try" in
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20420 *) ac_try_echo=$ac_try;;
20421 esac
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20423 (eval "$ac_compile") 2>conftest.er1
20424 ac_status=$?
20425 grep -v '^ *+' conftest.er1 >conftest.err
20426 rm -f conftest.er1
20427 cat conftest.err >&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } && {
20430 test -z "$ac_c_werror_flag" ||
20431 test ! -s conftest.err
20432 } && test -s conftest.$ac_objext; then
20433 ac_cv_c_const=yes
20434 else
20435 echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.$ac_ext >&5
20437
20438 ac_cv_c_const=no
20439 fi
20440
20441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20442 fi
20443 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20444 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20445 if test $ac_cv_c_const = no; then
20446
20447 cat >>confdefs.h <<\_ACEOF
20448 #define const
20449 _ACEOF
20450
20451 fi
20452
20453 { echo "$as_me:$LINENO: checking for inline" >&5
20454 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20455 if test "${ac_cv_c_inline+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20457 else
20458 ac_cv_c_inline=no
20459 for ac_kw in inline __inline__ __inline; do
20460 cat >conftest.$ac_ext <<_ACEOF
20461 /* confdefs.h. */
20462 _ACEOF
20463 cat confdefs.h >>conftest.$ac_ext
20464 cat >>conftest.$ac_ext <<_ACEOF
20465 /* end confdefs.h. */
20466 #ifndef __cplusplus
20467 typedef int foo_t;
20468 static $ac_kw foo_t static_foo () {return 0; }
20469 $ac_kw foo_t foo () {return 0; }
20470 #endif
20471
20472 _ACEOF
20473 rm -f conftest.$ac_objext
20474 if { (ac_try="$ac_compile"
20475 case "(($ac_try" in
20476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20477 *) ac_try_echo=$ac_try;;
20478 esac
20479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20480 (eval "$ac_compile") 2>conftest.er1
20481 ac_status=$?
20482 grep -v '^ *+' conftest.er1 >conftest.err
20483 rm -f conftest.er1
20484 cat conftest.err >&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } && {
20487 test -z "$ac_c_werror_flag" ||
20488 test ! -s conftest.err
20489 } && test -s conftest.$ac_objext; then
20490 ac_cv_c_inline=$ac_kw
20491 else
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20494
20495
20496 fi
20497
20498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20499 test "$ac_cv_c_inline" != no && break
20500 done
20501
20502 fi
20503 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20504 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20505
20506
20507 case $ac_cv_c_inline in
20508 inline | yes) ;;
20509 *)
20510 case $ac_cv_c_inline in
20511 no) ac_val=;;
20512 *) ac_val=$ac_cv_c_inline;;
20513 esac
20514 cat >>confdefs.h <<_ACEOF
20515 #ifndef __cplusplus
20516 #define inline $ac_val
20517 #endif
20518 _ACEOF
20519 ;;
20520 esac
20521
20522
20523 { echo "$as_me:$LINENO: checking for short" >&5
20524 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20525 if test "${ac_cv_type_short+set}" = set; then
20526 echo $ECHO_N "(cached) $ECHO_C" >&6
20527 else
20528 cat >conftest.$ac_ext <<_ACEOF
20529 /* confdefs.h. */
20530 _ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 $ac_includes_default
20535 typedef short ac__type_new_;
20536 int
20537 main ()
20538 {
20539 if ((ac__type_new_ *) 0)
20540 return 0;
20541 if (sizeof (ac__type_new_))
20542 return 0;
20543 ;
20544 return 0;
20545 }
20546 _ACEOF
20547 rm -f conftest.$ac_objext
20548 if { (ac_try="$ac_compile"
20549 case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20552 esac
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_compile") 2>conftest.er1
20555 ac_status=$?
20556 grep -v '^ *+' conftest.er1 >conftest.err
20557 rm -f conftest.er1
20558 cat conftest.err >&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && {
20561 test -z "$ac_c_werror_flag" ||
20562 test ! -s conftest.err
20563 } && test -s conftest.$ac_objext; then
20564 ac_cv_type_short=yes
20565 else
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20568
20569 ac_cv_type_short=no
20570 fi
20571
20572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20573 fi
20574 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20575 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20576
20577 # The cast to long int works around a bug in the HP C Compiler
20578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20580 # This bug is HP SR number 8606223364.
20581 { echo "$as_me:$LINENO: checking size of short" >&5
20582 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20583 if test "${ac_cv_sizeof_short+set}" = set; then
20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 else
20586 if test "$cross_compiling" = yes; then
20587 # Depending upon the size, compute the lo and hi bounds.
20588 cat >conftest.$ac_ext <<_ACEOF
20589 /* confdefs.h. */
20590 _ACEOF
20591 cat confdefs.h >>conftest.$ac_ext
20592 cat >>conftest.$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 $ac_includes_default
20595 typedef short ac__type_sizeof_;
20596 int
20597 main ()
20598 {
20599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20600 test_array [0] = 0
20601
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20611 esac
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20623 ac_lo=0 ac_mid=0
20624 while :; do
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20632 typedef short ac__type_sizeof_;
20633 int
20634 main ()
20635 {
20636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20637 test_array [0] = 0
20638
20639 ;
20640 return 0;
20641 }
20642 _ACEOF
20643 rm -f conftest.$ac_objext
20644 if { (ac_try="$ac_compile"
20645 case "(($ac_try" in
20646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20647 *) ac_try_echo=$ac_try;;
20648 esac
20649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20650 (eval "$ac_compile") 2>conftest.er1
20651 ac_status=$?
20652 grep -v '^ *+' conftest.er1 >conftest.err
20653 rm -f conftest.er1
20654 cat conftest.err >&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } && {
20657 test -z "$ac_c_werror_flag" ||
20658 test ! -s conftest.err
20659 } && test -s conftest.$ac_objext; then
20660 ac_hi=$ac_mid; break
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 ac_lo=`expr $ac_mid + 1`
20666 if test $ac_lo -le $ac_mid; then
20667 ac_lo= ac_hi=
20668 break
20669 fi
20670 ac_mid=`expr 2 '*' $ac_mid + 1`
20671 fi
20672
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 done
20675 else
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.$ac_ext >&5
20678
20679 cat >conftest.$ac_ext <<_ACEOF
20680 /* confdefs.h. */
20681 _ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 $ac_includes_default
20686 typedef short ac__type_sizeof_;
20687 int
20688 main ()
20689 {
20690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20691 test_array [0] = 0
20692
20693 ;
20694 return 0;
20695 }
20696 _ACEOF
20697 rm -f conftest.$ac_objext
20698 if { (ac_try="$ac_compile"
20699 case "(($ac_try" in
20700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20701 *) ac_try_echo=$ac_try;;
20702 esac
20703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20704 (eval "$ac_compile") 2>conftest.er1
20705 ac_status=$?
20706 grep -v '^ *+' conftest.er1 >conftest.err
20707 rm -f conftest.er1
20708 cat conftest.err >&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } && {
20711 test -z "$ac_c_werror_flag" ||
20712 test ! -s conftest.err
20713 } && test -s conftest.$ac_objext; then
20714 ac_hi=-1 ac_mid=-1
20715 while :; do
20716 cat >conftest.$ac_ext <<_ACEOF
20717 /* confdefs.h. */
20718 _ACEOF
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 $ac_includes_default
20723 typedef short ac__type_sizeof_;
20724 int
20725 main ()
20726 {
20727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20728 test_array [0] = 0
20729
20730 ;
20731 return 0;
20732 }
20733 _ACEOF
20734 rm -f conftest.$ac_objext
20735 if { (ac_try="$ac_compile"
20736 case "(($ac_try" in
20737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20738 *) ac_try_echo=$ac_try;;
20739 esac
20740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20741 (eval "$ac_compile") 2>conftest.er1
20742 ac_status=$?
20743 grep -v '^ *+' conftest.er1 >conftest.err
20744 rm -f conftest.er1
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } && {
20748 test -z "$ac_c_werror_flag" ||
20749 test ! -s conftest.err
20750 } && test -s conftest.$ac_objext; then
20751 ac_lo=$ac_mid; break
20752 else
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20755
20756 ac_hi=`expr '(' $ac_mid ')' - 1`
20757 if test $ac_mid -le $ac_hi; then
20758 ac_lo= ac_hi=
20759 break
20760 fi
20761 ac_mid=`expr 2 '*' $ac_mid`
20762 fi
20763
20764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20765 done
20766 else
20767 echo "$as_me: failed program was:" >&5
20768 sed 's/^/| /' conftest.$ac_ext >&5
20769
20770 ac_lo= ac_hi=
20771 fi
20772
20773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20774 fi
20775
20776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20777 # Binary search between lo and hi bounds.
20778 while test "x$ac_lo" != "x$ac_hi"; do
20779 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20780 cat >conftest.$ac_ext <<_ACEOF
20781 /* confdefs.h. */
20782 _ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786 $ac_includes_default
20787 typedef short ac__type_sizeof_;
20788 int
20789 main ()
20790 {
20791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20792 test_array [0] = 0
20793
20794 ;
20795 return 0;
20796 }
20797 _ACEOF
20798 rm -f conftest.$ac_objext
20799 if { (ac_try="$ac_compile"
20800 case "(($ac_try" in
20801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20802 *) ac_try_echo=$ac_try;;
20803 esac
20804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805 (eval "$ac_compile") 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } && {
20812 test -z "$ac_c_werror_flag" ||
20813 test ! -s conftest.err
20814 } && test -s conftest.$ac_objext; then
20815 ac_hi=$ac_mid
20816 else
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.$ac_ext >&5
20819
20820 ac_lo=`expr '(' $ac_mid ')' + 1`
20821 fi
20822
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20824 done
20825 case $ac_lo in
20826 ?*) ac_cv_sizeof_short=$ac_lo;;
20827 '') if test "$ac_cv_type_short" = yes; then
20828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20829 See \`config.log' for more details." >&5
20830 echo "$as_me: error: cannot compute sizeof (short)
20831 See \`config.log' for more details." >&2;}
20832 { (exit 77); exit 77; }; }
20833 else
20834 ac_cv_sizeof_short=0
20835 fi ;;
20836 esac
20837 else
20838 cat >conftest.$ac_ext <<_ACEOF
20839 /* confdefs.h. */
20840 _ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 $ac_includes_default
20845 typedef short ac__type_sizeof_;
20846 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20847 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20848 #include <stdio.h>
20849 #include <stdlib.h>
20850 int
20851 main ()
20852 {
20853
20854 FILE *f = fopen ("conftest.val", "w");
20855 if (! f)
20856 return 1;
20857 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20858 {
20859 long int i = longval ();
20860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20861 return 1;
20862 fprintf (f, "%ld\n", i);
20863 }
20864 else
20865 {
20866 unsigned long int i = ulongval ();
20867 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20868 return 1;
20869 fprintf (f, "%lu\n", i);
20870 }
20871 return ferror (f) || fclose (f) != 0;
20872
20873 ;
20874 return 0;
20875 }
20876 _ACEOF
20877 rm -f conftest$ac_exeext
20878 if { (ac_try="$ac_link"
20879 case "(($ac_try" in
20880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20882 esac
20883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_link") 2>&5
20885 ac_status=$?
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20888 { (case "(($ac_try" in
20889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20890 *) ac_try_echo=$ac_try;;
20891 esac
20892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20893 (eval "$ac_try") 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 ac_cv_sizeof_short=`cat conftest.val`
20898 else
20899 echo "$as_me: program exited with status $ac_status" >&5
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20902
20903 ( exit $ac_status )
20904 if test "$ac_cv_type_short" = yes; then
20905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20906 See \`config.log' for more details." >&5
20907 echo "$as_me: error: cannot compute sizeof (short)
20908 See \`config.log' for more details." >&2;}
20909 { (exit 77); exit 77; }; }
20910 else
20911 ac_cv_sizeof_short=0
20912 fi
20913 fi
20914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20915 fi
20916 rm -f conftest.val
20917 fi
20918 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20919 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20920
20921
20922
20923 cat >>confdefs.h <<_ACEOF
20924 #define SIZEOF_SHORT $ac_cv_sizeof_short
20925 _ACEOF
20926
20927
20928 { echo "$as_me:$LINENO: checking for void *" >&5
20929 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20930 if test "${ac_cv_type_void_p+set}" = set; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20932 else
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 $ac_includes_default
20940 typedef void * ac__type_new_;
20941 int
20942 main ()
20943 {
20944 if ((ac__type_new_ *) 0)
20945 return 0;
20946 if (sizeof (ac__type_new_))
20947 return 0;
20948 ;
20949 return 0;
20950 }
20951 _ACEOF
20952 rm -f conftest.$ac_objext
20953 if { (ac_try="$ac_compile"
20954 case "(($ac_try" in
20955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20956 *) ac_try_echo=$ac_try;;
20957 esac
20958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20959 (eval "$ac_compile") 2>conftest.er1
20960 ac_status=$?
20961 grep -v '^ *+' conftest.er1 >conftest.err
20962 rm -f conftest.er1
20963 cat conftest.err >&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); } && {
20966 test -z "$ac_c_werror_flag" ||
20967 test ! -s conftest.err
20968 } && test -s conftest.$ac_objext; then
20969 ac_cv_type_void_p=yes
20970 else
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20973
20974 ac_cv_type_void_p=no
20975 fi
20976
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20978 fi
20979 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20980 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20981
20982 # The cast to long int works around a bug in the HP C Compiler
20983 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20984 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20985 # This bug is HP SR number 8606223364.
20986 { echo "$as_me:$LINENO: checking size of void *" >&5
20987 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20988 if test "${ac_cv_sizeof_void_p+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20990 else
20991 if test "$cross_compiling" = yes; then
20992 # Depending upon the size, compute the lo and hi bounds.
20993 cat >conftest.$ac_ext <<_ACEOF
20994 /* confdefs.h. */
20995 _ACEOF
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
20999 $ac_includes_default
21000 typedef void * ac__type_sizeof_;
21001 int
21002 main ()
21003 {
21004 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21005 test_array [0] = 0
21006
21007 ;
21008 return 0;
21009 }
21010 _ACEOF
21011 rm -f conftest.$ac_objext
21012 if { (ac_try="$ac_compile"
21013 case "(($ac_try" in
21014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21015 *) ac_try_echo=$ac_try;;
21016 esac
21017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21018 (eval "$ac_compile") 2>conftest.er1
21019 ac_status=$?
21020 grep -v '^ *+' conftest.er1 >conftest.err
21021 rm -f conftest.er1
21022 cat conftest.err >&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } && {
21025 test -z "$ac_c_werror_flag" ||
21026 test ! -s conftest.err
21027 } && test -s conftest.$ac_objext; then
21028 ac_lo=0 ac_mid=0
21029 while :; do
21030 cat >conftest.$ac_ext <<_ACEOF
21031 /* confdefs.h. */
21032 _ACEOF
21033 cat confdefs.h >>conftest.$ac_ext
21034 cat >>conftest.$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 $ac_includes_default
21037 typedef void * ac__type_sizeof_;
21038 int
21039 main ()
21040 {
21041 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21042 test_array [0] = 0
21043
21044 ;
21045 return 0;
21046 }
21047 _ACEOF
21048 rm -f conftest.$ac_objext
21049 if { (ac_try="$ac_compile"
21050 case "(($ac_try" in
21051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21052 *) ac_try_echo=$ac_try;;
21053 esac
21054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21055 (eval "$ac_compile") 2>conftest.er1
21056 ac_status=$?
21057 grep -v '^ *+' conftest.er1 >conftest.err
21058 rm -f conftest.er1
21059 cat conftest.err >&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } && {
21062 test -z "$ac_c_werror_flag" ||
21063 test ! -s conftest.err
21064 } && test -s conftest.$ac_objext; then
21065 ac_hi=$ac_mid; break
21066 else
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21069
21070 ac_lo=`expr $ac_mid + 1`
21071 if test $ac_lo -le $ac_mid; then
21072 ac_lo= ac_hi=
21073 break
21074 fi
21075 ac_mid=`expr 2 '*' $ac_mid + 1`
21076 fi
21077
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21079 done
21080 else
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.$ac_ext >&5
21083
21084 cat >conftest.$ac_ext <<_ACEOF
21085 /* confdefs.h. */
21086 _ACEOF
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 $ac_includes_default
21091 typedef void * ac__type_sizeof_;
21092 int
21093 main ()
21094 {
21095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21096 test_array [0] = 0
21097
21098 ;
21099 return 0;
21100 }
21101 _ACEOF
21102 rm -f conftest.$ac_objext
21103 if { (ac_try="$ac_compile"
21104 case "(($ac_try" in
21105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21106 *) ac_try_echo=$ac_try;;
21107 esac
21108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21109 (eval "$ac_compile") 2>conftest.er1
21110 ac_status=$?
21111 grep -v '^ *+' conftest.er1 >conftest.err
21112 rm -f conftest.er1
21113 cat conftest.err >&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } && {
21116 test -z "$ac_c_werror_flag" ||
21117 test ! -s conftest.err
21118 } && test -s conftest.$ac_objext; then
21119 ac_hi=-1 ac_mid=-1
21120 while :; do
21121 cat >conftest.$ac_ext <<_ACEOF
21122 /* confdefs.h. */
21123 _ACEOF
21124 cat confdefs.h >>conftest.$ac_ext
21125 cat >>conftest.$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21127 $ac_includes_default
21128 typedef void * ac__type_sizeof_;
21129 int
21130 main ()
21131 {
21132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21133 test_array [0] = 0
21134
21135 ;
21136 return 0;
21137 }
21138 _ACEOF
21139 rm -f conftest.$ac_objext
21140 if { (ac_try="$ac_compile"
21141 case "(($ac_try" in
21142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21143 *) ac_try_echo=$ac_try;;
21144 esac
21145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21146 (eval "$ac_compile") 2>conftest.er1
21147 ac_status=$?
21148 grep -v '^ *+' conftest.er1 >conftest.err
21149 rm -f conftest.er1
21150 cat conftest.err >&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); } && {
21153 test -z "$ac_c_werror_flag" ||
21154 test ! -s conftest.err
21155 } && test -s conftest.$ac_objext; then
21156 ac_lo=$ac_mid; break
21157 else
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 ac_hi=`expr '(' $ac_mid ')' - 1`
21162 if test $ac_mid -le $ac_hi; then
21163 ac_lo= ac_hi=
21164 break
21165 fi
21166 ac_mid=`expr 2 '*' $ac_mid`
21167 fi
21168
21169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21170 done
21171 else
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21174
21175 ac_lo= ac_hi=
21176 fi
21177
21178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21179 fi
21180
21181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21182 # Binary search between lo and hi bounds.
21183 while test "x$ac_lo" != "x$ac_hi"; do
21184 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21185 cat >conftest.$ac_ext <<_ACEOF
21186 /* confdefs.h. */
21187 _ACEOF
21188 cat confdefs.h >>conftest.$ac_ext
21189 cat >>conftest.$ac_ext <<_ACEOF
21190 /* end confdefs.h. */
21191 $ac_includes_default
21192 typedef void * ac__type_sizeof_;
21193 int
21194 main ()
21195 {
21196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21197 test_array [0] = 0
21198
21199 ;
21200 return 0;
21201 }
21202 _ACEOF
21203 rm -f conftest.$ac_objext
21204 if { (ac_try="$ac_compile"
21205 case "(($ac_try" in
21206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21207 *) ac_try_echo=$ac_try;;
21208 esac
21209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21210 (eval "$ac_compile") 2>conftest.er1
21211 ac_status=$?
21212 grep -v '^ *+' conftest.er1 >conftest.err
21213 rm -f conftest.er1
21214 cat conftest.err >&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); } && {
21217 test -z "$ac_c_werror_flag" ||
21218 test ! -s conftest.err
21219 } && test -s conftest.$ac_objext; then
21220 ac_hi=$ac_mid
21221 else
21222 echo "$as_me: failed program was:" >&5
21223 sed 's/^/| /' conftest.$ac_ext >&5
21224
21225 ac_lo=`expr '(' $ac_mid ')' + 1`
21226 fi
21227
21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 done
21230 case $ac_lo in
21231 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21232 '') if test "$ac_cv_type_void_p" = yes; then
21233 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21234 See \`config.log' for more details." >&5
21235 echo "$as_me: error: cannot compute sizeof (void *)
21236 See \`config.log' for more details." >&2;}
21237 { (exit 77); exit 77; }; }
21238 else
21239 ac_cv_sizeof_void_p=0
21240 fi ;;
21241 esac
21242 else
21243 cat >conftest.$ac_ext <<_ACEOF
21244 /* confdefs.h. */
21245 _ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249 $ac_includes_default
21250 typedef void * ac__type_sizeof_;
21251 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21252 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21253 #include <stdio.h>
21254 #include <stdlib.h>
21255 int
21256 main ()
21257 {
21258
21259 FILE *f = fopen ("conftest.val", "w");
21260 if (! f)
21261 return 1;
21262 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21263 {
21264 long int i = longval ();
21265 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21266 return 1;
21267 fprintf (f, "%ld\n", i);
21268 }
21269 else
21270 {
21271 unsigned long int i = ulongval ();
21272 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21273 return 1;
21274 fprintf (f, "%lu\n", i);
21275 }
21276 return ferror (f) || fclose (f) != 0;
21277
21278 ;
21279 return 0;
21280 }
21281 _ACEOF
21282 rm -f conftest$ac_exeext
21283 if { (ac_try="$ac_link"
21284 case "(($ac_try" in
21285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21287 esac
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_link") 2>&5
21290 ac_status=$?
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21293 { (case "(($ac_try" in
21294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21295 *) ac_try_echo=$ac_try;;
21296 esac
21297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21298 (eval "$ac_try") 2>&5
21299 ac_status=$?
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; }; then
21302 ac_cv_sizeof_void_p=`cat conftest.val`
21303 else
21304 echo "$as_me: program exited with status $ac_status" >&5
21305 echo "$as_me: failed program was:" >&5
21306 sed 's/^/| /' conftest.$ac_ext >&5
21307
21308 ( exit $ac_status )
21309 if test "$ac_cv_type_void_p" = yes; then
21310 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21311 See \`config.log' for more details." >&5
21312 echo "$as_me: error: cannot compute sizeof (void *)
21313 See \`config.log' for more details." >&2;}
21314 { (exit 77); exit 77; }; }
21315 else
21316 ac_cv_sizeof_void_p=0
21317 fi
21318 fi
21319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21320 fi
21321 rm -f conftest.val
21322 fi
21323 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21324 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21325
21326
21327
21328 cat >>confdefs.h <<_ACEOF
21329 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21330 _ACEOF
21331
21332
21333 { echo "$as_me:$LINENO: checking for int" >&5
21334 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21335 if test "${ac_cv_type_int+set}" = set; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21337 else
21338 cat >conftest.$ac_ext <<_ACEOF
21339 /* confdefs.h. */
21340 _ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 $ac_includes_default
21345 typedef int ac__type_new_;
21346 int
21347 main ()
21348 {
21349 if ((ac__type_new_ *) 0)
21350 return 0;
21351 if (sizeof (ac__type_new_))
21352 return 0;
21353 ;
21354 return 0;
21355 }
21356 _ACEOF
21357 rm -f conftest.$ac_objext
21358 if { (ac_try="$ac_compile"
21359 case "(($ac_try" in
21360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21361 *) ac_try_echo=$ac_try;;
21362 esac
21363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21364 (eval "$ac_compile") 2>conftest.er1
21365 ac_status=$?
21366 grep -v '^ *+' conftest.er1 >conftest.err
21367 rm -f conftest.er1
21368 cat conftest.err >&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); } && {
21371 test -z "$ac_c_werror_flag" ||
21372 test ! -s conftest.err
21373 } && test -s conftest.$ac_objext; then
21374 ac_cv_type_int=yes
21375 else
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.$ac_ext >&5
21378
21379 ac_cv_type_int=no
21380 fi
21381
21382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21383 fi
21384 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21385 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21386
21387 # The cast to long int works around a bug in the HP C Compiler
21388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21390 # This bug is HP SR number 8606223364.
21391 { echo "$as_me:$LINENO: checking size of int" >&5
21392 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21393 if test "${ac_cv_sizeof_int+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21395 else
21396 if test "$cross_compiling" = yes; then
21397 # Depending upon the size, compute the lo and hi bounds.
21398 cat >conftest.$ac_ext <<_ACEOF
21399 /* confdefs.h. */
21400 _ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 $ac_includes_default
21405 typedef int ac__type_sizeof_;
21406 int
21407 main ()
21408 {
21409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21410 test_array [0] = 0
21411
21412 ;
21413 return 0;
21414 }
21415 _ACEOF
21416 rm -f conftest.$ac_objext
21417 if { (ac_try="$ac_compile"
21418 case "(($ac_try" in
21419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21420 *) ac_try_echo=$ac_try;;
21421 esac
21422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21423 (eval "$ac_compile") 2>conftest.er1
21424 ac_status=$?
21425 grep -v '^ *+' conftest.er1 >conftest.err
21426 rm -f conftest.er1
21427 cat conftest.err >&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && {
21430 test -z "$ac_c_werror_flag" ||
21431 test ! -s conftest.err
21432 } && test -s conftest.$ac_objext; then
21433 ac_lo=0 ac_mid=0
21434 while :; do
21435 cat >conftest.$ac_ext <<_ACEOF
21436 /* confdefs.h. */
21437 _ACEOF
21438 cat confdefs.h >>conftest.$ac_ext
21439 cat >>conftest.$ac_ext <<_ACEOF
21440 /* end confdefs.h. */
21441 $ac_includes_default
21442 typedef int ac__type_sizeof_;
21443 int
21444 main ()
21445 {
21446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21447 test_array [0] = 0
21448
21449 ;
21450 return 0;
21451 }
21452 _ACEOF
21453 rm -f conftest.$ac_objext
21454 if { (ac_try="$ac_compile"
21455 case "(($ac_try" in
21456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21457 *) ac_try_echo=$ac_try;;
21458 esac
21459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21460 (eval "$ac_compile") 2>conftest.er1
21461 ac_status=$?
21462 grep -v '^ *+' conftest.er1 >conftest.err
21463 rm -f conftest.er1
21464 cat conftest.err >&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); } && {
21467 test -z "$ac_c_werror_flag" ||
21468 test ! -s conftest.err
21469 } && test -s conftest.$ac_objext; then
21470 ac_hi=$ac_mid; break
21471 else
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21474
21475 ac_lo=`expr $ac_mid + 1`
21476 if test $ac_lo -le $ac_mid; then
21477 ac_lo= ac_hi=
21478 break
21479 fi
21480 ac_mid=`expr 2 '*' $ac_mid + 1`
21481 fi
21482
21483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21484 done
21485 else
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21488
21489 cat >conftest.$ac_ext <<_ACEOF
21490 /* confdefs.h. */
21491 _ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 typedef int ac__type_sizeof_;
21497 int
21498 main ()
21499 {
21500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21501 test_array [0] = 0
21502
21503 ;
21504 return 0;
21505 }
21506 _ACEOF
21507 rm -f conftest.$ac_objext
21508 if { (ac_try="$ac_compile"
21509 case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21512 esac
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_compile") 2>conftest.er1
21515 ac_status=$?
21516 grep -v '^ *+' conftest.er1 >conftest.err
21517 rm -f conftest.er1
21518 cat conftest.err >&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } && {
21521 test -z "$ac_c_werror_flag" ||
21522 test ! -s conftest.err
21523 } && test -s conftest.$ac_objext; then
21524 ac_hi=-1 ac_mid=-1
21525 while :; do
21526 cat >conftest.$ac_ext <<_ACEOF
21527 /* confdefs.h. */
21528 _ACEOF
21529 cat confdefs.h >>conftest.$ac_ext
21530 cat >>conftest.$ac_ext <<_ACEOF
21531 /* end confdefs.h. */
21532 $ac_includes_default
21533 typedef int ac__type_sizeof_;
21534 int
21535 main ()
21536 {
21537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21538 test_array [0] = 0
21539
21540 ;
21541 return 0;
21542 }
21543 _ACEOF
21544 rm -f conftest.$ac_objext
21545 if { (ac_try="$ac_compile"
21546 case "(($ac_try" in
21547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548 *) ac_try_echo=$ac_try;;
21549 esac
21550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21551 (eval "$ac_compile") 2>conftest.er1
21552 ac_status=$?
21553 grep -v '^ *+' conftest.er1 >conftest.err
21554 rm -f conftest.er1
21555 cat conftest.err >&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } && {
21558 test -z "$ac_c_werror_flag" ||
21559 test ! -s conftest.err
21560 } && test -s conftest.$ac_objext; then
21561 ac_lo=$ac_mid; break
21562 else
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21565
21566 ac_hi=`expr '(' $ac_mid ')' - 1`
21567 if test $ac_mid -le $ac_hi; then
21568 ac_lo= ac_hi=
21569 break
21570 fi
21571 ac_mid=`expr 2 '*' $ac_mid`
21572 fi
21573
21574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21575 done
21576 else
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21579
21580 ac_lo= ac_hi=
21581 fi
21582
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 fi
21585
21586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21587 # Binary search between lo and hi bounds.
21588 while test "x$ac_lo" != "x$ac_hi"; do
21589 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21590 cat >conftest.$ac_ext <<_ACEOF
21591 /* confdefs.h. */
21592 _ACEOF
21593 cat confdefs.h >>conftest.$ac_ext
21594 cat >>conftest.$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596 $ac_includes_default
21597 typedef int ac__type_sizeof_;
21598 int
21599 main ()
21600 {
21601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21602 test_array [0] = 0
21603
21604 ;
21605 return 0;
21606 }
21607 _ACEOF
21608 rm -f conftest.$ac_objext
21609 if { (ac_try="$ac_compile"
21610 case "(($ac_try" in
21611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21612 *) ac_try_echo=$ac_try;;
21613 esac
21614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21615 (eval "$ac_compile") 2>conftest.er1
21616 ac_status=$?
21617 grep -v '^ *+' conftest.er1 >conftest.err
21618 rm -f conftest.er1
21619 cat conftest.err >&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); } && {
21622 test -z "$ac_c_werror_flag" ||
21623 test ! -s conftest.err
21624 } && test -s conftest.$ac_objext; then
21625 ac_hi=$ac_mid
21626 else
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.$ac_ext >&5
21629
21630 ac_lo=`expr '(' $ac_mid ')' + 1`
21631 fi
21632
21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21634 done
21635 case $ac_lo in
21636 ?*) ac_cv_sizeof_int=$ac_lo;;
21637 '') if test "$ac_cv_type_int" = yes; then
21638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21639 See \`config.log' for more details." >&5
21640 echo "$as_me: error: cannot compute sizeof (int)
21641 See \`config.log' for more details." >&2;}
21642 { (exit 77); exit 77; }; }
21643 else
21644 ac_cv_sizeof_int=0
21645 fi ;;
21646 esac
21647 else
21648 cat >conftest.$ac_ext <<_ACEOF
21649 /* confdefs.h. */
21650 _ACEOF
21651 cat confdefs.h >>conftest.$ac_ext
21652 cat >>conftest.$ac_ext <<_ACEOF
21653 /* end confdefs.h. */
21654 $ac_includes_default
21655 typedef int ac__type_sizeof_;
21656 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21657 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21658 #include <stdio.h>
21659 #include <stdlib.h>
21660 int
21661 main ()
21662 {
21663
21664 FILE *f = fopen ("conftest.val", "w");
21665 if (! f)
21666 return 1;
21667 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21668 {
21669 long int i = longval ();
21670 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21671 return 1;
21672 fprintf (f, "%ld\n", i);
21673 }
21674 else
21675 {
21676 unsigned long int i = ulongval ();
21677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21678 return 1;
21679 fprintf (f, "%lu\n", i);
21680 }
21681 return ferror (f) || fclose (f) != 0;
21682
21683 ;
21684 return 0;
21685 }
21686 _ACEOF
21687 rm -f conftest$ac_exeext
21688 if { (ac_try="$ac_link"
21689 case "(($ac_try" in
21690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21692 esac
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_link") 2>&5
21695 ac_status=$?
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21698 { (case "(($ac_try" in
21699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21700 *) ac_try_echo=$ac_try;;
21701 esac
21702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21703 (eval "$ac_try") 2>&5
21704 ac_status=$?
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; }; then
21707 ac_cv_sizeof_int=`cat conftest.val`
21708 else
21709 echo "$as_me: program exited with status $ac_status" >&5
21710 echo "$as_me: failed program was:" >&5
21711 sed 's/^/| /' conftest.$ac_ext >&5
21712
21713 ( exit $ac_status )
21714 if test "$ac_cv_type_int" = yes; then
21715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21716 See \`config.log' for more details." >&5
21717 echo "$as_me: error: cannot compute sizeof (int)
21718 See \`config.log' for more details." >&2;}
21719 { (exit 77); exit 77; }; }
21720 else
21721 ac_cv_sizeof_int=0
21722 fi
21723 fi
21724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21725 fi
21726 rm -f conftest.val
21727 fi
21728 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21729 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21730
21731
21732
21733 cat >>confdefs.h <<_ACEOF
21734 #define SIZEOF_INT $ac_cv_sizeof_int
21735 _ACEOF
21736
21737
21738 { echo "$as_me:$LINENO: checking for long" >&5
21739 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21740 if test "${ac_cv_type_long+set}" = set; then
21741 echo $ECHO_N "(cached) $ECHO_C" >&6
21742 else
21743 cat >conftest.$ac_ext <<_ACEOF
21744 /* confdefs.h. */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 $ac_includes_default
21750 typedef long ac__type_new_;
21751 int
21752 main ()
21753 {
21754 if ((ac__type_new_ *) 0)
21755 return 0;
21756 if (sizeof (ac__type_new_))
21757 return 0;
21758 ;
21759 return 0;
21760 }
21761 _ACEOF
21762 rm -f conftest.$ac_objext
21763 if { (ac_try="$ac_compile"
21764 case "(($ac_try" in
21765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21766 *) ac_try_echo=$ac_try;;
21767 esac
21768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21769 (eval "$ac_compile") 2>conftest.er1
21770 ac_status=$?
21771 grep -v '^ *+' conftest.er1 >conftest.err
21772 rm -f conftest.er1
21773 cat conftest.err >&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); } && {
21776 test -z "$ac_c_werror_flag" ||
21777 test ! -s conftest.err
21778 } && test -s conftest.$ac_objext; then
21779 ac_cv_type_long=yes
21780 else
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.$ac_ext >&5
21783
21784 ac_cv_type_long=no
21785 fi
21786
21787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21788 fi
21789 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21790 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21791
21792 # The cast to long int works around a bug in the HP C Compiler
21793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21795 # This bug is HP SR number 8606223364.
21796 { echo "$as_me:$LINENO: checking size of long" >&5
21797 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21798 if test "${ac_cv_sizeof_long+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21800 else
21801 if test "$cross_compiling" = yes; then
21802 # Depending upon the size, compute the lo and hi bounds.
21803 cat >conftest.$ac_ext <<_ACEOF
21804 /* confdefs.h. */
21805 _ACEOF
21806 cat confdefs.h >>conftest.$ac_ext
21807 cat >>conftest.$ac_ext <<_ACEOF
21808 /* end confdefs.h. */
21809 $ac_includes_default
21810 typedef long ac__type_sizeof_;
21811 int
21812 main ()
21813 {
21814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21815 test_array [0] = 0
21816
21817 ;
21818 return 0;
21819 }
21820 _ACEOF
21821 rm -f conftest.$ac_objext
21822 if { (ac_try="$ac_compile"
21823 case "(($ac_try" in
21824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21825 *) ac_try_echo=$ac_try;;
21826 esac
21827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21828 (eval "$ac_compile") 2>conftest.er1
21829 ac_status=$?
21830 grep -v '^ *+' conftest.er1 >conftest.err
21831 rm -f conftest.er1
21832 cat conftest.err >&5
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); } && {
21835 test -z "$ac_c_werror_flag" ||
21836 test ! -s conftest.err
21837 } && test -s conftest.$ac_objext; then
21838 ac_lo=0 ac_mid=0
21839 while :; do
21840 cat >conftest.$ac_ext <<_ACEOF
21841 /* confdefs.h. */
21842 _ACEOF
21843 cat confdefs.h >>conftest.$ac_ext
21844 cat >>conftest.$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21846 $ac_includes_default
21847 typedef long ac__type_sizeof_;
21848 int
21849 main ()
21850 {
21851 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21852 test_array [0] = 0
21853
21854 ;
21855 return 0;
21856 }
21857 _ACEOF
21858 rm -f conftest.$ac_objext
21859 if { (ac_try="$ac_compile"
21860 case "(($ac_try" in
21861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21862 *) ac_try_echo=$ac_try;;
21863 esac
21864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21865 (eval "$ac_compile") 2>conftest.er1
21866 ac_status=$?
21867 grep -v '^ *+' conftest.er1 >conftest.err
21868 rm -f conftest.er1
21869 cat conftest.err >&5
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); } && {
21872 test -z "$ac_c_werror_flag" ||
21873 test ! -s conftest.err
21874 } && test -s conftest.$ac_objext; then
21875 ac_hi=$ac_mid; break
21876 else
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21879
21880 ac_lo=`expr $ac_mid + 1`
21881 if test $ac_lo -le $ac_mid; then
21882 ac_lo= ac_hi=
21883 break
21884 fi
21885 ac_mid=`expr 2 '*' $ac_mid + 1`
21886 fi
21887
21888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21889 done
21890 else
21891 echo "$as_me: failed program was:" >&5
21892 sed 's/^/| /' conftest.$ac_ext >&5
21893
21894 cat >conftest.$ac_ext <<_ACEOF
21895 /* confdefs.h. */
21896 _ACEOF
21897 cat confdefs.h >>conftest.$ac_ext
21898 cat >>conftest.$ac_ext <<_ACEOF
21899 /* end confdefs.h. */
21900 $ac_includes_default
21901 typedef long ac__type_sizeof_;
21902 int
21903 main ()
21904 {
21905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21906 test_array [0] = 0
21907
21908 ;
21909 return 0;
21910 }
21911 _ACEOF
21912 rm -f conftest.$ac_objext
21913 if { (ac_try="$ac_compile"
21914 case "(($ac_try" in
21915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21916 *) ac_try_echo=$ac_try;;
21917 esac
21918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21919 (eval "$ac_compile") 2>conftest.er1
21920 ac_status=$?
21921 grep -v '^ *+' conftest.er1 >conftest.err
21922 rm -f conftest.er1
21923 cat conftest.err >&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } && {
21926 test -z "$ac_c_werror_flag" ||
21927 test ! -s conftest.err
21928 } && test -s conftest.$ac_objext; then
21929 ac_hi=-1 ac_mid=-1
21930 while :; do
21931 cat >conftest.$ac_ext <<_ACEOF
21932 /* confdefs.h. */
21933 _ACEOF
21934 cat confdefs.h >>conftest.$ac_ext
21935 cat >>conftest.$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 $ac_includes_default
21938 typedef long ac__type_sizeof_;
21939 int
21940 main ()
21941 {
21942 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21943 test_array [0] = 0
21944
21945 ;
21946 return 0;
21947 }
21948 _ACEOF
21949 rm -f conftest.$ac_objext
21950 if { (ac_try="$ac_compile"
21951 case "(($ac_try" in
21952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21953 *) ac_try_echo=$ac_try;;
21954 esac
21955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21956 (eval "$ac_compile") 2>conftest.er1
21957 ac_status=$?
21958 grep -v '^ *+' conftest.er1 >conftest.err
21959 rm -f conftest.er1
21960 cat conftest.err >&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); } && {
21963 test -z "$ac_c_werror_flag" ||
21964 test ! -s conftest.err
21965 } && test -s conftest.$ac_objext; then
21966 ac_lo=$ac_mid; break
21967 else
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21970
21971 ac_hi=`expr '(' $ac_mid ')' - 1`
21972 if test $ac_mid -le $ac_hi; then
21973 ac_lo= ac_hi=
21974 break
21975 fi
21976 ac_mid=`expr 2 '*' $ac_mid`
21977 fi
21978
21979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21980 done
21981 else
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21984
21985 ac_lo= ac_hi=
21986 fi
21987
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21989 fi
21990
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992 # Binary search between lo and hi bounds.
21993 while test "x$ac_lo" != "x$ac_hi"; do
21994 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21995 cat >conftest.$ac_ext <<_ACEOF
21996 /* confdefs.h. */
21997 _ACEOF
21998 cat confdefs.h >>conftest.$ac_ext
21999 cat >>conftest.$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 $ac_includes_default
22002 typedef long ac__type_sizeof_;
22003 int
22004 main ()
22005 {
22006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22007 test_array [0] = 0
22008
22009 ;
22010 return 0;
22011 }
22012 _ACEOF
22013 rm -f conftest.$ac_objext
22014 if { (ac_try="$ac_compile"
22015 case "(($ac_try" in
22016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22017 *) ac_try_echo=$ac_try;;
22018 esac
22019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22020 (eval "$ac_compile") 2>conftest.er1
22021 ac_status=$?
22022 grep -v '^ *+' conftest.er1 >conftest.err
22023 rm -f conftest.er1
22024 cat conftest.err >&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); } && {
22027 test -z "$ac_c_werror_flag" ||
22028 test ! -s conftest.err
22029 } && test -s conftest.$ac_objext; then
22030 ac_hi=$ac_mid
22031 else
22032 echo "$as_me: failed program was:" >&5
22033 sed 's/^/| /' conftest.$ac_ext >&5
22034
22035 ac_lo=`expr '(' $ac_mid ')' + 1`
22036 fi
22037
22038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22039 done
22040 case $ac_lo in
22041 ?*) ac_cv_sizeof_long=$ac_lo;;
22042 '') if test "$ac_cv_type_long" = yes; then
22043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22044 See \`config.log' for more details." >&5
22045 echo "$as_me: error: cannot compute sizeof (long)
22046 See \`config.log' for more details." >&2;}
22047 { (exit 77); exit 77; }; }
22048 else
22049 ac_cv_sizeof_long=0
22050 fi ;;
22051 esac
22052 else
22053 cat >conftest.$ac_ext <<_ACEOF
22054 /* confdefs.h. */
22055 _ACEOF
22056 cat confdefs.h >>conftest.$ac_ext
22057 cat >>conftest.$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22059 $ac_includes_default
22060 typedef long ac__type_sizeof_;
22061 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22062 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22063 #include <stdio.h>
22064 #include <stdlib.h>
22065 int
22066 main ()
22067 {
22068
22069 FILE *f = fopen ("conftest.val", "w");
22070 if (! f)
22071 return 1;
22072 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22073 {
22074 long int i = longval ();
22075 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22076 return 1;
22077 fprintf (f, "%ld\n", i);
22078 }
22079 else
22080 {
22081 unsigned long int i = ulongval ();
22082 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22083 return 1;
22084 fprintf (f, "%lu\n", i);
22085 }
22086 return ferror (f) || fclose (f) != 0;
22087
22088 ;
22089 return 0;
22090 }
22091 _ACEOF
22092 rm -f conftest$ac_exeext
22093 if { (ac_try="$ac_link"
22094 case "(($ac_try" in
22095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22097 esac
22098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_link") 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22103 { (case "(($ac_try" in
22104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22105 *) ac_try_echo=$ac_try;;
22106 esac
22107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22108 (eval "$ac_try") 2>&5
22109 ac_status=$?
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); }; }; then
22112 ac_cv_sizeof_long=`cat conftest.val`
22113 else
22114 echo "$as_me: program exited with status $ac_status" >&5
22115 echo "$as_me: failed program was:" >&5
22116 sed 's/^/| /' conftest.$ac_ext >&5
22117
22118 ( exit $ac_status )
22119 if test "$ac_cv_type_long" = yes; then
22120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22121 See \`config.log' for more details." >&5
22122 echo "$as_me: error: cannot compute sizeof (long)
22123 See \`config.log' for more details." >&2;}
22124 { (exit 77); exit 77; }; }
22125 else
22126 ac_cv_sizeof_long=0
22127 fi
22128 fi
22129 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22130 fi
22131 rm -f conftest.val
22132 fi
22133 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22134 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22135
22136
22137
22138 cat >>confdefs.h <<_ACEOF
22139 #define SIZEOF_LONG $ac_cv_sizeof_long
22140 _ACEOF
22141
22142
22143 { echo "$as_me:$LINENO: checking for size_t" >&5
22144 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22145 if test "${ac_cv_type_size_t+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22147 else
22148 cat >conftest.$ac_ext <<_ACEOF
22149 /* confdefs.h. */
22150 _ACEOF
22151 cat confdefs.h >>conftest.$ac_ext
22152 cat >>conftest.$ac_ext <<_ACEOF
22153 /* end confdefs.h. */
22154 $ac_includes_default
22155 typedef size_t ac__type_new_;
22156 int
22157 main ()
22158 {
22159 if ((ac__type_new_ *) 0)
22160 return 0;
22161 if (sizeof (ac__type_new_))
22162 return 0;
22163 ;
22164 return 0;
22165 }
22166 _ACEOF
22167 rm -f conftest.$ac_objext
22168 if { (ac_try="$ac_compile"
22169 case "(($ac_try" in
22170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22171 *) ac_try_echo=$ac_try;;
22172 esac
22173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22174 (eval "$ac_compile") 2>conftest.er1
22175 ac_status=$?
22176 grep -v '^ *+' conftest.er1 >conftest.err
22177 rm -f conftest.er1
22178 cat conftest.err >&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } && {
22181 test -z "$ac_c_werror_flag" ||
22182 test ! -s conftest.err
22183 } && test -s conftest.$ac_objext; then
22184 ac_cv_type_size_t=yes
22185 else
22186 echo "$as_me: failed program was:" >&5
22187 sed 's/^/| /' conftest.$ac_ext >&5
22188
22189 ac_cv_type_size_t=no
22190 fi
22191
22192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22193 fi
22194 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22195 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22196
22197 # The cast to long int works around a bug in the HP C Compiler
22198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22200 # This bug is HP SR number 8606223364.
22201 { echo "$as_me:$LINENO: checking size of size_t" >&5
22202 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22203 if test "${ac_cv_sizeof_size_t+set}" = set; then
22204 echo $ECHO_N "(cached) $ECHO_C" >&6
22205 else
22206 if test "$cross_compiling" = yes; then
22207 # Depending upon the size, compute the lo and hi bounds.
22208 cat >conftest.$ac_ext <<_ACEOF
22209 /* confdefs.h. */
22210 _ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 $ac_includes_default
22215 typedef size_t ac__type_sizeof_;
22216 int
22217 main ()
22218 {
22219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22220 test_array [0] = 0
22221
22222 ;
22223 return 0;
22224 }
22225 _ACEOF
22226 rm -f conftest.$ac_objext
22227 if { (ac_try="$ac_compile"
22228 case "(($ac_try" in
22229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22230 *) ac_try_echo=$ac_try;;
22231 esac
22232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22233 (eval "$ac_compile") 2>conftest.er1
22234 ac_status=$?
22235 grep -v '^ *+' conftest.er1 >conftest.err
22236 rm -f conftest.er1
22237 cat conftest.err >&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } && {
22240 test -z "$ac_c_werror_flag" ||
22241 test ! -s conftest.err
22242 } && test -s conftest.$ac_objext; then
22243 ac_lo=0 ac_mid=0
22244 while :; do
22245 cat >conftest.$ac_ext <<_ACEOF
22246 /* confdefs.h. */
22247 _ACEOF
22248 cat confdefs.h >>conftest.$ac_ext
22249 cat >>conftest.$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22251 $ac_includes_default
22252 typedef size_t ac__type_sizeof_;
22253 int
22254 main ()
22255 {
22256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22257 test_array [0] = 0
22258
22259 ;
22260 return 0;
22261 }
22262 _ACEOF
22263 rm -f conftest.$ac_objext
22264 if { (ac_try="$ac_compile"
22265 case "(($ac_try" in
22266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22267 *) ac_try_echo=$ac_try;;
22268 esac
22269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22270 (eval "$ac_compile") 2>conftest.er1
22271 ac_status=$?
22272 grep -v '^ *+' conftest.er1 >conftest.err
22273 rm -f conftest.er1
22274 cat conftest.err >&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } && {
22277 test -z "$ac_c_werror_flag" ||
22278 test ! -s conftest.err
22279 } && test -s conftest.$ac_objext; then
22280 ac_hi=$ac_mid; break
22281 else
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.$ac_ext >&5
22284
22285 ac_lo=`expr $ac_mid + 1`
22286 if test $ac_lo -le $ac_mid; then
22287 ac_lo= ac_hi=
22288 break
22289 fi
22290 ac_mid=`expr 2 '*' $ac_mid + 1`
22291 fi
22292
22293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22294 done
22295 else
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22298
22299 cat >conftest.$ac_ext <<_ACEOF
22300 /* confdefs.h. */
22301 _ACEOF
22302 cat confdefs.h >>conftest.$ac_ext
22303 cat >>conftest.$ac_ext <<_ACEOF
22304 /* end confdefs.h. */
22305 $ac_includes_default
22306 typedef size_t ac__type_sizeof_;
22307 int
22308 main ()
22309 {
22310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22311 test_array [0] = 0
22312
22313 ;
22314 return 0;
22315 }
22316 _ACEOF
22317 rm -f conftest.$ac_objext
22318 if { (ac_try="$ac_compile"
22319 case "(($ac_try" in
22320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22321 *) ac_try_echo=$ac_try;;
22322 esac
22323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324 (eval "$ac_compile") 2>conftest.er1
22325 ac_status=$?
22326 grep -v '^ *+' conftest.er1 >conftest.err
22327 rm -f conftest.er1
22328 cat conftest.err >&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } && {
22331 test -z "$ac_c_werror_flag" ||
22332 test ! -s conftest.err
22333 } && test -s conftest.$ac_objext; then
22334 ac_hi=-1 ac_mid=-1
22335 while :; do
22336 cat >conftest.$ac_ext <<_ACEOF
22337 /* confdefs.h. */
22338 _ACEOF
22339 cat confdefs.h >>conftest.$ac_ext
22340 cat >>conftest.$ac_ext <<_ACEOF
22341 /* end confdefs.h. */
22342 $ac_includes_default
22343 typedef size_t ac__type_sizeof_;
22344 int
22345 main ()
22346 {
22347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22348 test_array [0] = 0
22349
22350 ;
22351 return 0;
22352 }
22353 _ACEOF
22354 rm -f conftest.$ac_objext
22355 if { (ac_try="$ac_compile"
22356 case "(($ac_try" in
22357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22358 *) ac_try_echo=$ac_try;;
22359 esac
22360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22361 (eval "$ac_compile") 2>conftest.er1
22362 ac_status=$?
22363 grep -v '^ *+' conftest.er1 >conftest.err
22364 rm -f conftest.er1
22365 cat conftest.err >&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } && {
22368 test -z "$ac_c_werror_flag" ||
22369 test ! -s conftest.err
22370 } && test -s conftest.$ac_objext; then
22371 ac_lo=$ac_mid; break
22372 else
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22375
22376 ac_hi=`expr '(' $ac_mid ')' - 1`
22377 if test $ac_mid -le $ac_hi; then
22378 ac_lo= ac_hi=
22379 break
22380 fi
22381 ac_mid=`expr 2 '*' $ac_mid`
22382 fi
22383
22384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22385 done
22386 else
22387 echo "$as_me: failed program was:" >&5
22388 sed 's/^/| /' conftest.$ac_ext >&5
22389
22390 ac_lo= ac_hi=
22391 fi
22392
22393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22394 fi
22395
22396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22397 # Binary search between lo and hi bounds.
22398 while test "x$ac_lo" != "x$ac_hi"; do
22399 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22400 cat >conftest.$ac_ext <<_ACEOF
22401 /* confdefs.h. */
22402 _ACEOF
22403 cat confdefs.h >>conftest.$ac_ext
22404 cat >>conftest.$ac_ext <<_ACEOF
22405 /* end confdefs.h. */
22406 $ac_includes_default
22407 typedef size_t ac__type_sizeof_;
22408 int
22409 main ()
22410 {
22411 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22412 test_array [0] = 0
22413
22414 ;
22415 return 0;
22416 }
22417 _ACEOF
22418 rm -f conftest.$ac_objext
22419 if { (ac_try="$ac_compile"
22420 case "(($ac_try" in
22421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22422 *) ac_try_echo=$ac_try;;
22423 esac
22424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22425 (eval "$ac_compile") 2>conftest.er1
22426 ac_status=$?
22427 grep -v '^ *+' conftest.er1 >conftest.err
22428 rm -f conftest.er1
22429 cat conftest.err >&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } && {
22432 test -z "$ac_c_werror_flag" ||
22433 test ! -s conftest.err
22434 } && test -s conftest.$ac_objext; then
22435 ac_hi=$ac_mid
22436 else
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22439
22440 ac_lo=`expr '(' $ac_mid ')' + 1`
22441 fi
22442
22443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22444 done
22445 case $ac_lo in
22446 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22447 '') if test "$ac_cv_type_size_t" = yes; then
22448 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22449 See \`config.log' for more details." >&5
22450 echo "$as_me: error: cannot compute sizeof (size_t)
22451 See \`config.log' for more details." >&2;}
22452 { (exit 77); exit 77; }; }
22453 else
22454 ac_cv_sizeof_size_t=0
22455 fi ;;
22456 esac
22457 else
22458 cat >conftest.$ac_ext <<_ACEOF
22459 /* confdefs.h. */
22460 _ACEOF
22461 cat confdefs.h >>conftest.$ac_ext
22462 cat >>conftest.$ac_ext <<_ACEOF
22463 /* end confdefs.h. */
22464 $ac_includes_default
22465 typedef size_t ac__type_sizeof_;
22466 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22467 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22468 #include <stdio.h>
22469 #include <stdlib.h>
22470 int
22471 main ()
22472 {
22473
22474 FILE *f = fopen ("conftest.val", "w");
22475 if (! f)
22476 return 1;
22477 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22478 {
22479 long int i = longval ();
22480 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22481 return 1;
22482 fprintf (f, "%ld\n", i);
22483 }
22484 else
22485 {
22486 unsigned long int i = ulongval ();
22487 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22488 return 1;
22489 fprintf (f, "%lu\n", i);
22490 }
22491 return ferror (f) || fclose (f) != 0;
22492
22493 ;
22494 return 0;
22495 }
22496 _ACEOF
22497 rm -f conftest$ac_exeext
22498 if { (ac_try="$ac_link"
22499 case "(($ac_try" in
22500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22502 esac
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_link") 2>&5
22505 ac_status=$?
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22508 { (case "(($ac_try" in
22509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22510 *) ac_try_echo=$ac_try;;
22511 esac
22512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22513 (eval "$ac_try") 2>&5
22514 ac_status=$?
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); }; }; then
22517 ac_cv_sizeof_size_t=`cat conftest.val`
22518 else
22519 echo "$as_me: program exited with status $ac_status" >&5
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22522
22523 ( exit $ac_status )
22524 if test "$ac_cv_type_size_t" = yes; then
22525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22526 See \`config.log' for more details." >&5
22527 echo "$as_me: error: cannot compute sizeof (size_t)
22528 See \`config.log' for more details." >&2;}
22529 { (exit 77); exit 77; }; }
22530 else
22531 ac_cv_sizeof_size_t=0
22532 fi
22533 fi
22534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22535 fi
22536 rm -f conftest.val
22537 fi
22538 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22539 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22540
22541
22542
22543 cat >>confdefs.h <<_ACEOF
22544 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22545 _ACEOF
22546
22547
22548
22549 case "${host}" in
22550 arm-*-linux* )
22551 { echo "$as_me:$LINENO: checking for long long" >&5
22552 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22553 if test "${ac_cv_type_long_long+set}" = set; then
22554 echo $ECHO_N "(cached) $ECHO_C" >&6
22555 else
22556 cat >conftest.$ac_ext <<_ACEOF
22557 /* confdefs.h. */
22558 _ACEOF
22559 cat confdefs.h >>conftest.$ac_ext
22560 cat >>conftest.$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22562 $ac_includes_default
22563 typedef long long ac__type_new_;
22564 int
22565 main ()
22566 {
22567 if ((ac__type_new_ *) 0)
22568 return 0;
22569 if (sizeof (ac__type_new_))
22570 return 0;
22571 ;
22572 return 0;
22573 }
22574 _ACEOF
22575 rm -f conftest.$ac_objext
22576 if { (ac_try="$ac_compile"
22577 case "(($ac_try" in
22578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22579 *) ac_try_echo=$ac_try;;
22580 esac
22581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22582 (eval "$ac_compile") 2>conftest.er1
22583 ac_status=$?
22584 grep -v '^ *+' conftest.er1 >conftest.err
22585 rm -f conftest.er1
22586 cat conftest.err >&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); } && {
22589 test -z "$ac_c_werror_flag" ||
22590 test ! -s conftest.err
22591 } && test -s conftest.$ac_objext; then
22592 ac_cv_type_long_long=yes
22593 else
22594 echo "$as_me: failed program was:" >&5
22595 sed 's/^/| /' conftest.$ac_ext >&5
22596
22597 ac_cv_type_long_long=no
22598 fi
22599
22600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22601 fi
22602 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22603 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22604
22605 # The cast to long int works around a bug in the HP C Compiler
22606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22608 # This bug is HP SR number 8606223364.
22609 { echo "$as_me:$LINENO: checking size of long long" >&5
22610 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22611 if test "${ac_cv_sizeof_long_long+set}" = set; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22613 else
22614 if test "$cross_compiling" = yes; then
22615 # Depending upon the size, compute the lo and hi bounds.
22616 cat >conftest.$ac_ext <<_ACEOF
22617 /* confdefs.h. */
22618 _ACEOF
22619 cat confdefs.h >>conftest.$ac_ext
22620 cat >>conftest.$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22622 $ac_includes_default
22623 typedef long long ac__type_sizeof_;
22624 int
22625 main ()
22626 {
22627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22628 test_array [0] = 0
22629
22630 ;
22631 return 0;
22632 }
22633 _ACEOF
22634 rm -f conftest.$ac_objext
22635 if { (ac_try="$ac_compile"
22636 case "(($ac_try" in
22637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638 *) ac_try_echo=$ac_try;;
22639 esac
22640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22641 (eval "$ac_compile") 2>conftest.er1
22642 ac_status=$?
22643 grep -v '^ *+' conftest.er1 >conftest.err
22644 rm -f conftest.er1
22645 cat conftest.err >&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); } && {
22648 test -z "$ac_c_werror_flag" ||
22649 test ! -s conftest.err
22650 } && test -s conftest.$ac_objext; then
22651 ac_lo=0 ac_mid=0
22652 while :; do
22653 cat >conftest.$ac_ext <<_ACEOF
22654 /* confdefs.h. */
22655 _ACEOF
22656 cat confdefs.h >>conftest.$ac_ext
22657 cat >>conftest.$ac_ext <<_ACEOF
22658 /* end confdefs.h. */
22659 $ac_includes_default
22660 typedef long long ac__type_sizeof_;
22661 int
22662 main ()
22663 {
22664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22665 test_array [0] = 0
22666
22667 ;
22668 return 0;
22669 }
22670 _ACEOF
22671 rm -f conftest.$ac_objext
22672 if { (ac_try="$ac_compile"
22673 case "(($ac_try" in
22674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22675 *) ac_try_echo=$ac_try;;
22676 esac
22677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22678 (eval "$ac_compile") 2>conftest.er1
22679 ac_status=$?
22680 grep -v '^ *+' conftest.er1 >conftest.err
22681 rm -f conftest.er1
22682 cat conftest.err >&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } && {
22685 test -z "$ac_c_werror_flag" ||
22686 test ! -s conftest.err
22687 } && test -s conftest.$ac_objext; then
22688 ac_hi=$ac_mid; break
22689 else
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22692
22693 ac_lo=`expr $ac_mid + 1`
22694 if test $ac_lo -le $ac_mid; then
22695 ac_lo= ac_hi=
22696 break
22697 fi
22698 ac_mid=`expr 2 '*' $ac_mid + 1`
22699 fi
22700
22701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22702 done
22703 else
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.$ac_ext >&5
22706
22707 cat >conftest.$ac_ext <<_ACEOF
22708 /* confdefs.h. */
22709 _ACEOF
22710 cat confdefs.h >>conftest.$ac_ext
22711 cat >>conftest.$ac_ext <<_ACEOF
22712 /* end confdefs.h. */
22713 $ac_includes_default
22714 typedef long long ac__type_sizeof_;
22715 int
22716 main ()
22717 {
22718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22719 test_array [0] = 0
22720
22721 ;
22722 return 0;
22723 }
22724 _ACEOF
22725 rm -f conftest.$ac_objext
22726 if { (ac_try="$ac_compile"
22727 case "(($ac_try" in
22728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22729 *) ac_try_echo=$ac_try;;
22730 esac
22731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732 (eval "$ac_compile") 2>conftest.er1
22733 ac_status=$?
22734 grep -v '^ *+' conftest.er1 >conftest.err
22735 rm -f conftest.er1
22736 cat conftest.err >&5
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); } && {
22739 test -z "$ac_c_werror_flag" ||
22740 test ! -s conftest.err
22741 } && test -s conftest.$ac_objext; then
22742 ac_hi=-1 ac_mid=-1
22743 while :; do
22744 cat >conftest.$ac_ext <<_ACEOF
22745 /* confdefs.h. */
22746 _ACEOF
22747 cat confdefs.h >>conftest.$ac_ext
22748 cat >>conftest.$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22750 $ac_includes_default
22751 typedef long long ac__type_sizeof_;
22752 int
22753 main ()
22754 {
22755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22756 test_array [0] = 0
22757
22758 ;
22759 return 0;
22760 }
22761 _ACEOF
22762 rm -f conftest.$ac_objext
22763 if { (ac_try="$ac_compile"
22764 case "(($ac_try" in
22765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22766 *) ac_try_echo=$ac_try;;
22767 esac
22768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22769 (eval "$ac_compile") 2>conftest.er1
22770 ac_status=$?
22771 grep -v '^ *+' conftest.er1 >conftest.err
22772 rm -f conftest.er1
22773 cat conftest.err >&5
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); } && {
22776 test -z "$ac_c_werror_flag" ||
22777 test ! -s conftest.err
22778 } && test -s conftest.$ac_objext; then
22779 ac_lo=$ac_mid; break
22780 else
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22783
22784 ac_hi=`expr '(' $ac_mid ')' - 1`
22785 if test $ac_mid -le $ac_hi; then
22786 ac_lo= ac_hi=
22787 break
22788 fi
22789 ac_mid=`expr 2 '*' $ac_mid`
22790 fi
22791
22792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22793 done
22794 else
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22797
22798 ac_lo= ac_hi=
22799 fi
22800
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22802 fi
22803
22804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805 # Binary search between lo and hi bounds.
22806 while test "x$ac_lo" != "x$ac_hi"; do
22807 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22808 cat >conftest.$ac_ext <<_ACEOF
22809 /* confdefs.h. */
22810 _ACEOF
22811 cat confdefs.h >>conftest.$ac_ext
22812 cat >>conftest.$ac_ext <<_ACEOF
22813 /* end confdefs.h. */
22814 $ac_includes_default
22815 typedef long long ac__type_sizeof_;
22816 int
22817 main ()
22818 {
22819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22820 test_array [0] = 0
22821
22822 ;
22823 return 0;
22824 }
22825 _ACEOF
22826 rm -f conftest.$ac_objext
22827 if { (ac_try="$ac_compile"
22828 case "(($ac_try" in
22829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22830 *) ac_try_echo=$ac_try;;
22831 esac
22832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22833 (eval "$ac_compile") 2>conftest.er1
22834 ac_status=$?
22835 grep -v '^ *+' conftest.er1 >conftest.err
22836 rm -f conftest.er1
22837 cat conftest.err >&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } && {
22840 test -z "$ac_c_werror_flag" ||
22841 test ! -s conftest.err
22842 } && test -s conftest.$ac_objext; then
22843 ac_hi=$ac_mid
22844 else
22845 echo "$as_me: failed program was:" >&5
22846 sed 's/^/| /' conftest.$ac_ext >&5
22847
22848 ac_lo=`expr '(' $ac_mid ')' + 1`
22849 fi
22850
22851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22852 done
22853 case $ac_lo in
22854 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22855 '') if test "$ac_cv_type_long_long" = yes; then
22856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22857 See \`config.log' for more details." >&5
22858 echo "$as_me: error: cannot compute sizeof (long long)
22859 See \`config.log' for more details." >&2;}
22860 { (exit 77); exit 77; }; }
22861 else
22862 ac_cv_sizeof_long_long=0
22863 fi ;;
22864 esac
22865 else
22866 cat >conftest.$ac_ext <<_ACEOF
22867 /* confdefs.h. */
22868 _ACEOF
22869 cat confdefs.h >>conftest.$ac_ext
22870 cat >>conftest.$ac_ext <<_ACEOF
22871 /* end confdefs.h. */
22872 $ac_includes_default
22873 typedef long long ac__type_sizeof_;
22874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22876 #include <stdio.h>
22877 #include <stdlib.h>
22878 int
22879 main ()
22880 {
22881
22882 FILE *f = fopen ("conftest.val", "w");
22883 if (! f)
22884 return 1;
22885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22886 {
22887 long int i = longval ();
22888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22889 return 1;
22890 fprintf (f, "%ld\n", i);
22891 }
22892 else
22893 {
22894 unsigned long int i = ulongval ();
22895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22896 return 1;
22897 fprintf (f, "%lu\n", i);
22898 }
22899 return ferror (f) || fclose (f) != 0;
22900
22901 ;
22902 return 0;
22903 }
22904 _ACEOF
22905 rm -f conftest$ac_exeext
22906 if { (ac_try="$ac_link"
22907 case "(($ac_try" in
22908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22909 *) ac_try_echo=$ac_try;;
22910 esac
22911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_link") 2>&5
22913 ac_status=$?
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22916 { (case "(($ac_try" in
22917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22918 *) ac_try_echo=$ac_try;;
22919 esac
22920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22921 (eval "$ac_try") 2>&5
22922 ac_status=$?
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); }; }; then
22925 ac_cv_sizeof_long_long=`cat conftest.val`
22926 else
22927 echo "$as_me: program exited with status $ac_status" >&5
22928 echo "$as_me: failed program was:" >&5
22929 sed 's/^/| /' conftest.$ac_ext >&5
22930
22931 ( exit $ac_status )
22932 if test "$ac_cv_type_long_long" = yes; then
22933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22934 See \`config.log' for more details." >&5
22935 echo "$as_me: error: cannot compute sizeof (long long)
22936 See \`config.log' for more details." >&2;}
22937 { (exit 77); exit 77; }; }
22938 else
22939 ac_cv_sizeof_long_long=0
22940 fi
22941 fi
22942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22943 fi
22944 rm -f conftest.val
22945 fi
22946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22947 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22948
22949
22950
22951 cat >>confdefs.h <<_ACEOF
22952 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22953 _ACEOF
22954
22955
22956 ;;
22957 *-hp-hpux* )
22958 { echo "$as_me:$LINENO: checking for long long" >&5
22959 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22960 if test "${ac_cv_type_long_long+set}" = set; then
22961 echo $ECHO_N "(cached) $ECHO_C" >&6
22962 else
22963 cat >conftest.$ac_ext <<_ACEOF
22964 /* confdefs.h. */
22965 _ACEOF
22966 cat confdefs.h >>conftest.$ac_ext
22967 cat >>conftest.$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22969 $ac_includes_default
22970 typedef long long ac__type_new_;
22971 int
22972 main ()
22973 {
22974 if ((ac__type_new_ *) 0)
22975 return 0;
22976 if (sizeof (ac__type_new_))
22977 return 0;
22978 ;
22979 return 0;
22980 }
22981 _ACEOF
22982 rm -f conftest.$ac_objext
22983 if { (ac_try="$ac_compile"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;;
22987 esac
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_compile") 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_c_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest.$ac_objext; then
22999 ac_cv_type_long_long=yes
23000 else
23001 echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23003
23004 ac_cv_type_long_long=no
23005 fi
23006
23007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23008 fi
23009 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23010 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23011
23012 # The cast to long int works around a bug in the HP C Compiler
23013 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23014 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23015 # This bug is HP SR number 8606223364.
23016 { echo "$as_me:$LINENO: checking size of long long" >&5
23017 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23018 if test "${ac_cv_sizeof_long_long+set}" = set; then
23019 echo $ECHO_N "(cached) $ECHO_C" >&6
23020 else
23021 if test "$cross_compiling" = yes; then
23022 # Depending upon the size, compute the lo and hi bounds.
23023 cat >conftest.$ac_ext <<_ACEOF
23024 /* confdefs.h. */
23025 _ACEOF
23026 cat confdefs.h >>conftest.$ac_ext
23027 cat >>conftest.$ac_ext <<_ACEOF
23028 /* end confdefs.h. */
23029 $ac_includes_default
23030 typedef long long ac__type_sizeof_;
23031 int
23032 main ()
23033 {
23034 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23035 test_array [0] = 0
23036
23037 ;
23038 return 0;
23039 }
23040 _ACEOF
23041 rm -f conftest.$ac_objext
23042 if { (ac_try="$ac_compile"
23043 case "(($ac_try" in
23044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23045 *) ac_try_echo=$ac_try;;
23046 esac
23047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23048 (eval "$ac_compile") 2>conftest.er1
23049 ac_status=$?
23050 grep -v '^ *+' conftest.er1 >conftest.err
23051 rm -f conftest.er1
23052 cat conftest.err >&5
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); } && {
23055 test -z "$ac_c_werror_flag" ||
23056 test ! -s conftest.err
23057 } && test -s conftest.$ac_objext; then
23058 ac_lo=0 ac_mid=0
23059 while :; do
23060 cat >conftest.$ac_ext <<_ACEOF
23061 /* confdefs.h. */
23062 _ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 $ac_includes_default
23067 typedef long long ac__type_sizeof_;
23068 int
23069 main ()
23070 {
23071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23072 test_array [0] = 0
23073
23074 ;
23075 return 0;
23076 }
23077 _ACEOF
23078 rm -f conftest.$ac_objext
23079 if { (ac_try="$ac_compile"
23080 case "(($ac_try" in
23081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23082 *) ac_try_echo=$ac_try;;
23083 esac
23084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23085 (eval "$ac_compile") 2>conftest.er1
23086 ac_status=$?
23087 grep -v '^ *+' conftest.er1 >conftest.err
23088 rm -f conftest.er1
23089 cat conftest.err >&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } && {
23092 test -z "$ac_c_werror_flag" ||
23093 test ! -s conftest.err
23094 } && test -s conftest.$ac_objext; then
23095 ac_hi=$ac_mid; break
23096 else
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.$ac_ext >&5
23099
23100 ac_lo=`expr $ac_mid + 1`
23101 if test $ac_lo -le $ac_mid; then
23102 ac_lo= ac_hi=
23103 break
23104 fi
23105 ac_mid=`expr 2 '*' $ac_mid + 1`
23106 fi
23107
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 done
23110 else
23111 echo "$as_me: failed program was:" >&5
23112 sed 's/^/| /' conftest.$ac_ext >&5
23113
23114 cat >conftest.$ac_ext <<_ACEOF
23115 /* confdefs.h. */
23116 _ACEOF
23117 cat confdefs.h >>conftest.$ac_ext
23118 cat >>conftest.$ac_ext <<_ACEOF
23119 /* end confdefs.h. */
23120 $ac_includes_default
23121 typedef long long ac__type_sizeof_;
23122 int
23123 main ()
23124 {
23125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23126 test_array [0] = 0
23127
23128 ;
23129 return 0;
23130 }
23131 _ACEOF
23132 rm -f conftest.$ac_objext
23133 if { (ac_try="$ac_compile"
23134 case "(($ac_try" in
23135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23136 *) ac_try_echo=$ac_try;;
23137 esac
23138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23139 (eval "$ac_compile") 2>conftest.er1
23140 ac_status=$?
23141 grep -v '^ *+' conftest.er1 >conftest.err
23142 rm -f conftest.er1
23143 cat conftest.err >&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); } && {
23146 test -z "$ac_c_werror_flag" ||
23147 test ! -s conftest.err
23148 } && test -s conftest.$ac_objext; then
23149 ac_hi=-1 ac_mid=-1
23150 while :; do
23151 cat >conftest.$ac_ext <<_ACEOF
23152 /* confdefs.h. */
23153 _ACEOF
23154 cat confdefs.h >>conftest.$ac_ext
23155 cat >>conftest.$ac_ext <<_ACEOF
23156 /* end confdefs.h. */
23157 $ac_includes_default
23158 typedef long long ac__type_sizeof_;
23159 int
23160 main ()
23161 {
23162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23163 test_array [0] = 0
23164
23165 ;
23166 return 0;
23167 }
23168 _ACEOF
23169 rm -f conftest.$ac_objext
23170 if { (ac_try="$ac_compile"
23171 case "(($ac_try" in
23172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23173 *) ac_try_echo=$ac_try;;
23174 esac
23175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23176 (eval "$ac_compile") 2>conftest.er1
23177 ac_status=$?
23178 grep -v '^ *+' conftest.er1 >conftest.err
23179 rm -f conftest.er1
23180 cat conftest.err >&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); } && {
23183 test -z "$ac_c_werror_flag" ||
23184 test ! -s conftest.err
23185 } && test -s conftest.$ac_objext; then
23186 ac_lo=$ac_mid; break
23187 else
23188 echo "$as_me: failed program was:" >&5
23189 sed 's/^/| /' conftest.$ac_ext >&5
23190
23191 ac_hi=`expr '(' $ac_mid ')' - 1`
23192 if test $ac_mid -le $ac_hi; then
23193 ac_lo= ac_hi=
23194 break
23195 fi
23196 ac_mid=`expr 2 '*' $ac_mid`
23197 fi
23198
23199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23200 done
23201 else
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23204
23205 ac_lo= ac_hi=
23206 fi
23207
23208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23209 fi
23210
23211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23212 # Binary search between lo and hi bounds.
23213 while test "x$ac_lo" != "x$ac_hi"; do
23214 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23215 cat >conftest.$ac_ext <<_ACEOF
23216 /* confdefs.h. */
23217 _ACEOF
23218 cat confdefs.h >>conftest.$ac_ext
23219 cat >>conftest.$ac_ext <<_ACEOF
23220 /* end confdefs.h. */
23221 $ac_includes_default
23222 typedef long long ac__type_sizeof_;
23223 int
23224 main ()
23225 {
23226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23227 test_array [0] = 0
23228
23229 ;
23230 return 0;
23231 }
23232 _ACEOF
23233 rm -f conftest.$ac_objext
23234 if { (ac_try="$ac_compile"
23235 case "(($ac_try" in
23236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23237 *) ac_try_echo=$ac_try;;
23238 esac
23239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23240 (eval "$ac_compile") 2>conftest.er1
23241 ac_status=$?
23242 grep -v '^ *+' conftest.er1 >conftest.err
23243 rm -f conftest.er1
23244 cat conftest.err >&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } && {
23247 test -z "$ac_c_werror_flag" ||
23248 test ! -s conftest.err
23249 } && test -s conftest.$ac_objext; then
23250 ac_hi=$ac_mid
23251 else
23252 echo "$as_me: failed program was:" >&5
23253 sed 's/^/| /' conftest.$ac_ext >&5
23254
23255 ac_lo=`expr '(' $ac_mid ')' + 1`
23256 fi
23257
23258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23259 done
23260 case $ac_lo in
23261 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23262 '') if test "$ac_cv_type_long_long" = yes; then
23263 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23264 See \`config.log' for more details." >&5
23265 echo "$as_me: error: cannot compute sizeof (long long)
23266 See \`config.log' for more details." >&2;}
23267 { (exit 77); exit 77; }; }
23268 else
23269 ac_cv_sizeof_long_long=0
23270 fi ;;
23271 esac
23272 else
23273 cat >conftest.$ac_ext <<_ACEOF
23274 /* confdefs.h. */
23275 _ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23279 $ac_includes_default
23280 typedef long long ac__type_sizeof_;
23281 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23282 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23283 #include <stdio.h>
23284 #include <stdlib.h>
23285 int
23286 main ()
23287 {
23288
23289 FILE *f = fopen ("conftest.val", "w");
23290 if (! f)
23291 return 1;
23292 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23293 {
23294 long int i = longval ();
23295 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23296 return 1;
23297 fprintf (f, "%ld\n", i);
23298 }
23299 else
23300 {
23301 unsigned long int i = ulongval ();
23302 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23303 return 1;
23304 fprintf (f, "%lu\n", i);
23305 }
23306 return ferror (f) || fclose (f) != 0;
23307
23308 ;
23309 return 0;
23310 }
23311 _ACEOF
23312 rm -f conftest$ac_exeext
23313 if { (ac_try="$ac_link"
23314 case "(($ac_try" in
23315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23316 *) ac_try_echo=$ac_try;;
23317 esac
23318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23319 (eval "$ac_link") 2>&5
23320 ac_status=$?
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23323 { (case "(($ac_try" in
23324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23325 *) ac_try_echo=$ac_try;;
23326 esac
23327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23328 (eval "$ac_try") 2>&5
23329 ac_status=$?
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); }; }; then
23332 ac_cv_sizeof_long_long=`cat conftest.val`
23333 else
23334 echo "$as_me: program exited with status $ac_status" >&5
23335 echo "$as_me: failed program was:" >&5
23336 sed 's/^/| /' conftest.$ac_ext >&5
23337
23338 ( exit $ac_status )
23339 if test "$ac_cv_type_long_long" = yes; then
23340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23341 See \`config.log' for more details." >&5
23342 echo "$as_me: error: cannot compute sizeof (long long)
23343 See \`config.log' for more details." >&2;}
23344 { (exit 77); exit 77; }; }
23345 else
23346 ac_cv_sizeof_long_long=0
23347 fi
23348 fi
23349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23350 fi
23351 rm -f conftest.val
23352 fi
23353 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23354 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23355
23356
23357
23358 cat >>confdefs.h <<_ACEOF
23359 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23360 _ACEOF
23361
23362
23363 if test "$ac_cv_sizeof_long_long" != 0; then
23364 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23365 fi
23366 ;;
23367 * )
23368 { echo "$as_me:$LINENO: checking for long long" >&5
23369 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23370 if test "${ac_cv_type_long_long+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23372 else
23373 cat >conftest.$ac_ext <<_ACEOF
23374 /* confdefs.h. */
23375 _ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 $ac_includes_default
23380 typedef long long ac__type_new_;
23381 int
23382 main ()
23383 {
23384 if ((ac__type_new_ *) 0)
23385 return 0;
23386 if (sizeof (ac__type_new_))
23387 return 0;
23388 ;
23389 return 0;
23390 }
23391 _ACEOF
23392 rm -f conftest.$ac_objext
23393 if { (ac_try="$ac_compile"
23394 case "(($ac_try" in
23395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23396 *) ac_try_echo=$ac_try;;
23397 esac
23398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23399 (eval "$ac_compile") 2>conftest.er1
23400 ac_status=$?
23401 grep -v '^ *+' conftest.er1 >conftest.err
23402 rm -f conftest.er1
23403 cat conftest.err >&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); } && {
23406 test -z "$ac_c_werror_flag" ||
23407 test ! -s conftest.err
23408 } && test -s conftest.$ac_objext; then
23409 ac_cv_type_long_long=yes
23410 else
23411 echo "$as_me: failed program was:" >&5
23412 sed 's/^/| /' conftest.$ac_ext >&5
23413
23414 ac_cv_type_long_long=no
23415 fi
23416
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 fi
23419 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23420 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23421
23422 # The cast to long int works around a bug in the HP C Compiler
23423 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23424 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23425 # This bug is HP SR number 8606223364.
23426 { echo "$as_me:$LINENO: checking size of long long" >&5
23427 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23428 if test "${ac_cv_sizeof_long_long+set}" = set; then
23429 echo $ECHO_N "(cached) $ECHO_C" >&6
23430 else
23431 if test "$cross_compiling" = yes; then
23432 # Depending upon the size, compute the lo and hi bounds.
23433 cat >conftest.$ac_ext <<_ACEOF
23434 /* confdefs.h. */
23435 _ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 $ac_includes_default
23440 typedef long long ac__type_sizeof_;
23441 int
23442 main ()
23443 {
23444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23445 test_array [0] = 0
23446
23447 ;
23448 return 0;
23449 }
23450 _ACEOF
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23456 esac
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23459 ac_status=$?
23460 grep -v '^ *+' conftest.er1 >conftest.err
23461 rm -f conftest.er1
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.$ac_objext; then
23468 ac_lo=0 ac_mid=0
23469 while :; do
23470 cat >conftest.$ac_ext <<_ACEOF
23471 /* confdefs.h. */
23472 _ACEOF
23473 cat confdefs.h >>conftest.$ac_ext
23474 cat >>conftest.$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23476 $ac_includes_default
23477 typedef long long ac__type_sizeof_;
23478 int
23479 main ()
23480 {
23481 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23482 test_array [0] = 0
23483
23484 ;
23485 return 0;
23486 }
23487 _ACEOF
23488 rm -f conftest.$ac_objext
23489 if { (ac_try="$ac_compile"
23490 case "(($ac_try" in
23491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23492 *) ac_try_echo=$ac_try;;
23493 esac
23494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23495 (eval "$ac_compile") 2>conftest.er1
23496 ac_status=$?
23497 grep -v '^ *+' conftest.er1 >conftest.err
23498 rm -f conftest.er1
23499 cat conftest.err >&5
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); } && {
23502 test -z "$ac_c_werror_flag" ||
23503 test ! -s conftest.err
23504 } && test -s conftest.$ac_objext; then
23505 ac_hi=$ac_mid; break
23506 else
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23509
23510 ac_lo=`expr $ac_mid + 1`
23511 if test $ac_lo -le $ac_mid; then
23512 ac_lo= ac_hi=
23513 break
23514 fi
23515 ac_mid=`expr 2 '*' $ac_mid + 1`
23516 fi
23517
23518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23519 done
23520 else
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23523
23524 cat >conftest.$ac_ext <<_ACEOF
23525 /* confdefs.h. */
23526 _ACEOF
23527 cat confdefs.h >>conftest.$ac_ext
23528 cat >>conftest.$ac_ext <<_ACEOF
23529 /* end confdefs.h. */
23530 $ac_includes_default
23531 typedef long long ac__type_sizeof_;
23532 int
23533 main ()
23534 {
23535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23536 test_array [0] = 0
23537
23538 ;
23539 return 0;
23540 }
23541 _ACEOF
23542 rm -f conftest.$ac_objext
23543 if { (ac_try="$ac_compile"
23544 case "(($ac_try" in
23545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23546 *) ac_try_echo=$ac_try;;
23547 esac
23548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23549 (eval "$ac_compile") 2>conftest.er1
23550 ac_status=$?
23551 grep -v '^ *+' conftest.er1 >conftest.err
23552 rm -f conftest.er1
23553 cat conftest.err >&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } && {
23556 test -z "$ac_c_werror_flag" ||
23557 test ! -s conftest.err
23558 } && test -s conftest.$ac_objext; then
23559 ac_hi=-1 ac_mid=-1
23560 while :; do
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 $ac_includes_default
23568 typedef long long ac__type_sizeof_;
23569 int
23570 main ()
23571 {
23572 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23573 test_array [0] = 0
23574
23575 ;
23576 return 0;
23577 }
23578 _ACEOF
23579 rm -f conftest.$ac_objext
23580 if { (ac_try="$ac_compile"
23581 case "(($ac_try" in
23582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23583 *) ac_try_echo=$ac_try;;
23584 esac
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586 (eval "$ac_compile") 2>conftest.er1
23587 ac_status=$?
23588 grep -v '^ *+' conftest.er1 >conftest.err
23589 rm -f conftest.er1
23590 cat conftest.err >&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); } && {
23593 test -z "$ac_c_werror_flag" ||
23594 test ! -s conftest.err
23595 } && test -s conftest.$ac_objext; then
23596 ac_lo=$ac_mid; break
23597 else
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23600
23601 ac_hi=`expr '(' $ac_mid ')' - 1`
23602 if test $ac_mid -le $ac_hi; then
23603 ac_lo= ac_hi=
23604 break
23605 fi
23606 ac_mid=`expr 2 '*' $ac_mid`
23607 fi
23608
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 done
23611 else
23612 echo "$as_me: failed program was:" >&5
23613 sed 's/^/| /' conftest.$ac_ext >&5
23614
23615 ac_lo= ac_hi=
23616 fi
23617
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23619 fi
23620
23621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23622 # Binary search between lo and hi bounds.
23623 while test "x$ac_lo" != "x$ac_hi"; do
23624 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23625 cat >conftest.$ac_ext <<_ACEOF
23626 /* confdefs.h. */
23627 _ACEOF
23628 cat confdefs.h >>conftest.$ac_ext
23629 cat >>conftest.$ac_ext <<_ACEOF
23630 /* end confdefs.h. */
23631 $ac_includes_default
23632 typedef long long ac__type_sizeof_;
23633 int
23634 main ()
23635 {
23636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23637 test_array [0] = 0
23638
23639 ;
23640 return 0;
23641 }
23642 _ACEOF
23643 rm -f conftest.$ac_objext
23644 if { (ac_try="$ac_compile"
23645 case "(($ac_try" in
23646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23647 *) ac_try_echo=$ac_try;;
23648 esac
23649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23650 (eval "$ac_compile") 2>conftest.er1
23651 ac_status=$?
23652 grep -v '^ *+' conftest.er1 >conftest.err
23653 rm -f conftest.er1
23654 cat conftest.err >&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); } && {
23657 test -z "$ac_c_werror_flag" ||
23658 test ! -s conftest.err
23659 } && test -s conftest.$ac_objext; then
23660 ac_hi=$ac_mid
23661 else
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23664
23665 ac_lo=`expr '(' $ac_mid ')' + 1`
23666 fi
23667
23668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23669 done
23670 case $ac_lo in
23671 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23672 '') if test "$ac_cv_type_long_long" = yes; then
23673 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23674 See \`config.log' for more details." >&5
23675 echo "$as_me: error: cannot compute sizeof (long long)
23676 See \`config.log' for more details." >&2;}
23677 { (exit 77); exit 77; }; }
23678 else
23679 ac_cv_sizeof_long_long=0
23680 fi ;;
23681 esac
23682 else
23683 cat >conftest.$ac_ext <<_ACEOF
23684 /* confdefs.h. */
23685 _ACEOF
23686 cat confdefs.h >>conftest.$ac_ext
23687 cat >>conftest.$ac_ext <<_ACEOF
23688 /* end confdefs.h. */
23689 $ac_includes_default
23690 typedef long long ac__type_sizeof_;
23691 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23692 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23693 #include <stdio.h>
23694 #include <stdlib.h>
23695 int
23696 main ()
23697 {
23698
23699 FILE *f = fopen ("conftest.val", "w");
23700 if (! f)
23701 return 1;
23702 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23703 {
23704 long int i = longval ();
23705 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23706 return 1;
23707 fprintf (f, "%ld\n", i);
23708 }
23709 else
23710 {
23711 unsigned long int i = ulongval ();
23712 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23713 return 1;
23714 fprintf (f, "%lu\n", i);
23715 }
23716 return ferror (f) || fclose (f) != 0;
23717
23718 ;
23719 return 0;
23720 }
23721 _ACEOF
23722 rm -f conftest$ac_exeext
23723 if { (ac_try="$ac_link"
23724 case "(($ac_try" in
23725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23727 esac
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_link") 2>&5
23730 ac_status=$?
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23733 { (case "(($ac_try" in
23734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23735 *) ac_try_echo=$ac_try;;
23736 esac
23737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23738 (eval "$ac_try") 2>&5
23739 ac_status=$?
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); }; }; then
23742 ac_cv_sizeof_long_long=`cat conftest.val`
23743 else
23744 echo "$as_me: program exited with status $ac_status" >&5
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23747
23748 ( exit $ac_status )
23749 if test "$ac_cv_type_long_long" = yes; then
23750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23751 See \`config.log' for more details." >&5
23752 echo "$as_me: error: cannot compute sizeof (long long)
23753 See \`config.log' for more details." >&2;}
23754 { (exit 77); exit 77; }; }
23755 else
23756 ac_cv_sizeof_long_long=0
23757 fi
23758 fi
23759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23760 fi
23761 rm -f conftest.val
23762 fi
23763 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23764 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23765
23766
23767
23768 cat >>confdefs.h <<_ACEOF
23769 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23770 _ACEOF
23771
23772
23773 esac
23774
23775 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23776 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23777 if test "${ac_cv_type_wchar_t+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23779 else
23780 cat >conftest.$ac_ext <<_ACEOF
23781 /* confdefs.h. */
23782 _ACEOF
23783 cat confdefs.h >>conftest.$ac_ext
23784 cat >>conftest.$ac_ext <<_ACEOF
23785 /* end confdefs.h. */
23786
23787 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23788 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23789 # error "fake wchar_t"
23790 #endif
23791 #ifdef HAVE_WCHAR_H
23792 # ifdef __CYGWIN__
23793 # include <stddef.h>
23794 # endif
23795 # include <wchar.h>
23796 #endif
23797 #ifdef HAVE_STDLIB_H
23798 # include <stdlib.h>
23799 #endif
23800 #include <stdio.h>
23801
23802
23803
23804 typedef wchar_t ac__type_new_;
23805 int
23806 main ()
23807 {
23808 if ((ac__type_new_ *) 0)
23809 return 0;
23810 if (sizeof (ac__type_new_))
23811 return 0;
23812 ;
23813 return 0;
23814 }
23815 _ACEOF
23816 rm -f conftest.$ac_objext
23817 if { (ac_try="$ac_compile"
23818 case "(($ac_try" in
23819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23820 *) ac_try_echo=$ac_try;;
23821 esac
23822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23823 (eval "$ac_compile") 2>conftest.er1
23824 ac_status=$?
23825 grep -v '^ *+' conftest.er1 >conftest.err
23826 rm -f conftest.er1
23827 cat conftest.err >&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } && {
23830 test -z "$ac_c_werror_flag" ||
23831 test ! -s conftest.err
23832 } && test -s conftest.$ac_objext; then
23833 ac_cv_type_wchar_t=yes
23834 else
23835 echo "$as_me: failed program was:" >&5
23836 sed 's/^/| /' conftest.$ac_ext >&5
23837
23838 ac_cv_type_wchar_t=no
23839 fi
23840
23841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23842 fi
23843 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23844 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23845
23846 # The cast to long int works around a bug in the HP C Compiler
23847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23849 # This bug is HP SR number 8606223364.
23850 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23851 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23852 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23853 echo $ECHO_N "(cached) $ECHO_C" >&6
23854 else
23855 if test "$cross_compiling" = yes; then
23856 # Depending upon the size, compute the lo and hi bounds.
23857 cat >conftest.$ac_ext <<_ACEOF
23858 /* confdefs.h. */
23859 _ACEOF
23860 cat confdefs.h >>conftest.$ac_ext
23861 cat >>conftest.$ac_ext <<_ACEOF
23862 /* end confdefs.h. */
23863
23864 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23865 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23866 # error "fake wchar_t"
23867 #endif
23868 #ifdef HAVE_WCHAR_H
23869 # ifdef __CYGWIN__
23870 # include <stddef.h>
23871 # endif
23872 # include <wchar.h>
23873 #endif
23874 #ifdef HAVE_STDLIB_H
23875 # include <stdlib.h>
23876 #endif
23877 #include <stdio.h>
23878
23879
23880
23881 typedef wchar_t ac__type_sizeof_;
23882 int
23883 main ()
23884 {
23885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23886 test_array [0] = 0
23887
23888 ;
23889 return 0;
23890 }
23891 _ACEOF
23892 rm -f conftest.$ac_objext
23893 if { (ac_try="$ac_compile"
23894 case "(($ac_try" in
23895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23896 *) ac_try_echo=$ac_try;;
23897 esac
23898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23899 (eval "$ac_compile") 2>conftest.er1
23900 ac_status=$?
23901 grep -v '^ *+' conftest.er1 >conftest.err
23902 rm -f conftest.er1
23903 cat conftest.err >&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); } && {
23906 test -z "$ac_c_werror_flag" ||
23907 test ! -s conftest.err
23908 } && test -s conftest.$ac_objext; then
23909 ac_lo=0 ac_mid=0
23910 while :; do
23911 cat >conftest.$ac_ext <<_ACEOF
23912 /* confdefs.h. */
23913 _ACEOF
23914 cat confdefs.h >>conftest.$ac_ext
23915 cat >>conftest.$ac_ext <<_ACEOF
23916 /* end confdefs.h. */
23917
23918 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23919 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23920 # error "fake wchar_t"
23921 #endif
23922 #ifdef HAVE_WCHAR_H
23923 # ifdef __CYGWIN__
23924 # include <stddef.h>
23925 # endif
23926 # include <wchar.h>
23927 #endif
23928 #ifdef HAVE_STDLIB_H
23929 # include <stdlib.h>
23930 #endif
23931 #include <stdio.h>
23932
23933
23934
23935 typedef wchar_t ac__type_sizeof_;
23936 int
23937 main ()
23938 {
23939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23940 test_array [0] = 0
23941
23942 ;
23943 return 0;
23944 }
23945 _ACEOF
23946 rm -f conftest.$ac_objext
23947 if { (ac_try="$ac_compile"
23948 case "(($ac_try" in
23949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23950 *) ac_try_echo=$ac_try;;
23951 esac
23952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23953 (eval "$ac_compile") 2>conftest.er1
23954 ac_status=$?
23955 grep -v '^ *+' conftest.er1 >conftest.err
23956 rm -f conftest.er1
23957 cat conftest.err >&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); } && {
23960 test -z "$ac_c_werror_flag" ||
23961 test ! -s conftest.err
23962 } && test -s conftest.$ac_objext; then
23963 ac_hi=$ac_mid; break
23964 else
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.$ac_ext >&5
23967
23968 ac_lo=`expr $ac_mid + 1`
23969 if test $ac_lo -le $ac_mid; then
23970 ac_lo= ac_hi=
23971 break
23972 fi
23973 ac_mid=`expr 2 '*' $ac_mid + 1`
23974 fi
23975
23976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23977 done
23978 else
23979 echo "$as_me: failed program was:" >&5
23980 sed 's/^/| /' conftest.$ac_ext >&5
23981
23982 cat >conftest.$ac_ext <<_ACEOF
23983 /* confdefs.h. */
23984 _ACEOF
23985 cat confdefs.h >>conftest.$ac_ext
23986 cat >>conftest.$ac_ext <<_ACEOF
23987 /* end confdefs.h. */
23988
23989 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23990 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23991 # error "fake wchar_t"
23992 #endif
23993 #ifdef HAVE_WCHAR_H
23994 # ifdef __CYGWIN__
23995 # include <stddef.h>
23996 # endif
23997 # include <wchar.h>
23998 #endif
23999 #ifdef HAVE_STDLIB_H
24000 # include <stdlib.h>
24001 #endif
24002 #include <stdio.h>
24003
24004
24005
24006 typedef wchar_t ac__type_sizeof_;
24007 int
24008 main ()
24009 {
24010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24011 test_array [0] = 0
24012
24013 ;
24014 return 0;
24015 }
24016 _ACEOF
24017 rm -f conftest.$ac_objext
24018 if { (ac_try="$ac_compile"
24019 case "(($ac_try" in
24020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24021 *) ac_try_echo=$ac_try;;
24022 esac
24023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24024 (eval "$ac_compile") 2>conftest.er1
24025 ac_status=$?
24026 grep -v '^ *+' conftest.er1 >conftest.err
24027 rm -f conftest.er1
24028 cat conftest.err >&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); } && {
24031 test -z "$ac_c_werror_flag" ||
24032 test ! -s conftest.err
24033 } && test -s conftest.$ac_objext; then
24034 ac_hi=-1 ac_mid=-1
24035 while :; do
24036 cat >conftest.$ac_ext <<_ACEOF
24037 /* confdefs.h. */
24038 _ACEOF
24039 cat confdefs.h >>conftest.$ac_ext
24040 cat >>conftest.$ac_ext <<_ACEOF
24041 /* end confdefs.h. */
24042
24043 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24044 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24045 # error "fake wchar_t"
24046 #endif
24047 #ifdef HAVE_WCHAR_H
24048 # ifdef __CYGWIN__
24049 # include <stddef.h>
24050 # endif
24051 # include <wchar.h>
24052 #endif
24053 #ifdef HAVE_STDLIB_H
24054 # include <stdlib.h>
24055 #endif
24056 #include <stdio.h>
24057
24058
24059
24060 typedef wchar_t ac__type_sizeof_;
24061 int
24062 main ()
24063 {
24064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24065 test_array [0] = 0
24066
24067 ;
24068 return 0;
24069 }
24070 _ACEOF
24071 rm -f conftest.$ac_objext
24072 if { (ac_try="$ac_compile"
24073 case "(($ac_try" in
24074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24075 *) ac_try_echo=$ac_try;;
24076 esac
24077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24078 (eval "$ac_compile") 2>conftest.er1
24079 ac_status=$?
24080 grep -v '^ *+' conftest.er1 >conftest.err
24081 rm -f conftest.er1
24082 cat conftest.err >&5
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); } && {
24085 test -z "$ac_c_werror_flag" ||
24086 test ! -s conftest.err
24087 } && test -s conftest.$ac_objext; then
24088 ac_lo=$ac_mid; break
24089 else
24090 echo "$as_me: failed program was:" >&5
24091 sed 's/^/| /' conftest.$ac_ext >&5
24092
24093 ac_hi=`expr '(' $ac_mid ')' - 1`
24094 if test $ac_mid -le $ac_hi; then
24095 ac_lo= ac_hi=
24096 break
24097 fi
24098 ac_mid=`expr 2 '*' $ac_mid`
24099 fi
24100
24101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24102 done
24103 else
24104 echo "$as_me: failed program was:" >&5
24105 sed 's/^/| /' conftest.$ac_ext >&5
24106
24107 ac_lo= ac_hi=
24108 fi
24109
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111 fi
24112
24113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114 # Binary search between lo and hi bounds.
24115 while test "x$ac_lo" != "x$ac_hi"; do
24116 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24117 cat >conftest.$ac_ext <<_ACEOF
24118 /* confdefs.h. */
24119 _ACEOF
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24123
24124 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24125 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24126 # error "fake wchar_t"
24127 #endif
24128 #ifdef HAVE_WCHAR_H
24129 # ifdef __CYGWIN__
24130 # include <stddef.h>
24131 # endif
24132 # include <wchar.h>
24133 #endif
24134 #ifdef HAVE_STDLIB_H
24135 # include <stdlib.h>
24136 #endif
24137 #include <stdio.h>
24138
24139
24140
24141 typedef wchar_t ac__type_sizeof_;
24142 int
24143 main ()
24144 {
24145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24146 test_array [0] = 0
24147
24148 ;
24149 return 0;
24150 }
24151 _ACEOF
24152 rm -f conftest.$ac_objext
24153 if { (ac_try="$ac_compile"
24154 case "(($ac_try" in
24155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24156 *) ac_try_echo=$ac_try;;
24157 esac
24158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24159 (eval "$ac_compile") 2>conftest.er1
24160 ac_status=$?
24161 grep -v '^ *+' conftest.er1 >conftest.err
24162 rm -f conftest.er1
24163 cat conftest.err >&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); } && {
24166 test -z "$ac_c_werror_flag" ||
24167 test ! -s conftest.err
24168 } && test -s conftest.$ac_objext; then
24169 ac_hi=$ac_mid
24170 else
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24173
24174 ac_lo=`expr '(' $ac_mid ')' + 1`
24175 fi
24176
24177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24178 done
24179 case $ac_lo in
24180 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24181 '') if test "$ac_cv_type_wchar_t" = yes; then
24182 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24183 See \`config.log' for more details." >&5
24184 echo "$as_me: error: cannot compute sizeof (wchar_t)
24185 See \`config.log' for more details." >&2;}
24186 { (exit 77); exit 77; }; }
24187 else
24188 ac_cv_sizeof_wchar_t=0
24189 fi ;;
24190 esac
24191 else
24192 cat >conftest.$ac_ext <<_ACEOF
24193 /* confdefs.h. */
24194 _ACEOF
24195 cat confdefs.h >>conftest.$ac_ext
24196 cat >>conftest.$ac_ext <<_ACEOF
24197 /* end confdefs.h. */
24198
24199 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24200 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24201 # error "fake wchar_t"
24202 #endif
24203 #ifdef HAVE_WCHAR_H
24204 # ifdef __CYGWIN__
24205 # include <stddef.h>
24206 # endif
24207 # include <wchar.h>
24208 #endif
24209 #ifdef HAVE_STDLIB_H
24210 # include <stdlib.h>
24211 #endif
24212 #include <stdio.h>
24213
24214
24215
24216 typedef wchar_t ac__type_sizeof_;
24217 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24218 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24219 #include <stdio.h>
24220 #include <stdlib.h>
24221 int
24222 main ()
24223 {
24224
24225 FILE *f = fopen ("conftest.val", "w");
24226 if (! f)
24227 return 1;
24228 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24229 {
24230 long int i = longval ();
24231 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24232 return 1;
24233 fprintf (f, "%ld\n", i);
24234 }
24235 else
24236 {
24237 unsigned long int i = ulongval ();
24238 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24239 return 1;
24240 fprintf (f, "%lu\n", i);
24241 }
24242 return ferror (f) || fclose (f) != 0;
24243
24244 ;
24245 return 0;
24246 }
24247 _ACEOF
24248 rm -f conftest$ac_exeext
24249 if { (ac_try="$ac_link"
24250 case "(($ac_try" in
24251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24252 *) ac_try_echo=$ac_try;;
24253 esac
24254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24255 (eval "$ac_link") 2>&5
24256 ac_status=$?
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24259 { (case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24262 esac
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_try") 2>&5
24265 ac_status=$?
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268 ac_cv_sizeof_wchar_t=`cat conftest.val`
24269 else
24270 echo "$as_me: program exited with status $ac_status" >&5
24271 echo "$as_me: failed program was:" >&5
24272 sed 's/^/| /' conftest.$ac_ext >&5
24273
24274 ( exit $ac_status )
24275 if test "$ac_cv_type_wchar_t" = yes; then
24276 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24277 See \`config.log' for more details." >&5
24278 echo "$as_me: error: cannot compute sizeof (wchar_t)
24279 See \`config.log' for more details." >&2;}
24280 { (exit 77); exit 77; }; }
24281 else
24282 ac_cv_sizeof_wchar_t=0
24283 fi
24284 fi
24285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24286 fi
24287 rm -f conftest.val
24288 fi
24289 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24290 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24291
24292
24293
24294 cat >>confdefs.h <<_ACEOF
24295 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24296 _ACEOF
24297
24298
24299 if test "$ac_cv_sizeof_wchar_t" = 0; then
24300 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24301 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24302 { (exit 1); exit 1; }; }
24303 fi
24304 cat >>confdefs.h <<\_ACEOF
24305 #define wxUSE_WCHAR_T 1
24306 _ACEOF
24307
24308
24309 { echo "$as_me:$LINENO: checking for va_copy" >&5
24310 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24311 if test "${wx_cv_func_va_copy+set}" = set; then
24312 echo $ECHO_N "(cached) $ECHO_C" >&6
24313 else
24314
24315 ac_ext=cpp
24316 ac_cpp='$CXXCPP $CPPFLAGS'
24317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24320
24321 cat >conftest.$ac_ext <<_ACEOF
24322
24323 #include <stdarg.h>
24324 void foo(char *f, ...)
24325 {
24326 va_list ap1, ap2;
24327 va_start(ap1, f);
24328 va_copy(ap2, ap1);
24329 va_end(ap2);
24330 va_end(ap1);
24331 }
24332 int main()
24333 {
24334 foo("hi", 17);
24335 return 0;
24336 }
24337 _ACEOF
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (ac_try="$ac_link"
24340 case "(($ac_try" in
24341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24342 *) ac_try_echo=$ac_try;;
24343 esac
24344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24345 (eval "$ac_link") 2>conftest.er1
24346 ac_status=$?
24347 grep -v '^ *+' conftest.er1 >conftest.err
24348 rm -f conftest.er1
24349 cat conftest.err >&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } && {
24352 test -z "$ac_cxx_werror_flag" ||
24353 test ! -s conftest.err
24354 } && test -s conftest$ac_exeext &&
24355 $as_test_x conftest$ac_exeext; then
24356 wx_cv_func_va_copy=yes
24357 else
24358 echo "$as_me: failed program was:" >&5
24359 sed 's/^/| /' conftest.$ac_ext >&5
24360
24361 wx_cv_func_va_copy=no
24362
24363 fi
24364
24365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24366 conftest$ac_exeext conftest.$ac_ext
24367 ac_ext=c
24368 ac_cpp='$CPP $CPPFLAGS'
24369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24372
24373
24374
24375 fi
24376 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24377 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24378
24379 if test $wx_cv_func_va_copy = "yes"; then
24380 cat >>confdefs.h <<\_ACEOF
24381 #define HAVE_VA_COPY 1
24382 _ACEOF
24383
24384 else
24385 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24386 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24387 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24388 echo $ECHO_N "(cached) $ECHO_C" >&6
24389 else
24390
24391 if test "$cross_compiling" = yes; then
24392 wx_cv_type_va_list_lvalue=yes
24393
24394 else
24395 cat >conftest.$ac_ext <<_ACEOF
24396
24397 #include <stdarg.h>
24398 int foo(char *f, ...)
24399 {
24400 va_list ap1, ap2;
24401 va_start(ap1, f);
24402 ap2 = ap1;
24403 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24404 return 1;
24405 va_end(ap2);
24406 va_end(ap1);
24407 return 0;
24408 }
24409 int main()
24410 {
24411 return foo("hi", 17);
24412 }
24413 _ACEOF
24414 rm -f conftest$ac_exeext
24415 if { (ac_try="$ac_link"
24416 case "(($ac_try" in
24417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24418 *) ac_try_echo=$ac_try;;
24419 esac
24420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24421 (eval "$ac_link") 2>&5
24422 ac_status=$?
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24425 { (case "(($ac_try" in
24426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24427 *) ac_try_echo=$ac_try;;
24428 esac
24429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24430 (eval "$ac_try") 2>&5
24431 ac_status=$?
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; }; then
24434 wx_cv_type_va_list_lvalue=yes
24435 else
24436 echo "$as_me: program exited with status $ac_status" >&5
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.$ac_ext >&5
24439
24440 ( exit $ac_status )
24441 wx_cv_type_va_list_lvalue=no
24442 fi
24443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24444 fi
24445
24446
24447
24448
24449 fi
24450 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24451 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24452
24453 if test $wx_cv_type_va_list_lvalue != "yes"; then
24454 cat >>confdefs.h <<\_ACEOF
24455 #define VA_LIST_IS_ARRAY 1
24456 _ACEOF
24457
24458 fi
24459 fi
24460
24461 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24462
24463 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24464 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24465 if test "${wx_cv_have_variadic_macros+set}" = set; then
24466 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 else
24468
24469 ac_ext=cpp
24470 ac_cpp='$CXXCPP $CPPFLAGS'
24471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24474
24475 cat >conftest.$ac_ext <<_ACEOF
24476 /* confdefs.h. */
24477 _ACEOF
24478 cat confdefs.h >>conftest.$ac_ext
24479 cat >>conftest.$ac_ext <<_ACEOF
24480 /* end confdefs.h. */
24481
24482 #include <stdio.h>
24483 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24484
24485 int
24486 main ()
24487 {
24488
24489 test("%s %d %p", "test", 1, 0);
24490
24491
24492 ;
24493 return 0;
24494 }
24495 _ACEOF
24496 rm -f conftest.$ac_objext
24497 if { (ac_try="$ac_compile"
24498 case "(($ac_try" in
24499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24500 *) ac_try_echo=$ac_try;;
24501 esac
24502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24503 (eval "$ac_compile") 2>conftest.er1
24504 ac_status=$?
24505 grep -v '^ *+' conftest.er1 >conftest.err
24506 rm -f conftest.er1
24507 cat conftest.err >&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); } && {
24510 test -z "$ac_cxx_werror_flag" ||
24511 test ! -s conftest.err
24512 } && test -s conftest.$ac_objext; then
24513 wx_cv_have_variadic_macros=yes
24514 else
24515 echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.$ac_ext >&5
24517
24518 wx_cv_have_variadic_macros=no
24519
24520 fi
24521
24522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24523 ac_ext=c
24524 ac_cpp='$CPP $CPPFLAGS'
24525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24528
24529
24530
24531 fi
24532 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24533 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24534
24535 if test $wx_cv_have_variadic_macros = "yes"; then
24536 cat >>confdefs.h <<\_ACEOF
24537 #define HAVE_VARIADIC_MACROS 1
24538 _ACEOF
24539
24540 fi
24541
24542 fi
24543
24544 LARGEFILE_CPPFLAGS=
24545 # Check whether --enable-largefile was given.
24546 if test "${enable_largefile+set}" = set; then
24547 enableval=$enable_largefile;
24548 fi
24549
24550 if test "$enable_largefile" != no; then
24551 wx_largefile=no
24552
24553 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24554 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24555 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24556 echo $ECHO_N "(cached) $ECHO_C" >&6
24557 else
24558
24559 cat >conftest.$ac_ext <<_ACEOF
24560 /* confdefs.h. */
24561 _ACEOF
24562 cat confdefs.h >>conftest.$ac_ext
24563 cat >>conftest.$ac_ext <<_ACEOF
24564 /* end confdefs.h. */
24565 #define _FILE_OFFSET_BITS 64
24566 #include <sys/types.h>
24567 int
24568 main ()
24569 {
24570 typedef struct {
24571 unsigned int field: sizeof(off_t) == 8;
24572 } wxlf;
24573
24574 ;
24575 return 0;
24576 }
24577 _ACEOF
24578 rm -f conftest.$ac_objext
24579 if { (ac_try="$ac_compile"
24580 case "(($ac_try" in
24581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24582 *) ac_try_echo=$ac_try;;
24583 esac
24584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24585 (eval "$ac_compile") 2>conftest.er1
24586 ac_status=$?
24587 grep -v '^ *+' conftest.er1 >conftest.err
24588 rm -f conftest.er1
24589 cat conftest.err >&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } && {
24592 test -z "$ac_c_werror_flag" ||
24593 test ! -s conftest.err
24594 } && test -s conftest.$ac_objext; then
24595 ac_cv_sys_file_offset_bits=64
24596 else
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24599
24600 ac_cv_sys_file_offset_bits=no
24601 fi
24602
24603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604
24605
24606 fi
24607 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24608 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24609
24610 if test "$ac_cv_sys_file_offset_bits" != no; then
24611 wx_largefile=yes
24612 cat >>confdefs.h <<_ACEOF
24613 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24614 _ACEOF
24615
24616 fi
24617
24618 if test "x$wx_largefile" != "xyes"; then
24619
24620 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24621 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24622 if test "${ac_cv_sys_large_files+set}" = set; then
24623 echo $ECHO_N "(cached) $ECHO_C" >&6
24624 else
24625
24626 cat >conftest.$ac_ext <<_ACEOF
24627 /* confdefs.h. */
24628 _ACEOF
24629 cat confdefs.h >>conftest.$ac_ext
24630 cat >>conftest.$ac_ext <<_ACEOF
24631 /* end confdefs.h. */
24632 #define _LARGE_FILES 1
24633 #include <sys/types.h>
24634 int
24635 main ()
24636 {
24637 typedef struct {
24638 unsigned int field: sizeof(off_t) == 8;
24639 } wxlf;
24640
24641 ;
24642 return 0;
24643 }
24644 _ACEOF
24645 rm -f conftest.$ac_objext
24646 if { (ac_try="$ac_compile"
24647 case "(($ac_try" in
24648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24649 *) ac_try_echo=$ac_try;;
24650 esac
24651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24652 (eval "$ac_compile") 2>conftest.er1
24653 ac_status=$?
24654 grep -v '^ *+' conftest.er1 >conftest.err
24655 rm -f conftest.er1
24656 cat conftest.err >&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } && {
24659 test -z "$ac_c_werror_flag" ||
24660 test ! -s conftest.err
24661 } && test -s conftest.$ac_objext; then
24662 ac_cv_sys_large_files=1
24663 else
24664 echo "$as_me: failed program was:" >&5
24665 sed 's/^/| /' conftest.$ac_ext >&5
24666
24667 ac_cv_sys_large_files=no
24668 fi
24669
24670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24671
24672
24673 fi
24674 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24675 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24676
24677 if test "$ac_cv_sys_large_files" != no; then
24678 wx_largefile=yes
24679 cat >>confdefs.h <<_ACEOF
24680 #define _LARGE_FILES $ac_cv_sys_large_files
24681 _ACEOF
24682
24683 fi
24684
24685 fi
24686
24687 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24688 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24689 if test "x$wx_largefile" = "xyes"; then
24690 cat >>confdefs.h <<\_ACEOF
24691 #define HAVE_LARGEFILE_SUPPORT 1
24692 _ACEOF
24693
24694 fi
24695 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24696 echo "${ECHO_T}$wx_largefile" >&6; }
24697 fi
24698
24699 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24700 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24701 elif test "$ac_cv_sys_large_files" = 1; then
24702 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24703 fi
24704
24705 if test -n "$LARGEFILE_CPPFLAGS"; then
24706 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24707
24708 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24709 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24710 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24711 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24713 else
24714
24715 ac_ext=cpp
24716 ac_cpp='$CXXCPP $CPPFLAGS'
24717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24720
24721 cat >conftest.$ac_ext <<_ACEOF
24722 /* confdefs.h. */
24723 _ACEOF
24724 cat confdefs.h >>conftest.$ac_ext
24725 cat >>conftest.$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24727
24728 int
24729 main ()
24730 {
24731
24732 #ifndef __STDC_EXT__
24733 choke me
24734 #endif
24735
24736 ;
24737 return 0;
24738 }
24739 _ACEOF
24740 rm -f conftest.$ac_objext
24741 if { (ac_try="$ac_compile"
24742 case "(($ac_try" in
24743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24744 *) ac_try_echo=$ac_try;;
24745 esac
24746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24747 (eval "$ac_compile") 2>conftest.er1
24748 ac_status=$?
24749 grep -v '^ *+' conftest.er1 >conftest.err
24750 rm -f conftest.er1
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } && {
24754 test -z "$ac_cxx_werror_flag" ||
24755 test ! -s conftest.err
24756 } && test -s conftest.$ac_objext; then
24757 wx_cv_STDC_EXT_required=no
24758 else
24759 echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.$ac_ext >&5
24761
24762 wx_cv_STDC_EXT_required=yes
24763
24764 fi
24765
24766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24767 ac_ext=c
24768 ac_cpp='$CPP $CPPFLAGS'
24769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24772
24773
24774
24775 fi
24776 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24777 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24778 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24779 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24780 fi
24781 fi
24782 fi
24783
24784 ac_ext=cpp
24785 ac_cpp='$CXXCPP $CPPFLAGS'
24786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24789
24790 old_CPPFLAGS="$CPPFLAGS"
24791 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24792 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24793 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24794 if test "${ac_cv_sys_largefile_source+set}" = set; then
24795 echo $ECHO_N "(cached) $ECHO_C" >&6
24796 else
24797 while :; do
24798 cat >conftest.$ac_ext <<_ACEOF
24799 /* confdefs.h. */
24800 _ACEOF
24801 cat confdefs.h >>conftest.$ac_ext
24802 cat >>conftest.$ac_ext <<_ACEOF
24803 /* end confdefs.h. */
24804 #include <stdio.h>
24805 int
24806 main ()
24807 {
24808 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24809 ;
24810 return 0;
24811 }
24812 _ACEOF
24813 rm -f conftest.$ac_objext conftest$ac_exeext
24814 if { (ac_try="$ac_link"
24815 case "(($ac_try" in
24816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24817 *) ac_try_echo=$ac_try;;
24818 esac
24819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24820 (eval "$ac_link") 2>conftest.er1
24821 ac_status=$?
24822 grep -v '^ *+' conftest.er1 >conftest.err
24823 rm -f conftest.er1
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } && {
24827 test -z "$ac_cxx_werror_flag" ||
24828 test ! -s conftest.err
24829 } && test -s conftest$ac_exeext &&
24830 $as_test_x conftest$ac_exeext; then
24831 ac_cv_sys_largefile_source=no; break
24832 else
24833 echo "$as_me: failed program was:" >&5
24834 sed 's/^/| /' conftest.$ac_ext >&5
24835
24836
24837 fi
24838
24839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24840 conftest$ac_exeext conftest.$ac_ext
24841 cat >conftest.$ac_ext <<_ACEOF
24842 /* confdefs.h. */
24843 _ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847 #define _LARGEFILE_SOURCE 1
24848 #include <stdio.h>
24849 int
24850 main ()
24851 {
24852 return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
24853 ;
24854 return 0;
24855 }
24856 _ACEOF
24857 rm -f conftest.$ac_objext conftest$ac_exeext
24858 if { (ac_try="$ac_link"
24859 case "(($ac_try" in
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24861 *) ac_try_echo=$ac_try;;
24862 esac
24863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24864 (eval "$ac_link") 2>conftest.er1
24865 ac_status=$?
24866 grep -v '^ *+' conftest.er1 >conftest.err
24867 rm -f conftest.er1
24868 cat conftest.err >&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } && {
24871 test -z "$ac_cxx_werror_flag" ||
24872 test ! -s conftest.err
24873 } && test -s conftest$ac_exeext &&
24874 $as_test_x conftest$ac_exeext; then
24875 ac_cv_sys_largefile_source=1; break
24876 else
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.$ac_ext >&5
24879
24880
24881 fi
24882
24883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24884 conftest$ac_exeext conftest.$ac_ext
24885 ac_cv_sys_largefile_source=unknown
24886 break
24887 done
24888 fi
24889 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24890 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24891 case $ac_cv_sys_largefile_source in #(
24892 no | unknown) ;;
24893 *)
24894 cat >>confdefs.h <<_ACEOF
24895 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24896 _ACEOF
24897 ;;
24898 esac
24899 rm -f conftest*
24900
24901 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24902 # in glibc 2.1.3, but that breaks too many other things.
24903 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24904 if test $ac_cv_sys_largefile_source != unknown; then
24905
24906 cat >>confdefs.h <<\_ACEOF
24907 #define HAVE_FSEEKO 1
24908 _ACEOF
24909
24910 fi
24911
24912 CPPFLAGS="$old_CPPFLAGS"
24913 ac_ext=c
24914 ac_cpp='$CPP $CPPFLAGS'
24915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24918
24919 if test "$ac_cv_sys_largefile_source" != no; then
24920 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24921 fi
24922
24923 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24924 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24925 if test "${ac_cv_c_bigendian+set}" = set; then
24926 echo $ECHO_N "(cached) $ECHO_C" >&6
24927 else
24928 ac_cv_c_bigendian=unknown
24929 # See if sys/param.h defines the BYTE_ORDER macro.
24930 cat >conftest.$ac_ext <<_ACEOF
24931 /* confdefs.h. */
24932 _ACEOF
24933 cat confdefs.h >>conftest.$ac_ext
24934 cat >>conftest.$ac_ext <<_ACEOF
24935 /* end confdefs.h. */
24936 #include <sys/types.h>
24937 #include <sys/param.h>
24938 int
24939 main ()
24940 {
24941
24942 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24943 bogus endian macros
24944 #endif
24945 ;
24946 return 0;
24947 }
24948 _ACEOF
24949 rm -f conftest.$ac_objext
24950 if { (ac_try="$ac_compile"
24951 case "(($ac_try" in
24952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24953 *) ac_try_echo=$ac_try;;
24954 esac
24955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24956 (eval "$ac_compile") 2>conftest.er1
24957 ac_status=$?
24958 grep -v '^ *+' conftest.er1 >conftest.err
24959 rm -f conftest.er1
24960 cat conftest.err >&5
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); } && {
24963 test -z "$ac_c_werror_flag" ||
24964 test ! -s conftest.err
24965 } && test -s conftest.$ac_objext; then
24966 # It does; now see whether it defined to BIG_ENDIAN or not.
24967 cat >conftest.$ac_ext <<_ACEOF
24968 /* confdefs.h. */
24969 _ACEOF
24970 cat confdefs.h >>conftest.$ac_ext
24971 cat >>conftest.$ac_ext <<_ACEOF
24972 /* end confdefs.h. */
24973 #include <sys/types.h>
24974 #include <sys/param.h>
24975 int
24976 main ()
24977 {
24978
24979 #if BYTE_ORDER != BIG_ENDIAN
24980 not big endian
24981 #endif
24982 ;
24983 return 0;
24984 }
24985 _ACEOF
24986 rm -f conftest.$ac_objext
24987 if { (ac_try="$ac_compile"
24988 case "(($ac_try" in
24989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24990 *) ac_try_echo=$ac_try;;
24991 esac
24992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24993 (eval "$ac_compile") 2>conftest.er1
24994 ac_status=$?
24995 grep -v '^ *+' conftest.er1 >conftest.err
24996 rm -f conftest.er1
24997 cat conftest.err >&5
24998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24999 (exit $ac_status); } && {
25000 test -z "$ac_c_werror_flag" ||
25001 test ! -s conftest.err
25002 } && test -s conftest.$ac_objext; then
25003 ac_cv_c_bigendian=yes
25004 else
25005 echo "$as_me: failed program was:" >&5
25006 sed 's/^/| /' conftest.$ac_ext >&5
25007
25008 ac_cv_c_bigendian=no
25009 fi
25010
25011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25012 else
25013 echo "$as_me: failed program was:" >&5
25014 sed 's/^/| /' conftest.$ac_ext >&5
25015
25016
25017 fi
25018
25019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25020 if test $ac_cv_c_bigendian = unknown; then
25021 if test "$cross_compiling" = yes; then
25022 ac_cv_c_bigendian=unknown
25023 else
25024 cat >conftest.$ac_ext <<_ACEOF
25025 /* confdefs.h. */
25026 _ACEOF
25027 cat confdefs.h >>conftest.$ac_ext
25028 cat >>conftest.$ac_ext <<_ACEOF
25029 /* end confdefs.h. */
25030 main () {
25031 /* Are we little or big endian? From Harbison&Steele. */
25032 union
25033 {
25034 long l;
25035 char c[sizeof (long)];
25036 } u;
25037 u.l = 1;
25038 exit (u.c[sizeof (long) - 1] == 1);
25039 }
25040 _ACEOF
25041 rm -f conftest$ac_exeext
25042 if { (ac_try="$ac_link"
25043 case "(($ac_try" in
25044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25045 *) ac_try_echo=$ac_try;;
25046 esac
25047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25048 (eval "$ac_link") 2>&5
25049 ac_status=$?
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25052 { (case "(($ac_try" in
25053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25054 *) ac_try_echo=$ac_try;;
25055 esac
25056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25057 (eval "$ac_try") 2>&5
25058 ac_status=$?
25059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25060 (exit $ac_status); }; }; then
25061 ac_cv_c_bigendian=no
25062 else
25063 echo "$as_me: program exited with status $ac_status" >&5
25064 echo "$as_me: failed program was:" >&5
25065 sed 's/^/| /' conftest.$ac_ext >&5
25066
25067 ( exit $ac_status )
25068 ac_cv_c_bigendian=yes
25069 fi
25070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25071 fi
25072
25073
25074 fi
25075 fi
25076 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25077 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25078 if test $ac_cv_c_bigendian = unknown; then
25079 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25080 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25081 fi
25082 if test $ac_cv_c_bigendian = yes; then
25083 cat >>confdefs.h <<\_ACEOF
25084 #define WORDS_BIGENDIAN 1
25085 _ACEOF
25086
25087 fi
25088
25089
25090
25091
25092 ac_ext=cpp
25093 ac_cpp='$CXXCPP $CPPFLAGS'
25094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25097
25098
25099
25100 for ac_header in iostream
25101 do
25102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25103 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25106 echo $ECHO_N "(cached) $ECHO_C" >&6
25107 else
25108 cat >conftest.$ac_ext <<_ACEOF
25109 /* confdefs.h. */
25110 _ACEOF
25111 cat confdefs.h >>conftest.$ac_ext
25112 cat >>conftest.$ac_ext <<_ACEOF
25113 /* end confdefs.h. */
25114
25115
25116 #include <$ac_header>
25117 _ACEOF
25118 rm -f conftest.$ac_objext
25119 if { (ac_try="$ac_compile"
25120 case "(($ac_try" in
25121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25122 *) ac_try_echo=$ac_try;;
25123 esac
25124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25125 (eval "$ac_compile") 2>conftest.er1
25126 ac_status=$?
25127 grep -v '^ *+' conftest.er1 >conftest.err
25128 rm -f conftest.er1
25129 cat conftest.err >&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } && {
25132 test -z "$ac_cxx_werror_flag" ||
25133 test ! -s conftest.err
25134 } && test -s conftest.$ac_objext; then
25135 eval "$as_ac_Header=yes"
25136 else
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.$ac_ext >&5
25139
25140 eval "$as_ac_Header=no"
25141 fi
25142
25143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25144 fi
25145 ac_res=`eval echo '${'$as_ac_Header'}'`
25146 { echo "$as_me:$LINENO: result: $ac_res" >&5
25147 echo "${ECHO_T}$ac_res" >&6; }
25148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25149 cat >>confdefs.h <<_ACEOF
25150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25151 _ACEOF
25152
25153 fi
25154
25155 done
25156
25157
25158 if test "$ac_cv_header_iostream" = "yes" ; then
25159 :
25160 else
25161 cat >>confdefs.h <<\_ACEOF
25162 #define wxUSE_IOSTREAMH 1
25163 _ACEOF
25164
25165 fi
25166
25167 ac_ext=c
25168 ac_cpp='$CPP $CPPFLAGS'
25169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25172
25173
25174
25175
25176 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25177 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25178 if test "${wx_cv_explicit+set}" = set; then
25179 echo $ECHO_N "(cached) $ECHO_C" >&6
25180 else
25181
25182
25183 ac_ext=cpp
25184 ac_cpp='$CXXCPP $CPPFLAGS'
25185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25188
25189
25190 cat >conftest.$ac_ext <<_ACEOF
25191 /* confdefs.h. */
25192 _ACEOF
25193 cat confdefs.h >>conftest.$ac_ext
25194 cat >>conftest.$ac_ext <<_ACEOF
25195 /* end confdefs.h. */
25196
25197 class Foo { public: explicit Foo(int) {} };
25198
25199 int
25200 main ()
25201 {
25202
25203 return 0;
25204
25205 ;
25206 return 0;
25207 }
25208 _ACEOF
25209 rm -f conftest.$ac_objext
25210 if { (ac_try="$ac_compile"
25211 case "(($ac_try" in
25212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25213 *) ac_try_echo=$ac_try;;
25214 esac
25215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25216 (eval "$ac_compile") 2>conftest.er1
25217 ac_status=$?
25218 grep -v '^ *+' conftest.er1 >conftest.err
25219 rm -f conftest.er1
25220 cat conftest.err >&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); } && {
25223 test -z "$ac_cxx_werror_flag" ||
25224 test ! -s conftest.err
25225 } && test -s conftest.$ac_objext; then
25226
25227 cat >conftest.$ac_ext <<_ACEOF
25228 /* confdefs.h. */
25229 _ACEOF
25230 cat confdefs.h >>conftest.$ac_ext
25231 cat >>conftest.$ac_ext <<_ACEOF
25232 /* end confdefs.h. */
25233
25234 class Foo { public: explicit Foo(int) {} };
25235 static void TakeFoo(const Foo& foo) { }
25236
25237 int
25238 main ()
25239 {
25240
25241 TakeFoo(17);
25242 return 0;
25243
25244 ;
25245 return 0;
25246 }
25247 _ACEOF
25248 rm -f conftest.$ac_objext
25249 if { (ac_try="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25252 *) ac_try_echo=$ac_try;;
25253 esac
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25256 ac_status=$?
25257 grep -v '^ *+' conftest.er1 >conftest.err
25258 rm -f conftest.er1
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_cxx_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.$ac_objext; then
25265 wx_cv_explicit=no
25266 else
25267 echo "$as_me: failed program was:" >&5
25268 sed 's/^/| /' conftest.$ac_ext >&5
25269
25270 wx_cv_explicit=yes
25271
25272 fi
25273
25274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25275
25276 else
25277 echo "$as_me: failed program was:" >&5
25278 sed 's/^/| /' conftest.$ac_ext >&5
25279
25280 wx_cv_explicit=no
25281
25282 fi
25283
25284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25285
25286 ac_ext=c
25287 ac_cpp='$CPP $CPPFLAGS'
25288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25291
25292
25293 fi
25294 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25295 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25296
25297 if test "$wx_cv_explicit" = "yes"; then
25298 cat >>confdefs.h <<\_ACEOF
25299 #define HAVE_EXPLICIT 1
25300 _ACEOF
25301
25302 fi
25303
25304
25305 if test "x$SUNCXX" = xyes; then
25306 CXXFLAGS="-features=tmplife $CXXFLAGS"
25307 fi
25308
25309 if test "x$SUNCC" = xyes; then
25310 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25311 fi
25312
25313 if test "x$SGICC" = "xyes"; then
25314 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25315 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25316 if test "${wx_cv_prog_sgicc744+set}" = set; then
25317 echo $ECHO_N "(cached) $ECHO_C" >&6
25318 else
25319
25320 cat >conftest.$ac_ext <<_ACEOF
25321 /* confdefs.h. */
25322 _ACEOF
25323 cat confdefs.h >>conftest.$ac_ext
25324 cat >>conftest.$ac_ext <<_ACEOF
25325 /* end confdefs.h. */
25326
25327 int
25328 main ()
25329 {
25330
25331 #if _SGI_COMPILER_VERSION >= 744
25332 chock me: mipsPro is 7.4.4 or later
25333 #endif
25334
25335 ;
25336 return 0;
25337 }
25338 _ACEOF
25339 rm -f conftest.$ac_objext
25340 if { (ac_try="$ac_compile"
25341 case "(($ac_try" in
25342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25343 *) ac_try_echo=$ac_try;;
25344 esac
25345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25346 (eval "$ac_compile") 2>conftest.er1
25347 ac_status=$?
25348 grep -v '^ *+' conftest.er1 >conftest.err
25349 rm -f conftest.er1
25350 cat conftest.err >&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); } && {
25353 test -z "$ac_c_werror_flag" ||
25354 test ! -s conftest.err
25355 } && test -s conftest.$ac_objext; then
25356 wx_cv_prog_sgicc744=no
25357 else
25358 echo "$as_me: failed program was:" >&5
25359 sed 's/^/| /' conftest.$ac_ext >&5
25360
25361 wx_cv_prog_sgicc744=yes
25362
25363 fi
25364
25365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25366
25367
25368 fi
25369 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25370 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25371
25372 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25373 CFLAGS="-woff 3970 $CFLAGS"
25374 fi
25375 fi
25376 if test "x$SGICXX" = "xyes"; then
25377 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25378 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25379 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25380 echo $ECHO_N "(cached) $ECHO_C" >&6
25381 else
25382
25383 ac_ext=cpp
25384 ac_cpp='$CXXCPP $CPPFLAGS'
25385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25388
25389 cat >conftest.$ac_ext <<_ACEOF
25390 /* confdefs.h. */
25391 _ACEOF
25392 cat confdefs.h >>conftest.$ac_ext
25393 cat >>conftest.$ac_ext <<_ACEOF
25394 /* end confdefs.h. */
25395
25396 int
25397 main ()
25398 {
25399
25400 #if _SGI_COMPILER_VERSION >= 744
25401 chock me: mipsPro is 7.4.4 or later
25402 #endif
25403
25404 ;
25405 return 0;
25406 }
25407 _ACEOF
25408 rm -f conftest.$ac_objext
25409 if { (ac_try="$ac_compile"
25410 case "(($ac_try" in
25411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25412 *) ac_try_echo=$ac_try;;
25413 esac
25414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25415 (eval "$ac_compile") 2>conftest.er1
25416 ac_status=$?
25417 grep -v '^ *+' conftest.er1 >conftest.err
25418 rm -f conftest.er1
25419 cat conftest.err >&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } && {
25422 test -z "$ac_cxx_werror_flag" ||
25423 test ! -s conftest.err
25424 } && test -s conftest.$ac_objext; then
25425 wx_cv_prog_sgicxx744=no
25426 else
25427 echo "$as_me: failed program was:" >&5
25428 sed 's/^/| /' conftest.$ac_ext >&5
25429
25430 wx_cv_prog_sgicxx744=yes
25431
25432 fi
25433
25434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25435 ac_ext=c
25436 ac_cpp='$CPP $CPPFLAGS'
25437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25440
25441
25442
25443 fi
25444 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25445 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25446
25447 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25448 CXXFLAGS="-woff 3970 $CXXFLAGS"
25449 fi
25450 fi
25451
25452 if test "x$HPCC" = "xyes"; then
25453 CFLAGS="+W 2011,2450 $CFLAGS"
25454 fi
25455 if test "x$HPCXX" = "xyes"; then
25456 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25457 fi
25458
25459 if test "x$COMPAQCXX" = "xyes"; then
25460 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25461 fi
25462
25463 ac_ext=cpp
25464 ac_cpp='$CXXCPP $CPPFLAGS'
25465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25468
25469
25470 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25471 if test "$wxUSE_UNICODE" = "yes"; then
25472 std_string="std::wstring"
25473 char_type="wchar_t"
25474 else
25475 std_string="std::string"
25476 char_type="char"
25477 fi
25478
25479 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25480 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25481 if test "${wx_cv_class_stdstring+set}" = set; then
25482 echo $ECHO_N "(cached) $ECHO_C" >&6
25483 else
25484
25485 cat >conftest.$ac_ext <<_ACEOF
25486 /* confdefs.h. */
25487 _ACEOF
25488 cat confdefs.h >>conftest.$ac_ext
25489 cat >>conftest.$ac_ext <<_ACEOF
25490 /* end confdefs.h. */
25491 #include <string>
25492 int
25493 main ()
25494 {
25495 $std_string foo;
25496 ;
25497 return 0;
25498 }
25499 _ACEOF
25500 rm -f conftest.$ac_objext
25501 if { (ac_try="$ac_compile"
25502 case "(($ac_try" in
25503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25504 *) ac_try_echo=$ac_try;;
25505 esac
25506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25507 (eval "$ac_compile") 2>conftest.er1
25508 ac_status=$?
25509 grep -v '^ *+' conftest.er1 >conftest.err
25510 rm -f conftest.er1
25511 cat conftest.err >&5
25512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513 (exit $ac_status); } && {
25514 test -z "$ac_cxx_werror_flag" ||
25515 test ! -s conftest.err
25516 } && test -s conftest.$ac_objext; then
25517 wx_cv_class_stdstring=yes
25518 else
25519 echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.$ac_ext >&5
25521
25522 wx_cv_class_stdstring=no
25523
25524 fi
25525
25526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25527
25528
25529 fi
25530 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25531 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25532
25533 if test "$wx_cv_class_stdstring" = yes; then
25534 if test "$wxUSE_UNICODE" = "yes"; then
25535 cat >>confdefs.h <<\_ACEOF
25536 #define HAVE_STD_WSTRING 1
25537 _ACEOF
25538
25539 fi
25540 else
25541 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25542 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25543 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 else
25546
25547 cat >conftest.$ac_ext <<_ACEOF
25548 /* confdefs.h. */
25549 _ACEOF
25550 cat confdefs.h >>conftest.$ac_ext
25551 cat >>conftest.$ac_ext <<_ACEOF
25552 /* end confdefs.h. */
25553
25554 #ifdef HAVE_WCHAR_H
25555 # ifdef __CYGWIN__
25556 # include <stddef.h>
25557 # endif
25558 # include <wchar.h>
25559 #endif
25560 #ifdef HAVE_STDLIB_H
25561 # include <stdlib.h>
25562 #endif
25563 #include <stdio.h>
25564 #include <string>
25565
25566 int
25567 main ()
25568 {
25569 std::basic_string<$char_type> foo;
25570 const $char_type* dummy = foo.c_str();
25571 ;
25572 return 0;
25573 }
25574 _ACEOF
25575 rm -f conftest.$ac_objext
25576 if { (ac_try="$ac_compile"
25577 case "(($ac_try" in
25578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25579 *) ac_try_echo=$ac_try;;
25580 esac
25581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25582 (eval "$ac_compile") 2>conftest.er1
25583 ac_status=$?
25584 grep -v '^ *+' conftest.er1 >conftest.err
25585 rm -f conftest.er1
25586 cat conftest.err >&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } && {
25589 test -z "$ac_cxx_werror_flag" ||
25590 test ! -s conftest.err
25591 } && test -s conftest.$ac_objext; then
25592 wx_cv_class_stdbasicstring=yes
25593 else
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.$ac_ext >&5
25596
25597 wx_cv_class_stdbasicstring=no
25598
25599 fi
25600
25601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25602
25603
25604 fi
25605 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25606 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25607
25608 if test "$wx_cv_class_stdbasicstring" != yes; then
25609 if test "$wxUSE_STL" = "yes"; then
25610 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25611 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25612 { (exit 1); exit 1; }; }
25613 elif test "$wxUSE_STD_STRING" = "yes"; then
25614 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25615 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25616 { (exit 1); exit 1; }; }
25617 else
25618 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25619 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25620 wxUSE_STD_STRING=no
25621 fi
25622 fi
25623 fi
25624 fi
25625
25626 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25627 { echo "$as_me:$LINENO: checking for std::istream" >&5
25628 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25629 if test "${ac_cv_type_std__istream+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25631 else
25632 cat >conftest.$ac_ext <<_ACEOF
25633 /* confdefs.h. */
25634 _ACEOF
25635 cat confdefs.h >>conftest.$ac_ext
25636 cat >>conftest.$ac_ext <<_ACEOF
25637 /* end confdefs.h. */
25638 #include <iostream>
25639
25640 typedef std::istream ac__type_new_;
25641 int
25642 main ()
25643 {
25644 if ((ac__type_new_ *) 0)
25645 return 0;
25646 if (sizeof (ac__type_new_))
25647 return 0;
25648 ;
25649 return 0;
25650 }
25651 _ACEOF
25652 rm -f conftest.$ac_objext
25653 if { (ac_try="$ac_compile"
25654 case "(($ac_try" in
25655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25656 *) ac_try_echo=$ac_try;;
25657 esac
25658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25659 (eval "$ac_compile") 2>conftest.er1
25660 ac_status=$?
25661 grep -v '^ *+' conftest.er1 >conftest.err
25662 rm -f conftest.er1
25663 cat conftest.err >&5
25664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25665 (exit $ac_status); } && {
25666 test -z "$ac_cxx_werror_flag" ||
25667 test ! -s conftest.err
25668 } && test -s conftest.$ac_objext; then
25669 ac_cv_type_std__istream=yes
25670 else
25671 echo "$as_me: failed program was:" >&5
25672 sed 's/^/| /' conftest.$ac_ext >&5
25673
25674 ac_cv_type_std__istream=no
25675 fi
25676
25677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25678 fi
25679 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25680 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25681 if test $ac_cv_type_std__istream = yes; then
25682
25683 cat >>confdefs.h <<_ACEOF
25684 #define HAVE_STD__ISTREAM 1
25685 _ACEOF
25686
25687
25688 else
25689 wxUSE_STD_IOSTREAM=no
25690 fi
25691 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25692 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25693 if test "${ac_cv_type_std__ostream+set}" = set; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25695 else
25696 cat >conftest.$ac_ext <<_ACEOF
25697 /* confdefs.h. */
25698 _ACEOF
25699 cat confdefs.h >>conftest.$ac_ext
25700 cat >>conftest.$ac_ext <<_ACEOF
25701 /* end confdefs.h. */
25702 #include <iostream>
25703
25704 typedef std::ostream ac__type_new_;
25705 int
25706 main ()
25707 {
25708 if ((ac__type_new_ *) 0)
25709 return 0;
25710 if (sizeof (ac__type_new_))
25711 return 0;
25712 ;
25713 return 0;
25714 }
25715 _ACEOF
25716 rm -f conftest.$ac_objext
25717 if { (ac_try="$ac_compile"
25718 case "(($ac_try" in
25719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25720 *) ac_try_echo=$ac_try;;
25721 esac
25722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25723 (eval "$ac_compile") 2>conftest.er1
25724 ac_status=$?
25725 grep -v '^ *+' conftest.er1 >conftest.err
25726 rm -f conftest.er1
25727 cat conftest.err >&5
25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25729 (exit $ac_status); } && {
25730 test -z "$ac_cxx_werror_flag" ||
25731 test ! -s conftest.err
25732 } && test -s conftest.$ac_objext; then
25733 ac_cv_type_std__ostream=yes
25734 else
25735 echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.$ac_ext >&5
25737
25738 ac_cv_type_std__ostream=no
25739 fi
25740
25741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25742 fi
25743 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25744 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25745 if test $ac_cv_type_std__ostream = yes; then
25746
25747 cat >>confdefs.h <<_ACEOF
25748 #define HAVE_STD__OSTREAM 1
25749 _ACEOF
25750
25751
25752 else
25753 wxUSE_STD_IOSTREAM=no
25754 fi
25755
25756
25757 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25758 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25759 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25760 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25761 { (exit 1); exit 1; }; }
25762 else
25763 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25764 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25765 fi
25766 fi
25767 fi
25768
25769 if test "$wxUSE_STL" = "yes"; then
25770 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25771 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25772 if test "${wx_cv_lib_stl+set}" = set; then
25773 echo $ECHO_N "(cached) $ECHO_C" >&6
25774 else
25775 cat >conftest.$ac_ext <<_ACEOF
25776 /* confdefs.h. */
25777 _ACEOF
25778 cat confdefs.h >>conftest.$ac_ext
25779 cat >>conftest.$ac_ext <<_ACEOF
25780 /* end confdefs.h. */
25781 #include <string>
25782 #include <functional>
25783 #include <algorithm>
25784 #include <vector>
25785 #include <list>
25786 int
25787 main ()
25788 {
25789 std::vector<int> moo;
25790 std::list<int> foo;
25791 std::vector<int>::iterator it =
25792 std::find_if(moo.begin(), moo.end(),
25793 std::bind2nd(std::less<int>(), 3));
25794 ;
25795 return 0;
25796 }
25797 _ACEOF
25798 rm -f conftest.$ac_objext
25799 if { (ac_try="$ac_compile"
25800 case "(($ac_try" in
25801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25802 *) ac_try_echo=$ac_try;;
25803 esac
25804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25805 (eval "$ac_compile") 2>conftest.er1
25806 ac_status=$?
25807 grep -v '^ *+' conftest.er1 >conftest.err
25808 rm -f conftest.er1
25809 cat conftest.err >&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); } && {
25812 test -z "$ac_cxx_werror_flag" ||
25813 test ! -s conftest.err
25814 } && test -s conftest.$ac_objext; then
25815 wx_cv_lib_stl=yes
25816 else
25817 echo "$as_me: failed program was:" >&5
25818 sed 's/^/| /' conftest.$ac_ext >&5
25819
25820 wx_cv_lib_stl=no
25821
25822 fi
25823
25824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25825
25826 fi
25827 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25828 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25829
25830 if test "$wx_cv_lib_stl" != yes; then
25831 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25832 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25833 { (exit 1); exit 1; }; }
25834 fi
25835
25836 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25837 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25838 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25839 echo $ECHO_N "(cached) $ECHO_C" >&6
25840 else
25841 cat >conftest.$ac_ext <<_ACEOF
25842 /* confdefs.h. */
25843 _ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25847 #include <string>
25848 int
25849 main ()
25850 {
25851 std::string foo, bar;
25852 foo.compare(bar);
25853 foo.compare(1, 1, bar);
25854 foo.compare(1, 1, bar, 1, 1);
25855 foo.compare("");
25856 foo.compare(1, 1, "");
25857 foo.compare(1, 1, "", 2);
25858 ;
25859 return 0;
25860 }
25861 _ACEOF
25862 rm -f conftest.$ac_objext
25863 if { (ac_try="$ac_compile"
25864 case "(($ac_try" in
25865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25866 *) ac_try_echo=$ac_try;;
25867 esac
25868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25869 (eval "$ac_compile") 2>conftest.er1
25870 ac_status=$?
25871 grep -v '^ *+' conftest.er1 >conftest.err
25872 rm -f conftest.er1
25873 cat conftest.err >&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } && {
25876 test -z "$ac_cxx_werror_flag" ||
25877 test ! -s conftest.err
25878 } && test -s conftest.$ac_objext; then
25879 wx_cv_func_stdstring_compare=yes
25880 else
25881 echo "$as_me: failed program was:" >&5
25882 sed 's/^/| /' conftest.$ac_ext >&5
25883
25884 wx_cv_func_stdstring_compare=no
25885
25886 fi
25887
25888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25889
25890 fi
25891 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25892 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25893
25894 if test "$wx_cv_func_stdstring_compare" = yes; then
25895 cat >>confdefs.h <<\_ACEOF
25896 #define HAVE_STD_STRING_COMPARE 1
25897 _ACEOF
25898
25899 fi
25900
25901 if test "$wx_cv_class_gnuhashmapset" = yes; then
25902 cat >>confdefs.h <<\_ACEOF
25903 #define HAVE_EXT_HASH_MAP 1
25904 _ACEOF
25905
25906 cat >>confdefs.h <<\_ACEOF
25907 #define HAVE_GNU_CXX_HASH_MAP 1
25908 _ACEOF
25909
25910 fi
25911
25912 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25913 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25914 if test "${ac_cv_header_unordered_map+set}" = set; then
25915 echo $ECHO_N "(cached) $ECHO_C" >&6
25916 else
25917 cat >conftest.$ac_ext <<_ACEOF
25918 /* confdefs.h. */
25919 _ACEOF
25920 cat confdefs.h >>conftest.$ac_ext
25921 cat >>conftest.$ac_ext <<_ACEOF
25922 /* end confdefs.h. */
25923
25924
25925
25926 #include <unordered_map>
25927 _ACEOF
25928 rm -f conftest.$ac_objext
25929 if { (ac_try="$ac_compile"
25930 case "(($ac_try" in
25931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25932 *) ac_try_echo=$ac_try;;
25933 esac
25934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25935 (eval "$ac_compile") 2>conftest.er1
25936 ac_status=$?
25937 grep -v '^ *+' conftest.er1 >conftest.err
25938 rm -f conftest.er1
25939 cat conftest.err >&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } && {
25942 test -z "$ac_cxx_werror_flag" ||
25943 test ! -s conftest.err
25944 } && test -s conftest.$ac_objext; then
25945 ac_cv_header_unordered_map=yes
25946 else
25947 echo "$as_me: failed program was:" >&5
25948 sed 's/^/| /' conftest.$ac_ext >&5
25949
25950 ac_cv_header_unordered_map=no
25951 fi
25952
25953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25954 fi
25955 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25956 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25957 if test $ac_cv_header_unordered_map = yes; then
25958 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25959 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25960 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25961 echo $ECHO_N "(cached) $ECHO_C" >&6
25962 else
25963 cat >conftest.$ac_ext <<_ACEOF
25964 /* confdefs.h. */
25965 _ACEOF
25966 cat confdefs.h >>conftest.$ac_ext
25967 cat >>conftest.$ac_ext <<_ACEOF
25968 /* end confdefs.h. */
25969 #include <unordered_map>
25970 #include <unordered_set>
25971 int
25972 main ()
25973 {
25974 std::unordered_map<double*, char*> test1;
25975 std::unordered_set<char*> test2;
25976 ;
25977 return 0;
25978 }
25979 _ACEOF
25980 rm -f conftest.$ac_objext
25981 if { (ac_try="$ac_compile"
25982 case "(($ac_try" in
25983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25984 *) ac_try_echo=$ac_try;;
25985 esac
25986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25987 (eval "$ac_compile") 2>conftest.er1
25988 ac_status=$?
25989 grep -v '^ *+' conftest.er1 >conftest.err
25990 rm -f conftest.er1
25991 cat conftest.err >&5
25992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25993 (exit $ac_status); } && {
25994 test -z "$ac_cxx_werror_flag" ||
25995 test ! -s conftest.err
25996 } && test -s conftest.$ac_objext; then
25997 wx_cv_class_stdunorderedmapset=yes
25998 else
25999 echo "$as_me: failed program was:" >&5
26000 sed 's/^/| /' conftest.$ac_ext >&5
26001
26002 wx_cv_class_stdunorderedmapset=no
26003 fi
26004
26005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26006
26007
26008 fi
26009 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26010 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26011 fi
26012
26013
26014
26015 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26016 cat >>confdefs.h <<\_ACEOF
26017 #define HAVE_STD_UNORDERED_MAP 1
26018 _ACEOF
26019
26020 cat >>confdefs.h <<\_ACEOF
26021 #define HAVE_STD_UNORDERED_SET 1
26022 _ACEOF
26023
26024 else
26025 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26026 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26027 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26028 echo $ECHO_N "(cached) $ECHO_C" >&6
26029 else
26030 cat >conftest.$ac_ext <<_ACEOF
26031 /* confdefs.h. */
26032 _ACEOF
26033 cat confdefs.h >>conftest.$ac_ext
26034 cat >>conftest.$ac_ext <<_ACEOF
26035 /* end confdefs.h. */
26036
26037
26038
26039 #include <tr1/unordered_map>
26040 _ACEOF
26041 rm -f conftest.$ac_objext
26042 if { (ac_try="$ac_compile"
26043 case "(($ac_try" in
26044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26045 *) ac_try_echo=$ac_try;;
26046 esac
26047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26048 (eval "$ac_compile") 2>conftest.er1
26049 ac_status=$?
26050 grep -v '^ *+' conftest.er1 >conftest.err
26051 rm -f conftest.er1
26052 cat conftest.err >&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } && {
26055 test -z "$ac_cxx_werror_flag" ||
26056 test ! -s conftest.err
26057 } && test -s conftest.$ac_objext; then
26058 ac_cv_header_tr1_unordered_map=yes
26059 else
26060 echo "$as_me: failed program was:" >&5
26061 sed 's/^/| /' conftest.$ac_ext >&5
26062
26063 ac_cv_header_tr1_unordered_map=no
26064 fi
26065
26066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26067 fi
26068 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26069 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26070 if test $ac_cv_header_tr1_unordered_map = yes; then
26071 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26072 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26073 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26074 echo $ECHO_N "(cached) $ECHO_C" >&6
26075 else
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 <tr1/unordered_map>
26083 #include <tr1/unordered_set>
26084 int
26085 main ()
26086 {
26087 std::tr1::unordered_map<double*, char*> test1;
26088 std::tr1::unordered_set<char*> test2;
26089 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26090 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26091 #endif
26092 ;
26093 return 0;
26094 }
26095 _ACEOF
26096 rm -f conftest.$ac_objext
26097 if { (ac_try="$ac_compile"
26098 case "(($ac_try" in
26099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26100 *) ac_try_echo=$ac_try;;
26101 esac
26102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26103 (eval "$ac_compile") 2>conftest.er1
26104 ac_status=$?
26105 grep -v '^ *+' conftest.er1 >conftest.err
26106 rm -f conftest.er1
26107 cat conftest.err >&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); } && {
26110 test -z "$ac_cxx_werror_flag" ||
26111 test ! -s conftest.err
26112 } && test -s conftest.$ac_objext; then
26113 wx_cv_class_tr1unorderedmapset=yes
26114 else
26115 echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.$ac_ext >&5
26117
26118 wx_cv_class_tr1unorderedmapset=no
26119 fi
26120
26121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26122
26123
26124 fi
26125 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26126 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26127 fi
26128
26129
26130
26131 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26132 cat >>confdefs.h <<\_ACEOF
26133 #define HAVE_TR1_UNORDERED_MAP 1
26134 _ACEOF
26135
26136 cat >>confdefs.h <<\_ACEOF
26137 #define HAVE_TR1_UNORDERED_SET 1
26138 _ACEOF
26139
26140 else
26141 { echo "$as_me:$LINENO: checking for hash_map" >&5
26142 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26143 if test "${ac_cv_header_hash_map+set}" = set; then
26144 echo $ECHO_N "(cached) $ECHO_C" >&6
26145 else
26146 cat >conftest.$ac_ext <<_ACEOF
26147 /* confdefs.h. */
26148 _ACEOF
26149 cat confdefs.h >>conftest.$ac_ext
26150 cat >>conftest.$ac_ext <<_ACEOF
26151 /* end confdefs.h. */
26152
26153
26154
26155 #include <hash_map>
26156 _ACEOF
26157 rm -f conftest.$ac_objext
26158 if { (ac_try="$ac_compile"
26159 case "(($ac_try" in
26160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26161 *) ac_try_echo=$ac_try;;
26162 esac
26163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26164 (eval "$ac_compile") 2>conftest.er1
26165 ac_status=$?
26166 grep -v '^ *+' conftest.er1 >conftest.err
26167 rm -f conftest.er1
26168 cat conftest.err >&5
26169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26170 (exit $ac_status); } && {
26171 test -z "$ac_cxx_werror_flag" ||
26172 test ! -s conftest.err
26173 } && test -s conftest.$ac_objext; then
26174 ac_cv_header_hash_map=yes
26175 else
26176 echo "$as_me: failed program was:" >&5
26177 sed 's/^/| /' conftest.$ac_ext >&5
26178
26179 ac_cv_header_hash_map=no
26180 fi
26181
26182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26183 fi
26184 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26185 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26186 if test $ac_cv_header_hash_map = yes; then
26187 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26188 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26189 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26191 else
26192 cat >conftest.$ac_ext <<_ACEOF
26193 /* confdefs.h. */
26194 _ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26198 #include <hash_map>
26199 #include <hash_set>
26200 int
26201 main ()
26202 {
26203 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26204 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26205 ;
26206 return 0;
26207 }
26208 _ACEOF
26209 rm -f conftest.$ac_objext
26210 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest.$ac_objext; then
26226 wx_cv_class_stdhashmapset=yes
26227 else
26228 echo "$as_me: failed program was:" >&5
26229 sed 's/^/| /' conftest.$ac_ext >&5
26230
26231 wx_cv_class_stdhashmapset=no
26232 fi
26233
26234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26235
26236
26237 fi
26238 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26239 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26240 fi
26241
26242
26243
26244 if test "$wx_cv_class_stdhashmapset" = yes; then
26245 cat >>confdefs.h <<\_ACEOF
26246 #define HAVE_HASH_MAP 1
26247 _ACEOF
26248
26249 cat >>confdefs.h <<\_ACEOF
26250 #define HAVE_STD_HASH_MAP 1
26251 _ACEOF
26252
26253 fi
26254
26255 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26256 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26257 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26258 echo $ECHO_N "(cached) $ECHO_C" >&6
26259 else
26260 cat >conftest.$ac_ext <<_ACEOF
26261 /* confdefs.h. */
26262 _ACEOF
26263 cat confdefs.h >>conftest.$ac_ext
26264 cat >>conftest.$ac_ext <<_ACEOF
26265 /* end confdefs.h. */
26266
26267
26268
26269 #include <ext/hash_map>
26270 _ACEOF
26271 rm -f conftest.$ac_objext
26272 if { (ac_try="$ac_compile"
26273 case "(($ac_try" in
26274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26275 *) ac_try_echo=$ac_try;;
26276 esac
26277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26278 (eval "$ac_compile") 2>conftest.er1
26279 ac_status=$?
26280 grep -v '^ *+' conftest.er1 >conftest.err
26281 rm -f conftest.er1
26282 cat conftest.err >&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); } && {
26285 test -z "$ac_cxx_werror_flag" ||
26286 test ! -s conftest.err
26287 } && test -s conftest.$ac_objext; then
26288 ac_cv_header_ext_hash_map=yes
26289 else
26290 echo "$as_me: failed program was:" >&5
26291 sed 's/^/| /' conftest.$ac_ext >&5
26292
26293 ac_cv_header_ext_hash_map=no
26294 fi
26295
26296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26297 fi
26298 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26299 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26300 if test $ac_cv_header_ext_hash_map = yes; then
26301 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26302 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26303 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26304 echo $ECHO_N "(cached) $ECHO_C" >&6
26305 else
26306 cat >conftest.$ac_ext <<_ACEOF
26307 /* confdefs.h. */
26308 _ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26312 #include <ext/hash_map>
26313 #include <ext/hash_set>
26314 int
26315 main ()
26316 {
26317 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26318 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26319 ;
26320 return 0;
26321 }
26322 _ACEOF
26323 rm -f conftest.$ac_objext
26324 if { (ac_try="$ac_compile"
26325 case "(($ac_try" in
26326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26327 *) ac_try_echo=$ac_try;;
26328 esac
26329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26330 (eval "$ac_compile") 2>conftest.er1
26331 ac_status=$?
26332 grep -v '^ *+' conftest.er1 >conftest.err
26333 rm -f conftest.er1
26334 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } && {
26337 test -z "$ac_cxx_werror_flag" ||
26338 test ! -s conftest.err
26339 } && test -s conftest.$ac_objext; then
26340 wx_cv_class_gnuhashmapset=yes
26341 else
26342 echo "$as_me: failed program was:" >&5
26343 sed 's/^/| /' conftest.$ac_ext >&5
26344
26345 wx_cv_class_gnuhashmapset=no
26346 fi
26347
26348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26349
26350
26351 fi
26352 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26353 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26354 fi
26355
26356
26357
26358 fi
26359 fi
26360 fi
26361
26362 ac_ext=cpp
26363 ac_cpp='$CXXCPP $CPPFLAGS'
26364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26367 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26368 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26369 if test -z "$CXXCPP"; then
26370 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26371 echo $ECHO_N "(cached) $ECHO_C" >&6
26372 else
26373 # Double quotes because CXXCPP needs to be expanded
26374 for CXXCPP in "$CXX -E" "/lib/cpp"
26375 do
26376 ac_preproc_ok=false
26377 for ac_cxx_preproc_warn_flag in '' yes
26378 do
26379 # Use a header file that comes with gcc, so configuring glibc
26380 # with a fresh cross-compiler works.
26381 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26382 # <limits.h> exists even on freestanding compilers.
26383 # On the NeXT, cc -E runs the code through the compiler's parser,
26384 # not just through cpp. "Syntax error" is here to catch this case.
26385 cat >conftest.$ac_ext <<_ACEOF
26386 /* confdefs.h. */
26387 _ACEOF
26388 cat confdefs.h >>conftest.$ac_ext
26389 cat >>conftest.$ac_ext <<_ACEOF
26390 /* end confdefs.h. */
26391 #ifdef __STDC__
26392 # include <limits.h>
26393 #else
26394 # include <assert.h>
26395 #endif
26396 Syntax error
26397 _ACEOF
26398 if { (ac_try="$ac_cpp conftest.$ac_ext"
26399 case "(($ac_try" in
26400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26401 *) ac_try_echo=$ac_try;;
26402 esac
26403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26404 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26405 ac_status=$?
26406 grep -v '^ *+' conftest.er1 >conftest.err
26407 rm -f conftest.er1
26408 cat conftest.err >&5
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); } >/dev/null && {
26411 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26412 test ! -s conftest.err
26413 }; then
26414 :
26415 else
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.$ac_ext >&5
26418
26419 # Broken: fails on valid input.
26420 continue
26421 fi
26422
26423 rm -f conftest.err conftest.$ac_ext
26424
26425 # OK, works on sane cases. Now check whether nonexistent headers
26426 # can be detected and how.
26427 cat >conftest.$ac_ext <<_ACEOF
26428 /* confdefs.h. */
26429 _ACEOF
26430 cat confdefs.h >>conftest.$ac_ext
26431 cat >>conftest.$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26433 #include <ac_nonexistent.h>
26434 _ACEOF
26435 if { (ac_try="$ac_cpp conftest.$ac_ext"
26436 case "(($ac_try" in
26437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26438 *) ac_try_echo=$ac_try;;
26439 esac
26440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26442 ac_status=$?
26443 grep -v '^ *+' conftest.er1 >conftest.err
26444 rm -f conftest.er1
26445 cat conftest.err >&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); } >/dev/null && {
26448 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26449 test ! -s conftest.err
26450 }; then
26451 # Broken: success on invalid input.
26452 continue
26453 else
26454 echo "$as_me: failed program was:" >&5
26455 sed 's/^/| /' conftest.$ac_ext >&5
26456
26457 # Passes both tests.
26458 ac_preproc_ok=:
26459 break
26460 fi
26461
26462 rm -f conftest.err conftest.$ac_ext
26463
26464 done
26465 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26466 rm -f conftest.err conftest.$ac_ext
26467 if $ac_preproc_ok; then
26468 break
26469 fi
26470
26471 done
26472 ac_cv_prog_CXXCPP=$CXXCPP
26473
26474 fi
26475 CXXCPP=$ac_cv_prog_CXXCPP
26476 else
26477 ac_cv_prog_CXXCPP=$CXXCPP
26478 fi
26479 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26480 echo "${ECHO_T}$CXXCPP" >&6; }
26481 ac_preproc_ok=false
26482 for ac_cxx_preproc_warn_flag in '' yes
26483 do
26484 # Use a header file that comes with gcc, so configuring glibc
26485 # with a fresh cross-compiler works.
26486 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26487 # <limits.h> exists even on freestanding compilers.
26488 # On the NeXT, cc -E runs the code through the compiler's parser,
26489 # not just through cpp. "Syntax error" is here to catch this case.
26490 cat >conftest.$ac_ext <<_ACEOF
26491 /* confdefs.h. */
26492 _ACEOF
26493 cat confdefs.h >>conftest.$ac_ext
26494 cat >>conftest.$ac_ext <<_ACEOF
26495 /* end confdefs.h. */
26496 #ifdef __STDC__
26497 # include <limits.h>
26498 #else
26499 # include <assert.h>
26500 #endif
26501 Syntax error
26502 _ACEOF
26503 if { (ac_try="$ac_cpp conftest.$ac_ext"
26504 case "(($ac_try" in
26505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26506 *) ac_try_echo=$ac_try;;
26507 esac
26508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26510 ac_status=$?
26511 grep -v '^ *+' conftest.er1 >conftest.err
26512 rm -f conftest.er1
26513 cat conftest.err >&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } >/dev/null && {
26516 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26517 test ! -s conftest.err
26518 }; then
26519 :
26520 else
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26523
26524 # Broken: fails on valid input.
26525 continue
26526 fi
26527
26528 rm -f conftest.err conftest.$ac_ext
26529
26530 # OK, works on sane cases. Now check whether nonexistent headers
26531 # can be detected and how.
26532 cat >conftest.$ac_ext <<_ACEOF
26533 /* confdefs.h. */
26534 _ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538 #include <ac_nonexistent.h>
26539 _ACEOF
26540 if { (ac_try="$ac_cpp conftest.$ac_ext"
26541 case "(($ac_try" in
26542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26543 *) ac_try_echo=$ac_try;;
26544 esac
26545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26547 ac_status=$?
26548 grep -v '^ *+' conftest.er1 >conftest.err
26549 rm -f conftest.er1
26550 cat conftest.err >&5
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); } >/dev/null && {
26553 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26554 test ! -s conftest.err
26555 }; then
26556 # Broken: success on invalid input.
26557 continue
26558 else
26559 echo "$as_me: failed program was:" >&5
26560 sed 's/^/| /' conftest.$ac_ext >&5
26561
26562 # Passes both tests.
26563 ac_preproc_ok=:
26564 break
26565 fi
26566
26567 rm -f conftest.err conftest.$ac_ext
26568
26569 done
26570 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26571 rm -f conftest.err conftest.$ac_ext
26572 if $ac_preproc_ok; then
26573 :
26574 else
26575 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26576 See \`config.log' for more details." >&5
26577 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26578 See \`config.log' for more details." >&2;}
26579 { (exit 1); exit 1; }; }
26580 fi
26581
26582 ac_ext=cpp
26583 ac_cpp='$CXXCPP $CPPFLAGS'
26584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26587
26588
26589
26590
26591 for ac_header in type_traits tr1/type_traits
26592 do
26593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26594 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26595 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26598 echo $ECHO_N "(cached) $ECHO_C" >&6
26599 fi
26600 ac_res=`eval echo '${'$as_ac_Header'}'`
26601 { echo "$as_me:$LINENO: result: $ac_res" >&5
26602 echo "${ECHO_T}$ac_res" >&6; }
26603 else
26604 # Is the header compilable?
26605 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26607 cat >conftest.$ac_ext <<_ACEOF
26608 /* confdefs.h. */
26609 _ACEOF
26610 cat confdefs.h >>conftest.$ac_ext
26611 cat >>conftest.$ac_ext <<_ACEOF
26612 /* end confdefs.h. */
26613 $ac_includes_default
26614 #include <$ac_header>
26615 _ACEOF
26616 rm -f conftest.$ac_objext
26617 if { (ac_try="$ac_compile"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26621 esac
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_compile") 2>conftest.er1
26624 ac_status=$?
26625 grep -v '^ *+' conftest.er1 >conftest.err
26626 rm -f conftest.er1
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } && {
26630 test -z "$ac_cxx_werror_flag" ||
26631 test ! -s conftest.err
26632 } && test -s conftest.$ac_objext; then
26633 ac_header_compiler=yes
26634 else
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26637
26638 ac_header_compiler=no
26639 fi
26640
26641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26642 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26643 echo "${ECHO_T}$ac_header_compiler" >&6; }
26644
26645 # Is the header present?
26646 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26647 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26648 cat >conftest.$ac_ext <<_ACEOF
26649 /* confdefs.h. */
26650 _ACEOF
26651 cat confdefs.h >>conftest.$ac_ext
26652 cat >>conftest.$ac_ext <<_ACEOF
26653 /* end confdefs.h. */
26654 #include <$ac_header>
26655 _ACEOF
26656 if { (ac_try="$ac_cpp conftest.$ac_ext"
26657 case "(($ac_try" in
26658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26659 *) ac_try_echo=$ac_try;;
26660 esac
26661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26662 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26663 ac_status=$?
26664 grep -v '^ *+' conftest.er1 >conftest.err
26665 rm -f conftest.er1
26666 cat conftest.err >&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); } >/dev/null && {
26669 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26670 test ! -s conftest.err
26671 }; then
26672 ac_header_preproc=yes
26673 else
26674 echo "$as_me: failed program was:" >&5
26675 sed 's/^/| /' conftest.$ac_ext >&5
26676
26677 ac_header_preproc=no
26678 fi
26679
26680 rm -f conftest.err conftest.$ac_ext
26681 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26682 echo "${ECHO_T}$ac_header_preproc" >&6; }
26683
26684 # So? What about this header?
26685 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26686 yes:no: )
26687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26691 ac_header_preproc=yes
26692 ;;
26693 no:yes:* )
26694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26706 ( cat <<\_ASBOX
26707 ## ----------------------------------------- ##
26708 ## Report this to wx-dev@lists.wxwidgets.org ##
26709 ## ----------------------------------------- ##
26710 _ASBOX
26711 ) | sed "s/^/$as_me: WARNING: /" >&2
26712 ;;
26713 esac
26714 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26716 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26717 echo $ECHO_N "(cached) $ECHO_C" >&6
26718 else
26719 eval "$as_ac_Header=\$ac_header_preproc"
26720 fi
26721 ac_res=`eval echo '${'$as_ac_Header'}'`
26722 { echo "$as_me:$LINENO: result: $ac_res" >&5
26723 echo "${ECHO_T}$ac_res" >&6; }
26724
26725 fi
26726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26727 cat >>confdefs.h <<_ACEOF
26728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26729 _ACEOF
26730
26731 fi
26732
26733 done
26734
26735
26736
26737
26738 if test -n "$GCC"; then
26739 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26740 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26741 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26744
26745 cat >conftest.$ac_ext <<_ACEOF
26746 /* confdefs.h. */
26747 _ACEOF
26748 cat confdefs.h >>conftest.$ac_ext
26749 cat >>conftest.$ac_ext <<_ACEOF
26750 /* end confdefs.h. */
26751
26752 int
26753 main ()
26754 {
26755
26756 unsigned int value=0;
26757 /* wxAtomicInc doesn't use return value here */
26758 __sync_fetch_and_add(&value, 2);
26759 __sync_sub_and_fetch(&value, 1);
26760 /* but wxAtomicDec does, so mimic that: */
26761 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26762
26763 ;
26764 return 0;
26765 }
26766 _ACEOF
26767 rm -f conftest.$ac_objext conftest$ac_exeext
26768 if { (ac_try="$ac_link"
26769 case "(($ac_try" in
26770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26771 *) ac_try_echo=$ac_try;;
26772 esac
26773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26774 (eval "$ac_link") 2>conftest.er1
26775 ac_status=$?
26776 grep -v '^ *+' conftest.er1 >conftest.err
26777 rm -f conftest.er1
26778 cat conftest.err >&5
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); } && {
26781 test -z "$ac_cxx_werror_flag" ||
26782 test ! -s conftest.err
26783 } && test -s conftest$ac_exeext &&
26784 $as_test_x conftest$ac_exeext; then
26785 wx_cv_cc_gcc_atomic_builtins=yes
26786 else
26787 echo "$as_me: failed program was:" >&5
26788 sed 's/^/| /' conftest.$ac_ext >&5
26789
26790 wx_cv_cc_gcc_atomic_builtins=no
26791 fi
26792
26793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26794 conftest$ac_exeext conftest.$ac_ext
26795
26796 fi
26797
26798 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26799 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26800 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26801 cat >>confdefs.h <<\_ACEOF
26802 #define HAVE_GCC_ATOMIC_BUILTINS 1
26803 _ACEOF
26804
26805 fi
26806 fi
26807
26808
26809 ac_ext=c
26810 ac_cpp='$CPP $CPPFLAGS'
26811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26814
26815
26816
26817 SEARCH_INCLUDE="\
26818 /usr/local/include \
26819 /usr/local/X11/include \
26820 /usr/local/include/X11 \
26821 /usr/local/X11R7/include \
26822 /usr/local/X11R6/include \
26823 /usr/local/include/X11R7 \
26824 /usr/local/include/X11R6 \
26825 \
26826 /usr/Motif-2.1/include \
26827 /usr/Motif-1.2/include \
26828 /usr/include/Motif1.2 \
26829 \
26830 /usr/dt/include \
26831 /usr/openwin/include \
26832 \
26833 /usr/include/Xm \
26834 \
26835 /usr/X11R7/include \
26836 /usr/X11R6/include \
26837 /usr/X11R6.4/include \
26838 \
26839 /usr/include/X11R7 \
26840 /usr/include/X11R6 \
26841 \
26842 /usr/X11/include \
26843 /usr/include/X11 \
26844 \
26845 /usr/XFree86/include/X11 \
26846 /usr/pkg/include \
26847 \
26848 /usr/local/X1R5/include \
26849 /usr/local/include/X11R5 \
26850 /usr/X11R5/include \
26851 /usr/include/X11R5 \
26852 \
26853 /usr/local/X11R4/include \
26854 /usr/local/include/X11R4 \
26855 /usr/X11R4/include \
26856 /usr/include/X11R4 \
26857 \
26858 /usr/openwin/share/include"
26859
26860 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26861 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26862
26863 case "${host}" in
26864 *-*-irix6* )
26865 if test "${wx_cv_std_libpath+set}" = set; then
26866 echo $ECHO_N "(cached) $ECHO_C" >&6
26867 else
26868
26869 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26870 for e in a so sl dylib dll.a; do
26871 libc="$d/libc.$e"
26872 if test -f $libc; then
26873 save_LIBS="$LIBS"
26874 LIBS="$libc"
26875 cat >conftest.$ac_ext <<_ACEOF
26876 int main() { return 0; }
26877 _ACEOF
26878 rm -f conftest.$ac_objext conftest$ac_exeext
26879 if { (ac_try="$ac_link"
26880 case "(($ac_try" in
26881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26882 *) ac_try_echo=$ac_try;;
26883 esac
26884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26885 (eval "$ac_link") 2>conftest.er1
26886 ac_status=$?
26887 grep -v '^ *+' conftest.er1 >conftest.err
26888 rm -f conftest.er1
26889 cat conftest.err >&5
26890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26891 (exit $ac_status); } && {
26892 test -z "$ac_c_werror_flag" ||
26893 test ! -s conftest.err
26894 } && test -s conftest$ac_exeext &&
26895 $as_test_x conftest$ac_exeext; then
26896 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26897 else
26898 echo "$as_me: failed program was:" >&5
26899 sed 's/^/| /' conftest.$ac_ext >&5
26900
26901
26902 fi
26903
26904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26905 conftest$ac_exeext conftest.$ac_ext
26906 LIBS="$save_LIBS"
26907 if test "x$wx_cv_std_libpath" != "x"; then
26908 break 2
26909 fi
26910 fi
26911 done
26912 done
26913 if test "x$wx_cv_std_libpath" = "x"; then
26914 wx_cv_std_libpath="lib"
26915 fi
26916
26917
26918 fi
26919
26920 ;;
26921
26922 *-*-solaris2* )
26923 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26924 wx_cv_std_libpath="lib/64"
26925 else
26926 wx_cv_std_libpath="lib"
26927 fi
26928 ;;
26929
26930 *-*-linux* )
26931 if test "$ac_cv_sizeof_void_p" = 8 -a \
26932 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26933 wx_cv_std_libpath="lib64"
26934 else
26935 wx_cv_std_libpath="lib"
26936 fi
26937 ;;
26938
26939 *)
26940 wx_cv_std_libpath="lib";
26941 ;;
26942 esac
26943
26944 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26945 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26946
26947 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26948
26949 if test "$build" != "$host" -a "$GCC" = yes; then
26950 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26951 cross_root=`dirname $cross_root`
26952 cross_root=`dirname $cross_root`
26953
26954 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26955 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26956 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26957
26958 if test -z "$PKG_CONFIG_PATH"; then
26959 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26960 export PKG_CONFIG_PATH
26961 fi
26962
26963 if test -z "$x_includes" -o "$x_includes" = NONE; then
26964
26965 ac_find_includes=
26966 for ac_dir in $SEARCH_INCLUDE /usr/include
26967 do
26968 if test -f "$ac_dir/X11/Intrinsic.h"; then
26969 ac_find_includes=$ac_dir
26970 break
26971 fi
26972 done
26973
26974 x_includes=$ac_find_includes
26975 fi
26976 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26977
26978 ac_find_libraries=
26979 for ac_dir in $SEARCH_LIB
26980 do
26981 for ac_extension in a so sl dylib dll.a; do
26982 if test -f "$ac_dir/libXt.$ac_extension"; then
26983 ac_find_libraries=$ac_dir
26984 break 2
26985 fi
26986 done
26987 done
26988
26989 x_libraries=$ac_find_libraries
26990 fi
26991 fi
26992 fi
26993
26994
26995 cat >confcache <<\_ACEOF
26996 # This file is a shell script that caches the results of configure
26997 # tests run on this system so they can be shared between configure
26998 # scripts and configure runs, see configure's option --config-cache.
26999 # It is not useful on other systems. If it contains results you don't
27000 # want to keep, you may remove or edit it.
27001 #
27002 # config.status only pays attention to the cache file if you give it
27003 # the --recheck option to rerun configure.
27004 #
27005 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27006 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27007 # following values.
27008
27009 _ACEOF
27010
27011 # The following way of writing the cache mishandles newlines in values,
27012 # but we know of no workaround that is simple, portable, and efficient.
27013 # So, we kill variables containing newlines.
27014 # Ultrix sh set writes to stderr and can't be redirected directly,
27015 # and sets the high bit in the cache file unless we assign to the vars.
27016 (
27017 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27018 eval ac_val=\$$ac_var
27019 case $ac_val in #(
27020 *${as_nl}*)
27021 case $ac_var in #(
27022 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27023 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27024 esac
27025 case $ac_var in #(
27026 _ | IFS | as_nl) ;; #(
27027 *) $as_unset $ac_var ;;
27028 esac ;;
27029 esac
27030 done
27031
27032 (set) 2>&1 |
27033 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27034 *${as_nl}ac_space=\ *)
27035 # `set' does not quote correctly, so add quotes (double-quote
27036 # substitution turns \\\\ into \\, and sed turns \\ into \).
27037 sed -n \
27038 "s/'/'\\\\''/g;
27039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27040 ;; #(
27041 *)
27042 # `set' quotes correctly as required by POSIX, so do not add quotes.
27043 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27044 ;;
27045 esac |
27046 sort
27047 ) |
27048 sed '
27049 /^ac_cv_env_/b end
27050 t clear
27051 :clear
27052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27053 t end
27054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27055 :end' >>confcache
27056 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27057 if test -w "$cache_file"; then
27058 test "x$cache_file" != "x/dev/null" &&
27059 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27060 echo "$as_me: updating cache $cache_file" >&6;}
27061 cat confcache >$cache_file
27062 else
27063 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27064 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27065 fi
27066 fi
27067 rm -f confcache
27068
27069 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27070 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27071 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27072 if test "${wx_cv_lib_glibc21+set}" = set; then
27073 echo $ECHO_N "(cached) $ECHO_C" >&6
27074 else
27075
27076 cat >conftest.$ac_ext <<_ACEOF
27077 /* confdefs.h. */
27078 _ACEOF
27079 cat confdefs.h >>conftest.$ac_ext
27080 cat >>conftest.$ac_ext <<_ACEOF
27081 /* end confdefs.h. */
27082 #include <features.h>
27083 int
27084 main ()
27085 {
27086
27087 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27088 not glibc 2.1
27089 #endif
27090
27091 ;
27092 return 0;
27093 }
27094 _ACEOF
27095 rm -f conftest.$ac_objext
27096 if { (ac_try="$ac_compile"
27097 case "(($ac_try" in
27098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27099 *) ac_try_echo=$ac_try;;
27100 esac
27101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27102 (eval "$ac_compile") 2>conftest.er1
27103 ac_status=$?
27104 grep -v '^ *+' conftest.er1 >conftest.err
27105 rm -f conftest.er1
27106 cat conftest.err >&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); } && {
27109 test -z "$ac_c_werror_flag" ||
27110 test ! -s conftest.err
27111 } && test -s conftest.$ac_objext; then
27112
27113 wx_cv_lib_glibc21=yes
27114
27115 else
27116 echo "$as_me: failed program was:" >&5
27117 sed 's/^/| /' conftest.$ac_ext >&5
27118
27119
27120 wx_cv_lib_glibc21=no
27121
27122
27123 fi
27124
27125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27126
27127 fi
27128 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27129 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27130 if test "$wx_cv_lib_glibc21" = "yes"; then
27131 cat >>confdefs.h <<\_ACEOF
27132 #define wxHAVE_GLIBC2 1
27133 _ACEOF
27134
27135 fi
27136 fi
27137
27138 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27139 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27140 cat >>confdefs.h <<\_ACEOF
27141 #define _GNU_SOURCE 1
27142 _ACEOF
27143
27144 fi
27145 fi
27146
27147 have_cos=0
27148 have_floor=0
27149
27150 for ac_func in cos
27151 do
27152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27157 else
27158 cat >conftest.$ac_ext <<_ACEOF
27159 /* confdefs.h. */
27160 _ACEOF
27161 cat confdefs.h >>conftest.$ac_ext
27162 cat >>conftest.$ac_ext <<_ACEOF
27163 /* end confdefs.h. */
27164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27166 #define $ac_func innocuous_$ac_func
27167
27168 /* System header to define __stub macros and hopefully few prototypes,
27169 which can conflict with char $ac_func (); below.
27170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27171 <limits.h> exists even on freestanding compilers. */
27172
27173 #ifdef __STDC__
27174 # include <limits.h>
27175 #else
27176 # include <assert.h>
27177 #endif
27178
27179 #undef $ac_func
27180
27181 /* Override any GCC internal prototype to avoid an error.
27182 Use char because int might match the return type of a GCC
27183 builtin and then its argument prototype would still apply. */
27184 #ifdef __cplusplus
27185 extern "C"
27186 #endif
27187 char $ac_func ();
27188 /* The GNU C library defines this for functions which it implements
27189 to always fail with ENOSYS. Some functions are actually named
27190 something starting with __ and the normal name is an alias. */
27191 #if defined __stub_$ac_func || defined __stub___$ac_func
27192 choke me
27193 #endif
27194
27195 int
27196 main ()
27197 {
27198 return $ac_func ();
27199 ;
27200 return 0;
27201 }
27202 _ACEOF
27203 rm -f conftest.$ac_objext conftest$ac_exeext
27204 if { (ac_try="$ac_link"
27205 case "(($ac_try" in
27206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27207 *) ac_try_echo=$ac_try;;
27208 esac
27209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27210 (eval "$ac_link") 2>conftest.er1
27211 ac_status=$?
27212 grep -v '^ *+' conftest.er1 >conftest.err
27213 rm -f conftest.er1
27214 cat conftest.err >&5
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); } && {
27217 test -z "$ac_c_werror_flag" ||
27218 test ! -s conftest.err
27219 } && test -s conftest$ac_exeext &&
27220 $as_test_x conftest$ac_exeext; then
27221 eval "$as_ac_var=yes"
27222 else
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27225
27226 eval "$as_ac_var=no"
27227 fi
27228
27229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27230 conftest$ac_exeext conftest.$ac_ext
27231 fi
27232 ac_res=`eval echo '${'$as_ac_var'}'`
27233 { echo "$as_me:$LINENO: result: $ac_res" >&5
27234 echo "${ECHO_T}$ac_res" >&6; }
27235 if test `eval echo '${'$as_ac_var'}'` = yes; then
27236 cat >>confdefs.h <<_ACEOF
27237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27238 _ACEOF
27239 have_cos=1
27240 fi
27241 done
27242
27243
27244 for ac_func in floor
27245 do
27246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27250 echo $ECHO_N "(cached) $ECHO_C" >&6
27251 else
27252 cat >conftest.$ac_ext <<_ACEOF
27253 /* confdefs.h. */
27254 _ACEOF
27255 cat confdefs.h >>conftest.$ac_ext
27256 cat >>conftest.$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27260 #define $ac_func innocuous_$ac_func
27261
27262 /* System header to define __stub macros and hopefully few prototypes,
27263 which can conflict with char $ac_func (); below.
27264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27265 <limits.h> exists even on freestanding compilers. */
27266
27267 #ifdef __STDC__
27268 # include <limits.h>
27269 #else
27270 # include <assert.h>
27271 #endif
27272
27273 #undef $ac_func
27274
27275 /* Override any GCC internal prototype to avoid an error.
27276 Use char because int might match the return type of a GCC
27277 builtin and then its argument prototype would still apply. */
27278 #ifdef __cplusplus
27279 extern "C"
27280 #endif
27281 char $ac_func ();
27282 /* The GNU C library defines this for functions which it implements
27283 to always fail with ENOSYS. Some functions are actually named
27284 something starting with __ and the normal name is an alias. */
27285 #if defined __stub_$ac_func || defined __stub___$ac_func
27286 choke me
27287 #endif
27288
27289 int
27290 main ()
27291 {
27292 return $ac_func ();
27293 ;
27294 return 0;
27295 }
27296 _ACEOF
27297 rm -f conftest.$ac_objext conftest$ac_exeext
27298 if { (ac_try="$ac_link"
27299 case "(($ac_try" in
27300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27301 *) ac_try_echo=$ac_try;;
27302 esac
27303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27304 (eval "$ac_link") 2>conftest.er1
27305 ac_status=$?
27306 grep -v '^ *+' conftest.er1 >conftest.err
27307 rm -f conftest.er1
27308 cat conftest.err >&5
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); } && {
27311 test -z "$ac_c_werror_flag" ||
27312 test ! -s conftest.err
27313 } && test -s conftest$ac_exeext &&
27314 $as_test_x conftest$ac_exeext; then
27315 eval "$as_ac_var=yes"
27316 else
27317 echo "$as_me: failed program was:" >&5
27318 sed 's/^/| /' conftest.$ac_ext >&5
27319
27320 eval "$as_ac_var=no"
27321 fi
27322
27323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27324 conftest$ac_exeext conftest.$ac_ext
27325 fi
27326 ac_res=`eval echo '${'$as_ac_var'}'`
27327 { echo "$as_me:$LINENO: result: $ac_res" >&5
27328 echo "${ECHO_T}$ac_res" >&6; }
27329 if test `eval echo '${'$as_ac_var'}'` = yes; then
27330 cat >>confdefs.h <<_ACEOF
27331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27332 _ACEOF
27333 have_floor=1
27334 fi
27335 done
27336
27337 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27338 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27339 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27340 { echo "$as_me:$LINENO: result: yes" >&5
27341 echo "${ECHO_T}yes" >&6; }
27342 else
27343 { echo "$as_me:$LINENO: result: no" >&5
27344 echo "${ECHO_T}no" >&6; }
27345 LIBS="$LIBS -lm"
27346 # use different functions to avoid configure caching
27347 have_sin=0
27348 have_ceil=0
27349
27350 for ac_func in sin
27351 do
27352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27353 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27355 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27356 echo $ECHO_N "(cached) $ECHO_C" >&6
27357 else
27358 cat >conftest.$ac_ext <<_ACEOF
27359 /* confdefs.h. */
27360 _ACEOF
27361 cat confdefs.h >>conftest.$ac_ext
27362 cat >>conftest.$ac_ext <<_ACEOF
27363 /* end confdefs.h. */
27364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27366 #define $ac_func innocuous_$ac_func
27367
27368 /* System header to define __stub macros and hopefully few prototypes,
27369 which can conflict with char $ac_func (); below.
27370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27371 <limits.h> exists even on freestanding compilers. */
27372
27373 #ifdef __STDC__
27374 # include <limits.h>
27375 #else
27376 # include <assert.h>
27377 #endif
27378
27379 #undef $ac_func
27380
27381 /* Override any GCC internal prototype to avoid an error.
27382 Use char because int might match the return type of a GCC
27383 builtin and then its argument prototype would still apply. */
27384 #ifdef __cplusplus
27385 extern "C"
27386 #endif
27387 char $ac_func ();
27388 /* The GNU C library defines this for functions which it implements
27389 to always fail with ENOSYS. Some functions are actually named
27390 something starting with __ and the normal name is an alias. */
27391 #if defined __stub_$ac_func || defined __stub___$ac_func
27392 choke me
27393 #endif
27394
27395 int
27396 main ()
27397 {
27398 return $ac_func ();
27399 ;
27400 return 0;
27401 }
27402 _ACEOF
27403 rm -f conftest.$ac_objext conftest$ac_exeext
27404 if { (ac_try="$ac_link"
27405 case "(($ac_try" in
27406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27407 *) ac_try_echo=$ac_try;;
27408 esac
27409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27410 (eval "$ac_link") 2>conftest.er1
27411 ac_status=$?
27412 grep -v '^ *+' conftest.er1 >conftest.err
27413 rm -f conftest.er1
27414 cat conftest.err >&5
27415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27416 (exit $ac_status); } && {
27417 test -z "$ac_c_werror_flag" ||
27418 test ! -s conftest.err
27419 } && test -s conftest$ac_exeext &&
27420 $as_test_x conftest$ac_exeext; then
27421 eval "$as_ac_var=yes"
27422 else
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.$ac_ext >&5
27425
27426 eval "$as_ac_var=no"
27427 fi
27428
27429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27430 conftest$ac_exeext conftest.$ac_ext
27431 fi
27432 ac_res=`eval echo '${'$as_ac_var'}'`
27433 { echo "$as_me:$LINENO: result: $ac_res" >&5
27434 echo "${ECHO_T}$ac_res" >&6; }
27435 if test `eval echo '${'$as_ac_var'}'` = yes; then
27436 cat >>confdefs.h <<_ACEOF
27437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27438 _ACEOF
27439 have_sin=1
27440 fi
27441 done
27442
27443
27444 for ac_func in ceil
27445 do
27446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27450 echo $ECHO_N "(cached) $ECHO_C" >&6
27451 else
27452 cat >conftest.$ac_ext <<_ACEOF
27453 /* confdefs.h. */
27454 _ACEOF
27455 cat confdefs.h >>conftest.$ac_ext
27456 cat >>conftest.$ac_ext <<_ACEOF
27457 /* end confdefs.h. */
27458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27460 #define $ac_func innocuous_$ac_func
27461
27462 /* System header to define __stub macros and hopefully few prototypes,
27463 which can conflict with char $ac_func (); below.
27464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27465 <limits.h> exists even on freestanding compilers. */
27466
27467 #ifdef __STDC__
27468 # include <limits.h>
27469 #else
27470 # include <assert.h>
27471 #endif
27472
27473 #undef $ac_func
27474
27475 /* Override any GCC internal prototype to avoid an error.
27476 Use char because int might match the return type of a GCC
27477 builtin and then its argument prototype would still apply. */
27478 #ifdef __cplusplus
27479 extern "C"
27480 #endif
27481 char $ac_func ();
27482 /* The GNU C library defines this for functions which it implements
27483 to always fail with ENOSYS. Some functions are actually named
27484 something starting with __ and the normal name is an alias. */
27485 #if defined __stub_$ac_func || defined __stub___$ac_func
27486 choke me
27487 #endif
27488
27489 int
27490 main ()
27491 {
27492 return $ac_func ();
27493 ;
27494 return 0;
27495 }
27496 _ACEOF
27497 rm -f conftest.$ac_objext conftest$ac_exeext
27498 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
27505 ac_status=$?
27506 grep -v '^ *+' conftest.er1 >conftest.err
27507 rm -f conftest.er1
27508 cat conftest.err >&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); } && {
27511 test -z "$ac_c_werror_flag" ||
27512 test ! -s conftest.err
27513 } && test -s conftest$ac_exeext &&
27514 $as_test_x conftest$ac_exeext; then
27515 eval "$as_ac_var=yes"
27516 else
27517 echo "$as_me: failed program was:" >&5
27518 sed 's/^/| /' conftest.$ac_ext >&5
27519
27520 eval "$as_ac_var=no"
27521 fi
27522
27523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27524 conftest$ac_exeext conftest.$ac_ext
27525 fi
27526 ac_res=`eval echo '${'$as_ac_var'}'`
27527 { echo "$as_me:$LINENO: result: $ac_res" >&5
27528 echo "${ECHO_T}$ac_res" >&6; }
27529 if test `eval echo '${'$as_ac_var'}'` = yes; then
27530 cat >>confdefs.h <<_ACEOF
27531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27532 _ACEOF
27533 have_ceil=1
27534 fi
27535 done
27536
27537 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27538 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27539 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27540 { echo "$as_me:$LINENO: result: yes" >&5
27541 echo "${ECHO_T}yes" >&6; }
27542 else
27543 { echo "$as_me:$LINENO: result: no" >&5
27544 echo "${ECHO_T}no" >&6; }
27545 # not sure we should warn the user, crash, etc.
27546 fi
27547 fi
27548
27549 ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27554
27555 if test "wxUSE_UNICODE" = "yes"; then
27556
27557 for wx_func in wcstoull
27558 do
27559 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27560 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27561 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27562 echo $ECHO_N "(cached) $ECHO_C" >&6
27563 else
27564
27565 cat >conftest.$ac_ext <<_ACEOF
27566
27567 /* confdefs.h. */
27568 _ACEOF
27569 cat confdefs.h >>conftest.$ac_ext
27570 cat >>conftest.$ac_ext <<_ACEOF
27571 /* end confdefs.h. */
27572
27573
27574 $ac_includes_default
27575
27576 int
27577 main ()
27578 {
27579
27580 #ifndef $wx_func
27581 &$wx_func;
27582 #endif
27583
27584
27585 ;
27586 return 0;
27587 }
27588
27589 _ACEOF
27590 rm -f conftest.$ac_objext conftest$ac_exeext
27591 if { (ac_try="$ac_link"
27592 case "(($ac_try" in
27593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27594 *) ac_try_echo=$ac_try;;
27595 esac
27596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27597 (eval "$ac_link") 2>conftest.er1
27598 ac_status=$?
27599 grep -v '^ *+' conftest.er1 >conftest.err
27600 rm -f conftest.er1
27601 cat conftest.err >&5
27602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603 (exit $ac_status); } && {
27604 test -z "$ac_cxx_werror_flag" ||
27605 test ! -s conftest.err
27606 } && test -s conftest$ac_exeext &&
27607 $as_test_x conftest$ac_exeext; then
27608 eval wx_cv_func_$wx_func=yes
27609 else
27610 echo "$as_me: failed program was:" >&5
27611 sed 's/^/| /' conftest.$ac_ext >&5
27612
27613 eval wx_cv_func_$wx_func=no
27614 fi
27615
27616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27617 conftest$ac_exeext conftest.$ac_ext
27618
27619 fi
27620 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27621 { echo "$as_me:$LINENO: result: $ac_res" >&5
27622 echo "${ECHO_T}$ac_res" >&6; }
27623
27624 if eval test \$wx_cv_func_$wx_func = yes
27625 then
27626 cat >>confdefs.h <<_ACEOF
27627 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27628 _ACEOF
27629
27630
27631 else
27632 :
27633
27634 fi
27635 done
27636
27637 else
27638
27639 for wx_func in strtoull
27640 do
27641 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27642 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27643 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27644 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 else
27646
27647 cat >conftest.$ac_ext <<_ACEOF
27648
27649 /* confdefs.h. */
27650 _ACEOF
27651 cat confdefs.h >>conftest.$ac_ext
27652 cat >>conftest.$ac_ext <<_ACEOF
27653 /* end confdefs.h. */
27654
27655
27656 $ac_includes_default
27657
27658 int
27659 main ()
27660 {
27661
27662 #ifndef $wx_func
27663 &$wx_func;
27664 #endif
27665
27666
27667 ;
27668 return 0;
27669 }
27670
27671 _ACEOF
27672 rm -f conftest.$ac_objext conftest$ac_exeext
27673 if { (ac_try="$ac_link"
27674 case "(($ac_try" in
27675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27676 *) ac_try_echo=$ac_try;;
27677 esac
27678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27679 (eval "$ac_link") 2>conftest.er1
27680 ac_status=$?
27681 grep -v '^ *+' conftest.er1 >conftest.err
27682 rm -f conftest.er1
27683 cat conftest.err >&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); } && {
27686 test -z "$ac_cxx_werror_flag" ||
27687 test ! -s conftest.err
27688 } && test -s conftest$ac_exeext &&
27689 $as_test_x conftest$ac_exeext; then
27690 eval wx_cv_func_$wx_func=yes
27691 else
27692 echo "$as_me: failed program was:" >&5
27693 sed 's/^/| /' conftest.$ac_ext >&5
27694
27695 eval wx_cv_func_$wx_func=no
27696 fi
27697
27698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27699 conftest$ac_exeext conftest.$ac_ext
27700
27701 fi
27702 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27703 { echo "$as_me:$LINENO: result: $ac_res" >&5
27704 echo "${ECHO_T}$ac_res" >&6; }
27705
27706 if eval test \$wx_cv_func_$wx_func = yes
27707 then
27708 cat >>confdefs.h <<_ACEOF
27709 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27710 _ACEOF
27711
27712
27713 else
27714 :
27715
27716 fi
27717 done
27718
27719 fi
27720 ac_ext=c
27721 ac_cpp='$CPP $CPPFLAGS'
27722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27725
27726
27727
27728
27729 if test "$wxUSE_REGEX" != "no"; then
27730 cat >>confdefs.h <<\_ACEOF
27731 #define wxUSE_REGEX 1
27732 _ACEOF
27733
27734
27735 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27736 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27737 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27738 wxUSE_REGEX=builtin
27739 fi
27740
27741 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27742 { echo "$as_me:$LINENO: checking for regex.h" >&5
27743 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27744 if test "${ac_cv_header_regex_h+set}" = set; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27746 else
27747 cat >conftest.$ac_ext <<_ACEOF
27748 /* confdefs.h. */
27749 _ACEOF
27750 cat confdefs.h >>conftest.$ac_ext
27751 cat >>conftest.$ac_ext <<_ACEOF
27752 /* end confdefs.h. */
27753
27754
27755 #include <regex.h>
27756 _ACEOF
27757 rm -f conftest.$ac_objext
27758 if { (ac_try="$ac_compile"
27759 case "(($ac_try" in
27760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27761 *) ac_try_echo=$ac_try;;
27762 esac
27763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27764 (eval "$ac_compile") 2>conftest.er1
27765 ac_status=$?
27766 grep -v '^ *+' conftest.er1 >conftest.err
27767 rm -f conftest.er1
27768 cat conftest.err >&5
27769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27770 (exit $ac_status); } && {
27771 test -z "$ac_c_werror_flag" ||
27772 test ! -s conftest.err
27773 } && test -s conftest.$ac_objext; then
27774 ac_cv_header_regex_h=yes
27775 else
27776 echo "$as_me: failed program was:" >&5
27777 sed 's/^/| /' conftest.$ac_ext >&5
27778
27779 ac_cv_header_regex_h=no
27780 fi
27781
27782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27783 fi
27784 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27785 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27786 if test $ac_cv_header_regex_h = yes; then
27787
27788
27789 for ac_func in regcomp re_search
27790 do
27791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27792 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27795 echo $ECHO_N "(cached) $ECHO_C" >&6
27796 else
27797 cat >conftest.$ac_ext <<_ACEOF
27798 /* confdefs.h. */
27799 _ACEOF
27800 cat confdefs.h >>conftest.$ac_ext
27801 cat >>conftest.$ac_ext <<_ACEOF
27802 /* end confdefs.h. */
27803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27805 #define $ac_func innocuous_$ac_func
27806
27807 /* System header to define __stub macros and hopefully few prototypes,
27808 which can conflict with char $ac_func (); below.
27809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27810 <limits.h> exists even on freestanding compilers. */
27811
27812 #ifdef __STDC__
27813 # include <limits.h>
27814 #else
27815 # include <assert.h>
27816 #endif
27817
27818 #undef $ac_func
27819
27820 /* Override any GCC internal prototype to avoid an error.
27821 Use char because int might match the return type of a GCC
27822 builtin and then its argument prototype would still apply. */
27823 #ifdef __cplusplus
27824 extern "C"
27825 #endif
27826 char $ac_func ();
27827 /* The GNU C library defines this for functions which it implements
27828 to always fail with ENOSYS. Some functions are actually named
27829 something starting with __ and the normal name is an alias. */
27830 #if defined __stub_$ac_func || defined __stub___$ac_func
27831 choke me
27832 #endif
27833
27834 int
27835 main ()
27836 {
27837 return $ac_func ();
27838 ;
27839 return 0;
27840 }
27841 _ACEOF
27842 rm -f conftest.$ac_objext conftest$ac_exeext
27843 if { (ac_try="$ac_link"
27844 case "(($ac_try" in
27845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27846 *) ac_try_echo=$ac_try;;
27847 esac
27848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27849 (eval "$ac_link") 2>conftest.er1
27850 ac_status=$?
27851 grep -v '^ *+' conftest.er1 >conftest.err
27852 rm -f conftest.er1
27853 cat conftest.err >&5
27854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855 (exit $ac_status); } && {
27856 test -z "$ac_c_werror_flag" ||
27857 test ! -s conftest.err
27858 } && test -s conftest$ac_exeext &&
27859 $as_test_x conftest$ac_exeext; then
27860 eval "$as_ac_var=yes"
27861 else
27862 echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.$ac_ext >&5
27864
27865 eval "$as_ac_var=no"
27866 fi
27867
27868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27869 conftest$ac_exeext conftest.$ac_ext
27870 fi
27871 ac_res=`eval echo '${'$as_ac_var'}'`
27872 { echo "$as_me:$LINENO: result: $ac_res" >&5
27873 echo "${ECHO_T}$ac_res" >&6; }
27874 if test `eval echo '${'$as_ac_var'}'` = yes; then
27875 cat >>confdefs.h <<_ACEOF
27876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27877 _ACEOF
27878
27879 fi
27880 done
27881
27882 fi
27883
27884
27885
27886 if test "x$ac_cv_func_regcomp" != "xyes"; then
27887 if test "$wxUSE_REGEX" = "sys" ; then
27888 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27889 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27890 { (exit 1); exit 1; }; }
27891 else
27892 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27893 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27894 wxUSE_REGEX=builtin
27895 fi
27896 else
27897 wxUSE_REGEX=sys
27898 cat >>confdefs.h <<\_ACEOF
27899 #define WX_NO_REGEX_ADVANCED 1
27900 _ACEOF
27901
27902 fi
27903 fi
27904 fi
27905
27906
27907 ZLIB_LINK=
27908 if test "$wxUSE_ZLIB" != "no" ; then
27909 cat >>confdefs.h <<\_ACEOF
27910 #define wxUSE_ZLIB 1
27911 _ACEOF
27912
27913
27914 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27915 if test "$USE_DARWIN" = 1; then
27916 system_zlib_h_ok="yes"
27917 else
27918 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27919 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27920 if test "${ac_cv_header_zlib_h+set}" = set; then
27921 echo $ECHO_N "(cached) $ECHO_C" >&6
27922 else
27923 if test "$cross_compiling" = yes; then
27924 unset ac_cv_header_zlib_h
27925
27926 else
27927 cat >conftest.$ac_ext <<_ACEOF
27928 /* confdefs.h. */
27929 _ACEOF
27930 cat confdefs.h >>conftest.$ac_ext
27931 cat >>conftest.$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27933
27934 #include <zlib.h>
27935 #include <stdio.h>
27936
27937 int main()
27938 {
27939 FILE *f=fopen("conftestval", "w");
27940 if (!f) exit(1);
27941 fprintf(f, "%s",
27942 ZLIB_VERSION[0] == '1' &&
27943 (ZLIB_VERSION[2] > '1' ||
27944 (ZLIB_VERSION[2] == '1' &&
27945 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27946 exit(0);
27947 }
27948
27949 _ACEOF
27950 rm -f conftest$ac_exeext
27951 if { (ac_try="$ac_link"
27952 case "(($ac_try" in
27953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27954 *) ac_try_echo=$ac_try;;
27955 esac
27956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27957 (eval "$ac_link") 2>&5
27958 ac_status=$?
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27961 { (case "(($ac_try" in
27962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27963 *) ac_try_echo=$ac_try;;
27964 esac
27965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27966 (eval "$ac_try") 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; }; then
27970 ac_cv_header_zlib_h=`cat conftestval`
27971 else
27972 echo "$as_me: program exited with status $ac_status" >&5
27973 echo "$as_me: failed program was:" >&5
27974 sed 's/^/| /' conftest.$ac_ext >&5
27975
27976 ( exit $ac_status )
27977 ac_cv_header_zlib_h=no
27978 fi
27979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27980 fi
27981
27982
27983
27984 fi
27985 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27986 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27987 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27988 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27989 if test "${ac_cv_header_zlib_h+set}" = set; then
27990 echo $ECHO_N "(cached) $ECHO_C" >&6
27991 else
27992 cat >conftest.$ac_ext <<_ACEOF
27993 /* confdefs.h. */
27994 _ACEOF
27995 cat confdefs.h >>conftest.$ac_ext
27996 cat >>conftest.$ac_ext <<_ACEOF
27997 /* end confdefs.h. */
27998
27999
28000 #include <zlib.h>
28001 _ACEOF
28002 rm -f conftest.$ac_objext
28003 if { (ac_try="$ac_compile"
28004 case "(($ac_try" in
28005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28006 *) ac_try_echo=$ac_try;;
28007 esac
28008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28009 (eval "$ac_compile") 2>conftest.er1
28010 ac_status=$?
28011 grep -v '^ *+' conftest.er1 >conftest.err
28012 rm -f conftest.er1
28013 cat conftest.err >&5
28014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28015 (exit $ac_status); } && {
28016 test -z "$ac_c_werror_flag" ||
28017 test ! -s conftest.err
28018 } && test -s conftest.$ac_objext; then
28019 ac_cv_header_zlib_h=yes
28020 else
28021 echo "$as_me: failed program was:" >&5
28022 sed 's/^/| /' conftest.$ac_ext >&5
28023
28024 ac_cv_header_zlib_h=no
28025 fi
28026
28027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28028 fi
28029 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28030 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28031
28032
28033
28034 system_zlib_h_ok=$ac_cv_header_zlib_h
28035 fi
28036
28037 if test "$system_zlib_h_ok" = "yes"; then
28038 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28039 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28040 if test "${ac_cv_lib_z_deflate+set}" = set; then
28041 echo $ECHO_N "(cached) $ECHO_C" >&6
28042 else
28043 ac_check_lib_save_LIBS=$LIBS
28044 LIBS="-lz $LIBS"
28045 cat >conftest.$ac_ext <<_ACEOF
28046 /* confdefs.h. */
28047 _ACEOF
28048 cat confdefs.h >>conftest.$ac_ext
28049 cat >>conftest.$ac_ext <<_ACEOF
28050 /* end confdefs.h. */
28051
28052 /* Override any GCC internal prototype to avoid an error.
28053 Use char because int might match the return type of a GCC
28054 builtin and then its argument prototype would still apply. */
28055 #ifdef __cplusplus
28056 extern "C"
28057 #endif
28058 char deflate ();
28059 int
28060 main ()
28061 {
28062 return deflate ();
28063 ;
28064 return 0;
28065 }
28066 _ACEOF
28067 rm -f conftest.$ac_objext conftest$ac_exeext
28068 if { (ac_try="$ac_link"
28069 case "(($ac_try" in
28070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28071 *) ac_try_echo=$ac_try;;
28072 esac
28073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28074 (eval "$ac_link") 2>conftest.er1
28075 ac_status=$?
28076 grep -v '^ *+' conftest.er1 >conftest.err
28077 rm -f conftest.er1
28078 cat conftest.err >&5
28079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080 (exit $ac_status); } && {
28081 test -z "$ac_c_werror_flag" ||
28082 test ! -s conftest.err
28083 } && test -s conftest$ac_exeext &&
28084 $as_test_x conftest$ac_exeext; then
28085 ac_cv_lib_z_deflate=yes
28086 else
28087 echo "$as_me: failed program was:" >&5
28088 sed 's/^/| /' conftest.$ac_ext >&5
28089
28090 ac_cv_lib_z_deflate=no
28091 fi
28092
28093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28094 conftest$ac_exeext conftest.$ac_ext
28095 LIBS=$ac_check_lib_save_LIBS
28096 fi
28097 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28098 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28099 if test $ac_cv_lib_z_deflate = yes; then
28100 ZLIB_LINK=" -lz"
28101 fi
28102
28103 fi
28104
28105 if test "x$ZLIB_LINK" = "x" ; then
28106 if test "$wxUSE_ZLIB" = "sys" ; then
28107 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28108 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28109 { (exit 1); exit 1; }; }
28110 else
28111 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28112 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28113 wxUSE_ZLIB=builtin
28114 fi
28115 else
28116 wxUSE_ZLIB=sys
28117 fi
28118 fi
28119 fi
28120
28121
28122 PNG_LINK=
28123 if test "$wxUSE_LIBPNG" != "no" ; then
28124 cat >>confdefs.h <<\_ACEOF
28125 #define wxUSE_LIBPNG 1
28126 _ACEOF
28127
28128
28129 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28130 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28131 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28132 wxUSE_LIBPNG=sys
28133 fi
28134
28135 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28136 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28137 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28138 wxUSE_LIBPNG=builtin
28139 fi
28140
28141 if test "$wxUSE_MGL" != 1 ; then
28142 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28143 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28144 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28145 if test "${ac_cv_header_png_h+set}" = set; then
28146 echo $ECHO_N "(cached) $ECHO_C" >&6
28147 else
28148 if test "$cross_compiling" = yes; then
28149 unset ac_cv_header_png_h
28150
28151 else
28152 cat >conftest.$ac_ext <<_ACEOF
28153 /* confdefs.h. */
28154 _ACEOF
28155 cat confdefs.h >>conftest.$ac_ext
28156 cat >>conftest.$ac_ext <<_ACEOF
28157 /* end confdefs.h. */
28158
28159 #include <png.h>
28160 #include <stdio.h>
28161
28162 int main()
28163 {
28164 FILE *f=fopen("conftestval", "w");
28165 if (!f) exit(1);
28166 fprintf(f, "%s",
28167 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28168 exit(0);
28169 }
28170
28171 _ACEOF
28172 rm -f conftest$ac_exeext
28173 if { (ac_try="$ac_link"
28174 case "(($ac_try" in
28175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28176 *) ac_try_echo=$ac_try;;
28177 esac
28178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28179 (eval "$ac_link") 2>&5
28180 ac_status=$?
28181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28183 { (case "(($ac_try" in
28184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28185 *) ac_try_echo=$ac_try;;
28186 esac
28187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28188 (eval "$ac_try") 2>&5
28189 ac_status=$?
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); }; }; then
28192 ac_cv_header_png_h=`cat conftestval`
28193 else
28194 echo "$as_me: program exited with status $ac_status" >&5
28195 echo "$as_me: failed program was:" >&5
28196 sed 's/^/| /' conftest.$ac_ext >&5
28197
28198 ( exit $ac_status )
28199 ac_cv_header_png_h=no
28200 fi
28201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28202 fi
28203
28204
28205
28206 fi
28207 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28208 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28209 { echo "$as_me:$LINENO: checking for png.h" >&5
28210 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28211 if test "${ac_cv_header_png_h+set}" = set; then
28212 echo $ECHO_N "(cached) $ECHO_C" >&6
28213 else
28214 cat >conftest.$ac_ext <<_ACEOF
28215 /* confdefs.h. */
28216 _ACEOF
28217 cat confdefs.h >>conftest.$ac_ext
28218 cat >>conftest.$ac_ext <<_ACEOF
28219 /* end confdefs.h. */
28220
28221
28222 #include <png.h>
28223 _ACEOF
28224 rm -f conftest.$ac_objext
28225 if { (ac_try="$ac_compile"
28226 case "(($ac_try" in
28227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28228 *) ac_try_echo=$ac_try;;
28229 esac
28230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28231 (eval "$ac_compile") 2>conftest.er1
28232 ac_status=$?
28233 grep -v '^ *+' conftest.er1 >conftest.err
28234 rm -f conftest.er1
28235 cat conftest.err >&5
28236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28237 (exit $ac_status); } && {
28238 test -z "$ac_c_werror_flag" ||
28239 test ! -s conftest.err
28240 } && test -s conftest.$ac_objext; then
28241 ac_cv_header_png_h=yes
28242 else
28243 echo "$as_me: failed program was:" >&5
28244 sed 's/^/| /' conftest.$ac_ext >&5
28245
28246 ac_cv_header_png_h=no
28247 fi
28248
28249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28250 fi
28251 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28252 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28253
28254
28255
28256 if test "$ac_cv_header_png_h" = "yes"; then
28257 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28258 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28259 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28260 echo $ECHO_N "(cached) $ECHO_C" >&6
28261 else
28262 ac_check_lib_save_LIBS=$LIBS
28263 LIBS="-lpng -lz -lm $LIBS"
28264 cat >conftest.$ac_ext <<_ACEOF
28265 /* confdefs.h. */
28266 _ACEOF
28267 cat confdefs.h >>conftest.$ac_ext
28268 cat >>conftest.$ac_ext <<_ACEOF
28269 /* end confdefs.h. */
28270
28271 /* Override any GCC internal prototype to avoid an error.
28272 Use char because int might match the return type of a GCC
28273 builtin and then its argument prototype would still apply. */
28274 #ifdef __cplusplus
28275 extern "C"
28276 #endif
28277 char png_sig_cmp ();
28278 int
28279 main ()
28280 {
28281 return png_sig_cmp ();
28282 ;
28283 return 0;
28284 }
28285 _ACEOF
28286 rm -f conftest.$ac_objext conftest$ac_exeext
28287 if { (ac_try="$ac_link"
28288 case "(($ac_try" in
28289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28290 *) ac_try_echo=$ac_try;;
28291 esac
28292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28293 (eval "$ac_link") 2>conftest.er1
28294 ac_status=$?
28295 grep -v '^ *+' conftest.er1 >conftest.err
28296 rm -f conftest.er1
28297 cat conftest.err >&5
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); } && {
28300 test -z "$ac_c_werror_flag" ||
28301 test ! -s conftest.err
28302 } && test -s conftest$ac_exeext &&
28303 $as_test_x conftest$ac_exeext; then
28304 ac_cv_lib_png_png_sig_cmp=yes
28305 else
28306 echo "$as_me: failed program was:" >&5
28307 sed 's/^/| /' conftest.$ac_ext >&5
28308
28309 ac_cv_lib_png_png_sig_cmp=no
28310 fi
28311
28312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28313 conftest$ac_exeext conftest.$ac_ext
28314 LIBS=$ac_check_lib_save_LIBS
28315 fi
28316 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28317 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28318 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28319 PNG_LINK=" -lpng -lz"
28320 fi
28321
28322 fi
28323
28324 if test "x$PNG_LINK" = "x" ; then
28325 if test "$wxUSE_LIBPNG" = "sys" ; then
28326 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28327 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28328 { (exit 1); exit 1; }; }
28329 else
28330 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28331 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28332 wxUSE_LIBPNG=builtin
28333 fi
28334 else
28335 wxUSE_LIBPNG=sys
28336 fi
28337 fi
28338 fi
28339 fi
28340
28341
28342 JPEG_LINK=
28343 if test "$wxUSE_LIBJPEG" != "no" ; then
28344 cat >>confdefs.h <<\_ACEOF
28345 #define wxUSE_LIBJPEG 1
28346 _ACEOF
28347
28348
28349 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28350 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28351 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28352 wxUSE_LIBJPEG=sys
28353 fi
28354
28355 if test "$wxUSE_MGL" != 1 ; then
28356 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28357 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28358 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28359 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28360 echo $ECHO_N "(cached) $ECHO_C" >&6
28361 else
28362 cat >conftest.$ac_ext <<_ACEOF
28363 /* confdefs.h. */
28364 _ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368
28369 #undef HAVE_STDLIB_H
28370 #include <stdio.h>
28371 #include <jpeglib.h>
28372
28373 int
28374 main ()
28375 {
28376
28377
28378 ;
28379 return 0;
28380 }
28381 _ACEOF
28382 rm -f conftest.$ac_objext
28383 if { (ac_try="$ac_compile"
28384 case "(($ac_try" in
28385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28386 *) ac_try_echo=$ac_try;;
28387 esac
28388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28389 (eval "$ac_compile") 2>conftest.er1
28390 ac_status=$?
28391 grep -v '^ *+' conftest.er1 >conftest.err
28392 rm -f conftest.er1
28393 cat conftest.err >&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); } && {
28396 test -z "$ac_c_werror_flag" ||
28397 test ! -s conftest.err
28398 } && test -s conftest.$ac_objext; then
28399 ac_cv_header_jpeglib_h=yes
28400 else
28401 echo "$as_me: failed program was:" >&5
28402 sed 's/^/| /' conftest.$ac_ext >&5
28403
28404 ac_cv_header_jpeglib_h=no
28405
28406 fi
28407
28408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28409
28410 fi
28411
28412 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28413 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28414
28415 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28416 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28417 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28418 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28419 echo $ECHO_N "(cached) $ECHO_C" >&6
28420 else
28421 ac_check_lib_save_LIBS=$LIBS
28422 LIBS="-ljpeg $LIBS"
28423 cat >conftest.$ac_ext <<_ACEOF
28424 /* confdefs.h. */
28425 _ACEOF
28426 cat confdefs.h >>conftest.$ac_ext
28427 cat >>conftest.$ac_ext <<_ACEOF
28428 /* end confdefs.h. */
28429
28430 /* Override any GCC internal prototype to avoid an error.
28431 Use char because int might match the return type of a GCC
28432 builtin and then its argument prototype would still apply. */
28433 #ifdef __cplusplus
28434 extern "C"
28435 #endif
28436 char jpeg_read_header ();
28437 int
28438 main ()
28439 {
28440 return jpeg_read_header ();
28441 ;
28442 return 0;
28443 }
28444 _ACEOF
28445 rm -f conftest.$ac_objext conftest$ac_exeext
28446 if { (ac_try="$ac_link"
28447 case "(($ac_try" in
28448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28449 *) ac_try_echo=$ac_try;;
28450 esac
28451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28452 (eval "$ac_link") 2>conftest.er1
28453 ac_status=$?
28454 grep -v '^ *+' conftest.er1 >conftest.err
28455 rm -f conftest.er1
28456 cat conftest.err >&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } && {
28459 test -z "$ac_c_werror_flag" ||
28460 test ! -s conftest.err
28461 } && test -s conftest$ac_exeext &&
28462 $as_test_x conftest$ac_exeext; then
28463 ac_cv_lib_jpeg_jpeg_read_header=yes
28464 else
28465 echo "$as_me: failed program was:" >&5
28466 sed 's/^/| /' conftest.$ac_ext >&5
28467
28468 ac_cv_lib_jpeg_jpeg_read_header=no
28469 fi
28470
28471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28472 conftest$ac_exeext conftest.$ac_ext
28473 LIBS=$ac_check_lib_save_LIBS
28474 fi
28475 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28476 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28477 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28478 JPEG_LINK=" -ljpeg"
28479 fi
28480
28481 fi
28482
28483 if test "x$JPEG_LINK" = "x" ; then
28484 if test "$wxUSE_LIBJPEG" = "sys" ; then
28485 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28486 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28487 { (exit 1); exit 1; }; }
28488 else
28489 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28490 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28491 wxUSE_LIBJPEG=builtin
28492 fi
28493 else
28494 wxUSE_LIBJPEG=sys
28495
28496 if test "$wxUSE_MSW" = 1; then
28497 { echo "$as_me:$LINENO: checking for boolean" >&5
28498 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28499 if test "${ac_cv_type_boolean+set}" = set; then
28500 echo $ECHO_N "(cached) $ECHO_C" >&6
28501 else
28502 cat >conftest.$ac_ext <<_ACEOF
28503 /* confdefs.h. */
28504 _ACEOF
28505 cat confdefs.h >>conftest.$ac_ext
28506 cat >>conftest.$ac_ext <<_ACEOF
28507 /* end confdefs.h. */
28508 #include <windows.h>
28509
28510 typedef boolean ac__type_new_;
28511 int
28512 main ()
28513 {
28514 if ((ac__type_new_ *) 0)
28515 return 0;
28516 if (sizeof (ac__type_new_))
28517 return 0;
28518 ;
28519 return 0;
28520 }
28521 _ACEOF
28522 rm -f conftest.$ac_objext
28523 if { (ac_try="$ac_compile"
28524 case "(($ac_try" in
28525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28526 *) ac_try_echo=$ac_try;;
28527 esac
28528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28529 (eval "$ac_compile") 2>conftest.er1
28530 ac_status=$?
28531 grep -v '^ *+' conftest.er1 >conftest.err
28532 rm -f conftest.er1
28533 cat conftest.err >&5
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } && {
28536 test -z "$ac_c_werror_flag" ||
28537 test ! -s conftest.err
28538 } && test -s conftest.$ac_objext; then
28539 ac_cv_type_boolean=yes
28540 else
28541 echo "$as_me: failed program was:" >&5
28542 sed 's/^/| /' conftest.$ac_ext >&5
28543
28544 ac_cv_type_boolean=no
28545 fi
28546
28547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28548 fi
28549 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28550 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28551 if test $ac_cv_type_boolean = yes; then
28552
28553 cat >>confdefs.h <<_ACEOF
28554 #define HAVE_BOOLEAN 1
28555 _ACEOF
28556
28557
28558 { echo "$as_me:$LINENO: checking for boolean" >&5
28559 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28560 if test "${ac_cv_type_boolean+set}" = set; then
28561 echo $ECHO_N "(cached) $ECHO_C" >&6
28562 else
28563 cat >conftest.$ac_ext <<_ACEOF
28564 /* confdefs.h. */
28565 _ACEOF
28566 cat confdefs.h >>conftest.$ac_ext
28567 cat >>conftest.$ac_ext <<_ACEOF
28568 /* end confdefs.h. */
28569
28570 #undef HAVE_BOOLEAN
28571 #include <stdio.h>
28572 #include <jpeglib.h>
28573
28574
28575 typedef boolean ac__type_new_;
28576 int
28577 main ()
28578 {
28579 if ((ac__type_new_ *) 0)
28580 return 0;
28581 if (sizeof (ac__type_new_))
28582 return 0;
28583 ;
28584 return 0;
28585 }
28586 _ACEOF
28587 rm -f conftest.$ac_objext
28588 if { (ac_try="$ac_compile"
28589 case "(($ac_try" in
28590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28591 *) ac_try_echo=$ac_try;;
28592 esac
28593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28594 (eval "$ac_compile") 2>conftest.er1
28595 ac_status=$?
28596 grep -v '^ *+' conftest.er1 >conftest.err
28597 rm -f conftest.er1
28598 cat conftest.err >&5
28599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28600 (exit $ac_status); } && {
28601 test -z "$ac_c_werror_flag" ||
28602 test ! -s conftest.err
28603 } && test -s conftest.$ac_objext; then
28604 ac_cv_type_boolean=yes
28605 else
28606 echo "$as_me: failed program was:" >&5
28607 sed 's/^/| /' conftest.$ac_ext >&5
28608
28609 ac_cv_type_boolean=no
28610 fi
28611
28612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28613 fi
28614 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28615 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28616
28617 # The cast to long int works around a bug in the HP C Compiler
28618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28620 # This bug is HP SR number 8606223364.
28621 { echo "$as_me:$LINENO: checking size of boolean" >&5
28622 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28623 if test "${ac_cv_sizeof_boolean+set}" = set; then
28624 echo $ECHO_N "(cached) $ECHO_C" >&6
28625 else
28626 if test "$cross_compiling" = yes; then
28627 # Depending upon the size, compute the lo and hi bounds.
28628 cat >conftest.$ac_ext <<_ACEOF
28629 /* confdefs.h. */
28630 _ACEOF
28631 cat confdefs.h >>conftest.$ac_ext
28632 cat >>conftest.$ac_ext <<_ACEOF
28633 /* end confdefs.h. */
28634
28635 #undef HAVE_BOOLEAN
28636 #include <stdio.h>
28637 #include <jpeglib.h>
28638
28639
28640 typedef boolean ac__type_sizeof_;
28641 int
28642 main ()
28643 {
28644 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28645 test_array [0] = 0
28646
28647 ;
28648 return 0;
28649 }
28650 _ACEOF
28651 rm -f conftest.$ac_objext
28652 if { (ac_try="$ac_compile"
28653 case "(($ac_try" in
28654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28655 *) ac_try_echo=$ac_try;;
28656 esac
28657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28658 (eval "$ac_compile") 2>conftest.er1
28659 ac_status=$?
28660 grep -v '^ *+' conftest.er1 >conftest.err
28661 rm -f conftest.er1
28662 cat conftest.err >&5
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); } && {
28665 test -z "$ac_c_werror_flag" ||
28666 test ! -s conftest.err
28667 } && test -s conftest.$ac_objext; then
28668 ac_lo=0 ac_mid=0
28669 while :; do
28670 cat >conftest.$ac_ext <<_ACEOF
28671 /* confdefs.h. */
28672 _ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28676
28677 #undef HAVE_BOOLEAN
28678 #include <stdio.h>
28679 #include <jpeglib.h>
28680
28681
28682 typedef boolean ac__type_sizeof_;
28683 int
28684 main ()
28685 {
28686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28687 test_array [0] = 0
28688
28689 ;
28690 return 0;
28691 }
28692 _ACEOF
28693 rm -f conftest.$ac_objext
28694 if { (ac_try="$ac_compile"
28695 case "(($ac_try" in
28696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28697 *) ac_try_echo=$ac_try;;
28698 esac
28699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28700 (eval "$ac_compile") 2>conftest.er1
28701 ac_status=$?
28702 grep -v '^ *+' conftest.er1 >conftest.err
28703 rm -f conftest.er1
28704 cat conftest.err >&5
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); } && {
28707 test -z "$ac_c_werror_flag" ||
28708 test ! -s conftest.err
28709 } && test -s conftest.$ac_objext; then
28710 ac_hi=$ac_mid; break
28711 else
28712 echo "$as_me: failed program was:" >&5
28713 sed 's/^/| /' conftest.$ac_ext >&5
28714
28715 ac_lo=`expr $ac_mid + 1`
28716 if test $ac_lo -le $ac_mid; then
28717 ac_lo= ac_hi=
28718 break
28719 fi
28720 ac_mid=`expr 2 '*' $ac_mid + 1`
28721 fi
28722
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28724 done
28725 else
28726 echo "$as_me: failed program was:" >&5
28727 sed 's/^/| /' conftest.$ac_ext >&5
28728
28729 cat >conftest.$ac_ext <<_ACEOF
28730 /* confdefs.h. */
28731 _ACEOF
28732 cat confdefs.h >>conftest.$ac_ext
28733 cat >>conftest.$ac_ext <<_ACEOF
28734 /* end confdefs.h. */
28735
28736 #undef HAVE_BOOLEAN
28737 #include <stdio.h>
28738 #include <jpeglib.h>
28739
28740
28741 typedef boolean ac__type_sizeof_;
28742 int
28743 main ()
28744 {
28745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28746 test_array [0] = 0
28747
28748 ;
28749 return 0;
28750 }
28751 _ACEOF
28752 rm -f conftest.$ac_objext
28753 if { (ac_try="$ac_compile"
28754 case "(($ac_try" in
28755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28756 *) ac_try_echo=$ac_try;;
28757 esac
28758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28759 (eval "$ac_compile") 2>conftest.er1
28760 ac_status=$?
28761 grep -v '^ *+' conftest.er1 >conftest.err
28762 rm -f conftest.er1
28763 cat conftest.err >&5
28764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28765 (exit $ac_status); } && {
28766 test -z "$ac_c_werror_flag" ||
28767 test ! -s conftest.err
28768 } && test -s conftest.$ac_objext; then
28769 ac_hi=-1 ac_mid=-1
28770 while :; do
28771 cat >conftest.$ac_ext <<_ACEOF
28772 /* confdefs.h. */
28773 _ACEOF
28774 cat confdefs.h >>conftest.$ac_ext
28775 cat >>conftest.$ac_ext <<_ACEOF
28776 /* end confdefs.h. */
28777
28778 #undef HAVE_BOOLEAN
28779 #include <stdio.h>
28780 #include <jpeglib.h>
28781
28782
28783 typedef boolean ac__type_sizeof_;
28784 int
28785 main ()
28786 {
28787 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28788 test_array [0] = 0
28789
28790 ;
28791 return 0;
28792 }
28793 _ACEOF
28794 rm -f conftest.$ac_objext
28795 if { (ac_try="$ac_compile"
28796 case "(($ac_try" in
28797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28798 *) ac_try_echo=$ac_try;;
28799 esac
28800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28801 (eval "$ac_compile") 2>conftest.er1
28802 ac_status=$?
28803 grep -v '^ *+' conftest.er1 >conftest.err
28804 rm -f conftest.er1
28805 cat conftest.err >&5
28806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28807 (exit $ac_status); } && {
28808 test -z "$ac_c_werror_flag" ||
28809 test ! -s conftest.err
28810 } && test -s conftest.$ac_objext; then
28811 ac_lo=$ac_mid; break
28812 else
28813 echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.$ac_ext >&5
28815
28816 ac_hi=`expr '(' $ac_mid ')' - 1`
28817 if test $ac_mid -le $ac_hi; then
28818 ac_lo= ac_hi=
28819 break
28820 fi
28821 ac_mid=`expr 2 '*' $ac_mid`
28822 fi
28823
28824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28825 done
28826 else
28827 echo "$as_me: failed program was:" >&5
28828 sed 's/^/| /' conftest.$ac_ext >&5
28829
28830 ac_lo= ac_hi=
28831 fi
28832
28833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28834 fi
28835
28836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28837 # Binary search between lo and hi bounds.
28838 while test "x$ac_lo" != "x$ac_hi"; do
28839 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28840 cat >conftest.$ac_ext <<_ACEOF
28841 /* confdefs.h. */
28842 _ACEOF
28843 cat confdefs.h >>conftest.$ac_ext
28844 cat >>conftest.$ac_ext <<_ACEOF
28845 /* end confdefs.h. */
28846
28847 #undef HAVE_BOOLEAN
28848 #include <stdio.h>
28849 #include <jpeglib.h>
28850
28851
28852 typedef boolean ac__type_sizeof_;
28853 int
28854 main ()
28855 {
28856 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28857 test_array [0] = 0
28858
28859 ;
28860 return 0;
28861 }
28862 _ACEOF
28863 rm -f conftest.$ac_objext
28864 if { (ac_try="$ac_compile"
28865 case "(($ac_try" in
28866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28867 *) ac_try_echo=$ac_try;;
28868 esac
28869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28870 (eval "$ac_compile") 2>conftest.er1
28871 ac_status=$?
28872 grep -v '^ *+' conftest.er1 >conftest.err
28873 rm -f conftest.er1
28874 cat conftest.err >&5
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); } && {
28877 test -z "$ac_c_werror_flag" ||
28878 test ! -s conftest.err
28879 } && test -s conftest.$ac_objext; then
28880 ac_hi=$ac_mid
28881 else
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28884
28885 ac_lo=`expr '(' $ac_mid ')' + 1`
28886 fi
28887
28888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28889 done
28890 case $ac_lo in
28891 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28892 '') if test "$ac_cv_type_boolean" = yes; then
28893 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28894 See \`config.log' for more details." >&5
28895 echo "$as_me: error: cannot compute sizeof (boolean)
28896 See \`config.log' for more details." >&2;}
28897 { (exit 77); exit 77; }; }
28898 else
28899 ac_cv_sizeof_boolean=0
28900 fi ;;
28901 esac
28902 else
28903 cat >conftest.$ac_ext <<_ACEOF
28904 /* confdefs.h. */
28905 _ACEOF
28906 cat confdefs.h >>conftest.$ac_ext
28907 cat >>conftest.$ac_ext <<_ACEOF
28908 /* end confdefs.h. */
28909
28910 #undef HAVE_BOOLEAN
28911 #include <stdio.h>
28912 #include <jpeglib.h>
28913
28914
28915 typedef boolean ac__type_sizeof_;
28916 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28917 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28918 #include <stdio.h>
28919 #include <stdlib.h>
28920 int
28921 main ()
28922 {
28923
28924 FILE *f = fopen ("conftest.val", "w");
28925 if (! f)
28926 return 1;
28927 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28928 {
28929 long int i = longval ();
28930 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28931 return 1;
28932 fprintf (f, "%ld\n", i);
28933 }
28934 else
28935 {
28936 unsigned long int i = ulongval ();
28937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28938 return 1;
28939 fprintf (f, "%lu\n", i);
28940 }
28941 return ferror (f) || fclose (f) != 0;
28942
28943 ;
28944 return 0;
28945 }
28946 _ACEOF
28947 rm -f conftest$ac_exeext
28948 if { (ac_try="$ac_link"
28949 case "(($ac_try" in
28950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28951 *) ac_try_echo=$ac_try;;
28952 esac
28953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28954 (eval "$ac_link") 2>&5
28955 ac_status=$?
28956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28958 { (case "(($ac_try" in
28959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28960 *) ac_try_echo=$ac_try;;
28961 esac
28962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28963 (eval "$ac_try") 2>&5
28964 ac_status=$?
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); }; }; then
28967 ac_cv_sizeof_boolean=`cat conftest.val`
28968 else
28969 echo "$as_me: program exited with status $ac_status" >&5
28970 echo "$as_me: failed program was:" >&5
28971 sed 's/^/| /' conftest.$ac_ext >&5
28972
28973 ( exit $ac_status )
28974 if test "$ac_cv_type_boolean" = yes; then
28975 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28976 See \`config.log' for more details." >&5
28977 echo "$as_me: error: cannot compute sizeof (boolean)
28978 See \`config.log' for more details." >&2;}
28979 { (exit 77); exit 77; }; }
28980 else
28981 ac_cv_sizeof_boolean=0
28982 fi
28983 fi
28984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28985 fi
28986 rm -f conftest.val
28987 fi
28988 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28989 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28990
28991
28992
28993 cat >>confdefs.h <<_ACEOF
28994 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28995 _ACEOF
28996
28997
28998 cat >>confdefs.h <<_ACEOF
28999 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29000 _ACEOF
29001
29002
29003 fi
29004
29005 fi
29006 fi
29007 fi
29008 fi
29009 fi
29010
29011
29012 TIFF_LINK=
29013 TIFF_PREREQ_LINKS=-lm
29014 if test "$wxUSE_LIBTIFF" != "no" ; then
29015 cat >>confdefs.h <<\_ACEOF
29016 #define wxUSE_LIBTIFF 1
29017 _ACEOF
29018
29019
29020 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29021 if test "$wxUSE_LIBJPEG" = "sys"; then
29022 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29023 fi
29024 if test "$wxUSE_ZLIB" = "sys"; then
29025 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29026 fi
29027 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29028 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29029 if test "${ac_cv_header_tiffio_h+set}" = set; then
29030 echo $ECHO_N "(cached) $ECHO_C" >&6
29031 else
29032 cat >conftest.$ac_ext <<_ACEOF
29033 /* confdefs.h. */
29034 _ACEOF
29035 cat confdefs.h >>conftest.$ac_ext
29036 cat >>conftest.$ac_ext <<_ACEOF
29037 /* end confdefs.h. */
29038
29039
29040
29041 #include <tiffio.h>
29042 _ACEOF
29043 rm -f conftest.$ac_objext
29044 if { (ac_try="$ac_compile"
29045 case "(($ac_try" in
29046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29047 *) ac_try_echo=$ac_try;;
29048 esac
29049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29050 (eval "$ac_compile") 2>conftest.er1
29051 ac_status=$?
29052 grep -v '^ *+' conftest.er1 >conftest.err
29053 rm -f conftest.er1
29054 cat conftest.err >&5
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); } && {
29057 test -z "$ac_c_werror_flag" ||
29058 test ! -s conftest.err
29059 } && test -s conftest.$ac_objext; then
29060 ac_cv_header_tiffio_h=yes
29061 else
29062 echo "$as_me: failed program was:" >&5
29063 sed 's/^/| /' conftest.$ac_ext >&5
29064
29065 ac_cv_header_tiffio_h=no
29066 fi
29067
29068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29069 fi
29070 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29071 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29072 if test $ac_cv_header_tiffio_h = yes; then
29073
29074 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29075 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29076 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29077 echo $ECHO_N "(cached) $ECHO_C" >&6
29078 else
29079 ac_check_lib_save_LIBS=$LIBS
29080 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29081 cat >conftest.$ac_ext <<_ACEOF
29082 /* confdefs.h. */
29083 _ACEOF
29084 cat confdefs.h >>conftest.$ac_ext
29085 cat >>conftest.$ac_ext <<_ACEOF
29086 /* end confdefs.h. */
29087
29088 /* Override any GCC internal prototype to avoid an error.
29089 Use char because int might match the return type of a GCC
29090 builtin and then its argument prototype would still apply. */
29091 #ifdef __cplusplus
29092 extern "C"
29093 #endif
29094 char TIFFError ();
29095 int
29096 main ()
29097 {
29098 return TIFFError ();
29099 ;
29100 return 0;
29101 }
29102 _ACEOF
29103 rm -f conftest.$ac_objext conftest$ac_exeext
29104 if { (ac_try="$ac_link"
29105 case "(($ac_try" in
29106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29107 *) ac_try_echo=$ac_try;;
29108 esac
29109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29110 (eval "$ac_link") 2>conftest.er1
29111 ac_status=$?
29112 grep -v '^ *+' conftest.er1 >conftest.err
29113 rm -f conftest.er1
29114 cat conftest.err >&5
29115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116 (exit $ac_status); } && {
29117 test -z "$ac_c_werror_flag" ||
29118 test ! -s conftest.err
29119 } && test -s conftest$ac_exeext &&
29120 $as_test_x conftest$ac_exeext; then
29121 ac_cv_lib_tiff_TIFFError=yes
29122 else
29123 echo "$as_me: failed program was:" >&5
29124 sed 's/^/| /' conftest.$ac_ext >&5
29125
29126 ac_cv_lib_tiff_TIFFError=no
29127 fi
29128
29129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29130 conftest$ac_exeext conftest.$ac_ext
29131 LIBS=$ac_check_lib_save_LIBS
29132 fi
29133 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29134 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29135 if test $ac_cv_lib_tiff_TIFFError = yes; then
29136 TIFF_LINK=" -ltiff"
29137 fi
29138
29139
29140 fi
29141
29142
29143
29144 if test "x$TIFF_LINK" = "x" ; then
29145 if test "$wxUSE_LIBTIFF" = "sys" ; then
29146 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29147 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29148 { (exit 1); exit 1; }; }
29149 else
29150 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29151 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29152 wxUSE_LIBTIFF=builtin
29153 fi
29154 else
29155 wxUSE_LIBTIFF=sys
29156 fi
29157 fi
29158 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29159 if test "$wxUSE_LIBJPEG" = "no"; then
29160 ac_configure_args="$ac_configure_args --disable-jpeg"
29161 fi
29162 subdirs="$subdirs src/tiff"
29163
29164 fi
29165 fi
29166
29167
29168 if test "$wxUSE_EXPAT" != "no"; then
29169 wxUSE_XML=yes
29170 cat >>confdefs.h <<\_ACEOF
29171 #define wxUSE_EXPAT 1
29172 _ACEOF
29173
29174 cat >>confdefs.h <<\_ACEOF
29175 #define wxUSE_XML 1
29176 _ACEOF
29177
29178
29179 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29180 { echo "$as_me:$LINENO: checking for expat.h" >&5
29181 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29182 if test "${ac_cv_header_expat_h+set}" = set; then
29183 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 else
29185 cat >conftest.$ac_ext <<_ACEOF
29186 /* confdefs.h. */
29187 _ACEOF
29188 cat confdefs.h >>conftest.$ac_ext
29189 cat >>conftest.$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29191
29192
29193 #include <expat.h>
29194 _ACEOF
29195 rm -f conftest.$ac_objext
29196 if { (ac_try="$ac_compile"
29197 case "(($ac_try" in
29198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29199 *) ac_try_echo=$ac_try;;
29200 esac
29201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_compile") 2>conftest.er1
29203 ac_status=$?
29204 grep -v '^ *+' conftest.er1 >conftest.err
29205 rm -f conftest.er1
29206 cat conftest.err >&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); } && {
29209 test -z "$ac_c_werror_flag" ||
29210 test ! -s conftest.err
29211 } && test -s conftest.$ac_objext; then
29212 ac_cv_header_expat_h=yes
29213 else
29214 echo "$as_me: failed program was:" >&5
29215 sed 's/^/| /' conftest.$ac_ext >&5
29216
29217 ac_cv_header_expat_h=no
29218 fi
29219
29220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29221 fi
29222 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29223 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29224 if test $ac_cv_header_expat_h = yes; then
29225 found_expat_h=1
29226 fi
29227
29228
29229 if test "x$found_expat_h" = "x1"; then
29230 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29231 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29232 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29233 echo $ECHO_N "(cached) $ECHO_C" >&6
29234 else
29235
29236 ac_ext=cpp
29237 ac_cpp='$CXXCPP $CPPFLAGS'
29238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29241
29242 cat >conftest.$ac_ext <<_ACEOF
29243 /* confdefs.h. */
29244 _ACEOF
29245 cat confdefs.h >>conftest.$ac_ext
29246 cat >>conftest.$ac_ext <<_ACEOF
29247 /* end confdefs.h. */
29248 #include <expat.h>
29249 int
29250 main ()
29251 {
29252
29253 ;
29254 return 0;
29255 }
29256 _ACEOF
29257 rm -f conftest.$ac_objext
29258 if { (ac_try="$ac_compile"
29259 case "(($ac_try" in
29260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29261 *) ac_try_echo=$ac_try;;
29262 esac
29263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29264 (eval "$ac_compile") 2>conftest.er1
29265 ac_status=$?
29266 grep -v '^ *+' conftest.er1 >conftest.err
29267 rm -f conftest.er1
29268 cat conftest.err >&5
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); } && {
29271 test -z "$ac_cxx_werror_flag" ||
29272 test ! -s conftest.err
29273 } && test -s conftest.$ac_objext; then
29274 wx_cv_expat_is_not_broken=yes
29275 else
29276 echo "$as_me: failed program was:" >&5
29277 sed 's/^/| /' conftest.$ac_ext >&5
29278
29279 wx_cv_expat_is_not_broken=no
29280
29281 fi
29282
29283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29284 ac_ext=c
29285 ac_cpp='$CPP $CPPFLAGS'
29286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29289
29290
29291
29292 fi
29293 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29294 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29295 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29296 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29297 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29298 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29299 echo $ECHO_N "(cached) $ECHO_C" >&6
29300 else
29301 ac_check_lib_save_LIBS=$LIBS
29302 LIBS="-lexpat $LIBS"
29303 cat >conftest.$ac_ext <<_ACEOF
29304 /* confdefs.h. */
29305 _ACEOF
29306 cat confdefs.h >>conftest.$ac_ext
29307 cat >>conftest.$ac_ext <<_ACEOF
29308 /* end confdefs.h. */
29309
29310 /* Override any GCC internal prototype to avoid an error.
29311 Use char because int might match the return type of a GCC
29312 builtin and then its argument prototype would still apply. */
29313 #ifdef __cplusplus
29314 extern "C"
29315 #endif
29316 char XML_ParserCreate ();
29317 int
29318 main ()
29319 {
29320 return XML_ParserCreate ();
29321 ;
29322 return 0;
29323 }
29324 _ACEOF
29325 rm -f conftest.$ac_objext conftest$ac_exeext
29326 if { (ac_try="$ac_link"
29327 case "(($ac_try" in
29328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29329 *) ac_try_echo=$ac_try;;
29330 esac
29331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29332 (eval "$ac_link") 2>conftest.er1
29333 ac_status=$?
29334 grep -v '^ *+' conftest.er1 >conftest.err
29335 rm -f conftest.er1
29336 cat conftest.err >&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); } && {
29339 test -z "$ac_c_werror_flag" ||
29340 test ! -s conftest.err
29341 } && test -s conftest$ac_exeext &&
29342 $as_test_x conftest$ac_exeext; then
29343 ac_cv_lib_expat_XML_ParserCreate=yes
29344 else
29345 echo "$as_me: failed program was:" >&5
29346 sed 's/^/| /' conftest.$ac_ext >&5
29347
29348 ac_cv_lib_expat_XML_ParserCreate=no
29349 fi
29350
29351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29352 conftest$ac_exeext conftest.$ac_ext
29353 LIBS=$ac_check_lib_save_LIBS
29354 fi
29355 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29356 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29357 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29358 EXPAT_LINK=" -lexpat"
29359 fi
29360
29361 fi
29362 fi
29363 if test "x$EXPAT_LINK" = "x" ; then
29364 if test "$wxUSE_EXPAT" = "sys" ; then
29365 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29366 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29367 { (exit 1); exit 1; }; }
29368 else
29369 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29370 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29371 wxUSE_EXPAT=builtin
29372 fi
29373 else
29374 wxUSE_EXPAT=sys
29375 fi
29376 fi
29377 if test "$wxUSE_EXPAT" = "builtin" ; then
29378 subdirs="$subdirs src/expat"
29379
29380 fi
29381 fi
29382
29383
29384
29385 if test "$wxUSE_LIBMSPACK" != "no"; then
29386 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29387 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29388 if test "${ac_cv_header_mspack_h+set}" = set; then
29389 echo $ECHO_N "(cached) $ECHO_C" >&6
29390 else
29391 cat >conftest.$ac_ext <<_ACEOF
29392 /* confdefs.h. */
29393 _ACEOF
29394 cat confdefs.h >>conftest.$ac_ext
29395 cat >>conftest.$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29397
29398
29399 #include <mspack.h>
29400 _ACEOF
29401 rm -f conftest.$ac_objext
29402 if { (ac_try="$ac_compile"
29403 case "(($ac_try" in
29404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29405 *) ac_try_echo=$ac_try;;
29406 esac
29407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29408 (eval "$ac_compile") 2>conftest.er1
29409 ac_status=$?
29410 grep -v '^ *+' conftest.er1 >conftest.err
29411 rm -f conftest.er1
29412 cat conftest.err >&5
29413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29414 (exit $ac_status); } && {
29415 test -z "$ac_c_werror_flag" ||
29416 test ! -s conftest.err
29417 } && test -s conftest.$ac_objext; then
29418 ac_cv_header_mspack_h=yes
29419 else
29420 echo "$as_me: failed program was:" >&5
29421 sed 's/^/| /' conftest.$ac_ext >&5
29422
29423 ac_cv_header_mspack_h=no
29424 fi
29425
29426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29427 fi
29428 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29429 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29430 if test $ac_cv_header_mspack_h = yes; then
29431 found_mspack_h=1
29432 fi
29433
29434
29435 if test "x$found_mspack_h" = "x1"; then
29436 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29437 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29438 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29439 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 else
29441 ac_check_lib_save_LIBS=$LIBS
29442 LIBS="-lmspack $LIBS"
29443 cat >conftest.$ac_ext <<_ACEOF
29444 /* confdefs.h. */
29445 _ACEOF
29446 cat confdefs.h >>conftest.$ac_ext
29447 cat >>conftest.$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29449
29450 /* Override any GCC internal prototype to avoid an error.
29451 Use char because int might match the return type of a GCC
29452 builtin and then its argument prototype would still apply. */
29453 #ifdef __cplusplus
29454 extern "C"
29455 #endif
29456 char mspack_create_chm_decompressor ();
29457 int
29458 main ()
29459 {
29460 return mspack_create_chm_decompressor ();
29461 ;
29462 return 0;
29463 }
29464 _ACEOF
29465 rm -f conftest.$ac_objext conftest$ac_exeext
29466 if { (ac_try="$ac_link"
29467 case "(($ac_try" in
29468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29469 *) ac_try_echo=$ac_try;;
29470 esac
29471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29472 (eval "$ac_link") 2>conftest.er1
29473 ac_status=$?
29474 grep -v '^ *+' conftest.er1 >conftest.err
29475 rm -f conftest.er1
29476 cat conftest.err >&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } && {
29479 test -z "$ac_c_werror_flag" ||
29480 test ! -s conftest.err
29481 } && test -s conftest$ac_exeext &&
29482 $as_test_x conftest$ac_exeext; then
29483 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29484 else
29485 echo "$as_me: failed program was:" >&5
29486 sed 's/^/| /' conftest.$ac_ext >&5
29487
29488 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29489 fi
29490
29491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29492 conftest$ac_exeext conftest.$ac_ext
29493 LIBS=$ac_check_lib_save_LIBS
29494 fi
29495 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29496 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29497 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29498 MSPACK_LINK=" -lmspack"
29499 fi
29500
29501 fi
29502 if test "x$MSPACK_LINK" = "x" ; then
29503 wxUSE_LIBMSPACK=no
29504 fi
29505 fi
29506
29507 if test "$wxUSE_LIBMSPACK" != "no"; then
29508 cat >>confdefs.h <<\_ACEOF
29509 #define wxUSE_LIBMSPACK 1
29510 _ACEOF
29511
29512 fi
29513
29514
29515
29516 AFMINSTALL=
29517 WIN32INSTALL=
29518
29519 TOOLKIT=
29520 TOOLKIT_INCLUDE=
29521 WIDGET_SET=
29522
29523 if test "$USE_WIN32" = 1 ; then
29524
29525 for ac_header in w32api.h
29526 do
29527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29528 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29530 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29531 echo $ECHO_N "(cached) $ECHO_C" >&6
29532 else
29533 cat >conftest.$ac_ext <<_ACEOF
29534 /* confdefs.h. */
29535 _ACEOF
29536 cat confdefs.h >>conftest.$ac_ext
29537 cat >>conftest.$ac_ext <<_ACEOF
29538 /* end confdefs.h. */
29539
29540
29541 #include <$ac_header>
29542 _ACEOF
29543 rm -f conftest.$ac_objext
29544 if { (ac_try="$ac_compile"
29545 case "(($ac_try" in
29546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29547 *) ac_try_echo=$ac_try;;
29548 esac
29549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29550 (eval "$ac_compile") 2>conftest.er1
29551 ac_status=$?
29552 grep -v '^ *+' conftest.er1 >conftest.err
29553 rm -f conftest.er1
29554 cat conftest.err >&5
29555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29556 (exit $ac_status); } && {
29557 test -z "$ac_c_werror_flag" ||
29558 test ! -s conftest.err
29559 } && test -s conftest.$ac_objext; then
29560 eval "$as_ac_Header=yes"
29561 else
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.$ac_ext >&5
29564
29565 eval "$as_ac_Header=no"
29566 fi
29567
29568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29569 fi
29570 ac_res=`eval echo '${'$as_ac_Header'}'`
29571 { echo "$as_me:$LINENO: result: $ac_res" >&5
29572 echo "${ECHO_T}$ac_res" >&6; }
29573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29574 cat >>confdefs.h <<_ACEOF
29575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29576 _ACEOF
29577
29578 fi
29579
29580 done
29581
29582 { echo "$as_me:$LINENO: checking for windows.h" >&5
29583 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29584 if test "${ac_cv_header_windows_h+set}" = set; then
29585 echo $ECHO_N "(cached) $ECHO_C" >&6
29586 else
29587 cat >conftest.$ac_ext <<_ACEOF
29588 /* confdefs.h. */
29589 _ACEOF
29590 cat confdefs.h >>conftest.$ac_ext
29591 cat >>conftest.$ac_ext <<_ACEOF
29592 /* end confdefs.h. */
29593
29594
29595 #include <windows.h>
29596 _ACEOF
29597 rm -f conftest.$ac_objext
29598 if { (ac_try="$ac_compile"
29599 case "(($ac_try" in
29600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29601 *) ac_try_echo=$ac_try;;
29602 esac
29603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29604 (eval "$ac_compile") 2>conftest.er1
29605 ac_status=$?
29606 grep -v '^ *+' conftest.er1 >conftest.err
29607 rm -f conftest.er1
29608 cat conftest.err >&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } && {
29611 test -z "$ac_c_werror_flag" ||
29612 test ! -s conftest.err
29613 } && test -s conftest.$ac_objext; then
29614 ac_cv_header_windows_h=yes
29615 else
29616 echo "$as_me: failed program was:" >&5
29617 sed 's/^/| /' conftest.$ac_ext >&5
29618
29619 ac_cv_header_windows_h=no
29620 fi
29621
29622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29623 fi
29624 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29625 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29626 if test $ac_cv_header_windows_h = yes; then
29627 :
29628 else
29629
29630 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29631 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29632 { (exit 1); exit 1; }; }
29633
29634 fi
29635
29636
29637
29638 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29639 case "${host}" in
29640 x86_64-*-mingw32* )
29641 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29642 ;;
29643 esac
29644 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29645 LIBS="$LIBS -loleacc"
29646 fi
29647
29648 case "${host}" in
29649 *-*-cygwin* )
29650 LIBS="$LIBS -lkernel32 -luser32"
29651 esac
29652
29653 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29654 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29655
29656 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29657
29658 WIN32INSTALL=win32install
29659
29660 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29661 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29662 if test "${ac_cv_header_pbt_h+set}" = set; then
29663 echo $ECHO_N "(cached) $ECHO_C" >&6
29664 else
29665 cat >conftest.$ac_ext <<_ACEOF
29666 /* confdefs.h. */
29667 _ACEOF
29668 cat confdefs.h >>conftest.$ac_ext
29669 cat >>conftest.$ac_ext <<_ACEOF
29670 /* end confdefs.h. */
29671
29672
29673 #include <pbt.h>
29674 _ACEOF
29675 rm -f conftest.$ac_objext
29676 if { (ac_try="$ac_compile"
29677 case "(($ac_try" in
29678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29679 *) ac_try_echo=$ac_try;;
29680 esac
29681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29682 (eval "$ac_compile") 2>conftest.er1
29683 ac_status=$?
29684 grep -v '^ *+' conftest.er1 >conftest.err
29685 rm -f conftest.er1
29686 cat conftest.err >&5
29687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29688 (exit $ac_status); } && {
29689 test -z "$ac_c_werror_flag" ||
29690 test ! -s conftest.err
29691 } && test -s conftest.$ac_objext; then
29692 ac_cv_header_pbt_h=yes
29693 else
29694 echo "$as_me: failed program was:" >&5
29695 sed 's/^/| /' conftest.$ac_ext >&5
29696
29697 ac_cv_header_pbt_h=no
29698 fi
29699
29700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29701 fi
29702 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29703 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29704 if test $ac_cv_header_pbt_h = yes; then
29705 :
29706 else
29707 cat >>confdefs.h <<\_ACEOF
29708 #define NEED_PBT_H 1
29709 _ACEOF
29710
29711 fi
29712
29713
29714 fi
29715
29716 if test "$wxUSE_GUI" = "yes"; then
29717 USE_GUI=1
29718
29719 GUI_TK_LIBRARY=
29720
29721 WXGTK127=
29722 WXGTK2=
29723 WXGPE=
29724
29725 if test "$wxUSE_OLD_COCOA" = 1 ; then
29726 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29727 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29728 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29729 wxUSE_PRINTING_ARCHITECTURE=no
29730 fi
29731 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29732 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29733 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29734 wxUSE_DRAG_AND_DROP=no
29735 fi
29736 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29737 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29738 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29739 wxUSE_DRAGIMAGE=no
29740 fi
29741 fi
29742
29743 if test "$wxUSE_MSW" = 1 ; then
29744 TOOLKIT=MSW
29745 GUIDIST=MSW_DIST
29746
29747 case "${host}" in
29748 *-*-mingw32* )
29749 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29750 esac
29751 fi
29752
29753 if test "$wxUSE_GTK" = 1; then
29754 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29755 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29756
29757 gtk_version_cached=1
29758 if test "${wx_cv_lib_gtk+set}" = set; then
29759 echo $ECHO_N "(cached) $ECHO_C" >&6
29760 else
29761
29762 gtk_version_cached=0
29763 { echo "$as_me:$LINENO: result: " >&5
29764 echo "${ECHO_T}" >&6; }
29765
29766 GTK_MODULES=
29767 if test "$wxUSE_THREADS" = "yes"; then
29768 GTK_MODULES=gthread
29769 fi
29770
29771 wx_cv_lib_gtk=
29772 if test "x$wxGTK_VERSION" != "x1"
29773 then
29774 case "${host}" in
29775 *-*-solaris2* )
29776 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29777 enable_gtktest=no
29778 fi
29779 esac
29780
29781 # Check whether --enable-gtktest was given.
29782 if test "${enable_gtktest+set}" = set; then
29783 enableval=$enable_gtktest;
29784 else
29785 enable_gtktest=yes
29786 fi
29787
29788
29789 pkg_config_args=gtk+-2.0
29790 for module in . $GTK_MODULES
29791 do
29792 case "$module" in
29793 gthread)
29794 pkg_config_args="$pkg_config_args gthread-2.0"
29795 ;;
29796 esac
29797 done
29798
29799 no_gtk=""
29800
29801 # Extract the first word of "pkg-config", so it can be a program name with args.
29802 set dummy pkg-config; ac_word=$2
29803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29805 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29807 else
29808 case $PKG_CONFIG in
29809 [\\/]* | ?:[\\/]*)
29810 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29811 ;;
29812 *)
29813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29814 for as_dir in $PATH
29815 do
29816 IFS=$as_save_IFS
29817 test -z "$as_dir" && as_dir=.
29818 for ac_exec_ext in '' $ac_executable_extensions; do
29819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29820 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29822 break 2
29823 fi
29824 done
29825 done
29826 IFS=$as_save_IFS
29827
29828 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29829 ;;
29830 esac
29831 fi
29832 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29833 if test -n "$PKG_CONFIG"; then
29834 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29835 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29836 else
29837 { echo "$as_me:$LINENO: result: no" >&5
29838 echo "${ECHO_T}no" >&6; }
29839 fi
29840
29841
29842
29843 if test x$PKG_CONFIG != xno ; then
29844 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29845 :
29846 else
29847 echo "*** pkg-config too old; version 0.7 or better required."
29848 no_gtk=yes
29849 PKG_CONFIG=no
29850 fi
29851 else
29852 no_gtk=yes
29853 fi
29854
29855 min_gtk_version=2.4.0
29856 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29857 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29858
29859 if test x$PKG_CONFIG != xno ; then
29860 ## don't try to run the test against uninstalled libtool libs
29861 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29862 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29863 enable_gtktest=no
29864 fi
29865
29866 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29867 :
29868 else
29869 no_gtk=yes
29870 fi
29871 fi
29872
29873 if test x"$no_gtk" = x ; then
29874 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29875 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29876 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29878 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29880 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29882 if test "x$enable_gtktest" = "xyes" ; then
29883 ac_save_CFLAGS="$CFLAGS"
29884 ac_save_LIBS="$LIBS"
29885 CFLAGS="$CFLAGS $GTK_CFLAGS"
29886 LIBS="$GTK_LIBS $LIBS"
29887 rm -f conf.gtktest
29888 if test "$cross_compiling" = yes; then
29889 echo $ac_n "cross compiling; assumed OK... $ac_c"
29890 else
29891 cat >conftest.$ac_ext <<_ACEOF
29892 /* confdefs.h. */
29893 _ACEOF
29894 cat confdefs.h >>conftest.$ac_ext
29895 cat >>conftest.$ac_ext <<_ACEOF
29896 /* end confdefs.h. */
29897
29898 #include <gtk/gtk.h>
29899 #include <stdio.h>
29900 #include <stdlib.h>
29901
29902 int
29903 main ()
29904 {
29905 int major, minor, micro;
29906 char *tmp_version;
29907
29908 system ("touch conf.gtktest");
29909
29910 /* HP/UX 9 (%@#!) writes to sscanf strings */
29911 tmp_version = g_strdup("$min_gtk_version");
29912 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29913 printf("%s, bad version string\n", "$min_gtk_version");
29914 exit(1);
29915 }
29916
29917 if ((gtk_major_version != $gtk_config_major_version) ||
29918 (gtk_minor_version != $gtk_config_minor_version) ||
29919 (gtk_micro_version != $gtk_config_micro_version))
29920 {
29921 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29922 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29923 gtk_major_version, gtk_minor_version, gtk_micro_version);
29924 printf ("*** was found! If pkg-config was correct, then it is best\n");
29925 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29926 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29927 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29928 printf("*** required on your system.\n");
29929 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29930 printf("*** to point to the correct configuration files\n");
29931 }
29932 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29933 (gtk_minor_version != GTK_MINOR_VERSION) ||
29934 (gtk_micro_version != GTK_MICRO_VERSION))
29935 {
29936 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29937 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29938 printf("*** library (version %d.%d.%d)\n",
29939 gtk_major_version, gtk_minor_version, gtk_micro_version);
29940 }
29941 else
29942 {
29943 if ((gtk_major_version > major) ||
29944 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29945 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29946 {
29947 return 0;
29948 }
29949 else
29950 {
29951 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29952 gtk_major_version, gtk_minor_version, gtk_micro_version);
29953 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29954 major, minor, micro);
29955 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29956 printf("***\n");
29957 printf("*** If you have already installed a sufficiently new version, this error\n");
29958 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29959 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29960 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29961 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29962 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29963 printf("*** so that the correct libraries are found at run-time))\n");
29964 }
29965 }
29966 return 1;
29967 }
29968
29969 _ACEOF
29970 rm -f conftest$ac_exeext
29971 if { (ac_try="$ac_link"
29972 case "(($ac_try" in
29973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29974 *) ac_try_echo=$ac_try;;
29975 esac
29976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29977 (eval "$ac_link") 2>&5
29978 ac_status=$?
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29981 { (case "(($ac_try" in
29982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29983 *) ac_try_echo=$ac_try;;
29984 esac
29985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29986 (eval "$ac_try") 2>&5
29987 ac_status=$?
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); }; }; then
29990 :
29991 else
29992 echo "$as_me: program exited with status $ac_status" >&5
29993 echo "$as_me: failed program was:" >&5
29994 sed 's/^/| /' conftest.$ac_ext >&5
29995
29996 ( exit $ac_status )
29997 no_gtk=yes
29998 fi
29999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30000 fi
30001
30002
30003 CFLAGS="$ac_save_CFLAGS"
30004 LIBS="$ac_save_LIBS"
30005 fi
30006 fi
30007 if test "x$no_gtk" = x ; then
30008 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30009 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30010 wx_cv_lib_gtk=2.0
30011 else
30012 { echo "$as_me:$LINENO: result: no" >&5
30013 echo "${ECHO_T}no" >&6; }
30014 if test "$PKG_CONFIG" = "no" ; then
30015 echo "*** A new enough version of pkg-config was not found."
30016 echo "*** See http://pkgconfig.sourceforge.net"
30017 else
30018 if test -f conf.gtktest ; then
30019 :
30020 else
30021 echo "*** Could not run GTK+ test program, checking why..."
30022 ac_save_CFLAGS="$CFLAGS"
30023 ac_save_LIBS="$LIBS"
30024 CFLAGS="$CFLAGS $GTK_CFLAGS"
30025 LIBS="$LIBS $GTK_LIBS"
30026 cat >conftest.$ac_ext <<_ACEOF
30027 /* confdefs.h. */
30028 _ACEOF
30029 cat confdefs.h >>conftest.$ac_ext
30030 cat >>conftest.$ac_ext <<_ACEOF
30031 /* end confdefs.h. */
30032
30033 #include <gtk/gtk.h>
30034 #include <stdio.h>
30035
30036 int
30037 main ()
30038 {
30039 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30040 ;
30041 return 0;
30042 }
30043 _ACEOF
30044 rm -f conftest.$ac_objext conftest$ac_exeext
30045 if { (ac_try="$ac_link"
30046 case "(($ac_try" in
30047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30048 *) ac_try_echo=$ac_try;;
30049 esac
30050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30051 (eval "$ac_link") 2>conftest.er1
30052 ac_status=$?
30053 grep -v '^ *+' conftest.er1 >conftest.err
30054 rm -f conftest.er1
30055 cat conftest.err >&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); } && {
30058 test -z "$ac_c_werror_flag" ||
30059 test ! -s conftest.err
30060 } && test -s conftest$ac_exeext &&
30061 $as_test_x conftest$ac_exeext; then
30062 echo "*** The test program compiled, but did not run. This usually means"
30063 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30064 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30065 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30066 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30067 echo "*** is required on your system"
30068 echo "***"
30069 echo "*** If you have an old version installed, it is best to remove it, although"
30070 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30071 else
30072 echo "$as_me: failed program was:" >&5
30073 sed 's/^/| /' conftest.$ac_ext >&5
30074
30075 echo "*** The test program failed to compile or link. See the file config.log for the"
30076 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30077 fi
30078
30079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30080 conftest$ac_exeext conftest.$ac_ext
30081 CFLAGS="$ac_save_CFLAGS"
30082 LIBS="$ac_save_LIBS"
30083 fi
30084 fi
30085 GTK_CFLAGS=""
30086 GTK_LIBS=""
30087 :
30088 fi
30089
30090
30091 rm -f conf.gtktest
30092
30093 fi
30094
30095 if test -z "$wx_cv_lib_gtk"; then
30096 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30097
30098 # Check whether --with-gtk-prefix was given.
30099 if test "${with_gtk_prefix+set}" = set; then
30100 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30101 else
30102 gtk_config_prefix=""
30103 fi
30104
30105
30106 # Check whether --with-gtk-exec-prefix was given.
30107 if test "${with_gtk_exec_prefix+set}" = set; then
30108 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30109 else
30110 gtk_config_exec_prefix=""
30111 fi
30112
30113 # Check whether --enable-gtktest was given.
30114 if test "${enable_gtktest+set}" = set; then
30115 enableval=$enable_gtktest;
30116 else
30117 enable_gtktest=yes
30118 fi
30119
30120
30121 for module in . $GTK_MODULES
30122 do
30123 case "$module" in
30124 gthread)
30125 gtk_config_args="$gtk_config_args gthread"
30126 ;;
30127 esac
30128 done
30129
30130 if test x$gtk_config_exec_prefix != x ; then
30131 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30132 if test x${GTK_CONFIG+set} != xset ; then
30133 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30134 fi
30135 fi
30136 if test x$gtk_config_prefix != x ; then
30137 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30138 if test x${GTK_CONFIG+set} != xset ; then
30139 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30140 fi
30141 fi
30142
30143 # Extract the first word of "gtk-config", so it can be a program name with args.
30144 set dummy gtk-config; ac_word=$2
30145 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30147 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30148 echo $ECHO_N "(cached) $ECHO_C" >&6
30149 else
30150 case $GTK_CONFIG in
30151 [\\/]* | ?:[\\/]*)
30152 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30153 ;;
30154 *)
30155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30156 for as_dir in $PATH
30157 do
30158 IFS=$as_save_IFS
30159 test -z "$as_dir" && as_dir=.
30160 for ac_exec_ext in '' $ac_executable_extensions; do
30161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30162 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30164 break 2
30165 fi
30166 done
30167 done
30168 IFS=$as_save_IFS
30169
30170 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30171 ;;
30172 esac
30173 fi
30174 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30175 if test -n "$GTK_CONFIG"; then
30176 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30177 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30178 else
30179 { echo "$as_me:$LINENO: result: no" >&5
30180 echo "${ECHO_T}no" >&6; }
30181 fi
30182
30183
30184 min_gtk_version=1.2.7
30185 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30186 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30187 no_gtk=""
30188 if test "$GTK_CONFIG" = "no" ; then
30189 no_gtk=yes
30190 else
30191 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30192 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30193 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30195 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30197 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30199 if test "x$enable_gtktest" = "xyes" ; then
30200 ac_save_CFLAGS="$CFLAGS"
30201 ac_save_LIBS="$LIBS"
30202 CFLAGS="$CFLAGS $GTK_CFLAGS"
30203 LIBS="$GTK_LIBS $LIBS"
30204 rm -f conf.gtktest
30205 if test "$cross_compiling" = yes; then
30206 echo $ac_n "cross compiling; assumed OK... $ac_c"
30207 else
30208 cat >conftest.$ac_ext <<_ACEOF
30209 /* confdefs.h. */
30210 _ACEOF
30211 cat confdefs.h >>conftest.$ac_ext
30212 cat >>conftest.$ac_ext <<_ACEOF
30213 /* end confdefs.h. */
30214
30215 #include <gtk/gtk.h>
30216 #include <stdio.h>
30217 #include <stdlib.h>
30218
30219 int
30220 main ()
30221 {
30222 int major, minor, micro;
30223 char *tmp_version;
30224
30225 system ("touch conf.gtktest");
30226
30227 /* HP/UX 9 (%@#!) writes to sscanf strings */
30228 tmp_version = g_strdup("$min_gtk_version");
30229 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30230 printf("%s, bad version string\n", "$min_gtk_version");
30231 exit(1);
30232 }
30233
30234 if ((gtk_major_version != $gtk_config_major_version) ||
30235 (gtk_minor_version != $gtk_config_minor_version) ||
30236 (gtk_micro_version != $gtk_config_micro_version))
30237 {
30238 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30239 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30240 gtk_major_version, gtk_minor_version, gtk_micro_version);
30241 printf ("*** was found! If gtk-config was correct, then it is best\n");
30242 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30243 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30244 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30245 printf("*** required on your system.\n");
30246 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30247 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30248 printf("*** before re-running configure\n");
30249 }
30250 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30251 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30252 (gtk_minor_version != GTK_MINOR_VERSION) ||
30253 (gtk_micro_version != GTK_MICRO_VERSION))
30254 {
30255 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30256 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30257 printf("*** library (version %d.%d.%d)\n",
30258 gtk_major_version, gtk_minor_version, gtk_micro_version);
30259 }
30260 #endif /* defined (GTK_MAJOR_VERSION) ... */
30261 else
30262 {
30263 if ((gtk_major_version > major) ||
30264 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30265 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30266 {
30267 return 0;
30268 }
30269 else
30270 {
30271 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30272 gtk_major_version, gtk_minor_version, gtk_micro_version);
30273 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30274 major, minor, micro);
30275 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30276 printf("***\n");
30277 printf("*** If you have already installed a sufficiently new version, this error\n");
30278 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30279 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30280 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30281 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30282 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30283 printf("*** so that the correct libraries are found at run-time))\n");
30284 }
30285 }
30286 return 1;
30287 }
30288
30289 _ACEOF
30290 rm -f conftest$ac_exeext
30291 if { (ac_try="$ac_link"
30292 case "(($ac_try" in
30293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30294 *) ac_try_echo=$ac_try;;
30295 esac
30296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30297 (eval "$ac_link") 2>&5
30298 ac_status=$?
30299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30300 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30301 { (case "(($ac_try" in
30302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30303 *) ac_try_echo=$ac_try;;
30304 esac
30305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30306 (eval "$ac_try") 2>&5
30307 ac_status=$?
30308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309 (exit $ac_status); }; }; then
30310 :
30311 else
30312 echo "$as_me: program exited with status $ac_status" >&5
30313 echo "$as_me: failed program was:" >&5
30314 sed 's/^/| /' conftest.$ac_ext >&5
30315
30316 ( exit $ac_status )
30317 no_gtk=yes
30318 fi
30319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30320 fi
30321
30322
30323 CFLAGS="$ac_save_CFLAGS"
30324 LIBS="$ac_save_LIBS"
30325 fi
30326 fi
30327 if test "x$no_gtk" = x ; then
30328 { echo "$as_me:$LINENO: result: yes" >&5
30329 echo "${ECHO_T}yes" >&6; }
30330 wx_cv_lib_gtk=1.2.7
30331 else
30332 { echo "$as_me:$LINENO: result: no" >&5
30333 echo "${ECHO_T}no" >&6; }
30334 if test "$GTK_CONFIG" = "no" ; then
30335 echo "*** The gtk-config script installed by GTK could not be found"
30336 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30337 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30338 echo "*** full path to gtk-config."
30339 else
30340 if test -f conf.gtktest ; then
30341 :
30342 else
30343 echo "*** Could not run GTK test program, checking why..."
30344 CFLAGS="$CFLAGS $GTK_CFLAGS"
30345 LIBS="$LIBS $GTK_LIBS"
30346 cat >conftest.$ac_ext <<_ACEOF
30347 /* confdefs.h. */
30348 _ACEOF
30349 cat confdefs.h >>conftest.$ac_ext
30350 cat >>conftest.$ac_ext <<_ACEOF
30351 /* end confdefs.h. */
30352
30353 #include <gtk/gtk.h>
30354 #include <stdio.h>
30355
30356 int
30357 main ()
30358 {
30359 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30360 ;
30361 return 0;
30362 }
30363 _ACEOF
30364 rm -f conftest.$ac_objext conftest$ac_exeext
30365 if { (ac_try="$ac_link"
30366 case "(($ac_try" in
30367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30368 *) ac_try_echo=$ac_try;;
30369 esac
30370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30371 (eval "$ac_link") 2>conftest.er1
30372 ac_status=$?
30373 grep -v '^ *+' conftest.er1 >conftest.err
30374 rm -f conftest.er1
30375 cat conftest.err >&5
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); } && {
30378 test -z "$ac_c_werror_flag" ||
30379 test ! -s conftest.err
30380 } && test -s conftest$ac_exeext &&
30381 $as_test_x conftest$ac_exeext; then
30382 echo "*** The test program compiled, but did not run. This usually means"
30383 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30384 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30385 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30386 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30387 echo "*** is required on your system"
30388 echo "***"
30389 echo "*** If you have an old version installed, it is best to remove it, although"
30390 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30391 echo "***"
30392 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30393 echo "*** came with the system with the command"
30394 echo "***"
30395 echo "*** rpm --erase --nodeps gtk gtk-devel"
30396 else
30397 echo "$as_me: failed program was:" >&5
30398 sed 's/^/| /' conftest.$ac_ext >&5
30399
30400 echo "*** The test program failed to compile or link. See the file config.log for the"
30401 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30402 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30403 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30404 fi
30405
30406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30407 conftest$ac_exeext conftest.$ac_ext
30408 CFLAGS="$ac_save_CFLAGS"
30409 LIBS="$ac_save_LIBS"
30410 fi
30411 fi
30412 GTK_CFLAGS=""
30413 GTK_LIBS=""
30414 :
30415 fi
30416
30417
30418 rm -f conf.gtktest
30419
30420
30421 if test -z "$wx_cv_lib_gtk"; then
30422
30423 # Check whether --with-gtk-prefix was given.
30424 if test "${with_gtk_prefix+set}" = set; then
30425 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30426 else
30427 gtk_config_prefix=""
30428 fi
30429
30430
30431 # Check whether --with-gtk-exec-prefix was given.
30432 if test "${with_gtk_exec_prefix+set}" = set; then
30433 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30434 else
30435 gtk_config_exec_prefix=""
30436 fi
30437
30438 # Check whether --enable-gtktest was given.
30439 if test "${enable_gtktest+set}" = set; then
30440 enableval=$enable_gtktest;
30441 else
30442 enable_gtktest=yes
30443 fi
30444
30445
30446 for module in . $GTK_MODULES
30447 do
30448 case "$module" in
30449 gthread)
30450 gtk_config_args="$gtk_config_args gthread"
30451 ;;
30452 esac
30453 done
30454
30455 if test x$gtk_config_exec_prefix != x ; then
30456 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30457 if test x${GTK_CONFIG+set} != xset ; then
30458 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30459 fi
30460 fi
30461 if test x$gtk_config_prefix != x ; then
30462 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30463 if test x${GTK_CONFIG+set} != xset ; then
30464 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30465 fi
30466 fi
30467
30468 # Extract the first word of "gtk-config", so it can be a program name with args.
30469 set dummy gtk-config; ac_word=$2
30470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30472 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30473 echo $ECHO_N "(cached) $ECHO_C" >&6
30474 else
30475 case $GTK_CONFIG in
30476 [\\/]* | ?:[\\/]*)
30477 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30478 ;;
30479 *)
30480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30481 for as_dir in $PATH
30482 do
30483 IFS=$as_save_IFS
30484 test -z "$as_dir" && as_dir=.
30485 for ac_exec_ext in '' $ac_executable_extensions; do
30486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30487 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30489 break 2
30490 fi
30491 done
30492 done
30493 IFS=$as_save_IFS
30494
30495 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30496 ;;
30497 esac
30498 fi
30499 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30500 if test -n "$GTK_CONFIG"; then
30501 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30502 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30503 else
30504 { echo "$as_me:$LINENO: result: no" >&5
30505 echo "${ECHO_T}no" >&6; }
30506 fi
30507
30508
30509 min_gtk_version=1.2.3
30510 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30511 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30512 no_gtk=""
30513 if test "$GTK_CONFIG" = "no" ; then
30514 no_gtk=yes
30515 else
30516 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30517 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30518 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30519 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30520 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30522 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30523 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30524 if test "x$enable_gtktest" = "xyes" ; then
30525 ac_save_CFLAGS="$CFLAGS"
30526 ac_save_LIBS="$LIBS"
30527 CFLAGS="$CFLAGS $GTK_CFLAGS"
30528 LIBS="$GTK_LIBS $LIBS"
30529 rm -f conf.gtktest
30530 if test "$cross_compiling" = yes; then
30531 echo $ac_n "cross compiling; assumed OK... $ac_c"
30532 else
30533 cat >conftest.$ac_ext <<_ACEOF
30534 /* confdefs.h. */
30535 _ACEOF
30536 cat confdefs.h >>conftest.$ac_ext
30537 cat >>conftest.$ac_ext <<_ACEOF
30538 /* end confdefs.h. */
30539
30540 #include <gtk/gtk.h>
30541 #include <stdio.h>
30542 #include <stdlib.h>
30543
30544 int
30545 main ()
30546 {
30547 int major, minor, micro;
30548 char *tmp_version;
30549
30550 system ("touch conf.gtktest");
30551
30552 /* HP/UX 9 (%@#!) writes to sscanf strings */
30553 tmp_version = g_strdup("$min_gtk_version");
30554 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30555 printf("%s, bad version string\n", "$min_gtk_version");
30556 exit(1);
30557 }
30558
30559 if ((gtk_major_version != $gtk_config_major_version) ||
30560 (gtk_minor_version != $gtk_config_minor_version) ||
30561 (gtk_micro_version != $gtk_config_micro_version))
30562 {
30563 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30564 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30565 gtk_major_version, gtk_minor_version, gtk_micro_version);
30566 printf ("*** was found! If gtk-config was correct, then it is best\n");
30567 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30568 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30569 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30570 printf("*** required on your system.\n");
30571 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30572 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30573 printf("*** before re-running configure\n");
30574 }
30575 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30576 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30577 (gtk_minor_version != GTK_MINOR_VERSION) ||
30578 (gtk_micro_version != GTK_MICRO_VERSION))
30579 {
30580 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30581 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30582 printf("*** library (version %d.%d.%d)\n",
30583 gtk_major_version, gtk_minor_version, gtk_micro_version);
30584 }
30585 #endif /* defined (GTK_MAJOR_VERSION) ... */
30586 else
30587 {
30588 if ((gtk_major_version > major) ||
30589 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30590 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30591 {
30592 return 0;
30593 }
30594 else
30595 {
30596 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30597 gtk_major_version, gtk_minor_version, gtk_micro_version);
30598 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30599 major, minor, micro);
30600 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30601 printf("***\n");
30602 printf("*** If you have already installed a sufficiently new version, this error\n");
30603 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30604 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30605 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30606 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30607 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30608 printf("*** so that the correct libraries are found at run-time))\n");
30609 }
30610 }
30611 return 1;
30612 }
30613
30614 _ACEOF
30615 rm -f conftest$ac_exeext
30616 if { (ac_try="$ac_link"
30617 case "(($ac_try" in
30618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30619 *) ac_try_echo=$ac_try;;
30620 esac
30621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30622 (eval "$ac_link") 2>&5
30623 ac_status=$?
30624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30626 { (case "(($ac_try" in
30627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30628 *) ac_try_echo=$ac_try;;
30629 esac
30630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30631 (eval "$ac_try") 2>&5
30632 ac_status=$?
30633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30634 (exit $ac_status); }; }; then
30635 :
30636 else
30637 echo "$as_me: program exited with status $ac_status" >&5
30638 echo "$as_me: failed program was:" >&5
30639 sed 's/^/| /' conftest.$ac_ext >&5
30640
30641 ( exit $ac_status )
30642 no_gtk=yes
30643 fi
30644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30645 fi
30646
30647
30648 CFLAGS="$ac_save_CFLAGS"
30649 LIBS="$ac_save_LIBS"
30650 fi
30651 fi
30652 if test "x$no_gtk" = x ; then
30653 { echo "$as_me:$LINENO: result: yes" >&5
30654 echo "${ECHO_T}yes" >&6; }
30655 wx_cv_lib_gtk=1.2.3
30656 else
30657 { echo "$as_me:$LINENO: result: no" >&5
30658 echo "${ECHO_T}no" >&6; }
30659 if test "$GTK_CONFIG" = "no" ; then
30660 echo "*** The gtk-config script installed by GTK could not be found"
30661 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30662 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30663 echo "*** full path to gtk-config."
30664 else
30665 if test -f conf.gtktest ; then
30666 :
30667 else
30668 echo "*** Could not run GTK test program, checking why..."
30669 CFLAGS="$CFLAGS $GTK_CFLAGS"
30670 LIBS="$LIBS $GTK_LIBS"
30671 cat >conftest.$ac_ext <<_ACEOF
30672 /* confdefs.h. */
30673 _ACEOF
30674 cat confdefs.h >>conftest.$ac_ext
30675 cat >>conftest.$ac_ext <<_ACEOF
30676 /* end confdefs.h. */
30677
30678 #include <gtk/gtk.h>
30679 #include <stdio.h>
30680
30681 int
30682 main ()
30683 {
30684 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30685 ;
30686 return 0;
30687 }
30688 _ACEOF
30689 rm -f conftest.$ac_objext conftest$ac_exeext
30690 if { (ac_try="$ac_link"
30691 case "(($ac_try" in
30692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30693 *) ac_try_echo=$ac_try;;
30694 esac
30695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30696 (eval "$ac_link") 2>conftest.er1
30697 ac_status=$?
30698 grep -v '^ *+' conftest.er1 >conftest.err
30699 rm -f conftest.er1
30700 cat conftest.err >&5
30701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30702 (exit $ac_status); } && {
30703 test -z "$ac_c_werror_flag" ||
30704 test ! -s conftest.err
30705 } && test -s conftest$ac_exeext &&
30706 $as_test_x conftest$ac_exeext; then
30707 echo "*** The test program compiled, but did not run. This usually means"
30708 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30709 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30710 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30711 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30712 echo "*** is required on your system"
30713 echo "***"
30714 echo "*** If you have an old version installed, it is best to remove it, although"
30715 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30716 echo "***"
30717 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30718 echo "*** came with the system with the command"
30719 echo "***"
30720 echo "*** rpm --erase --nodeps gtk gtk-devel"
30721 else
30722 echo "$as_me: failed program was:" >&5
30723 sed 's/^/| /' conftest.$ac_ext >&5
30724
30725 echo "*** The test program failed to compile or link. See the file config.log for the"
30726 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30727 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30728 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30729 fi
30730
30731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30732 conftest$ac_exeext conftest.$ac_ext
30733 CFLAGS="$ac_save_CFLAGS"
30734 LIBS="$ac_save_LIBS"
30735 fi
30736 fi
30737 GTK_CFLAGS=""
30738 GTK_LIBS=""
30739 :
30740 fi
30741
30742
30743 rm -f conf.gtktest
30744
30745 fi
30746 fi
30747 fi
30748
30749 if test -z "$wx_cv_lib_gtk"; then
30750 wx_cv_lib_gtk=none
30751 else
30752 GTK_LIBS="$GTK_LIBS -lX11"
30753
30754 wx_cv_cflags_gtk=$GTK_CFLAGS
30755 wx_cv_libs_gtk=$GTK_LIBS
30756 fi
30757
30758
30759 fi
30760
30761
30762 if test "$gtk_version_cached" = 1; then
30763 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30764 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30765 fi
30766
30767 case "$wx_cv_lib_gtk" in
30768 2.0) WXGTK2=1
30769 TOOLKIT_VERSION=2
30770 ;;
30771 1.2.7) WXGTK127=1
30772 ;;
30773 1.2*) ;;
30774 *) { { echo "$as_me:$LINENO: error:
30775 The development files for GTK+ were not found. For GTK+ 2, please
30776 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30777 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30778 and that the version is 1.2.3 or above. Also check that the
30779 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30780 --libs' are in the LD_LIBRARY_PATH or equivalent.
30781 " >&5
30782 echo "$as_me: error:
30783 The development files for GTK+ were not found. For GTK+ 2, please
30784 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30785 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30786 and that the version is 1.2.3 or above. Also check that the
30787 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30788 --libs' are in the LD_LIBRARY_PATH or equivalent.
30789 " >&2;}
30790 { (exit 1); exit 1; }; }
30791 ;;
30792 esac
30793
30794 if test "$WXGTK2" = 1; then
30795 save_CFLAGS="$CFLAGS"
30796 save_LIBS="$LIBS"
30797 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30798 LIBS="$LIBS $wx_cv_libs_gtk"
30799
30800 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30801 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30802 cat >conftest.$ac_ext <<_ACEOF
30803 /* confdefs.h. */
30804 _ACEOF
30805 cat confdefs.h >>conftest.$ac_ext
30806 cat >>conftest.$ac_ext <<_ACEOF
30807 /* end confdefs.h. */
30808
30809 #include <gtk/gtk.h>
30810
30811 int
30812 main ()
30813 {
30814
30815 #if !GTK_CHECK_VERSION(2,18,0)
30816 Not GTK+ 2.18
30817 #endif
30818
30819 ;
30820 return 0;
30821 }
30822 _ACEOF
30823 rm -f conftest.$ac_objext
30824 if { (ac_try="$ac_compile"
30825 case "(($ac_try" in
30826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30827 *) ac_try_echo=$ac_try;;
30828 esac
30829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30830 (eval "$ac_compile") 2>conftest.er1
30831 ac_status=$?
30832 grep -v '^ *+' conftest.er1 >conftest.err
30833 rm -f conftest.er1
30834 cat conftest.err >&5
30835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836 (exit $ac_status); } && {
30837 test -z "$ac_c_werror_flag" ||
30838 test ! -s conftest.err
30839 } && test -s conftest.$ac_objext; then
30840
30841 cat >>confdefs.h <<\_ACEOF
30842 #define __WXGTK218__ 1
30843 _ACEOF
30844
30845 cat >>confdefs.h <<\_ACEOF
30846 #define __WXGTK210__ 1
30847 _ACEOF
30848
30849 cat >>confdefs.h <<\_ACEOF
30850 #define __WXGTK26__ 1
30851 _ACEOF
30852
30853 { echo "$as_me:$LINENO: result: yes" >&5
30854 echo "${ECHO_T}yes" >&6; }
30855 ac_wxgtk218=1
30856
30857 else
30858 echo "$as_me: failed program was:" >&5
30859 sed 's/^/| /' conftest.$ac_ext >&5
30860
30861
30862 { echo "$as_me:$LINENO: result: no" >&5
30863 echo "${ECHO_T}no" >&6; }
30864 ac_wxgtk218=0
30865
30866 fi
30867
30868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30869
30870 if test "$ac_wxgtk218" = 0; then
30871 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30872 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30873 cat >conftest.$ac_ext <<_ACEOF
30874 /* confdefs.h. */
30875 _ACEOF
30876 cat confdefs.h >>conftest.$ac_ext
30877 cat >>conftest.$ac_ext <<_ACEOF
30878 /* end confdefs.h. */
30879
30880 #include <gtk/gtk.h>
30881
30882 int
30883 main ()
30884 {
30885
30886 #if !GTK_CHECK_VERSION(2,10,0)
30887 Not GTK+ 2.10
30888 #endif
30889
30890 ;
30891 return 0;
30892 }
30893 _ACEOF
30894 rm -f conftest.$ac_objext
30895 if { (ac_try="$ac_compile"
30896 case "(($ac_try" in
30897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30898 *) ac_try_echo=$ac_try;;
30899 esac
30900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30901 (eval "$ac_compile") 2>conftest.er1
30902 ac_status=$?
30903 grep -v '^ *+' conftest.er1 >conftest.err
30904 rm -f conftest.er1
30905 cat conftest.err >&5
30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30907 (exit $ac_status); } && {
30908 test -z "$ac_c_werror_flag" ||
30909 test ! -s conftest.err
30910 } && test -s conftest.$ac_objext; then
30911
30912 cat >>confdefs.h <<\_ACEOF
30913 #define __WXGTK210__ 1
30914 _ACEOF
30915
30916 cat >>confdefs.h <<\_ACEOF
30917 #define __WXGTK26__ 1
30918 _ACEOF
30919
30920 { echo "$as_me:$LINENO: result: yes" >&5
30921 echo "${ECHO_T}yes" >&6; }
30922 ac_wxgtk210=1
30923
30924 else
30925 echo "$as_me: failed program was:" >&5
30926 sed 's/^/| /' conftest.$ac_ext >&5
30927
30928
30929 { echo "$as_me:$LINENO: result: no" >&5
30930 echo "${ECHO_T}no" >&6; }
30931 ac_wxgtk210=0
30932
30933 fi
30934
30935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30936
30937 if test "$ac_wxgtk210" = 0; then
30938 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30939 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
30940 cat >conftest.$ac_ext <<_ACEOF
30941 /* confdefs.h. */
30942 _ACEOF
30943 cat confdefs.h >>conftest.$ac_ext
30944 cat >>conftest.$ac_ext <<_ACEOF
30945 /* end confdefs.h. */
30946
30947 #include <gtk/gtk.h>
30948
30949 int
30950 main ()
30951 {
30952
30953 #if !GTK_CHECK_VERSION(2,6,0)
30954 Not GTK+ 2.6
30955 #endif
30956
30957 ;
30958 return 0;
30959 }
30960 _ACEOF
30961 rm -f conftest.$ac_objext
30962 if { (ac_try="$ac_compile"
30963 case "(($ac_try" in
30964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30965 *) ac_try_echo=$ac_try;;
30966 esac
30967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30968 (eval "$ac_compile") 2>conftest.er1
30969 ac_status=$?
30970 grep -v '^ *+' conftest.er1 >conftest.err
30971 rm -f conftest.er1
30972 cat conftest.err >&5
30973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 (exit $ac_status); } && {
30975 test -z "$ac_c_werror_flag" ||
30976 test ! -s conftest.err
30977 } && test -s conftest.$ac_objext; then
30978
30979 cat >>confdefs.h <<\_ACEOF
30980 #define __WXGTK26__ 1
30981 _ACEOF
30982
30983 { echo "$as_me:$LINENO: result: yes" >&5
30984 echo "${ECHO_T}yes" >&6; }
30985 ac_wxgtk26=1
30986
30987 else
30988 echo "$as_me: failed program was:" >&5
30989 sed 's/^/| /' conftest.$ac_ext >&5
30990
30991
30992 { echo "$as_me:$LINENO: result: no" >&5
30993 echo "${ECHO_T}no" >&6; }
30994 ac_wxgtk26=0
30995
30996 fi
30997
30998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30999 fi
31000 fi
31001
31002 CFLAGS="$save_CFLAGS"
31003 LIBS="$save_LIBS"
31004 else
31005 if test "$wxUSE_UNICODE" = "yes"; then
31006 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31007 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31008 wxUSE_UNICODE=no
31009 fi
31010
31011 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31012 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31013 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31014 echo $ECHO_N "(cached) $ECHO_C" >&6
31015 else
31016 ac_check_lib_save_LIBS=$LIBS
31017 LIBS="-lgdk $LIBS"
31018 cat >conftest.$ac_ext <<_ACEOF
31019 /* confdefs.h. */
31020 _ACEOF
31021 cat confdefs.h >>conftest.$ac_ext
31022 cat >>conftest.$ac_ext <<_ACEOF
31023 /* end confdefs.h. */
31024
31025 /* Override any GCC internal prototype to avoid an error.
31026 Use char because int might match the return type of a GCC
31027 builtin and then its argument prototype would still apply. */
31028 #ifdef __cplusplus
31029 extern "C"
31030 #endif
31031 char gdk_im_open ();
31032 int
31033 main ()
31034 {
31035 return gdk_im_open ();
31036 ;
31037 return 0;
31038 }
31039 _ACEOF
31040 rm -f conftest.$ac_objext conftest$ac_exeext
31041 if { (ac_try="$ac_link"
31042 case "(($ac_try" in
31043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31044 *) ac_try_echo=$ac_try;;
31045 esac
31046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31047 (eval "$ac_link") 2>conftest.er1
31048 ac_status=$?
31049 grep -v '^ *+' conftest.er1 >conftest.err
31050 rm -f conftest.er1
31051 cat conftest.err >&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); } && {
31054 test -z "$ac_c_werror_flag" ||
31055 test ! -s conftest.err
31056 } && test -s conftest$ac_exeext &&
31057 $as_test_x conftest$ac_exeext; then
31058 ac_cv_lib_gdk_gdk_im_open=yes
31059 else
31060 echo "$as_me: failed program was:" >&5
31061 sed 's/^/| /' conftest.$ac_ext >&5
31062
31063 ac_cv_lib_gdk_gdk_im_open=no
31064 fi
31065
31066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31067 conftest$ac_exeext conftest.$ac_ext
31068 LIBS=$ac_check_lib_save_LIBS
31069 fi
31070 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31071 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31072 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31073 cat >>confdefs.h <<\_ACEOF
31074 #define HAVE_XIM 1
31075 _ACEOF
31076
31077 fi
31078
31079
31080 if test "$USE_DARWIN" != 1; then
31081
31082 for ac_func in poll
31083 do
31084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31088 echo $ECHO_N "(cached) $ECHO_C" >&6
31089 else
31090 cat >conftest.$ac_ext <<_ACEOF
31091 /* confdefs.h. */
31092 _ACEOF
31093 cat confdefs.h >>conftest.$ac_ext
31094 cat >>conftest.$ac_ext <<_ACEOF
31095 /* end confdefs.h. */
31096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31098 #define $ac_func innocuous_$ac_func
31099
31100 /* System header to define __stub macros and hopefully few prototypes,
31101 which can conflict with char $ac_func (); below.
31102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31103 <limits.h> exists even on freestanding compilers. */
31104
31105 #ifdef __STDC__
31106 # include <limits.h>
31107 #else
31108 # include <assert.h>
31109 #endif
31110
31111 #undef $ac_func
31112
31113 /* Override any GCC internal prototype to avoid an error.
31114 Use char because int might match the return type of a GCC
31115 builtin and then its argument prototype would still apply. */
31116 #ifdef __cplusplus
31117 extern "C"
31118 #endif
31119 char $ac_func ();
31120 /* The GNU C library defines this for functions which it implements
31121 to always fail with ENOSYS. Some functions are actually named
31122 something starting with __ and the normal name is an alias. */
31123 #if defined __stub_$ac_func || defined __stub___$ac_func
31124 choke me
31125 #endif
31126
31127 int
31128 main ()
31129 {
31130 return $ac_func ();
31131 ;
31132 return 0;
31133 }
31134 _ACEOF
31135 rm -f conftest.$ac_objext conftest$ac_exeext
31136 if { (ac_try="$ac_link"
31137 case "(($ac_try" in
31138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31139 *) ac_try_echo=$ac_try;;
31140 esac
31141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31142 (eval "$ac_link") 2>conftest.er1
31143 ac_status=$?
31144 grep -v '^ *+' conftest.er1 >conftest.err
31145 rm -f conftest.er1
31146 cat conftest.err >&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); } && {
31149 test -z "$ac_c_werror_flag" ||
31150 test ! -s conftest.err
31151 } && test -s conftest$ac_exeext &&
31152 $as_test_x conftest$ac_exeext; then
31153 eval "$as_ac_var=yes"
31154 else
31155 echo "$as_me: failed program was:" >&5
31156 sed 's/^/| /' conftest.$ac_ext >&5
31157
31158 eval "$as_ac_var=no"
31159 fi
31160
31161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31162 conftest$ac_exeext conftest.$ac_ext
31163 fi
31164 ac_res=`eval echo '${'$as_ac_var'}'`
31165 { echo "$as_me:$LINENO: result: $ac_res" >&5
31166 echo "${ECHO_T}$ac_res" >&6; }
31167 if test `eval echo '${'$as_ac_var'}'` = yes; then
31168 cat >>confdefs.h <<_ACEOF
31169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31170 _ACEOF
31171
31172 fi
31173 done
31174
31175 fi
31176 fi
31177
31178 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31179 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31180 AFMINSTALL=afminstall
31181 TOOLKIT=GTK
31182 GUIDIST=GTK_DIST
31183
31184 if test "$wxUSE_GPE" = "yes"; then
31185 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31186 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31187
31188 ac_find_libraries=
31189 for ac_dir in $SEARCH_LIB
31190 do
31191 for ac_extension in a so sl dylib dll.a; do
31192 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31193 ac_find_libraries=$ac_dir
31194 break 2
31195 fi
31196 done
31197 done
31198
31199 if test "$ac_find_libraries" != "" ; then
31200
31201 if test "$ac_find_libraries" = "default location"; then
31202 ac_path_to_link=""
31203 else
31204 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31205 result=$?
31206 if test $result = 0; then
31207 ac_path_to_link=""
31208 else
31209 ac_path_to_link=" -L$ac_find_libraries"
31210 fi
31211 fi
31212
31213 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31214 WXGPE=1
31215 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31216 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31217 else
31218 { echo "$as_me:$LINENO: result: not found" >&5
31219 echo "${ECHO_T}not found" >&6; }
31220 fi
31221
31222 fi
31223 fi
31224
31225 if test "$wxUSE_MGL" = 1; then
31226 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31227 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31228 if test "x$MGL_ROOT" = x ; then
31229 { echo "$as_me:$LINENO: result: not found" >&5
31230 echo "${ECHO_T}not found" >&6; }
31231 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31232 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31233 { (exit 1); exit 1; }; }
31234 else
31235 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31236 echo "${ECHO_T}$MGL_ROOT" >&6; }
31237 fi
31238
31239 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31240 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31241 case "${host}" in
31242 *-*-linux* )
31243 if test "x$wxUSE_SHARED" = xyes ; then
31244 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31245 else
31246 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31247 fi
31248 ;;
31249 *-pc-msdosdjgpp )
31250 mgl_os_candidates="dos32/dj2"
31251 ;;
31252 *)
31253 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31254 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31255 { (exit 1); exit 1; }; }
31256 esac
31257
31258 mgl_lib_type=""
31259 mgl_os=""
31260
31261 for mgl_os_i in $mgl_os_candidates ; do
31262 if test "x$mgl_os" = x ; then
31263 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31264 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31265 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31266 mgl_lib_type=debug
31267 mgl_os=$mgl_os_i
31268 fi
31269 fi
31270 if test "x$mgl_lib_type" = x ; then
31271 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31272 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31273 mgl_lib_type=release
31274 mgl_os=$mgl_os_i
31275 fi
31276 fi
31277 fi
31278 done
31279
31280 if test "x$mgl_os" = x ; then
31281 { echo "$as_me:$LINENO: result: not found" >&5
31282 echo "${ECHO_T}not found" >&6; }
31283 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31284 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31285 { (exit 1); exit 1; }; }
31286 fi
31287 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31288 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31289
31290 wxUSE_UNIVERSAL="yes"
31291
31292 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31293 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31294
31295 AFMINSTALL=afminstall
31296 TOOLKIT=MGL
31297 GUIDIST=MGL_DIST
31298 fi
31299
31300 if test "$wxUSE_DFB" = 1; then
31301
31302
31303 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31304 if test -n "$ac_tool_prefix"; then
31305 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31306 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31309 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31310 echo $ECHO_N "(cached) $ECHO_C" >&6
31311 else
31312 case $PKG_CONFIG in
31313 [\\/]* | ?:[\\/]*)
31314 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31315 ;;
31316 *)
31317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31318 for as_dir in $PATH
31319 do
31320 IFS=$as_save_IFS
31321 test -z "$as_dir" && as_dir=.
31322 for ac_exec_ext in '' $ac_executable_extensions; do
31323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31324 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31326 break 2
31327 fi
31328 done
31329 done
31330 IFS=$as_save_IFS
31331
31332 ;;
31333 esac
31334 fi
31335 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31336 if test -n "$PKG_CONFIG"; then
31337 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31338 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31339 else
31340 { echo "$as_me:$LINENO: result: no" >&5
31341 echo "${ECHO_T}no" >&6; }
31342 fi
31343
31344
31345 fi
31346 if test -z "$ac_cv_path_PKG_CONFIG"; then
31347 ac_pt_PKG_CONFIG=$PKG_CONFIG
31348 # Extract the first word of "pkg-config", so it can be a program name with args.
31349 set dummy pkg-config; ac_word=$2
31350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31352 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31353 echo $ECHO_N "(cached) $ECHO_C" >&6
31354 else
31355 case $ac_pt_PKG_CONFIG in
31356 [\\/]* | ?:[\\/]*)
31357 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31358 ;;
31359 *)
31360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31361 for as_dir in $PATH
31362 do
31363 IFS=$as_save_IFS
31364 test -z "$as_dir" && as_dir=.
31365 for ac_exec_ext in '' $ac_executable_extensions; do
31366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31367 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31369 break 2
31370 fi
31371 done
31372 done
31373 IFS=$as_save_IFS
31374
31375 ;;
31376 esac
31377 fi
31378 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31379 if test -n "$ac_pt_PKG_CONFIG"; then
31380 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31381 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31382 else
31383 { echo "$as_me:$LINENO: result: no" >&5
31384 echo "${ECHO_T}no" >&6; }
31385 fi
31386
31387 if test "x$ac_pt_PKG_CONFIG" = x; then
31388 PKG_CONFIG=""
31389 else
31390 case $cross_compiling:$ac_tool_warned in
31391 yes:)
31392 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31393 whose name does not start with the host triplet. If you think this
31394 configuration is useful to you, please write to autoconf@gnu.org." >&5
31395 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31396 whose name does not start with the host triplet. If you think this
31397 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31398 ac_tool_warned=yes ;;
31399 esac
31400 PKG_CONFIG=$ac_pt_PKG_CONFIG
31401 fi
31402 else
31403 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31404 fi
31405
31406 fi
31407 if test -n "$PKG_CONFIG"; then
31408 _pkg_min_version=0.9.0
31409 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31410 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31411 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31412 { echo "$as_me:$LINENO: result: yes" >&5
31413 echo "${ECHO_T}yes" >&6; }
31414 else
31415 { echo "$as_me:$LINENO: result: no" >&5
31416 echo "${ECHO_T}no" >&6; }
31417 PKG_CONFIG=""
31418 fi
31419
31420 fi
31421
31422
31423 pkg_failed=no
31424 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31425 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31426
31427 if test -n "$PKG_CONFIG"; then
31428 if test -n "$DIRECTFB_CFLAGS"; then
31429 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31430 else
31431 if test -n "$PKG_CONFIG" && \
31432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31433 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31434 ac_status=$?
31435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436 (exit $ac_status); }; then
31437 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31438 else
31439 pkg_failed=yes
31440 fi
31441 fi
31442 else
31443 pkg_failed=untried
31444 fi
31445 if test -n "$PKG_CONFIG"; then
31446 if test -n "$DIRECTFB_LIBS"; then
31447 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31448 else
31449 if test -n "$PKG_CONFIG" && \
31450 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31451 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31452 ac_status=$?
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); }; then
31455 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31456 else
31457 pkg_failed=yes
31458 fi
31459 fi
31460 else
31461 pkg_failed=untried
31462 fi
31463
31464
31465
31466 if test $pkg_failed = yes; then
31467
31468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31469 _pkg_short_errors_supported=yes
31470 else
31471 _pkg_short_errors_supported=no
31472 fi
31473 if test $_pkg_short_errors_supported = yes; then
31474 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31475 else
31476 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31477 fi
31478 # Put the nasty error message in config.log where it belongs
31479 echo "$DIRECTFB_PKG_ERRORS" >&5
31480
31481
31482 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31483 echo "$as_me: error: DirectFB not found." >&2;}
31484 { (exit 1); exit 1; }; }
31485
31486
31487 elif test $pkg_failed = untried; then
31488
31489 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31490 echo "$as_me: error: DirectFB not found." >&2;}
31491 { (exit 1); exit 1; }; }
31492
31493
31494 else
31495 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31496 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31497 { echo "$as_me:$LINENO: result: yes" >&5
31498 echo "${ECHO_T}yes" >&6; }
31499
31500 wxUSE_UNIVERSAL="yes"
31501 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31502 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31503 TOOLKIT=DFB
31504 GUIDIST=DFB_DIST
31505
31506 fi
31507 fi
31508
31509 if test "$wxUSE_MICROWIN" = 1; then
31510 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31511 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31512 if test "x$MICROWINDOWS" = x ; then
31513 { echo "$as_me:$LINENO: result: not found" >&5
31514 echo "${ECHO_T}not found" >&6; }
31515 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31516 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31517 { (exit 1); exit 1; }; }
31518 else
31519 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31520 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31521 fi
31522
31523 if test -f $MICROWINDOWS/lib/libmwin.a; then
31524 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31525 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31526 else
31527 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31528 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31529 { (exit 1); exit 1; }; }
31530 fi
31531
31532 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31533 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31534
31535 wxUSE_UNIVERSAL="yes"
31536
31537 AFMINSTALL=afminstall
31538 TOOLKIT=MICROWIN
31539 GUIDIST=MICROWIN_DIST
31540
31541 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31542 fi
31543
31544 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31545 { echo "$as_me:$LINENO: checking for X" >&5
31546 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31547
31548
31549 # Check whether --with-x was given.
31550 if test "${with_x+set}" = set; then
31551 withval=$with_x;
31552 fi
31553
31554 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31555 if test "x$with_x" = xno; then
31556 # The user explicitly disabled X.
31557 have_x=disabled
31558 else
31559 case $x_includes,$x_libraries in #(
31560 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31561 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31562 { (exit 1); exit 1; }; };; #(
31563 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31564 echo $ECHO_N "(cached) $ECHO_C" >&6
31565 else
31566 # One or both of the vars are not set, and there is no cached value.
31567 ac_x_includes=no ac_x_libraries=no
31568 rm -f -r conftest.dir
31569 if mkdir conftest.dir; then
31570 cd conftest.dir
31571 cat >Imakefile <<'_ACEOF'
31572 incroot:
31573 @echo incroot='${INCROOT}'
31574 usrlibdir:
31575 @echo usrlibdir='${USRLIBDIR}'
31576 libdir:
31577 @echo libdir='${LIBDIR}'
31578 _ACEOF
31579 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31580 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31581 for ac_var in incroot usrlibdir libdir; do
31582 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31583 done
31584 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31585 for ac_extension in a so sl; do
31586 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31587 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31588 ac_im_usrlibdir=$ac_im_libdir; break
31589 fi
31590 done
31591 # Screen out bogus values from the imake configuration. They are
31592 # bogus both because they are the default anyway, and because
31593 # using them would break gcc on systems where it needs fixed includes.
31594 case $ac_im_incroot in
31595 /usr/include) ac_x_includes= ;;
31596 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31597 esac
31598 case $ac_im_usrlibdir in
31599 /usr/lib | /lib) ;;
31600 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31601 esac
31602 fi
31603 cd ..
31604 rm -f -r conftest.dir
31605 fi
31606
31607 # Standard set of common directories for X headers.
31608 # Check X11 before X11Rn because it is often a symlink to the current release.
31609 ac_x_header_dirs='
31610 /usr/X11/include
31611 /usr/X11R6/include
31612 /usr/X11R5/include
31613 /usr/X11R4/include
31614
31615 /usr/include/X11
31616 /usr/include/X11R6
31617 /usr/include/X11R5
31618 /usr/include/X11R4
31619
31620 /usr/local/X11/include
31621 /usr/local/X11R6/include
31622 /usr/local/X11R5/include
31623 /usr/local/X11R4/include
31624
31625 /usr/local/include/X11
31626 /usr/local/include/X11R6
31627 /usr/local/include/X11R5
31628 /usr/local/include/X11R4
31629
31630 /usr/X386/include
31631 /usr/x386/include
31632 /usr/XFree86/include/X11
31633
31634 /usr/include
31635 /usr/local/include
31636 /usr/unsupported/include
31637 /usr/athena/include
31638 /usr/local/x11r5/include
31639 /usr/lpp/Xamples/include
31640
31641 /usr/openwin/include
31642 /usr/openwin/share/include'
31643
31644 if test "$ac_x_includes" = no; then
31645 # Guess where to find include files, by looking for Xlib.h.
31646 # First, try using that file with no special directory specified.
31647 cat >conftest.$ac_ext <<_ACEOF
31648 /* confdefs.h. */
31649 _ACEOF
31650 cat confdefs.h >>conftest.$ac_ext
31651 cat >>conftest.$ac_ext <<_ACEOF
31652 /* end confdefs.h. */
31653 #include <X11/Xlib.h>
31654 _ACEOF
31655 if { (ac_try="$ac_cpp conftest.$ac_ext"
31656 case "(($ac_try" in
31657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31658 *) ac_try_echo=$ac_try;;
31659 esac
31660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31661 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31662 ac_status=$?
31663 grep -v '^ *+' conftest.er1 >conftest.err
31664 rm -f conftest.er1
31665 cat conftest.err >&5
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); } >/dev/null && {
31668 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31669 test ! -s conftest.err
31670 }; then
31671 # We can compile using X headers with no special include directory.
31672 ac_x_includes=
31673 else
31674 echo "$as_me: failed program was:" >&5
31675 sed 's/^/| /' conftest.$ac_ext >&5
31676
31677 for ac_dir in $ac_x_header_dirs; do
31678 if test -r "$ac_dir/X11/Xlib.h"; then
31679 ac_x_includes=$ac_dir
31680 break
31681 fi
31682 done
31683 fi
31684
31685 rm -f conftest.err conftest.$ac_ext
31686 fi # $ac_x_includes = no
31687
31688 if test "$ac_x_libraries" = no; then
31689 # Check for the libraries.
31690 # See if we find them without any special options.
31691 # Don't add to $LIBS permanently.
31692 ac_save_LIBS=$LIBS
31693 LIBS="-lX11 $LIBS"
31694 cat >conftest.$ac_ext <<_ACEOF
31695 /* confdefs.h. */
31696 _ACEOF
31697 cat confdefs.h >>conftest.$ac_ext
31698 cat >>conftest.$ac_ext <<_ACEOF
31699 /* end confdefs.h. */
31700 #include <X11/Xlib.h>
31701 int
31702 main ()
31703 {
31704 XrmInitialize ()
31705 ;
31706 return 0;
31707 }
31708 _ACEOF
31709 rm -f conftest.$ac_objext conftest$ac_exeext
31710 if { (ac_try="$ac_link"
31711 case "(($ac_try" in
31712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31713 *) ac_try_echo=$ac_try;;
31714 esac
31715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31716 (eval "$ac_link") 2>conftest.er1
31717 ac_status=$?
31718 grep -v '^ *+' conftest.er1 >conftest.err
31719 rm -f conftest.er1
31720 cat conftest.err >&5
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); } && {
31723 test -z "$ac_c_werror_flag" ||
31724 test ! -s conftest.err
31725 } && test -s conftest$ac_exeext &&
31726 $as_test_x conftest$ac_exeext; then
31727 LIBS=$ac_save_LIBS
31728 # We can link X programs with no special library path.
31729 ac_x_libraries=
31730 else
31731 echo "$as_me: failed program was:" >&5
31732 sed 's/^/| /' conftest.$ac_ext >&5
31733
31734 LIBS=$ac_save_LIBS
31735 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31736 do
31737 # Don't even attempt the hair of trying to link an X program!
31738 for ac_extension in a so sl; do
31739 if test -r "$ac_dir/libX11.$ac_extension"; then
31740 ac_x_libraries=$ac_dir
31741 break 2
31742 fi
31743 done
31744 done
31745 fi
31746
31747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31748 conftest$ac_exeext conftest.$ac_ext
31749 fi # $ac_x_libraries = no
31750
31751 case $ac_x_includes,$ac_x_libraries in #(
31752 no,* | *,no | *\'*)
31753 # Didn't find X, or a directory has "'" in its name.
31754 ac_cv_have_x="have_x=no";; #(
31755 *)
31756 # Record where we found X for the cache.
31757 ac_cv_have_x="have_x=yes\
31758 ac_x_includes='$ac_x_includes'\
31759 ac_x_libraries='$ac_x_libraries'"
31760 esac
31761 fi
31762 ;; #(
31763 *) have_x=yes;;
31764 esac
31765 eval "$ac_cv_have_x"
31766 fi # $with_x != no
31767
31768 if test "$have_x" != yes; then
31769 { echo "$as_me:$LINENO: result: $have_x" >&5
31770 echo "${ECHO_T}$have_x" >&6; }
31771 no_x=yes
31772 else
31773 # If each of the values was on the command line, it overrides each guess.
31774 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31775 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31776 # Update the cache value to reflect the command line values.
31777 ac_cv_have_x="have_x=yes\
31778 ac_x_includes='$x_includes'\
31779 ac_x_libraries='$x_libraries'"
31780 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31781 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31782 fi
31783
31784 if test "$no_x" = yes; then
31785 # Not all programs may use this symbol, but it does not hurt to define it.
31786
31787 cat >>confdefs.h <<\_ACEOF
31788 #define X_DISPLAY_MISSING 1
31789 _ACEOF
31790
31791 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31792 else
31793 if test -n "$x_includes"; then
31794 X_CFLAGS="$X_CFLAGS -I$x_includes"
31795 fi
31796
31797 # It would also be nice to do this for all -L options, not just this one.
31798 if test -n "$x_libraries"; then
31799 X_LIBS="$X_LIBS -L$x_libraries"
31800 # For Solaris; some versions of Sun CC require a space after -R and
31801 # others require no space. Words are not sufficient . . . .
31802 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31803 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31804 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31805 ac_xsave_c_werror_flag=$ac_c_werror_flag
31806 ac_c_werror_flag=yes
31807 cat >conftest.$ac_ext <<_ACEOF
31808 /* confdefs.h. */
31809 _ACEOF
31810 cat confdefs.h >>conftest.$ac_ext
31811 cat >>conftest.$ac_ext <<_ACEOF
31812 /* end confdefs.h. */
31813
31814 int
31815 main ()
31816 {
31817
31818 ;
31819 return 0;
31820 }
31821 _ACEOF
31822 rm -f conftest.$ac_objext conftest$ac_exeext
31823 if { (ac_try="$ac_link"
31824 case "(($ac_try" in
31825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31826 *) ac_try_echo=$ac_try;;
31827 esac
31828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31829 (eval "$ac_link") 2>conftest.er1
31830 ac_status=$?
31831 grep -v '^ *+' conftest.er1 >conftest.err
31832 rm -f conftest.er1
31833 cat conftest.err >&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); } && {
31836 test -z "$ac_c_werror_flag" ||
31837 test ! -s conftest.err
31838 } && test -s conftest$ac_exeext &&
31839 $as_test_x conftest$ac_exeext; then
31840 { echo "$as_me:$LINENO: result: no" >&5
31841 echo "${ECHO_T}no" >&6; }
31842 X_LIBS="$X_LIBS -R$x_libraries"
31843 else
31844 echo "$as_me: failed program was:" >&5
31845 sed 's/^/| /' conftest.$ac_ext >&5
31846
31847 LIBS="$ac_xsave_LIBS -R $x_libraries"
31848 cat >conftest.$ac_ext <<_ACEOF
31849 /* confdefs.h. */
31850 _ACEOF
31851 cat confdefs.h >>conftest.$ac_ext
31852 cat >>conftest.$ac_ext <<_ACEOF
31853 /* end confdefs.h. */
31854
31855 int
31856 main ()
31857 {
31858
31859 ;
31860 return 0;
31861 }
31862 _ACEOF
31863 rm -f conftest.$ac_objext conftest$ac_exeext
31864 if { (ac_try="$ac_link"
31865 case "(($ac_try" in
31866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31867 *) ac_try_echo=$ac_try;;
31868 esac
31869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31870 (eval "$ac_link") 2>conftest.er1
31871 ac_status=$?
31872 grep -v '^ *+' conftest.er1 >conftest.err
31873 rm -f conftest.er1
31874 cat conftest.err >&5
31875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31876 (exit $ac_status); } && {
31877 test -z "$ac_c_werror_flag" ||
31878 test ! -s conftest.err
31879 } && test -s conftest$ac_exeext &&
31880 $as_test_x conftest$ac_exeext; then
31881 { echo "$as_me:$LINENO: result: yes" >&5
31882 echo "${ECHO_T}yes" >&6; }
31883 X_LIBS="$X_LIBS -R $x_libraries"
31884 else
31885 echo "$as_me: failed program was:" >&5
31886 sed 's/^/| /' conftest.$ac_ext >&5
31887
31888 { echo "$as_me:$LINENO: result: neither works" >&5
31889 echo "${ECHO_T}neither works" >&6; }
31890 fi
31891
31892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31893 conftest$ac_exeext conftest.$ac_ext
31894 fi
31895
31896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31897 conftest$ac_exeext conftest.$ac_ext
31898 ac_c_werror_flag=$ac_xsave_c_werror_flag
31899 LIBS=$ac_xsave_LIBS
31900 fi
31901
31902 # Check for system-dependent libraries X programs must link with.
31903 # Do this before checking for the system-independent R6 libraries
31904 # (-lICE), since we may need -lsocket or whatever for X linking.
31905
31906 if test "$ISC" = yes; then
31907 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31908 else
31909 # Martyn Johnson says this is needed for Ultrix, if the X
31910 # libraries were built with DECnet support. And Karl Berry says
31911 # the Alpha needs dnet_stub (dnet does not exist).
31912 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31913 cat >conftest.$ac_ext <<_ACEOF
31914 /* confdefs.h. */
31915 _ACEOF
31916 cat confdefs.h >>conftest.$ac_ext
31917 cat >>conftest.$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31919
31920 /* Override any GCC internal prototype to avoid an error.
31921 Use char because int might match the return type of a GCC
31922 builtin and then its argument prototype would still apply. */
31923 #ifdef __cplusplus
31924 extern "C"
31925 #endif
31926 char XOpenDisplay ();
31927 int
31928 main ()
31929 {
31930 return XOpenDisplay ();
31931 ;
31932 return 0;
31933 }
31934 _ACEOF
31935 rm -f conftest.$ac_objext conftest$ac_exeext
31936 if { (ac_try="$ac_link"
31937 case "(($ac_try" in
31938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31939 *) ac_try_echo=$ac_try;;
31940 esac
31941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31942 (eval "$ac_link") 2>conftest.er1
31943 ac_status=$?
31944 grep -v '^ *+' conftest.er1 >conftest.err
31945 rm -f conftest.er1
31946 cat conftest.err >&5
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); } && {
31949 test -z "$ac_c_werror_flag" ||
31950 test ! -s conftest.err
31951 } && test -s conftest$ac_exeext &&
31952 $as_test_x conftest$ac_exeext; then
31953 :
31954 else
31955 echo "$as_me: failed program was:" >&5
31956 sed 's/^/| /' conftest.$ac_ext >&5
31957
31958 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31959 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31960 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31961 echo $ECHO_N "(cached) $ECHO_C" >&6
31962 else
31963 ac_check_lib_save_LIBS=$LIBS
31964 LIBS="-ldnet $LIBS"
31965 cat >conftest.$ac_ext <<_ACEOF
31966 /* confdefs.h. */
31967 _ACEOF
31968 cat confdefs.h >>conftest.$ac_ext
31969 cat >>conftest.$ac_ext <<_ACEOF
31970 /* end confdefs.h. */
31971
31972 /* Override any GCC internal prototype to avoid an error.
31973 Use char because int might match the return type of a GCC
31974 builtin and then its argument prototype would still apply. */
31975 #ifdef __cplusplus
31976 extern "C"
31977 #endif
31978 char dnet_ntoa ();
31979 int
31980 main ()
31981 {
31982 return dnet_ntoa ();
31983 ;
31984 return 0;
31985 }
31986 _ACEOF
31987 rm -f conftest.$ac_objext conftest$ac_exeext
31988 if { (ac_try="$ac_link"
31989 case "(($ac_try" in
31990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31991 *) ac_try_echo=$ac_try;;
31992 esac
31993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31994 (eval "$ac_link") 2>conftest.er1
31995 ac_status=$?
31996 grep -v '^ *+' conftest.er1 >conftest.err
31997 rm -f conftest.er1
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } && {
32001 test -z "$ac_c_werror_flag" ||
32002 test ! -s conftest.err
32003 } && test -s conftest$ac_exeext &&
32004 $as_test_x conftest$ac_exeext; then
32005 ac_cv_lib_dnet_dnet_ntoa=yes
32006 else
32007 echo "$as_me: failed program was:" >&5
32008 sed 's/^/| /' conftest.$ac_ext >&5
32009
32010 ac_cv_lib_dnet_dnet_ntoa=no
32011 fi
32012
32013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32014 conftest$ac_exeext conftest.$ac_ext
32015 LIBS=$ac_check_lib_save_LIBS
32016 fi
32017 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32018 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32019 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32020 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32021 fi
32022
32023 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32024 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32025 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32026 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32027 echo $ECHO_N "(cached) $ECHO_C" >&6
32028 else
32029 ac_check_lib_save_LIBS=$LIBS
32030 LIBS="-ldnet_stub $LIBS"
32031 cat >conftest.$ac_ext <<_ACEOF
32032 /* confdefs.h. */
32033 _ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037
32038 /* Override any GCC internal prototype to avoid an error.
32039 Use char because int might match the return type of a GCC
32040 builtin and then its argument prototype would still apply. */
32041 #ifdef __cplusplus
32042 extern "C"
32043 #endif
32044 char dnet_ntoa ();
32045 int
32046 main ()
32047 {
32048 return dnet_ntoa ();
32049 ;
32050 return 0;
32051 }
32052 _ACEOF
32053 rm -f conftest.$ac_objext conftest$ac_exeext
32054 if { (ac_try="$ac_link"
32055 case "(($ac_try" in
32056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32057 *) ac_try_echo=$ac_try;;
32058 esac
32059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32060 (eval "$ac_link") 2>conftest.er1
32061 ac_status=$?
32062 grep -v '^ *+' conftest.er1 >conftest.err
32063 rm -f conftest.er1
32064 cat conftest.err >&5
32065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32066 (exit $ac_status); } && {
32067 test -z "$ac_c_werror_flag" ||
32068 test ! -s conftest.err
32069 } && test -s conftest$ac_exeext &&
32070 $as_test_x conftest$ac_exeext; then
32071 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32072 else
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32075
32076 ac_cv_lib_dnet_stub_dnet_ntoa=no
32077 fi
32078
32079 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32080 conftest$ac_exeext conftest.$ac_ext
32081 LIBS=$ac_check_lib_save_LIBS
32082 fi
32083 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32084 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32085 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32086 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32087 fi
32088
32089 fi
32090 fi
32091
32092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32093 conftest$ac_exeext conftest.$ac_ext
32094 LIBS="$ac_xsave_LIBS"
32095
32096 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32097 # to get the SysV transport functions.
32098 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32099 # needs -lnsl.
32100 # The nsl library prevents programs from opening the X display
32101 # on Irix 5.2, according to T.E. Dickey.
32102 # The functions gethostbyname, getservbyname, and inet_addr are
32103 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32104 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32105 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32106 if test "${ac_cv_func_gethostbyname+set}" = set; then
32107 echo $ECHO_N "(cached) $ECHO_C" >&6
32108 else
32109 cat >conftest.$ac_ext <<_ACEOF
32110 /* confdefs.h. */
32111 _ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32115 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32117 #define gethostbyname innocuous_gethostbyname
32118
32119 /* System header to define __stub macros and hopefully few prototypes,
32120 which can conflict with char gethostbyname (); below.
32121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32122 <limits.h> exists even on freestanding compilers. */
32123
32124 #ifdef __STDC__
32125 # include <limits.h>
32126 #else
32127 # include <assert.h>
32128 #endif
32129
32130 #undef gethostbyname
32131
32132 /* Override any GCC internal prototype to avoid an error.
32133 Use char because int might match the return type of a GCC
32134 builtin and then its argument prototype would still apply. */
32135 #ifdef __cplusplus
32136 extern "C"
32137 #endif
32138 char gethostbyname ();
32139 /* The GNU C library defines this for functions which it implements
32140 to always fail with ENOSYS. Some functions are actually named
32141 something starting with __ and the normal name is an alias. */
32142 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32143 choke me
32144 #endif
32145
32146 int
32147 main ()
32148 {
32149 return gethostbyname ();
32150 ;
32151 return 0;
32152 }
32153 _ACEOF
32154 rm -f conftest.$ac_objext conftest$ac_exeext
32155 if { (ac_try="$ac_link"
32156 case "(($ac_try" in
32157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32158 *) ac_try_echo=$ac_try;;
32159 esac
32160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32161 (eval "$ac_link") 2>conftest.er1
32162 ac_status=$?
32163 grep -v '^ *+' conftest.er1 >conftest.err
32164 rm -f conftest.er1
32165 cat conftest.err >&5
32166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32167 (exit $ac_status); } && {
32168 test -z "$ac_c_werror_flag" ||
32169 test ! -s conftest.err
32170 } && test -s conftest$ac_exeext &&
32171 $as_test_x conftest$ac_exeext; then
32172 ac_cv_func_gethostbyname=yes
32173 else
32174 echo "$as_me: failed program was:" >&5
32175 sed 's/^/| /' conftest.$ac_ext >&5
32176
32177 ac_cv_func_gethostbyname=no
32178 fi
32179
32180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32181 conftest$ac_exeext conftest.$ac_ext
32182 fi
32183 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32184 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32185
32186 if test $ac_cv_func_gethostbyname = no; then
32187 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32188 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32189 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32191 else
32192 ac_check_lib_save_LIBS=$LIBS
32193 LIBS="-lnsl $LIBS"
32194 cat >conftest.$ac_ext <<_ACEOF
32195 /* confdefs.h. */
32196 _ACEOF
32197 cat confdefs.h >>conftest.$ac_ext
32198 cat >>conftest.$ac_ext <<_ACEOF
32199 /* end confdefs.h. */
32200
32201 /* Override any GCC internal prototype to avoid an error.
32202 Use char because int might match the return type of a GCC
32203 builtin and then its argument prototype would still apply. */
32204 #ifdef __cplusplus
32205 extern "C"
32206 #endif
32207 char gethostbyname ();
32208 int
32209 main ()
32210 {
32211 return gethostbyname ();
32212 ;
32213 return 0;
32214 }
32215 _ACEOF
32216 rm -f conftest.$ac_objext conftest$ac_exeext
32217 if { (ac_try="$ac_link"
32218 case "(($ac_try" in
32219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32220 *) ac_try_echo=$ac_try;;
32221 esac
32222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32223 (eval "$ac_link") 2>conftest.er1
32224 ac_status=$?
32225 grep -v '^ *+' conftest.er1 >conftest.err
32226 rm -f conftest.er1
32227 cat conftest.err >&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); } && {
32230 test -z "$ac_c_werror_flag" ||
32231 test ! -s conftest.err
32232 } && test -s conftest$ac_exeext &&
32233 $as_test_x conftest$ac_exeext; then
32234 ac_cv_lib_nsl_gethostbyname=yes
32235 else
32236 echo "$as_me: failed program was:" >&5
32237 sed 's/^/| /' conftest.$ac_ext >&5
32238
32239 ac_cv_lib_nsl_gethostbyname=no
32240 fi
32241
32242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32243 conftest$ac_exeext conftest.$ac_ext
32244 LIBS=$ac_check_lib_save_LIBS
32245 fi
32246 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32247 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32248 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32249 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32250 fi
32251
32252 if test $ac_cv_lib_nsl_gethostbyname = no; then
32253 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32254 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32255 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32256 echo $ECHO_N "(cached) $ECHO_C" >&6
32257 else
32258 ac_check_lib_save_LIBS=$LIBS
32259 LIBS="-lbsd $LIBS"
32260 cat >conftest.$ac_ext <<_ACEOF
32261 /* confdefs.h. */
32262 _ACEOF
32263 cat confdefs.h >>conftest.$ac_ext
32264 cat >>conftest.$ac_ext <<_ACEOF
32265 /* end confdefs.h. */
32266
32267 /* Override any GCC internal prototype to avoid an error.
32268 Use char because int might match the return type of a GCC
32269 builtin and then its argument prototype would still apply. */
32270 #ifdef __cplusplus
32271 extern "C"
32272 #endif
32273 char gethostbyname ();
32274 int
32275 main ()
32276 {
32277 return gethostbyname ();
32278 ;
32279 return 0;
32280 }
32281 _ACEOF
32282 rm -f conftest.$ac_objext conftest$ac_exeext
32283 if { (ac_try="$ac_link"
32284 case "(($ac_try" in
32285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32286 *) ac_try_echo=$ac_try;;
32287 esac
32288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32289 (eval "$ac_link") 2>conftest.er1
32290 ac_status=$?
32291 grep -v '^ *+' conftest.er1 >conftest.err
32292 rm -f conftest.er1
32293 cat conftest.err >&5
32294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 (exit $ac_status); } && {
32296 test -z "$ac_c_werror_flag" ||
32297 test ! -s conftest.err
32298 } && test -s conftest$ac_exeext &&
32299 $as_test_x conftest$ac_exeext; then
32300 ac_cv_lib_bsd_gethostbyname=yes
32301 else
32302 echo "$as_me: failed program was:" >&5
32303 sed 's/^/| /' conftest.$ac_ext >&5
32304
32305 ac_cv_lib_bsd_gethostbyname=no
32306 fi
32307
32308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32309 conftest$ac_exeext conftest.$ac_ext
32310 LIBS=$ac_check_lib_save_LIBS
32311 fi
32312 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32313 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32314 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32315 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32316 fi
32317
32318 fi
32319 fi
32320
32321 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32322 # socket/setsockopt and other routines are undefined under SCO ODT
32323 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32324 # on later versions), says Simon Leinen: it contains gethostby*
32325 # variants that don't use the name server (or something). -lsocket
32326 # must be given before -lnsl if both are needed. We assume that
32327 # if connect needs -lnsl, so does gethostbyname.
32328 { echo "$as_me:$LINENO: checking for connect" >&5
32329 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32330 if test "${ac_cv_func_connect+set}" = set; then
32331 echo $ECHO_N "(cached) $ECHO_C" >&6
32332 else
32333 cat >conftest.$ac_ext <<_ACEOF
32334 /* confdefs.h. */
32335 _ACEOF
32336 cat confdefs.h >>conftest.$ac_ext
32337 cat >>conftest.$ac_ext <<_ACEOF
32338 /* end confdefs.h. */
32339 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32341 #define connect innocuous_connect
32342
32343 /* System header to define __stub macros and hopefully few prototypes,
32344 which can conflict with char connect (); below.
32345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32346 <limits.h> exists even on freestanding compilers. */
32347
32348 #ifdef __STDC__
32349 # include <limits.h>
32350 #else
32351 # include <assert.h>
32352 #endif
32353
32354 #undef connect
32355
32356 /* Override any GCC internal prototype to avoid an error.
32357 Use char because int might match the return type of a GCC
32358 builtin and then its argument prototype would still apply. */
32359 #ifdef __cplusplus
32360 extern "C"
32361 #endif
32362 char connect ();
32363 /* The GNU C library defines this for functions which it implements
32364 to always fail with ENOSYS. Some functions are actually named
32365 something starting with __ and the normal name is an alias. */
32366 #if defined __stub_connect || defined __stub___connect
32367 choke me
32368 #endif
32369
32370 int
32371 main ()
32372 {
32373 return connect ();
32374 ;
32375 return 0;
32376 }
32377 _ACEOF
32378 rm -f conftest.$ac_objext conftest$ac_exeext
32379 if { (ac_try="$ac_link"
32380 case "(($ac_try" in
32381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32382 *) ac_try_echo=$ac_try;;
32383 esac
32384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32385 (eval "$ac_link") 2>conftest.er1
32386 ac_status=$?
32387 grep -v '^ *+' conftest.er1 >conftest.err
32388 rm -f conftest.er1
32389 cat conftest.err >&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } && {
32392 test -z "$ac_c_werror_flag" ||
32393 test ! -s conftest.err
32394 } && test -s conftest$ac_exeext &&
32395 $as_test_x conftest$ac_exeext; then
32396 ac_cv_func_connect=yes
32397 else
32398 echo "$as_me: failed program was:" >&5
32399 sed 's/^/| /' conftest.$ac_ext >&5
32400
32401 ac_cv_func_connect=no
32402 fi
32403
32404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32405 conftest$ac_exeext conftest.$ac_ext
32406 fi
32407 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32408 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32409
32410 if test $ac_cv_func_connect = no; then
32411 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32412 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32413 if test "${ac_cv_lib_socket_connect+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32415 else
32416 ac_check_lib_save_LIBS=$LIBS
32417 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32418 cat >conftest.$ac_ext <<_ACEOF
32419 /* confdefs.h. */
32420 _ACEOF
32421 cat confdefs.h >>conftest.$ac_ext
32422 cat >>conftest.$ac_ext <<_ACEOF
32423 /* end confdefs.h. */
32424
32425 /* Override any GCC internal prototype to avoid an error.
32426 Use char because int might match the return type of a GCC
32427 builtin and then its argument prototype would still apply. */
32428 #ifdef __cplusplus
32429 extern "C"
32430 #endif
32431 char connect ();
32432 int
32433 main ()
32434 {
32435 return connect ();
32436 ;
32437 return 0;
32438 }
32439 _ACEOF
32440 rm -f conftest.$ac_objext conftest$ac_exeext
32441 if { (ac_try="$ac_link"
32442 case "(($ac_try" in
32443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32444 *) ac_try_echo=$ac_try;;
32445 esac
32446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32447 (eval "$ac_link") 2>conftest.er1
32448 ac_status=$?
32449 grep -v '^ *+' conftest.er1 >conftest.err
32450 rm -f conftest.er1
32451 cat conftest.err >&5
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); } && {
32454 test -z "$ac_c_werror_flag" ||
32455 test ! -s conftest.err
32456 } && test -s conftest$ac_exeext &&
32457 $as_test_x conftest$ac_exeext; then
32458 ac_cv_lib_socket_connect=yes
32459 else
32460 echo "$as_me: failed program was:" >&5
32461 sed 's/^/| /' conftest.$ac_ext >&5
32462
32463 ac_cv_lib_socket_connect=no
32464 fi
32465
32466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32467 conftest$ac_exeext conftest.$ac_ext
32468 LIBS=$ac_check_lib_save_LIBS
32469 fi
32470 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32471 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32472 if test $ac_cv_lib_socket_connect = yes; then
32473 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32474 fi
32475
32476 fi
32477
32478 # Guillermo Gomez says -lposix is necessary on A/UX.
32479 { echo "$as_me:$LINENO: checking for remove" >&5
32480 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32481 if test "${ac_cv_func_remove+set}" = set; then
32482 echo $ECHO_N "(cached) $ECHO_C" >&6
32483 else
32484 cat >conftest.$ac_ext <<_ACEOF
32485 /* confdefs.h. */
32486 _ACEOF
32487 cat confdefs.h >>conftest.$ac_ext
32488 cat >>conftest.$ac_ext <<_ACEOF
32489 /* end confdefs.h. */
32490 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32492 #define remove innocuous_remove
32493
32494 /* System header to define __stub macros and hopefully few prototypes,
32495 which can conflict with char remove (); below.
32496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32497 <limits.h> exists even on freestanding compilers. */
32498
32499 #ifdef __STDC__
32500 # include <limits.h>
32501 #else
32502 # include <assert.h>
32503 #endif
32504
32505 #undef remove
32506
32507 /* Override any GCC internal prototype to avoid an error.
32508 Use char because int might match the return type of a GCC
32509 builtin and then its argument prototype would still apply. */
32510 #ifdef __cplusplus
32511 extern "C"
32512 #endif
32513 char remove ();
32514 /* The GNU C library defines this for functions which it implements
32515 to always fail with ENOSYS. Some functions are actually named
32516 something starting with __ and the normal name is an alias. */
32517 #if defined __stub_remove || defined __stub___remove
32518 choke me
32519 #endif
32520
32521 int
32522 main ()
32523 {
32524 return remove ();
32525 ;
32526 return 0;
32527 }
32528 _ACEOF
32529 rm -f conftest.$ac_objext conftest$ac_exeext
32530 if { (ac_try="$ac_link"
32531 case "(($ac_try" in
32532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32533 *) ac_try_echo=$ac_try;;
32534 esac
32535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32536 (eval "$ac_link") 2>conftest.er1
32537 ac_status=$?
32538 grep -v '^ *+' conftest.er1 >conftest.err
32539 rm -f conftest.er1
32540 cat conftest.err >&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } && {
32543 test -z "$ac_c_werror_flag" ||
32544 test ! -s conftest.err
32545 } && test -s conftest$ac_exeext &&
32546 $as_test_x conftest$ac_exeext; then
32547 ac_cv_func_remove=yes
32548 else
32549 echo "$as_me: failed program was:" >&5
32550 sed 's/^/| /' conftest.$ac_ext >&5
32551
32552 ac_cv_func_remove=no
32553 fi
32554
32555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32556 conftest$ac_exeext conftest.$ac_ext
32557 fi
32558 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32559 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32560
32561 if test $ac_cv_func_remove = no; then
32562 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32563 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32564 if test "${ac_cv_lib_posix_remove+set}" = set; then
32565 echo $ECHO_N "(cached) $ECHO_C" >&6
32566 else
32567 ac_check_lib_save_LIBS=$LIBS
32568 LIBS="-lposix $LIBS"
32569 cat >conftest.$ac_ext <<_ACEOF
32570 /* confdefs.h. */
32571 _ACEOF
32572 cat confdefs.h >>conftest.$ac_ext
32573 cat >>conftest.$ac_ext <<_ACEOF
32574 /* end confdefs.h. */
32575
32576 /* Override any GCC internal prototype to avoid an error.
32577 Use char because int might match the return type of a GCC
32578 builtin and then its argument prototype would still apply. */
32579 #ifdef __cplusplus
32580 extern "C"
32581 #endif
32582 char remove ();
32583 int
32584 main ()
32585 {
32586 return remove ();
32587 ;
32588 return 0;
32589 }
32590 _ACEOF
32591 rm -f conftest.$ac_objext conftest$ac_exeext
32592 if { (ac_try="$ac_link"
32593 case "(($ac_try" in
32594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32595 *) ac_try_echo=$ac_try;;
32596 esac
32597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32598 (eval "$ac_link") 2>conftest.er1
32599 ac_status=$?
32600 grep -v '^ *+' conftest.er1 >conftest.err
32601 rm -f conftest.er1
32602 cat conftest.err >&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); } && {
32605 test -z "$ac_c_werror_flag" ||
32606 test ! -s conftest.err
32607 } && test -s conftest$ac_exeext &&
32608 $as_test_x conftest$ac_exeext; then
32609 ac_cv_lib_posix_remove=yes
32610 else
32611 echo "$as_me: failed program was:" >&5
32612 sed 's/^/| /' conftest.$ac_ext >&5
32613
32614 ac_cv_lib_posix_remove=no
32615 fi
32616
32617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32618 conftest$ac_exeext conftest.$ac_ext
32619 LIBS=$ac_check_lib_save_LIBS
32620 fi
32621 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32622 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32623 if test $ac_cv_lib_posix_remove = yes; then
32624 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32625 fi
32626
32627 fi
32628
32629 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32630 { echo "$as_me:$LINENO: checking for shmat" >&5
32631 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32632 if test "${ac_cv_func_shmat+set}" = set; then
32633 echo $ECHO_N "(cached) $ECHO_C" >&6
32634 else
32635 cat >conftest.$ac_ext <<_ACEOF
32636 /* confdefs.h. */
32637 _ACEOF
32638 cat confdefs.h >>conftest.$ac_ext
32639 cat >>conftest.$ac_ext <<_ACEOF
32640 /* end confdefs.h. */
32641 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32643 #define shmat innocuous_shmat
32644
32645 /* System header to define __stub macros and hopefully few prototypes,
32646 which can conflict with char shmat (); below.
32647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32648 <limits.h> exists even on freestanding compilers. */
32649
32650 #ifdef __STDC__
32651 # include <limits.h>
32652 #else
32653 # include <assert.h>
32654 #endif
32655
32656 #undef shmat
32657
32658 /* Override any GCC internal prototype to avoid an error.
32659 Use char because int might match the return type of a GCC
32660 builtin and then its argument prototype would still apply. */
32661 #ifdef __cplusplus
32662 extern "C"
32663 #endif
32664 char shmat ();
32665 /* The GNU C library defines this for functions which it implements
32666 to always fail with ENOSYS. Some functions are actually named
32667 something starting with __ and the normal name is an alias. */
32668 #if defined __stub_shmat || defined __stub___shmat
32669 choke me
32670 #endif
32671
32672 int
32673 main ()
32674 {
32675 return shmat ();
32676 ;
32677 return 0;
32678 }
32679 _ACEOF
32680 rm -f conftest.$ac_objext conftest$ac_exeext
32681 if { (ac_try="$ac_link"
32682 case "(($ac_try" in
32683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32684 *) ac_try_echo=$ac_try;;
32685 esac
32686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32687 (eval "$ac_link") 2>conftest.er1
32688 ac_status=$?
32689 grep -v '^ *+' conftest.er1 >conftest.err
32690 rm -f conftest.er1
32691 cat conftest.err >&5
32692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32693 (exit $ac_status); } && {
32694 test -z "$ac_c_werror_flag" ||
32695 test ! -s conftest.err
32696 } && test -s conftest$ac_exeext &&
32697 $as_test_x conftest$ac_exeext; then
32698 ac_cv_func_shmat=yes
32699 else
32700 echo "$as_me: failed program was:" >&5
32701 sed 's/^/| /' conftest.$ac_ext >&5
32702
32703 ac_cv_func_shmat=no
32704 fi
32705
32706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32707 conftest$ac_exeext conftest.$ac_ext
32708 fi
32709 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32710 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32711
32712 if test $ac_cv_func_shmat = no; then
32713 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32714 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32715 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32716 echo $ECHO_N "(cached) $ECHO_C" >&6
32717 else
32718 ac_check_lib_save_LIBS=$LIBS
32719 LIBS="-lipc $LIBS"
32720 cat >conftest.$ac_ext <<_ACEOF
32721 /* confdefs.h. */
32722 _ACEOF
32723 cat confdefs.h >>conftest.$ac_ext
32724 cat >>conftest.$ac_ext <<_ACEOF
32725 /* end confdefs.h. */
32726
32727 /* Override any GCC internal prototype to avoid an error.
32728 Use char because int might match the return type of a GCC
32729 builtin and then its argument prototype would still apply. */
32730 #ifdef __cplusplus
32731 extern "C"
32732 #endif
32733 char shmat ();
32734 int
32735 main ()
32736 {
32737 return shmat ();
32738 ;
32739 return 0;
32740 }
32741 _ACEOF
32742 rm -f conftest.$ac_objext conftest$ac_exeext
32743 if { (ac_try="$ac_link"
32744 case "(($ac_try" in
32745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32746 *) ac_try_echo=$ac_try;;
32747 esac
32748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32749 (eval "$ac_link") 2>conftest.er1
32750 ac_status=$?
32751 grep -v '^ *+' conftest.er1 >conftest.err
32752 rm -f conftest.er1
32753 cat conftest.err >&5
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); } && {
32756 test -z "$ac_c_werror_flag" ||
32757 test ! -s conftest.err
32758 } && test -s conftest$ac_exeext &&
32759 $as_test_x conftest$ac_exeext; then
32760 ac_cv_lib_ipc_shmat=yes
32761 else
32762 echo "$as_me: failed program was:" >&5
32763 sed 's/^/| /' conftest.$ac_ext >&5
32764
32765 ac_cv_lib_ipc_shmat=no
32766 fi
32767
32768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32769 conftest$ac_exeext conftest.$ac_ext
32770 LIBS=$ac_check_lib_save_LIBS
32771 fi
32772 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32773 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32774 if test $ac_cv_lib_ipc_shmat = yes; then
32775 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32776 fi
32777
32778 fi
32779 fi
32780
32781 # Check for libraries that X11R6 Xt/Xaw programs need.
32782 ac_save_LDFLAGS=$LDFLAGS
32783 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32784 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32785 # check for ICE first), but we must link in the order -lSM -lICE or
32786 # we get undefined symbols. So assume we have SM if we have ICE.
32787 # These have to be linked with before -lX11, unlike the other
32788 # libraries we check for below, so use a different variable.
32789 # John Interrante, Karl Berry
32790 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32791 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32792 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32793 echo $ECHO_N "(cached) $ECHO_C" >&6
32794 else
32795 ac_check_lib_save_LIBS=$LIBS
32796 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32797 cat >conftest.$ac_ext <<_ACEOF
32798 /* confdefs.h. */
32799 _ACEOF
32800 cat confdefs.h >>conftest.$ac_ext
32801 cat >>conftest.$ac_ext <<_ACEOF
32802 /* end confdefs.h. */
32803
32804 /* Override any GCC internal prototype to avoid an error.
32805 Use char because int might match the return type of a GCC
32806 builtin and then its argument prototype would still apply. */
32807 #ifdef __cplusplus
32808 extern "C"
32809 #endif
32810 char IceConnectionNumber ();
32811 int
32812 main ()
32813 {
32814 return IceConnectionNumber ();
32815 ;
32816 return 0;
32817 }
32818 _ACEOF
32819 rm -f conftest.$ac_objext conftest$ac_exeext
32820 if { (ac_try="$ac_link"
32821 case "(($ac_try" in
32822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32823 *) ac_try_echo=$ac_try;;
32824 esac
32825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32826 (eval "$ac_link") 2>conftest.er1
32827 ac_status=$?
32828 grep -v '^ *+' conftest.er1 >conftest.err
32829 rm -f conftest.er1
32830 cat conftest.err >&5
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); } && {
32833 test -z "$ac_c_werror_flag" ||
32834 test ! -s conftest.err
32835 } && test -s conftest$ac_exeext &&
32836 $as_test_x conftest$ac_exeext; then
32837 ac_cv_lib_ICE_IceConnectionNumber=yes
32838 else
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.$ac_ext >&5
32841
32842 ac_cv_lib_ICE_IceConnectionNumber=no
32843 fi
32844
32845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32846 conftest$ac_exeext conftest.$ac_ext
32847 LIBS=$ac_check_lib_save_LIBS
32848 fi
32849 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32850 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32851 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32852 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32853 fi
32854
32855 LDFLAGS=$ac_save_LDFLAGS
32856
32857 fi
32858
32859
32860 if test "$no_x" = "yes"; then
32861 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32862 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32863 { (exit 1); exit 1; }; }
32864 fi
32865
32866 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32867 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32868 AFMINSTALL=afminstall
32869 COMPILED_X_PROGRAM=0
32870
32871 fi
32872
32873 if test "$wxUSE_X11" = 1; then
32874 if test "$wxUSE_NANOX" = "yes"; then
32875 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32876 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32877 if test "x$MICROWIN" = x ; then
32878 { echo "$as_me:$LINENO: result: not found" >&5
32879 echo "${ECHO_T}not found" >&6; }
32880 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32881 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32882 { (exit 1); exit 1; }; }
32883 else
32884 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32885 echo "${ECHO_T}$MICROWIN" >&6; }
32886 cat >>confdefs.h <<\_ACEOF
32887 #define wxUSE_NANOX 1
32888 _ACEOF
32889
32890 fi
32891 fi
32892
32893 if test "$wxUSE_UNICODE" = "yes"; then
32894
32895
32896 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32897 if test -n "$ac_tool_prefix"; then
32898 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32899 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32902 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32903 echo $ECHO_N "(cached) $ECHO_C" >&6
32904 else
32905 case $PKG_CONFIG in
32906 [\\/]* | ?:[\\/]*)
32907 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32908 ;;
32909 *)
32910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32911 for as_dir in $PATH
32912 do
32913 IFS=$as_save_IFS
32914 test -z "$as_dir" && as_dir=.
32915 for ac_exec_ext in '' $ac_executable_extensions; do
32916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32917 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32919 break 2
32920 fi
32921 done
32922 done
32923 IFS=$as_save_IFS
32924
32925 ;;
32926 esac
32927 fi
32928 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32929 if test -n "$PKG_CONFIG"; then
32930 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32931 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32932 else
32933 { echo "$as_me:$LINENO: result: no" >&5
32934 echo "${ECHO_T}no" >&6; }
32935 fi
32936
32937
32938 fi
32939 if test -z "$ac_cv_path_PKG_CONFIG"; then
32940 ac_pt_PKG_CONFIG=$PKG_CONFIG
32941 # Extract the first word of "pkg-config", so it can be a program name with args.
32942 set dummy pkg-config; ac_word=$2
32943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32945 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32946 echo $ECHO_N "(cached) $ECHO_C" >&6
32947 else
32948 case $ac_pt_PKG_CONFIG in
32949 [\\/]* | ?:[\\/]*)
32950 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32951 ;;
32952 *)
32953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32954 for as_dir in $PATH
32955 do
32956 IFS=$as_save_IFS
32957 test -z "$as_dir" && as_dir=.
32958 for ac_exec_ext in '' $ac_executable_extensions; do
32959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32960 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32962 break 2
32963 fi
32964 done
32965 done
32966 IFS=$as_save_IFS
32967
32968 ;;
32969 esac
32970 fi
32971 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32972 if test -n "$ac_pt_PKG_CONFIG"; then
32973 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32974 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32975 else
32976 { echo "$as_me:$LINENO: result: no" >&5
32977 echo "${ECHO_T}no" >&6; }
32978 fi
32979
32980 if test "x$ac_pt_PKG_CONFIG" = x; then
32981 PKG_CONFIG=""
32982 else
32983 case $cross_compiling:$ac_tool_warned in
32984 yes:)
32985 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32986 whose name does not start with the host triplet. If you think this
32987 configuration is useful to you, please write to autoconf@gnu.org." >&5
32988 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32989 whose name does not start with the host triplet. If you think this
32990 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32991 ac_tool_warned=yes ;;
32992 esac
32993 PKG_CONFIG=$ac_pt_PKG_CONFIG
32994 fi
32995 else
32996 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32997 fi
32998
32999 fi
33000 if test -n "$PKG_CONFIG"; then
33001 _pkg_min_version=0.9.0
33002 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33003 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33004 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33005 { echo "$as_me:$LINENO: result: yes" >&5
33006 echo "${ECHO_T}yes" >&6; }
33007 else
33008 { echo "$as_me:$LINENO: result: no" >&5
33009 echo "${ECHO_T}no" >&6; }
33010 PKG_CONFIG=""
33011 fi
33012
33013 fi
33014
33015
33016 pkg_failed=no
33017 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33018 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33019
33020 if test -n "$PKG_CONFIG"; then
33021 if test -n "$PANGOX_CFLAGS"; then
33022 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33023 else
33024 if test -n "$PKG_CONFIG" && \
33025 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33026 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33027 ac_status=$?
33028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33029 (exit $ac_status); }; then
33030 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33031 else
33032 pkg_failed=yes
33033 fi
33034 fi
33035 else
33036 pkg_failed=untried
33037 fi
33038 if test -n "$PKG_CONFIG"; then
33039 if test -n "$PANGOX_LIBS"; then
33040 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33041 else
33042 if test -n "$PKG_CONFIG" && \
33043 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33044 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33045 ac_status=$?
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); }; then
33048 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33049 else
33050 pkg_failed=yes
33051 fi
33052 fi
33053 else
33054 pkg_failed=untried
33055 fi
33056
33057
33058
33059 if test $pkg_failed = yes; then
33060
33061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33062 _pkg_short_errors_supported=yes
33063 else
33064 _pkg_short_errors_supported=no
33065 fi
33066 if test $_pkg_short_errors_supported = yes; then
33067 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33068 else
33069 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33070 fi
33071 # Put the nasty error message in config.log where it belongs
33072 echo "$PANGOX_PKG_ERRORS" >&5
33073
33074
33075 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33076 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33077 { (exit 1); exit 1; }; }
33078
33079
33080 elif test $pkg_failed = untried; then
33081
33082 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33083 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33084 { (exit 1); exit 1; }; }
33085
33086
33087 else
33088 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33089 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33090 { echo "$as_me:$LINENO: result: yes" >&5
33091 echo "${ECHO_T}yes" >&6; }
33092
33093 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33094 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33095 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33096
33097 fi
33098
33099 pkg_failed=no
33100 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33101 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33102
33103 if test -n "$PKG_CONFIG"; then
33104 if test -n "$PANGOFT2_CFLAGS"; then
33105 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33106 else
33107 if test -n "$PKG_CONFIG" && \
33108 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33109 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33110 ac_status=$?
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); }; then
33113 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33114 else
33115 pkg_failed=yes
33116 fi
33117 fi
33118 else
33119 pkg_failed=untried
33120 fi
33121 if test -n "$PKG_CONFIG"; then
33122 if test -n "$PANGOFT2_LIBS"; then
33123 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33124 else
33125 if test -n "$PKG_CONFIG" && \
33126 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33127 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33128 ac_status=$?
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; then
33131 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33132 else
33133 pkg_failed=yes
33134 fi
33135 fi
33136 else
33137 pkg_failed=untried
33138 fi
33139
33140
33141
33142 if test $pkg_failed = yes; then
33143
33144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33145 _pkg_short_errors_supported=yes
33146 else
33147 _pkg_short_errors_supported=no
33148 fi
33149 if test $_pkg_short_errors_supported = yes; then
33150 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33151 else
33152 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33153 fi
33154 # Put the nasty error message in config.log where it belongs
33155 echo "$PANGOFT2_PKG_ERRORS" >&5
33156
33157
33158 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33159 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33160 wxUSE_PRINTING_ARCHITECTURE="no"
33161
33162
33163 elif test $pkg_failed = untried; then
33164
33165 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33166 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33167 wxUSE_PRINTING_ARCHITECTURE="no"
33168
33169
33170 else
33171 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33172 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33173 { echo "$as_me:$LINENO: result: yes" >&5
33174 echo "${ECHO_T}yes" >&6; }
33175
33176 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33177 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33178 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33179
33180 fi
33181
33182 pkg_failed=no
33183 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33184 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33185
33186 if test -n "$PKG_CONFIG"; then
33187 if test -n "$PANGOXFT_CFLAGS"; then
33188 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33189 else
33190 if test -n "$PKG_CONFIG" && \
33191 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33192 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33193 ac_status=$?
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); }; then
33196 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33197 else
33198 pkg_failed=yes
33199 fi
33200 fi
33201 else
33202 pkg_failed=untried
33203 fi
33204 if test -n "$PKG_CONFIG"; then
33205 if test -n "$PANGOXFT_LIBS"; then
33206 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33207 else
33208 if test -n "$PKG_CONFIG" && \
33209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33210 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33211 ac_status=$?
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; then
33214 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33215 else
33216 pkg_failed=yes
33217 fi
33218 fi
33219 else
33220 pkg_failed=untried
33221 fi
33222
33223
33224
33225 if test $pkg_failed = yes; then
33226
33227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33228 _pkg_short_errors_supported=yes
33229 else
33230 _pkg_short_errors_supported=no
33231 fi
33232 if test $_pkg_short_errors_supported = yes; then
33233 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33234 else
33235 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33236 fi
33237 # Put the nasty error message in config.log where it belongs
33238 echo "$PANGOXFT_PKG_ERRORS" >&5
33239
33240
33241 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33242 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33243
33244
33245 elif test $pkg_failed = untried; then
33246
33247 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33248 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33249
33250
33251 else
33252 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33253 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33254 { echo "$as_me:$LINENO: result: yes" >&5
33255 echo "${ECHO_T}yes" >&6; }
33256
33257 cat >>confdefs.h <<\_ACEOF
33258 #define HAVE_PANGO_XFT 1
33259 _ACEOF
33260
33261 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33262 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33263 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33264
33265 fi
33266 save_LIBS="$LIBS"
33267 LIBS="$LIBS $PANGOX_LIBS"
33268
33269 for ac_func in pango_font_family_is_monospace
33270 do
33271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33275 echo $ECHO_N "(cached) $ECHO_C" >&6
33276 else
33277 cat >conftest.$ac_ext <<_ACEOF
33278 /* confdefs.h. */
33279 _ACEOF
33280 cat confdefs.h >>conftest.$ac_ext
33281 cat >>conftest.$ac_ext <<_ACEOF
33282 /* end confdefs.h. */
33283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33285 #define $ac_func innocuous_$ac_func
33286
33287 /* System header to define __stub macros and hopefully few prototypes,
33288 which can conflict with char $ac_func (); below.
33289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33290 <limits.h> exists even on freestanding compilers. */
33291
33292 #ifdef __STDC__
33293 # include <limits.h>
33294 #else
33295 # include <assert.h>
33296 #endif
33297
33298 #undef $ac_func
33299
33300 /* Override any GCC internal prototype to avoid an error.
33301 Use char because int might match the return type of a GCC
33302 builtin and then its argument prototype would still apply. */
33303 #ifdef __cplusplus
33304 extern "C"
33305 #endif
33306 char $ac_func ();
33307 /* The GNU C library defines this for functions which it implements
33308 to always fail with ENOSYS. Some functions are actually named
33309 something starting with __ and the normal name is an alias. */
33310 #if defined __stub_$ac_func || defined __stub___$ac_func
33311 choke me
33312 #endif
33313
33314 int
33315 main ()
33316 {
33317 return $ac_func ();
33318 ;
33319 return 0;
33320 }
33321 _ACEOF
33322 rm -f conftest.$ac_objext conftest$ac_exeext
33323 if { (ac_try="$ac_link"
33324 case "(($ac_try" in
33325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33326 *) ac_try_echo=$ac_try;;
33327 esac
33328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33329 (eval "$ac_link") 2>conftest.er1
33330 ac_status=$?
33331 grep -v '^ *+' conftest.er1 >conftest.err
33332 rm -f conftest.er1
33333 cat conftest.err >&5
33334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33335 (exit $ac_status); } && {
33336 test -z "$ac_c_werror_flag" ||
33337 test ! -s conftest.err
33338 } && test -s conftest$ac_exeext &&
33339 $as_test_x conftest$ac_exeext; then
33340 eval "$as_ac_var=yes"
33341 else
33342 echo "$as_me: failed program was:" >&5
33343 sed 's/^/| /' conftest.$ac_ext >&5
33344
33345 eval "$as_ac_var=no"
33346 fi
33347
33348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33349 conftest$ac_exeext conftest.$ac_ext
33350 fi
33351 ac_res=`eval echo '${'$as_ac_var'}'`
33352 { echo "$as_me:$LINENO: result: $ac_res" >&5
33353 echo "${ECHO_T}$ac_res" >&6; }
33354 if test `eval echo '${'$as_ac_var'}'` = yes; then
33355 cat >>confdefs.h <<_ACEOF
33356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33357 _ACEOF
33358
33359 fi
33360 done
33361
33362 LIBS="$save_LIBS"
33363 fi
33364
33365 wxUSE_UNIVERSAL="yes"
33366
33367 if test "$wxUSE_NANOX" = "yes"; then
33368 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33369 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"
33370 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33371 else
33372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33373 fi
33374
33375 TOOLKIT=X11
33376 GUIDIST=X11_DIST
33377 fi
33378
33379 if test "$wxUSE_MOTIF" = 1; then
33380 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33381 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33382
33383 ac_find_includes=
33384 for ac_dir in $SEARCH_INCLUDE /usr/include
33385 do
33386 if test -f "$ac_dir/Xm/Xm.h"; then
33387 ac_find_includes=$ac_dir
33388 break
33389 fi
33390 done
33391
33392 if test "$ac_find_includes" != "" ; then
33393 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33394 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33395
33396 if test "x$ac_find_includes" = "x/usr/include"; then
33397 ac_path_to_include=""
33398 else
33399 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33400 result=$?
33401 if test $result = 0; then
33402 ac_path_to_include=""
33403 else
33404 ac_path_to_include=" -I$ac_find_includes"
33405 fi
33406 fi
33407
33408 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33409 else
33410 save_CFLAGS=$CFLAGS
33411 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33412
33413 cat >conftest.$ac_ext <<_ACEOF
33414 /* confdefs.h. */
33415 _ACEOF
33416 cat confdefs.h >>conftest.$ac_ext
33417 cat >>conftest.$ac_ext <<_ACEOF
33418 /* end confdefs.h. */
33419
33420 #include <Xm/Xm.h>
33421
33422 int
33423 main ()
33424 {
33425
33426 int version;
33427 version = xmUseVersion;
33428
33429 ;
33430 return 0;
33431 }
33432 _ACEOF
33433 rm -f conftest.$ac_objext
33434 if { (ac_try="$ac_compile"
33435 case "(($ac_try" in
33436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33437 *) ac_try_echo=$ac_try;;
33438 esac
33439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33440 (eval "$ac_compile") 2>conftest.er1
33441 ac_status=$?
33442 grep -v '^ *+' conftest.er1 >conftest.err
33443 rm -f conftest.er1
33444 cat conftest.err >&5
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); } && {
33447 test -z "$ac_c_werror_flag" ||
33448 test ! -s conftest.err
33449 } && test -s conftest.$ac_objext; then
33450
33451 { echo "$as_me:$LINENO: result: found in default search path" >&5
33452 echo "${ECHO_T}found in default search path" >&6; }
33453 COMPILED_X_PROGRAM=1
33454
33455 else
33456 echo "$as_me: failed program was:" >&5
33457 sed 's/^/| /' conftest.$ac_ext >&5
33458
33459
33460 { echo "$as_me:$LINENO: result: no" >&5
33461 echo "${ECHO_T}no" >&6; }
33462 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33463 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33464 { (exit 1); exit 1; }; }
33465
33466
33467 fi
33468
33469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33470
33471 CFLAGS=$save_CFLAGS
33472 fi
33473
33474
33475 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33476 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33477
33478 ac_find_libraries=
33479 for ac_dir in $SEARCH_LIB
33480 do
33481 for ac_extension in a so sl dylib dll.a; do
33482 if test -f "$ac_dir/libXm.$ac_extension"; then
33483 ac_find_libraries=$ac_dir
33484 break 2
33485 fi
33486 done
33487 done
33488
33489
33490 if test "x$ac_find_libraries" != "x" ; then
33491 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33492 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33493
33494
33495 if test "$ac_find_libraries" = "default location"; then
33496 ac_path_to_link=""
33497 else
33498 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33499 result=$?
33500 if test $result = 0; then
33501 ac_path_to_link=""
33502 else
33503 ac_path_to_link=" -L$ac_find_libraries"
33504 fi
33505 fi
33506
33507 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33508 else
33509 save_CFLAGS=$CFLAGS
33510 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33511 save_LIBS="$LIBS"
33512 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33513
33514 cat >conftest.$ac_ext <<_ACEOF
33515 /* confdefs.h. */
33516 _ACEOF
33517 cat confdefs.h >>conftest.$ac_ext
33518 cat >>conftest.$ac_ext <<_ACEOF
33519 /* end confdefs.h. */
33520
33521 #include <Xm/Xm.h>
33522
33523 int
33524 main ()
33525 {
33526
33527 int version;
33528 version = xmUseVersion;
33529
33530 ;
33531 return 0;
33532 }
33533 _ACEOF
33534 rm -f conftest.$ac_objext conftest$ac_exeext
33535 if { (ac_try="$ac_link"
33536 case "(($ac_try" in
33537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33538 *) ac_try_echo=$ac_try;;
33539 esac
33540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33541 (eval "$ac_link") 2>conftest.er1
33542 ac_status=$?
33543 grep -v '^ *+' conftest.er1 >conftest.err
33544 rm -f conftest.er1
33545 cat conftest.err >&5
33546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33547 (exit $ac_status); } && {
33548 test -z "$ac_c_werror_flag" ||
33549 test ! -s conftest.err
33550 } && test -s conftest$ac_exeext &&
33551 $as_test_x conftest$ac_exeext; then
33552
33553 { echo "$as_me:$LINENO: result: found in default search path" >&5
33554 echo "${ECHO_T}found in default search path" >&6; }
33555 COMPILED_X_PROGRAM=1
33556
33557 else
33558 echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.$ac_ext >&5
33560
33561
33562 { echo "$as_me:$LINENO: result: no" >&5
33563 echo "${ECHO_T}no" >&6; }
33564 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33565 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33566 { (exit 1); exit 1; }; }
33567
33568
33569 fi
33570
33571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33572 conftest$ac_exeext conftest.$ac_ext
33573
33574 CFLAGS=$save_CFLAGS
33575 LIBS="$save_LIBS"
33576 fi
33577
33578 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33579 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33580 libp_link=""
33581 libsm_ice_link=""
33582 libs_found=0
33583 for libp in "" " -lXp"; do
33584 if test "$libs_found" = 0; then
33585 for libsm_ice in "" " -lSM -lICE"; do
33586 if test "$libs_found" = 0; then
33587 save_LIBS="$LIBS"
33588 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33589 save_CFLAGS=$CFLAGS
33590 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33591
33592 cat >conftest.$ac_ext <<_ACEOF
33593 /* confdefs.h. */
33594 _ACEOF
33595 cat confdefs.h >>conftest.$ac_ext
33596 cat >>conftest.$ac_ext <<_ACEOF
33597 /* end confdefs.h. */
33598
33599 #include <Xm/Xm.h>
33600 #include <Xm/List.h>
33601
33602 int
33603 main ()
33604 {
33605
33606 XmString string = NULL;
33607 Widget w = NULL;
33608 int position = 0;
33609 XmListAddItem(w, string, position);
33610
33611 ;
33612 return 0;
33613 }
33614 _ACEOF
33615 rm -f conftest.$ac_objext conftest$ac_exeext
33616 if { (ac_try="$ac_link"
33617 case "(($ac_try" in
33618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33619 *) ac_try_echo=$ac_try;;
33620 esac
33621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33622 (eval "$ac_link") 2>conftest.er1
33623 ac_status=$?
33624 grep -v '^ *+' conftest.er1 >conftest.err
33625 rm -f conftest.er1
33626 cat conftest.err >&5
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); } && {
33629 test -z "$ac_c_werror_flag" ||
33630 test ! -s conftest.err
33631 } && test -s conftest$ac_exeext &&
33632 $as_test_x conftest$ac_exeext; then
33633
33634 libp_link="$libp"
33635 libsm_ice_link="$libsm_ice"
33636 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33637 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33638 libs_found=1
33639
33640 else
33641 echo "$as_me: failed program was:" >&5
33642 sed 's/^/| /' conftest.$ac_ext >&5
33643
33644
33645
33646 fi
33647
33648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33649 conftest$ac_exeext conftest.$ac_ext
33650
33651 LIBS="$save_LIBS"
33652 CFLAGS=$save_CFLAGS
33653 fi
33654 done
33655 fi
33656 done
33657
33658 if test "$libs_found" = 0; then
33659 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33660 echo "${ECHO_T}can't find the right libraries" >&6; }
33661 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33662 echo "$as_me: error: can't link a simple motif program" >&2;}
33663 { (exit 1); exit 1; }; }
33664 fi
33665
33666 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33667 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33668 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33669 echo $ECHO_N "(cached) $ECHO_C" >&6
33670 else
33671 ac_check_lib_save_LIBS=$LIBS
33672 LIBS="-lSgm $LIBS"
33673 cat >conftest.$ac_ext <<_ACEOF
33674 /* confdefs.h. */
33675 _ACEOF
33676 cat confdefs.h >>conftest.$ac_ext
33677 cat >>conftest.$ac_ext <<_ACEOF
33678 /* end confdefs.h. */
33679
33680 /* Override any GCC internal prototype to avoid an error.
33681 Use char because int might match the return type of a GCC
33682 builtin and then its argument prototype would still apply. */
33683 #ifdef __cplusplus
33684 extern "C"
33685 #endif
33686 char SgCreateList ();
33687 int
33688 main ()
33689 {
33690 return SgCreateList ();
33691 ;
33692 return 0;
33693 }
33694 _ACEOF
33695 rm -f conftest.$ac_objext conftest$ac_exeext
33696 if { (ac_try="$ac_link"
33697 case "(($ac_try" in
33698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33699 *) ac_try_echo=$ac_try;;
33700 esac
33701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33702 (eval "$ac_link") 2>conftest.er1
33703 ac_status=$?
33704 grep -v '^ *+' conftest.er1 >conftest.err
33705 rm -f conftest.er1
33706 cat conftest.err >&5
33707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33708 (exit $ac_status); } && {
33709 test -z "$ac_c_werror_flag" ||
33710 test ! -s conftest.err
33711 } && test -s conftest$ac_exeext &&
33712 $as_test_x conftest$ac_exeext; then
33713 ac_cv_lib_Sgm_SgCreateList=yes
33714 else
33715 echo "$as_me: failed program was:" >&5
33716 sed 's/^/| /' conftest.$ac_ext >&5
33717
33718 ac_cv_lib_Sgm_SgCreateList=no
33719 fi
33720
33721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33722 conftest$ac_exeext conftest.$ac_ext
33723 LIBS=$ac_check_lib_save_LIBS
33724 fi
33725 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33726 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33727 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33728 libsgm_link=" -lSgm"
33729 fi
33730
33731
33732 save_CFLAGS=$CFLAGS
33733 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33734
33735 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33736 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33737 if test "${wx_cv_lib_motif2+set}" = set; then
33738 echo $ECHO_N "(cached) $ECHO_C" >&6
33739 else
33740 cat >conftest.$ac_ext <<_ACEOF
33741 /* confdefs.h. */
33742 _ACEOF
33743 cat confdefs.h >>conftest.$ac_ext
33744 cat >>conftest.$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33746
33747 #include <Xm/Xm.h>
33748
33749 int
33750 main ()
33751 {
33752
33753 #if XmVersion < 2000
33754 Not Motif 2
33755 #endif
33756
33757 ;
33758 return 0;
33759 }
33760 _ACEOF
33761 rm -f conftest.$ac_objext
33762 if { (ac_try="$ac_compile"
33763 case "(($ac_try" in
33764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33765 *) ac_try_echo=$ac_try;;
33766 esac
33767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33768 (eval "$ac_compile") 2>conftest.er1
33769 ac_status=$?
33770 grep -v '^ *+' conftest.er1 >conftest.err
33771 rm -f conftest.er1
33772 cat conftest.err >&5
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); } && {
33775 test -z "$ac_c_werror_flag" ||
33776 test ! -s conftest.err
33777 } && test -s conftest.$ac_objext; then
33778 wx_cv_lib_motif2="yes"
33779 else
33780 echo "$as_me: failed program was:" >&5
33781 sed 's/^/| /' conftest.$ac_ext >&5
33782
33783 wx_cv_lib_motif2="no"
33784 fi
33785
33786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33787 fi
33788 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33789 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33790 if test "$wx_cv_lib_motif2" = "yes"; then
33791 cat >>confdefs.h <<\_ACEOF
33792 #define __WXMOTIF20__ 1
33793 _ACEOF
33794
33795 else
33796 cat >>confdefs.h <<\_ACEOF
33797 #define __WXMOTIF20__ 0
33798 _ACEOF
33799
33800 fi
33801
33802 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33803 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33804 if test "${wx_cv_lib_lesstif+set}" = set; then
33805 echo $ECHO_N "(cached) $ECHO_C" >&6
33806 else
33807 cat >conftest.$ac_ext <<_ACEOF
33808 /* confdefs.h. */
33809 _ACEOF
33810 cat confdefs.h >>conftest.$ac_ext
33811 cat >>conftest.$ac_ext <<_ACEOF
33812 /* end confdefs.h. */
33813
33814 #include <Xm/Xm.h>
33815
33816 int
33817 main ()
33818 {
33819
33820 #if !defined(LesstifVersion) || LesstifVersion <= 0
33821 Not Lesstif
33822 #endif
33823
33824 ;
33825 return 0;
33826 }
33827 _ACEOF
33828 rm -f conftest.$ac_objext
33829 if { (ac_try="$ac_compile"
33830 case "(($ac_try" in
33831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33832 *) ac_try_echo=$ac_try;;
33833 esac
33834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33835 (eval "$ac_compile") 2>conftest.er1
33836 ac_status=$?
33837 grep -v '^ *+' conftest.er1 >conftest.err
33838 rm -f conftest.er1
33839 cat conftest.err >&5
33840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33841 (exit $ac_status); } && {
33842 test -z "$ac_c_werror_flag" ||
33843 test ! -s conftest.err
33844 } && test -s conftest.$ac_objext; then
33845 wx_cv_lib_lesstif="yes"
33846 else
33847 echo "$as_me: failed program was:" >&5
33848 sed 's/^/| /' conftest.$ac_ext >&5
33849
33850 wx_cv_lib_lesstif="no"
33851 fi
33852
33853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33854
33855 fi
33856 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33857 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33858 if test "$wx_cv_lib_lesstif" = "yes"; then
33859 cat >>confdefs.h <<\_ACEOF
33860 #define __WXLESSTIF__ 1
33861 _ACEOF
33862
33863 else
33864 cat >>confdefs.h <<\_ACEOF
33865 #define __WXLESSTIF__ 0
33866 _ACEOF
33867
33868 fi
33869
33870 CFLAGS=$save_CFLAGS
33871
33872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33873 TOOLKIT=MOTIF
33874 GUIDIST=MOTIF_DIST
33875 fi
33876
33877 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33878 if test "$wxUSE_LIBXPM" = "sys"; then
33879 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33880 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33881
33882 ac_find_libraries=
33883 for ac_dir in $SEARCH_LIB
33884 do
33885 for ac_extension in a so sl dylib dll.a; do
33886 if test -f "$ac_dir/libXpm.$ac_extension"; then
33887 ac_find_libraries=$ac_dir
33888 break 2
33889 fi
33890 done
33891 done
33892
33893 if test "$ac_find_libraries" != "" ; then
33894
33895 if test "$ac_find_libraries" = "default location"; then
33896 ac_path_to_link=""
33897 else
33898 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33899 result=$?
33900 if test $result = 0; then
33901 ac_path_to_link=""
33902 else
33903 ac_path_to_link=" -L$ac_find_libraries"
33904 fi
33905 fi
33906
33907 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33908 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33909 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33910
33911 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33912 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33913 if test "${wx_cv_x11_xpm_h+set}" = set; then
33914 echo $ECHO_N "(cached) $ECHO_C" >&6
33915 else
33916
33917 save_CFLAGS=$CFLAGS
33918 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33919
33920 cat >conftest.$ac_ext <<_ACEOF
33921 /* confdefs.h. */
33922 _ACEOF
33923 cat confdefs.h >>conftest.$ac_ext
33924 cat >>conftest.$ac_ext <<_ACEOF
33925 /* end confdefs.h. */
33926
33927 #include <X11/xpm.h>
33928
33929 int
33930 main ()
33931 {
33932
33933 int version;
33934 version = XpmLibraryVersion();
33935
33936 ;
33937 return 0;
33938 }
33939 _ACEOF
33940 rm -f conftest.$ac_objext
33941 if { (ac_try="$ac_compile"
33942 case "(($ac_try" in
33943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33944 *) ac_try_echo=$ac_try;;
33945 esac
33946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33947 (eval "$ac_compile") 2>conftest.er1
33948 ac_status=$?
33949 grep -v '^ *+' conftest.er1 >conftest.err
33950 rm -f conftest.er1
33951 cat conftest.err >&5
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); } && {
33954 test -z "$ac_c_werror_flag" ||
33955 test ! -s conftest.err
33956 } && test -s conftest.$ac_objext; then
33957 wx_cv_x11_xpm_h=yes
33958 else
33959 echo "$as_me: failed program was:" >&5
33960 sed 's/^/| /' conftest.$ac_ext >&5
33961
33962 wx_cv_x11_xpm_h=no
33963
33964 fi
33965
33966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33967
33968 CFLAGS=$save_CFLAGS
33969
33970
33971 fi
33972 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33973 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33974
33975 if test $wx_cv_x11_xpm_h = "yes"; then
33976 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33977 cat >>confdefs.h <<\_ACEOF
33978 #define wxHAVE_LIB_XPM 1
33979 _ACEOF
33980
33981 else
33982 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33983 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33984 fi
33985 fi
33986
33987 fi
33988
33989 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33990 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33991 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33992 echo $ECHO_N "(cached) $ECHO_C" >&6
33993 else
33994 ac_check_lib_save_LIBS=$LIBS
33995 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33996 cat >conftest.$ac_ext <<_ACEOF
33997 /* confdefs.h. */
33998 _ACEOF
33999 cat confdefs.h >>conftest.$ac_ext
34000 cat >>conftest.$ac_ext <<_ACEOF
34001 /* end confdefs.h. */
34002
34003 /* Override any GCC internal prototype to avoid an error.
34004 Use char because int might match the return type of a GCC
34005 builtin and then its argument prototype would still apply. */
34006 #ifdef __cplusplus
34007 extern "C"
34008 #endif
34009 char XShapeQueryExtension ();
34010 int
34011 main ()
34012 {
34013 return XShapeQueryExtension ();
34014 ;
34015 return 0;
34016 }
34017 _ACEOF
34018 rm -f conftest.$ac_objext conftest$ac_exeext
34019 if { (ac_try="$ac_link"
34020 case "(($ac_try" in
34021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34022 *) ac_try_echo=$ac_try;;
34023 esac
34024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34025 (eval "$ac_link") 2>conftest.er1
34026 ac_status=$?
34027 grep -v '^ *+' conftest.er1 >conftest.err
34028 rm -f conftest.er1
34029 cat conftest.err >&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); } && {
34032 test -z "$ac_c_werror_flag" ||
34033 test ! -s conftest.err
34034 } && test -s conftest$ac_exeext &&
34035 $as_test_x conftest$ac_exeext; then
34036 ac_cv_lib_Xext_XShapeQueryExtension=yes
34037 else
34038 echo "$as_me: failed program was:" >&5
34039 sed 's/^/| /' conftest.$ac_ext >&5
34040
34041 ac_cv_lib_Xext_XShapeQueryExtension=no
34042 fi
34043
34044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34045 conftest$ac_exeext conftest.$ac_ext
34046 LIBS=$ac_check_lib_save_LIBS
34047 fi
34048 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34049 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34050 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34051
34052 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34053 wxHAVE_XEXT_LIB=1
34054
34055 fi
34056
34057
34058 if test "$wxHAVE_XEXT_LIB" = 1; then
34059 save_CFLAGS="$CFLAGS"
34060 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34061
34062 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34063 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34064 cat >conftest.$ac_ext <<_ACEOF
34065 /* confdefs.h. */
34066 _ACEOF
34067 cat confdefs.h >>conftest.$ac_ext
34068 cat >>conftest.$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070
34071 #include <X11/Xlib.h>
34072 #include <X11/extensions/shape.h>
34073
34074 int
34075 main ()
34076 {
34077
34078 int dummy1, dummy2;
34079 XShapeQueryExtension((Display*)NULL,
34080 (int*)NULL, (int*)NULL);
34081
34082 ;
34083 return 0;
34084 }
34085 _ACEOF
34086 rm -f conftest.$ac_objext
34087 if { (ac_try="$ac_compile"
34088 case "(($ac_try" in
34089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34090 *) ac_try_echo=$ac_try;;
34091 esac
34092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34093 (eval "$ac_compile") 2>conftest.er1
34094 ac_status=$?
34095 grep -v '^ *+' conftest.er1 >conftest.err
34096 rm -f conftest.er1
34097 cat conftest.err >&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); } && {
34100 test -z "$ac_c_werror_flag" ||
34101 test ! -s conftest.err
34102 } && test -s conftest.$ac_objext; then
34103
34104 cat >>confdefs.h <<\_ACEOF
34105 #define HAVE_XSHAPE 1
34106 _ACEOF
34107
34108 { echo "$as_me:$LINENO: result: found" >&5
34109 echo "${ECHO_T}found" >&6; }
34110
34111 else
34112 echo "$as_me: failed program was:" >&5
34113 sed 's/^/| /' conftest.$ac_ext >&5
34114
34115
34116 { echo "$as_me:$LINENO: result: not found" >&5
34117 echo "${ECHO_T}not found" >&6; }
34118
34119 fi
34120
34121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34122 CFLAGS="$save_CFLAGS"
34123
34124 fi
34125 fi
34126
34127 if test "$wxUSE_OSX_CARBON" = 1; then
34128 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34129 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34130 if test "$GCC" = yes; then
34131 { echo "$as_me:$LINENO: result: gcc" >&5
34132 echo "${ECHO_T}gcc" >&6; }
34133 CPPFLAGS_PASCAL="-fpascal-strings"
34134 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34135 { echo "$as_me:$LINENO: result: xlc" >&5
34136 echo "${ECHO_T}xlc" >&6; }
34137 CPPFLAGS_PASCAL="-qmacpstr"
34138 else
34139 { echo "$as_me:$LINENO: result: none" >&5
34140 echo "${ECHO_T}none" >&6; }
34141 fi
34142
34143 if test "x$wxUSE_UNIX" = "xyes"; then
34144 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34145 else
34146 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34147 fi
34148
34149 TOOLKIT=OSX_CARBON
34150 GUIDIST=OSX_CARBON_DIST
34151 WXBASEPORT="_carbon"
34152
34153 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34154 fi
34155
34156 if test "$wxUSE_OSX_COCOA" = 1; then
34157 TOOLKIT=OSX_COCOA
34158 GUIDIST=OSX_COCOA_DIST
34159
34160 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34161 fi
34162
34163 if test "$wxUSE_OSX_IPHONE" = 1; then
34164 TOOLKIT=OSX_IPHONE
34165 fi
34166
34167 if test "$wxUSE_OLD_COCOA" = 1; then
34168 TOOLKIT=COCOA
34169 GUIDIST=COCOA_DIST
34170 fi
34171
34172 if test "$wxUSE_PM" = 1; then
34173 TOOLKIT=PM
34174 GUIDIST=PM_DIST
34175 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34176 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34177 if test "${wx_cv_spbcdata+set}" = set; then
34178 echo $ECHO_N "(cached) $ECHO_C" >&6
34179 else
34180
34181 cat >conftest.$ac_ext <<_ACEOF
34182 /* confdefs.h. */
34183 _ACEOF
34184 cat confdefs.h >>conftest.$ac_ext
34185 cat >>conftest.$ac_ext <<_ACEOF
34186 /* end confdefs.h. */
34187
34188 #define INCL_PM
34189 #include <os2.h>
34190
34191 int
34192 main ()
34193 {
34194
34195 SPBCDATA test;
34196
34197 ;
34198 return 0;
34199 }
34200 _ACEOF
34201 rm -f conftest.$ac_objext
34202 if { (ac_try="$ac_compile"
34203 case "(($ac_try" in
34204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34205 *) ac_try_echo=$ac_try;;
34206 esac
34207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34208 (eval "$ac_compile") 2>conftest.er1
34209 ac_status=$?
34210 grep -v '^ *+' conftest.er1 >conftest.err
34211 rm -f conftest.er1
34212 cat conftest.err >&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); } && {
34215 test -z "$ac_c_werror_flag" ||
34216 test ! -s conftest.err
34217 } && test -s conftest.$ac_objext; then
34218 wx_cv_spbcdata=yes
34219 else
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34222
34223 wx_cv_spbcdata=no
34224
34225 fi
34226
34227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34228
34229
34230 fi
34231 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34232 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34233
34234 if test $wx_cv_spbcdata = "yes"; then
34235 cat >>confdefs.h <<\_ACEOF
34236 #define HAVE_SPBCDATA 1
34237 _ACEOF
34238
34239 fi
34240 fi
34241
34242 if test "$TOOLKIT" = "PM" ; then
34243 TOOLKIT_DIR="os2"
34244 else
34245 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34246 fi
34247
34248 if test "$wxUSE_UNIVERSAL" = "yes"; then
34249 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34250 WIDGET_SET=univ
34251 fi
34252
34253 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34254 DISTDIR="wx\$(TOOLKIT)"
34255 else
34256 USE_GUI=0
34257
34258 TOOLKIT_DIR="base"
34259
34260 if test "$USE_WIN32" = 1 ; then
34261 TOOLKIT="MSW"
34262 fi
34263
34264 GUIDIST="BASE_DIST"
34265 DISTDIR="wxBase"
34266 fi
34267
34268
34269
34270 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34271 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34272 wxUSE_UNICODE_UTF8=yes
34273 elif test "$USE_OS2" = 1 ; then
34274 wxUSE_UNICODE_UTF8=yes
34275 else
34276 wxUSE_UNICODE_UTF8=no
34277 fi
34278 fi
34279
34280
34281 if test "$wxUSE_GUI" = "yes"; then
34282 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34283
34284 for ac_header in X11/Xlib.h
34285 do
34286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34287 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34290 echo $ECHO_N "(cached) $ECHO_C" >&6
34291 else
34292 cat >conftest.$ac_ext <<_ACEOF
34293 /* confdefs.h. */
34294 _ACEOF
34295 cat confdefs.h >>conftest.$ac_ext
34296 cat >>conftest.$ac_ext <<_ACEOF
34297 /* end confdefs.h. */
34298
34299
34300 #include <$ac_header>
34301 _ACEOF
34302 rm -f conftest.$ac_objext
34303 if { (ac_try="$ac_compile"
34304 case "(($ac_try" in
34305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34306 *) ac_try_echo=$ac_try;;
34307 esac
34308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34309 (eval "$ac_compile") 2>conftest.er1
34310 ac_status=$?
34311 grep -v '^ *+' conftest.er1 >conftest.err
34312 rm -f conftest.er1
34313 cat conftest.err >&5
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); } && {
34316 test -z "$ac_c_werror_flag" ||
34317 test ! -s conftest.err
34318 } && test -s conftest.$ac_objext; then
34319 eval "$as_ac_Header=yes"
34320 else
34321 echo "$as_me: failed program was:" >&5
34322 sed 's/^/| /' conftest.$ac_ext >&5
34323
34324 eval "$as_ac_Header=no"
34325 fi
34326
34327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34328 fi
34329 ac_res=`eval echo '${'$as_ac_Header'}'`
34330 { echo "$as_me:$LINENO: result: $ac_res" >&5
34331 echo "${ECHO_T}$ac_res" >&6; }
34332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34333 cat >>confdefs.h <<_ACEOF
34334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34335 _ACEOF
34336
34337 fi
34338
34339 done
34340
34341
34342 for ac_header in X11/XKBlib.h
34343 do
34344 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34345 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34347 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34348 echo $ECHO_N "(cached) $ECHO_C" >&6
34349 else
34350 cat >conftest.$ac_ext <<_ACEOF
34351 /* confdefs.h. */
34352 _ACEOF
34353 cat confdefs.h >>conftest.$ac_ext
34354 cat >>conftest.$ac_ext <<_ACEOF
34355 /* end confdefs.h. */
34356
34357 #if HAVE_X11_XLIB_H
34358 #include <X11/Xlib.h>
34359 #endif
34360
34361
34362 #include <$ac_header>
34363 _ACEOF
34364 rm -f conftest.$ac_objext
34365 if { (ac_try="$ac_compile"
34366 case "(($ac_try" in
34367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34368 *) ac_try_echo=$ac_try;;
34369 esac
34370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34371 (eval "$ac_compile") 2>conftest.er1
34372 ac_status=$?
34373 grep -v '^ *+' conftest.er1 >conftest.err
34374 rm -f conftest.er1
34375 cat conftest.err >&5
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); } && {
34378 test -z "$ac_c_werror_flag" ||
34379 test ! -s conftest.err
34380 } && test -s conftest.$ac_objext; then
34381 eval "$as_ac_Header=yes"
34382 else
34383 echo "$as_me: failed program was:" >&5
34384 sed 's/^/| /' conftest.$ac_ext >&5
34385
34386 eval "$as_ac_Header=no"
34387 fi
34388
34389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34390 fi
34391 ac_res=`eval echo '${'$as_ac_Header'}'`
34392 { echo "$as_me:$LINENO: result: $ac_res" >&5
34393 echo "${ECHO_T}$ac_res" >&6; }
34394 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34395 cat >>confdefs.h <<_ACEOF
34396 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34397 _ACEOF
34398
34399 fi
34400
34401 done
34402
34403 fi
34404 fi
34405
34406
34407
34408 USE_XINERAMA=0
34409 if test "$wxUSE_DISPLAY" = "yes"; then
34410 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34411 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34412 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34413
34414 ac_find_libraries=
34415 for ac_dir in $SEARCH_LIB
34416 do
34417 for ac_extension in a so sl dylib dll.a; do
34418 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34419 ac_find_libraries=$ac_dir
34420 break 2
34421 fi
34422 done
34423 done
34424
34425 if test "$ac_find_libraries" != "" ; then
34426
34427 if test "$ac_find_libraries" = "default location"; then
34428 ac_path_to_link=""
34429 else
34430 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34431 result=$?
34432 if test $result = 0; then
34433 ac_path_to_link=""
34434 else
34435 ac_path_to_link=" -L$ac_find_libraries"
34436 fi
34437 fi
34438
34439 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34440 LDFLAGS="$LDFLAGS $ac_path_to_link"
34441 fi
34442 USE_XINERAMA=1
34443 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34444 { echo "$as_me:$LINENO: result: yes" >&5
34445 echo "${ECHO_T}yes" >&6; }
34446 else
34447 { echo "$as_me:$LINENO: result: no" >&5
34448 echo "${ECHO_T}no" >&6; }
34449 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34450 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34451 wxUSE_DISPLAY="no"
34452 fi
34453 elif test "$wxUSE_MSW" = 1; then
34454 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34455 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34456 if test "${ac_cv_header_ddraw_h+set}" = set; then
34457 echo $ECHO_N "(cached) $ECHO_C" >&6
34458 else
34459 cat >conftest.$ac_ext <<_ACEOF
34460 /* confdefs.h. */
34461 _ACEOF
34462 cat confdefs.h >>conftest.$ac_ext
34463 cat >>conftest.$ac_ext <<_ACEOF
34464 /* end confdefs.h. */
34465 #include <windows.h>
34466
34467 #include <ddraw.h>
34468 _ACEOF
34469 rm -f conftest.$ac_objext
34470 if { (ac_try="$ac_compile"
34471 case "(($ac_try" in
34472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34473 *) ac_try_echo=$ac_try;;
34474 esac
34475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34476 (eval "$ac_compile") 2>conftest.er1
34477 ac_status=$?
34478 grep -v '^ *+' conftest.er1 >conftest.err
34479 rm -f conftest.er1
34480 cat conftest.err >&5
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); } && {
34483 test -z "$ac_c_werror_flag" ||
34484 test ! -s conftest.err
34485 } && test -s conftest.$ac_objext; then
34486 ac_cv_header_ddraw_h=yes
34487 else
34488 echo "$as_me: failed program was:" >&5
34489 sed 's/^/| /' conftest.$ac_ext >&5
34490
34491 ac_cv_header_ddraw_h=no
34492 fi
34493
34494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34495 fi
34496 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34497 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34498
34499
34500 fi
34501 fi
34502
34503 if test "$wxUSE_DISPLAY" = "yes"; then
34504 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34505 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34506 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34507
34508 ac_find_libraries=
34509 for ac_dir in $SEARCH_LIB
34510 do
34511 for ac_extension in a so sl dylib dll.a; do
34512 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34513 ac_find_libraries=$ac_dir
34514 break 2
34515 fi
34516 done
34517 done
34518
34519 if test "$ac_find_libraries" != "" ; then
34520 { echo "$as_me:$LINENO: result: yes" >&5
34521 echo "${ECHO_T}yes" >&6; }
34522
34523 for ac_header in X11/extensions/xf86vmode.h
34524 do
34525 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34526 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34528 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34529 echo $ECHO_N "(cached) $ECHO_C" >&6
34530 else
34531 cat >conftest.$ac_ext <<_ACEOF
34532 /* confdefs.h. */
34533 _ACEOF
34534 cat confdefs.h >>conftest.$ac_ext
34535 cat >>conftest.$ac_ext <<_ACEOF
34536 /* end confdefs.h. */
34537
34538 #if HAVE_X11_XLIB_H
34539 #include <X11/Xlib.h>
34540 #endif
34541
34542
34543 #include <$ac_header>
34544 _ACEOF
34545 rm -f conftest.$ac_objext
34546 if { (ac_try="$ac_compile"
34547 case "(($ac_try" in
34548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34549 *) ac_try_echo=$ac_try;;
34550 esac
34551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34552 (eval "$ac_compile") 2>conftest.er1
34553 ac_status=$?
34554 grep -v '^ *+' conftest.er1 >conftest.err
34555 rm -f conftest.er1
34556 cat conftest.err >&5
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); } && {
34559 test -z "$ac_c_werror_flag" ||
34560 test ! -s conftest.err
34561 } && test -s conftest.$ac_objext; then
34562 eval "$as_ac_Header=yes"
34563 else
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.$ac_ext >&5
34566
34567 eval "$as_ac_Header=no"
34568 fi
34569
34570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34571 fi
34572 ac_res=`eval echo '${'$as_ac_Header'}'`
34573 { echo "$as_me:$LINENO: result: $ac_res" >&5
34574 echo "${ECHO_T}$ac_res" >&6; }
34575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34576 cat >>confdefs.h <<_ACEOF
34577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34578 _ACEOF
34579
34580 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34581
34582 fi
34583
34584 done
34585
34586 else
34587 { echo "$as_me:$LINENO: result: no" >&5
34588 echo "${ECHO_T}no" >&6; }
34589 fi
34590 fi
34591 fi
34592
34593 if test "$wxUSE_DETECT_SM" = "yes"; then
34594 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34595 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34596 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34597
34598 ac_find_libraries=
34599 for ac_dir in $SEARCH_LIB
34600 do
34601 for ac_extension in a so sl dylib dll.a; do
34602 if test -f "$ac_dir/libSM.$ac_extension"; then
34603 ac_find_libraries=$ac_dir
34604 break 2
34605 fi
34606 done
34607 done
34608
34609 if test "$ac_find_libraries" != "" ; then
34610
34611 if test "$ac_find_libraries" = "default location"; then
34612 ac_path_to_link=""
34613 else
34614 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34615 result=$?
34616 if test $result = 0; then
34617 ac_path_to_link=""
34618 else
34619 ac_path_to_link=" -L$ac_find_libraries"
34620 fi
34621 fi
34622
34623 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34624 LDFLAGS="$LDFLAGS $ac_path_to_link"
34625 fi
34626 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34627 { echo "$as_me:$LINENO: result: yes" >&5
34628 echo "${ECHO_T}yes" >&6; }
34629 else
34630 { echo "$as_me:$LINENO: result: no" >&5
34631 echo "${ECHO_T}no" >&6; }
34632 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34633 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34634 wxUSE_DETECT_SM="no"
34635 fi
34636 else
34637 wxUSE_DETECT_SM="no"
34638 fi
34639 fi
34640
34641
34642
34643 USE_OPENGL=0
34644 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34645
34646
34647 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34648 OPENGL_LIBS="-framework OpenGL -framework AGL"
34649 elif test "$wxUSE_MSW" = 1; then
34650 OPENGL_LIBS="-lopengl32 -lglu32"
34651 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34652
34653 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34654 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34655
34656 ac_find_includes=
34657 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34658 do
34659 if test -f "$ac_dir/GL/gl.h"; then
34660 ac_find_includes=$ac_dir
34661 break
34662 fi
34663 done
34664
34665 if test "$ac_find_includes" != "" ; then
34666 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34667 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34668
34669 if test "x$ac_find_includes" = "x/usr/include"; then
34670 ac_path_to_include=""
34671 else
34672 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34673 result=$?
34674 if test $result = 0; then
34675 ac_path_to_include=""
34676 else
34677 ac_path_to_include=" -I$ac_find_includes"
34678 fi
34679 fi
34680
34681 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34682 else
34683 { echo "$as_me:$LINENO: result: not found" >&5
34684 echo "${ECHO_T}not found" >&6; }
34685 fi
34686
34687 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34688 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34689 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34691 else
34692 cat >conftest.$ac_ext <<_ACEOF
34693 /* confdefs.h. */
34694 _ACEOF
34695 cat confdefs.h >>conftest.$ac_ext
34696 cat >>conftest.$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34698
34699
34700 #include <GL/gl.h>
34701 _ACEOF
34702 rm -f conftest.$ac_objext
34703 if { (ac_try="$ac_compile"
34704 case "(($ac_try" in
34705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34706 *) ac_try_echo=$ac_try;;
34707 esac
34708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34709 (eval "$ac_compile") 2>conftest.er1
34710 ac_status=$?
34711 grep -v '^ *+' conftest.er1 >conftest.err
34712 rm -f conftest.er1
34713 cat conftest.err >&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); } && {
34716 test -z "$ac_c_werror_flag" ||
34717 test ! -s conftest.err
34718 } && test -s conftest.$ac_objext; then
34719 ac_cv_header_GL_gl_h=yes
34720 else
34721 echo "$as_me: failed program was:" >&5
34722 sed 's/^/| /' conftest.$ac_ext >&5
34723
34724 ac_cv_header_GL_gl_h=no
34725 fi
34726
34727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34728 fi
34729 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34730 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34731 if test $ac_cv_header_GL_gl_h = yes; then
34732
34733 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34734 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34735 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34736 echo $ECHO_N "(cached) $ECHO_C" >&6
34737 else
34738 cat >conftest.$ac_ext <<_ACEOF
34739 /* confdefs.h. */
34740 _ACEOF
34741 cat confdefs.h >>conftest.$ac_ext
34742 cat >>conftest.$ac_ext <<_ACEOF
34743 /* end confdefs.h. */
34744
34745
34746 #include <GL/glu.h>
34747 _ACEOF
34748 rm -f conftest.$ac_objext
34749 if { (ac_try="$ac_compile"
34750 case "(($ac_try" in
34751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34752 *) ac_try_echo=$ac_try;;
34753 esac
34754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34755 (eval "$ac_compile") 2>conftest.er1
34756 ac_status=$?
34757 grep -v '^ *+' conftest.er1 >conftest.err
34758 rm -f conftest.er1
34759 cat conftest.err >&5
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); } && {
34762 test -z "$ac_c_werror_flag" ||
34763 test ! -s conftest.err
34764 } && test -s conftest.$ac_objext; then
34765 ac_cv_header_GL_glu_h=yes
34766 else
34767 echo "$as_me: failed program was:" >&5
34768 sed 's/^/| /' conftest.$ac_ext >&5
34769
34770 ac_cv_header_GL_glu_h=no
34771 fi
34772
34773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34774 fi
34775 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34776 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34777 if test $ac_cv_header_GL_glu_h = yes; then
34778
34779 found_gl=0
34780
34781 { echo "$as_me:$LINENO: checking for -lGL" >&5
34782 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34783
34784 ac_find_libraries=
34785 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34786 do
34787 for ac_extension in a so sl dylib dll.a; do
34788 if test -f "$ac_dir/libGL.$ac_extension"; then
34789 ac_find_libraries=$ac_dir
34790 break 2
34791 fi
34792 done
34793 done
34794
34795 if test "$ac_find_libraries" != "" ; then
34796 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34797 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34798
34799
34800 if test "$ac_find_libraries" = "default location"; then
34801 ac_path_to_link=""
34802 else
34803 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34804 result=$?
34805 if test $result = 0; then
34806 ac_path_to_link=""
34807 else
34808 ac_path_to_link=" -L$ac_find_libraries"
34809 fi
34810 fi
34811
34812 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34813 LDFLAGS_GL="$ac_path_to_link"
34814 fi
34815
34816 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34817 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34818
34819 ac_find_libraries=
34820 for ac_dir in $SEARCH_LIB
34821 do
34822 for ac_extension in a so sl dylib dll.a; do
34823 if test -f "$ac_dir/libGLU.$ac_extension"; then
34824 ac_find_libraries=$ac_dir
34825 break 2
34826 fi
34827 done
34828 done
34829
34830 if test "$ac_find_libraries" != "" ; then
34831
34832 if test "$ac_find_libraries" = "default location"; then
34833 ac_path_to_link=""
34834 else
34835 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34836 result=$?
34837 if test $result = 0; then
34838 ac_path_to_link=""
34839 else
34840 ac_path_to_link=" -L$ac_find_libraries"
34841 fi
34842 fi
34843
34844 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34845 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34846 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34847 fi
34848
34849 found_gl=1
34850 OPENGL_LIBS="-lGL -lGLU"
34851 { echo "$as_me:$LINENO: result: yes" >&5
34852 echo "${ECHO_T}yes" >&6; }
34853 else
34854 { echo "$as_me:$LINENO: result: no" >&5
34855 echo "${ECHO_T}no" >&6; }
34856 fi
34857 else
34858 { echo "$as_me:$LINENO: result: no" >&5
34859 echo "${ECHO_T}no" >&6; }
34860 fi
34861
34862 if test "$found_gl" != 1; then
34863 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34864 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34865
34866 ac_find_libraries=
34867 for ac_dir in $SEARCH_LIB
34868 do
34869 for ac_extension in a so sl dylib dll.a; do
34870 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34871 ac_find_libraries=$ac_dir
34872 break 2
34873 fi
34874 done
34875 done
34876
34877 if test "$ac_find_libraries" != "" ; then
34878
34879 if test "$ac_find_libraries" = "default location"; then
34880 ac_path_to_link=""
34881 else
34882 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34883 result=$?
34884 if test $result = 0; then
34885 ac_path_to_link=""
34886 else
34887 ac_path_to_link=" -L$ac_find_libraries"
34888 fi
34889 fi
34890
34891 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34892 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34893 { echo "$as_me:$LINENO: result: yes" >&5
34894 echo "${ECHO_T}yes" >&6; }
34895 else
34896 { echo "$as_me:$LINENO: result: no" >&5
34897 echo "${ECHO_T}no" >&6; }
34898 fi
34899 fi
34900
34901 fi
34902
34903
34904
34905 fi
34906
34907
34908
34909 if test "x$OPENGL_LIBS" = "x"; then
34910 if test "$wxUSE_OPENGL" = "yes"; then
34911 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34912 echo "$as_me: error: OpenGL libraries not available" >&2;}
34913 { (exit 1); exit 1; }; }
34914 else
34915 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34916 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34917 wxUSE_OPENGL=no
34918 USE_OPENGL=0
34919 fi
34920 fi
34921 else
34922 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34923 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34924 wxUSE_OPENGL="no"
34925 fi
34926
34927 if test "$wxUSE_OPENGL" = "auto"; then
34928 wxUSE_OPENGL=yes
34929 fi
34930
34931 if test "$wxUSE_OPENGL" = "yes"; then
34932 USE_OPENGL=1
34933 cat >>confdefs.h <<\_ACEOF
34934 #define wxUSE_OPENGL 1
34935 _ACEOF
34936
34937 cat >>confdefs.h <<\_ACEOF
34938 #define wxUSE_GLCANVAS 1
34939 _ACEOF
34940
34941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34942 fi
34943 fi
34944
34945
34946 if test -n "$TOOLKIT" ; then
34947 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34948 fi
34949
34950
34951
34952 if test "$wxUSE_SHARED" = "yes"; then
34953 case "${host}" in
34954 *-pc-msdosdjgpp )
34955 wxUSE_SHARED=no
34956 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34957 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34958 ;;
34959 esac
34960 fi
34961
34962 if test "$wxUSE_SHARED" = "yes"; then
34963
34964
34965 case "${host}" in
34966 *-*-cygwin* | *-*-mingw* )
34967 wx_cv_version_script=no
34968 ;;
34969
34970 *)
34971 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34972 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34973 if test "${wx_cv_version_script+set}" = set; then
34974 echo $ECHO_N "(cached) $ECHO_C" >&6
34975 else
34976
34977 echo "VER_1 { *; };" >conftest.sym
34978 echo "int main() { return 0; }" >conftest.cpp
34979
34980 if { ac_try='
34981 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34982 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34984 (eval $ac_try) 2>&5
34985 ac_status=$?
34986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34987 (exit $ac_status); }; } ; then
34988 if test -s conftest.stderr ; then
34989 wx_cv_version_script=no
34990 else
34991 wx_cv_version_script=yes
34992 fi
34993 else
34994 wx_cv_version_script=no
34995 fi
34996
34997 if test $wx_cv_version_script = yes
34998 then
34999 echo "struct B { virtual ~B() { } }; \
35000 struct D : public B { }; \
35001 void F() { D d; }" > conftest.cpp
35002
35003 if { ac_try='
35004 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35005 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35007 (eval $ac_try) 2>&5
35008 ac_status=$?
35009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010 (exit $ac_status); }; } &&
35011 { ac_try='
35012 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35013 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35015 (eval $ac_try) 2>&5
35016 ac_status=$?
35017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35018 (exit $ac_status); }; }
35019 then
35020 if { ac_try='
35021 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35022 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35024 (eval $ac_try) 2>&5
35025 ac_status=$?
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); }; }
35028 then
35029 wx_cv_version_script=yes
35030 else
35031 wx_cv_version_script=no
35032 fi
35033 fi
35034 fi
35035
35036 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35037 rm -f conftest1.output conftest2.output conftest3.output
35038
35039 fi
35040 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35041 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35042
35043 if test $wx_cv_version_script = yes ; then
35044 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35045 fi
35046 ;;
35047 esac
35048
35049
35050 if test "$wxUSE_VISIBILITY" != "no"; then
35051
35052
35053 if test -n "$GCC"; then
35054 CFLAGS_VISIBILITY="-fvisibility=hidden"
35055 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35056 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35057 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35058 if test "${wx_cv_cc_visibility+set}" = set; then
35059 echo $ECHO_N "(cached) $ECHO_C" >&6
35060 else
35061
35062 wx_save_CXXFLAGS="$CXXFLAGS"
35063 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35064 ac_ext=cpp
35065 ac_cpp='$CXXCPP $CPPFLAGS'
35066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35069
35070 cat >conftest.$ac_ext <<_ACEOF
35071 /* confdefs.h. */
35072 _ACEOF
35073 cat confdefs.h >>conftest.$ac_ext
35074 cat >>conftest.$ac_ext <<_ACEOF
35075 /* end confdefs.h. */
35076
35077 /* we need gcc >= 4.0, older versions with visibility support
35078 didn't have class visibility: */
35079 #if defined(__GNUC__) && __GNUC__ < 4
35080 error this gcc is too old;
35081 #endif
35082
35083 /* visibility only makes sense for ELF shared libs: */
35084 #if !defined(__ELF__) && !defined(__APPLE__)
35085 error this platform has no visibility;
35086 #endif
35087
35088 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35089 #if defined(__clang__)
35090 clang compiler is still broken w.r.t. visibility;
35091 #endif
35092
35093 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35094 extern __attribute__((__visibility__("default"))) int exportedvar;
35095 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35096 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35097 class __attribute__((__visibility__("default"))) Foo {
35098 Foo() {}
35099 };
35100
35101 int
35102 main ()
35103 {
35104
35105 ;
35106 return 0;
35107 }
35108 _ACEOF
35109 rm -f conftest.$ac_objext
35110 if { (ac_try="$ac_compile"
35111 case "(($ac_try" in
35112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35113 *) ac_try_echo=$ac_try;;
35114 esac
35115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35116 (eval "$ac_compile") 2>conftest.er1
35117 ac_status=$?
35118 grep -v '^ *+' conftest.er1 >conftest.err
35119 rm -f conftest.er1
35120 cat conftest.err >&5
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); } && {
35123 test -z "$ac_cxx_werror_flag" ||
35124 test ! -s conftest.err
35125 } && test -s conftest.$ac_objext; then
35126 wx_cv_cc_visibility=yes
35127 else
35128 echo "$as_me: failed program was:" >&5
35129 sed 's/^/| /' conftest.$ac_ext >&5
35130
35131 wx_cv_cc_visibility=no
35132 fi
35133
35134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35135 ac_ext=c
35136 ac_cpp='$CPP $CPPFLAGS'
35137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35140
35141 CXXFLAGS="$wx_save_CXXFLAGS"
35142 fi
35143
35144 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35145 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35146 if test $wx_cv_cc_visibility = yes; then
35147 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35148 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35149 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35150 echo $ECHO_N "(cached) $ECHO_C" >&6
35151 else
35152
35153 wx_save_CXXFLAGS="$CXXFLAGS"
35154 wx_save_LDFLAGS="$LDFLAGS"
35155 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35156 LDFLAGS="$LDFLAGS -shared -fPIC"
35157 ac_ext=cpp
35158 ac_cpp='$CXXCPP $CPPFLAGS'
35159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35162
35163 cat >conftest.$ac_ext <<_ACEOF
35164 /* confdefs.h. */
35165 _ACEOF
35166 cat confdefs.h >>conftest.$ac_ext
35167 cat >>conftest.$ac_ext <<_ACEOF
35168 /* end confdefs.h. */
35169
35170 #include <string>
35171
35172 int
35173 main ()
35174 {
35175
35176 std::string s("hello");
35177 return s.length();
35178
35179 ;
35180 return 0;
35181 }
35182 _ACEOF
35183 rm -f conftest.$ac_objext conftest$ac_exeext
35184 if { (ac_try="$ac_link"
35185 case "(($ac_try" in
35186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35187 *) ac_try_echo=$ac_try;;
35188 esac
35189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35190 (eval "$ac_link") 2>conftest.er1
35191 ac_status=$?
35192 grep -v '^ *+' conftest.er1 >conftest.err
35193 rm -f conftest.er1
35194 cat conftest.err >&5
35195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35196 (exit $ac_status); } && {
35197 test -z "$ac_cxx_werror_flag" ||
35198 test ! -s conftest.err
35199 } && test -s conftest$ac_exeext &&
35200 $as_test_x conftest$ac_exeext; then
35201 wx_cv_cc_broken_libstdcxx_visibility=no
35202 else
35203 echo "$as_me: failed program was:" >&5
35204 sed 's/^/| /' conftest.$ac_ext >&5
35205
35206 wx_cv_cc_broken_libstdcxx_visibility=yes
35207 fi
35208
35209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35210 conftest$ac_exeext conftest.$ac_ext
35211 ac_ext=c
35212 ac_cpp='$CPP $CPPFLAGS'
35213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35216
35217 CXXFLAGS="$wx_save_CXXFLAGS"
35218 LDFLAGS="$wx_save_LDFLAGS"
35219 fi
35220
35221 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35222 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35223
35224 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35225 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35226 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35227 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35228 echo $ECHO_N "(cached) $ECHO_C" >&6
35229 else
35230
35231 ac_ext=cpp
35232 ac_cpp='$CXXCPP $CPPFLAGS'
35233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35236
35237 cat >conftest.$ac_ext <<_ACEOF
35238 /* confdefs.h. */
35239 _ACEOF
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35243
35244 #pragma GCC visibility push(default)
35245 #include <string>
35246 #pragma GCC visibility pop
35247
35248 int
35249 main ()
35250 {
35251
35252 std::string s("hello");
35253 return s.length();
35254
35255 ;
35256 return 0;
35257 }
35258 _ACEOF
35259 rm -f conftest.$ac_objext conftest$ac_exeext
35260 if { (ac_try="$ac_link"
35261 case "(($ac_try" in
35262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35263 *) ac_try_echo=$ac_try;;
35264 esac
35265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35266 (eval "$ac_link") 2>conftest.er1
35267 ac_status=$?
35268 grep -v '^ *+' conftest.er1 >conftest.err
35269 rm -f conftest.er1
35270 cat conftest.err >&5
35271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35272 (exit $ac_status); } && {
35273 test -z "$ac_cxx_werror_flag" ||
35274 test ! -s conftest.err
35275 } && test -s conftest$ac_exeext &&
35276 $as_test_x conftest$ac_exeext; then
35277 wx_cv_cc_visibility_workaround=no
35278 else
35279 echo "$as_me: failed program was:" >&5
35280 sed 's/^/| /' conftest.$ac_ext >&5
35281
35282 wx_cv_cc_visibility_workaround=yes
35283 fi
35284
35285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35286 conftest$ac_exeext conftest.$ac_ext
35287 ac_ext=c
35288 ac_cpp='$CPP $CPPFLAGS'
35289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35292
35293
35294 fi
35295
35296 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35297 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35298
35299 if test $wx_cv_cc_visibility_workaround = no; then
35300 wx_cv_cc_visibility=no
35301 fi
35302 fi
35303 fi
35304
35305 if test $wx_cv_cc_visibility = yes; then
35306 cat >>confdefs.h <<\_ACEOF
35307 #define HAVE_VISIBILITY 1
35308 _ACEOF
35309
35310 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35311 cat >>confdefs.h <<\_ACEOF
35312 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35313 _ACEOF
35314
35315 fi
35316 else
35317 CFLAGS_VISIBILITY=""
35318 CXXFLAGS_VISIBILITY=""
35319 fi
35320
35321
35322 fi
35323
35324 fi
35325
35326 if test "x$SUNCXX" = xyes; then
35327 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35328 WXCONFIG_RPATH="-R\$libdir"
35329 else
35330 case "${host}" in
35331 *-*-linux* | *-*-gnu* )
35332 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35333 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35334 ;;
35335
35336 *-*-solaris2* )
35337
35338 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35339
35340 saveLdflags="$LDFLAGS"
35341 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35342 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35343 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35344 cat >conftest.$ac_ext <<_ACEOF
35345 /* confdefs.h. */
35346 _ACEOF
35347 cat confdefs.h >>conftest.$ac_ext
35348 cat >>conftest.$ac_ext <<_ACEOF
35349 /* end confdefs.h. */
35350
35351 int
35352 main ()
35353 {
35354
35355 ;
35356 return 0;
35357 }
35358 _ACEOF
35359 rm -f conftest.$ac_objext conftest$ac_exeext
35360 if { (ac_try="$ac_link"
35361 case "(($ac_try" in
35362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35363 *) ac_try_echo=$ac_try;;
35364 esac
35365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35366 (eval "$ac_link") 2>conftest.er1
35367 ac_status=$?
35368 grep -v '^ *+' conftest.er1 >conftest.err
35369 rm -f conftest.er1
35370 cat conftest.err >&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } && {
35373 test -z "$ac_c_werror_flag" ||
35374 test ! -s conftest.err
35375 } && test -s conftest$ac_exeext &&
35376 $as_test_x conftest$ac_exeext; then
35377
35378 { echo "$as_me:$LINENO: result: yes" >&5
35379 echo "${ECHO_T}yes" >&6; }
35380 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35381 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35382
35383 else
35384 echo "$as_me: failed program was:" >&5
35385 sed 's/^/| /' conftest.$ac_ext >&5
35386
35387
35388 { echo "$as_me:$LINENO: result: no" >&5
35389 echo "${ECHO_T}no" >&6; }
35390 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35391 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35392 LDFLAGS="$saveLdflags -Wl,-R,/"
35393 cat >conftest.$ac_ext <<_ACEOF
35394 /* confdefs.h. */
35395 _ACEOF
35396 cat confdefs.h >>conftest.$ac_ext
35397 cat >>conftest.$ac_ext <<_ACEOF
35398 /* end confdefs.h. */
35399
35400 int
35401 main ()
35402 {
35403
35404 ;
35405 return 0;
35406 }
35407 _ACEOF
35408 rm -f conftest.$ac_objext conftest$ac_exeext
35409 if { (ac_try="$ac_link"
35410 case "(($ac_try" in
35411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35412 *) ac_try_echo=$ac_try;;
35413 esac
35414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35415 (eval "$ac_link") 2>conftest.er1
35416 ac_status=$?
35417 grep -v '^ *+' conftest.er1 >conftest.err
35418 rm -f conftest.er1
35419 cat conftest.err >&5
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); } && {
35422 test -z "$ac_c_werror_flag" ||
35423 test ! -s conftest.err
35424 } && test -s conftest$ac_exeext &&
35425 $as_test_x conftest$ac_exeext; then
35426
35427 { echo "$as_me:$LINENO: result: yes" >&5
35428 echo "${ECHO_T}yes" >&6; }
35429 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35430 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35431
35432 else
35433 echo "$as_me: failed program was:" >&5
35434 sed 's/^/| /' conftest.$ac_ext >&5
35435
35436
35437 { echo "$as_me:$LINENO: result: no" >&5
35438 echo "${ECHO_T}no" >&6; }
35439
35440 fi
35441
35442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35443 conftest$ac_exeext conftest.$ac_ext
35444
35445 fi
35446
35447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35448 conftest$ac_exeext conftest.$ac_ext
35449 LDFLAGS="$saveLdflags"
35450 ;;
35451
35452 *-*-darwin* )
35453 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35454 if test "$install_name_tool" -a -x "$install_name_tool"; then
35455 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35456 cat <<EOF >change-install-names
35457 #!/bin/sh
35458 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35459 for i in \${libnames} ; do
35460 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35461 for dep in \${libnames} ; do
35462 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35463 done
35464 done
35465 EOF
35466 chmod +x change-install-names
35467 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35468 fi
35469
35470 HEADER_PAD_OPTION="-headerpad_max_install_names"
35471 ;;
35472
35473 *-*-cygwin* | *-*-mingw32* )
35474 ;;
35475
35476 *-*-hpux* )
35477 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35478 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35479 ;;
35480
35481 esac
35482 fi
35483
35484 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35485
35486 if test $wxUSE_RPATH = "no"; then
35487 SAMPLES_RPATH_FLAG=''
35488 DYLIB_PATH_POSTLINK=''
35489 WXCONFIG_RPATH=''
35490 fi
35491
35492 SHARED=1
35493
35494 else
35495
35496 config_linkage_component="-static"
35497 SHARED=0
35498
35499 fi
35500
35501
35502 UNICODE=0
35503 lib_unicode_suffix=
35504 WX_CHARTYPE="ansi"
35505 if test "$wxUSE_UNICODE" = "yes"; then
35506 lib_unicode_suffix=u
35507 WX_CHARTYPE="unicode"
35508 UNICODE=1
35509 fi
35510
35511 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35512 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35513
35514 DEBUG_INFO=0
35515 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35516 DEBUG_INFO=1
35517 fi
35518
35519 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35520
35521 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35522
35523 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35524
35525
35526 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35527 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35528 else
35529 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35530 fi
35531 if test "${TOOLKIT_DIR}" = "os2"; then
35532 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35533 else
35534 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35535 fi
35536
35537
35538
35539 if test "$wxUSE_OLD_COCOA" = 1; then
35540
35541 ac_ext=c
35542 ac_cpp='$CPP $CPPFLAGS'
35543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35546
35547 ac_ext=m
35548
35549 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35550 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35551 cat >conftest.$ac_ext <<_ACEOF
35552 /* confdefs.h. */
35553 _ACEOF
35554 cat confdefs.h >>conftest.$ac_ext
35555 cat >>conftest.$ac_ext <<_ACEOF
35556 /* end confdefs.h. */
35557 #include <AppKit/NSEvent.h>
35558 #include <CoreFoundation/CoreFoundation.h>
35559
35560 int
35561 main ()
35562 {
35563
35564 ;
35565 return 0;
35566 }
35567 _ACEOF
35568 rm -f conftest.$ac_objext
35569 if { (ac_try="$ac_compile"
35570 case "(($ac_try" in
35571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35572 *) ac_try_echo=$ac_try;;
35573 esac
35574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35575 (eval "$ac_compile") 2>conftest.er1
35576 ac_status=$?
35577 grep -v '^ *+' conftest.er1 >conftest.err
35578 rm -f conftest.er1
35579 cat conftest.err >&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } && {
35582 test -z "$ac_c_werror_flag" ||
35583 test ! -s conftest.err
35584 } && test -s conftest.$ac_objext; then
35585 { echo "$as_me:$LINENO: result: no" >&5
35586 echo "${ECHO_T}no" >&6; }
35587 else
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.$ac_ext >&5
35590
35591 { echo "$as_me:$LINENO: result: yes" >&5
35592 echo "${ECHO_T}yes" >&6; }
35593 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35594 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35595 cat >conftest.$ac_ext <<_ACEOF
35596 /* confdefs.h. */
35597 _ACEOF
35598 cat confdefs.h >>conftest.$ac_ext
35599 cat >>conftest.$ac_ext <<_ACEOF
35600 /* end confdefs.h. */
35601 #define __Point__ 1
35602 #include <AppKit/NSEvent.h>
35603 #include <CoreFoundation/CoreFoundation.h>
35604
35605 int
35606 main ()
35607 {
35608
35609 ;
35610 return 0;
35611 }
35612 _ACEOF
35613 rm -f conftest.$ac_objext
35614 if { (ac_try="$ac_compile"
35615 case "(($ac_try" in
35616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35617 *) ac_try_echo=$ac_try;;
35618 esac
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_compile") 2>conftest.er1
35621 ac_status=$?
35622 grep -v '^ *+' conftest.er1 >conftest.err
35623 rm -f conftest.er1
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } && {
35627 test -z "$ac_c_werror_flag" ||
35628 test ! -s conftest.err
35629 } && test -s conftest.$ac_objext; then
35630 { echo "$as_me:$LINENO: result: yes" >&5
35631 echo "${ECHO_T}yes" >&6; }
35632 cat >>confdefs.h <<\_ACEOF
35633 #define __Point__ 1
35634 _ACEOF
35635
35636
35637 else
35638 echo "$as_me: failed program was:" >&5
35639 sed 's/^/| /' conftest.$ac_ext >&5
35640
35641 { { echo "$as_me:$LINENO: error: no
35642 See \`config.log' for more details." >&5
35643 echo "$as_me: error: no
35644 See \`config.log' for more details." >&2;}
35645 { (exit 1); exit 1; }; }
35646
35647 fi
35648
35649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35650
35651 fi
35652
35653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35654 ac_ext=c
35655 ac_cpp='$CPP $CPPFLAGS'
35656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659
35660 fi
35661
35662
35663 { echo "$as_me:$LINENO: checking for mode_t" >&5
35664 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35665 if test "${ac_cv_type_mode_t+set}" = set; then
35666 echo $ECHO_N "(cached) $ECHO_C" >&6
35667 else
35668 cat >conftest.$ac_ext <<_ACEOF
35669 /* confdefs.h. */
35670 _ACEOF
35671 cat confdefs.h >>conftest.$ac_ext
35672 cat >>conftest.$ac_ext <<_ACEOF
35673 /* end confdefs.h. */
35674 $ac_includes_default
35675 typedef mode_t ac__type_new_;
35676 int
35677 main ()
35678 {
35679 if ((ac__type_new_ *) 0)
35680 return 0;
35681 if (sizeof (ac__type_new_))
35682 return 0;
35683 ;
35684 return 0;
35685 }
35686 _ACEOF
35687 rm -f conftest.$ac_objext
35688 if { (ac_try="$ac_compile"
35689 case "(($ac_try" in
35690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35691 *) ac_try_echo=$ac_try;;
35692 esac
35693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35694 (eval "$ac_compile") 2>conftest.er1
35695 ac_status=$?
35696 grep -v '^ *+' conftest.er1 >conftest.err
35697 rm -f conftest.er1
35698 cat conftest.err >&5
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); } && {
35701 test -z "$ac_c_werror_flag" ||
35702 test ! -s conftest.err
35703 } && test -s conftest.$ac_objext; then
35704 ac_cv_type_mode_t=yes
35705 else
35706 echo "$as_me: failed program was:" >&5
35707 sed 's/^/| /' conftest.$ac_ext >&5
35708
35709 ac_cv_type_mode_t=no
35710 fi
35711
35712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35713 fi
35714 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35715 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35716 if test $ac_cv_type_mode_t = yes; then
35717 :
35718 else
35719
35720 cat >>confdefs.h <<_ACEOF
35721 #define mode_t int
35722 _ACEOF
35723
35724 fi
35725
35726 { echo "$as_me:$LINENO: checking for off_t" >&5
35727 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35728 if test "${ac_cv_type_off_t+set}" = set; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 else
35731 cat >conftest.$ac_ext <<_ACEOF
35732 /* confdefs.h. */
35733 _ACEOF
35734 cat confdefs.h >>conftest.$ac_ext
35735 cat >>conftest.$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35737 $ac_includes_default
35738 typedef off_t ac__type_new_;
35739 int
35740 main ()
35741 {
35742 if ((ac__type_new_ *) 0)
35743 return 0;
35744 if (sizeof (ac__type_new_))
35745 return 0;
35746 ;
35747 return 0;
35748 }
35749 _ACEOF
35750 rm -f conftest.$ac_objext
35751 if { (ac_try="$ac_compile"
35752 case "(($ac_try" in
35753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35754 *) ac_try_echo=$ac_try;;
35755 esac
35756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35757 (eval "$ac_compile") 2>conftest.er1
35758 ac_status=$?
35759 grep -v '^ *+' conftest.er1 >conftest.err
35760 rm -f conftest.er1
35761 cat conftest.err >&5
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); } && {
35764 test -z "$ac_c_werror_flag" ||
35765 test ! -s conftest.err
35766 } && test -s conftest.$ac_objext; then
35767 ac_cv_type_off_t=yes
35768 else
35769 echo "$as_me: failed program was:" >&5
35770 sed 's/^/| /' conftest.$ac_ext >&5
35771
35772 ac_cv_type_off_t=no
35773 fi
35774
35775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35776 fi
35777 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35778 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35779 if test $ac_cv_type_off_t = yes; then
35780 :
35781 else
35782
35783 cat >>confdefs.h <<_ACEOF
35784 #define off_t long int
35785 _ACEOF
35786
35787 fi
35788
35789 { echo "$as_me:$LINENO: checking for pid_t" >&5
35790 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35791 if test "${ac_cv_type_pid_t+set}" = set; then
35792 echo $ECHO_N "(cached) $ECHO_C" >&6
35793 else
35794 cat >conftest.$ac_ext <<_ACEOF
35795 /* confdefs.h. */
35796 _ACEOF
35797 cat confdefs.h >>conftest.$ac_ext
35798 cat >>conftest.$ac_ext <<_ACEOF
35799 /* end confdefs.h. */
35800 $ac_includes_default
35801 typedef pid_t ac__type_new_;
35802 int
35803 main ()
35804 {
35805 if ((ac__type_new_ *) 0)
35806 return 0;
35807 if (sizeof (ac__type_new_))
35808 return 0;
35809 ;
35810 return 0;
35811 }
35812 _ACEOF
35813 rm -f conftest.$ac_objext
35814 if { (ac_try="$ac_compile"
35815 case "(($ac_try" in
35816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35817 *) ac_try_echo=$ac_try;;
35818 esac
35819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35820 (eval "$ac_compile") 2>conftest.er1
35821 ac_status=$?
35822 grep -v '^ *+' conftest.er1 >conftest.err
35823 rm -f conftest.er1
35824 cat conftest.err >&5
35825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35826 (exit $ac_status); } && {
35827 test -z "$ac_c_werror_flag" ||
35828 test ! -s conftest.err
35829 } && test -s conftest.$ac_objext; then
35830 ac_cv_type_pid_t=yes
35831 else
35832 echo "$as_me: failed program was:" >&5
35833 sed 's/^/| /' conftest.$ac_ext >&5
35834
35835 ac_cv_type_pid_t=no
35836 fi
35837
35838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35839 fi
35840 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35841 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35842 if test $ac_cv_type_pid_t = yes; then
35843 :
35844 else
35845
35846 cat >>confdefs.h <<_ACEOF
35847 #define pid_t int
35848 _ACEOF
35849
35850 fi
35851
35852 { echo "$as_me:$LINENO: checking for size_t" >&5
35853 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35854 if test "${ac_cv_type_size_t+set}" = set; then
35855 echo $ECHO_N "(cached) $ECHO_C" >&6
35856 else
35857 cat >conftest.$ac_ext <<_ACEOF
35858 /* confdefs.h. */
35859 _ACEOF
35860 cat confdefs.h >>conftest.$ac_ext
35861 cat >>conftest.$ac_ext <<_ACEOF
35862 /* end confdefs.h. */
35863 $ac_includes_default
35864 typedef size_t ac__type_new_;
35865 int
35866 main ()
35867 {
35868 if ((ac__type_new_ *) 0)
35869 return 0;
35870 if (sizeof (ac__type_new_))
35871 return 0;
35872 ;
35873 return 0;
35874 }
35875 _ACEOF
35876 rm -f conftest.$ac_objext
35877 if { (ac_try="$ac_compile"
35878 case "(($ac_try" in
35879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35880 *) ac_try_echo=$ac_try;;
35881 esac
35882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35883 (eval "$ac_compile") 2>conftest.er1
35884 ac_status=$?
35885 grep -v '^ *+' conftest.er1 >conftest.err
35886 rm -f conftest.er1
35887 cat conftest.err >&5
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); } && {
35890 test -z "$ac_c_werror_flag" ||
35891 test ! -s conftest.err
35892 } && test -s conftest.$ac_objext; then
35893 ac_cv_type_size_t=yes
35894 else
35895 echo "$as_me: failed program was:" >&5
35896 sed 's/^/| /' conftest.$ac_ext >&5
35897
35898 ac_cv_type_size_t=no
35899 fi
35900
35901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35902 fi
35903 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35904 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35905 if test $ac_cv_type_size_t = yes; then
35906 :
35907 else
35908
35909 cat >>confdefs.h <<_ACEOF
35910 #define size_t unsigned int
35911 _ACEOF
35912
35913 fi
35914
35915
35916 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35917 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35918 if test "${ac_cv_type_ssize_t+set}" = set; then
35919 echo $ECHO_N "(cached) $ECHO_C" >&6
35920 else
35921 cat >conftest.$ac_ext <<_ACEOF
35922 /* confdefs.h. */
35923 _ACEOF
35924 cat confdefs.h >>conftest.$ac_ext
35925 cat >>conftest.$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35927 $ac_includes_default
35928 typedef ssize_t ac__type_new_;
35929 int
35930 main ()
35931 {
35932 if ((ac__type_new_ *) 0)
35933 return 0;
35934 if (sizeof (ac__type_new_))
35935 return 0;
35936 ;
35937 return 0;
35938 }
35939 _ACEOF
35940 rm -f conftest.$ac_objext
35941 if { (ac_try="$ac_compile"
35942 case "(($ac_try" in
35943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35944 *) ac_try_echo=$ac_try;;
35945 esac
35946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35947 (eval "$ac_compile") 2>conftest.er1
35948 ac_status=$?
35949 grep -v '^ *+' conftest.er1 >conftest.err
35950 rm -f conftest.er1
35951 cat conftest.err >&5
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); } && {
35954 test -z "$ac_c_werror_flag" ||
35955 test ! -s conftest.err
35956 } && test -s conftest.$ac_objext; then
35957 ac_cv_type_ssize_t=yes
35958 else
35959 echo "$as_me: failed program was:" >&5
35960 sed 's/^/| /' conftest.$ac_ext >&5
35961
35962 ac_cv_type_ssize_t=no
35963 fi
35964
35965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35966 fi
35967 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35968 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35969 if test $ac_cv_type_ssize_t = yes; then
35970
35971 cat >>confdefs.h <<_ACEOF
35972 #define HAVE_SSIZE_T 1
35973 _ACEOF
35974
35975
35976 fi
35977
35978
35979 ac_ext=cpp
35980 ac_cpp='$CXXCPP $CPPFLAGS'
35981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35984 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35985 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35986 if test "${wx_cv_size_t_is_uint+set}" = set; then
35987 echo $ECHO_N "(cached) $ECHO_C" >&6
35988 else
35989
35990 cat >conftest.$ac_ext <<_ACEOF
35991 /* confdefs.h. */
35992 _ACEOF
35993 cat confdefs.h >>conftest.$ac_ext
35994 cat >>conftest.$ac_ext <<_ACEOF
35995 /* end confdefs.h. */
35996 #include <stddef.h>
35997 int
35998 main ()
35999 {
36000
36001 return 0; }
36002
36003 struct Foo { void foo(size_t); void foo(unsigned int); };
36004
36005 int bar() {
36006
36007 ;
36008 return 0;
36009 }
36010 _ACEOF
36011 rm -f conftest.$ac_objext
36012 if { (ac_try="$ac_compile"
36013 case "(($ac_try" in
36014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36015 *) ac_try_echo=$ac_try;;
36016 esac
36017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36018 (eval "$ac_compile") 2>conftest.er1
36019 ac_status=$?
36020 grep -v '^ *+' conftest.er1 >conftest.err
36021 rm -f conftest.er1
36022 cat conftest.err >&5
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); } && {
36025 test -z "$ac_cxx_werror_flag" ||
36026 test ! -s conftest.err
36027 } && test -s conftest.$ac_objext; then
36028 wx_cv_size_t_is_uint=no
36029 else
36030 echo "$as_me: failed program was:" >&5
36031 sed 's/^/| /' conftest.$ac_ext >&5
36032
36033 wx_cv_size_t_is_uint=yes
36034
36035 fi
36036
36037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36038
36039
36040 fi
36041 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36042 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36043
36044 if test "$wx_cv_size_t_is_uint" = "yes"; then
36045 cat >>confdefs.h <<\_ACEOF
36046 #define wxSIZE_T_IS_UINT 1
36047 _ACEOF
36048
36049 else
36050 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36051 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36052 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36053 echo $ECHO_N "(cached) $ECHO_C" >&6
36054 else
36055 cat >conftest.$ac_ext <<_ACEOF
36056 /* confdefs.h. */
36057 _ACEOF
36058 cat confdefs.h >>conftest.$ac_ext
36059 cat >>conftest.$ac_ext <<_ACEOF
36060 /* end confdefs.h. */
36061 #include <stddef.h>
36062 int
36063 main ()
36064 {
36065
36066 return 0; }
36067
36068 struct Foo { void foo(size_t); void foo(unsigned long); };
36069
36070 int bar() {
36071
36072 ;
36073 return 0;
36074 }
36075 _ACEOF
36076 rm -f conftest.$ac_objext
36077 if { (ac_try="$ac_compile"
36078 case "(($ac_try" in
36079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36080 *) ac_try_echo=$ac_try;;
36081 esac
36082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36083 (eval "$ac_compile") 2>conftest.er1
36084 ac_status=$?
36085 grep -v '^ *+' conftest.er1 >conftest.err
36086 rm -f conftest.er1
36087 cat conftest.err >&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); } && {
36090 test -z "$ac_cxx_werror_flag" ||
36091 test ! -s conftest.err
36092 } && test -s conftest.$ac_objext; then
36093 wx_cv_size_t_is_ulong=no
36094 else
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.$ac_ext >&5
36097
36098 wx_cv_size_t_is_ulong=yes
36099
36100 fi
36101
36102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36103
36104 fi
36105 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36106 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36107
36108 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36109 cat >>confdefs.h <<\_ACEOF
36110 #define wxSIZE_T_IS_ULONG 1
36111 _ACEOF
36112
36113 fi
36114 fi
36115
36116 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36117 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36118 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36119 echo $ECHO_N "(cached) $ECHO_C" >&6
36120 else
36121 cat >conftest.$ac_ext <<_ACEOF
36122 /* confdefs.h. */
36123 _ACEOF
36124 cat confdefs.h >>conftest.$ac_ext
36125 cat >>conftest.$ac_ext <<_ACEOF
36126 /* end confdefs.h. */
36127 #include <wchar.h>
36128 int
36129 main ()
36130 {
36131
36132 return 0; }
36133
36134 struct Foo { void foo(wchar_t);
36135 void foo(unsigned short);
36136 void foo(unsigned int);
36137 void foo(unsigned long); };
36138
36139 int bar() {
36140
36141 ;
36142 return 0;
36143 }
36144 _ACEOF
36145 rm -f conftest.$ac_objext
36146 if { (ac_try="$ac_compile"
36147 case "(($ac_try" in
36148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36149 *) ac_try_echo=$ac_try;;
36150 esac
36151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36152 (eval "$ac_compile") 2>conftest.er1
36153 ac_status=$?
36154 grep -v '^ *+' conftest.er1 >conftest.err
36155 rm -f conftest.er1
36156 cat conftest.err >&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); } && {
36159 test -z "$ac_cxx_werror_flag" ||
36160 test ! -s conftest.err
36161 } && test -s conftest.$ac_objext; then
36162 wx_cv_wchar_t_is_separate_type=yes
36163 else
36164 echo "$as_me: failed program was:" >&5
36165 sed 's/^/| /' conftest.$ac_ext >&5
36166
36167 wx_cv_wchar_t_is_separate_type=no
36168
36169 fi
36170
36171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36172
36173 fi
36174 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36175 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36176
36177 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36178 cat >>confdefs.h <<\_ACEOF
36179 #define wxWCHAR_T_IS_REAL_TYPE 1
36180 _ACEOF
36181
36182 else
36183 cat >>confdefs.h <<\_ACEOF
36184 #define wxWCHAR_T_IS_REAL_TYPE 0
36185 _ACEOF
36186
36187 fi
36188
36189 ac_ext=c
36190 ac_cpp='$CPP $CPPFLAGS'
36191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36194
36195
36196 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36197 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36198 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36199 echo $ECHO_N "(cached) $ECHO_C" >&6
36200 else
36201
36202 cat >conftest.$ac_ext <<_ACEOF
36203 /* confdefs.h. */
36204 _ACEOF
36205 cat confdefs.h >>conftest.$ac_ext
36206 cat >>conftest.$ac_ext <<_ACEOF
36207 /* end confdefs.h. */
36208 #include <pwd.h>
36209 int
36210 main ()
36211 {
36212
36213 char *p;
36214 struct passwd *pw;
36215 p = pw->pw_gecos;
36216
36217 ;
36218 return 0;
36219 }
36220 _ACEOF
36221 rm -f conftest.$ac_objext
36222 if { (ac_try="$ac_compile"
36223 case "(($ac_try" in
36224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36225 *) ac_try_echo=$ac_try;;
36226 esac
36227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36228 (eval "$ac_compile") 2>conftest.er1
36229 ac_status=$?
36230 grep -v '^ *+' conftest.er1 >conftest.err
36231 rm -f conftest.er1
36232 cat conftest.err >&5
36233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36234 (exit $ac_status); } && {
36235 test -z "$ac_c_werror_flag" ||
36236 test ! -s conftest.err
36237 } && test -s conftest.$ac_objext; then
36238
36239 wx_cv_struct_pw_gecos=yes
36240
36241 else
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36244
36245
36246 wx_cv_struct_pw_gecos=no
36247
36248
36249 fi
36250
36251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36252
36253
36254 fi
36255 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36256 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36257
36258 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36259 cat >>confdefs.h <<\_ACEOF
36260 #define HAVE_PW_GECOS 1
36261 _ACEOF
36262
36263 fi
36264
36265
36266 WCSLEN_FOUND=0
36267 WCHAR_LINK=
36268
36269 for ac_func in wcslen
36270 do
36271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36272 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36274 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36275 echo $ECHO_N "(cached) $ECHO_C" >&6
36276 else
36277 cat >conftest.$ac_ext <<_ACEOF
36278 /* confdefs.h. */
36279 _ACEOF
36280 cat confdefs.h >>conftest.$ac_ext
36281 cat >>conftest.$ac_ext <<_ACEOF
36282 /* end confdefs.h. */
36283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36285 #define $ac_func innocuous_$ac_func
36286
36287 /* System header to define __stub macros and hopefully few prototypes,
36288 which can conflict with char $ac_func (); below.
36289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36290 <limits.h> exists even on freestanding compilers. */
36291
36292 #ifdef __STDC__
36293 # include <limits.h>
36294 #else
36295 # include <assert.h>
36296 #endif
36297
36298 #undef $ac_func
36299
36300 /* Override any GCC internal prototype to avoid an error.
36301 Use char because int might match the return type of a GCC
36302 builtin and then its argument prototype would still apply. */
36303 #ifdef __cplusplus
36304 extern "C"
36305 #endif
36306 char $ac_func ();
36307 /* The GNU C library defines this for functions which it implements
36308 to always fail with ENOSYS. Some functions are actually named
36309 something starting with __ and the normal name is an alias. */
36310 #if defined __stub_$ac_func || defined __stub___$ac_func
36311 choke me
36312 #endif
36313
36314 int
36315 main ()
36316 {
36317 return $ac_func ();
36318 ;
36319 return 0;
36320 }
36321 _ACEOF
36322 rm -f conftest.$ac_objext conftest$ac_exeext
36323 if { (ac_try="$ac_link"
36324 case "(($ac_try" in
36325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36326 *) ac_try_echo=$ac_try;;
36327 esac
36328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36329 (eval "$ac_link") 2>conftest.er1
36330 ac_status=$?
36331 grep -v '^ *+' conftest.er1 >conftest.err
36332 rm -f conftest.er1
36333 cat conftest.err >&5
36334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36335 (exit $ac_status); } && {
36336 test -z "$ac_c_werror_flag" ||
36337 test ! -s conftest.err
36338 } && test -s conftest$ac_exeext &&
36339 $as_test_x conftest$ac_exeext; then
36340 eval "$as_ac_var=yes"
36341 else
36342 echo "$as_me: failed program was:" >&5
36343 sed 's/^/| /' conftest.$ac_ext >&5
36344
36345 eval "$as_ac_var=no"
36346 fi
36347
36348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36349 conftest$ac_exeext conftest.$ac_ext
36350 fi
36351 ac_res=`eval echo '${'$as_ac_var'}'`
36352 { echo "$as_me:$LINENO: result: $ac_res" >&5
36353 echo "${ECHO_T}$ac_res" >&6; }
36354 if test `eval echo '${'$as_ac_var'}'` = yes; then
36355 cat >>confdefs.h <<_ACEOF
36356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36357 _ACEOF
36358 WCSLEN_FOUND=1
36359 fi
36360 done
36361
36362
36363 if test "$WCSLEN_FOUND" = 0; then
36364 if test "$TOOLKIT" = "MSW"; then
36365 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36366 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36367 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36368 echo $ECHO_N "(cached) $ECHO_C" >&6
36369 else
36370 ac_check_lib_save_LIBS=$LIBS
36371 LIBS="-lmsvcrt $LIBS"
36372 cat >conftest.$ac_ext <<_ACEOF
36373 /* confdefs.h. */
36374 _ACEOF
36375 cat confdefs.h >>conftest.$ac_ext
36376 cat >>conftest.$ac_ext <<_ACEOF
36377 /* end confdefs.h. */
36378
36379 /* Override any GCC internal prototype to avoid an error.
36380 Use char because int might match the return type of a GCC
36381 builtin and then its argument prototype would still apply. */
36382 #ifdef __cplusplus
36383 extern "C"
36384 #endif
36385 char wcslen ();
36386 int
36387 main ()
36388 {
36389 return wcslen ();
36390 ;
36391 return 0;
36392 }
36393 _ACEOF
36394 rm -f conftest.$ac_objext conftest$ac_exeext
36395 if { (ac_try="$ac_link"
36396 case "(($ac_try" in
36397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36398 *) ac_try_echo=$ac_try;;
36399 esac
36400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36401 (eval "$ac_link") 2>conftest.er1
36402 ac_status=$?
36403 grep -v '^ *+' conftest.er1 >conftest.err
36404 rm -f conftest.er1
36405 cat conftest.err >&5
36406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36407 (exit $ac_status); } && {
36408 test -z "$ac_c_werror_flag" ||
36409 test ! -s conftest.err
36410 } && test -s conftest$ac_exeext &&
36411 $as_test_x conftest$ac_exeext; then
36412 ac_cv_lib_msvcrt_wcslen=yes
36413 else
36414 echo "$as_me: failed program was:" >&5
36415 sed 's/^/| /' conftest.$ac_ext >&5
36416
36417 ac_cv_lib_msvcrt_wcslen=no
36418 fi
36419
36420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36421 conftest$ac_exeext conftest.$ac_ext
36422 LIBS=$ac_check_lib_save_LIBS
36423 fi
36424 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36425 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36426 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36427 WCHAR_OK=1
36428 fi
36429
36430 else
36431 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36432 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36433 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36434 echo $ECHO_N "(cached) $ECHO_C" >&6
36435 else
36436 ac_check_lib_save_LIBS=$LIBS
36437 LIBS="-lw $LIBS"
36438 cat >conftest.$ac_ext <<_ACEOF
36439 /* confdefs.h. */
36440 _ACEOF
36441 cat confdefs.h >>conftest.$ac_ext
36442 cat >>conftest.$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36444
36445 /* Override any GCC internal prototype to avoid an error.
36446 Use char because int might match the return type of a GCC
36447 builtin and then its argument prototype would still apply. */
36448 #ifdef __cplusplus
36449 extern "C"
36450 #endif
36451 char wcslen ();
36452 int
36453 main ()
36454 {
36455 return wcslen ();
36456 ;
36457 return 0;
36458 }
36459 _ACEOF
36460 rm -f conftest.$ac_objext conftest$ac_exeext
36461 if { (ac_try="$ac_link"
36462 case "(($ac_try" in
36463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36464 *) ac_try_echo=$ac_try;;
36465 esac
36466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36467 (eval "$ac_link") 2>conftest.er1
36468 ac_status=$?
36469 grep -v '^ *+' conftest.er1 >conftest.err
36470 rm -f conftest.er1
36471 cat conftest.err >&5
36472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36473 (exit $ac_status); } && {
36474 test -z "$ac_c_werror_flag" ||
36475 test ! -s conftest.err
36476 } && test -s conftest$ac_exeext &&
36477 $as_test_x conftest$ac_exeext; then
36478 ac_cv_lib_w_wcslen=yes
36479 else
36480 echo "$as_me: failed program was:" >&5
36481 sed 's/^/| /' conftest.$ac_ext >&5
36482
36483 ac_cv_lib_w_wcslen=no
36484 fi
36485
36486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36487 conftest$ac_exeext conftest.$ac_ext
36488 LIBS=$ac_check_lib_save_LIBS
36489 fi
36490 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36491 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36492 if test $ac_cv_lib_w_wcslen = yes; then
36493
36494 WCHAR_LINK=" -lw"
36495 WCSLEN_FOUND=1
36496
36497 fi
36498
36499 fi
36500 fi
36501
36502 if test "$WCSLEN_FOUND" = 1; then
36503 cat >>confdefs.h <<\_ACEOF
36504 #define HAVE_WCSLEN 1
36505 _ACEOF
36506
36507 fi
36508
36509
36510
36511
36512
36513
36514
36515 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36516 do
36517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36518 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36520 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36521 echo $ECHO_N "(cached) $ECHO_C" >&6
36522 else
36523 cat >conftest.$ac_ext <<_ACEOF
36524 /* confdefs.h. */
36525 _ACEOF
36526 cat confdefs.h >>conftest.$ac_ext
36527 cat >>conftest.$ac_ext <<_ACEOF
36528 /* end confdefs.h. */
36529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36531 #define $ac_func innocuous_$ac_func
36532
36533 /* System header to define __stub macros and hopefully few prototypes,
36534 which can conflict with char $ac_func (); below.
36535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36536 <limits.h> exists even on freestanding compilers. */
36537
36538 #ifdef __STDC__
36539 # include <limits.h>
36540 #else
36541 # include <assert.h>
36542 #endif
36543
36544 #undef $ac_func
36545
36546 /* Override any GCC internal prototype to avoid an error.
36547 Use char because int might match the return type of a GCC
36548 builtin and then its argument prototype would still apply. */
36549 #ifdef __cplusplus
36550 extern "C"
36551 #endif
36552 char $ac_func ();
36553 /* The GNU C library defines this for functions which it implements
36554 to always fail with ENOSYS. Some functions are actually named
36555 something starting with __ and the normal name is an alias. */
36556 #if defined __stub_$ac_func || defined __stub___$ac_func
36557 choke me
36558 #endif
36559
36560 int
36561 main ()
36562 {
36563 return $ac_func ();
36564 ;
36565 return 0;
36566 }
36567 _ACEOF
36568 rm -f conftest.$ac_objext conftest$ac_exeext
36569 if { (ac_try="$ac_link"
36570 case "(($ac_try" in
36571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36572 *) ac_try_echo=$ac_try;;
36573 esac
36574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36575 (eval "$ac_link") 2>conftest.er1
36576 ac_status=$?
36577 grep -v '^ *+' conftest.er1 >conftest.err
36578 rm -f conftest.er1
36579 cat conftest.err >&5
36580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581 (exit $ac_status); } && {
36582 test -z "$ac_c_werror_flag" ||
36583 test ! -s conftest.err
36584 } && test -s conftest$ac_exeext &&
36585 $as_test_x conftest$ac_exeext; then
36586 eval "$as_ac_var=yes"
36587 else
36588 echo "$as_me: failed program was:" >&5
36589 sed 's/^/| /' conftest.$ac_ext >&5
36590
36591 eval "$as_ac_var=no"
36592 fi
36593
36594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36595 conftest$ac_exeext conftest.$ac_ext
36596 fi
36597 ac_res=`eval echo '${'$as_ac_var'}'`
36598 { echo "$as_me:$LINENO: result: $ac_res" >&5
36599 echo "${ECHO_T}$ac_res" >&6; }
36600 if test `eval echo '${'$as_ac_var'}'` = yes; then
36601 cat >>confdefs.h <<_ACEOF
36602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36603 _ACEOF
36604
36605 fi
36606 done
36607
36608
36609 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36610 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36611 fi
36612
36613 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36614 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36615 if test "${ac_cv_type_mbstate_t+set}" = set; then
36616 echo $ECHO_N "(cached) $ECHO_C" >&6
36617 else
36618 cat >conftest.$ac_ext <<_ACEOF
36619 /* confdefs.h. */
36620 _ACEOF
36621 cat confdefs.h >>conftest.$ac_ext
36622 cat >>conftest.$ac_ext <<_ACEOF
36623 /* end confdefs.h. */
36624 #include <wchar.h>
36625
36626 typedef mbstate_t ac__type_new_;
36627 int
36628 main ()
36629 {
36630 if ((ac__type_new_ *) 0)
36631 return 0;
36632 if (sizeof (ac__type_new_))
36633 return 0;
36634 ;
36635 return 0;
36636 }
36637 _ACEOF
36638 rm -f conftest.$ac_objext
36639 if { (ac_try="$ac_compile"
36640 case "(($ac_try" in
36641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36642 *) ac_try_echo=$ac_try;;
36643 esac
36644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36645 (eval "$ac_compile") 2>conftest.er1
36646 ac_status=$?
36647 grep -v '^ *+' conftest.er1 >conftest.err
36648 rm -f conftest.er1
36649 cat conftest.err >&5
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); } && {
36652 test -z "$ac_c_werror_flag" ||
36653 test ! -s conftest.err
36654 } && test -s conftest.$ac_objext; then
36655 ac_cv_type_mbstate_t=yes
36656 else
36657 echo "$as_me: failed program was:" >&5
36658 sed 's/^/| /' conftest.$ac_ext >&5
36659
36660 ac_cv_type_mbstate_t=no
36661 fi
36662
36663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36664 fi
36665 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36666 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36667 if test $ac_cv_type_mbstate_t = yes; then
36668
36669 cat >>confdefs.h <<_ACEOF
36670 #define HAVE_MBSTATE_T 1
36671 _ACEOF
36672
36673
36674 for ac_func in wcsrtombs
36675 do
36676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36677 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36680 echo $ECHO_N "(cached) $ECHO_C" >&6
36681 else
36682 cat >conftest.$ac_ext <<_ACEOF
36683 /* confdefs.h. */
36684 _ACEOF
36685 cat confdefs.h >>conftest.$ac_ext
36686 cat >>conftest.$ac_ext <<_ACEOF
36687 /* end confdefs.h. */
36688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36690 #define $ac_func innocuous_$ac_func
36691
36692 /* System header to define __stub macros and hopefully few prototypes,
36693 which can conflict with char $ac_func (); below.
36694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36695 <limits.h> exists even on freestanding compilers. */
36696
36697 #ifdef __STDC__
36698 # include <limits.h>
36699 #else
36700 # include <assert.h>
36701 #endif
36702
36703 #undef $ac_func
36704
36705 /* Override any GCC internal prototype to avoid an error.
36706 Use char because int might match the return type of a GCC
36707 builtin and then its argument prototype would still apply. */
36708 #ifdef __cplusplus
36709 extern "C"
36710 #endif
36711 char $ac_func ();
36712 /* The GNU C library defines this for functions which it implements
36713 to always fail with ENOSYS. Some functions are actually named
36714 something starting with __ and the normal name is an alias. */
36715 #if defined __stub_$ac_func || defined __stub___$ac_func
36716 choke me
36717 #endif
36718
36719 int
36720 main ()
36721 {
36722 return $ac_func ();
36723 ;
36724 return 0;
36725 }
36726 _ACEOF
36727 rm -f conftest.$ac_objext conftest$ac_exeext
36728 if { (ac_try="$ac_link"
36729 case "(($ac_try" in
36730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36731 *) ac_try_echo=$ac_try;;
36732 esac
36733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36734 (eval "$ac_link") 2>conftest.er1
36735 ac_status=$?
36736 grep -v '^ *+' conftest.er1 >conftest.err
36737 rm -f conftest.er1
36738 cat conftest.err >&5
36739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36740 (exit $ac_status); } && {
36741 test -z "$ac_c_werror_flag" ||
36742 test ! -s conftest.err
36743 } && test -s conftest$ac_exeext &&
36744 $as_test_x conftest$ac_exeext; then
36745 eval "$as_ac_var=yes"
36746 else
36747 echo "$as_me: failed program was:" >&5
36748 sed 's/^/| /' conftest.$ac_ext >&5
36749
36750 eval "$as_ac_var=no"
36751 fi
36752
36753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36754 conftest$ac_exeext conftest.$ac_ext
36755 fi
36756 ac_res=`eval echo '${'$as_ac_var'}'`
36757 { echo "$as_me:$LINENO: result: $ac_res" >&5
36758 echo "${ECHO_T}$ac_res" >&6; }
36759 if test `eval echo '${'$as_ac_var'}'` = yes; then
36760 cat >>confdefs.h <<_ACEOF
36761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36762 _ACEOF
36763
36764 fi
36765 done
36766
36767 fi
36768
36769
36770
36771
36772
36773 for ac_func in snprintf vsnprintf vsscanf
36774 do
36775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36776 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36778 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36779 echo $ECHO_N "(cached) $ECHO_C" >&6
36780 else
36781 cat >conftest.$ac_ext <<_ACEOF
36782 /* confdefs.h. */
36783 _ACEOF
36784 cat confdefs.h >>conftest.$ac_ext
36785 cat >>conftest.$ac_ext <<_ACEOF
36786 /* end confdefs.h. */
36787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36789 #define $ac_func innocuous_$ac_func
36790
36791 /* System header to define __stub macros and hopefully few prototypes,
36792 which can conflict with char $ac_func (); below.
36793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36794 <limits.h> exists even on freestanding compilers. */
36795
36796 #ifdef __STDC__
36797 # include <limits.h>
36798 #else
36799 # include <assert.h>
36800 #endif
36801
36802 #undef $ac_func
36803
36804 /* Override any GCC internal prototype to avoid an error.
36805 Use char because int might match the return type of a GCC
36806 builtin and then its argument prototype would still apply. */
36807 #ifdef __cplusplus
36808 extern "C"
36809 #endif
36810 char $ac_func ();
36811 /* The GNU C library defines this for functions which it implements
36812 to always fail with ENOSYS. Some functions are actually named
36813 something starting with __ and the normal name is an alias. */
36814 #if defined __stub_$ac_func || defined __stub___$ac_func
36815 choke me
36816 #endif
36817
36818 int
36819 main ()
36820 {
36821 return $ac_func ();
36822 ;
36823 return 0;
36824 }
36825 _ACEOF
36826 rm -f conftest.$ac_objext conftest$ac_exeext
36827 if { (ac_try="$ac_link"
36828 case "(($ac_try" in
36829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36830 *) ac_try_echo=$ac_try;;
36831 esac
36832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36833 (eval "$ac_link") 2>conftest.er1
36834 ac_status=$?
36835 grep -v '^ *+' conftest.er1 >conftest.err
36836 rm -f conftest.er1
36837 cat conftest.err >&5
36838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36839 (exit $ac_status); } && {
36840 test -z "$ac_c_werror_flag" ||
36841 test ! -s conftest.err
36842 } && test -s conftest$ac_exeext &&
36843 $as_test_x conftest$ac_exeext; then
36844 eval "$as_ac_var=yes"
36845 else
36846 echo "$as_me: failed program was:" >&5
36847 sed 's/^/| /' conftest.$ac_ext >&5
36848
36849 eval "$as_ac_var=no"
36850 fi
36851
36852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36853 conftest$ac_exeext conftest.$ac_ext
36854 fi
36855 ac_res=`eval echo '${'$as_ac_var'}'`
36856 { echo "$as_me:$LINENO: result: $ac_res" >&5
36857 echo "${ECHO_T}$ac_res" >&6; }
36858 if test `eval echo '${'$as_ac_var'}'` = yes; then
36859 cat >>confdefs.h <<_ACEOF
36860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36861 _ACEOF
36862
36863 fi
36864 done
36865
36866
36867 ac_ext=cpp
36868 ac_cpp='$CXXCPP $CPPFLAGS'
36869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36872
36873 if test "$ac_cv_func_vsnprintf" = "yes"; then
36874 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36875 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36876 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36877 echo $ECHO_N "(cached) $ECHO_C" >&6
36878 else
36879
36880 cat >conftest.$ac_ext <<_ACEOF
36881 /* confdefs.h. */
36882 _ACEOF
36883 cat confdefs.h >>conftest.$ac_ext
36884 cat >>conftest.$ac_ext <<_ACEOF
36885 /* end confdefs.h. */
36886
36887 #include <stdio.h>
36888 #include <stdarg.h>
36889 #ifdef __MSL__
36890 #if __MSL__ >= 0x6000
36891 namespace std {}
36892 using namespace std;
36893 #endif
36894 #endif
36895
36896 int
36897 main ()
36898 {
36899
36900 char *buf;
36901 va_list ap;
36902 vsnprintf(buf, 10u, "%s", ap);
36903
36904 ;
36905 return 0;
36906 }
36907 _ACEOF
36908 rm -f conftest.$ac_objext
36909 if { (ac_try="$ac_compile"
36910 case "(($ac_try" in
36911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36912 *) ac_try_echo=$ac_try;;
36913 esac
36914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36915 (eval "$ac_compile") 2>conftest.er1
36916 ac_status=$?
36917 grep -v '^ *+' conftest.er1 >conftest.err
36918 rm -f conftest.er1
36919 cat conftest.err >&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); } && {
36922 test -z "$ac_cxx_werror_flag" ||
36923 test ! -s conftest.err
36924 } && test -s conftest.$ac_objext; then
36925 wx_cv_func_vsnprintf_decl=yes
36926 else
36927 echo "$as_me: failed program was:" >&5
36928 sed 's/^/| /' conftest.$ac_ext >&5
36929
36930 wx_cv_func_vsnprintf_decl=no
36931
36932 fi
36933
36934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36935
36936
36937 fi
36938 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36939 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36940
36941 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36942 cat >>confdefs.h <<\_ACEOF
36943 #define HAVE_VSNPRINTF_DECL 1
36944 _ACEOF
36945
36946
36947 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36948 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36949 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36950 echo $ECHO_N "(cached) $ECHO_C" >&6
36951 else
36952
36953 cat >conftest.$ac_ext <<_ACEOF
36954 /* confdefs.h. */
36955 _ACEOF
36956 cat confdefs.h >>conftest.$ac_ext
36957 cat >>conftest.$ac_ext <<_ACEOF
36958 /* end confdefs.h. */
36959
36960 #include <stdio.h>
36961 #include <stdarg.h>
36962 #ifdef __MSL__
36963 #if __MSL__ >= 0x6000
36964 namespace std {}
36965 using namespace std;
36966 #endif
36967 #endif
36968
36969 int
36970 main ()
36971 {
36972
36973 char *buf;
36974 va_list ap;
36975 const char *fmt = "%s";
36976 vsnprintf(buf, 10u, fmt, ap);
36977
36978 ;
36979 return 0;
36980 }
36981 _ACEOF
36982 rm -f conftest.$ac_objext
36983 if { (ac_try="$ac_compile"
36984 case "(($ac_try" in
36985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36986 *) ac_try_echo=$ac_try;;
36987 esac
36988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36989 (eval "$ac_compile") 2>conftest.er1
36990 ac_status=$?
36991 grep -v '^ *+' conftest.er1 >conftest.err
36992 rm -f conftest.er1
36993 cat conftest.err >&5
36994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36995 (exit $ac_status); } && {
36996 test -z "$ac_cxx_werror_flag" ||
36997 test ! -s conftest.err
36998 } && test -s conftest.$ac_objext; then
36999 wx_cv_func_broken_vsnprintf_decl=no
37000 else
37001 echo "$as_me: failed program was:" >&5
37002 sed 's/^/| /' conftest.$ac_ext >&5
37003
37004 wx_cv_func_broken_vsnprintf_decl=yes
37005
37006 fi
37007
37008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37009
37010
37011 fi
37012 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37013 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37014
37015 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37016 cat >>confdefs.h <<\_ACEOF
37017 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37018 _ACEOF
37019
37020 fi
37021 fi
37022 fi
37023
37024 if test "$ac_cv_func_snprintf" = "yes"; then
37025 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37026 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37027 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37028 echo $ECHO_N "(cached) $ECHO_C" >&6
37029 else
37030
37031 cat >conftest.$ac_ext <<_ACEOF
37032 /* confdefs.h. */
37033 _ACEOF
37034 cat confdefs.h >>conftest.$ac_ext
37035 cat >>conftest.$ac_ext <<_ACEOF
37036 /* end confdefs.h. */
37037
37038 #include <stdio.h>
37039 #include <stdarg.h>
37040 #ifdef __MSL__
37041 #if __MSL__ >= 0x6000
37042 namespace std {}
37043 using namespace std;
37044 #endif
37045 #endif
37046
37047 int
37048 main ()
37049 {
37050
37051 char *buf;
37052 snprintf(buf, 10u, "%s", "wx");
37053
37054 ;
37055 return 0;
37056 }
37057 _ACEOF
37058 rm -f conftest.$ac_objext
37059 if { (ac_try="$ac_compile"
37060 case "(($ac_try" in
37061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37062 *) ac_try_echo=$ac_try;;
37063 esac
37064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37065 (eval "$ac_compile") 2>conftest.er1
37066 ac_status=$?
37067 grep -v '^ *+' conftest.er1 >conftest.err
37068 rm -f conftest.er1
37069 cat conftest.err >&5
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); } && {
37072 test -z "$ac_cxx_werror_flag" ||
37073 test ! -s conftest.err
37074 } && test -s conftest.$ac_objext; then
37075 wx_cv_func_snprintf_decl=yes
37076 else
37077 echo "$as_me: failed program was:" >&5
37078 sed 's/^/| /' conftest.$ac_ext >&5
37079
37080 wx_cv_func_snprintf_decl=no
37081
37082 fi
37083
37084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37085
37086
37087 fi
37088 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37089 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37090
37091 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37092 cat >>confdefs.h <<\_ACEOF
37093 #define HAVE_SNPRINTF_DECL 1
37094 _ACEOF
37095
37096 fi
37097
37098 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37099
37100 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37101 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37102 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37103 echo $ECHO_N "(cached) $ECHO_C" >&6
37104 else
37105
37106 if test "$cross_compiling" = yes; then
37107
37108 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37109 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37110 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37111 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37112 wx_cv_func_snprintf_pos_params=no
37113
37114
37115 else
37116 cat >conftest.$ac_ext <<_ACEOF
37117 /* confdefs.h. */
37118 _ACEOF
37119 cat confdefs.h >>conftest.$ac_ext
37120 cat >>conftest.$ac_ext <<_ACEOF
37121 /* end confdefs.h. */
37122
37123 #include <stdio.h>
37124
37125 int main (void)
37126 {
37127 char buffer[128];
37128 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37129 if (strcmp ("2 3 1", buffer) == 0)
37130 exit (0);
37131 exit (1);
37132 }
37133
37134 _ACEOF
37135 rm -f conftest$ac_exeext
37136 if { (ac_try="$ac_link"
37137 case "(($ac_try" in
37138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37139 *) ac_try_echo=$ac_try;;
37140 esac
37141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37142 (eval "$ac_link") 2>&5
37143 ac_status=$?
37144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37146 { (case "(($ac_try" in
37147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37148 *) ac_try_echo=$ac_try;;
37149 esac
37150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37151 (eval "$ac_try") 2>&5
37152 ac_status=$?
37153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37154 (exit $ac_status); }; }; then
37155 wx_cv_func_snprintf_pos_params=no
37156 else
37157 echo "$as_me: program exited with status $ac_status" >&5
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.$ac_ext >&5
37160
37161 ( exit $ac_status )
37162 wx_cv_func_snprintf_pos_params=yes
37163 fi
37164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37165 fi
37166
37167
37168
37169
37170 fi
37171 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37172 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37173
37174 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37175 cat >>confdefs.h <<\_ACEOF
37176 #define HAVE_UNIX98_PRINTF 1
37177 _ACEOF
37178
37179 fi
37180 fi
37181 fi
37182
37183 if test "$ac_cv_func_vsscanf" = "yes"; then
37184 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37185 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37186 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37187 echo $ECHO_N "(cached) $ECHO_C" >&6
37188 else
37189
37190 cat >conftest.$ac_ext <<_ACEOF
37191 /* confdefs.h. */
37192 _ACEOF
37193 cat confdefs.h >>conftest.$ac_ext
37194 cat >>conftest.$ac_ext <<_ACEOF
37195 /* end confdefs.h. */
37196
37197 #include <stdio.h>
37198 #include <stdarg.h>
37199 #ifdef __MSL__
37200 #if __MSL__ >= 0x6000
37201 namespace std {}
37202 using namespace std;
37203 #endif
37204 #endif
37205
37206 int
37207 main ()
37208 {
37209
37210 char *buf;
37211 va_list args;
37212 vsscanf(buf, "%s", args);
37213
37214 ;
37215 return 0;
37216 }
37217 _ACEOF
37218 rm -f conftest.$ac_objext
37219 if { (ac_try="$ac_compile"
37220 case "(($ac_try" in
37221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37222 *) ac_try_echo=$ac_try;;
37223 esac
37224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37225 (eval "$ac_compile") 2>conftest.er1
37226 ac_status=$?
37227 grep -v '^ *+' conftest.er1 >conftest.err
37228 rm -f conftest.er1
37229 cat conftest.err >&5
37230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37231 (exit $ac_status); } && {
37232 test -z "$ac_cxx_werror_flag" ||
37233 test ! -s conftest.err
37234 } && test -s conftest.$ac_objext; then
37235 wx_cv_func_vsscanf_decl=yes
37236 else
37237 echo "$as_me: failed program was:" >&5
37238 sed 's/^/| /' conftest.$ac_ext >&5
37239
37240 wx_cv_func_vsscanf_decl=no
37241
37242 fi
37243
37244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37245
37246
37247 fi
37248 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37249 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37250
37251 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37252 cat >>confdefs.h <<\_ACEOF
37253 #define HAVE_VSSCANF_DECL 1
37254 _ACEOF
37255
37256 fi
37257 fi
37258 ac_ext=c
37259 ac_cpp='$CPP $CPPFLAGS'
37260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37263
37264
37265 if test "$wxUSE_UNICODE" = yes; then
37266
37267 wchar_headers="#include <stdio.h>
37268 #include <wchar.h>"
37269 case "${host}" in
37270 *-*-solaris2* )
37271
37272 for ac_header in widec.h
37273 do
37274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37275 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37277 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37278 echo $ECHO_N "(cached) $ECHO_C" >&6
37279 else
37280 cat >conftest.$ac_ext <<_ACEOF
37281 /* confdefs.h. */
37282 _ACEOF
37283 cat confdefs.h >>conftest.$ac_ext
37284 cat >>conftest.$ac_ext <<_ACEOF
37285 /* end confdefs.h. */
37286 $ac_includes_default
37287
37288 #include <$ac_header>
37289 _ACEOF
37290 rm -f conftest.$ac_objext
37291 if { (ac_try="$ac_compile"
37292 case "(($ac_try" in
37293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37294 *) ac_try_echo=$ac_try;;
37295 esac
37296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37297 (eval "$ac_compile") 2>conftest.er1
37298 ac_status=$?
37299 grep -v '^ *+' conftest.er1 >conftest.err
37300 rm -f conftest.er1
37301 cat conftest.err >&5
37302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37303 (exit $ac_status); } && {
37304 test -z "$ac_c_werror_flag" ||
37305 test ! -s conftest.err
37306 } && test -s conftest.$ac_objext; then
37307 eval "$as_ac_Header=yes"
37308 else
37309 echo "$as_me: failed program was:" >&5
37310 sed 's/^/| /' conftest.$ac_ext >&5
37311
37312 eval "$as_ac_Header=no"
37313 fi
37314
37315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37316 fi
37317 ac_res=`eval echo '${'$as_ac_Header'}'`
37318 { echo "$as_me:$LINENO: result: $ac_res" >&5
37319 echo "${ECHO_T}$ac_res" >&6; }
37320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37321 cat >>confdefs.h <<_ACEOF
37322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37323 _ACEOF
37324
37325 fi
37326
37327 done
37328
37329 if test "$ac_cv_header_widec_h" = "yes"; then
37330 wchar_headers="$wchar_headers
37331 #include <widec.h>"
37332 fi
37333 esac
37334
37335
37336 for wx_func in putws fputws wprintf vswprintf vswscanf
37337 do
37338 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37339 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37340 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37341 echo $ECHO_N "(cached) $ECHO_C" >&6
37342 else
37343
37344 cat >conftest.$ac_ext <<_ACEOF
37345
37346 /* confdefs.h. */
37347 _ACEOF
37348 cat confdefs.h >>conftest.$ac_ext
37349 cat >>conftest.$ac_ext <<_ACEOF
37350 /* end confdefs.h. */
37351
37352 $wchar_headers
37353 $ac_includes_default
37354
37355 int
37356 main ()
37357 {
37358
37359 #ifndef $wx_func
37360 &$wx_func;
37361 #endif
37362
37363
37364 ;
37365 return 0;
37366 }
37367
37368 _ACEOF
37369 rm -f conftest.$ac_objext conftest$ac_exeext
37370 if { (ac_try="$ac_link"
37371 case "(($ac_try" in
37372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37373 *) ac_try_echo=$ac_try;;
37374 esac
37375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37376 (eval "$ac_link") 2>conftest.er1
37377 ac_status=$?
37378 grep -v '^ *+' conftest.er1 >conftest.err
37379 rm -f conftest.er1
37380 cat conftest.err >&5
37381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382 (exit $ac_status); } && {
37383 test -z "$ac_c_werror_flag" ||
37384 test ! -s conftest.err
37385 } && test -s conftest$ac_exeext &&
37386 $as_test_x conftest$ac_exeext; then
37387 eval wx_cv_func_$wx_func=yes
37388 else
37389 echo "$as_me: failed program was:" >&5
37390 sed 's/^/| /' conftest.$ac_ext >&5
37391
37392 eval wx_cv_func_$wx_func=no
37393 fi
37394
37395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37396 conftest$ac_exeext conftest.$ac_ext
37397
37398 fi
37399 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37400 { echo "$as_me:$LINENO: result: $ac_res" >&5
37401 echo "${ECHO_T}$ac_res" >&6; }
37402
37403 if eval test \$wx_cv_func_$wx_func = yes
37404 then
37405 cat >>confdefs.h <<_ACEOF
37406 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37407 _ACEOF
37408
37409
37410 else
37411 :
37412
37413 fi
37414 done
37415
37416
37417 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37418 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37419 cat >conftest.$ac_ext <<_ACEOF
37420 /* confdefs.h. */
37421 _ACEOF
37422 cat confdefs.h >>conftest.$ac_ext
37423 cat >>conftest.$ac_ext <<_ACEOF
37424 /* end confdefs.h. */
37425 #include <wchar.h>
37426 int
37427 main ()
37428 {
37429 &_vsnwprintf;
37430 ;
37431 return 0;
37432 }
37433 _ACEOF
37434 rm -f conftest.$ac_objext
37435 if { (ac_try="$ac_compile"
37436 case "(($ac_try" in
37437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37438 *) ac_try_echo=$ac_try;;
37439 esac
37440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37441 (eval "$ac_compile") 2>conftest.er1
37442 ac_status=$?
37443 grep -v '^ *+' conftest.er1 >conftest.err
37444 rm -f conftest.er1
37445 cat conftest.err >&5
37446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37447 (exit $ac_status); } && {
37448 test -z "$ac_c_werror_flag" ||
37449 test ! -s conftest.err
37450 } && test -s conftest.$ac_objext; then
37451 { echo "$as_me:$LINENO: result: yes" >&5
37452 echo "${ECHO_T}yes" >&6; }
37453 cat >>confdefs.h <<\_ACEOF
37454 #define HAVE__VSNWPRINTF 1
37455 _ACEOF
37456
37457 else
37458 echo "$as_me: failed program was:" >&5
37459 sed 's/^/| /' conftest.$ac_ext >&5
37460
37461 { echo "$as_me:$LINENO: result: no" >&5
37462 echo "${ECHO_T}no" >&6; }
37463 fi
37464
37465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37466 fi
37467
37468 if test "$wxUSE_FILE" = "yes"; then
37469
37470 for wx_func in fsync
37471 do
37472 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37473 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37474 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37475 echo $ECHO_N "(cached) $ECHO_C" >&6
37476 else
37477
37478 cat >conftest.$ac_ext <<_ACEOF
37479
37480 /* confdefs.h. */
37481 _ACEOF
37482 cat confdefs.h >>conftest.$ac_ext
37483 cat >>conftest.$ac_ext <<_ACEOF
37484 /* end confdefs.h. */
37485
37486
37487 $ac_includes_default
37488
37489 int
37490 main ()
37491 {
37492
37493 #ifndef $wx_func
37494 &$wx_func;
37495 #endif
37496
37497
37498 ;
37499 return 0;
37500 }
37501
37502 _ACEOF
37503 rm -f conftest.$ac_objext conftest$ac_exeext
37504 if { (ac_try="$ac_link"
37505 case "(($ac_try" in
37506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37507 *) ac_try_echo=$ac_try;;
37508 esac
37509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37510 (eval "$ac_link") 2>conftest.er1
37511 ac_status=$?
37512 grep -v '^ *+' conftest.er1 >conftest.err
37513 rm -f conftest.er1
37514 cat conftest.err >&5
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); } && {
37517 test -z "$ac_c_werror_flag" ||
37518 test ! -s conftest.err
37519 } && test -s conftest$ac_exeext &&
37520 $as_test_x conftest$ac_exeext; then
37521 eval wx_cv_func_$wx_func=yes
37522 else
37523 echo "$as_me: failed program was:" >&5
37524 sed 's/^/| /' conftest.$ac_ext >&5
37525
37526 eval wx_cv_func_$wx_func=no
37527 fi
37528
37529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37530 conftest$ac_exeext conftest.$ac_ext
37531
37532 fi
37533 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37534 { echo "$as_me:$LINENO: result: $ac_res" >&5
37535 echo "${ECHO_T}$ac_res" >&6; }
37536
37537 if eval test \$wx_cv_func_$wx_func = yes
37538 then
37539 cat >>confdefs.h <<_ACEOF
37540 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37541 _ACEOF
37542
37543
37544 else
37545 :
37546
37547 fi
37548 done
37549
37550 fi
37551
37552 ac_ext=cpp
37553 ac_cpp='$CXXCPP $CPPFLAGS'
37554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37557
37558
37559 for wx_func in round
37560 do
37561 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37562 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37563 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37564 echo $ECHO_N "(cached) $ECHO_C" >&6
37565 else
37566
37567 cat >conftest.$ac_ext <<_ACEOF
37568
37569 /* confdefs.h. */
37570 _ACEOF
37571 cat confdefs.h >>conftest.$ac_ext
37572 cat >>conftest.$ac_ext <<_ACEOF
37573 /* end confdefs.h. */
37574
37575 #include <math.h>
37576 $ac_includes_default
37577
37578 int
37579 main ()
37580 {
37581
37582 #ifndef $wx_func
37583 &$wx_func;
37584 #endif
37585
37586
37587 ;
37588 return 0;
37589 }
37590
37591 _ACEOF
37592 rm -f conftest.$ac_objext conftest$ac_exeext
37593 if { (ac_try="$ac_link"
37594 case "(($ac_try" in
37595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37596 *) ac_try_echo=$ac_try;;
37597 esac
37598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37599 (eval "$ac_link") 2>conftest.er1
37600 ac_status=$?
37601 grep -v '^ *+' conftest.er1 >conftest.err
37602 rm -f conftest.er1
37603 cat conftest.err >&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); } && {
37606 test -z "$ac_cxx_werror_flag" ||
37607 test ! -s conftest.err
37608 } && test -s conftest$ac_exeext &&
37609 $as_test_x conftest$ac_exeext; then
37610 eval wx_cv_func_$wx_func=yes
37611 else
37612 echo "$as_me: failed program was:" >&5
37613 sed 's/^/| /' conftest.$ac_ext >&5
37614
37615 eval wx_cv_func_$wx_func=no
37616 fi
37617
37618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37619 conftest$ac_exeext conftest.$ac_ext
37620
37621 fi
37622 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37623 { echo "$as_me:$LINENO: result: $ac_res" >&5
37624 echo "${ECHO_T}$ac_res" >&6; }
37625
37626 if eval test \$wx_cv_func_$wx_func = yes
37627 then
37628 cat >>confdefs.h <<_ACEOF
37629 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37630 _ACEOF
37631
37632
37633 else
37634 :
37635
37636 fi
37637 done
37638
37639 ac_ext=c
37640 ac_cpp='$CPP $CPPFLAGS'
37641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37644
37645
37646 if test "$TOOLKIT" != "MSW"; then
37647
37648 if test "$wxUSE_LIBICONV" != "no" ; then
37649
37650
37651
37652 # Check whether --with-libiconv-prefix was given.
37653 if test "${with_libiconv_prefix+set}" = set; then
37654 withval=$with_libiconv_prefix;
37655 for dir in `echo "$withval" | tr : ' '`; do
37656 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37657 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37658 done
37659
37660 fi
37661
37662
37663 { echo "$as_me:$LINENO: checking for iconv" >&5
37664 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37665 if test "${am_cv_func_iconv+set}" = set; then
37666 echo $ECHO_N "(cached) $ECHO_C" >&6
37667 else
37668
37669 am_cv_func_iconv="no, consider installing GNU libiconv"
37670 am_cv_lib_iconv=no
37671 cat >conftest.$ac_ext <<_ACEOF
37672 /* confdefs.h. */
37673 _ACEOF
37674 cat confdefs.h >>conftest.$ac_ext
37675 cat >>conftest.$ac_ext <<_ACEOF
37676 /* end confdefs.h. */
37677 #include <stdlib.h>
37678 #include <iconv.h>
37679 int
37680 main ()
37681 {
37682 iconv_t cd = iconv_open("","");
37683 iconv(cd,NULL,NULL,NULL,NULL);
37684 iconv_close(cd);
37685 ;
37686 return 0;
37687 }
37688 _ACEOF
37689 rm -f conftest.$ac_objext conftest$ac_exeext
37690 if { (ac_try="$ac_link"
37691 case "(($ac_try" in
37692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37693 *) ac_try_echo=$ac_try;;
37694 esac
37695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37696 (eval "$ac_link") 2>conftest.er1
37697 ac_status=$?
37698 grep -v '^ *+' conftest.er1 >conftest.err
37699 rm -f conftest.er1
37700 cat conftest.err >&5
37701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702 (exit $ac_status); } && {
37703 test -z "$ac_c_werror_flag" ||
37704 test ! -s conftest.err
37705 } && test -s conftest$ac_exeext &&
37706 $as_test_x conftest$ac_exeext; then
37707 am_cv_func_iconv=yes
37708 else
37709 echo "$as_me: failed program was:" >&5
37710 sed 's/^/| /' conftest.$ac_ext >&5
37711
37712
37713 fi
37714
37715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37716 conftest$ac_exeext conftest.$ac_ext
37717 if test "$am_cv_func_iconv" != yes; then
37718 am_save_LIBS="$LIBS"
37719 LIBS="$LIBS -liconv"
37720 cat >conftest.$ac_ext <<_ACEOF
37721 /* confdefs.h. */
37722 _ACEOF
37723 cat confdefs.h >>conftest.$ac_ext
37724 cat >>conftest.$ac_ext <<_ACEOF
37725 /* end confdefs.h. */
37726 #include <stdlib.h>
37727 #include <iconv.h>
37728 int
37729 main ()
37730 {
37731 iconv_t cd = iconv_open("","");
37732 iconv(cd,NULL,NULL,NULL,NULL);
37733 iconv_close(cd);
37734 ;
37735 return 0;
37736 }
37737 _ACEOF
37738 rm -f conftest.$ac_objext conftest$ac_exeext
37739 if { (ac_try="$ac_link"
37740 case "(($ac_try" in
37741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37742 *) ac_try_echo=$ac_try;;
37743 esac
37744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37745 (eval "$ac_link") 2>conftest.er1
37746 ac_status=$?
37747 grep -v '^ *+' conftest.er1 >conftest.err
37748 rm -f conftest.er1
37749 cat conftest.err >&5
37750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37751 (exit $ac_status); } && {
37752 test -z "$ac_c_werror_flag" ||
37753 test ! -s conftest.err
37754 } && test -s conftest$ac_exeext &&
37755 $as_test_x conftest$ac_exeext; then
37756 am_cv_lib_iconv=yes
37757 am_cv_func_iconv=yes
37758 else
37759 echo "$as_me: failed program was:" >&5
37760 sed 's/^/| /' conftest.$ac_ext >&5
37761
37762
37763 fi
37764
37765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37766 conftest$ac_exeext conftest.$ac_ext
37767 LIBS="$am_save_LIBS"
37768 fi
37769
37770 fi
37771 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37772 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37773 if test "$am_cv_func_iconv" = yes; then
37774
37775 cat >>confdefs.h <<\_ACEOF
37776 #define HAVE_ICONV 1
37777 _ACEOF
37778
37779 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37780 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37781 if test "${wx_cv_func_iconv_const+set}" = set; then
37782 echo $ECHO_N "(cached) $ECHO_C" >&6
37783 else
37784 cat >conftest.$ac_ext <<_ACEOF
37785 /* confdefs.h. */
37786 _ACEOF
37787 cat confdefs.h >>conftest.$ac_ext
37788 cat >>conftest.$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790
37791 #include <stdlib.h>
37792 #include <iconv.h>
37793 extern
37794 #ifdef __cplusplus
37795 "C"
37796 #endif
37797 #if defined(__STDC__) || defined(__cplusplus)
37798 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37799 #else
37800 size_t iconv();
37801 #endif
37802
37803 int
37804 main ()
37805 {
37806
37807 ;
37808 return 0;
37809 }
37810 _ACEOF
37811 rm -f conftest.$ac_objext
37812 if { (ac_try="$ac_compile"
37813 case "(($ac_try" in
37814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37815 *) ac_try_echo=$ac_try;;
37816 esac
37817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37818 (eval "$ac_compile") 2>conftest.er1
37819 ac_status=$?
37820 grep -v '^ *+' conftest.er1 >conftest.err
37821 rm -f conftest.er1
37822 cat conftest.err >&5
37823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37824 (exit $ac_status); } && {
37825 test -z "$ac_c_werror_flag" ||
37826 test ! -s conftest.err
37827 } && test -s conftest.$ac_objext; then
37828 wx_cv_func_iconv_const="no"
37829 else
37830 echo "$as_me: failed program was:" >&5
37831 sed 's/^/| /' conftest.$ac_ext >&5
37832
37833 wx_cv_func_iconv_const="yes"
37834
37835 fi
37836
37837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37838
37839 fi
37840 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37841 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37842
37843 iconv_const=
37844 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37845 iconv_const="const"
37846 fi
37847
37848
37849 cat >>confdefs.h <<_ACEOF
37850 #define ICONV_CONST $iconv_const
37851 _ACEOF
37852
37853 fi
37854 LIBICONV=
37855 if test "$am_cv_lib_iconv" = yes; then
37856 LIBICONV="-liconv"
37857 fi
37858
37859
37860 LIBS="$LIBICONV $LIBS"
37861 fi
37862
37863 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37864
37865 for ac_func in sigaction
37866 do
37867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37868 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37870 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37871 echo $ECHO_N "(cached) $ECHO_C" >&6
37872 else
37873 cat >conftest.$ac_ext <<_ACEOF
37874 /* confdefs.h. */
37875 _ACEOF
37876 cat confdefs.h >>conftest.$ac_ext
37877 cat >>conftest.$ac_ext <<_ACEOF
37878 /* end confdefs.h. */
37879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37881 #define $ac_func innocuous_$ac_func
37882
37883 /* System header to define __stub macros and hopefully few prototypes,
37884 which can conflict with char $ac_func (); below.
37885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37886 <limits.h> exists even on freestanding compilers. */
37887
37888 #ifdef __STDC__
37889 # include <limits.h>
37890 #else
37891 # include <assert.h>
37892 #endif
37893
37894 #undef $ac_func
37895
37896 /* Override any GCC internal prototype to avoid an error.
37897 Use char because int might match the return type of a GCC
37898 builtin and then its argument prototype would still apply. */
37899 #ifdef __cplusplus
37900 extern "C"
37901 #endif
37902 char $ac_func ();
37903 /* The GNU C library defines this for functions which it implements
37904 to always fail with ENOSYS. Some functions are actually named
37905 something starting with __ and the normal name is an alias. */
37906 #if defined __stub_$ac_func || defined __stub___$ac_func
37907 choke me
37908 #endif
37909
37910 int
37911 main ()
37912 {
37913 return $ac_func ();
37914 ;
37915 return 0;
37916 }
37917 _ACEOF
37918 rm -f conftest.$ac_objext conftest$ac_exeext
37919 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
37933 test ! -s conftest.err
37934 } && test -s conftest$ac_exeext &&
37935 $as_test_x conftest$ac_exeext; then
37936 eval "$as_ac_var=yes"
37937 else
37938 echo "$as_me: failed program was:" >&5
37939 sed 's/^/| /' conftest.$ac_ext >&5
37940
37941 eval "$as_ac_var=no"
37942 fi
37943
37944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37945 conftest$ac_exeext conftest.$ac_ext
37946 fi
37947 ac_res=`eval echo '${'$as_ac_var'}'`
37948 { echo "$as_me:$LINENO: result: $ac_res" >&5
37949 echo "${ECHO_T}$ac_res" >&6; }
37950 if test `eval echo '${'$as_ac_var'}'` = yes; then
37951 cat >>confdefs.h <<_ACEOF
37952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37953 _ACEOF
37954
37955 fi
37956 done
37957
37958
37959 if test "$ac_cv_func_sigaction" = "no"; then
37960 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37961 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37962 wxUSE_ON_FATAL_EXCEPTION=no
37963 fi
37964
37965 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37966 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37967 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37968 if test "${wx_cv_type_sa_handler+set}" = set; then
37969 echo $ECHO_N "(cached) $ECHO_C" >&6
37970 else
37971
37972 ac_ext=cpp
37973 ac_cpp='$CXXCPP $CPPFLAGS'
37974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37977
37978 cat >conftest.$ac_ext <<_ACEOF
37979 /* confdefs.h. */
37980 _ACEOF
37981 cat confdefs.h >>conftest.$ac_ext
37982 cat >>conftest.$ac_ext <<_ACEOF
37983 /* end confdefs.h. */
37984 #include <signal.h>
37985 int
37986 main ()
37987 {
37988
37989 extern void testSigHandler(int);
37990
37991 struct sigaction sa;
37992 sa.sa_handler = testSigHandler;
37993
37994 ;
37995 return 0;
37996 }
37997 _ACEOF
37998 rm -f conftest.$ac_objext
37999 if { (ac_try="$ac_compile"
38000 case "(($ac_try" in
38001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38002 *) ac_try_echo=$ac_try;;
38003 esac
38004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38005 (eval "$ac_compile") 2>conftest.er1
38006 ac_status=$?
38007 grep -v '^ *+' conftest.er1 >conftest.err
38008 rm -f conftest.er1
38009 cat conftest.err >&5
38010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38011 (exit $ac_status); } && {
38012 test -z "$ac_cxx_werror_flag" ||
38013 test ! -s conftest.err
38014 } && test -s conftest.$ac_objext; then
38015
38016 wx_cv_type_sa_handler=int
38017
38018 else
38019 echo "$as_me: failed program was:" >&5
38020 sed 's/^/| /' conftest.$ac_ext >&5
38021
38022
38023 wx_cv_type_sa_handler=void
38024
38025 fi
38026
38027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38028 ac_ext=c
38029 ac_cpp='$CPP $CPPFLAGS'
38030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38033
38034
38035 fi
38036 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38037 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38038
38039 cat >>confdefs.h <<_ACEOF
38040 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38041 _ACEOF
38042
38043 fi
38044 fi
38045
38046 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38047 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38048 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38049 if test "${wx_cv_func_backtrace+set}" = set; then
38050 echo $ECHO_N "(cached) $ECHO_C" >&6
38051 else
38052
38053 ac_ext=cpp
38054 ac_cpp='$CXXCPP $CPPFLAGS'
38055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38058
38059 cat >conftest.$ac_ext <<_ACEOF
38060 /* confdefs.h. */
38061 _ACEOF
38062 cat confdefs.h >>conftest.$ac_ext
38063 cat >>conftest.$ac_ext <<_ACEOF
38064 /* end confdefs.h. */
38065 #include <execinfo.h>
38066 int
38067 main ()
38068 {
38069
38070 void *trace[1];
38071 char **messages;
38072
38073 backtrace(trace, 1);
38074 messages = backtrace_symbols(trace, 1);
38075
38076 ;
38077 return 0;
38078 }
38079 _ACEOF
38080 rm -f conftest.$ac_objext
38081 if { (ac_try="$ac_compile"
38082 case "(($ac_try" in
38083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38084 *) ac_try_echo=$ac_try;;
38085 esac
38086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38087 (eval "$ac_compile") 2>conftest.er1
38088 ac_status=$?
38089 grep -v '^ *+' conftest.er1 >conftest.err
38090 rm -f conftest.er1
38091 cat conftest.err >&5
38092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38093 (exit $ac_status); } && {
38094 test -z "$ac_cxx_werror_flag" ||
38095 test ! -s conftest.err
38096 } && test -s conftest.$ac_objext; then
38097 wx_cv_func_backtrace=yes
38098 else
38099 echo "$as_me: failed program was:" >&5
38100 sed 's/^/| /' conftest.$ac_ext >&5
38101
38102 wx_cv_func_backtrace=no
38103
38104 fi
38105
38106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38107 ac_ext=c
38108 ac_cpp='$CPP $CPPFLAGS'
38109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38112
38113
38114
38115 fi
38116 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38117 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38118
38119
38120 if test "$wx_cv_func_backtrace" = "no"; then
38121 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38122 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38123 wxUSE_STACKWALKER=no
38124 else
38125 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38126 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38127 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38128 echo $ECHO_N "(cached) $ECHO_C" >&6
38129 else
38130
38131 ac_ext=cpp
38132 ac_cpp='$CXXCPP $CPPFLAGS'
38133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38136
38137 cat >conftest.$ac_ext <<_ACEOF
38138 /* confdefs.h. */
38139 _ACEOF
38140 cat confdefs.h >>conftest.$ac_ext
38141 cat >>conftest.$ac_ext <<_ACEOF
38142 /* end confdefs.h. */
38143 #include <cxxabi.h>
38144 int
38145 main ()
38146 {
38147
38148 int rc;
38149 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38150
38151 ;
38152 return 0;
38153 }
38154 _ACEOF
38155 rm -f conftest.$ac_objext conftest$ac_exeext
38156 if { (ac_try="$ac_link"
38157 case "(($ac_try" in
38158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38159 *) ac_try_echo=$ac_try;;
38160 esac
38161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38162 (eval "$ac_link") 2>conftest.er1
38163 ac_status=$?
38164 grep -v '^ *+' conftest.er1 >conftest.err
38165 rm -f conftest.er1
38166 cat conftest.err >&5
38167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38168 (exit $ac_status); } && {
38169 test -z "$ac_cxx_werror_flag" ||
38170 test ! -s conftest.err
38171 } && test -s conftest$ac_exeext &&
38172 $as_test_x conftest$ac_exeext; then
38173 wx_cv_func_cxa_demangle=yes
38174 else
38175 echo "$as_me: failed program was:" >&5
38176 sed 's/^/| /' conftest.$ac_ext >&5
38177
38178 wx_cv_func_cxa_demangle=no
38179
38180 fi
38181
38182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38183 conftest$ac_exeext conftest.$ac_ext
38184 ac_ext=c
38185 ac_cpp='$CPP $CPPFLAGS'
38186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38189
38190
38191
38192 fi
38193 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38194 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38195
38196 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38197 cat >>confdefs.h <<\_ACEOF
38198 #define HAVE_CXA_DEMANGLE 1
38199 _ACEOF
38200
38201 fi
38202 fi
38203 fi
38204
38205 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38206 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38207 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38208 wxUSE_STACKWALKER=no
38209 fi
38210
38211
38212
38213
38214 for ac_func in mkstemp mktemp
38215 do
38216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38220 echo $ECHO_N "(cached) $ECHO_C" >&6
38221 else
38222 cat >conftest.$ac_ext <<_ACEOF
38223 /* confdefs.h. */
38224 _ACEOF
38225 cat confdefs.h >>conftest.$ac_ext
38226 cat >>conftest.$ac_ext <<_ACEOF
38227 /* end confdefs.h. */
38228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38230 #define $ac_func innocuous_$ac_func
38231
38232 /* System header to define __stub macros and hopefully few prototypes,
38233 which can conflict with char $ac_func (); below.
38234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38235 <limits.h> exists even on freestanding compilers. */
38236
38237 #ifdef __STDC__
38238 # include <limits.h>
38239 #else
38240 # include <assert.h>
38241 #endif
38242
38243 #undef $ac_func
38244
38245 /* Override any GCC internal prototype to avoid an error.
38246 Use char because int might match the return type of a GCC
38247 builtin and then its argument prototype would still apply. */
38248 #ifdef __cplusplus
38249 extern "C"
38250 #endif
38251 char $ac_func ();
38252 /* The GNU C library defines this for functions which it implements
38253 to always fail with ENOSYS. Some functions are actually named
38254 something starting with __ and the normal name is an alias. */
38255 #if defined __stub_$ac_func || defined __stub___$ac_func
38256 choke me
38257 #endif
38258
38259 int
38260 main ()
38261 {
38262 return $ac_func ();
38263 ;
38264 return 0;
38265 }
38266 _ACEOF
38267 rm -f conftest.$ac_objext conftest$ac_exeext
38268 if { (ac_try="$ac_link"
38269 case "(($ac_try" in
38270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38271 *) ac_try_echo=$ac_try;;
38272 esac
38273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38274 (eval "$ac_link") 2>conftest.er1
38275 ac_status=$?
38276 grep -v '^ *+' conftest.er1 >conftest.err
38277 rm -f conftest.er1
38278 cat conftest.err >&5
38279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38280 (exit $ac_status); } && {
38281 test -z "$ac_c_werror_flag" ||
38282 test ! -s conftest.err
38283 } && test -s conftest$ac_exeext &&
38284 $as_test_x conftest$ac_exeext; then
38285 eval "$as_ac_var=yes"
38286 else
38287 echo "$as_me: failed program was:" >&5
38288 sed 's/^/| /' conftest.$ac_ext >&5
38289
38290 eval "$as_ac_var=no"
38291 fi
38292
38293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38294 conftest$ac_exeext conftest.$ac_ext
38295 fi
38296 ac_res=`eval echo '${'$as_ac_var'}'`
38297 { echo "$as_me:$LINENO: result: $ac_res" >&5
38298 echo "${ECHO_T}$ac_res" >&6; }
38299 if test `eval echo '${'$as_ac_var'}'` = yes; then
38300 cat >>confdefs.h <<_ACEOF
38301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38302 _ACEOF
38303 break
38304 fi
38305 done
38306
38307
38308 { echo "$as_me:$LINENO: checking for statfs" >&5
38309 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38310 if test "${wx_cv_func_statfs+set}" = set; then
38311 echo $ECHO_N "(cached) $ECHO_C" >&6
38312 else
38313 cat >conftest.$ac_ext <<_ACEOF
38314 /* confdefs.h. */
38315 _ACEOF
38316 cat confdefs.h >>conftest.$ac_ext
38317 cat >>conftest.$ac_ext <<_ACEOF
38318 /* end confdefs.h. */
38319
38320 #if defined(__BSD__)
38321 #include <sys/param.h>
38322 #include <sys/mount.h>
38323 #else
38324 #include <sys/vfs.h>
38325 #endif
38326
38327 int
38328 main ()
38329 {
38330
38331 long l;
38332 struct statfs fs;
38333 statfs("/", &fs);
38334 l = fs.f_bsize;
38335 l += fs.f_blocks;
38336 l += fs.f_bavail;
38337
38338 ;
38339 return 0;
38340 }
38341 _ACEOF
38342 rm -f conftest.$ac_objext
38343 if { (ac_try="$ac_compile"
38344 case "(($ac_try" in
38345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38346 *) ac_try_echo=$ac_try;;
38347 esac
38348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38349 (eval "$ac_compile") 2>conftest.er1
38350 ac_status=$?
38351 grep -v '^ *+' conftest.er1 >conftest.err
38352 rm -f conftest.er1
38353 cat conftest.err >&5
38354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38355 (exit $ac_status); } && {
38356 test -z "$ac_c_werror_flag" ||
38357 test ! -s conftest.err
38358 } && test -s conftest.$ac_objext; then
38359 wx_cv_func_statfs=yes
38360 else
38361 echo "$as_me: failed program was:" >&5
38362 sed 's/^/| /' conftest.$ac_ext >&5
38363
38364 wx_cv_func_statfs=no
38365
38366 fi
38367
38368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38369
38370 fi
38371 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38372 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38373
38374 if test "$wx_cv_func_statfs" = "yes"; then
38375 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38376 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38377 if test "${wx_cv_func_statfs_decl+set}" = set; then
38378 echo $ECHO_N "(cached) $ECHO_C" >&6
38379 else
38380 ac_ext=cpp
38381 ac_cpp='$CXXCPP $CPPFLAGS'
38382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38385
38386 cat >conftest.$ac_ext <<_ACEOF
38387 /* confdefs.h. */
38388 _ACEOF
38389 cat confdefs.h >>conftest.$ac_ext
38390 cat >>conftest.$ac_ext <<_ACEOF
38391 /* end confdefs.h. */
38392
38393 #if defined(__BSD__)
38394 #include <sys/param.h>
38395 #include <sys/mount.h>
38396 #else
38397 #include <sys/vfs.h>
38398 #endif
38399
38400 int
38401 main ()
38402 {
38403
38404 struct statfs fs;
38405 statfs("", &fs);
38406
38407 ;
38408 return 0;
38409 }
38410 _ACEOF
38411 rm -f conftest.$ac_objext
38412 if { (ac_try="$ac_compile"
38413 case "(($ac_try" in
38414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38415 *) ac_try_echo=$ac_try;;
38416 esac
38417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38418 (eval "$ac_compile") 2>conftest.er1
38419 ac_status=$?
38420 grep -v '^ *+' conftest.er1 >conftest.err
38421 rm -f conftest.er1
38422 cat conftest.err >&5
38423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38424 (exit $ac_status); } && {
38425 test -z "$ac_cxx_werror_flag" ||
38426 test ! -s conftest.err
38427 } && test -s conftest.$ac_objext; then
38428 wx_cv_func_statfs_decl=yes
38429 else
38430 echo "$as_me: failed program was:" >&5
38431 sed 's/^/| /' conftest.$ac_ext >&5
38432
38433 wx_cv_func_statfs_decl=no
38434
38435 fi
38436
38437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38438 ac_ext=c
38439 ac_cpp='$CPP $CPPFLAGS'
38440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38443
38444
38445 fi
38446 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38447 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38448
38449 if test "$wx_cv_func_statfs_decl" = "yes"; then
38450 cat >>confdefs.h <<\_ACEOF
38451 #define HAVE_STATFS_DECL 1
38452 _ACEOF
38453
38454 fi
38455
38456 wx_cv_type_statvfs_t="struct statfs"
38457 cat >>confdefs.h <<\_ACEOF
38458 #define HAVE_STATFS 1
38459 _ACEOF
38460
38461 else
38462 { echo "$as_me:$LINENO: checking for statvfs" >&5
38463 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38464 if test "${wx_cv_func_statvfs+set}" = set; then
38465 echo $ECHO_N "(cached) $ECHO_C" >&6
38466 else
38467 cat >conftest.$ac_ext <<_ACEOF
38468 /* confdefs.h. */
38469 _ACEOF
38470 cat confdefs.h >>conftest.$ac_ext
38471 cat >>conftest.$ac_ext <<_ACEOF
38472 /* end confdefs.h. */
38473
38474 #include <stddef.h>
38475 #include <sys/statvfs.h>
38476
38477 int
38478 main ()
38479 {
38480
38481 statvfs("/", NULL);
38482
38483 ;
38484 return 0;
38485 }
38486 _ACEOF
38487 rm -f conftest.$ac_objext
38488 if { (ac_try="$ac_compile"
38489 case "(($ac_try" in
38490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38491 *) ac_try_echo=$ac_try;;
38492 esac
38493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38494 (eval "$ac_compile") 2>conftest.er1
38495 ac_status=$?
38496 grep -v '^ *+' conftest.er1 >conftest.err
38497 rm -f conftest.er1
38498 cat conftest.err >&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); } && {
38501 test -z "$ac_c_werror_flag" ||
38502 test ! -s conftest.err
38503 } && test -s conftest.$ac_objext; then
38504 wx_cv_func_statvfs=yes
38505 else
38506 echo "$as_me: failed program was:" >&5
38507 sed 's/^/| /' conftest.$ac_ext >&5
38508
38509 wx_cv_func_statvfs=no
38510
38511 fi
38512
38513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38514
38515 fi
38516 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38517 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38518
38519 if test "$wx_cv_func_statvfs" = "yes"; then
38520 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38521 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38522 if test "${wx_cv_type_statvfs_t+set}" = set; then
38523 echo $ECHO_N "(cached) $ECHO_C" >&6
38524 else
38525 ac_ext=cpp
38526 ac_cpp='$CXXCPP $CPPFLAGS'
38527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38530
38531 cat >conftest.$ac_ext <<_ACEOF
38532 /* confdefs.h. */
38533 _ACEOF
38534 cat confdefs.h >>conftest.$ac_ext
38535 cat >>conftest.$ac_ext <<_ACEOF
38536 /* end confdefs.h. */
38537
38538 #include <sys/statvfs.h>
38539
38540 int
38541 main ()
38542 {
38543
38544 long l;
38545 statvfs_t fs;
38546 statvfs("/", &fs);
38547 l = fs.f_bsize;
38548 l += fs.f_blocks;
38549 l += fs.f_bavail;
38550
38551 ;
38552 return 0;
38553 }
38554 _ACEOF
38555 rm -f conftest.$ac_objext
38556 if { (ac_try="$ac_compile"
38557 case "(($ac_try" in
38558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38559 *) ac_try_echo=$ac_try;;
38560 esac
38561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38562 (eval "$ac_compile") 2>conftest.er1
38563 ac_status=$?
38564 grep -v '^ *+' conftest.er1 >conftest.err
38565 rm -f conftest.er1
38566 cat conftest.err >&5
38567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38568 (exit $ac_status); } && {
38569 test -z "$ac_cxx_werror_flag" ||
38570 test ! -s conftest.err
38571 } && test -s conftest.$ac_objext; then
38572 wx_cv_type_statvfs_t=statvfs_t
38573 else
38574 echo "$as_me: failed program was:" >&5
38575 sed 's/^/| /' conftest.$ac_ext >&5
38576
38577
38578 cat >conftest.$ac_ext <<_ACEOF
38579 /* confdefs.h. */
38580 _ACEOF
38581 cat confdefs.h >>conftest.$ac_ext
38582 cat >>conftest.$ac_ext <<_ACEOF
38583 /* end confdefs.h. */
38584
38585 #include <sys/statvfs.h>
38586
38587 int
38588 main ()
38589 {
38590
38591 long l;
38592 struct statvfs fs;
38593 statvfs("/", &fs);
38594 l = fs.f_bsize;
38595 l += fs.f_blocks;
38596 l += fs.f_bavail;
38597
38598 ;
38599 return 0;
38600 }
38601 _ACEOF
38602 rm -f conftest.$ac_objext
38603 if { (ac_try="$ac_compile"
38604 case "(($ac_try" in
38605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38606 *) ac_try_echo=$ac_try;;
38607 esac
38608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38609 (eval "$ac_compile") 2>conftest.er1
38610 ac_status=$?
38611 grep -v '^ *+' conftest.er1 >conftest.err
38612 rm -f conftest.er1
38613 cat conftest.err >&5
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); } && {
38616 test -z "$ac_cxx_werror_flag" ||
38617 test ! -s conftest.err
38618 } && test -s conftest.$ac_objext; then
38619 wx_cv_type_statvfs_t="struct statvfs"
38620 else
38621 echo "$as_me: failed program was:" >&5
38622 sed 's/^/| /' conftest.$ac_ext >&5
38623
38624 wx_cv_type_statvfs_t="unknown"
38625
38626 fi
38627
38628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38629
38630
38631 fi
38632
38633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38634 ac_ext=c
38635 ac_cpp='$CPP $CPPFLAGS'
38636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38639
38640
38641 fi
38642 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38643 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38644
38645 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38646 cat >>confdefs.h <<\_ACEOF
38647 #define HAVE_STATVFS 1
38648 _ACEOF
38649
38650 fi
38651 else
38652 wx_cv_type_statvfs_t="unknown"
38653 fi
38654 fi
38655
38656 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38657 cat >>confdefs.h <<_ACEOF
38658 #define WX_STATFS_T $wx_cv_type_statvfs_t
38659 _ACEOF
38660
38661 else
38662 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38663 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38664 fi
38665
38666 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38667
38668
38669 for ac_func in fcntl flock
38670 do
38671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38674 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38675 echo $ECHO_N "(cached) $ECHO_C" >&6
38676 else
38677 cat >conftest.$ac_ext <<_ACEOF
38678 /* confdefs.h. */
38679 _ACEOF
38680 cat confdefs.h >>conftest.$ac_ext
38681 cat >>conftest.$ac_ext <<_ACEOF
38682 /* end confdefs.h. */
38683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38685 #define $ac_func innocuous_$ac_func
38686
38687 /* System header to define __stub macros and hopefully few prototypes,
38688 which can conflict with char $ac_func (); below.
38689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38690 <limits.h> exists even on freestanding compilers. */
38691
38692 #ifdef __STDC__
38693 # include <limits.h>
38694 #else
38695 # include <assert.h>
38696 #endif
38697
38698 #undef $ac_func
38699
38700 /* Override any GCC internal prototype to avoid an error.
38701 Use char because int might match the return type of a GCC
38702 builtin and then its argument prototype would still apply. */
38703 #ifdef __cplusplus
38704 extern "C"
38705 #endif
38706 char $ac_func ();
38707 /* The GNU C library defines this for functions which it implements
38708 to always fail with ENOSYS. Some functions are actually named
38709 something starting with __ and the normal name is an alias. */
38710 #if defined __stub_$ac_func || defined __stub___$ac_func
38711 choke me
38712 #endif
38713
38714 int
38715 main ()
38716 {
38717 return $ac_func ();
38718 ;
38719 return 0;
38720 }
38721 _ACEOF
38722 rm -f conftest.$ac_objext conftest$ac_exeext
38723 if { (ac_try="$ac_link"
38724 case "(($ac_try" in
38725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38726 *) ac_try_echo=$ac_try;;
38727 esac
38728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38729 (eval "$ac_link") 2>conftest.er1
38730 ac_status=$?
38731 grep -v '^ *+' conftest.er1 >conftest.err
38732 rm -f conftest.er1
38733 cat conftest.err >&5
38734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38735 (exit $ac_status); } && {
38736 test -z "$ac_c_werror_flag" ||
38737 test ! -s conftest.err
38738 } && test -s conftest$ac_exeext &&
38739 $as_test_x conftest$ac_exeext; then
38740 eval "$as_ac_var=yes"
38741 else
38742 echo "$as_me: failed program was:" >&5
38743 sed 's/^/| /' conftest.$ac_ext >&5
38744
38745 eval "$as_ac_var=no"
38746 fi
38747
38748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38749 conftest$ac_exeext conftest.$ac_ext
38750 fi
38751 ac_res=`eval echo '${'$as_ac_var'}'`
38752 { echo "$as_me:$LINENO: result: $ac_res" >&5
38753 echo "${ECHO_T}$ac_res" >&6; }
38754 if test `eval echo '${'$as_ac_var'}'` = yes; then
38755 cat >>confdefs.h <<_ACEOF
38756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38757 _ACEOF
38758 break
38759 fi
38760 done
38761
38762
38763 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38764 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38765 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38766 wxUSE_SNGLINST_CHECKER=no
38767 fi
38768 fi
38769
38770
38771
38772 for ac_func in setenv putenv
38773 do
38774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38775 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38777 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38778 echo $ECHO_N "(cached) $ECHO_C" >&6
38779 else
38780 cat >conftest.$ac_ext <<_ACEOF
38781 /* confdefs.h. */
38782 _ACEOF
38783 cat confdefs.h >>conftest.$ac_ext
38784 cat >>conftest.$ac_ext <<_ACEOF
38785 /* end confdefs.h. */
38786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38788 #define $ac_func innocuous_$ac_func
38789
38790 /* System header to define __stub macros and hopefully few prototypes,
38791 which can conflict with char $ac_func (); below.
38792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38793 <limits.h> exists even on freestanding compilers. */
38794
38795 #ifdef __STDC__
38796 # include <limits.h>
38797 #else
38798 # include <assert.h>
38799 #endif
38800
38801 #undef $ac_func
38802
38803 /* Override any GCC internal prototype to avoid an error.
38804 Use char because int might match the return type of a GCC
38805 builtin and then its argument prototype would still apply. */
38806 #ifdef __cplusplus
38807 extern "C"
38808 #endif
38809 char $ac_func ();
38810 /* The GNU C library defines this for functions which it implements
38811 to always fail with ENOSYS. Some functions are actually named
38812 something starting with __ and the normal name is an alias. */
38813 #if defined __stub_$ac_func || defined __stub___$ac_func
38814 choke me
38815 #endif
38816
38817 int
38818 main ()
38819 {
38820 return $ac_func ();
38821 ;
38822 return 0;
38823 }
38824 _ACEOF
38825 rm -f conftest.$ac_objext conftest$ac_exeext
38826 if { (ac_try="$ac_link"
38827 case "(($ac_try" in
38828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38829 *) ac_try_echo=$ac_try;;
38830 esac
38831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38832 (eval "$ac_link") 2>conftest.er1
38833 ac_status=$?
38834 grep -v '^ *+' conftest.er1 >conftest.err
38835 rm -f conftest.er1
38836 cat conftest.err >&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } && {
38839 test -z "$ac_c_werror_flag" ||
38840 test ! -s conftest.err
38841 } && test -s conftest$ac_exeext &&
38842 $as_test_x conftest$ac_exeext; then
38843 eval "$as_ac_var=yes"
38844 else
38845 echo "$as_me: failed program was:" >&5
38846 sed 's/^/| /' conftest.$ac_ext >&5
38847
38848 eval "$as_ac_var=no"
38849 fi
38850
38851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38852 conftest$ac_exeext conftest.$ac_ext
38853 fi
38854 ac_res=`eval echo '${'$as_ac_var'}'`
38855 { echo "$as_me:$LINENO: result: $ac_res" >&5
38856 echo "${ECHO_T}$ac_res" >&6; }
38857 if test `eval echo '${'$as_ac_var'}'` = yes; then
38858 cat >>confdefs.h <<_ACEOF
38859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38860 _ACEOF
38861 break
38862 fi
38863 done
38864
38865 if test "$ac_cv_func_setenv" = "yes"; then
38866
38867 for ac_func in unsetenv
38868 do
38869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38870 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38872 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38873 echo $ECHO_N "(cached) $ECHO_C" >&6
38874 else
38875 cat >conftest.$ac_ext <<_ACEOF
38876 /* confdefs.h. */
38877 _ACEOF
38878 cat confdefs.h >>conftest.$ac_ext
38879 cat >>conftest.$ac_ext <<_ACEOF
38880 /* end confdefs.h. */
38881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38883 #define $ac_func innocuous_$ac_func
38884
38885 /* System header to define __stub macros and hopefully few prototypes,
38886 which can conflict with char $ac_func (); below.
38887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38888 <limits.h> exists even on freestanding compilers. */
38889
38890 #ifdef __STDC__
38891 # include <limits.h>
38892 #else
38893 # include <assert.h>
38894 #endif
38895
38896 #undef $ac_func
38897
38898 /* Override any GCC internal prototype to avoid an error.
38899 Use char because int might match the return type of a GCC
38900 builtin and then its argument prototype would still apply. */
38901 #ifdef __cplusplus
38902 extern "C"
38903 #endif
38904 char $ac_func ();
38905 /* The GNU C library defines this for functions which it implements
38906 to always fail with ENOSYS. Some functions are actually named
38907 something starting with __ and the normal name is an alias. */
38908 #if defined __stub_$ac_func || defined __stub___$ac_func
38909 choke me
38910 #endif
38911
38912 int
38913 main ()
38914 {
38915 return $ac_func ();
38916 ;
38917 return 0;
38918 }
38919 _ACEOF
38920 rm -f conftest.$ac_objext conftest$ac_exeext
38921 if { (ac_try="$ac_link"
38922 case "(($ac_try" in
38923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38924 *) ac_try_echo=$ac_try;;
38925 esac
38926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38927 (eval "$ac_link") 2>conftest.er1
38928 ac_status=$?
38929 grep -v '^ *+' conftest.er1 >conftest.err
38930 rm -f conftest.er1
38931 cat conftest.err >&5
38932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933 (exit $ac_status); } && {
38934 test -z "$ac_c_werror_flag" ||
38935 test ! -s conftest.err
38936 } && test -s conftest$ac_exeext &&
38937 $as_test_x conftest$ac_exeext; then
38938 eval "$as_ac_var=yes"
38939 else
38940 echo "$as_me: failed program was:" >&5
38941 sed 's/^/| /' conftest.$ac_ext >&5
38942
38943 eval "$as_ac_var=no"
38944 fi
38945
38946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38947 conftest$ac_exeext conftest.$ac_ext
38948 fi
38949 ac_res=`eval echo '${'$as_ac_var'}'`
38950 { echo "$as_me:$LINENO: result: $ac_res" >&5
38951 echo "${ECHO_T}$ac_res" >&6; }
38952 if test `eval echo '${'$as_ac_var'}'` = yes; then
38953 cat >>confdefs.h <<_ACEOF
38954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38955 _ACEOF
38956
38957 fi
38958 done
38959
38960 fi
38961
38962 HAVE_SOME_SLEEP_FUNC=0
38963 if test "$USE_BEOS" = 1; then
38964 cat >>confdefs.h <<\_ACEOF
38965 #define HAVE_SLEEP 1
38966 _ACEOF
38967
38968 HAVE_SOME_SLEEP_FUNC=1
38969 fi
38970
38971 if test "$USE_DARWIN" = 1; then
38972 cat >>confdefs.h <<\_ACEOF
38973 #define HAVE_USLEEP 1
38974 _ACEOF
38975
38976 HAVE_SOME_SLEEP_FUNC=1
38977 fi
38978
38979 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38980 POSIX4_LINK=
38981
38982 for ac_func in nanosleep
38983 do
38984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38985 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38988 echo $ECHO_N "(cached) $ECHO_C" >&6
38989 else
38990 cat >conftest.$ac_ext <<_ACEOF
38991 /* confdefs.h. */
38992 _ACEOF
38993 cat confdefs.h >>conftest.$ac_ext
38994 cat >>conftest.$ac_ext <<_ACEOF
38995 /* end confdefs.h. */
38996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38998 #define $ac_func innocuous_$ac_func
38999
39000 /* System header to define __stub macros and hopefully few prototypes,
39001 which can conflict with char $ac_func (); below.
39002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39003 <limits.h> exists even on freestanding compilers. */
39004
39005 #ifdef __STDC__
39006 # include <limits.h>
39007 #else
39008 # include <assert.h>
39009 #endif
39010
39011 #undef $ac_func
39012
39013 /* Override any GCC internal prototype to avoid an error.
39014 Use char because int might match the return type of a GCC
39015 builtin and then its argument prototype would still apply. */
39016 #ifdef __cplusplus
39017 extern "C"
39018 #endif
39019 char $ac_func ();
39020 /* The GNU C library defines this for functions which it implements
39021 to always fail with ENOSYS. Some functions are actually named
39022 something starting with __ and the normal name is an alias. */
39023 #if defined __stub_$ac_func || defined __stub___$ac_func
39024 choke me
39025 #endif
39026
39027 int
39028 main ()
39029 {
39030 return $ac_func ();
39031 ;
39032 return 0;
39033 }
39034 _ACEOF
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (ac_try="$ac_link"
39037 case "(($ac_try" in
39038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39039 *) ac_try_echo=$ac_try;;
39040 esac
39041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39042 (eval "$ac_link") 2>conftest.er1
39043 ac_status=$?
39044 grep -v '^ *+' conftest.er1 >conftest.err
39045 rm -f conftest.er1
39046 cat conftest.err >&5
39047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39048 (exit $ac_status); } && {
39049 test -z "$ac_c_werror_flag" ||
39050 test ! -s conftest.err
39051 } && test -s conftest$ac_exeext &&
39052 $as_test_x conftest$ac_exeext; then
39053 eval "$as_ac_var=yes"
39054 else
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.$ac_ext >&5
39057
39058 eval "$as_ac_var=no"
39059 fi
39060
39061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39062 conftest$ac_exeext conftest.$ac_ext
39063 fi
39064 ac_res=`eval echo '${'$as_ac_var'}'`
39065 { echo "$as_me:$LINENO: result: $ac_res" >&5
39066 echo "${ECHO_T}$ac_res" >&6; }
39067 if test `eval echo '${'$as_ac_var'}'` = yes; then
39068 cat >>confdefs.h <<_ACEOF
39069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39070 _ACEOF
39071 cat >>confdefs.h <<\_ACEOF
39072 #define HAVE_NANOSLEEP 1
39073 _ACEOF
39074
39075 else
39076
39077 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39078 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39079 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39080 echo $ECHO_N "(cached) $ECHO_C" >&6
39081 else
39082 ac_check_lib_save_LIBS=$LIBS
39083 LIBS="-lposix4 $LIBS"
39084 cat >conftest.$ac_ext <<_ACEOF
39085 /* confdefs.h. */
39086 _ACEOF
39087 cat confdefs.h >>conftest.$ac_ext
39088 cat >>conftest.$ac_ext <<_ACEOF
39089 /* end confdefs.h. */
39090
39091 /* Override any GCC internal prototype to avoid an error.
39092 Use char because int might match the return type of a GCC
39093 builtin and then its argument prototype would still apply. */
39094 #ifdef __cplusplus
39095 extern "C"
39096 #endif
39097 char nanosleep ();
39098 int
39099 main ()
39100 {
39101 return nanosleep ();
39102 ;
39103 return 0;
39104 }
39105 _ACEOF
39106 rm -f conftest.$ac_objext conftest$ac_exeext
39107 if { (ac_try="$ac_link"
39108 case "(($ac_try" in
39109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39110 *) ac_try_echo=$ac_try;;
39111 esac
39112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39113 (eval "$ac_link") 2>conftest.er1
39114 ac_status=$?
39115 grep -v '^ *+' conftest.er1 >conftest.err
39116 rm -f conftest.er1
39117 cat conftest.err >&5
39118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119 (exit $ac_status); } && {
39120 test -z "$ac_c_werror_flag" ||
39121 test ! -s conftest.err
39122 } && test -s conftest$ac_exeext &&
39123 $as_test_x conftest$ac_exeext; then
39124 ac_cv_lib_posix4_nanosleep=yes
39125 else
39126 echo "$as_me: failed program was:" >&5
39127 sed 's/^/| /' conftest.$ac_ext >&5
39128
39129 ac_cv_lib_posix4_nanosleep=no
39130 fi
39131
39132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39133 conftest$ac_exeext conftest.$ac_ext
39134 LIBS=$ac_check_lib_save_LIBS
39135 fi
39136 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39137 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39138 if test $ac_cv_lib_posix4_nanosleep = yes; then
39139
39140 cat >>confdefs.h <<\_ACEOF
39141 #define HAVE_NANOSLEEP 1
39142 _ACEOF
39143
39144 POSIX4_LINK=" -lposix4"
39145
39146 else
39147
39148
39149 for wx_func in usleep
39150 do
39151 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39152 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39153 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39154 echo $ECHO_N "(cached) $ECHO_C" >&6
39155 else
39156
39157 cat >conftest.$ac_ext <<_ACEOF
39158
39159 /* confdefs.h. */
39160 _ACEOF
39161 cat confdefs.h >>conftest.$ac_ext
39162 cat >>conftest.$ac_ext <<_ACEOF
39163 /* end confdefs.h. */
39164
39165
39166 $ac_includes_default
39167
39168 int
39169 main ()
39170 {
39171
39172 #ifndef $wx_func
39173 &$wx_func;
39174 #endif
39175
39176
39177 ;
39178 return 0;
39179 }
39180
39181 _ACEOF
39182 rm -f conftest.$ac_objext conftest$ac_exeext
39183 if { (ac_try="$ac_link"
39184 case "(($ac_try" in
39185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39186 *) ac_try_echo=$ac_try;;
39187 esac
39188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39189 (eval "$ac_link") 2>conftest.er1
39190 ac_status=$?
39191 grep -v '^ *+' conftest.er1 >conftest.err
39192 rm -f conftest.er1
39193 cat conftest.err >&5
39194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39195 (exit $ac_status); } && {
39196 test -z "$ac_c_werror_flag" ||
39197 test ! -s conftest.err
39198 } && test -s conftest$ac_exeext &&
39199 $as_test_x conftest$ac_exeext; then
39200 eval wx_cv_func_$wx_func=yes
39201 else
39202 echo "$as_me: failed program was:" >&5
39203 sed 's/^/| /' conftest.$ac_ext >&5
39204
39205 eval wx_cv_func_$wx_func=no
39206 fi
39207
39208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39209 conftest$ac_exeext conftest.$ac_ext
39210
39211 fi
39212 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39213 { echo "$as_me:$LINENO: result: $ac_res" >&5
39214 echo "${ECHO_T}$ac_res" >&6; }
39215
39216 if eval test \$wx_cv_func_$wx_func = yes
39217 then
39218 cat >>confdefs.h <<_ACEOF
39219 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39220 _ACEOF
39221
39222
39223 else
39224 :
39225 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39226 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39227
39228 fi
39229 done
39230
39231
39232
39233 fi
39234
39235
39236
39237 fi
39238 done
39239
39240 fi
39241
39242
39243 for wx_func in uname
39244 do
39245 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39246 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39247 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39248 echo $ECHO_N "(cached) $ECHO_C" >&6
39249 else
39250
39251 cat >conftest.$ac_ext <<_ACEOF
39252
39253 /* confdefs.h. */
39254 _ACEOF
39255 cat confdefs.h >>conftest.$ac_ext
39256 cat >>conftest.$ac_ext <<_ACEOF
39257 /* end confdefs.h. */
39258
39259 #include <sys/utsname.h>
39260 $ac_includes_default
39261
39262 int
39263 main ()
39264 {
39265
39266 #ifndef $wx_func
39267 &$wx_func;
39268 #endif
39269
39270
39271 ;
39272 return 0;
39273 }
39274
39275 _ACEOF
39276 rm -f conftest.$ac_objext conftest$ac_exeext
39277 if { (ac_try="$ac_link"
39278 case "(($ac_try" in
39279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39280 *) ac_try_echo=$ac_try;;
39281 esac
39282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39283 (eval "$ac_link") 2>conftest.er1
39284 ac_status=$?
39285 grep -v '^ *+' conftest.er1 >conftest.err
39286 rm -f conftest.er1
39287 cat conftest.err >&5
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); } && {
39290 test -z "$ac_c_werror_flag" ||
39291 test ! -s conftest.err
39292 } && test -s conftest$ac_exeext &&
39293 $as_test_x conftest$ac_exeext; then
39294 eval wx_cv_func_$wx_func=yes
39295 else
39296 echo "$as_me: failed program was:" >&5
39297 sed 's/^/| /' conftest.$ac_ext >&5
39298
39299 eval wx_cv_func_$wx_func=no
39300 fi
39301
39302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39303 conftest$ac_exeext conftest.$ac_ext
39304
39305 fi
39306 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39307 { echo "$as_me:$LINENO: result: $ac_res" >&5
39308 echo "${ECHO_T}$ac_res" >&6; }
39309
39310 if eval test \$wx_cv_func_$wx_func = yes
39311 then
39312 cat >>confdefs.h <<_ACEOF
39313 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39314 _ACEOF
39315
39316
39317 else
39318 :
39319
39320 fi
39321 done
39322
39323 if test "$wx_cv_func_uname" != yes; then
39324
39325 for wx_func in gethostname
39326 do
39327 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39328 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39329 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39330 echo $ECHO_N "(cached) $ECHO_C" >&6
39331 else
39332
39333 cat >conftest.$ac_ext <<_ACEOF
39334
39335 /* confdefs.h. */
39336 _ACEOF
39337 cat confdefs.h >>conftest.$ac_ext
39338 cat >>conftest.$ac_ext <<_ACEOF
39339 /* end confdefs.h. */
39340
39341
39342 $ac_includes_default
39343
39344 int
39345 main ()
39346 {
39347
39348 #ifndef $wx_func
39349 &$wx_func;
39350 #endif
39351
39352
39353 ;
39354 return 0;
39355 }
39356
39357 _ACEOF
39358 rm -f conftest.$ac_objext conftest$ac_exeext
39359 if { (ac_try="$ac_link"
39360 case "(($ac_try" in
39361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39362 *) ac_try_echo=$ac_try;;
39363 esac
39364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39365 (eval "$ac_link") 2>conftest.er1
39366 ac_status=$?
39367 grep -v '^ *+' conftest.er1 >conftest.err
39368 rm -f conftest.er1
39369 cat conftest.err >&5
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); } && {
39372 test -z "$ac_c_werror_flag" ||
39373 test ! -s conftest.err
39374 } && test -s conftest$ac_exeext &&
39375 $as_test_x conftest$ac_exeext; then
39376 eval wx_cv_func_$wx_func=yes
39377 else
39378 echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.$ac_ext >&5
39380
39381 eval wx_cv_func_$wx_func=no
39382 fi
39383
39384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39385 conftest$ac_exeext conftest.$ac_ext
39386
39387 fi
39388 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39389 { echo "$as_me:$LINENO: result: $ac_res" >&5
39390 echo "${ECHO_T}$ac_res" >&6; }
39391
39392 if eval test \$wx_cv_func_$wx_func = yes
39393 then
39394 cat >>confdefs.h <<_ACEOF
39395 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39396 _ACEOF
39397
39398
39399 else
39400 :
39401
39402 fi
39403 done
39404
39405 fi
39406
39407
39408 for wx_func in strtok_r
39409 do
39410 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39411 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39412 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39413 echo $ECHO_N "(cached) $ECHO_C" >&6
39414 else
39415
39416 cat >conftest.$ac_ext <<_ACEOF
39417
39418 /* confdefs.h. */
39419 _ACEOF
39420 cat confdefs.h >>conftest.$ac_ext
39421 cat >>conftest.$ac_ext <<_ACEOF
39422 /* end confdefs.h. */
39423
39424 #define _REENTRANT
39425 $ac_includes_default
39426
39427 int
39428 main ()
39429 {
39430
39431 #ifndef $wx_func
39432 &$wx_func;
39433 #endif
39434
39435
39436 ;
39437 return 0;
39438 }
39439
39440 _ACEOF
39441 rm -f conftest.$ac_objext conftest$ac_exeext
39442 if { (ac_try="$ac_link"
39443 case "(($ac_try" in
39444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39445 *) ac_try_echo=$ac_try;;
39446 esac
39447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39448 (eval "$ac_link") 2>conftest.er1
39449 ac_status=$?
39450 grep -v '^ *+' conftest.er1 >conftest.err
39451 rm -f conftest.er1
39452 cat conftest.err >&5
39453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39454 (exit $ac_status); } && {
39455 test -z "$ac_c_werror_flag" ||
39456 test ! -s conftest.err
39457 } && test -s conftest$ac_exeext &&
39458 $as_test_x conftest$ac_exeext; then
39459 eval wx_cv_func_$wx_func=yes
39460 else
39461 echo "$as_me: failed program was:" >&5
39462 sed 's/^/| /' conftest.$ac_ext >&5
39463
39464 eval wx_cv_func_$wx_func=no
39465 fi
39466
39467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39468 conftest$ac_exeext conftest.$ac_ext
39469
39470 fi
39471 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39472 { echo "$as_me:$LINENO: result: $ac_res" >&5
39473 echo "${ECHO_T}$ac_res" >&6; }
39474
39475 if eval test \$wx_cv_func_$wx_func = yes
39476 then
39477 cat >>confdefs.h <<_ACEOF
39478 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39479 _ACEOF
39480
39481
39482 else
39483 :
39484
39485 fi
39486 done
39487
39488
39489 INET_LINK=
39490
39491 for ac_func in inet_addr
39492 do
39493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39494 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39496 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39497 echo $ECHO_N "(cached) $ECHO_C" >&6
39498 else
39499 cat >conftest.$ac_ext <<_ACEOF
39500 /* confdefs.h. */
39501 _ACEOF
39502 cat confdefs.h >>conftest.$ac_ext
39503 cat >>conftest.$ac_ext <<_ACEOF
39504 /* end confdefs.h. */
39505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39507 #define $ac_func innocuous_$ac_func
39508
39509 /* System header to define __stub macros and hopefully few prototypes,
39510 which can conflict with char $ac_func (); below.
39511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39512 <limits.h> exists even on freestanding compilers. */
39513
39514 #ifdef __STDC__
39515 # include <limits.h>
39516 #else
39517 # include <assert.h>
39518 #endif
39519
39520 #undef $ac_func
39521
39522 /* Override any GCC internal prototype to avoid an error.
39523 Use char because int might match the return type of a GCC
39524 builtin and then its argument prototype would still apply. */
39525 #ifdef __cplusplus
39526 extern "C"
39527 #endif
39528 char $ac_func ();
39529 /* The GNU C library defines this for functions which it implements
39530 to always fail with ENOSYS. Some functions are actually named
39531 something starting with __ and the normal name is an alias. */
39532 #if defined __stub_$ac_func || defined __stub___$ac_func
39533 choke me
39534 #endif
39535
39536 int
39537 main ()
39538 {
39539 return $ac_func ();
39540 ;
39541 return 0;
39542 }
39543 _ACEOF
39544 rm -f conftest.$ac_objext conftest$ac_exeext
39545 if { (ac_try="$ac_link"
39546 case "(($ac_try" in
39547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39548 *) ac_try_echo=$ac_try;;
39549 esac
39550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39551 (eval "$ac_link") 2>conftest.er1
39552 ac_status=$?
39553 grep -v '^ *+' conftest.er1 >conftest.err
39554 rm -f conftest.er1
39555 cat conftest.err >&5
39556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39557 (exit $ac_status); } && {
39558 test -z "$ac_c_werror_flag" ||
39559 test ! -s conftest.err
39560 } && test -s conftest$ac_exeext &&
39561 $as_test_x conftest$ac_exeext; then
39562 eval "$as_ac_var=yes"
39563 else
39564 echo "$as_me: failed program was:" >&5
39565 sed 's/^/| /' conftest.$ac_ext >&5
39566
39567 eval "$as_ac_var=no"
39568 fi
39569
39570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39571 conftest$ac_exeext conftest.$ac_ext
39572 fi
39573 ac_res=`eval echo '${'$as_ac_var'}'`
39574 { echo "$as_me:$LINENO: result: $ac_res" >&5
39575 echo "${ECHO_T}$ac_res" >&6; }
39576 if test `eval echo '${'$as_ac_var'}'` = yes; then
39577 cat >>confdefs.h <<_ACEOF
39578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39579 _ACEOF
39580 cat >>confdefs.h <<\_ACEOF
39581 #define HAVE_INET_ADDR 1
39582 _ACEOF
39583
39584 else
39585
39586 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39587 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39588 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39589 echo $ECHO_N "(cached) $ECHO_C" >&6
39590 else
39591 ac_check_lib_save_LIBS=$LIBS
39592 LIBS="-lnsl $LIBS"
39593 cat >conftest.$ac_ext <<_ACEOF
39594 /* confdefs.h. */
39595 _ACEOF
39596 cat confdefs.h >>conftest.$ac_ext
39597 cat >>conftest.$ac_ext <<_ACEOF
39598 /* end confdefs.h. */
39599
39600 /* Override any GCC internal prototype to avoid an error.
39601 Use char because int might match the return type of a GCC
39602 builtin and then its argument prototype would still apply. */
39603 #ifdef __cplusplus
39604 extern "C"
39605 #endif
39606 char inet_addr ();
39607 int
39608 main ()
39609 {
39610 return inet_addr ();
39611 ;
39612 return 0;
39613 }
39614 _ACEOF
39615 rm -f conftest.$ac_objext conftest$ac_exeext
39616 if { (ac_try="$ac_link"
39617 case "(($ac_try" in
39618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39619 *) ac_try_echo=$ac_try;;
39620 esac
39621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39622 (eval "$ac_link") 2>conftest.er1
39623 ac_status=$?
39624 grep -v '^ *+' conftest.er1 >conftest.err
39625 rm -f conftest.er1
39626 cat conftest.err >&5
39627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39628 (exit $ac_status); } && {
39629 test -z "$ac_c_werror_flag" ||
39630 test ! -s conftest.err
39631 } && test -s conftest$ac_exeext &&
39632 $as_test_x conftest$ac_exeext; then
39633 ac_cv_lib_nsl_inet_addr=yes
39634 else
39635 echo "$as_me: failed program was:" >&5
39636 sed 's/^/| /' conftest.$ac_ext >&5
39637
39638 ac_cv_lib_nsl_inet_addr=no
39639 fi
39640
39641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39642 conftest$ac_exeext conftest.$ac_ext
39643 LIBS=$ac_check_lib_save_LIBS
39644 fi
39645 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39646 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39647 if test $ac_cv_lib_nsl_inet_addr = yes; then
39648 INET_LINK="nsl"
39649 else
39650
39651 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39652 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39653 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39654 echo $ECHO_N "(cached) $ECHO_C" >&6
39655 else
39656 ac_check_lib_save_LIBS=$LIBS
39657 LIBS="-lresolv $LIBS"
39658 cat >conftest.$ac_ext <<_ACEOF
39659 /* confdefs.h. */
39660 _ACEOF
39661 cat confdefs.h >>conftest.$ac_ext
39662 cat >>conftest.$ac_ext <<_ACEOF
39663 /* end confdefs.h. */
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 inet_addr ();
39672 int
39673 main ()
39674 {
39675 return inet_addr ();
39676 ;
39677 return 0;
39678 }
39679 _ACEOF
39680 rm -f conftest.$ac_objext conftest$ac_exeext
39681 if { (ac_try="$ac_link"
39682 case "(($ac_try" in
39683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39684 *) ac_try_echo=$ac_try;;
39685 esac
39686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39687 (eval "$ac_link") 2>conftest.er1
39688 ac_status=$?
39689 grep -v '^ *+' conftest.er1 >conftest.err
39690 rm -f conftest.er1
39691 cat conftest.err >&5
39692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39693 (exit $ac_status); } && {
39694 test -z "$ac_c_werror_flag" ||
39695 test ! -s conftest.err
39696 } && test -s conftest$ac_exeext &&
39697 $as_test_x conftest$ac_exeext; then
39698 ac_cv_lib_resolv_inet_addr=yes
39699 else
39700 echo "$as_me: failed program was:" >&5
39701 sed 's/^/| /' conftest.$ac_ext >&5
39702
39703 ac_cv_lib_resolv_inet_addr=no
39704 fi
39705
39706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39707 conftest$ac_exeext conftest.$ac_ext
39708 LIBS=$ac_check_lib_save_LIBS
39709 fi
39710 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39711 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39712 if test $ac_cv_lib_resolv_inet_addr = yes; then
39713 INET_LINK="resolv"
39714 else
39715
39716 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39717 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39718 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39720 else
39721 ac_check_lib_save_LIBS=$LIBS
39722 LIBS="-lsocket $LIBS"
39723 cat >conftest.$ac_ext <<_ACEOF
39724 /* confdefs.h. */
39725 _ACEOF
39726 cat confdefs.h >>conftest.$ac_ext
39727 cat >>conftest.$ac_ext <<_ACEOF
39728 /* end confdefs.h. */
39729
39730 /* Override any GCC internal prototype to avoid an error.
39731 Use char because int might match the return type of a GCC
39732 builtin and then its argument prototype would still apply. */
39733 #ifdef __cplusplus
39734 extern "C"
39735 #endif
39736 char inet_addr ();
39737 int
39738 main ()
39739 {
39740 return inet_addr ();
39741 ;
39742 return 0;
39743 }
39744 _ACEOF
39745 rm -f conftest.$ac_objext conftest$ac_exeext
39746 if { (ac_try="$ac_link"
39747 case "(($ac_try" in
39748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39749 *) ac_try_echo=$ac_try;;
39750 esac
39751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39752 (eval "$ac_link") 2>conftest.er1
39753 ac_status=$?
39754 grep -v '^ *+' conftest.er1 >conftest.err
39755 rm -f conftest.er1
39756 cat conftest.err >&5
39757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39758 (exit $ac_status); } && {
39759 test -z "$ac_c_werror_flag" ||
39760 test ! -s conftest.err
39761 } && test -s conftest$ac_exeext &&
39762 $as_test_x conftest$ac_exeext; then
39763 ac_cv_lib_socket_inet_addr=yes
39764 else
39765 echo "$as_me: failed program was:" >&5
39766 sed 's/^/| /' conftest.$ac_ext >&5
39767
39768 ac_cv_lib_socket_inet_addr=no
39769 fi
39770
39771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39772 conftest$ac_exeext conftest.$ac_ext
39773 LIBS=$ac_check_lib_save_LIBS
39774 fi
39775 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39776 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39777 if test $ac_cv_lib_socket_inet_addr = yes; then
39778 INET_LINK="socket"
39779
39780 fi
39781
39782
39783
39784 fi
39785
39786
39787
39788 fi
39789
39790
39791
39792 fi
39793 done
39794
39795
39796
39797 for ac_func in inet_aton
39798 do
39799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39800 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39803 echo $ECHO_N "(cached) $ECHO_C" >&6
39804 else
39805 cat >conftest.$ac_ext <<_ACEOF
39806 /* confdefs.h. */
39807 _ACEOF
39808 cat confdefs.h >>conftest.$ac_ext
39809 cat >>conftest.$ac_ext <<_ACEOF
39810 /* end confdefs.h. */
39811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39813 #define $ac_func innocuous_$ac_func
39814
39815 /* System header to define __stub macros and hopefully few prototypes,
39816 which can conflict with char $ac_func (); below.
39817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39818 <limits.h> exists even on freestanding compilers. */
39819
39820 #ifdef __STDC__
39821 # include <limits.h>
39822 #else
39823 # include <assert.h>
39824 #endif
39825
39826 #undef $ac_func
39827
39828 /* Override any GCC internal prototype to avoid an error.
39829 Use char because int might match the return type of a GCC
39830 builtin and then its argument prototype would still apply. */
39831 #ifdef __cplusplus
39832 extern "C"
39833 #endif
39834 char $ac_func ();
39835 /* The GNU C library defines this for functions which it implements
39836 to always fail with ENOSYS. Some functions are actually named
39837 something starting with __ and the normal name is an alias. */
39838 #if defined __stub_$ac_func || defined __stub___$ac_func
39839 choke me
39840 #endif
39841
39842 int
39843 main ()
39844 {
39845 return $ac_func ();
39846 ;
39847 return 0;
39848 }
39849 _ACEOF
39850 rm -f conftest.$ac_objext conftest$ac_exeext
39851 if { (ac_try="$ac_link"
39852 case "(($ac_try" in
39853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39854 *) ac_try_echo=$ac_try;;
39855 esac
39856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39857 (eval "$ac_link") 2>conftest.er1
39858 ac_status=$?
39859 grep -v '^ *+' conftest.er1 >conftest.err
39860 rm -f conftest.er1
39861 cat conftest.err >&5
39862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39863 (exit $ac_status); } && {
39864 test -z "$ac_c_werror_flag" ||
39865 test ! -s conftest.err
39866 } && test -s conftest$ac_exeext &&
39867 $as_test_x conftest$ac_exeext; then
39868 eval "$as_ac_var=yes"
39869 else
39870 echo "$as_me: failed program was:" >&5
39871 sed 's/^/| /' conftest.$ac_ext >&5
39872
39873 eval "$as_ac_var=no"
39874 fi
39875
39876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39877 conftest$ac_exeext conftest.$ac_ext
39878 fi
39879 ac_res=`eval echo '${'$as_ac_var'}'`
39880 { echo "$as_me:$LINENO: result: $ac_res" >&5
39881 echo "${ECHO_T}$ac_res" >&6; }
39882 if test `eval echo '${'$as_ac_var'}'` = yes; then
39883 cat >>confdefs.h <<_ACEOF
39884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39885 _ACEOF
39886 cat >>confdefs.h <<\_ACEOF
39887 #define HAVE_INET_ATON 1
39888 _ACEOF
39889
39890 else
39891
39892 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39893 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39894 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39895 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39896 echo $ECHO_N "(cached) $ECHO_C" >&6
39897 else
39898 ac_check_lib_save_LIBS=$LIBS
39899 LIBS="-l$INET_LINK $LIBS"
39900 cat >conftest.$ac_ext <<_ACEOF
39901 /* confdefs.h. */
39902 _ACEOF
39903 cat confdefs.h >>conftest.$ac_ext
39904 cat >>conftest.$ac_ext <<_ACEOF
39905 /* end confdefs.h. */
39906
39907 /* Override any GCC internal prototype to avoid an error.
39908 Use char because int might match the return type of a GCC
39909 builtin and then its argument prototype would still apply. */
39910 #ifdef __cplusplus
39911 extern "C"
39912 #endif
39913 char inet_aton ();
39914 int
39915 main ()
39916 {
39917 return inet_aton ();
39918 ;
39919 return 0;
39920 }
39921 _ACEOF
39922 rm -f conftest.$ac_objext conftest$ac_exeext
39923 if { (ac_try="$ac_link"
39924 case "(($ac_try" in
39925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39926 *) ac_try_echo=$ac_try;;
39927 esac
39928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39929 (eval "$ac_link") 2>conftest.er1
39930 ac_status=$?
39931 grep -v '^ *+' conftest.er1 >conftest.err
39932 rm -f conftest.er1
39933 cat conftest.err >&5
39934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39935 (exit $ac_status); } && {
39936 test -z "$ac_c_werror_flag" ||
39937 test ! -s conftest.err
39938 } && test -s conftest$ac_exeext &&
39939 $as_test_x conftest$ac_exeext; then
39940 eval "$as_ac_Lib=yes"
39941 else
39942 echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.$ac_ext >&5
39944
39945 eval "$as_ac_Lib=no"
39946 fi
39947
39948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39949 conftest$ac_exeext conftest.$ac_ext
39950 LIBS=$ac_check_lib_save_LIBS
39951 fi
39952 ac_res=`eval echo '${'$as_ac_Lib'}'`
39953 { echo "$as_me:$LINENO: result: $ac_res" >&5
39954 echo "${ECHO_T}$ac_res" >&6; }
39955 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39956 cat >>confdefs.h <<\_ACEOF
39957 #define HAVE_INET_ATON 1
39958 _ACEOF
39959
39960 fi
39961
39962
39963 fi
39964 done
39965
39966
39967 if test "x$INET_LINK" != "x"; then
39968 cat >>confdefs.h <<\_ACEOF
39969 #define HAVE_INET_ADDR 1
39970 _ACEOF
39971
39972 INET_LINK=" -l$INET_LINK"
39973 fi
39974
39975
39976 for wx_func in fdopen
39977 do
39978 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39979 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39980 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39981 echo $ECHO_N "(cached) $ECHO_C" >&6
39982 else
39983
39984 cat >conftest.$ac_ext <<_ACEOF
39985
39986 /* confdefs.h. */
39987 _ACEOF
39988 cat confdefs.h >>conftest.$ac_ext
39989 cat >>conftest.$ac_ext <<_ACEOF
39990 /* end confdefs.h. */
39991
39992
39993 $ac_includes_default
39994
39995 int
39996 main ()
39997 {
39998
39999 #ifndef $wx_func
40000 &$wx_func;
40001 #endif
40002
40003
40004 ;
40005 return 0;
40006 }
40007
40008 _ACEOF
40009 rm -f conftest.$ac_objext conftest$ac_exeext
40010 if { (ac_try="$ac_link"
40011 case "(($ac_try" in
40012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40013 *) ac_try_echo=$ac_try;;
40014 esac
40015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40016 (eval "$ac_link") 2>conftest.er1
40017 ac_status=$?
40018 grep -v '^ *+' conftest.er1 >conftest.err
40019 rm -f conftest.er1
40020 cat conftest.err >&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); } && {
40023 test -z "$ac_c_werror_flag" ||
40024 test ! -s conftest.err
40025 } && test -s conftest$ac_exeext &&
40026 $as_test_x conftest$ac_exeext; then
40027 eval wx_cv_func_$wx_func=yes
40028 else
40029 echo "$as_me: failed program was:" >&5
40030 sed 's/^/| /' conftest.$ac_ext >&5
40031
40032 eval wx_cv_func_$wx_func=no
40033 fi
40034
40035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40036 conftest$ac_exeext conftest.$ac_ext
40037
40038 fi
40039 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40040 { echo "$as_me:$LINENO: result: $ac_res" >&5
40041 echo "${ECHO_T}$ac_res" >&6; }
40042
40043 if eval test \$wx_cv_func_$wx_func = yes
40044 then
40045 cat >>confdefs.h <<_ACEOF
40046 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40047 _ACEOF
40048
40049
40050 else
40051 :
40052
40053 fi
40054 done
40055
40056
40057 if test "$wxUSE_TARSTREAM" = "yes"; then
40058
40059 for wx_func in sysconf
40060 do
40061 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40062 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40063 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40064 echo $ECHO_N "(cached) $ECHO_C" >&6
40065 else
40066
40067 cat >conftest.$ac_ext <<_ACEOF
40068
40069 /* confdefs.h. */
40070 _ACEOF
40071 cat confdefs.h >>conftest.$ac_ext
40072 cat >>conftest.$ac_ext <<_ACEOF
40073 /* end confdefs.h. */
40074
40075
40076 $ac_includes_default
40077
40078 int
40079 main ()
40080 {
40081
40082 #ifndef $wx_func
40083 &$wx_func;
40084 #endif
40085
40086
40087 ;
40088 return 0;
40089 }
40090
40091 _ACEOF
40092 rm -f conftest.$ac_objext conftest$ac_exeext
40093 if { (ac_try="$ac_link"
40094 case "(($ac_try" in
40095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40096 *) ac_try_echo=$ac_try;;
40097 esac
40098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40099 (eval "$ac_link") 2>conftest.er1
40100 ac_status=$?
40101 grep -v '^ *+' conftest.er1 >conftest.err
40102 rm -f conftest.er1
40103 cat conftest.err >&5
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); } && {
40106 test -z "$ac_c_werror_flag" ||
40107 test ! -s conftest.err
40108 } && test -s conftest$ac_exeext &&
40109 $as_test_x conftest$ac_exeext; then
40110 eval wx_cv_func_$wx_func=yes
40111 else
40112 echo "$as_me: failed program was:" >&5
40113 sed 's/^/| /' conftest.$ac_ext >&5
40114
40115 eval wx_cv_func_$wx_func=no
40116 fi
40117
40118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40119 conftest$ac_exeext conftest.$ac_ext
40120
40121 fi
40122 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40123 { echo "$as_me:$LINENO: result: $ac_res" >&5
40124 echo "${ECHO_T}$ac_res" >&6; }
40125
40126 if eval test \$wx_cv_func_$wx_func = yes
40127 then
40128 cat >>confdefs.h <<_ACEOF
40129 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40130 _ACEOF
40131
40132
40133 else
40134 :
40135
40136 fi
40137 done
40138
40139
40140
40141 for wx_func in getpwuid_r
40142 do
40143 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40144 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40145 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40146 echo $ECHO_N "(cached) $ECHO_C" >&6
40147 else
40148
40149 cat >conftest.$ac_ext <<_ACEOF
40150
40151 /* confdefs.h. */
40152 _ACEOF
40153 cat confdefs.h >>conftest.$ac_ext
40154 cat >>conftest.$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40156
40157
40158 #define _REENTRANT
40159 #include <pwd.h>
40160
40161 $ac_includes_default
40162
40163 int
40164 main ()
40165 {
40166
40167 #ifndef $wx_func
40168 &$wx_func;
40169 #endif
40170
40171 struct passwd pw, *ppw;
40172 char buf[1024];
40173 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40174
40175
40176 ;
40177 return 0;
40178 }
40179
40180 _ACEOF
40181 rm -f conftest.$ac_objext conftest$ac_exeext
40182 if { (ac_try="$ac_link"
40183 case "(($ac_try" in
40184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40185 *) ac_try_echo=$ac_try;;
40186 esac
40187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40188 (eval "$ac_link") 2>conftest.er1
40189 ac_status=$?
40190 grep -v '^ *+' conftest.er1 >conftest.err
40191 rm -f conftest.er1
40192 cat conftest.err >&5
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); } && {
40195 test -z "$ac_c_werror_flag" ||
40196 test ! -s conftest.err
40197 } && test -s conftest$ac_exeext &&
40198 $as_test_x conftest$ac_exeext; then
40199 eval wx_cv_func_$wx_func=yes
40200 else
40201 echo "$as_me: failed program was:" >&5
40202 sed 's/^/| /' conftest.$ac_ext >&5
40203
40204 eval wx_cv_func_$wx_func=no
40205 fi
40206
40207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40208 conftest$ac_exeext conftest.$ac_ext
40209
40210 fi
40211 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40212 { echo "$as_me:$LINENO: result: $ac_res" >&5
40213 echo "${ECHO_T}$ac_res" >&6; }
40214
40215 if eval test \$wx_cv_func_$wx_func = yes
40216 then
40217 cat >>confdefs.h <<_ACEOF
40218 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40219 _ACEOF
40220
40221
40222 else
40223 :
40224
40225 fi
40226 done
40227
40228
40229
40230 for wx_func in getgrgid_r
40231 do
40232 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40233 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40234 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40235 echo $ECHO_N "(cached) $ECHO_C" >&6
40236 else
40237
40238 cat >conftest.$ac_ext <<_ACEOF
40239
40240 /* confdefs.h. */
40241 _ACEOF
40242 cat confdefs.h >>conftest.$ac_ext
40243 cat >>conftest.$ac_ext <<_ACEOF
40244 /* end confdefs.h. */
40245
40246
40247 #define _REENTRANT
40248 #include <grp.h>
40249
40250 $ac_includes_default
40251
40252 int
40253 main ()
40254 {
40255
40256 #ifndef $wx_func
40257 &$wx_func;
40258 #endif
40259
40260 struct group grp, *pgrp;
40261 char buf[1024];
40262 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40263
40264
40265 ;
40266 return 0;
40267 }
40268
40269 _ACEOF
40270 rm -f conftest.$ac_objext conftest$ac_exeext
40271 if { (ac_try="$ac_link"
40272 case "(($ac_try" in
40273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40274 *) ac_try_echo=$ac_try;;
40275 esac
40276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40277 (eval "$ac_link") 2>conftest.er1
40278 ac_status=$?
40279 grep -v '^ *+' conftest.er1 >conftest.err
40280 rm -f conftest.er1
40281 cat conftest.err >&5
40282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40283 (exit $ac_status); } && {
40284 test -z "$ac_c_werror_flag" ||
40285 test ! -s conftest.err
40286 } && test -s conftest$ac_exeext &&
40287 $as_test_x conftest$ac_exeext; then
40288 eval wx_cv_func_$wx_func=yes
40289 else
40290 echo "$as_me: failed program was:" >&5
40291 sed 's/^/| /' conftest.$ac_ext >&5
40292
40293 eval wx_cv_func_$wx_func=no
40294 fi
40295
40296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40297 conftest$ac_exeext conftest.$ac_ext
40298
40299 fi
40300 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40301 { echo "$as_me:$LINENO: result: $ac_res" >&5
40302 echo "${ECHO_T}$ac_res" >&6; }
40303
40304 if eval test \$wx_cv_func_$wx_func = yes
40305 then
40306 cat >>confdefs.h <<_ACEOF
40307 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40308 _ACEOF
40309
40310
40311 else
40312 :
40313
40314 fi
40315 done
40316
40317 fi
40318
40319 fi
40320
40321
40322
40323 cat >confcache <<\_ACEOF
40324 # This file is a shell script that caches the results of configure
40325 # tests run on this system so they can be shared between configure
40326 # scripts and configure runs, see configure's option --config-cache.
40327 # It is not useful on other systems. If it contains results you don't
40328 # want to keep, you may remove or edit it.
40329 #
40330 # config.status only pays attention to the cache file if you give it
40331 # the --recheck option to rerun configure.
40332 #
40333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40335 # following values.
40336
40337 _ACEOF
40338
40339 # The following way of writing the cache mishandles newlines in values,
40340 # but we know of no workaround that is simple, portable, and efficient.
40341 # So, we kill variables containing newlines.
40342 # Ultrix sh set writes to stderr and can't be redirected directly,
40343 # and sets the high bit in the cache file unless we assign to the vars.
40344 (
40345 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40346 eval ac_val=\$$ac_var
40347 case $ac_val in #(
40348 *${as_nl}*)
40349 case $ac_var in #(
40350 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40351 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40352 esac
40353 case $ac_var in #(
40354 _ | IFS | as_nl) ;; #(
40355 *) $as_unset $ac_var ;;
40356 esac ;;
40357 esac
40358 done
40359
40360 (set) 2>&1 |
40361 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40362 *${as_nl}ac_space=\ *)
40363 # `set' does not quote correctly, so add quotes (double-quote
40364 # substitution turns \\\\ into \\, and sed turns \\ into \).
40365 sed -n \
40366 "s/'/'\\\\''/g;
40367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40368 ;; #(
40369 *)
40370 # `set' quotes correctly as required by POSIX, so do not add quotes.
40371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40372 ;;
40373 esac |
40374 sort
40375 ) |
40376 sed '
40377 /^ac_cv_env_/b end
40378 t clear
40379 :clear
40380 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40381 t end
40382 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40383 :end' >>confcache
40384 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40385 if test -w "$cache_file"; then
40386 test "x$cache_file" != "x/dev/null" &&
40387 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40388 echo "$as_me: updating cache $cache_file" >&6;}
40389 cat confcache >$cache_file
40390 else
40391 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40392 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40393 fi
40394 fi
40395 rm -f confcache
40396
40397
40398 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40399
40400
40401 THREADS_LINK=
40402 THREADS_CFLAGS=
40403
40404 if test "$wxUSE_THREADS" = "yes" ; then
40405 if test "$USE_BEOS" = 1; then
40406 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40407 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40408 wxUSE_THREADS="no"
40409 fi
40410 fi
40411
40412 if test "$wxUSE_THREADS" = "yes" ; then
40413
40414
40415 THREAD_OPTS="-pthread"
40416 if test "x$SUNCXX" = xyes; then
40417 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40418 fi
40419
40420 case "${host}" in
40421 *-*-solaris2* | *-*-sunos4* )
40422 if test "x$GCC" = "xyes"; then
40423 THREAD_OPTS="-pthreads $THREAD_OPTS"
40424 fi
40425 ;;
40426 *-*-freebsd*)
40427 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40428 ;;
40429 *-*-darwin* | *-*-cygwin* )
40430 THREAD_OPTS=""
40431 ;;
40432 *-*-aix*)
40433 THREAD_OPTS="pthreads"
40434 ;;
40435 *-hp-hpux* )
40436 if test "x$GCC" = "xyes"; then
40437 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40438 THREAD_OPTS=""
40439 else
40440 THREAD_OPTS="-mt"
40441 fi
40442 ;;
40443
40444 *-*-irix* )
40445 if test "x$GCC" = "xyes"; then
40446 THREAD_OPTS=""
40447 fi
40448 ;;
40449
40450 *-*-qnx*)
40451 THREAD_OPTS=""
40452 ;;
40453
40454 *-*-*UnixWare*)
40455 if test "x$GCC" != "xyes"; then
40456 THREAD_OPTS="-Ethread"
40457 fi
40458 ;;
40459 esac
40460
40461 case "${host}" in
40462 *-*-qnx*)
40463 THREAD_OPTS="none pthread"
40464 ;;
40465
40466 *)
40467 THREAD_OPTS="$THREAD_OPTS pthread none"
40468 ;;
40469 esac
40470
40471 THREADS_OK=no
40472 for flag in $THREAD_OPTS; do
40473 case $flag in
40474 none)
40475 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40476 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40477 ;;
40478
40479 -*)
40480 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40481 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40482 THREADS_CFLAGS="$flag"
40483 ;;
40484
40485 *)
40486 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40487 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40488 THREADS_LINK="-l$flag"
40489 ;;
40490 esac
40491
40492 save_LIBS="$LIBS"
40493 save_CFLAGS="$CFLAGS"
40494 LIBS="$THREADS_LINK $LIBS"
40495 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40496
40497 cat >conftest.$ac_ext <<_ACEOF
40498 /* confdefs.h. */
40499 _ACEOF
40500 cat confdefs.h >>conftest.$ac_ext
40501 cat >>conftest.$ac_ext <<_ACEOF
40502 /* end confdefs.h. */
40503 #include <pthread.h>
40504 int
40505 main ()
40506 {
40507 pthread_create(0,0,0,0);
40508 ;
40509 return 0;
40510 }
40511 _ACEOF
40512 rm -f conftest.$ac_objext conftest$ac_exeext
40513 if { (ac_try="$ac_link"
40514 case "(($ac_try" in
40515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40516 *) ac_try_echo=$ac_try;;
40517 esac
40518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40519 (eval "$ac_link") 2>conftest.er1
40520 ac_status=$?
40521 grep -v '^ *+' conftest.er1 >conftest.err
40522 rm -f conftest.er1
40523 cat conftest.err >&5
40524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40525 (exit $ac_status); } && {
40526 test -z "$ac_c_werror_flag" ||
40527 test ! -s conftest.err
40528 } && test -s conftest$ac_exeext &&
40529 $as_test_x conftest$ac_exeext; then
40530 THREADS_OK=yes
40531 else
40532 echo "$as_me: failed program was:" >&5
40533 sed 's/^/| /' conftest.$ac_ext >&5
40534
40535
40536 fi
40537
40538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40539 conftest$ac_exeext conftest.$ac_ext
40540
40541 LIBS="$save_LIBS"
40542 CFLAGS="$save_CFLAGS"
40543
40544 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40545 echo "${ECHO_T}$THREADS_OK" >&6; }
40546 if test "x$THREADS_OK" = "xyes"; then
40547 break;
40548 fi
40549
40550 THREADS_LINK=""
40551 THREADS_CFLAGS=""
40552 done
40553
40554 if test "x$THREADS_OK" != "xyes"; then
40555 wxUSE_THREADS=no
40556 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40557 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40558 else
40559 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40560 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40561 LIBS="$THREADS_LINK $LIBS"
40562
40563 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40564 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40565 flag=no
40566 case "${host}" in
40567 *-aix*)
40568 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40569 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40570 flag="-D_THREAD_SAFE"
40571 ;;
40572 *-freebsd*)
40573 flag="-D_THREAD_SAFE"
40574 ;;
40575 *-hp-hpux* )
40576 flag="-D_REENTRANT"
40577 if test "x$GCC" != "xyes"; then
40578 flag="$flag -D_RWSTD_MULTI_THREAD"
40579 fi
40580 ;;
40581 *solaris* | alpha*-osf*)
40582 flag="-D_REENTRANT"
40583 ;;
40584 esac
40585 { echo "$as_me:$LINENO: result: ${flag}" >&5
40586 echo "${ECHO_T}${flag}" >&6; }
40587 if test "x$flag" != xno; then
40588 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40589 fi
40590
40591 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40592 fi
40593 fi
40594
40595 if test "$wxUSE_THREADS" = "yes" ; then
40596
40597 for ac_func in thr_setconcurrency
40598 do
40599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40600 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40603 echo $ECHO_N "(cached) $ECHO_C" >&6
40604 else
40605 cat >conftest.$ac_ext <<_ACEOF
40606 /* confdefs.h. */
40607 _ACEOF
40608 cat confdefs.h >>conftest.$ac_ext
40609 cat >>conftest.$ac_ext <<_ACEOF
40610 /* end confdefs.h. */
40611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40613 #define $ac_func innocuous_$ac_func
40614
40615 /* System header to define __stub macros and hopefully few prototypes,
40616 which can conflict with char $ac_func (); below.
40617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40618 <limits.h> exists even on freestanding compilers. */
40619
40620 #ifdef __STDC__
40621 # include <limits.h>
40622 #else
40623 # include <assert.h>
40624 #endif
40625
40626 #undef $ac_func
40627
40628 /* Override any GCC internal prototype to avoid an error.
40629 Use char because int might match the return type of a GCC
40630 builtin and then its argument prototype would still apply. */
40631 #ifdef __cplusplus
40632 extern "C"
40633 #endif
40634 char $ac_func ();
40635 /* The GNU C library defines this for functions which it implements
40636 to always fail with ENOSYS. Some functions are actually named
40637 something starting with __ and the normal name is an alias. */
40638 #if defined __stub_$ac_func || defined __stub___$ac_func
40639 choke me
40640 #endif
40641
40642 int
40643 main ()
40644 {
40645 return $ac_func ();
40646 ;
40647 return 0;
40648 }
40649 _ACEOF
40650 rm -f conftest.$ac_objext conftest$ac_exeext
40651 if { (ac_try="$ac_link"
40652 case "(($ac_try" in
40653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40654 *) ac_try_echo=$ac_try;;
40655 esac
40656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40657 (eval "$ac_link") 2>conftest.er1
40658 ac_status=$?
40659 grep -v '^ *+' conftest.er1 >conftest.err
40660 rm -f conftest.er1
40661 cat conftest.err >&5
40662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663 (exit $ac_status); } && {
40664 test -z "$ac_c_werror_flag" ||
40665 test ! -s conftest.err
40666 } && test -s conftest$ac_exeext &&
40667 $as_test_x conftest$ac_exeext; then
40668 eval "$as_ac_var=yes"
40669 else
40670 echo "$as_me: failed program was:" >&5
40671 sed 's/^/| /' conftest.$ac_ext >&5
40672
40673 eval "$as_ac_var=no"
40674 fi
40675
40676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40677 conftest$ac_exeext conftest.$ac_ext
40678 fi
40679 ac_res=`eval echo '${'$as_ac_var'}'`
40680 { echo "$as_me:$LINENO: result: $ac_res" >&5
40681 echo "${ECHO_T}$ac_res" >&6; }
40682 if test `eval echo '${'$as_ac_var'}'` = yes; then
40683 cat >>confdefs.h <<_ACEOF
40684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40685 _ACEOF
40686
40687 fi
40688 done
40689
40690
40691 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40692 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40693 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40694 echo $ECHO_N "(cached) $ECHO_C" >&6
40695 else
40696
40697 ac_ext=cpp
40698 ac_cpp='$CXXCPP $CPPFLAGS'
40699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40702
40703 cat >conftest.$ac_ext <<_ACEOF
40704 /* confdefs.h. */
40705 _ACEOF
40706 cat confdefs.h >>conftest.$ac_ext
40707 cat >>conftest.$ac_ext <<_ACEOF
40708 /* end confdefs.h. */
40709 #include <pthread.h>
40710 void ThreadCleanupFunc(void *p);
40711
40712 int
40713 main ()
40714 {
40715
40716 void *p;
40717 pthread_cleanup_push(ThreadCleanupFunc, p);
40718 pthread_cleanup_pop(0);
40719
40720 ;
40721 return 0;
40722 }
40723 _ACEOF
40724 rm -f conftest.$ac_objext
40725 if { (ac_try="$ac_compile"
40726 case "(($ac_try" in
40727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40728 *) ac_try_echo=$ac_try;;
40729 esac
40730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40731 (eval "$ac_compile") 2>conftest.er1
40732 ac_status=$?
40733 grep -v '^ *+' conftest.er1 >conftest.err
40734 rm -f conftest.er1
40735 cat conftest.err >&5
40736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40737 (exit $ac_status); } && {
40738 test -z "$ac_cxx_werror_flag" ||
40739 test ! -s conftest.err
40740 } && test -s conftest.$ac_objext; then
40741
40742 wx_cv_func_pthread_cleanup=yes
40743
40744 else
40745 echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40747
40748
40749 wx_cv_func_pthread_cleanup=no
40750
40751
40752 fi
40753
40754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40755 ac_ext=c
40756 ac_cpp='$CPP $CPPFLAGS'
40757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40760
40761
40762 fi
40763 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40764 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40765 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40766 cat >>confdefs.h <<\_ACEOF
40767 #define wxHAVE_PTHREAD_CLEANUP 1
40768 _ACEOF
40769
40770 fi
40771
40772
40773 for ac_header in sched.h
40774 do
40775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40779 echo $ECHO_N "(cached) $ECHO_C" >&6
40780 else
40781 cat >conftest.$ac_ext <<_ACEOF
40782 /* confdefs.h. */
40783 _ACEOF
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h. */
40787 $ac_includes_default
40788
40789 #include <$ac_header>
40790 _ACEOF
40791 rm -f conftest.$ac_objext
40792 if { (ac_try="$ac_compile"
40793 case "(($ac_try" in
40794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40795 *) ac_try_echo=$ac_try;;
40796 esac
40797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40798 (eval "$ac_compile") 2>conftest.er1
40799 ac_status=$?
40800 grep -v '^ *+' conftest.er1 >conftest.err
40801 rm -f conftest.er1
40802 cat conftest.err >&5
40803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40804 (exit $ac_status); } && {
40805 test -z "$ac_c_werror_flag" ||
40806 test ! -s conftest.err
40807 } && test -s conftest.$ac_objext; then
40808 eval "$as_ac_Header=yes"
40809 else
40810 echo "$as_me: failed program was:" >&5
40811 sed 's/^/| /' conftest.$ac_ext >&5
40812
40813 eval "$as_ac_Header=no"
40814 fi
40815
40816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40817 fi
40818 ac_res=`eval echo '${'$as_ac_Header'}'`
40819 { echo "$as_me:$LINENO: result: $ac_res" >&5
40820 echo "${ECHO_T}$ac_res" >&6; }
40821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40822 cat >>confdefs.h <<_ACEOF
40823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40824 _ACEOF
40825
40826 fi
40827
40828 done
40829
40830 if test "$ac_cv_header_sched_h" = "yes"; then
40831 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40832 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40833 if test "${ac_cv_func_sched_yield+set}" = set; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 else
40836 cat >conftest.$ac_ext <<_ACEOF
40837 /* confdefs.h. */
40838 _ACEOF
40839 cat confdefs.h >>conftest.$ac_ext
40840 cat >>conftest.$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40842 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40844 #define sched_yield innocuous_sched_yield
40845
40846 /* System header to define __stub macros and hopefully few prototypes,
40847 which can conflict with char sched_yield (); below.
40848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40849 <limits.h> exists even on freestanding compilers. */
40850
40851 #ifdef __STDC__
40852 # include <limits.h>
40853 #else
40854 # include <assert.h>
40855 #endif
40856
40857 #undef sched_yield
40858
40859 /* Override any GCC internal prototype to avoid an error.
40860 Use char because int might match the return type of a GCC
40861 builtin and then its argument prototype would still apply. */
40862 #ifdef __cplusplus
40863 extern "C"
40864 #endif
40865 char sched_yield ();
40866 /* The GNU C library defines this for functions which it implements
40867 to always fail with ENOSYS. Some functions are actually named
40868 something starting with __ and the normal name is an alias. */
40869 #if defined __stub_sched_yield || defined __stub___sched_yield
40870 choke me
40871 #endif
40872
40873 int
40874 main ()
40875 {
40876 return sched_yield ();
40877 ;
40878 return 0;
40879 }
40880 _ACEOF
40881 rm -f conftest.$ac_objext conftest$ac_exeext
40882 if { (ac_try="$ac_link"
40883 case "(($ac_try" in
40884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40885 *) ac_try_echo=$ac_try;;
40886 esac
40887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40888 (eval "$ac_link") 2>conftest.er1
40889 ac_status=$?
40890 grep -v '^ *+' conftest.er1 >conftest.err
40891 rm -f conftest.er1
40892 cat conftest.err >&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } && {
40895 test -z "$ac_c_werror_flag" ||
40896 test ! -s conftest.err
40897 } && test -s conftest$ac_exeext &&
40898 $as_test_x conftest$ac_exeext; then
40899 ac_cv_func_sched_yield=yes
40900 else
40901 echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.$ac_ext >&5
40903
40904 ac_cv_func_sched_yield=no
40905 fi
40906
40907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40908 conftest$ac_exeext conftest.$ac_ext
40909 fi
40910 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40911 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40912 if test $ac_cv_func_sched_yield = yes; then
40913 cat >>confdefs.h <<\_ACEOF
40914 #define HAVE_SCHED_YIELD 1
40915 _ACEOF
40916
40917 else
40918
40919 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40920 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40921 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40922 echo $ECHO_N "(cached) $ECHO_C" >&6
40923 else
40924 ac_check_lib_save_LIBS=$LIBS
40925 LIBS="-lposix4 $LIBS"
40926 cat >conftest.$ac_ext <<_ACEOF
40927 /* confdefs.h. */
40928 _ACEOF
40929 cat confdefs.h >>conftest.$ac_ext
40930 cat >>conftest.$ac_ext <<_ACEOF
40931 /* end confdefs.h. */
40932
40933 /* Override any GCC internal prototype to avoid an error.
40934 Use char because int might match the return type of a GCC
40935 builtin and then its argument prototype would still apply. */
40936 #ifdef __cplusplus
40937 extern "C"
40938 #endif
40939 char sched_yield ();
40940 int
40941 main ()
40942 {
40943 return sched_yield ();
40944 ;
40945 return 0;
40946 }
40947 _ACEOF
40948 rm -f conftest.$ac_objext conftest$ac_exeext
40949 if { (ac_try="$ac_link"
40950 case "(($ac_try" in
40951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40952 *) ac_try_echo=$ac_try;;
40953 esac
40954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40955 (eval "$ac_link") 2>conftest.er1
40956 ac_status=$?
40957 grep -v '^ *+' conftest.er1 >conftest.err
40958 rm -f conftest.er1
40959 cat conftest.err >&5
40960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40961 (exit $ac_status); } && {
40962 test -z "$ac_c_werror_flag" ||
40963 test ! -s conftest.err
40964 } && test -s conftest$ac_exeext &&
40965 $as_test_x conftest$ac_exeext; then
40966 ac_cv_lib_posix4_sched_yield=yes
40967 else
40968 echo "$as_me: failed program was:" >&5
40969 sed 's/^/| /' conftest.$ac_ext >&5
40970
40971 ac_cv_lib_posix4_sched_yield=no
40972 fi
40973
40974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40975 conftest$ac_exeext conftest.$ac_ext
40976 LIBS=$ac_check_lib_save_LIBS
40977 fi
40978 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40979 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40980 if test $ac_cv_lib_posix4_sched_yield = yes; then
40981 cat >>confdefs.h <<\_ACEOF
40982 #define HAVE_SCHED_YIELD 1
40983 _ACEOF
40984 POSIX4_LINK=" -lposix4"
40985 else
40986 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40987 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40988
40989 fi
40990
40991
40992
40993 fi
40994
40995 fi
40996
40997 HAVE_PRIOR_FUNCS=0
40998 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40999 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41000 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41001 echo $ECHO_N "(cached) $ECHO_C" >&6
41002 else
41003 cat >conftest.$ac_ext <<_ACEOF
41004 /* confdefs.h. */
41005 _ACEOF
41006 cat confdefs.h >>conftest.$ac_ext
41007 cat >>conftest.$ac_ext <<_ACEOF
41008 /* end confdefs.h. */
41009 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41011 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41012
41013 /* System header to define __stub macros and hopefully few prototypes,
41014 which can conflict with char pthread_attr_getschedpolicy (); below.
41015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41016 <limits.h> exists even on freestanding compilers. */
41017
41018 #ifdef __STDC__
41019 # include <limits.h>
41020 #else
41021 # include <assert.h>
41022 #endif
41023
41024 #undef pthread_attr_getschedpolicy
41025
41026 /* Override any GCC internal prototype to avoid an error.
41027 Use char because int might match the return type of a GCC
41028 builtin and then its argument prototype would still apply. */
41029 #ifdef __cplusplus
41030 extern "C"
41031 #endif
41032 char pthread_attr_getschedpolicy ();
41033 /* The GNU C library defines this for functions which it implements
41034 to always fail with ENOSYS. Some functions are actually named
41035 something starting with __ and the normal name is an alias. */
41036 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41037 choke me
41038 #endif
41039
41040 int
41041 main ()
41042 {
41043 return pthread_attr_getschedpolicy ();
41044 ;
41045 return 0;
41046 }
41047 _ACEOF
41048 rm -f conftest.$ac_objext conftest$ac_exeext
41049 if { (ac_try="$ac_link"
41050 case "(($ac_try" in
41051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41052 *) ac_try_echo=$ac_try;;
41053 esac
41054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41055 (eval "$ac_link") 2>conftest.er1
41056 ac_status=$?
41057 grep -v '^ *+' conftest.er1 >conftest.err
41058 rm -f conftest.er1
41059 cat conftest.err >&5
41060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41061 (exit $ac_status); } && {
41062 test -z "$ac_c_werror_flag" ||
41063 test ! -s conftest.err
41064 } && test -s conftest$ac_exeext &&
41065 $as_test_x conftest$ac_exeext; then
41066 ac_cv_func_pthread_attr_getschedpolicy=yes
41067 else
41068 echo "$as_me: failed program was:" >&5
41069 sed 's/^/| /' conftest.$ac_ext >&5
41070
41071 ac_cv_func_pthread_attr_getschedpolicy=no
41072 fi
41073
41074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41075 conftest$ac_exeext conftest.$ac_ext
41076 fi
41077 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41078 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41079 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41080 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41081 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41082 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41083 echo $ECHO_N "(cached) $ECHO_C" >&6
41084 else
41085 cat >conftest.$ac_ext <<_ACEOF
41086 /* confdefs.h. */
41087 _ACEOF
41088 cat confdefs.h >>conftest.$ac_ext
41089 cat >>conftest.$ac_ext <<_ACEOF
41090 /* end confdefs.h. */
41091 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41093 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41094
41095 /* System header to define __stub macros and hopefully few prototypes,
41096 which can conflict with char pthread_attr_setschedparam (); below.
41097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41098 <limits.h> exists even on freestanding compilers. */
41099
41100 #ifdef __STDC__
41101 # include <limits.h>
41102 #else
41103 # include <assert.h>
41104 #endif
41105
41106 #undef pthread_attr_setschedparam
41107
41108 /* Override any GCC internal prototype to avoid an error.
41109 Use char because int might match the return type of a GCC
41110 builtin and then its argument prototype would still apply. */
41111 #ifdef __cplusplus
41112 extern "C"
41113 #endif
41114 char pthread_attr_setschedparam ();
41115 /* The GNU C library defines this for functions which it implements
41116 to always fail with ENOSYS. Some functions are actually named
41117 something starting with __ and the normal name is an alias. */
41118 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41119 choke me
41120 #endif
41121
41122 int
41123 main ()
41124 {
41125 return pthread_attr_setschedparam ();
41126 ;
41127 return 0;
41128 }
41129 _ACEOF
41130 rm -f conftest.$ac_objext conftest$ac_exeext
41131 if { (ac_try="$ac_link"
41132 case "(($ac_try" in
41133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41134 *) ac_try_echo=$ac_try;;
41135 esac
41136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41137 (eval "$ac_link") 2>conftest.er1
41138 ac_status=$?
41139 grep -v '^ *+' conftest.er1 >conftest.err
41140 rm -f conftest.er1
41141 cat conftest.err >&5
41142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143 (exit $ac_status); } && {
41144 test -z "$ac_c_werror_flag" ||
41145 test ! -s conftest.err
41146 } && test -s conftest$ac_exeext &&
41147 $as_test_x conftest$ac_exeext; then
41148 ac_cv_func_pthread_attr_setschedparam=yes
41149 else
41150 echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.$ac_ext >&5
41152
41153 ac_cv_func_pthread_attr_setschedparam=no
41154 fi
41155
41156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41157 conftest$ac_exeext conftest.$ac_ext
41158 fi
41159 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41160 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41161 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41162 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41163 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41164 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41165 echo $ECHO_N "(cached) $ECHO_C" >&6
41166 else
41167 cat >conftest.$ac_ext <<_ACEOF
41168 /* confdefs.h. */
41169 _ACEOF
41170 cat confdefs.h >>conftest.$ac_ext
41171 cat >>conftest.$ac_ext <<_ACEOF
41172 /* end confdefs.h. */
41173 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41175 #define sched_get_priority_max innocuous_sched_get_priority_max
41176
41177 /* System header to define __stub macros and hopefully few prototypes,
41178 which can conflict with char sched_get_priority_max (); below.
41179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41180 <limits.h> exists even on freestanding compilers. */
41181
41182 #ifdef __STDC__
41183 # include <limits.h>
41184 #else
41185 # include <assert.h>
41186 #endif
41187
41188 #undef sched_get_priority_max
41189
41190 /* Override any GCC internal prototype to avoid an error.
41191 Use char because int might match the return type of a GCC
41192 builtin and then its argument prototype would still apply. */
41193 #ifdef __cplusplus
41194 extern "C"
41195 #endif
41196 char sched_get_priority_max ();
41197 /* The GNU C library defines this for functions which it implements
41198 to always fail with ENOSYS. Some functions are actually named
41199 something starting with __ and the normal name is an alias. */
41200 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41201 choke me
41202 #endif
41203
41204 int
41205 main ()
41206 {
41207 return sched_get_priority_max ();
41208 ;
41209 return 0;
41210 }
41211 _ACEOF
41212 rm -f conftest.$ac_objext conftest$ac_exeext
41213 if { (ac_try="$ac_link"
41214 case "(($ac_try" in
41215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41216 *) ac_try_echo=$ac_try;;
41217 esac
41218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41219 (eval "$ac_link") 2>conftest.er1
41220 ac_status=$?
41221 grep -v '^ *+' conftest.er1 >conftest.err
41222 rm -f conftest.er1
41223 cat conftest.err >&5
41224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41225 (exit $ac_status); } && {
41226 test -z "$ac_c_werror_flag" ||
41227 test ! -s conftest.err
41228 } && test -s conftest$ac_exeext &&
41229 $as_test_x conftest$ac_exeext; then
41230 ac_cv_func_sched_get_priority_max=yes
41231 else
41232 echo "$as_me: failed program was:" >&5
41233 sed 's/^/| /' conftest.$ac_ext >&5
41234
41235 ac_cv_func_sched_get_priority_max=no
41236 fi
41237
41238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41239 conftest$ac_exeext conftest.$ac_ext
41240 fi
41241 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41242 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41243 if test $ac_cv_func_sched_get_priority_max = yes; then
41244 HAVE_PRIOR_FUNCS=1
41245 else
41246 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41247 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41248 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41249 echo $ECHO_N "(cached) $ECHO_C" >&6
41250 else
41251 ac_check_lib_save_LIBS=$LIBS
41252 LIBS="-lposix4 $LIBS"
41253 cat >conftest.$ac_ext <<_ACEOF
41254 /* confdefs.h. */
41255 _ACEOF
41256 cat confdefs.h >>conftest.$ac_ext
41257 cat >>conftest.$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41259
41260 /* Override any GCC internal prototype to avoid an error.
41261 Use char because int might match the return type of a GCC
41262 builtin and then its argument prototype would still apply. */
41263 #ifdef __cplusplus
41264 extern "C"
41265 #endif
41266 char sched_get_priority_max ();
41267 int
41268 main ()
41269 {
41270 return sched_get_priority_max ();
41271 ;
41272 return 0;
41273 }
41274 _ACEOF
41275 rm -f conftest.$ac_objext conftest$ac_exeext
41276 if { (ac_try="$ac_link"
41277 case "(($ac_try" in
41278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41279 *) ac_try_echo=$ac_try;;
41280 esac
41281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41282 (eval "$ac_link") 2>conftest.er1
41283 ac_status=$?
41284 grep -v '^ *+' conftest.er1 >conftest.err
41285 rm -f conftest.er1
41286 cat conftest.err >&5
41287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288 (exit $ac_status); } && {
41289 test -z "$ac_c_werror_flag" ||
41290 test ! -s conftest.err
41291 } && test -s conftest$ac_exeext &&
41292 $as_test_x conftest$ac_exeext; then
41293 ac_cv_lib_posix4_sched_get_priority_max=yes
41294 else
41295 echo "$as_me: failed program was:" >&5
41296 sed 's/^/| /' conftest.$ac_ext >&5
41297
41298 ac_cv_lib_posix4_sched_get_priority_max=no
41299 fi
41300
41301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41302 conftest$ac_exeext conftest.$ac_ext
41303 LIBS=$ac_check_lib_save_LIBS
41304 fi
41305 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41306 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41307 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41308
41309 HAVE_PRIOR_FUNCS=1
41310 POSIX4_LINK=" -lposix4"
41311
41312 fi
41313
41314
41315 fi
41316
41317
41318 fi
41319
41320
41321 fi
41322
41323
41324 if test "$HAVE_PRIOR_FUNCS" = 1; then
41325 cat >>confdefs.h <<\_ACEOF
41326 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41327 _ACEOF
41328
41329 else
41330 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41331 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41332 fi
41333
41334 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41335 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41336 if test "${ac_cv_func_pthread_cancel+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_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41347 #define pthread_cancel innocuous_pthread_cancel
41348
41349 /* System header to define __stub macros and hopefully few prototypes,
41350 which can conflict with char pthread_cancel (); 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_cancel
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_cancel ();
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_cancel || defined __stub___pthread_cancel
41373 choke me
41374 #endif
41375
41376 int
41377 main ()
41378 {
41379 return pthread_cancel ();
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_cancel=yes
41403 else
41404 echo "$as_me: failed program was:" >&5
41405 sed 's/^/| /' conftest.$ac_ext >&5
41406
41407 ac_cv_func_pthread_cancel=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_cancel" >&5
41414 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41415 if test $ac_cv_func_pthread_cancel = yes; then
41416 cat >>confdefs.h <<\_ACEOF
41417 #define HAVE_PTHREAD_CANCEL 1
41418 _ACEOF
41419
41420 else
41421 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41422 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41423 fi
41424
41425
41426 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41427 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41428 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41429 echo $ECHO_N "(cached) $ECHO_C" >&6
41430 else
41431 cat >conftest.$ac_ext <<_ACEOF
41432 /* confdefs.h. */
41433 _ACEOF
41434 cat confdefs.h >>conftest.$ac_ext
41435 cat >>conftest.$ac_ext <<_ACEOF
41436 /* end confdefs.h. */
41437 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41439 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41440
41441 /* System header to define __stub macros and hopefully few prototypes,
41442 which can conflict with char pthread_mutex_timedlock (); below.
41443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41444 <limits.h> exists even on freestanding compilers. */
41445
41446 #ifdef __STDC__
41447 # include <limits.h>
41448 #else
41449 # include <assert.h>
41450 #endif
41451
41452 #undef pthread_mutex_timedlock
41453
41454 /* Override any GCC internal prototype to avoid an error.
41455 Use char because int might match the return type of a GCC
41456 builtin and then its argument prototype would still apply. */
41457 #ifdef __cplusplus
41458 extern "C"
41459 #endif
41460 char pthread_mutex_timedlock ();
41461 /* The GNU C library defines this for functions which it implements
41462 to always fail with ENOSYS. Some functions are actually named
41463 something starting with __ and the normal name is an alias. */
41464 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41465 choke me
41466 #endif
41467
41468 int
41469 main ()
41470 {
41471 return pthread_mutex_timedlock ();
41472 ;
41473 return 0;
41474 }
41475 _ACEOF
41476 rm -f conftest.$ac_objext conftest$ac_exeext
41477 if { (ac_try="$ac_link"
41478 case "(($ac_try" in
41479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41480 *) ac_try_echo=$ac_try;;
41481 esac
41482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41483 (eval "$ac_link") 2>conftest.er1
41484 ac_status=$?
41485 grep -v '^ *+' conftest.er1 >conftest.err
41486 rm -f conftest.er1
41487 cat conftest.err >&5
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); } && {
41490 test -z "$ac_c_werror_flag" ||
41491 test ! -s conftest.err
41492 } && test -s conftest$ac_exeext &&
41493 $as_test_x conftest$ac_exeext; then
41494 ac_cv_func_pthread_mutex_timedlock=yes
41495 else
41496 echo "$as_me: failed program was:" >&5
41497 sed 's/^/| /' conftest.$ac_ext >&5
41498
41499 ac_cv_func_pthread_mutex_timedlock=no
41500 fi
41501
41502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41503 conftest$ac_exeext conftest.$ac_ext
41504 fi
41505 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41506 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41507 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41508 cat >>confdefs.h <<\_ACEOF
41509 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41510 _ACEOF
41511
41512 else
41513 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41514 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41515 fi
41516
41517
41518 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41519 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41520 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41521 echo $ECHO_N "(cached) $ECHO_C" >&6
41522 else
41523 cat >conftest.$ac_ext <<_ACEOF
41524 /* confdefs.h. */
41525 _ACEOF
41526 cat confdefs.h >>conftest.$ac_ext
41527 cat >>conftest.$ac_ext <<_ACEOF
41528 /* end confdefs.h. */
41529 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41531 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41532
41533 /* System header to define __stub macros and hopefully few prototypes,
41534 which can conflict with char pthread_attr_setstacksize (); below.
41535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41536 <limits.h> exists even on freestanding compilers. */
41537
41538 #ifdef __STDC__
41539 # include <limits.h>
41540 #else
41541 # include <assert.h>
41542 #endif
41543
41544 #undef pthread_attr_setstacksize
41545
41546 /* Override any GCC internal prototype to avoid an error.
41547 Use char because int might match the return type of a GCC
41548 builtin and then its argument prototype would still apply. */
41549 #ifdef __cplusplus
41550 extern "C"
41551 #endif
41552 char pthread_attr_setstacksize ();
41553 /* The GNU C library defines this for functions which it implements
41554 to always fail with ENOSYS. Some functions are actually named
41555 something starting with __ and the normal name is an alias. */
41556 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41557 choke me
41558 #endif
41559
41560 int
41561 main ()
41562 {
41563 return pthread_attr_setstacksize ();
41564 ;
41565 return 0;
41566 }
41567 _ACEOF
41568 rm -f conftest.$ac_objext conftest$ac_exeext
41569 if { (ac_try="$ac_link"
41570 case "(($ac_try" in
41571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41572 *) ac_try_echo=$ac_try;;
41573 esac
41574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41575 (eval "$ac_link") 2>conftest.er1
41576 ac_status=$?
41577 grep -v '^ *+' conftest.er1 >conftest.err
41578 rm -f conftest.er1
41579 cat conftest.err >&5
41580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41581 (exit $ac_status); } && {
41582 test -z "$ac_c_werror_flag" ||
41583 test ! -s conftest.err
41584 } && test -s conftest$ac_exeext &&
41585 $as_test_x conftest$ac_exeext; then
41586 ac_cv_func_pthread_attr_setstacksize=yes
41587 else
41588 echo "$as_me: failed program was:" >&5
41589 sed 's/^/| /' conftest.$ac_ext >&5
41590
41591 ac_cv_func_pthread_attr_setstacksize=no
41592 fi
41593
41594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41595 conftest$ac_exeext conftest.$ac_ext
41596 fi
41597 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41598 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41599 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41600 cat >>confdefs.h <<\_ACEOF
41601 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41602 _ACEOF
41603
41604 fi
41605
41606
41607
41608 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41609 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41610 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41611 echo $ECHO_N "(cached) $ECHO_C" >&6
41612 else
41613
41614 cat >conftest.$ac_ext <<_ACEOF
41615 /* confdefs.h. */
41616 _ACEOF
41617 cat confdefs.h >>conftest.$ac_ext
41618 cat >>conftest.$ac_ext <<_ACEOF
41619 /* end confdefs.h. */
41620 #include <pthread.h>
41621 int
41622 main ()
41623 {
41624
41625 pthread_mutexattr_t attr;
41626 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41627
41628 ;
41629 return 0;
41630 }
41631 _ACEOF
41632 rm -f conftest.$ac_objext
41633 if { (ac_try="$ac_compile"
41634 case "(($ac_try" in
41635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41636 *) ac_try_echo=$ac_try;;
41637 esac
41638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41639 (eval "$ac_compile") 2>conftest.er1
41640 ac_status=$?
41641 grep -v '^ *+' conftest.er1 >conftest.err
41642 rm -f conftest.er1
41643 cat conftest.err >&5
41644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41645 (exit $ac_status); } && {
41646 test -z "$ac_c_werror_flag" ||
41647 test ! -s conftest.err
41648 } && test -s conftest.$ac_objext; then
41649 wx_cv_type_pthread_mutexattr_t=yes
41650 else
41651 echo "$as_me: failed program was:" >&5
41652 sed 's/^/| /' conftest.$ac_ext >&5
41653
41654 wx_cv_type_pthread_mutexattr_t=no
41655
41656 fi
41657
41658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41659
41660 fi
41661 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41662 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41663
41664 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41665 cat >>confdefs.h <<\_ACEOF
41666 #define HAVE_PTHREAD_MUTEXATTR_T 1
41667 _ACEOF
41668
41669
41670 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41671 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41672 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41673 echo $ECHO_N "(cached) $ECHO_C" >&6
41674 else
41675
41676 cat >conftest.$ac_ext <<_ACEOF
41677 /* confdefs.h. */
41678 _ACEOF
41679 cat confdefs.h >>conftest.$ac_ext
41680 cat >>conftest.$ac_ext <<_ACEOF
41681 /* end confdefs.h. */
41682 #include <pthread.h>
41683 int
41684 main ()
41685 {
41686
41687 pthread_mutexattr_t attr;
41688 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41689
41690 ;
41691 return 0;
41692 }
41693 _ACEOF
41694 rm -f conftest.$ac_objext
41695 if { (ac_try="$ac_compile"
41696 case "(($ac_try" in
41697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41698 *) ac_try_echo=$ac_try;;
41699 esac
41700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41701 (eval "$ac_compile") 2>conftest.er1
41702 ac_status=$?
41703 grep -v '^ *+' conftest.er1 >conftest.err
41704 rm -f conftest.er1
41705 cat conftest.err >&5
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); } && {
41708 test -z "$ac_c_werror_flag" ||
41709 test ! -s conftest.err
41710 } && test -s conftest.$ac_objext; then
41711 wx_cv_func_pthread_mutexattr_settype_decl=yes
41712 else
41713 echo "$as_me: failed program was:" >&5
41714 sed 's/^/| /' conftest.$ac_ext >&5
41715
41716 wx_cv_func_pthread_mutexattr_settype_decl=no
41717
41718 fi
41719
41720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41721
41722 fi
41723 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41724 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41725 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41726 cat >>confdefs.h <<\_ACEOF
41727 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41728 _ACEOF
41729
41730 fi
41731 else
41732 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41733 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41734 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41735 echo $ECHO_N "(cached) $ECHO_C" >&6
41736 else
41737
41738 cat >conftest.$ac_ext <<_ACEOF
41739 /* confdefs.h. */
41740 _ACEOF
41741 cat confdefs.h >>conftest.$ac_ext
41742 cat >>conftest.$ac_ext <<_ACEOF
41743 /* end confdefs.h. */
41744 #include <pthread.h>
41745 int
41746 main ()
41747 {
41748
41749 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41750
41751 ;
41752 return 0;
41753 }
41754 _ACEOF
41755 rm -f conftest.$ac_objext
41756 if { (ac_try="$ac_compile"
41757 case "(($ac_try" in
41758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41759 *) ac_try_echo=$ac_try;;
41760 esac
41761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41762 (eval "$ac_compile") 2>conftest.er1
41763 ac_status=$?
41764 grep -v '^ *+' conftest.er1 >conftest.err
41765 rm -f conftest.er1
41766 cat conftest.err >&5
41767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768 (exit $ac_status); } && {
41769 test -z "$ac_c_werror_flag" ||
41770 test ! -s conftest.err
41771 } && test -s conftest.$ac_objext; then
41772
41773 wx_cv_type_pthread_rec_mutex_init=yes
41774
41775 else
41776 echo "$as_me: failed program was:" >&5
41777 sed 's/^/| /' conftest.$ac_ext >&5
41778
41779
41780 wx_cv_type_pthread_rec_mutex_init=no
41781
41782
41783 fi
41784
41785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41786
41787 fi
41788 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41789 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41790 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41791 cat >>confdefs.h <<\_ACEOF
41792 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41793 _ACEOF
41794
41795 else
41796 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41797 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41798 fi
41799 fi
41800
41801 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41802 if test "$USE_NETBSD" = 1; then
41803 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41804 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41805 wxUSE_COMPILER_TLS=no
41806 else
41807 wxUSE_COMPILER_TLS=yes
41808 fi
41809 fi
41810
41811 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41812 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41813 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41814 if test "${wx_cv_cc___thread+set}" = set; then
41815 echo $ECHO_N "(cached) $ECHO_C" >&6
41816 else
41817
41818 cat >conftest.$ac_ext <<_ACEOF
41819 /* confdefs.h. */
41820 _ACEOF
41821 cat confdefs.h >>conftest.$ac_ext
41822 cat >>conftest.$ac_ext <<_ACEOF
41823 /* end confdefs.h. */
41824 #include <pthread.h>
41825 int
41826 main ()
41827 {
41828
41829 static __thread int n = 0;
41830 static __thread int *p = 0;
41831
41832 ;
41833 return 0;
41834 }
41835 _ACEOF
41836 rm -f conftest.$ac_objext
41837 if { (ac_try="$ac_compile"
41838 case "(($ac_try" in
41839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41840 *) ac_try_echo=$ac_try;;
41841 esac
41842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41843 (eval "$ac_compile") 2>conftest.er1
41844 ac_status=$?
41845 grep -v '^ *+' conftest.er1 >conftest.err
41846 rm -f conftest.er1
41847 cat conftest.err >&5
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); } && {
41850 test -z "$ac_c_werror_flag" ||
41851 test ! -s conftest.err
41852 } && test -s conftest.$ac_objext; then
41853 wx_cv_cc___thread=yes
41854 else
41855 echo "$as_me: failed program was:" >&5
41856 sed 's/^/| /' conftest.$ac_ext >&5
41857
41858 wx_cv_cc___thread=no
41859
41860 fi
41861
41862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41863
41864
41865 fi
41866 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41867 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41868
41869 if test "$wx_cv_cc___thread" = "yes"; then
41870
41871 GXX_VERSION=""
41872
41873
41874
41875 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41876 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41877
41878 if test "x$GCC" = "xyes" ; then
41879
41880 if test -z "" ; then
41881
41882 ax_gcc_option_test="int main()
41883 {
41884 return 0;
41885 }"
41886
41887 else
41888
41889 ax_gcc_option_test=""
41890
41891 fi
41892
41893
41894 # Dump the test program to file
41895 cat <<EOF > conftest.c
41896 $ax_gcc_option_test
41897 EOF
41898
41899 # Dump back the file to the log, useful for debugging purposes
41900 { ac_try='cat conftest.c 1>&5'
41901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41902 (eval $ac_try) 2>&5
41903 ac_status=$?
41904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41905 (exit $ac_status); }; }
41906
41907 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41909 (eval $ac_try) 2>&5
41910 ac_status=$?
41911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41912 (exit $ac_status); }; } ; then
41913
41914 { echo "$as_me:$LINENO: result: yes" >&5
41915 echo "${ECHO_T}yes" >&6; }
41916
41917 ax_gcc_version_option=yes
41918
41919
41920 else
41921
41922 { echo "$as_me:$LINENO: result: no" >&5
41923 echo "${ECHO_T}no" >&6; }
41924
41925 ax_gcc_version_option=no
41926
41927
41928 fi
41929
41930
41931 else
41932
41933 { echo "$as_me:$LINENO: result: no gcc available" >&5
41934 echo "${ECHO_T}no gcc available" >&6; }
41935
41936 fi
41937
41938
41939 if test "x$GXX" = "xyes"; then
41940
41941 if test "x$ax_gxx_version_option" != "no"; then
41942
41943 { echo "$as_me:$LINENO: checking gxx version" >&5
41944 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41945 if test "${ax_cv_gxx_version+set}" = set; then
41946 echo $ECHO_N "(cached) $ECHO_C" >&6
41947 else
41948
41949 ax_cv_gxx_version="`$CXX -dumpversion`"
41950 if test "x$ax_cv_gxx_version" = "x"; then
41951
41952 ax_cv_gxx_version=""
41953
41954 fi
41955
41956
41957 fi
41958 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41959 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41960 GXX_VERSION=$ax_cv_gxx_version
41961
41962 fi
41963
41964
41965 fi
41966
41967
41968
41969 if test -n "$ax_cv_gxx_version"; then
41970 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41971 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41972 case "$ax_cv_gxx_version" in
41973 1.* | 2.* | 3.* )
41974 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41975 echo "${ECHO_T}no, it's broken" >&6; }
41976 wx_cv_cc___thread=no
41977 ;;
41978 *)
41979 { echo "$as_me:$LINENO: result: yes, it works" >&5
41980 echo "${ECHO_T}yes, it works" >&6; }
41981 ;;
41982 esac
41983 fi
41984 fi
41985
41986 if test "$wx_cv_cc___thread" = "yes"; then
41987 cat >>confdefs.h <<\_ACEOF
41988 #define HAVE___THREAD_KEYWORD 1
41989 _ACEOF
41990
41991 fi
41992 fi
41993 fi
41994
41995 else
41996 if test "$wxUSE_THREADS" = "yes" ; then
41997 case "${host}" in
41998 x86_64-*-mingw32* )
41999 ;;
42000 *-*-mingw32* )
42001 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42002 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42003 if test "${wx_cv_cflags_mthread+set}" = set; then
42004 echo $ECHO_N "(cached) $ECHO_C" >&6
42005 else
42006
42007 CFLAGS_OLD="$CFLAGS"
42008 CFLAGS="-mthreads $CFLAGS"
42009 cat >conftest.$ac_ext <<_ACEOF
42010 /* confdefs.h. */
42011 _ACEOF
42012 cat confdefs.h >>conftest.$ac_ext
42013 cat >>conftest.$ac_ext <<_ACEOF
42014 /* end confdefs.h. */
42015
42016 int
42017 main ()
42018 {
42019
42020 ;
42021 return 0;
42022 }
42023 _ACEOF
42024 rm -f conftest.$ac_objext
42025 if { (ac_try="$ac_compile"
42026 case "(($ac_try" in
42027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42028 *) ac_try_echo=$ac_try;;
42029 esac
42030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42031 (eval "$ac_compile") 2>conftest.er1
42032 ac_status=$?
42033 grep -v '^ *+' conftest.er1 >conftest.err
42034 rm -f conftest.er1
42035 cat conftest.err >&5
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); } && {
42038 test -z "$ac_c_werror_flag" ||
42039 test ! -s conftest.err
42040 } && test -s conftest.$ac_objext; then
42041 wx_cv_cflags_mthread=yes
42042 else
42043 echo "$as_me: failed program was:" >&5
42044 sed 's/^/| /' conftest.$ac_ext >&5
42045
42046 wx_cv_cflags_mthread=no
42047
42048 fi
42049
42050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42051
42052
42053 fi
42054 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42055 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42056
42057 if test "$wx_cv_cflags_mthread" = "yes"; then
42058 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42059 LDFLAGS="$LDFLAGS -mthreads"
42060 else
42061 CFLAGS="$CFLAGS_OLD"
42062 fi
42063 ;;
42064 *-pc-os2*emx )
42065 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42066 LDFLAGS="$LDFLAGS -Zmt"
42067 ;;
42068 esac
42069 fi
42070 fi
42071
42072 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42073 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42074 if test "${ac_cv_func_localtime_r+set}" = set; then
42075 echo $ECHO_N "(cached) $ECHO_C" >&6
42076 else
42077 cat >conftest.$ac_ext <<_ACEOF
42078 /* confdefs.h. */
42079 _ACEOF
42080 cat confdefs.h >>conftest.$ac_ext
42081 cat >>conftest.$ac_ext <<_ACEOF
42082 /* end confdefs.h. */
42083 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42085 #define localtime_r innocuous_localtime_r
42086
42087 /* System header to define __stub macros and hopefully few prototypes,
42088 which can conflict with char localtime_r (); below.
42089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42090 <limits.h> exists even on freestanding compilers. */
42091
42092 #ifdef __STDC__
42093 # include <limits.h>
42094 #else
42095 # include <assert.h>
42096 #endif
42097
42098 #undef localtime_r
42099
42100 /* Override any GCC internal prototype to avoid an error.
42101 Use char because int might match the return type of a GCC
42102 builtin and then its argument prototype would still apply. */
42103 #ifdef __cplusplus
42104 extern "C"
42105 #endif
42106 char localtime_r ();
42107 /* The GNU C library defines this for functions which it implements
42108 to always fail with ENOSYS. Some functions are actually named
42109 something starting with __ and the normal name is an alias. */
42110 #if defined __stub_localtime_r || defined __stub___localtime_r
42111 choke me
42112 #endif
42113
42114 int
42115 main ()
42116 {
42117 return localtime_r ();
42118 ;
42119 return 0;
42120 }
42121 _ACEOF
42122 rm -f conftest.$ac_objext conftest$ac_exeext
42123 if { (ac_try="$ac_link"
42124 case "(($ac_try" in
42125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42126 *) ac_try_echo=$ac_try;;
42127 esac
42128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42129 (eval "$ac_link") 2>conftest.er1
42130 ac_status=$?
42131 grep -v '^ *+' conftest.er1 >conftest.err
42132 rm -f conftest.er1
42133 cat conftest.err >&5
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); } && {
42136 test -z "$ac_c_werror_flag" ||
42137 test ! -s conftest.err
42138 } && test -s conftest$ac_exeext &&
42139 $as_test_x conftest$ac_exeext; then
42140 ac_cv_func_localtime_r=yes
42141 else
42142 echo "$as_me: failed program was:" >&5
42143 sed 's/^/| /' conftest.$ac_ext >&5
42144
42145 ac_cv_func_localtime_r=no
42146 fi
42147
42148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42149 conftest$ac_exeext conftest.$ac_ext
42150 fi
42151 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42152 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42153 if test $ac_cv_func_localtime_r = yes; then
42154 cat >>confdefs.h <<\_ACEOF
42155 #define HAVE_LOCALTIME_R 1
42156 _ACEOF
42157
42158 fi
42159
42160 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42161 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42162 if test "${ac_cv_func_gmtime_r+set}" = set; then
42163 echo $ECHO_N "(cached) $ECHO_C" >&6
42164 else
42165 cat >conftest.$ac_ext <<_ACEOF
42166 /* confdefs.h. */
42167 _ACEOF
42168 cat confdefs.h >>conftest.$ac_ext
42169 cat >>conftest.$ac_ext <<_ACEOF
42170 /* end confdefs.h. */
42171 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42173 #define gmtime_r innocuous_gmtime_r
42174
42175 /* System header to define __stub macros and hopefully few prototypes,
42176 which can conflict with char gmtime_r (); below.
42177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42178 <limits.h> exists even on freestanding compilers. */
42179
42180 #ifdef __STDC__
42181 # include <limits.h>
42182 #else
42183 # include <assert.h>
42184 #endif
42185
42186 #undef gmtime_r
42187
42188 /* Override any GCC internal prototype to avoid an error.
42189 Use char because int might match the return type of a GCC
42190 builtin and then its argument prototype would still apply. */
42191 #ifdef __cplusplus
42192 extern "C"
42193 #endif
42194 char gmtime_r ();
42195 /* The GNU C library defines this for functions which it implements
42196 to always fail with ENOSYS. Some functions are actually named
42197 something starting with __ and the normal name is an alias. */
42198 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42199 choke me
42200 #endif
42201
42202 int
42203 main ()
42204 {
42205 return gmtime_r ();
42206 ;
42207 return 0;
42208 }
42209 _ACEOF
42210 rm -f conftest.$ac_objext conftest$ac_exeext
42211 if { (ac_try="$ac_link"
42212 case "(($ac_try" in
42213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42214 *) ac_try_echo=$ac_try;;
42215 esac
42216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42217 (eval "$ac_link") 2>conftest.er1
42218 ac_status=$?
42219 grep -v '^ *+' conftest.er1 >conftest.err
42220 rm -f conftest.er1
42221 cat conftest.err >&5
42222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42223 (exit $ac_status); } && {
42224 test -z "$ac_c_werror_flag" ||
42225 test ! -s conftest.err
42226 } && test -s conftest$ac_exeext &&
42227 $as_test_x conftest$ac_exeext; then
42228 ac_cv_func_gmtime_r=yes
42229 else
42230 echo "$as_me: failed program was:" >&5
42231 sed 's/^/| /' conftest.$ac_ext >&5
42232
42233 ac_cv_func_gmtime_r=no
42234 fi
42235
42236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42237 conftest$ac_exeext conftest.$ac_ext
42238 fi
42239 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42240 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42241 if test $ac_cv_func_gmtime_r = yes; then
42242 cat >>confdefs.h <<\_ACEOF
42243 #define HAVE_GMTIME_R 1
42244 _ACEOF
42245
42246 fi
42247
42248
42249
42250
42251 ac_ext=c
42252 ac_cpp='$CPP $CPPFLAGS'
42253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42256
42257 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42258 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42259
42260 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42261 echo $ECHO_N "(cached) $ECHO_C" >&6
42262 else
42263
42264
42265 ################################################################
42266
42267 ac_cv_func_which_gethostbyname_r=unknown
42268
42269 #
42270 # ONE ARGUMENT (sanity check)
42271 #
42272
42273 # This should fail, as there is no variant of gethostbyname_r() that takes
42274 # a single argument. If it actually compiles, then we can assume that
42275 # netdb.h is not declaring the function, and the compiler is thereby
42276 # assuming an implicit prototype. In which case, we're out of luck.
42277 #
42278 cat >conftest.$ac_ext <<_ACEOF
42279 /* confdefs.h. */
42280 _ACEOF
42281 cat confdefs.h >>conftest.$ac_ext
42282 cat >>conftest.$ac_ext <<_ACEOF
42283 /* end confdefs.h. */
42284 #include <netdb.h>
42285 int
42286 main ()
42287 {
42288
42289 char *name = "www.gnu.org";
42290 (void)gethostbyname_r(name) /* ; */
42291
42292 ;
42293 return 0;
42294 }
42295 _ACEOF
42296 rm -f conftest.$ac_objext
42297 if { (ac_try="$ac_compile"
42298 case "(($ac_try" in
42299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42300 *) ac_try_echo=$ac_try;;
42301 esac
42302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42303 (eval "$ac_compile") 2>conftest.er1
42304 ac_status=$?
42305 grep -v '^ *+' conftest.er1 >conftest.err
42306 rm -f conftest.er1
42307 cat conftest.err >&5
42308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42309 (exit $ac_status); } && {
42310 test -z "$ac_c_werror_flag" ||
42311 test ! -s conftest.err
42312 } && test -s conftest.$ac_objext; then
42313 ac_cv_func_which_gethostbyname_r=no
42314 else
42315 echo "$as_me: failed program was:" >&5
42316 sed 's/^/| /' conftest.$ac_ext >&5
42317
42318
42319 fi
42320
42321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42322
42323 #
42324 # SIX ARGUMENTS
42325 # (e.g. Linux)
42326 #
42327
42328 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42329
42330 cat >conftest.$ac_ext <<_ACEOF
42331 /* confdefs.h. */
42332 _ACEOF
42333 cat confdefs.h >>conftest.$ac_ext
42334 cat >>conftest.$ac_ext <<_ACEOF
42335 /* end confdefs.h. */
42336 #include <netdb.h>
42337 int
42338 main ()
42339 {
42340
42341 char *name = "www.gnu.org";
42342 struct hostent ret, *retp;
42343 char buf[1024];
42344 int buflen = 1024;
42345 int my_h_errno;
42346 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42347
42348 ;
42349 return 0;
42350 }
42351 _ACEOF
42352 rm -f conftest.$ac_objext
42353 if { (ac_try="$ac_compile"
42354 case "(($ac_try" in
42355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42356 *) ac_try_echo=$ac_try;;
42357 esac
42358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42359 (eval "$ac_compile") 2>conftest.er1
42360 ac_status=$?
42361 grep -v '^ *+' conftest.er1 >conftest.err
42362 rm -f conftest.er1
42363 cat conftest.err >&5
42364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365 (exit $ac_status); } && {
42366 test -z "$ac_c_werror_flag" ||
42367 test ! -s conftest.err
42368 } && test -s conftest.$ac_objext; then
42369 ac_cv_func_which_gethostbyname_r=six
42370 else
42371 echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.$ac_ext >&5
42373
42374
42375 fi
42376
42377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42378
42379 fi
42380
42381 #
42382 # FIVE ARGUMENTS
42383 # (e.g. Solaris)
42384 #
42385
42386 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42387
42388 cat >conftest.$ac_ext <<_ACEOF
42389 /* confdefs.h. */
42390 _ACEOF
42391 cat confdefs.h >>conftest.$ac_ext
42392 cat >>conftest.$ac_ext <<_ACEOF
42393 /* end confdefs.h. */
42394 #include <netdb.h>
42395 int
42396 main ()
42397 {
42398
42399 char *name = "www.gnu.org";
42400 struct hostent ret;
42401 char buf[1024];
42402 int buflen = 1024;
42403 int my_h_errno;
42404 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42405
42406 ;
42407 return 0;
42408 }
42409 _ACEOF
42410 rm -f conftest.$ac_objext
42411 if { (ac_try="$ac_compile"
42412 case "(($ac_try" in
42413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42414 *) ac_try_echo=$ac_try;;
42415 esac
42416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42417 (eval "$ac_compile") 2>conftest.er1
42418 ac_status=$?
42419 grep -v '^ *+' conftest.er1 >conftest.err
42420 rm -f conftest.er1
42421 cat conftest.err >&5
42422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42423 (exit $ac_status); } && {
42424 test -z "$ac_c_werror_flag" ||
42425 test ! -s conftest.err
42426 } && test -s conftest.$ac_objext; then
42427 ac_cv_func_which_gethostbyname_r=five
42428 else
42429 echo "$as_me: failed program was:" >&5
42430 sed 's/^/| /' conftest.$ac_ext >&5
42431
42432
42433 fi
42434
42435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42436
42437 fi
42438
42439 #
42440 # THREE ARGUMENTS
42441 # (e.g. AIX, HP-UX, Tru64)
42442 #
42443
42444 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42445
42446 cat >conftest.$ac_ext <<_ACEOF
42447 /* confdefs.h. */
42448 _ACEOF
42449 cat confdefs.h >>conftest.$ac_ext
42450 cat >>conftest.$ac_ext <<_ACEOF
42451 /* end confdefs.h. */
42452 #include <netdb.h>
42453 int
42454 main ()
42455 {
42456
42457 char *name = "www.gnu.org";
42458 struct hostent ret;
42459 struct hostent_data data;
42460 (void)gethostbyname_r(name, &ret, &data) /* ; */
42461
42462 ;
42463 return 0;
42464 }
42465 _ACEOF
42466 rm -f conftest.$ac_objext
42467 if { (ac_try="$ac_compile"
42468 case "(($ac_try" in
42469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42470 *) ac_try_echo=$ac_try;;
42471 esac
42472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42473 (eval "$ac_compile") 2>conftest.er1
42474 ac_status=$?
42475 grep -v '^ *+' conftest.er1 >conftest.err
42476 rm -f conftest.er1
42477 cat conftest.err >&5
42478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479 (exit $ac_status); } && {
42480 test -z "$ac_c_werror_flag" ||
42481 test ! -s conftest.err
42482 } && test -s conftest.$ac_objext; then
42483 ac_cv_func_which_gethostbyname_r=three
42484 else
42485 echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.$ac_ext >&5
42487
42488
42489 fi
42490
42491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42492
42493 fi
42494
42495 ################################################################
42496
42497
42498 fi
42499
42500 case "$ac_cv_func_which_gethostbyname_r" in
42501 three)
42502 { echo "$as_me:$LINENO: result: three" >&5
42503 echo "${ECHO_T}three" >&6; }
42504 cat >>confdefs.h <<\_ACEOF
42505 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42506 _ACEOF
42507
42508 ;;
42509
42510 five)
42511 { echo "$as_me:$LINENO: result: five" >&5
42512 echo "${ECHO_T}five" >&6; }
42513 cat >>confdefs.h <<\_ACEOF
42514 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42515 _ACEOF
42516
42517 ;;
42518
42519 six)
42520 { echo "$as_me:$LINENO: result: six" >&5
42521 echo "${ECHO_T}six" >&6; }
42522 cat >>confdefs.h <<\_ACEOF
42523 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42524 _ACEOF
42525
42526 ;;
42527
42528 no)
42529 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42530 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42531 ;;
42532
42533 unknown)
42534 { echo "$as_me:$LINENO: result: can't tell" >&5
42535 echo "${ECHO_T}can't tell" >&6; }
42536 ;;
42537
42538 *)
42539 { { echo "$as_me:$LINENO: error: internal error" >&5
42540 echo "$as_me: error: internal error" >&2;}
42541 { (exit 1); exit 1; }; }
42542 ;;
42543 esac
42544
42545 ac_ext=c
42546 ac_cpp='$CPP $CPPFLAGS'
42547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42550
42551
42552
42553 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42554 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42555 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42556 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42557 if test "${ac_cv_func_gethostbyname+set}" = set; then
42558 echo $ECHO_N "(cached) $ECHO_C" >&6
42559 else
42560 cat >conftest.$ac_ext <<_ACEOF
42561 /* confdefs.h. */
42562 _ACEOF
42563 cat confdefs.h >>conftest.$ac_ext
42564 cat >>conftest.$ac_ext <<_ACEOF
42565 /* end confdefs.h. */
42566 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42568 #define gethostbyname innocuous_gethostbyname
42569
42570 /* System header to define __stub macros and hopefully few prototypes,
42571 which can conflict with char gethostbyname (); below.
42572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42573 <limits.h> exists even on freestanding compilers. */
42574
42575 #ifdef __STDC__
42576 # include <limits.h>
42577 #else
42578 # include <assert.h>
42579 #endif
42580
42581 #undef gethostbyname
42582
42583 /* Override any GCC internal prototype to avoid an error.
42584 Use char because int might match the return type of a GCC
42585 builtin and then its argument prototype would still apply. */
42586 #ifdef __cplusplus
42587 extern "C"
42588 #endif
42589 char gethostbyname ();
42590 /* The GNU C library defines this for functions which it implements
42591 to always fail with ENOSYS. Some functions are actually named
42592 something starting with __ and the normal name is an alias. */
42593 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42594 choke me
42595 #endif
42596
42597 int
42598 main ()
42599 {
42600 return gethostbyname ();
42601 ;
42602 return 0;
42603 }
42604 _ACEOF
42605 rm -f conftest.$ac_objext conftest$ac_exeext
42606 if { (ac_try="$ac_link"
42607 case "(($ac_try" in
42608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42609 *) ac_try_echo=$ac_try;;
42610 esac
42611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42612 (eval "$ac_link") 2>conftest.er1
42613 ac_status=$?
42614 grep -v '^ *+' conftest.er1 >conftest.err
42615 rm -f conftest.er1
42616 cat conftest.err >&5
42617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42618 (exit $ac_status); } && {
42619 test -z "$ac_c_werror_flag" ||
42620 test ! -s conftest.err
42621 } && test -s conftest$ac_exeext &&
42622 $as_test_x conftest$ac_exeext; then
42623 ac_cv_func_gethostbyname=yes
42624 else
42625 echo "$as_me: failed program was:" >&5
42626 sed 's/^/| /' conftest.$ac_ext >&5
42627
42628 ac_cv_func_gethostbyname=no
42629 fi
42630
42631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42632 conftest$ac_exeext conftest.$ac_ext
42633 fi
42634 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42635 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42636 if test $ac_cv_func_gethostbyname = yes; then
42637 cat >>confdefs.h <<\_ACEOF
42638 #define HAVE_GETHOSTBYNAME 1
42639 _ACEOF
42640
42641 fi
42642
42643 fi
42644
42645 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42646 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42647 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42648 echo $ECHO_N "(cached) $ECHO_C" >&6
42649 else
42650
42651 ac_ext=cpp
42652 ac_cpp='$CXXCPP $CPPFLAGS'
42653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42656
42657
42658 cat >conftest.$ac_ext <<_ACEOF
42659 /* confdefs.h. */
42660 _ACEOF
42661 cat confdefs.h >>conftest.$ac_ext
42662 cat >>conftest.$ac_ext <<_ACEOF
42663 /* end confdefs.h. */
42664 #include <netdb.h>
42665 int
42666 main ()
42667 {
42668
42669 char *name;
42670 char *proto;
42671 struct servent *se, *res;
42672 char buffer[2048];
42673 int buflen = 2048;
42674 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42675
42676 ;
42677 return 0;
42678 }
42679 _ACEOF
42680 rm -f conftest.$ac_objext
42681 if { (ac_try="$ac_compile"
42682 case "(($ac_try" in
42683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42684 *) ac_try_echo=$ac_try;;
42685 esac
42686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42687 (eval "$ac_compile") 2>conftest.er1
42688 ac_status=$?
42689 grep -v '^ *+' conftest.er1 >conftest.err
42690 rm -f conftest.er1
42691 cat conftest.err >&5
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); } && {
42694 test -z "$ac_cxx_werror_flag" ||
42695 test ! -s conftest.err
42696 } && test -s conftest.$ac_objext; then
42697 ac_cv_func_which_getservbyname_r=six
42698 else
42699 echo "$as_me: failed program was:" >&5
42700 sed 's/^/| /' conftest.$ac_ext >&5
42701
42702
42703 cat >conftest.$ac_ext <<_ACEOF
42704 /* confdefs.h. */
42705 _ACEOF
42706 cat confdefs.h >>conftest.$ac_ext
42707 cat >>conftest.$ac_ext <<_ACEOF
42708 /* end confdefs.h. */
42709 #include <netdb.h>
42710 int
42711 main ()
42712 {
42713
42714 char *name;
42715 char *proto;
42716 struct servent *se;
42717 char buffer[2048];
42718 int buflen = 2048;
42719 (void) getservbyname_r(name, proto, se, buffer, buflen)
42720
42721 ;
42722 return 0;
42723 }
42724 _ACEOF
42725 rm -f conftest.$ac_objext
42726 if { (ac_try="$ac_compile"
42727 case "(($ac_try" in
42728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42729 *) ac_try_echo=$ac_try;;
42730 esac
42731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42732 (eval "$ac_compile") 2>conftest.er1
42733 ac_status=$?
42734 grep -v '^ *+' conftest.er1 >conftest.err
42735 rm -f conftest.er1
42736 cat conftest.err >&5
42737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42738 (exit $ac_status); } && {
42739 test -z "$ac_cxx_werror_flag" ||
42740 test ! -s conftest.err
42741 } && test -s conftest.$ac_objext; then
42742 ac_cv_func_which_getservbyname_r=five
42743 else
42744 echo "$as_me: failed program was:" >&5
42745 sed 's/^/| /' conftest.$ac_ext >&5
42746
42747
42748 cat >conftest.$ac_ext <<_ACEOF
42749 /* confdefs.h. */
42750 _ACEOF
42751 cat confdefs.h >>conftest.$ac_ext
42752 cat >>conftest.$ac_ext <<_ACEOF
42753 /* end confdefs.h. */
42754 #include <netdb.h>
42755 int
42756 main ()
42757 {
42758
42759 char *name;
42760 char *proto;
42761 struct servent *se;
42762 struct servent_data data;
42763 (void) getservbyname_r(name, proto, se, &data);
42764
42765 ;
42766 return 0;
42767 }
42768 _ACEOF
42769 rm -f conftest.$ac_objext
42770 if { (ac_try="$ac_compile"
42771 case "(($ac_try" in
42772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42773 *) ac_try_echo=$ac_try;;
42774 esac
42775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42776 (eval "$ac_compile") 2>conftest.er1
42777 ac_status=$?
42778 grep -v '^ *+' conftest.er1 >conftest.err
42779 rm -f conftest.er1
42780 cat conftest.err >&5
42781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782 (exit $ac_status); } && {
42783 test -z "$ac_cxx_werror_flag" ||
42784 test ! -s conftest.err
42785 } && test -s conftest.$ac_objext; then
42786 ac_cv_func_which_getservbyname_r=four
42787 else
42788 echo "$as_me: failed program was:" >&5
42789 sed 's/^/| /' conftest.$ac_ext >&5
42790
42791 ac_cv_func_which_getservbyname_r=no
42792
42793 fi
42794
42795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42796
42797
42798 fi
42799
42800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42801
42802
42803 fi
42804
42805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42806 ac_ext=c
42807 ac_cpp='$CPP $CPPFLAGS'
42808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42811
42812
42813
42814 fi
42815 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42816 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42817
42818 if test $ac_cv_func_which_getservbyname_r = six; then
42819 cat >>confdefs.h <<\_ACEOF
42820 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42821 _ACEOF
42822
42823 elif test $ac_cv_func_which_getservbyname_r = five; then
42824 cat >>confdefs.h <<\_ACEOF
42825 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42826 _ACEOF
42827
42828 elif test $ac_cv_func_which_getservbyname_r = four; then
42829 cat >>confdefs.h <<\_ACEOF
42830 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42831 _ACEOF
42832
42833 fi
42834
42835
42836 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42837 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42838
42839 for ac_func in getservbyname
42840 do
42841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42842 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42844 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42845 echo $ECHO_N "(cached) $ECHO_C" >&6
42846 else
42847 cat >conftest.$ac_ext <<_ACEOF
42848 /* confdefs.h. */
42849 _ACEOF
42850 cat confdefs.h >>conftest.$ac_ext
42851 cat >>conftest.$ac_ext <<_ACEOF
42852 /* end confdefs.h. */
42853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42855 #define $ac_func innocuous_$ac_func
42856
42857 /* System header to define __stub macros and hopefully few prototypes,
42858 which can conflict with char $ac_func (); below.
42859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42860 <limits.h> exists even on freestanding compilers. */
42861
42862 #ifdef __STDC__
42863 # include <limits.h>
42864 #else
42865 # include <assert.h>
42866 #endif
42867
42868 #undef $ac_func
42869
42870 /* Override any GCC internal prototype to avoid an error.
42871 Use char because int might match the return type of a GCC
42872 builtin and then its argument prototype would still apply. */
42873 #ifdef __cplusplus
42874 extern "C"
42875 #endif
42876 char $ac_func ();
42877 /* The GNU C library defines this for functions which it implements
42878 to always fail with ENOSYS. Some functions are actually named
42879 something starting with __ and the normal name is an alias. */
42880 #if defined __stub_$ac_func || defined __stub___$ac_func
42881 choke me
42882 #endif
42883
42884 int
42885 main ()
42886 {
42887 return $ac_func ();
42888 ;
42889 return 0;
42890 }
42891 _ACEOF
42892 rm -f conftest.$ac_objext conftest$ac_exeext
42893 if { (ac_try="$ac_link"
42894 case "(($ac_try" in
42895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42896 *) ac_try_echo=$ac_try;;
42897 esac
42898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42899 (eval "$ac_link") 2>conftest.er1
42900 ac_status=$?
42901 grep -v '^ *+' conftest.er1 >conftest.err
42902 rm -f conftest.er1
42903 cat conftest.err >&5
42904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42905 (exit $ac_status); } && {
42906 test -z "$ac_c_werror_flag" ||
42907 test ! -s conftest.err
42908 } && test -s conftest$ac_exeext &&
42909 $as_test_x conftest$ac_exeext; then
42910 eval "$as_ac_var=yes"
42911 else
42912 echo "$as_me: failed program was:" >&5
42913 sed 's/^/| /' conftest.$ac_ext >&5
42914
42915 eval "$as_ac_var=no"
42916 fi
42917
42918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42919 conftest$ac_exeext conftest.$ac_ext
42920 fi
42921 ac_res=`eval echo '${'$as_ac_var'}'`
42922 { echo "$as_me:$LINENO: result: $ac_res" >&5
42923 echo "${ECHO_T}$ac_res" >&6; }
42924 if test `eval echo '${'$as_ac_var'}'` = yes; then
42925 cat >>confdefs.h <<_ACEOF
42926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42927 _ACEOF
42928 cat >>confdefs.h <<\_ACEOF
42929 #define HAVE_GETSERVBYNAME 1
42930 _ACEOF
42931
42932 fi
42933 done
42934
42935 fi
42936
42937 if test "$wxUSE_THREADS" = "yes"; then
42938 cat >>confdefs.h <<\_ACEOF
42939 #define wxUSE_THREADS 1
42940 _ACEOF
42941
42942
42943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42944 else
42945 if test "$wx_cv_func_strtok_r" = "yes"; then
42946 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42947 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42948 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42949 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42950 { echo "$as_me:$LINENO: result: yes" >&5
42951 echo "${ECHO_T}yes" >&6; }
42952 else
42953 { echo "$as_me:$LINENO: result: no" >&5
42954 echo "${ECHO_T}no" >&6; }
42955 fi
42956 fi
42957 fi
42958
42959 if test "$WXGTK2" = 1 ; then
42960 cat >>confdefs.h <<_ACEOF
42961 #define __WXGTK20__ $WXGTK2
42962 _ACEOF
42963
42964 fi
42965
42966 if test "$WXGTK127" = 1 ; then
42967 cat >>confdefs.h <<_ACEOF
42968 #define __WXGTK127__ $WXGTK127
42969 _ACEOF
42970
42971 fi
42972
42973 if test "$WXGPE" = 1 ; then
42974 cat >>confdefs.h <<_ACEOF
42975 #define __WXGPE__ $WXGPE
42976 _ACEOF
42977
42978 fi
42979
42980 DEBUG_CFLAGS=
42981 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42982 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42983 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42984 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42985 DEBUG_CFLAGS="-g"
42986 fi
42987
42988 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42989 wxUSE_DEBUG_INFO=yes
42990 if test "$GCC" = yes; then
42991 DEBUG_CFLAGS="-ggdb"
42992 fi
42993 fi
42994
42995 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42996 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
42997
42998 if test "$wxUSE_GTK" = 1 ; then
42999 if test "x$wxGTK_VERSION" = "x1" ; then
43000 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43001 else
43002 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
43003 fi
43004 fi
43005 fi
43006
43007 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43008 cat >>confdefs.h <<\_ACEOF
43009 #define wxUSE_MEMORY_TRACING 1
43010 _ACEOF
43011
43012 cat >>confdefs.h <<\_ACEOF
43013 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43014 _ACEOF
43015
43016 cat >>confdefs.h <<\_ACEOF
43017 #define wxUSE_DEBUG_NEW_ALWAYS 1
43018 _ACEOF
43019
43020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43021 fi
43022
43023 if test "$wxUSE_DMALLOC" = "yes" ; then
43024 DMALLOC_LIBS="-ldmallocthcxx"
43025 fi
43026
43027 PROFILE_FLAGS=
43028 if test "$wxUSE_PROFILE" = "yes" ; then
43029 PROFILE_FLAGS=" -pg"
43030 fi
43031
43032 if test "$GCC" = "yes" ; then
43033 if test "$wxUSE_NO_RTTI" = "yes" ; then
43034 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43035 fi
43036 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43037 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43038 fi
43039 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43040 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43041 fi
43042
43043 case "${host}" in
43044 powerpc*-*-aix* )
43045 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43046 ;;
43047 *-hppa* )
43048 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43049 ;;
43050 esac
43051 fi
43052
43053 OPTIMISE_CFLAGS=
43054 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
43055 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43056 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43057 else
43058 if test "$wxUSE_OPTIMISE" = "no" ; then
43059 if test "$GCC" = yes ; then
43060 OPTIMISE_CFLAGS="-O0"
43061 fi
43062 else
43063 if test "$GCC" = yes ; then
43064 case "${host}" in
43065 *-pc-os2_emx | *-pc-os2-emx )
43066 OPTIMISE_CFLAGS="-O2"
43067 ;;
43068 *)
43069 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43070 ;;
43071 esac
43072 else
43073 OPTIMISE_CFLAGS="-O"
43074 fi
43075 fi
43076 fi
43077
43078
43079 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43080 cat >>confdefs.h <<\_ACEOF
43081 #define WXWIN_COMPATIBILITY_2_6 1
43082 _ACEOF
43083
43084
43085 WXWIN_COMPATIBILITY_2_8="yes"
43086 fi
43087
43088 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43089 cat >>confdefs.h <<\_ACEOF
43090 #define WXWIN_COMPATIBILITY_2_8 1
43091 _ACEOF
43092
43093 fi
43094
43095
43096 if test "$wxUSE_GUI" = "yes"; then
43097 cat >>confdefs.h <<\_ACEOF
43098 #define wxUSE_GUI 1
43099 _ACEOF
43100
43101
43102 fi
43103
43104
43105 if test "$wxUSE_UNIX" = "yes"; then
43106 cat >>confdefs.h <<\_ACEOF
43107 #define wxUSE_UNIX 1
43108 _ACEOF
43109
43110 fi
43111
43112
43113 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43114
43115 HAVE_DL_FUNCS=0
43116 HAVE_SHL_FUNCS=0
43117 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43118 if test "$USE_DOS" = 1; then
43119 HAVE_DL_FUNCS=0
43120 else
43121
43122 for ac_func in dlopen
43123 do
43124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43128 echo $ECHO_N "(cached) $ECHO_C" >&6
43129 else
43130 cat >conftest.$ac_ext <<_ACEOF
43131 /* confdefs.h. */
43132 _ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h. */
43136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43138 #define $ac_func innocuous_$ac_func
43139
43140 /* System header to define __stub macros and hopefully few prototypes,
43141 which can conflict with char $ac_func (); below.
43142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43143 <limits.h> exists even on freestanding compilers. */
43144
43145 #ifdef __STDC__
43146 # include <limits.h>
43147 #else
43148 # include <assert.h>
43149 #endif
43150
43151 #undef $ac_func
43152
43153 /* Override any GCC internal prototype to avoid an error.
43154 Use char because int might match the return type of a GCC
43155 builtin and then its argument prototype would still apply. */
43156 #ifdef __cplusplus
43157 extern "C"
43158 #endif
43159 char $ac_func ();
43160 /* The GNU C library defines this for functions which it implements
43161 to always fail with ENOSYS. Some functions are actually named
43162 something starting with __ and the normal name is an alias. */
43163 #if defined __stub_$ac_func || defined __stub___$ac_func
43164 choke me
43165 #endif
43166
43167 int
43168 main ()
43169 {
43170 return $ac_func ();
43171 ;
43172 return 0;
43173 }
43174 _ACEOF
43175 rm -f conftest.$ac_objext conftest$ac_exeext
43176 if { (ac_try="$ac_link"
43177 case "(($ac_try" in
43178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43179 *) ac_try_echo=$ac_try;;
43180 esac
43181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43182 (eval "$ac_link") 2>conftest.er1
43183 ac_status=$?
43184 grep -v '^ *+' conftest.er1 >conftest.err
43185 rm -f conftest.er1
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } && {
43189 test -z "$ac_c_werror_flag" ||
43190 test ! -s conftest.err
43191 } && test -s conftest$ac_exeext &&
43192 $as_test_x conftest$ac_exeext; then
43193 eval "$as_ac_var=yes"
43194 else
43195 echo "$as_me: failed program was:" >&5
43196 sed 's/^/| /' conftest.$ac_ext >&5
43197
43198 eval "$as_ac_var=no"
43199 fi
43200
43201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43202 conftest$ac_exeext conftest.$ac_ext
43203 fi
43204 ac_res=`eval echo '${'$as_ac_var'}'`
43205 { echo "$as_me:$LINENO: result: $ac_res" >&5
43206 echo "${ECHO_T}$ac_res" >&6; }
43207 if test `eval echo '${'$as_ac_var'}'` = yes; then
43208 cat >>confdefs.h <<_ACEOF
43209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43210 _ACEOF
43211
43212 cat >>confdefs.h <<\_ACEOF
43213 #define HAVE_DLOPEN 1
43214 _ACEOF
43215
43216 HAVE_DL_FUNCS=1
43217
43218 else
43219
43220 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43221 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43222 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43223 echo $ECHO_N "(cached) $ECHO_C" >&6
43224 else
43225 ac_check_lib_save_LIBS=$LIBS
43226 LIBS="-ldl $LIBS"
43227 cat >conftest.$ac_ext <<_ACEOF
43228 /* confdefs.h. */
43229 _ACEOF
43230 cat confdefs.h >>conftest.$ac_ext
43231 cat >>conftest.$ac_ext <<_ACEOF
43232 /* end confdefs.h. */
43233
43234 /* Override any GCC internal prototype to avoid an error.
43235 Use char because int might match the return type of a GCC
43236 builtin and then its argument prototype would still apply. */
43237 #ifdef __cplusplus
43238 extern "C"
43239 #endif
43240 char dlopen ();
43241 int
43242 main ()
43243 {
43244 return dlopen ();
43245 ;
43246 return 0;
43247 }
43248 _ACEOF
43249 rm -f conftest.$ac_objext conftest$ac_exeext
43250 if { (ac_try="$ac_link"
43251 case "(($ac_try" in
43252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43253 *) ac_try_echo=$ac_try;;
43254 esac
43255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43256 (eval "$ac_link") 2>conftest.er1
43257 ac_status=$?
43258 grep -v '^ *+' conftest.er1 >conftest.err
43259 rm -f conftest.er1
43260 cat conftest.err >&5
43261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43262 (exit $ac_status); } && {
43263 test -z "$ac_c_werror_flag" ||
43264 test ! -s conftest.err
43265 } && test -s conftest$ac_exeext &&
43266 $as_test_x conftest$ac_exeext; then
43267 ac_cv_lib_dl_dlopen=yes
43268 else
43269 echo "$as_me: failed program was:" >&5
43270 sed 's/^/| /' conftest.$ac_ext >&5
43271
43272 ac_cv_lib_dl_dlopen=no
43273 fi
43274
43275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43276 conftest$ac_exeext conftest.$ac_ext
43277 LIBS=$ac_check_lib_save_LIBS
43278 fi
43279 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43280 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43281 if test $ac_cv_lib_dl_dlopen = yes; then
43282
43283 cat >>confdefs.h <<\_ACEOF
43284 #define HAVE_DLOPEN 1
43285 _ACEOF
43286
43287 HAVE_DL_FUNCS=1
43288 DL_LINK=" -ldl$DL_LINK"
43289
43290 else
43291
43292
43293 for ac_func in shl_load
43294 do
43295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43296 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43298 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43299 echo $ECHO_N "(cached) $ECHO_C" >&6
43300 else
43301 cat >conftest.$ac_ext <<_ACEOF
43302 /* confdefs.h. */
43303 _ACEOF
43304 cat confdefs.h >>conftest.$ac_ext
43305 cat >>conftest.$ac_ext <<_ACEOF
43306 /* end confdefs.h. */
43307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43309 #define $ac_func innocuous_$ac_func
43310
43311 /* System header to define __stub macros and hopefully few prototypes,
43312 which can conflict with char $ac_func (); below.
43313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43314 <limits.h> exists even on freestanding compilers. */
43315
43316 #ifdef __STDC__
43317 # include <limits.h>
43318 #else
43319 # include <assert.h>
43320 #endif
43321
43322 #undef $ac_func
43323
43324 /* Override any GCC internal prototype to avoid an error.
43325 Use char because int might match the return type of a GCC
43326 builtin and then its argument prototype would still apply. */
43327 #ifdef __cplusplus
43328 extern "C"
43329 #endif
43330 char $ac_func ();
43331 /* The GNU C library defines this for functions which it implements
43332 to always fail with ENOSYS. Some functions are actually named
43333 something starting with __ and the normal name is an alias. */
43334 #if defined __stub_$ac_func || defined __stub___$ac_func
43335 choke me
43336 #endif
43337
43338 int
43339 main ()
43340 {
43341 return $ac_func ();
43342 ;
43343 return 0;
43344 }
43345 _ACEOF
43346 rm -f conftest.$ac_objext conftest$ac_exeext
43347 if { (ac_try="$ac_link"
43348 case "(($ac_try" in
43349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43350 *) ac_try_echo=$ac_try;;
43351 esac
43352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43353 (eval "$ac_link") 2>conftest.er1
43354 ac_status=$?
43355 grep -v '^ *+' conftest.er1 >conftest.err
43356 rm -f conftest.er1
43357 cat conftest.err >&5
43358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43359 (exit $ac_status); } && {
43360 test -z "$ac_c_werror_flag" ||
43361 test ! -s conftest.err
43362 } && test -s conftest$ac_exeext &&
43363 $as_test_x conftest$ac_exeext; then
43364 eval "$as_ac_var=yes"
43365 else
43366 echo "$as_me: failed program was:" >&5
43367 sed 's/^/| /' conftest.$ac_ext >&5
43368
43369 eval "$as_ac_var=no"
43370 fi
43371
43372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43373 conftest$ac_exeext conftest.$ac_ext
43374 fi
43375 ac_res=`eval echo '${'$as_ac_var'}'`
43376 { echo "$as_me:$LINENO: result: $ac_res" >&5
43377 echo "${ECHO_T}$ac_res" >&6; }
43378 if test `eval echo '${'$as_ac_var'}'` = yes; then
43379 cat >>confdefs.h <<_ACEOF
43380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43381 _ACEOF
43382
43383 cat >>confdefs.h <<\_ACEOF
43384 #define HAVE_SHL_LOAD 1
43385 _ACEOF
43386
43387 HAVE_SHL_FUNCS=1
43388
43389 else
43390
43391 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43392 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43393 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43394 echo $ECHO_N "(cached) $ECHO_C" >&6
43395 else
43396 ac_check_lib_save_LIBS=$LIBS
43397 LIBS="-lshl_load $LIBS"
43398 cat >conftest.$ac_ext <<_ACEOF
43399 /* confdefs.h. */
43400 _ACEOF
43401 cat confdefs.h >>conftest.$ac_ext
43402 cat >>conftest.$ac_ext <<_ACEOF
43403 /* end confdefs.h. */
43404
43405 /* Override any GCC internal prototype to avoid an error.
43406 Use char because int might match the return type of a GCC
43407 builtin and then its argument prototype would still apply. */
43408 #ifdef __cplusplus
43409 extern "C"
43410 #endif
43411 char dld ();
43412 int
43413 main ()
43414 {
43415 return dld ();
43416 ;
43417 return 0;
43418 }
43419 _ACEOF
43420 rm -f conftest.$ac_objext conftest$ac_exeext
43421 if { (ac_try="$ac_link"
43422 case "(($ac_try" in
43423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43424 *) ac_try_echo=$ac_try;;
43425 esac
43426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43427 (eval "$ac_link") 2>conftest.er1
43428 ac_status=$?
43429 grep -v '^ *+' conftest.er1 >conftest.err
43430 rm -f conftest.er1
43431 cat conftest.err >&5
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); } && {
43434 test -z "$ac_c_werror_flag" ||
43435 test ! -s conftest.err
43436 } && test -s conftest$ac_exeext &&
43437 $as_test_x conftest$ac_exeext; then
43438 ac_cv_lib_shl_load_dld=yes
43439 else
43440 echo "$as_me: failed program was:" >&5
43441 sed 's/^/| /' conftest.$ac_ext >&5
43442
43443 ac_cv_lib_shl_load_dld=no
43444 fi
43445
43446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43447 conftest$ac_exeext conftest.$ac_ext
43448 LIBS=$ac_check_lib_save_LIBS
43449 fi
43450 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43451 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43452 if test $ac_cv_lib_shl_load_dld = yes; then
43453
43454 HAVE_SHL_FUNCS=1
43455 DL_LINK=" -ldld$DL_LINK"
43456
43457 fi
43458
43459
43460 fi
43461 done
43462
43463
43464 fi
43465
43466
43467 fi
43468 done
43469
43470
43471 if test "$HAVE_DL_FUNCS" = 1; then
43472
43473 for ac_func in dlerror
43474 do
43475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43476 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43479 echo $ECHO_N "(cached) $ECHO_C" >&6
43480 else
43481 cat >conftest.$ac_ext <<_ACEOF
43482 /* confdefs.h. */
43483 _ACEOF
43484 cat confdefs.h >>conftest.$ac_ext
43485 cat >>conftest.$ac_ext <<_ACEOF
43486 /* end confdefs.h. */
43487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43489 #define $ac_func innocuous_$ac_func
43490
43491 /* System header to define __stub macros and hopefully few prototypes,
43492 which can conflict with char $ac_func (); below.
43493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43494 <limits.h> exists even on freestanding compilers. */
43495
43496 #ifdef __STDC__
43497 # include <limits.h>
43498 #else
43499 # include <assert.h>
43500 #endif
43501
43502 #undef $ac_func
43503
43504 /* Override any GCC internal prototype to avoid an error.
43505 Use char because int might match the return type of a GCC
43506 builtin and then its argument prototype would still apply. */
43507 #ifdef __cplusplus
43508 extern "C"
43509 #endif
43510 char $ac_func ();
43511 /* The GNU C library defines this for functions which it implements
43512 to always fail with ENOSYS. Some functions are actually named
43513 something starting with __ and the normal name is an alias. */
43514 #if defined __stub_$ac_func || defined __stub___$ac_func
43515 choke me
43516 #endif
43517
43518 int
43519 main ()
43520 {
43521 return $ac_func ();
43522 ;
43523 return 0;
43524 }
43525 _ACEOF
43526 rm -f conftest.$ac_objext conftest$ac_exeext
43527 if { (ac_try="$ac_link"
43528 case "(($ac_try" in
43529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43530 *) ac_try_echo=$ac_try;;
43531 esac
43532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43533 (eval "$ac_link") 2>conftest.er1
43534 ac_status=$?
43535 grep -v '^ *+' conftest.er1 >conftest.err
43536 rm -f conftest.er1
43537 cat conftest.err >&5
43538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43539 (exit $ac_status); } && {
43540 test -z "$ac_c_werror_flag" ||
43541 test ! -s conftest.err
43542 } && test -s conftest$ac_exeext &&
43543 $as_test_x conftest$ac_exeext; then
43544 eval "$as_ac_var=yes"
43545 else
43546 echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.$ac_ext >&5
43548
43549 eval "$as_ac_var=no"
43550 fi
43551
43552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43553 conftest$ac_exeext conftest.$ac_ext
43554 fi
43555 ac_res=`eval echo '${'$as_ac_var'}'`
43556 { echo "$as_me:$LINENO: result: $ac_res" >&5
43557 echo "${ECHO_T}$ac_res" >&6; }
43558 if test `eval echo '${'$as_ac_var'}'` = yes; then
43559 cat >>confdefs.h <<_ACEOF
43560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43561 _ACEOF
43562 cat >>confdefs.h <<\_ACEOF
43563 #define HAVE_DLERROR 1
43564 _ACEOF
43565
43566 else
43567
43568 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43569 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43570 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43571 echo $ECHO_N "(cached) $ECHO_C" >&6
43572 else
43573 ac_check_lib_save_LIBS=$LIBS
43574 LIBS="-ldl $LIBS"
43575 cat >conftest.$ac_ext <<_ACEOF
43576 /* confdefs.h. */
43577 _ACEOF
43578 cat confdefs.h >>conftest.$ac_ext
43579 cat >>conftest.$ac_ext <<_ACEOF
43580 /* end confdefs.h. */
43581
43582 /* Override any GCC internal prototype to avoid an error.
43583 Use char because int might match the return type of a GCC
43584 builtin and then its argument prototype would still apply. */
43585 #ifdef __cplusplus
43586 extern "C"
43587 #endif
43588 char dlerror ();
43589 int
43590 main ()
43591 {
43592 return dlerror ();
43593 ;
43594 return 0;
43595 }
43596 _ACEOF
43597 rm -f conftest.$ac_objext conftest$ac_exeext
43598 if { (ac_try="$ac_link"
43599 case "(($ac_try" in
43600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43601 *) ac_try_echo=$ac_try;;
43602 esac
43603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43604 (eval "$ac_link") 2>conftest.er1
43605 ac_status=$?
43606 grep -v '^ *+' conftest.er1 >conftest.err
43607 rm -f conftest.er1
43608 cat conftest.err >&5
43609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43610 (exit $ac_status); } && {
43611 test -z "$ac_c_werror_flag" ||
43612 test ! -s conftest.err
43613 } && test -s conftest$ac_exeext &&
43614 $as_test_x conftest$ac_exeext; then
43615 ac_cv_lib_dl_dlerror=yes
43616 else
43617 echo "$as_me: failed program was:" >&5
43618 sed 's/^/| /' conftest.$ac_ext >&5
43619
43620 ac_cv_lib_dl_dlerror=no
43621 fi
43622
43623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43624 conftest$ac_exeext conftest.$ac_ext
43625 LIBS=$ac_check_lib_save_LIBS
43626 fi
43627 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43628 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43629 if test $ac_cv_lib_dl_dlerror = yes; then
43630 cat >>confdefs.h <<\_ACEOF
43631 #define HAVE_DLERROR 1
43632 _ACEOF
43633
43634 fi
43635
43636
43637
43638 fi
43639 done
43640
43641 fi
43642 fi
43643
43644 if test "$USE_DARWIN" = 1; then
43645 HAVE_DL_FUNCS=1
43646 fi
43647
43648 if test "$HAVE_DL_FUNCS" = 0; then
43649 if test "$HAVE_SHL_FUNCS" = 0; then
43650 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43651 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43652 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43653 wxUSE_DYNAMIC_LOADER=no
43654 wxUSE_DYNLIB_CLASS=no
43655 else
43656 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43657 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43658 fi
43659 fi
43660 fi
43661 fi
43662 fi
43663
43664 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43665 cat >>confdefs.h <<\_ACEOF
43666 #define wxUSE_DYNAMIC_LOADER 1
43667 _ACEOF
43668
43669 fi
43670 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43671 cat >>confdefs.h <<\_ACEOF
43672 #define wxUSE_DYNLIB_CLASS 1
43673 _ACEOF
43674
43675 fi
43676
43677
43678
43679 if test "$wxUSE_PLUGINS" = "yes" ; then
43680 if test "$wxUSE_SHARED" = "no" ; then
43681 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43682 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43683 wxUSE_PLUGINS=no
43684 fi
43685 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43686 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43687 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43688 wxUSE_PLUGINS=no
43689 fi
43690 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43691 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43692 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43693 wxUSE_PLUGINS=no
43694 fi
43695 if test "$wxUSE_PLUGINS" = "yes" ; then
43696 cat >>confdefs.h <<\_ACEOF
43697 #define wxUSE_PLUGINS 1
43698 _ACEOF
43699
43700 fi
43701 fi
43702
43703
43704 if test "$wxUSE_FSWATCHER" = "yes"; then
43705 if test "$wxUSE_MSW" != "1"; then
43706 if test "$wxUSE_UNIX" = "yes"; then
43707
43708 for ac_header in sys/inotify.h
43709 do
43710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43711 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43714 echo $ECHO_N "(cached) $ECHO_C" >&6
43715 else
43716 cat >conftest.$ac_ext <<_ACEOF
43717 /* confdefs.h. */
43718 _ACEOF
43719 cat confdefs.h >>conftest.$ac_ext
43720 cat >>conftest.$ac_ext <<_ACEOF
43721 /* end confdefs.h. */
43722 $ac_includes_default
43723
43724 #include <$ac_header>
43725 _ACEOF
43726 rm -f conftest.$ac_objext
43727 if { (ac_try="$ac_compile"
43728 case "(($ac_try" in
43729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43730 *) ac_try_echo=$ac_try;;
43731 esac
43732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43733 (eval "$ac_compile") 2>conftest.er1
43734 ac_status=$?
43735 grep -v '^ *+' conftest.er1 >conftest.err
43736 rm -f conftest.er1
43737 cat conftest.err >&5
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); } && {
43740 test -z "$ac_c_werror_flag" ||
43741 test ! -s conftest.err
43742 } && test -s conftest.$ac_objext; then
43743 eval "$as_ac_Header=yes"
43744 else
43745 echo "$as_me: failed program was:" >&5
43746 sed 's/^/| /' conftest.$ac_ext >&5
43747
43748 eval "$as_ac_Header=no"
43749 fi
43750
43751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43752 fi
43753 ac_res=`eval echo '${'$as_ac_Header'}'`
43754 { echo "$as_me:$LINENO: result: $ac_res" >&5
43755 echo "${ECHO_T}$ac_res" >&6; }
43756 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43757 cat >>confdefs.h <<_ACEOF
43758 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43759 _ACEOF
43760
43761 fi
43762
43763 done
43764
43765 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43766 cat >>confdefs.h <<\_ACEOF
43767 #define wxHAS_INOTIFY 1
43768 _ACEOF
43769
43770 else
43771
43772 for ac_header in sys/event.h
43773 do
43774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43777 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43778 echo $ECHO_N "(cached) $ECHO_C" >&6
43779 else
43780 cat >conftest.$ac_ext <<_ACEOF
43781 /* confdefs.h. */
43782 _ACEOF
43783 cat confdefs.h >>conftest.$ac_ext
43784 cat >>conftest.$ac_ext <<_ACEOF
43785 /* end confdefs.h. */
43786 $ac_includes_default
43787
43788 #include <$ac_header>
43789 _ACEOF
43790 rm -f conftest.$ac_objext
43791 if { (ac_try="$ac_compile"
43792 case "(($ac_try" in
43793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43794 *) ac_try_echo=$ac_try;;
43795 esac
43796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43797 (eval "$ac_compile") 2>conftest.er1
43798 ac_status=$?
43799 grep -v '^ *+' conftest.er1 >conftest.err
43800 rm -f conftest.er1
43801 cat conftest.err >&5
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); } && {
43804 test -z "$ac_c_werror_flag" ||
43805 test ! -s conftest.err
43806 } && test -s conftest.$ac_objext; then
43807 eval "$as_ac_Header=yes"
43808 else
43809 echo "$as_me: failed program was:" >&5
43810 sed 's/^/| /' conftest.$ac_ext >&5
43811
43812 eval "$as_ac_Header=no"
43813 fi
43814
43815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43816 fi
43817 ac_res=`eval echo '${'$as_ac_Header'}'`
43818 { echo "$as_me:$LINENO: result: $ac_res" >&5
43819 echo "${ECHO_T}$ac_res" >&6; }
43820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43821 cat >>confdefs.h <<_ACEOF
43822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43823 _ACEOF
43824
43825 fi
43826
43827 done
43828
43829 if test "$ac_cv_header_sys_event_h" = "yes"; then
43830 cat >>confdefs.h <<\_ACEOF
43831 #define wxHAS_KQUEUE 1
43832 _ACEOF
43833
43834 else
43835 wxUSE_FSWATCHER=no
43836 fi
43837 fi
43838 else
43839 wxUSE_FSWATCHER=no
43840 fi
43841 else
43842 if test "$wxUSE_THREADS" != "yes"; then
43843 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43844 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43845 wxUSE_FSWATCHER=no
43846 fi
43847 fi
43848
43849 if test "$wxUSE_FSWATCHER" = "yes"; then
43850 cat >>confdefs.h <<\_ACEOF
43851 #define wxUSE_FSWATCHER 1
43852 _ACEOF
43853
43854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43855 else
43856 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43857 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43858 fi
43859 fi
43860
43861
43862 if test "$wxUSE_STL" = "yes"; then
43863 cat >>confdefs.h <<\_ACEOF
43864 #define wxUSE_STL 1
43865 _ACEOF
43866
43867 fi
43868
43869 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43870 cat >>confdefs.h <<\_ACEOF
43871 #define wxUSE_EXTENDED_RTTI 1
43872 _ACEOF
43873
43874 fi
43875
43876 if test "$wxUSE_ANY" = "yes"; then
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_ANY 1
43879 _ACEOF
43880
43881 fi
43882
43883 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43884 cat >>confdefs.h <<\_ACEOF
43885 #define wxUSE_APPLE_IEEE 1
43886 _ACEOF
43887
43888 fi
43889
43890 if test "$wxUSE_TIMER" = "yes"; then
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_TIMER 1
43893 _ACEOF
43894
43895 fi
43896
43897 if test "$USE_UNIX" = 1 ; then
43898 if test "$wxUSE_MGL" != 1; then
43899 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43900 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43901 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43902 echo $ECHO_N "(cached) $ECHO_C" >&6
43903 else
43904
43905 cat >conftest.$ac_ext <<_ACEOF
43906 /* confdefs.h. */
43907 _ACEOF
43908 cat confdefs.h >>conftest.$ac_ext
43909 cat >>conftest.$ac_ext <<_ACEOF
43910 /* end confdefs.h. */
43911
43912 #include <sys/ioctl.h>
43913 #include <sys/soundcard.h>
43914
43915 int
43916 main ()
43917 {
43918
43919 ioctl(0, SNDCTL_DSP_SPEED, 0);
43920
43921 ;
43922 return 0;
43923 }
43924 _ACEOF
43925 rm -f conftest.$ac_objext conftest$ac_exeext
43926 if { (ac_try="$ac_link"
43927 case "(($ac_try" in
43928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43929 *) ac_try_echo=$ac_try;;
43930 esac
43931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43932 (eval "$ac_link") 2>conftest.er1
43933 ac_status=$?
43934 grep -v '^ *+' conftest.er1 >conftest.err
43935 rm -f conftest.er1
43936 cat conftest.err >&5
43937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938 (exit $ac_status); } && {
43939 test -z "$ac_c_werror_flag" ||
43940 test ! -s conftest.err
43941 } && test -s conftest$ac_exeext &&
43942 $as_test_x conftest$ac_exeext; then
43943 ac_cv_header_sys_soundcard=yes
43944 else
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.$ac_ext >&5
43947
43948
43949 saveLibs="$LIBS"
43950 LIBS="$saveLibs -lossaudio"
43951 cat >conftest.$ac_ext <<_ACEOF
43952 /* confdefs.h. */
43953 _ACEOF
43954 cat confdefs.h >>conftest.$ac_ext
43955 cat >>conftest.$ac_ext <<_ACEOF
43956 /* end confdefs.h. */
43957
43958 #include <sys/ioctl.h>
43959 #include <sys/soundcard.h>
43960
43961 int
43962 main ()
43963 {
43964
43965 ioctl(0, SNDCTL_DSP_SPEED, 0);
43966
43967 ;
43968 return 0;
43969 }
43970 _ACEOF
43971 rm -f conftest.$ac_objext conftest$ac_exeext
43972 if { (ac_try="$ac_link"
43973 case "(($ac_try" in
43974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43975 *) ac_try_echo=$ac_try;;
43976 esac
43977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43978 (eval "$ac_link") 2>conftest.er1
43979 ac_status=$?
43980 grep -v '^ *+' conftest.er1 >conftest.err
43981 rm -f conftest.er1
43982 cat conftest.err >&5
43983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43984 (exit $ac_status); } && {
43985 test -z "$ac_c_werror_flag" ||
43986 test ! -s conftest.err
43987 } && test -s conftest$ac_exeext &&
43988 $as_test_x conftest$ac_exeext; then
43989 ac_cv_header_sys_soundcard=yes
43990 else
43991 echo "$as_me: failed program was:" >&5
43992 sed 's/^/| /' conftest.$ac_ext >&5
43993
43994
43995 LIBS="$saveLibs"
43996 ac_cv_header_sys_soundcard=no
43997
43998
43999 fi
44000
44001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44002 conftest$ac_exeext conftest.$ac_ext
44003
44004
44005 fi
44006
44007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44008 conftest$ac_exeext conftest.$ac_ext
44009
44010 fi
44011 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44012 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44013 fi
44014
44015 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44016 cat >>confdefs.h <<\_ACEOF
44017 #define HAVE_SYS_SOUNDCARD_H 1
44018 _ACEOF
44019
44020 fi
44021 fi
44022
44023 WITH_PLUGIN_SDL=0
44024 if test "$wxUSE_SOUND" = "yes"; then
44025 if test "$USE_UNIX" = 1 ; then
44026 if test "$wxUSE_LIBSDL" != "no"; then
44027
44028 # Check whether --with-sdl-prefix was given.
44029 if test "${with_sdl_prefix+set}" = set; then
44030 withval=$with_sdl_prefix; sdl_prefix="$withval"
44031 else
44032 sdl_prefix=""
44033 fi
44034
44035
44036 # Check whether --with-sdl-exec-prefix was given.
44037 if test "${with_sdl_exec_prefix+set}" = set; then
44038 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44039 else
44040 sdl_exec_prefix=""
44041 fi
44042
44043 # Check whether --enable-sdltest was given.
44044 if test "${enable_sdltest+set}" = set; then
44045 enableval=$enable_sdltest;
44046 else
44047 enable_sdltest=yes
44048 fi
44049
44050
44051 if test x$sdl_exec_prefix != x ; then
44052 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44053 if test x${SDL_CONFIG+set} != xset ; then
44054 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44055 fi
44056 fi
44057 if test x$sdl_prefix != x ; then
44058 sdl_args="$sdl_args --prefix=$sdl_prefix"
44059 if test x${SDL_CONFIG+set} != xset ; then
44060 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44061 fi
44062 fi
44063
44064 if test "x$prefix" != xNONE; then
44065 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44066 fi
44067 # Extract the first word of "sdl-config", so it can be a program name with args.
44068 set dummy sdl-config; ac_word=$2
44069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44071 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44072 echo $ECHO_N "(cached) $ECHO_C" >&6
44073 else
44074 case $SDL_CONFIG in
44075 [\\/]* | ?:[\\/]*)
44076 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44077 ;;
44078 *)
44079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44080 for as_dir in $PATH
44081 do
44082 IFS=$as_save_IFS
44083 test -z "$as_dir" && as_dir=.
44084 for ac_exec_ext in '' $ac_executable_extensions; do
44085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44086 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44088 break 2
44089 fi
44090 done
44091 done
44092 IFS=$as_save_IFS
44093
44094 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44095 ;;
44096 esac
44097 fi
44098 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44099 if test -n "$SDL_CONFIG"; then
44100 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44101 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44102 else
44103 { echo "$as_me:$LINENO: result: no" >&5
44104 echo "${ECHO_T}no" >&6; }
44105 fi
44106
44107
44108 min_sdl_version=1.2.0
44109 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44110 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44111 no_sdl=""
44112 if test "$SDL_CONFIG" = "no" ; then
44113 no_sdl=yes
44114 else
44115 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44116 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44117
44118 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44119 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44120 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44121 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44122 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44123 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44124 if test "x$enable_sdltest" = "xyes" ; then
44125 ac_save_CFLAGS="$CFLAGS"
44126 ac_save_CXXFLAGS="$CXXFLAGS"
44127 ac_save_LIBS="$LIBS"
44128 CFLAGS="$CFLAGS $SDL_CFLAGS"
44129 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44130 LIBS="$LIBS $SDL_LIBS"
44131 rm -f conf.sdltest
44132 if test "$cross_compiling" = yes; then
44133 echo $ac_n "cross compiling; assumed OK... $ac_c"
44134 else
44135 cat >conftest.$ac_ext <<_ACEOF
44136 /* confdefs.h. */
44137 _ACEOF
44138 cat confdefs.h >>conftest.$ac_ext
44139 cat >>conftest.$ac_ext <<_ACEOF
44140 /* end confdefs.h. */
44141
44142 #include <stdio.h>
44143 #include <stdlib.h>
44144 #include <string.h>
44145 #include "SDL.h"
44146
44147 char*
44148 my_strdup (char *str)
44149 {
44150 char *new_str;
44151
44152 if (str)
44153 {
44154 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44155 strcpy (new_str, str);
44156 }
44157 else
44158 new_str = NULL;
44159
44160 return new_str;
44161 }
44162
44163 int main (int argc, char *argv[])
44164 {
44165 int major, minor, micro;
44166 char *tmp_version;
44167
44168 /* This hangs on some systems (?)
44169 system ("touch conf.sdltest");
44170 */
44171 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44172
44173 /* HP/UX 9 (%@#!) writes to sscanf strings */
44174 tmp_version = my_strdup("$min_sdl_version");
44175 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44176 printf("%s, bad version string\n", "$min_sdl_version");
44177 exit(1);
44178 }
44179
44180 if (($sdl_major_version > major) ||
44181 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44182 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44183 {
44184 return 0;
44185 }
44186 else
44187 {
44188 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44189 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44190 printf("*** best to upgrade to the required version.\n");
44191 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44192 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44193 printf("*** config.cache before re-running configure\n");
44194 return 1;
44195 }
44196 }
44197
44198
44199 _ACEOF
44200 rm -f conftest$ac_exeext
44201 if { (ac_try="$ac_link"
44202 case "(($ac_try" in
44203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44204 *) ac_try_echo=$ac_try;;
44205 esac
44206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44207 (eval "$ac_link") 2>&5
44208 ac_status=$?
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44211 { (case "(($ac_try" in
44212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44213 *) ac_try_echo=$ac_try;;
44214 esac
44215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44216 (eval "$ac_try") 2>&5
44217 ac_status=$?
44218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44219 (exit $ac_status); }; }; then
44220 :
44221 else
44222 echo "$as_me: program exited with status $ac_status" >&5
44223 echo "$as_me: failed program was:" >&5
44224 sed 's/^/| /' conftest.$ac_ext >&5
44225
44226 ( exit $ac_status )
44227 no_sdl=yes
44228 fi
44229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44230 fi
44231
44232
44233 CFLAGS="$ac_save_CFLAGS"
44234 CXXFLAGS="$ac_save_CXXFLAGS"
44235 LIBS="$ac_save_LIBS"
44236 fi
44237 fi
44238 if test "x$no_sdl" = x ; then
44239 { echo "$as_me:$LINENO: result: yes" >&5
44240 echo "${ECHO_T}yes" >&6; }
44241
44242 EXTRALIBS_SDL="$SDL_LIBS"
44243 CFLAGS="$SDL_CFLAGS $CFLAGS"
44244 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44245 cat >>confdefs.h <<\_ACEOF
44246 #define wxUSE_LIBSDL 1
44247 _ACEOF
44248
44249
44250 else
44251 { echo "$as_me:$LINENO: result: no" >&5
44252 echo "${ECHO_T}no" >&6; }
44253 if test "$SDL_CONFIG" = "no" ; then
44254 echo "*** The sdl-config script installed by SDL could not be found"
44255 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44256 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44257 echo "*** full path to sdl-config."
44258 else
44259 if test -f conf.sdltest ; then
44260 :
44261 else
44262 echo "*** Could not run SDL test program, checking why..."
44263 CFLAGS="$CFLAGS $SDL_CFLAGS"
44264 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44265 LIBS="$LIBS $SDL_LIBS"
44266 cat >conftest.$ac_ext <<_ACEOF
44267 /* confdefs.h. */
44268 _ACEOF
44269 cat confdefs.h >>conftest.$ac_ext
44270 cat >>conftest.$ac_ext <<_ACEOF
44271 /* end confdefs.h. */
44272
44273 #include <stdio.h>
44274 #include "SDL.h"
44275
44276 int main(int argc, char *argv[])
44277 { return 0; }
44278 #undef main
44279 #define main K_and_R_C_main
44280
44281 int
44282 main ()
44283 {
44284 return 0;
44285 ;
44286 return 0;
44287 }
44288 _ACEOF
44289 rm -f conftest.$ac_objext conftest$ac_exeext
44290 if { (ac_try="$ac_link"
44291 case "(($ac_try" in
44292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44293 *) ac_try_echo=$ac_try;;
44294 esac
44295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44296 (eval "$ac_link") 2>conftest.er1
44297 ac_status=$?
44298 grep -v '^ *+' conftest.er1 >conftest.err
44299 rm -f conftest.er1
44300 cat conftest.err >&5
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); } && {
44303 test -z "$ac_c_werror_flag" ||
44304 test ! -s conftest.err
44305 } && test -s conftest$ac_exeext &&
44306 $as_test_x conftest$ac_exeext; then
44307 echo "*** The test program compiled, but did not run. This usually means"
44308 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44309 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44310 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44311 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44312 echo "*** is required on your system"
44313 echo "***"
44314 echo "*** If you have an old version installed, it is best to remove it, although"
44315 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44316 else
44317 echo "$as_me: failed program was:" >&5
44318 sed 's/^/| /' conftest.$ac_ext >&5
44319
44320 echo "*** The test program failed to compile or link. See the file config.log for the"
44321 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44322 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44323 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44324 fi
44325
44326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44327 conftest$ac_exeext conftest.$ac_ext
44328 CFLAGS="$ac_save_CFLAGS"
44329 CXXFLAGS="$ac_save_CXXFLAGS"
44330 LIBS="$ac_save_LIBS"
44331 fi
44332 fi
44333 SDL_CFLAGS=""
44334 SDL_LIBS=""
44335 wxUSE_LIBSDL="no"
44336 fi
44337
44338
44339 rm -f conf.sdltest
44340
44341 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44342 WITH_PLUGIN_SDL=1
44343 fi
44344 fi
44345 else
44346 if test "$wxUSE_MGL" = 1; then
44347 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44348 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44349 wxUSE_SOUND="no"
44350 fi
44351 fi
44352 fi
44353
44354 if test "$wxUSE_SOUND" = "yes"; then
44355 cat >>confdefs.h <<\_ACEOF
44356 #define wxUSE_SOUND 1
44357 _ACEOF
44358
44359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44360 fi
44361
44362 if test "$WXGTK2" = 1; then
44363
44364
44365 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44366 if test -n "$ac_tool_prefix"; then
44367 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44368 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44371 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44372 echo $ECHO_N "(cached) $ECHO_C" >&6
44373 else
44374 case $PKG_CONFIG in
44375 [\\/]* | ?:[\\/]*)
44376 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44377 ;;
44378 *)
44379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44380 for as_dir in $PATH
44381 do
44382 IFS=$as_save_IFS
44383 test -z "$as_dir" && as_dir=.
44384 for ac_exec_ext in '' $ac_executable_extensions; do
44385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44386 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44388 break 2
44389 fi
44390 done
44391 done
44392 IFS=$as_save_IFS
44393
44394 ;;
44395 esac
44396 fi
44397 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44398 if test -n "$PKG_CONFIG"; then
44399 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44400 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44401 else
44402 { echo "$as_me:$LINENO: result: no" >&5
44403 echo "${ECHO_T}no" >&6; }
44404 fi
44405
44406
44407 fi
44408 if test -z "$ac_cv_path_PKG_CONFIG"; then
44409 ac_pt_PKG_CONFIG=$PKG_CONFIG
44410 # Extract the first word of "pkg-config", so it can be a program name with args.
44411 set dummy pkg-config; ac_word=$2
44412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44414 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44415 echo $ECHO_N "(cached) $ECHO_C" >&6
44416 else
44417 case $ac_pt_PKG_CONFIG in
44418 [\\/]* | ?:[\\/]*)
44419 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44420 ;;
44421 *)
44422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44423 for as_dir in $PATH
44424 do
44425 IFS=$as_save_IFS
44426 test -z "$as_dir" && as_dir=.
44427 for ac_exec_ext in '' $ac_executable_extensions; do
44428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44429 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44431 break 2
44432 fi
44433 done
44434 done
44435 IFS=$as_save_IFS
44436
44437 ;;
44438 esac
44439 fi
44440 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44441 if test -n "$ac_pt_PKG_CONFIG"; then
44442 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44443 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44444 else
44445 { echo "$as_me:$LINENO: result: no" >&5
44446 echo "${ECHO_T}no" >&6; }
44447 fi
44448
44449 if test "x$ac_pt_PKG_CONFIG" = x; then
44450 PKG_CONFIG=""
44451 else
44452 case $cross_compiling:$ac_tool_warned in
44453 yes:)
44454 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44455 whose name does not start with the host triplet. If you think this
44456 configuration is useful to you, please write to autoconf@gnu.org." >&5
44457 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44458 whose name does not start with the host triplet. If you think this
44459 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44460 ac_tool_warned=yes ;;
44461 esac
44462 PKG_CONFIG=$ac_pt_PKG_CONFIG
44463 fi
44464 else
44465 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44466 fi
44467
44468 fi
44469 if test -n "$PKG_CONFIG"; then
44470 _pkg_min_version=0.9.0
44471 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44472 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44473 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44474 { echo "$as_me:$LINENO: result: yes" >&5
44475 echo "${ECHO_T}yes" >&6; }
44476 else
44477 { echo "$as_me:$LINENO: result: no" >&5
44478 echo "${ECHO_T}no" >&6; }
44479 PKG_CONFIG=""
44480 fi
44481
44482 fi
44483
44484 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44485
44486 if test "$wxUSE_GTKPRINT" = "yes" ; then
44487
44488
44489 pkg_failed=no
44490 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44491 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44492
44493 if test -n "$PKG_CONFIG"; then
44494 if test -n "$GTKPRINT_CFLAGS"; then
44495 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44496 else
44497 if test -n "$PKG_CONFIG" && \
44498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44499 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44500 ac_status=$?
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); }; then
44503 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44504 else
44505 pkg_failed=yes
44506 fi
44507 fi
44508 else
44509 pkg_failed=untried
44510 fi
44511 if test -n "$PKG_CONFIG"; then
44512 if test -n "$GTKPRINT_LIBS"; then
44513 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44514 else
44515 if test -n "$PKG_CONFIG" && \
44516 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44517 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44518 ac_status=$?
44519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44520 (exit $ac_status); }; then
44521 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44522 else
44523 pkg_failed=yes
44524 fi
44525 fi
44526 else
44527 pkg_failed=untried
44528 fi
44529
44530
44531
44532 if test $pkg_failed = yes; then
44533
44534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44535 _pkg_short_errors_supported=yes
44536 else
44537 _pkg_short_errors_supported=no
44538 fi
44539 if test $_pkg_short_errors_supported = yes; then
44540 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44541 else
44542 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44543 fi
44544 # Put the nasty error message in config.log where it belongs
44545 echo "$GTKPRINT_PKG_ERRORS" >&5
44546
44547
44548 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44549 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44550 wxUSE_GTKPRINT="no"
44551
44552
44553 elif test $pkg_failed = untried; then
44554
44555 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44556 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44557 wxUSE_GTKPRINT="no"
44558
44559
44560 else
44561 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44562 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44563 { echo "$as_me:$LINENO: result: yes" >&5
44564 echo "${ECHO_T}yes" >&6; }
44565
44566 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44567 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44568 cat >>confdefs.h <<\_ACEOF
44569 #define wxUSE_GTKPRINT 1
44570 _ACEOF
44571
44572
44573 fi
44574 fi
44575
44576 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44577
44578
44579 pkg_failed=no
44580 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44581 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44582
44583 if test -n "$PKG_CONFIG"; then
44584 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44585 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44586 else
44587 if test -n "$PKG_CONFIG" && \
44588 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44589 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44590 ac_status=$?
44591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592 (exit $ac_status); }; then
44593 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44594 else
44595 pkg_failed=yes
44596 fi
44597 fi
44598 else
44599 pkg_failed=untried
44600 fi
44601 if test -n "$PKG_CONFIG"; then
44602 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44603 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44604 else
44605 if test -n "$PKG_CONFIG" && \
44606 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44607 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44608 ac_status=$?
44609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44610 (exit $ac_status); }; then
44611 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44612 else
44613 pkg_failed=yes
44614 fi
44615 fi
44616 else
44617 pkg_failed=untried
44618 fi
44619
44620
44621
44622 if test $pkg_failed = yes; then
44623
44624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44625 _pkg_short_errors_supported=yes
44626 else
44627 _pkg_short_errors_supported=no
44628 fi
44629 if test $_pkg_short_errors_supported = yes; then
44630 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44631 else
44632 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44633 fi
44634 # Put the nasty error message in config.log where it belongs
44635 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44636
44637
44638 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44639 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44640 wxUSE_LIBGNOMEPRINT="no"
44641
44642
44643 elif test $pkg_failed = untried; then
44644
44645 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44646 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44647 wxUSE_LIBGNOMEPRINT="no"
44648
44649
44650 else
44651 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44652 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44653 { echo "$as_me:$LINENO: result: yes" >&5
44654 echo "${ECHO_T}yes" >&6; }
44655
44656 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44657 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_LIBGNOMEPRINT 1
44660 _ACEOF
44661
44662
44663 fi
44664 fi
44665 fi
44666
44667 if test "$wxUSE_MIMETYPE" = "yes" ; then
44668 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44669
44670
44671 pkg_failed=no
44672 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44673 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44674
44675 if test -n "$PKG_CONFIG"; then
44676 if test -n "$GNOMEVFS_CFLAGS"; then
44677 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44678 else
44679 if test -n "$PKG_CONFIG" && \
44680 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44681 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44682 ac_status=$?
44683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44684 (exit $ac_status); }; then
44685 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44686 else
44687 pkg_failed=yes
44688 fi
44689 fi
44690 else
44691 pkg_failed=untried
44692 fi
44693 if test -n "$PKG_CONFIG"; then
44694 if test -n "$GNOMEVFS_LIBS"; then
44695 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44696 else
44697 if test -n "$PKG_CONFIG" && \
44698 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44699 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44700 ac_status=$?
44701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44702 (exit $ac_status); }; then
44703 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44704 else
44705 pkg_failed=yes
44706 fi
44707 fi
44708 else
44709 pkg_failed=untried
44710 fi
44711
44712
44713
44714 if test $pkg_failed = yes; then
44715
44716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44717 _pkg_short_errors_supported=yes
44718 else
44719 _pkg_short_errors_supported=no
44720 fi
44721 if test $_pkg_short_errors_supported = yes; then
44722 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44723 else
44724 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44725 fi
44726 # Put the nasty error message in config.log where it belongs
44727 echo "$GNOMEVFS_PKG_ERRORS" >&5
44728
44729
44730 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44731 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44732 wxUSE_LIBGNOMEVFS="no"
44733
44734
44735 elif test $pkg_failed = untried; then
44736
44737 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44738 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44739 wxUSE_LIBGNOMEVFS="no"
44740
44741
44742 else
44743 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44744 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44745 { echo "$as_me:$LINENO: result: yes" >&5
44746 echo "${ECHO_T}yes" >&6; }
44747
44748 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44749 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_LIBGNOMEVFS 1
44752 _ACEOF
44753
44754
44755 fi
44756 fi
44757 fi
44758
44759 if test "$wxUSE_LIBHILDON" = "yes" ; then
44760
44761 pkg_failed=no
44762 { echo "$as_me:$LINENO: checking for HILDON" >&5
44763 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44764
44765 if test -n "$PKG_CONFIG"; then
44766 if test -n "$HILDON_CFLAGS"; then
44767 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44768 else
44769 if test -n "$PKG_CONFIG" && \
44770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44771 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44772 ac_status=$?
44773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44774 (exit $ac_status); }; then
44775 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44776 else
44777 pkg_failed=yes
44778 fi
44779 fi
44780 else
44781 pkg_failed=untried
44782 fi
44783 if test -n "$PKG_CONFIG"; then
44784 if test -n "$HILDON_LIBS"; then
44785 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44786 else
44787 if test -n "$PKG_CONFIG" && \
44788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44789 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44790 ac_status=$?
44791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44792 (exit $ac_status); }; then
44793 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44794 else
44795 pkg_failed=yes
44796 fi
44797 fi
44798 else
44799 pkg_failed=untried
44800 fi
44801
44802
44803
44804 if test $pkg_failed = yes; then
44805
44806 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44807 _pkg_short_errors_supported=yes
44808 else
44809 _pkg_short_errors_supported=no
44810 fi
44811 if test $_pkg_short_errors_supported = yes; then
44812 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44813 else
44814 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44815 fi
44816 # Put the nasty error message in config.log where it belongs
44817 echo "$HILDON_PKG_ERRORS" >&5
44818
44819
44820 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44821 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44822 wxUSE_LIBHILDON="no"
44823 ac_hildon_lgpl=0
44824
44825
44826 elif test $pkg_failed = untried; then
44827
44828 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44829 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44830 wxUSE_LIBHILDON="no"
44831 ac_hildon_lgpl=0
44832
44833
44834 else
44835 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44836 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44837 { echo "$as_me:$LINENO: result: yes" >&5
44838 echo "${ECHO_T}yes" >&6; }
44839
44840 EXTRALIBS_HILDON="$HILDON_LIBS"
44841 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44842 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44843 cat >>confdefs.h <<\_ACEOF
44844 #define wxUSE_LIBHILDON 1
44845 _ACEOF
44846
44847 ac_hildon_lgpl=1
44848
44849 fi
44850
44851 if test "$ac_hildon_lgpl" = 0 ; then
44852
44853 pkg_failed=no
44854 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44855 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44856
44857 if test -n "$PKG_CONFIG"; then
44858 if test -n "$HILDON2_CFLAGS"; then
44859 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44860 else
44861 if test -n "$PKG_CONFIG" && \
44862 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44863 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44864 ac_status=$?
44865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44866 (exit $ac_status); }; then
44867 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44868 else
44869 pkg_failed=yes
44870 fi
44871 fi
44872 else
44873 pkg_failed=untried
44874 fi
44875 if test -n "$PKG_CONFIG"; then
44876 if test -n "$HILDON2_LIBS"; then
44877 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44878 else
44879 if test -n "$PKG_CONFIG" && \
44880 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44881 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44882 ac_status=$?
44883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44884 (exit $ac_status); }; then
44885 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44886 else
44887 pkg_failed=yes
44888 fi
44889 fi
44890 else
44891 pkg_failed=untried
44892 fi
44893
44894
44895
44896 if test $pkg_failed = yes; then
44897
44898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44899 _pkg_short_errors_supported=yes
44900 else
44901 _pkg_short_errors_supported=no
44902 fi
44903 if test $_pkg_short_errors_supported = yes; then
44904 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44905 else
44906 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44907 fi
44908 # Put the nasty error message in config.log where it belongs
44909 echo "$HILDON2_PKG_ERRORS" >&5
44910
44911
44912 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44913 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44914 wxUSE_LIBHILDON2="no"
44915
44916
44917 elif test $pkg_failed = untried; then
44918
44919 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44920 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44921 wxUSE_LIBHILDON2="no"
44922
44923
44924 else
44925 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44926 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44927 { echo "$as_me:$LINENO: result: yes" >&5
44928 echo "${ECHO_T}yes" >&6; }
44929
44930 EXTRALIBS_HILDON="$HILDON2_LIBS"
44931 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44932 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44933 cat >>confdefs.h <<\_ACEOF
44934 #define wxUSE_LIBHILDON2 1
44935 _ACEOF
44936
44937
44938 fi
44939 fi
44940 fi
44941 fi
44942
44943 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44944 cat >>confdefs.h <<\_ACEOF
44945 #define wxUSE_CMDLINE_PARSER 1
44946 _ACEOF
44947
44948 fi
44949
44950 if test "$wxUSE_STOPWATCH" = "yes"; then
44951 cat >>confdefs.h <<\_ACEOF
44952 #define wxUSE_STOPWATCH 1
44953 _ACEOF
44954
44955 fi
44956
44957 if test "$wxUSE_DATETIME" = "yes"; then
44958 cat >>confdefs.h <<\_ACEOF
44959 #define wxUSE_DATETIME 1
44960 _ACEOF
44961
44962 fi
44963
44964 if test "$wxUSE_FILE" = "yes"; then
44965 cat >>confdefs.h <<\_ACEOF
44966 #define wxUSE_FILE 1
44967 _ACEOF
44968
44969 fi
44970
44971 if test "$wxUSE_FFILE" = "yes"; then
44972 cat >>confdefs.h <<\_ACEOF
44973 #define wxUSE_FFILE 1
44974 _ACEOF
44975
44976 fi
44977
44978 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44979 if test "$wxUSE_STREAMS" != yes; then
44980 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44981 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44982 wxUSE_ARCHIVE_STREAMS=no
44983 else
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_ARCHIVE_STREAMS 1
44986 _ACEOF
44987
44988 fi
44989 fi
44990
44991 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44992 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44993 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44994 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44995 elif test "$wxUSE_ZLIB" = "no"; then
44996 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44997 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44998 else
44999 cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_ZIPSTREAM 1
45001 _ACEOF
45002
45003 fi
45004 fi
45005
45006 if test "$wxUSE_TARSTREAM" = "yes"; then
45007 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45008 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45009 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45010 else
45011 cat >>confdefs.h <<\_ACEOF
45012 #define wxUSE_TARSTREAM 1
45013 _ACEOF
45014
45015 fi
45016 fi
45017
45018 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_FILE_HISTORY 1
45021 _ACEOF
45022
45023 fi
45024
45025 if test "$wxUSE_FILESYSTEM" = "yes"; then
45026 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45027 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45028 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45029 wxUSE_FILESYSTEM=no
45030 else
45031 cat >>confdefs.h <<\_ACEOF
45032 #define wxUSE_FILESYSTEM 1
45033 _ACEOF
45034
45035 fi
45036 fi
45037
45038 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45039 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45040 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45041 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45042 else
45043 cat >>confdefs.h <<\_ACEOF
45044 #define wxUSE_FS_ARCHIVE 1
45045 _ACEOF
45046
45047 fi
45048 fi
45049
45050 if test "$wxUSE_FS_ZIP" = "yes"; then
45051 if test "$wxUSE_FS_ARCHIVE" != yes; then
45052 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45053 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45054 else
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_FS_ZIP 1
45057 _ACEOF
45058
45059 fi
45060 fi
45061
45062 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45063 if test "$USE_UNIX" != 1; then
45064 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45065 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45066 wxUSE_ON_FATAL_EXCEPTION=no
45067 else
45068 cat >>confdefs.h <<\_ACEOF
45069 #define wxUSE_ON_FATAL_EXCEPTION 1
45070 _ACEOF
45071
45072 fi
45073 fi
45074
45075 if test "$wxUSE_STACKWALKER" = "yes"; then
45076 cat >>confdefs.h <<\_ACEOF
45077 #define wxUSE_STACKWALKER 1
45078 _ACEOF
45079
45080 fi
45081
45082 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45083 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45084 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45085 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45086 wxUSE_DEBUGREPORT=no
45087 else
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_DEBUGREPORT 1
45090 _ACEOF
45091
45092 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45094 fi
45095 fi
45096 fi
45097
45098 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_SNGLINST_CHECKER 1
45101 _ACEOF
45102
45103 fi
45104
45105 if test "$wxUSE_BUSYINFO" = "yes"; then
45106 cat >>confdefs.h <<\_ACEOF
45107 #define wxUSE_BUSYINFO 1
45108 _ACEOF
45109
45110 fi
45111
45112 if test "$wxUSE_HOTKEY" = "yes"; then
45113 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
45114 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
45115 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
45116 wxUSE_HOTKEY=no
45117 fi
45118 elif test "$wxUSE_HOTKEY" = "auto"; then
45119 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
45120 wxUSE_HOTKEY=yes
45121 fi
45122 fi
45123 if test "$wxUSE_HOTKEY" = "yes"; then
45124 cat >>confdefs.h <<\_ACEOF
45125 #define wxUSE_HOTKEY 1
45126 _ACEOF
45127
45128 fi
45129
45130 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45131 cat >>confdefs.h <<\_ACEOF
45132 #define wxUSE_STD_CONTAINERS 1
45133 _ACEOF
45134
45135 fi
45136
45137 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45138 cat >>confdefs.h <<\_ACEOF
45139 #define wxUSE_STD_IOSTREAM 1
45140 _ACEOF
45141
45142 fi
45143
45144 if test "$wxUSE_STD_STRING" = "yes"; then
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_STD_STRING 1
45147 _ACEOF
45148
45149 fi
45150
45151 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45152 cat >>confdefs.h <<\_ACEOF
45153 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45154 _ACEOF
45155
45156 fi
45157
45158 if test "$wxUSE_STDPATHS" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_STDPATHS 1
45161 _ACEOF
45162
45163 fi
45164
45165 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_TEXTBUFFER 1
45168 _ACEOF
45169
45170 fi
45171
45172 if test "$wxUSE_TEXTFILE" = "yes"; then
45173 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45174 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45175 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45176 else
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_TEXTFILE 1
45179 _ACEOF
45180
45181 fi
45182 fi
45183
45184 if test "$wxUSE_CONFIG" = "yes" ; then
45185 if test "$wxUSE_TEXTFILE" != "yes"; then
45186 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45187 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45188 else
45189 cat >>confdefs.h <<\_ACEOF
45190 #define wxUSE_CONFIG 1
45191 _ACEOF
45192
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_CONFIG_NATIVE 1
45195 _ACEOF
45196
45197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45198 fi
45199 fi
45200
45201 if test "$wxUSE_INTL" = "yes" ; then
45202 if test "$wxUSE_FILE" != "yes"; then
45203 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45204 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45205 else
45206 cat >>confdefs.h <<\_ACEOF
45207 #define wxUSE_INTL 1
45208 _ACEOF
45209
45210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45211 GUIDIST="$GUIDIST INTL_DIST"
45212 fi
45213 fi
45214
45215 if test "$wxUSE_XLOCALE" = "yes" ; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_XLOCALE 1
45218 _ACEOF
45219
45220 { echo "$as_me:$LINENO: checking for locale_t" >&5
45221 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45222 if test "${ac_cv_type_locale_t+set}" = set; then
45223 echo $ECHO_N "(cached) $ECHO_C" >&6
45224 else
45225 cat >conftest.$ac_ext <<_ACEOF
45226 /* confdefs.h. */
45227 _ACEOF
45228 cat confdefs.h >>conftest.$ac_ext
45229 cat >>conftest.$ac_ext <<_ACEOF
45230 /* end confdefs.h. */
45231 #include <xlocale.h>
45232 #include <locale.h>
45233
45234 typedef locale_t ac__type_new_;
45235 int
45236 main ()
45237 {
45238 if ((ac__type_new_ *) 0)
45239 return 0;
45240 if (sizeof (ac__type_new_))
45241 return 0;
45242 ;
45243 return 0;
45244 }
45245 _ACEOF
45246 rm -f conftest.$ac_objext
45247 if { (ac_try="$ac_compile"
45248 case "(($ac_try" in
45249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45250 *) ac_try_echo=$ac_try;;
45251 esac
45252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45253 (eval "$ac_compile") 2>conftest.er1
45254 ac_status=$?
45255 grep -v '^ *+' conftest.er1 >conftest.err
45256 rm -f conftest.er1
45257 cat conftest.err >&5
45258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45259 (exit $ac_status); } && {
45260 test -z "$ac_c_werror_flag" ||
45261 test ! -s conftest.err
45262 } && test -s conftest.$ac_objext; then
45263 ac_cv_type_locale_t=yes
45264 else
45265 echo "$as_me: failed program was:" >&5
45266 sed 's/^/| /' conftest.$ac_ext >&5
45267
45268 ac_cv_type_locale_t=no
45269 fi
45270
45271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45272 fi
45273 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45274 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45275 if test $ac_cv_type_locale_t = yes; then
45276
45277 cat >>confdefs.h <<_ACEOF
45278 #define HAVE_LOCALE_T 1
45279 _ACEOF
45280
45281
45282 fi
45283
45284 fi
45285
45286 if test "$wxUSE_LOG" = "yes"; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_LOG 1
45289 _ACEOF
45290
45291
45292 if test "$wxUSE_LOGGUI" = "yes"; then
45293 cat >>confdefs.h <<\_ACEOF
45294 #define wxUSE_LOGGUI 1
45295 _ACEOF
45296
45297 fi
45298
45299 if test "$wxUSE_LOGWINDOW" = "yes"; then
45300 cat >>confdefs.h <<\_ACEOF
45301 #define wxUSE_LOGWINDOW 1
45302 _ACEOF
45303
45304 fi
45305
45306 if test "$wxUSE_LOGDIALOG" = "yes"; then
45307 cat >>confdefs.h <<\_ACEOF
45308 #define wxUSE_LOG_DIALOG 1
45309 _ACEOF
45310
45311 fi
45312
45313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45314 fi
45315
45316 if test "$wxUSE_LONGLONG" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_LONGLONG 1
45319 _ACEOF
45320
45321 fi
45322
45323 if test "$wxUSE_GEOMETRY" = "yes"; then
45324 cat >>confdefs.h <<\_ACEOF
45325 #define wxUSE_GEOMETRY 1
45326 _ACEOF
45327
45328 fi
45329
45330 if test "$wxUSE_BASE64" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_BASE64 1
45333 _ACEOF
45334
45335 fi
45336
45337 if test "$wxUSE_STREAMS" = "yes" ; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_STREAMS 1
45340 _ACEOF
45341
45342 fi
45343
45344 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45345 cat >>confdefs.h <<\_ACEOF
45346 #define wxUSE_PRINTF_POS_PARAMS 1
45347 _ACEOF
45348
45349 fi
45350
45351 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_OBJC_UNIQUIFYING 1
45354 _ACEOF
45355
45356 fi
45357
45358
45359 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_CONSOLE_EVENTLOOP 1
45362 _ACEOF
45363
45364
45365 if test "$wxUSE_UNIX" = "yes"; then
45366 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45367 cat >>confdefs.h <<\_ACEOF
45368 #define wxUSE_SELECT_DISPATCHER 1
45369 _ACEOF
45370
45371 fi
45372
45373 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45374
45375 for ac_header in sys/epoll.h
45376 do
45377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45378 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45380 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45381 echo $ECHO_N "(cached) $ECHO_C" >&6
45382 else
45383 cat >conftest.$ac_ext <<_ACEOF
45384 /* confdefs.h. */
45385 _ACEOF
45386 cat confdefs.h >>conftest.$ac_ext
45387 cat >>conftest.$ac_ext <<_ACEOF
45388 /* end confdefs.h. */
45389 $ac_includes_default
45390
45391 #include <$ac_header>
45392 _ACEOF
45393 rm -f conftest.$ac_objext
45394 if { (ac_try="$ac_compile"
45395 case "(($ac_try" in
45396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45397 *) ac_try_echo=$ac_try;;
45398 esac
45399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45400 (eval "$ac_compile") 2>conftest.er1
45401 ac_status=$?
45402 grep -v '^ *+' conftest.er1 >conftest.err
45403 rm -f conftest.er1
45404 cat conftest.err >&5
45405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45406 (exit $ac_status); } && {
45407 test -z "$ac_c_werror_flag" ||
45408 test ! -s conftest.err
45409 } && test -s conftest.$ac_objext; then
45410 eval "$as_ac_Header=yes"
45411 else
45412 echo "$as_me: failed program was:" >&5
45413 sed 's/^/| /' conftest.$ac_ext >&5
45414
45415 eval "$as_ac_Header=no"
45416 fi
45417
45418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45419 fi
45420 ac_res=`eval echo '${'$as_ac_Header'}'`
45421 { echo "$as_me:$LINENO: result: $ac_res" >&5
45422 echo "${ECHO_T}$ac_res" >&6; }
45423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45424 cat >>confdefs.h <<_ACEOF
45425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45426 _ACEOF
45427
45428 fi
45429
45430 done
45431
45432 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_EPOLL_DISPATCHER 1
45435 _ACEOF
45436
45437 else
45438 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45439 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45440 fi
45441 fi
45442 fi
45443 fi
45444
45445
45446
45447
45448 for ac_func in gettimeofday ftime
45449 do
45450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45454 echo $ECHO_N "(cached) $ECHO_C" >&6
45455 else
45456 cat >conftest.$ac_ext <<_ACEOF
45457 /* confdefs.h. */
45458 _ACEOF
45459 cat confdefs.h >>conftest.$ac_ext
45460 cat >>conftest.$ac_ext <<_ACEOF
45461 /* end confdefs.h. */
45462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45464 #define $ac_func innocuous_$ac_func
45465
45466 /* System header to define __stub macros and hopefully few prototypes,
45467 which can conflict with char $ac_func (); below.
45468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45469 <limits.h> exists even on freestanding compilers. */
45470
45471 #ifdef __STDC__
45472 # include <limits.h>
45473 #else
45474 # include <assert.h>
45475 #endif
45476
45477 #undef $ac_func
45478
45479 /* Override any GCC internal prototype to avoid an error.
45480 Use char because int might match the return type of a GCC
45481 builtin and then its argument prototype would still apply. */
45482 #ifdef __cplusplus
45483 extern "C"
45484 #endif
45485 char $ac_func ();
45486 /* The GNU C library defines this for functions which it implements
45487 to always fail with ENOSYS. Some functions are actually named
45488 something starting with __ and the normal name is an alias. */
45489 #if defined __stub_$ac_func || defined __stub___$ac_func
45490 choke me
45491 #endif
45492
45493 int
45494 main ()
45495 {
45496 return $ac_func ();
45497 ;
45498 return 0;
45499 }
45500 _ACEOF
45501 rm -f conftest.$ac_objext conftest$ac_exeext
45502 if { (ac_try="$ac_link"
45503 case "(($ac_try" in
45504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45505 *) ac_try_echo=$ac_try;;
45506 esac
45507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45508 (eval "$ac_link") 2>conftest.er1
45509 ac_status=$?
45510 grep -v '^ *+' conftest.er1 >conftest.err
45511 rm -f conftest.er1
45512 cat conftest.err >&5
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); } && {
45515 test -z "$ac_c_werror_flag" ||
45516 test ! -s conftest.err
45517 } && test -s conftest$ac_exeext &&
45518 $as_test_x conftest$ac_exeext; then
45519 eval "$as_ac_var=yes"
45520 else
45521 echo "$as_me: failed program was:" >&5
45522 sed 's/^/| /' conftest.$ac_ext >&5
45523
45524 eval "$as_ac_var=no"
45525 fi
45526
45527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45528 conftest$ac_exeext conftest.$ac_ext
45529 fi
45530 ac_res=`eval echo '${'$as_ac_var'}'`
45531 { echo "$as_me:$LINENO: result: $ac_res" >&5
45532 echo "${ECHO_T}$ac_res" >&6; }
45533 if test `eval echo '${'$as_ac_var'}'` = yes; then
45534 cat >>confdefs.h <<_ACEOF
45535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45536 _ACEOF
45537 break
45538 fi
45539 done
45540
45541
45542 if test "$ac_cv_func_gettimeofday" = "yes"; then
45543 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45544 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45545 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45546 echo $ECHO_N "(cached) $ECHO_C" >&6
45547 else
45548
45549 cat >conftest.$ac_ext <<_ACEOF
45550 /* confdefs.h. */
45551 _ACEOF
45552 cat confdefs.h >>conftest.$ac_ext
45553 cat >>conftest.$ac_ext <<_ACEOF
45554 /* end confdefs.h. */
45555
45556 #include <sys/time.h>
45557 #include <unistd.h>
45558
45559 int
45560 main ()
45561 {
45562
45563 struct timeval tv;
45564 gettimeofday(&tv, NULL);
45565
45566 ;
45567 return 0;
45568 }
45569 _ACEOF
45570 rm -f conftest.$ac_objext
45571 if { (ac_try="$ac_compile"
45572 case "(($ac_try" in
45573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45574 *) ac_try_echo=$ac_try;;
45575 esac
45576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45577 (eval "$ac_compile") 2>conftest.er1
45578 ac_status=$?
45579 grep -v '^ *+' conftest.er1 >conftest.err
45580 rm -f conftest.er1
45581 cat conftest.err >&5
45582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45583 (exit $ac_status); } && {
45584 test -z "$ac_c_werror_flag" ||
45585 test ! -s conftest.err
45586 } && test -s conftest.$ac_objext; then
45587 wx_cv_func_gettimeofday_has_2_args=yes
45588 else
45589 echo "$as_me: failed program was:" >&5
45590 sed 's/^/| /' conftest.$ac_ext >&5
45591
45592 cat >conftest.$ac_ext <<_ACEOF
45593 /* confdefs.h. */
45594 _ACEOF
45595 cat confdefs.h >>conftest.$ac_ext
45596 cat >>conftest.$ac_ext <<_ACEOF
45597 /* end confdefs.h. */
45598
45599 #include <sys/time.h>
45600 #include <unistd.h>
45601
45602 int
45603 main ()
45604 {
45605
45606 struct timeval tv;
45607 gettimeofday(&tv);
45608
45609 ;
45610 return 0;
45611 }
45612 _ACEOF
45613 rm -f conftest.$ac_objext
45614 if { (ac_try="$ac_compile"
45615 case "(($ac_try" in
45616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45617 *) ac_try_echo=$ac_try;;
45618 esac
45619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45620 (eval "$ac_compile") 2>conftest.er1
45621 ac_status=$?
45622 grep -v '^ *+' conftest.er1 >conftest.err
45623 rm -f conftest.er1
45624 cat conftest.err >&5
45625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45626 (exit $ac_status); } && {
45627 test -z "$ac_c_werror_flag" ||
45628 test ! -s conftest.err
45629 } && test -s conftest.$ac_objext; then
45630 wx_cv_func_gettimeofday_has_2_args=no
45631 else
45632 echo "$as_me: failed program was:" >&5
45633 sed 's/^/| /' conftest.$ac_ext >&5
45634
45635
45636 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45637 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45638 wx_cv_func_gettimeofday_has_2_args=unknown
45639
45640
45641 fi
45642
45643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45644
45645 fi
45646
45647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45648
45649 fi
45650 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45651 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45652
45653 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define WX_GETTIMEOFDAY_NO_TZ 1
45656 _ACEOF
45657
45658 fi
45659 fi
45660
45661 if test "$wxUSE_DATETIME" = "yes"; then
45662 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45663 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45664 if test "${wx_cv_var_timezone+set}" = set; then
45665 echo $ECHO_N "(cached) $ECHO_C" >&6
45666 else
45667
45668 ac_ext=cpp
45669 ac_cpp='$CXXCPP $CPPFLAGS'
45670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45673
45674 cat >conftest.$ac_ext <<_ACEOF
45675 /* confdefs.h. */
45676 _ACEOF
45677 cat confdefs.h >>conftest.$ac_ext
45678 cat >>conftest.$ac_ext <<_ACEOF
45679 /* end confdefs.h. */
45680
45681 #include <time.h>
45682
45683 int
45684 main ()
45685 {
45686
45687 int tz;
45688 tz = timezone;
45689
45690 ;
45691 return 0;
45692 }
45693 _ACEOF
45694 rm -f conftest.$ac_objext
45695 if { (ac_try="$ac_compile"
45696 case "(($ac_try" in
45697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45698 *) ac_try_echo=$ac_try;;
45699 esac
45700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45701 (eval "$ac_compile") 2>conftest.er1
45702 ac_status=$?
45703 grep -v '^ *+' conftest.er1 >conftest.err
45704 rm -f conftest.er1
45705 cat conftest.err >&5
45706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45707 (exit $ac_status); } && {
45708 test -z "$ac_cxx_werror_flag" ||
45709 test ! -s conftest.err
45710 } && test -s conftest.$ac_objext; then
45711
45712 wx_cv_var_timezone=timezone
45713
45714 else
45715 echo "$as_me: failed program was:" >&5
45716 sed 's/^/| /' conftest.$ac_ext >&5
45717
45718
45719 cat >conftest.$ac_ext <<_ACEOF
45720 /* confdefs.h. */
45721 _ACEOF
45722 cat confdefs.h >>conftest.$ac_ext
45723 cat >>conftest.$ac_ext <<_ACEOF
45724 /* end confdefs.h. */
45725
45726 #include <time.h>
45727
45728 int
45729 main ()
45730 {
45731
45732 int tz;
45733 tz = _timezone;
45734
45735 ;
45736 return 0;
45737 }
45738 _ACEOF
45739 rm -f conftest.$ac_objext
45740 if { (ac_try="$ac_compile"
45741 case "(($ac_try" in
45742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45743 *) ac_try_echo=$ac_try;;
45744 esac
45745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45746 (eval "$ac_compile") 2>conftest.er1
45747 ac_status=$?
45748 grep -v '^ *+' conftest.er1 >conftest.err
45749 rm -f conftest.er1
45750 cat conftest.err >&5
45751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45752 (exit $ac_status); } && {
45753 test -z "$ac_cxx_werror_flag" ||
45754 test ! -s conftest.err
45755 } && test -s conftest.$ac_objext; then
45756
45757 wx_cv_var_timezone=_timezone
45758
45759 else
45760 echo "$as_me: failed program was:" >&5
45761 sed 's/^/| /' conftest.$ac_ext >&5
45762
45763
45764 cat >conftest.$ac_ext <<_ACEOF
45765 /* confdefs.h. */
45766 _ACEOF
45767 cat confdefs.h >>conftest.$ac_ext
45768 cat >>conftest.$ac_ext <<_ACEOF
45769 /* end confdefs.h. */
45770
45771 #include <time.h>
45772
45773 int
45774 main ()
45775 {
45776
45777 int tz;
45778 tz = __timezone;
45779
45780 ;
45781 return 0;
45782 }
45783 _ACEOF
45784 rm -f conftest.$ac_objext
45785 if { (ac_try="$ac_compile"
45786 case "(($ac_try" in
45787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45788 *) ac_try_echo=$ac_try;;
45789 esac
45790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45791 (eval "$ac_compile") 2>conftest.er1
45792 ac_status=$?
45793 grep -v '^ *+' conftest.er1 >conftest.err
45794 rm -f conftest.er1
45795 cat conftest.err >&5
45796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45797 (exit $ac_status); } && {
45798 test -z "$ac_cxx_werror_flag" ||
45799 test ! -s conftest.err
45800 } && test -s conftest.$ac_objext; then
45801
45802 wx_cv_var_timezone=__timezone
45803
45804 else
45805 echo "$as_me: failed program was:" >&5
45806 sed 's/^/| /' conftest.$ac_ext >&5
45807
45808
45809 if test "$USE_DOS" = 0 ; then
45810 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45811 echo "$as_me: WARNING: no timezone variable" >&2;}
45812 fi
45813
45814
45815 fi
45816
45817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45818
45819
45820 fi
45821
45822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45823
45824
45825 fi
45826
45827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45828 ac_ext=c
45829 ac_cpp='$CPP $CPPFLAGS'
45830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45833
45834
45835
45836 fi
45837 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45838 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45839
45840 if test "x$wx_cv_var_timezone" != x ; then
45841 cat >>confdefs.h <<_ACEOF
45842 #define WX_TIMEZONE $wx_cv_var_timezone
45843 _ACEOF
45844
45845 fi
45846
45847
45848 for ac_func in localtime
45849 do
45850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45854 echo $ECHO_N "(cached) $ECHO_C" >&6
45855 else
45856 cat >conftest.$ac_ext <<_ACEOF
45857 /* confdefs.h. */
45858 _ACEOF
45859 cat confdefs.h >>conftest.$ac_ext
45860 cat >>conftest.$ac_ext <<_ACEOF
45861 /* end confdefs.h. */
45862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45864 #define $ac_func innocuous_$ac_func
45865
45866 /* System header to define __stub macros and hopefully few prototypes,
45867 which can conflict with char $ac_func (); below.
45868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45869 <limits.h> exists even on freestanding compilers. */
45870
45871 #ifdef __STDC__
45872 # include <limits.h>
45873 #else
45874 # include <assert.h>
45875 #endif
45876
45877 #undef $ac_func
45878
45879 /* Override any GCC internal prototype to avoid an error.
45880 Use char because int might match the return type of a GCC
45881 builtin and then its argument prototype would still apply. */
45882 #ifdef __cplusplus
45883 extern "C"
45884 #endif
45885 char $ac_func ();
45886 /* The GNU C library defines this for functions which it implements
45887 to always fail with ENOSYS. Some functions are actually named
45888 something starting with __ and the normal name is an alias. */
45889 #if defined __stub_$ac_func || defined __stub___$ac_func
45890 choke me
45891 #endif
45892
45893 int
45894 main ()
45895 {
45896 return $ac_func ();
45897 ;
45898 return 0;
45899 }
45900 _ACEOF
45901 rm -f conftest.$ac_objext conftest$ac_exeext
45902 if { (ac_try="$ac_link"
45903 case "(($ac_try" in
45904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45905 *) ac_try_echo=$ac_try;;
45906 esac
45907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45908 (eval "$ac_link") 2>conftest.er1
45909 ac_status=$?
45910 grep -v '^ *+' conftest.er1 >conftest.err
45911 rm -f conftest.er1
45912 cat conftest.err >&5
45913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45914 (exit $ac_status); } && {
45915 test -z "$ac_c_werror_flag" ||
45916 test ! -s conftest.err
45917 } && test -s conftest$ac_exeext &&
45918 $as_test_x conftest$ac_exeext; then
45919 eval "$as_ac_var=yes"
45920 else
45921 echo "$as_me: failed program was:" >&5
45922 sed 's/^/| /' conftest.$ac_ext >&5
45923
45924 eval "$as_ac_var=no"
45925 fi
45926
45927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45928 conftest$ac_exeext conftest.$ac_ext
45929 fi
45930 ac_res=`eval echo '${'$as_ac_var'}'`
45931 { echo "$as_me:$LINENO: result: $ac_res" >&5
45932 echo "${ECHO_T}$ac_res" >&6; }
45933 if test `eval echo '${'$as_ac_var'}'` = yes; then
45934 cat >>confdefs.h <<_ACEOF
45935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45936 _ACEOF
45937
45938 fi
45939 done
45940
45941
45942 if test "$ac_cv_func_localtime" = "yes"; then
45943 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45944 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45945 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45946 echo $ECHO_N "(cached) $ECHO_C" >&6
45947 else
45948
45949 cat >conftest.$ac_ext <<_ACEOF
45950 /* confdefs.h. */
45951 _ACEOF
45952 cat confdefs.h >>conftest.$ac_ext
45953 cat >>conftest.$ac_ext <<_ACEOF
45954 /* end confdefs.h. */
45955
45956 #include <time.h>
45957
45958 int
45959 main ()
45960 {
45961
45962 struct tm tm;
45963 tm.tm_gmtoff++;
45964
45965 ;
45966 return 0;
45967 }
45968 _ACEOF
45969 rm -f conftest.$ac_objext
45970 if { (ac_try="$ac_compile"
45971 case "(($ac_try" in
45972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45973 *) ac_try_echo=$ac_try;;
45974 esac
45975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45976 (eval "$ac_compile") 2>conftest.er1
45977 ac_status=$?
45978 grep -v '^ *+' conftest.er1 >conftest.err
45979 rm -f conftest.er1
45980 cat conftest.err >&5
45981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45982 (exit $ac_status); } && {
45983 test -z "$ac_c_werror_flag" ||
45984 test ! -s conftest.err
45985 } && test -s conftest.$ac_objext; then
45986
45987 wx_cv_struct_tm_has_gmtoff=yes
45988
45989 else
45990 echo "$as_me: failed program was:" >&5
45991 sed 's/^/| /' conftest.$ac_ext >&5
45992
45993 wx_cv_struct_tm_has_gmtoff=no
45994
45995 fi
45996
45997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45998
45999 fi
46000 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46001 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46002 fi
46003
46004 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46005 cat >>confdefs.h <<\_ACEOF
46006 #define WX_GMTOFF_IN_TM 1
46007 _ACEOF
46008
46009 fi
46010
46011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46012 fi
46013
46014
46015 if test "$wxUSE_SOCKETS" = "yes"; then
46016 if test "$wxUSE_MGL" = 1; then
46017 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46018 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46019 wxUSE_SOCKETS="no"
46020 fi
46021 fi
46022
46023 if test "$wxUSE_SOCKETS" = "yes"; then
46024 if test "$TOOLKIT" != "MSW"; then
46025 { echo "$as_me:$LINENO: checking for socket" >&5
46026 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46027 if test "${ac_cv_func_socket+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 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46038 #define socket innocuous_socket
46039
46040 /* System header to define __stub macros and hopefully few prototypes,
46041 which can conflict with char socket (); below.
46042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46043 <limits.h> exists even on freestanding compilers. */
46044
46045 #ifdef __STDC__
46046 # include <limits.h>
46047 #else
46048 # include <assert.h>
46049 #endif
46050
46051 #undef socket
46052
46053 /* Override any GCC internal prototype to avoid an error.
46054 Use char because int might match the return type of a GCC
46055 builtin and then its argument prototype would still apply. */
46056 #ifdef __cplusplus
46057 extern "C"
46058 #endif
46059 char socket ();
46060 /* The GNU C library defines this for functions which it implements
46061 to always fail with ENOSYS. Some functions are actually named
46062 something starting with __ and the normal name is an alias. */
46063 #if defined __stub_socket || defined __stub___socket
46064 choke me
46065 #endif
46066
46067 int
46068 main ()
46069 {
46070 return socket ();
46071 ;
46072 return 0;
46073 }
46074 _ACEOF
46075 rm -f conftest.$ac_objext conftest$ac_exeext
46076 if { (ac_try="$ac_link"
46077 case "(($ac_try" in
46078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46079 *) ac_try_echo=$ac_try;;
46080 esac
46081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46082 (eval "$ac_link") 2>conftest.er1
46083 ac_status=$?
46084 grep -v '^ *+' conftest.er1 >conftest.err
46085 rm -f conftest.er1
46086 cat conftest.err >&5
46087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46088 (exit $ac_status); } && {
46089 test -z "$ac_c_werror_flag" ||
46090 test ! -s conftest.err
46091 } && test -s conftest$ac_exeext &&
46092 $as_test_x conftest$ac_exeext; then
46093 ac_cv_func_socket=yes
46094 else
46095 echo "$as_me: failed program was:" >&5
46096 sed 's/^/| /' conftest.$ac_ext >&5
46097
46098 ac_cv_func_socket=no
46099 fi
46100
46101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46102 conftest$ac_exeext conftest.$ac_ext
46103 fi
46104 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46105 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46106 if test $ac_cv_func_socket = yes; then
46107 :
46108 else
46109
46110 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46111 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46112 if test "${ac_cv_lib_socket_socket+set}" = set; then
46113 echo $ECHO_N "(cached) $ECHO_C" >&6
46114 else
46115 ac_check_lib_save_LIBS=$LIBS
46116 LIBS="-lsocket $LIBS"
46117 cat >conftest.$ac_ext <<_ACEOF
46118 /* confdefs.h. */
46119 _ACEOF
46120 cat confdefs.h >>conftest.$ac_ext
46121 cat >>conftest.$ac_ext <<_ACEOF
46122 /* end confdefs.h. */
46123
46124 /* Override any GCC internal prototype to avoid an error.
46125 Use char because int might match the return type of a GCC
46126 builtin and then its argument prototype would still apply. */
46127 #ifdef __cplusplus
46128 extern "C"
46129 #endif
46130 char socket ();
46131 int
46132 main ()
46133 {
46134 return socket ();
46135 ;
46136 return 0;
46137 }
46138 _ACEOF
46139 rm -f conftest.$ac_objext conftest$ac_exeext
46140 if { (ac_try="$ac_link"
46141 case "(($ac_try" in
46142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46143 *) ac_try_echo=$ac_try;;
46144 esac
46145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46146 (eval "$ac_link") 2>conftest.er1
46147 ac_status=$?
46148 grep -v '^ *+' conftest.er1 >conftest.err
46149 rm -f conftest.er1
46150 cat conftest.err >&5
46151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46152 (exit $ac_status); } && {
46153 test -z "$ac_c_werror_flag" ||
46154 test ! -s conftest.err
46155 } && test -s conftest$ac_exeext &&
46156 $as_test_x conftest$ac_exeext; then
46157 ac_cv_lib_socket_socket=yes
46158 else
46159 echo "$as_me: failed program was:" >&5
46160 sed 's/^/| /' conftest.$ac_ext >&5
46161
46162 ac_cv_lib_socket_socket=no
46163 fi
46164
46165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46166 conftest$ac_exeext conftest.$ac_ext
46167 LIBS=$ac_check_lib_save_LIBS
46168 fi
46169 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46170 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46171 if test $ac_cv_lib_socket_socket = yes; then
46172 if test "$INET_LINK" != " -lsocket"; then
46173 INET_LINK="$INET_LINK -lsocket"
46174 fi
46175 else
46176
46177 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46178 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46179 wxUSE_SOCKETS=no
46180
46181
46182 fi
46183
46184
46185
46186 fi
46187
46188 fi
46189 fi
46190
46191 if test "$wxUSE_SOCKETS" = "yes" ; then
46192 if test "$TOOLKIT" != "MSW"; then
46193 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46194 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46195 if test "${wx_cv_type_getsockname3+set}" = set; then
46196 echo $ECHO_N "(cached) $ECHO_C" >&6
46197 else
46198
46199 ac_ext=cpp
46200 ac_cpp='$CXXCPP $CPPFLAGS'
46201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46204
46205 cat >conftest.$ac_ext <<_ACEOF
46206 /* confdefs.h. */
46207 _ACEOF
46208 cat confdefs.h >>conftest.$ac_ext
46209 cat >>conftest.$ac_ext <<_ACEOF
46210 /* end confdefs.h. */
46211
46212 #include <sys/types.h>
46213 #include <sys/socket.h>
46214
46215 int
46216 main ()
46217 {
46218
46219 socklen_t len;
46220 getsockname(0, 0, &len);
46221
46222 ;
46223 return 0;
46224 }
46225 _ACEOF
46226 rm -f conftest.$ac_objext
46227 if { (ac_try="$ac_compile"
46228 case "(($ac_try" in
46229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46230 *) ac_try_echo=$ac_try;;
46231 esac
46232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46233 (eval "$ac_compile") 2>conftest.er1
46234 ac_status=$?
46235 grep -v '^ *+' conftest.er1 >conftest.err
46236 rm -f conftest.er1
46237 cat conftest.err >&5
46238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46239 (exit $ac_status); } && {
46240 test -z "$ac_cxx_werror_flag" ||
46241 test ! -s conftest.err
46242 } && test -s conftest.$ac_objext; then
46243 wx_cv_type_getsockname3=socklen_t
46244 else
46245 echo "$as_me: failed program was:" >&5
46246 sed 's/^/| /' conftest.$ac_ext >&5
46247
46248
46249 CFLAGS_OLD="$CFLAGS"
46250 if test "$GCC" = yes ; then
46251 CFLAGS="-Werror $CFLAGS"
46252 fi
46253
46254 cat >conftest.$ac_ext <<_ACEOF
46255 /* confdefs.h. */
46256 _ACEOF
46257 cat confdefs.h >>conftest.$ac_ext
46258 cat >>conftest.$ac_ext <<_ACEOF
46259 /* end confdefs.h. */
46260
46261 #include <sys/types.h>
46262 #include <sys/socket.h>
46263
46264 int
46265 main ()
46266 {
46267
46268 size_t len;
46269 getsockname(0, 0, &len);
46270
46271 ;
46272 return 0;
46273 }
46274 _ACEOF
46275 rm -f conftest.$ac_objext
46276 if { (ac_try="$ac_compile"
46277 case "(($ac_try" in
46278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46279 *) ac_try_echo=$ac_try;;
46280 esac
46281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46282 (eval "$ac_compile") 2>conftest.er1
46283 ac_status=$?
46284 grep -v '^ *+' conftest.er1 >conftest.err
46285 rm -f conftest.er1
46286 cat conftest.err >&5
46287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46288 (exit $ac_status); } && {
46289 test -z "$ac_cxx_werror_flag" ||
46290 test ! -s conftest.err
46291 } && test -s conftest.$ac_objext; then
46292 wx_cv_type_getsockname3=size_t
46293 else
46294 echo "$as_me: failed program was:" >&5
46295 sed 's/^/| /' conftest.$ac_ext >&5
46296
46297 cat >conftest.$ac_ext <<_ACEOF
46298 /* confdefs.h. */
46299 _ACEOF
46300 cat confdefs.h >>conftest.$ac_ext
46301 cat >>conftest.$ac_ext <<_ACEOF
46302 /* end confdefs.h. */
46303
46304 #include <sys/types.h>
46305 #include <sys/socket.h>
46306
46307 int
46308 main ()
46309 {
46310
46311 int len;
46312 getsockname(0, 0, &len);
46313
46314 ;
46315 return 0;
46316 }
46317 _ACEOF
46318 rm -f conftest.$ac_objext
46319 if { (ac_try="$ac_compile"
46320 case "(($ac_try" in
46321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46322 *) ac_try_echo=$ac_try;;
46323 esac
46324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46325 (eval "$ac_compile") 2>conftest.er1
46326 ac_status=$?
46327 grep -v '^ *+' conftest.er1 >conftest.err
46328 rm -f conftest.er1
46329 cat conftest.err >&5
46330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46331 (exit $ac_status); } && {
46332 test -z "$ac_cxx_werror_flag" ||
46333 test ! -s conftest.err
46334 } && test -s conftest.$ac_objext; then
46335 wx_cv_type_getsockname3=int
46336 else
46337 echo "$as_me: failed program was:" >&5
46338 sed 's/^/| /' conftest.$ac_ext >&5
46339
46340 wx_cv_type_getsockname3=unknown
46341
46342 fi
46343
46344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46345
46346 fi
46347
46348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46349
46350 CFLAGS="$CFLAGS_OLD"
46351
46352
46353 fi
46354
46355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46356 ac_ext=c
46357 ac_cpp='$CPP $CPPFLAGS'
46358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46361
46362
46363 fi
46364 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46365 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46366
46367 if test "$wx_cv_type_getsockname3" = "unknown"; then
46368 wxUSE_SOCKETS=no
46369 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46370 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46371 else
46372 cat >>confdefs.h <<_ACEOF
46373 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46374 _ACEOF
46375
46376 fi
46377 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46378 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46379 if test "${wx_cv_type_getsockopt5+set}" = set; then
46380 echo $ECHO_N "(cached) $ECHO_C" >&6
46381 else
46382
46383 ac_ext=cpp
46384 ac_cpp='$CXXCPP $CPPFLAGS'
46385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46388
46389 cat >conftest.$ac_ext <<_ACEOF
46390 /* confdefs.h. */
46391 _ACEOF
46392 cat confdefs.h >>conftest.$ac_ext
46393 cat >>conftest.$ac_ext <<_ACEOF
46394 /* end confdefs.h. */
46395
46396 #include <sys/types.h>
46397 #include <sys/socket.h>
46398
46399 int
46400 main ()
46401 {
46402
46403 socklen_t len;
46404 getsockopt(0, 0, 0, 0, &len);
46405
46406 ;
46407 return 0;
46408 }
46409 _ACEOF
46410 rm -f conftest.$ac_objext
46411 if { (ac_try="$ac_compile"
46412 case "(($ac_try" in
46413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46414 *) ac_try_echo=$ac_try;;
46415 esac
46416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46417 (eval "$ac_compile") 2>conftest.er1
46418 ac_status=$?
46419 grep -v '^ *+' conftest.er1 >conftest.err
46420 rm -f conftest.er1
46421 cat conftest.err >&5
46422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46423 (exit $ac_status); } && {
46424 test -z "$ac_cxx_werror_flag" ||
46425 test ! -s conftest.err
46426 } && test -s conftest.$ac_objext; then
46427 wx_cv_type_getsockopt5=socklen_t
46428 else
46429 echo "$as_me: failed program was:" >&5
46430 sed 's/^/| /' conftest.$ac_ext >&5
46431
46432
46433 cat >conftest.$ac_ext <<_ACEOF
46434 /* confdefs.h. */
46435 _ACEOF
46436 cat confdefs.h >>conftest.$ac_ext
46437 cat >>conftest.$ac_ext <<_ACEOF
46438 /* end confdefs.h. */
46439
46440 #include <sys/types.h>
46441 #include <sys/socket.h>
46442
46443 int
46444 main ()
46445 {
46446
46447 size_t len;
46448 getsockopt(0, 0, 0, 0, &len);
46449
46450 ;
46451 return 0;
46452 }
46453 _ACEOF
46454 rm -f conftest.$ac_objext
46455 if { (ac_try="$ac_compile"
46456 case "(($ac_try" in
46457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46458 *) ac_try_echo=$ac_try;;
46459 esac
46460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46461 (eval "$ac_compile") 2>conftest.er1
46462 ac_status=$?
46463 grep -v '^ *+' conftest.er1 >conftest.err
46464 rm -f conftest.er1
46465 cat conftest.err >&5
46466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46467 (exit $ac_status); } && {
46468 test -z "$ac_cxx_werror_flag" ||
46469 test ! -s conftest.err
46470 } && test -s conftest.$ac_objext; then
46471 wx_cv_type_getsockopt5=size_t
46472 else
46473 echo "$as_me: failed program was:" >&5
46474 sed 's/^/| /' conftest.$ac_ext >&5
46475
46476 cat >conftest.$ac_ext <<_ACEOF
46477 /* confdefs.h. */
46478 _ACEOF
46479 cat confdefs.h >>conftest.$ac_ext
46480 cat >>conftest.$ac_ext <<_ACEOF
46481 /* end confdefs.h. */
46482
46483 #include <sys/types.h>
46484 #include <sys/socket.h>
46485
46486 int
46487 main ()
46488 {
46489
46490 int len;
46491 getsockopt(0, 0, 0, 0, &len);
46492
46493 ;
46494 return 0;
46495 }
46496 _ACEOF
46497 rm -f conftest.$ac_objext
46498 if { (ac_try="$ac_compile"
46499 case "(($ac_try" in
46500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46501 *) ac_try_echo=$ac_try;;
46502 esac
46503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46504 (eval "$ac_compile") 2>conftest.er1
46505 ac_status=$?
46506 grep -v '^ *+' conftest.er1 >conftest.err
46507 rm -f conftest.er1
46508 cat conftest.err >&5
46509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46510 (exit $ac_status); } && {
46511 test -z "$ac_cxx_werror_flag" ||
46512 test ! -s conftest.err
46513 } && test -s conftest.$ac_objext; then
46514 wx_cv_type_getsockopt5=int
46515 else
46516 echo "$as_me: failed program was:" >&5
46517 sed 's/^/| /' conftest.$ac_ext >&5
46518
46519 wx_cv_type_getsockopt5=unknown
46520
46521 fi
46522
46523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46524
46525 fi
46526
46527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46528
46529
46530 fi
46531
46532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46533 ac_ext=c
46534 ac_cpp='$CPP $CPPFLAGS'
46535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46538
46539
46540 fi
46541 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46542 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46543
46544 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46545 wxUSE_SOCKETS=no
46546 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46547 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46548 else
46549 cat >>confdefs.h <<_ACEOF
46550 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46551 _ACEOF
46552
46553 fi
46554 fi
46555 fi
46556
46557 if test "$wxUSE_SOCKETS" = "yes" ; then
46558 if test "$wxUSE_IPV6" = "yes"; then
46559 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46560 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46561 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46562 echo $ECHO_N "(cached) $ECHO_C" >&6
46563 else
46564
46565 cat >conftest.$ac_ext <<_ACEOF
46566 /* confdefs.h. */
46567 _ACEOF
46568 cat confdefs.h >>conftest.$ac_ext
46569 cat >>conftest.$ac_ext <<_ACEOF
46570 /* end confdefs.h. */
46571
46572 #include <sys/types.h>
46573 #include <sys/socket.h>
46574 #include <netinet/in.h>
46575
46576 int
46577 main ()
46578 {
46579
46580 struct sockaddr_in6 sa6;
46581
46582 ;
46583 return 0;
46584 }
46585 _ACEOF
46586 rm -f conftest.$ac_objext
46587 if { (ac_try="$ac_compile"
46588 case "(($ac_try" in
46589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46590 *) ac_try_echo=$ac_try;;
46591 esac
46592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46593 (eval "$ac_compile") 2>conftest.er1
46594 ac_status=$?
46595 grep -v '^ *+' conftest.er1 >conftest.err
46596 rm -f conftest.er1
46597 cat conftest.err >&5
46598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46599 (exit $ac_status); } && {
46600 test -z "$ac_c_werror_flag" ||
46601 test ! -s conftest.err
46602 } && test -s conftest.$ac_objext; then
46603 wx_cv_type_sockaddr_in6=yes
46604 else
46605 echo "$as_me: failed program was:" >&5
46606 sed 's/^/| /' conftest.$ac_ext >&5
46607
46608 wx_cv_type_sockaddr_in6=no
46609
46610 fi
46611
46612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46613
46614
46615 fi
46616 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46617 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46618
46619 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46620 cat >>confdefs.h <<\_ACEOF
46621 #define wxUSE_IPV6 1
46622 _ACEOF
46623
46624 else
46625 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46626 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46627 fi
46628 fi
46629
46630 cat >>confdefs.h <<\_ACEOF
46631 #define wxUSE_SOCKETS 1
46632 _ACEOF
46633
46634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46635 fi
46636
46637 if test "$wxUSE_PROTOCOL" = "yes"; then
46638 if test "$wxUSE_SOCKETS" != "yes"; then
46639 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46640 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46641 wxUSE_PROTOCOL=no
46642 fi
46643 fi
46644
46645 if test "$wxUSE_PROTOCOL" = "yes"; then
46646 cat >>confdefs.h <<\_ACEOF
46647 #define wxUSE_PROTOCOL 1
46648 _ACEOF
46649
46650
46651 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46652 cat >>confdefs.h <<\_ACEOF
46653 #define wxUSE_PROTOCOL_HTTP 1
46654 _ACEOF
46655
46656 fi
46657 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46658 cat >>confdefs.h <<\_ACEOF
46659 #define wxUSE_PROTOCOL_FTP 1
46660 _ACEOF
46661
46662 fi
46663 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_PROTOCOL_FILE 1
46666 _ACEOF
46667
46668 fi
46669 else
46670 if test "$wxUSE_FS_INET" = "yes"; then
46671 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46672 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46673 wxUSE_FS_INET="no"
46674 fi
46675 fi
46676
46677 if test "$wxUSE_URL" = "yes"; then
46678 if test "$wxUSE_PROTOCOL" != "yes"; then
46679 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46680 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46681 wxUSE_URL=no
46682 fi
46683 if test "$wxUSE_URL" = "yes"; then
46684 cat >>confdefs.h <<\_ACEOF
46685 #define wxUSE_URL 1
46686 _ACEOF
46687
46688 fi
46689 fi
46690
46691 if test "$wxUSE_VARIANT" = "yes"; then
46692 cat >>confdefs.h <<\_ACEOF
46693 #define wxUSE_VARIANT 1
46694 _ACEOF
46695
46696 fi
46697
46698 if test "$wxUSE_FS_INET" = "yes"; then
46699 cat >>confdefs.h <<\_ACEOF
46700 #define wxUSE_FS_INET 1
46701 _ACEOF
46702
46703 fi
46704
46705
46706 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46707 wxUSE_JOYSTICK=no
46708
46709 if test "$TOOLKIT" = "MSW"; then
46710 wxUSE_JOYSTICK=yes
46711
46712 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46713 if test "$USE_DARWIN" = 1; then
46714 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46715 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46716 ac_ext=cpp
46717 ac_cpp='$CXXCPP $CPPFLAGS'
46718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46721
46722 cat >conftest.$ac_ext <<_ACEOF
46723 /* confdefs.h. */
46724 _ACEOF
46725 cat confdefs.h >>conftest.$ac_ext
46726 cat >>conftest.$ac_ext <<_ACEOF
46727 /* end confdefs.h. */
46728 #include <IOKit/hid/IOHIDLib.h>
46729 int
46730 main ()
46731 {
46732 IOHIDQueueInterface *qi = NULL;
46733 IOHIDCallbackFunction cb = NULL;
46734 qi->setEventCallout(NULL, cb, NULL, NULL);
46735 ;
46736 return 0;
46737 }
46738 _ACEOF
46739 rm -f conftest.$ac_objext
46740 if { (ac_try="$ac_compile"
46741 case "(($ac_try" in
46742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46743 *) ac_try_echo=$ac_try;;
46744 esac
46745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46746 (eval "$ac_compile") 2>conftest.er1
46747 ac_status=$?
46748 grep -v '^ *+' conftest.er1 >conftest.err
46749 rm -f conftest.er1
46750 cat conftest.err >&5
46751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46752 (exit $ac_status); } && {
46753 test -z "$ac_cxx_werror_flag" ||
46754 test ! -s conftest.err
46755 } && test -s conftest.$ac_objext; then
46756 wxUSE_JOYSTICK=yes
46757
46758 else
46759 echo "$as_me: failed program was:" >&5
46760 sed 's/^/| /' conftest.$ac_ext >&5
46761
46762
46763 fi
46764
46765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46766 ac_ext=c
46767 ac_cpp='$CPP $CPPFLAGS'
46768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46771
46772 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46773 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46774 fi
46775
46776 else
46777 if test "$wxUSE_MGL" != 1; then
46778
46779 for ac_header in linux/joystick.h
46780 do
46781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46785 echo $ECHO_N "(cached) $ECHO_C" >&6
46786 else
46787 cat >conftest.$ac_ext <<_ACEOF
46788 /* confdefs.h. */
46789 _ACEOF
46790 cat confdefs.h >>conftest.$ac_ext
46791 cat >>conftest.$ac_ext <<_ACEOF
46792 /* end confdefs.h. */
46793 $ac_includes_default
46794
46795 #include <$ac_header>
46796 _ACEOF
46797 rm -f conftest.$ac_objext
46798 if { (ac_try="$ac_compile"
46799 case "(($ac_try" in
46800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46801 *) ac_try_echo=$ac_try;;
46802 esac
46803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46804 (eval "$ac_compile") 2>conftest.er1
46805 ac_status=$?
46806 grep -v '^ *+' conftest.er1 >conftest.err
46807 rm -f conftest.er1
46808 cat conftest.err >&5
46809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46810 (exit $ac_status); } && {
46811 test -z "$ac_c_werror_flag" ||
46812 test ! -s conftest.err
46813 } && test -s conftest.$ac_objext; then
46814 eval "$as_ac_Header=yes"
46815 else
46816 echo "$as_me: failed program was:" >&5
46817 sed 's/^/| /' conftest.$ac_ext >&5
46818
46819 eval "$as_ac_Header=no"
46820 fi
46821
46822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46823 fi
46824 ac_res=`eval echo '${'$as_ac_Header'}'`
46825 { echo "$as_me:$LINENO: result: $ac_res" >&5
46826 echo "${ECHO_T}$ac_res" >&6; }
46827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46828 cat >>confdefs.h <<_ACEOF
46829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46830 _ACEOF
46831 wxUSE_JOYSTICK=yes
46832 fi
46833
46834 done
46835
46836 fi
46837 fi
46838
46839 if test "$wxUSE_JOYSTICK" = "yes"; then
46840 cat >>confdefs.h <<\_ACEOF
46841 #define wxUSE_JOYSTICK 1
46842 _ACEOF
46843
46844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46845 else
46846 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46847 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46848 fi
46849 fi
46850
46851
46852
46853 if test "$wxUSE_FONTENUM" = "yes" ; then
46854 cat >>confdefs.h <<\_ACEOF
46855 #define wxUSE_FONTENUM 1
46856 _ACEOF
46857
46858 fi
46859
46860 if test "$wxUSE_FONTMAP" = "yes" ; then
46861 cat >>confdefs.h <<\_ACEOF
46862 #define wxUSE_FONTMAP 1
46863 _ACEOF
46864
46865 fi
46866
46867 if test "$wxUSE_UNICODE" = "yes" ; then
46868 cat >>confdefs.h <<\_ACEOF
46869 #define wxUSE_UNICODE 1
46870 _ACEOF
46871
46872
46873 if test "$USE_WIN32" != 1; then
46874 wxUSE_UNICODE_MSLU=no
46875 fi
46876
46877 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46878 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46879 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46880 if test "${ac_cv_lib_unicows_main+set}" = set; then
46881 echo $ECHO_N "(cached) $ECHO_C" >&6
46882 else
46883 ac_check_lib_save_LIBS=$LIBS
46884 LIBS="-lunicows $LIBS"
46885 cat >conftest.$ac_ext <<_ACEOF
46886 /* confdefs.h. */
46887 _ACEOF
46888 cat confdefs.h >>conftest.$ac_ext
46889 cat >>conftest.$ac_ext <<_ACEOF
46890 /* end confdefs.h. */
46891
46892
46893 int
46894 main ()
46895 {
46896 return main ();
46897 ;
46898 return 0;
46899 }
46900 _ACEOF
46901 rm -f conftest.$ac_objext conftest$ac_exeext
46902 if { (ac_try="$ac_link"
46903 case "(($ac_try" in
46904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46905 *) ac_try_echo=$ac_try;;
46906 esac
46907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46908 (eval "$ac_link") 2>conftest.er1
46909 ac_status=$?
46910 grep -v '^ *+' conftest.er1 >conftest.err
46911 rm -f conftest.er1
46912 cat conftest.err >&5
46913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46914 (exit $ac_status); } && {
46915 test -z "$ac_c_werror_flag" ||
46916 test ! -s conftest.err
46917 } && test -s conftest$ac_exeext &&
46918 $as_test_x conftest$ac_exeext; then
46919 ac_cv_lib_unicows_main=yes
46920 else
46921 echo "$as_me: failed program was:" >&5
46922 sed 's/^/| /' conftest.$ac_ext >&5
46923
46924 ac_cv_lib_unicows_main=no
46925 fi
46926
46927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46928 conftest$ac_exeext conftest.$ac_ext
46929 LIBS=$ac_check_lib_save_LIBS
46930 fi
46931 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46932 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46933 if test $ac_cv_lib_unicows_main = yes; then
46934
46935 cat >>confdefs.h <<\_ACEOF
46936 #define wxUSE_UNICODE_MSLU 1
46937 _ACEOF
46938
46939
46940 else
46941
46942 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46943 Applications will only run on Windows NT/2000/XP!" >&5
46944 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46945 Applications will only run on Windows NT/2000/XP!" >&2;}
46946 wxUSE_UNICODE_MSLU=no
46947
46948 fi
46949
46950 fi
46951 fi
46952
46953 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46954 cat >>confdefs.h <<\_ACEOF
46955 #define wxUSE_UNICODE_UTF8 1
46956 _ACEOF
46957
46958
46959 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46960 cat >>confdefs.h <<\_ACEOF
46961 #define wxUSE_UTF8_LOCALE_ONLY 1
46962 _ACEOF
46963
46964 fi
46965 fi
46966
46967
46968 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46969 cat >>confdefs.h <<\_ACEOF
46970 #define wxUSE_CONSTRAINTS 1
46971 _ACEOF
46972
46973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46974 fi
46975
46976 if test "$wxUSE_MDI" = "yes"; then
46977 cat >>confdefs.h <<\_ACEOF
46978 #define wxUSE_MDI 1
46979 _ACEOF
46980
46981
46982 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46983 cat >>confdefs.h <<\_ACEOF
46984 #define wxUSE_MDI_ARCHITECTURE 1
46985 _ACEOF
46986
46987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46988 fi
46989 fi
46990
46991 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46992 cat >>confdefs.h <<\_ACEOF
46993 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46994 _ACEOF
46995
46996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46997 fi
46998
46999 if test "$wxUSE_HELP" = "yes"; then
47000 cat >>confdefs.h <<\_ACEOF
47001 #define wxUSE_HELP 1
47002 _ACEOF
47003
47004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47005
47006 if test "$wxUSE_MSW" = 1; then
47007 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47008 cat >>confdefs.h <<\_ACEOF
47009 #define wxUSE_MS_HTML_HELP 1
47010 _ACEOF
47011
47012 fi
47013 fi
47014
47015 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47016 if test "$wxUSE_HTML" = "yes"; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_WXHTML_HELP 1
47019 _ACEOF
47020
47021 else
47022 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47023 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47024 wxUSE_WXHTML_HELP=no
47025 fi
47026 fi
47027 fi
47028
47029 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47030 cat >>confdefs.h <<\_ACEOF
47031 #define wxUSE_PRINTING_ARCHITECTURE 1
47032 _ACEOF
47033
47034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47035 fi
47036
47037 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47038 cat >>confdefs.h <<\_ACEOF
47039 #define wxUSE_POSTSCRIPT 1
47040 _ACEOF
47041
47042 fi
47043
47044 cat >>confdefs.h <<\_ACEOF
47045 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47046 _ACEOF
47047
47048
47049 if test "$wxUSE_SVG" = "yes"; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_SVG 1
47052 _ACEOF
47053
47054 fi
47055
47056
47057 if test "$wxUSE_METAFILE" = "yes"; then
47058 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47059 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47060 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47061 wxUSE_METAFILE=no
47062 fi
47063 elif test "$wxUSE_METAFILE" = "auto"; then
47064 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
47065 wxUSE_METAFILE=yes
47066 fi
47067 fi
47068
47069 if test "$wxUSE_METAFILE" = "yes"; then
47070 cat >>confdefs.h <<\_ACEOF
47071 #define wxUSE_METAFILE 1
47072 _ACEOF
47073
47074 if test "$wxUSE_MSW" = 1; then
47075 cat >>confdefs.h <<\_ACEOF
47076 #define wxUSE_ENH_METAFILE 1
47077 _ACEOF
47078
47079 fi
47080 fi
47081
47082
47083 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47084 -o "$wxUSE_CLIPBOARD" = "yes" \
47085 -o "$wxUSE_OLE" = "yes" \
47086 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47087 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47088 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47089 if test "${ac_cv_header_ole2_h+set}" = set; then
47090 echo $ECHO_N "(cached) $ECHO_C" >&6
47091 else
47092 cat >conftest.$ac_ext <<_ACEOF
47093 /* confdefs.h. */
47094 _ACEOF
47095 cat confdefs.h >>conftest.$ac_ext
47096 cat >>conftest.$ac_ext <<_ACEOF
47097 /* end confdefs.h. */
47098
47099
47100 #include <ole2.h>
47101 _ACEOF
47102 rm -f conftest.$ac_objext
47103 if { (ac_try="$ac_compile"
47104 case "(($ac_try" in
47105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47106 *) ac_try_echo=$ac_try;;
47107 esac
47108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47109 (eval "$ac_compile") 2>conftest.er1
47110 ac_status=$?
47111 grep -v '^ *+' conftest.er1 >conftest.err
47112 rm -f conftest.er1
47113 cat conftest.err >&5
47114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47115 (exit $ac_status); } && {
47116 test -z "$ac_c_werror_flag" ||
47117 test ! -s conftest.err
47118 } && test -s conftest.$ac_objext; then
47119 ac_cv_header_ole2_h=yes
47120 else
47121 echo "$as_me: failed program was:" >&5
47122 sed 's/^/| /' conftest.$ac_ext >&5
47123
47124 ac_cv_header_ole2_h=no
47125 fi
47126
47127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47128 fi
47129 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47130 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47131
47132
47133
47134 if test "$ac_cv_header_ole2_h" = "yes" ; then
47135 if test "$GCC" = yes ; then
47136 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47137 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47138 cat >conftest.$ac_ext <<_ACEOF
47139 /* confdefs.h. */
47140 _ACEOF
47141 cat confdefs.h >>conftest.$ac_ext
47142 cat >>conftest.$ac_ext <<_ACEOF
47143 /* end confdefs.h. */
47144 #include <windows.h>
47145 #include <ole2.h>
47146 int
47147 main ()
47148 {
47149
47150 ;
47151 return 0;
47152 }
47153 _ACEOF
47154 rm -f conftest.$ac_objext
47155 if { (ac_try="$ac_compile"
47156 case "(($ac_try" in
47157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47158 *) ac_try_echo=$ac_try;;
47159 esac
47160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47161 (eval "$ac_compile") 2>conftest.er1
47162 ac_status=$?
47163 grep -v '^ *+' conftest.er1 >conftest.err
47164 rm -f conftest.er1
47165 cat conftest.err >&5
47166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47167 (exit $ac_status); } && {
47168 test -z "$ac_c_werror_flag" ||
47169 test ! -s conftest.err
47170 } && test -s conftest.$ac_objext; then
47171 { echo "$as_me:$LINENO: result: no" >&5
47172 echo "${ECHO_T}no" >&6; }
47173 else
47174 echo "$as_me: failed program was:" >&5
47175 sed 's/^/| /' conftest.$ac_ext >&5
47176
47177 { echo "$as_me:$LINENO: result: yes" >&5
47178 echo "${ECHO_T}yes" >&6; }
47179 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47180 fi
47181
47182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47183 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47184 if test "$wxUSE_OLE" = "yes" ; then
47185 cat >>confdefs.h <<\_ACEOF
47186 #define wxUSE_OLE 1
47187 _ACEOF
47188
47189 cat >>confdefs.h <<\_ACEOF
47190 #define wxUSE_OLE_AUTOMATION 1
47191 _ACEOF
47192
47193 cat >>confdefs.h <<\_ACEOF
47194 #define wxUSE_ACTIVEX 1
47195 _ACEOF
47196
47197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47198 fi
47199 fi
47200
47201 if test "$wxUSE_DATAOBJ" = "yes" ; then
47202 cat >>confdefs.h <<\_ACEOF
47203 #define wxUSE_DATAOBJ 1
47204 _ACEOF
47205
47206 fi
47207 else
47208 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47209 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47210
47211 wxUSE_CLIPBOARD=no
47212 wxUSE_DRAG_AND_DROP=no
47213 wxUSE_DATAOBJ=no
47214 wxUSE_OLE=no
47215 fi
47216 fi
47217
47218 if test "$wxUSE_IPC" = "yes"; then
47219 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47220 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47221 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47222 wxUSE_IPC=no
47223 fi
47224
47225 if test "$wxUSE_IPC" = "yes"; then
47226 cat >>confdefs.h <<\_ACEOF
47227 #define wxUSE_IPC 1
47228 _ACEOF
47229
47230 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47231 fi
47232 fi
47233
47234 if test "$wxUSE_DATAOBJ" = "yes"; then
47235 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47236 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47237 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47238 wxUSE_DATAOBJ=no
47239 else
47240 cat >>confdefs.h <<\_ACEOF
47241 #define wxUSE_DATAOBJ 1
47242 _ACEOF
47243
47244 fi
47245 else
47246 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47247 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47248 wxUSE_CLIPBOARD=no
47249 wxUSE_DRAG_AND_DROP=no
47250 fi
47251
47252 if test "$wxUSE_CLIPBOARD" = "yes"; then
47253 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47254 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47255 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47256 wxUSE_CLIPBOARD=no
47257 fi
47258
47259 if test "$wxUSE_CLIPBOARD" = "yes"; then
47260 cat >>confdefs.h <<\_ACEOF
47261 #define wxUSE_CLIPBOARD 1
47262 _ACEOF
47263
47264 fi
47265 fi
47266
47267 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47268 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47269 "$wxUSE_DFB" = 1; then
47270 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47271 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47272 wxUSE_DRAG_AND_DROP=no
47273 fi
47274
47275 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_DRAG_AND_DROP 1
47278 _ACEOF
47279
47280 fi
47281
47282 fi
47283
47284 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47286 fi
47287
47288 if test "$wxUSE_CLIPBOARD" = "yes"; then
47289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47290 fi
47291
47292 if test "$wxUSE_SPLINES" = "yes" ; then
47293 cat >>confdefs.h <<\_ACEOF
47294 #define wxUSE_SPLINES 1
47295 _ACEOF
47296
47297 fi
47298
47299 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_MOUSEWHEEL 1
47302 _ACEOF
47303
47304 fi
47305
47306 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47307 cat >>confdefs.h <<\_ACEOF
47308 #define wxUSE_UIACTIONSIMULATOR 1
47309 _ACEOF
47310
47311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47312 fi
47313
47314 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47315 cat >>confdefs.h <<\_ACEOF
47316 #define wxUSE_DC_TRANSFORM_MATRIX 1
47317 _ACEOF
47318
47319 fi
47320
47321
47322 USES_CONTROLS=0
47323 if test "$wxUSE_CONTROLS" = "yes"; then
47324 USES_CONTROLS=1
47325 fi
47326
47327 if test "$wxUSE_MARKUP" = "yes"; then
47328 cat >>confdefs.h <<\_ACEOF
47329 #define wxUSE_MARKUP 1
47330 _ACEOF
47331
47332 fi
47333
47334 if test "$wxUSE_ACCEL" = "yes"; then
47335 cat >>confdefs.h <<\_ACEOF
47336 #define wxUSE_ACCEL 1
47337 _ACEOF
47338
47339 USES_CONTROLS=1
47340 fi
47341
47342 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47343 cat >>confdefs.h <<\_ACEOF
47344 #define wxUSE_ANIMATIONCTRL 1
47345 _ACEOF
47346
47347 USES_CONTROLS=1
47348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47349 fi
47350
47351 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47352 cat >>confdefs.h <<\_ACEOF
47353 #define wxUSE_BANNERWINDOW 1
47354 _ACEOF
47355
47356 fi
47357
47358 if test "$wxUSE_BUTTON" = "yes"; then
47359 cat >>confdefs.h <<\_ACEOF
47360 #define wxUSE_BUTTON 1
47361 _ACEOF
47362
47363 USES_CONTROLS=1
47364 fi
47365
47366 if test "$wxUSE_BMPBUTTON" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_BMPBUTTON 1
47369 _ACEOF
47370
47371 USES_CONTROLS=1
47372 fi
47373
47374 if test "$wxUSE_CALCTRL" = "yes"; then
47375 cat >>confdefs.h <<\_ACEOF
47376 #define wxUSE_CALENDARCTRL 1
47377 _ACEOF
47378
47379 USES_CONTROLS=1
47380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47381 fi
47382
47383 if test "$wxUSE_CARET" = "yes"; then
47384 cat >>confdefs.h <<\_ACEOF
47385 #define wxUSE_CARET 1
47386 _ACEOF
47387
47388 USES_CONTROLS=1
47389 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47390 fi
47391
47392 if test "$wxUSE_COLLPANE" = "yes"; then
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_COLLPANE 1
47395 _ACEOF
47396
47397 USES_CONTROLS=1
47398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47399 fi
47400
47401 if test "$wxUSE_COMBOBOX" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_COMBOBOX 1
47404 _ACEOF
47405
47406 USES_CONTROLS=1
47407 fi
47408
47409 if test "$wxUSE_COMBOCTRL" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_COMBOCTRL 1
47412 _ACEOF
47413
47414 USES_CONTROLS=1
47415 fi
47416
47417 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47418 cat >>confdefs.h <<\_ACEOF
47419 #define wxUSE_COMMANDLINKBUTTON 1
47420 _ACEOF
47421
47422 USES_CONTROLS=1
47423 fi
47424
47425 if test "$wxUSE_CHOICE" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_CHOICE 1
47428 _ACEOF
47429
47430 USES_CONTROLS=1
47431 fi
47432
47433 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47434 cat >>confdefs.h <<\_ACEOF
47435 #define wxUSE_CHOICEBOOK 1
47436 _ACEOF
47437
47438 USES_CONTROLS=1
47439 fi
47440
47441 if test "$wxUSE_CHECKBOX" = "yes"; then
47442 cat >>confdefs.h <<\_ACEOF
47443 #define wxUSE_CHECKBOX 1
47444 _ACEOF
47445
47446 USES_CONTROLS=1
47447 fi
47448
47449 if test "$wxUSE_CHECKLST" = "yes"; then
47450 cat >>confdefs.h <<\_ACEOF
47451 #define wxUSE_CHECKLISTBOX 1
47452 _ACEOF
47453
47454 USES_CONTROLS=1
47455 fi
47456
47457 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_COLOURPICKERCTRL 1
47460 _ACEOF
47461
47462 USES_CONTROLS=1
47463 fi
47464
47465 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47466 cat >>confdefs.h <<\_ACEOF
47467 #define wxUSE_DATEPICKCTRL 1
47468 _ACEOF
47469
47470 USES_CONTROLS=1
47471 fi
47472
47473 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47474 cat >>confdefs.h <<\_ACEOF
47475 #define wxUSE_DIRPICKERCTRL 1
47476 _ACEOF
47477
47478 USES_CONTROLS=1
47479 fi
47480
47481 if test "$wxUSE_FILECTRL" = "yes"; then
47482 cat >>confdefs.h <<\_ACEOF
47483 #define wxUSE_FILECTRL 1
47484 _ACEOF
47485
47486 USES_CONTROLS=1
47487 fi
47488
47489 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_FILEPICKERCTRL 1
47492 _ACEOF
47493
47494 USES_CONTROLS=1
47495 fi
47496
47497 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47498 cat >>confdefs.h <<\_ACEOF
47499 #define wxUSE_FONTPICKERCTRL 1
47500 _ACEOF
47501
47502 USES_CONTROLS=1
47503 fi
47504
47505 if test "$wxUSE_DISPLAY" = "yes"; then
47506 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47507 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47508 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47509 wxUSE_DISPLAY=no
47510 else
47511 cat >>confdefs.h <<\_ACEOF
47512 #define wxUSE_DISPLAY 1
47513 _ACEOF
47514
47515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47516 fi
47517 fi
47518
47519 if test "$wxUSE_DETECT_SM" = "yes"; then
47520 cat >>confdefs.h <<\_ACEOF
47521 #define wxUSE_DETECT_SM 1
47522 _ACEOF
47523
47524 fi
47525
47526 if test "$wxUSE_GAUGE" = "yes"; then
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_GAUGE 1
47529 _ACEOF
47530
47531 USES_CONTROLS=1
47532 fi
47533
47534 if test "$wxUSE_GRID" = "yes"; then
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_GRID 1
47537 _ACEOF
47538
47539 USES_CONTROLS=1
47540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47541 fi
47542
47543 if test "$wxUSE_HEADERCTRL" = "yes"; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_HEADERCTRL 1
47546 _ACEOF
47547
47548 USES_CONTROLS=1
47549 fi
47550
47551 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47552 cat >>confdefs.h <<\_ACEOF
47553 #define wxUSE_HYPERLINKCTRL 1
47554 _ACEOF
47555
47556 USES_CONTROLS=1
47557 fi
47558
47559 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47560 cat >>confdefs.h <<\_ACEOF
47561 #define wxUSE_BITMAPCOMBOBOX 1
47562 _ACEOF
47563
47564 USES_CONTROLS=1
47565 fi
47566
47567 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47568 cat >>confdefs.h <<\_ACEOF
47569 #define wxUSE_DATAVIEWCTRL 1
47570 _ACEOF
47571
47572 USES_CONTROLS=1
47573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47574 fi
47575
47576 if test "$wxUSE_IMAGLIST" = "yes"; then
47577 cat >>confdefs.h <<\_ACEOF
47578 #define wxUSE_IMAGLIST 1
47579 _ACEOF
47580
47581 fi
47582
47583 if test "$wxUSE_INFOBAR" = "yes"; then
47584 cat >>confdefs.h <<\_ACEOF
47585 #define wxUSE_INFOBAR 1
47586 _ACEOF
47587
47588 fi
47589
47590 if test "$wxUSE_LISTBOOK" = "yes"; then
47591 cat >>confdefs.h <<\_ACEOF
47592 #define wxUSE_LISTBOOK 1
47593 _ACEOF
47594
47595 USES_CONTROLS=1
47596 fi
47597
47598 if test "$wxUSE_LISTBOX" = "yes"; then
47599 cat >>confdefs.h <<\_ACEOF
47600 #define wxUSE_LISTBOX 1
47601 _ACEOF
47602
47603 USES_CONTROLS=1
47604 fi
47605
47606 if test "$wxUSE_LISTCTRL" = "yes"; then
47607 if test "$wxUSE_IMAGLIST" = "yes"; then
47608 cat >>confdefs.h <<\_ACEOF
47609 #define wxUSE_LISTCTRL 1
47610 _ACEOF
47611
47612 USES_CONTROLS=1
47613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47614 else
47615 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47616 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47617 fi
47618 fi
47619
47620 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47621 cat >>confdefs.h <<\_ACEOF
47622 #define wxUSE_EDITABLELISTBOX 1
47623 _ACEOF
47624
47625 USES_CONTROLS=1
47626 fi
47627
47628 if test "$wxUSE_NOTEBOOK" = "yes"; then
47629 cat >>confdefs.h <<\_ACEOF
47630 #define wxUSE_NOTEBOOK 1
47631 _ACEOF
47632
47633 USES_CONTROLS=1
47634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47635 fi
47636
47637 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_NOTIFICATION_MESSAGE 1
47640 _ACEOF
47641
47642 fi
47643
47644 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_ODCOMBOBOX 1
47647 _ACEOF
47648
47649 USES_CONTROLS=1
47650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47651 fi
47652
47653 if test "$wxUSE_RADIOBOX" = "yes"; then
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_RADIOBOX 1
47656 _ACEOF
47657
47658 USES_CONTROLS=1
47659 fi
47660
47661 if test "$wxUSE_RADIOBTN" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_RADIOBTN 1
47664 _ACEOF
47665
47666 USES_CONTROLS=1
47667 fi
47668
47669 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47670 cat >>confdefs.h <<\_ACEOF
47671 #define wxUSE_REARRANGECTRL 1
47672 _ACEOF
47673
47674 fi
47675
47676 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47677 cat >>confdefs.h <<\_ACEOF
47678 #define wxUSE_RICHMSGDLG 1
47679 _ACEOF
47680
47681 fi
47682
47683 if test "$wxUSE_SASH" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_SASH 1
47686 _ACEOF
47687
47688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47689 fi
47690
47691 if test "$wxUSE_SCROLLBAR" = "yes"; then
47692 cat >>confdefs.h <<\_ACEOF
47693 #define wxUSE_SCROLLBAR 1
47694 _ACEOF
47695
47696 USES_CONTROLS=1
47697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47698 fi
47699
47700 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_SEARCHCTRL 1
47703 _ACEOF
47704
47705 USES_CONTROLS=1
47706 fi
47707
47708 if test "$wxUSE_SLIDER" = "yes"; then
47709 cat >>confdefs.h <<\_ACEOF
47710 #define wxUSE_SLIDER 1
47711 _ACEOF
47712
47713 USES_CONTROLS=1
47714 fi
47715
47716 if test "$wxUSE_SPINBTN" = "yes"; then
47717 cat >>confdefs.h <<\_ACEOF
47718 #define wxUSE_SPINBTN 1
47719 _ACEOF
47720
47721 USES_CONTROLS=1
47722 fi
47723
47724 if test "$wxUSE_SPINCTRL" = "yes"; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_SPINCTRL 1
47727 _ACEOF
47728
47729 USES_CONTROLS=1
47730 fi
47731
47732 if test "$wxUSE_SPLITTER" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_SPLITTER 1
47735 _ACEOF
47736
47737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47738 fi
47739
47740 if test "$wxUSE_STATBMP" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_STATBMP 1
47743 _ACEOF
47744
47745 USES_CONTROLS=1
47746 fi
47747
47748 if test "$wxUSE_STATBOX" = "yes"; then
47749 cat >>confdefs.h <<\_ACEOF
47750 #define wxUSE_STATBOX 1
47751 _ACEOF
47752
47753 USES_CONTROLS=1
47754 fi
47755
47756 if test "$wxUSE_STATTEXT" = "yes"; then
47757 cat >>confdefs.h <<\_ACEOF
47758 #define wxUSE_STATTEXT 1
47759 _ACEOF
47760
47761 USES_CONTROLS=1
47762 fi
47763
47764 if test "$wxUSE_STATLINE" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_STATLINE 1
47767 _ACEOF
47768
47769 USES_CONTROLS=1
47770 fi
47771
47772 if test "$wxUSE_STATUSBAR" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_NATIVE_STATUSBAR 1
47775 _ACEOF
47776
47777 cat >>confdefs.h <<\_ACEOF
47778 #define wxUSE_STATUSBAR 1
47779 _ACEOF
47780
47781 USES_CONTROLS=1
47782
47783 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47784 fi
47785
47786 if test "$wxUSE_TEXTCTRL" = "yes"; then
47787 cat >>confdefs.h <<\_ACEOF
47788 #define wxUSE_TEXTCTRL 1
47789 _ACEOF
47790
47791 USES_CONTROLS=1
47792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47793
47794 cat >>confdefs.h <<\_ACEOF
47795 #define wxUSE_RICHEDIT 1
47796 _ACEOF
47797
47798 cat >>confdefs.h <<\_ACEOF
47799 #define wxUSE_RICHEDIT2 1
47800 _ACEOF
47801
47802 fi
47803
47804 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47805 if test "$wxUSE_OLD_COCOA" = 1 ; then
47806 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47807 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47808 wxUSE_TOGGLEBTN=no
47809 fi
47810
47811 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47812 cat >>confdefs.h <<\_ACEOF
47813 #define wxUSE_TOGGLEBTN 1
47814 _ACEOF
47815
47816 USES_CONTROLS=1
47817 fi
47818 fi
47819
47820 if test "$wxUSE_TOOLBAR" = "yes"; then
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_TOOLBAR 1
47823 _ACEOF
47824
47825 USES_CONTROLS=1
47826
47827 if test "$wxUSE_UNIVERSAL" = "yes"; then
47828 wxUSE_TOOLBAR_NATIVE="no"
47829 else
47830 wxUSE_TOOLBAR_NATIVE="yes"
47831 cat >>confdefs.h <<\_ACEOF
47832 #define wxUSE_TOOLBAR_NATIVE 1
47833 _ACEOF
47834
47835 fi
47836
47837 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47838 fi
47839
47840 if test "$wxUSE_TOOLTIPS" = "yes"; then
47841 if test "$wxUSE_MOTIF" = 1; then
47842 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47843 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47844 else
47845 if test "$wxUSE_UNIVERSAL" = "yes"; then
47846 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47847 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47848 else
47849 cat >>confdefs.h <<\_ACEOF
47850 #define wxUSE_TOOLTIPS 1
47851 _ACEOF
47852
47853 fi
47854 fi
47855 fi
47856
47857 if test "$wxUSE_TREEBOOK" = "yes"; then
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_TREEBOOK 1
47860 _ACEOF
47861
47862 USES_CONTROLS=1
47863 fi
47864
47865 if test "$wxUSE_TOOLBOOK" = "yes"; then
47866 cat >>confdefs.h <<\_ACEOF
47867 #define wxUSE_TOOLBOOK 1
47868 _ACEOF
47869
47870 USES_CONTROLS=1
47871 fi
47872
47873 if test "$wxUSE_TREECTRL" = "yes"; then
47874 if test "$wxUSE_IMAGLIST" = "yes"; then
47875 cat >>confdefs.h <<\_ACEOF
47876 #define wxUSE_TREECTRL 1
47877 _ACEOF
47878
47879 USES_CONTROLS=1
47880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47881 else
47882 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47883 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47884 fi
47885 fi
47886
47887 if test "$wxUSE_TREECTRL" = "yes"; then
47888 cat >>confdefs.h <<\_ACEOF
47889 #define wxUSE_TREELISTCTRL 1
47890 _ACEOF
47891
47892 USES_CONTROLS=1
47893 fi
47894
47895 if test "$wxUSE_POPUPWIN" = "yes"; then
47896 if test "$wxUSE_OLD_COCOA" = 1 ; then
47897 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47898 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47899 else
47900 if test "$wxUSE_PM" = 1; then
47901 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47902 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47903 else
47904 cat >>confdefs.h <<\_ACEOF
47905 #define wxUSE_POPUPWIN 1
47906 _ACEOF
47907
47908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47909
47910 USES_CONTROLS=1
47911 fi
47912 fi
47913 fi
47914
47915 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47916 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47917 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47918 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47919 else
47920 cat >>confdefs.h <<\_ACEOF
47921 #define wxUSE_DIALUP_MANAGER 1
47922 _ACEOF
47923
47924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47925 fi
47926 fi
47927
47928 if test "$wxUSE_TIPWINDOW" = "yes"; then
47929 if test "$wxUSE_PM" = 1; then
47930 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47931 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47932 else
47933 cat >>confdefs.h <<\_ACEOF
47934 #define wxUSE_TIPWINDOW 1
47935 _ACEOF
47936
47937 fi
47938 fi
47939
47940 if test "$USES_CONTROLS" = 1; then
47941 cat >>confdefs.h <<\_ACEOF
47942 #define wxUSE_CONTROLS 1
47943 _ACEOF
47944
47945 fi
47946
47947
47948 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47949 cat >>confdefs.h <<\_ACEOF
47950 #define wxUSE_ACCESSIBILITY 1
47951 _ACEOF
47952
47953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47954 fi
47955
47956 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47957 cat >>confdefs.h <<\_ACEOF
47958 #define wxUSE_ARTPROVIDER_STD 1
47959 _ACEOF
47960
47961 fi
47962
47963 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47964 if test "$wxUSE_GTK" != 1; then
47965 if test "$wxUSE_LIBPNG" != no -a \
47966 "$wxUSE_IMAGE" = yes -a \
47967 "$wxUSE_STREAMS" = yes; then
47968 wxUSE_ARTPROVIDER_TANGO="yes"
47969 fi
47970 fi
47971 fi
47972
47973 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47974 cat >>confdefs.h <<\_ACEOF
47975 #define wxUSE_ARTPROVIDER_TANGO 1
47976 _ACEOF
47977
47978 fi
47979
47980 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47981 cat >>confdefs.h <<\_ACEOF
47982 #define wxUSE_DRAGIMAGE 1
47983 _ACEOF
47984
47985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47986 fi
47987
47988 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47989 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47990 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47991 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47992 else
47993 cat >>confdefs.h <<\_ACEOF
47994 #define wxUSE_EXCEPTIONS 1
47995 _ACEOF
47996
47997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47998 fi
47999 fi
48000
48001 USE_HTML=0
48002 if test "$wxUSE_HTML" = "yes"; then
48003 cat >>confdefs.h <<\_ACEOF
48004 #define wxUSE_HTML 1
48005 _ACEOF
48006
48007 USE_HTML=1
48008 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48009 fi
48010 if test "$wxUSE_WEBKIT" = "yes"; then
48011 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48012 old_CPPFLAGS="$CPPFLAGS"
48013 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48014 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48015 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48016 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48017 echo $ECHO_N "(cached) $ECHO_C" >&6
48018 else
48019 cat >conftest.$ac_ext <<_ACEOF
48020 /* confdefs.h. */
48021 _ACEOF
48022 cat confdefs.h >>conftest.$ac_ext
48023 cat >>conftest.$ac_ext <<_ACEOF
48024 /* end confdefs.h. */
48025
48026 #include <Carbon/Carbon.h>
48027 #include <WebKit/WebKit.h>
48028
48029
48030 #include <WebKit/HIWebView.h>
48031 _ACEOF
48032 rm -f conftest.$ac_objext
48033 if { (ac_try="$ac_compile"
48034 case "(($ac_try" in
48035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48036 *) ac_try_echo=$ac_try;;
48037 esac
48038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48039 (eval "$ac_compile") 2>conftest.er1
48040 ac_status=$?
48041 grep -v '^ *+' conftest.er1 >conftest.err
48042 rm -f conftest.er1
48043 cat conftest.err >&5
48044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48045 (exit $ac_status); } && {
48046 test -z "$ac_c_werror_flag" ||
48047 test ! -s conftest.err
48048 } && test -s conftest.$ac_objext; then
48049 ac_cv_header_WebKit_HIWebView_h=yes
48050 else
48051 echo "$as_me: failed program was:" >&5
48052 sed 's/^/| /' conftest.$ac_ext >&5
48053
48054 ac_cv_header_WebKit_HIWebView_h=no
48055 fi
48056
48057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48058 fi
48059 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48060 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48061 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48062
48063 cat >>confdefs.h <<\_ACEOF
48064 #define wxUSE_WEBKIT 1
48065 _ACEOF
48066
48067 WEBKIT_LINK="-framework WebKit"
48068
48069 else
48070
48071 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48072 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48073 wxUSE_WEBKIT=no
48074
48075 fi
48076
48077
48078 CPPFLAGS="$old_CPPFLAGS"
48079 elif test "$wxUSE_OLD_COCOA" = 1; then
48080 cat >>confdefs.h <<\_ACEOF
48081 #define wxUSE_WEBKIT 1
48082 _ACEOF
48083
48084 else
48085 wxUSE_WEBKIT=no
48086 fi
48087 if test "$wxUSE_WEBKIT" = "yes"; then
48088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48089 fi
48090 fi
48091
48092 USE_XRC=0
48093 if test "$wxUSE_XRC" = "yes"; then
48094 if test "$wxUSE_XML" != "yes"; then
48095 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48096 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48097 wxUSE_XRC=no
48098 else
48099 cat >>confdefs.h <<\_ACEOF
48100 #define wxUSE_XRC 1
48101 _ACEOF
48102
48103 USE_XRC=1
48104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48105 fi
48106 fi
48107
48108 USE_AUI=0
48109 if test "$wxUSE_AUI" = "yes"; then
48110 cat >>confdefs.h <<\_ACEOF
48111 #define wxUSE_AUI 1
48112 _ACEOF
48113
48114 USE_AUI=1
48115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48116 fi
48117
48118 USE_PROPGRID=0
48119 if test "$wxUSE_PROPGRID" = "yes"; then
48120 cat >>confdefs.h <<\_ACEOF
48121 #define wxUSE_PROPGRID 1
48122 _ACEOF
48123
48124 USE_PROPGRID=1
48125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48126 fi
48127
48128 USE_RIBBON=0
48129 if test "$wxUSE_RIBBON" = "yes"; then
48130 cat >>confdefs.h <<\_ACEOF
48131 #define wxUSE_RIBBON 1
48132 _ACEOF
48133
48134 USE_RIBBON=1
48135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48136 fi
48137
48138 USE_STC=0
48139 if test "$wxUSE_STC" = "yes"; then
48140 cat >>confdefs.h <<\_ACEOF
48141 #define wxUSE_STC 1
48142 _ACEOF
48143
48144 USE_STC=1
48145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48146
48147 # Extract the first word of "python", so it can be a program name with args.
48148 set dummy python; ac_word=$2
48149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48151 if test "${ac_cv_path_PYTHON+set}" = set; then
48152 echo $ECHO_N "(cached) $ECHO_C" >&6
48153 else
48154 case $PYTHON in
48155 [\\/]* | ?:[\\/]*)
48156 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48157 ;;
48158 *)
48159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48160 for as_dir in $PATH
48161 do
48162 IFS=$as_save_IFS
48163 test -z "$as_dir" && as_dir=.
48164 for ac_exec_ext in '' $ac_executable_extensions; do
48165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48166 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48168 break 2
48169 fi
48170 done
48171 done
48172 IFS=$as_save_IFS
48173
48174 ;;
48175 esac
48176 fi
48177 PYTHON=$ac_cv_path_PYTHON
48178 if test -n "$PYTHON"; then
48179 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48180 echo "${ECHO_T}$PYTHON" >&6; }
48181 else
48182 { echo "$as_me:$LINENO: result: no" >&5
48183 echo "${ECHO_T}no" >&6; }
48184 fi
48185
48186
48187 if test "x$PYTHON" = "x"; then
48188 COND_PYTHON="#"
48189 fi
48190
48191 fi
48192
48193 if test "$wxUSE_MENUS" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_MENUS 1
48196 _ACEOF
48197
48198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48199 fi
48200
48201 if test "$wxUSE_MIMETYPE" = "yes"; then
48202 cat >>confdefs.h <<\_ACEOF
48203 #define wxUSE_MIMETYPE 1
48204 _ACEOF
48205
48206 fi
48207
48208 if test "$wxUSE_MINIFRAME" = "yes"; then
48209 cat >>confdefs.h <<\_ACEOF
48210 #define wxUSE_MINIFRAME 1
48211 _ACEOF
48212
48213 fi
48214
48215 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48216 cat >>confdefs.h <<\_ACEOF
48217 #define wxUSE_SYSTEM_OPTIONS 1
48218 _ACEOF
48219
48220 fi
48221
48222 if test "$wxUSE_TASKBARICON" = "yes"; then
48223 cat >>confdefs.h <<\_ACEOF
48224 #define wxUSE_TASKBARICON 1
48225 _ACEOF
48226
48227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48228 fi
48229
48230
48231 if test "$wxUSE_VALIDATORS" = "yes"; then
48232 cat >>confdefs.h <<\_ACEOF
48233 #define wxUSE_VALIDATORS 1
48234 _ACEOF
48235
48236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48237 fi
48238
48239 if test "$wxUSE_PALETTE" = "yes" ; then
48240 if test "$wxUSE_DFB" = 1; then
48241 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48242 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48243 wxUSE_PALETTE=no
48244 else
48245 cat >>confdefs.h <<\_ACEOF
48246 #define wxUSE_PALETTE 1
48247 _ACEOF
48248
48249 fi
48250 fi
48251
48252 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48253 LIBS=" -lunicows $LIBS"
48254 fi
48255
48256 USE_RICHTEXT=0
48257 if test "$wxUSE_RICHTEXT" = "yes"; then
48258 cat >>confdefs.h <<\_ACEOF
48259 #define wxUSE_RICHTEXT 1
48260 _ACEOF
48261
48262 USE_RICHTEXT=1
48263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48264 fi
48265
48266
48267 if test "$wxUSE_IMAGE" = "yes" ; then
48268 cat >>confdefs.h <<\_ACEOF
48269 #define wxUSE_IMAGE 1
48270 _ACEOF
48271
48272
48273 if test "$wxUSE_GIF" = "yes" ; then
48274 cat >>confdefs.h <<\_ACEOF
48275 #define wxUSE_GIF 1
48276 _ACEOF
48277
48278 fi
48279
48280 if test "$wxUSE_PCX" = "yes" ; then
48281 cat >>confdefs.h <<\_ACEOF
48282 #define wxUSE_PCX 1
48283 _ACEOF
48284
48285 fi
48286
48287 if test "$wxUSE_TGA" = "yes" ; then
48288 cat >>confdefs.h <<\_ACEOF
48289 #define wxUSE_TGA 1
48290 _ACEOF
48291
48292 fi
48293
48294 if test "$wxUSE_IFF" = "yes" ; then
48295 cat >>confdefs.h <<\_ACEOF
48296 #define wxUSE_IFF 1
48297 _ACEOF
48298
48299 fi
48300
48301 if test "$wxUSE_PNM" = "yes" ; then
48302 cat >>confdefs.h <<\_ACEOF
48303 #define wxUSE_PNM 1
48304 _ACEOF
48305
48306 fi
48307
48308 if test "$wxUSE_XPM" = "yes" ; then
48309 cat >>confdefs.h <<\_ACEOF
48310 #define wxUSE_XPM 1
48311 _ACEOF
48312
48313 fi
48314
48315 if test "$wxUSE_ICO_CUR" = "yes" ; then
48316 cat >>confdefs.h <<\_ACEOF
48317 #define wxUSE_ICO_CUR 1
48318 _ACEOF
48319
48320 fi
48321 fi
48322
48323
48324 if test "$wxUSE_ABOUTDLG" = "yes"; then
48325 cat >>confdefs.h <<\_ACEOF
48326 #define wxUSE_ABOUTDLG 1
48327 _ACEOF
48328
48329 fi
48330
48331 if test "$wxUSE_CHOICEDLG" = "yes"; then
48332 cat >>confdefs.h <<\_ACEOF
48333 #define wxUSE_CHOICEDLG 1
48334 _ACEOF
48335
48336 fi
48337
48338 if test "$wxUSE_COLOURDLG" = "yes"; then
48339 cat >>confdefs.h <<\_ACEOF
48340 #define wxUSE_COLOURDLG 1
48341 _ACEOF
48342
48343 fi
48344
48345 if test "$wxUSE_FILEDLG" = "yes"; then
48346 cat >>confdefs.h <<\_ACEOF
48347 #define wxUSE_FILEDLG 1
48348 _ACEOF
48349
48350 fi
48351
48352 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48353 cat >>confdefs.h <<\_ACEOF
48354 #define wxUSE_FINDREPLDLG 1
48355 _ACEOF
48356
48357 fi
48358
48359 if test "$wxUSE_FONTDLG" = "yes"; then
48360 cat >>confdefs.h <<\_ACEOF
48361 #define wxUSE_FONTDLG 1
48362 _ACEOF
48363
48364 fi
48365
48366 if test "$wxUSE_DIRDLG" = "yes"; then
48367 if test "$wxUSE_TREECTRL" != "yes"; then
48368 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48369 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48370 else
48371 cat >>confdefs.h <<\_ACEOF
48372 #define wxUSE_DIRDLG 1
48373 _ACEOF
48374
48375 fi
48376 fi
48377
48378 if test "$wxUSE_MSGDLG" = "yes"; then
48379 cat >>confdefs.h <<\_ACEOF
48380 #define wxUSE_MSGDLG 1
48381 _ACEOF
48382
48383 fi
48384
48385 if test "$wxUSE_NUMBERDLG" = "yes"; then
48386 cat >>confdefs.h <<\_ACEOF
48387 #define wxUSE_NUMBERDLG 1
48388 _ACEOF
48389
48390 fi
48391
48392 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48393 cat >>confdefs.h <<\_ACEOF
48394 #define wxUSE_PROGRESSDLG 1
48395 _ACEOF
48396
48397 fi
48398
48399 if test "$wxUSE_SPLASH" = "yes"; then
48400 cat >>confdefs.h <<\_ACEOF
48401 #define wxUSE_SPLASH 1
48402 _ACEOF
48403
48404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48405 fi
48406
48407 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48408 cat >>confdefs.h <<\_ACEOF
48409 #define wxUSE_STARTUP_TIPS 1
48410 _ACEOF
48411
48412 fi
48413
48414 if test "$wxUSE_TEXTDLG" = "yes"; then
48415 cat >>confdefs.h <<\_ACEOF
48416 #define wxUSE_TEXTDLG 1
48417 _ACEOF
48418
48419 fi
48420
48421 if test "$wxUSE_WIZARDDLG" = "yes"; then
48422 cat >>confdefs.h <<\_ACEOF
48423 #define wxUSE_WIZARDDLG 1
48424 _ACEOF
48425
48426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48427 fi
48428
48429
48430 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48431 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48432 cat >>confdefs.h <<\_ACEOF
48433 #define wxUSE_OWNER_DRAWN 1
48434 _ACEOF
48435
48436 fi
48437 fi
48438
48439
48440 if test "$wxUSE_MSW" = 1 ; then
48441
48442 if test "$wxUSE_DC_CACHEING" = "yes"; then
48443 cat >>confdefs.h <<\_ACEOF
48444 #define wxUSE_DC_CACHEING 1
48445 _ACEOF
48446
48447 fi
48448
48449 if test "$wxUSE_DIB" = "yes"; then
48450 cat >>confdefs.h <<\_ACEOF
48451 #define wxUSE_WXDIB 1
48452 _ACEOF
48453
48454 fi
48455
48456 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48457 cat >>confdefs.h <<\_ACEOF
48458 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48459 _ACEOF
48460
48461 fi
48462
48463 if test "$wxUSE_UXTHEME" = "yes"; then
48464 cat >>confdefs.h <<\_ACEOF
48465 #define wxUSE_UXTHEME 1
48466 _ACEOF
48467
48468 fi
48469
48470 fi
48471
48472 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48473 cat >>confdefs.h <<\_ACEOF
48474 #define wxUSE_AUTOID_MANAGEMENT 1
48475 _ACEOF
48476
48477 fi
48478
48479 if test "$USE_WIN32" = 1 ; then
48480 if test "$wxUSE_INICONF" = "yes"; then
48481 cat >>confdefs.h <<\_ACEOF
48482 #define wxUSE_INICONF 1
48483 _ACEOF
48484
48485 fi
48486
48487 if test "$wxUSE_REGKEY" = "yes"; then
48488 cat >>confdefs.h <<\_ACEOF
48489 #define wxUSE_REGKEY 1
48490 _ACEOF
48491
48492 fi
48493 fi
48494
48495
48496 if test "$wxUSE_MAC" = 1; then
48497 wxUSE_GRAPHICS_CONTEXT="yes"
48498 fi
48499
48500 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48501 wx_has_graphics=0
48502 if test "$wxUSE_MSW" = 1; then
48503 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48504 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48505 if test "${wx_cv_lib_gdiplus+set}" = set; then
48506 echo $ECHO_N "(cached) $ECHO_C" >&6
48507 else
48508
48509 ac_ext=cpp
48510 ac_cpp='$CXXCPP $CPPFLAGS'
48511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48514
48515 cat >conftest.$ac_ext <<_ACEOF
48516 /* confdefs.h. */
48517 _ACEOF
48518 cat confdefs.h >>conftest.$ac_ext
48519 cat >>conftest.$ac_ext <<_ACEOF
48520 /* end confdefs.h. */
48521 #include <windows.h>
48522 #include <gdiplus.h>
48523 int
48524 main ()
48525 {
48526
48527 using namespace Gdiplus;
48528
48529 ;
48530 return 0;
48531 }
48532 _ACEOF
48533 rm -f conftest.$ac_objext
48534 if { (ac_try="$ac_compile"
48535 case "(($ac_try" in
48536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48537 *) ac_try_echo=$ac_try;;
48538 esac
48539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48540 (eval "$ac_compile") 2>conftest.er1
48541 ac_status=$?
48542 grep -v '^ *+' conftest.er1 >conftest.err
48543 rm -f conftest.er1
48544 cat conftest.err >&5
48545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48546 (exit $ac_status); } && {
48547 test -z "$ac_cxx_werror_flag" ||
48548 test ! -s conftest.err
48549 } && test -s conftest.$ac_objext; then
48550 wx_cv_lib_gdiplus=yes
48551 else
48552 echo "$as_me: failed program was:" >&5
48553 sed 's/^/| /' conftest.$ac_ext >&5
48554
48555 wx_cv_lib_gdiplus=no
48556
48557 fi
48558
48559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48560 ac_ext=c
48561 ac_cpp='$CPP $CPPFLAGS'
48562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48565
48566
48567
48568 fi
48569 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48570 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48571 if test "$wx_cv_lib_gdiplus" = "yes"; then
48572 wx_has_graphics=1
48573 fi
48574 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48575
48576 pkg_failed=no
48577 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48578 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48579
48580 if test -n "$PKG_CONFIG"; then
48581 if test -n "$CAIRO_CFLAGS"; then
48582 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48583 else
48584 if test -n "$PKG_CONFIG" && \
48585 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48586 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48587 ac_status=$?
48588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48589 (exit $ac_status); }; then
48590 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48591 else
48592 pkg_failed=yes
48593 fi
48594 fi
48595 else
48596 pkg_failed=untried
48597 fi
48598 if test -n "$PKG_CONFIG"; then
48599 if test -n "$CAIRO_LIBS"; then
48600 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48601 else
48602 if test -n "$PKG_CONFIG" && \
48603 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48604 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48605 ac_status=$?
48606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48607 (exit $ac_status); }; then
48608 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48609 else
48610 pkg_failed=yes
48611 fi
48612 fi
48613 else
48614 pkg_failed=untried
48615 fi
48616
48617
48618
48619 if test $pkg_failed = yes; then
48620
48621 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48622 _pkg_short_errors_supported=yes
48623 else
48624 _pkg_short_errors_supported=no
48625 fi
48626 if test $_pkg_short_errors_supported = yes; then
48627 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48628 else
48629 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48630 fi
48631 # Put the nasty error message in config.log where it belongs
48632 echo "$CAIRO_PKG_ERRORS" >&5
48633
48634 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48635 echo "$as_me: WARNING: Cairo library not found" >&2;}
48636
48637 elif test $pkg_failed = untried; then
48638 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48639 echo "$as_me: WARNING: Cairo library not found" >&2;}
48640
48641 else
48642 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48643 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48644 { echo "$as_me:$LINENO: result: yes" >&5
48645 echo "${ECHO_T}yes" >&6; }
48646 wx_has_graphics=1
48647 fi
48648 if test "$wx_has_graphics" = 1; then
48649 save_LIBS="$LIBS"
48650 LIBS="$LIBS $CAIRO_LIBS"
48651
48652 for ac_func in cairo_push_group
48653 do
48654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48655 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48657 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48658 echo $ECHO_N "(cached) $ECHO_C" >&6
48659 else
48660 cat >conftest.$ac_ext <<_ACEOF
48661 /* confdefs.h. */
48662 _ACEOF
48663 cat confdefs.h >>conftest.$ac_ext
48664 cat >>conftest.$ac_ext <<_ACEOF
48665 /* end confdefs.h. */
48666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48668 #define $ac_func innocuous_$ac_func
48669
48670 /* System header to define __stub macros and hopefully few prototypes,
48671 which can conflict with char $ac_func (); below.
48672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48673 <limits.h> exists even on freestanding compilers. */
48674
48675 #ifdef __STDC__
48676 # include <limits.h>
48677 #else
48678 # include <assert.h>
48679 #endif
48680
48681 #undef $ac_func
48682
48683 /* Override any GCC internal prototype to avoid an error.
48684 Use char because int might match the return type of a GCC
48685 builtin and then its argument prototype would still apply. */
48686 #ifdef __cplusplus
48687 extern "C"
48688 #endif
48689 char $ac_func ();
48690 /* The GNU C library defines this for functions which it implements
48691 to always fail with ENOSYS. Some functions are actually named
48692 something starting with __ and the normal name is an alias. */
48693 #if defined __stub_$ac_func || defined __stub___$ac_func
48694 choke me
48695 #endif
48696
48697 int
48698 main ()
48699 {
48700 return $ac_func ();
48701 ;
48702 return 0;
48703 }
48704 _ACEOF
48705 rm -f conftest.$ac_objext conftest$ac_exeext
48706 if { (ac_try="$ac_link"
48707 case "(($ac_try" in
48708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48709 *) ac_try_echo=$ac_try;;
48710 esac
48711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48712 (eval "$ac_link") 2>conftest.er1
48713 ac_status=$?
48714 grep -v '^ *+' conftest.er1 >conftest.err
48715 rm -f conftest.er1
48716 cat conftest.err >&5
48717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48718 (exit $ac_status); } && {
48719 test -z "$ac_c_werror_flag" ||
48720 test ! -s conftest.err
48721 } && test -s conftest$ac_exeext &&
48722 $as_test_x conftest$ac_exeext; then
48723 eval "$as_ac_var=yes"
48724 else
48725 echo "$as_me: failed program was:" >&5
48726 sed 's/^/| /' conftest.$ac_ext >&5
48727
48728 eval "$as_ac_var=no"
48729 fi
48730
48731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48732 conftest$ac_exeext conftest.$ac_ext
48733 fi
48734 ac_res=`eval echo '${'$as_ac_var'}'`
48735 { echo "$as_me:$LINENO: result: $ac_res" >&5
48736 echo "${ECHO_T}$ac_res" >&6; }
48737 if test `eval echo '${'$as_ac_var'}'` = yes; then
48738 cat >>confdefs.h <<_ACEOF
48739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48740 _ACEOF
48741
48742 fi
48743 done
48744
48745 LIBS="$save_LIBS"
48746 if test "$ac_cv_func_cairo_push_group" = "no"; then
48747 wx_has_graphics=0
48748 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48749 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48750 else
48751 cat >>confdefs.h <<\_ACEOF
48752 #define wxUSE_CAIRO 1
48753 _ACEOF
48754
48755
48756 if test "$wxUSE_GTK" != 1; then
48757 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48758 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48759 fi
48760 fi
48761 fi
48762 else
48763 wx_has_graphics=1
48764 fi
48765
48766 if test "$wx_has_graphics" = 1; then
48767 cat >>confdefs.h <<\_ACEOF
48768 #define wxUSE_GRAPHICS_CONTEXT 1
48769 _ACEOF
48770
48771 else
48772 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48773 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48774 fi
48775 fi
48776
48777
48778 USE_MEDIA=0
48779
48780 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48781 USE_MEDIA=1
48782
48783 if test "$wxUSE_GTK" = 1; then
48784 wxUSE_GSTREAMER="no"
48785
48786 GST_VERSION_MAJOR=0
48787 GST_VERSION_MINOR=10
48788 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48789
48790 if test "$wxUSE_GSTREAMER8" = "no"; then
48791
48792 pkg_failed=no
48793 { echo "$as_me:$LINENO: checking for GST" >&5
48794 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48795
48796 if test -n "$PKG_CONFIG"; then
48797 if test -n "$GST_CFLAGS"; then
48798 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48799 else
48800 if test -n "$PKG_CONFIG" && \
48801 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48802 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48803 ac_status=$?
48804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48805 (exit $ac_status); }; then
48806 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48807 else
48808 pkg_failed=yes
48809 fi
48810 fi
48811 else
48812 pkg_failed=untried
48813 fi
48814 if test -n "$PKG_CONFIG"; then
48815 if test -n "$GST_LIBS"; then
48816 pkg_cv_GST_LIBS="$GST_LIBS"
48817 else
48818 if test -n "$PKG_CONFIG" && \
48819 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48820 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48821 ac_status=$?
48822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48823 (exit $ac_status); }; then
48824 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48825 else
48826 pkg_failed=yes
48827 fi
48828 fi
48829 else
48830 pkg_failed=untried
48831 fi
48832
48833
48834
48835 if test $pkg_failed = yes; then
48836
48837 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48838 _pkg_short_errors_supported=yes
48839 else
48840 _pkg_short_errors_supported=no
48841 fi
48842 if test $_pkg_short_errors_supported = yes; then
48843 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48844 else
48845 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48846 fi
48847 # Put the nasty error message in config.log where it belongs
48848 echo "$GST_PKG_ERRORS" >&5
48849
48850
48851 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48852 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48853 GST_VERSION_MINOR=8
48854
48855
48856 elif test $pkg_failed = untried; then
48857
48858 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48859 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48860 GST_VERSION_MINOR=8
48861
48862
48863 else
48864 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48865 GST_LIBS=$pkg_cv_GST_LIBS
48866 { echo "$as_me:$LINENO: result: yes" >&5
48867 echo "${ECHO_T}yes" >&6; }
48868
48869 wxUSE_GSTREAMER="yes"
48870 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48871
48872 fi
48873 else
48874 GST_VERSION_MINOR=8
48875 fi
48876
48877 if test $GST_VERSION_MINOR = "8"; then
48878 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48879
48880 pkg_failed=no
48881 { echo "$as_me:$LINENO: checking for GST" >&5
48882 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48883
48884 if test -n "$PKG_CONFIG"; then
48885 if test -n "$GST_CFLAGS"; then
48886 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48887 else
48888 if test -n "$PKG_CONFIG" && \
48889 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48890 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48891 ac_status=$?
48892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48893 (exit $ac_status); }; then
48894 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48895 else
48896 pkg_failed=yes
48897 fi
48898 fi
48899 else
48900 pkg_failed=untried
48901 fi
48902 if test -n "$PKG_CONFIG"; then
48903 if test -n "$GST_LIBS"; then
48904 pkg_cv_GST_LIBS="$GST_LIBS"
48905 else
48906 if test -n "$PKG_CONFIG" && \
48907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48908 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48909 ac_status=$?
48910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911 (exit $ac_status); }; then
48912 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48913 else
48914 pkg_failed=yes
48915 fi
48916 fi
48917 else
48918 pkg_failed=untried
48919 fi
48920
48921
48922
48923 if test $pkg_failed = yes; then
48924
48925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48926 _pkg_short_errors_supported=yes
48927 else
48928 _pkg_short_errors_supported=no
48929 fi
48930 if test $_pkg_short_errors_supported = yes; then
48931 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48932 else
48933 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48934 fi
48935 # Put the nasty error message in config.log where it belongs
48936 echo "$GST_PKG_ERRORS" >&5
48937
48938
48939 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48940 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48941
48942 elif test $pkg_failed = untried; then
48943
48944 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48945 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48946
48947 else
48948 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48949 GST_LIBS=$pkg_cv_GST_LIBS
48950 { echo "$as_me:$LINENO: result: yes" >&5
48951 echo "${ECHO_T}yes" >&6; }
48952 wxUSE_GSTREAMER="yes"
48953 fi
48954 fi
48955
48956
48957 if test "$wxUSE_GSTREAMER" = "yes"; then
48958 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48959 EXTRALIBS_MEDIA="$GST_LIBS"
48960
48961 cat >>confdefs.h <<\_ACEOF
48962 #define wxUSE_GSTREAMER 1
48963 _ACEOF
48964
48965 else
48966 USE_MEDIA=0
48967 fi
48968 fi
48969
48970 if test $USE_MEDIA = 1; then
48971 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48972 cat >>confdefs.h <<\_ACEOF
48973 #define wxUSE_MEDIACTRL 1
48974 _ACEOF
48975
48976 else
48977 if test "$wxUSE_MEDIACTRL" = "yes"; then
48978 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
48979 echo "$as_me: error: GStreamer not available" >&2;}
48980 { (exit 1); exit 1; }; }
48981 else
48982 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
48983 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
48984 fi
48985 fi
48986 fi
48987
48988
48989 if test "$cross_compiling" != "no"; then
48990 OSINFO="\"$host\""
48991 else
48992 OSINFO=`uname -s -r -m`
48993 OSINFO="\"$OSINFO\""
48994 fi
48995
48996 cat >>confdefs.h <<_ACEOF
48997 #define WXWIN_OS_DESCRIPTION $OSINFO
48998 _ACEOF
48999
49000
49001
49002 if test "x$prefix" != "xNONE"; then
49003 wxPREFIX=$prefix
49004 else
49005 wxPREFIX=$ac_default_prefix
49006 fi
49007
49008 cat >>confdefs.h <<_ACEOF
49009 #define wxINSTALL_PREFIX "$wxPREFIX"
49010 _ACEOF
49011
49012
49013
49014
49015 STD_BASE_LIBS="base"
49016 STD_GUI_LIBS=""
49017 BUILT_WX_LIBS="base"
49018 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49019
49020 if test "$wxUSE_SOCKETS" = "yes" ; then
49021 STD_BASE_LIBS="net $STD_BASE_LIBS"
49022 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49023 fi
49024 if test "$wxUSE_XML" = "yes" ; then
49025 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49026 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49027 fi
49028
49029 if test "$wxUSE_GUI" = "yes"; then
49030 STD_GUI_LIBS="adv core"
49031 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49032
49033 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49034 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49035 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49036 fi
49037 if test "$wxUSE_HTML" = "yes" ; then
49038 STD_GUI_LIBS="html $STD_GUI_LIBS"
49039 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49040 fi
49041 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49042 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49043 fi
49044 if test "$wxUSE_OPENGL" = "yes" ; then
49045 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49046 fi
49047 if test "$wxUSE_AUI" = "yes" ; then
49048 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49049 fi
49050 if test "$wxUSE_PROPGRID" = "yes" ; then
49051 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49052 fi
49053 if test "$wxUSE_RIBBON" = "yes" ; then
49054 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49055 fi
49056 if test "$wxUSE_RICHTEXT" = "yes" ; then
49057 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49058 fi
49059 if test "$wxUSE_STC" = "yes" ; then
49060 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49061 fi
49062 if test "$wxUSE_XRC" = "yes" ; then
49063 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49064 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49065 fi
49066 fi
49067
49068
49069
49070
49071
49072
49073
49074 EXTRA_FRAMEWORKS=
49075 if test "$wxUSE_MAC" = 1 ; then
49076 if test "$USE_DARWIN" = 1; then
49077 if test "$wxUSE_OSX_IPHONE" = 1; then
49078 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49079 else
49080 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49081 fi
49082 fi
49083 fi
49084 if test "$wxUSE_OLD_COCOA" = 1 ; then
49085 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49086 if test "$wxUSE_MEDIACTRL" = "yes"; then
49087 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49088 fi
49089 fi
49090 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49091 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49092 fi
49093
49094 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49095 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49096
49097 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49098
49099 if test "$wxUSE_GUI" = "yes"; then
49100
49101
49102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49103 erase event exec font image minimal render \
49104 shaped svg taborder vscroll widgets wrapsizer"
49105
49106 if test "$wxUSE_MONOLITHIC" != "yes"; then
49107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49108 fi
49109 if test "$TOOLKIT" = "MSW"; then
49110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49111 if test "$wxUSE_UNIVERSAL" != "yes"; then
49112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49113 fi
49114 fi
49115 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49117 fi
49118 else
49119 SAMPLES_SUBDIRS="console"
49120 if test "$wxUSE_SOCKETS" = "yes" ; then
49121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49122 fi
49123 if test "$wxUSE_IPC" = "yes" ; then
49124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49125 fi
49126 fi
49127
49128
49129 if test "x$INTELCC" = "xyes" ; then
49130 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49131 elif test "$GCC" = yes ; then
49132 CWARNINGS="-Wall -Wundef"
49133 fi
49134
49135 if test "x$INTELCXX" = "xyes" ; then
49136 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49137 elif test "$GXX" = yes ; then
49138 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49139 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49140 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49141 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49142 echo $ECHO_N "(cached) $ECHO_C" >&6
49143 else
49144 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49145
49146 ac_ext=cpp
49147 ac_cpp='$CXXCPP $CPPFLAGS'
49148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49151
49152 ac_save_CXXFLAGS="$CXXFLAGS"
49153 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49154 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49155 cat >conftest.$ac_ext <<_ACEOF
49156 /* confdefs.h. */
49157 _ACEOF
49158 cat confdefs.h >>conftest.$ac_ext
49159 cat >>conftest.$ac_ext <<_ACEOF
49160 /* end confdefs.h. */
49161
49162 int
49163 main ()
49164 {
49165 return 0;
49166 ;
49167 return 0;
49168 }
49169 _ACEOF
49170 rm -f conftest.$ac_objext
49171 if { (ac_try="$ac_compile"
49172 case "(($ac_try" in
49173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49174 *) ac_try_echo=$ac_try;;
49175 esac
49176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49177 (eval "$ac_compile") 2>conftest.er1
49178 ac_status=$?
49179 grep -v '^ *+' conftest.er1 >conftest.err
49180 rm -f conftest.er1
49181 cat conftest.err >&5
49182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49183 (exit $ac_status); } && {
49184 test -z "$ac_cxx_werror_flag" ||
49185 test ! -s conftest.err
49186 } && test -s conftest.$ac_objext; then
49187 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49188 else
49189 echo "$as_me: failed program was:" >&5
49190 sed 's/^/| /' conftest.$ac_ext >&5
49191
49192
49193 fi
49194
49195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49196 done
49197 CXXFLAGS="$ac_save_CXXFLAGS"
49198 ac_ext=c
49199 ac_cpp='$CPP $CPPFLAGS'
49200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49203
49204
49205 fi
49206 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49207 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49208 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49209 .ok|.ok,*) ;;
49210 .|.no|.no,*) ;;
49211 *)
49212 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49213 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49214 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49215 ac_status=$?
49216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49217 (exit $ac_status); }
49218 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49219 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49220 ac_status=$?
49221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49222 (exit $ac_status); }
49223 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49224 fi
49225 ;;
49226 esac
49227
49228
49229 if test "$wxUSE_MAC" = 1 ; then
49230 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49231 fi
49232 fi
49233
49234
49235 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49236 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49237
49238
49239 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49240 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49241 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49242 $CPPFLAGS `
49243
49244 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49245 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49246 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49247 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49248 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49249
49250 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49251
49252
49253 if test "x$MWCC" = "xyes"; then
49254
49255 CC="$CC -cwd source -I-"
49256 CXX="$CXX -cwd source -I-"
49257 fi
49258
49259
49260 LIBS=`echo $LIBS`
49261 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49262 EXTRALIBS_XML="$EXPAT_LINK"
49263 EXTRALIBS_HTML="$MSPACK_LINK"
49264 EXTRALIBS_MEDIA="$GST_LIBS"
49265 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49266 if test "$wxUSE_GUI" = "yes"; then
49267 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49268 fi
49269 if test "$wxUSE_OPENGL" = "yes"; then
49270 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49271 fi
49272
49273 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49274
49275 WXCONFIG_LIBS="$LIBS"
49276
49277 if test "$wxUSE_REGEX" = "builtin" ; then
49278 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49279 fi
49280 if test "$wxUSE_EXPAT" = "builtin" ; then
49281 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49282 fi
49283 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49284 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49285 fi
49286 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49287 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49288 fi
49289 if test "$wxUSE_LIBPNG" = "builtin" ; then
49290 wxconfig_3rdparty="png $wxconfig_3rdparty"
49291 fi
49292 if test "$wxUSE_ZLIB" = "builtin" ; then
49293 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49294 fi
49295
49296 for i in $wxconfig_3rdparty ; do
49297 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49298 done
49299
49300
49301 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49302 WXUNIV=1
49303
49304 case "$wxUNIV_THEMES" in
49305 ''|all)
49306 cat >>confdefs.h <<\_ACEOF
49307 #define wxUSE_ALL_THEMES 1
49308 _ACEOF
49309
49310 ;;
49311
49312 *)
49313 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49314 cat >>confdefs.h <<_ACEOF
49315 #define wxUSE_THEME_$t 1
49316 _ACEOF
49317
49318 done
49319 esac
49320 else
49321 WXUNIV=0
49322 fi
49323
49324
49325
49326
49327
49328
49329
49330
49331 if test $wxUSE_MONOLITHIC = "yes" ; then
49332 MONOLITHIC=1
49333 else
49334 MONOLITHIC=0
49335 fi
49336
49337 if test $wxUSE_PLUGINS = "yes" ; then
49338 USE_PLUGINS=1
49339 else
49340 USE_PLUGINS=0
49341 fi
49342
49343 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49344 USE_QA=1
49345 else
49346 USE_QA=0
49347 fi
49348
49349 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49350 OFFICIAL_BUILD=1
49351 else
49352 OFFICIAL_BUILD=0
49353 fi
49354
49355
49356
49357
49358
49359
49360
49361
49362
49363
49364
49365
49366
49367
49368
49369
49370
49371
49372
49373
49374
49375
49376
49377
49378
49379
49380
49381 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49382
49383
49384
49385
49386
49387
49388
49389
49390
49391
49392 case "$TOOLKIT" in
49393 GTK)
49394 TOOLKIT_DESC="GTK+"
49395 if test "$WXGTK2" = 1; then
49396 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49397 if test "$wxUSE_GTKPRINT" = "yes" ; then
49398 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49399 fi
49400 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49401 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49402 fi
49403 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49404 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49405 fi
49406 if test "$wxUSE_LIBHILDON" = "yes"; then
49407 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49408 fi
49409 if test "$wxUSE_LIBHILDON2" = "yes"; then
49410 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49411 fi
49412
49413 if test "$TOOLKIT_EXTRA" != ""; then
49414 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49415 fi
49416 fi
49417 ;;
49418
49419 ?*)
49420 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49421 ;;
49422
49423 *)
49424 TOOLKIT_DESC="base only"
49425 ;;
49426 esac
49427
49428 if test "$wxUSE_WINE" = "yes"; then
49429 BAKEFILE_FORCE_PLATFORM=win32
49430 fi
49431
49432 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49433 then
49434 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49435 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49436 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49437 echo $ECHO_N "(cached) $ECHO_C" >&6
49438 else
49439
49440 echo '#include <stdio.h>
49441 const wchar_t test_var[] = L"awidetest";' > conftest.h
49442
49443 echo '#include "conftest.h"
49444 int main()
49445 {
49446 printf("%ls", test_var);
49447 return 0;
49448 }' > conftest.cpp
49449
49450 wx_cv_gcc_pch_bug="pch not supported"
49451
49452 if $CXX conftest.h >/dev/null 2>&1
49453 then
49454 wx_cv_gcc_pch_bug=
49455
49456 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49457 then
49458 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49459 grep awidetest >/dev/null
49460 then
49461 wx_cv_gcc_pch_bug=no
49462 else
49463 wx_cv_gcc_pch_bug=yes
49464 fi
49465 fi
49466 fi
49467
49468 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49469
49470 fi
49471 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49472 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49473
49474 if test "$wx_cv_gcc_pch_bug" = yes; then
49475 bk_use_pch=no
49476 fi
49477 fi
49478
49479
49480
49481
49482
49483
49484
49485 if test "x$BAKEFILE_HOST" = "x"; then
49486 if test "x${host}" = "x" ; then
49487 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49488 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49489 { (exit 1); exit 1; }; }
49490 fi
49491
49492 BAKEFILE_HOST="${host}"
49493 fi
49494
49495 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49496
49497 if test -n "$ac_tool_prefix"; then
49498 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49499 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49502 if test "${ac_cv_prog_RANLIB+set}" = set; then
49503 echo $ECHO_N "(cached) $ECHO_C" >&6
49504 else
49505 if test -n "$RANLIB"; then
49506 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49507 else
49508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49509 for as_dir in $PATH
49510 do
49511 IFS=$as_save_IFS
49512 test -z "$as_dir" && as_dir=.
49513 for ac_exec_ext in '' $ac_executable_extensions; do
49514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49515 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49517 break 2
49518 fi
49519 done
49520 done
49521 IFS=$as_save_IFS
49522
49523 fi
49524 fi
49525 RANLIB=$ac_cv_prog_RANLIB
49526 if test -n "$RANLIB"; then
49527 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49528 echo "${ECHO_T}$RANLIB" >&6; }
49529 else
49530 { echo "$as_me:$LINENO: result: no" >&5
49531 echo "${ECHO_T}no" >&6; }
49532 fi
49533
49534
49535 fi
49536 if test -z "$ac_cv_prog_RANLIB"; then
49537 ac_ct_RANLIB=$RANLIB
49538 # Extract the first word of "ranlib", so it can be a program name with args.
49539 set dummy ranlib; ac_word=$2
49540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49542 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49543 echo $ECHO_N "(cached) $ECHO_C" >&6
49544 else
49545 if test -n "$ac_ct_RANLIB"; then
49546 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49547 else
49548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49549 for as_dir in $PATH
49550 do
49551 IFS=$as_save_IFS
49552 test -z "$as_dir" && as_dir=.
49553 for ac_exec_ext in '' $ac_executable_extensions; do
49554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49555 ac_cv_prog_ac_ct_RANLIB="ranlib"
49556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49557 break 2
49558 fi
49559 done
49560 done
49561 IFS=$as_save_IFS
49562
49563 fi
49564 fi
49565 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49566 if test -n "$ac_ct_RANLIB"; then
49567 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49568 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49569 else
49570 { echo "$as_me:$LINENO: result: no" >&5
49571 echo "${ECHO_T}no" >&6; }
49572 fi
49573
49574 if test "x$ac_ct_RANLIB" = x; then
49575 RANLIB=":"
49576 else
49577 case $cross_compiling:$ac_tool_warned in
49578 yes:)
49579 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49580 whose name does not start with the host triplet. If you think this
49581 configuration is useful to you, please write to autoconf@gnu.org." >&5
49582 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49583 whose name does not start with the host triplet. If you think this
49584 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49585 ac_tool_warned=yes ;;
49586 esac
49587 RANLIB=$ac_ct_RANLIB
49588 fi
49589 else
49590 RANLIB="$ac_cv_prog_RANLIB"
49591 fi
49592
49593 # Find a good install program. We prefer a C program (faster),
49594 # so one script is as good as another. But avoid the broken or
49595 # incompatible versions:
49596 # SysV /etc/install, /usr/sbin/install
49597 # SunOS /usr/etc/install
49598 # IRIX /sbin/install
49599 # AIX /bin/install
49600 # AmigaOS /C/install, which installs bootblocks on floppy discs
49601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49604 # OS/2's system install, which has a completely different semantic
49605 # ./install, which can be erroneously created by make from ./install.sh.
49606 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49607 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49608 if test -z "$INSTALL"; then
49609 if test "${ac_cv_path_install+set}" = set; then
49610 echo $ECHO_N "(cached) $ECHO_C" >&6
49611 else
49612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49613 for as_dir in $PATH
49614 do
49615 IFS=$as_save_IFS
49616 test -z "$as_dir" && as_dir=.
49617 # Account for people who put trailing slashes in PATH elements.
49618 case $as_dir/ in
49619 ./ | .// | /cC/* | \
49620 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49621 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49622 /usr/ucb/* ) ;;
49623 *)
49624 # OSF1 and SCO ODT 3.0 have their own names for install.
49625 # Don't use installbsd from OSF since it installs stuff as root
49626 # by default.
49627 for ac_prog in ginstall scoinst install; do
49628 for ac_exec_ext in '' $ac_executable_extensions; do
49629 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49630 if test $ac_prog = install &&
49631 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49632 # AIX install. It has an incompatible calling convention.
49633 :
49634 elif test $ac_prog = install &&
49635 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49636 # program-specific install script used by HP pwplus--don't use.
49637 :
49638 else
49639 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49640 break 3
49641 fi
49642 fi
49643 done
49644 done
49645 ;;
49646 esac
49647 done
49648 IFS=$as_save_IFS
49649
49650
49651 fi
49652 if test "${ac_cv_path_install+set}" = set; then
49653 INSTALL=$ac_cv_path_install
49654 else
49655 # As a last resort, use the slow shell script. Don't cache a
49656 # value for INSTALL within a source directory, because that will
49657 # break other packages using the cache if that directory is
49658 # removed, or if the value is a relative name.
49659 INSTALL=$ac_install_sh
49660 fi
49661 fi
49662 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49663 echo "${ECHO_T}$INSTALL" >&6; }
49664
49665 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49666 # It thinks the first close brace ends the variable substitution.
49667 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49668
49669 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49670
49671 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49672
49673 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49674 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49675 LN_S=$as_ln_s
49676 if test "$LN_S" = "ln -s"; then
49677 { echo "$as_me:$LINENO: result: yes" >&5
49678 echo "${ECHO_T}yes" >&6; }
49679 else
49680 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49681 echo "${ECHO_T}no, using $LN_S" >&6; }
49682 fi
49683
49684
49685 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49686 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49687 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49688 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49689 echo $ECHO_N "(cached) $ECHO_C" >&6
49690 else
49691 cat >conftest.make <<\_ACEOF
49692 SHELL = /bin/sh
49693 all:
49694 @echo '@@@%%%=$(MAKE)=@@@%%%'
49695 _ACEOF
49696 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49697 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49698 *@@@%%%=?*=@@@%%%*)
49699 eval ac_cv_prog_make_${ac_make}_set=yes;;
49700 *)
49701 eval ac_cv_prog_make_${ac_make}_set=no;;
49702 esac
49703 rm -f conftest.make
49704 fi
49705 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49706 { echo "$as_me:$LINENO: result: yes" >&5
49707 echo "${ECHO_T}yes" >&6; }
49708 SET_MAKE=
49709 else
49710 { echo "$as_me:$LINENO: result: no" >&5
49711 echo "${ECHO_T}no" >&6; }
49712 SET_MAKE="MAKE=${MAKE-make}"
49713 fi
49714
49715
49716
49717 if test "x$SUNCXX" = "xyes"; then
49718 AR=$CXX
49719 AROPTIONS="-xar -o"
49720
49721 elif test "x$SGICC" = "xyes"; then
49722 AR=$CXX
49723 AROPTIONS="-ar -o"
49724
49725 else
49726 if test -n "$ac_tool_prefix"; then
49727 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49728 set dummy ${ac_tool_prefix}ar; ac_word=$2
49729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49731 if test "${ac_cv_prog_AR+set}" = set; then
49732 echo $ECHO_N "(cached) $ECHO_C" >&6
49733 else
49734 if test -n "$AR"; then
49735 ac_cv_prog_AR="$AR" # Let the user override the test.
49736 else
49737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49738 for as_dir in $PATH
49739 do
49740 IFS=$as_save_IFS
49741 test -z "$as_dir" && as_dir=.
49742 for ac_exec_ext in '' $ac_executable_extensions; do
49743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49744 ac_cv_prog_AR="${ac_tool_prefix}ar"
49745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49746 break 2
49747 fi
49748 done
49749 done
49750 IFS=$as_save_IFS
49751
49752 fi
49753 fi
49754 AR=$ac_cv_prog_AR
49755 if test -n "$AR"; then
49756 { echo "$as_me:$LINENO: result: $AR" >&5
49757 echo "${ECHO_T}$AR" >&6; }
49758 else
49759 { echo "$as_me:$LINENO: result: no" >&5
49760 echo "${ECHO_T}no" >&6; }
49761 fi
49762
49763
49764 fi
49765 if test -z "$ac_cv_prog_AR"; then
49766 ac_ct_AR=$AR
49767 # Extract the first word of "ar", so it can be a program name with args.
49768 set dummy ar; ac_word=$2
49769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49771 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49772 echo $ECHO_N "(cached) $ECHO_C" >&6
49773 else
49774 if test -n "$ac_ct_AR"; then
49775 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49776 else
49777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49778 for as_dir in $PATH
49779 do
49780 IFS=$as_save_IFS
49781 test -z "$as_dir" && as_dir=.
49782 for ac_exec_ext in '' $ac_executable_extensions; do
49783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49784 ac_cv_prog_ac_ct_AR="ar"
49785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49786 break 2
49787 fi
49788 done
49789 done
49790 IFS=$as_save_IFS
49791
49792 fi
49793 fi
49794 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49795 if test -n "$ac_ct_AR"; then
49796 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49797 echo "${ECHO_T}$ac_ct_AR" >&6; }
49798 else
49799 { echo "$as_me:$LINENO: result: no" >&5
49800 echo "${ECHO_T}no" >&6; }
49801 fi
49802
49803 if test "x$ac_ct_AR" = x; then
49804 AR="ar"
49805 else
49806 case $cross_compiling:$ac_tool_warned in
49807 yes:)
49808 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49809 whose name does not start with the host triplet. If you think this
49810 configuration is useful to you, please write to autoconf@gnu.org." >&5
49811 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49812 whose name does not start with the host triplet. If you think this
49813 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49814 ac_tool_warned=yes ;;
49815 esac
49816 AR=$ac_ct_AR
49817 fi
49818 else
49819 AR="$ac_cv_prog_AR"
49820 fi
49821
49822 AROPTIONS=rcu
49823 fi
49824
49825
49826 if test -n "$ac_tool_prefix"; then
49827 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49828 set dummy ${ac_tool_prefix}strip; ac_word=$2
49829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49831 if test "${ac_cv_prog_STRIP+set}" = set; then
49832 echo $ECHO_N "(cached) $ECHO_C" >&6
49833 else
49834 if test -n "$STRIP"; then
49835 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49836 else
49837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49838 for as_dir in $PATH
49839 do
49840 IFS=$as_save_IFS
49841 test -z "$as_dir" && as_dir=.
49842 for ac_exec_ext in '' $ac_executable_extensions; do
49843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49844 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49846 break 2
49847 fi
49848 done
49849 done
49850 IFS=$as_save_IFS
49851
49852 fi
49853 fi
49854 STRIP=$ac_cv_prog_STRIP
49855 if test -n "$STRIP"; then
49856 { echo "$as_me:$LINENO: result: $STRIP" >&5
49857 echo "${ECHO_T}$STRIP" >&6; }
49858 else
49859 { echo "$as_me:$LINENO: result: no" >&5
49860 echo "${ECHO_T}no" >&6; }
49861 fi
49862
49863
49864 fi
49865 if test -z "$ac_cv_prog_STRIP"; then
49866 ac_ct_STRIP=$STRIP
49867 # Extract the first word of "strip", so it can be a program name with args.
49868 set dummy strip; ac_word=$2
49869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49871 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49872 echo $ECHO_N "(cached) $ECHO_C" >&6
49873 else
49874 if test -n "$ac_ct_STRIP"; then
49875 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49876 else
49877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49878 for as_dir in $PATH
49879 do
49880 IFS=$as_save_IFS
49881 test -z "$as_dir" && as_dir=.
49882 for ac_exec_ext in '' $ac_executable_extensions; do
49883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49884 ac_cv_prog_ac_ct_STRIP="strip"
49885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49886 break 2
49887 fi
49888 done
49889 done
49890 IFS=$as_save_IFS
49891
49892 fi
49893 fi
49894 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49895 if test -n "$ac_ct_STRIP"; then
49896 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49897 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49898 else
49899 { echo "$as_me:$LINENO: result: no" >&5
49900 echo "${ECHO_T}no" >&6; }
49901 fi
49902
49903 if test "x$ac_ct_STRIP" = x; then
49904 STRIP=":"
49905 else
49906 case $cross_compiling:$ac_tool_warned in
49907 yes:)
49908 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49909 whose name does not start with the host triplet. If you think this
49910 configuration is useful to you, please write to autoconf@gnu.org." >&5
49911 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49912 whose name does not start with the host triplet. If you think this
49913 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49914 ac_tool_warned=yes ;;
49915 esac
49916 STRIP=$ac_ct_STRIP
49917 fi
49918 else
49919 STRIP="$ac_cv_prog_STRIP"
49920 fi
49921
49922 if test -n "$ac_tool_prefix"; then
49923 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49924 set dummy ${ac_tool_prefix}nm; ac_word=$2
49925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49927 if test "${ac_cv_prog_NM+set}" = set; then
49928 echo $ECHO_N "(cached) $ECHO_C" >&6
49929 else
49930 if test -n "$NM"; then
49931 ac_cv_prog_NM="$NM" # Let the user override the test.
49932 else
49933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49934 for as_dir in $PATH
49935 do
49936 IFS=$as_save_IFS
49937 test -z "$as_dir" && as_dir=.
49938 for ac_exec_ext in '' $ac_executable_extensions; do
49939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49940 ac_cv_prog_NM="${ac_tool_prefix}nm"
49941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49942 break 2
49943 fi
49944 done
49945 done
49946 IFS=$as_save_IFS
49947
49948 fi
49949 fi
49950 NM=$ac_cv_prog_NM
49951 if test -n "$NM"; then
49952 { echo "$as_me:$LINENO: result: $NM" >&5
49953 echo "${ECHO_T}$NM" >&6; }
49954 else
49955 { echo "$as_me:$LINENO: result: no" >&5
49956 echo "${ECHO_T}no" >&6; }
49957 fi
49958
49959
49960 fi
49961 if test -z "$ac_cv_prog_NM"; then
49962 ac_ct_NM=$NM
49963 # Extract the first word of "nm", so it can be a program name with args.
49964 set dummy nm; ac_word=$2
49965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49967 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49968 echo $ECHO_N "(cached) $ECHO_C" >&6
49969 else
49970 if test -n "$ac_ct_NM"; then
49971 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49972 else
49973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49974 for as_dir in $PATH
49975 do
49976 IFS=$as_save_IFS
49977 test -z "$as_dir" && as_dir=.
49978 for ac_exec_ext in '' $ac_executable_extensions; do
49979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49980 ac_cv_prog_ac_ct_NM="nm"
49981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49982 break 2
49983 fi
49984 done
49985 done
49986 IFS=$as_save_IFS
49987
49988 fi
49989 fi
49990 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49991 if test -n "$ac_ct_NM"; then
49992 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49993 echo "${ECHO_T}$ac_ct_NM" >&6; }
49994 else
49995 { echo "$as_me:$LINENO: result: no" >&5
49996 echo "${ECHO_T}no" >&6; }
49997 fi
49998
49999 if test "x$ac_ct_NM" = x; then
50000 NM=":"
50001 else
50002 case $cross_compiling:$ac_tool_warned in
50003 yes:)
50004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50005 whose name does not start with the host triplet. If you think this
50006 configuration is useful to you, please write to autoconf@gnu.org." >&5
50007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50008 whose name does not start with the host triplet. If you think this
50009 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50010 ac_tool_warned=yes ;;
50011 esac
50012 NM=$ac_ct_NM
50013 fi
50014 else
50015 NM="$ac_cv_prog_NM"
50016 fi
50017
50018
50019 { echo "$as_me:$LINENO: checking for command to install directories" >&5
50020 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
50021 INSTALL_TEST_DIR=acbftest$$
50022 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
50023 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
50024 rmdir $INSTALL_TEST_DIR
50025 INSTALL_DIR='$(INSTALL) -d'
50026 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
50027 echo "${ECHO_T}$INSTALL -d" >&6; }
50028 else
50029 INSTALL_DIR="mkdir -p"
50030 { echo "$as_me:$LINENO: result: mkdir -p" >&5
50031 echo "${ECHO_T}mkdir -p" >&6; }
50032 fi
50033
50034
50035 LDFLAGS_GUI=
50036 case ${BAKEFILE_HOST} in
50037 *-*-cygwin* | *-*-mingw32* )
50038 LDFLAGS_GUI="-mwindows"
50039 esac
50040
50041
50042 fi
50043
50044 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50045 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50046 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50047 echo $ECHO_N "(cached) $ECHO_C" >&6
50048 else
50049
50050 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50051 egrep -s GNU > /dev/null); then
50052 bakefile_cv_prog_makeisgnu="yes"
50053 else
50054 bakefile_cv_prog_makeisgnu="no"
50055 fi
50056
50057 fi
50058 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50059 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50060
50061 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50062 IF_GNU_MAKE=""
50063 else
50064 IF_GNU_MAKE="#"
50065 fi
50066
50067
50068
50069 PLATFORM_UNIX=0
50070 PLATFORM_WIN32=0
50071 PLATFORM_MSDOS=0
50072 PLATFORM_MAC=0
50073 PLATFORM_MACOS=0
50074 PLATFORM_MACOSX=0
50075 PLATFORM_OS2=0
50076 PLATFORM_BEOS=0
50077
50078 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50079 case "${BAKEFILE_HOST}" in
50080 *-*-mingw32* )
50081 PLATFORM_WIN32=1
50082 ;;
50083 *-pc-msdosdjgpp )
50084 PLATFORM_MSDOS=1
50085 ;;
50086 *-pc-os2_emx | *-pc-os2-emx )
50087 PLATFORM_OS2=1
50088 ;;
50089 *-*-darwin* )
50090 PLATFORM_MAC=1
50091 PLATFORM_MACOSX=1
50092 ;;
50093 *-*-beos* )
50094 PLATFORM_BEOS=1
50095 ;;
50096 powerpc-apple-macos* )
50097 PLATFORM_MAC=1
50098 PLATFORM_MACOS=1
50099 ;;
50100 * )
50101 PLATFORM_UNIX=1
50102 ;;
50103 esac
50104 else
50105 case "$BAKEFILE_FORCE_PLATFORM" in
50106 win32 )
50107 PLATFORM_WIN32=1
50108 ;;
50109 msdos )
50110 PLATFORM_MSDOS=1
50111 ;;
50112 os2 )
50113 PLATFORM_OS2=1
50114 ;;
50115 darwin )
50116 PLATFORM_MAC=1
50117 PLATFORM_MACOSX=1
50118 ;;
50119 unix )
50120 PLATFORM_UNIX=1
50121 ;;
50122 beos )
50123 PLATFORM_BEOS=1
50124 ;;
50125 * )
50126 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50127 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50128 { (exit 1); exit 1; }; }
50129 ;;
50130 esac
50131 fi
50132
50133
50134
50135
50136
50137
50138
50139
50140
50141
50142
50143 # Check whether --enable-omf was given.
50144 if test "${enable_omf+set}" = set; then
50145 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50146 fi
50147
50148
50149 case "${BAKEFILE_HOST}" in
50150 *-*-darwin* )
50151 if test "x$GCC" = "xyes"; then
50152 CFLAGS="$CFLAGS -fno-common"
50153 CXXFLAGS="$CXXFLAGS -fno-common"
50154 fi
50155 if test "x$XLCC" = "xyes"; then
50156 CFLAGS="$CFLAGS -qnocommon"
50157 CXXFLAGS="$CXXFLAGS -qnocommon"
50158 fi
50159 ;;
50160
50161 *-pc-os2_emx | *-pc-os2-emx )
50162 if test "x$bk_os2_use_omf" = "xyes" ; then
50163 AR=emxomfar
50164 RANLIB=:
50165 LDFLAGS="-Zomf $LDFLAGS"
50166 CFLAGS="-Zomf $CFLAGS"
50167 CXXFLAGS="-Zomf $CXXFLAGS"
50168 OS2_LIBEXT="lib"
50169 else
50170 OS2_LIBEXT="a"
50171 fi
50172 ;;
50173
50174 i*86-*-beos* )
50175 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50176 ;;
50177 esac
50178
50179
50180 SO_SUFFIX="so"
50181 SO_SUFFIX_MODULE="so"
50182 EXEEXT=""
50183 LIBPREFIX="lib"
50184 LIBEXT=".a"
50185 DLLPREFIX="lib"
50186 DLLPREFIX_MODULE=""
50187 DLLIMP_SUFFIX=""
50188 dlldir="$libdir"
50189
50190 case "${BAKEFILE_HOST}" in
50191 ia64-hp-hpux* )
50192 ;;
50193 *-hp-hpux* )
50194 SO_SUFFIX="sl"
50195 SO_SUFFIX_MODULE="sl"
50196 ;;
50197 *-*-aix* )
50198 SO_SUFFIX="a"
50199 SO_SUFFIX_MODULE="a"
50200 ;;
50201 *-*-cygwin* )
50202 SO_SUFFIX="dll"
50203 SO_SUFFIX_MODULE="dll"
50204 DLLIMP_SUFFIX="dll.a"
50205 EXEEXT=".exe"
50206 DLLPREFIX="cyg"
50207 dlldir="$bindir"
50208 ;;
50209 *-*-mingw32* )
50210 SO_SUFFIX="dll"
50211 SO_SUFFIX_MODULE="dll"
50212 DLLIMP_SUFFIX="dll.a"
50213 EXEEXT=".exe"
50214 DLLPREFIX=""
50215 dlldir="$bindir"
50216 ;;
50217 *-pc-msdosdjgpp )
50218 EXEEXT=".exe"
50219 DLLPREFIX=""
50220 dlldir="$bindir"
50221 ;;
50222 *-pc-os2_emx | *-pc-os2-emx )
50223 SO_SUFFIX="dll"
50224 SO_SUFFIX_MODULE="dll"
50225 DLLIMP_SUFFIX=$OS2_LIBEXT
50226 EXEEXT=".exe"
50227 DLLPREFIX=""
50228 LIBPREFIX=""
50229 LIBEXT=".$OS2_LIBEXT"
50230 dlldir="$bindir"
50231 ;;
50232 *-*-darwin* )
50233 SO_SUFFIX="dylib"
50234 SO_SUFFIX_MODULE="bundle"
50235 ;;
50236 esac
50237
50238 if test "x$DLLIMP_SUFFIX" = "x" ; then
50239 DLLIMP_SUFFIX="$SO_SUFFIX"
50240 fi
50241
50242
50243
50244
50245
50246
50247
50248
50249
50250
50251
50252
50253 PIC_FLAG=""
50254 if test "x$GCC" = "xyes"; then
50255 PIC_FLAG="-fPIC"
50256 fi
50257
50258 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50259 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50260 WINDOWS_IMPLIB=0
50261
50262 case "${BAKEFILE_HOST}" in
50263 *-hp-hpux* )
50264 if test "x$GCC" != "xyes"; then
50265 LDFLAGS="$LDFLAGS -L/usr/lib"
50266
50267 SHARED_LD_CC="${CC} -b -o"
50268 SHARED_LD_CXX="${CXX} -b -o"
50269 PIC_FLAG="+Z"
50270 fi
50271 ;;
50272
50273 *-*-linux* )
50274 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50275 PIC_FLAG="-KPIC"
50276 elif test "x$SUNCXX" = "xyes"; then
50277 SHARED_LD_CC="${CC} -G -o"
50278 SHARED_LD_CXX="${CXX} -G -o"
50279 PIC_FLAG="-KPIC"
50280 fi
50281 ;;
50282
50283 *-*-solaris2* )
50284 if test "x$SUNCXX" = xyes ; then
50285 SHARED_LD_CC="${CC} -G -o"
50286 SHARED_LD_CXX="${CXX} -G -o"
50287 PIC_FLAG="-KPIC"
50288 fi
50289 ;;
50290
50291 *-*-darwin* )
50292
50293 D='$'
50294 cat <<EOF >shared-ld-sh
50295 #!/bin/sh
50296 #-----------------------------------------------------------------------------
50297 #-- Name: distrib/mac/shared-ld-sh
50298 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50299 #-- Author: Gilles Depeyrot
50300 #-- Copyright: (c) 2002 Gilles Depeyrot
50301 #-- Licence: any use permitted
50302 #-----------------------------------------------------------------------------
50303
50304 verbose=0
50305 args=""
50306 objects=""
50307 linking_flag="-dynamiclib"
50308 ldargs="-r -keep_private_externs -nostdlib"
50309
50310 if test "x${D}CXX" = "x"; then
50311 CXX="c++"
50312 fi
50313
50314 while test ${D}# -gt 0; do
50315 case ${D}1 in
50316
50317 -v)
50318 verbose=1
50319 ;;
50320
50321 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50322 # collect these options and values
50323 args="${D}{args} ${D}1 ${D}2"
50324 shift
50325 ;;
50326
50327 -arch|-isysroot)
50328 # collect these options and values
50329 ldargs="${D}{ldargs} ${D}1 ${D}2"
50330 shift
50331 ;;
50332
50333 -s|-Wl,*)
50334 # collect these load args
50335 ldargs="${D}{ldargs} ${D}1"
50336 ;;
50337
50338 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50339 # collect these options
50340 args="${D}{args} ${D}1"
50341 ;;
50342
50343 -dynamiclib|-bundle)
50344 linking_flag="${D}1"
50345 ;;
50346
50347 -*)
50348 echo "shared-ld: unhandled option '${D}1'"
50349 exit 1
50350 ;;
50351
50352 *.o | *.a | *.dylib)
50353 # collect object files
50354 objects="${D}{objects} ${D}1"
50355 ;;
50356
50357 *)
50358 echo "shared-ld: unhandled argument '${D}1'"
50359 exit 1
50360 ;;
50361
50362 esac
50363 shift
50364 done
50365
50366 status=0
50367
50368 #
50369 # Link one module containing all the others
50370 #
50371 if test ${D}{verbose} = 1; then
50372 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50373 fi
50374 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50375 status=${D}?
50376
50377 #
50378 # Link the shared library from the single module created, but only if the
50379 # previous command didn't fail:
50380 #
50381 if test ${D}{status} = 0; then
50382 if test ${D}{verbose} = 1; then
50383 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50384 fi
50385 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50386 status=${D}?
50387 fi
50388
50389 #
50390 # Remove intermediate module
50391 #
50392 rm -f master.${D}${D}.o
50393
50394 exit ${D}status
50395 EOF
50396
50397 chmod +x shared-ld-sh
50398
50399 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50400 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50401
50402
50403 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50404 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50405 if test "${bakefile_cv_gcc31+set}" = set; then
50406 echo $ECHO_N "(cached) $ECHO_C" >&6
50407 else
50408
50409 cat >conftest.$ac_ext <<_ACEOF
50410 /* confdefs.h. */
50411 _ACEOF
50412 cat confdefs.h >>conftest.$ac_ext
50413 cat >>conftest.$ac_ext <<_ACEOF
50414 /* end confdefs.h. */
50415
50416 int
50417 main ()
50418 {
50419
50420 #if (__GNUC__ < 3) || \
50421 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50422 This is old gcc
50423 #endif
50424
50425 ;
50426 return 0;
50427 }
50428 _ACEOF
50429 rm -f conftest.$ac_objext
50430 if { (ac_try="$ac_compile"
50431 case "(($ac_try" in
50432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50433 *) ac_try_echo=$ac_try;;
50434 esac
50435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50436 (eval "$ac_compile") 2>conftest.er1
50437 ac_status=$?
50438 grep -v '^ *+' conftest.er1 >conftest.err
50439 rm -f conftest.er1
50440 cat conftest.err >&5
50441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50442 (exit $ac_status); } && {
50443 test -z "$ac_c_werror_flag" ||
50444 test ! -s conftest.err
50445 } && test -s conftest.$ac_objext; then
50446
50447 bakefile_cv_gcc31=yes
50448
50449 else
50450 echo "$as_me: failed program was:" >&5
50451 sed 's/^/| /' conftest.$ac_ext >&5
50452
50453
50454 bakefile_cv_gcc31=no
50455
50456
50457 fi
50458
50459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50460
50461 fi
50462 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50463 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50464 if test "$bakefile_cv_gcc31" = "no"; then
50465 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50466 SHARED_LD_CXX="$SHARED_LD_CC"
50467 else
50468 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50469 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50470 fi
50471
50472 if test "x$GCC" == "xyes"; then
50473 PIC_FLAG="-dynamic -fPIC"
50474 fi
50475 if test "x$XLCC" = "xyes"; then
50476 PIC_FLAG="-dynamic -DPIC"
50477 fi
50478 ;;
50479
50480 *-*-aix* )
50481 if test "x$GCC" = "xyes"; then
50482 PIC_FLAG=""
50483
50484 case "${BAKEFILE_HOST}" in
50485 *-*-aix5* )
50486 LD_EXPFULL="-Wl,-bexpfull"
50487 ;;
50488 esac
50489
50490 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50491 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50492 else
50493 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50494 set dummy makeC++SharedLib; ac_word=$2
50495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50497 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50498 echo $ECHO_N "(cached) $ECHO_C" >&6
50499 else
50500 if test -n "$AIX_CXX_LD"; then
50501 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50502 else
50503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50504 for as_dir in $PATH
50505 do
50506 IFS=$as_save_IFS
50507 test -z "$as_dir" && as_dir=.
50508 for ac_exec_ext in '' $ac_executable_extensions; do
50509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50510 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50512 break 2
50513 fi
50514 done
50515 done
50516 IFS=$as_save_IFS
50517
50518 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50519 fi
50520 fi
50521 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50522 if test -n "$AIX_CXX_LD"; then
50523 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50524 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50525 else
50526 { echo "$as_me:$LINENO: result: no" >&5
50527 echo "${ECHO_T}no" >&6; }
50528 fi
50529
50530
50531 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50532 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50533 fi
50534 ;;
50535
50536 *-*-beos* )
50537 SHARED_LD_CC="${LD} -nostart -o"
50538 SHARED_LD_CXX="${LD} -nostart -o"
50539 ;;
50540
50541 *-*-irix* )
50542 if test "x$GCC" != "xyes"; then
50543 PIC_FLAG="-KPIC"
50544 fi
50545 ;;
50546
50547 *-*-cygwin* | *-*-mingw32* )
50548 PIC_FLAG=""
50549 SHARED_LD_CC="\$(CC) -shared -o"
50550 SHARED_LD_CXX="\$(CXX) -shared -o"
50551 WINDOWS_IMPLIB=1
50552 ;;
50553
50554 *-pc-os2_emx | *-pc-os2-emx )
50555 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50556 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50557 PIC_FLAG=""
50558
50559 D='$'
50560 cat <<EOF >dllar.sh
50561 #!/bin/sh
50562 #
50563 # dllar - a tool to build both a .dll and an .a file
50564 # from a set of object (.o) files for EMX/OS2.
50565 #
50566 # Written by Andrew Zabolotny, bit@freya.etu.ru
50567 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50568 #
50569 # This script will accept a set of files on the command line.
50570 # All the public symbols from the .o files will be exported into
50571 # a .DEF file, then linker will be run (through gcc) against them to
50572 # build a shared library consisting of all given .o files. All libraries
50573 # (.a) will be first decompressed into component .o files then act as
50574 # described above. You can optionally give a description (-d "description")
50575 # which will be put into .DLL. To see the list of accepted options (as well
50576 # as command-line format) simply run this program without options. The .DLL
50577 # is built to be imported by name (there is no guarantee that new versions
50578 # of the library you build will have same ordinals for same symbols).
50579 #
50580 # dllar is free software; you can redistribute it and/or modify
50581 # it under the terms of the GNU General Public License as published by
50582 # the Free Software Foundation; either version 2, or (at your option)
50583 # any later version.
50584 #
50585 # dllar is distributed in the hope that it will be useful,
50586 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50587 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50588 # GNU General Public License for more details.
50589 #
50590 # You should have received a copy of the GNU General Public License
50591 # along with dllar; see the file COPYING. If not, write to the Free
50592 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50593 # 02111-1307, USA.
50594
50595 # To successfuly run this program you will need:
50596 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50597 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50598 # - gcc
50599 # (used to build the .dll)
50600 # - emxexp
50601 # (used to create .def file from .o files)
50602 # - emximp
50603 # (used to create .a file from .def file)
50604 # - GNU text utilites (cat, sort, uniq)
50605 # used to process emxexp output
50606 # - GNU file utilities (mv, rm)
50607 # - GNU sed
50608 # - lxlite (optional, see flag below)
50609 # (used for general .dll cleanup)
50610 #
50611
50612 flag_USE_LXLITE=1;
50613
50614 #
50615 # helper functions
50616 # basnam, variant of basename, which does _not_ remove the path, _iff_
50617 # second argument (suffix to remove) is given
50618 basnam(){
50619 case ${D}# in
50620 1)
50621 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50622 ;;
50623 2)
50624 echo ${D}1 | sed 's/'${D}2'${D}//'
50625 ;;
50626 *)
50627 echo "error in basnam ${D}*"
50628 exit 8
50629 ;;
50630 esac
50631 }
50632
50633 # Cleanup temporary files and output
50634 CleanUp() {
50635 cd ${D}curDir
50636 for i in ${D}inputFiles ; do
50637 case ${D}i in
50638 *!)
50639 rm -rf \`basnam ${D}i !\`
50640 ;;
50641 *)
50642 ;;
50643 esac
50644 done
50645
50646 # Kill result in case of failure as there is just to many stupid make/nmake
50647 # things out there which doesn't do this.
50648 if [ ${D}# -eq 0 ]; then
50649 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50650 fi
50651 }
50652
50653 # Print usage and exit script with rc=1.
50654 PrintHelp() {
50655 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50656 echo ' [-name-mangler-script script.sh]'
50657 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50658 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50659 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50660 echo ' [*.o] [*.a]'
50661 echo '*> "output_file" should have no extension.'
50662 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50663 echo ' The import library name is derived from this and is set to "name".a,'
50664 echo ' unless overridden by -import'
50665 echo '*> "importlib_name" should have no extension.'
50666 echo ' If it has the .o, or .a extension, it is automatically removed.'
50667 echo ' This name is used as the import library name and may be longer and'
50668 echo ' more descriptive than the DLL name which has to follow the old '
50669 echo ' 8.3 convention of FAT.'
50670 echo '*> "script.sh may be given to override the output_file name by a'
50671 echo ' different name. It is mainly useful if the regular make process'
50672 echo ' of some package does not take into account OS/2 restriction of'
50673 echo ' DLL name lengths. It takes the importlib name as input and is'
50674 echo ' supposed to procude a shorter name as output. The script should'
50675 echo ' expect to get importlib_name without extension and should produce'
50676 echo ' a (max.) 8 letter name without extension.'
50677 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50678 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50679 echo ' These flags will be put at the start of GCC command line.'
50680 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50681 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50682 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50683 echo ' If the last character of a symbol is "*", all symbols beginning'
50684 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50685 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50686 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50687 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50688 echo ' C runtime DLLs.'
50689 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50690 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50691 echo ' unchanged to GCC at the end of command line.'
50692 echo '*> If you create a DLL from a library and you do not specify -o,'
50693 echo ' the basename for DLL and import library will be set to library name,'
50694 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50695 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50696 echo ' library will be renamed into gcc_s.a.'
50697 echo '--------'
50698 echo 'Example:'
50699 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50700 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50701 CleanUp
50702 exit 1
50703 }
50704
50705 # Execute a command.
50706 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50707 # @Uses Whatever CleanUp() uses.
50708 doCommand() {
50709 echo "${D}*"
50710 eval ${D}*
50711 rcCmd=${D}?
50712
50713 if [ ${D}rcCmd -ne 0 ]; then
50714 echo "command failed, exit code="${D}rcCmd
50715 CleanUp
50716 exit ${D}rcCmd
50717 fi
50718 }
50719
50720 # main routine
50721 # setup globals
50722 cmdLine=${D}*
50723 outFile=""
50724 outimpFile=""
50725 inputFiles=""
50726 renameScript=""
50727 description=""
50728 CC=gcc.exe
50729 CFLAGS="-s -Zcrtdll"
50730 EXTRA_CFLAGS=""
50731 EXPORT_BY_ORDINALS=0
50732 exclude_symbols=""
50733 library_flags=""
50734 curDir=\`pwd\`
50735 curDirS=curDir
50736 case ${D}curDirS in
50737 */)
50738 ;;
50739 *)
50740 curDirS=${D}{curDirS}"/"
50741 ;;
50742 esac
50743 # Parse commandline
50744 libsToLink=0
50745 omfLinking=0
50746 while [ ${D}1 ]; do
50747 case ${D}1 in
50748 -ord*)
50749 EXPORT_BY_ORDINALS=1;
50750 ;;
50751 -o*)
50752 shift
50753 outFile=${D}1
50754 ;;
50755 -i*)
50756 shift
50757 outimpFile=${D}1
50758 ;;
50759 -name-mangler-script)
50760 shift
50761 renameScript=${D}1
50762 ;;
50763 -d*)
50764 shift
50765 description=${D}1
50766 ;;
50767 -f*)
50768 shift
50769 CFLAGS=${D}1
50770 ;;
50771 -c*)
50772 shift
50773 CC=${D}1
50774 ;;
50775 -h*)
50776 PrintHelp
50777 ;;
50778 -ex*)
50779 shift
50780 exclude_symbols=${D}{exclude_symbols}${D}1" "
50781 ;;
50782 -libf*)
50783 shift
50784 library_flags=${D}{library_flags}${D}1" "
50785 ;;
50786 -nocrt*)
50787 CFLAGS="-s"
50788 ;;
50789 -nolxl*)
50790 flag_USE_LXLITE=0
50791 ;;
50792 -* | /*)
50793 case ${D}1 in
50794 -L* | -l*)
50795 libsToLink=1
50796 ;;
50797 -Zomf)
50798 omfLinking=1
50799 ;;
50800 *)
50801 ;;
50802 esac
50803 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50804 ;;
50805 *.dll)
50806 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50807 if [ ${D}omfLinking -eq 1 ]; then
50808 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50809 else
50810 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50811 fi
50812 ;;
50813 *)
50814 found=0;
50815 if [ ${D}libsToLink -ne 0 ]; then
50816 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50817 else
50818 for file in ${D}1 ; do
50819 if [ -f ${D}file ]; then
50820 inputFiles="${D}{inputFiles} ${D}file"
50821 found=1
50822 fi
50823 done
50824 if [ ${D}found -eq 0 ]; then
50825 echo "ERROR: No file(s) found: "${D}1
50826 exit 8
50827 fi
50828 fi
50829 ;;
50830 esac
50831 shift
50832 done # iterate cmdline words
50833
50834 #
50835 if [ -z "${D}inputFiles" ]; then
50836 echo "dllar: no input files"
50837 PrintHelp
50838 fi
50839
50840 # Now extract all .o files from .a files
50841 newInputFiles=""
50842 for file in ${D}inputFiles ; do
50843 case ${D}file in
50844 *.a | *.lib)
50845 case ${D}file in
50846 *.a)
50847 suffix=".a"
50848 AR="ar"
50849 ;;
50850 *.lib)
50851 suffix=".lib"
50852 AR="emxomfar"
50853 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50854 ;;
50855 *)
50856 ;;
50857 esac
50858 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50859 mkdir ${D}dirname
50860 if [ ${D}? -ne 0 ]; then
50861 echo "Failed to create subdirectory ./${D}dirname"
50862 CleanUp
50863 exit 8;
50864 fi
50865 # Append '!' to indicate archive
50866 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50867 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50868 cd ${D}curDir
50869 found=0;
50870 for subfile in ${D}dirname/*.o* ; do
50871 if [ -f ${D}subfile ]; then
50872 found=1
50873 if [ -s ${D}subfile ]; then
50874 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50875 newInputFiles="${D}newInputFiles ${D}subfile"
50876 fi
50877 fi
50878 done
50879 if [ ${D}found -eq 0 ]; then
50880 echo "WARNING: there are no files in archive \\'${D}file\\'"
50881 fi
50882 ;;
50883 *)
50884 newInputFiles="${D}{newInputFiles} ${D}file"
50885 ;;
50886 esac
50887 done
50888 inputFiles="${D}newInputFiles"
50889
50890 # Output filename(s).
50891 do_backup=0;
50892 if [ -z ${D}outFile ]; then
50893 do_backup=1;
50894 set outFile ${D}inputFiles; outFile=${D}2
50895 fi
50896
50897 # If it is an archive, remove the '!' and the '_%' suffixes
50898 case ${D}outFile in
50899 *_%!)
50900 outFile=\`basnam ${D}outFile _%!\`
50901 ;;
50902 *)
50903 ;;
50904 esac
50905 case ${D}outFile in
50906 *.dll)
50907 outFile=\`basnam ${D}outFile .dll\`
50908 ;;
50909 *.DLL)
50910 outFile=\`basnam ${D}outFile .DLL\`
50911 ;;
50912 *.o)
50913 outFile=\`basnam ${D}outFile .o\`
50914 ;;
50915 *.obj)
50916 outFile=\`basnam ${D}outFile .obj\`
50917 ;;
50918 *.a)
50919 outFile=\`basnam ${D}outFile .a\`
50920 ;;
50921 *.lib)
50922 outFile=\`basnam ${D}outFile .lib\`
50923 ;;
50924 *)
50925 ;;
50926 esac
50927 case ${D}outimpFile in
50928 *.a)
50929 outimpFile=\`basnam ${D}outimpFile .a\`
50930 ;;
50931 *.lib)
50932 outimpFile=\`basnam ${D}outimpFile .lib\`
50933 ;;
50934 *)
50935 ;;
50936 esac
50937 if [ -z ${D}outimpFile ]; then
50938 outimpFile=${D}outFile
50939 fi
50940 defFile="${D}{outFile}.def"
50941 arcFile="${D}{outimpFile}.a"
50942 arcFile2="${D}{outimpFile}.lib"
50943
50944 #create ${D}dllFile as something matching 8.3 restrictions,
50945 if [ -z ${D}renameScript ] ; then
50946 dllFile="${D}outFile"
50947 else
50948 dllFile=\`${D}renameScript ${D}outimpFile\`
50949 fi
50950
50951 if [ ${D}do_backup -ne 0 ] ; then
50952 if [ -f ${D}arcFile ] ; then
50953 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50954 fi
50955 if [ -f ${D}arcFile2 ] ; then
50956 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50957 fi
50958 fi
50959
50960 # Extract public symbols from all the object files.
50961 tmpdefFile=${D}{defFile}_%
50962 rm -f ${D}tmpdefFile
50963 for file in ${D}inputFiles ; do
50964 case ${D}file in
50965 *!)
50966 ;;
50967 *)
50968 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50969 ;;
50970 esac
50971 done
50972
50973 # Create the def file.
50974 rm -f ${D}defFile
50975 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50976 dllFile="${D}{dllFile}.dll"
50977 if [ ! -z ${D}description ]; then
50978 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50979 fi
50980 echo "EXPORTS" >> ${D}defFile
50981
50982 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50983 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50984
50985 # Checks if the export is ok or not.
50986 for word in ${D}exclude_symbols; do
50987 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50988 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50989 done
50990
50991
50992 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50993 sed "=" < ${D}tmpdefFile | \\
50994 sed '
50995 N
50996 : loop
50997 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50998 t loop
50999 ' > ${D}{tmpdefFile}%
51000 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51001 else
51002 rm -f ${D}{tmpdefFile}%
51003 fi
51004 cat ${D}tmpdefFile >> ${D}defFile
51005 rm -f ${D}tmpdefFile
51006
51007 # Do linking, create implib, and apply lxlite.
51008 gccCmdl="";
51009 for file in ${D}inputFiles ; do
51010 case ${D}file in
51011 *!)
51012 ;;
51013 *)
51014 gccCmdl="${D}gccCmdl ${D}file"
51015 ;;
51016 esac
51017 done
51018 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51019 touch "${D}{outFile}.dll"
51020
51021 doCommand "emximp -o ${D}arcFile ${D}defFile"
51022 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51023 add_flags="";
51024 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51025 add_flags="-ynd"
51026 fi
51027 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51028 fi
51029 doCommand "emxomf -s -l ${D}arcFile"
51030
51031 # Successful exit.
51032 CleanUp 1
51033 exit 0
51034 EOF
51035
51036 chmod +x dllar.sh
51037 ;;
51038
51039 powerpc-apple-macos* | \
51040 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51041 *-*-mirbsd* | \
51042 *-*-sunos4* | \
51043 *-*-osf* | \
51044 *-*-dgux5* | \
51045 *-*-sysv5* | \
51046 *-pc-msdosdjgpp )
51047 ;;
51048
51049 *)
51050 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51051 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51052 { (exit 1); exit 1; }; }
51053 esac
51054
51055 if test "x$PIC_FLAG" != "x" ; then
51056 PIC_FLAG="$PIC_FLAG -DPIC"
51057 fi
51058
51059 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51060 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51061 fi
51062 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51063 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51064 fi
51065
51066
51067
51068
51069
51070
51071
51072
51073
51074 USE_SOVERSION=0
51075 USE_SOVERLINUX=0
51076 USE_SOVERSOLARIS=0
51077 USE_SOVERCYGWIN=0
51078 USE_SOTWOSYMLINKS=0
51079 USE_MACVERSION=0
51080 SONAME_FLAG=
51081
51082 case "${BAKEFILE_HOST}" in
51083 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51084 *-*-k*bsd*-gnu | *-*-mirbsd* )
51085 if test "x$SUNCXX" = "xyes"; then
51086 SONAME_FLAG="-h "
51087 else
51088 SONAME_FLAG="-Wl,-soname,"
51089 fi
51090 USE_SOVERSION=1
51091 USE_SOVERLINUX=1
51092 USE_SOTWOSYMLINKS=1
51093 ;;
51094
51095 *-*-solaris2* )
51096 SONAME_FLAG="-h "
51097 USE_SOVERSION=1
51098 USE_SOVERSOLARIS=1
51099 ;;
51100
51101 *-*-darwin* )
51102 USE_MACVERSION=1
51103 USE_SOVERSION=1
51104 USE_SOTWOSYMLINKS=1
51105 ;;
51106
51107 *-*-cygwin* )
51108 USE_SOVERSION=1
51109 USE_SOVERCYGWIN=1
51110 ;;
51111 esac
51112
51113
51114
51115
51116
51117
51118
51119
51120
51121
51122 # Check whether --enable-dependency-tracking was given.
51123 if test "${enable_dependency_tracking+set}" = set; then
51124 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51125 fi
51126
51127
51128 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51129 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51130
51131 BK_DEPS=""
51132 if test "x$bk_use_trackdeps" = "xno" ; then
51133 DEPS_TRACKING=0
51134 { echo "$as_me:$LINENO: result: disabled" >&5
51135 echo "${ECHO_T}disabled" >&6; }
51136 else
51137 DEPS_TRACKING=1
51138
51139 if test "x$GCC" = "xyes"; then
51140 DEPSMODE=gcc
51141 case "${BAKEFILE_HOST}" in
51142 *-*-darwin* )
51143 DEPSFLAG="-no-cpp-precomp -MMD"
51144 ;;
51145 * )
51146 DEPSFLAG="-MMD"
51147 ;;
51148 esac
51149 { echo "$as_me:$LINENO: result: gcc" >&5
51150 echo "${ECHO_T}gcc" >&6; }
51151 elif test "x$MWCC" = "xyes"; then
51152 DEPSMODE=mwcc
51153 DEPSFLAG="-MM"
51154 { echo "$as_me:$LINENO: result: mwcc" >&5
51155 echo "${ECHO_T}mwcc" >&6; }
51156 elif test "x$SUNCC" = "xyes"; then
51157 DEPSMODE=unixcc
51158 DEPSFLAG="-xM1"
51159 { echo "$as_me:$LINENO: result: Sun cc" >&5
51160 echo "${ECHO_T}Sun cc" >&6; }
51161 elif test "x$SGICC" = "xyes"; then
51162 DEPSMODE=unixcc
51163 DEPSFLAG="-M"
51164 { echo "$as_me:$LINENO: result: SGI cc" >&5
51165 echo "${ECHO_T}SGI cc" >&6; }
51166 elif test "x$HPCC" = "xyes"; then
51167 DEPSMODE=unixcc
51168 DEPSFLAG="+make"
51169 { echo "$as_me:$LINENO: result: HP cc" >&5
51170 echo "${ECHO_T}HP cc" >&6; }
51171 elif test "x$COMPAQCC" = "xyes"; then
51172 DEPSMODE=gcc
51173 DEPSFLAG="-MD"
51174 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51175 echo "${ECHO_T}Compaq cc" >&6; }
51176 else
51177 DEPS_TRACKING=0
51178 { echo "$as_me:$LINENO: result: none" >&5
51179 echo "${ECHO_T}none" >&6; }
51180 fi
51181
51182 if test $DEPS_TRACKING = 1 ; then
51183
51184 D='$'
51185 cat <<EOF >bk-deps
51186 #!/bin/sh
51187
51188 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51189 # script. It is used to track C/C++ files dependencies in portable way.
51190 #
51191 # Permission is given to use this file in any way.
51192
51193 DEPSMODE=${DEPSMODE}
51194 DEPSFLAG="${DEPSFLAG}"
51195 DEPSDIRBASE=.deps
51196
51197 if test ${D}DEPSMODE = gcc ; then
51198 ${D}* ${D}{DEPSFLAG}
51199 status=${D}?
51200
51201 # determine location of created files:
51202 while test ${D}# -gt 0; do
51203 case "${D}1" in
51204 -o )
51205 shift
51206 objfile=${D}1
51207 ;;
51208 -* )
51209 ;;
51210 * )
51211 srcfile=${D}1
51212 ;;
51213 esac
51214 shift
51215 done
51216 objfilebase=\`basename ${D}objfile\`
51217 builddir=\`dirname ${D}objfile\`
51218 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51219 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51220 depsdir=${D}builddir/${D}DEPSDIRBASE
51221 mkdir -p ${D}depsdir
51222
51223 # if the compiler failed, we're done:
51224 if test ${D}{status} != 0 ; then
51225 rm -f ${D}depfile
51226 exit ${D}{status}
51227 fi
51228
51229 # move created file to the location we want it in:
51230 if test -f ${D}depfile ; then
51231 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51232 rm -f ${D}depfile
51233 else
51234 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51235 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51236 if test ! -f ${D}depfile ; then
51237 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51238 depfile="${D}objfile.d"
51239 fi
51240 if test -f ${D}depfile ; then
51241 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51242 rm -f ${D}depfile
51243 fi
51244 fi
51245 exit 0
51246
51247 elif test ${D}DEPSMODE = mwcc ; then
51248 ${D}* || exit ${D}?
51249 # Run mwcc again with -MM and redirect into the dep file we want
51250 # NOTE: We can't use shift here because we need ${D}* to be valid
51251 prevarg=
51252 for arg in ${D}* ; do
51253 if test "${D}prevarg" = "-o"; then
51254 objfile=${D}arg
51255 else
51256 case "${D}arg" in
51257 -* )
51258 ;;
51259 * )
51260 srcfile=${D}arg
51261 ;;
51262 esac
51263 fi
51264 prevarg="${D}arg"
51265 done
51266
51267 objfilebase=\`basename ${D}objfile\`
51268 builddir=\`dirname ${D}objfile\`
51269 depsdir=${D}builddir/${D}DEPSDIRBASE
51270 mkdir -p ${D}depsdir
51271
51272 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51273 exit 0
51274
51275 elif test ${D}DEPSMODE = unixcc; then
51276 ${D}* || exit ${D}?
51277 # Run compiler again with deps flag and redirect into the dep file.
51278 # It doesn't work if the '-o FILE' option is used, but without it the
51279 # dependency file will contain the wrong name for the object. So it is
51280 # removed from the command line, and the dep file is fixed with sed.
51281 cmd=""
51282 while test ${D}# -gt 0; do
51283 case "${D}1" in
51284 -o )
51285 shift
51286 objfile=${D}1
51287 ;;
51288 * )
51289 eval arg${D}#=\\${D}1
51290 cmd="${D}cmd \\${D}arg${D}#"
51291 ;;
51292 esac
51293 shift
51294 done
51295
51296 objfilebase=\`basename ${D}objfile\`
51297 builddir=\`dirname ${D}objfile\`
51298 depsdir=${D}builddir/${D}DEPSDIRBASE
51299 mkdir -p ${D}depsdir
51300
51301 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51302 exit 0
51303
51304 else
51305 ${D}*
51306 exit ${D}?
51307 fi
51308 EOF
51309
51310 chmod +x bk-deps
51311 BK_DEPS="`pwd`/bk-deps"
51312 fi
51313 fi
51314
51315
51316
51317
51318
51319 case ${BAKEFILE_HOST} in
51320 *-*-cygwin* | *-*-mingw32* )
51321 if test -n "$ac_tool_prefix"; then
51322 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51323 set dummy ${ac_tool_prefix}windres; ac_word=$2
51324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51326 if test "${ac_cv_prog_WINDRES+set}" = set; then
51327 echo $ECHO_N "(cached) $ECHO_C" >&6
51328 else
51329 if test -n "$WINDRES"; then
51330 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51331 else
51332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51333 for as_dir in $PATH
51334 do
51335 IFS=$as_save_IFS
51336 test -z "$as_dir" && as_dir=.
51337 for ac_exec_ext in '' $ac_executable_extensions; do
51338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51339 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51341 break 2
51342 fi
51343 done
51344 done
51345 IFS=$as_save_IFS
51346
51347 fi
51348 fi
51349 WINDRES=$ac_cv_prog_WINDRES
51350 if test -n "$WINDRES"; then
51351 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51352 echo "${ECHO_T}$WINDRES" >&6; }
51353 else
51354 { echo "$as_me:$LINENO: result: no" >&5
51355 echo "${ECHO_T}no" >&6; }
51356 fi
51357
51358
51359 fi
51360 if test -z "$ac_cv_prog_WINDRES"; then
51361 ac_ct_WINDRES=$WINDRES
51362 # Extract the first word of "windres", so it can be a program name with args.
51363 set dummy windres; ac_word=$2
51364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51366 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51367 echo $ECHO_N "(cached) $ECHO_C" >&6
51368 else
51369 if test -n "$ac_ct_WINDRES"; then
51370 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51371 else
51372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51373 for as_dir in $PATH
51374 do
51375 IFS=$as_save_IFS
51376 test -z "$as_dir" && as_dir=.
51377 for ac_exec_ext in '' $ac_executable_extensions; do
51378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51379 ac_cv_prog_ac_ct_WINDRES="windres"
51380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51381 break 2
51382 fi
51383 done
51384 done
51385 IFS=$as_save_IFS
51386
51387 fi
51388 fi
51389 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51390 if test -n "$ac_ct_WINDRES"; then
51391 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51392 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51393 else
51394 { echo "$as_me:$LINENO: result: no" >&5
51395 echo "${ECHO_T}no" >&6; }
51396 fi
51397
51398 if test "x$ac_ct_WINDRES" = x; then
51399 WINDRES=""
51400 else
51401 case $cross_compiling:$ac_tool_warned in
51402 yes:)
51403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51404 whose name does not start with the host triplet. If you think this
51405 configuration is useful to you, please write to autoconf@gnu.org." >&5
51406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51407 whose name does not start with the host triplet. If you think this
51408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51409 ac_tool_warned=yes ;;
51410 esac
51411 WINDRES=$ac_ct_WINDRES
51412 fi
51413 else
51414 WINDRES="$ac_cv_prog_WINDRES"
51415 fi
51416
51417 ;;
51418
51419 *-*-darwin* | powerpc-apple-macos* )
51420 # Extract the first word of "Rez", so it can be a program name with args.
51421 set dummy Rez; ac_word=$2
51422 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51423 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51424 if test "${ac_cv_prog_REZ+set}" = set; then
51425 echo $ECHO_N "(cached) $ECHO_C" >&6
51426 else
51427 if test -n "$REZ"; then
51428 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51429 else
51430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51431 for as_dir in $PATH
51432 do
51433 IFS=$as_save_IFS
51434 test -z "$as_dir" && as_dir=.
51435 for ac_exec_ext in '' $ac_executable_extensions; do
51436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51437 ac_cv_prog_REZ="Rez"
51438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51439 break 2
51440 fi
51441 done
51442 done
51443 IFS=$as_save_IFS
51444
51445 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51446 fi
51447 fi
51448 REZ=$ac_cv_prog_REZ
51449 if test -n "$REZ"; then
51450 { echo "$as_me:$LINENO: result: $REZ" >&5
51451 echo "${ECHO_T}$REZ" >&6; }
51452 else
51453 { echo "$as_me:$LINENO: result: no" >&5
51454 echo "${ECHO_T}no" >&6; }
51455 fi
51456
51457
51458 # Extract the first word of "SetFile", so it can be a program name with args.
51459 set dummy SetFile; ac_word=$2
51460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51462 if test "${ac_cv_prog_SETFILE+set}" = set; then
51463 echo $ECHO_N "(cached) $ECHO_C" >&6
51464 else
51465 if test -n "$SETFILE"; then
51466 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51467 else
51468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51469 for as_dir in $PATH
51470 do
51471 IFS=$as_save_IFS
51472 test -z "$as_dir" && as_dir=.
51473 for ac_exec_ext in '' $ac_executable_extensions; do
51474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51475 ac_cv_prog_SETFILE="SetFile"
51476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51477 break 2
51478 fi
51479 done
51480 done
51481 IFS=$as_save_IFS
51482
51483 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51484 fi
51485 fi
51486 SETFILE=$ac_cv_prog_SETFILE
51487 if test -n "$SETFILE"; then
51488 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51489 echo "${ECHO_T}$SETFILE" >&6; }
51490 else
51491 { echo "$as_me:$LINENO: result: no" >&5
51492 echo "${ECHO_T}no" >&6; }
51493 fi
51494
51495
51496 ;;
51497 esac
51498
51499
51500
51501
51502
51503
51504
51505
51506
51507 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51508
51509
51510 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51511
51512
51513
51514 # Check whether --enable-precomp-headers was given.
51515 if test "${enable_precomp_headers+set}" = set; then
51516 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51517 fi
51518
51519
51520 GCC_PCH=0
51521 ICC_PCH=0
51522 USE_PCH=0
51523 BK_MAKE_PCH=""
51524
51525 case ${BAKEFILE_HOST} in
51526 *-*-cygwin* )
51527 bk_use_pch="no"
51528 ;;
51529 esac
51530
51531 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51532 if test "x$GCC" = "xyes"; then
51533 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51534 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51535 cat >conftest.$ac_ext <<_ACEOF
51536 /* confdefs.h. */
51537 _ACEOF
51538 cat confdefs.h >>conftest.$ac_ext
51539 cat >>conftest.$ac_ext <<_ACEOF
51540 /* end confdefs.h. */
51541
51542 int
51543 main ()
51544 {
51545
51546 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51547 There is no PCH support
51548 #endif
51549 #if (__GNUC__ < 3)
51550 There is no PCH support
51551 #endif
51552 #if (__GNUC__ == 3) && \
51553 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51554 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51555 ( defined(__INTEL_COMPILER) )
51556 There is no PCH support
51557 #endif
51558
51559 ;
51560 return 0;
51561 }
51562 _ACEOF
51563 rm -f conftest.$ac_objext
51564 if { (ac_try="$ac_compile"
51565 case "(($ac_try" in
51566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51567 *) ac_try_echo=$ac_try;;
51568 esac
51569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51570 (eval "$ac_compile") 2>conftest.er1
51571 ac_status=$?
51572 grep -v '^ *+' conftest.er1 >conftest.err
51573 rm -f conftest.er1
51574 cat conftest.err >&5
51575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51576 (exit $ac_status); } && {
51577 test -z "$ac_c_werror_flag" ||
51578 test ! -s conftest.err
51579 } && test -s conftest.$ac_objext; then
51580
51581 { echo "$as_me:$LINENO: result: yes" >&5
51582 echo "${ECHO_T}yes" >&6; }
51583 GCC_PCH=1
51584
51585 else
51586 echo "$as_me: failed program was:" >&5
51587 sed 's/^/| /' conftest.$ac_ext >&5
51588
51589
51590 if test "$INTELCXX8" = "yes"; then
51591 { echo "$as_me:$LINENO: result: yes" >&5
51592 echo "${ECHO_T}yes" >&6; }
51593 ICC_PCH=1
51594 if test "$INTELCXX10" = "yes"; then
51595 ICC_PCH_CREATE_SWITCH="-pch-create"
51596 ICC_PCH_USE_SWITCH="-pch-use"
51597 else
51598 ICC_PCH_CREATE_SWITCH="-create-pch"
51599 ICC_PCH_USE_SWITCH="-use-pch"
51600 fi
51601 else
51602 { echo "$as_me:$LINENO: result: no" >&5
51603 echo "${ECHO_T}no" >&6; }
51604 fi
51605
51606 fi
51607
51608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51609 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51610 USE_PCH=1
51611
51612 D='$'
51613 cat <<EOF >bk-make-pch
51614 #!/bin/sh
51615
51616 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51617 # script. It is used to generated precompiled headers.
51618 #
51619 # Permission is given to use this file in any way.
51620
51621 outfile="${D}{1}"
51622 header="${D}{2}"
51623 shift
51624 shift
51625
51626 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51627
51628 compiler=""
51629 headerfile=""
51630
51631 while test ${D}{#} -gt 0; do
51632 add_to_cmdline=1
51633 case "${D}{1}" in
51634 -I* )
51635 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51636 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51637 headerfile="${D}{incdir}/${D}{header}"
51638 fi
51639 ;;
51640 -use-pch|-use_pch|-pch-use )
51641 shift
51642 add_to_cmdline=0
51643 ;;
51644 esac
51645 if test ${D}add_to_cmdline = 1 ; then
51646 compiler="${D}{compiler} ${D}{1}"
51647 fi
51648 shift
51649 done
51650
51651 if test "x${D}{headerfile}" = "x" ; then
51652 echo "error: can't find header ${D}{header} in include paths" >&2
51653 else
51654 if test -f ${D}{outfile} ; then
51655 rm -f ${D}{outfile}
51656 else
51657 mkdir -p \`dirname ${D}{outfile}\`
51658 fi
51659 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51660 mkdir -p ${D}{builddir}/.deps
51661 if test "x${GCC_PCH}" = "x1" ; then
51662 # can do this because gcc is >= 3.4:
51663 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51664 elif test "x${ICC_PCH}" = "x1" ; then
51665 filename=pch_gen-${D}${D}
51666 file=${D}{filename}.c
51667 dfile=${D}{filename}.d
51668 cat > ${D}file <<EOT
51669 #include "${D}header"
51670 EOT
51671 # using -MF icc complains about differing command lines in creation/use
51672 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51673 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51674 rm -f ${D}file ${D}dfile ${D}{filename}.o
51675 fi
51676 exit ${D}{?}
51677 fi
51678 EOF
51679
51680 chmod +x bk-make-pch
51681 BK_MAKE_PCH="`pwd`/bk-make-pch"
51682 fi
51683 fi
51684 fi
51685
51686
51687
51688
51689
51690
51691
51692 COND_BUILD_DEBUG="#"
51693 if test "x$BUILD" = "xdebug" ; then
51694 COND_BUILD_DEBUG=""
51695 fi
51696
51697 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51698 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51699 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51700 fi
51701
51702 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51703 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51704 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51705 fi
51706
51707 COND_BUILD_DEBUG_UNICODE_0="#"
51708 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51709 COND_BUILD_DEBUG_UNICODE_0=""
51710 fi
51711
51712 COND_BUILD_DEBUG_UNICODE_1="#"
51713 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51714 COND_BUILD_DEBUG_UNICODE_1=""
51715 fi
51716
51717 COND_BUILD_RELEASE="#"
51718 if test "x$BUILD" = "xrelease" ; then
51719 COND_BUILD_RELEASE=""
51720 fi
51721
51722 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51723 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51724 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51725 fi
51726
51727 COND_BUILD_RELEASE_UNICODE_0="#"
51728 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51729 COND_BUILD_RELEASE_UNICODE_0=""
51730 fi
51731
51732 COND_BUILD_RELEASE_UNICODE_1="#"
51733 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51734 COND_BUILD_RELEASE_UNICODE_1=""
51735 fi
51736
51737 COND_BUILD_debug="#"
51738 if test "x$BUILD" = "xdebug" ; then
51739 COND_BUILD_debug=""
51740 fi
51741
51742 COND_BUILD_debug_DEBUG_FLAG_default="#"
51743 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51744 COND_BUILD_debug_DEBUG_FLAG_default=""
51745 fi
51746
51747 COND_BUILD_debug_DEBUG_INFO_default="#"
51748 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51749 COND_BUILD_debug_DEBUG_INFO_default=""
51750 fi
51751
51752 COND_BUILD_debug_UNICODE_0="#"
51753 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51754 COND_BUILD_debug_UNICODE_0=""
51755 fi
51756
51757 COND_BUILD_debug_UNICODE_1="#"
51758 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51759 COND_BUILD_debug_UNICODE_1=""
51760 fi
51761
51762 COND_BUILD_release="#"
51763 if test "x$BUILD" = "xrelease" ; then
51764 COND_BUILD_release=""
51765 fi
51766
51767 COND_BUILD_release_DEBUG_INFO_default="#"
51768 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51769 COND_BUILD_release_DEBUG_INFO_default=""
51770 fi
51771
51772 COND_BUILD_release_UNICODE_0="#"
51773 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51774 COND_BUILD_release_UNICODE_0=""
51775 fi
51776
51777 COND_BUILD_release_UNICODE_1="#"
51778 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51779 COND_BUILD_release_UNICODE_1=""
51780 fi
51781
51782 COND_DEBUG_FLAG_0="#"
51783 if test "x$DEBUG_FLAG" = "x0" ; then
51784 COND_DEBUG_FLAG_0=""
51785 fi
51786
51787 COND_DEBUG_FLAG_1="#"
51788 if test "x$DEBUG_FLAG" = "x1" ; then
51789 COND_DEBUG_FLAG_1=""
51790 fi
51791
51792 COND_DEBUG_INFO_0="#"
51793 if test "x$DEBUG_INFO" = "x0" ; then
51794 COND_DEBUG_INFO_0=""
51795 fi
51796
51797 COND_DEBUG_INFO_1="#"
51798 if test "x$DEBUG_INFO" = "x1" ; then
51799 COND_DEBUG_INFO_1=""
51800 fi
51801
51802 COND_DEPS_TRACKING_0="#"
51803 if test "x$DEPS_TRACKING" = "x0" ; then
51804 COND_DEPS_TRACKING_0=""
51805 fi
51806
51807 COND_DEPS_TRACKING_1="#"
51808 if test "x$DEPS_TRACKING" = "x1" ; then
51809 COND_DEPS_TRACKING_1=""
51810 fi
51811
51812 COND_GCC_PCH_1="#"
51813 if test "x$GCC_PCH" = "x1" ; then
51814 COND_GCC_PCH_1=""
51815 fi
51816
51817 COND_ICC_PCH_1="#"
51818 if test "x$ICC_PCH" = "x1" ; then
51819 COND_ICC_PCH_1=""
51820 fi
51821
51822 COND_MONOLITHIC_0="#"
51823 if test "x$MONOLITHIC" = "x0" ; then
51824 COND_MONOLITHIC_0=""
51825 fi
51826
51827 COND_MONOLITHIC_0_SHARED_0="#"
51828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51829 COND_MONOLITHIC_0_SHARED_0=""
51830 fi
51831
51832 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51834 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51835 fi
51836
51837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51840 fi
51841
51842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51845 fi
51846
51847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51850 fi
51851
51852 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51854 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51855 fi
51856
51857 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51859 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51860 fi
51861
51862 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51864 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51865 fi
51866
51867 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51869 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51870 fi
51871
51872 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51874 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51875 fi
51876
51877 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51879 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51880 fi
51881
51882 COND_MONOLITHIC_0_SHARED_1="#"
51883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51884 COND_MONOLITHIC_0_SHARED_1=""
51885 fi
51886
51887 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51889 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51890 fi
51891
51892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51895 fi
51896
51897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51900 fi
51901
51902 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51904 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51905 fi
51906
51907 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51909 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51910 fi
51911
51912 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51914 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51915 fi
51916
51917 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51919 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51920 fi
51921
51922 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51924 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51925 fi
51926
51927 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51929 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51930 fi
51931
51932 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51934 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51935 fi
51936
51937 COND_MONOLITHIC_0_USE_AUI_1="#"
51938 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51939 COND_MONOLITHIC_0_USE_AUI_1=""
51940 fi
51941
51942 COND_MONOLITHIC_0_USE_GUI_1="#"
51943 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51944 COND_MONOLITHIC_0_USE_GUI_1=""
51945 fi
51946
51947 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51948 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51949 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51950 fi
51951
51952 COND_MONOLITHIC_0_USE_HTML_1="#"
51953 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51954 COND_MONOLITHIC_0_USE_HTML_1=""
51955 fi
51956
51957 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51958 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51959 COND_MONOLITHIC_0_USE_MEDIA_1=""
51960 fi
51961
51962 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51963 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51964 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51965 fi
51966
51967 COND_MONOLITHIC_0_USE_QA_1="#"
51968 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51969 COND_MONOLITHIC_0_USE_QA_1=""
51970 fi
51971
51972 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51973 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51974 COND_MONOLITHIC_0_USE_RIBBON_1=""
51975 fi
51976
51977 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
51978 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51979 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
51980 fi
51981
51982 COND_MONOLITHIC_0_USE_STC_1="#"
51983 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
51984 COND_MONOLITHIC_0_USE_STC_1=""
51985 fi
51986
51987 COND_MONOLITHIC_0_USE_XRC_1="#"
51988 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
51989 COND_MONOLITHIC_0_USE_XRC_1=""
51990 fi
51991
51992 COND_MONOLITHIC_1="#"
51993 if test "x$MONOLITHIC" = "x1" ; then
51994 COND_MONOLITHIC_1=""
51995 fi
51996
51997 COND_MONOLITHIC_1_SHARED_0="#"
51998 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
51999 COND_MONOLITHIC_1_SHARED_0=""
52000 fi
52001
52002 COND_MONOLITHIC_1_SHARED_1="#"
52003 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52004 COND_MONOLITHIC_1_SHARED_1=""
52005 fi
52006
52007 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52008 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52009 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52010 fi
52011
52012 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52013 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52014 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52015 fi
52016
52017 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52018 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52019 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52020 fi
52021
52022 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52023 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52024 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52025 fi
52026
52027 COND_PLATFORM_MACOSX_1="#"
52028 if test "x$PLATFORM_MACOSX" = "x1" ; then
52029 COND_PLATFORM_MACOSX_1=""
52030 fi
52031
52032 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
52033 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52034 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
52035 fi
52036
52037 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
52038 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52039 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
52040 fi
52041
52042 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52043 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52044 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52045 fi
52046
52047 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52048 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52049 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52050 fi
52051
52052 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52053 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52054 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52055 fi
52056
52057 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52058 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52059 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52060 fi
52061
52062 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52063 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52064 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52065 fi
52066
52067 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52068 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52069 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52070 fi
52071
52072 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52074 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52075 fi
52076
52077 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52078 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52079 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52080 fi
52081
52082 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52083 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52084 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52085 fi
52086
52087 COND_PLATFORM_MACOS_1="#"
52088 if test "x$PLATFORM_MACOS" = "x1" ; then
52089 COND_PLATFORM_MACOS_1=""
52090 fi
52091
52092 COND_PLATFORM_MAC_0="#"
52093 if test "x$PLATFORM_MAC" = "x0" ; then
52094 COND_PLATFORM_MAC_0=""
52095 fi
52096
52097 COND_PLATFORM_MAC_1="#"
52098 if test "x$PLATFORM_MAC" = "x1" ; then
52099 COND_PLATFORM_MAC_1=""
52100 fi
52101
52102 COND_PLATFORM_MSDOS_0="#"
52103 if test "x$PLATFORM_MSDOS" = "x0" ; then
52104 COND_PLATFORM_MSDOS_0=""
52105 fi
52106
52107 COND_PLATFORM_MSDOS_1="#"
52108 if test "x$PLATFORM_MSDOS" = "x1" ; then
52109 COND_PLATFORM_MSDOS_1=""
52110 fi
52111
52112 COND_PLATFORM_OS2_1="#"
52113 if test "x$PLATFORM_OS2" = "x1" ; then
52114 COND_PLATFORM_OS2_1=""
52115 fi
52116
52117 COND_PLATFORM_UNIX_0="#"
52118 if test "x$PLATFORM_UNIX" = "x0" ; then
52119 COND_PLATFORM_UNIX_0=""
52120 fi
52121
52122 COND_PLATFORM_UNIX_1="#"
52123 if test "x$PLATFORM_UNIX" = "x1" ; then
52124 COND_PLATFORM_UNIX_1=""
52125 fi
52126
52127 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52128 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52129 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52130 fi
52131
52132 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52133 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52134 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52135 fi
52136
52137 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52138 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52139 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52140 fi
52141
52142 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52143 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52144 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52145 fi
52146
52147 COND_PLATFORM_WIN32_0="#"
52148 if test "x$PLATFORM_WIN32" = "x0" ; then
52149 COND_PLATFORM_WIN32_0=""
52150 fi
52151
52152 COND_PLATFORM_WIN32_1="#"
52153 if test "x$PLATFORM_WIN32" = "x1" ; then
52154 COND_PLATFORM_WIN32_1=""
52155 fi
52156
52157 COND_PLATFORM_WIN32_1_SHARED_0="#"
52158 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52159 COND_PLATFORM_WIN32_1_SHARED_0=""
52160 fi
52161
52162 COND_SHARED_0="#"
52163 if test "x$SHARED" = "x0" ; then
52164 COND_SHARED_0=""
52165 fi
52166
52167 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52168 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52169 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52170 fi
52171
52172 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52173 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52174 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52175 fi
52176
52177 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52178 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52179 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52180 fi
52181
52182 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52183 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52184 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52185 fi
52186
52187 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52188 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52189 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52190 fi
52191
52192 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52193 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52194 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52195 fi
52196
52197 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52198 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52199 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52200 fi
52201
52202 COND_SHARED_0_USE_STC_1="#"
52203 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52204 COND_SHARED_0_USE_STC_1=""
52205 fi
52206
52207 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52208 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52209 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52210 fi
52211
52212 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52213 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52214 COND_SHARED_0_wxUSE_REGEX_builtin=""
52215 fi
52216
52217 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52218 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52219 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52220 fi
52221
52222 COND_SHARED_1="#"
52223 if test "x$SHARED" = "x1" ; then
52224 COND_SHARED_1=""
52225 fi
52226
52227 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52228 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52229 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52230 fi
52231
52232 COND_TOOLKIT_="#"
52233 if test "x$TOOLKIT" = "x" ; then
52234 COND_TOOLKIT_=""
52235 fi
52236
52237 COND_TOOLKIT_COCOA="#"
52238 if test "x$TOOLKIT" = "xCOCOA" ; then
52239 COND_TOOLKIT_COCOA=""
52240 fi
52241
52242 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52243 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52244 COND_TOOLKIT_COCOA_USE_GUI_1=""
52245 fi
52246
52247 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52248 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52249 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52250 fi
52251
52252 COND_TOOLKIT_DFB="#"
52253 if test "x$TOOLKIT" = "xDFB" ; then
52254 COND_TOOLKIT_DFB=""
52255 fi
52256
52257 COND_TOOLKIT_DFB_USE_GUI_1="#"
52258 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52259 COND_TOOLKIT_DFB_USE_GUI_1=""
52260 fi
52261
52262 COND_TOOLKIT_GTK="#"
52263 if test "x$TOOLKIT" = "xGTK" ; then
52264 COND_TOOLKIT_GTK=""
52265 fi
52266
52267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52268 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52269 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52270 fi
52271
52272 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52273 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52274 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52275 fi
52276
52277 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52278 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52279 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52280 fi
52281
52282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52283 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52285 fi
52286
52287 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52288 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52289 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52290 fi
52291
52292 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52293 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52294 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52295 fi
52296
52297 COND_TOOLKIT_GTK_USE_GUI_1="#"
52298 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52299 COND_TOOLKIT_GTK_USE_GUI_1=""
52300 fi
52301
52302 COND_TOOLKIT_MAC="#"
52303 if test "x$TOOLKIT" = "xMAC" ; then
52304 COND_TOOLKIT_MAC=""
52305 fi
52306
52307 COND_TOOLKIT_MGL="#"
52308 if test "x$TOOLKIT" = "xMGL" ; then
52309 COND_TOOLKIT_MGL=""
52310 fi
52311
52312 COND_TOOLKIT_MGL_USE_GUI_1="#"
52313 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52314 COND_TOOLKIT_MGL_USE_GUI_1=""
52315 fi
52316
52317 COND_TOOLKIT_MOTIF="#"
52318 if test "x$TOOLKIT" = "xMOTIF" ; then
52319 COND_TOOLKIT_MOTIF=""
52320 fi
52321
52322 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52323 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52324 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52325 fi
52326
52327 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52328 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52329 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52330 fi
52331
52332 COND_TOOLKIT_MSW="#"
52333 if test "x$TOOLKIT" = "xMSW" ; then
52334 COND_TOOLKIT_MSW=""
52335 fi
52336
52337 COND_TOOLKIT_MSW_USE_GUI_1="#"
52338 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52339 COND_TOOLKIT_MSW_USE_GUI_1=""
52340 fi
52341
52342 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52343 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52344 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52345 fi
52346
52347 COND_TOOLKIT_MSW_WXUNIV_0="#"
52348 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52349 COND_TOOLKIT_MSW_WXUNIV_0=""
52350 fi
52351
52352 COND_TOOLKIT_OSX_CARBON="#"
52353 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52354 COND_TOOLKIT_OSX_CARBON=""
52355 fi
52356
52357 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52358 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52359 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52360 fi
52361
52362 COND_TOOLKIT_OSX_COCOA="#"
52363 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52364 COND_TOOLKIT_OSX_COCOA=""
52365 fi
52366
52367 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52368 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52369 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52370 fi
52371
52372 COND_TOOLKIT_OSX_IPHONE="#"
52373 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52374 COND_TOOLKIT_OSX_IPHONE=""
52375 fi
52376
52377 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52378 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52379 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52380 fi
52381
52382 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52383 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52384 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52385 fi
52386
52387 COND_TOOLKIT_PM="#"
52388 if test "x$TOOLKIT" = "xPM" ; then
52389 COND_TOOLKIT_PM=""
52390 fi
52391
52392 COND_TOOLKIT_PM_USE_GUI_1="#"
52393 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52394 COND_TOOLKIT_PM_USE_GUI_1=""
52395 fi
52396
52397 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52398 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52399 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52400 fi
52401
52402 COND_TOOLKIT_WINCE="#"
52403 if test "x$TOOLKIT" = "xWINCE" ; then
52404 COND_TOOLKIT_WINCE=""
52405 fi
52406
52407 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52408 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52409 COND_TOOLKIT_WINCE_USE_GUI_1=""
52410 fi
52411
52412 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52413 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52414 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52415 fi
52416
52417 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52418 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52419 COND_TOOLKIT_WINCE_WXUNIV_0=""
52420 fi
52421
52422 COND_TOOLKIT_X11="#"
52423 if test "x$TOOLKIT" = "xX11" ; then
52424 COND_TOOLKIT_X11=""
52425 fi
52426
52427 COND_TOOLKIT_X11_USE_GUI_1="#"
52428 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52429 COND_TOOLKIT_X11_USE_GUI_1=""
52430 fi
52431
52432 COND_UNICODE_1="#"
52433 if test "x$UNICODE" = "x1" ; then
52434 COND_UNICODE_1=""
52435 fi
52436
52437 COND_USE_CAIRO_1="#"
52438 if test "x$USE_CAIRO" = "x1" ; then
52439 COND_USE_CAIRO_1=""
52440 fi
52441
52442 COND_USE_EXCEPTIONS_0="#"
52443 if test "x$USE_EXCEPTIONS" = "x0" ; then
52444 COND_USE_EXCEPTIONS_0=""
52445 fi
52446
52447 COND_USE_EXCEPTIONS_1="#"
52448 if test "x$USE_EXCEPTIONS" = "x1" ; then
52449 COND_USE_EXCEPTIONS_1=""
52450 fi
52451
52452 COND_USE_GUI_0="#"
52453 if test "x$USE_GUI" = "x0" ; then
52454 COND_USE_GUI_0=""
52455 fi
52456
52457 COND_USE_GUI_1="#"
52458 if test "x$USE_GUI" = "x1" ; then
52459 COND_USE_GUI_1=""
52460 fi
52461
52462 COND_USE_GUI_1_USE_OPENGL_1="#"
52463 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52464 COND_USE_GUI_1_USE_OPENGL_1=""
52465 fi
52466
52467 COND_USE_GUI_1_WXUNIV_0="#"
52468 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52469 COND_USE_GUI_1_WXUNIV_0=""
52470 fi
52471
52472 COND_USE_GUI_1_WXUNIV_1="#"
52473 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52474 COND_USE_GUI_1_WXUNIV_1=""
52475 fi
52476
52477 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52478 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52479 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52480 fi
52481
52482 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52483 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52484 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52485 fi
52486
52487 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52488 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52489 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52490 fi
52491
52492 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52493 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52494 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52495 fi
52496
52497 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52498 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52499 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52500 fi
52501
52502 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52503 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52504 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52505 fi
52506
52507 COND_USE_OPENGL_1="#"
52508 if test "x$USE_OPENGL" = "x1" ; then
52509 COND_USE_OPENGL_1=""
52510 fi
52511
52512 COND_USE_PCH_1="#"
52513 if test "x$USE_PCH" = "x1" ; then
52514 COND_USE_PCH_1=""
52515 fi
52516
52517 COND_USE_PLUGINS_0="#"
52518 if test "x$USE_PLUGINS" = "x0" ; then
52519 COND_USE_PLUGINS_0=""
52520 fi
52521
52522 COND_USE_RTTI_0="#"
52523 if test "x$USE_RTTI" = "x0" ; then
52524 COND_USE_RTTI_0=""
52525 fi
52526
52527 COND_USE_RTTI_1="#"
52528 if test "x$USE_RTTI" = "x1" ; then
52529 COND_USE_RTTI_1=""
52530 fi
52531
52532 COND_USE_SOTWOSYMLINKS_1="#"
52533 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52534 COND_USE_SOTWOSYMLINKS_1=""
52535 fi
52536
52537 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52538 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52539 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52540 fi
52541
52542 COND_USE_SOVERLINUX_1="#"
52543 if test "x$USE_SOVERLINUX" = "x1" ; then
52544 COND_USE_SOVERLINUX_1=""
52545 fi
52546
52547 COND_USE_SOVERSION_0="#"
52548 if test "x$USE_SOVERSION" = "x0" ; then
52549 COND_USE_SOVERSION_0=""
52550 fi
52551
52552 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52553 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52554 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52555 fi
52556
52557 COND_USE_SOVERSOLARIS_1="#"
52558 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52559 COND_USE_SOVERSOLARIS_1=""
52560 fi
52561
52562 COND_USE_STC_1="#"
52563 if test "x$USE_STC" = "x1" ; then
52564 COND_USE_STC_1=""
52565 fi
52566
52567 COND_USE_THREADS_0="#"
52568 if test "x$USE_THREADS" = "x0" ; then
52569 COND_USE_THREADS_0=""
52570 fi
52571
52572 COND_USE_THREADS_1="#"
52573 if test "x$USE_THREADS" = "x1" ; then
52574 COND_USE_THREADS_1=""
52575 fi
52576
52577 COND_USE_XRC_1="#"
52578 if test "x$USE_XRC" = "x1" ; then
52579 COND_USE_XRC_1=""
52580 fi
52581
52582 COND_WINDOWS_IMPLIB_1="#"
52583 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52584 COND_WINDOWS_IMPLIB_1=""
52585 fi
52586
52587 COND_WITH_PLUGIN_SDL_1="#"
52588 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52589 COND_WITH_PLUGIN_SDL_1=""
52590 fi
52591
52592 COND_WXUNIV_0="#"
52593 if test "x$WXUNIV" = "x0" ; then
52594 COND_WXUNIV_0=""
52595 fi
52596
52597 COND_WXUNIV_1="#"
52598 if test "x$WXUNIV" = "x1" ; then
52599 COND_WXUNIV_1=""
52600 fi
52601
52602 COND_WXUSE_EXPAT_BUILTIN="#"
52603 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52604 COND_WXUSE_EXPAT_BUILTIN=""
52605 fi
52606
52607 COND_WXUSE_LIBJPEG_BUILTIN="#"
52608 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52609 COND_WXUSE_LIBJPEG_BUILTIN=""
52610 fi
52611
52612 COND_WXUSE_LIBPNG_BUILTIN="#"
52613 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52614 COND_WXUSE_LIBPNG_BUILTIN=""
52615 fi
52616
52617 COND_WXUSE_LIBTIFF_BUILTIN="#"
52618 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52619 COND_WXUSE_LIBTIFF_BUILTIN=""
52620 fi
52621
52622 COND_WXUSE_REGEX_BUILTIN="#"
52623 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52624 COND_WXUSE_REGEX_BUILTIN=""
52625 fi
52626
52627 COND_WXUSE_ZLIB_BUILTIN="#"
52628 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52629 COND_WXUSE_ZLIB_BUILTIN=""
52630 fi
52631
52632 COND_wxUSE_EXPAT_builtin="#"
52633 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52634 COND_wxUSE_EXPAT_builtin=""
52635 fi
52636
52637 COND_wxUSE_LIBJPEG_builtin="#"
52638 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52639 COND_wxUSE_LIBJPEG_builtin=""
52640 fi
52641
52642 COND_wxUSE_LIBPNG_builtin="#"
52643 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52644 COND_wxUSE_LIBPNG_builtin=""
52645 fi
52646
52647 COND_wxUSE_LIBTIFF_builtin="#"
52648 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52649 COND_wxUSE_LIBTIFF_builtin=""
52650 fi
52651
52652 COND_wxUSE_REGEX_builtin="#"
52653 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52654 COND_wxUSE_REGEX_builtin=""
52655 fi
52656
52657 COND_wxUSE_ZLIB_builtin="#"
52658 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52659 COND_wxUSE_ZLIB_builtin=""
52660 fi
52661
52662
52663
52664 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52665 { { 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
52666 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;}
52667 { (exit 1); exit 1; }; }
52668 fi
52669
52670 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52671 { { 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
52672 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;}
52673 { (exit 1); exit 1; }; }
52674 fi
52675
52676
52677 case ${INSTALL} in
52678 /* ) # Absolute
52679 ;;
52680 ?:* ) # Drive letter, considered as absolute.
52681 ;;
52682 *)
52683 INSTALL=`pwd`/${INSTALL} ;;
52684 esac
52685
52686 if test "$wxUSE_GUI" = "yes"; then
52687
52688 if test "$wxUSE_MSW" = 1 ; then
52689 if test "x$WINDRES" = "x"; then
52690 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52691 echo "$as_me: error: Required windres program not found" >&2;}
52692 { (exit 1); exit 1; }; }
52693 fi
52694
52695 RESCOMP="$WINDRES"
52696 fi
52697
52698 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52699 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52700 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52701
52702 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52703
52704 # Extract the first word of "DeRez", so it can be a program name with args.
52705 set dummy DeRez; ac_word=$2
52706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52708 if test "${ac_cv_prog_DEREZ+set}" = set; then
52709 echo $ECHO_N "(cached) $ECHO_C" >&6
52710 else
52711 if test -n "$DEREZ"; then
52712 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52713 else
52714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52715 for as_dir in $PATH
52716 do
52717 IFS=$as_save_IFS
52718 test -z "$as_dir" && as_dir=.
52719 for ac_exec_ext in '' $ac_executable_extensions; do
52720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52721 ac_cv_prog_DEREZ="DeRez"
52722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52723 break 2
52724 fi
52725 done
52726 done
52727 IFS=$as_save_IFS
52728
52729 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52730 fi
52731 fi
52732 DEREZ=$ac_cv_prog_DEREZ
52733 if test -n "$DEREZ"; then
52734 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52735 echo "${ECHO_T}$DEREZ" >&6; }
52736 else
52737 { echo "$as_me:$LINENO: result: no" >&5
52738 echo "${ECHO_T}no" >&6; }
52739 fi
52740
52741
52742
52743 MACSETFILE="\$(SETFILE)"
52744
52745 if test "$wxUSE_OSX_CARBON" = 1; then
52746 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52747 RESCOMP="$REZ"
52748 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52749 else
52750 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52751 RESCOMP="cat /dev/null \| $REZ"
52752 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52753 fi
52754
52755 else
52756 MACSETFILE="@true"
52757
52758 if test "$wxUSE_PM" = 1; then
52759 RESCOMP="emxbind"
52760 WXCONFIG_RESFLAGS="-ep"
52761
52762 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52763 else
52764 POSTLINK_COMMAND="@true"
52765 fi
52766 fi
52767
52768 fi
52769
52770
52771 if test $GCC_PCH = 1
52772 then
52773 if test "$wx_cv_gcc_pch_bug" = yes; then
52774 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52775 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52776 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52777 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52778 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52779 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52780 fi
52781
52782 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52783 # the headers that benefit from precompilation are mostly C++ headers.
52784 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52785 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52786 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52787 fi
52788
52789
52790 if test "$wxUSE_MAC" = 1 ; then
52791 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52792 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52793 mv temp bk-deps
52794 chmod +x bk-deps
52795 fi
52796 fi
52797
52798 if test "$wxUSE_SHARED" = "yes"; then
52799 case "${host}" in
52800 *-pc-os2_emx | *-pc-os2-emx )
52801 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52802 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52803 cp -p ${srcdir}/src/os2/dllnames.sh .
52804 cp -p ${srcdir}/src/os2/dllar.sh .
52805 ;;
52806 esac
52807 fi
52808 if test "$wxUSE_OMF" = "yes"; then
52809 case "${host}" in
52810 *-pc-os2_emx | *-pc-os2-emx )
52811 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52812 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52813 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52814 ;;
52815 esac
52816 fi
52817
52818 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52819
52820
52821 case "${host}" in
52822 *-*-solaris2* )
52823 if test "$GCC" = yes; then
52824 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52825 LIBS=`echo $LIBS | sed 's/-mt//'`
52826 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52827 fi
52828 ;;
52829
52830 *-*-linux* )
52831 if test "x$SUNCXX" = xyes; then
52832 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52833 LIBS=`echo $LIBS | sed 's/-pthread//'`
52834 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52835 fi
52836 ;;
52837 esac
52838
52839 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52840 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52841 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52842 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52843
52844 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52845
52846
52847
52848
52849
52850
52851
52852
52853
52854
52855
52856
52857
52858
52859
52860
52861
52862
52863
52864
52865
52866
52867
52868
52869
52870
52871
52872
52873
52874
52875
52876
52877
52878
52879
52880
52881
52882
52883
52884
52885
52886
52887
52888
52889
52890
52891
52892
52893
52894
52895
52896
52897
52898
52899
52900
52901
52902
52903
52904
52905 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52906 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52907 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52908 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52909 echo $ECHO_N "(cached) $ECHO_C" >&6
52910 else
52911 cat >conftest.make <<\_ACEOF
52912 SHELL = /bin/sh
52913 all:
52914 @echo '@@@%%%=$(MAKE)=@@@%%%'
52915 _ACEOF
52916 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52917 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52918 *@@@%%%=?*=@@@%%%*)
52919 eval ac_cv_prog_make_${ac_make}_set=yes;;
52920 *)
52921 eval ac_cv_prog_make_${ac_make}_set=no;;
52922 esac
52923 rm -f conftest.make
52924 fi
52925 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52926 { echo "$as_me:$LINENO: result: yes" >&5
52927 echo "${ECHO_T}yes" >&6; }
52928 SET_MAKE=
52929 else
52930 { echo "$as_me:$LINENO: result: no" >&5
52931 echo "${ECHO_T}no" >&6; }
52932 SET_MAKE="MAKE=${MAKE-make}"
52933 fi
52934
52935
52936
52937 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52938
52939
52940 if test "$USE_WIN32" = 1; then
52941 ac_config_commands="$ac_config_commands rcdefs.h"
52942
52943 fi
52944
52945 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52946
52947
52948 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52949
52950
52951 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52952
52953
52954 if test "$wx_cv_version_script" = "yes"; then
52955 ac_config_files="$ac_config_files version-script"
52956
52957 fi
52958 ac_config_files="$ac_config_files Makefile"
52959
52960
52961 ac_config_commands="$ac_config_commands wx-config"
52962
52963
52964
52965 if test "$wxWITH_SUBDIRS" != "no"; then
52966 if test "$wxUSE_GUI" = "yes"; then
52967 SUBDIRS="samples demos utils"
52968 else
52969 SUBDIRS="samples utils"
52970 fi
52971
52972
52973
52974 # Check whether --with-cppunit-prefix was given.
52975 if test "${with_cppunit_prefix+set}" = set; then
52976 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52977 else
52978 cppunit_config_prefix=""
52979 fi
52980
52981
52982 # Check whether --with-cppunit-exec-prefix was given.
52983 if test "${with_cppunit_exec_prefix+set}" = set; then
52984 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52985 else
52986 cppunit_config_exec_prefix=""
52987 fi
52988
52989
52990 if test x$cppunit_config_exec_prefix != x ; then
52991 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52992 if test x${CPPUNIT_CONFIG+set} != xset ; then
52993 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52994 fi
52995 fi
52996 if test x$cppunit_config_prefix != x ; then
52997 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52998 if test x${CPPUNIT_CONFIG+set} != xset ; then
52999 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53000 fi
53001 fi
53002
53003 # Extract the first word of "cppunit-config", so it can be a program name with args.
53004 set dummy cppunit-config; ac_word=$2
53005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53007 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53008 echo $ECHO_N "(cached) $ECHO_C" >&6
53009 else
53010 case $CPPUNIT_CONFIG in
53011 [\\/]* | ?:[\\/]*)
53012 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53013 ;;
53014 *)
53015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53016 for as_dir in $PATH
53017 do
53018 IFS=$as_save_IFS
53019 test -z "$as_dir" && as_dir=.
53020 for ac_exec_ext in '' $ac_executable_extensions; do
53021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53022 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53024 break 2
53025 fi
53026 done
53027 done
53028 IFS=$as_save_IFS
53029
53030 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53031 ;;
53032 esac
53033 fi
53034 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53035 if test -n "$CPPUNIT_CONFIG"; then
53036 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53037 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53038 else
53039 { echo "$as_me:$LINENO: result: no" >&5
53040 echo "${ECHO_T}no" >&6; }
53041 fi
53042
53043
53044 cppunit_version_min=1.8.0
53045
53046 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53047 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53048 no_cppunit=""
53049 if test "$CPPUNIT_CONFIG" = "no" ; then
53050 { echo "$as_me:$LINENO: result: no" >&5
53051 echo "${ECHO_T}no" >&6; }
53052 no_cppunit=yes
53053 else
53054 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53055 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53056 cppunit_version=`$CPPUNIT_CONFIG --version`
53057
53058 cppunit_major_version=`echo $cppunit_version | \
53059 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53060 cppunit_minor_version=`echo $cppunit_version | \
53061 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53062 cppunit_micro_version=`echo $cppunit_version | \
53063 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53064
53065 cppunit_major_min=`echo $cppunit_version_min | \
53066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53067 cppunit_minor_min=`echo $cppunit_version_min | \
53068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53069 cppunit_micro_min=`echo $cppunit_version_min | \
53070 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53071
53072 cppunit_version_proper=`expr \
53073 $cppunit_major_version \> $cppunit_major_min \| \
53074 $cppunit_major_version \= $cppunit_major_min \& \
53075 $cppunit_minor_version \> $cppunit_minor_min \| \
53076 $cppunit_major_version \= $cppunit_major_min \& \
53077 $cppunit_minor_version \= $cppunit_minor_min \& \
53078 $cppunit_micro_version \>= $cppunit_micro_min `
53079
53080 if test "$cppunit_version_proper" = "1" ; then
53081 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53082 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53083 else
53084 { echo "$as_me:$LINENO: result: no" >&5
53085 echo "${ECHO_T}no" >&6; }
53086 no_cppunit=yes
53087 fi
53088 fi
53089
53090 if test "x$no_cppunit" = x ; then
53091 SUBDIRS="$SUBDIRS tests"
53092 else
53093 CPPUNIT_CFLAGS=""
53094 CPPUNIT_LIBS=""
53095 :
53096 fi
53097
53098
53099
53100
53101
53102 for subdir in $SUBDIRS; do
53103 if test -d ${srcdir}/${subdir} ; then
53104 if test "$wxUSE_GUI" = "yes"; then
53105 if test ${subdir} = "samples"; then
53106 makefiles="samples/Makefile.in $makefiles"
53107 for sample in $SAMPLES_SUBDIRS; do
53108 if test -d $srcdir/samples/$sample; then
53109 makefiles="samples/$sample/Makefile.in $makefiles"
53110 fi
53111 done
53112 else
53113 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53114 eval "disabled=\$$disabled_var"
53115 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53116 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53117 fi
53118 else
53119 if test ${subdir} = "samples"; then
53120 makefiles="samples/Makefile.in $makefiles"
53121 for sample in `echo $SAMPLES_SUBDIRS`; do
53122 if test -d $srcdir/samples/$sample; then
53123 makefiles="samples/$sample/Makefile.in $makefiles"
53124 fi
53125 done
53126 elif test ${subdir} = "utils"; then
53127 makefiles=""
53128 for util in ifacecheck ; do
53129 if test -d $srcdir/utils/$util ; then
53130 makefiles="utils/$util/src/Makefile.in \
53131 $makefiles"
53132 fi
53133 done
53134 else
53135 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53136 fi
53137 fi
53138
53139 for mkin in $makefiles ; do
53140 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53141 ac_config_files="$ac_config_files $mk"
53142
53143 done
53144 fi
53145 done
53146 fi
53147 cat >confcache <<\_ACEOF
53148 # This file is a shell script that caches the results of configure
53149 # tests run on this system so they can be shared between configure
53150 # scripts and configure runs, see configure's option --config-cache.
53151 # It is not useful on other systems. If it contains results you don't
53152 # want to keep, you may remove or edit it.
53153 #
53154 # config.status only pays attention to the cache file if you give it
53155 # the --recheck option to rerun configure.
53156 #
53157 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53158 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53159 # following values.
53160
53161 _ACEOF
53162
53163 # The following way of writing the cache mishandles newlines in values,
53164 # but we know of no workaround that is simple, portable, and efficient.
53165 # So, we kill variables containing newlines.
53166 # Ultrix sh set writes to stderr and can't be redirected directly,
53167 # and sets the high bit in the cache file unless we assign to the vars.
53168 (
53169 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53170 eval ac_val=\$$ac_var
53171 case $ac_val in #(
53172 *${as_nl}*)
53173 case $ac_var in #(
53174 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53175 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53176 esac
53177 case $ac_var in #(
53178 _ | IFS | as_nl) ;; #(
53179 *) $as_unset $ac_var ;;
53180 esac ;;
53181 esac
53182 done
53183
53184 (set) 2>&1 |
53185 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53186 *${as_nl}ac_space=\ *)
53187 # `set' does not quote correctly, so add quotes (double-quote
53188 # substitution turns \\\\ into \\, and sed turns \\ into \).
53189 sed -n \
53190 "s/'/'\\\\''/g;
53191 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53192 ;; #(
53193 *)
53194 # `set' quotes correctly as required by POSIX, so do not add quotes.
53195 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53196 ;;
53197 esac |
53198 sort
53199 ) |
53200 sed '
53201 /^ac_cv_env_/b end
53202 t clear
53203 :clear
53204 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53205 t end
53206 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53207 :end' >>confcache
53208 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53209 if test -w "$cache_file"; then
53210 test "x$cache_file" != "x/dev/null" &&
53211 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53212 echo "$as_me: updating cache $cache_file" >&6;}
53213 cat confcache >$cache_file
53214 else
53215 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53216 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53217 fi
53218 fi
53219 rm -f confcache
53220
53221 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53222 # Let make expand exec_prefix.
53223 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53224
53225 DEFS=-DHAVE_CONFIG_H
53226
53227 ac_libobjs=
53228 ac_ltlibobjs=
53229 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53230 # 1. Remove the extension, and $U if already installed.
53231 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53232 ac_i=`echo "$ac_i" | sed "$ac_script"`
53233 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53234 # will be set to the directory where LIBOBJS objects are built.
53235 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53236 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53237 done
53238 LIBOBJS=$ac_libobjs
53239
53240 LTLIBOBJS=$ac_ltlibobjs
53241
53242
53243
53244 : ${CONFIG_STATUS=./config.status}
53245 ac_clean_files_save=$ac_clean_files
53246 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53247 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53248 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53249 cat >$CONFIG_STATUS <<_ACEOF
53250 #! $SHELL
53251 # Generated by $as_me.
53252 # Run this file to recreate the current configuration.
53253 # Compiler output produced by configure, useful for debugging
53254 # configure, is in config.log if it exists.
53255
53256 debug=false
53257 ac_cs_recheck=false
53258 ac_cs_silent=false
53259 SHELL=\${CONFIG_SHELL-$SHELL}
53260 _ACEOF
53261
53262 cat >>$CONFIG_STATUS <<\_ACEOF
53263 ## --------------------- ##
53264 ## M4sh Initialization. ##
53265 ## --------------------- ##
53266
53267 # Be more Bourne compatible
53268 DUALCASE=1; export DUALCASE # for MKS sh
53269 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53270 emulate sh
53271 NULLCMD=:
53272 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53273 # is contrary to our usage. Disable this feature.
53274 alias -g '${1+"$@"}'='"$@"'
53275 setopt NO_GLOB_SUBST
53276 else
53277 case `(set -o) 2>/dev/null` in
53278 *posix*) set -o posix ;;
53279 esac
53280
53281 fi
53282
53283
53284
53285
53286 # PATH needs CR
53287 # Avoid depending upon Character Ranges.
53288 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53289 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53290 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53291 as_cr_digits='0123456789'
53292 as_cr_alnum=$as_cr_Letters$as_cr_digits
53293
53294 # The user is always right.
53295 if test "${PATH_SEPARATOR+set}" != set; then
53296 echo "#! /bin/sh" >conf$$.sh
53297 echo "exit 0" >>conf$$.sh
53298 chmod +x conf$$.sh
53299 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53300 PATH_SEPARATOR=';'
53301 else
53302 PATH_SEPARATOR=:
53303 fi
53304 rm -f conf$$.sh
53305 fi
53306
53307 # Support unset when possible.
53308 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53309 as_unset=unset
53310 else
53311 as_unset=false
53312 fi
53313
53314
53315 # IFS
53316 # We need space, tab and new line, in precisely that order. Quoting is
53317 # there to prevent editors from complaining about space-tab.
53318 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53319 # splitting by setting IFS to empty value.)
53320 as_nl='
53321 '
53322 IFS=" "" $as_nl"
53323
53324 # Find who we are. Look in the path if we contain no directory separator.
53325 case $0 in
53326 *[\\/]* ) as_myself=$0 ;;
53327 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53328 for as_dir in $PATH
53329 do
53330 IFS=$as_save_IFS
53331 test -z "$as_dir" && as_dir=.
53332 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53333 done
53334 IFS=$as_save_IFS
53335
53336 ;;
53337 esac
53338 # We did not find ourselves, most probably we were run as `sh COMMAND'
53339 # in which case we are not to be found in the path.
53340 if test "x$as_myself" = x; then
53341 as_myself=$0
53342 fi
53343 if test ! -f "$as_myself"; then
53344 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53345 { (exit 1); exit 1; }
53346 fi
53347
53348 # Work around bugs in pre-3.0 UWIN ksh.
53349 for as_var in ENV MAIL MAILPATH
53350 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53351 done
53352 PS1='$ '
53353 PS2='> '
53354 PS4='+ '
53355
53356 # NLS nuisances.
53357 for as_var in \
53358 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53359 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53360 LC_TELEPHONE LC_TIME
53361 do
53362 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53363 eval $as_var=C; export $as_var
53364 else
53365 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53366 fi
53367 done
53368
53369 # Required to use basename.
53370 if expr a : '\(a\)' >/dev/null 2>&1 &&
53371 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53372 as_expr=expr
53373 else
53374 as_expr=false
53375 fi
53376
53377 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53378 as_basename=basename
53379 else
53380 as_basename=false
53381 fi
53382
53383
53384 # Name of the executable.
53385 as_me=`$as_basename -- "$0" ||
53386 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53387 X"$0" : 'X\(//\)$' \| \
53388 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53389 echo X/"$0" |
53390 sed '/^.*\/\([^/][^/]*\)\/*$/{
53391 s//\1/
53392 q
53393 }
53394 /^X\/\(\/\/\)$/{
53395 s//\1/
53396 q
53397 }
53398 /^X\/\(\/\).*/{
53399 s//\1/
53400 q
53401 }
53402 s/.*/./; q'`
53403
53404 # CDPATH.
53405 $as_unset CDPATH
53406
53407
53408
53409 as_lineno_1=$LINENO
53410 as_lineno_2=$LINENO
53411 test "x$as_lineno_1" != "x$as_lineno_2" &&
53412 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53413
53414 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53415 # uniformly replaced by the line number. The first 'sed' inserts a
53416 # line-number line after each line using $LINENO; the second 'sed'
53417 # does the real work. The second script uses 'N' to pair each
53418 # line-number line with the line containing $LINENO, and appends
53419 # trailing '-' during substitution so that $LINENO is not a special
53420 # case at line end.
53421 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53422 # scripts with optimization help from Paolo Bonzini. Blame Lee
53423 # E. McMahon (1931-1989) for sed's syntax. :-)
53424 sed -n '
53425 p
53426 /[$]LINENO/=
53427 ' <$as_myself |
53428 sed '
53429 s/[$]LINENO.*/&-/
53430 t lineno
53431 b
53432 :lineno
53433 N
53434 :loop
53435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53436 t loop
53437 s/-\n.*//
53438 ' >$as_me.lineno &&
53439 chmod +x "$as_me.lineno" ||
53440 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53441 { (exit 1); exit 1; }; }
53442
53443 # Don't try to exec as it changes $[0], causing all sort of problems
53444 # (the dirname of $[0] is not the place where we might find the
53445 # original and so on. Autoconf is especially sensitive to this).
53446 . "./$as_me.lineno"
53447 # Exit status is that of the last command.
53448 exit
53449 }
53450
53451
53452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53453 as_dirname=dirname
53454 else
53455 as_dirname=false
53456 fi
53457
53458 ECHO_C= ECHO_N= ECHO_T=
53459 case `echo -n x` in
53460 -n*)
53461 case `echo 'x\c'` in
53462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53463 *) ECHO_C='\c';;
53464 esac;;
53465 *)
53466 ECHO_N='-n';;
53467 esac
53468
53469 if expr a : '\(a\)' >/dev/null 2>&1 &&
53470 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53471 as_expr=expr
53472 else
53473 as_expr=false
53474 fi
53475
53476 rm -f conf$$ conf$$.exe conf$$.file
53477 if test -d conf$$.dir; then
53478 rm -f conf$$.dir/conf$$.file
53479 else
53480 rm -f conf$$.dir
53481 mkdir conf$$.dir
53482 fi
53483 echo >conf$$.file
53484 if ln -s conf$$.file conf$$ 2>/dev/null; then
53485 as_ln_s='ln -s'
53486 # ... but there are two gotchas:
53487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53489 # In both cases, we have to default to `cp -p'.
53490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53491 as_ln_s='cp -p'
53492 elif ln conf$$.file conf$$ 2>/dev/null; then
53493 as_ln_s=ln
53494 else
53495 as_ln_s='cp -p'
53496 fi
53497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53498 rmdir conf$$.dir 2>/dev/null
53499
53500 if mkdir -p . 2>/dev/null; then
53501 as_mkdir_p=:
53502 else
53503 test -d ./-p && rmdir ./-p
53504 as_mkdir_p=false
53505 fi
53506
53507 if test -x / >/dev/null 2>&1; then
53508 as_test_x='test -x'
53509 else
53510 if ls -dL / >/dev/null 2>&1; then
53511 as_ls_L_option=L
53512 else
53513 as_ls_L_option=
53514 fi
53515 as_test_x='
53516 eval sh -c '\''
53517 if test -d "$1"; then
53518 test -d "$1/.";
53519 else
53520 case $1 in
53521 -*)set "./$1";;
53522 esac;
53523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53524 ???[sx]*):;;*)false;;esac;fi
53525 '\'' sh
53526 '
53527 fi
53528 as_executable_p=$as_test_x
53529
53530 # Sed expression to map a string onto a valid CPP name.
53531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53532
53533 # Sed expression to map a string onto a valid variable name.
53534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53535
53536
53537 exec 6>&1
53538
53539 # Save the log message, to keep $[0] and so on meaningful, and to
53540 # report actual input values of CONFIG_FILES etc. instead of their
53541 # values after options handling.
53542 ac_log="
53543 This file was extended by wxWidgets $as_me 2.9.3, which was
53544 generated by GNU Autoconf 2.61. Invocation command line was
53545
53546 CONFIG_FILES = $CONFIG_FILES
53547 CONFIG_HEADERS = $CONFIG_HEADERS
53548 CONFIG_LINKS = $CONFIG_LINKS
53549 CONFIG_COMMANDS = $CONFIG_COMMANDS
53550 $ $0 $@
53551
53552 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53553 "
53554
53555 _ACEOF
53556
53557 cat >>$CONFIG_STATUS <<_ACEOF
53558 # Files that config.status was made for.
53559 config_files="$ac_config_files"
53560 config_headers="$ac_config_headers"
53561 config_commands="$ac_config_commands"
53562
53563 _ACEOF
53564
53565 cat >>$CONFIG_STATUS <<\_ACEOF
53566 ac_cs_usage="\
53567 \`$as_me' instantiates files from templates according to the
53568 current configuration.
53569
53570 Usage: $0 [OPTIONS] [FILE]...
53571
53572 -h, --help print this help, then exit
53573 -V, --version print version number and configuration settings, then exit
53574 -q, --quiet do not print progress messages
53575 -d, --debug don't remove temporary files
53576 --recheck update $as_me by reconfiguring in the same conditions
53577 --file=FILE[:TEMPLATE]
53578 instantiate the configuration file FILE
53579 --header=FILE[:TEMPLATE]
53580 instantiate the configuration header FILE
53581
53582 Configuration files:
53583 $config_files
53584
53585 Configuration headers:
53586 $config_headers
53587
53588 Configuration commands:
53589 $config_commands
53590
53591 Report bugs to <bug-autoconf@gnu.org>."
53592
53593 _ACEOF
53594 cat >>$CONFIG_STATUS <<_ACEOF
53595 ac_cs_version="\\
53596 wxWidgets config.status 2.9.3
53597 configured by $0, generated by GNU Autoconf 2.61,
53598 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53599
53600 Copyright (C) 2006 Free Software Foundation, Inc.
53601 This config.status script is free software; the Free Software Foundation
53602 gives unlimited permission to copy, distribute and modify it."
53603
53604 ac_pwd='$ac_pwd'
53605 srcdir='$srcdir'
53606 INSTALL='$INSTALL'
53607 _ACEOF
53608
53609 cat >>$CONFIG_STATUS <<\_ACEOF
53610 # If no file are specified by the user, then we need to provide default
53611 # value. By we need to know if files were specified by the user.
53612 ac_need_defaults=:
53613 while test $# != 0
53614 do
53615 case $1 in
53616 --*=*)
53617 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53618 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53619 ac_shift=:
53620 ;;
53621 *)
53622 ac_option=$1
53623 ac_optarg=$2
53624 ac_shift=shift
53625 ;;
53626 esac
53627
53628 case $ac_option in
53629 # Handling of the options.
53630 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53631 ac_cs_recheck=: ;;
53632 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53633 echo "$ac_cs_version"; exit ;;
53634 --debug | --debu | --deb | --de | --d | -d )
53635 debug=: ;;
53636 --file | --fil | --fi | --f )
53637 $ac_shift
53638 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53639 ac_need_defaults=false;;
53640 --header | --heade | --head | --hea )
53641 $ac_shift
53642 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53643 ac_need_defaults=false;;
53644 --he | --h)
53645 # Conflict between --help and --header
53646 { echo "$as_me: error: ambiguous option: $1
53647 Try \`$0 --help' for more information." >&2
53648 { (exit 1); exit 1; }; };;
53649 --help | --hel | -h )
53650 echo "$ac_cs_usage"; exit ;;
53651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53652 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53653 ac_cs_silent=: ;;
53654
53655 # This is an error.
53656 -*) { echo "$as_me: error: unrecognized option: $1
53657 Try \`$0 --help' for more information." >&2
53658 { (exit 1); exit 1; }; } ;;
53659
53660 *) ac_config_targets="$ac_config_targets $1"
53661 ac_need_defaults=false ;;
53662
53663 esac
53664 shift
53665 done
53666
53667 ac_configure_extra_args=
53668
53669 if $ac_cs_silent; then
53670 exec 6>/dev/null
53671 ac_configure_extra_args="$ac_configure_extra_args --silent"
53672 fi
53673
53674 _ACEOF
53675 cat >>$CONFIG_STATUS <<_ACEOF
53676 if \$ac_cs_recheck; then
53677 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53678 CONFIG_SHELL=$SHELL
53679 export CONFIG_SHELL
53680 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53681 fi
53682
53683 _ACEOF
53684 cat >>$CONFIG_STATUS <<\_ACEOF
53685 exec 5>>config.log
53686 {
53687 echo
53688 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53689 ## Running $as_me. ##
53690 _ASBOX
53691 echo "$ac_log"
53692 } >&5
53693
53694 _ACEOF
53695 cat >>$CONFIG_STATUS <<_ACEOF
53696 #
53697 # INIT-COMMANDS
53698 #
53699
53700 CPP="$CPP"
53701 infile="$srcdir/include/wx/msw/genrcdefs.h"
53702 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53703
53704
53705 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53706 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53707 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53708 LN_S="${LN_S}"
53709
53710
53711 _ACEOF
53712
53713 cat >>$CONFIG_STATUS <<\_ACEOF
53714
53715 # Handling of arguments.
53716 for ac_config_target in $ac_config_targets
53717 do
53718 case $ac_config_target in
53719 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53720 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53721 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53722 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53723 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53724 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53725 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53726 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53727 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53728
53729 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53730 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53731 { (exit 1); exit 1; }; };;
53732 esac
53733 done
53734
53735
53736 # If the user did not use the arguments to specify the items to instantiate,
53737 # then the envvar interface is used. Set only those that are not.
53738 # We use the long form for the default assignment because of an extremely
53739 # bizarre bug on SunOS 4.1.3.
53740 if $ac_need_defaults; then
53741 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53742 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53743 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53744 fi
53745
53746 # Have a temporary directory for convenience. Make it in the build tree
53747 # simply because there is no reason against having it here, and in addition,
53748 # creating and moving files from /tmp can sometimes cause problems.
53749 # Hook for its removal unless debugging.
53750 # Note that there is a small window in which the directory will not be cleaned:
53751 # after its creation but before its name has been assigned to `$tmp'.
53752 $debug ||
53753 {
53754 tmp=
53755 trap 'exit_status=$?
53756 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53757 ' 0
53758 trap '{ (exit 1); exit 1; }' 1 2 13 15
53759 }
53760 # Create a (secure) tmp directory for tmp files.
53761
53762 {
53763 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53764 test -n "$tmp" && test -d "$tmp"
53765 } ||
53766 {
53767 tmp=./conf$$-$RANDOM
53768 (umask 077 && mkdir "$tmp")
53769 } ||
53770 {
53771 echo "$me: cannot create a temporary directory in ." >&2
53772 { (exit 1); exit 1; }
53773 }
53774
53775 #
53776 # Set up the sed scripts for CONFIG_FILES section.
53777 #
53778
53779 # No need to generate the scripts if there are no CONFIG_FILES.
53780 # This happens for instance when ./config.status config.h
53781 if test -n "$CONFIG_FILES"; then
53782
53783 _ACEOF
53784
53785
53786
53787 ac_delim='%!_!# '
53788 for ac_last_try in false false false false false :; do
53789 cat >conf$$subs.sed <<_ACEOF
53790 SHELL!$SHELL$ac_delim
53791 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53792 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53793 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53794 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53795 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53796 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53797 exec_prefix!$exec_prefix$ac_delim
53798 prefix!$prefix$ac_delim
53799 program_transform_name!$program_transform_name$ac_delim
53800 bindir!$bindir$ac_delim
53801 sbindir!$sbindir$ac_delim
53802 libexecdir!$libexecdir$ac_delim
53803 datarootdir!$datarootdir$ac_delim
53804 datadir!$datadir$ac_delim
53805 sysconfdir!$sysconfdir$ac_delim
53806 sharedstatedir!$sharedstatedir$ac_delim
53807 localstatedir!$localstatedir$ac_delim
53808 includedir!$includedir$ac_delim
53809 oldincludedir!$oldincludedir$ac_delim
53810 docdir!$docdir$ac_delim
53811 infodir!$infodir$ac_delim
53812 htmldir!$htmldir$ac_delim
53813 dvidir!$dvidir$ac_delim
53814 pdfdir!$pdfdir$ac_delim
53815 psdir!$psdir$ac_delim
53816 libdir!$libdir$ac_delim
53817 localedir!$localedir$ac_delim
53818 mandir!$mandir$ac_delim
53819 DEFS!$DEFS$ac_delim
53820 ECHO_C!$ECHO_C$ac_delim
53821 ECHO_N!$ECHO_N$ac_delim
53822 ECHO_T!$ECHO_T$ac_delim
53823 LIBS!$LIBS$ac_delim
53824 build_alias!$build_alias$ac_delim
53825 host_alias!$host_alias$ac_delim
53826 target_alias!$target_alias$ac_delim
53827 build!$build$ac_delim
53828 build_cpu!$build_cpu$ac_delim
53829 build_vendor!$build_vendor$ac_delim
53830 build_os!$build_os$ac_delim
53831 host!$host$ac_delim
53832 host_cpu!$host_cpu$ac_delim
53833 host_vendor!$host_vendor$ac_delim
53834 host_os!$host_os$ac_delim
53835 wx_top_builddir!$wx_top_builddir$ac_delim
53836 CC!$CC$ac_delim
53837 CFLAGS!$CFLAGS$ac_delim
53838 LDFLAGS!$LDFLAGS$ac_delim
53839 CPPFLAGS!$CPPFLAGS$ac_delim
53840 ac_ct_CC!$ac_ct_CC$ac_delim
53841 EXEEXT!$EXEEXT$ac_delim
53842 OBJEXT!$OBJEXT$ac_delim
53843 CPP!$CPP$ac_delim
53844 GREP!$GREP$ac_delim
53845 EGREP!$EGREP$ac_delim
53846 CXX!$CXX$ac_delim
53847 CXXFLAGS!$CXXFLAGS$ac_delim
53848 ac_ct_CXX!$ac_ct_CXX$ac_delim
53849 AR!$AR$ac_delim
53850 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53851 CXXCPP!$CXXCPP$ac_delim
53852 subdirs!$subdirs$ac_delim
53853 PKG_CONFIG!$PKG_CONFIG$ac_delim
53854 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53855 GTK_LIBS!$GTK_LIBS$ac_delim
53856 GTK_CONFIG!$GTK_CONFIG$ac_delim
53857 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53858 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53859 XMKMF!$XMKMF$ac_delim
53860 X_CFLAGS!$X_CFLAGS$ac_delim
53861 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53862 X_LIBS!$X_LIBS$ac_delim
53863 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53864 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53865 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53866 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53867 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53868 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53869 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53870 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53871 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53872 LIBICONV!$LIBICONV$ac_delim
53873 GXX_VERSION!$GXX_VERSION$ac_delim
53874 SDL_CONFIG!$SDL_CONFIG$ac_delim
53875 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53876 SDL_LIBS!$SDL_LIBS$ac_delim
53877 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53878 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53879 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53880 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53881 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53882 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53883 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53884 HILDON_LIBS!$HILDON_LIBS$ac_delim
53885 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53886 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53887 _ACEOF
53888
53889 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53890 break
53891 elif $ac_last_try; then
53892 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53893 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53894 { (exit 1); exit 1; }; }
53895 else
53896 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53897 fi
53898 done
53899
53900 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53901 if test -n "$ac_eof"; then
53902 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53903 ac_eof=`expr $ac_eof + 1`
53904 fi
53905
53906 cat >>$CONFIG_STATUS <<_ACEOF
53907 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53908 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53909 _ACEOF
53910 sed '
53911 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53912 s/^/s,@/; s/!/@,|#_!!_#|/
53913 :n
53914 t n
53915 s/'"$ac_delim"'$/,g/; t
53916 s/$/\\/; p
53917 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53918 ' >>$CONFIG_STATUS <conf$$subs.sed
53919 rm -f conf$$subs.sed
53920 cat >>$CONFIG_STATUS <<_ACEOF
53921 CEOF$ac_eof
53922 _ACEOF
53923
53924
53925 ac_delim='%!_!# '
53926 for ac_last_try in false false false false false :; do
53927 cat >conf$$subs.sed <<_ACEOF
53928 PYTHON!$PYTHON$ac_delim
53929 COND_PYTHON!$COND_PYTHON$ac_delim
53930 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53931 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53932 GST_CFLAGS!$GST_CFLAGS$ac_delim
53933 GST_LIBS!$GST_LIBS$ac_delim
53934 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53935 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53936 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53937 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53938 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53939 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53940 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53941 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53942 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53943 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53944 VENDOR!$VENDOR$ac_delim
53945 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53946 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53947 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53948 WXUNIV!$WXUNIV$ac_delim
53949 MONOLITHIC!$MONOLITHIC$ac_delim
53950 USE_PLUGINS!$USE_PLUGINS$ac_delim
53951 CXXWARNINGS!$CXXWARNINGS$ac_delim
53952 EXTRALIBS!$EXTRALIBS$ac_delim
53953 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53954 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53955 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53956 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53957 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53958 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53959 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53960 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53961 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53962 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53963 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53964 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53965 UNICODE!$UNICODE$ac_delim
53966 DEBUG_INFO!$DEBUG_INFO$ac_delim
53967 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53968 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53969 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53970 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53971 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53972 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53973 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53974 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53975 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53976 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53977 RANLIB!$RANLIB$ac_delim
53978 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53979 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53980 INSTALL_DATA!$INSTALL_DATA$ac_delim
53981 LN_S!$LN_S$ac_delim
53982 SET_MAKE!$SET_MAKE$ac_delim
53983 MAKE_SET!$MAKE_SET$ac_delim
53984 AROPTIONS!$AROPTIONS$ac_delim
53985 STRIP!$STRIP$ac_delim
53986 NM!$NM$ac_delim
53987 INSTALL_DIR!$INSTALL_DIR$ac_delim
53988 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53989 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53990 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53991 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53992 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53993 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53994 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53995 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53996 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53997 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53998 SO_SUFFIX!$SO_SUFFIX$ac_delim
53999 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54000 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54001 LIBPREFIX!$LIBPREFIX$ac_delim
54002 LIBEXT!$LIBEXT$ac_delim
54003 DLLPREFIX!$DLLPREFIX$ac_delim
54004 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54005 dlldir!$dlldir$ac_delim
54006 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54007 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54008 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54009 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54010 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54011 PIC_FLAG!$PIC_FLAG$ac_delim
54012 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54013 USE_SOVERSION!$USE_SOVERSION$ac_delim
54014 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54015 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54016 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54017 USE_MACVERSION!$USE_MACVERSION$ac_delim
54018 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54019 SONAME_FLAG!$SONAME_FLAG$ac_delim
54020 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54021 BK_DEPS!$BK_DEPS$ac_delim
54022 WINDRES!$WINDRES$ac_delim
54023 REZ!$REZ$ac_delim
54024 SETFILE!$SETFILE$ac_delim
54025 _ACEOF
54026
54027 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54028 break
54029 elif $ac_last_try; then
54030 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54031 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54032 { (exit 1); exit 1; }; }
54033 else
54034 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54035 fi
54036 done
54037
54038 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54039 if test -n "$ac_eof"; then
54040 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54041 ac_eof=`expr $ac_eof + 1`
54042 fi
54043
54044 cat >>$CONFIG_STATUS <<_ACEOF
54045 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54047 _ACEOF
54048 sed '
54049 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54050 s/^/s,@/; s/!/@,|#_!!_#|/
54051 :n
54052 t n
54053 s/'"$ac_delim"'$/,g/; t
54054 s/$/\\/; p
54055 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54056 ' >>$CONFIG_STATUS <conf$$subs.sed
54057 rm -f conf$$subs.sed
54058 cat >>$CONFIG_STATUS <<_ACEOF
54059 CEOF$ac_eof
54060 _ACEOF
54061
54062
54063 ac_delim='%!_!# '
54064 for ac_last_try in false false false false false :; do
54065 cat >conf$$subs.sed <<_ACEOF
54066 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54067 GCC_PCH!$GCC_PCH$ac_delim
54068 ICC_PCH!$ICC_PCH$ac_delim
54069 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54070 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54071 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54072 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54073 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54074 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54075 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54076 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54077 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54078 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54079 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54080 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54081 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54082 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54083 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54084 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54085 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54086 COND_BUILD_release!$COND_BUILD_release$ac_delim
54087 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54088 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54089 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54090 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54091 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54092 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54093 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54094 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54095 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54096 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54097 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54098 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54099 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54100 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54101 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54103 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54105 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54106 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54107 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54108 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54109 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54110 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54111 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54112 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54113 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54114 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54115 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54116 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54117 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54118 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54119 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54120 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54121 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54122 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54123 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54124 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54125 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54126 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54127 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54128 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54129 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54130 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54131 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54132 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54133 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54134 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54135 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54136 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54137 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54138 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54139 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54140 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54141 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54142 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54143 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
54144 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54145 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54146 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54147 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54148 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54149 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54150 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54151 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54152 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54153 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54154 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54155 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54156 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54157 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54158 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54159 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54160 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54161 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54162 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54163 _ACEOF
54164
54165 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54166 break
54167 elif $ac_last_try; then
54168 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54169 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54170 { (exit 1); exit 1; }; }
54171 else
54172 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54173 fi
54174 done
54175
54176 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54177 if test -n "$ac_eof"; then
54178 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54179 ac_eof=`expr $ac_eof + 1`
54180 fi
54181
54182 cat >>$CONFIG_STATUS <<_ACEOF
54183 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54185 _ACEOF
54186 sed '
54187 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54188 s/^/s,@/; s/!/@,|#_!!_#|/
54189 :n
54190 t n
54191 s/'"$ac_delim"'$/,g/; t
54192 s/$/\\/; p
54193 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54194 ' >>$CONFIG_STATUS <conf$$subs.sed
54195 rm -f conf$$subs.sed
54196 cat >>$CONFIG_STATUS <<_ACEOF
54197 CEOF$ac_eof
54198 _ACEOF
54199
54200
54201 ac_delim='%!_!# '
54202 for ac_last_try in false false false false false :; do
54203 cat >conf$$subs.sed <<_ACEOF
54204 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54205 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54206 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54207 COND_SHARED_0!$COND_SHARED_0$ac_delim
54208 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54209 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54210 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54211 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54212 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54213 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54214 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54215 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54216 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54217 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54218 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54219 COND_SHARED_1!$COND_SHARED_1$ac_delim
54220 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54221 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54222 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54223 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54224 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54225 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54226 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54227 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54231 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54232 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54234 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54235 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54236 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54237 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54238 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54239 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54240 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54241 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54242 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54243 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54244 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54245 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54246 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54247 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54248 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54249 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54250 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54251 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54252 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54253 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54254 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54255 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54256 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54257 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54258 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54259 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54260 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54261 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54262 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54263 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54264 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54265 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54266 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54267 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54268 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54269 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54270 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54271 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54272 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54273 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54274 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54275 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54276 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54277 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54278 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54279 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54280 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54281 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54282 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54283 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54284 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54285 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54286 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54287 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54288 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54289 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54290 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54291 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54292 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54293 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54294 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54295 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54296 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54297 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54298 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54299 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54300 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54301 _ACEOF
54302
54303 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54304 break
54305 elif $ac_last_try; then
54306 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54307 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54308 { (exit 1); exit 1; }; }
54309 else
54310 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54311 fi
54312 done
54313
54314 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54315 if test -n "$ac_eof"; then
54316 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54317 ac_eof=`expr $ac_eof + 1`
54318 fi
54319
54320 cat >>$CONFIG_STATUS <<_ACEOF
54321 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54322 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54323 _ACEOF
54324 sed '
54325 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54326 s/^/s,@/; s/!/@,|#_!!_#|/
54327 :n
54328 t n
54329 s/'"$ac_delim"'$/,g/; t
54330 s/$/\\/; p
54331 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54332 ' >>$CONFIG_STATUS <conf$$subs.sed
54333 rm -f conf$$subs.sed
54334 cat >>$CONFIG_STATUS <<_ACEOF
54335 CEOF$ac_eof
54336 _ACEOF
54337
54338
54339 ac_delim='%!_!# '
54340 for ac_last_try in false false false false false :; do
54341 cat >conf$$subs.sed <<_ACEOF
54342 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54343 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54344 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54345 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54346 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54347 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54348 DEREZ!$DEREZ$ac_delim
54349 SHARED!$SHARED$ac_delim
54350 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54351 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54352 USE_GUI!$USE_GUI$ac_delim
54353 AFMINSTALL!$AFMINSTALL$ac_delim
54354 WIN32INSTALL!$WIN32INSTALL$ac_delim
54355 TOOLKIT!$TOOLKIT$ac_delim
54356 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54357 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54358 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54359 cross_compiling!$cross_compiling$ac_delim
54360 WIDGET_SET!$WIDGET_SET$ac_delim
54361 WX_RELEASE!$WX_RELEASE$ac_delim
54362 WX_VERSION!$WX_VERSION$ac_delim
54363 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54364 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54365 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54366 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54367 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54368 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54369 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54370 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54371 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54372 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54373 GUIDIST!$GUIDIST$ac_delim
54374 DISTDIR!$DISTDIR$ac_delim
54375 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54376 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54377 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54378 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54379 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54380 RESCOMP!$RESCOMP$ac_delim
54381 RESFLAGS!$RESFLAGS$ac_delim
54382 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54383 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54384 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54385 LIBWXMACRES!$LIBWXMACRES$ac_delim
54386 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54387 MACSETFILE!$MACSETFILE$ac_delim
54388 GCC!$GCC$ac_delim
54389 DLLTOOL!$DLLTOOL$ac_delim
54390 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54391 LIBOBJS!$LIBOBJS$ac_delim
54392 LTLIBOBJS!$LTLIBOBJS$ac_delim
54393 _ACEOF
54394
54395 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54396 break
54397 elif $ac_last_try; then
54398 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54399 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54400 { (exit 1); exit 1; }; }
54401 else
54402 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54403 fi
54404 done
54405
54406 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54407 if test -n "$ac_eof"; then
54408 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54409 ac_eof=`expr $ac_eof + 1`
54410 fi
54411
54412 cat >>$CONFIG_STATUS <<_ACEOF
54413 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54414 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54415 _ACEOF
54416 sed '
54417 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54418 s/^/s,@/; s/!/@,|#_!!_#|/
54419 :n
54420 t n
54421 s/'"$ac_delim"'$/,g/; t
54422 s/$/\\/; p
54423 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54424 ' >>$CONFIG_STATUS <conf$$subs.sed
54425 rm -f conf$$subs.sed
54426 cat >>$CONFIG_STATUS <<_ACEOF
54427 :end
54428 s/|#_!!_#|//g
54429 CEOF$ac_eof
54430 _ACEOF
54431
54432
54433 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54434 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54435 # trailing colons and then remove the whole line if VPATH becomes empty
54436 # (actually we leave an empty line to preserve line numbers).
54437 if test "x$srcdir" = x.; then
54438 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54439 s/:*\$(srcdir):*/:/
54440 s/:*\${srcdir}:*/:/
54441 s/:*@srcdir@:*/:/
54442 s/^\([^=]*=[ ]*\):*/\1/
54443 s/:*$//
54444 s/^[^=]*=[ ]*$//
54445 }'
54446 fi
54447
54448 cat >>$CONFIG_STATUS <<\_ACEOF
54449 fi # test -n "$CONFIG_FILES"
54450
54451
54452 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54453 do
54454 case $ac_tag in
54455 :[FHLC]) ac_mode=$ac_tag; continue;;
54456 esac
54457 case $ac_mode$ac_tag in
54458 :[FHL]*:*);;
54459 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54460 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54461 { (exit 1); exit 1; }; };;
54462 :[FH]-) ac_tag=-:-;;
54463 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54464 esac
54465 ac_save_IFS=$IFS
54466 IFS=:
54467 set x $ac_tag
54468 IFS=$ac_save_IFS
54469 shift
54470 ac_file=$1
54471 shift
54472
54473 case $ac_mode in
54474 :L) ac_source=$1;;
54475 :[FH])
54476 ac_file_inputs=
54477 for ac_f
54478 do
54479 case $ac_f in
54480 -) ac_f="$tmp/stdin";;
54481 *) # Look for the file first in the build tree, then in the source tree
54482 # (if the path is not absolute). The absolute path cannot be DOS-style,
54483 # because $ac_f cannot contain `:'.
54484 test -f "$ac_f" ||
54485 case $ac_f in
54486 [\\/$]*) false;;
54487 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54488 esac ||
54489 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54490 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54491 { (exit 1); exit 1; }; };;
54492 esac
54493 ac_file_inputs="$ac_file_inputs $ac_f"
54494 done
54495
54496 # Let's still pretend it is `configure' which instantiates (i.e., don't
54497 # use $as_me), people would be surprised to read:
54498 # /* config.h. Generated by config.status. */
54499 configure_input="Generated from "`IFS=:
54500 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54501 if test x"$ac_file" != x-; then
54502 configure_input="$ac_file. $configure_input"
54503 { echo "$as_me:$LINENO: creating $ac_file" >&5
54504 echo "$as_me: creating $ac_file" >&6;}
54505 fi
54506
54507 case $ac_tag in
54508 *:-:* | *:-) cat >"$tmp/stdin";;
54509 esac
54510 ;;
54511 esac
54512
54513 ac_dir=`$as_dirname -- "$ac_file" ||
54514 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54515 X"$ac_file" : 'X\(//\)[^/]' \| \
54516 X"$ac_file" : 'X\(//\)$' \| \
54517 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54518 echo X"$ac_file" |
54519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54520 s//\1/
54521 q
54522 }
54523 /^X\(\/\/\)[^/].*/{
54524 s//\1/
54525 q
54526 }
54527 /^X\(\/\/\)$/{
54528 s//\1/
54529 q
54530 }
54531 /^X\(\/\).*/{
54532 s//\1/
54533 q
54534 }
54535 s/.*/./; q'`
54536 { as_dir="$ac_dir"
54537 case $as_dir in #(
54538 -*) as_dir=./$as_dir;;
54539 esac
54540 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54541 as_dirs=
54542 while :; do
54543 case $as_dir in #(
54544 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54545 *) as_qdir=$as_dir;;
54546 esac
54547 as_dirs="'$as_qdir' $as_dirs"
54548 as_dir=`$as_dirname -- "$as_dir" ||
54549 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54550 X"$as_dir" : 'X\(//\)[^/]' \| \
54551 X"$as_dir" : 'X\(//\)$' \| \
54552 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54553 echo X"$as_dir" |
54554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54555 s//\1/
54556 q
54557 }
54558 /^X\(\/\/\)[^/].*/{
54559 s//\1/
54560 q
54561 }
54562 /^X\(\/\/\)$/{
54563 s//\1/
54564 q
54565 }
54566 /^X\(\/\).*/{
54567 s//\1/
54568 q
54569 }
54570 s/.*/./; q'`
54571 test -d "$as_dir" && break
54572 done
54573 test -z "$as_dirs" || eval "mkdir $as_dirs"
54574 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54575 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54576 { (exit 1); exit 1; }; }; }
54577 ac_builddir=.
54578
54579 case "$ac_dir" in
54580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54581 *)
54582 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54583 # A ".." for each directory in $ac_dir_suffix.
54584 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54585 case $ac_top_builddir_sub in
54586 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54587 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54588 esac ;;
54589 esac
54590 ac_abs_top_builddir=$ac_pwd
54591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54592 # for backward compatibility:
54593 ac_top_builddir=$ac_top_build_prefix
54594
54595 case $srcdir in
54596 .) # We are building in place.
54597 ac_srcdir=.
54598 ac_top_srcdir=$ac_top_builddir_sub
54599 ac_abs_top_srcdir=$ac_pwd ;;
54600 [\\/]* | ?:[\\/]* ) # Absolute name.
54601 ac_srcdir=$srcdir$ac_dir_suffix;
54602 ac_top_srcdir=$srcdir
54603 ac_abs_top_srcdir=$srcdir ;;
54604 *) # Relative name.
54605 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54606 ac_top_srcdir=$ac_top_build_prefix$srcdir
54607 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54608 esac
54609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54610
54611
54612 case $ac_mode in
54613 :F)
54614 #
54615 # CONFIG_FILE
54616 #
54617
54618 case $INSTALL in
54619 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54620 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54621 esac
54622 _ACEOF
54623
54624 cat >>$CONFIG_STATUS <<\_ACEOF
54625 # If the template does not know about datarootdir, expand it.
54626 # FIXME: This hack should be removed a few years after 2.60.
54627 ac_datarootdir_hack=; ac_datarootdir_seen=
54628
54629 case `sed -n '/datarootdir/ {
54630 p
54631 q
54632 }
54633 /@datadir@/p
54634 /@docdir@/p
54635 /@infodir@/p
54636 /@localedir@/p
54637 /@mandir@/p
54638 ' $ac_file_inputs` in
54639 *datarootdir*) ac_datarootdir_seen=yes;;
54640 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54641 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54642 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54643 _ACEOF
54644 cat >>$CONFIG_STATUS <<_ACEOF
54645 ac_datarootdir_hack='
54646 s&@datadir@&$datadir&g
54647 s&@docdir@&$docdir&g
54648 s&@infodir@&$infodir&g
54649 s&@localedir@&$localedir&g
54650 s&@mandir@&$mandir&g
54651 s&\\\${datarootdir}&$datarootdir&g' ;;
54652 esac
54653 _ACEOF
54654
54655 # Neutralize VPATH when `$srcdir' = `.'.
54656 # Shell code in configure.ac might set extrasub.
54657 # FIXME: do we really want to maintain this feature?
54658 cat >>$CONFIG_STATUS <<_ACEOF
54659 sed "$ac_vpsub
54660 $extrasub
54661 _ACEOF
54662 cat >>$CONFIG_STATUS <<\_ACEOF
54663 :t
54664 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54665 s&@configure_input@&$configure_input&;t t
54666 s&@top_builddir@&$ac_top_builddir_sub&;t t
54667 s&@srcdir@&$ac_srcdir&;t t
54668 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54669 s&@top_srcdir@&$ac_top_srcdir&;t t
54670 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54671 s&@builddir@&$ac_builddir&;t t
54672 s&@abs_builddir@&$ac_abs_builddir&;t t
54673 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54674 s&@INSTALL@&$ac_INSTALL&;t t
54675 $ac_datarootdir_hack
54676 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" | sed -f "$tmp/subs-5.sed" >$tmp/out
54677
54678 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54679 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54680 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54681 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54682 which seems to be undefined. Please make sure it is defined." >&5
54683 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54684 which seems to be undefined. Please make sure it is defined." >&2;}
54685
54686 rm -f "$tmp/stdin"
54687 case $ac_file in
54688 -) cat "$tmp/out"; rm -f "$tmp/out";;
54689 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54690 esac
54691 ;;
54692 :H)
54693 #
54694 # CONFIG_HEADER
54695 #
54696 _ACEOF
54697
54698 # Transform confdefs.h into a sed script `conftest.defines', that
54699 # substitutes the proper values into config.h.in to produce config.h.
54700 rm -f conftest.defines conftest.tail
54701 # First, append a space to every undef/define line, to ease matching.
54702 echo 's/$/ /' >conftest.defines
54703 # Then, protect against being on the right side of a sed subst, or in
54704 # an unquoted here document, in config.status. If some macros were
54705 # called several times there might be several #defines for the same
54706 # symbol, which is useless. But do not sort them, since the last
54707 # AC_DEFINE must be honored.
54708 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54709 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54710 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54711 # PARAMS is the parameter list in the macro definition--in most cases, it's
54712 # just an empty string.
54713 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54714 ac_dB='\\)[ (].*,\\1define\\2'
54715 ac_dC=' '
54716 ac_dD=' ,'
54717
54718 uniq confdefs.h |
54719 sed -n '
54720 t rset
54721 :rset
54722 s/^[ ]*#[ ]*define[ ][ ]*//
54723 t ok
54724 d
54725 :ok
54726 s/[\\&,]/\\&/g
54727 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54728 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54729 ' >>conftest.defines
54730
54731 # Remove the space that was appended to ease matching.
54732 # Then replace #undef with comments. This is necessary, for
54733 # example, in the case of _POSIX_SOURCE, which is predefined and required
54734 # on some systems where configure will not decide to define it.
54735 # (The regexp can be short, since the line contains either #define or #undef.)
54736 echo 's/ $//
54737 s,^[ #]*u.*,/* & */,' >>conftest.defines
54738
54739 # Break up conftest.defines:
54740 ac_max_sed_lines=50
54741
54742 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54743 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54744 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54745 # et cetera.
54746 ac_in='$ac_file_inputs'
54747 ac_out='"$tmp/out1"'
54748 ac_nxt='"$tmp/out2"'
54749
54750 while :
54751 do
54752 # Write a here document:
54753 cat >>$CONFIG_STATUS <<_ACEOF
54754 # First, check the format of the line:
54755 cat >"\$tmp/defines.sed" <<\\CEOF
54756 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54757 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54758 b
54759 :def
54760 _ACEOF
54761 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54762 echo 'CEOF
54763 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54764 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54765 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54766 grep . conftest.tail >/dev/null || break
54767 rm -f conftest.defines
54768 mv conftest.tail conftest.defines
54769 done
54770 rm -f conftest.defines conftest.tail
54771
54772 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54773 cat >>$CONFIG_STATUS <<\_ACEOF
54774 if test x"$ac_file" != x-; then
54775 echo "/* $configure_input */" >"$tmp/config.h"
54776 cat "$ac_result" >>"$tmp/config.h"
54777 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54778 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54779 echo "$as_me: $ac_file is unchanged" >&6;}
54780 else
54781 rm -f $ac_file
54782 mv "$tmp/config.h" $ac_file
54783 fi
54784 else
54785 echo "/* $configure_input */"
54786 cat "$ac_result"
54787 fi
54788 rm -f "$tmp/out12"
54789 ;;
54790
54791 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54792 echo "$as_me: executing $ac_file commands" >&6;}
54793 ;;
54794 esac
54795
54796
54797 case $ac_file$ac_mode in
54798 "rcdefs.h":C)
54799 mkdir -p $outdir &&
54800 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54801 ;;
54802 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54803 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54804 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54805 "wx-config":C) rm -f wx-config
54806 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54807 ;;
54808
54809 esac
54810 done # for ac_tag
54811
54812
54813 { (exit 0); exit 0; }
54814 _ACEOF
54815 chmod +x $CONFIG_STATUS
54816 ac_clean_files=$ac_clean_files_save
54817
54818
54819 # configure is writing to config.log, and then calls config.status.
54820 # config.status does its own redirection, appending to config.log.
54821 # Unfortunately, on DOS this fails, as config.log is still kept open
54822 # by configure, so config.status won't be able to write to it; its
54823 # output is simply discarded. So we exec the FD to /dev/null,
54824 # effectively closing config.log, so it can be properly (re)opened and
54825 # appended to by config.status. When coming back to configure, we
54826 # need to make the FD available again.
54827 if test "$no_create" != yes; then
54828 ac_cs_success=:
54829 ac_config_status_args=
54830 test "$silent" = yes &&
54831 ac_config_status_args="$ac_config_status_args --quiet"
54832 exec 5>/dev/null
54833 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54834 exec 5>>config.log
54835 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54836 # would make configure fail if this is the last instruction.
54837 $ac_cs_success || { (exit 1); exit 1; }
54838 fi
54839
54840 #
54841 # CONFIG_SUBDIRS section.
54842 #
54843 if test "$no_recursion" != yes; then
54844
54845 # Remove --cache-file and --srcdir arguments so they do not pile up.
54846 ac_sub_configure_args=
54847 ac_prev=
54848 eval "set x $ac_configure_args"
54849 shift
54850 for ac_arg
54851 do
54852 if test -n "$ac_prev"; then
54853 ac_prev=
54854 continue
54855 fi
54856 case $ac_arg in
54857 -cache-file | --cache-file | --cache-fil | --cache-fi \
54858 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54859 ac_prev=cache_file ;;
54860 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54861 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54862 | --c=*)
54863 ;;
54864 --config-cache | -C)
54865 ;;
54866 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54867 ac_prev=srcdir ;;
54868 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54869 ;;
54870 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54871 ac_prev=prefix ;;
54872 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54873 ;;
54874 *)
54875 case $ac_arg in
54876 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54877 esac
54878 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54879 esac
54880 done
54881
54882 # Always prepend --prefix to ensure using the same prefix
54883 # in subdir configurations.
54884 ac_arg="--prefix=$prefix"
54885 case $ac_arg in
54886 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54887 esac
54888 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54889
54890 # Pass --silent
54891 if test "$silent" = yes; then
54892 ac_sub_configure_args="--silent $ac_sub_configure_args"
54893 fi
54894
54895 ac_popdir=`pwd`
54896 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54897
54898 # Do not complain, so a configure script can configure whichever
54899 # parts of a large source tree are present.
54900 test -d "$srcdir/$ac_dir" || continue
54901
54902 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54903 echo "$as_me:$LINENO: $ac_msg" >&5
54904 echo "$ac_msg" >&6
54905 { as_dir="$ac_dir"
54906 case $as_dir in #(
54907 -*) as_dir=./$as_dir;;
54908 esac
54909 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54910 as_dirs=
54911 while :; do
54912 case $as_dir in #(
54913 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54914 *) as_qdir=$as_dir;;
54915 esac
54916 as_dirs="'$as_qdir' $as_dirs"
54917 as_dir=`$as_dirname -- "$as_dir" ||
54918 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54919 X"$as_dir" : 'X\(//\)[^/]' \| \
54920 X"$as_dir" : 'X\(//\)$' \| \
54921 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54922 echo X"$as_dir" |
54923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54924 s//\1/
54925 q
54926 }
54927 /^X\(\/\/\)[^/].*/{
54928 s//\1/
54929 q
54930 }
54931 /^X\(\/\/\)$/{
54932 s//\1/
54933 q
54934 }
54935 /^X\(\/\).*/{
54936 s//\1/
54937 q
54938 }
54939 s/.*/./; q'`
54940 test -d "$as_dir" && break
54941 done
54942 test -z "$as_dirs" || eval "mkdir $as_dirs"
54943 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54944 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54945 { (exit 1); exit 1; }; }; }
54946 ac_builddir=.
54947
54948 case "$ac_dir" in
54949 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54950 *)
54951 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54952 # A ".." for each directory in $ac_dir_suffix.
54953 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54954 case $ac_top_builddir_sub in
54955 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54956 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54957 esac ;;
54958 esac
54959 ac_abs_top_builddir=$ac_pwd
54960 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54961 # for backward compatibility:
54962 ac_top_builddir=$ac_top_build_prefix
54963
54964 case $srcdir in
54965 .) # We are building in place.
54966 ac_srcdir=.
54967 ac_top_srcdir=$ac_top_builddir_sub
54968 ac_abs_top_srcdir=$ac_pwd ;;
54969 [\\/]* | ?:[\\/]* ) # Absolute name.
54970 ac_srcdir=$srcdir$ac_dir_suffix;
54971 ac_top_srcdir=$srcdir
54972 ac_abs_top_srcdir=$srcdir ;;
54973 *) # Relative name.
54974 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54975 ac_top_srcdir=$ac_top_build_prefix$srcdir
54976 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54977 esac
54978 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54979
54980
54981 cd "$ac_dir"
54982
54983 # Check for guested configure; otherwise get Cygnus style configure.
54984 if test -f "$ac_srcdir/configure.gnu"; then
54985 ac_sub_configure=$ac_srcdir/configure.gnu
54986 elif test -f "$ac_srcdir/configure"; then
54987 ac_sub_configure=$ac_srcdir/configure
54988 elif test -f "$ac_srcdir/configure.in"; then
54989 # This should be Cygnus configure.
54990 ac_sub_configure=$ac_aux_dir/configure
54991 else
54992 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54993 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54994 ac_sub_configure=
54995 fi
54996
54997 # The recursion is here.
54998 if test -n "$ac_sub_configure"; then
54999 # Make the cache file name correct relative to the subdirectory.
55000 case $cache_file in
55001 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55002 *) # Relative name.
55003 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55004 esac
55005
55006 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55007 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55008 # The eval makes quoting arguments work.
55009 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55010 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55011 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55012 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55013 { (exit 1); exit 1; }; }
55014 fi
55015
55016 cd "$ac_popdir"
55017 done
55018 fi
55019
55020
55021 echo
55022 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55023 echo ""
55024 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55025 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55026 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55027 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55028 if test "$wxUSE_UNICODE" = "yes"; then
55029 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55030 echo " (using UTF-8)"
55031 else
55032 echo " (using wchar_t)"
55033 fi
55034 else
55035 echo
55036 fi
55037
55038 echo " What level of wxWidgets compatibility should be enabled?"
55039 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55040 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55041
55042 echo " Which libraries should wxWidgets use?"
55043 echo " STL ${wxUSE_STL}"
55044 echo " jpeg ${wxUSE_LIBJPEG-none}"
55045 echo " png ${wxUSE_LIBPNG-none}"
55046 echo " regex ${wxUSE_REGEX}"
55047 echo " tiff ${wxUSE_LIBTIFF-none}"
55048 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55049 echo " xpm ${wxUSE_LIBXPM-none}"
55050 fi
55051 echo " zlib ${wxUSE_ZLIB}"
55052 echo " expat ${wxUSE_EXPAT}"
55053 echo " libmspack ${wxUSE_LIBMSPACK}"
55054 echo " sdl ${wxUSE_LIBSDL}"
55055
55056 echo ""
55057