]> git.saurik.com Git - wxWidgets.git/blob - configure
Another German translation update from Herbert Breunung.
[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.1.
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.1'
579 PACKAGE_STRING='wxWidgets 2.9.1'
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 subdirs
681 PKG_CONFIG
682 GTK_CFLAGS
683 GTK_LIBS
684 GTK_CONFIG
685 DIRECTFB_CFLAGS
686 DIRECTFB_LIBS
687 XMKMF
688 X_CFLAGS
689 X_PRE_LIBS
690 X_LIBS
691 X_EXTRA_LIBS
692 PANGOX_CFLAGS
693 PANGOX_LIBS
694 PANGOFT2_CFLAGS
695 PANGOFT2_LIBS
696 PANGOXFT_CFLAGS
697 PANGOXFT_LIBS
698 CFLAGS_VISIBILITY
699 CXXFLAGS_VISIBILITY
700 LIBICONV
701 GXX_VERSION
702 SDL_CONFIG
703 SDL_CFLAGS
704 SDL_LIBS
705 GTKPRINT_CFLAGS
706 GTKPRINT_LIBS
707 LIBGNOMEPRINTUI_CFLAGS
708 LIBGNOMEPRINTUI_LIBS
709 GNOMEVFS_CFLAGS
710 GNOMEVFS_LIBS
711 HILDON_CFLAGS
712 HILDON_LIBS
713 HILDON2_CFLAGS
714 HILDON2_LIBS
715 PYTHON
716 COND_PYTHON
717 CAIRO_CFLAGS
718 CAIRO_LIBS
719 GST_CFLAGS
720 GST_LIBS
721 ALL_WX_LIBS
722 BUILT_WX_LIBS
723 STD_BASE_LIBS
724 STD_GUI_LIBS
725 wxUSE_ZLIB
726 wxUSE_REGEX
727 wxUSE_EXPAT
728 wxUSE_LIBJPEG
729 wxUSE_LIBPNG
730 wxUSE_LIBTIFF
731 VENDOR
732 OFFICIAL_BUILD
733 WX_FLAVOUR
734 WX_LIB_FLAVOUR
735 WXUNIV
736 MONOLITHIC
737 USE_PLUGINS
738 CXXWARNINGS
739 EXTRALIBS
740 EXTRALIBS_XML
741 EXTRALIBS_HTML
742 EXTRALIBS_MEDIA
743 EXTRALIBS_GUI
744 EXTRALIBS_OPENGL
745 EXTRALIBS_SDL
746 EXTRALIBS_STC
747 WITH_PLUGIN_SDL
748 EXTRALIBS_GTKPRINT
749 EXTRALIBS_GNOMEPRINT
750 EXTRALIBS_GNOMEVFS
751 EXTRALIBS_HILDON
752 UNICODE
753 DEBUG_INFO
754 DEBUG_FLAG
755 TOOLKIT_LOWERCASE
756 TOOLKIT_VERSION
757 DYLIB_RPATH_INSTALL
758 DYLIB_RPATH_POSTLINK
759 SAMPLES_RPATH_FLAG
760 HEADER_PAD_OPTION
761 HOST_SUFFIX
762 CPPUNIT_CFLAGS
763 CPPUNIT_LIBS
764 RANLIB
765 INSTALL_PROGRAM
766 INSTALL_SCRIPT
767 INSTALL_DATA
768 LN_S
769 SET_MAKE
770 MAKE_SET
771 AROPTIONS
772 STRIP
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 IF_GNU_MAKE
777 PLATFORM_UNIX
778 PLATFORM_WIN32
779 PLATFORM_MSDOS
780 PLATFORM_MAC
781 PLATFORM_MACOS
782 PLATFORM_MACOSX
783 PLATFORM_OS2
784 PLATFORM_BEOS
785 SO_SUFFIX
786 SO_SUFFIX_MODULE
787 DLLIMP_SUFFIX
788 LIBPREFIX
789 LIBEXT
790 DLLPREFIX
791 DLLPREFIX_MODULE
792 dlldir
793 AIX_CXX_LD
794 SHARED_LD_CC
795 SHARED_LD_CXX
796 SHARED_LD_MODULE_CC
797 SHARED_LD_MODULE_CXX
798 PIC_FLAG
799 WINDOWS_IMPLIB
800 USE_SOVERSION
801 USE_SOVERLINUX
802 USE_SOVERSOLARIS
803 USE_SOVERCYGWIN
804 USE_MACVERSION
805 USE_SOTWOSYMLINKS
806 SONAME_FLAG
807 DEPS_TRACKING
808 BK_DEPS
809 WINDRES
810 REZ
811 SETFILE
812 OBJCXXFLAGS
813 GCC_PCH
814 ICC_PCH
815 ICC_PCH_CREATE_SWITCH
816 ICC_PCH_USE_SWITCH
817 BK_MAKE_PCH
818 COND_BUILD_DEBUG
819 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
820 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
821 COND_BUILD_DEBUG_UNICODE_0
822 COND_BUILD_DEBUG_UNICODE_1
823 COND_BUILD_RELEASE
824 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
825 COND_BUILD_RELEASE_UNICODE_0
826 COND_BUILD_RELEASE_UNICODE_1
827 COND_BUILD_debug
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug_DEBUG_INFO_default
830 COND_BUILD_debug_UNICODE_0
831 COND_BUILD_debug_UNICODE_1
832 COND_BUILD_release
833 COND_BUILD_release_DEBUG_INFO_default
834 COND_BUILD_release_UNICODE_0
835 COND_BUILD_release_UNICODE_1
836 COND_DEBUG_FLAG_0
837 COND_DEBUG_FLAG_1
838 COND_DEBUG_INFO_0
839 COND_DEBUG_INFO_1
840 COND_DEPS_TRACKING_0
841 COND_DEPS_TRACKING_1
842 COND_GCC_PCH_1
843 COND_ICC_PCH_1
844 COND_MONOLITHIC_0
845 COND_MONOLITHIC_0_SHARED_0
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
855 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
856 COND_MONOLITHIC_0_SHARED_1
857 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
865 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
866 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
867 COND_MONOLITHIC_0_USE_AUI_1
868 COND_MONOLITHIC_0_USE_GUI_1
869 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
870 COND_MONOLITHIC_0_USE_HTML_1
871 COND_MONOLITHIC_0_USE_MEDIA_1
872 COND_MONOLITHIC_0_USE_PROPGRID_1
873 COND_MONOLITHIC_0_USE_QA_1
874 COND_MONOLITHIC_0_USE_RIBBON_1
875 COND_MONOLITHIC_0_USE_RICHTEXT_1
876 COND_MONOLITHIC_0_USE_STC_1
877 COND_MONOLITHIC_0_USE_XRC_1
878 COND_MONOLITHIC_1
879 COND_MONOLITHIC_1_SHARED_0
880 COND_MONOLITHIC_1_SHARED_1
881 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
882 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_1
886 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
887 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
892 COND_PLATFORM_MACOSX_1_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
894 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
895 COND_PLATFORM_MACOS_1
896 COND_PLATFORM_MAC_0
897 COND_PLATFORM_MAC_1
898 COND_PLATFORM_MSDOS_0
899 COND_PLATFORM_MSDOS_1
900 COND_PLATFORM_OS2_1
901 COND_PLATFORM_UNIX_0
902 COND_PLATFORM_UNIX_1
903 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
904 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
905 COND_PLATFORM_UNIX_1_USE_GUI_1
906 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
907 COND_PLATFORM_WIN32_0
908 COND_PLATFORM_WIN32_1
909 COND_PLATFORM_WIN32_1_SHARED_0
910 COND_SHARED_0
911 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
912 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
914 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
915 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
916 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
917 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
918 COND_SHARED_0_USE_STC_1
919 COND_SHARED_0_wxUSE_EXPAT_builtin
920 COND_SHARED_0_wxUSE_REGEX_builtin
921 COND_SHARED_0_wxUSE_ZLIB_builtin
922 COND_SHARED_1
923 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
924 COND_TOOLKIT_
925 COND_TOOLKIT_COCOA
926 COND_TOOLKIT_COCOA_USE_GUI_1
927 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_DFB
929 COND_TOOLKIT_DFB_USE_GUI_1
930 COND_TOOLKIT_GTK
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_GTK_USE_GUI_1
938 COND_TOOLKIT_MAC
939 COND_TOOLKIT_MGL
940 COND_TOOLKIT_MGL_USE_GUI_1
941 COND_TOOLKIT_MOTIF
942 COND_TOOLKIT_MOTIF_USE_GUI_1
943 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW
945 COND_TOOLKIT_MSW_USE_GUI_1
946 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW_WXUNIV_0
948 COND_TOOLKIT_OSX_CARBON
949 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
950 COND_TOOLKIT_OSX_COCOA
951 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
952 COND_TOOLKIT_OSX_IPHONE
953 COND_TOOLKIT_PM
954 COND_TOOLKIT_PM_USE_GUI_1
955 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE
957 COND_TOOLKIT_WINCE_USE_GUI_1
958 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_WINCE_WXUNIV_0
960 COND_TOOLKIT_X11
961 COND_TOOLKIT_X11_USE_GUI_1
962 COND_UNICODE_1
963 COND_USE_CAIRO_1
964 COND_USE_EXCEPTIONS_0
965 COND_USE_EXCEPTIONS_1
966 COND_USE_GUI_0
967 COND_USE_GUI_1
968 COND_USE_GUI_1_USE_OPENGL_1
969 COND_USE_GUI_1_WXUNIV_0
970 COND_USE_GUI_1_WXUNIV_1
971 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
972 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
973 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
974 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
975 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
976 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
977 COND_USE_OPENGL_1
978 COND_USE_PCH_1
979 COND_USE_PLUGINS_0
980 COND_USE_RTTI_0
981 COND_USE_RTTI_1
982 COND_USE_SOTWOSYMLINKS_1
983 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
984 COND_USE_SOVERLINUX_1
985 COND_USE_SOVERSION_0
986 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
987 COND_USE_SOVERSOLARIS_1
988 COND_USE_STC_1
989 COND_USE_THREADS_0
990 COND_USE_THREADS_1
991 COND_USE_XRC_1
992 COND_WINDOWS_IMPLIB_1
993 COND_WITH_PLUGIN_SDL_1
994 COND_WXUNIV_0
995 COND_WXUNIV_1
996 COND_WXUSE_EXPAT_BUILTIN
997 COND_WXUSE_LIBJPEG_BUILTIN
998 COND_WXUSE_LIBPNG_BUILTIN
999 COND_WXUSE_LIBTIFF_BUILTIN
1000 COND_WXUSE_REGEX_BUILTIN
1001 COND_WXUSE_ZLIB_BUILTIN
1002 COND_wxUSE_EXPAT_builtin
1003 COND_wxUSE_LIBJPEG_builtin
1004 COND_wxUSE_LIBPNG_builtin
1005 COND_wxUSE_LIBTIFF_builtin
1006 COND_wxUSE_REGEX_builtin
1007 COND_wxUSE_ZLIB_builtin
1008 DEREZ
1009 SHARED
1010 WX_LIBRARY_BASENAME_NOGUI
1011 WX_LIBRARY_BASENAME_GUI
1012 USE_GUI
1013 AFMINSTALL
1014 WIN32INSTALL
1015 TOOLKIT
1016 TOOLKIT_DIR
1017 TOOLCHAIN_NAME
1018 TOOLCHAIN_FULLNAME
1019 cross_compiling
1020 WIDGET_SET
1021 WX_RELEASE
1022 WX_VERSION
1023 WX_SUBVERSION
1024 WX_CHARTYPE
1025 WXCONFIG_CPPFLAGS
1026 WXCONFIG_CFLAGS
1027 WXCONFIG_CXXFLAGS
1028 WXCONFIG_LIBS
1029 WXCONFIG_RPATH
1030 WXCONFIG_LDFLAGS
1031 WXCONFIG_LDFLAGS_GUI
1032 WXCONFIG_RESFLAGS
1033 GUIDIST
1034 DISTDIR
1035 SAMPLES_SUBDIRS
1036 LDFLAGS_GL
1037 OPENGL_LIBS
1038 DMALLOC_LIBS
1039 WX_VERSION_TAG
1040 RESCOMP
1041 RESFLAGS
1042 RESPROGRAMOBJ
1043 WX_RESOURCES_MACOSX_ASCII
1044 WX_RESOURCES_MACOSX_DATA
1045 LIBWXMACRES
1046 POSTLINK_COMMAND
1047 MACSETFILE
1048 GCC
1049 DLLTOOL
1050 CPPUNIT_CONFIG
1051 LIBOBJS
1052 LTLIBOBJS'
1053 ac_subst_files=''
1054 ac_precious_vars='build_alias
1055 host_alias
1056 target_alias
1057 CC
1058 CFLAGS
1059 LDFLAGS
1060 LIBS
1061 CPPFLAGS
1062 CPP
1063 CXX
1064 CXXFLAGS
1065 CCC
1066 PKG_CONFIG
1067 DIRECTFB_CFLAGS
1068 DIRECTFB_LIBS
1069 XMKMF
1070 PANGOX_CFLAGS
1071 PANGOX_LIBS
1072 PANGOFT2_CFLAGS
1073 PANGOFT2_LIBS
1074 PANGOXFT_CFLAGS
1075 PANGOXFT_LIBS
1076 GTKPRINT_CFLAGS
1077 GTKPRINT_LIBS
1078 LIBGNOMEPRINTUI_CFLAGS
1079 LIBGNOMEPRINTUI_LIBS
1080 GNOMEVFS_CFLAGS
1081 GNOMEVFS_LIBS
1082 HILDON_CFLAGS
1083 HILDON_LIBS
1084 HILDON2_CFLAGS
1085 HILDON2_LIBS
1086 CAIRO_CFLAGS
1087 CAIRO_LIBS
1088 GST_CFLAGS
1089 GST_LIBS'
1090 ac_subdirs_all='src/tiff
1091 src/expat'
1092
1093 # Initialize some variables set by options.
1094 ac_init_help=
1095 ac_init_version=false
1096 # The variables have the same names as the options, with
1097 # dashes changed to underlines.
1098 cache_file=/dev/null
1099 exec_prefix=NONE
1100 no_create=
1101 no_recursion=
1102 prefix=NONE
1103 program_prefix=NONE
1104 program_suffix=NONE
1105 program_transform_name=s,x,x,
1106 silent=
1107 site=
1108 srcdir=
1109 verbose=
1110 x_includes=NONE
1111 x_libraries=NONE
1112
1113 # Installation directory options.
1114 # These are left unexpanded so users can "make install exec_prefix=/foo"
1115 # and all the variables that are supposed to be based on exec_prefix
1116 # by default will actually change.
1117 # Use braces instead of parens because sh, perl, etc. also accept them.
1118 # (The list follows the same order as the GNU Coding Standards.)
1119 bindir='${exec_prefix}/bin'
1120 sbindir='${exec_prefix}/sbin'
1121 libexecdir='${exec_prefix}/libexec'
1122 datarootdir='${prefix}/share'
1123 datadir='${datarootdir}'
1124 sysconfdir='${prefix}/etc'
1125 sharedstatedir='${prefix}/com'
1126 localstatedir='${prefix}/var'
1127 includedir='${prefix}/include'
1128 oldincludedir='/usr/include'
1129 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1130 infodir='${datarootdir}/info'
1131 htmldir='${docdir}'
1132 dvidir='${docdir}'
1133 pdfdir='${docdir}'
1134 psdir='${docdir}'
1135 libdir='${exec_prefix}/lib'
1136 localedir='${datarootdir}/locale'
1137 mandir='${datarootdir}/man'
1138
1139 ac_prev=
1140 ac_dashdash=
1141 for ac_option
1142 do
1143 # If the previous option needs an argument, assign it.
1144 if test -n "$ac_prev"; then
1145 eval $ac_prev=\$ac_option
1146 ac_prev=
1147 continue
1148 fi
1149
1150 case $ac_option in
1151 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1152 *) ac_optarg=yes ;;
1153 esac
1154
1155 # Accept the important Cygnus configure options, so we can diagnose typos.
1156
1157 case $ac_dashdash$ac_option in
1158 --)
1159 ac_dashdash=yes ;;
1160
1161 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1162 ac_prev=bindir ;;
1163 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1164 bindir=$ac_optarg ;;
1165
1166 -build | --build | --buil | --bui | --bu)
1167 ac_prev=build_alias ;;
1168 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1169 build_alias=$ac_optarg ;;
1170
1171 -cache-file | --cache-file | --cache-fil | --cache-fi \
1172 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1173 ac_prev=cache_file ;;
1174 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1175 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1176 cache_file=$ac_optarg ;;
1177
1178 --config-cache | -C)
1179 cache_file=config.cache ;;
1180
1181 -datadir | --datadir | --datadi | --datad)
1182 ac_prev=datadir ;;
1183 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1184 datadir=$ac_optarg ;;
1185
1186 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1187 | --dataroo | --dataro | --datar)
1188 ac_prev=datarootdir ;;
1189 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1190 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1191 datarootdir=$ac_optarg ;;
1192
1193 -disable-* | --disable-*)
1194 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1198 { (exit 1); exit 1; }; }
1199 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1200 eval enable_$ac_feature=no ;;
1201
1202 -docdir | --docdir | --docdi | --doc | --do)
1203 ac_prev=docdir ;;
1204 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1205 docdir=$ac_optarg ;;
1206
1207 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1208 ac_prev=dvidir ;;
1209 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1210 dvidir=$ac_optarg ;;
1211
1212 -enable-* | --enable-*)
1213 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1216 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1219 eval enable_$ac_feature=\$ac_optarg ;;
1220
1221 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1222 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1223 | --exec | --exe | --ex)
1224 ac_prev=exec_prefix ;;
1225 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1226 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1227 | --exec=* | --exe=* | --ex=*)
1228 exec_prefix=$ac_optarg ;;
1229
1230 -gas | --gas | --ga | --g)
1231 # Obsolete; use --with-gas.
1232 with_gas=yes ;;
1233
1234 -help | --help | --hel | --he | -h)
1235 ac_init_help=long ;;
1236 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1237 ac_init_help=recursive ;;
1238 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1239 ac_init_help=short ;;
1240
1241 -host | --host | --hos | --ho)
1242 ac_prev=host_alias ;;
1243 -host=* | --host=* | --hos=* | --ho=*)
1244 host_alias=$ac_optarg ;;
1245
1246 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1247 ac_prev=htmldir ;;
1248 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1249 | --ht=*)
1250 htmldir=$ac_optarg ;;
1251
1252 -includedir | --includedir | --includedi | --included | --include \
1253 | --includ | --inclu | --incl | --inc)
1254 ac_prev=includedir ;;
1255 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1256 | --includ=* | --inclu=* | --incl=* | --inc=*)
1257 includedir=$ac_optarg ;;
1258
1259 -infodir | --infodir | --infodi | --infod | --info | --inf)
1260 ac_prev=infodir ;;
1261 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1262 infodir=$ac_optarg ;;
1263
1264 -libdir | --libdir | --libdi | --libd)
1265 ac_prev=libdir ;;
1266 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1267 libdir=$ac_optarg ;;
1268
1269 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1270 | --libexe | --libex | --libe)
1271 ac_prev=libexecdir ;;
1272 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1273 | --libexe=* | --libex=* | --libe=*)
1274 libexecdir=$ac_optarg ;;
1275
1276 -localedir | --localedir | --localedi | --localed | --locale)
1277 ac_prev=localedir ;;
1278 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1279 localedir=$ac_optarg ;;
1280
1281 -localstatedir | --localstatedir | --localstatedi | --localstated \
1282 | --localstate | --localstat | --localsta | --localst | --locals)
1283 ac_prev=localstatedir ;;
1284 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1285 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1286 localstatedir=$ac_optarg ;;
1287
1288 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1289 ac_prev=mandir ;;
1290 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1291 mandir=$ac_optarg ;;
1292
1293 -nfp | --nfp | --nf)
1294 # Obsolete; use --without-fp.
1295 with_fp=no ;;
1296
1297 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1298 | --no-cr | --no-c | -n)
1299 no_create=yes ;;
1300
1301 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1302 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1303 no_recursion=yes ;;
1304
1305 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1306 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1307 | --oldin | --oldi | --old | --ol | --o)
1308 ac_prev=oldincludedir ;;
1309 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1310 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1311 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1312 oldincludedir=$ac_optarg ;;
1313
1314 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1315 ac_prev=prefix ;;
1316 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1317 prefix=$ac_optarg ;;
1318
1319 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1320 | --program-pre | --program-pr | --program-p)
1321 ac_prev=program_prefix ;;
1322 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1323 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1324 program_prefix=$ac_optarg ;;
1325
1326 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1327 | --program-suf | --program-su | --program-s)
1328 ac_prev=program_suffix ;;
1329 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1330 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1331 program_suffix=$ac_optarg ;;
1332
1333 -program-transform-name | --program-transform-name \
1334 | --program-transform-nam | --program-transform-na \
1335 | --program-transform-n | --program-transform- \
1336 | --program-transform | --program-transfor \
1337 | --program-transfo | --program-transf \
1338 | --program-trans | --program-tran \
1339 | --progr-tra | --program-tr | --program-t)
1340 ac_prev=program_transform_name ;;
1341 -program-transform-name=* | --program-transform-name=* \
1342 | --program-transform-nam=* | --program-transform-na=* \
1343 | --program-transform-n=* | --program-transform-=* \
1344 | --program-transform=* | --program-transfor=* \
1345 | --program-transfo=* | --program-transf=* \
1346 | --program-trans=* | --program-tran=* \
1347 | --progr-tra=* | --program-tr=* | --program-t=*)
1348 program_transform_name=$ac_optarg ;;
1349
1350 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1351 ac_prev=pdfdir ;;
1352 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1353 pdfdir=$ac_optarg ;;
1354
1355 -psdir | --psdir | --psdi | --psd | --ps)
1356 ac_prev=psdir ;;
1357 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1358 psdir=$ac_optarg ;;
1359
1360 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1361 | -silent | --silent | --silen | --sile | --sil)
1362 silent=yes ;;
1363
1364 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1365 ac_prev=sbindir ;;
1366 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1367 | --sbi=* | --sb=*)
1368 sbindir=$ac_optarg ;;
1369
1370 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1371 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1372 | --sharedst | --shareds | --shared | --share | --shar \
1373 | --sha | --sh)
1374 ac_prev=sharedstatedir ;;
1375 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1376 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1377 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1378 | --sha=* | --sh=*)
1379 sharedstatedir=$ac_optarg ;;
1380
1381 -site | --site | --sit)
1382 ac_prev=site ;;
1383 -site=* | --site=* | --sit=*)
1384 site=$ac_optarg ;;
1385
1386 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1387 ac_prev=srcdir ;;
1388 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1389 srcdir=$ac_optarg ;;
1390
1391 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1392 | --syscon | --sysco | --sysc | --sys | --sy)
1393 ac_prev=sysconfdir ;;
1394 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1395 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1396 sysconfdir=$ac_optarg ;;
1397
1398 -target | --target | --targe | --targ | --tar | --ta | --t)
1399 ac_prev=target_alias ;;
1400 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1401 target_alias=$ac_optarg ;;
1402
1403 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1404 verbose=yes ;;
1405
1406 -version | --version | --versio | --versi | --vers | -V)
1407 ac_init_version=: ;;
1408
1409 -with-* | --with-*)
1410 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1411 # Reject names that are not valid shell variable names.
1412 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1413 { echo "$as_me: error: invalid package name: $ac_package" >&2
1414 { (exit 1); exit 1; }; }
1415 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1416 eval with_$ac_package=\$ac_optarg ;;
1417
1418 -without-* | --without-*)
1419 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_$ac_package=no ;;
1426
1427 --x)
1428 # Obsolete; use --with-x.
1429 with_x=yes ;;
1430
1431 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1432 | --x-incl | --x-inc | --x-in | --x-i)
1433 ac_prev=x_includes ;;
1434 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1435 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1436 x_includes=$ac_optarg ;;
1437
1438 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1439 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1440 ac_prev=x_libraries ;;
1441 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1442 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1443 x_libraries=$ac_optarg ;;
1444
1445 -*) { echo "$as_me: error: unrecognized option: $ac_option
1446 Try \`$0 --help' for more information." >&2
1447 { (exit 1); exit 1; }; }
1448 ;;
1449
1450 *=*)
1451 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1452 # Reject names that are not valid shell variable names.
1453 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1454 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1455 { (exit 1); exit 1; }; }
1456 eval $ac_envvar=\$ac_optarg
1457 export $ac_envvar ;;
1458
1459 *)
1460 # FIXME: should be removed in autoconf 3.0.
1461 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1462 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1463 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1464 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1465 ;;
1466
1467 esac
1468 done
1469
1470 if test -n "$ac_prev"; then
1471 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1472 { echo "$as_me: error: missing argument to $ac_option" >&2
1473 { (exit 1); exit 1; }; }
1474 fi
1475
1476 # Be sure to have absolute directory names.
1477 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1478 datadir sysconfdir sharedstatedir localstatedir includedir \
1479 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1480 libdir localedir mandir
1481 do
1482 eval ac_val=\$$ac_var
1483 case $ac_val in
1484 [\\/$]* | ?:[\\/]* ) continue;;
1485 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1486 esac
1487 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1488 { (exit 1); exit 1; }; }
1489 done
1490
1491 # There might be people who depend on the old broken behavior: `$host'
1492 # used to hold the argument of --host etc.
1493 # FIXME: To remove some day.
1494 build=$build_alias
1495 host=$host_alias
1496 target=$target_alias
1497
1498 # FIXME: To remove some day.
1499 if test "x$host_alias" != x; then
1500 if test "x$build_alias" = x; then
1501 cross_compiling=maybe
1502 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1503 If a cross compiler is detected then cross compile mode will be used." >&2
1504 elif test "x$build_alias" != "x$host_alias"; then
1505 cross_compiling=yes
1506 fi
1507 fi
1508
1509 ac_tool_prefix=
1510 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1511
1512 test "$silent" = yes && exec 6>/dev/null
1513
1514
1515 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1516 ac_ls_di=`ls -di .` &&
1517 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1518 { echo "$as_me: error: Working directory cannot be determined" >&2
1519 { (exit 1); exit 1; }; }
1520 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1521 { echo "$as_me: error: pwd does not report name of working directory" >&2
1522 { (exit 1); exit 1; }; }
1523
1524
1525 # Find the source files, if location was not specified.
1526 if test -z "$srcdir"; then
1527 ac_srcdir_defaulted=yes
1528 # Try the directory containing this script, then the parent directory.
1529 ac_confdir=`$as_dirname -- "$0" ||
1530 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1531 X"$0" : 'X\(//\)[^/]' \| \
1532 X"$0" : 'X\(//\)$' \| \
1533 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1534 echo X"$0" |
1535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1536 s//\1/
1537 q
1538 }
1539 /^X\(\/\/\)[^/].*/{
1540 s//\1/
1541 q
1542 }
1543 /^X\(\/\/\)$/{
1544 s//\1/
1545 q
1546 }
1547 /^X\(\/\).*/{
1548 s//\1/
1549 q
1550 }
1551 s/.*/./; q'`
1552 srcdir=$ac_confdir
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1554 srcdir=..
1555 fi
1556 else
1557 ac_srcdir_defaulted=no
1558 fi
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1561 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1562 { (exit 1); exit 1; }; }
1563 fi
1564 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1565 ac_abs_confdir=`(
1566 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1567 { (exit 1); exit 1; }; }
1568 pwd)`
1569 # When building in place, set srcdir=.
1570 if test "$ac_abs_confdir" = "$ac_pwd"; then
1571 srcdir=.
1572 fi
1573 # Remove unnecessary trailing slashes from srcdir.
1574 # Double slashes in file names in object file debugging info
1575 # mess up M-x gdb in Emacs.
1576 case $srcdir in
1577 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1578 esac
1579 for ac_var in $ac_precious_vars; do
1580 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1581 eval ac_env_${ac_var}_value=\$${ac_var}
1582 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1583 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1584 done
1585
1586 #
1587 # Report the --help message.
1588 #
1589 if test "$ac_init_help" = "long"; then
1590 # Omit some internal or obsolete options to make the list less imposing.
1591 # This message is too long to be a string in the A/UX 3.1 sh.
1592 cat <<_ACEOF
1593 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1594
1595 Usage: $0 [OPTION]... [VAR=VALUE]...
1596
1597 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1598 VAR=VALUE. See below for descriptions of some of the useful variables.
1599
1600 Defaults for the options are specified in brackets.
1601
1602 Configuration:
1603 -h, --help display this help and exit
1604 --help=short display options specific to this package
1605 --help=recursive display the short help of all the included packages
1606 -V, --version display version information and exit
1607 -q, --quiet, --silent do not print \`checking...' messages
1608 --cache-file=FILE cache test results in FILE [disabled]
1609 -C, --config-cache alias for \`--cache-file=config.cache'
1610 -n, --no-create do not create output files
1611 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1612
1613 Installation directories:
1614 --prefix=PREFIX install architecture-independent files in PREFIX
1615 [$ac_default_prefix]
1616 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1617 [PREFIX]
1618
1619 By default, \`make install' will install all the files in
1620 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1621 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1622 for instance \`--prefix=\$HOME'.
1623
1624 For better control, use the options below.
1625
1626 Fine tuning of the installation directories:
1627 --bindir=DIR user executables [EPREFIX/bin]
1628 --sbindir=DIR system admin executables [EPREFIX/sbin]
1629 --libexecdir=DIR program executables [EPREFIX/libexec]
1630 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1631 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1632 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1633 --libdir=DIR object code libraries [EPREFIX/lib]
1634 --includedir=DIR C header files [PREFIX/include]
1635 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1636 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1637 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1638 --infodir=DIR info documentation [DATAROOTDIR/info]
1639 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1640 --mandir=DIR man documentation [DATAROOTDIR/man]
1641 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1642 --htmldir=DIR html documentation [DOCDIR]
1643 --dvidir=DIR dvi documentation [DOCDIR]
1644 --pdfdir=DIR pdf documentation [DOCDIR]
1645 --psdir=DIR ps documentation [DOCDIR]
1646 _ACEOF
1647
1648 cat <<\_ACEOF
1649
1650 X features:
1651 --x-includes=DIR X include files are in DIR
1652 --x-libraries=DIR X library files are in DIR
1653
1654 System types:
1655 --build=BUILD configure for building on BUILD [guessed]
1656 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1657 _ACEOF
1658 fi
1659
1660 if test -n "$ac_init_help"; then
1661 case $ac_init_help in
1662 short | recursive ) echo "Configuration of wxWidgets 2.9.1:";;
1663 esac
1664 cat <<\_ACEOF
1665
1666 Optional Features:
1667 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1668 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1669 --disable-gui don't build GUI parts of the library
1670 --enable-monolithic build wxWidgets as single library
1671 --enable-plugins build parts of wxWidgets as loadable components
1672 --enable-official_build official build of wxWidgets (win32 DLL only)
1673 --enable-vendor=VENDOR vendor name (win32 DLL only)
1674 --disable-all-features disable all optional features to build minimal library
1675 --enable-universal use wxWidgets GUI controls instead of native ones
1676 --enable-nanox use NanoX
1677 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1678 --enable-gpe use GNOME PDA Environment features if possible
1679 --enable-debug build library for debugging
1680 --disable-debug_flag disable all debugging support
1681 --enable-debug_info generate debug information
1682 --enable-debug_gdb create code with extra GDB debugging information
1683 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1684 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1685 --disable-shared create static library instead of shared
1686 --enable-stl use STL for containers
1687 --enable-std_iostreams use standard C++ stream classes
1688 --enable-std_string use standard C++ string classes
1689 --disable-unicode compile without Unicode support
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-utf8 use UTF-8 representation for strings (Unix only)
1692 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1693 --enable-extended_rtti use extended RTTI (XTI)
1694 --enable-omf use OMF object format
1695 --disable-optimise compile without optimisations
1696 --enable-profile create code with profiling information
1697 --enable-no_rtti create code without RTTI information
1698 --enable-no_exceptions create code without C++ exceptions handling
1699 --enable-permissive compile code disregarding strict ANSI
1700 --enable-no_deps create code without dependency information
1701 --disable-vararg_macros don't use vararg macros, even if they are supported
1702 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1703 --enable-compat26 enable wxWidgets 2.6 compatibility
1704 --disable-compat28 disable wxWidgets 2.8 compatibility
1705 --disable-rpath disable use of rpath for uninstalled builds
1706 --enable-objc_uniquifying enable Objective-C class name uniquifying
1707 --disable-visibility disable use of ELF symbols visibility even if supported
1708 --disable-tls disable use of compiler TLS support
1709 --enable-intl use internationalization system
1710 --enable-xlocale use x-locale support (requires wxLocale)
1711 --enable-config use wxConfig (and derived) classes
1712 --enable-protocols use wxProtocol and derived classes
1713 --enable-ftp use wxFTP (requires wxProtocol
1714 --enable-http use wxHTTP (requires wxProtocol
1715 --enable-fileproto use wxFileProto class (requires wxProtocol
1716 --enable-sockets use socket/network classes
1717 --enable-ipv6 enable IPv6 support in wxSocket
1718 --enable-ole use OLE classes (Win32 only)
1719 --enable-dataobj use data object classes
1720 --enable-ipc use interprocess communication (wxSocket etc.)
1721 --enable-baseevtloop use event loop in console programs too
1722 --enable-epollloop use wxEpollDispatcher class (Linux only)
1723 --enable-selectloop use wxSelectDispatcher class
1724 --enable-any use wxAny class
1725 --enable-apple_ieee use the Apple IEEE codec
1726 --enable-arcstream use wxArchive streams
1727 --enable-base64 use base64 encoding/decoding functions
1728 --enable-backtrace use wxStackWalker class for getting backtraces
1729 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1730 --enable-cmdline use wxCmdLineParser class
1731 --enable-datetime use wxDateTime class
1732 --enable-debugreport use wxDebugReport class
1733 --enable-dialupman use dialup network classes
1734 --enable-dynlib use wxLibrary class for DLL loading
1735 --enable-dynamicloader use (new) wxDynamicLibrary class
1736 --enable-exceptions build exception-safe library
1737 --enable-ffile use wxFFile class
1738 --enable-file use wxFile class
1739 --enable-filesystem use virtual file systems classes
1740 --enable-fontenum use wxFontEnumerator class
1741 --enable-fontmap use font encodings conversion classes
1742 --enable-fs_archive use virtual archive filesystems
1743 --enable-fs_inet use virtual HTTP/FTP filesystems
1744 --enable-fs_zip now replaced by fs_archive
1745 --enable-fswatcher use wxFileSystemWatcher class
1746 --enable-geometry use geometry class
1747 --enable-log use logging system
1748 --enable-longlong use wxLongLong class
1749 --enable-mimetype use wxMimeTypesManager
1750 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1751 --enable-snglinst use wxSingleInstanceChecker class
1752 --enable-sound use wxSound class
1753 --enable-stdpaths use wxStandardPaths class
1754 --enable-stopwatch use wxStopWatch class
1755 --enable-streams use wxStream etc classes
1756 --enable-sysoptions use wxSystemOptions
1757 --enable-tarstream use wxTar streams
1758 --enable-textbuf use wxTextBuffer class
1759 --enable-textfile use wxTextFile class
1760 --enable-timer use wxTimer class
1761 --enable-variant use wxVariant class
1762 --enable-zipstream use wxZip streams
1763 --enable-url use wxURL class
1764 --enable-protocol use wxProtocol class
1765 --enable-protocol-http HTTP support in wxProtocol
1766 --enable-protocol-ftp FTP support in wxProtocol
1767 --enable-protocol-file FILE support in wxProtocol
1768 --enable-threads use threads
1769 --enable-iniconf use wxIniConfig (Win32 only)
1770 --enable-regkey use wxRegKey class (Win32 only)
1771 --enable-docview use document view architecture
1772 --enable-help use help subsystem
1773 --enable-mshtmlhelp use MS HTML Help (win32)
1774 --enable-html use wxHTML sub-library
1775 --enable-htmlhelp use wxHTML-based help
1776 --enable-xrc use XRC resources sub-library
1777 --enable-aui use AUI docking library
1778 --enable-propgrid use wxPropertyGrid library
1779 --enable-ribbon use wxRibbon library
1780 --enable-stc use wxStyledTextCtrl library
1781 --enable-constraints use layout-constraints system
1782 --enable-loggui use standard GUI logger
1783 --enable-logwin use wxLogWindow
1784 --enable-logdialog use wxLogDialog
1785 --enable-mdi use multiple document interface architecture
1786 --enable-mdidoc use docview architecture with MDI
1787 --enable-mediactrl use wxMediaCtrl class
1788 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1789 --enable-webkit use wxWebKitCtrl (Mac)
1790 --enable-richtext use wxRichTextCtrl
1791 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1792 --enable-printarch use printing architecture
1793 --enable-svg use wxSVGFileDC device context
1794 --enable-graphics_ctx use graphics context 2D drawing API
1795 --enable-clipboard use wxClipboard class
1796 --enable-dnd use Drag'n'Drop classes
1797 --enable-metafile use win32 metafiles
1798 --disable-controls disable compilation of all standard controls
1799 --enable-accel use accelerators
1800 --enable-animatectrl use wxAnimationCtrl class
1801 --enable-bmpbutton use wxBitmapButton class
1802 --enable-bmpcombobox use wxBitmapComboBox class
1803 --enable-button use wxButton class
1804 --enable-calendar use wxCalendarCtrl class
1805 --enable-caret use wxCaret class
1806 --enable-checkbox use wxCheckBox class
1807 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1808 --enable-choice use wxChoice class
1809 --enable-choicebook use wxChoicebook class
1810 --enable-collpane use wxCollapsiblePane class
1811 --enable-colourpicker use wxColourPickerCtrl class
1812 --enable-combobox use wxComboBox class
1813 --enable-comboctrl use wxComboCtrl class
1814 --enable-dataviewctrl use wxDataViewCtrl class
1815 --enable-datepick use wxDatePickerCtrl class
1816 --enable-detect_sm use code to detect X11 session manager
1817 --enable-dirpicker use wxDirPickerCtrl class
1818 --enable-display use wxDisplay class
1819 --enable-editablebox use wxEditableListBox class
1820 --enable-filectrl use wxFileCtrl class
1821 --enable-filepicker use wxFilePickerCtrl class
1822 --enable-fontpicker use wxFontPickerCtrl class
1823 --enable-gauge use wxGauge class
1824 --enable-grid use wxGrid class
1825 --enable-headerctrl use wxHeaderCtrl class
1826 --enable-hyperlink use wxHyperlinkCtrl class
1827 --enable-imaglist use wxImageList class
1828 --enable-infobar use wxInfoBar class
1829 --enable-listbook use wxListbook class
1830 --enable-listbox use wxListBox class
1831 --enable-listctrl use wxListCtrl class
1832 --enable-notebook use wxNotebook class
1833 --enable-notifmsg use wxNotificationMessage class
1834 --enable-odcombobox use wxOwnerDrawnComboBox class
1835 --enable-popupwin use wxPopUpWindow class
1836 --enable-radiobox use wxRadioBox class
1837 --enable-radiobtn use wxRadioButton class
1838 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1839 --enable-sash use wxSashWindow class
1840 --enable-scrollbar use wxScrollBar class and scrollable windows
1841 --enable-searchctrl use wxSearchCtrl class
1842 --enable-slider use wxSlider class
1843 --enable-spinbtn use wxSpinButton class
1844 --enable-spinctrl use wxSpinCtrl class
1845 --enable-splitter use wxSplitterWindow class
1846 --enable-statbmp use wxStaticBitmap class
1847 --enable-statbox use wxStaticBox class
1848 --enable-statline use wxStaticLine class
1849 --enable-stattext use wxStaticText class
1850 --enable-statusbar use wxStatusBar class
1851 --enable-taskbaricon use wxTaskBarIcon class
1852 --enable-tbarnative use native wxToolBar class
1853 --enable-textctrl use wxTextCtrl class
1854 --enable-tipwindow use wxTipWindow class
1855 --enable-togglebtn use wxToggleButton class
1856 --enable-toolbar use wxToolBar class
1857 --enable-toolbook use wxToolbook class
1858 --enable-treebook use wxTreebook class
1859 --enable-treectrl use wxTreeCtrl class
1860 --enable-commondlg use all common dialogs
1861 --enable-aboutdlg use wxAboutBox
1862 --enable-choicedlg use wxChoiceDialog
1863 --enable-coldlg use wxColourDialog
1864 --enable-filedlg use wxFileDialog
1865 --enable-finddlg use wxFindReplaceDialog
1866 --enable-fontdlg use wxFontDialog
1867 --enable-dirdlg use wxDirDialog
1868 --enable-msgdlg use wxMessageDialog
1869 --enable-numberdlg use wxNumberEntryDialog
1870 --enable-splash use wxSplashScreen
1871 --enable-textdlg use wxTextDialog
1872 --enable-tipdlg use startup tips
1873 --enable-progressdlg use wxProgressDialog
1874 --enable-wizarddlg use wxWizard
1875 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1876 --enable-miniframe use wxMiniFrame class
1877 --enable-tooltips use wxToolTip class
1878 --enable-splines use spline drawing code
1879 --enable-mousewheel use mousewheel
1880 --enable-validators use wxValidator and derived classes
1881 --enable-busyinfo use wxBusyInfo
1882 --enable-joystick use wxJoystick
1883 --enable-metafiles use wxMetaFile (Win32 only)
1884 --enable-dragimage use wxDragImage
1885 --enable-accessibility enable accessibility support
1886 --enable-palette use wxPalette class
1887 --enable-image use wxImage class
1888 --enable-gif use gif images (GIF file format)
1889 --enable-pcx use pcx images (PCX file format)
1890 --enable-tga use tga images (TGA file format)
1891 --enable-iff use iff images (IFF file format)
1892 --enable-pnm use pnm images (PNM file format)
1893 --enable-xpm use xpm images (XPM file format)
1894 --enable-ico_cur use Windows ICO and CUR formats
1895 --enable-dccache cache temporary wxDC objects (Win32 only)
1896 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1897 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1898 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1899 --enable-wxdib use wxDIB class (Win32 only)
1900 --enable-autoidman use automatic ids management
1901 --disable-largefile omit support for large files
1902 --disable-gtktest do not try to compile and run a test GTK+ program
1903 --disable-gtktest Do not try to compile and run a test GTK program
1904 --disable-sdltest Do not try to compile and run a test SDL program
1905 --enable-omf use OMF object format (OS/2)
1906 --disable-dependency-tracking
1907 don't use dependency tracking even if the compiler
1908 can
1909 --disable-precomp-headers
1910 don't use precompiled headers even if compiler can
1911
1912 Optional Packages:
1913 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1914 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1915 --without-subdirs don't generate makefiles for samples/demos/...
1916 --with-flavour=NAME specify a name to identify this build
1917 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1918 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1919 --with-motif use Motif/Lesstif
1920 --with-osx_carbon use Mac OS X (Carbon)
1921 --with-osx_cocoa use Mac OS X (Cocoa)
1922 --with-osx_iphone use iPhone OS X port
1923 --with-osx use Mac OS X (default port, currently Carbon)
1924 --with-carbon same as --with-osx_carbon
1925 --with-cocoa same as --with-osx_cocoa
1926 --with-iphone same as --with-osx_iphone
1927 --with-mac same as --with-osx
1928 --with-old_cocoa use old, deprecated, Cocoa port
1929 --with-wine use Wine
1930 --with-msw use MS-Windows
1931 --with-pm use OS/2 Presentation Manager
1932 --with-mgl use SciTech MGL
1933 --with-directfb use DirectFB
1934 --with-microwin use MicroWindows
1935 --with-x11 use X11
1936 --with-libpng use libpng (PNG image format)
1937 --with-libjpeg use libjpeg (JPEG file format)
1938 --with-libtiff use libtiff (TIFF file format)
1939 --with-libxpm use libxpm (XPM file format)
1940 --with-libiconv use libiconv (character conversion)
1941 --with-libmspack use libmspack (CHM help files loading)
1942 --without-gtkprint don't use GTK printing support
1943 --without-gnomeprint don't use GNOME printing libraries
1944 --with-gnomevfs use GNOME VFS for associating MIME types
1945 --with-hildon use Hildon framework for Nokia 770/800/810
1946 --with-opengl use OpenGL (or Mesa)
1947 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1948 --with-sdl use SDL for audio on Unix
1949 --with-regex enable support for wxRegEx class
1950 --with-zlib use zlib for LZW compression
1951 --with-expat enable XML support using expat parser
1952 --with-macosx-sdk=PATH use an OS X SDK at PATH
1953 --with-macosx-version-min=VER build binaries which require at least this OS X version
1954 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1955 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1956 --with-x use the X Window System
1957 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1958 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1959 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1960 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1961 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1962
1963 Some influential environment variables:
1964 CC C compiler command
1965 CFLAGS C compiler flags
1966 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1967 nonstandard directory <lib dir>
1968 LIBS libraries to pass to the linker, e.g. -l<library>
1969 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1970 you have headers in a nonstandard directory <include dir>
1971 CPP C preprocessor
1972 CXX C++ compiler command
1973 CXXFLAGS C++ compiler flags
1974 PKG_CONFIG path to pkg-config utility
1975 DIRECTFB_CFLAGS
1976 C compiler flags for DIRECTFB, overriding pkg-config
1977 DIRECTFB_LIBS
1978 linker flags for DIRECTFB, overriding pkg-config
1979 XMKMF Path to xmkmf, Makefile generator for X Window System
1980 PANGOX_CFLAGS
1981 C compiler flags for PANGOX, overriding pkg-config
1982 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1983 PANGOFT2_CFLAGS
1984 C compiler flags for PANGOFT2, overriding pkg-config
1985 PANGOFT2_LIBS
1986 linker flags for PANGOFT2, overriding pkg-config
1987 PANGOXFT_CFLAGS
1988 C compiler flags for PANGOXFT, overriding pkg-config
1989 PANGOXFT_LIBS
1990 linker flags for PANGOXFT, overriding pkg-config
1991 GTKPRINT_CFLAGS
1992 C compiler flags for GTKPRINT, overriding pkg-config
1993 GTKPRINT_LIBS
1994 linker flags for GTKPRINT, overriding pkg-config
1995 LIBGNOMEPRINTUI_CFLAGS
1996 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1997 LIBGNOMEPRINTUI_LIBS
1998 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1999 GNOMEVFS_CFLAGS
2000 C compiler flags for GNOMEVFS, overriding pkg-config
2001 GNOMEVFS_LIBS
2002 linker flags for GNOMEVFS, overriding pkg-config
2003 HILDON_CFLAGS
2004 C compiler flags for HILDON, overriding pkg-config
2005 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2006 HILDON2_CFLAGS
2007 C compiler flags for HILDON2, overriding pkg-config
2008 HILDON2_LIBS
2009 linker flags for HILDON2, overriding pkg-config
2010 CAIRO_CFLAGS
2011 C compiler flags for CAIRO, overriding pkg-config
2012 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2013 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2014 GST_LIBS linker flags for GST, overriding pkg-config
2015
2016 Use these variables to override the choices made by `configure' or to help
2017 it to find libraries and programs with nonstandard names/locations.
2018
2019 Report bugs to <wx-dev@lists.wxwidgets.org>.
2020 _ACEOF
2021 ac_status=$?
2022 fi
2023
2024 if test "$ac_init_help" = "recursive"; then
2025 # If there are subdirs, report their specific --help.
2026 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2027 test -d "$ac_dir" || continue
2028 ac_builddir=.
2029
2030 case "$ac_dir" in
2031 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2032 *)
2033 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2034 # A ".." for each directory in $ac_dir_suffix.
2035 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2036 case $ac_top_builddir_sub in
2037 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2038 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2039 esac ;;
2040 esac
2041 ac_abs_top_builddir=$ac_pwd
2042 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2043 # for backward compatibility:
2044 ac_top_builddir=$ac_top_build_prefix
2045
2046 case $srcdir in
2047 .) # We are building in place.
2048 ac_srcdir=.
2049 ac_top_srcdir=$ac_top_builddir_sub
2050 ac_abs_top_srcdir=$ac_pwd ;;
2051 [\\/]* | ?:[\\/]* ) # Absolute name.
2052 ac_srcdir=$srcdir$ac_dir_suffix;
2053 ac_top_srcdir=$srcdir
2054 ac_abs_top_srcdir=$srcdir ;;
2055 *) # Relative name.
2056 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2057 ac_top_srcdir=$ac_top_build_prefix$srcdir
2058 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2059 esac
2060 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2061
2062 cd "$ac_dir" || { ac_status=$?; continue; }
2063 # Check for guested configure.
2064 if test -f "$ac_srcdir/configure.gnu"; then
2065 echo &&
2066 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2067 elif test -f "$ac_srcdir/configure"; then
2068 echo &&
2069 $SHELL "$ac_srcdir/configure" --help=recursive
2070 else
2071 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2072 fi || ac_status=$?
2073 cd "$ac_pwd" || { ac_status=$?; break; }
2074 done
2075 fi
2076
2077 test -n "$ac_init_help" && exit $ac_status
2078 if $ac_init_version; then
2079 cat <<\_ACEOF
2080 wxWidgets configure 2.9.1
2081 generated by GNU Autoconf 2.61
2082
2083 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2084 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2085 This configure script is free software; the Free Software Foundation
2086 gives unlimited permission to copy, distribute and modify it.
2087 _ACEOF
2088 exit
2089 fi
2090 cat >config.log <<_ACEOF
2091 This file contains any messages produced by compilers while
2092 running configure, to aid debugging if configure makes a mistake.
2093
2094 It was created by wxWidgets $as_me 2.9.1, which was
2095 generated by GNU Autoconf 2.61. Invocation command line was
2096
2097 $ $0 $@
2098
2099 _ACEOF
2100 exec 5>>config.log
2101 {
2102 cat <<_ASUNAME
2103 ## --------- ##
2104 ## Platform. ##
2105 ## --------- ##
2106
2107 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2108 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2109 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2110 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2111 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2112
2113 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2114 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2115
2116 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2117 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2118 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2119 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2120 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2121 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2122 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2123
2124 _ASUNAME
2125
2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127 for as_dir in $PATH
2128 do
2129 IFS=$as_save_IFS
2130 test -z "$as_dir" && as_dir=.
2131 echo "PATH: $as_dir"
2132 done
2133 IFS=$as_save_IFS
2134
2135 } >&5
2136
2137 cat >&5 <<_ACEOF
2138
2139
2140 ## ----------- ##
2141 ## Core tests. ##
2142 ## ----------- ##
2143
2144 _ACEOF
2145
2146
2147 # Keep a trace of the command line.
2148 # Strip out --no-create and --no-recursion so they do not pile up.
2149 # Strip out --silent because we don't want to record it for future runs.
2150 # Also quote any args containing shell meta-characters.
2151 # Make two passes to allow for proper duplicate-argument suppression.
2152 ac_configure_args=
2153 ac_configure_args0=
2154 ac_configure_args1=
2155 ac_must_keep_next=false
2156 for ac_pass in 1 2
2157 do
2158 for ac_arg
2159 do
2160 case $ac_arg in
2161 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2162 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2163 | -silent | --silent | --silen | --sile | --sil)
2164 continue ;;
2165 *\'*)
2166 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2167 esac
2168 case $ac_pass in
2169 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2170 2)
2171 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2172 if test $ac_must_keep_next = true; then
2173 ac_must_keep_next=false # Got value, back to normal.
2174 else
2175 case $ac_arg in
2176 *=* | --config-cache | -C | -disable-* | --disable-* \
2177 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2178 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2179 | -with-* | --with-* | -without-* | --without-* | --x)
2180 case "$ac_configure_args0 " in
2181 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2182 esac
2183 ;;
2184 -* ) ac_must_keep_next=true ;;
2185 esac
2186 fi
2187 ac_configure_args="$ac_configure_args '$ac_arg'"
2188 ;;
2189 esac
2190 done
2191 done
2192 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2193 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2194
2195 # When interrupted or exit'd, cleanup temporary files, and complete
2196 # config.log. We remove comments because anyway the quotes in there
2197 # would cause problems or look ugly.
2198 # WARNING: Use '\'' to represent an apostrophe within the trap.
2199 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2200 trap 'exit_status=$?
2201 # Save into config.log some information that might help in debugging.
2202 {
2203 echo
2204
2205 cat <<\_ASBOX
2206 ## ---------------- ##
2207 ## Cache variables. ##
2208 ## ---------------- ##
2209 _ASBOX
2210 echo
2211 # The following way of writing the cache mishandles newlines in values,
2212 (
2213 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2214 eval ac_val=\$$ac_var
2215 case $ac_val in #(
2216 *${as_nl}*)
2217 case $ac_var in #(
2218 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2219 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2220 esac
2221 case $ac_var in #(
2222 _ | IFS | as_nl) ;; #(
2223 *) $as_unset $ac_var ;;
2224 esac ;;
2225 esac
2226 done
2227 (set) 2>&1 |
2228 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2229 *${as_nl}ac_space=\ *)
2230 sed -n \
2231 "s/'\''/'\''\\\\'\'''\''/g;
2232 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2233 ;; #(
2234 *)
2235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2236 ;;
2237 esac |
2238 sort
2239 )
2240 echo
2241
2242 cat <<\_ASBOX
2243 ## ----------------- ##
2244 ## Output variables. ##
2245 ## ----------------- ##
2246 _ASBOX
2247 echo
2248 for ac_var in $ac_subst_vars
2249 do
2250 eval ac_val=\$$ac_var
2251 case $ac_val in
2252 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2253 esac
2254 echo "$ac_var='\''$ac_val'\''"
2255 done | sort
2256 echo
2257
2258 if test -n "$ac_subst_files"; then
2259 cat <<\_ASBOX
2260 ## ------------------- ##
2261 ## File substitutions. ##
2262 ## ------------------- ##
2263 _ASBOX
2264 echo
2265 for ac_var in $ac_subst_files
2266 do
2267 eval ac_val=\$$ac_var
2268 case $ac_val in
2269 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2270 esac
2271 echo "$ac_var='\''$ac_val'\''"
2272 done | sort
2273 echo
2274 fi
2275
2276 if test -s confdefs.h; then
2277 cat <<\_ASBOX
2278 ## ----------- ##
2279 ## confdefs.h. ##
2280 ## ----------- ##
2281 _ASBOX
2282 echo
2283 cat confdefs.h
2284 echo
2285 fi
2286 test "$ac_signal" != 0 &&
2287 echo "$as_me: caught signal $ac_signal"
2288 echo "$as_me: exit $exit_status"
2289 } >&5
2290 rm -f core *.core core.conftest.* &&
2291 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2292 exit $exit_status
2293 ' 0
2294 for ac_signal in 1 2 13 15; do
2295 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2296 done
2297 ac_signal=0
2298
2299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2300 rm -f -r conftest* confdefs.h
2301
2302 # Predefined preprocessor variables.
2303
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_NAME "$PACKAGE_NAME"
2306 _ACEOF
2307
2308
2309 cat >>confdefs.h <<_ACEOF
2310 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2311 _ACEOF
2312
2313
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2316 _ACEOF
2317
2318
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_STRING "$PACKAGE_STRING"
2321 _ACEOF
2322
2323
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2326 _ACEOF
2327
2328
2329 # Let the site file select an alternate cache file if it wants to.
2330 # Prefer explicitly selected file to automatically selected ones.
2331 if test -n "$CONFIG_SITE"; then
2332 set x "$CONFIG_SITE"
2333 elif test "x$prefix" != xNONE; then
2334 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2335 else
2336 set x "$ac_default_prefix/share/config.site" \
2337 "$ac_default_prefix/etc/config.site"
2338 fi
2339 shift
2340 for ac_site_file
2341 do
2342 if test -r "$ac_site_file"; then
2343 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2344 echo "$as_me: loading site script $ac_site_file" >&6;}
2345 sed 's/^/| /' "$ac_site_file" >&5
2346 . "$ac_site_file"
2347 fi
2348 done
2349
2350 if test -r "$cache_file"; then
2351 # Some versions of bash will fail to source /dev/null (special
2352 # files actually), so we avoid doing that.
2353 if test -f "$cache_file"; then
2354 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2355 echo "$as_me: loading cache $cache_file" >&6;}
2356 case $cache_file in
2357 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2358 *) . "./$cache_file";;
2359 esac
2360 fi
2361 else
2362 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2363 echo "$as_me: creating cache $cache_file" >&6;}
2364 >$cache_file
2365 fi
2366
2367 # Check that the precious variables saved in the cache have kept the same
2368 # value.
2369 ac_cache_corrupted=false
2370 for ac_var in $ac_precious_vars; do
2371 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2372 eval ac_new_set=\$ac_env_${ac_var}_set
2373 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2374 eval ac_new_val=\$ac_env_${ac_var}_value
2375 case $ac_old_set,$ac_new_set in
2376 set,)
2377 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2378 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2379 ac_cache_corrupted=: ;;
2380 ,set)
2381 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2382 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2383 ac_cache_corrupted=: ;;
2384 ,);;
2385 *)
2386 if test "x$ac_old_val" != "x$ac_new_val"; then
2387 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2388 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2389 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2390 echo "$as_me: former value: $ac_old_val" >&2;}
2391 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2392 echo "$as_me: current value: $ac_new_val" >&2;}
2393 ac_cache_corrupted=:
2394 fi;;
2395 esac
2396 # Pass precious variables to config.status.
2397 if test "$ac_new_set" = set; then
2398 case $ac_new_val in
2399 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2400 *) ac_arg=$ac_var=$ac_new_val ;;
2401 esac
2402 case " $ac_configure_args " in
2403 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2404 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2405 esac
2406 fi
2407 done
2408 if $ac_cache_corrupted; then
2409 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2410 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2411 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2412 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2413 { (exit 1); exit 1; }; }
2414 fi
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440 ac_ext=c
2441 ac_cpp='$CPP $CPPFLAGS'
2442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2445
2446
2447
2448
2449
2450 ac_aux_dir=
2451 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2452 if test -f "$ac_dir/install-sh"; then
2453 ac_aux_dir=$ac_dir
2454 ac_install_sh="$ac_aux_dir/install-sh -c"
2455 break
2456 elif test -f "$ac_dir/install.sh"; then
2457 ac_aux_dir=$ac_dir
2458 ac_install_sh="$ac_aux_dir/install.sh -c"
2459 break
2460 elif test -f "$ac_dir/shtool"; then
2461 ac_aux_dir=$ac_dir
2462 ac_install_sh="$ac_aux_dir/shtool install -c"
2463 break
2464 fi
2465 done
2466 if test -z "$ac_aux_dir"; then
2467 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2468 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2469 { (exit 1); exit 1; }; }
2470 fi
2471
2472 # These three variables are undocumented and unsupported,
2473 # and are intended to be withdrawn in a future Autoconf release.
2474 # They can cause serious problems if a builder's source tree is in a directory
2475 # whose full name contains unusual characters.
2476 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2477 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2478 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2479
2480
2481 # Make sure we can run config.sub.
2482 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2483 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2484 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2485 { (exit 1); exit 1; }; }
2486
2487 { echo "$as_me:$LINENO: checking build system type" >&5
2488 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2489 if test "${ac_cv_build+set}" = set; then
2490 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 else
2492 ac_build_alias=$build_alias
2493 test "x$ac_build_alias" = x &&
2494 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2495 test "x$ac_build_alias" = x &&
2496 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2497 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2498 { (exit 1); exit 1; }; }
2499 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2500 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2501 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2502 { (exit 1); exit 1; }; }
2503
2504 fi
2505 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2506 echo "${ECHO_T}$ac_cv_build" >&6; }
2507 case $ac_cv_build in
2508 *-*-*) ;;
2509 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2510 echo "$as_me: error: invalid value of canonical build" >&2;}
2511 { (exit 1); exit 1; }; };;
2512 esac
2513 build=$ac_cv_build
2514 ac_save_IFS=$IFS; IFS='-'
2515 set x $ac_cv_build
2516 shift
2517 build_cpu=$1
2518 build_vendor=$2
2519 shift; shift
2520 # Remember, the first character of IFS is used to create $*,
2521 # except with old shells:
2522 build_os=$*
2523 IFS=$ac_save_IFS
2524 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2525
2526
2527 { echo "$as_me:$LINENO: checking host system type" >&5
2528 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2529 if test "${ac_cv_host+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 else
2532 if test "x$host_alias" = x; then
2533 ac_cv_host=$ac_cv_build
2534 else
2535 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2536 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2537 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2538 { (exit 1); exit 1; }; }
2539 fi
2540
2541 fi
2542 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2543 echo "${ECHO_T}$ac_cv_host" >&6; }
2544 case $ac_cv_host in
2545 *-*-*) ;;
2546 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2547 echo "$as_me: error: invalid value of canonical host" >&2;}
2548 { (exit 1); exit 1; }; };;
2549 esac
2550 host=$ac_cv_host
2551 ac_save_IFS=$IFS; IFS='-'
2552 set x $ac_cv_host
2553 shift
2554 host_cpu=$1
2555 host_vendor=$2
2556 shift; shift
2557 # Remember, the first character of IFS is used to create $*,
2558 # except with old shells:
2559 host_os=$*
2560 IFS=$ac_save_IFS
2561 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2562
2563
2564
2565 if test "$cross_compiling" != "no"; then
2566 HOST_PREFIX="${host_alias}-"
2567 HOST_SUFFIX="-$host_alias"
2568 else
2569 HOST_PREFIX=
2570 HOST_SUFFIX=
2571 fi
2572
2573
2574 wx_major_version_number=2
2575 wx_minor_version_number=9
2576 wx_release_number=1
2577 wx_subrelease_number=0
2578
2579 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2580 WX_VERSION=$WX_RELEASE.$wx_release_number
2581 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2582
2583 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2584
2585
2586 wx_top_builddir="`pwd`"
2587
2588
2589
2590
2591 USE_UNIX=1
2592 USE_OS2=0
2593 USE_WIN32=0
2594 USE_DOS=0
2595 USE_BEOS=0
2596 USE_MAC=0
2597
2598 USE_AIX=
2599 USE_BSD= USE_DARWIN= USE_FREEBSD=
2600 USE_GNU= USE_HPUX=
2601 USE_LINUX=
2602 USE_NETBSD=
2603 USE_OPENBSD=
2604 USE_OSF= USE_SGI=
2605 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2606 USE_ULTRIX=
2607 USE_UNIXWARE=
2608
2609 USE_ALPHA=
2610
2611 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2612
2613 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2614
2615 DEFAULT_wxUSE_OLD_COCOA=0
2616 DEFAULT_wxUSE_GTK=0
2617 DEFAULT_wxUSE_OSX_CARBON=0
2618 DEFAULT_wxUSE_OSX_COCOA=0
2619 DEFAULT_wxUSE_OSX_IPHONE=0
2620 DEFAULT_wxUSE_MGL=0
2621 DEFAULT_wxUSE_MICROWIN=0
2622 DEFAULT_wxUSE_MOTIF=0
2623 DEFAULT_wxUSE_MSW=0
2624 DEFAULT_wxUSE_PM=0
2625 DEFAULT_wxUSE_X11=0
2626 DEFAULT_wxUSE_DFB=0
2627
2628 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2629 DEFAULT_DEFAULT_wxUSE_GTK=0
2630 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2631 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2632 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2633 DEFAULT_DEFAULT_wxUSE_MGL=0
2634 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2635 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2636 DEFAULT_DEFAULT_wxUSE_MSW=0
2637 DEFAULT_DEFAULT_wxUSE_PM=0
2638 DEFAULT_DEFAULT_wxUSE_X11=0
2639 DEFAULT_DEFAULT_wxUSE_DFB=0
2640
2641 PROGRAM_EXT=
2642 SAMPLES_RPATH_FLAG=
2643 DYLIB_RPATH_INSTALL=
2644 DYLIB_RPATH_POSTLINK=
2645
2646 DEFAULT_STD_FLAG=yes
2647
2648 case "${host}" in
2649 *-hp-hpux* )
2650 USE_HPUX=1
2651 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2652 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2653 cat >>confdefs.h <<\_ACEOF
2654 #define __HPUX__ 1
2655 _ACEOF
2656
2657
2658 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2659 ;;
2660 *-*-linux* )
2661 USE_LINUX=1
2662 cat >>confdefs.h <<\_ACEOF
2663 #define __LINUX__ 1
2664 _ACEOF
2665
2666 TMP=`uname -m`
2667 if test "x$TMP" = "xalpha"; then
2668 USE_ALPHA=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __ALPHA__ 1
2671 _ACEOF
2672
2673 fi
2674 DEFAULT_DEFAULT_wxUSE_GTK=1
2675 ;;
2676 *-*-gnu* | *-*-k*bsd*-gnu )
2677 USE_GNU=1
2678 TMP=`uname -m`
2679 if test "x$TMP" = "xalpha"; then
2680 USE_ALPHA=1
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __ALPHA__ 1
2683 _ACEOF
2684
2685 fi
2686 DEFAULT_DEFAULT_wxUSE_GTK=1
2687 ;;
2688 *-*-irix5* | *-*-irix6* )
2689 USE_SGI=1
2690 USE_SVR4=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SGI__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __SVR4__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2700 ;;
2701 *-*-solaris2* )
2702 USE_SUN=1
2703 USE_SOLARIS=1
2704 USE_SVR4=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __SUN__ 1
2707 _ACEOF
2708
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __SOLARIS__ 1
2711 _ACEOF
2712
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __SVR4__ 1
2715 _ACEOF
2716
2717 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2718 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2719 ;;
2720 *-*-sunos4* )
2721 USE_SUN=1
2722 USE_SUNOS=1
2723 USE_BSD=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __SUN__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __SUNOS__ 1
2730 _ACEOF
2731
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __BSD__ 1
2734 _ACEOF
2735
2736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2737 ;;
2738 *-*-freebsd*)
2739 USE_BSD=1
2740 USE_FREEBSD=1
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __FREEBSD__ 1
2743 _ACEOF
2744
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __BSD__ 1
2747 _ACEOF
2748
2749 DEFAULT_DEFAULT_wxUSE_GTK=1
2750 ;;
2751 *-*-openbsd*|*-*-mirbsd*)
2752 USE_BSD=1
2753 USE_OPENBSD=1
2754 cat >>confdefs.h <<\_ACEOF
2755 #define __OPENBSD__ 1
2756 _ACEOF
2757
2758 cat >>confdefs.h <<\_ACEOF
2759 #define __BSD__ 1
2760 _ACEOF
2761
2762 DEFAULT_DEFAULT_wxUSE_GTK=1
2763 ;;
2764 *-*-netbsd*)
2765 USE_BSD=1
2766 USE_NETBSD=1
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __NETBSD__ 1
2769 _ACEOF
2770
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __BSD__ 1
2773 _ACEOF
2774
2775 DEFAULT_DEFAULT_wxUSE_GTK=1
2776 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2777
2778 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2779 ;;
2780 *-*-osf* )
2781 USE_ALPHA=1
2782 USE_OSF=1
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __ALPHA__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __OSF__ 1
2789 _ACEOF
2790
2791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2793 ;;
2794 *-*-dgux5* )
2795 USE_ALPHA=1
2796 USE_SVR4=1
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __ALPHA__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SVR4__ 1
2803 _ACEOF
2804
2805 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2806 ;;
2807 *-*-sysv5* )
2808 USE_SYSV=1
2809 USE_SVR4=1
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __SYSV__ 1
2812 _ACEOF
2813
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __SVR4__ 1
2816 _ACEOF
2817
2818 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2819 ;;
2820 *-*-aix* )
2821 USE_AIX=1
2822 USE_SYSV=1
2823 USE_SVR4=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __AIX__ 1
2826 _ACEOF
2827
2828 cat >>confdefs.h <<\_ACEOF
2829 #define __SYSV__ 1
2830 _ACEOF
2831
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __SVR4__ 1
2834 _ACEOF
2835
2836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2837 ;;
2838
2839 *-*-*UnixWare*)
2840 USE_SYSV=1
2841 USE_SVR4=1
2842 USE_UNIXWARE=1
2843 cat >>confdefs.h <<\_ACEOF
2844 #define __UNIXWARE__ 1
2845 _ACEOF
2846
2847 ;;
2848
2849 *-*-cygwin* | *-*-mingw32* )
2850 PROGRAM_EXT=".exe"
2851 DEFAULT_DEFAULT_wxUSE_MSW=1
2852 ;;
2853
2854 *-pc-msdosdjgpp )
2855 USE_UNIX=0
2856 USE_DOS=1
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __DOS__ 1
2859 _ACEOF
2860
2861 PROGRAM_EXT=".exe"
2862 DEFAULT_DEFAULT_wxUSE_MGL=1
2863 ;;
2864
2865 *-pc-os2_emx | *-pc-os2-emx )
2866 cat >>confdefs.h <<\_ACEOF
2867 #define __EMX__ 1
2868 _ACEOF
2869
2870 USE_OS2=1
2871 cat >>confdefs.h <<\_ACEOF
2872 #define __OS2__ 1
2873 _ACEOF
2874
2875 PROGRAM_EXT=".exe"
2876 DEFAULT_DEFAULT_wxUSE_PM=1
2877 CXX=gcc
2878 LDFLAGS="$LDFLAGS -Zcrtdll"
2879 ac_executable_extensions=".exe"
2880 export ac_executable_extensions
2881 ac_save_IFS="$IFS"
2882 IFS='\\'
2883 ac_TEMP_PATH=
2884 for ac_dir in $PATH; do
2885 IFS=$ac_save_IFS
2886 if test -z "$ac_TEMP_PATH"; then
2887 ac_TEMP_PATH="$ac_dir"
2888 else
2889 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2890 fi
2891 done
2892 export PATH="$ac_TEMP_PATH"
2893 unset ac_TEMP_PATH
2894 DEFAULT_STD_FLAG=no
2895 ;;
2896
2897 arm-apple-darwin*)
2898 USE_BSD=1
2899 USE_DARWIN=1
2900 cat >>confdefs.h <<\_ACEOF
2901 #define __BSD__ 1
2902 _ACEOF
2903
2904 cat >>confdefs.h <<\_ACEOF
2905 #define __DARWIN__ 1
2906 _ACEOF
2907
2908 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2909 ;;
2910
2911 *-*-darwin* )
2912 USE_BSD=1
2913 USE_DARWIN=1
2914 cat >>confdefs.h <<\_ACEOF
2915 #define __BSD__ 1
2916 _ACEOF
2917
2918 cat >>confdefs.h <<\_ACEOF
2919 #define __DARWIN__ 1
2920 _ACEOF
2921
2922 cat >>confdefs.h <<\_ACEOF
2923 #define TARGET_CARBON 1
2924 _ACEOF
2925
2926 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2927 ;;
2928
2929 *-*-beos* )
2930 USE_BEOS=1
2931 cat >>confdefs.h <<\_ACEOF
2932 #define __BEOS__ 1
2933 _ACEOF
2934
2935 ;;
2936
2937 *)
2938 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2939 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2940 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2941 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2942
2943 DEFAULT_DEFAULT_wxUSE_X11=1
2944 DEFAULT_wxUSE_SHARED=no
2945 esac
2946
2947
2948
2949 DEFAULT_wxUSE_ALL_FEATURES=yes
2950
2951 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2952 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2953
2954 DEFAULT_wxUSE_DMALLOC=no
2955 DEFAULT_wxUSE_LIBGNOMEVFS=no
2956 DEFAULT_wxUSE_LIBHILDON=no
2957 DEFAULT_wxUSE_LIBHILDON2=no
2958 DEFAULT_wxUSE_LIBMSPACK=no
2959 DEFAULT_wxUSE_LIBSDL=no
2960
2961 DEFAULT_wxUSE_ACCESSIBILITY=no
2962 DEFAULT_wxUSE_IPV6=no
2963 DEFAULT_wxUSE_GSTREAMER8=no
2964
2965 DEFAULT_wxUSE_UNICODE_UTF8=auto
2966 DEFAULT_wxUSE_OPENGL=auto
2967 DEFAULT_wxUSE_MEDIACTRL=auto
2968 DEFAULT_wxUSE_COMPILER_TLS=auto
2969
2970 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2971
2972 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2973
2974 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2975
2976 DEFAULT_wxUSE_GTK2=yes
2977
2978 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2979
2980
2981
2982
2983
2984 enablestring=disable
2985 defaultval=
2986 if test -z "$defaultval"; then
2987 if test x"$enablestring" = xdisable; then
2988 defaultval=yes
2989 else
2990 defaultval=no
2991 fi
2992 fi
2993
2994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2995 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2996 # Check whether --enable-gui was given.
2997 if test "${enable_gui+set}" = set; then
2998 enableval=$enable_gui;
2999 if test "$enableval" = yes; then
3000 wx_cv_use_gui='wxUSE_GUI=yes'
3001 else
3002 wx_cv_use_gui='wxUSE_GUI=no'
3003 fi
3004
3005 else
3006
3007 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3008
3009 fi
3010
3011
3012 eval "$wx_cv_use_gui"
3013
3014 if test x"$enablestring" = xdisable; then
3015 if test $wxUSE_GUI = no; then
3016 result=yes
3017 else
3018 result=no
3019 fi
3020 else
3021 result=$wxUSE_GUI
3022 fi
3023
3024 { echo "$as_me:$LINENO: result: $result" >&5
3025 echo "${ECHO_T}$result" >&6; }
3026
3027
3028 enablestring=
3029 defaultval=
3030 if test -z "$defaultval"; then
3031 if test x"$enablestring" = xdisable; then
3032 defaultval=yes
3033 else
3034 defaultval=no
3035 fi
3036 fi
3037
3038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3039 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3040 # Check whether --enable-monolithic was given.
3041 if test "${enable_monolithic+set}" = set; then
3042 enableval=$enable_monolithic;
3043 if test "$enableval" = yes; then
3044 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3045 else
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3047 fi
3048
3049 else
3050
3051 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3052
3053 fi
3054
3055
3056 eval "$wx_cv_use_monolithic"
3057
3058 if test x"$enablestring" = xdisable; then
3059 if test $wxUSE_MONOLITHIC = no; then
3060 result=yes
3061 else
3062 result=no
3063 fi
3064 else
3065 result=$wxUSE_MONOLITHIC
3066 fi
3067
3068 { echo "$as_me:$LINENO: result: $result" >&5
3069 echo "${ECHO_T}$result" >&6; }
3070
3071
3072 enablestring=
3073 defaultval=
3074 if test -z "$defaultval"; then
3075 if test x"$enablestring" = xdisable; then
3076 defaultval=yes
3077 else
3078 defaultval=no
3079 fi
3080 fi
3081
3082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3083 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3084 # Check whether --enable-plugins was given.
3085 if test "${enable_plugins+set}" = set; then
3086 enableval=$enable_plugins;
3087 if test "$enableval" = yes; then
3088 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3089 else
3090 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3091 fi
3092
3093 else
3094
3095 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3096
3097 fi
3098
3099
3100 eval "$wx_cv_use_plugins"
3101
3102 if test x"$enablestring" = xdisable; then
3103 if test $wxUSE_PLUGINS = no; then
3104 result=yes
3105 else
3106 result=no
3107 fi
3108 else
3109 result=$wxUSE_PLUGINS
3110 fi
3111
3112 { echo "$as_me:$LINENO: result: $result" >&5
3113 echo "${ECHO_T}$result" >&6; }
3114
3115
3116 withstring=without
3117 defaultval=$wxUSE_ALL_FEATURES
3118 if test -z "$defaultval"; then
3119 if test x"$withstring" = xwithout; then
3120 defaultval=yes
3121 else
3122 defaultval=no
3123 fi
3124 fi
3125 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3127
3128 # Check whether --with-subdirs was given.
3129 if test "${with_subdirs+set}" = set; then
3130 withval=$with_subdirs;
3131 if test "$withval" = yes; then
3132 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3133 else
3134 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3135 fi
3136
3137 else
3138
3139 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3140
3141 fi
3142
3143
3144 eval "$wx_cv_use_subdirs"
3145
3146 if test x"$withstring" = xwithout; then
3147 if test $wxWITH_SUBDIRS = yes; then
3148 result=no
3149 else
3150 result=yes
3151 fi
3152 else
3153 result=$wxWITH_SUBDIRS
3154 fi
3155
3156 { echo "$as_me:$LINENO: result: $result" >&5
3157 echo "${ECHO_T}$result" >&6; }
3158
3159
3160 # Check whether --with-flavour was given.
3161 if test "${with_flavour+set}" = set; then
3162 withval=$with_flavour; WX_FLAVOUR="$withval"
3163 fi
3164
3165
3166 enablestring=
3167 defaultval=
3168 if test -z "$defaultval"; then
3169 if test x"$enablestring" = xdisable; then
3170 defaultval=yes
3171 else
3172 defaultval=no
3173 fi
3174 fi
3175
3176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3177 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3178 # Check whether --enable-official_build was given.
3179 if test "${enable_official_build+set}" = set; then
3180 enableval=$enable_official_build;
3181 if test "$enableval" = yes; then
3182 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3183 else
3184 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3185 fi
3186
3187 else
3188
3189 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3190
3191 fi
3192
3193
3194 eval "$wx_cv_use_official_build"
3195
3196 if test x"$enablestring" = xdisable; then
3197 if test $wxUSE_OFFICIAL_BUILD = no; then
3198 result=yes
3199 else
3200 result=no
3201 fi
3202 else
3203 result=$wxUSE_OFFICIAL_BUILD
3204 fi
3205
3206 { echo "$as_me:$LINENO: result: $result" >&5
3207 echo "${ECHO_T}$result" >&6; }
3208
3209 # Check whether --enable-vendor was given.
3210 if test "${enable_vendor+set}" = set; then
3211 enableval=$enable_vendor; VENDOR="$enableval"
3212 fi
3213
3214 if test "x$VENDOR" = "x"; then
3215 VENDOR="custom"
3216 fi
3217
3218
3219 enablestring=disable
3220 defaultval=
3221 if test -z "$defaultval"; then
3222 if test x"$enablestring" = xdisable; then
3223 defaultval=yes
3224 else
3225 defaultval=no
3226 fi
3227 fi
3228
3229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3230 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3231 # Check whether --enable-all-features was given.
3232 if test "${enable_all_features+set}" = set; then
3233 enableval=$enable_all_features;
3234 if test "$enableval" = yes; then
3235 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3236 else
3237 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3238 fi
3239
3240 else
3241
3242 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3243
3244 fi
3245
3246
3247 eval "$wx_cv_use_all_features"
3248
3249 if test x"$enablestring" = xdisable; then
3250 if test $wxUSE_ALL_FEATURES = no; then
3251 result=yes
3252 else
3253 result=no
3254 fi
3255 else
3256 result=$wxUSE_ALL_FEATURES
3257 fi
3258
3259 { echo "$as_me:$LINENO: result: $result" >&5
3260 echo "${ECHO_T}$result" >&6; }
3261
3262
3263 if test "$wxUSE_ALL_FEATURES" = "no"; then
3264 DEFAULT_wxUSE_MEDIACTRL=no
3265 fi
3266
3267
3268 if test "$wxUSE_GUI" = "yes"; then
3269
3270
3271 enablestring=
3272 defaultval=
3273 if test -z "$defaultval"; then
3274 if test x"$enablestring" = xdisable; then
3275 defaultval=yes
3276 else
3277 defaultval=no
3278 fi
3279 fi
3280
3281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3282 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3283 # Check whether --enable-universal was given.
3284 if test "${enable_universal+set}" = set; then
3285 enableval=$enable_universal;
3286 if test "$enableval" = yes; then
3287 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3288 else
3289 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3290 fi
3291
3292 else
3293
3294 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3295
3296 fi
3297
3298
3299 eval "$wx_cv_use_universal"
3300
3301 if test x"$enablestring" = xdisable; then
3302 if test $wxUSE_UNIVERSAL = no; then
3303 result=yes
3304 else
3305 result=no
3306 fi
3307 else
3308 result=$wxUSE_UNIVERSAL
3309 fi
3310
3311 { echo "$as_me:$LINENO: result: $result" >&5
3312 echo "${ECHO_T}$result" >&6; }
3313
3314 if test "$wxUSE_UNIVERSAL" = "yes"; then
3315
3316 # Check whether --with-themes was given.
3317 if test "${with_themes+set}" = set; then
3318 withval=$with_themes; wxUNIV_THEMES="$withval"
3319 fi
3320
3321 fi
3322
3323
3324 # Check whether --with-gtk was given.
3325 if test "${with_gtk+set}" = set; then
3326 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3327 fi
3328
3329
3330 # Check whether --with-motif was given.
3331 if test "${with_motif+set}" = set; then
3332 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3333 fi
3334
3335
3336 # Check whether --with-osx_carbon was given.
3337 if test "${with_osx_carbon+set}" = set; then
3338 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3339 fi
3340
3341
3342 # Check whether --with-osx_cocoa was given.
3343 if test "${with_osx_cocoa+set}" = set; then
3344 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3345 fi
3346
3347
3348 # Check whether --with-osx_iphone was given.
3349 if test "${with_osx_iphone+set}" = set; then
3350 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3351 fi
3352
3353
3354 # Check whether --with-osx was given.
3355 if test "${with_osx+set}" = set; then
3356 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3357 fi
3358
3359
3360 # Check whether --with-carbon was given.
3361 if test "${with_carbon+set}" = set; then
3362 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3363 fi
3364
3365
3366 # Check whether --with-cocoa was given.
3367 if test "${with_cocoa+set}" = set; then
3368 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3369 fi
3370
3371
3372 # Check whether --with-iphone was given.
3373 if test "${with_iphone+set}" = set; then
3374 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3375 fi
3376
3377
3378 # Check whether --with-mac was given.
3379 if test "${with_mac+set}" = set; then
3380 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-old_cocoa was given.
3385 if test "${with_old_cocoa+set}" = set; then
3386 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-wine was given.
3391 if test "${with_wine+set}" = set; then
3392 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3393 fi
3394
3395
3396 # Check whether --with-msw was given.
3397 if test "${with_msw+set}" = set; then
3398 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3399 fi
3400
3401
3402 # Check whether --with-pm was given.
3403 if test "${with_pm+set}" = set; then
3404 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3405 fi
3406
3407
3408 # Check whether --with-mgl was given.
3409 if test "${with_mgl+set}" = set; then
3410 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3411 fi
3412
3413
3414 # Check whether --with-directfb was given.
3415 if test "${with_directfb+set}" = set; then
3416 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3417 fi
3418
3419
3420 # Check whether --with-microwin was given.
3421 if test "${with_microwin+set}" = set; then
3422 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3423 fi
3424
3425
3426 # Check whether --with-x11 was given.
3427 if test "${with_x11+set}" = set; then
3428 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3429 fi
3430
3431
3432 enablestring=
3433 defaultval=
3434 if test -z "$defaultval"; then
3435 if test x"$enablestring" = xdisable; then
3436 defaultval=yes
3437 else
3438 defaultval=no
3439 fi
3440 fi
3441
3442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3443 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3444 # Check whether --enable-nanox was given.
3445 if test "${enable_nanox+set}" = set; then
3446 enableval=$enable_nanox;
3447 if test "$enableval" = yes; then
3448 wx_cv_use_nanox='wxUSE_NANOX=yes'
3449 else
3450 wx_cv_use_nanox='wxUSE_NANOX=no'
3451 fi
3452
3453 else
3454
3455 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3456
3457 fi
3458
3459
3460 eval "$wx_cv_use_nanox"
3461
3462 if test x"$enablestring" = xdisable; then
3463 if test $wxUSE_NANOX = no; then
3464 result=yes
3465 else
3466 result=no
3467 fi
3468 else
3469 result=$wxUSE_NANOX
3470 fi
3471
3472 { echo "$as_me:$LINENO: result: $result" >&5
3473 echo "${ECHO_T}$result" >&6; }
3474
3475
3476 # Check whether --enable-gtk2 was given.
3477 if test "${enable_gtk2+set}" = set; then
3478 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3479 fi
3480
3481
3482 enablestring=
3483 defaultval=
3484 if test -z "$defaultval"; then
3485 if test x"$enablestring" = xdisable; then
3486 defaultval=yes
3487 else
3488 defaultval=no
3489 fi
3490 fi
3491
3492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3493 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3494 # Check whether --enable-gpe was given.
3495 if test "${enable_gpe+set}" = set; then
3496 enableval=$enable_gpe;
3497 if test "$enableval" = yes; then
3498 wx_cv_use_gpe='wxUSE_GPE=yes'
3499 else
3500 wx_cv_use_gpe='wxUSE_GPE=no'
3501 fi
3502
3503 else
3504
3505 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3506
3507 fi
3508
3509
3510 eval "$wx_cv_use_gpe"
3511
3512 if test x"$enablestring" = xdisable; then
3513 if test $wxUSE_GPE = no; then
3514 result=yes
3515 else
3516 result=no
3517 fi
3518 else
3519 result=$wxUSE_GPE
3520 fi
3521
3522 { echo "$as_me:$LINENO: result: $result" >&5
3523 echo "${ECHO_T}$result" >&6; }
3524
3525
3526
3527 { echo "$as_me:$LINENO: checking for toolkit" >&5
3528 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3529
3530
3531
3532 # In Wine, we need to default to MSW, not GTK or MOTIF
3533 if test "$wxUSE_WINE" = "yes"; then
3534 DEFAULT_DEFAULT_wxUSE_GTK=0
3535 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3536 DEFAULT_DEFAULT_wxUSE_MSW=1
3537 wxUSE_SHARED=no
3538 CC=${CC:-winegcc}
3539 CXX=${CXX:-wineg++}
3540 fi
3541
3542
3543 if test "$wxUSE_GUI" = "yes"; then
3544
3545 if test "$USE_BEOS" = 1; then
3546 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3547 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3548 { (exit 1); exit 1; }; }
3549 fi
3550
3551 if test "$TOOLKIT_GIVEN" = 1; then
3552 for toolkit in $ALL_TOOLKITS; do
3553 var=wxUSE_$toolkit
3554 eval "value=\$${var}"
3555 if test "x$value" = "xno"; then
3556 eval "$var=0"
3557 elif test "x$value" != "x"; then
3558 eval "$var=1"
3559 fi
3560
3561 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3562 eval "wx${toolkit}_VERSION=$value"
3563 fi
3564 done
3565 else
3566 for toolkit in $ALL_TOOLKITS; do
3567 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3568 eval "wxUSE_$toolkit=\$${var}"
3569 done
3570 fi
3571
3572 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3573 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3574 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3575
3576 case "${host}" in
3577 *-pc-os2_emx | *-pc-os2-emx )
3578 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3579 esac
3580
3581 case "$NUM_TOOLKITS" in
3582 1)
3583 ;;
3584 0)
3585 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3586 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3587 { (exit 1); exit 1; }; }
3588 ;;
3589 *)
3590 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3591 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3592 { (exit 1); exit 1; }; }
3593 esac
3594
3595 # to be removed when --disable-gtk2 isn't needed
3596 if test "x$wxUSE_GTK2" = "xyes"; then
3597 wxGTK_VERSION=2
3598 elif test "x$wxUSE_GTK2" = "xno"; then
3599 wxGTK_VERSION=1
3600 fi
3601
3602 for toolkit in $ALL_TOOLKITS; do
3603 var=wxUSE_$toolkit
3604 eval "value=\$${var}"
3605 if test "$value" = 1; then
3606 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3607 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3608 echo "${ECHO_T}$toolkit_echo" >&6; }
3609 fi
3610 done
3611 else
3612 if test "x$host_alias" != "x"; then
3613 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3614 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3615 else
3616 { echo "$as_me:$LINENO: result: base only" >&5
3617 echo "${ECHO_T}base only" >&6; }
3618 fi
3619 fi
3620
3621 wxUSE_MAC=0
3622 if test "$wxUSE_OSX_CARBON" = 1 \
3623 -o "$wxUSE_OSX_COCOA" = 1 \
3624 -o "$wxUSE_OSX_IPHONE" = 1; then
3625 wxUSE_MAC=1
3626 fi
3627
3628
3629
3630 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3631 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3632
3633 # Check whether --with-libpng was given.
3634 if test "${with_libpng+set}" = set; then
3635 withval=$with_libpng;
3636 if test "$withval" = yes; then
3637 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3638 elif test "$withval" = no; then
3639 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3640 elif test "$withval" = sys; then
3641 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3642 elif test "$withval" = builtin; then
3643 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3644 else
3645 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3646 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3647 { (exit 1); exit 1; }; }
3648 fi
3649
3650 else
3651
3652 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3653
3654 fi
3655
3656
3657 eval "$wx_cv_use_libpng"
3658
3659 if test "$wxUSE_LIBPNG" = yes; then
3660 { echo "$as_me:$LINENO: result: yes" >&5
3661 echo "${ECHO_T}yes" >&6; }
3662 elif test "$wxUSE_LIBPNG" = no; then
3663 { echo "$as_me:$LINENO: result: no" >&5
3664 echo "${ECHO_T}no" >&6; }
3665 elif test "$wxUSE_LIBPNG" = sys; then
3666 { echo "$as_me:$LINENO: result: system version" >&5
3667 echo "${ECHO_T}system version" >&6; }
3668 elif test "$wxUSE_LIBPNG" = builtin; then
3669 { echo "$as_me:$LINENO: result: builtin version" >&5
3670 echo "${ECHO_T}builtin version" >&6; }
3671 else
3672 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3673 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3674 { (exit 1); exit 1; }; }
3675 fi
3676
3677
3678 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3679 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3680
3681 # Check whether --with-libjpeg was given.
3682 if test "${with_libjpeg+set}" = set; then
3683 withval=$with_libjpeg;
3684 if test "$withval" = yes; then
3685 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3686 elif test "$withval" = no; then
3687 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3688 elif test "$withval" = sys; then
3689 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3690 elif test "$withval" = builtin; then
3691 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3692 else
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3696 fi
3697
3698 else
3699
3700 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3701
3702 fi
3703
3704
3705 eval "$wx_cv_use_libjpeg"
3706
3707 if test "$wxUSE_LIBJPEG" = yes; then
3708 { echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6; }
3710 elif test "$wxUSE_LIBJPEG" = no; then
3711 { echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6; }
3713 elif test "$wxUSE_LIBJPEG" = sys; then
3714 { echo "$as_me:$LINENO: result: system version" >&5
3715 echo "${ECHO_T}system version" >&6; }
3716 elif test "$wxUSE_LIBJPEG" = builtin; then
3717 { echo "$as_me:$LINENO: result: builtin version" >&5
3718 echo "${ECHO_T}builtin version" >&6; }
3719 else
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3723 fi
3724
3725
3726 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3727 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3728
3729 # Check whether --with-libtiff was given.
3730 if test "${with_libtiff+set}" = set; then
3731 withval=$with_libtiff;
3732 if test "$withval" = yes; then
3733 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3734 elif test "$withval" = no; then
3735 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3736 elif test "$withval" = sys; then
3737 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3738 elif test "$withval" = builtin; then
3739 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3740 else
3741 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3742 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3743 { (exit 1); exit 1; }; }
3744 fi
3745
3746 else
3747
3748 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3749
3750 fi
3751
3752
3753 eval "$wx_cv_use_libtiff"
3754
3755 if test "$wxUSE_LIBTIFF" = yes; then
3756 { echo "$as_me:$LINENO: result: yes" >&5
3757 echo "${ECHO_T}yes" >&6; }
3758 elif test "$wxUSE_LIBTIFF" = no; then
3759 { echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6; }
3761 elif test "$wxUSE_LIBTIFF" = sys; then
3762 { echo "$as_me:$LINENO: result: system version" >&5
3763 echo "${ECHO_T}system version" >&6; }
3764 elif test "$wxUSE_LIBTIFF" = builtin; then
3765 { echo "$as_me:$LINENO: result: builtin version" >&5
3766 echo "${ECHO_T}builtin version" >&6; }
3767 else
3768 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3769 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3770 { (exit 1); exit 1; }; }
3771 fi
3772
3773
3774 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3775 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3776
3777 # Check whether --with-libxpm was given.
3778 if test "${with_libxpm+set}" = set; then
3779 withval=$with_libxpm;
3780 if test "$withval" = yes; then
3781 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3782 elif test "$withval" = no; then
3783 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3784 elif test "$withval" = sys; then
3785 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3786 elif test "$withval" = builtin; then
3787 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3788 else
3789 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3790 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3791 { (exit 1); exit 1; }; }
3792 fi
3793
3794 else
3795
3796 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3797
3798 fi
3799
3800
3801 eval "$wx_cv_use_libxpm"
3802
3803 if test "$wxUSE_LIBXPM" = yes; then
3804 { echo "$as_me:$LINENO: result: yes" >&5
3805 echo "${ECHO_T}yes" >&6; }
3806 elif test "$wxUSE_LIBXPM" = no; then
3807 { echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6; }
3809 elif test "$wxUSE_LIBXPM" = sys; then
3810 { echo "$as_me:$LINENO: result: system version" >&5
3811 echo "${ECHO_T}system version" >&6; }
3812 elif test "$wxUSE_LIBXPM" = builtin; then
3813 { echo "$as_me:$LINENO: result: builtin version" >&5
3814 echo "${ECHO_T}builtin version" >&6; }
3815 else
3816 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3817 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3818 { (exit 1); exit 1; }; }
3819 fi
3820
3821
3822 withstring=
3823 defaultval=$wxUSE_ALL_FEATURES
3824 if test -z "$defaultval"; then
3825 if test x"$withstring" = xwithout; then
3826 defaultval=yes
3827 else
3828 defaultval=no
3829 fi
3830 fi
3831 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3832 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3833
3834 # Check whether --with-libiconv was given.
3835 if test "${with_libiconv+set}" = set; then
3836 withval=$with_libiconv;
3837 if test "$withval" = yes; then
3838 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3839 else
3840 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3841 fi
3842
3843 else
3844
3845 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3846
3847 fi
3848
3849
3850 eval "$wx_cv_use_libiconv"
3851
3852 if test x"$withstring" = xwithout; then
3853 if test $wxUSE_LIBICONV = yes; then
3854 result=no
3855 else
3856 result=yes
3857 fi
3858 else
3859 result=$wxUSE_LIBICONV
3860 fi
3861
3862 { echo "$as_me:$LINENO: result: $result" >&5
3863 echo "${ECHO_T}$result" >&6; }
3864
3865
3866 withstring=
3867 defaultval=$wxUSE_ALL_FEATURES
3868 if test -z "$defaultval"; then
3869 if test x"$withstring" = xwithout; then
3870 defaultval=yes
3871 else
3872 defaultval=no
3873 fi
3874 fi
3875 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3876 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3877
3878 # Check whether --with-libmspack was given.
3879 if test "${with_libmspack+set}" = set; then
3880 withval=$with_libmspack;
3881 if test "$withval" = yes; then
3882 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3883 else
3884 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3885 fi
3886
3887 else
3888
3889 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3890
3891 fi
3892
3893
3894 eval "$wx_cv_use_libmspack"
3895
3896 if test x"$withstring" = xwithout; then
3897 if test $wxUSE_LIBMSPACK = yes; then
3898 result=no
3899 else
3900 result=yes
3901 fi
3902 else
3903 result=$wxUSE_LIBMSPACK
3904 fi
3905
3906 { echo "$as_me:$LINENO: result: $result" >&5
3907 echo "${ECHO_T}$result" >&6; }
3908
3909
3910 withstring=without
3911 defaultval=$wxUSE_ALL_FEATURES
3912 if test -z "$defaultval"; then
3913 if test x"$withstring" = xwithout; then
3914 defaultval=yes
3915 else
3916 defaultval=no
3917 fi
3918 fi
3919 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3920 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3921
3922 # Check whether --with-gtkprint was given.
3923 if test "${with_gtkprint+set}" = set; then
3924 withval=$with_gtkprint;
3925 if test "$withval" = yes; then
3926 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3927 else
3928 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3929 fi
3930
3931 else
3932
3933 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3934
3935 fi
3936
3937
3938 eval "$wx_cv_use_gtkprint"
3939
3940 if test x"$withstring" = xwithout; then
3941 if test $wxUSE_GTKPRINT = yes; then
3942 result=no
3943 else
3944 result=yes
3945 fi
3946 else
3947 result=$wxUSE_GTKPRINT
3948 fi
3949
3950 { echo "$as_me:$LINENO: result: $result" >&5
3951 echo "${ECHO_T}$result" >&6; }
3952
3953
3954 withstring=without
3955 defaultval=$wxUSE_ALL_FEATURES
3956 if test -z "$defaultval"; then
3957 if test x"$withstring" = xwithout; then
3958 defaultval=yes
3959 else
3960 defaultval=no
3961 fi
3962 fi
3963 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3964 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3965
3966 # Check whether --with-gnomeprint was given.
3967 if test "${with_gnomeprint+set}" = set; then
3968 withval=$with_gnomeprint;
3969 if test "$withval" = yes; then
3970 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3971 else
3972 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3973 fi
3974
3975 else
3976
3977 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3978
3979 fi
3980
3981
3982 eval "$wx_cv_use_gnomeprint"
3983
3984 if test x"$withstring" = xwithout; then
3985 if test $wxUSE_LIBGNOMEPRINT = yes; then
3986 result=no
3987 else
3988 result=yes
3989 fi
3990 else
3991 result=$wxUSE_LIBGNOMEPRINT
3992 fi
3993
3994 { echo "$as_me:$LINENO: result: $result" >&5
3995 echo "${ECHO_T}$result" >&6; }
3996
3997
3998 withstring=
3999 defaultval=$wxUSE_ALL_FEATURES
4000 if test -z "$defaultval"; then
4001 if test x"$withstring" = xwithout; then
4002 defaultval=yes
4003 else
4004 defaultval=no
4005 fi
4006 fi
4007 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4008 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4009
4010 # Check whether --with-gnomevfs was given.
4011 if test "${with_gnomevfs+set}" = set; then
4012 withval=$with_gnomevfs;
4013 if test "$withval" = yes; then
4014 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4015 else
4016 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4017 fi
4018
4019 else
4020
4021 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4022
4023 fi
4024
4025
4026 eval "$wx_cv_use_gnomevfs"
4027
4028 if test x"$withstring" = xwithout; then
4029 if test $wxUSE_LIBGNOMEVFS = yes; then
4030 result=no
4031 else
4032 result=yes
4033 fi
4034 else
4035 result=$wxUSE_LIBGNOMEVFS
4036 fi
4037
4038 { echo "$as_me:$LINENO: result: $result" >&5
4039 echo "${ECHO_T}$result" >&6; }
4040
4041
4042 withstring=
4043 defaultval=$wxUSE_ALL_FEATURES
4044 if test -z "$defaultval"; then
4045 if test x"$withstring" = xwithout; then
4046 defaultval=yes
4047 else
4048 defaultval=no
4049 fi
4050 fi
4051 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4052 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4053
4054 # Check whether --with-hildon was given.
4055 if test "${with_hildon+set}" = set; then
4056 withval=$with_hildon;
4057 if test "$withval" = yes; then
4058 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4059 else
4060 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4061 fi
4062
4063 else
4064
4065 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4066
4067 fi
4068
4069
4070 eval "$wx_cv_use_hildon"
4071
4072 if test x"$withstring" = xwithout; then
4073 if test $wxUSE_LIBHILDON = yes; then
4074 result=no
4075 else
4076 result=yes
4077 fi
4078 else
4079 result=$wxUSE_LIBHILDON
4080 fi
4081
4082 { echo "$as_me:$LINENO: result: $result" >&5
4083 echo "${ECHO_T}$result" >&6; }
4084
4085
4086 withstring=
4087 defaultval=$wxUSE_ALL_FEATURES
4088 if test -z "$defaultval"; then
4089 if test x"$withstring" = xwithout; then
4090 defaultval=yes
4091 else
4092 defaultval=no
4093 fi
4094 fi
4095 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4096 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4097
4098 # Check whether --with-opengl was given.
4099 if test "${with_opengl+set}" = set; then
4100 withval=$with_opengl;
4101 if test "$withval" = yes; then
4102 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4103 else
4104 wx_cv_use_opengl='wxUSE_OPENGL=no'
4105 fi
4106
4107 else
4108
4109 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4110
4111 fi
4112
4113
4114 eval "$wx_cv_use_opengl"
4115
4116 if test x"$withstring" = xwithout; then
4117 if test $wxUSE_OPENGL = yes; then
4118 result=no
4119 else
4120 result=yes
4121 fi
4122 else
4123 result=$wxUSE_OPENGL
4124 fi
4125
4126 { echo "$as_me:$LINENO: result: $result" >&5
4127 echo "${ECHO_T}$result" >&6; }
4128
4129
4130 fi
4131
4132
4133 withstring=
4134 defaultval=$wxUSE_ALL_FEATURES
4135 if test -z "$defaultval"; then
4136 if test x"$withstring" = xwithout; then
4137 defaultval=yes
4138 else
4139 defaultval=no
4140 fi
4141 fi
4142 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4143 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4144
4145 # Check whether --with-dmalloc was given.
4146 if test "${with_dmalloc+set}" = set; then
4147 withval=$with_dmalloc;
4148 if test "$withval" = yes; then
4149 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4150 else
4151 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4152 fi
4153
4154 else
4155
4156 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4157
4158 fi
4159
4160
4161 eval "$wx_cv_use_dmalloc"
4162
4163 if test x"$withstring" = xwithout; then
4164 if test $wxUSE_DMALLOC = yes; then
4165 result=no
4166 else
4167 result=yes
4168 fi
4169 else
4170 result=$wxUSE_DMALLOC
4171 fi
4172
4173 { echo "$as_me:$LINENO: result: $result" >&5
4174 echo "${ECHO_T}$result" >&6; }
4175
4176
4177 withstring=
4178 defaultval=$wxUSE_ALL_FEATURES
4179 if test -z "$defaultval"; then
4180 if test x"$withstring" = xwithout; then
4181 defaultval=yes
4182 else
4183 defaultval=no
4184 fi
4185 fi
4186 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4187 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4188
4189 # Check whether --with-sdl was given.
4190 if test "${with_sdl+set}" = set; then
4191 withval=$with_sdl;
4192 if test "$withval" = yes; then
4193 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4194 else
4195 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4196 fi
4197
4198 else
4199
4200 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4201
4202 fi
4203
4204
4205 eval "$wx_cv_use_sdl"
4206
4207 if test x"$withstring" = xwithout; then
4208 if test $wxUSE_LIBSDL = yes; then
4209 result=no
4210 else
4211 result=yes
4212 fi
4213 else
4214 result=$wxUSE_LIBSDL
4215 fi
4216
4217 { echo "$as_me:$LINENO: result: $result" >&5
4218 echo "${ECHO_T}$result" >&6; }
4219
4220
4221 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4222 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4223
4224 # Check whether --with-regex was given.
4225 if test "${with_regex+set}" = set; then
4226 withval=$with_regex;
4227 if test "$withval" = yes; then
4228 wx_cv_use_regex='wxUSE_REGEX=yes'
4229 elif test "$withval" = no; then
4230 wx_cv_use_regex='wxUSE_REGEX=no'
4231 elif test "$withval" = sys; then
4232 wx_cv_use_regex='wxUSE_REGEX=sys'
4233 elif test "$withval" = builtin; then
4234 wx_cv_use_regex='wxUSE_REGEX=builtin'
4235 else
4236 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4237 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4238 { (exit 1); exit 1; }; }
4239 fi
4240
4241 else
4242
4243 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4244
4245 fi
4246
4247
4248 eval "$wx_cv_use_regex"
4249
4250 if test "$wxUSE_REGEX" = yes; then
4251 { echo "$as_me:$LINENO: result: yes" >&5
4252 echo "${ECHO_T}yes" >&6; }
4253 elif test "$wxUSE_REGEX" = no; then
4254 { echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6; }
4256 elif test "$wxUSE_REGEX" = sys; then
4257 { echo "$as_me:$LINENO: result: system version" >&5
4258 echo "${ECHO_T}system version" >&6; }
4259 elif test "$wxUSE_REGEX" = builtin; then
4260 { echo "$as_me:$LINENO: result: builtin version" >&5
4261 echo "${ECHO_T}builtin version" >&6; }
4262 else
4263 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4264 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4265 { (exit 1); exit 1; }; }
4266 fi
4267
4268
4269 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4270 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4271
4272 # Check whether --with-zlib was given.
4273 if test "${with_zlib+set}" = set; then
4274 withval=$with_zlib;
4275 if test "$withval" = yes; then
4276 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4277 elif test "$withval" = no; then
4278 wx_cv_use_zlib='wxUSE_ZLIB=no'
4279 elif test "$withval" = sys; then
4280 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4281 elif test "$withval" = builtin; then
4282 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4283 else
4284 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4285 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4286 { (exit 1); exit 1; }; }
4287 fi
4288
4289 else
4290
4291 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4292
4293 fi
4294
4295
4296 eval "$wx_cv_use_zlib"
4297
4298 if test "$wxUSE_ZLIB" = yes; then
4299 { echo "$as_me:$LINENO: result: yes" >&5
4300 echo "${ECHO_T}yes" >&6; }
4301 elif test "$wxUSE_ZLIB" = no; then
4302 { echo "$as_me:$LINENO: result: no" >&5
4303 echo "${ECHO_T}no" >&6; }
4304 elif test "$wxUSE_ZLIB" = sys; then
4305 { echo "$as_me:$LINENO: result: system version" >&5
4306 echo "${ECHO_T}system version" >&6; }
4307 elif test "$wxUSE_ZLIB" = builtin; then
4308 { echo "$as_me:$LINENO: result: builtin version" >&5
4309 echo "${ECHO_T}builtin version" >&6; }
4310 else
4311 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4312 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4313 { (exit 1); exit 1; }; }
4314 fi
4315
4316
4317 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4318 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4319
4320 # Check whether --with-expat was given.
4321 if test "${with_expat+set}" = set; then
4322 withval=$with_expat;
4323 if test "$withval" = yes; then
4324 wx_cv_use_expat='wxUSE_EXPAT=yes'
4325 elif test "$withval" = no; then
4326 wx_cv_use_expat='wxUSE_EXPAT=no'
4327 elif test "$withval" = sys; then
4328 wx_cv_use_expat='wxUSE_EXPAT=sys'
4329 elif test "$withval" = builtin; then
4330 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4331 else
4332 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4333 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4334 { (exit 1); exit 1; }; }
4335 fi
4336
4337 else
4338
4339 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4340
4341 fi
4342
4343
4344 eval "$wx_cv_use_expat"
4345
4346 if test "$wxUSE_EXPAT" = yes; then
4347 { echo "$as_me:$LINENO: result: yes" >&5
4348 echo "${ECHO_T}yes" >&6; }
4349 elif test "$wxUSE_EXPAT" = no; then
4350 { echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6; }
4352 elif test "$wxUSE_EXPAT" = sys; then
4353 { echo "$as_me:$LINENO: result: system version" >&5
4354 echo "${ECHO_T}system version" >&6; }
4355 elif test "$wxUSE_EXPAT" = builtin; then
4356 { echo "$as_me:$LINENO: result: builtin version" >&5
4357 echo "${ECHO_T}builtin version" >&6; }
4358 else
4359 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4360 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4361 { (exit 1); exit 1; }; }
4362 fi
4363
4364
4365 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4366 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4367
4368 # Check whether --with-macosx-sdk was given.
4369 if test "${with_macosx_sdk+set}" = set; then
4370 withval=$with_macosx_sdk;
4371 wxUSE_MACOSX_SDK=$withval
4372 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4373
4374 fi
4375
4376 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4377 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4378
4379 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4380 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4381
4382 # Check whether --with-macosx-version-min was given.
4383 if test "${with_macosx_version_min+set}" = set; then
4384 withval=$with_macosx_version_min;
4385 wxUSE_MACOSX_VERSION_MIN=$withval
4386 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4387
4388 fi
4389
4390 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4391 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4392
4393
4394 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4395 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4396 # Check whether --enable-debug was given.
4397 if test "${enable_debug+set}" = set; then
4398 enableval=$enable_debug;
4399 if test "$enableval" = yes; then
4400 wxUSE_DEBUG=yes
4401 elif test "$enableval" = no; then
4402 wxUSE_DEBUG=no
4403 elif test "$enableval" = max; then
4404 wxUSE_DEBUG=yes
4405 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4406 else
4407 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4408 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4409 { (exit 1); exit 1; }; }
4410 fi
4411
4412 else
4413 wxUSE_DEBUG=default
4414
4415 fi
4416
4417
4418 case "$wxUSE_DEBUG" in
4419 yes)
4420 DEFAULT_wxUSE_DEBUG_FLAG=yes
4421 DEFAULT_wxUSE_DEBUG_INFO=yes
4422
4423 DEFAULT_wxUSE_OPTIMISE=no
4424 ;;
4425
4426 no)
4427 DEFAULT_wxUSE_DEBUG_FLAG=no
4428 DEFAULT_wxUSE_DEBUG_INFO=no
4429 ;;
4430
4431 default)
4432 DEFAULT_wxUSE_DEBUG_FLAG=yes
4433 DEFAULT_wxUSE_DEBUG_INFO=no
4434 ;;
4435 esac
4436
4437
4438 enablestring=disable
4439 defaultval=
4440 if test -z "$defaultval"; then
4441 if test x"$enablestring" = xdisable; then
4442 defaultval=yes
4443 else
4444 defaultval=no
4445 fi
4446 fi
4447
4448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4449 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4450 # Check whether --enable-debug_flag was given.
4451 if test "${enable_debug_flag+set}" = set; then
4452 enableval=$enable_debug_flag;
4453 if test "$enableval" = yes; then
4454 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4455 else
4456 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4457 fi
4458
4459 else
4460
4461 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4462
4463 fi
4464
4465
4466 eval "$wx_cv_use_debug_flag"
4467
4468 if test x"$enablestring" = xdisable; then
4469 if test $wxUSE_DEBUG_FLAG = no; then
4470 result=yes
4471 else
4472 result=no
4473 fi
4474 else
4475 result=$wxUSE_DEBUG_FLAG
4476 fi
4477
4478 { echo "$as_me:$LINENO: result: $result" >&5
4479 echo "${ECHO_T}$result" >&6; }
4480
4481
4482 enablestring=
4483 defaultval=
4484 if test -z "$defaultval"; then
4485 if test x"$enablestring" = xdisable; then
4486 defaultval=yes
4487 else
4488 defaultval=no
4489 fi
4490 fi
4491
4492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4494 # Check whether --enable-debug_info was given.
4495 if test "${enable_debug_info+set}" = set; then
4496 enableval=$enable_debug_info;
4497 if test "$enableval" = yes; then
4498 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4499 else
4500 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4501 fi
4502
4503 else
4504
4505 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4506
4507 fi
4508
4509
4510 eval "$wx_cv_use_debug_info"
4511
4512 if test x"$enablestring" = xdisable; then
4513 if test $wxUSE_DEBUG_INFO = no; then
4514 result=yes
4515 else
4516 result=no
4517 fi
4518 else
4519 result=$wxUSE_DEBUG_INFO
4520 fi
4521
4522 { echo "$as_me:$LINENO: result: $result" >&5
4523 echo "${ECHO_T}$result" >&6; }
4524
4525
4526
4527
4528 enablestring=
4529 defaultval=
4530 if test -z "$defaultval"; then
4531 if test x"$enablestring" = xdisable; then
4532 defaultval=yes
4533 else
4534 defaultval=no
4535 fi
4536 fi
4537
4538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4540 # Check whether --enable-debug_gdb was given.
4541 if test "${enable_debug_gdb+set}" = set; then
4542 enableval=$enable_debug_gdb;
4543 if test "$enableval" = yes; then
4544 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4545 else
4546 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4547 fi
4548
4549 else
4550
4551 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4552
4553 fi
4554
4555
4556 eval "$wx_cv_use_debug_gdb"
4557
4558 if test x"$enablestring" = xdisable; then
4559 if test $wxUSE_DEBUG_GDB = no; then
4560 result=yes
4561 else
4562 result=no
4563 fi
4564 else
4565 result=$wxUSE_DEBUG_GDB
4566 fi
4567
4568 { echo "$as_me:$LINENO: result: $result" >&5
4569 echo "${ECHO_T}$result" >&6; }
4570
4571
4572 enablestring=
4573 defaultval=
4574 if test -z "$defaultval"; then
4575 if test x"$enablestring" = xdisable; then
4576 defaultval=yes
4577 else
4578 defaultval=no
4579 fi
4580 fi
4581
4582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4584 # Check whether --enable-debug_cntxt was given.
4585 if test "${enable_debug_cntxt+set}" = set; then
4586 enableval=$enable_debug_cntxt;
4587 if test "$enableval" = yes; then
4588 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4589 else
4590 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4591 fi
4592
4593 else
4594
4595 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4596
4597 fi
4598
4599
4600 eval "$wx_cv_use_debug_cntxt"
4601
4602 if test x"$enablestring" = xdisable; then
4603 if test $wxUSE_DEBUG_CONTEXT = no; then
4604 result=yes
4605 else
4606 result=no
4607 fi
4608 else
4609 result=$wxUSE_DEBUG_CONTEXT
4610 fi
4611
4612 { echo "$as_me:$LINENO: result: $result" >&5
4613 echo "${ECHO_T}$result" >&6; }
4614
4615
4616 enablestring=
4617 defaultval=
4618 if test -z "$defaultval"; then
4619 if test x"$enablestring" = xdisable; then
4620 defaultval=yes
4621 else
4622 defaultval=no
4623 fi
4624 fi
4625
4626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4627 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4628 # Check whether --enable-mem_tracing was given.
4629 if test "${enable_mem_tracing+set}" = set; then
4630 enableval=$enable_mem_tracing;
4631 if test "$enableval" = yes; then
4632 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4633 else
4634 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4635 fi
4636
4637 else
4638
4639 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4640
4641 fi
4642
4643
4644 eval "$wx_cv_use_mem_tracing"
4645
4646 if test x"$enablestring" = xdisable; then
4647 if test $wxUSE_MEM_TRACING = no; then
4648 result=yes
4649 else
4650 result=no
4651 fi
4652 else
4653 result=$wxUSE_MEM_TRACING
4654 fi
4655
4656 { echo "$as_me:$LINENO: result: $result" >&5
4657 echo "${ECHO_T}$result" >&6; }
4658
4659
4660
4661
4662 enablestring=disable
4663 defaultval=
4664 if test -z "$defaultval"; then
4665 if test x"$enablestring" = xdisable; then
4666 defaultval=yes
4667 else
4668 defaultval=no
4669 fi
4670 fi
4671
4672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4673 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4674 # Check whether --enable-shared was given.
4675 if test "${enable_shared+set}" = set; then
4676 enableval=$enable_shared;
4677 if test "$enableval" = yes; then
4678 wx_cv_use_shared='wxUSE_SHARED=yes'
4679 else
4680 wx_cv_use_shared='wxUSE_SHARED=no'
4681 fi
4682
4683 else
4684
4685 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4686
4687 fi
4688
4689
4690 eval "$wx_cv_use_shared"
4691
4692 if test x"$enablestring" = xdisable; then
4693 if test $wxUSE_SHARED = no; then
4694 result=yes
4695 else
4696 result=no
4697 fi
4698 else
4699 result=$wxUSE_SHARED
4700 fi
4701
4702 { echo "$as_me:$LINENO: result: $result" >&5
4703 echo "${ECHO_T}$result" >&6; }
4704
4705
4706 enablestring=
4707 defaultval=
4708 if test -z "$defaultval"; then
4709 if test x"$enablestring" = xdisable; then
4710 defaultval=yes
4711 else
4712 defaultval=no
4713 fi
4714 fi
4715
4716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4717 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4718 # Check whether --enable-stl was given.
4719 if test "${enable_stl+set}" = set; then
4720 enableval=$enable_stl;
4721 if test "$enableval" = yes; then
4722 wx_cv_use_stl='wxUSE_STL=yes'
4723 else
4724 wx_cv_use_stl='wxUSE_STL=no'
4725 fi
4726
4727 else
4728
4729 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4730
4731 fi
4732
4733
4734 eval "$wx_cv_use_stl"
4735
4736 if test x"$enablestring" = xdisable; then
4737 if test $wxUSE_STL = no; then
4738 result=yes
4739 else
4740 result=no
4741 fi
4742 else
4743 result=$wxUSE_STL
4744 fi
4745
4746 { echo "$as_me:$LINENO: result: $result" >&5
4747 echo "${ECHO_T}$result" >&6; }
4748
4749
4750 enablestring=
4751 defaultval=
4752 if test -z "$defaultval"; then
4753 if test x"$enablestring" = xdisable; then
4754 defaultval=yes
4755 else
4756 defaultval=no
4757 fi
4758 fi
4759
4760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4761 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4762 # Check whether --enable-std_iostreams was given.
4763 if test "${enable_std_iostreams+set}" = set; then
4764 enableval=$enable_std_iostreams;
4765 if test "$enableval" = yes; then
4766 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4767 else
4768 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4769 fi
4770
4771 else
4772
4773 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4774
4775 fi
4776
4777
4778 eval "$wx_cv_use_std_iostreams"
4779
4780 if test x"$enablestring" = xdisable; then
4781 if test $wxUSE_STD_IOSTREAM = no; then
4782 result=yes
4783 else
4784 result=no
4785 fi
4786 else
4787 result=$wxUSE_STD_IOSTREAM
4788 fi
4789
4790 { echo "$as_me:$LINENO: result: $result" >&5
4791 echo "${ECHO_T}$result" >&6; }
4792
4793
4794 enablestring=
4795 defaultval=
4796 if test -z "$defaultval"; then
4797 if test x"$enablestring" = xdisable; then
4798 defaultval=yes
4799 else
4800 defaultval=no
4801 fi
4802 fi
4803
4804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4806 # Check whether --enable-std_string was given.
4807 if test "${enable_std_string+set}" = set; then
4808 enableval=$enable_std_string;
4809 if test "$enableval" = yes; then
4810 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4811 else
4812 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4813 fi
4814
4815 else
4816
4817 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4818
4819 fi
4820
4821
4822 eval "$wx_cv_use_std_string"
4823
4824 if test x"$enablestring" = xdisable; then
4825 if test $wxUSE_STD_STRING = no; then
4826 result=yes
4827 else
4828 result=no
4829 fi
4830 else
4831 result=$wxUSE_STD_STRING
4832 fi
4833
4834 { echo "$as_me:$LINENO: result: $result" >&5
4835 echo "${ECHO_T}$result" >&6; }
4836
4837
4838 enablestring=disable
4839 defaultval=
4840 if test -z "$defaultval"; then
4841 if test x"$enablestring" = xdisable; then
4842 defaultval=yes
4843 else
4844 defaultval=no
4845 fi
4846 fi
4847
4848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4849 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4850 # Check whether --enable-unicode was given.
4851 if test "${enable_unicode+set}" = set; then
4852 enableval=$enable_unicode;
4853 if test "$enableval" = yes; then
4854 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4855 else
4856 wx_cv_use_unicode='wxUSE_UNICODE=no'
4857 fi
4858
4859 else
4860
4861 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4862
4863 fi
4864
4865
4866 eval "$wx_cv_use_unicode"
4867
4868 if test x"$enablestring" = xdisable; then
4869 if test $wxUSE_UNICODE = no; then
4870 result=yes
4871 else
4872 result=no
4873 fi
4874 else
4875 result=$wxUSE_UNICODE
4876 fi
4877
4878 { echo "$as_me:$LINENO: result: $result" >&5
4879 echo "${ECHO_T}$result" >&6; }
4880
4881
4882 enablestring=
4883 defaultval=
4884 if test -z "$defaultval"; then
4885 if test x"$enablestring" = xdisable; then
4886 defaultval=yes
4887 else
4888 defaultval=no
4889 fi
4890 fi
4891
4892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4893 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4894 # Check whether --enable-mslu was given.
4895 if test "${enable_mslu+set}" = set; then
4896 enableval=$enable_mslu;
4897 if test "$enableval" = yes; then
4898 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4899 else
4900 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4901 fi
4902
4903 else
4904
4905 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4906
4907 fi
4908
4909
4910 eval "$wx_cv_use_mslu"
4911
4912 if test x"$enablestring" = xdisable; then
4913 if test $wxUSE_UNICODE_MSLU = no; then
4914 result=yes
4915 else
4916 result=no
4917 fi
4918 else
4919 result=$wxUSE_UNICODE_MSLU
4920 fi
4921
4922 { echo "$as_me:$LINENO: result: $result" >&5
4923 echo "${ECHO_T}$result" >&6; }
4924
4925
4926 enablestring=
4927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4928 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4929 # Check whether --enable-utf8 was given.
4930 if test "${enable_utf8+set}" = set; then
4931 enableval=$enable_utf8;
4932 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4933
4934 else
4935
4936 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4937
4938 fi
4939
4940
4941 eval "$wx_cv_use_utf8"
4942
4943 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4944 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4945
4946
4947 enablestring=
4948 defaultval=
4949 if test -z "$defaultval"; then
4950 if test x"$enablestring" = xdisable; then
4951 defaultval=yes
4952 else
4953 defaultval=no
4954 fi
4955 fi
4956
4957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4959 # Check whether --enable-utf8only was given.
4960 if test "${enable_utf8only+set}" = set; then
4961 enableval=$enable_utf8only;
4962 if test "$enableval" = yes; then
4963 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4964 else
4965 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4966 fi
4967
4968 else
4969
4970 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4971
4972 fi
4973
4974
4975 eval "$wx_cv_use_utf8only"
4976
4977 if test x"$enablestring" = xdisable; then
4978 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4979 result=yes
4980 else
4981 result=no
4982 fi
4983 else
4984 result=$wxUSE_UNICODE_UTF8_LOCALE
4985 fi
4986
4987 { echo "$as_me:$LINENO: result: $result" >&5
4988 echo "${ECHO_T}$result" >&6; }
4989
4990
4991 enablestring=
4992 defaultval=
4993 if test -z "$defaultval"; then
4994 if test x"$enablestring" = xdisable; then
4995 defaultval=yes
4996 else
4997 defaultval=no
4998 fi
4999 fi
5000
5001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5002 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5003 # Check whether --enable-extended_rtti was given.
5004 if test "${enable_extended_rtti+set}" = set; then
5005 enableval=$enable_extended_rtti;
5006 if test "$enableval" = yes; then
5007 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5008 else
5009 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5010 fi
5011
5012 else
5013
5014 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5015
5016 fi
5017
5018
5019 eval "$wx_cv_use_extended_rtti"
5020
5021 if test x"$enablestring" = xdisable; then
5022 if test $wxUSE_EXTENDED_RTTI = no; then
5023 result=yes
5024 else
5025 result=no
5026 fi
5027 else
5028 result=$wxUSE_EXTENDED_RTTI
5029 fi
5030
5031 { echo "$as_me:$LINENO: result: $result" >&5
5032 echo "${ECHO_T}$result" >&6; }
5033
5034 if test "$USE_OS2" = 1; then
5035 DEFAULT_wxUSE_OMF=no
5036
5037 enablestring=
5038 defaultval=
5039 if test -z "$defaultval"; then
5040 if test x"$enablestring" = xdisable; then
5041 defaultval=yes
5042 else
5043 defaultval=no
5044 fi
5045 fi
5046
5047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5049 # Check whether --enable-omf was given.
5050 if test "${enable_omf+set}" = set; then
5051 enableval=$enable_omf;
5052 if test "$enableval" = yes; then
5053 wx_cv_use_omf='wxUSE_OMF=yes'
5054 else
5055 wx_cv_use_omf='wxUSE_OMF=no'
5056 fi
5057
5058 else
5059
5060 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5061
5062 fi
5063
5064
5065 eval "$wx_cv_use_omf"
5066
5067 if test x"$enablestring" = xdisable; then
5068 if test $wxUSE_OMF = no; then
5069 result=yes
5070 else
5071 result=no
5072 fi
5073 else
5074 result=$wxUSE_OMF
5075 fi
5076
5077 { echo "$as_me:$LINENO: result: $result" >&5
5078 echo "${ECHO_T}$result" >&6; }
5079
5080 fi
5081
5082
5083 enablestring=disable
5084 defaultval=
5085 if test -z "$defaultval"; then
5086 if test x"$enablestring" = xdisable; then
5087 defaultval=yes
5088 else
5089 defaultval=no
5090 fi
5091 fi
5092
5093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5094 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5095 # Check whether --enable-optimise was given.
5096 if test "${enable_optimise+set}" = set; then
5097 enableval=$enable_optimise;
5098 if test "$enableval" = yes; then
5099 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5100 else
5101 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5102 fi
5103
5104 else
5105
5106 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5107
5108 fi
5109
5110
5111 eval "$wx_cv_use_optimise"
5112
5113 if test x"$enablestring" = xdisable; then
5114 if test $wxUSE_OPTIMISE = no; then
5115 result=yes
5116 else
5117 result=no
5118 fi
5119 else
5120 result=$wxUSE_OPTIMISE
5121 fi
5122
5123 { echo "$as_me:$LINENO: result: $result" >&5
5124 echo "${ECHO_T}$result" >&6; }
5125
5126
5127
5128 enablestring=
5129 defaultval=
5130 if test -z "$defaultval"; then
5131 if test x"$enablestring" = xdisable; then
5132 defaultval=yes
5133 else
5134 defaultval=no
5135 fi
5136 fi
5137
5138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5139 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5140 # Check whether --enable-profile was given.
5141 if test "${enable_profile+set}" = set; then
5142 enableval=$enable_profile;
5143 if test "$enableval" = yes; then
5144 wx_cv_use_profile='wxUSE_PROFILE=yes'
5145 else
5146 wx_cv_use_profile='wxUSE_PROFILE=no'
5147 fi
5148
5149 else
5150
5151 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5152
5153 fi
5154
5155
5156 eval "$wx_cv_use_profile"
5157
5158 if test x"$enablestring" = xdisable; then
5159 if test $wxUSE_PROFILE = no; then
5160 result=yes
5161 else
5162 result=no
5163 fi
5164 else
5165 result=$wxUSE_PROFILE
5166 fi
5167
5168 { echo "$as_me:$LINENO: result: $result" >&5
5169 echo "${ECHO_T}$result" >&6; }
5170
5171
5172 enablestring=
5173 defaultval=
5174 if test -z "$defaultval"; then
5175 if test x"$enablestring" = xdisable; then
5176 defaultval=yes
5177 else
5178 defaultval=no
5179 fi
5180 fi
5181
5182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5184 # Check whether --enable-no_rtti was given.
5185 if test "${enable_no_rtti+set}" = set; then
5186 enableval=$enable_no_rtti;
5187 if test "$enableval" = yes; then
5188 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5189 else
5190 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5191 fi
5192
5193 else
5194
5195 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5196
5197 fi
5198
5199
5200 eval "$wx_cv_use_no_rtti"
5201
5202 if test x"$enablestring" = xdisable; then
5203 if test $wxUSE_NO_RTTI = no; then
5204 result=yes
5205 else
5206 result=no
5207 fi
5208 else
5209 result=$wxUSE_NO_RTTI
5210 fi
5211
5212 { echo "$as_me:$LINENO: result: $result" >&5
5213 echo "${ECHO_T}$result" >&6; }
5214
5215
5216 enablestring=
5217 defaultval=
5218 if test -z "$defaultval"; then
5219 if test x"$enablestring" = xdisable; then
5220 defaultval=yes
5221 else
5222 defaultval=no
5223 fi
5224 fi
5225
5226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5227 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5228 # Check whether --enable-no_exceptions was given.
5229 if test "${enable_no_exceptions+set}" = set; then
5230 enableval=$enable_no_exceptions;
5231 if test "$enableval" = yes; then
5232 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5233 else
5234 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5235 fi
5236
5237 else
5238
5239 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5240
5241 fi
5242
5243
5244 eval "$wx_cv_use_no_exceptions"
5245
5246 if test x"$enablestring" = xdisable; then
5247 if test $wxUSE_NO_EXCEPTIONS = no; then
5248 result=yes
5249 else
5250 result=no
5251 fi
5252 else
5253 result=$wxUSE_NO_EXCEPTIONS
5254 fi
5255
5256 { echo "$as_me:$LINENO: result: $result" >&5
5257 echo "${ECHO_T}$result" >&6; }
5258
5259
5260 enablestring=
5261 defaultval=
5262 if test -z "$defaultval"; then
5263 if test x"$enablestring" = xdisable; then
5264 defaultval=yes
5265 else
5266 defaultval=no
5267 fi
5268 fi
5269
5270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5271 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5272 # Check whether --enable-permissive was given.
5273 if test "${enable_permissive+set}" = set; then
5274 enableval=$enable_permissive;
5275 if test "$enableval" = yes; then
5276 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5277 else
5278 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5279 fi
5280
5281 else
5282
5283 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5284
5285 fi
5286
5287
5288 eval "$wx_cv_use_permissive"
5289
5290 if test x"$enablestring" = xdisable; then
5291 if test $wxUSE_PERMISSIVE = no; then
5292 result=yes
5293 else
5294 result=no
5295 fi
5296 else
5297 result=$wxUSE_PERMISSIVE
5298 fi
5299
5300 { echo "$as_me:$LINENO: result: $result" >&5
5301 echo "${ECHO_T}$result" >&6; }
5302
5303
5304 enablestring=
5305 defaultval=
5306 if test -z "$defaultval"; then
5307 if test x"$enablestring" = xdisable; then
5308 defaultval=yes
5309 else
5310 defaultval=no
5311 fi
5312 fi
5313
5314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5316 # Check whether --enable-no_deps was given.
5317 if test "${enable_no_deps+set}" = set; then
5318 enableval=$enable_no_deps;
5319 if test "$enableval" = yes; then
5320 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5321 else
5322 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5323 fi
5324
5325 else
5326
5327 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5328
5329 fi
5330
5331
5332 eval "$wx_cv_use_no_deps"
5333
5334 if test x"$enablestring" = xdisable; then
5335 if test $wxUSE_NO_DEPS = no; then
5336 result=yes
5337 else
5338 result=no
5339 fi
5340 else
5341 result=$wxUSE_NO_DEPS
5342 fi
5343
5344 { echo "$as_me:$LINENO: result: $result" >&5
5345 echo "${ECHO_T}$result" >&6; }
5346
5347
5348 enablestring=disable
5349 defaultval=
5350 if test -z "$defaultval"; then
5351 if test x"$enablestring" = xdisable; then
5352 defaultval=yes
5353 else
5354 defaultval=no
5355 fi
5356 fi
5357
5358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5359 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5360 # Check whether --enable-vararg_macros was given.
5361 if test "${enable_vararg_macros+set}" = set; then
5362 enableval=$enable_vararg_macros;
5363 if test "$enableval" = yes; then
5364 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5365 else
5366 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5367 fi
5368
5369 else
5370
5371 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5372
5373 fi
5374
5375
5376 eval "$wx_cv_use_vararg_macros"
5377
5378 if test x"$enablestring" = xdisable; then
5379 if test $wxUSE_VARARG_MACROS = no; then
5380 result=yes
5381 else
5382 result=no
5383 fi
5384 else
5385 result=$wxUSE_VARARG_MACROS
5386 fi
5387
5388 { echo "$as_me:$LINENO: result: $result" >&5
5389 echo "${ECHO_T}$result" >&6; }
5390
5391
5392 enablestring=
5393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5394 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5395 # Check whether --enable-universal_binary was given.
5396 if test "${enable_universal_binary+set}" = set; then
5397 enableval=$enable_universal_binary;
5398 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5399
5400 else
5401
5402 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5403
5404 fi
5405
5406
5407 eval "$wx_cv_use_universal_binary"
5408
5409 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5410 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5411
5412
5413
5414 enablestring=
5415 defaultval=
5416 if test -z "$defaultval"; then
5417 if test x"$enablestring" = xdisable; then
5418 defaultval=yes
5419 else
5420 defaultval=no
5421 fi
5422 fi
5423
5424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5425 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5426 # Check whether --enable-compat26 was given.
5427 if test "${enable_compat26+set}" = set; then
5428 enableval=$enable_compat26;
5429 if test "$enableval" = yes; then
5430 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5431 else
5432 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5433 fi
5434
5435 else
5436
5437 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5438
5439 fi
5440
5441
5442 eval "$wx_cv_use_compat26"
5443
5444 if test x"$enablestring" = xdisable; then
5445 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5446 result=yes
5447 else
5448 result=no
5449 fi
5450 else
5451 result=$WXWIN_COMPATIBILITY_2_6
5452 fi
5453
5454 { echo "$as_me:$LINENO: result: $result" >&5
5455 echo "${ECHO_T}$result" >&6; }
5456
5457
5458 enablestring=disable
5459 defaultval=
5460 if test -z "$defaultval"; then
5461 if test x"$enablestring" = xdisable; then
5462 defaultval=yes
5463 else
5464 defaultval=no
5465 fi
5466 fi
5467
5468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5469 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5470 # Check whether --enable-compat28 was given.
5471 if test "${enable_compat28+set}" = set; then
5472 enableval=$enable_compat28;
5473 if test "$enableval" = yes; then
5474 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5475 else
5476 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5477 fi
5478
5479 else
5480
5481 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5482
5483 fi
5484
5485
5486 eval "$wx_cv_use_compat28"
5487
5488 if test x"$enablestring" = xdisable; then
5489 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5490 result=yes
5491 else
5492 result=no
5493 fi
5494 else
5495 result=$WXWIN_COMPATIBILITY_2_8
5496 fi
5497
5498 { echo "$as_me:$LINENO: result: $result" >&5
5499 echo "${ECHO_T}$result" >&6; }
5500
5501
5502
5503 enablestring=disable
5504 defaultval=
5505 if test -z "$defaultval"; then
5506 if test x"$enablestring" = xdisable; then
5507 defaultval=yes
5508 else
5509 defaultval=no
5510 fi
5511 fi
5512
5513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5514 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5515 # Check whether --enable-rpath was given.
5516 if test "${enable_rpath+set}" = set; then
5517 enableval=$enable_rpath;
5518 if test "$enableval" = yes; then
5519 wx_cv_use_rpath='wxUSE_RPATH=yes'
5520 else
5521 wx_cv_use_rpath='wxUSE_RPATH=no'
5522 fi
5523
5524 else
5525
5526 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5527
5528 fi
5529
5530
5531 eval "$wx_cv_use_rpath"
5532
5533 if test x"$enablestring" = xdisable; then
5534 if test $wxUSE_RPATH = no; then
5535 result=yes
5536 else
5537 result=no
5538 fi
5539 else
5540 result=$wxUSE_RPATH
5541 fi
5542
5543 { echo "$as_me:$LINENO: result: $result" >&5
5544 echo "${ECHO_T}$result" >&6; }
5545
5546
5547
5548 enablestring=
5549 defaultval=
5550 if test -z "$defaultval"; then
5551 if test x"$enablestring" = xdisable; then
5552 defaultval=yes
5553 else
5554 defaultval=no
5555 fi
5556 fi
5557
5558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5559 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5560 # Check whether --enable-objc_uniquifying was given.
5561 if test "${enable_objc_uniquifying+set}" = set; then
5562 enableval=$enable_objc_uniquifying;
5563 if test "$enableval" = yes; then
5564 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5565 else
5566 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5567 fi
5568
5569 else
5570
5571 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5572
5573 fi
5574
5575
5576 eval "$wx_cv_use_objc_uniquifying"
5577
5578 if test x"$enablestring" = xdisable; then
5579 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5580 result=yes
5581 else
5582 result=no
5583 fi
5584 else
5585 result=$wxUSE_OBJC_UNIQUIFYING
5586 fi
5587
5588 { echo "$as_me:$LINENO: result: $result" >&5
5589 echo "${ECHO_T}$result" >&6; }
5590
5591
5592
5593 enablestring=disable
5594 defaultval=
5595 if test -z "$defaultval"; then
5596 if test x"$enablestring" = xdisable; then
5597 defaultval=yes
5598 else
5599 defaultval=no
5600 fi
5601 fi
5602
5603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5604 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5605 # Check whether --enable-visibility was given.
5606 if test "${enable_visibility+set}" = set; then
5607 enableval=$enable_visibility;
5608 if test "$enableval" = yes; then
5609 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5610 else
5611 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5612 fi
5613
5614 else
5615
5616 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5617
5618 fi
5619
5620
5621 eval "$wx_cv_use_visibility"
5622
5623 if test x"$enablestring" = xdisable; then
5624 if test $wxUSE_VISIBILITY = no; then
5625 result=yes
5626 else
5627 result=no
5628 fi
5629 else
5630 result=$wxUSE_VISIBILITY
5631 fi
5632
5633 { echo "$as_me:$LINENO: result: $result" >&5
5634 echo "${ECHO_T}$result" >&6; }
5635
5636
5637 enablestring=disable
5638 defaultval=
5639 if test -z "$defaultval"; then
5640 if test x"$enablestring" = xdisable; then
5641 defaultval=yes
5642 else
5643 defaultval=no
5644 fi
5645 fi
5646
5647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5648 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5649 # Check whether --enable-tls was given.
5650 if test "${enable_tls+set}" = set; then
5651 enableval=$enable_tls;
5652 if test "$enableval" = yes; then
5653 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5654 else
5655 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5656 fi
5657
5658 else
5659
5660 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5661
5662 fi
5663
5664
5665 eval "$wx_cv_use_tls"
5666
5667 if test x"$enablestring" = xdisable; then
5668 if test $wxUSE_COMPILER_TLS = no; then
5669 result=yes
5670 else
5671 result=no
5672 fi
5673 else
5674 result=$wxUSE_COMPILER_TLS
5675 fi
5676
5677 { echo "$as_me:$LINENO: result: $result" >&5
5678 echo "${ECHO_T}$result" >&6; }
5679
5680
5681
5682
5683 enablestring=
5684 defaultval=$wxUSE_ALL_FEATURES
5685 if test -z "$defaultval"; then
5686 if test x"$enablestring" = xdisable; then
5687 defaultval=yes
5688 else
5689 defaultval=no
5690 fi
5691 fi
5692
5693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5694 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5695 # Check whether --enable-intl was given.
5696 if test "${enable_intl+set}" = set; then
5697 enableval=$enable_intl;
5698 if test "$enableval" = yes; then
5699 wx_cv_use_intl='wxUSE_INTL=yes'
5700 else
5701 wx_cv_use_intl='wxUSE_INTL=no'
5702 fi
5703
5704 else
5705
5706 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5707
5708 fi
5709
5710
5711 eval "$wx_cv_use_intl"
5712
5713 if test x"$enablestring" = xdisable; then
5714 if test $wxUSE_INTL = no; then
5715 result=yes
5716 else
5717 result=no
5718 fi
5719 else
5720 result=$wxUSE_INTL
5721 fi
5722
5723 { echo "$as_me:$LINENO: result: $result" >&5
5724 echo "${ECHO_T}$result" >&6; }
5725
5726
5727 enablestring=
5728 defaultval=$wxUSE_ALL_FEATURES
5729 if test -z "$defaultval"; then
5730 if test x"$enablestring" = xdisable; then
5731 defaultval=yes
5732 else
5733 defaultval=no
5734 fi
5735 fi
5736
5737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5738 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5739 # Check whether --enable-xlocale was given.
5740 if test "${enable_xlocale+set}" = set; then
5741 enableval=$enable_xlocale;
5742 if test "$enableval" = yes; then
5743 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5744 else
5745 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5746 fi
5747
5748 else
5749
5750 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5751
5752 fi
5753
5754
5755 eval "$wx_cv_use_xlocale"
5756
5757 if test x"$enablestring" = xdisable; then
5758 if test $wxUSE_XLOCALE = no; then
5759 result=yes
5760 else
5761 result=no
5762 fi
5763 else
5764 result=$wxUSE_XLOCALE
5765 fi
5766
5767 { echo "$as_me:$LINENO: result: $result" >&5
5768 echo "${ECHO_T}$result" >&6; }
5769
5770
5771 enablestring=
5772 defaultval=$wxUSE_ALL_FEATURES
5773 if test -z "$defaultval"; then
5774 if test x"$enablestring" = xdisable; then
5775 defaultval=yes
5776 else
5777 defaultval=no
5778 fi
5779 fi
5780
5781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5782 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5783 # Check whether --enable-config was given.
5784 if test "${enable_config+set}" = set; then
5785 enableval=$enable_config;
5786 if test "$enableval" = yes; then
5787 wx_cv_use_config='wxUSE_CONFIG=yes'
5788 else
5789 wx_cv_use_config='wxUSE_CONFIG=no'
5790 fi
5791
5792 else
5793
5794 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5795
5796 fi
5797
5798
5799 eval "$wx_cv_use_config"
5800
5801 if test x"$enablestring" = xdisable; then
5802 if test $wxUSE_CONFIG = no; then
5803 result=yes
5804 else
5805 result=no
5806 fi
5807 else
5808 result=$wxUSE_CONFIG
5809 fi
5810
5811 { echo "$as_me:$LINENO: result: $result" >&5
5812 echo "${ECHO_T}$result" >&6; }
5813
5814
5815
5816 enablestring=
5817 defaultval=$wxUSE_ALL_FEATURES
5818 if test -z "$defaultval"; then
5819 if test x"$enablestring" = xdisable; then
5820 defaultval=yes
5821 else
5822 defaultval=no
5823 fi
5824 fi
5825
5826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5828 # Check whether --enable-protocols was given.
5829 if test "${enable_protocols+set}" = set; then
5830 enableval=$enable_protocols;
5831 if test "$enableval" = yes; then
5832 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5833 else
5834 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5835 fi
5836
5837 else
5838
5839 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5840
5841 fi
5842
5843
5844 eval "$wx_cv_use_protocols"
5845
5846 if test x"$enablestring" = xdisable; then
5847 if test $wxUSE_PROTOCOL = no; then
5848 result=yes
5849 else
5850 result=no
5851 fi
5852 else
5853 result=$wxUSE_PROTOCOL
5854 fi
5855
5856 { echo "$as_me:$LINENO: result: $result" >&5
5857 echo "${ECHO_T}$result" >&6; }
5858
5859
5860 enablestring=
5861 defaultval=$wxUSE_ALL_FEATURES
5862 if test -z "$defaultval"; then
5863 if test x"$enablestring" = xdisable; then
5864 defaultval=yes
5865 else
5866 defaultval=no
5867 fi
5868 fi
5869
5870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5872 # Check whether --enable-ftp was given.
5873 if test "${enable_ftp+set}" = set; then
5874 enableval=$enable_ftp;
5875 if test "$enableval" = yes; then
5876 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5877 else
5878 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5879 fi
5880
5881 else
5882
5883 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5884
5885 fi
5886
5887
5888 eval "$wx_cv_use_ftp"
5889
5890 if test x"$enablestring" = xdisable; then
5891 if test $wxUSE_PROTOCOL_FTP = no; then
5892 result=yes
5893 else
5894 result=no
5895 fi
5896 else
5897 result=$wxUSE_PROTOCOL_FTP
5898 fi
5899
5900 { echo "$as_me:$LINENO: result: $result" >&5
5901 echo "${ECHO_T}$result" >&6; }
5902
5903
5904 enablestring=
5905 defaultval=$wxUSE_ALL_FEATURES
5906 if test -z "$defaultval"; then
5907 if test x"$enablestring" = xdisable; then
5908 defaultval=yes
5909 else
5910 defaultval=no
5911 fi
5912 fi
5913
5914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5915 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5916 # Check whether --enable-http was given.
5917 if test "${enable_http+set}" = set; then
5918 enableval=$enable_http;
5919 if test "$enableval" = yes; then
5920 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5921 else
5922 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5923 fi
5924
5925 else
5926
5927 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5928
5929 fi
5930
5931
5932 eval "$wx_cv_use_http"
5933
5934 if test x"$enablestring" = xdisable; then
5935 if test $wxUSE_PROTOCOL_HTTP = no; then
5936 result=yes
5937 else
5938 result=no
5939 fi
5940 else
5941 result=$wxUSE_PROTOCOL_HTTP
5942 fi
5943
5944 { echo "$as_me:$LINENO: result: $result" >&5
5945 echo "${ECHO_T}$result" >&6; }
5946
5947
5948 enablestring=
5949 defaultval=$wxUSE_ALL_FEATURES
5950 if test -z "$defaultval"; then
5951 if test x"$enablestring" = xdisable; then
5952 defaultval=yes
5953 else
5954 defaultval=no
5955 fi
5956 fi
5957
5958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5959 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5960 # Check whether --enable-fileproto was given.
5961 if test "${enable_fileproto+set}" = set; then
5962 enableval=$enable_fileproto;
5963 if test "$enableval" = yes; then
5964 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5965 else
5966 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5967 fi
5968
5969 else
5970
5971 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5972
5973 fi
5974
5975
5976 eval "$wx_cv_use_fileproto"
5977
5978 if test x"$enablestring" = xdisable; then
5979 if test $wxUSE_PROTOCOL_FILE = no; then
5980 result=yes
5981 else
5982 result=no
5983 fi
5984 else
5985 result=$wxUSE_PROTOCOL_FILE
5986 fi
5987
5988 { echo "$as_me:$LINENO: result: $result" >&5
5989 echo "${ECHO_T}$result" >&6; }
5990
5991
5992 enablestring=
5993 defaultval=$wxUSE_ALL_FEATURES
5994 if test -z "$defaultval"; then
5995 if test x"$enablestring" = xdisable; then
5996 defaultval=yes
5997 else
5998 defaultval=no
5999 fi
6000 fi
6001
6002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6003 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6004 # Check whether --enable-sockets was given.
6005 if test "${enable_sockets+set}" = set; then
6006 enableval=$enable_sockets;
6007 if test "$enableval" = yes; then
6008 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6009 else
6010 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6011 fi
6012
6013 else
6014
6015 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6016
6017 fi
6018
6019
6020 eval "$wx_cv_use_sockets"
6021
6022 if test x"$enablestring" = xdisable; then
6023 if test $wxUSE_SOCKETS = no; then
6024 result=yes
6025 else
6026 result=no
6027 fi
6028 else
6029 result=$wxUSE_SOCKETS
6030 fi
6031
6032 { echo "$as_me:$LINENO: result: $result" >&5
6033 echo "${ECHO_T}$result" >&6; }
6034
6035
6036 enablestring=
6037 defaultval=$wxUSE_ALL_FEATURES
6038 if test -z "$defaultval"; then
6039 if test x"$enablestring" = xdisable; then
6040 defaultval=yes
6041 else
6042 defaultval=no
6043 fi
6044 fi
6045
6046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6047 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6048 # Check whether --enable-ipv6 was given.
6049 if test "${enable_ipv6+set}" = set; then
6050 enableval=$enable_ipv6;
6051 if test "$enableval" = yes; then
6052 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6053 else
6054 wx_cv_use_ipv6='wxUSE_IPV6=no'
6055 fi
6056
6057 else
6058
6059 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6060
6061 fi
6062
6063
6064 eval "$wx_cv_use_ipv6"
6065
6066 if test x"$enablestring" = xdisable; then
6067 if test $wxUSE_IPV6 = no; then
6068 result=yes
6069 else
6070 result=no
6071 fi
6072 else
6073 result=$wxUSE_IPV6
6074 fi
6075
6076 { echo "$as_me:$LINENO: result: $result" >&5
6077 echo "${ECHO_T}$result" >&6; }
6078
6079
6080 enablestring=
6081 defaultval=$wxUSE_ALL_FEATURES
6082 if test -z "$defaultval"; then
6083 if test x"$enablestring" = xdisable; then
6084 defaultval=yes
6085 else
6086 defaultval=no
6087 fi
6088 fi
6089
6090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6091 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6092 # Check whether --enable-ole was given.
6093 if test "${enable_ole+set}" = set; then
6094 enableval=$enable_ole;
6095 if test "$enableval" = yes; then
6096 wx_cv_use_ole='wxUSE_OLE=yes'
6097 else
6098 wx_cv_use_ole='wxUSE_OLE=no'
6099 fi
6100
6101 else
6102
6103 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6104
6105 fi
6106
6107
6108 eval "$wx_cv_use_ole"
6109
6110 if test x"$enablestring" = xdisable; then
6111 if test $wxUSE_OLE = no; then
6112 result=yes
6113 else
6114 result=no
6115 fi
6116 else
6117 result=$wxUSE_OLE
6118 fi
6119
6120 { echo "$as_me:$LINENO: result: $result" >&5
6121 echo "${ECHO_T}$result" >&6; }
6122
6123
6124 enablestring=
6125 defaultval=$wxUSE_ALL_FEATURES
6126 if test -z "$defaultval"; then
6127 if test x"$enablestring" = xdisable; then
6128 defaultval=yes
6129 else
6130 defaultval=no
6131 fi
6132 fi
6133
6134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6135 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6136 # Check whether --enable-dataobj was given.
6137 if test "${enable_dataobj+set}" = set; then
6138 enableval=$enable_dataobj;
6139 if test "$enableval" = yes; then
6140 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6141 else
6142 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6143 fi
6144
6145 else
6146
6147 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6148
6149 fi
6150
6151
6152 eval "$wx_cv_use_dataobj"
6153
6154 if test x"$enablestring" = xdisable; then
6155 if test $wxUSE_DATAOBJ = no; then
6156 result=yes
6157 else
6158 result=no
6159 fi
6160 else
6161 result=$wxUSE_DATAOBJ
6162 fi
6163
6164 { echo "$as_me:$LINENO: result: $result" >&5
6165 echo "${ECHO_T}$result" >&6; }
6166
6167
6168
6169 enablestring=
6170 defaultval=$wxUSE_ALL_FEATURES
6171 if test -z "$defaultval"; then
6172 if test x"$enablestring" = xdisable; then
6173 defaultval=yes
6174 else
6175 defaultval=no
6176 fi
6177 fi
6178
6179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6181 # Check whether --enable-ipc was given.
6182 if test "${enable_ipc+set}" = set; then
6183 enableval=$enable_ipc;
6184 if test "$enableval" = yes; then
6185 wx_cv_use_ipc='wxUSE_IPC=yes'
6186 else
6187 wx_cv_use_ipc='wxUSE_IPC=no'
6188 fi
6189
6190 else
6191
6192 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6193
6194 fi
6195
6196
6197 eval "$wx_cv_use_ipc"
6198
6199 if test x"$enablestring" = xdisable; then
6200 if test $wxUSE_IPC = no; then
6201 result=yes
6202 else
6203 result=no
6204 fi
6205 else
6206 result=$wxUSE_IPC
6207 fi
6208
6209 { echo "$as_me:$LINENO: result: $result" >&5
6210 echo "${ECHO_T}$result" >&6; }
6211
6212
6213
6214 enablestring=
6215 defaultval=$wxUSE_ALL_FEATURES
6216 if test -z "$defaultval"; then
6217 if test x"$enablestring" = xdisable; then
6218 defaultval=yes
6219 else
6220 defaultval=no
6221 fi
6222 fi
6223
6224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6225 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6226 # Check whether --enable-baseevtloop was given.
6227 if test "${enable_baseevtloop+set}" = set; then
6228 enableval=$enable_baseevtloop;
6229 if test "$enableval" = yes; then
6230 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6231 else
6232 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6233 fi
6234
6235 else
6236
6237 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6238
6239 fi
6240
6241
6242 eval "$wx_cv_use_baseevtloop"
6243
6244 if test x"$enablestring" = xdisable; then
6245 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6246 result=yes
6247 else
6248 result=no
6249 fi
6250 else
6251 result=$wxUSE_CONSOLE_EVENTLOOP
6252 fi
6253
6254 { echo "$as_me:$LINENO: result: $result" >&5
6255 echo "${ECHO_T}$result" >&6; }
6256
6257
6258 enablestring=
6259 defaultval=$wxUSE_ALL_FEATURES
6260 if test -z "$defaultval"; then
6261 if test x"$enablestring" = xdisable; then
6262 defaultval=yes
6263 else
6264 defaultval=no
6265 fi
6266 fi
6267
6268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6269 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6270 # Check whether --enable-epollloop was given.
6271 if test "${enable_epollloop+set}" = set; then
6272 enableval=$enable_epollloop;
6273 if test "$enableval" = yes; then
6274 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6275 else
6276 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6277 fi
6278
6279 else
6280
6281 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6282
6283 fi
6284
6285
6286 eval "$wx_cv_use_epollloop"
6287
6288 if test x"$enablestring" = xdisable; then
6289 if test $wxUSE_EPOLL_DISPATCHER = no; then
6290 result=yes
6291 else
6292 result=no
6293 fi
6294 else
6295 result=$wxUSE_EPOLL_DISPATCHER
6296 fi
6297
6298 { echo "$as_me:$LINENO: result: $result" >&5
6299 echo "${ECHO_T}$result" >&6; }
6300
6301
6302 enablestring=
6303 defaultval=$wxUSE_ALL_FEATURES
6304 if test -z "$defaultval"; then
6305 if test x"$enablestring" = xdisable; then
6306 defaultval=yes
6307 else
6308 defaultval=no
6309 fi
6310 fi
6311
6312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6313 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6314 # Check whether --enable-selectloop was given.
6315 if test "${enable_selectloop+set}" = set; then
6316 enableval=$enable_selectloop;
6317 if test "$enableval" = yes; then
6318 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6319 else
6320 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6321 fi
6322
6323 else
6324
6325 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6326
6327 fi
6328
6329
6330 eval "$wx_cv_use_selectloop"
6331
6332 if test x"$enablestring" = xdisable; then
6333 if test $wxUSE_SELECT_DISPATCHER = no; then
6334 result=yes
6335 else
6336 result=no
6337 fi
6338 else
6339 result=$wxUSE_SELECT_DISPATCHER
6340 fi
6341
6342 { echo "$as_me:$LINENO: result: $result" >&5
6343 echo "${ECHO_T}$result" >&6; }
6344
6345
6346
6347 enablestring=
6348 defaultval=$wxUSE_ALL_FEATURES
6349 if test -z "$defaultval"; then
6350 if test x"$enablestring" = xdisable; then
6351 defaultval=yes
6352 else
6353 defaultval=no
6354 fi
6355 fi
6356
6357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6358 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6359 # Check whether --enable-any was given.
6360 if test "${enable_any+set}" = set; then
6361 enableval=$enable_any;
6362 if test "$enableval" = yes; then
6363 wx_cv_use_any='wxUSE_ANY=yes'
6364 else
6365 wx_cv_use_any='wxUSE_ANY=no'
6366 fi
6367
6368 else
6369
6370 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6371
6372 fi
6373
6374
6375 eval "$wx_cv_use_any"
6376
6377 if test x"$enablestring" = xdisable; then
6378 if test $wxUSE_ANY = no; then
6379 result=yes
6380 else
6381 result=no
6382 fi
6383 else
6384 result=$wxUSE_ANY
6385 fi
6386
6387 { echo "$as_me:$LINENO: result: $result" >&5
6388 echo "${ECHO_T}$result" >&6; }
6389
6390
6391 enablestring=
6392 defaultval=$wxUSE_ALL_FEATURES
6393 if test -z "$defaultval"; then
6394 if test x"$enablestring" = xdisable; then
6395 defaultval=yes
6396 else
6397 defaultval=no
6398 fi
6399 fi
6400
6401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6402 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6403 # Check whether --enable-apple_ieee was given.
6404 if test "${enable_apple_ieee+set}" = set; then
6405 enableval=$enable_apple_ieee;
6406 if test "$enableval" = yes; then
6407 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6408 else
6409 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6410 fi
6411
6412 else
6413
6414 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6415
6416 fi
6417
6418
6419 eval "$wx_cv_use_apple_ieee"
6420
6421 if test x"$enablestring" = xdisable; then
6422 if test $wxUSE_APPLE_IEEE = no; then
6423 result=yes
6424 else
6425 result=no
6426 fi
6427 else
6428 result=$wxUSE_APPLE_IEEE
6429 fi
6430
6431 { echo "$as_me:$LINENO: result: $result" >&5
6432 echo "${ECHO_T}$result" >&6; }
6433
6434
6435 enablestring=
6436 defaultval=$wxUSE_ALL_FEATURES
6437 if test -z "$defaultval"; then
6438 if test x"$enablestring" = xdisable; then
6439 defaultval=yes
6440 else
6441 defaultval=no
6442 fi
6443 fi
6444
6445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6446 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6447 # Check whether --enable-arcstream was given.
6448 if test "${enable_arcstream+set}" = set; then
6449 enableval=$enable_arcstream;
6450 if test "$enableval" = yes; then
6451 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6452 else
6453 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6454 fi
6455
6456 else
6457
6458 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6459
6460 fi
6461
6462
6463 eval "$wx_cv_use_arcstream"
6464
6465 if test x"$enablestring" = xdisable; then
6466 if test $wxUSE_ARCHIVE_STREAMS = no; then
6467 result=yes
6468 else
6469 result=no
6470 fi
6471 else
6472 result=$wxUSE_ARCHIVE_STREAMS
6473 fi
6474
6475 { echo "$as_me:$LINENO: result: $result" >&5
6476 echo "${ECHO_T}$result" >&6; }
6477
6478
6479 enablestring=
6480 defaultval=$wxUSE_ALL_FEATURES
6481 if test -z "$defaultval"; then
6482 if test x"$enablestring" = xdisable; then
6483 defaultval=yes
6484 else
6485 defaultval=no
6486 fi
6487 fi
6488
6489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6490 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6491 # Check whether --enable-base64 was given.
6492 if test "${enable_base64+set}" = set; then
6493 enableval=$enable_base64;
6494 if test "$enableval" = yes; then
6495 wx_cv_use_base64='wxUSE_BASE64=yes'
6496 else
6497 wx_cv_use_base64='wxUSE_BASE64=no'
6498 fi
6499
6500 else
6501
6502 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6503
6504 fi
6505
6506
6507 eval "$wx_cv_use_base64"
6508
6509 if test x"$enablestring" = xdisable; then
6510 if test $wxUSE_BASE64 = no; then
6511 result=yes
6512 else
6513 result=no
6514 fi
6515 else
6516 result=$wxUSE_BASE64
6517 fi
6518
6519 { echo "$as_me:$LINENO: result: $result" >&5
6520 echo "${ECHO_T}$result" >&6; }
6521
6522
6523 enablestring=
6524 defaultval=$wxUSE_ALL_FEATURES
6525 if test -z "$defaultval"; then
6526 if test x"$enablestring" = xdisable; then
6527 defaultval=yes
6528 else
6529 defaultval=no
6530 fi
6531 fi
6532
6533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6534 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6535 # Check whether --enable-backtrace was given.
6536 if test "${enable_backtrace+set}" = set; then
6537 enableval=$enable_backtrace;
6538 if test "$enableval" = yes; then
6539 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6540 else
6541 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6542 fi
6543
6544 else
6545
6546 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6547
6548 fi
6549
6550
6551 eval "$wx_cv_use_backtrace"
6552
6553 if test x"$enablestring" = xdisable; then
6554 if test $wxUSE_STACKWALKER = no; then
6555 result=yes
6556 else
6557 result=no
6558 fi
6559 else
6560 result=$wxUSE_STACKWALKER
6561 fi
6562
6563 { echo "$as_me:$LINENO: result: $result" >&5
6564 echo "${ECHO_T}$result" >&6; }
6565
6566
6567 enablestring=
6568 defaultval=$wxUSE_ALL_FEATURES
6569 if test -z "$defaultval"; then
6570 if test x"$enablestring" = xdisable; then
6571 defaultval=yes
6572 else
6573 defaultval=no
6574 fi
6575 fi
6576
6577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6578 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6579 # Check whether --enable-catch_segvs was given.
6580 if test "${enable_catch_segvs+set}" = set; then
6581 enableval=$enable_catch_segvs;
6582 if test "$enableval" = yes; then
6583 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6584 else
6585 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6586 fi
6587
6588 else
6589
6590 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6591
6592 fi
6593
6594
6595 eval "$wx_cv_use_catch_segvs"
6596
6597 if test x"$enablestring" = xdisable; then
6598 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6599 result=yes
6600 else
6601 result=no
6602 fi
6603 else
6604 result=$wxUSE_ON_FATAL_EXCEPTION
6605 fi
6606
6607 { echo "$as_me:$LINENO: result: $result" >&5
6608 echo "${ECHO_T}$result" >&6; }
6609
6610
6611 enablestring=
6612 defaultval=$wxUSE_ALL_FEATURES
6613 if test -z "$defaultval"; then
6614 if test x"$enablestring" = xdisable; then
6615 defaultval=yes
6616 else
6617 defaultval=no
6618 fi
6619 fi
6620
6621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6622 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6623 # Check whether --enable-cmdline was given.
6624 if test "${enable_cmdline+set}" = set; then
6625 enableval=$enable_cmdline;
6626 if test "$enableval" = yes; then
6627 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6628 else
6629 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6630 fi
6631
6632 else
6633
6634 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6635
6636 fi
6637
6638
6639 eval "$wx_cv_use_cmdline"
6640
6641 if test x"$enablestring" = xdisable; then
6642 if test $wxUSE_CMDLINE_PARSER = no; then
6643 result=yes
6644 else
6645 result=no
6646 fi
6647 else
6648 result=$wxUSE_CMDLINE_PARSER
6649 fi
6650
6651 { echo "$as_me:$LINENO: result: $result" >&5
6652 echo "${ECHO_T}$result" >&6; }
6653
6654
6655 enablestring=
6656 defaultval=$wxUSE_ALL_FEATURES
6657 if test -z "$defaultval"; then
6658 if test x"$enablestring" = xdisable; then
6659 defaultval=yes
6660 else
6661 defaultval=no
6662 fi
6663 fi
6664
6665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6666 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6667 # Check whether --enable-datetime was given.
6668 if test "${enable_datetime+set}" = set; then
6669 enableval=$enable_datetime;
6670 if test "$enableval" = yes; then
6671 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6672 else
6673 wx_cv_use_datetime='wxUSE_DATETIME=no'
6674 fi
6675
6676 else
6677
6678 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6679
6680 fi
6681
6682
6683 eval "$wx_cv_use_datetime"
6684
6685 if test x"$enablestring" = xdisable; then
6686 if test $wxUSE_DATETIME = no; then
6687 result=yes
6688 else
6689 result=no
6690 fi
6691 else
6692 result=$wxUSE_DATETIME
6693 fi
6694
6695 { echo "$as_me:$LINENO: result: $result" >&5
6696 echo "${ECHO_T}$result" >&6; }
6697
6698
6699 enablestring=
6700 defaultval=$wxUSE_ALL_FEATURES
6701 if test -z "$defaultval"; then
6702 if test x"$enablestring" = xdisable; then
6703 defaultval=yes
6704 else
6705 defaultval=no
6706 fi
6707 fi
6708
6709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6710 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6711 # Check whether --enable-debugreport was given.
6712 if test "${enable_debugreport+set}" = set; then
6713 enableval=$enable_debugreport;
6714 if test "$enableval" = yes; then
6715 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6716 else
6717 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6718 fi
6719
6720 else
6721
6722 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6723
6724 fi
6725
6726
6727 eval "$wx_cv_use_debugreport"
6728
6729 if test x"$enablestring" = xdisable; then
6730 if test $wxUSE_DEBUGREPORT = no; then
6731 result=yes
6732 else
6733 result=no
6734 fi
6735 else
6736 result=$wxUSE_DEBUGREPORT
6737 fi
6738
6739 { echo "$as_me:$LINENO: result: $result" >&5
6740 echo "${ECHO_T}$result" >&6; }
6741
6742
6743 enablestring=
6744 defaultval=$wxUSE_ALL_FEATURES
6745 if test -z "$defaultval"; then
6746 if test x"$enablestring" = xdisable; then
6747 defaultval=yes
6748 else
6749 defaultval=no
6750 fi
6751 fi
6752
6753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6754 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6755 # Check whether --enable-dialupman was given.
6756 if test "${enable_dialupman+set}" = set; then
6757 enableval=$enable_dialupman;
6758 if test "$enableval" = yes; then
6759 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6760 else
6761 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6762 fi
6763
6764 else
6765
6766 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6767
6768 fi
6769
6770
6771 eval "$wx_cv_use_dialupman"
6772
6773 if test x"$enablestring" = xdisable; then
6774 if test $wxUSE_DIALUP_MANAGER = no; then
6775 result=yes
6776 else
6777 result=no
6778 fi
6779 else
6780 result=$wxUSE_DIALUP_MANAGER
6781 fi
6782
6783 { echo "$as_me:$LINENO: result: $result" >&5
6784 echo "${ECHO_T}$result" >&6; }
6785
6786
6787 enablestring=
6788 defaultval=$wxUSE_ALL_FEATURES
6789 if test -z "$defaultval"; then
6790 if test x"$enablestring" = xdisable; then
6791 defaultval=yes
6792 else
6793 defaultval=no
6794 fi
6795 fi
6796
6797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6798 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6799 # Check whether --enable-dynlib was given.
6800 if test "${enable_dynlib+set}" = set; then
6801 enableval=$enable_dynlib;
6802 if test "$enableval" = yes; then
6803 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6804 else
6805 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6806 fi
6807
6808 else
6809
6810 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6811
6812 fi
6813
6814
6815 eval "$wx_cv_use_dynlib"
6816
6817 if test x"$enablestring" = xdisable; then
6818 if test $wxUSE_DYNLIB_CLASS = no; then
6819 result=yes
6820 else
6821 result=no
6822 fi
6823 else
6824 result=$wxUSE_DYNLIB_CLASS
6825 fi
6826
6827 { echo "$as_me:$LINENO: result: $result" >&5
6828 echo "${ECHO_T}$result" >&6; }
6829
6830
6831 enablestring=
6832 defaultval=$wxUSE_ALL_FEATURES
6833 if test -z "$defaultval"; then
6834 if test x"$enablestring" = xdisable; then
6835 defaultval=yes
6836 else
6837 defaultval=no
6838 fi
6839 fi
6840
6841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6843 # Check whether --enable-dynamicloader was given.
6844 if test "${enable_dynamicloader+set}" = set; then
6845 enableval=$enable_dynamicloader;
6846 if test "$enableval" = yes; then
6847 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6848 else
6849 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6850 fi
6851
6852 else
6853
6854 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6855
6856 fi
6857
6858
6859 eval "$wx_cv_use_dynamicloader"
6860
6861 if test x"$enablestring" = xdisable; then
6862 if test $wxUSE_DYNAMIC_LOADER = no; then
6863 result=yes
6864 else
6865 result=no
6866 fi
6867 else
6868 result=$wxUSE_DYNAMIC_LOADER
6869 fi
6870
6871 { echo "$as_me:$LINENO: result: $result" >&5
6872 echo "${ECHO_T}$result" >&6; }
6873
6874
6875 enablestring=
6876 defaultval=$wxUSE_ALL_FEATURES
6877 if test -z "$defaultval"; then
6878 if test x"$enablestring" = xdisable; then
6879 defaultval=yes
6880 else
6881 defaultval=no
6882 fi
6883 fi
6884
6885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6887 # Check whether --enable-exceptions was given.
6888 if test "${enable_exceptions+set}" = set; then
6889 enableval=$enable_exceptions;
6890 if test "$enableval" = yes; then
6891 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6892 else
6893 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6894 fi
6895
6896 else
6897
6898 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6899
6900 fi
6901
6902
6903 eval "$wx_cv_use_exceptions"
6904
6905 if test x"$enablestring" = xdisable; then
6906 if test $wxUSE_EXCEPTIONS = no; then
6907 result=yes
6908 else
6909 result=no
6910 fi
6911 else
6912 result=$wxUSE_EXCEPTIONS
6913 fi
6914
6915 { echo "$as_me:$LINENO: result: $result" >&5
6916 echo "${ECHO_T}$result" >&6; }
6917
6918
6919 enablestring=
6920 defaultval=$wxUSE_ALL_FEATURES
6921 if test -z "$defaultval"; then
6922 if test x"$enablestring" = xdisable; then
6923 defaultval=yes
6924 else
6925 defaultval=no
6926 fi
6927 fi
6928
6929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6930 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6931 # Check whether --enable-ffile was given.
6932 if test "${enable_ffile+set}" = set; then
6933 enableval=$enable_ffile;
6934 if test "$enableval" = yes; then
6935 wx_cv_use_ffile='wxUSE_FFILE=yes'
6936 else
6937 wx_cv_use_ffile='wxUSE_FFILE=no'
6938 fi
6939
6940 else
6941
6942 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6943
6944 fi
6945
6946
6947 eval "$wx_cv_use_ffile"
6948
6949 if test x"$enablestring" = xdisable; then
6950 if test $wxUSE_FFILE = no; then
6951 result=yes
6952 else
6953 result=no
6954 fi
6955 else
6956 result=$wxUSE_FFILE
6957 fi
6958
6959 { echo "$as_me:$LINENO: result: $result" >&5
6960 echo "${ECHO_T}$result" >&6; }
6961
6962
6963 enablestring=
6964 defaultval=$wxUSE_ALL_FEATURES
6965 if test -z "$defaultval"; then
6966 if test x"$enablestring" = xdisable; then
6967 defaultval=yes
6968 else
6969 defaultval=no
6970 fi
6971 fi
6972
6973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6974 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6975 # Check whether --enable-file was given.
6976 if test "${enable_file+set}" = set; then
6977 enableval=$enable_file;
6978 if test "$enableval" = yes; then
6979 wx_cv_use_file='wxUSE_FILE=yes'
6980 else
6981 wx_cv_use_file='wxUSE_FILE=no'
6982 fi
6983
6984 else
6985
6986 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6987
6988 fi
6989
6990
6991 eval "$wx_cv_use_file"
6992
6993 if test x"$enablestring" = xdisable; then
6994 if test $wxUSE_FILE = no; then
6995 result=yes
6996 else
6997 result=no
6998 fi
6999 else
7000 result=$wxUSE_FILE
7001 fi
7002
7003 { echo "$as_me:$LINENO: result: $result" >&5
7004 echo "${ECHO_T}$result" >&6; }
7005
7006
7007 enablestring=
7008 defaultval=$wxUSE_ALL_FEATURES
7009 if test -z "$defaultval"; then
7010 if test x"$enablestring" = xdisable; then
7011 defaultval=yes
7012 else
7013 defaultval=no
7014 fi
7015 fi
7016
7017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7018 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7019 # Check whether --enable-filesystem was given.
7020 if test "${enable_filesystem+set}" = set; then
7021 enableval=$enable_filesystem;
7022 if test "$enableval" = yes; then
7023 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7024 else
7025 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7026 fi
7027
7028 else
7029
7030 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7031
7032 fi
7033
7034
7035 eval "$wx_cv_use_filesystem"
7036
7037 if test x"$enablestring" = xdisable; then
7038 if test $wxUSE_FILESYSTEM = no; then
7039 result=yes
7040 else
7041 result=no
7042 fi
7043 else
7044 result=$wxUSE_FILESYSTEM
7045 fi
7046
7047 { echo "$as_me:$LINENO: result: $result" >&5
7048 echo "${ECHO_T}$result" >&6; }
7049
7050
7051 enablestring=
7052 defaultval=$wxUSE_ALL_FEATURES
7053 if test -z "$defaultval"; then
7054 if test x"$enablestring" = xdisable; then
7055 defaultval=yes
7056 else
7057 defaultval=no
7058 fi
7059 fi
7060
7061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7062 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7063 # Check whether --enable-fontenum was given.
7064 if test "${enable_fontenum+set}" = set; then
7065 enableval=$enable_fontenum;
7066 if test "$enableval" = yes; then
7067 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7068 else
7069 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7070 fi
7071
7072 else
7073
7074 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7075
7076 fi
7077
7078
7079 eval "$wx_cv_use_fontenum"
7080
7081 if test x"$enablestring" = xdisable; then
7082 if test $wxUSE_FONTENUM = no; then
7083 result=yes
7084 else
7085 result=no
7086 fi
7087 else
7088 result=$wxUSE_FONTENUM
7089 fi
7090
7091 { echo "$as_me:$LINENO: result: $result" >&5
7092 echo "${ECHO_T}$result" >&6; }
7093
7094
7095 enablestring=
7096 defaultval=$wxUSE_ALL_FEATURES
7097 if test -z "$defaultval"; then
7098 if test x"$enablestring" = xdisable; then
7099 defaultval=yes
7100 else
7101 defaultval=no
7102 fi
7103 fi
7104
7105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7107 # Check whether --enable-fontmap was given.
7108 if test "${enable_fontmap+set}" = set; then
7109 enableval=$enable_fontmap;
7110 if test "$enableval" = yes; then
7111 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7112 else
7113 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7114 fi
7115
7116 else
7117
7118 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7119
7120 fi
7121
7122
7123 eval "$wx_cv_use_fontmap"
7124
7125 if test x"$enablestring" = xdisable; then
7126 if test $wxUSE_FONTMAP = no; then
7127 result=yes
7128 else
7129 result=no
7130 fi
7131 else
7132 result=$wxUSE_FONTMAP
7133 fi
7134
7135 { echo "$as_me:$LINENO: result: $result" >&5
7136 echo "${ECHO_T}$result" >&6; }
7137
7138
7139 enablestring=
7140 defaultval=$wxUSE_ALL_FEATURES
7141 if test -z "$defaultval"; then
7142 if test x"$enablestring" = xdisable; then
7143 defaultval=yes
7144 else
7145 defaultval=no
7146 fi
7147 fi
7148
7149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7151 # Check whether --enable-fs_archive was given.
7152 if test "${enable_fs_archive+set}" = set; then
7153 enableval=$enable_fs_archive;
7154 if test "$enableval" = yes; then
7155 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7156 else
7157 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7158 fi
7159
7160 else
7161
7162 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7163
7164 fi
7165
7166
7167 eval "$wx_cv_use_fs_archive"
7168
7169 if test x"$enablestring" = xdisable; then
7170 if test $wxUSE_FS_ARCHIVE = no; then
7171 result=yes
7172 else
7173 result=no
7174 fi
7175 else
7176 result=$wxUSE_FS_ARCHIVE
7177 fi
7178
7179 { echo "$as_me:$LINENO: result: $result" >&5
7180 echo "${ECHO_T}$result" >&6; }
7181
7182
7183 enablestring=
7184 defaultval=$wxUSE_ALL_FEATURES
7185 if test -z "$defaultval"; then
7186 if test x"$enablestring" = xdisable; then
7187 defaultval=yes
7188 else
7189 defaultval=no
7190 fi
7191 fi
7192
7193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7194 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7195 # Check whether --enable-fs_inet was given.
7196 if test "${enable_fs_inet+set}" = set; then
7197 enableval=$enable_fs_inet;
7198 if test "$enableval" = yes; then
7199 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7200 else
7201 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7202 fi
7203
7204 else
7205
7206 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7207
7208 fi
7209
7210
7211 eval "$wx_cv_use_fs_inet"
7212
7213 if test x"$enablestring" = xdisable; then
7214 if test $wxUSE_FS_INET = no; then
7215 result=yes
7216 else
7217 result=no
7218 fi
7219 else
7220 result=$wxUSE_FS_INET
7221 fi
7222
7223 { echo "$as_me:$LINENO: result: $result" >&5
7224 echo "${ECHO_T}$result" >&6; }
7225
7226
7227 enablestring=
7228 defaultval=$wxUSE_ALL_FEATURES
7229 if test -z "$defaultval"; then
7230 if test x"$enablestring" = xdisable; then
7231 defaultval=yes
7232 else
7233 defaultval=no
7234 fi
7235 fi
7236
7237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7239 # Check whether --enable-fs_zip was given.
7240 if test "${enable_fs_zip+set}" = set; then
7241 enableval=$enable_fs_zip;
7242 if test "$enableval" = yes; then
7243 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7244 else
7245 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7246 fi
7247
7248 else
7249
7250 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7251
7252 fi
7253
7254
7255 eval "$wx_cv_use_fs_zip"
7256
7257 if test x"$enablestring" = xdisable; then
7258 if test $wxUSE_FS_ZIP = no; then
7259 result=yes
7260 else
7261 result=no
7262 fi
7263 else
7264 result=$wxUSE_FS_ZIP
7265 fi
7266
7267 { echo "$as_me:$LINENO: result: $result" >&5
7268 echo "${ECHO_T}$result" >&6; }
7269
7270
7271 enablestring=
7272 defaultval=$wxUSE_ALL_FEATURES
7273 if test -z "$defaultval"; then
7274 if test x"$enablestring" = xdisable; then
7275 defaultval=yes
7276 else
7277 defaultval=no
7278 fi
7279 fi
7280
7281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7282 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7283 # Check whether --enable-fswatcher was given.
7284 if test "${enable_fswatcher+set}" = set; then
7285 enableval=$enable_fswatcher;
7286 if test "$enableval" = yes; then
7287 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7288 else
7289 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7290 fi
7291
7292 else
7293
7294 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7295
7296 fi
7297
7298
7299 eval "$wx_cv_use_fswatcher"
7300
7301 if test x"$enablestring" = xdisable; then
7302 if test $wxUSE_FSWATCHER = no; then
7303 result=yes
7304 else
7305 result=no
7306 fi
7307 else
7308 result=$wxUSE_FSWATCHER
7309 fi
7310
7311 { echo "$as_me:$LINENO: result: $result" >&5
7312 echo "${ECHO_T}$result" >&6; }
7313
7314
7315 enablestring=
7316 defaultval=$wxUSE_ALL_FEATURES
7317 if test -z "$defaultval"; then
7318 if test x"$enablestring" = xdisable; then
7319 defaultval=yes
7320 else
7321 defaultval=no
7322 fi
7323 fi
7324
7325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7326 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7327 # Check whether --enable-geometry was given.
7328 if test "${enable_geometry+set}" = set; then
7329 enableval=$enable_geometry;
7330 if test "$enableval" = yes; then
7331 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7332 else
7333 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7334 fi
7335
7336 else
7337
7338 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7339
7340 fi
7341
7342
7343 eval "$wx_cv_use_geometry"
7344
7345 if test x"$enablestring" = xdisable; then
7346 if test $wxUSE_GEOMETRY = no; then
7347 result=yes
7348 else
7349 result=no
7350 fi
7351 else
7352 result=$wxUSE_GEOMETRY
7353 fi
7354
7355 { echo "$as_me:$LINENO: result: $result" >&5
7356 echo "${ECHO_T}$result" >&6; }
7357
7358
7359 enablestring=
7360 defaultval=$wxUSE_ALL_FEATURES
7361 if test -z "$defaultval"; then
7362 if test x"$enablestring" = xdisable; then
7363 defaultval=yes
7364 else
7365 defaultval=no
7366 fi
7367 fi
7368
7369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7370 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7371 # Check whether --enable-log was given.
7372 if test "${enable_log+set}" = set; then
7373 enableval=$enable_log;
7374 if test "$enableval" = yes; then
7375 wx_cv_use_log='wxUSE_LOG=yes'
7376 else
7377 wx_cv_use_log='wxUSE_LOG=no'
7378 fi
7379
7380 else
7381
7382 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7383
7384 fi
7385
7386
7387 eval "$wx_cv_use_log"
7388
7389 if test x"$enablestring" = xdisable; then
7390 if test $wxUSE_LOG = no; then
7391 result=yes
7392 else
7393 result=no
7394 fi
7395 else
7396 result=$wxUSE_LOG
7397 fi
7398
7399 { echo "$as_me:$LINENO: result: $result" >&5
7400 echo "${ECHO_T}$result" >&6; }
7401
7402
7403 enablestring=
7404 defaultval=$wxUSE_ALL_FEATURES
7405 if test -z "$defaultval"; then
7406 if test x"$enablestring" = xdisable; then
7407 defaultval=yes
7408 else
7409 defaultval=no
7410 fi
7411 fi
7412
7413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7414 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7415 # Check whether --enable-longlong was given.
7416 if test "${enable_longlong+set}" = set; then
7417 enableval=$enable_longlong;
7418 if test "$enableval" = yes; then
7419 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7420 else
7421 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7422 fi
7423
7424 else
7425
7426 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7427
7428 fi
7429
7430
7431 eval "$wx_cv_use_longlong"
7432
7433 if test x"$enablestring" = xdisable; then
7434 if test $wxUSE_LONGLONG = no; then
7435 result=yes
7436 else
7437 result=no
7438 fi
7439 else
7440 result=$wxUSE_LONGLONG
7441 fi
7442
7443 { echo "$as_me:$LINENO: result: $result" >&5
7444 echo "${ECHO_T}$result" >&6; }
7445
7446
7447 enablestring=
7448 defaultval=$wxUSE_ALL_FEATURES
7449 if test -z "$defaultval"; then
7450 if test x"$enablestring" = xdisable; then
7451 defaultval=yes
7452 else
7453 defaultval=no
7454 fi
7455 fi
7456
7457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7458 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7459 # Check whether --enable-mimetype was given.
7460 if test "${enable_mimetype+set}" = set; then
7461 enableval=$enable_mimetype;
7462 if test "$enableval" = yes; then
7463 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7464 else
7465 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7466 fi
7467
7468 else
7469
7470 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7471
7472 fi
7473
7474
7475 eval "$wx_cv_use_mimetype"
7476
7477 if test x"$enablestring" = xdisable; then
7478 if test $wxUSE_MIMETYPE = no; then
7479 result=yes
7480 else
7481 result=no
7482 fi
7483 else
7484 result=$wxUSE_MIMETYPE
7485 fi
7486
7487 { echo "$as_me:$LINENO: result: $result" >&5
7488 echo "${ECHO_T}$result" >&6; }
7489
7490
7491 enablestring=
7492 defaultval=$wxUSE_ALL_FEATURES
7493 if test -z "$defaultval"; then
7494 if test x"$enablestring" = xdisable; then
7495 defaultval=yes
7496 else
7497 defaultval=no
7498 fi
7499 fi
7500
7501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7502 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7503 # Check whether --enable-printfposparam was given.
7504 if test "${enable_printfposparam+set}" = set; then
7505 enableval=$enable_printfposparam;
7506 if test "$enableval" = yes; then
7507 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7508 else
7509 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7510 fi
7511
7512 else
7513
7514 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7515
7516 fi
7517
7518
7519 eval "$wx_cv_use_printfposparam"
7520
7521 if test x"$enablestring" = xdisable; then
7522 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7523 result=yes
7524 else
7525 result=no
7526 fi
7527 else
7528 result=$wxUSE_PRINTF_POS_PARAMS
7529 fi
7530
7531 { echo "$as_me:$LINENO: result: $result" >&5
7532 echo "${ECHO_T}$result" >&6; }
7533
7534
7535 enablestring=
7536 defaultval=$wxUSE_ALL_FEATURES
7537 if test -z "$defaultval"; then
7538 if test x"$enablestring" = xdisable; then
7539 defaultval=yes
7540 else
7541 defaultval=no
7542 fi
7543 fi
7544
7545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7547 # Check whether --enable-snglinst was given.
7548 if test "${enable_snglinst+set}" = set; then
7549 enableval=$enable_snglinst;
7550 if test "$enableval" = yes; then
7551 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7552 else
7553 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7554 fi
7555
7556 else
7557
7558 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7559
7560 fi
7561
7562
7563 eval "$wx_cv_use_snglinst"
7564
7565 if test x"$enablestring" = xdisable; then
7566 if test $wxUSE_SNGLINST_CHECKER = no; then
7567 result=yes
7568 else
7569 result=no
7570 fi
7571 else
7572 result=$wxUSE_SNGLINST_CHECKER
7573 fi
7574
7575 { echo "$as_me:$LINENO: result: $result" >&5
7576 echo "${ECHO_T}$result" >&6; }
7577
7578
7579 enablestring=
7580 defaultval=$wxUSE_ALL_FEATURES
7581 if test -z "$defaultval"; then
7582 if test x"$enablestring" = xdisable; then
7583 defaultval=yes
7584 else
7585 defaultval=no
7586 fi
7587 fi
7588
7589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7591 # Check whether --enable-sound was given.
7592 if test "${enable_sound+set}" = set; then
7593 enableval=$enable_sound;
7594 if test "$enableval" = yes; then
7595 wx_cv_use_sound='wxUSE_SOUND=yes'
7596 else
7597 wx_cv_use_sound='wxUSE_SOUND=no'
7598 fi
7599
7600 else
7601
7602 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7603
7604 fi
7605
7606
7607 eval "$wx_cv_use_sound"
7608
7609 if test x"$enablestring" = xdisable; then
7610 if test $wxUSE_SOUND = no; then
7611 result=yes
7612 else
7613 result=no
7614 fi
7615 else
7616 result=$wxUSE_SOUND
7617 fi
7618
7619 { echo "$as_me:$LINENO: result: $result" >&5
7620 echo "${ECHO_T}$result" >&6; }
7621
7622
7623 enablestring=
7624 defaultval=$wxUSE_ALL_FEATURES
7625 if test -z "$defaultval"; then
7626 if test x"$enablestring" = xdisable; then
7627 defaultval=yes
7628 else
7629 defaultval=no
7630 fi
7631 fi
7632
7633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7634 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7635 # Check whether --enable-stdpaths was given.
7636 if test "${enable_stdpaths+set}" = set; then
7637 enableval=$enable_stdpaths;
7638 if test "$enableval" = yes; then
7639 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7640 else
7641 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7642 fi
7643
7644 else
7645
7646 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7647
7648 fi
7649
7650
7651 eval "$wx_cv_use_stdpaths"
7652
7653 if test x"$enablestring" = xdisable; then
7654 if test $wxUSE_STDPATHS = no; then
7655 result=yes
7656 else
7657 result=no
7658 fi
7659 else
7660 result=$wxUSE_STDPATHS
7661 fi
7662
7663 { echo "$as_me:$LINENO: result: $result" >&5
7664 echo "${ECHO_T}$result" >&6; }
7665
7666
7667 enablestring=
7668 defaultval=$wxUSE_ALL_FEATURES
7669 if test -z "$defaultval"; then
7670 if test x"$enablestring" = xdisable; then
7671 defaultval=yes
7672 else
7673 defaultval=no
7674 fi
7675 fi
7676
7677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7678 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7679 # Check whether --enable-stopwatch was given.
7680 if test "${enable_stopwatch+set}" = set; then
7681 enableval=$enable_stopwatch;
7682 if test "$enableval" = yes; then
7683 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7684 else
7685 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7686 fi
7687
7688 else
7689
7690 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7691
7692 fi
7693
7694
7695 eval "$wx_cv_use_stopwatch"
7696
7697 if test x"$enablestring" = xdisable; then
7698 if test $wxUSE_STOPWATCH = no; then
7699 result=yes
7700 else
7701 result=no
7702 fi
7703 else
7704 result=$wxUSE_STOPWATCH
7705 fi
7706
7707 { echo "$as_me:$LINENO: result: $result" >&5
7708 echo "${ECHO_T}$result" >&6; }
7709
7710
7711 enablestring=
7712 defaultval=$wxUSE_ALL_FEATURES
7713 if test -z "$defaultval"; then
7714 if test x"$enablestring" = xdisable; then
7715 defaultval=yes
7716 else
7717 defaultval=no
7718 fi
7719 fi
7720
7721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7722 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7723 # Check whether --enable-streams was given.
7724 if test "${enable_streams+set}" = set; then
7725 enableval=$enable_streams;
7726 if test "$enableval" = yes; then
7727 wx_cv_use_streams='wxUSE_STREAMS=yes'
7728 else
7729 wx_cv_use_streams='wxUSE_STREAMS=no'
7730 fi
7731
7732 else
7733
7734 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7735
7736 fi
7737
7738
7739 eval "$wx_cv_use_streams"
7740
7741 if test x"$enablestring" = xdisable; then
7742 if test $wxUSE_STREAMS = no; then
7743 result=yes
7744 else
7745 result=no
7746 fi
7747 else
7748 result=$wxUSE_STREAMS
7749 fi
7750
7751 { echo "$as_me:$LINENO: result: $result" >&5
7752 echo "${ECHO_T}$result" >&6; }
7753
7754
7755 enablestring=
7756 defaultval=$wxUSE_ALL_FEATURES
7757 if test -z "$defaultval"; then
7758 if test x"$enablestring" = xdisable; then
7759 defaultval=yes
7760 else
7761 defaultval=no
7762 fi
7763 fi
7764
7765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7766 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7767 # Check whether --enable-sysoptions was given.
7768 if test "${enable_sysoptions+set}" = set; then
7769 enableval=$enable_sysoptions;
7770 if test "$enableval" = yes; then
7771 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7772 else
7773 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7774 fi
7775
7776 else
7777
7778 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7779
7780 fi
7781
7782
7783 eval "$wx_cv_use_sysoptions"
7784
7785 if test x"$enablestring" = xdisable; then
7786 if test $wxUSE_SYSTEM_OPTIONS = no; then
7787 result=yes
7788 else
7789 result=no
7790 fi
7791 else
7792 result=$wxUSE_SYSTEM_OPTIONS
7793 fi
7794
7795 { echo "$as_me:$LINENO: result: $result" >&5
7796 echo "${ECHO_T}$result" >&6; }
7797
7798
7799 enablestring=
7800 defaultval=$wxUSE_ALL_FEATURES
7801 if test -z "$defaultval"; then
7802 if test x"$enablestring" = xdisable; then
7803 defaultval=yes
7804 else
7805 defaultval=no
7806 fi
7807 fi
7808
7809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7810 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7811 # Check whether --enable-tarstream was given.
7812 if test "${enable_tarstream+set}" = set; then
7813 enableval=$enable_tarstream;
7814 if test "$enableval" = yes; then
7815 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7816 else
7817 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7818 fi
7819
7820 else
7821
7822 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7823
7824 fi
7825
7826
7827 eval "$wx_cv_use_tarstream"
7828
7829 if test x"$enablestring" = xdisable; then
7830 if test $wxUSE_TARSTREAM = no; then
7831 result=yes
7832 else
7833 result=no
7834 fi
7835 else
7836 result=$wxUSE_TARSTREAM
7837 fi
7838
7839 { echo "$as_me:$LINENO: result: $result" >&5
7840 echo "${ECHO_T}$result" >&6; }
7841
7842
7843 enablestring=
7844 defaultval=$wxUSE_ALL_FEATURES
7845 if test -z "$defaultval"; then
7846 if test x"$enablestring" = xdisable; then
7847 defaultval=yes
7848 else
7849 defaultval=no
7850 fi
7851 fi
7852
7853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7854 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7855 # Check whether --enable-textbuf was given.
7856 if test "${enable_textbuf+set}" = set; then
7857 enableval=$enable_textbuf;
7858 if test "$enableval" = yes; then
7859 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7860 else
7861 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7862 fi
7863
7864 else
7865
7866 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7867
7868 fi
7869
7870
7871 eval "$wx_cv_use_textbuf"
7872
7873 if test x"$enablestring" = xdisable; then
7874 if test $wxUSE_TEXTBUFFER = no; then
7875 result=yes
7876 else
7877 result=no
7878 fi
7879 else
7880 result=$wxUSE_TEXTBUFFER
7881 fi
7882
7883 { echo "$as_me:$LINENO: result: $result" >&5
7884 echo "${ECHO_T}$result" >&6; }
7885
7886
7887 enablestring=
7888 defaultval=$wxUSE_ALL_FEATURES
7889 if test -z "$defaultval"; then
7890 if test x"$enablestring" = xdisable; then
7891 defaultval=yes
7892 else
7893 defaultval=no
7894 fi
7895 fi
7896
7897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7898 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7899 # Check whether --enable-textfile was given.
7900 if test "${enable_textfile+set}" = set; then
7901 enableval=$enable_textfile;
7902 if test "$enableval" = yes; then
7903 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7904 else
7905 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7906 fi
7907
7908 else
7909
7910 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7911
7912 fi
7913
7914
7915 eval "$wx_cv_use_textfile"
7916
7917 if test x"$enablestring" = xdisable; then
7918 if test $wxUSE_TEXTFILE = no; then
7919 result=yes
7920 else
7921 result=no
7922 fi
7923 else
7924 result=$wxUSE_TEXTFILE
7925 fi
7926
7927 { echo "$as_me:$LINENO: result: $result" >&5
7928 echo "${ECHO_T}$result" >&6; }
7929
7930
7931 enablestring=
7932 defaultval=$wxUSE_ALL_FEATURES
7933 if test -z "$defaultval"; then
7934 if test x"$enablestring" = xdisable; then
7935 defaultval=yes
7936 else
7937 defaultval=no
7938 fi
7939 fi
7940
7941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7942 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7943 # Check whether --enable-timer was given.
7944 if test "${enable_timer+set}" = set; then
7945 enableval=$enable_timer;
7946 if test "$enableval" = yes; then
7947 wx_cv_use_timer='wxUSE_TIMER=yes'
7948 else
7949 wx_cv_use_timer='wxUSE_TIMER=no'
7950 fi
7951
7952 else
7953
7954 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7955
7956 fi
7957
7958
7959 eval "$wx_cv_use_timer"
7960
7961 if test x"$enablestring" = xdisable; then
7962 if test $wxUSE_TIMER = no; then
7963 result=yes
7964 else
7965 result=no
7966 fi
7967 else
7968 result=$wxUSE_TIMER
7969 fi
7970
7971 { echo "$as_me:$LINENO: result: $result" >&5
7972 echo "${ECHO_T}$result" >&6; }
7973
7974
7975 enablestring=
7976 defaultval=$wxUSE_ALL_FEATURES
7977 if test -z "$defaultval"; then
7978 if test x"$enablestring" = xdisable; then
7979 defaultval=yes
7980 else
7981 defaultval=no
7982 fi
7983 fi
7984
7985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7987 # Check whether --enable-variant was given.
7988 if test "${enable_variant+set}" = set; then
7989 enableval=$enable_variant;
7990 if test "$enableval" = yes; then
7991 wx_cv_use_variant='wxUSE_VARIANT=yes'
7992 else
7993 wx_cv_use_variant='wxUSE_VARIANT=no'
7994 fi
7995
7996 else
7997
7998 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7999
8000 fi
8001
8002
8003 eval "$wx_cv_use_variant"
8004
8005 if test x"$enablestring" = xdisable; then
8006 if test $wxUSE_VARIANT = no; then
8007 result=yes
8008 else
8009 result=no
8010 fi
8011 else
8012 result=$wxUSE_VARIANT
8013 fi
8014
8015 { echo "$as_me:$LINENO: result: $result" >&5
8016 echo "${ECHO_T}$result" >&6; }
8017
8018
8019 enablestring=
8020 defaultval=$wxUSE_ALL_FEATURES
8021 if test -z "$defaultval"; then
8022 if test x"$enablestring" = xdisable; then
8023 defaultval=yes
8024 else
8025 defaultval=no
8026 fi
8027 fi
8028
8029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8030 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8031 # Check whether --enable-zipstream was given.
8032 if test "${enable_zipstream+set}" = set; then
8033 enableval=$enable_zipstream;
8034 if test "$enableval" = yes; then
8035 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8036 else
8037 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8038 fi
8039
8040 else
8041
8042 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8043
8044 fi
8045
8046
8047 eval "$wx_cv_use_zipstream"
8048
8049 if test x"$enablestring" = xdisable; then
8050 if test $wxUSE_ZIPSTREAM = no; then
8051 result=yes
8052 else
8053 result=no
8054 fi
8055 else
8056 result=$wxUSE_ZIPSTREAM
8057 fi
8058
8059 { echo "$as_me:$LINENO: result: $result" >&5
8060 echo "${ECHO_T}$result" >&6; }
8061
8062
8063
8064 enablestring=
8065 defaultval=$wxUSE_ALL_FEATURES
8066 if test -z "$defaultval"; then
8067 if test x"$enablestring" = xdisable; then
8068 defaultval=yes
8069 else
8070 defaultval=no
8071 fi
8072 fi
8073
8074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8075 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8076 # Check whether --enable-url was given.
8077 if test "${enable_url+set}" = set; then
8078 enableval=$enable_url;
8079 if test "$enableval" = yes; then
8080 wx_cv_use_url='wxUSE_URL=yes'
8081 else
8082 wx_cv_use_url='wxUSE_URL=no'
8083 fi
8084
8085 else
8086
8087 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8088
8089 fi
8090
8091
8092 eval "$wx_cv_use_url"
8093
8094 if test x"$enablestring" = xdisable; then
8095 if test $wxUSE_URL = no; then
8096 result=yes
8097 else
8098 result=no
8099 fi
8100 else
8101 result=$wxUSE_URL
8102 fi
8103
8104 { echo "$as_me:$LINENO: result: $result" >&5
8105 echo "${ECHO_T}$result" >&6; }
8106
8107
8108 enablestring=
8109 defaultval=$wxUSE_ALL_FEATURES
8110 if test -z "$defaultval"; then
8111 if test x"$enablestring" = xdisable; then
8112 defaultval=yes
8113 else
8114 defaultval=no
8115 fi
8116 fi
8117
8118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8119 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8120 # Check whether --enable-protocol was given.
8121 if test "${enable_protocol+set}" = set; then
8122 enableval=$enable_protocol;
8123 if test "$enableval" = yes; then
8124 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8125 else
8126 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8127 fi
8128
8129 else
8130
8131 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8132
8133 fi
8134
8135
8136 eval "$wx_cv_use_protocol"
8137
8138 if test x"$enablestring" = xdisable; then
8139 if test $wxUSE_PROTOCOL = no; then
8140 result=yes
8141 else
8142 result=no
8143 fi
8144 else
8145 result=$wxUSE_PROTOCOL
8146 fi
8147
8148 { echo "$as_me:$LINENO: result: $result" >&5
8149 echo "${ECHO_T}$result" >&6; }
8150
8151
8152 enablestring=
8153 defaultval=$wxUSE_ALL_FEATURES
8154 if test -z "$defaultval"; then
8155 if test x"$enablestring" = xdisable; then
8156 defaultval=yes
8157 else
8158 defaultval=no
8159 fi
8160 fi
8161
8162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8163 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8164 # Check whether --enable-protocol_http was given.
8165 if test "${enable_protocol_http+set}" = set; then
8166 enableval=$enable_protocol_http;
8167 if test "$enableval" = yes; then
8168 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8169 else
8170 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8171 fi
8172
8173 else
8174
8175 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8176
8177 fi
8178
8179
8180 eval "$wx_cv_use_protocol_http"
8181
8182 if test x"$enablestring" = xdisable; then
8183 if test $wxUSE_PROTOCOL_HTTP = no; then
8184 result=yes
8185 else
8186 result=no
8187 fi
8188 else
8189 result=$wxUSE_PROTOCOL_HTTP
8190 fi
8191
8192 { echo "$as_me:$LINENO: result: $result" >&5
8193 echo "${ECHO_T}$result" >&6; }
8194
8195
8196 enablestring=
8197 defaultval=$wxUSE_ALL_FEATURES
8198 if test -z "$defaultval"; then
8199 if test x"$enablestring" = xdisable; then
8200 defaultval=yes
8201 else
8202 defaultval=no
8203 fi
8204 fi
8205
8206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8207 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8208 # Check whether --enable-protocol_ftp was given.
8209 if test "${enable_protocol_ftp+set}" = set; then
8210 enableval=$enable_protocol_ftp;
8211 if test "$enableval" = yes; then
8212 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8213 else
8214 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8215 fi
8216
8217 else
8218
8219 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8220
8221 fi
8222
8223
8224 eval "$wx_cv_use_protocol_ftp"
8225
8226 if test x"$enablestring" = xdisable; then
8227 if test $wxUSE_PROTOCOL_FTP = no; then
8228 result=yes
8229 else
8230 result=no
8231 fi
8232 else
8233 result=$wxUSE_PROTOCOL_FTP
8234 fi
8235
8236 { echo "$as_me:$LINENO: result: $result" >&5
8237 echo "${ECHO_T}$result" >&6; }
8238
8239
8240 enablestring=
8241 defaultval=$wxUSE_ALL_FEATURES
8242 if test -z "$defaultval"; then
8243 if test x"$enablestring" = xdisable; then
8244 defaultval=yes
8245 else
8246 defaultval=no
8247 fi
8248 fi
8249
8250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8251 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8252 # Check whether --enable-protocol_file was given.
8253 if test "${enable_protocol_file+set}" = set; then
8254 enableval=$enable_protocol_file;
8255 if test "$enableval" = yes; then
8256 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8257 else
8258 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8259 fi
8260
8261 else
8262
8263 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8264
8265 fi
8266
8267
8268 eval "$wx_cv_use_protocol_file"
8269
8270 if test x"$enablestring" = xdisable; then
8271 if test $wxUSE_PROTOCOL_FILE = no; then
8272 result=yes
8273 else
8274 result=no
8275 fi
8276 else
8277 result=$wxUSE_PROTOCOL_FILE
8278 fi
8279
8280 { echo "$as_me:$LINENO: result: $result" >&5
8281 echo "${ECHO_T}$result" >&6; }
8282
8283
8284
8285 enablestring=
8286 defaultval=$wxUSE_ALL_FEATURES
8287 if test -z "$defaultval"; then
8288 if test x"$enablestring" = xdisable; then
8289 defaultval=yes
8290 else
8291 defaultval=no
8292 fi
8293 fi
8294
8295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8296 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8297 # Check whether --enable-threads was given.
8298 if test "${enable_threads+set}" = set; then
8299 enableval=$enable_threads;
8300 if test "$enableval" = yes; then
8301 wx_cv_use_threads='wxUSE_THREADS=yes'
8302 else
8303 wx_cv_use_threads='wxUSE_THREADS=no'
8304 fi
8305
8306 else
8307
8308 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8309
8310 fi
8311
8312
8313 eval "$wx_cv_use_threads"
8314
8315 if test x"$enablestring" = xdisable; then
8316 if test $wxUSE_THREADS = no; then
8317 result=yes
8318 else
8319 result=no
8320 fi
8321 else
8322 result=$wxUSE_THREADS
8323 fi
8324
8325 { echo "$as_me:$LINENO: result: $result" >&5
8326 echo "${ECHO_T}$result" >&6; }
8327
8328
8329
8330 enablestring=
8331 defaultval=
8332 if test -z "$defaultval"; then
8333 if test x"$enablestring" = xdisable; then
8334 defaultval=yes
8335 else
8336 defaultval=no
8337 fi
8338 fi
8339
8340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8341 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8342 # Check whether --enable-iniconf was given.
8343 if test "${enable_iniconf+set}" = set; then
8344 enableval=$enable_iniconf;
8345 if test "$enableval" = yes; then
8346 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8347 else
8348 wx_cv_use_iniconf='wxUSE_INICONF=no'
8349 fi
8350
8351 else
8352
8353 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8354
8355 fi
8356
8357
8358 eval "$wx_cv_use_iniconf"
8359
8360 if test x"$enablestring" = xdisable; then
8361 if test $wxUSE_INICONF = no; then
8362 result=yes
8363 else
8364 result=no
8365 fi
8366 else
8367 result=$wxUSE_INICONF
8368 fi
8369
8370 { echo "$as_me:$LINENO: result: $result" >&5
8371 echo "${ECHO_T}$result" >&6; }
8372
8373
8374 enablestring=
8375 defaultval=$wxUSE_ALL_FEATURES
8376 if test -z "$defaultval"; then
8377 if test x"$enablestring" = xdisable; then
8378 defaultval=yes
8379 else
8380 defaultval=no
8381 fi
8382 fi
8383
8384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8385 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8386 # Check whether --enable-regkey was given.
8387 if test "${enable_regkey+set}" = set; then
8388 enableval=$enable_regkey;
8389 if test "$enableval" = yes; then
8390 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8391 else
8392 wx_cv_use_regkey='wxUSE_REGKEY=no'
8393 fi
8394
8395 else
8396
8397 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8398
8399 fi
8400
8401
8402 eval "$wx_cv_use_regkey"
8403
8404 if test x"$enablestring" = xdisable; then
8405 if test $wxUSE_REGKEY = no; then
8406 result=yes
8407 else
8408 result=no
8409 fi
8410 else
8411 result=$wxUSE_REGKEY
8412 fi
8413
8414 { echo "$as_me:$LINENO: result: $result" >&5
8415 echo "${ECHO_T}$result" >&6; }
8416
8417
8418 if test "$wxUSE_GUI" = "yes"; then
8419
8420
8421
8422 enablestring=
8423 defaultval=$wxUSE_ALL_FEATURES
8424 if test -z "$defaultval"; then
8425 if test x"$enablestring" = xdisable; then
8426 defaultval=yes
8427 else
8428 defaultval=no
8429 fi
8430 fi
8431
8432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8433 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8434 # Check whether --enable-docview was given.
8435 if test "${enable_docview+set}" = set; then
8436 enableval=$enable_docview;
8437 if test "$enableval" = yes; then
8438 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8439 else
8440 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8441 fi
8442
8443 else
8444
8445 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8446
8447 fi
8448
8449
8450 eval "$wx_cv_use_docview"
8451
8452 if test x"$enablestring" = xdisable; then
8453 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8454 result=yes
8455 else
8456 result=no
8457 fi
8458 else
8459 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8460 fi
8461
8462 { echo "$as_me:$LINENO: result: $result" >&5
8463 echo "${ECHO_T}$result" >&6; }
8464
8465
8466 enablestring=
8467 defaultval=$wxUSE_ALL_FEATURES
8468 if test -z "$defaultval"; then
8469 if test x"$enablestring" = xdisable; then
8470 defaultval=yes
8471 else
8472 defaultval=no
8473 fi
8474 fi
8475
8476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8477 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8478 # Check whether --enable-help was given.
8479 if test "${enable_help+set}" = set; then
8480 enableval=$enable_help;
8481 if test "$enableval" = yes; then
8482 wx_cv_use_help='wxUSE_HELP=yes'
8483 else
8484 wx_cv_use_help='wxUSE_HELP=no'
8485 fi
8486
8487 else
8488
8489 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8490
8491 fi
8492
8493
8494 eval "$wx_cv_use_help"
8495
8496 if test x"$enablestring" = xdisable; then
8497 if test $wxUSE_HELP = no; then
8498 result=yes
8499 else
8500 result=no
8501 fi
8502 else
8503 result=$wxUSE_HELP
8504 fi
8505
8506 { echo "$as_me:$LINENO: result: $result" >&5
8507 echo "${ECHO_T}$result" >&6; }
8508
8509
8510 enablestring=
8511 defaultval=$wxUSE_ALL_FEATURES
8512 if test -z "$defaultval"; then
8513 if test x"$enablestring" = xdisable; then
8514 defaultval=yes
8515 else
8516 defaultval=no
8517 fi
8518 fi
8519
8520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8521 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8522 # Check whether --enable-mshtmlhelp was given.
8523 if test "${enable_mshtmlhelp+set}" = set; then
8524 enableval=$enable_mshtmlhelp;
8525 if test "$enableval" = yes; then
8526 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8527 else
8528 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8529 fi
8530
8531 else
8532
8533 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8534
8535 fi
8536
8537
8538 eval "$wx_cv_use_mshtmlhelp"
8539
8540 if test x"$enablestring" = xdisable; then
8541 if test $wxUSE_MS_HTML_HELP = no; then
8542 result=yes
8543 else
8544 result=no
8545 fi
8546 else
8547 result=$wxUSE_MS_HTML_HELP
8548 fi
8549
8550 { echo "$as_me:$LINENO: result: $result" >&5
8551 echo "${ECHO_T}$result" >&6; }
8552
8553
8554 enablestring=
8555 defaultval=$wxUSE_ALL_FEATURES
8556 if test -z "$defaultval"; then
8557 if test x"$enablestring" = xdisable; then
8558 defaultval=yes
8559 else
8560 defaultval=no
8561 fi
8562 fi
8563
8564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8565 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8566 # Check whether --enable-html was given.
8567 if test "${enable_html+set}" = set; then
8568 enableval=$enable_html;
8569 if test "$enableval" = yes; then
8570 wx_cv_use_html='wxUSE_HTML=yes'
8571 else
8572 wx_cv_use_html='wxUSE_HTML=no'
8573 fi
8574
8575 else
8576
8577 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8578
8579 fi
8580
8581
8582 eval "$wx_cv_use_html"
8583
8584 if test x"$enablestring" = xdisable; then
8585 if test $wxUSE_HTML = no; then
8586 result=yes
8587 else
8588 result=no
8589 fi
8590 else
8591 result=$wxUSE_HTML
8592 fi
8593
8594 { echo "$as_me:$LINENO: result: $result" >&5
8595 echo "${ECHO_T}$result" >&6; }
8596
8597
8598 enablestring=
8599 defaultval=$wxUSE_ALL_FEATURES
8600 if test -z "$defaultval"; then
8601 if test x"$enablestring" = xdisable; then
8602 defaultval=yes
8603 else
8604 defaultval=no
8605 fi
8606 fi
8607
8608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8610 # Check whether --enable-htmlhelp was given.
8611 if test "${enable_htmlhelp+set}" = set; then
8612 enableval=$enable_htmlhelp;
8613 if test "$enableval" = yes; then
8614 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8615 else
8616 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8617 fi
8618
8619 else
8620
8621 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8622
8623 fi
8624
8625
8626 eval "$wx_cv_use_htmlhelp"
8627
8628 if test x"$enablestring" = xdisable; then
8629 if test $wxUSE_WXHTML_HELP = no; then
8630 result=yes
8631 else
8632 result=no
8633 fi
8634 else
8635 result=$wxUSE_WXHTML_HELP
8636 fi
8637
8638 { echo "$as_me:$LINENO: result: $result" >&5
8639 echo "${ECHO_T}$result" >&6; }
8640
8641
8642 enablestring=
8643 defaultval=$wxUSE_ALL_FEATURES
8644 if test -z "$defaultval"; then
8645 if test x"$enablestring" = xdisable; then
8646 defaultval=yes
8647 else
8648 defaultval=no
8649 fi
8650 fi
8651
8652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8653 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8654 # Check whether --enable-xrc was given.
8655 if test "${enable_xrc+set}" = set; then
8656 enableval=$enable_xrc;
8657 if test "$enableval" = yes; then
8658 wx_cv_use_xrc='wxUSE_XRC=yes'
8659 else
8660 wx_cv_use_xrc='wxUSE_XRC=no'
8661 fi
8662
8663 else
8664
8665 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8666
8667 fi
8668
8669
8670 eval "$wx_cv_use_xrc"
8671
8672 if test x"$enablestring" = xdisable; then
8673 if test $wxUSE_XRC = no; then
8674 result=yes
8675 else
8676 result=no
8677 fi
8678 else
8679 result=$wxUSE_XRC
8680 fi
8681
8682 { echo "$as_me:$LINENO: result: $result" >&5
8683 echo "${ECHO_T}$result" >&6; }
8684
8685
8686 enablestring=
8687 defaultval=$wxUSE_ALL_FEATURES
8688 if test -z "$defaultval"; then
8689 if test x"$enablestring" = xdisable; then
8690 defaultval=yes
8691 else
8692 defaultval=no
8693 fi
8694 fi
8695
8696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8698 # Check whether --enable-aui was given.
8699 if test "${enable_aui+set}" = set; then
8700 enableval=$enable_aui;
8701 if test "$enableval" = yes; then
8702 wx_cv_use_aui='wxUSE_AUI=yes'
8703 else
8704 wx_cv_use_aui='wxUSE_AUI=no'
8705 fi
8706
8707 else
8708
8709 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8710
8711 fi
8712
8713
8714 eval "$wx_cv_use_aui"
8715
8716 if test x"$enablestring" = xdisable; then
8717 if test $wxUSE_AUI = no; then
8718 result=yes
8719 else
8720 result=no
8721 fi
8722 else
8723 result=$wxUSE_AUI
8724 fi
8725
8726 { echo "$as_me:$LINENO: result: $result" >&5
8727 echo "${ECHO_T}$result" >&6; }
8728
8729
8730 enablestring=
8731 defaultval=$wxUSE_ALL_FEATURES
8732 if test -z "$defaultval"; then
8733 if test x"$enablestring" = xdisable; then
8734 defaultval=yes
8735 else
8736 defaultval=no
8737 fi
8738 fi
8739
8740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8741 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8742 # Check whether --enable-propgrid was given.
8743 if test "${enable_propgrid+set}" = set; then
8744 enableval=$enable_propgrid;
8745 if test "$enableval" = yes; then
8746 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8747 else
8748 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8749 fi
8750
8751 else
8752
8753 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8754
8755 fi
8756
8757
8758 eval "$wx_cv_use_propgrid"
8759
8760 if test x"$enablestring" = xdisable; then
8761 if test $wxUSE_PROPGRID = no; then
8762 result=yes
8763 else
8764 result=no
8765 fi
8766 else
8767 result=$wxUSE_PROPGRID
8768 fi
8769
8770 { echo "$as_me:$LINENO: result: $result" >&5
8771 echo "${ECHO_T}$result" >&6; }
8772
8773
8774 enablestring=
8775 defaultval=$wxUSE_ALL_FEATURES
8776 if test -z "$defaultval"; then
8777 if test x"$enablestring" = xdisable; then
8778 defaultval=yes
8779 else
8780 defaultval=no
8781 fi
8782 fi
8783
8784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8785 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8786 # Check whether --enable-ribbon was given.
8787 if test "${enable_ribbon+set}" = set; then
8788 enableval=$enable_ribbon;
8789 if test "$enableval" = yes; then
8790 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8791 else
8792 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8793 fi
8794
8795 else
8796
8797 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8798
8799 fi
8800
8801
8802 eval "$wx_cv_use_ribbon"
8803
8804 if test x"$enablestring" = xdisable; then
8805 if test $wxUSE_RIBBON = no; then
8806 result=yes
8807 else
8808 result=no
8809 fi
8810 else
8811 result=$wxUSE_RIBBON
8812 fi
8813
8814 { echo "$as_me:$LINENO: result: $result" >&5
8815 echo "${ECHO_T}$result" >&6; }
8816
8817
8818 enablestring=
8819 defaultval=$wxUSE_ALL_FEATURES
8820 if test -z "$defaultval"; then
8821 if test x"$enablestring" = xdisable; then
8822 defaultval=yes
8823 else
8824 defaultval=no
8825 fi
8826 fi
8827
8828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8829 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8830 # Check whether --enable-stc was given.
8831 if test "${enable_stc+set}" = set; then
8832 enableval=$enable_stc;
8833 if test "$enableval" = yes; then
8834 wx_cv_use_stc='wxUSE_STC=yes'
8835 else
8836 wx_cv_use_stc='wxUSE_STC=no'
8837 fi
8838
8839 else
8840
8841 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8842
8843 fi
8844
8845
8846 eval "$wx_cv_use_stc"
8847
8848 if test x"$enablestring" = xdisable; then
8849 if test $wxUSE_STC = no; then
8850 result=yes
8851 else
8852 result=no
8853 fi
8854 else
8855 result=$wxUSE_STC
8856 fi
8857
8858 { echo "$as_me:$LINENO: result: $result" >&5
8859 echo "${ECHO_T}$result" >&6; }
8860
8861
8862 enablestring=
8863 defaultval=$wxUSE_ALL_FEATURES
8864 if test -z "$defaultval"; then
8865 if test x"$enablestring" = xdisable; then
8866 defaultval=yes
8867 else
8868 defaultval=no
8869 fi
8870 fi
8871
8872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8874 # Check whether --enable-constraints was given.
8875 if test "${enable_constraints+set}" = set; then
8876 enableval=$enable_constraints;
8877 if test "$enableval" = yes; then
8878 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8879 else
8880 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8881 fi
8882
8883 else
8884
8885 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8886
8887 fi
8888
8889
8890 eval "$wx_cv_use_constraints"
8891
8892 if test x"$enablestring" = xdisable; then
8893 if test $wxUSE_CONSTRAINTS = no; then
8894 result=yes
8895 else
8896 result=no
8897 fi
8898 else
8899 result=$wxUSE_CONSTRAINTS
8900 fi
8901
8902 { echo "$as_me:$LINENO: result: $result" >&5
8903 echo "${ECHO_T}$result" >&6; }
8904
8905
8906 enablestring=
8907 defaultval=$wxUSE_ALL_FEATURES
8908 if test -z "$defaultval"; then
8909 if test x"$enablestring" = xdisable; then
8910 defaultval=yes
8911 else
8912 defaultval=no
8913 fi
8914 fi
8915
8916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8917 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8918 # Check whether --enable-loggui was given.
8919 if test "${enable_loggui+set}" = set; then
8920 enableval=$enable_loggui;
8921 if test "$enableval" = yes; then
8922 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8923 else
8924 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8925 fi
8926
8927 else
8928
8929 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8930
8931 fi
8932
8933
8934 eval "$wx_cv_use_loggui"
8935
8936 if test x"$enablestring" = xdisable; then
8937 if test $wxUSE_LOGGUI = no; then
8938 result=yes
8939 else
8940 result=no
8941 fi
8942 else
8943 result=$wxUSE_LOGGUI
8944 fi
8945
8946 { echo "$as_me:$LINENO: result: $result" >&5
8947 echo "${ECHO_T}$result" >&6; }
8948
8949
8950 enablestring=
8951 defaultval=$wxUSE_ALL_FEATURES
8952 if test -z "$defaultval"; then
8953 if test x"$enablestring" = xdisable; then
8954 defaultval=yes
8955 else
8956 defaultval=no
8957 fi
8958 fi
8959
8960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8961 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8962 # Check whether --enable-logwin was given.
8963 if test "${enable_logwin+set}" = set; then
8964 enableval=$enable_logwin;
8965 if test "$enableval" = yes; then
8966 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8967 else
8968 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8969 fi
8970
8971 else
8972
8973 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8974
8975 fi
8976
8977
8978 eval "$wx_cv_use_logwin"
8979
8980 if test x"$enablestring" = xdisable; then
8981 if test $wxUSE_LOGWINDOW = no; then
8982 result=yes
8983 else
8984 result=no
8985 fi
8986 else
8987 result=$wxUSE_LOGWINDOW
8988 fi
8989
8990 { echo "$as_me:$LINENO: result: $result" >&5
8991 echo "${ECHO_T}$result" >&6; }
8992
8993
8994 enablestring=
8995 defaultval=$wxUSE_ALL_FEATURES
8996 if test -z "$defaultval"; then
8997 if test x"$enablestring" = xdisable; then
8998 defaultval=yes
8999 else
9000 defaultval=no
9001 fi
9002 fi
9003
9004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9006 # Check whether --enable-logdialog was given.
9007 if test "${enable_logdialog+set}" = set; then
9008 enableval=$enable_logdialog;
9009 if test "$enableval" = yes; then
9010 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9011 else
9012 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9013 fi
9014
9015 else
9016
9017 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9018
9019 fi
9020
9021
9022 eval "$wx_cv_use_logdialog"
9023
9024 if test x"$enablestring" = xdisable; then
9025 if test $wxUSE_LOGDIALOG = no; then
9026 result=yes
9027 else
9028 result=no
9029 fi
9030 else
9031 result=$wxUSE_LOGDIALOG
9032 fi
9033
9034 { echo "$as_me:$LINENO: result: $result" >&5
9035 echo "${ECHO_T}$result" >&6; }
9036
9037
9038 enablestring=
9039 defaultval=$wxUSE_ALL_FEATURES
9040 if test -z "$defaultval"; then
9041 if test x"$enablestring" = xdisable; then
9042 defaultval=yes
9043 else
9044 defaultval=no
9045 fi
9046 fi
9047
9048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9049 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9050 # Check whether --enable-mdi was given.
9051 if test "${enable_mdi+set}" = set; then
9052 enableval=$enable_mdi;
9053 if test "$enableval" = yes; then
9054 wx_cv_use_mdi='wxUSE_MDI=yes'
9055 else
9056 wx_cv_use_mdi='wxUSE_MDI=no'
9057 fi
9058
9059 else
9060
9061 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9062
9063 fi
9064
9065
9066 eval "$wx_cv_use_mdi"
9067
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_MDI = no; then
9070 result=yes
9071 else
9072 result=no
9073 fi
9074 else
9075 result=$wxUSE_MDI
9076 fi
9077
9078 { echo "$as_me:$LINENO: result: $result" >&5
9079 echo "${ECHO_T}$result" >&6; }
9080
9081
9082 enablestring=
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9086 defaultval=yes
9087 else
9088 defaultval=no
9089 fi
9090 fi
9091
9092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9094 # Check whether --enable-mdidoc was given.
9095 if test "${enable_mdidoc+set}" = set; then
9096 enableval=$enable_mdidoc;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9099 else
9100 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9101 fi
9102
9103 else
9104
9105 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9106
9107 fi
9108
9109
9110 eval "$wx_cv_use_mdidoc"
9111
9112 if test x"$enablestring" = xdisable; then
9113 if test $wxUSE_MDI_ARCHITECTURE = no; then
9114 result=yes
9115 else
9116 result=no
9117 fi
9118 else
9119 result=$wxUSE_MDI_ARCHITECTURE
9120 fi
9121
9122 { echo "$as_me:$LINENO: result: $result" >&5
9123 echo "${ECHO_T}$result" >&6; }
9124
9125
9126 enablestring=
9127 defaultval=$wxUSE_ALL_FEATURES
9128 if test -z "$defaultval"; then
9129 if test x"$enablestring" = xdisable; then
9130 defaultval=yes
9131 else
9132 defaultval=no
9133 fi
9134 fi
9135
9136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9137 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9138 # Check whether --enable-mediactrl was given.
9139 if test "${enable_mediactrl+set}" = set; then
9140 enableval=$enable_mediactrl;
9141 if test "$enableval" = yes; then
9142 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9143 else
9144 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9145 fi
9146
9147 else
9148
9149 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9150
9151 fi
9152
9153
9154 eval "$wx_cv_use_mediactrl"
9155
9156 if test x"$enablestring" = xdisable; then
9157 if test $wxUSE_MEDIACTRL = no; then
9158 result=yes
9159 else
9160 result=no
9161 fi
9162 else
9163 result=$wxUSE_MEDIACTRL
9164 fi
9165
9166 { echo "$as_me:$LINENO: result: $result" >&5
9167 echo "${ECHO_T}$result" >&6; }
9168
9169
9170 enablestring=
9171 defaultval=$wxUSE_ALL_FEATURES
9172 if test -z "$defaultval"; then
9173 if test x"$enablestring" = xdisable; then
9174 defaultval=yes
9175 else
9176 defaultval=no
9177 fi
9178 fi
9179
9180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9181 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9182 # Check whether --enable-gstreamer8 was given.
9183 if test "${enable_gstreamer8+set}" = set; then
9184 enableval=$enable_gstreamer8;
9185 if test "$enableval" = yes; then
9186 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9187 else
9188 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9189 fi
9190
9191 else
9192
9193 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9194
9195 fi
9196
9197
9198 eval "$wx_cv_use_gstreamer8"
9199
9200 if test x"$enablestring" = xdisable; then
9201 if test $wxUSE_GSTREAMER8 = no; then
9202 result=yes
9203 else
9204 result=no
9205 fi
9206 else
9207 result=$wxUSE_GSTREAMER8
9208 fi
9209
9210 { echo "$as_me:$LINENO: result: $result" >&5
9211 echo "${ECHO_T}$result" >&6; }
9212
9213
9214 enablestring=
9215 defaultval=$wxUSE_ALL_FEATURES
9216 if test -z "$defaultval"; then
9217 if test x"$enablestring" = xdisable; then
9218 defaultval=yes
9219 else
9220 defaultval=no
9221 fi
9222 fi
9223
9224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9226 # Check whether --enable-webkit was given.
9227 if test "${enable_webkit+set}" = set; then
9228 enableval=$enable_webkit;
9229 if test "$enableval" = yes; then
9230 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9231 else
9232 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9233 fi
9234
9235 else
9236
9237 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9238
9239 fi
9240
9241
9242 eval "$wx_cv_use_webkit"
9243
9244 if test x"$enablestring" = xdisable; then
9245 if test $wxUSE_WEBKIT = no; then
9246 result=yes
9247 else
9248 result=no
9249 fi
9250 else
9251 result=$wxUSE_WEBKIT
9252 fi
9253
9254 { echo "$as_me:$LINENO: result: $result" >&5
9255 echo "${ECHO_T}$result" >&6; }
9256
9257
9258 enablestring=
9259 defaultval=$wxUSE_ALL_FEATURES
9260 if test -z "$defaultval"; then
9261 if test x"$enablestring" = xdisable; then
9262 defaultval=yes
9263 else
9264 defaultval=no
9265 fi
9266 fi
9267
9268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9270 # Check whether --enable-richtext was given.
9271 if test "${enable_richtext+set}" = set; then
9272 enableval=$enable_richtext;
9273 if test "$enableval" = yes; then
9274 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9275 else
9276 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9277 fi
9278
9279 else
9280
9281 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9282
9283 fi
9284
9285
9286 eval "$wx_cv_use_richtext"
9287
9288 if test x"$enablestring" = xdisable; then
9289 if test $wxUSE_RICHTEXT = no; then
9290 result=yes
9291 else
9292 result=no
9293 fi
9294 else
9295 result=$wxUSE_RICHTEXT
9296 fi
9297
9298 { echo "$as_me:$LINENO: result: $result" >&5
9299 echo "${ECHO_T}$result" >&6; }
9300
9301
9302 enablestring=
9303 defaultval=$wxUSE_ALL_FEATURES
9304 if test -z "$defaultval"; then
9305 if test x"$enablestring" = xdisable; then
9306 defaultval=yes
9307 else
9308 defaultval=no
9309 fi
9310 fi
9311
9312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9314 # Check whether --enable-postscript was given.
9315 if test "${enable_postscript+set}" = set; then
9316 enableval=$enable_postscript;
9317 if test "$enableval" = yes; then
9318 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9319 else
9320 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9321 fi
9322
9323 else
9324
9325 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9326
9327 fi
9328
9329
9330 eval "$wx_cv_use_postscript"
9331
9332 if test x"$enablestring" = xdisable; then
9333 if test $wxUSE_POSTSCRIPT = no; then
9334 result=yes
9335 else
9336 result=no
9337 fi
9338 else
9339 result=$wxUSE_POSTSCRIPT
9340 fi
9341
9342 { echo "$as_me:$LINENO: result: $result" >&5
9343 echo "${ECHO_T}$result" >&6; }
9344
9345
9346 enablestring=
9347 defaultval=$wxUSE_ALL_FEATURES
9348 if test -z "$defaultval"; then
9349 if test x"$enablestring" = xdisable; then
9350 defaultval=yes
9351 else
9352 defaultval=no
9353 fi
9354 fi
9355
9356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9358 # Check whether --enable-printarch was given.
9359 if test "${enable_printarch+set}" = set; then
9360 enableval=$enable_printarch;
9361 if test "$enableval" = yes; then
9362 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9363 else
9364 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9365 fi
9366
9367 else
9368
9369 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9370
9371 fi
9372
9373
9374 eval "$wx_cv_use_printarch"
9375
9376 if test x"$enablestring" = xdisable; then
9377 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9378 result=yes
9379 else
9380 result=no
9381 fi
9382 else
9383 result=$wxUSE_PRINTING_ARCHITECTURE
9384 fi
9385
9386 { echo "$as_me:$LINENO: result: $result" >&5
9387 echo "${ECHO_T}$result" >&6; }
9388
9389
9390 enablestring=
9391 defaultval=$wxUSE_ALL_FEATURES
9392 if test -z "$defaultval"; then
9393 if test x"$enablestring" = xdisable; then
9394 defaultval=yes
9395 else
9396 defaultval=no
9397 fi
9398 fi
9399
9400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9401 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9402 # Check whether --enable-svg was given.
9403 if test "${enable_svg+set}" = set; then
9404 enableval=$enable_svg;
9405 if test "$enableval" = yes; then
9406 wx_cv_use_svg='wxUSE_SVG=yes'
9407 else
9408 wx_cv_use_svg='wxUSE_SVG=no'
9409 fi
9410
9411 else
9412
9413 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9414
9415 fi
9416
9417
9418 eval "$wx_cv_use_svg"
9419
9420 if test x"$enablestring" = xdisable; then
9421 if test $wxUSE_SVG = no; then
9422 result=yes
9423 else
9424 result=no
9425 fi
9426 else
9427 result=$wxUSE_SVG
9428 fi
9429
9430 { echo "$as_me:$LINENO: result: $result" >&5
9431 echo "${ECHO_T}$result" >&6; }
9432
9433
9434 if test "$wxUSE_MAC" != 1; then
9435
9436 enablestring=
9437 defaultval=$wxUSE_ALL_FEATURES
9438 if test -z "$defaultval"; then
9439 if test x"$enablestring" = xdisable; then
9440 defaultval=yes
9441 else
9442 defaultval=no
9443 fi
9444 fi
9445
9446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9447 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9448 # Check whether --enable-graphics_ctx was given.
9449 if test "${enable_graphics_ctx+set}" = set; then
9450 enableval=$enable_graphics_ctx;
9451 if test "$enableval" = yes; then
9452 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9453 else
9454 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9455 fi
9456
9457 else
9458
9459 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9460
9461 fi
9462
9463
9464 eval "$wx_cv_use_graphics_ctx"
9465
9466 if test x"$enablestring" = xdisable; then
9467 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9468 result=yes
9469 else
9470 result=no
9471 fi
9472 else
9473 result=$wxUSE_GRAPHICS_CONTEXT
9474 fi
9475
9476 { echo "$as_me:$LINENO: result: $result" >&5
9477 echo "${ECHO_T}$result" >&6; }
9478
9479 fi
9480
9481
9482
9483 enablestring=
9484 defaultval=$wxUSE_ALL_FEATURES
9485 if test -z "$defaultval"; then
9486 if test x"$enablestring" = xdisable; then
9487 defaultval=yes
9488 else
9489 defaultval=no
9490 fi
9491 fi
9492
9493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9494 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9495 # Check whether --enable-clipboard was given.
9496 if test "${enable_clipboard+set}" = set; then
9497 enableval=$enable_clipboard;
9498 if test "$enableval" = yes; then
9499 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9500 else
9501 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9502 fi
9503
9504 else
9505
9506 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9507
9508 fi
9509
9510
9511 eval "$wx_cv_use_clipboard"
9512
9513 if test x"$enablestring" = xdisable; then
9514 if test $wxUSE_CLIPBOARD = no; then
9515 result=yes
9516 else
9517 result=no
9518 fi
9519 else
9520 result=$wxUSE_CLIPBOARD
9521 fi
9522
9523 { echo "$as_me:$LINENO: result: $result" >&5
9524 echo "${ECHO_T}$result" >&6; }
9525
9526
9527 enablestring=
9528 defaultval=$wxUSE_ALL_FEATURES
9529 if test -z "$defaultval"; then
9530 if test x"$enablestring" = xdisable; then
9531 defaultval=yes
9532 else
9533 defaultval=no
9534 fi
9535 fi
9536
9537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9538 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9539 # Check whether --enable-dnd was given.
9540 if test "${enable_dnd+set}" = set; then
9541 enableval=$enable_dnd;
9542 if test "$enableval" = yes; then
9543 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9544 else
9545 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9546 fi
9547
9548 else
9549
9550 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9551
9552 fi
9553
9554
9555 eval "$wx_cv_use_dnd"
9556
9557 if test x"$enablestring" = xdisable; then
9558 if test $wxUSE_DRAG_AND_DROP = no; then
9559 result=yes
9560 else
9561 result=no
9562 fi
9563 else
9564 result=$wxUSE_DRAG_AND_DROP
9565 fi
9566
9567 { echo "$as_me:$LINENO: result: $result" >&5
9568 echo "${ECHO_T}$result" >&6; }
9569
9570
9571 enablestring=
9572 defaultval=$wxUSE_ALL_FEATURES
9573 if test -z "$defaultval"; then
9574 if test x"$enablestring" = xdisable; then
9575 defaultval=yes
9576 else
9577 defaultval=no
9578 fi
9579 fi
9580
9581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9583 # Check whether --enable-metafile was given.
9584 if test "${enable_metafile+set}" = set; then
9585 enableval=$enable_metafile;
9586 if test "$enableval" = yes; then
9587 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9588 else
9589 wx_cv_use_metafile='wxUSE_METAFILE=no'
9590 fi
9591
9592 else
9593
9594 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9595
9596 fi
9597
9598
9599 eval "$wx_cv_use_metafile"
9600
9601 if test x"$enablestring" = xdisable; then
9602 if test $wxUSE_METAFILE = no; then
9603 result=yes
9604 else
9605 result=no
9606 fi
9607 else
9608 result=$wxUSE_METAFILE
9609 fi
9610
9611 { echo "$as_me:$LINENO: result: $result" >&5
9612 echo "${ECHO_T}$result" >&6; }
9613
9614
9615
9616 DEFAULT_wxUSE_CONTROLS=none
9617
9618 enablestring=disable
9619 defaultval=
9620 if test -z "$defaultval"; then
9621 if test x"$enablestring" = xdisable; then
9622 defaultval=yes
9623 else
9624 defaultval=no
9625 fi
9626 fi
9627
9628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9629 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9630 # Check whether --enable-controls was given.
9631 if test "${enable_controls+set}" = set; then
9632 enableval=$enable_controls;
9633 if test "$enableval" = yes; then
9634 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9635 else
9636 wx_cv_use_controls='wxUSE_CONTROLS=no'
9637 fi
9638
9639 else
9640
9641 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9642
9643 fi
9644
9645
9646 eval "$wx_cv_use_controls"
9647
9648 if test x"$enablestring" = xdisable; then
9649 if test $wxUSE_CONTROLS = no; then
9650 result=yes
9651 else
9652 result=no
9653 fi
9654 else
9655 result=$wxUSE_CONTROLS
9656 fi
9657
9658 { echo "$as_me:$LINENO: result: $result" >&5
9659 echo "${ECHO_T}$result" >&6; }
9660
9661
9662 if test "$wxUSE_CONTROLS" = "no"; then
9663 DEFAULT_wxUSE_ACCEL=no
9664 DEFAULT_wxUSE_ANIMATIONCTRL=no
9665 DEFAULT_wxUSE_BMPBUTTON=no
9666 DEFAULT_wxUSE_BUTTON=no
9667 DEFAULT_wxUSE_CALCTRL=no
9668 DEFAULT_wxUSE_CARET=no
9669 DEFAULT_wxUSE_CHECKBOX=no
9670 DEFAULT_wxUSE_CHECKLISTBOX=no
9671 DEFAULT_wxUSE_CHOICE=no
9672 DEFAULT_wxUSE_CHOICEBOOK=no
9673 DEFAULT_wxUSE_COLLPANE=no
9674 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9675 DEFAULT_wxUSE_COMBOBOX=no
9676 DEFAULT_wxUSE_COMBOBOX=no
9677 DEFAULT_wxUSE_DATAVIEWCTRL=no
9678 DEFAULT_wxUSE_DATEPICKCTRL=no
9679 DEFAULT_wxUSE_DETECT_SM=no
9680 DEFAULT_wxUSE_DIRPICKERCTRL=no
9681 DEFAULT_wxUSE_DISPLAY=no
9682 DEFAULT_wxUSE_FILECTRL=no
9683 DEFAULT_wxUSE_FILEPICKERCTRL=no
9684 DEFAULT_wxUSE_FONTPICKERCTRL=no
9685 DEFAULT_wxUSE_GAUGE=no
9686 DEFAULT_wxUSE_GRID=no
9687 DEFAULT_wxUSE_HEADERCTRL=no
9688 DEFAULT_wxUSE_HYPERLINKCTRL=no
9689 DEFAULT_wxUSE_IMAGLIST=no
9690 DEFAULT_wxUSE_LISTBOOK=no
9691 DEFAULT_wxUSE_LISTBOX=no
9692 DEFAULT_wxUSE_LISTCTRL=no
9693 DEFAULT_wxUSE_NOTEBOOK=no
9694 DEFAULT_wxUSE_POPUPWIN=no
9695 DEFAULT_wxUSE_RADIOBOX=no
9696 DEFAULT_wxUSE_RADIOBTN=no
9697 DEFAULT_wxUSE_REARRANGECTRL=no
9698 DEFAULT_wxUSE_SASH=no
9699 DEFAULT_wxUSE_SCROLLBAR=no
9700 DEFAULT_wxUSE_SEARCHCTRL=no
9701 DEFAULT_wxUSE_SLIDER=no
9702 DEFAULT_wxUSE_SPINBTN=no
9703 DEFAULT_wxUSE_SPINCTRL=no
9704 DEFAULT_wxUSE_SPLITTER=no
9705 DEFAULT_wxUSE_STATBMP=no
9706 DEFAULT_wxUSE_STATBOX=no
9707 DEFAULT_wxUSE_STATLINE=no
9708 DEFAULT_wxUSE_STATUSBAR=no
9709 DEFAULT_wxUSE_TIPWINDOW=no
9710 DEFAULT_wxUSE_TOGGLEBTN=no
9711 DEFAULT_wxUSE_TOOLBAR=no
9712 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9713 DEFAULT_wxUSE_TOOLBOOK=no
9714 DEFAULT_wxUSE_TOOLTIPS=no
9715 DEFAULT_wxUSE_TREEBOOK=no
9716 DEFAULT_wxUSE_TREECTRL=no
9717 fi
9718
9719
9720 enablestring=
9721 defaultval=$wxUSE_ALL_FEATURES
9722 if test -z "$defaultval"; then
9723 if test x"$enablestring" = xdisable; then
9724 defaultval=yes
9725 else
9726 defaultval=no
9727 fi
9728 fi
9729
9730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9731 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9732 # Check whether --enable-accel was given.
9733 if test "${enable_accel+set}" = set; then
9734 enableval=$enable_accel;
9735 if test "$enableval" = yes; then
9736 wx_cv_use_accel='wxUSE_ACCEL=yes'
9737 else
9738 wx_cv_use_accel='wxUSE_ACCEL=no'
9739 fi
9740
9741 else
9742
9743 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9744
9745 fi
9746
9747
9748 eval "$wx_cv_use_accel"
9749
9750 if test x"$enablestring" = xdisable; then
9751 if test $wxUSE_ACCEL = no; then
9752 result=yes
9753 else
9754 result=no
9755 fi
9756 else
9757 result=$wxUSE_ACCEL
9758 fi
9759
9760 { echo "$as_me:$LINENO: result: $result" >&5
9761 echo "${ECHO_T}$result" >&6; }
9762
9763
9764 enablestring=
9765 defaultval=$wxUSE_ALL_FEATURES
9766 if test -z "$defaultval"; then
9767 if test x"$enablestring" = xdisable; then
9768 defaultval=yes
9769 else
9770 defaultval=no
9771 fi
9772 fi
9773
9774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9775 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9776 # Check whether --enable-animatectrl was given.
9777 if test "${enable_animatectrl+set}" = set; then
9778 enableval=$enable_animatectrl;
9779 if test "$enableval" = yes; then
9780 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9781 else
9782 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9783 fi
9784
9785 else
9786
9787 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9788
9789 fi
9790
9791
9792 eval "$wx_cv_use_animatectrl"
9793
9794 if test x"$enablestring" = xdisable; then
9795 if test $wxUSE_ANIMATIONCTRL = no; then
9796 result=yes
9797 else
9798 result=no
9799 fi
9800 else
9801 result=$wxUSE_ANIMATIONCTRL
9802 fi
9803
9804 { echo "$as_me:$LINENO: result: $result" >&5
9805 echo "${ECHO_T}$result" >&6; }
9806
9807
9808 enablestring=
9809 defaultval=$wxUSE_ALL_FEATURES
9810 if test -z "$defaultval"; then
9811 if test x"$enablestring" = xdisable; then
9812 defaultval=yes
9813 else
9814 defaultval=no
9815 fi
9816 fi
9817
9818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9819 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9820 # Check whether --enable-bmpbutton was given.
9821 if test "${enable_bmpbutton+set}" = set; then
9822 enableval=$enable_bmpbutton;
9823 if test "$enableval" = yes; then
9824 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9825 else
9826 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9827 fi
9828
9829 else
9830
9831 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9832
9833 fi
9834
9835
9836 eval "$wx_cv_use_bmpbutton"
9837
9838 if test x"$enablestring" = xdisable; then
9839 if test $wxUSE_BMPBUTTON = no; then
9840 result=yes
9841 else
9842 result=no
9843 fi
9844 else
9845 result=$wxUSE_BMPBUTTON
9846 fi
9847
9848 { echo "$as_me:$LINENO: result: $result" >&5
9849 echo "${ECHO_T}$result" >&6; }
9850
9851
9852 enablestring=
9853 defaultval=$wxUSE_ALL_FEATURES
9854 if test -z "$defaultval"; then
9855 if test x"$enablestring" = xdisable; then
9856 defaultval=yes
9857 else
9858 defaultval=no
9859 fi
9860 fi
9861
9862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9863 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9864 # Check whether --enable-bmpcombobox was given.
9865 if test "${enable_bmpcombobox+set}" = set; then
9866 enableval=$enable_bmpcombobox;
9867 if test "$enableval" = yes; then
9868 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9869 else
9870 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9871 fi
9872
9873 else
9874
9875 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9876
9877 fi
9878
9879
9880 eval "$wx_cv_use_bmpcombobox"
9881
9882 if test x"$enablestring" = xdisable; then
9883 if test $wxUSE_BITMAPCOMBOBOX = no; then
9884 result=yes
9885 else
9886 result=no
9887 fi
9888 else
9889 result=$wxUSE_BITMAPCOMBOBOX
9890 fi
9891
9892 { echo "$as_me:$LINENO: result: $result" >&5
9893 echo "${ECHO_T}$result" >&6; }
9894
9895
9896 enablestring=
9897 defaultval=$wxUSE_ALL_FEATURES
9898 if test -z "$defaultval"; then
9899 if test x"$enablestring" = xdisable; then
9900 defaultval=yes
9901 else
9902 defaultval=no
9903 fi
9904 fi
9905
9906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9907 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9908 # Check whether --enable-button was given.
9909 if test "${enable_button+set}" = set; then
9910 enableval=$enable_button;
9911 if test "$enableval" = yes; then
9912 wx_cv_use_button='wxUSE_BUTTON=yes'
9913 else
9914 wx_cv_use_button='wxUSE_BUTTON=no'
9915 fi
9916
9917 else
9918
9919 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9920
9921 fi
9922
9923
9924 eval "$wx_cv_use_button"
9925
9926 if test x"$enablestring" = xdisable; then
9927 if test $wxUSE_BUTTON = no; then
9928 result=yes
9929 else
9930 result=no
9931 fi
9932 else
9933 result=$wxUSE_BUTTON
9934 fi
9935
9936 { echo "$as_me:$LINENO: result: $result" >&5
9937 echo "${ECHO_T}$result" >&6; }
9938
9939
9940 enablestring=
9941 defaultval=$wxUSE_ALL_FEATURES
9942 if test -z "$defaultval"; then
9943 if test x"$enablestring" = xdisable; then
9944 defaultval=yes
9945 else
9946 defaultval=no
9947 fi
9948 fi
9949
9950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9951 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9952 # Check whether --enable-calendar was given.
9953 if test "${enable_calendar+set}" = set; then
9954 enableval=$enable_calendar;
9955 if test "$enableval" = yes; then
9956 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9957 else
9958 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9959 fi
9960
9961 else
9962
9963 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9964
9965 fi
9966
9967
9968 eval "$wx_cv_use_calendar"
9969
9970 if test x"$enablestring" = xdisable; then
9971 if test $wxUSE_CALCTRL = no; then
9972 result=yes
9973 else
9974 result=no
9975 fi
9976 else
9977 result=$wxUSE_CALCTRL
9978 fi
9979
9980 { echo "$as_me:$LINENO: result: $result" >&5
9981 echo "${ECHO_T}$result" >&6; }
9982
9983
9984 enablestring=
9985 defaultval=$wxUSE_ALL_FEATURES
9986 if test -z "$defaultval"; then
9987 if test x"$enablestring" = xdisable; then
9988 defaultval=yes
9989 else
9990 defaultval=no
9991 fi
9992 fi
9993
9994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9995 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9996 # Check whether --enable-caret was given.
9997 if test "${enable_caret+set}" = set; then
9998 enableval=$enable_caret;
9999 if test "$enableval" = yes; then
10000 wx_cv_use_caret='wxUSE_CARET=yes'
10001 else
10002 wx_cv_use_caret='wxUSE_CARET=no'
10003 fi
10004
10005 else
10006
10007 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10008
10009 fi
10010
10011
10012 eval "$wx_cv_use_caret"
10013
10014 if test x"$enablestring" = xdisable; then
10015 if test $wxUSE_CARET = no; then
10016 result=yes
10017 else
10018 result=no
10019 fi
10020 else
10021 result=$wxUSE_CARET
10022 fi
10023
10024 { echo "$as_me:$LINENO: result: $result" >&5
10025 echo "${ECHO_T}$result" >&6; }
10026
10027
10028 enablestring=
10029 defaultval=$wxUSE_ALL_FEATURES
10030 if test -z "$defaultval"; then
10031 if test x"$enablestring" = xdisable; then
10032 defaultval=yes
10033 else
10034 defaultval=no
10035 fi
10036 fi
10037
10038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10039 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10040 # Check whether --enable-checkbox was given.
10041 if test "${enable_checkbox+set}" = set; then
10042 enableval=$enable_checkbox;
10043 if test "$enableval" = yes; then
10044 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10045 else
10046 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10047 fi
10048
10049 else
10050
10051 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10052
10053 fi
10054
10055
10056 eval "$wx_cv_use_checkbox"
10057
10058 if test x"$enablestring" = xdisable; then
10059 if test $wxUSE_CHECKBOX = no; then
10060 result=yes
10061 else
10062 result=no
10063 fi
10064 else
10065 result=$wxUSE_CHECKBOX
10066 fi
10067
10068 { echo "$as_me:$LINENO: result: $result" >&5
10069 echo "${ECHO_T}$result" >&6; }
10070
10071
10072 enablestring=
10073 defaultval=$wxUSE_ALL_FEATURES
10074 if test -z "$defaultval"; then
10075 if test x"$enablestring" = xdisable; then
10076 defaultval=yes
10077 else
10078 defaultval=no
10079 fi
10080 fi
10081
10082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10083 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10084 # Check whether --enable-checklst was given.
10085 if test "${enable_checklst+set}" = set; then
10086 enableval=$enable_checklst;
10087 if test "$enableval" = yes; then
10088 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10089 else
10090 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10091 fi
10092
10093 else
10094
10095 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10096
10097 fi
10098
10099
10100 eval "$wx_cv_use_checklst"
10101
10102 if test x"$enablestring" = xdisable; then
10103 if test $wxUSE_CHECKLST = no; then
10104 result=yes
10105 else
10106 result=no
10107 fi
10108 else
10109 result=$wxUSE_CHECKLST
10110 fi
10111
10112 { echo "$as_me:$LINENO: result: $result" >&5
10113 echo "${ECHO_T}$result" >&6; }
10114
10115
10116 enablestring=
10117 defaultval=$wxUSE_ALL_FEATURES
10118 if test -z "$defaultval"; then
10119 if test x"$enablestring" = xdisable; then
10120 defaultval=yes
10121 else
10122 defaultval=no
10123 fi
10124 fi
10125
10126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10127 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10128 # Check whether --enable-choice was given.
10129 if test "${enable_choice+set}" = set; then
10130 enableval=$enable_choice;
10131 if test "$enableval" = yes; then
10132 wx_cv_use_choice='wxUSE_CHOICE=yes'
10133 else
10134 wx_cv_use_choice='wxUSE_CHOICE=no'
10135 fi
10136
10137 else
10138
10139 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10140
10141 fi
10142
10143
10144 eval "$wx_cv_use_choice"
10145
10146 if test x"$enablestring" = xdisable; then
10147 if test $wxUSE_CHOICE = no; then
10148 result=yes
10149 else
10150 result=no
10151 fi
10152 else
10153 result=$wxUSE_CHOICE
10154 fi
10155
10156 { echo "$as_me:$LINENO: result: $result" >&5
10157 echo "${ECHO_T}$result" >&6; }
10158
10159
10160 enablestring=
10161 defaultval=$wxUSE_ALL_FEATURES
10162 if test -z "$defaultval"; then
10163 if test x"$enablestring" = xdisable; then
10164 defaultval=yes
10165 else
10166 defaultval=no
10167 fi
10168 fi
10169
10170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10171 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10172 # Check whether --enable-choicebook was given.
10173 if test "${enable_choicebook+set}" = set; then
10174 enableval=$enable_choicebook;
10175 if test "$enableval" = yes; then
10176 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10177 else
10178 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10179 fi
10180
10181 else
10182
10183 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10184
10185 fi
10186
10187
10188 eval "$wx_cv_use_choicebook"
10189
10190 if test x"$enablestring" = xdisable; then
10191 if test $wxUSE_CHOICEBOOK = no; then
10192 result=yes
10193 else
10194 result=no
10195 fi
10196 else
10197 result=$wxUSE_CHOICEBOOK
10198 fi
10199
10200 { echo "$as_me:$LINENO: result: $result" >&5
10201 echo "${ECHO_T}$result" >&6; }
10202
10203
10204 enablestring=
10205 defaultval=$wxUSE_ALL_FEATURES
10206 if test -z "$defaultval"; then
10207 if test x"$enablestring" = xdisable; then
10208 defaultval=yes
10209 else
10210 defaultval=no
10211 fi
10212 fi
10213
10214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10215 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10216 # Check whether --enable-collpane was given.
10217 if test "${enable_collpane+set}" = set; then
10218 enableval=$enable_collpane;
10219 if test "$enableval" = yes; then
10220 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10221 else
10222 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10223 fi
10224
10225 else
10226
10227 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10228
10229 fi
10230
10231
10232 eval "$wx_cv_use_collpane"
10233
10234 if test x"$enablestring" = xdisable; then
10235 if test $wxUSE_COLLPANE = no; then
10236 result=yes
10237 else
10238 result=no
10239 fi
10240 else
10241 result=$wxUSE_COLLPANE
10242 fi
10243
10244 { echo "$as_me:$LINENO: result: $result" >&5
10245 echo "${ECHO_T}$result" >&6; }
10246
10247
10248 enablestring=
10249 defaultval=$wxUSE_ALL_FEATURES
10250 if test -z "$defaultval"; then
10251 if test x"$enablestring" = xdisable; then
10252 defaultval=yes
10253 else
10254 defaultval=no
10255 fi
10256 fi
10257
10258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10259 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10260 # Check whether --enable-colourpicker was given.
10261 if test "${enable_colourpicker+set}" = set; then
10262 enableval=$enable_colourpicker;
10263 if test "$enableval" = yes; then
10264 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10265 else
10266 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10267 fi
10268
10269 else
10270
10271 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10272
10273 fi
10274
10275
10276 eval "$wx_cv_use_colourpicker"
10277
10278 if test x"$enablestring" = xdisable; then
10279 if test $wxUSE_COLOURPICKERCTRL = no; then
10280 result=yes
10281 else
10282 result=no
10283 fi
10284 else
10285 result=$wxUSE_COLOURPICKERCTRL
10286 fi
10287
10288 { echo "$as_me:$LINENO: result: $result" >&5
10289 echo "${ECHO_T}$result" >&6; }
10290
10291
10292 enablestring=
10293 defaultval=$wxUSE_ALL_FEATURES
10294 if test -z "$defaultval"; then
10295 if test x"$enablestring" = xdisable; then
10296 defaultval=yes
10297 else
10298 defaultval=no
10299 fi
10300 fi
10301
10302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10303 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10304 # Check whether --enable-combobox was given.
10305 if test "${enable_combobox+set}" = set; then
10306 enableval=$enable_combobox;
10307 if test "$enableval" = yes; then
10308 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10309 else
10310 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10311 fi
10312
10313 else
10314
10315 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10316
10317 fi
10318
10319
10320 eval "$wx_cv_use_combobox"
10321
10322 if test x"$enablestring" = xdisable; then
10323 if test $wxUSE_COMBOBOX = no; then
10324 result=yes
10325 else
10326 result=no
10327 fi
10328 else
10329 result=$wxUSE_COMBOBOX
10330 fi
10331
10332 { echo "$as_me:$LINENO: result: $result" >&5
10333 echo "${ECHO_T}$result" >&6; }
10334
10335
10336 enablestring=
10337 defaultval=$wxUSE_ALL_FEATURES
10338 if test -z "$defaultval"; then
10339 if test x"$enablestring" = xdisable; then
10340 defaultval=yes
10341 else
10342 defaultval=no
10343 fi
10344 fi
10345
10346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10347 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10348 # Check whether --enable-comboctrl was given.
10349 if test "${enable_comboctrl+set}" = set; then
10350 enableval=$enable_comboctrl;
10351 if test "$enableval" = yes; then
10352 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10353 else
10354 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10355 fi
10356
10357 else
10358
10359 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10360
10361 fi
10362
10363
10364 eval "$wx_cv_use_comboctrl"
10365
10366 if test x"$enablestring" = xdisable; then
10367 if test $wxUSE_COMBOCTRL = no; then
10368 result=yes
10369 else
10370 result=no
10371 fi
10372 else
10373 result=$wxUSE_COMBOCTRL
10374 fi
10375
10376 { echo "$as_me:$LINENO: result: $result" >&5
10377 echo "${ECHO_T}$result" >&6; }
10378
10379
10380 enablestring=
10381 defaultval=$wxUSE_ALL_FEATURES
10382 if test -z "$defaultval"; then
10383 if test x"$enablestring" = xdisable; then
10384 defaultval=yes
10385 else
10386 defaultval=no
10387 fi
10388 fi
10389
10390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10392 # Check whether --enable-dataviewctrl was given.
10393 if test "${enable_dataviewctrl+set}" = set; then
10394 enableval=$enable_dataviewctrl;
10395 if test "$enableval" = yes; then
10396 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10397 else
10398 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10399 fi
10400
10401 else
10402
10403 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10404
10405 fi
10406
10407
10408 eval "$wx_cv_use_dataviewctrl"
10409
10410 if test x"$enablestring" = xdisable; then
10411 if test $wxUSE_DATAVIEWCTRL = no; then
10412 result=yes
10413 else
10414 result=no
10415 fi
10416 else
10417 result=$wxUSE_DATAVIEWCTRL
10418 fi
10419
10420 { echo "$as_me:$LINENO: result: $result" >&5
10421 echo "${ECHO_T}$result" >&6; }
10422
10423
10424 enablestring=
10425 defaultval=$wxUSE_ALL_FEATURES
10426 if test -z "$defaultval"; then
10427 if test x"$enablestring" = xdisable; then
10428 defaultval=yes
10429 else
10430 defaultval=no
10431 fi
10432 fi
10433
10434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10435 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10436 # Check whether --enable-datepick was given.
10437 if test "${enable_datepick+set}" = set; then
10438 enableval=$enable_datepick;
10439 if test "$enableval" = yes; then
10440 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10441 else
10442 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10443 fi
10444
10445 else
10446
10447 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10448
10449 fi
10450
10451
10452 eval "$wx_cv_use_datepick"
10453
10454 if test x"$enablestring" = xdisable; then
10455 if test $wxUSE_DATEPICKCTRL = no; then
10456 result=yes
10457 else
10458 result=no
10459 fi
10460 else
10461 result=$wxUSE_DATEPICKCTRL
10462 fi
10463
10464 { echo "$as_me:$LINENO: result: $result" >&5
10465 echo "${ECHO_T}$result" >&6; }
10466
10467
10468 enablestring=
10469 defaultval=$wxUSE_ALL_FEATURES
10470 if test -z "$defaultval"; then
10471 if test x"$enablestring" = xdisable; then
10472 defaultval=yes
10473 else
10474 defaultval=no
10475 fi
10476 fi
10477
10478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10479 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10480 # Check whether --enable-detect_sm was given.
10481 if test "${enable_detect_sm+set}" = set; then
10482 enableval=$enable_detect_sm;
10483 if test "$enableval" = yes; then
10484 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10485 else
10486 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10487 fi
10488
10489 else
10490
10491 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10492
10493 fi
10494
10495
10496 eval "$wx_cv_use_detect_sm"
10497
10498 if test x"$enablestring" = xdisable; then
10499 if test $wxUSE_DETECT_SM = no; then
10500 result=yes
10501 else
10502 result=no
10503 fi
10504 else
10505 result=$wxUSE_DETECT_SM
10506 fi
10507
10508 { echo "$as_me:$LINENO: result: $result" >&5
10509 echo "${ECHO_T}$result" >&6; }
10510
10511
10512 enablestring=
10513 defaultval=$wxUSE_ALL_FEATURES
10514 if test -z "$defaultval"; then
10515 if test x"$enablestring" = xdisable; then
10516 defaultval=yes
10517 else
10518 defaultval=no
10519 fi
10520 fi
10521
10522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10523 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10524 # Check whether --enable-dirpicker was given.
10525 if test "${enable_dirpicker+set}" = set; then
10526 enableval=$enable_dirpicker;
10527 if test "$enableval" = yes; then
10528 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10529 else
10530 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10531 fi
10532
10533 else
10534
10535 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10536
10537 fi
10538
10539
10540 eval "$wx_cv_use_dirpicker"
10541
10542 if test x"$enablestring" = xdisable; then
10543 if test $wxUSE_DIRPICKERCTRL = no; then
10544 result=yes
10545 else
10546 result=no
10547 fi
10548 else
10549 result=$wxUSE_DIRPICKERCTRL
10550 fi
10551
10552 { echo "$as_me:$LINENO: result: $result" >&5
10553 echo "${ECHO_T}$result" >&6; }
10554
10555
10556 enablestring=
10557 defaultval=$wxUSE_ALL_FEATURES
10558 if test -z "$defaultval"; then
10559 if test x"$enablestring" = xdisable; then
10560 defaultval=yes
10561 else
10562 defaultval=no
10563 fi
10564 fi
10565
10566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10567 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10568 # Check whether --enable-display was given.
10569 if test "${enable_display+set}" = set; then
10570 enableval=$enable_display;
10571 if test "$enableval" = yes; then
10572 wx_cv_use_display='wxUSE_DISPLAY=yes'
10573 else
10574 wx_cv_use_display='wxUSE_DISPLAY=no'
10575 fi
10576
10577 else
10578
10579 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10580
10581 fi
10582
10583
10584 eval "$wx_cv_use_display"
10585
10586 if test x"$enablestring" = xdisable; then
10587 if test $wxUSE_DISPLAY = no; then
10588 result=yes
10589 else
10590 result=no
10591 fi
10592 else
10593 result=$wxUSE_DISPLAY
10594 fi
10595
10596 { echo "$as_me:$LINENO: result: $result" >&5
10597 echo "${ECHO_T}$result" >&6; }
10598
10599
10600 enablestring=
10601 defaultval=$wxUSE_ALL_FEATURES
10602 if test -z "$defaultval"; then
10603 if test x"$enablestring" = xdisable; then
10604 defaultval=yes
10605 else
10606 defaultval=no
10607 fi
10608 fi
10609
10610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10611 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10612 # Check whether --enable-editablebox was given.
10613 if test "${enable_editablebox+set}" = set; then
10614 enableval=$enable_editablebox;
10615 if test "$enableval" = yes; then
10616 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10617 else
10618 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10619 fi
10620
10621 else
10622
10623 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10624
10625 fi
10626
10627
10628 eval "$wx_cv_use_editablebox"
10629
10630 if test x"$enablestring" = xdisable; then
10631 if test $wxUSE_EDITABLELISTBOX = no; then
10632 result=yes
10633 else
10634 result=no
10635 fi
10636 else
10637 result=$wxUSE_EDITABLELISTBOX
10638 fi
10639
10640 { echo "$as_me:$LINENO: result: $result" >&5
10641 echo "${ECHO_T}$result" >&6; }
10642
10643
10644 enablestring=
10645 defaultval=$wxUSE_ALL_FEATURES
10646 if test -z "$defaultval"; then
10647 if test x"$enablestring" = xdisable; then
10648 defaultval=yes
10649 else
10650 defaultval=no
10651 fi
10652 fi
10653
10654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10655 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10656 # Check whether --enable-filectrl was given.
10657 if test "${enable_filectrl+set}" = set; then
10658 enableval=$enable_filectrl;
10659 if test "$enableval" = yes; then
10660 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10661 else
10662 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10663 fi
10664
10665 else
10666
10667 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10668
10669 fi
10670
10671
10672 eval "$wx_cv_use_filectrl"
10673
10674 if test x"$enablestring" = xdisable; then
10675 if test $wxUSE_FILECTRL = no; then
10676 result=yes
10677 else
10678 result=no
10679 fi
10680 else
10681 result=$wxUSE_FILECTRL
10682 fi
10683
10684 { echo "$as_me:$LINENO: result: $result" >&5
10685 echo "${ECHO_T}$result" >&6; }
10686
10687
10688 enablestring=
10689 defaultval=$wxUSE_ALL_FEATURES
10690 if test -z "$defaultval"; then
10691 if test x"$enablestring" = xdisable; then
10692 defaultval=yes
10693 else
10694 defaultval=no
10695 fi
10696 fi
10697
10698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10699 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10700 # Check whether --enable-filepicker was given.
10701 if test "${enable_filepicker+set}" = set; then
10702 enableval=$enable_filepicker;
10703 if test "$enableval" = yes; then
10704 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10705 else
10706 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10707 fi
10708
10709 else
10710
10711 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10712
10713 fi
10714
10715
10716 eval "$wx_cv_use_filepicker"
10717
10718 if test x"$enablestring" = xdisable; then
10719 if test $wxUSE_FILEPICKERCTRL = no; then
10720 result=yes
10721 else
10722 result=no
10723 fi
10724 else
10725 result=$wxUSE_FILEPICKERCTRL
10726 fi
10727
10728 { echo "$as_me:$LINENO: result: $result" >&5
10729 echo "${ECHO_T}$result" >&6; }
10730
10731
10732 enablestring=
10733 defaultval=$wxUSE_ALL_FEATURES
10734 if test -z "$defaultval"; then
10735 if test x"$enablestring" = xdisable; then
10736 defaultval=yes
10737 else
10738 defaultval=no
10739 fi
10740 fi
10741
10742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10743 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10744 # Check whether --enable-fontpicker was given.
10745 if test "${enable_fontpicker+set}" = set; then
10746 enableval=$enable_fontpicker;
10747 if test "$enableval" = yes; then
10748 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10749 else
10750 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10751 fi
10752
10753 else
10754
10755 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10756
10757 fi
10758
10759
10760 eval "$wx_cv_use_fontpicker"
10761
10762 if test x"$enablestring" = xdisable; then
10763 if test $wxUSE_FONTPICKERCTRL = no; then
10764 result=yes
10765 else
10766 result=no
10767 fi
10768 else
10769 result=$wxUSE_FONTPICKERCTRL
10770 fi
10771
10772 { echo "$as_me:$LINENO: result: $result" >&5
10773 echo "${ECHO_T}$result" >&6; }
10774
10775
10776 enablestring=
10777 defaultval=$wxUSE_ALL_FEATURES
10778 if test -z "$defaultval"; then
10779 if test x"$enablestring" = xdisable; then
10780 defaultval=yes
10781 else
10782 defaultval=no
10783 fi
10784 fi
10785
10786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10788 # Check whether --enable-gauge was given.
10789 if test "${enable_gauge+set}" = set; then
10790 enableval=$enable_gauge;
10791 if test "$enableval" = yes; then
10792 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10793 else
10794 wx_cv_use_gauge='wxUSE_GAUGE=no'
10795 fi
10796
10797 else
10798
10799 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10800
10801 fi
10802
10803
10804 eval "$wx_cv_use_gauge"
10805
10806 if test x"$enablestring" = xdisable; then
10807 if test $wxUSE_GAUGE = no; then
10808 result=yes
10809 else
10810 result=no
10811 fi
10812 else
10813 result=$wxUSE_GAUGE
10814 fi
10815
10816 { echo "$as_me:$LINENO: result: $result" >&5
10817 echo "${ECHO_T}$result" >&6; }
10818
10819
10820 enablestring=
10821 defaultval=$wxUSE_ALL_FEATURES
10822 if test -z "$defaultval"; then
10823 if test x"$enablestring" = xdisable; then
10824 defaultval=yes
10825 else
10826 defaultval=no
10827 fi
10828 fi
10829
10830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10831 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10832 # Check whether --enable-grid was given.
10833 if test "${enable_grid+set}" = set; then
10834 enableval=$enable_grid;
10835 if test "$enableval" = yes; then
10836 wx_cv_use_grid='wxUSE_GRID=yes'
10837 else
10838 wx_cv_use_grid='wxUSE_GRID=no'
10839 fi
10840
10841 else
10842
10843 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10844
10845 fi
10846
10847
10848 eval "$wx_cv_use_grid"
10849
10850 if test x"$enablestring" = xdisable; then
10851 if test $wxUSE_GRID = no; then
10852 result=yes
10853 else
10854 result=no
10855 fi
10856 else
10857 result=$wxUSE_GRID
10858 fi
10859
10860 { echo "$as_me:$LINENO: result: $result" >&5
10861 echo "${ECHO_T}$result" >&6; }
10862
10863
10864 enablestring=
10865 defaultval=$wxUSE_ALL_FEATURES
10866 if test -z "$defaultval"; then
10867 if test x"$enablestring" = xdisable; then
10868 defaultval=yes
10869 else
10870 defaultval=no
10871 fi
10872 fi
10873
10874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10875 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10876 # Check whether --enable-headerctrl was given.
10877 if test "${enable_headerctrl+set}" = set; then
10878 enableval=$enable_headerctrl;
10879 if test "$enableval" = yes; then
10880 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10881 else
10882 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10883 fi
10884
10885 else
10886
10887 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10888
10889 fi
10890
10891
10892 eval "$wx_cv_use_headerctrl"
10893
10894 if test x"$enablestring" = xdisable; then
10895 if test $wxUSE_HEADERCTRL = no; then
10896 result=yes
10897 else
10898 result=no
10899 fi
10900 else
10901 result=$wxUSE_HEADERCTRL
10902 fi
10903
10904 { echo "$as_me:$LINENO: result: $result" >&5
10905 echo "${ECHO_T}$result" >&6; }
10906
10907
10908 enablestring=
10909 defaultval=$wxUSE_ALL_FEATURES
10910 if test -z "$defaultval"; then
10911 if test x"$enablestring" = xdisable; then
10912 defaultval=yes
10913 else
10914 defaultval=no
10915 fi
10916 fi
10917
10918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10919 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10920 # Check whether --enable-hyperlink was given.
10921 if test "${enable_hyperlink+set}" = set; then
10922 enableval=$enable_hyperlink;
10923 if test "$enableval" = yes; then
10924 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10925 else
10926 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10927 fi
10928
10929 else
10930
10931 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10932
10933 fi
10934
10935
10936 eval "$wx_cv_use_hyperlink"
10937
10938 if test x"$enablestring" = xdisable; then
10939 if test $wxUSE_HYPERLINKCTRL = no; then
10940 result=yes
10941 else
10942 result=no
10943 fi
10944 else
10945 result=$wxUSE_HYPERLINKCTRL
10946 fi
10947
10948 { echo "$as_me:$LINENO: result: $result" >&5
10949 echo "${ECHO_T}$result" >&6; }
10950
10951
10952 enablestring=
10953 defaultval=$wxUSE_ALL_FEATURES
10954 if test -z "$defaultval"; then
10955 if test x"$enablestring" = xdisable; then
10956 defaultval=yes
10957 else
10958 defaultval=no
10959 fi
10960 fi
10961
10962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10963 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10964 # Check whether --enable-imaglist was given.
10965 if test "${enable_imaglist+set}" = set; then
10966 enableval=$enable_imaglist;
10967 if test "$enableval" = yes; then
10968 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10969 else
10970 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10971 fi
10972
10973 else
10974
10975 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10976
10977 fi
10978
10979
10980 eval "$wx_cv_use_imaglist"
10981
10982 if test x"$enablestring" = xdisable; then
10983 if test $wxUSE_IMAGLIST = no; then
10984 result=yes
10985 else
10986 result=no
10987 fi
10988 else
10989 result=$wxUSE_IMAGLIST
10990 fi
10991
10992 { echo "$as_me:$LINENO: result: $result" >&5
10993 echo "${ECHO_T}$result" >&6; }
10994
10995
10996 enablestring=
10997 defaultval=$wxUSE_ALL_FEATURES
10998 if test -z "$defaultval"; then
10999 if test x"$enablestring" = xdisable; then
11000 defaultval=yes
11001 else
11002 defaultval=no
11003 fi
11004 fi
11005
11006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11007 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11008 # Check whether --enable-infobar was given.
11009 if test "${enable_infobar+set}" = set; then
11010 enableval=$enable_infobar;
11011 if test "$enableval" = yes; then
11012 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11013 else
11014 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11015 fi
11016
11017 else
11018
11019 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11020
11021 fi
11022
11023
11024 eval "$wx_cv_use_infobar"
11025
11026 if test x"$enablestring" = xdisable; then
11027 if test $wxUSE_INFOBAR = no; then
11028 result=yes
11029 else
11030 result=no
11031 fi
11032 else
11033 result=$wxUSE_INFOBAR
11034 fi
11035
11036 { echo "$as_me:$LINENO: result: $result" >&5
11037 echo "${ECHO_T}$result" >&6; }
11038
11039
11040 enablestring=
11041 defaultval=$wxUSE_ALL_FEATURES
11042 if test -z "$defaultval"; then
11043 if test x"$enablestring" = xdisable; then
11044 defaultval=yes
11045 else
11046 defaultval=no
11047 fi
11048 fi
11049
11050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11051 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11052 # Check whether --enable-listbook was given.
11053 if test "${enable_listbook+set}" = set; then
11054 enableval=$enable_listbook;
11055 if test "$enableval" = yes; then
11056 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11057 else
11058 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11059 fi
11060
11061 else
11062
11063 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11064
11065 fi
11066
11067
11068 eval "$wx_cv_use_listbook"
11069
11070 if test x"$enablestring" = xdisable; then
11071 if test $wxUSE_LISTBOOK = no; then
11072 result=yes
11073 else
11074 result=no
11075 fi
11076 else
11077 result=$wxUSE_LISTBOOK
11078 fi
11079
11080 { echo "$as_me:$LINENO: result: $result" >&5
11081 echo "${ECHO_T}$result" >&6; }
11082
11083
11084 enablestring=
11085 defaultval=$wxUSE_ALL_FEATURES
11086 if test -z "$defaultval"; then
11087 if test x"$enablestring" = xdisable; then
11088 defaultval=yes
11089 else
11090 defaultval=no
11091 fi
11092 fi
11093
11094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11096 # Check whether --enable-listbox was given.
11097 if test "${enable_listbox+set}" = set; then
11098 enableval=$enable_listbox;
11099 if test "$enableval" = yes; then
11100 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11101 else
11102 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11103 fi
11104
11105 else
11106
11107 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11108
11109 fi
11110
11111
11112 eval "$wx_cv_use_listbox"
11113
11114 if test x"$enablestring" = xdisable; then
11115 if test $wxUSE_LISTBOX = no; then
11116 result=yes
11117 else
11118 result=no
11119 fi
11120 else
11121 result=$wxUSE_LISTBOX
11122 fi
11123
11124 { echo "$as_me:$LINENO: result: $result" >&5
11125 echo "${ECHO_T}$result" >&6; }
11126
11127
11128 enablestring=
11129 defaultval=$wxUSE_ALL_FEATURES
11130 if test -z "$defaultval"; then
11131 if test x"$enablestring" = xdisable; then
11132 defaultval=yes
11133 else
11134 defaultval=no
11135 fi
11136 fi
11137
11138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11139 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11140 # Check whether --enable-listctrl was given.
11141 if test "${enable_listctrl+set}" = set; then
11142 enableval=$enable_listctrl;
11143 if test "$enableval" = yes; then
11144 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11145 else
11146 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11147 fi
11148
11149 else
11150
11151 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11152
11153 fi
11154
11155
11156 eval "$wx_cv_use_listctrl"
11157
11158 if test x"$enablestring" = xdisable; then
11159 if test $wxUSE_LISTCTRL = no; then
11160 result=yes
11161 else
11162 result=no
11163 fi
11164 else
11165 result=$wxUSE_LISTCTRL
11166 fi
11167
11168 { echo "$as_me:$LINENO: result: $result" >&5
11169 echo "${ECHO_T}$result" >&6; }
11170
11171
11172 enablestring=
11173 defaultval=$wxUSE_ALL_FEATURES
11174 if test -z "$defaultval"; then
11175 if test x"$enablestring" = xdisable; then
11176 defaultval=yes
11177 else
11178 defaultval=no
11179 fi
11180 fi
11181
11182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11183 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11184 # Check whether --enable-notebook was given.
11185 if test "${enable_notebook+set}" = set; then
11186 enableval=$enable_notebook;
11187 if test "$enableval" = yes; then
11188 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11189 else
11190 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11191 fi
11192
11193 else
11194
11195 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11196
11197 fi
11198
11199
11200 eval "$wx_cv_use_notebook"
11201
11202 if test x"$enablestring" = xdisable; then
11203 if test $wxUSE_NOTEBOOK = no; then
11204 result=yes
11205 else
11206 result=no
11207 fi
11208 else
11209 result=$wxUSE_NOTEBOOK
11210 fi
11211
11212 { echo "$as_me:$LINENO: result: $result" >&5
11213 echo "${ECHO_T}$result" >&6; }
11214
11215
11216 enablestring=
11217 defaultval=$wxUSE_ALL_FEATURES
11218 if test -z "$defaultval"; then
11219 if test x"$enablestring" = xdisable; then
11220 defaultval=yes
11221 else
11222 defaultval=no
11223 fi
11224 fi
11225
11226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11227 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11228 # Check whether --enable-notifmsg was given.
11229 if test "${enable_notifmsg+set}" = set; then
11230 enableval=$enable_notifmsg;
11231 if test "$enableval" = yes; then
11232 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11233 else
11234 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11235 fi
11236
11237 else
11238
11239 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11240
11241 fi
11242
11243
11244 eval "$wx_cv_use_notifmsg"
11245
11246 if test x"$enablestring" = xdisable; then
11247 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11248 result=yes
11249 else
11250 result=no
11251 fi
11252 else
11253 result=$wxUSE_NOTIFICATION_MESSAGE
11254 fi
11255
11256 { echo "$as_me:$LINENO: result: $result" >&5
11257 echo "${ECHO_T}$result" >&6; }
11258
11259
11260 enablestring=
11261 defaultval=$wxUSE_ALL_FEATURES
11262 if test -z "$defaultval"; then
11263 if test x"$enablestring" = xdisable; then
11264 defaultval=yes
11265 else
11266 defaultval=no
11267 fi
11268 fi
11269
11270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11271 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11272 # Check whether --enable-odcombobox was given.
11273 if test "${enable_odcombobox+set}" = set; then
11274 enableval=$enable_odcombobox;
11275 if test "$enableval" = yes; then
11276 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11277 else
11278 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11279 fi
11280
11281 else
11282
11283 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11284
11285 fi
11286
11287
11288 eval "$wx_cv_use_odcombobox"
11289
11290 if test x"$enablestring" = xdisable; then
11291 if test $wxUSE_ODCOMBOBOX = no; then
11292 result=yes
11293 else
11294 result=no
11295 fi
11296 else
11297 result=$wxUSE_ODCOMBOBOX
11298 fi
11299
11300 { echo "$as_me:$LINENO: result: $result" >&5
11301 echo "${ECHO_T}$result" >&6; }
11302
11303
11304 enablestring=
11305 defaultval=$wxUSE_ALL_FEATURES
11306 if test -z "$defaultval"; then
11307 if test x"$enablestring" = xdisable; then
11308 defaultval=yes
11309 else
11310 defaultval=no
11311 fi
11312 fi
11313
11314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11315 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11316 # Check whether --enable-popupwin was given.
11317 if test "${enable_popupwin+set}" = set; then
11318 enableval=$enable_popupwin;
11319 if test "$enableval" = yes; then
11320 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11321 else
11322 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11323 fi
11324
11325 else
11326
11327 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11328
11329 fi
11330
11331
11332 eval "$wx_cv_use_popupwin"
11333
11334 if test x"$enablestring" = xdisable; then
11335 if test $wxUSE_POPUPWIN = no; then
11336 result=yes
11337 else
11338 result=no
11339 fi
11340 else
11341 result=$wxUSE_POPUPWIN
11342 fi
11343
11344 { echo "$as_me:$LINENO: result: $result" >&5
11345 echo "${ECHO_T}$result" >&6; }
11346
11347
11348 enablestring=
11349 defaultval=$wxUSE_ALL_FEATURES
11350 if test -z "$defaultval"; then
11351 if test x"$enablestring" = xdisable; then
11352 defaultval=yes
11353 else
11354 defaultval=no
11355 fi
11356 fi
11357
11358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11359 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11360 # Check whether --enable-radiobox was given.
11361 if test "${enable_radiobox+set}" = set; then
11362 enableval=$enable_radiobox;
11363 if test "$enableval" = yes; then
11364 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11365 else
11366 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11367 fi
11368
11369 else
11370
11371 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11372
11373 fi
11374
11375
11376 eval "$wx_cv_use_radiobox"
11377
11378 if test x"$enablestring" = xdisable; then
11379 if test $wxUSE_RADIOBOX = no; then
11380 result=yes
11381 else
11382 result=no
11383 fi
11384 else
11385 result=$wxUSE_RADIOBOX
11386 fi
11387
11388 { echo "$as_me:$LINENO: result: $result" >&5
11389 echo "${ECHO_T}$result" >&6; }
11390
11391
11392 enablestring=
11393 defaultval=$wxUSE_ALL_FEATURES
11394 if test -z "$defaultval"; then
11395 if test x"$enablestring" = xdisable; then
11396 defaultval=yes
11397 else
11398 defaultval=no
11399 fi
11400 fi
11401
11402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11403 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11404 # Check whether --enable-radiobtn was given.
11405 if test "${enable_radiobtn+set}" = set; then
11406 enableval=$enable_radiobtn;
11407 if test "$enableval" = yes; then
11408 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11409 else
11410 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11411 fi
11412
11413 else
11414
11415 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11416
11417 fi
11418
11419
11420 eval "$wx_cv_use_radiobtn"
11421
11422 if test x"$enablestring" = xdisable; then
11423 if test $wxUSE_RADIOBTN = no; then
11424 result=yes
11425 else
11426 result=no
11427 fi
11428 else
11429 result=$wxUSE_RADIOBTN
11430 fi
11431
11432 { echo "$as_me:$LINENO: result: $result" >&5
11433 echo "${ECHO_T}$result" >&6; }
11434
11435
11436 enablestring=
11437 defaultval=$wxUSE_ALL_FEATURES
11438 if test -z "$defaultval"; then
11439 if test x"$enablestring" = xdisable; then
11440 defaultval=yes
11441 else
11442 defaultval=no
11443 fi
11444 fi
11445
11446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11447 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11448 # Check whether --enable-rearrangectrl was given.
11449 if test "${enable_rearrangectrl+set}" = set; then
11450 enableval=$enable_rearrangectrl;
11451 if test "$enableval" = yes; then
11452 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11453 else
11454 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11455 fi
11456
11457 else
11458
11459 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11460
11461 fi
11462
11463
11464 eval "$wx_cv_use_rearrangectrl"
11465
11466 if test x"$enablestring" = xdisable; then
11467 if test $wxUSE_REARRANGECTRL = no; then
11468 result=yes
11469 else
11470 result=no
11471 fi
11472 else
11473 result=$wxUSE_REARRANGECTRL
11474 fi
11475
11476 { echo "$as_me:$LINENO: result: $result" >&5
11477 echo "${ECHO_T}$result" >&6; }
11478
11479
11480 enablestring=
11481 defaultval=$wxUSE_ALL_FEATURES
11482 if test -z "$defaultval"; then
11483 if test x"$enablestring" = xdisable; then
11484 defaultval=yes
11485 else
11486 defaultval=no
11487 fi
11488 fi
11489
11490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11491 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11492 # Check whether --enable-sash was given.
11493 if test "${enable_sash+set}" = set; then
11494 enableval=$enable_sash;
11495 if test "$enableval" = yes; then
11496 wx_cv_use_sash='wxUSE_SASH=yes'
11497 else
11498 wx_cv_use_sash='wxUSE_SASH=no'
11499 fi
11500
11501 else
11502
11503 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11504
11505 fi
11506
11507
11508 eval "$wx_cv_use_sash"
11509
11510 if test x"$enablestring" = xdisable; then
11511 if test $wxUSE_SASH = no; then
11512 result=yes
11513 else
11514 result=no
11515 fi
11516 else
11517 result=$wxUSE_SASH
11518 fi
11519
11520 { echo "$as_me:$LINENO: result: $result" >&5
11521 echo "${ECHO_T}$result" >&6; }
11522
11523
11524 enablestring=
11525 defaultval=$wxUSE_ALL_FEATURES
11526 if test -z "$defaultval"; then
11527 if test x"$enablestring" = xdisable; then
11528 defaultval=yes
11529 else
11530 defaultval=no
11531 fi
11532 fi
11533
11534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11535 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11536 # Check whether --enable-scrollbar was given.
11537 if test "${enable_scrollbar+set}" = set; then
11538 enableval=$enable_scrollbar;
11539 if test "$enableval" = yes; then
11540 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11541 else
11542 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11543 fi
11544
11545 else
11546
11547 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11548
11549 fi
11550
11551
11552 eval "$wx_cv_use_scrollbar"
11553
11554 if test x"$enablestring" = xdisable; then
11555 if test $wxUSE_SCROLLBAR = no; then
11556 result=yes
11557 else
11558 result=no
11559 fi
11560 else
11561 result=$wxUSE_SCROLLBAR
11562 fi
11563
11564 { echo "$as_me:$LINENO: result: $result" >&5
11565 echo "${ECHO_T}$result" >&6; }
11566
11567
11568 enablestring=
11569 defaultval=$wxUSE_ALL_FEATURES
11570 if test -z "$defaultval"; then
11571 if test x"$enablestring" = xdisable; then
11572 defaultval=yes
11573 else
11574 defaultval=no
11575 fi
11576 fi
11577
11578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11579 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11580 # Check whether --enable-searchctrl was given.
11581 if test "${enable_searchctrl+set}" = set; then
11582 enableval=$enable_searchctrl;
11583 if test "$enableval" = yes; then
11584 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11585 else
11586 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11587 fi
11588
11589 else
11590
11591 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11592
11593 fi
11594
11595
11596 eval "$wx_cv_use_searchctrl"
11597
11598 if test x"$enablestring" = xdisable; then
11599 if test $wxUSE_SEARCHCTRL = no; then
11600 result=yes
11601 else
11602 result=no
11603 fi
11604 else
11605 result=$wxUSE_SEARCHCTRL
11606 fi
11607
11608 { echo "$as_me:$LINENO: result: $result" >&5
11609 echo "${ECHO_T}$result" >&6; }
11610
11611
11612 enablestring=
11613 defaultval=$wxUSE_ALL_FEATURES
11614 if test -z "$defaultval"; then
11615 if test x"$enablestring" = xdisable; then
11616 defaultval=yes
11617 else
11618 defaultval=no
11619 fi
11620 fi
11621
11622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11623 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11624 # Check whether --enable-slider was given.
11625 if test "${enable_slider+set}" = set; then
11626 enableval=$enable_slider;
11627 if test "$enableval" = yes; then
11628 wx_cv_use_slider='wxUSE_SLIDER=yes'
11629 else
11630 wx_cv_use_slider='wxUSE_SLIDER=no'
11631 fi
11632
11633 else
11634
11635 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11636
11637 fi
11638
11639
11640 eval "$wx_cv_use_slider"
11641
11642 if test x"$enablestring" = xdisable; then
11643 if test $wxUSE_SLIDER = no; then
11644 result=yes
11645 else
11646 result=no
11647 fi
11648 else
11649 result=$wxUSE_SLIDER
11650 fi
11651
11652 { echo "$as_me:$LINENO: result: $result" >&5
11653 echo "${ECHO_T}$result" >&6; }
11654
11655
11656 enablestring=
11657 defaultval=$wxUSE_ALL_FEATURES
11658 if test -z "$defaultval"; then
11659 if test x"$enablestring" = xdisable; then
11660 defaultval=yes
11661 else
11662 defaultval=no
11663 fi
11664 fi
11665
11666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11667 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11668 # Check whether --enable-spinbtn was given.
11669 if test "${enable_spinbtn+set}" = set; then
11670 enableval=$enable_spinbtn;
11671 if test "$enableval" = yes; then
11672 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11673 else
11674 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11675 fi
11676
11677 else
11678
11679 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11680
11681 fi
11682
11683
11684 eval "$wx_cv_use_spinbtn"
11685
11686 if test x"$enablestring" = xdisable; then
11687 if test $wxUSE_SPINBTN = no; then
11688 result=yes
11689 else
11690 result=no
11691 fi
11692 else
11693 result=$wxUSE_SPINBTN
11694 fi
11695
11696 { echo "$as_me:$LINENO: result: $result" >&5
11697 echo "${ECHO_T}$result" >&6; }
11698
11699
11700 enablestring=
11701 defaultval=$wxUSE_ALL_FEATURES
11702 if test -z "$defaultval"; then
11703 if test x"$enablestring" = xdisable; then
11704 defaultval=yes
11705 else
11706 defaultval=no
11707 fi
11708 fi
11709
11710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11711 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11712 # Check whether --enable-spinctrl was given.
11713 if test "${enable_spinctrl+set}" = set; then
11714 enableval=$enable_spinctrl;
11715 if test "$enableval" = yes; then
11716 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11717 else
11718 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11719 fi
11720
11721 else
11722
11723 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11724
11725 fi
11726
11727
11728 eval "$wx_cv_use_spinctrl"
11729
11730 if test x"$enablestring" = xdisable; then
11731 if test $wxUSE_SPINCTRL = no; then
11732 result=yes
11733 else
11734 result=no
11735 fi
11736 else
11737 result=$wxUSE_SPINCTRL
11738 fi
11739
11740 { echo "$as_me:$LINENO: result: $result" >&5
11741 echo "${ECHO_T}$result" >&6; }
11742
11743
11744 enablestring=
11745 defaultval=$wxUSE_ALL_FEATURES
11746 if test -z "$defaultval"; then
11747 if test x"$enablestring" = xdisable; then
11748 defaultval=yes
11749 else
11750 defaultval=no
11751 fi
11752 fi
11753
11754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11755 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11756 # Check whether --enable-splitter was given.
11757 if test "${enable_splitter+set}" = set; then
11758 enableval=$enable_splitter;
11759 if test "$enableval" = yes; then
11760 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11761 else
11762 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11763 fi
11764
11765 else
11766
11767 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11768
11769 fi
11770
11771
11772 eval "$wx_cv_use_splitter"
11773
11774 if test x"$enablestring" = xdisable; then
11775 if test $wxUSE_SPLITTER = no; then
11776 result=yes
11777 else
11778 result=no
11779 fi
11780 else
11781 result=$wxUSE_SPLITTER
11782 fi
11783
11784 { echo "$as_me:$LINENO: result: $result" >&5
11785 echo "${ECHO_T}$result" >&6; }
11786
11787
11788 enablestring=
11789 defaultval=$wxUSE_ALL_FEATURES
11790 if test -z "$defaultval"; then
11791 if test x"$enablestring" = xdisable; then
11792 defaultval=yes
11793 else
11794 defaultval=no
11795 fi
11796 fi
11797
11798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11799 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11800 # Check whether --enable-statbmp was given.
11801 if test "${enable_statbmp+set}" = set; then
11802 enableval=$enable_statbmp;
11803 if test "$enableval" = yes; then
11804 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11805 else
11806 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11807 fi
11808
11809 else
11810
11811 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11812
11813 fi
11814
11815
11816 eval "$wx_cv_use_statbmp"
11817
11818 if test x"$enablestring" = xdisable; then
11819 if test $wxUSE_STATBMP = no; then
11820 result=yes
11821 else
11822 result=no
11823 fi
11824 else
11825 result=$wxUSE_STATBMP
11826 fi
11827
11828 { echo "$as_me:$LINENO: result: $result" >&5
11829 echo "${ECHO_T}$result" >&6; }
11830
11831
11832 enablestring=
11833 defaultval=$wxUSE_ALL_FEATURES
11834 if test -z "$defaultval"; then
11835 if test x"$enablestring" = xdisable; then
11836 defaultval=yes
11837 else
11838 defaultval=no
11839 fi
11840 fi
11841
11842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11843 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11844 # Check whether --enable-statbox was given.
11845 if test "${enable_statbox+set}" = set; then
11846 enableval=$enable_statbox;
11847 if test "$enableval" = yes; then
11848 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11849 else
11850 wx_cv_use_statbox='wxUSE_STATBOX=no'
11851 fi
11852
11853 else
11854
11855 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11856
11857 fi
11858
11859
11860 eval "$wx_cv_use_statbox"
11861
11862 if test x"$enablestring" = xdisable; then
11863 if test $wxUSE_STATBOX = no; then
11864 result=yes
11865 else
11866 result=no
11867 fi
11868 else
11869 result=$wxUSE_STATBOX
11870 fi
11871
11872 { echo "$as_me:$LINENO: result: $result" >&5
11873 echo "${ECHO_T}$result" >&6; }
11874
11875
11876 enablestring=
11877 defaultval=$wxUSE_ALL_FEATURES
11878 if test -z "$defaultval"; then
11879 if test x"$enablestring" = xdisable; then
11880 defaultval=yes
11881 else
11882 defaultval=no
11883 fi
11884 fi
11885
11886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11887 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11888 # Check whether --enable-statline was given.
11889 if test "${enable_statline+set}" = set; then
11890 enableval=$enable_statline;
11891 if test "$enableval" = yes; then
11892 wx_cv_use_statline='wxUSE_STATLINE=yes'
11893 else
11894 wx_cv_use_statline='wxUSE_STATLINE=no'
11895 fi
11896
11897 else
11898
11899 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11900
11901 fi
11902
11903
11904 eval "$wx_cv_use_statline"
11905
11906 if test x"$enablestring" = xdisable; then
11907 if test $wxUSE_STATLINE = no; then
11908 result=yes
11909 else
11910 result=no
11911 fi
11912 else
11913 result=$wxUSE_STATLINE
11914 fi
11915
11916 { echo "$as_me:$LINENO: result: $result" >&5
11917 echo "${ECHO_T}$result" >&6; }
11918
11919
11920 enablestring=
11921 defaultval=$wxUSE_ALL_FEATURES
11922 if test -z "$defaultval"; then
11923 if test x"$enablestring" = xdisable; then
11924 defaultval=yes
11925 else
11926 defaultval=no
11927 fi
11928 fi
11929
11930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11931 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11932 # Check whether --enable-stattext was given.
11933 if test "${enable_stattext+set}" = set; then
11934 enableval=$enable_stattext;
11935 if test "$enableval" = yes; then
11936 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11937 else
11938 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11939 fi
11940
11941 else
11942
11943 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11944
11945 fi
11946
11947
11948 eval "$wx_cv_use_stattext"
11949
11950 if test x"$enablestring" = xdisable; then
11951 if test $wxUSE_STATTEXT = no; then
11952 result=yes
11953 else
11954 result=no
11955 fi
11956 else
11957 result=$wxUSE_STATTEXT
11958 fi
11959
11960 { echo "$as_me:$LINENO: result: $result" >&5
11961 echo "${ECHO_T}$result" >&6; }
11962
11963
11964 enablestring=
11965 defaultval=$wxUSE_ALL_FEATURES
11966 if test -z "$defaultval"; then
11967 if test x"$enablestring" = xdisable; then
11968 defaultval=yes
11969 else
11970 defaultval=no
11971 fi
11972 fi
11973
11974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11975 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11976 # Check whether --enable-statusbar was given.
11977 if test "${enable_statusbar+set}" = set; then
11978 enableval=$enable_statusbar;
11979 if test "$enableval" = yes; then
11980 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11981 else
11982 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11983 fi
11984
11985 else
11986
11987 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11988
11989 fi
11990
11991
11992 eval "$wx_cv_use_statusbar"
11993
11994 if test x"$enablestring" = xdisable; then
11995 if test $wxUSE_STATUSBAR = no; then
11996 result=yes
11997 else
11998 result=no
11999 fi
12000 else
12001 result=$wxUSE_STATUSBAR
12002 fi
12003
12004 { echo "$as_me:$LINENO: result: $result" >&5
12005 echo "${ECHO_T}$result" >&6; }
12006
12007
12008 enablestring=
12009 defaultval=$wxUSE_ALL_FEATURES
12010 if test -z "$defaultval"; then
12011 if test x"$enablestring" = xdisable; then
12012 defaultval=yes
12013 else
12014 defaultval=no
12015 fi
12016 fi
12017
12018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12019 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12020 # Check whether --enable-taskbaricon was given.
12021 if test "${enable_taskbaricon+set}" = set; then
12022 enableval=$enable_taskbaricon;
12023 if test "$enableval" = yes; then
12024 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12025 else
12026 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12027 fi
12028
12029 else
12030
12031 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12032
12033 fi
12034
12035
12036 eval "$wx_cv_use_taskbaricon"
12037
12038 if test x"$enablestring" = xdisable; then
12039 if test $wxUSE_TASKBARICON = no; then
12040 result=yes
12041 else
12042 result=no
12043 fi
12044 else
12045 result=$wxUSE_TASKBARICON
12046 fi
12047
12048 { echo "$as_me:$LINENO: result: $result" >&5
12049 echo "${ECHO_T}$result" >&6; }
12050
12051
12052 enablestring=
12053 defaultval=$wxUSE_ALL_FEATURES
12054 if test -z "$defaultval"; then
12055 if test x"$enablestring" = xdisable; then
12056 defaultval=yes
12057 else
12058 defaultval=no
12059 fi
12060 fi
12061
12062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12063 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12064 # Check whether --enable-tbarnative was given.
12065 if test "${enable_tbarnative+set}" = set; then
12066 enableval=$enable_tbarnative;
12067 if test "$enableval" = yes; then
12068 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12069 else
12070 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12071 fi
12072
12073 else
12074
12075 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12076
12077 fi
12078
12079
12080 eval "$wx_cv_use_tbarnative"
12081
12082 if test x"$enablestring" = xdisable; then
12083 if test $wxUSE_TOOLBAR_NATIVE = no; then
12084 result=yes
12085 else
12086 result=no
12087 fi
12088 else
12089 result=$wxUSE_TOOLBAR_NATIVE
12090 fi
12091
12092 { echo "$as_me:$LINENO: result: $result" >&5
12093 echo "${ECHO_T}$result" >&6; }
12094
12095
12096 enablestring=
12097 defaultval=$wxUSE_ALL_FEATURES
12098 if test -z "$defaultval"; then
12099 if test x"$enablestring" = xdisable; then
12100 defaultval=yes
12101 else
12102 defaultval=no
12103 fi
12104 fi
12105
12106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12107 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12108 # Check whether --enable-textctrl was given.
12109 if test "${enable_textctrl+set}" = set; then
12110 enableval=$enable_textctrl;
12111 if test "$enableval" = yes; then
12112 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12113 else
12114 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12115 fi
12116
12117 else
12118
12119 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12120
12121 fi
12122
12123
12124 eval "$wx_cv_use_textctrl"
12125
12126 if test x"$enablestring" = xdisable; then
12127 if test $wxUSE_TEXTCTRL = no; then
12128 result=yes
12129 else
12130 result=no
12131 fi
12132 else
12133 result=$wxUSE_TEXTCTRL
12134 fi
12135
12136 { echo "$as_me:$LINENO: result: $result" >&5
12137 echo "${ECHO_T}$result" >&6; }
12138
12139
12140 enablestring=
12141 defaultval=$wxUSE_ALL_FEATURES
12142 if test -z "$defaultval"; then
12143 if test x"$enablestring" = xdisable; then
12144 defaultval=yes
12145 else
12146 defaultval=no
12147 fi
12148 fi
12149
12150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12151 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12152 # Check whether --enable-tipwindow was given.
12153 if test "${enable_tipwindow+set}" = set; then
12154 enableval=$enable_tipwindow;
12155 if test "$enableval" = yes; then
12156 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12157 else
12158 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12159 fi
12160
12161 else
12162
12163 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12164
12165 fi
12166
12167
12168 eval "$wx_cv_use_tipwindow"
12169
12170 if test x"$enablestring" = xdisable; then
12171 if test $wxUSE_TIPWINDOW = no; then
12172 result=yes
12173 else
12174 result=no
12175 fi
12176 else
12177 result=$wxUSE_TIPWINDOW
12178 fi
12179
12180 { echo "$as_me:$LINENO: result: $result" >&5
12181 echo "${ECHO_T}$result" >&6; }
12182
12183
12184 enablestring=
12185 defaultval=$wxUSE_ALL_FEATURES
12186 if test -z "$defaultval"; then
12187 if test x"$enablestring" = xdisable; then
12188 defaultval=yes
12189 else
12190 defaultval=no
12191 fi
12192 fi
12193
12194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12195 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12196 # Check whether --enable-togglebtn was given.
12197 if test "${enable_togglebtn+set}" = set; then
12198 enableval=$enable_togglebtn;
12199 if test "$enableval" = yes; then
12200 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12201 else
12202 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12203 fi
12204
12205 else
12206
12207 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12208
12209 fi
12210
12211
12212 eval "$wx_cv_use_togglebtn"
12213
12214 if test x"$enablestring" = xdisable; then
12215 if test $wxUSE_TOGGLEBTN = no; then
12216 result=yes
12217 else
12218 result=no
12219 fi
12220 else
12221 result=$wxUSE_TOGGLEBTN
12222 fi
12223
12224 { echo "$as_me:$LINENO: result: $result" >&5
12225 echo "${ECHO_T}$result" >&6; }
12226
12227
12228 enablestring=
12229 defaultval=$wxUSE_ALL_FEATURES
12230 if test -z "$defaultval"; then
12231 if test x"$enablestring" = xdisable; then
12232 defaultval=yes
12233 else
12234 defaultval=no
12235 fi
12236 fi
12237
12238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12239 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12240 # Check whether --enable-toolbar was given.
12241 if test "${enable_toolbar+set}" = set; then
12242 enableval=$enable_toolbar;
12243 if test "$enableval" = yes; then
12244 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12245 else
12246 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12247 fi
12248
12249 else
12250
12251 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12252
12253 fi
12254
12255
12256 eval "$wx_cv_use_toolbar"
12257
12258 if test x"$enablestring" = xdisable; then
12259 if test $wxUSE_TOOLBAR = no; then
12260 result=yes
12261 else
12262 result=no
12263 fi
12264 else
12265 result=$wxUSE_TOOLBAR
12266 fi
12267
12268 { echo "$as_me:$LINENO: result: $result" >&5
12269 echo "${ECHO_T}$result" >&6; }
12270
12271
12272 enablestring=
12273 defaultval=$wxUSE_ALL_FEATURES
12274 if test -z "$defaultval"; then
12275 if test x"$enablestring" = xdisable; then
12276 defaultval=yes
12277 else
12278 defaultval=no
12279 fi
12280 fi
12281
12282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12283 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12284 # Check whether --enable-toolbook was given.
12285 if test "${enable_toolbook+set}" = set; then
12286 enableval=$enable_toolbook;
12287 if test "$enableval" = yes; then
12288 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12289 else
12290 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12291 fi
12292
12293 else
12294
12295 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12296
12297 fi
12298
12299
12300 eval "$wx_cv_use_toolbook"
12301
12302 if test x"$enablestring" = xdisable; then
12303 if test $wxUSE_TOOLBOOK = no; then
12304 result=yes
12305 else
12306 result=no
12307 fi
12308 else
12309 result=$wxUSE_TOOLBOOK
12310 fi
12311
12312 { echo "$as_me:$LINENO: result: $result" >&5
12313 echo "${ECHO_T}$result" >&6; }
12314
12315
12316 enablestring=
12317 defaultval=$wxUSE_ALL_FEATURES
12318 if test -z "$defaultval"; then
12319 if test x"$enablestring" = xdisable; then
12320 defaultval=yes
12321 else
12322 defaultval=no
12323 fi
12324 fi
12325
12326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12327 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12328 # Check whether --enable-treebook was given.
12329 if test "${enable_treebook+set}" = set; then
12330 enableval=$enable_treebook;
12331 if test "$enableval" = yes; then
12332 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12333 else
12334 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12335 fi
12336
12337 else
12338
12339 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12340
12341 fi
12342
12343
12344 eval "$wx_cv_use_treebook"
12345
12346 if test x"$enablestring" = xdisable; then
12347 if test $wxUSE_TREEBOOK = no; then
12348 result=yes
12349 else
12350 result=no
12351 fi
12352 else
12353 result=$wxUSE_TREEBOOK
12354 fi
12355
12356 { echo "$as_me:$LINENO: result: $result" >&5
12357 echo "${ECHO_T}$result" >&6; }
12358
12359
12360 enablestring=
12361 defaultval=$wxUSE_ALL_FEATURES
12362 if test -z "$defaultval"; then
12363 if test x"$enablestring" = xdisable; then
12364 defaultval=yes
12365 else
12366 defaultval=no
12367 fi
12368 fi
12369
12370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12371 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12372 # Check whether --enable-treectrl was given.
12373 if test "${enable_treectrl+set}" = set; then
12374 enableval=$enable_treectrl;
12375 if test "$enableval" = yes; then
12376 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12377 else
12378 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12379 fi
12380
12381 else
12382
12383 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12384
12385 fi
12386
12387
12388 eval "$wx_cv_use_treectrl"
12389
12390 if test x"$enablestring" = xdisable; then
12391 if test $wxUSE_TREECTRL = no; then
12392 result=yes
12393 else
12394 result=no
12395 fi
12396 else
12397 result=$wxUSE_TREECTRL
12398 fi
12399
12400 { echo "$as_me:$LINENO: result: $result" >&5
12401 echo "${ECHO_T}$result" >&6; }
12402
12403
12404
12405
12406 enablestring=
12407 defaultval=$wxUSE_ALL_FEATURES
12408 if test -z "$defaultval"; then
12409 if test x"$enablestring" = xdisable; then
12410 defaultval=yes
12411 else
12412 defaultval=no
12413 fi
12414 fi
12415
12416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12417 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12418 # Check whether --enable-commondlg was given.
12419 if test "${enable_commondlg+set}" = set; then
12420 enableval=$enable_commondlg;
12421 if test "$enableval" = yes; then
12422 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12423 else
12424 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12425 fi
12426
12427 else
12428
12429 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12430
12431 fi
12432
12433
12434 eval "$wx_cv_use_commondlg"
12435
12436 if test x"$enablestring" = xdisable; then
12437 if test $wxUSE_COMMONDLGS = no; then
12438 result=yes
12439 else
12440 result=no
12441 fi
12442 else
12443 result=$wxUSE_COMMONDLGS
12444 fi
12445
12446 { echo "$as_me:$LINENO: result: $result" >&5
12447 echo "${ECHO_T}$result" >&6; }
12448
12449
12450 enablestring=
12451 defaultval=$wxUSE_ALL_FEATURES
12452 if test -z "$defaultval"; then
12453 if test x"$enablestring" = xdisable; then
12454 defaultval=yes
12455 else
12456 defaultval=no
12457 fi
12458 fi
12459
12460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12461 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12462 # Check whether --enable-aboutdlg was given.
12463 if test "${enable_aboutdlg+set}" = set; then
12464 enableval=$enable_aboutdlg;
12465 if test "$enableval" = yes; then
12466 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12467 else
12468 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12469 fi
12470
12471 else
12472
12473 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12474
12475 fi
12476
12477
12478 eval "$wx_cv_use_aboutdlg"
12479
12480 if test x"$enablestring" = xdisable; then
12481 if test $wxUSE_ABOUTDLG = no; then
12482 result=yes
12483 else
12484 result=no
12485 fi
12486 else
12487 result=$wxUSE_ABOUTDLG
12488 fi
12489
12490 { echo "$as_me:$LINENO: result: $result" >&5
12491 echo "${ECHO_T}$result" >&6; }
12492
12493
12494 enablestring=
12495 defaultval=$wxUSE_ALL_FEATURES
12496 if test -z "$defaultval"; then
12497 if test x"$enablestring" = xdisable; then
12498 defaultval=yes
12499 else
12500 defaultval=no
12501 fi
12502 fi
12503
12504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12505 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12506 # Check whether --enable-choicedlg was given.
12507 if test "${enable_choicedlg+set}" = set; then
12508 enableval=$enable_choicedlg;
12509 if test "$enableval" = yes; then
12510 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12511 else
12512 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12513 fi
12514
12515 else
12516
12517 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12518
12519 fi
12520
12521
12522 eval "$wx_cv_use_choicedlg"
12523
12524 if test x"$enablestring" = xdisable; then
12525 if test $wxUSE_CHOICEDLG = no; then
12526 result=yes
12527 else
12528 result=no
12529 fi
12530 else
12531 result=$wxUSE_CHOICEDLG
12532 fi
12533
12534 { echo "$as_me:$LINENO: result: $result" >&5
12535 echo "${ECHO_T}$result" >&6; }
12536
12537
12538 enablestring=
12539 defaultval=$wxUSE_ALL_FEATURES
12540 if test -z "$defaultval"; then
12541 if test x"$enablestring" = xdisable; then
12542 defaultval=yes
12543 else
12544 defaultval=no
12545 fi
12546 fi
12547
12548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12549 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12550 # Check whether --enable-coldlg was given.
12551 if test "${enable_coldlg+set}" = set; then
12552 enableval=$enable_coldlg;
12553 if test "$enableval" = yes; then
12554 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12555 else
12556 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12557 fi
12558
12559 else
12560
12561 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12562
12563 fi
12564
12565
12566 eval "$wx_cv_use_coldlg"
12567
12568 if test x"$enablestring" = xdisable; then
12569 if test $wxUSE_COLOURDLG = no; then
12570 result=yes
12571 else
12572 result=no
12573 fi
12574 else
12575 result=$wxUSE_COLOURDLG
12576 fi
12577
12578 { echo "$as_me:$LINENO: result: $result" >&5
12579 echo "${ECHO_T}$result" >&6; }
12580
12581
12582 enablestring=
12583 defaultval=$wxUSE_ALL_FEATURES
12584 if test -z "$defaultval"; then
12585 if test x"$enablestring" = xdisable; then
12586 defaultval=yes
12587 else
12588 defaultval=no
12589 fi
12590 fi
12591
12592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12593 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12594 # Check whether --enable-filedlg was given.
12595 if test "${enable_filedlg+set}" = set; then
12596 enableval=$enable_filedlg;
12597 if test "$enableval" = yes; then
12598 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12599 else
12600 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12601 fi
12602
12603 else
12604
12605 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12606
12607 fi
12608
12609
12610 eval "$wx_cv_use_filedlg"
12611
12612 if test x"$enablestring" = xdisable; then
12613 if test $wxUSE_FILEDLG = no; then
12614 result=yes
12615 else
12616 result=no
12617 fi
12618 else
12619 result=$wxUSE_FILEDLG
12620 fi
12621
12622 { echo "$as_me:$LINENO: result: $result" >&5
12623 echo "${ECHO_T}$result" >&6; }
12624
12625
12626 enablestring=
12627 defaultval=$wxUSE_ALL_FEATURES
12628 if test -z "$defaultval"; then
12629 if test x"$enablestring" = xdisable; then
12630 defaultval=yes
12631 else
12632 defaultval=no
12633 fi
12634 fi
12635
12636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12637 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12638 # Check whether --enable-finddlg was given.
12639 if test "${enable_finddlg+set}" = set; then
12640 enableval=$enable_finddlg;
12641 if test "$enableval" = yes; then
12642 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12643 else
12644 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12645 fi
12646
12647 else
12648
12649 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12650
12651 fi
12652
12653
12654 eval "$wx_cv_use_finddlg"
12655
12656 if test x"$enablestring" = xdisable; then
12657 if test $wxUSE_FINDREPLDLG = no; then
12658 result=yes
12659 else
12660 result=no
12661 fi
12662 else
12663 result=$wxUSE_FINDREPLDLG
12664 fi
12665
12666 { echo "$as_me:$LINENO: result: $result" >&5
12667 echo "${ECHO_T}$result" >&6; }
12668
12669
12670 enablestring=
12671 defaultval=$wxUSE_ALL_FEATURES
12672 if test -z "$defaultval"; then
12673 if test x"$enablestring" = xdisable; then
12674 defaultval=yes
12675 else
12676 defaultval=no
12677 fi
12678 fi
12679
12680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12681 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12682 # Check whether --enable-fontdlg was given.
12683 if test "${enable_fontdlg+set}" = set; then
12684 enableval=$enable_fontdlg;
12685 if test "$enableval" = yes; then
12686 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12687 else
12688 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12689 fi
12690
12691 else
12692
12693 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12694
12695 fi
12696
12697
12698 eval "$wx_cv_use_fontdlg"
12699
12700 if test x"$enablestring" = xdisable; then
12701 if test $wxUSE_FONTDLG = no; then
12702 result=yes
12703 else
12704 result=no
12705 fi
12706 else
12707 result=$wxUSE_FONTDLG
12708 fi
12709
12710 { echo "$as_me:$LINENO: result: $result" >&5
12711 echo "${ECHO_T}$result" >&6; }
12712
12713
12714 enablestring=
12715 defaultval=$wxUSE_ALL_FEATURES
12716 if test -z "$defaultval"; then
12717 if test x"$enablestring" = xdisable; then
12718 defaultval=yes
12719 else
12720 defaultval=no
12721 fi
12722 fi
12723
12724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12725 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12726 # Check whether --enable-dirdlg was given.
12727 if test "${enable_dirdlg+set}" = set; then
12728 enableval=$enable_dirdlg;
12729 if test "$enableval" = yes; then
12730 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12731 else
12732 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12733 fi
12734
12735 else
12736
12737 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12738
12739 fi
12740
12741
12742 eval "$wx_cv_use_dirdlg"
12743
12744 if test x"$enablestring" = xdisable; then
12745 if test $wxUSE_DIRDLG = no; then
12746 result=yes
12747 else
12748 result=no
12749 fi
12750 else
12751 result=$wxUSE_DIRDLG
12752 fi
12753
12754 { echo "$as_me:$LINENO: result: $result" >&5
12755 echo "${ECHO_T}$result" >&6; }
12756
12757
12758 enablestring=
12759 defaultval=$wxUSE_ALL_FEATURES
12760 if test -z "$defaultval"; then
12761 if test x"$enablestring" = xdisable; then
12762 defaultval=yes
12763 else
12764 defaultval=no
12765 fi
12766 fi
12767
12768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12769 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12770 # Check whether --enable-msgdlg was given.
12771 if test "${enable_msgdlg+set}" = set; then
12772 enableval=$enable_msgdlg;
12773 if test "$enableval" = yes; then
12774 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12775 else
12776 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12777 fi
12778
12779 else
12780
12781 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12782
12783 fi
12784
12785
12786 eval "$wx_cv_use_msgdlg"
12787
12788 if test x"$enablestring" = xdisable; then
12789 if test $wxUSE_MSGDLG = no; then
12790 result=yes
12791 else
12792 result=no
12793 fi
12794 else
12795 result=$wxUSE_MSGDLG
12796 fi
12797
12798 { echo "$as_me:$LINENO: result: $result" >&5
12799 echo "${ECHO_T}$result" >&6; }
12800
12801
12802 enablestring=
12803 defaultval=$wxUSE_ALL_FEATURES
12804 if test -z "$defaultval"; then
12805 if test x"$enablestring" = xdisable; then
12806 defaultval=yes
12807 else
12808 defaultval=no
12809 fi
12810 fi
12811
12812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12813 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12814 # Check whether --enable-numberdlg was given.
12815 if test "${enable_numberdlg+set}" = set; then
12816 enableval=$enable_numberdlg;
12817 if test "$enableval" = yes; then
12818 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12819 else
12820 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12821 fi
12822
12823 else
12824
12825 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12826
12827 fi
12828
12829
12830 eval "$wx_cv_use_numberdlg"
12831
12832 if test x"$enablestring" = xdisable; then
12833 if test $wxUSE_NUMBERDLG = no; then
12834 result=yes
12835 else
12836 result=no
12837 fi
12838 else
12839 result=$wxUSE_NUMBERDLG
12840 fi
12841
12842 { echo "$as_me:$LINENO: result: $result" >&5
12843 echo "${ECHO_T}$result" >&6; }
12844
12845
12846 enablestring=
12847 defaultval=$wxUSE_ALL_FEATURES
12848 if test -z "$defaultval"; then
12849 if test x"$enablestring" = xdisable; then
12850 defaultval=yes
12851 else
12852 defaultval=no
12853 fi
12854 fi
12855
12856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12857 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12858 # Check whether --enable-splash was given.
12859 if test "${enable_splash+set}" = set; then
12860 enableval=$enable_splash;
12861 if test "$enableval" = yes; then
12862 wx_cv_use_splash='wxUSE_SPLASH=yes'
12863 else
12864 wx_cv_use_splash='wxUSE_SPLASH=no'
12865 fi
12866
12867 else
12868
12869 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12870
12871 fi
12872
12873
12874 eval "$wx_cv_use_splash"
12875
12876 if test x"$enablestring" = xdisable; then
12877 if test $wxUSE_SPLASH = no; then
12878 result=yes
12879 else
12880 result=no
12881 fi
12882 else
12883 result=$wxUSE_SPLASH
12884 fi
12885
12886 { echo "$as_me:$LINENO: result: $result" >&5
12887 echo "${ECHO_T}$result" >&6; }
12888
12889
12890 enablestring=
12891 defaultval=$wxUSE_ALL_FEATURES
12892 if test -z "$defaultval"; then
12893 if test x"$enablestring" = xdisable; then
12894 defaultval=yes
12895 else
12896 defaultval=no
12897 fi
12898 fi
12899
12900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12901 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12902 # Check whether --enable-textdlg was given.
12903 if test "${enable_textdlg+set}" = set; then
12904 enableval=$enable_textdlg;
12905 if test "$enableval" = yes; then
12906 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12907 else
12908 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12909 fi
12910
12911 else
12912
12913 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12914
12915 fi
12916
12917
12918 eval "$wx_cv_use_textdlg"
12919
12920 if test x"$enablestring" = xdisable; then
12921 if test $wxUSE_TEXTDLG = no; then
12922 result=yes
12923 else
12924 result=no
12925 fi
12926 else
12927 result=$wxUSE_TEXTDLG
12928 fi
12929
12930 { echo "$as_me:$LINENO: result: $result" >&5
12931 echo "${ECHO_T}$result" >&6; }
12932
12933
12934 enablestring=
12935 defaultval=$wxUSE_ALL_FEATURES
12936 if test -z "$defaultval"; then
12937 if test x"$enablestring" = xdisable; then
12938 defaultval=yes
12939 else
12940 defaultval=no
12941 fi
12942 fi
12943
12944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12945 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12946 # Check whether --enable-tipdlg was given.
12947 if test "${enable_tipdlg+set}" = set; then
12948 enableval=$enable_tipdlg;
12949 if test "$enableval" = yes; then
12950 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12951 else
12952 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12953 fi
12954
12955 else
12956
12957 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12958
12959 fi
12960
12961
12962 eval "$wx_cv_use_tipdlg"
12963
12964 if test x"$enablestring" = xdisable; then
12965 if test $wxUSE_STARTUP_TIPS = no; then
12966 result=yes
12967 else
12968 result=no
12969 fi
12970 else
12971 result=$wxUSE_STARTUP_TIPS
12972 fi
12973
12974 { echo "$as_me:$LINENO: result: $result" >&5
12975 echo "${ECHO_T}$result" >&6; }
12976
12977
12978 enablestring=
12979 defaultval=$wxUSE_ALL_FEATURES
12980 if test -z "$defaultval"; then
12981 if test x"$enablestring" = xdisable; then
12982 defaultval=yes
12983 else
12984 defaultval=no
12985 fi
12986 fi
12987
12988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12989 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12990 # Check whether --enable-progressdlg was given.
12991 if test "${enable_progressdlg+set}" = set; then
12992 enableval=$enable_progressdlg;
12993 if test "$enableval" = yes; then
12994 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12995 else
12996 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12997 fi
12998
12999 else
13000
13001 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13002
13003 fi
13004
13005
13006 eval "$wx_cv_use_progressdlg"
13007
13008 if test x"$enablestring" = xdisable; then
13009 if test $wxUSE_PROGRESSDLG = no; then
13010 result=yes
13011 else
13012 result=no
13013 fi
13014 else
13015 result=$wxUSE_PROGRESSDLG
13016 fi
13017
13018 { echo "$as_me:$LINENO: result: $result" >&5
13019 echo "${ECHO_T}$result" >&6; }
13020
13021
13022 enablestring=
13023 defaultval=$wxUSE_ALL_FEATURES
13024 if test -z "$defaultval"; then
13025 if test x"$enablestring" = xdisable; then
13026 defaultval=yes
13027 else
13028 defaultval=no
13029 fi
13030 fi
13031
13032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13033 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13034 # Check whether --enable-wizarddlg was given.
13035 if test "${enable_wizarddlg+set}" = set; then
13036 enableval=$enable_wizarddlg;
13037 if test "$enableval" = yes; then
13038 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13039 else
13040 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13041 fi
13042
13043 else
13044
13045 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13046
13047 fi
13048
13049
13050 eval "$wx_cv_use_wizarddlg"
13051
13052 if test x"$enablestring" = xdisable; then
13053 if test $wxUSE_WIZARDDLG = no; then
13054 result=yes
13055 else
13056 result=no
13057 fi
13058 else
13059 result=$wxUSE_WIZARDDLG
13060 fi
13061
13062 { echo "$as_me:$LINENO: result: $result" >&5
13063 echo "${ECHO_T}$result" >&6; }
13064
13065
13066
13067
13068 enablestring=
13069 defaultval=$wxUSE_ALL_FEATURES
13070 if test -z "$defaultval"; then
13071 if test x"$enablestring" = xdisable; then
13072 defaultval=yes
13073 else
13074 defaultval=no
13075 fi
13076 fi
13077
13078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13079 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13080 # Check whether --enable-menus was given.
13081 if test "${enable_menus+set}" = set; then
13082 enableval=$enable_menus;
13083 if test "$enableval" = yes; then
13084 wx_cv_use_menus='wxUSE_MENUS=yes'
13085 else
13086 wx_cv_use_menus='wxUSE_MENUS=no'
13087 fi
13088
13089 else
13090
13091 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13092
13093 fi
13094
13095
13096 eval "$wx_cv_use_menus"
13097
13098 if test x"$enablestring" = xdisable; then
13099 if test $wxUSE_MENUS = no; then
13100 result=yes
13101 else
13102 result=no
13103 fi
13104 else
13105 result=$wxUSE_MENUS
13106 fi
13107
13108 { echo "$as_me:$LINENO: result: $result" >&5
13109 echo "${ECHO_T}$result" >&6; }
13110
13111
13112 enablestring=
13113 defaultval=$wxUSE_ALL_FEATURES
13114 if test -z "$defaultval"; then
13115 if test x"$enablestring" = xdisable; then
13116 defaultval=yes
13117 else
13118 defaultval=no
13119 fi
13120 fi
13121
13122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13123 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13124 # Check whether --enable-miniframe was given.
13125 if test "${enable_miniframe+set}" = set; then
13126 enableval=$enable_miniframe;
13127 if test "$enableval" = yes; then
13128 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13129 else
13130 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13131 fi
13132
13133 else
13134
13135 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13136
13137 fi
13138
13139
13140 eval "$wx_cv_use_miniframe"
13141
13142 if test x"$enablestring" = xdisable; then
13143 if test $wxUSE_MINIFRAME = no; then
13144 result=yes
13145 else
13146 result=no
13147 fi
13148 else
13149 result=$wxUSE_MINIFRAME
13150 fi
13151
13152 { echo "$as_me:$LINENO: result: $result" >&5
13153 echo "${ECHO_T}$result" >&6; }
13154
13155
13156 enablestring=
13157 defaultval=$wxUSE_ALL_FEATURES
13158 if test -z "$defaultval"; then
13159 if test x"$enablestring" = xdisable; then
13160 defaultval=yes
13161 else
13162 defaultval=no
13163 fi
13164 fi
13165
13166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13167 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13168 # Check whether --enable-tooltips was given.
13169 if test "${enable_tooltips+set}" = set; then
13170 enableval=$enable_tooltips;
13171 if test "$enableval" = yes; then
13172 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13173 else
13174 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13175 fi
13176
13177 else
13178
13179 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13180
13181 fi
13182
13183
13184 eval "$wx_cv_use_tooltips"
13185
13186 if test x"$enablestring" = xdisable; then
13187 if test $wxUSE_TOOLTIPS = no; then
13188 result=yes
13189 else
13190 result=no
13191 fi
13192 else
13193 result=$wxUSE_TOOLTIPS
13194 fi
13195
13196 { echo "$as_me:$LINENO: result: $result" >&5
13197 echo "${ECHO_T}$result" >&6; }
13198
13199
13200 enablestring=
13201 defaultval=$wxUSE_ALL_FEATURES
13202 if test -z "$defaultval"; then
13203 if test x"$enablestring" = xdisable; then
13204 defaultval=yes
13205 else
13206 defaultval=no
13207 fi
13208 fi
13209
13210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13211 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13212 # Check whether --enable-splines was given.
13213 if test "${enable_splines+set}" = set; then
13214 enableval=$enable_splines;
13215 if test "$enableval" = yes; then
13216 wx_cv_use_splines='wxUSE_SPLINES=yes'
13217 else
13218 wx_cv_use_splines='wxUSE_SPLINES=no'
13219 fi
13220
13221 else
13222
13223 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13224
13225 fi
13226
13227
13228 eval "$wx_cv_use_splines"
13229
13230 if test x"$enablestring" = xdisable; then
13231 if test $wxUSE_SPLINES = no; then
13232 result=yes
13233 else
13234 result=no
13235 fi
13236 else
13237 result=$wxUSE_SPLINES
13238 fi
13239
13240 { echo "$as_me:$LINENO: result: $result" >&5
13241 echo "${ECHO_T}$result" >&6; }
13242
13243
13244 enablestring=
13245 defaultval=$wxUSE_ALL_FEATURES
13246 if test -z "$defaultval"; then
13247 if test x"$enablestring" = xdisable; then
13248 defaultval=yes
13249 else
13250 defaultval=no
13251 fi
13252 fi
13253
13254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13255 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13256 # Check whether --enable-mousewheel was given.
13257 if test "${enable_mousewheel+set}" = set; then
13258 enableval=$enable_mousewheel;
13259 if test "$enableval" = yes; then
13260 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13261 else
13262 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13263 fi
13264
13265 else
13266
13267 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13268
13269 fi
13270
13271
13272 eval "$wx_cv_use_mousewheel"
13273
13274 if test x"$enablestring" = xdisable; then
13275 if test $wxUSE_MOUSEWHEEL = no; then
13276 result=yes
13277 else
13278 result=no
13279 fi
13280 else
13281 result=$wxUSE_MOUSEWHEEL
13282 fi
13283
13284 { echo "$as_me:$LINENO: result: $result" >&5
13285 echo "${ECHO_T}$result" >&6; }
13286
13287
13288 enablestring=
13289 defaultval=$wxUSE_ALL_FEATURES
13290 if test -z "$defaultval"; then
13291 if test x"$enablestring" = xdisable; then
13292 defaultval=yes
13293 else
13294 defaultval=no
13295 fi
13296 fi
13297
13298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13299 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13300 # Check whether --enable-validators was given.
13301 if test "${enable_validators+set}" = set; then
13302 enableval=$enable_validators;
13303 if test "$enableval" = yes; then
13304 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13305 else
13306 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13307 fi
13308
13309 else
13310
13311 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13312
13313 fi
13314
13315
13316 eval "$wx_cv_use_validators"
13317
13318 if test x"$enablestring" = xdisable; then
13319 if test $wxUSE_VALIDATORS = no; then
13320 result=yes
13321 else
13322 result=no
13323 fi
13324 else
13325 result=$wxUSE_VALIDATORS
13326 fi
13327
13328 { echo "$as_me:$LINENO: result: $result" >&5
13329 echo "${ECHO_T}$result" >&6; }
13330
13331
13332 enablestring=
13333 defaultval=$wxUSE_ALL_FEATURES
13334 if test -z "$defaultval"; then
13335 if test x"$enablestring" = xdisable; then
13336 defaultval=yes
13337 else
13338 defaultval=no
13339 fi
13340 fi
13341
13342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13343 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13344 # Check whether --enable-busyinfo was given.
13345 if test "${enable_busyinfo+set}" = set; then
13346 enableval=$enable_busyinfo;
13347 if test "$enableval" = yes; then
13348 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13349 else
13350 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13351 fi
13352
13353 else
13354
13355 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13356
13357 fi
13358
13359
13360 eval "$wx_cv_use_busyinfo"
13361
13362 if test x"$enablestring" = xdisable; then
13363 if test $wxUSE_BUSYINFO = no; then
13364 result=yes
13365 else
13366 result=no
13367 fi
13368 else
13369 result=$wxUSE_BUSYINFO
13370 fi
13371
13372 { echo "$as_me:$LINENO: result: $result" >&5
13373 echo "${ECHO_T}$result" >&6; }
13374
13375
13376 enablestring=
13377 defaultval=$wxUSE_ALL_FEATURES
13378 if test -z "$defaultval"; then
13379 if test x"$enablestring" = xdisable; then
13380 defaultval=yes
13381 else
13382 defaultval=no
13383 fi
13384 fi
13385
13386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13387 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13388 # Check whether --enable-joystick was given.
13389 if test "${enable_joystick+set}" = set; then
13390 enableval=$enable_joystick;
13391 if test "$enableval" = yes; then
13392 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13393 else
13394 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13395 fi
13396
13397 else
13398
13399 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13400
13401 fi
13402
13403
13404 eval "$wx_cv_use_joystick"
13405
13406 if test x"$enablestring" = xdisable; then
13407 if test $wxUSE_JOYSTICK = no; then
13408 result=yes
13409 else
13410 result=no
13411 fi
13412 else
13413 result=$wxUSE_JOYSTICK
13414 fi
13415
13416 { echo "$as_me:$LINENO: result: $result" >&5
13417 echo "${ECHO_T}$result" >&6; }
13418
13419
13420 enablestring=
13421 defaultval=$wxUSE_ALL_FEATURES
13422 if test -z "$defaultval"; then
13423 if test x"$enablestring" = xdisable; then
13424 defaultval=yes
13425 else
13426 defaultval=no
13427 fi
13428 fi
13429
13430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13431 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13432 # Check whether --enable-metafile was given.
13433 if test "${enable_metafile+set}" = set; then
13434 enableval=$enable_metafile;
13435 if test "$enableval" = yes; then
13436 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13437 else
13438 wx_cv_use_metafile='wxUSE_METAFILE=no'
13439 fi
13440
13441 else
13442
13443 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13444
13445 fi
13446
13447
13448 eval "$wx_cv_use_metafile"
13449
13450 if test x"$enablestring" = xdisable; then
13451 if test $wxUSE_METAFILE = no; then
13452 result=yes
13453 else
13454 result=no
13455 fi
13456 else
13457 result=$wxUSE_METAFILE
13458 fi
13459
13460 { echo "$as_me:$LINENO: result: $result" >&5
13461 echo "${ECHO_T}$result" >&6; }
13462
13463
13464 enablestring=
13465 defaultval=$wxUSE_ALL_FEATURES
13466 if test -z "$defaultval"; then
13467 if test x"$enablestring" = xdisable; then
13468 defaultval=yes
13469 else
13470 defaultval=no
13471 fi
13472 fi
13473
13474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13475 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13476 # Check whether --enable-dragimage was given.
13477 if test "${enable_dragimage+set}" = set; then
13478 enableval=$enable_dragimage;
13479 if test "$enableval" = yes; then
13480 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13481 else
13482 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13483 fi
13484
13485 else
13486
13487 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13488
13489 fi
13490
13491
13492 eval "$wx_cv_use_dragimage"
13493
13494 if test x"$enablestring" = xdisable; then
13495 if test $wxUSE_DRAGIMAGE = no; then
13496 result=yes
13497 else
13498 result=no
13499 fi
13500 else
13501 result=$wxUSE_DRAGIMAGE
13502 fi
13503
13504 { echo "$as_me:$LINENO: result: $result" >&5
13505 echo "${ECHO_T}$result" >&6; }
13506
13507
13508 enablestring=
13509 defaultval=$wxUSE_ALL_FEATURES
13510 if test -z "$defaultval"; then
13511 if test x"$enablestring" = xdisable; then
13512 defaultval=yes
13513 else
13514 defaultval=no
13515 fi
13516 fi
13517
13518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13519 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13520 # Check whether --enable-accessibility was given.
13521 if test "${enable_accessibility+set}" = set; then
13522 enableval=$enable_accessibility;
13523 if test "$enableval" = yes; then
13524 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13525 else
13526 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13527 fi
13528
13529 else
13530
13531 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13532
13533 fi
13534
13535
13536 eval "$wx_cv_use_accessibility"
13537
13538 if test x"$enablestring" = xdisable; then
13539 if test $wxUSE_ACCESSIBILITY = no; then
13540 result=yes
13541 else
13542 result=no
13543 fi
13544 else
13545 result=$wxUSE_ACCESSIBILITY
13546 fi
13547
13548 { echo "$as_me:$LINENO: result: $result" >&5
13549 echo "${ECHO_T}$result" >&6; }
13550
13551
13552
13553
13554 enablestring=
13555 defaultval=$wxUSE_ALL_FEATURES
13556 if test -z "$defaultval"; then
13557 if test x"$enablestring" = xdisable; then
13558 defaultval=yes
13559 else
13560 defaultval=no
13561 fi
13562 fi
13563
13564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13565 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13566 # Check whether --enable-palette was given.
13567 if test "${enable_palette+set}" = set; then
13568 enableval=$enable_palette;
13569 if test "$enableval" = yes; then
13570 wx_cv_use_palette='wxUSE_PALETTE=yes'
13571 else
13572 wx_cv_use_palette='wxUSE_PALETTE=no'
13573 fi
13574
13575 else
13576
13577 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13578
13579 fi
13580
13581
13582 eval "$wx_cv_use_palette"
13583
13584 if test x"$enablestring" = xdisable; then
13585 if test $wxUSE_PALETTE = no; then
13586 result=yes
13587 else
13588 result=no
13589 fi
13590 else
13591 result=$wxUSE_PALETTE
13592 fi
13593
13594 { echo "$as_me:$LINENO: result: $result" >&5
13595 echo "${ECHO_T}$result" >&6; }
13596
13597
13598 enablestring=
13599 defaultval=$wxUSE_ALL_FEATURES
13600 if test -z "$defaultval"; then
13601 if test x"$enablestring" = xdisable; then
13602 defaultval=yes
13603 else
13604 defaultval=no
13605 fi
13606 fi
13607
13608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13609 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13610 # Check whether --enable-image was given.
13611 if test "${enable_image+set}" = set; then
13612 enableval=$enable_image;
13613 if test "$enableval" = yes; then
13614 wx_cv_use_image='wxUSE_IMAGE=yes'
13615 else
13616 wx_cv_use_image='wxUSE_IMAGE=no'
13617 fi
13618
13619 else
13620
13621 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13622
13623 fi
13624
13625
13626 eval "$wx_cv_use_image"
13627
13628 if test x"$enablestring" = xdisable; then
13629 if test $wxUSE_IMAGE = no; then
13630 result=yes
13631 else
13632 result=no
13633 fi
13634 else
13635 result=$wxUSE_IMAGE
13636 fi
13637
13638 { echo "$as_me:$LINENO: result: $result" >&5
13639 echo "${ECHO_T}$result" >&6; }
13640
13641
13642 enablestring=
13643 defaultval=$wxUSE_ALL_FEATURES
13644 if test -z "$defaultval"; then
13645 if test x"$enablestring" = xdisable; then
13646 defaultval=yes
13647 else
13648 defaultval=no
13649 fi
13650 fi
13651
13652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13653 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13654 # Check whether --enable-gif was given.
13655 if test "${enable_gif+set}" = set; then
13656 enableval=$enable_gif;
13657 if test "$enableval" = yes; then
13658 wx_cv_use_gif='wxUSE_GIF=yes'
13659 else
13660 wx_cv_use_gif='wxUSE_GIF=no'
13661 fi
13662
13663 else
13664
13665 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13666
13667 fi
13668
13669
13670 eval "$wx_cv_use_gif"
13671
13672 if test x"$enablestring" = xdisable; then
13673 if test $wxUSE_GIF = no; then
13674 result=yes
13675 else
13676 result=no
13677 fi
13678 else
13679 result=$wxUSE_GIF
13680 fi
13681
13682 { echo "$as_me:$LINENO: result: $result" >&5
13683 echo "${ECHO_T}$result" >&6; }
13684
13685
13686 enablestring=
13687 defaultval=$wxUSE_ALL_FEATURES
13688 if test -z "$defaultval"; then
13689 if test x"$enablestring" = xdisable; then
13690 defaultval=yes
13691 else
13692 defaultval=no
13693 fi
13694 fi
13695
13696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13697 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13698 # Check whether --enable-pcx was given.
13699 if test "${enable_pcx+set}" = set; then
13700 enableval=$enable_pcx;
13701 if test "$enableval" = yes; then
13702 wx_cv_use_pcx='wxUSE_PCX=yes'
13703 else
13704 wx_cv_use_pcx='wxUSE_PCX=no'
13705 fi
13706
13707 else
13708
13709 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13710
13711 fi
13712
13713
13714 eval "$wx_cv_use_pcx"
13715
13716 if test x"$enablestring" = xdisable; then
13717 if test $wxUSE_PCX = no; then
13718 result=yes
13719 else
13720 result=no
13721 fi
13722 else
13723 result=$wxUSE_PCX
13724 fi
13725
13726 { echo "$as_me:$LINENO: result: $result" >&5
13727 echo "${ECHO_T}$result" >&6; }
13728
13729
13730 enablestring=
13731 defaultval=$wxUSE_ALL_FEATURES
13732 if test -z "$defaultval"; then
13733 if test x"$enablestring" = xdisable; then
13734 defaultval=yes
13735 else
13736 defaultval=no
13737 fi
13738 fi
13739
13740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13741 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13742 # Check whether --enable-tga was given.
13743 if test "${enable_tga+set}" = set; then
13744 enableval=$enable_tga;
13745 if test "$enableval" = yes; then
13746 wx_cv_use_tga='wxUSE_TGA=yes'
13747 else
13748 wx_cv_use_tga='wxUSE_TGA=no'
13749 fi
13750
13751 else
13752
13753 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13754
13755 fi
13756
13757
13758 eval "$wx_cv_use_tga"
13759
13760 if test x"$enablestring" = xdisable; then
13761 if test $wxUSE_TGA = no; then
13762 result=yes
13763 else
13764 result=no
13765 fi
13766 else
13767 result=$wxUSE_TGA
13768 fi
13769
13770 { echo "$as_me:$LINENO: result: $result" >&5
13771 echo "${ECHO_T}$result" >&6; }
13772
13773
13774 enablestring=
13775 defaultval=$wxUSE_ALL_FEATURES
13776 if test -z "$defaultval"; then
13777 if test x"$enablestring" = xdisable; then
13778 defaultval=yes
13779 else
13780 defaultval=no
13781 fi
13782 fi
13783
13784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13785 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13786 # Check whether --enable-iff was given.
13787 if test "${enable_iff+set}" = set; then
13788 enableval=$enable_iff;
13789 if test "$enableval" = yes; then
13790 wx_cv_use_iff='wxUSE_IFF=yes'
13791 else
13792 wx_cv_use_iff='wxUSE_IFF=no'
13793 fi
13794
13795 else
13796
13797 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13798
13799 fi
13800
13801
13802 eval "$wx_cv_use_iff"
13803
13804 if test x"$enablestring" = xdisable; then
13805 if test $wxUSE_IFF = no; then
13806 result=yes
13807 else
13808 result=no
13809 fi
13810 else
13811 result=$wxUSE_IFF
13812 fi
13813
13814 { echo "$as_me:$LINENO: result: $result" >&5
13815 echo "${ECHO_T}$result" >&6; }
13816
13817
13818 enablestring=
13819 defaultval=$wxUSE_ALL_FEATURES
13820 if test -z "$defaultval"; then
13821 if test x"$enablestring" = xdisable; then
13822 defaultval=yes
13823 else
13824 defaultval=no
13825 fi
13826 fi
13827
13828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13829 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13830 # Check whether --enable-pnm was given.
13831 if test "${enable_pnm+set}" = set; then
13832 enableval=$enable_pnm;
13833 if test "$enableval" = yes; then
13834 wx_cv_use_pnm='wxUSE_PNM=yes'
13835 else
13836 wx_cv_use_pnm='wxUSE_PNM=no'
13837 fi
13838
13839 else
13840
13841 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13842
13843 fi
13844
13845
13846 eval "$wx_cv_use_pnm"
13847
13848 if test x"$enablestring" = xdisable; then
13849 if test $wxUSE_PNM = no; then
13850 result=yes
13851 else
13852 result=no
13853 fi
13854 else
13855 result=$wxUSE_PNM
13856 fi
13857
13858 { echo "$as_me:$LINENO: result: $result" >&5
13859 echo "${ECHO_T}$result" >&6; }
13860
13861
13862 enablestring=
13863 defaultval=$wxUSE_ALL_FEATURES
13864 if test -z "$defaultval"; then
13865 if test x"$enablestring" = xdisable; then
13866 defaultval=yes
13867 else
13868 defaultval=no
13869 fi
13870 fi
13871
13872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13873 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13874 # Check whether --enable-xpm was given.
13875 if test "${enable_xpm+set}" = set; then
13876 enableval=$enable_xpm;
13877 if test "$enableval" = yes; then
13878 wx_cv_use_xpm='wxUSE_XPM=yes'
13879 else
13880 wx_cv_use_xpm='wxUSE_XPM=no'
13881 fi
13882
13883 else
13884
13885 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13886
13887 fi
13888
13889
13890 eval "$wx_cv_use_xpm"
13891
13892 if test x"$enablestring" = xdisable; then
13893 if test $wxUSE_XPM = no; then
13894 result=yes
13895 else
13896 result=no
13897 fi
13898 else
13899 result=$wxUSE_XPM
13900 fi
13901
13902 { echo "$as_me:$LINENO: result: $result" >&5
13903 echo "${ECHO_T}$result" >&6; }
13904
13905
13906 enablestring=
13907 defaultval=$wxUSE_ALL_FEATURES
13908 if test -z "$defaultval"; then
13909 if test x"$enablestring" = xdisable; then
13910 defaultval=yes
13911 else
13912 defaultval=no
13913 fi
13914 fi
13915
13916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13917 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13918 # Check whether --enable-ico_cur was given.
13919 if test "${enable_ico_cur+set}" = set; then
13920 enableval=$enable_ico_cur;
13921 if test "$enableval" = yes; then
13922 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13923 else
13924 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13925 fi
13926
13927 else
13928
13929 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13930
13931 fi
13932
13933
13934 eval "$wx_cv_use_ico_cur"
13935
13936 if test x"$enablestring" = xdisable; then
13937 if test $wxUSE_ICO_CUR = no; then
13938 result=yes
13939 else
13940 result=no
13941 fi
13942 else
13943 result=$wxUSE_ICO_CUR
13944 fi
13945
13946 { echo "$as_me:$LINENO: result: $result" >&5
13947 echo "${ECHO_T}$result" >&6; }
13948
13949
13950
13951
13952 enablestring=
13953 defaultval=$wxUSE_ALL_FEATURES
13954 if test -z "$defaultval"; then
13955 if test x"$enablestring" = xdisable; then
13956 defaultval=yes
13957 else
13958 defaultval=no
13959 fi
13960 fi
13961
13962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13963 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13964 # Check whether --enable-dccache was given.
13965 if test "${enable_dccache+set}" = set; then
13966 enableval=$enable_dccache;
13967 if test "$enableval" = yes; then
13968 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13969 else
13970 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13971 fi
13972
13973 else
13974
13975 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13976
13977 fi
13978
13979
13980 eval "$wx_cv_use_dccache"
13981
13982 if test x"$enablestring" = xdisable; then
13983 if test $wxUSE_DC_CACHEING = no; then
13984 result=yes
13985 else
13986 result=no
13987 fi
13988 else
13989 result=$wxUSE_DC_CACHEING
13990 fi
13991
13992 { echo "$as_me:$LINENO: result: $result" >&5
13993 echo "${ECHO_T}$result" >&6; }
13994
13995
13996 enablestring=
13997 defaultval=$wxUSE_ALL_FEATURES
13998 if test -z "$defaultval"; then
13999 if test x"$enablestring" = xdisable; then
14000 defaultval=yes
14001 else
14002 defaultval=no
14003 fi
14004 fi
14005
14006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14007 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14008 # Check whether --enable-ps-in-msw was given.
14009 if test "${enable_ps_in_msw+set}" = set; then
14010 enableval=$enable_ps_in_msw;
14011 if test "$enableval" = yes; then
14012 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14013 else
14014 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14015 fi
14016
14017 else
14018
14019 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14020
14021 fi
14022
14023
14024 eval "$wx_cv_use_ps_in_msw"
14025
14026 if test x"$enablestring" = xdisable; then
14027 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14028 result=yes
14029 else
14030 result=no
14031 fi
14032 else
14033 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14034 fi
14035
14036 { echo "$as_me:$LINENO: result: $result" >&5
14037 echo "${ECHO_T}$result" >&6; }
14038
14039
14040 enablestring=
14041 defaultval=$wxUSE_ALL_FEATURES
14042 if test -z "$defaultval"; then
14043 if test x"$enablestring" = xdisable; then
14044 defaultval=yes
14045 else
14046 defaultval=no
14047 fi
14048 fi
14049
14050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14051 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14052 # Check whether --enable-ownerdrawn was given.
14053 if test "${enable_ownerdrawn+set}" = set; then
14054 enableval=$enable_ownerdrawn;
14055 if test "$enableval" = yes; then
14056 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14057 else
14058 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14059 fi
14060
14061 else
14062
14063 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14064
14065 fi
14066
14067
14068 eval "$wx_cv_use_ownerdrawn"
14069
14070 if test x"$enablestring" = xdisable; then
14071 if test $wxUSE_OWNER_DRAWN = no; then
14072 result=yes
14073 else
14074 result=no
14075 fi
14076 else
14077 result=$wxUSE_OWNER_DRAWN
14078 fi
14079
14080 { echo "$as_me:$LINENO: result: $result" >&5
14081 echo "${ECHO_T}$result" >&6; }
14082
14083
14084 enablestring=
14085 defaultval=$wxUSE_ALL_FEATURES
14086 if test -z "$defaultval"; then
14087 if test x"$enablestring" = xdisable; then
14088 defaultval=yes
14089 else
14090 defaultval=no
14091 fi
14092 fi
14093
14094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14095 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14096 # Check whether --enable-uxtheme was given.
14097 if test "${enable_uxtheme+set}" = set; then
14098 enableval=$enable_uxtheme;
14099 if test "$enableval" = yes; then
14100 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14101 else
14102 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14103 fi
14104
14105 else
14106
14107 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14108
14109 fi
14110
14111
14112 eval "$wx_cv_use_uxtheme"
14113
14114 if test x"$enablestring" = xdisable; then
14115 if test $wxUSE_UXTHEME = no; then
14116 result=yes
14117 else
14118 result=no
14119 fi
14120 else
14121 result=$wxUSE_UXTHEME
14122 fi
14123
14124 { echo "$as_me:$LINENO: result: $result" >&5
14125 echo "${ECHO_T}$result" >&6; }
14126
14127
14128 enablestring=
14129 defaultval=$wxUSE_ALL_FEATURES
14130 if test -z "$defaultval"; then
14131 if test x"$enablestring" = xdisable; then
14132 defaultval=yes
14133 else
14134 defaultval=no
14135 fi
14136 fi
14137
14138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14139 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14140 # Check whether --enable-wxdib was given.
14141 if test "${enable_wxdib+set}" = set; then
14142 enableval=$enable_wxdib;
14143 if test "$enableval" = yes; then
14144 wx_cv_use_wxdib='wxUSE_DIB=yes'
14145 else
14146 wx_cv_use_wxdib='wxUSE_DIB=no'
14147 fi
14148
14149 else
14150
14151 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14152
14153 fi
14154
14155
14156 eval "$wx_cv_use_wxdib"
14157
14158 if test x"$enablestring" = xdisable; then
14159 if test $wxUSE_DIB = no; then
14160 result=yes
14161 else
14162 result=no
14163 fi
14164 else
14165 result=$wxUSE_DIB
14166 fi
14167
14168 { echo "$as_me:$LINENO: result: $result" >&5
14169 echo "${ECHO_T}$result" >&6; }
14170
14171
14172 if test "$wxUSE_MSW" != 1; then
14173 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14174 fi
14175
14176
14177 enablestring=
14178 defaultval=$wxUSE_ALL_FEATURES
14179 if test -z "$defaultval"; then
14180 if test x"$enablestring" = xdisable; then
14181 defaultval=yes
14182 else
14183 defaultval=no
14184 fi
14185 fi
14186
14187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14188 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14189 # Check whether --enable-autoidman was given.
14190 if test "${enable_autoidman+set}" = set; then
14191 enableval=$enable_autoidman;
14192 if test "$enableval" = yes; then
14193 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14194 else
14195 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14196 fi
14197
14198 else
14199
14200 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14201
14202 fi
14203
14204
14205 eval "$wx_cv_use_autoidman"
14206
14207 if test x"$enablestring" = xdisable; then
14208 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14209 result=yes
14210 else
14211 result=no
14212 fi
14213 else
14214 result=$wxUSE_AUTOID_MANAGEMENT
14215 fi
14216
14217 { echo "$as_me:$LINENO: result: $result" >&5
14218 echo "${ECHO_T}$result" >&6; }
14219
14220
14221 fi
14222
14223
14224 cat >confcache <<\_ACEOF
14225 # This file is a shell script that caches the results of configure
14226 # tests run on this system so they can be shared between configure
14227 # scripts and configure runs, see configure's option --config-cache.
14228 # It is not useful on other systems. If it contains results you don't
14229 # want to keep, you may remove or edit it.
14230 #
14231 # config.status only pays attention to the cache file if you give it
14232 # the --recheck option to rerun configure.
14233 #
14234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14236 # following values.
14237
14238 _ACEOF
14239
14240 # The following way of writing the cache mishandles newlines in values,
14241 # but we know of no workaround that is simple, portable, and efficient.
14242 # So, we kill variables containing newlines.
14243 # Ultrix sh set writes to stderr and can't be redirected directly,
14244 # and sets the high bit in the cache file unless we assign to the vars.
14245 (
14246 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14247 eval ac_val=\$$ac_var
14248 case $ac_val in #(
14249 *${as_nl}*)
14250 case $ac_var in #(
14251 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14252 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14253 esac
14254 case $ac_var in #(
14255 _ | IFS | as_nl) ;; #(
14256 *) $as_unset $ac_var ;;
14257 esac ;;
14258 esac
14259 done
14260
14261 (set) 2>&1 |
14262 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14263 *${as_nl}ac_space=\ *)
14264 # `set' does not quote correctly, so add quotes (double-quote
14265 # substitution turns \\\\ into \\, and sed turns \\ into \).
14266 sed -n \
14267 "s/'/'\\\\''/g;
14268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14269 ;; #(
14270 *)
14271 # `set' quotes correctly as required by POSIX, so do not add quotes.
14272 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14273 ;;
14274 esac |
14275 sort
14276 ) |
14277 sed '
14278 /^ac_cv_env_/b end
14279 t clear
14280 :clear
14281 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14282 t end
14283 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14284 :end' >>confcache
14285 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14286 if test -w "$cache_file"; then
14287 test "x$cache_file" != "x/dev/null" &&
14288 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14289 echo "$as_me: updating cache $cache_file" >&6;}
14290 cat confcache >$cache_file
14291 else
14292 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14293 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14294 fi
14295 fi
14296 rm -f confcache
14297
14298 CFLAGS=${CFLAGS:=}
14299
14300
14301
14302 ac_ext=c
14303 ac_cpp='$CPP $CPPFLAGS'
14304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14307 if test -n "$ac_tool_prefix"; then
14308 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14309 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14312 if test "${ac_cv_prog_CC+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 else
14315 if test -n "$CC"; then
14316 ac_cv_prog_CC="$CC" # Let the user override the test.
14317 else
14318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14319 for as_dir in $PATH
14320 do
14321 IFS=$as_save_IFS
14322 test -z "$as_dir" && as_dir=.
14323 for ac_exec_ext in '' $ac_executable_extensions; do
14324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14325 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14327 break 2
14328 fi
14329 done
14330 done
14331 IFS=$as_save_IFS
14332
14333 fi
14334 fi
14335 CC=$ac_cv_prog_CC
14336 if test -n "$CC"; then
14337 { echo "$as_me:$LINENO: result: $CC" >&5
14338 echo "${ECHO_T}$CC" >&6; }
14339 else
14340 { echo "$as_me:$LINENO: result: no" >&5
14341 echo "${ECHO_T}no" >&6; }
14342 fi
14343
14344
14345 fi
14346 if test -z "$ac_cv_prog_CC"; then
14347 ac_ct_CC=$CC
14348 # Extract the first word of "gcc", so it can be a program name with args.
14349 set dummy gcc; ac_word=$2
14350 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14352 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355 if test -n "$ac_ct_CC"; then
14356 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14357 else
14358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14359 for as_dir in $PATH
14360 do
14361 IFS=$as_save_IFS
14362 test -z "$as_dir" && as_dir=.
14363 for ac_exec_ext in '' $ac_executable_extensions; do
14364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14365 ac_cv_prog_ac_ct_CC="gcc"
14366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14367 break 2
14368 fi
14369 done
14370 done
14371 IFS=$as_save_IFS
14372
14373 fi
14374 fi
14375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14376 if test -n "$ac_ct_CC"; then
14377 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14378 echo "${ECHO_T}$ac_ct_CC" >&6; }
14379 else
14380 { echo "$as_me:$LINENO: result: no" >&5
14381 echo "${ECHO_T}no" >&6; }
14382 fi
14383
14384 if test "x$ac_ct_CC" = x; then
14385 CC=""
14386 else
14387 case $cross_compiling:$ac_tool_warned in
14388 yes:)
14389 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14390 whose name does not start with the host triplet. If you think this
14391 configuration is useful to you, please write to autoconf@gnu.org." >&5
14392 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14393 whose name does not start with the host triplet. If you think this
14394 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14395 ac_tool_warned=yes ;;
14396 esac
14397 CC=$ac_ct_CC
14398 fi
14399 else
14400 CC="$ac_cv_prog_CC"
14401 fi
14402
14403 if test -z "$CC"; then
14404 if test -n "$ac_tool_prefix"; then
14405 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14406 set dummy ${ac_tool_prefix}cc; ac_word=$2
14407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14409 if test "${ac_cv_prog_CC+set}" = set; then
14410 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 else
14412 if test -n "$CC"; then
14413 ac_cv_prog_CC="$CC" # Let the user override the test.
14414 else
14415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14416 for as_dir in $PATH
14417 do
14418 IFS=$as_save_IFS
14419 test -z "$as_dir" && as_dir=.
14420 for ac_exec_ext in '' $ac_executable_extensions; do
14421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14422 ac_cv_prog_CC="${ac_tool_prefix}cc"
14423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14424 break 2
14425 fi
14426 done
14427 done
14428 IFS=$as_save_IFS
14429
14430 fi
14431 fi
14432 CC=$ac_cv_prog_CC
14433 if test -n "$CC"; then
14434 { echo "$as_me:$LINENO: result: $CC" >&5
14435 echo "${ECHO_T}$CC" >&6; }
14436 else
14437 { echo "$as_me:$LINENO: result: no" >&5
14438 echo "${ECHO_T}no" >&6; }
14439 fi
14440
14441
14442 fi
14443 fi
14444 if test -z "$CC"; then
14445 # Extract the first word of "cc", so it can be a program name with args.
14446 set dummy cc; ac_word=$2
14447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14449 if test "${ac_cv_prog_CC+set}" = set; then
14450 echo $ECHO_N "(cached) $ECHO_C" >&6
14451 else
14452 if test -n "$CC"; then
14453 ac_cv_prog_CC="$CC" # Let the user override the test.
14454 else
14455 ac_prog_rejected=no
14456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14457 for as_dir in $PATH
14458 do
14459 IFS=$as_save_IFS
14460 test -z "$as_dir" && as_dir=.
14461 for ac_exec_ext in '' $ac_executable_extensions; do
14462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14463 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14464 ac_prog_rejected=yes
14465 continue
14466 fi
14467 ac_cv_prog_CC="cc"
14468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14469 break 2
14470 fi
14471 done
14472 done
14473 IFS=$as_save_IFS
14474
14475 if test $ac_prog_rejected = yes; then
14476 # We found a bogon in the path, so make sure we never use it.
14477 set dummy $ac_cv_prog_CC
14478 shift
14479 if test $# != 0; then
14480 # We chose a different compiler from the bogus one.
14481 # However, it has the same basename, so the bogon will be chosen
14482 # first if we set CC to just the basename; use the full file name.
14483 shift
14484 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14485 fi
14486 fi
14487 fi
14488 fi
14489 CC=$ac_cv_prog_CC
14490 if test -n "$CC"; then
14491 { echo "$as_me:$LINENO: result: $CC" >&5
14492 echo "${ECHO_T}$CC" >&6; }
14493 else
14494 { echo "$as_me:$LINENO: result: no" >&5
14495 echo "${ECHO_T}no" >&6; }
14496 fi
14497
14498
14499 fi
14500 if test -z "$CC"; then
14501 if test -n "$ac_tool_prefix"; then
14502 for ac_prog in cl.exe
14503 do
14504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14508 if test "${ac_cv_prog_CC+set}" = set; then
14509 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 else
14511 if test -n "$CC"; then
14512 ac_cv_prog_CC="$CC" # Let the user override the test.
14513 else
14514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14515 for as_dir in $PATH
14516 do
14517 IFS=$as_save_IFS
14518 test -z "$as_dir" && as_dir=.
14519 for ac_exec_ext in '' $ac_executable_extensions; do
14520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14521 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14523 break 2
14524 fi
14525 done
14526 done
14527 IFS=$as_save_IFS
14528
14529 fi
14530 fi
14531 CC=$ac_cv_prog_CC
14532 if test -n "$CC"; then
14533 { echo "$as_me:$LINENO: result: $CC" >&5
14534 echo "${ECHO_T}$CC" >&6; }
14535 else
14536 { echo "$as_me:$LINENO: result: no" >&5
14537 echo "${ECHO_T}no" >&6; }
14538 fi
14539
14540
14541 test -n "$CC" && break
14542 done
14543 fi
14544 if test -z "$CC"; then
14545 ac_ct_CC=$CC
14546 for ac_prog in cl.exe
14547 do
14548 # Extract the first word of "$ac_prog", so it can be a program name with args.
14549 set dummy $ac_prog; ac_word=$2
14550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14552 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14553 echo $ECHO_N "(cached) $ECHO_C" >&6
14554 else
14555 if test -n "$ac_ct_CC"; then
14556 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14557 else
14558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14559 for as_dir in $PATH
14560 do
14561 IFS=$as_save_IFS
14562 test -z "$as_dir" && as_dir=.
14563 for ac_exec_ext in '' $ac_executable_extensions; do
14564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14565 ac_cv_prog_ac_ct_CC="$ac_prog"
14566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14567 break 2
14568 fi
14569 done
14570 done
14571 IFS=$as_save_IFS
14572
14573 fi
14574 fi
14575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14576 if test -n "$ac_ct_CC"; then
14577 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14578 echo "${ECHO_T}$ac_ct_CC" >&6; }
14579 else
14580 { echo "$as_me:$LINENO: result: no" >&5
14581 echo "${ECHO_T}no" >&6; }
14582 fi
14583
14584
14585 test -n "$ac_ct_CC" && break
14586 done
14587
14588 if test "x$ac_ct_CC" = x; then
14589 CC=""
14590 else
14591 case $cross_compiling:$ac_tool_warned in
14592 yes:)
14593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14594 whose name does not start with the host triplet. If you think this
14595 configuration is useful to you, please write to autoconf@gnu.org." >&5
14596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14597 whose name does not start with the host triplet. If you think this
14598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14599 ac_tool_warned=yes ;;
14600 esac
14601 CC=$ac_ct_CC
14602 fi
14603 fi
14604
14605 fi
14606
14607
14608 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14609 See \`config.log' for more details." >&5
14610 echo "$as_me: error: no acceptable C compiler found in \$PATH
14611 See \`config.log' for more details." >&2;}
14612 { (exit 1); exit 1; }; }
14613
14614 # Provide some information about the compiler.
14615 echo "$as_me:$LINENO: checking for C compiler version" >&5
14616 ac_compiler=`set X $ac_compile; echo $2`
14617 { (ac_try="$ac_compiler --version >&5"
14618 case "(($ac_try" in
14619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14620 *) ac_try_echo=$ac_try;;
14621 esac
14622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14623 (eval "$ac_compiler --version >&5") 2>&5
14624 ac_status=$?
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); }
14627 { (ac_try="$ac_compiler -v >&5"
14628 case "(($ac_try" in
14629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14630 *) ac_try_echo=$ac_try;;
14631 esac
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compiler -v >&5") 2>&5
14634 ac_status=$?
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }
14637 { (ac_try="$ac_compiler -V >&5"
14638 case "(($ac_try" in
14639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14640 *) ac_try_echo=$ac_try;;
14641 esac
14642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14643 (eval "$ac_compiler -V >&5") 2>&5
14644 ac_status=$?
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }
14647
14648 cat >conftest.$ac_ext <<_ACEOF
14649 /* confdefs.h. */
14650 _ACEOF
14651 cat confdefs.h >>conftest.$ac_ext
14652 cat >>conftest.$ac_ext <<_ACEOF
14653 /* end confdefs.h. */
14654
14655 int
14656 main ()
14657 {
14658
14659 ;
14660 return 0;
14661 }
14662 _ACEOF
14663 ac_clean_files_save=$ac_clean_files
14664 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14665 # Try to create an executable without -o first, disregard a.out.
14666 # It will help us diagnose broken compilers, and finding out an intuition
14667 # of exeext.
14668 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14669 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14670 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14671 #
14672 # List of possible output files, starting from the most likely.
14673 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14674 # only as a last resort. b.out is created by i960 compilers.
14675 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14676 #
14677 # The IRIX 6 linker writes into existing files which may not be
14678 # executable, retaining their permissions. Remove them first so a
14679 # subsequent execution test works.
14680 ac_rmfiles=
14681 for ac_file in $ac_files
14682 do
14683 case $ac_file in
14684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14685 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14686 esac
14687 done
14688 rm -f $ac_rmfiles
14689
14690 if { (ac_try="$ac_link_default"
14691 case "(($ac_try" in
14692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14693 *) ac_try_echo=$ac_try;;
14694 esac
14695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14696 (eval "$ac_link_default") 2>&5
14697 ac_status=$?
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; then
14700 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14701 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14702 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14703 # so that the user can short-circuit this test for compilers unknown to
14704 # Autoconf.
14705 for ac_file in $ac_files ''
14706 do
14707 test -f "$ac_file" || continue
14708 case $ac_file in
14709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14710 ;;
14711 [ab].out )
14712 # We found the default executable, but exeext='' is most
14713 # certainly right.
14714 break;;
14715 *.* )
14716 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14717 then :; else
14718 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14719 fi
14720 # We set ac_cv_exeext here because the later test for it is not
14721 # safe: cross compilers may not add the suffix if given an `-o'
14722 # argument, so we may need to know it at that point already.
14723 # Even if this section looks crufty: it has the advantage of
14724 # actually working.
14725 break;;
14726 * )
14727 break;;
14728 esac
14729 done
14730 test "$ac_cv_exeext" = no && ac_cv_exeext=
14731
14732 else
14733 ac_file=''
14734 fi
14735
14736 { echo "$as_me:$LINENO: result: $ac_file" >&5
14737 echo "${ECHO_T}$ac_file" >&6; }
14738 if test -z "$ac_file"; then
14739 echo "$as_me: failed program was:" >&5
14740 sed 's/^/| /' conftest.$ac_ext >&5
14741
14742 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14743 See \`config.log' for more details." >&5
14744 echo "$as_me: error: C compiler cannot create executables
14745 See \`config.log' for more details." >&2;}
14746 { (exit 77); exit 77; }; }
14747 fi
14748
14749 ac_exeext=$ac_cv_exeext
14750
14751 # Check that the compiler produces executables we can run. If not, either
14752 # the compiler is broken, or we cross compile.
14753 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14754 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14755 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14756 # If not cross compiling, check that we can run a simple program.
14757 if test "$cross_compiling" != yes; then
14758 if { ac_try='./$ac_file'
14759 { (case "(($ac_try" in
14760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14761 *) ac_try_echo=$ac_try;;
14762 esac
14763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14764 (eval "$ac_try") 2>&5
14765 ac_status=$?
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; }; then
14768 cross_compiling=no
14769 else
14770 if test "$cross_compiling" = maybe; then
14771 cross_compiling=yes
14772 else
14773 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14774 If you meant to cross compile, use \`--host'.
14775 See \`config.log' for more details." >&5
14776 echo "$as_me: error: cannot run C compiled programs.
14777 If you meant to cross compile, use \`--host'.
14778 See \`config.log' for more details." >&2;}
14779 { (exit 1); exit 1; }; }
14780 fi
14781 fi
14782 fi
14783 { echo "$as_me:$LINENO: result: yes" >&5
14784 echo "${ECHO_T}yes" >&6; }
14785
14786 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14787 ac_clean_files=$ac_clean_files_save
14788 # Check that the compiler produces executables we can run. If not, either
14789 # the compiler is broken, or we cross compile.
14790 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14791 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14792 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14793 echo "${ECHO_T}$cross_compiling" >&6; }
14794
14795 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14796 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14797 if { (ac_try="$ac_link"
14798 case "(($ac_try" in
14799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14801 esac
14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_link") 2>&5
14804 ac_status=$?
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; then
14807 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14808 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14809 # work properly (i.e., refer to `conftest.exe'), while it won't with
14810 # `rm'.
14811 for ac_file in conftest.exe conftest conftest.*; do
14812 test -f "$ac_file" || continue
14813 case $ac_file in
14814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14815 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14816 break;;
14817 * ) break;;
14818 esac
14819 done
14820 else
14821 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14822 See \`config.log' for more details." >&5
14823 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14824 See \`config.log' for more details." >&2;}
14825 { (exit 1); exit 1; }; }
14826 fi
14827
14828 rm -f conftest$ac_cv_exeext
14829 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14830 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14831
14832 rm -f conftest.$ac_ext
14833 EXEEXT=$ac_cv_exeext
14834 ac_exeext=$EXEEXT
14835 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14836 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14837 if test "${ac_cv_objext+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 else
14840 cat >conftest.$ac_ext <<_ACEOF
14841 /* confdefs.h. */
14842 _ACEOF
14843 cat confdefs.h >>conftest.$ac_ext
14844 cat >>conftest.$ac_ext <<_ACEOF
14845 /* end confdefs.h. */
14846
14847 int
14848 main ()
14849 {
14850
14851 ;
14852 return 0;
14853 }
14854 _ACEOF
14855 rm -f conftest.o conftest.obj
14856 if { (ac_try="$ac_compile"
14857 case "(($ac_try" in
14858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14859 *) ac_try_echo=$ac_try;;
14860 esac
14861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_compile") 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; then
14866 for ac_file in conftest.o conftest.obj conftest.*; do
14867 test -f "$ac_file" || continue;
14868 case $ac_file in
14869 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14870 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14871 break;;
14872 esac
14873 done
14874 else
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.$ac_ext >&5
14877
14878 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14879 See \`config.log' for more details." >&5
14880 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14881 See \`config.log' for more details." >&2;}
14882 { (exit 1); exit 1; }; }
14883 fi
14884
14885 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14886 fi
14887 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14888 echo "${ECHO_T}$ac_cv_objext" >&6; }
14889 OBJEXT=$ac_cv_objext
14890 ac_objext=$OBJEXT
14891 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14892 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14893 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14894 echo $ECHO_N "(cached) $ECHO_C" >&6
14895 else
14896 cat >conftest.$ac_ext <<_ACEOF
14897 /* confdefs.h. */
14898 _ACEOF
14899 cat confdefs.h >>conftest.$ac_ext
14900 cat >>conftest.$ac_ext <<_ACEOF
14901 /* end confdefs.h. */
14902
14903 int
14904 main ()
14905 {
14906 #ifndef __GNUC__
14907 choke me
14908 #endif
14909
14910 ;
14911 return 0;
14912 }
14913 _ACEOF
14914 rm -f conftest.$ac_objext
14915 if { (ac_try="$ac_compile"
14916 case "(($ac_try" in
14917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14918 *) ac_try_echo=$ac_try;;
14919 esac
14920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14921 (eval "$ac_compile") 2>conftest.er1
14922 ac_status=$?
14923 grep -v '^ *+' conftest.er1 >conftest.err
14924 rm -f conftest.er1
14925 cat conftest.err >&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } && {
14928 test -z "$ac_c_werror_flag" ||
14929 test ! -s conftest.err
14930 } && test -s conftest.$ac_objext; then
14931 ac_compiler_gnu=yes
14932 else
14933 echo "$as_me: failed program was:" >&5
14934 sed 's/^/| /' conftest.$ac_ext >&5
14935
14936 ac_compiler_gnu=no
14937 fi
14938
14939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14940 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14941
14942 fi
14943 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14944 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14945 GCC=`test $ac_compiler_gnu = yes && echo yes`
14946 ac_test_CFLAGS=${CFLAGS+set}
14947 ac_save_CFLAGS=$CFLAGS
14948 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14949 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14950 if test "${ac_cv_prog_cc_g+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 else
14953 ac_save_c_werror_flag=$ac_c_werror_flag
14954 ac_c_werror_flag=yes
14955 ac_cv_prog_cc_g=no
14956 CFLAGS="-g"
14957 cat >conftest.$ac_ext <<_ACEOF
14958 /* confdefs.h. */
14959 _ACEOF
14960 cat confdefs.h >>conftest.$ac_ext
14961 cat >>conftest.$ac_ext <<_ACEOF
14962 /* end confdefs.h. */
14963
14964 int
14965 main ()
14966 {
14967
14968 ;
14969 return 0;
14970 }
14971 _ACEOF
14972 rm -f conftest.$ac_objext
14973 if { (ac_try="$ac_compile"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14977 esac
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_compile") 2>conftest.er1
14980 ac_status=$?
14981 grep -v '^ *+' conftest.er1 >conftest.err
14982 rm -f conftest.er1
14983 cat conftest.err >&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest.$ac_objext; then
14989 ac_cv_prog_cc_g=yes
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14993
14994 CFLAGS=""
14995 cat >conftest.$ac_ext <<_ACEOF
14996 /* confdefs.h. */
14997 _ACEOF
14998 cat confdefs.h >>conftest.$ac_ext
14999 cat >>conftest.$ac_ext <<_ACEOF
15000 /* end confdefs.h. */
15001
15002 int
15003 main ()
15004 {
15005
15006 ;
15007 return 0;
15008 }
15009 _ACEOF
15010 rm -f conftest.$ac_objext
15011 if { (ac_try="$ac_compile"
15012 case "(($ac_try" in
15013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15014 *) ac_try_echo=$ac_try;;
15015 esac
15016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15017 (eval "$ac_compile") 2>conftest.er1
15018 ac_status=$?
15019 grep -v '^ *+' conftest.er1 >conftest.err
15020 rm -f conftest.er1
15021 cat conftest.err >&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); } && {
15024 test -z "$ac_c_werror_flag" ||
15025 test ! -s conftest.err
15026 } && test -s conftest.$ac_objext; then
15027 :
15028 else
15029 echo "$as_me: failed program was:" >&5
15030 sed 's/^/| /' conftest.$ac_ext >&5
15031
15032 ac_c_werror_flag=$ac_save_c_werror_flag
15033 CFLAGS="-g"
15034 cat >conftest.$ac_ext <<_ACEOF
15035 /* confdefs.h. */
15036 _ACEOF
15037 cat confdefs.h >>conftest.$ac_ext
15038 cat >>conftest.$ac_ext <<_ACEOF
15039 /* end confdefs.h. */
15040
15041 int
15042 main ()
15043 {
15044
15045 ;
15046 return 0;
15047 }
15048 _ACEOF
15049 rm -f conftest.$ac_objext
15050 if { (ac_try="$ac_compile"
15051 case "(($ac_try" in
15052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15053 *) ac_try_echo=$ac_try;;
15054 esac
15055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15056 (eval "$ac_compile") 2>conftest.er1
15057 ac_status=$?
15058 grep -v '^ *+' conftest.er1 >conftest.err
15059 rm -f conftest.er1
15060 cat conftest.err >&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } && {
15063 test -z "$ac_c_werror_flag" ||
15064 test ! -s conftest.err
15065 } && test -s conftest.$ac_objext; then
15066 ac_cv_prog_cc_g=yes
15067 else
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15070
15071
15072 fi
15073
15074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15075 fi
15076
15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15078 fi
15079
15080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15081 ac_c_werror_flag=$ac_save_c_werror_flag
15082 fi
15083 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15084 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15085 if test "$ac_test_CFLAGS" = set; then
15086 CFLAGS=$ac_save_CFLAGS
15087 elif test $ac_cv_prog_cc_g = yes; then
15088 if test "$GCC" = yes; then
15089 CFLAGS="-g -O2"
15090 else
15091 CFLAGS="-g"
15092 fi
15093 else
15094 if test "$GCC" = yes; then
15095 CFLAGS="-O2"
15096 else
15097 CFLAGS=
15098 fi
15099 fi
15100 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15101 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15102 if test "${ac_cv_prog_cc_c89+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 else
15105 ac_cv_prog_cc_c89=no
15106 ac_save_CC=$CC
15107 cat >conftest.$ac_ext <<_ACEOF
15108 /* confdefs.h. */
15109 _ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15113 #include <stdarg.h>
15114 #include <stdio.h>
15115 #include <sys/types.h>
15116 #include <sys/stat.h>
15117 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15118 struct buf { int x; };
15119 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15120 static char *e (p, i)
15121 char **p;
15122 int i;
15123 {
15124 return p[i];
15125 }
15126 static char *f (char * (*g) (char **, int), char **p, ...)
15127 {
15128 char *s;
15129 va_list v;
15130 va_start (v,p);
15131 s = g (p, va_arg (v,int));
15132 va_end (v);
15133 return s;
15134 }
15135
15136 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15137 function prototypes and stuff, but not '\xHH' hex character constants.
15138 These don't provoke an error unfortunately, instead are silently treated
15139 as 'x'. The following induces an error, until -std is added to get
15140 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15141 array size at least. It's necessary to write '\x00'==0 to get something
15142 that's true only with -std. */
15143 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15144
15145 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15146 inside strings and character constants. */
15147 #define FOO(x) 'x'
15148 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15149
15150 int test (int i, double x);
15151 struct s1 {int (*f) (int a);};
15152 struct s2 {int (*f) (double a);};
15153 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15154 int argc;
15155 char **argv;
15156 int
15157 main ()
15158 {
15159 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15160 ;
15161 return 0;
15162 }
15163 _ACEOF
15164 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15165 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15166 do
15167 CC="$ac_save_CC $ac_arg"
15168 rm -f conftest.$ac_objext
15169 if { (ac_try="$ac_compile"
15170 case "(($ac_try" in
15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15172 *) ac_try_echo=$ac_try;;
15173 esac
15174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15175 (eval "$ac_compile") 2>conftest.er1
15176 ac_status=$?
15177 grep -v '^ *+' conftest.er1 >conftest.err
15178 rm -f conftest.er1
15179 cat conftest.err >&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } && {
15182 test -z "$ac_c_werror_flag" ||
15183 test ! -s conftest.err
15184 } && test -s conftest.$ac_objext; then
15185 ac_cv_prog_cc_c89=$ac_arg
15186 else
15187 echo "$as_me: failed program was:" >&5
15188 sed 's/^/| /' conftest.$ac_ext >&5
15189
15190
15191 fi
15192
15193 rm -f core conftest.err conftest.$ac_objext
15194 test "x$ac_cv_prog_cc_c89" != "xno" && break
15195 done
15196 rm -f conftest.$ac_ext
15197 CC=$ac_save_CC
15198
15199 fi
15200 # AC_CACHE_VAL
15201 case "x$ac_cv_prog_cc_c89" in
15202 x)
15203 { echo "$as_me:$LINENO: result: none needed" >&5
15204 echo "${ECHO_T}none needed" >&6; } ;;
15205 xno)
15206 { echo "$as_me:$LINENO: result: unsupported" >&5
15207 echo "${ECHO_T}unsupported" >&6; } ;;
15208 *)
15209 CC="$CC $ac_cv_prog_cc_c89"
15210 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15211 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15212 esac
15213
15214
15215 ac_ext=c
15216 ac_cpp='$CPP $CPPFLAGS'
15217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15220
15221
15222
15223
15224 ac_ext=c
15225 ac_cpp='$CPP $CPPFLAGS'
15226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15229
15230 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15231 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15232 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15233 echo $ECHO_N "(cached) $ECHO_C" >&6
15234 else
15235 cat >conftest.$ac_ext <<_ACEOF
15236 /* confdefs.h. */
15237 _ACEOF
15238 cat confdefs.h >>conftest.$ac_ext
15239 cat >>conftest.$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15241
15242 int
15243 main ()
15244 {
15245
15246 #ifndef __INTEL_COMPILER
15247 choke me
15248 #endif
15249
15250 ;
15251 return 0;
15252 }
15253 _ACEOF
15254 rm -f conftest.$ac_objext
15255 if { (ac_try="$ac_compile"
15256 case "(($ac_try" in
15257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15259 esac
15260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15261 (eval "$ac_compile") 2>conftest.er1
15262 ac_status=$?
15263 grep -v '^ *+' conftest.er1 >conftest.err
15264 rm -f conftest.er1
15265 cat conftest.err >&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); } && {
15268 test -z "$ac_c_werror_flag" ||
15269 test ! -s conftest.err
15270 } && test -s conftest.$ac_objext; then
15271 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15272 else
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.$ac_ext >&5
15275
15276 bakefile_cv_c_compiler___INTEL_COMPILER=no
15277
15278 fi
15279
15280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15281
15282
15283 fi
15284 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15285 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15286 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15287 :; INTELCC=yes
15288 else
15289 :;
15290 fi
15291 ac_ext=c
15292 ac_cpp='$CPP $CPPFLAGS'
15293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15296
15297
15298
15299
15300 if test "$INTELCC" = "yes"; then
15301
15302
15303 ac_ext=c
15304 ac_cpp='$CPP $CPPFLAGS'
15305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15308
15309 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15310 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15311 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 else
15314 cat >conftest.$ac_ext <<_ACEOF
15315 /* confdefs.h. */
15316 _ACEOF
15317 cat confdefs.h >>conftest.$ac_ext
15318 cat >>conftest.$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15320
15321 int
15322 main ()
15323 {
15324
15325 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15326 choke me
15327 #endif
15328
15329 ;
15330 return 0;
15331 }
15332 _ACEOF
15333 rm -f conftest.$ac_objext
15334 if { (ac_try="$ac_compile"
15335 case "(($ac_try" in
15336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15337 *) ac_try_echo=$ac_try;;
15338 esac
15339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15340 (eval "$ac_compile") 2>conftest.er1
15341 ac_status=$?
15342 grep -v '^ *+' conftest.er1 >conftest.err
15343 rm -f conftest.er1
15344 cat conftest.err >&5
15345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15346 (exit $ac_status); } && {
15347 test -z "$ac_c_werror_flag" ||
15348 test ! -s conftest.err
15349 } && test -s conftest.$ac_objext; then
15350 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15351 else
15352 echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.$ac_ext >&5
15354
15355 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15356
15357 fi
15358
15359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15360
15361
15362 fi
15363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15364 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15365 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15366 :; INTELCC8=yes
15367 else
15368 :;
15369 fi
15370 ac_ext=c
15371 ac_cpp='$CPP $CPPFLAGS'
15372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15375
15376
15377
15378
15379
15380 ac_ext=c
15381 ac_cpp='$CPP $CPPFLAGS'
15382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15385
15386 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15387 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15388 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15389 echo $ECHO_N "(cached) $ECHO_C" >&6
15390 else
15391 cat >conftest.$ac_ext <<_ACEOF
15392 /* confdefs.h. */
15393 _ACEOF
15394 cat confdefs.h >>conftest.$ac_ext
15395 cat >>conftest.$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15397
15398 int
15399 main ()
15400 {
15401
15402 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15403 choke me
15404 #endif
15405
15406 ;
15407 return 0;
15408 }
15409 _ACEOF
15410 rm -f conftest.$ac_objext
15411 if { (ac_try="$ac_compile"
15412 case "(($ac_try" in
15413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15414 *) ac_try_echo=$ac_try;;
15415 esac
15416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15417 (eval "$ac_compile") 2>conftest.er1
15418 ac_status=$?
15419 grep -v '^ *+' conftest.er1 >conftest.err
15420 rm -f conftest.er1
15421 cat conftest.err >&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } && {
15424 test -z "$ac_c_werror_flag" ||
15425 test ! -s conftest.err
15426 } && test -s conftest.$ac_objext; then
15427 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15428 else
15429 echo "$as_me: failed program was:" >&5
15430 sed 's/^/| /' conftest.$ac_ext >&5
15431
15432 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15433
15434 fi
15435
15436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15437
15438
15439 fi
15440 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15441 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15442 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15443 :; INTELCC10=yes
15444 else
15445 :;
15446 fi
15447 ac_ext=c
15448 ac_cpp='$CPP $CPPFLAGS'
15449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15452
15453
15454
15455 fi
15456
15457 if test "x$GCC" != "xyes"; then
15458 if test "xCC" = "xC"; then
15459 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15460 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15461 if test "${bakefile_cv_c_exto+set}" = set; then
15462 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 else
15464 cat >conftest.$ac_ext <<_ACEOF
15465 /* confdefs.h. */
15466 _ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470
15471 int
15472 main ()
15473 {
15474
15475 ;
15476 return 0;
15477 }
15478 _ACEOF
15479 rm -f conftest.$ac_objext conftest.$ac_ext.o
15480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15481 (eval $ac_compile) 2>&5
15482 ac_status=$?
15483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; then
15485 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15486 case $ac_file in
15487 conftest.$ac_ext.o)
15488 bakefile_cv_c_exto="-ext o"
15489 ;;
15490 *)
15491 ;;
15492 esac
15493 done
15494 else
15495 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15496 See \`config.log' for more details." >&5
15497 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15498 See \`config.log' for more details." >&2;}
15499 { (exit 1); exit 1; }; }
15500
15501 fi
15502
15503 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15504
15505 fi
15506 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15507 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15508 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15509 if test "c" = "c"; then
15510 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15511 fi
15512 if test "c" = "cxx"; then
15513 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15514 fi
15515 fi
15516
15517 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15518 unset ac_cv_prog_cc_g
15519 ac_test_CFLAGS=${CFLAGS+set}
15520 ac_save_CFLAGS=$CFLAGS
15521 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15522 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15523 if test "${ac_cv_prog_cc_g+set}" = set; then
15524 echo $ECHO_N "(cached) $ECHO_C" >&6
15525 else
15526 ac_save_c_werror_flag=$ac_c_werror_flag
15527 ac_c_werror_flag=yes
15528 ac_cv_prog_cc_g=no
15529 CFLAGS="-g"
15530 cat >conftest.$ac_ext <<_ACEOF
15531 /* confdefs.h. */
15532 _ACEOF
15533 cat confdefs.h >>conftest.$ac_ext
15534 cat >>conftest.$ac_ext <<_ACEOF
15535 /* end confdefs.h. */
15536
15537 int
15538 main ()
15539 {
15540
15541 ;
15542 return 0;
15543 }
15544 _ACEOF
15545 rm -f conftest.$ac_objext
15546 if { (ac_try="$ac_compile"
15547 case "(($ac_try" in
15548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15549 *) ac_try_echo=$ac_try;;
15550 esac
15551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15552 (eval "$ac_compile") 2>conftest.er1
15553 ac_status=$?
15554 grep -v '^ *+' conftest.er1 >conftest.err
15555 rm -f conftest.er1
15556 cat conftest.err >&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); } && {
15559 test -z "$ac_c_werror_flag" ||
15560 test ! -s conftest.err
15561 } && test -s conftest.$ac_objext; then
15562 ac_cv_prog_cc_g=yes
15563 else
15564 echo "$as_me: failed program was:" >&5
15565 sed 's/^/| /' conftest.$ac_ext >&5
15566
15567 CFLAGS=""
15568 cat >conftest.$ac_ext <<_ACEOF
15569 /* confdefs.h. */
15570 _ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574
15575 int
15576 main ()
15577 {
15578
15579 ;
15580 return 0;
15581 }
15582 _ACEOF
15583 rm -f conftest.$ac_objext
15584 if { (ac_try="$ac_compile"
15585 case "(($ac_try" in
15586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15587 *) ac_try_echo=$ac_try;;
15588 esac
15589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15590 (eval "$ac_compile") 2>conftest.er1
15591 ac_status=$?
15592 grep -v '^ *+' conftest.er1 >conftest.err
15593 rm -f conftest.er1
15594 cat conftest.err >&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); } && {
15597 test -z "$ac_c_werror_flag" ||
15598 test ! -s conftest.err
15599 } && test -s conftest.$ac_objext; then
15600 :
15601 else
15602 echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15604
15605 ac_c_werror_flag=$ac_save_c_werror_flag
15606 CFLAGS="-g"
15607 cat >conftest.$ac_ext <<_ACEOF
15608 /* confdefs.h. */
15609 _ACEOF
15610 cat confdefs.h >>conftest.$ac_ext
15611 cat >>conftest.$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15613
15614 int
15615 main ()
15616 {
15617
15618 ;
15619 return 0;
15620 }
15621 _ACEOF
15622 rm -f conftest.$ac_objext
15623 if { (ac_try="$ac_compile"
15624 case "(($ac_try" in
15625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15626 *) ac_try_echo=$ac_try;;
15627 esac
15628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15629 (eval "$ac_compile") 2>conftest.er1
15630 ac_status=$?
15631 grep -v '^ *+' conftest.er1 >conftest.err
15632 rm -f conftest.er1
15633 cat conftest.err >&5
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); } && {
15636 test -z "$ac_c_werror_flag" ||
15637 test ! -s conftest.err
15638 } && test -s conftest.$ac_objext; then
15639 ac_cv_prog_cc_g=yes
15640 else
15641 echo "$as_me: failed program was:" >&5
15642 sed 's/^/| /' conftest.$ac_ext >&5
15643
15644
15645 fi
15646
15647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15648 fi
15649
15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15651 fi
15652
15653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15654 ac_c_werror_flag=$ac_save_c_werror_flag
15655 fi
15656 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15657 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15658 if test "$ac_test_CFLAGS" = set; then
15659 CFLAGS=$ac_save_CFLAGS
15660 elif test $ac_cv_prog_cc_g = yes; then
15661 if test "$GCC" = yes; then
15662 CFLAGS="-g -O2"
15663 else
15664 CFLAGS="-g"
15665 fi
15666 else
15667 if test "$GCC" = yes; then
15668 CFLAGS="-O2"
15669 else
15670 CFLAGS=
15671 fi
15672 fi
15673 fi
15674 fi
15675
15676 case `uname -s` in
15677 AIX*)
15678
15679
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685
15686 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15687 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15688 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15690 else
15691 cat >conftest.$ac_ext <<_ACEOF
15692 /* confdefs.h. */
15693 _ACEOF
15694 cat confdefs.h >>conftest.$ac_ext
15695 cat >>conftest.$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15697
15698 int
15699 main ()
15700 {
15701
15702 #ifndef __xlC__
15703 choke me
15704 #endif
15705
15706 ;
15707 return 0;
15708 }
15709 _ACEOF
15710 rm -f conftest.$ac_objext
15711 if { (ac_try="$ac_compile"
15712 case "(($ac_try" in
15713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15714 *) ac_try_echo=$ac_try;;
15715 esac
15716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15717 (eval "$ac_compile") 2>conftest.er1
15718 ac_status=$?
15719 grep -v '^ *+' conftest.er1 >conftest.err
15720 rm -f conftest.er1
15721 cat conftest.err >&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } && {
15724 test -z "$ac_c_werror_flag" ||
15725 test ! -s conftest.err
15726 } && test -s conftest.$ac_objext; then
15727 bakefile_cv_c_compiler___xlC__=yes
15728 else
15729 echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.$ac_ext >&5
15731
15732 bakefile_cv_c_compiler___xlC__=no
15733
15734 fi
15735
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737
15738
15739 fi
15740 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15741 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15742 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15743 :; XLCC=yes
15744 else
15745 :;
15746 fi
15747 ac_ext=c
15748 ac_cpp='$CPP $CPPFLAGS'
15749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15752
15753
15754
15755 ;;
15756
15757 Darwin)
15758
15759
15760 ac_ext=c
15761 ac_cpp='$CPP $CPPFLAGS'
15762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15765
15766 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15767 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15768 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15770 else
15771 cat >conftest.$ac_ext <<_ACEOF
15772 /* confdefs.h. */
15773 _ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15777
15778 int
15779 main ()
15780 {
15781
15782 #ifndef __MWERKS__
15783 choke me
15784 #endif
15785
15786 ;
15787 return 0;
15788 }
15789 _ACEOF
15790 rm -f conftest.$ac_objext
15791 if { (ac_try="$ac_compile"
15792 case "(($ac_try" in
15793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15794 *) ac_try_echo=$ac_try;;
15795 esac
15796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15797 (eval "$ac_compile") 2>conftest.er1
15798 ac_status=$?
15799 grep -v '^ *+' conftest.er1 >conftest.err
15800 rm -f conftest.er1
15801 cat conftest.err >&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); } && {
15804 test -z "$ac_c_werror_flag" ||
15805 test ! -s conftest.err
15806 } && test -s conftest.$ac_objext; then
15807 bakefile_cv_c_compiler___MWERKS__=yes
15808 else
15809 echo "$as_me: failed program was:" >&5
15810 sed 's/^/| /' conftest.$ac_ext >&5
15811
15812 bakefile_cv_c_compiler___MWERKS__=no
15813
15814 fi
15815
15816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15817
15818
15819 fi
15820 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15821 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15822 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15823 :; MWCC=yes
15824 else
15825 :;
15826 fi
15827 ac_ext=c
15828 ac_cpp='$CPP $CPPFLAGS'
15829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15832
15833
15834
15835 if test "$MWCC" != "yes"; then
15836
15837
15838 ac_ext=c
15839 ac_cpp='$CPP $CPPFLAGS'
15840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15843
15844 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15845 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15846 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15847 echo $ECHO_N "(cached) $ECHO_C" >&6
15848 else
15849 cat >conftest.$ac_ext <<_ACEOF
15850 /* confdefs.h. */
15851 _ACEOF
15852 cat confdefs.h >>conftest.$ac_ext
15853 cat >>conftest.$ac_ext <<_ACEOF
15854 /* end confdefs.h. */
15855
15856 int
15857 main ()
15858 {
15859
15860 #ifndef __xlC__
15861 choke me
15862 #endif
15863
15864 ;
15865 return 0;
15866 }
15867 _ACEOF
15868 rm -f conftest.$ac_objext
15869 if { (ac_try="$ac_compile"
15870 case "(($ac_try" in
15871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15872 *) ac_try_echo=$ac_try;;
15873 esac
15874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15875 (eval "$ac_compile") 2>conftest.er1
15876 ac_status=$?
15877 grep -v '^ *+' conftest.er1 >conftest.err
15878 rm -f conftest.er1
15879 cat conftest.err >&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } && {
15882 test -z "$ac_c_werror_flag" ||
15883 test ! -s conftest.err
15884 } && test -s conftest.$ac_objext; then
15885 bakefile_cv_c_compiler___xlC__=yes
15886 else
15887 echo "$as_me: failed program was:" >&5
15888 sed 's/^/| /' conftest.$ac_ext >&5
15889
15890 bakefile_cv_c_compiler___xlC__=no
15891
15892 fi
15893
15894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15895
15896
15897 fi
15898 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15899 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15900 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15901 :; XLCC=yes
15902 else
15903 :;
15904 fi
15905 ac_ext=c
15906 ac_cpp='$CPP $CPPFLAGS'
15907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15910
15911
15912
15913 fi
15914 ;;
15915
15916 IRIX*)
15917
15918
15919 ac_ext=c
15920 ac_cpp='$CPP $CPPFLAGS'
15921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15924
15925 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15926 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15927 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15928 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 else
15930 cat >conftest.$ac_ext <<_ACEOF
15931 /* confdefs.h. */
15932 _ACEOF
15933 cat confdefs.h >>conftest.$ac_ext
15934 cat >>conftest.$ac_ext <<_ACEOF
15935 /* end confdefs.h. */
15936
15937 int
15938 main ()
15939 {
15940
15941 #ifndef _SGI_COMPILER_VERSION
15942 choke me
15943 #endif
15944
15945 ;
15946 return 0;
15947 }
15948 _ACEOF
15949 rm -f conftest.$ac_objext
15950 if { (ac_try="$ac_compile"
15951 case "(($ac_try" in
15952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15953 *) ac_try_echo=$ac_try;;
15954 esac
15955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15956 (eval "$ac_compile") 2>conftest.er1
15957 ac_status=$?
15958 grep -v '^ *+' conftest.er1 >conftest.err
15959 rm -f conftest.er1
15960 cat conftest.err >&5
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } && {
15963 test -z "$ac_c_werror_flag" ||
15964 test ! -s conftest.err
15965 } && test -s conftest.$ac_objext; then
15966 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15967 else
15968 echo "$as_me: failed program was:" >&5
15969 sed 's/^/| /' conftest.$ac_ext >&5
15970
15971 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15972
15973 fi
15974
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15976
15977
15978 fi
15979 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15980 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15981 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15982 :; SGICC=yes
15983 else
15984 :;
15985 fi
15986 ac_ext=c
15987 ac_cpp='$CPP $CPPFLAGS'
15988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15991
15992
15993
15994 ;;
15995
15996 Linux*)
15997 if test "$INTELCC" != "yes"; then
15998
15999
16000 ac_ext=c
16001 ac_cpp='$CPP $CPPFLAGS'
16002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16005
16006 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16007 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16008 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16009 echo $ECHO_N "(cached) $ECHO_C" >&6
16010 else
16011 cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h. */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017
16018 int
16019 main ()
16020 {
16021
16022 #ifndef __SUNPRO_C
16023 choke me
16024 #endif
16025
16026 ;
16027 return 0;
16028 }
16029 _ACEOF
16030 rm -f conftest.$ac_objext
16031 if { (ac_try="$ac_compile"
16032 case "(($ac_try" in
16033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16034 *) ac_try_echo=$ac_try;;
16035 esac
16036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16037 (eval "$ac_compile") 2>conftest.er1
16038 ac_status=$?
16039 grep -v '^ *+' conftest.er1 >conftest.err
16040 rm -f conftest.er1
16041 cat conftest.err >&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); } && {
16044 test -z "$ac_c_werror_flag" ||
16045 test ! -s conftest.err
16046 } && test -s conftest.$ac_objext; then
16047 bakefile_cv_c_compiler___SUNPRO_C=yes
16048 else
16049 echo "$as_me: failed program was:" >&5
16050 sed 's/^/| /' conftest.$ac_ext >&5
16051
16052 bakefile_cv_c_compiler___SUNPRO_C=no
16053
16054 fi
16055
16056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16057
16058
16059 fi
16060 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16061 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16062 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16063 :; SUNCC=yes
16064 else
16065 :;
16066 fi
16067 ac_ext=c
16068 ac_cpp='$CPP $CPPFLAGS'
16069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16072
16073
16074
16075 fi
16076 ;;
16077
16078 HP-UX*)
16079
16080
16081 ac_ext=c
16082 ac_cpp='$CPP $CPPFLAGS'
16083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16086
16087 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16088 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16089 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 else
16092 cat >conftest.$ac_ext <<_ACEOF
16093 /* confdefs.h. */
16094 _ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16098
16099 int
16100 main ()
16101 {
16102
16103 #ifndef __HP_cc
16104 choke me
16105 #endif
16106
16107 ;
16108 return 0;
16109 }
16110 _ACEOF
16111 rm -f conftest.$ac_objext
16112 if { (ac_try="$ac_compile"
16113 case "(($ac_try" in
16114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115 *) ac_try_echo=$ac_try;;
16116 esac
16117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16118 (eval "$ac_compile") 2>conftest.er1
16119 ac_status=$?
16120 grep -v '^ *+' conftest.er1 >conftest.err
16121 rm -f conftest.er1
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } && {
16125 test -z "$ac_c_werror_flag" ||
16126 test ! -s conftest.err
16127 } && test -s conftest.$ac_objext; then
16128 bakefile_cv_c_compiler___HP_cc=yes
16129 else
16130 echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16132
16133 bakefile_cv_c_compiler___HP_cc=no
16134
16135 fi
16136
16137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16138
16139
16140 fi
16141 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16142 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16143 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16144 :; HPCC=yes
16145 else
16146 :;
16147 fi
16148 ac_ext=c
16149 ac_cpp='$CPP $CPPFLAGS'
16150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16153
16154
16155
16156 ;;
16157
16158 OSF1)
16159
16160
16161 ac_ext=c
16162 ac_cpp='$CPP $CPPFLAGS'
16163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16166
16167 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16168 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16169 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16170 echo $ECHO_N "(cached) $ECHO_C" >&6
16171 else
16172 cat >conftest.$ac_ext <<_ACEOF
16173 /* confdefs.h. */
16174 _ACEOF
16175 cat confdefs.h >>conftest.$ac_ext
16176 cat >>conftest.$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16178
16179 int
16180 main ()
16181 {
16182
16183 #ifndef __DECC
16184 choke me
16185 #endif
16186
16187 ;
16188 return 0;
16189 }
16190 _ACEOF
16191 rm -f conftest.$ac_objext
16192 if { (ac_try="$ac_compile"
16193 case "(($ac_try" in
16194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16195 *) ac_try_echo=$ac_try;;
16196 esac
16197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16198 (eval "$ac_compile") 2>conftest.er1
16199 ac_status=$?
16200 grep -v '^ *+' conftest.er1 >conftest.err
16201 rm -f conftest.er1
16202 cat conftest.err >&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); } && {
16205 test -z "$ac_c_werror_flag" ||
16206 test ! -s conftest.err
16207 } && test -s conftest.$ac_objext; then
16208 bakefile_cv_c_compiler___DECC=yes
16209 else
16210 echo "$as_me: failed program was:" >&5
16211 sed 's/^/| /' conftest.$ac_ext >&5
16212
16213 bakefile_cv_c_compiler___DECC=no
16214
16215 fi
16216
16217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16218
16219
16220 fi
16221 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16222 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16223 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16224 :; COMPAQCC=yes
16225 else
16226 :;
16227 fi
16228 ac_ext=c
16229 ac_cpp='$CPP $CPPFLAGS'
16230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16233
16234
16235
16236 ;;
16237
16238 SunOS)
16239
16240
16241 ac_ext=c
16242 ac_cpp='$CPP $CPPFLAGS'
16243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16246
16247 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16248 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16249 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16250 echo $ECHO_N "(cached) $ECHO_C" >&6
16251 else
16252 cat >conftest.$ac_ext <<_ACEOF
16253 /* confdefs.h. */
16254 _ACEOF
16255 cat confdefs.h >>conftest.$ac_ext
16256 cat >>conftest.$ac_ext <<_ACEOF
16257 /* end confdefs.h. */
16258
16259 int
16260 main ()
16261 {
16262
16263 #ifndef __SUNPRO_C
16264 choke me
16265 #endif
16266
16267 ;
16268 return 0;
16269 }
16270 _ACEOF
16271 rm -f conftest.$ac_objext
16272 if { (ac_try="$ac_compile"
16273 case "(($ac_try" in
16274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16275 *) ac_try_echo=$ac_try;;
16276 esac
16277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16278 (eval "$ac_compile") 2>conftest.er1
16279 ac_status=$?
16280 grep -v '^ *+' conftest.er1 >conftest.err
16281 rm -f conftest.er1
16282 cat conftest.err >&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } && {
16285 test -z "$ac_c_werror_flag" ||
16286 test ! -s conftest.err
16287 } && test -s conftest.$ac_objext; then
16288 bakefile_cv_c_compiler___SUNPRO_C=yes
16289 else
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.$ac_ext >&5
16292
16293 bakefile_cv_c_compiler___SUNPRO_C=no
16294
16295 fi
16296
16297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16298
16299
16300 fi
16301 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16302 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16303 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16304 :; SUNCC=yes
16305 else
16306 :;
16307 fi
16308 ac_ext=c
16309 ac_cpp='$CPP $CPPFLAGS'
16310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16313
16314
16315
16316 ;;
16317 esac
16318 fi
16319
16320
16321
16322 ac_ext=c
16323 ac_cpp='$CPP $CPPFLAGS'
16324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16327 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16328 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16329 # On Suns, sometimes $CPP names a directory.
16330 if test -n "$CPP" && test -d "$CPP"; then
16331 CPP=
16332 fi
16333 if test -z "$CPP"; then
16334 if test "${ac_cv_prog_CPP+set}" = set; then
16335 echo $ECHO_N "(cached) $ECHO_C" >&6
16336 else
16337 # Double quotes because CPP needs to be expanded
16338 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16339 do
16340 ac_preproc_ok=false
16341 for ac_c_preproc_warn_flag in '' yes
16342 do
16343 # Use a header file that comes with gcc, so configuring glibc
16344 # with a fresh cross-compiler works.
16345 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16346 # <limits.h> exists even on freestanding compilers.
16347 # On the NeXT, cc -E runs the code through the compiler's parser,
16348 # not just through cpp. "Syntax error" is here to catch this case.
16349 cat >conftest.$ac_ext <<_ACEOF
16350 /* confdefs.h. */
16351 _ACEOF
16352 cat confdefs.h >>conftest.$ac_ext
16353 cat >>conftest.$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16355 #ifdef __STDC__
16356 # include <limits.h>
16357 #else
16358 # include <assert.h>
16359 #endif
16360 Syntax error
16361 _ACEOF
16362 if { (ac_try="$ac_cpp conftest.$ac_ext"
16363 case "(($ac_try" in
16364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16365 *) ac_try_echo=$ac_try;;
16366 esac
16367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16369 ac_status=$?
16370 grep -v '^ *+' conftest.er1 >conftest.err
16371 rm -f conftest.er1
16372 cat conftest.err >&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } >/dev/null && {
16375 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16376 test ! -s conftest.err
16377 }; then
16378 :
16379 else
16380 echo "$as_me: failed program was:" >&5
16381 sed 's/^/| /' conftest.$ac_ext >&5
16382
16383 # Broken: fails on valid input.
16384 continue
16385 fi
16386
16387 rm -f conftest.err conftest.$ac_ext
16388
16389 # OK, works on sane cases. Now check whether nonexistent headers
16390 # can be detected and how.
16391 cat >conftest.$ac_ext <<_ACEOF
16392 /* confdefs.h. */
16393 _ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16397 #include <ac_nonexistent.h>
16398 _ACEOF
16399 if { (ac_try="$ac_cpp conftest.$ac_ext"
16400 case "(($ac_try" in
16401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16402 *) ac_try_echo=$ac_try;;
16403 esac
16404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16406 ac_status=$?
16407 grep -v '^ *+' conftest.er1 >conftest.err
16408 rm -f conftest.er1
16409 cat conftest.err >&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } >/dev/null && {
16412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16413 test ! -s conftest.err
16414 }; then
16415 # Broken: success on invalid input.
16416 continue
16417 else
16418 echo "$as_me: failed program was:" >&5
16419 sed 's/^/| /' conftest.$ac_ext >&5
16420
16421 # Passes both tests.
16422 ac_preproc_ok=:
16423 break
16424 fi
16425
16426 rm -f conftest.err conftest.$ac_ext
16427
16428 done
16429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16430 rm -f conftest.err conftest.$ac_ext
16431 if $ac_preproc_ok; then
16432 break
16433 fi
16434
16435 done
16436 ac_cv_prog_CPP=$CPP
16437
16438 fi
16439 CPP=$ac_cv_prog_CPP
16440 else
16441 ac_cv_prog_CPP=$CPP
16442 fi
16443 { echo "$as_me:$LINENO: result: $CPP" >&5
16444 echo "${ECHO_T}$CPP" >&6; }
16445 ac_preproc_ok=false
16446 for ac_c_preproc_warn_flag in '' yes
16447 do
16448 # Use a header file that comes with gcc, so configuring glibc
16449 # with a fresh cross-compiler works.
16450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16451 # <limits.h> exists even on freestanding compilers.
16452 # On the NeXT, cc -E runs the code through the compiler's parser,
16453 # not just through cpp. "Syntax error" is here to catch this case.
16454 cat >conftest.$ac_ext <<_ACEOF
16455 /* confdefs.h. */
16456 _ACEOF
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 #ifdef __STDC__
16461 # include <limits.h>
16462 #else
16463 # include <assert.h>
16464 #endif
16465 Syntax error
16466 _ACEOF
16467 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
16480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16481 test ! -s conftest.err
16482 }; then
16483 :
16484 else
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16487
16488 # Broken: fails on valid input.
16489 continue
16490 fi
16491
16492 rm -f conftest.err conftest.$ac_ext
16493
16494 # OK, works on sane cases. Now check whether nonexistent headers
16495 # can be detected and how.
16496 cat >conftest.$ac_ext <<_ACEOF
16497 /* confdefs.h. */
16498 _ACEOF
16499 cat confdefs.h >>conftest.$ac_ext
16500 cat >>conftest.$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16502 #include <ac_nonexistent.h>
16503 _ACEOF
16504 if { (ac_try="$ac_cpp conftest.$ac_ext"
16505 case "(($ac_try" in
16506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16507 *) ac_try_echo=$ac_try;;
16508 esac
16509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16511 ac_status=$?
16512 grep -v '^ *+' conftest.er1 >conftest.err
16513 rm -f conftest.er1
16514 cat conftest.err >&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); } >/dev/null && {
16517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16518 test ! -s conftest.err
16519 }; then
16520 # Broken: success on invalid input.
16521 continue
16522 else
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.$ac_ext >&5
16525
16526 # Passes both tests.
16527 ac_preproc_ok=:
16528 break
16529 fi
16530
16531 rm -f conftest.err conftest.$ac_ext
16532
16533 done
16534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16535 rm -f conftest.err conftest.$ac_ext
16536 if $ac_preproc_ok; then
16537 :
16538 else
16539 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16540 See \`config.log' for more details." >&5
16541 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16542 See \`config.log' for more details." >&2;}
16543 { (exit 1); exit 1; }; }
16544 fi
16545
16546 ac_ext=c
16547 ac_cpp='$CPP $CPPFLAGS'
16548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16551
16552
16553 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16554 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16555 if test "${ac_cv_path_GREP+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 else
16558 # Extract the first word of "grep ggrep" to use in msg output
16559 if test -z "$GREP"; then
16560 set dummy grep ggrep; ac_prog_name=$2
16561 if test "${ac_cv_path_GREP+set}" = set; then
16562 echo $ECHO_N "(cached) $ECHO_C" >&6
16563 else
16564 ac_path_GREP_found=false
16565 # Loop through the user's path and test for each of PROGNAME-LIST
16566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16567 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16568 do
16569 IFS=$as_save_IFS
16570 test -z "$as_dir" && as_dir=.
16571 for ac_prog in grep ggrep; do
16572 for ac_exec_ext in '' $ac_executable_extensions; do
16573 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16574 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16575 # Check for GNU ac_path_GREP and select it if it is found.
16576 # Check for GNU $ac_path_GREP
16577 case `"$ac_path_GREP" --version 2>&1` in
16578 *GNU*)
16579 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16580 *)
16581 ac_count=0
16582 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16583 while :
16584 do
16585 cat "conftest.in" "conftest.in" >"conftest.tmp"
16586 mv "conftest.tmp" "conftest.in"
16587 cp "conftest.in" "conftest.nl"
16588 echo 'GREP' >> "conftest.nl"
16589 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16590 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16591 ac_count=`expr $ac_count + 1`
16592 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16593 # Best one so far, save it but keep looking for a better one
16594 ac_cv_path_GREP="$ac_path_GREP"
16595 ac_path_GREP_max=$ac_count
16596 fi
16597 # 10*(2^10) chars as input seems more than enough
16598 test $ac_count -gt 10 && break
16599 done
16600 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16601 esac
16602
16603
16604 $ac_path_GREP_found && break 3
16605 done
16606 done
16607
16608 done
16609 IFS=$as_save_IFS
16610
16611
16612 fi
16613
16614 GREP="$ac_cv_path_GREP"
16615 if test -z "$GREP"; then
16616 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16617 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16618 { (exit 1); exit 1; }; }
16619 fi
16620
16621 else
16622 ac_cv_path_GREP=$GREP
16623 fi
16624
16625
16626 fi
16627 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16628 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16629 GREP="$ac_cv_path_GREP"
16630
16631
16632 { echo "$as_me:$LINENO: checking for egrep" >&5
16633 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16634 if test "${ac_cv_path_EGREP+set}" = set; then
16635 echo $ECHO_N "(cached) $ECHO_C" >&6
16636 else
16637 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16638 then ac_cv_path_EGREP="$GREP -E"
16639 else
16640 # Extract the first word of "egrep" to use in msg output
16641 if test -z "$EGREP"; then
16642 set dummy egrep; ac_prog_name=$2
16643 if test "${ac_cv_path_EGREP+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 else
16646 ac_path_EGREP_found=false
16647 # Loop through the user's path and test for each of PROGNAME-LIST
16648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16649 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16650 do
16651 IFS=$as_save_IFS
16652 test -z "$as_dir" && as_dir=.
16653 for ac_prog in egrep; do
16654 for ac_exec_ext in '' $ac_executable_extensions; do
16655 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16656 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16657 # Check for GNU ac_path_EGREP and select it if it is found.
16658 # Check for GNU $ac_path_EGREP
16659 case `"$ac_path_EGREP" --version 2>&1` in
16660 *GNU*)
16661 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16662 *)
16663 ac_count=0
16664 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16665 while :
16666 do
16667 cat "conftest.in" "conftest.in" >"conftest.tmp"
16668 mv "conftest.tmp" "conftest.in"
16669 cp "conftest.in" "conftest.nl"
16670 echo 'EGREP' >> "conftest.nl"
16671 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16672 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16673 ac_count=`expr $ac_count + 1`
16674 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16675 # Best one so far, save it but keep looking for a better one
16676 ac_cv_path_EGREP="$ac_path_EGREP"
16677 ac_path_EGREP_max=$ac_count
16678 fi
16679 # 10*(2^10) chars as input seems more than enough
16680 test $ac_count -gt 10 && break
16681 done
16682 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16683 esac
16684
16685
16686 $ac_path_EGREP_found && break 3
16687 done
16688 done
16689
16690 done
16691 IFS=$as_save_IFS
16692
16693
16694 fi
16695
16696 EGREP="$ac_cv_path_EGREP"
16697 if test -z "$EGREP"; then
16698 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16699 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16700 { (exit 1); exit 1; }; }
16701 fi
16702
16703 else
16704 ac_cv_path_EGREP=$EGREP
16705 fi
16706
16707
16708 fi
16709 fi
16710 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16711 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16712 EGREP="$ac_cv_path_EGREP"
16713
16714
16715 if test $ac_cv_c_compiler_gnu = yes; then
16716 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16717 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16718 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16719 echo $ECHO_N "(cached) $ECHO_C" >&6
16720 else
16721 ac_pattern="Autoconf.*'x'"
16722 cat >conftest.$ac_ext <<_ACEOF
16723 /* confdefs.h. */
16724 _ACEOF
16725 cat confdefs.h >>conftest.$ac_ext
16726 cat >>conftest.$ac_ext <<_ACEOF
16727 /* end confdefs.h. */
16728 #include <sgtty.h>
16729 Autoconf TIOCGETP
16730 _ACEOF
16731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16732 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16733 ac_cv_prog_gcc_traditional=yes
16734 else
16735 ac_cv_prog_gcc_traditional=no
16736 fi
16737 rm -f conftest*
16738
16739
16740 if test $ac_cv_prog_gcc_traditional = no; then
16741 cat >conftest.$ac_ext <<_ACEOF
16742 /* confdefs.h. */
16743 _ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747 #include <termio.h>
16748 Autoconf TCGETA
16749 _ACEOF
16750 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16751 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16752 ac_cv_prog_gcc_traditional=yes
16753 fi
16754 rm -f conftest*
16755
16756 fi
16757 fi
16758 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16759 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16760 if test $ac_cv_prog_gcc_traditional = yes; then
16761 CC="$CC -traditional"
16762 fi
16763 fi
16764
16765
16766 CXXFLAGS=${CXXFLAGS:=}
16767
16768
16769
16770 ac_ext=cpp
16771 ac_cpp='$CXXCPP $CPPFLAGS'
16772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16775 if test -z "$CXX"; then
16776 if test -n "$CCC"; then
16777 CXX=$CCC
16778 else
16779 if test -n "$ac_tool_prefix"; then
16780 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16781 do
16782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16786 if test "${ac_cv_prog_CXX+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 else
16789 if test -n "$CXX"; then
16790 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16791 else
16792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16793 for as_dir in $PATH
16794 do
16795 IFS=$as_save_IFS
16796 test -z "$as_dir" && as_dir=.
16797 for ac_exec_ext in '' $ac_executable_extensions; do
16798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16799 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16801 break 2
16802 fi
16803 done
16804 done
16805 IFS=$as_save_IFS
16806
16807 fi
16808 fi
16809 CXX=$ac_cv_prog_CXX
16810 if test -n "$CXX"; then
16811 { echo "$as_me:$LINENO: result: $CXX" >&5
16812 echo "${ECHO_T}$CXX" >&6; }
16813 else
16814 { echo "$as_me:$LINENO: result: no" >&5
16815 echo "${ECHO_T}no" >&6; }
16816 fi
16817
16818
16819 test -n "$CXX" && break
16820 done
16821 fi
16822 if test -z "$CXX"; then
16823 ac_ct_CXX=$CXX
16824 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16825 do
16826 # Extract the first word of "$ac_prog", so it can be a program name with args.
16827 set dummy $ac_prog; ac_word=$2
16828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16830 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16832 else
16833 if test -n "$ac_ct_CXX"; then
16834 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16835 else
16836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16837 for as_dir in $PATH
16838 do
16839 IFS=$as_save_IFS
16840 test -z "$as_dir" && as_dir=.
16841 for ac_exec_ext in '' $ac_executable_extensions; do
16842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16843 ac_cv_prog_ac_ct_CXX="$ac_prog"
16844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16845 break 2
16846 fi
16847 done
16848 done
16849 IFS=$as_save_IFS
16850
16851 fi
16852 fi
16853 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16854 if test -n "$ac_ct_CXX"; then
16855 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16856 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16857 else
16858 { echo "$as_me:$LINENO: result: no" >&5
16859 echo "${ECHO_T}no" >&6; }
16860 fi
16861
16862
16863 test -n "$ac_ct_CXX" && break
16864 done
16865
16866 if test "x$ac_ct_CXX" = x; then
16867 CXX="g++"
16868 else
16869 case $cross_compiling:$ac_tool_warned in
16870 yes:)
16871 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16872 whose name does not start with the host triplet. If you think this
16873 configuration is useful to you, please write to autoconf@gnu.org." >&5
16874 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16875 whose name does not start with the host triplet. If you think this
16876 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16877 ac_tool_warned=yes ;;
16878 esac
16879 CXX=$ac_ct_CXX
16880 fi
16881 fi
16882
16883 fi
16884 fi
16885 # Provide some information about the compiler.
16886 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16887 ac_compiler=`set X $ac_compile; echo $2`
16888 { (ac_try="$ac_compiler --version >&5"
16889 case "(($ac_try" in
16890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16891 *) ac_try_echo=$ac_try;;
16892 esac
16893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16894 (eval "$ac_compiler --version >&5") 2>&5
16895 ac_status=$?
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); }
16898 { (ac_try="$ac_compiler -v >&5"
16899 case "(($ac_try" in
16900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16901 *) ac_try_echo=$ac_try;;
16902 esac
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_compiler -v >&5") 2>&5
16905 ac_status=$?
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }
16908 { (ac_try="$ac_compiler -V >&5"
16909 case "(($ac_try" in
16910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16911 *) ac_try_echo=$ac_try;;
16912 esac
16913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16914 (eval "$ac_compiler -V >&5") 2>&5
16915 ac_status=$?
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }
16918
16919 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16920 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16921 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16923 else
16924 cat >conftest.$ac_ext <<_ACEOF
16925 /* confdefs.h. */
16926 _ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16930
16931 int
16932 main ()
16933 {
16934 #ifndef __GNUC__
16935 choke me
16936 #endif
16937
16938 ;
16939 return 0;
16940 }
16941 _ACEOF
16942 rm -f conftest.$ac_objext
16943 if { (ac_try="$ac_compile"
16944 case "(($ac_try" in
16945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16946 *) ac_try_echo=$ac_try;;
16947 esac
16948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16949 (eval "$ac_compile") 2>conftest.er1
16950 ac_status=$?
16951 grep -v '^ *+' conftest.er1 >conftest.err
16952 rm -f conftest.er1
16953 cat conftest.err >&5
16954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16955 (exit $ac_status); } && {
16956 test -z "$ac_cxx_werror_flag" ||
16957 test ! -s conftest.err
16958 } && test -s conftest.$ac_objext; then
16959 ac_compiler_gnu=yes
16960 else
16961 echo "$as_me: failed program was:" >&5
16962 sed 's/^/| /' conftest.$ac_ext >&5
16963
16964 ac_compiler_gnu=no
16965 fi
16966
16967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16968 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16969
16970 fi
16971 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16972 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16973 GXX=`test $ac_compiler_gnu = yes && echo yes`
16974 ac_test_CXXFLAGS=${CXXFLAGS+set}
16975 ac_save_CXXFLAGS=$CXXFLAGS
16976 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16977 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16978 if test "${ac_cv_prog_cxx_g+set}" = set; then
16979 echo $ECHO_N "(cached) $ECHO_C" >&6
16980 else
16981 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16982 ac_cxx_werror_flag=yes
16983 ac_cv_prog_cxx_g=no
16984 CXXFLAGS="-g"
16985 cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991
16992 int
16993 main ()
16994 {
16995
16996 ;
16997 return 0;
16998 }
16999 _ACEOF
17000 rm -f conftest.$ac_objext
17001 if { (ac_try="$ac_compile"
17002 case "(($ac_try" in
17003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17004 *) ac_try_echo=$ac_try;;
17005 esac
17006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17007 (eval "$ac_compile") 2>conftest.er1
17008 ac_status=$?
17009 grep -v '^ *+' conftest.er1 >conftest.err
17010 rm -f conftest.er1
17011 cat conftest.err >&5
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); } && {
17014 test -z "$ac_cxx_werror_flag" ||
17015 test ! -s conftest.err
17016 } && test -s conftest.$ac_objext; then
17017 ac_cv_prog_cxx_g=yes
17018 else
17019 echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.$ac_ext >&5
17021
17022 CXXFLAGS=""
17023 cat >conftest.$ac_ext <<_ACEOF
17024 /* confdefs.h. */
17025 _ACEOF
17026 cat confdefs.h >>conftest.$ac_ext
17027 cat >>conftest.$ac_ext <<_ACEOF
17028 /* end confdefs.h. */
17029
17030 int
17031 main ()
17032 {
17033
17034 ;
17035 return 0;
17036 }
17037 _ACEOF
17038 rm -f conftest.$ac_objext
17039 if { (ac_try="$ac_compile"
17040 case "(($ac_try" in
17041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17042 *) ac_try_echo=$ac_try;;
17043 esac
17044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17045 (eval "$ac_compile") 2>conftest.er1
17046 ac_status=$?
17047 grep -v '^ *+' conftest.er1 >conftest.err
17048 rm -f conftest.er1
17049 cat conftest.err >&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } && {
17052 test -z "$ac_cxx_werror_flag" ||
17053 test ! -s conftest.err
17054 } && test -s conftest.$ac_objext; then
17055 :
17056 else
17057 echo "$as_me: failed program was:" >&5
17058 sed 's/^/| /' conftest.$ac_ext >&5
17059
17060 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17061 CXXFLAGS="-g"
17062 cat >conftest.$ac_ext <<_ACEOF
17063 /* confdefs.h. */
17064 _ACEOF
17065 cat confdefs.h >>conftest.$ac_ext
17066 cat >>conftest.$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068
17069 int
17070 main ()
17071 {
17072
17073 ;
17074 return 0;
17075 }
17076 _ACEOF
17077 rm -f conftest.$ac_objext
17078 if { (ac_try="$ac_compile"
17079 case "(($ac_try" in
17080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17081 *) ac_try_echo=$ac_try;;
17082 esac
17083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17084 (eval "$ac_compile") 2>conftest.er1
17085 ac_status=$?
17086 grep -v '^ *+' conftest.er1 >conftest.err
17087 rm -f conftest.er1
17088 cat conftest.err >&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } && {
17091 test -z "$ac_cxx_werror_flag" ||
17092 test ! -s conftest.err
17093 } && test -s conftest.$ac_objext; then
17094 ac_cv_prog_cxx_g=yes
17095 else
17096 echo "$as_me: failed program was:" >&5
17097 sed 's/^/| /' conftest.$ac_ext >&5
17098
17099
17100 fi
17101
17102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17103 fi
17104
17105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17106 fi
17107
17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17109 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17110 fi
17111 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17112 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17113 if test "$ac_test_CXXFLAGS" = set; then
17114 CXXFLAGS=$ac_save_CXXFLAGS
17115 elif test $ac_cv_prog_cxx_g = yes; then
17116 if test "$GXX" = yes; then
17117 CXXFLAGS="-g -O2"
17118 else
17119 CXXFLAGS="-g"
17120 fi
17121 else
17122 if test "$GXX" = yes; then
17123 CXXFLAGS="-O2"
17124 else
17125 CXXFLAGS=
17126 fi
17127 fi
17128 ac_ext=c
17129 ac_cpp='$CPP $CPPFLAGS'
17130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17133
17134
17135
17136
17137 ac_ext=cpp
17138 ac_cpp='$CXXCPP $CPPFLAGS'
17139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17142
17143 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17144 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17145 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17147 else
17148 cat >conftest.$ac_ext <<_ACEOF
17149 /* confdefs.h. */
17150 _ACEOF
17151 cat confdefs.h >>conftest.$ac_ext
17152 cat >>conftest.$ac_ext <<_ACEOF
17153 /* end confdefs.h. */
17154
17155 int
17156 main ()
17157 {
17158
17159 #ifndef __INTEL_COMPILER
17160 choke me
17161 #endif
17162
17163 ;
17164 return 0;
17165 }
17166 _ACEOF
17167 rm -f conftest.$ac_objext
17168 if { (ac_try="$ac_compile"
17169 case "(($ac_try" in
17170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17171 *) ac_try_echo=$ac_try;;
17172 esac
17173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17174 (eval "$ac_compile") 2>conftest.er1
17175 ac_status=$?
17176 grep -v '^ *+' conftest.er1 >conftest.err
17177 rm -f conftest.er1
17178 cat conftest.err >&5
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); } && {
17181 test -z "$ac_cxx_werror_flag" ||
17182 test ! -s conftest.err
17183 } && test -s conftest.$ac_objext; then
17184 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17185 else
17186 echo "$as_me: failed program was:" >&5
17187 sed 's/^/| /' conftest.$ac_ext >&5
17188
17189 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17190
17191 fi
17192
17193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17194
17195
17196 fi
17197 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17198 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17199 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17200 :; INTELCXX=yes
17201 else
17202 :;
17203 fi
17204 ac_ext=c
17205 ac_cpp='$CPP $CPPFLAGS'
17206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17209
17210
17211
17212
17213 if test "$INTELCXX" = "yes"; then
17214
17215
17216 ac_ext=cpp
17217 ac_cpp='$CXXCPP $CPPFLAGS'
17218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17221
17222 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17223 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17224 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17225 echo $ECHO_N "(cached) $ECHO_C" >&6
17226 else
17227 cat >conftest.$ac_ext <<_ACEOF
17228 /* confdefs.h. */
17229 _ACEOF
17230 cat confdefs.h >>conftest.$ac_ext
17231 cat >>conftest.$ac_ext <<_ACEOF
17232 /* end confdefs.h. */
17233
17234 int
17235 main ()
17236 {
17237
17238 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17239 choke me
17240 #endif
17241
17242 ;
17243 return 0;
17244 }
17245 _ACEOF
17246 rm -f conftest.$ac_objext
17247 if { (ac_try="$ac_compile"
17248 case "(($ac_try" in
17249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17250 *) ac_try_echo=$ac_try;;
17251 esac
17252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17253 (eval "$ac_compile") 2>conftest.er1
17254 ac_status=$?
17255 grep -v '^ *+' conftest.er1 >conftest.err
17256 rm -f conftest.er1
17257 cat conftest.err >&5
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); } && {
17260 test -z "$ac_cxx_werror_flag" ||
17261 test ! -s conftest.err
17262 } && test -s conftest.$ac_objext; then
17263 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17264 else
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17267
17268 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17269
17270 fi
17271
17272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17273
17274
17275 fi
17276 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17277 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17278 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17279 :; INTELCXX8=yes
17280 else
17281 :;
17282 fi
17283 ac_ext=c
17284 ac_cpp='$CPP $CPPFLAGS'
17285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17288
17289
17290
17291
17292
17293 ac_ext=cpp
17294 ac_cpp='$CXXCPP $CPPFLAGS'
17295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17298
17299 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17300 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17301 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17302 echo $ECHO_N "(cached) $ECHO_C" >&6
17303 else
17304 cat >conftest.$ac_ext <<_ACEOF
17305 /* confdefs.h. */
17306 _ACEOF
17307 cat confdefs.h >>conftest.$ac_ext
17308 cat >>conftest.$ac_ext <<_ACEOF
17309 /* end confdefs.h. */
17310
17311 int
17312 main ()
17313 {
17314
17315 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17316 choke me
17317 #endif
17318
17319 ;
17320 return 0;
17321 }
17322 _ACEOF
17323 rm -f conftest.$ac_objext
17324 if { (ac_try="$ac_compile"
17325 case "(($ac_try" in
17326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17327 *) ac_try_echo=$ac_try;;
17328 esac
17329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17330 (eval "$ac_compile") 2>conftest.er1
17331 ac_status=$?
17332 grep -v '^ *+' conftest.er1 >conftest.err
17333 rm -f conftest.er1
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } && {
17337 test -z "$ac_cxx_werror_flag" ||
17338 test ! -s conftest.err
17339 } && test -s conftest.$ac_objext; then
17340 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17341 else
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17344
17345 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17346
17347 fi
17348
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350
17351
17352 fi
17353 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17354 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17355 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17356 :; INTELCXX10=yes
17357 else
17358 :;
17359 fi
17360 ac_ext=c
17361 ac_cpp='$CPP $CPPFLAGS'
17362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17365
17366
17367
17368 fi
17369
17370 if test "x$GCXX" != "xyes"; then
17371 if test "xCXX" = "xC"; then
17372 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17373 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17374 if test "${bakefile_cv_c_exto+set}" = set; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6
17376 else
17377 cat >conftest.$ac_ext <<_ACEOF
17378 /* confdefs.h. */
17379 _ACEOF
17380 cat confdefs.h >>conftest.$ac_ext
17381 cat >>conftest.$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383
17384 int
17385 main ()
17386 {
17387
17388 ;
17389 return 0;
17390 }
17391 _ACEOF
17392 rm -f conftest.$ac_objext conftest.$ac_ext.o
17393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17394 (eval $ac_compile) 2>&5
17395 ac_status=$?
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; then
17398 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17399 case $ac_file in
17400 conftest.$ac_ext.o)
17401 bakefile_cv_c_exto="-ext o"
17402 ;;
17403 *)
17404 ;;
17405 esac
17406 done
17407 else
17408 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17409 See \`config.log' for more details." >&5
17410 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17411 See \`config.log' for more details." >&2;}
17412 { (exit 1); exit 1; }; }
17413
17414 fi
17415
17416 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17417
17418 fi
17419 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17420 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17421 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17422 if test "c" = "c"; then
17423 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17424 fi
17425 if test "c" = "cxx"; then
17426 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17427 fi
17428 fi
17429
17430 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17431 unset ac_cv_prog_cc_g
17432 ac_test_CFLAGS=${CFLAGS+set}
17433 ac_save_CFLAGS=$CFLAGS
17434 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17435 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17436 if test "${ac_cv_prog_cc_g+set}" = set; then
17437 echo $ECHO_N "(cached) $ECHO_C" >&6
17438 else
17439 ac_save_c_werror_flag=$ac_c_werror_flag
17440 ac_c_werror_flag=yes
17441 ac_cv_prog_cc_g=no
17442 CFLAGS="-g"
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449
17450 int
17451 main ()
17452 {
17453
17454 ;
17455 return 0;
17456 }
17457 _ACEOF
17458 rm -f conftest.$ac_objext
17459 if { (ac_try="$ac_compile"
17460 case "(($ac_try" in
17461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17462 *) ac_try_echo=$ac_try;;
17463 esac
17464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17465 (eval "$ac_compile") 2>conftest.er1
17466 ac_status=$?
17467 grep -v '^ *+' conftest.er1 >conftest.err
17468 rm -f conftest.er1
17469 cat conftest.err >&5
17470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 (exit $ac_status); } && {
17472 test -z "$ac_c_werror_flag" ||
17473 test ! -s conftest.err
17474 } && test -s conftest.$ac_objext; then
17475 ac_cv_prog_cc_g=yes
17476 else
17477 echo "$as_me: failed program was:" >&5
17478 sed 's/^/| /' conftest.$ac_ext >&5
17479
17480 CFLAGS=""
17481 cat >conftest.$ac_ext <<_ACEOF
17482 /* confdefs.h. */
17483 _ACEOF
17484 cat confdefs.h >>conftest.$ac_ext
17485 cat >>conftest.$ac_ext <<_ACEOF
17486 /* end confdefs.h. */
17487
17488 int
17489 main ()
17490 {
17491
17492 ;
17493 return 0;
17494 }
17495 _ACEOF
17496 rm -f conftest.$ac_objext
17497 if { (ac_try="$ac_compile"
17498 case "(($ac_try" in
17499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17500 *) ac_try_echo=$ac_try;;
17501 esac
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_compile") 2>conftest.er1
17504 ac_status=$?
17505 grep -v '^ *+' conftest.er1 >conftest.err
17506 rm -f conftest.er1
17507 cat conftest.err >&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_c_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest.$ac_objext; then
17513 :
17514 else
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17517
17518 ac_c_werror_flag=$ac_save_c_werror_flag
17519 CFLAGS="-g"
17520 cat >conftest.$ac_ext <<_ACEOF
17521 /* confdefs.h. */
17522 _ACEOF
17523 cat confdefs.h >>conftest.$ac_ext
17524 cat >>conftest.$ac_ext <<_ACEOF
17525 /* end confdefs.h. */
17526
17527 int
17528 main ()
17529 {
17530
17531 ;
17532 return 0;
17533 }
17534 _ACEOF
17535 rm -f conftest.$ac_objext
17536 if { (ac_try="$ac_compile"
17537 case "(($ac_try" in
17538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17539 *) ac_try_echo=$ac_try;;
17540 esac
17541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17542 (eval "$ac_compile") 2>conftest.er1
17543 ac_status=$?
17544 grep -v '^ *+' conftest.er1 >conftest.err
17545 rm -f conftest.er1
17546 cat conftest.err >&5
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } && {
17549 test -z "$ac_c_werror_flag" ||
17550 test ! -s conftest.err
17551 } && test -s conftest.$ac_objext; then
17552 ac_cv_prog_cc_g=yes
17553 else
17554 echo "$as_me: failed program was:" >&5
17555 sed 's/^/| /' conftest.$ac_ext >&5
17556
17557
17558 fi
17559
17560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17561 fi
17562
17563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17564 fi
17565
17566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17567 ac_c_werror_flag=$ac_save_c_werror_flag
17568 fi
17569 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17570 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17571 if test "$ac_test_CFLAGS" = set; then
17572 CFLAGS=$ac_save_CFLAGS
17573 elif test $ac_cv_prog_cc_g = yes; then
17574 if test "$GCC" = yes; then
17575 CFLAGS="-g -O2"
17576 else
17577 CFLAGS="-g"
17578 fi
17579 else
17580 if test "$GCC" = yes; then
17581 CFLAGS="-O2"
17582 else
17583 CFLAGS=
17584 fi
17585 fi
17586 fi
17587 fi
17588
17589 case `uname -s` in
17590 AIX*)
17591
17592
17593 ac_ext=cpp
17594 ac_cpp='$CXXCPP $CPPFLAGS'
17595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17598
17599 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17600 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17601 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17602 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 else
17604 cat >conftest.$ac_ext <<_ACEOF
17605 /* confdefs.h. */
17606 _ACEOF
17607 cat confdefs.h >>conftest.$ac_ext
17608 cat >>conftest.$ac_ext <<_ACEOF
17609 /* end confdefs.h. */
17610
17611 int
17612 main ()
17613 {
17614
17615 #ifndef __xlC__
17616 choke me
17617 #endif
17618
17619 ;
17620 return 0;
17621 }
17622 _ACEOF
17623 rm -f conftest.$ac_objext
17624 if { (ac_try="$ac_compile"
17625 case "(($ac_try" in
17626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17627 *) ac_try_echo=$ac_try;;
17628 esac
17629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17630 (eval "$ac_compile") 2>conftest.er1
17631 ac_status=$?
17632 grep -v '^ *+' conftest.er1 >conftest.err
17633 rm -f conftest.er1
17634 cat conftest.err >&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); } && {
17637 test -z "$ac_cxx_werror_flag" ||
17638 test ! -s conftest.err
17639 } && test -s conftest.$ac_objext; then
17640 bakefile_cv_cxx_compiler___xlC__=yes
17641 else
17642 echo "$as_me: failed program was:" >&5
17643 sed 's/^/| /' conftest.$ac_ext >&5
17644
17645 bakefile_cv_cxx_compiler___xlC__=no
17646
17647 fi
17648
17649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650
17651
17652 fi
17653 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17654 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17655 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17656 :; XLCXX=yes
17657 else
17658 :;
17659 fi
17660 ac_ext=c
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17665
17666
17667
17668 ;;
17669
17670 Darwin)
17671
17672
17673 ac_ext=cpp
17674 ac_cpp='$CXXCPP $CPPFLAGS'
17675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17678
17679 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17680 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17681 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17682 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 else
17684 cat >conftest.$ac_ext <<_ACEOF
17685 /* confdefs.h. */
17686 _ACEOF
17687 cat confdefs.h >>conftest.$ac_ext
17688 cat >>conftest.$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17690
17691 int
17692 main ()
17693 {
17694
17695 #ifndef __MWERKS__
17696 choke me
17697 #endif
17698
17699 ;
17700 return 0;
17701 }
17702 _ACEOF
17703 rm -f conftest.$ac_objext
17704 if { (ac_try="$ac_compile"
17705 case "(($ac_try" in
17706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17707 *) ac_try_echo=$ac_try;;
17708 esac
17709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17710 (eval "$ac_compile") 2>conftest.er1
17711 ac_status=$?
17712 grep -v '^ *+' conftest.er1 >conftest.err
17713 rm -f conftest.er1
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } && {
17717 test -z "$ac_cxx_werror_flag" ||
17718 test ! -s conftest.err
17719 } && test -s conftest.$ac_objext; then
17720 bakefile_cv_cxx_compiler___MWERKS__=yes
17721 else
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17724
17725 bakefile_cv_cxx_compiler___MWERKS__=no
17726
17727 fi
17728
17729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17730
17731
17732 fi
17733 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17734 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17735 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17736 :; MWCXX=yes
17737 else
17738 :;
17739 fi
17740 ac_ext=c
17741 ac_cpp='$CPP $CPPFLAGS'
17742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17745
17746
17747
17748 if test "$MWCXX" != "yes"; then
17749
17750
17751 ac_ext=cpp
17752 ac_cpp='$CXXCPP $CPPFLAGS'
17753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17756
17757 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17758 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17759 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17760 echo $ECHO_N "(cached) $ECHO_C" >&6
17761 else
17762 cat >conftest.$ac_ext <<_ACEOF
17763 /* confdefs.h. */
17764 _ACEOF
17765 cat confdefs.h >>conftest.$ac_ext
17766 cat >>conftest.$ac_ext <<_ACEOF
17767 /* end confdefs.h. */
17768
17769 int
17770 main ()
17771 {
17772
17773 #ifndef __xlC__
17774 choke me
17775 #endif
17776
17777 ;
17778 return 0;
17779 }
17780 _ACEOF
17781 rm -f conftest.$ac_objext
17782 if { (ac_try="$ac_compile"
17783 case "(($ac_try" in
17784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17785 *) ac_try_echo=$ac_try;;
17786 esac
17787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17788 (eval "$ac_compile") 2>conftest.er1
17789 ac_status=$?
17790 grep -v '^ *+' conftest.er1 >conftest.err
17791 rm -f conftest.er1
17792 cat conftest.err >&5
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); } && {
17795 test -z "$ac_cxx_werror_flag" ||
17796 test ! -s conftest.err
17797 } && test -s conftest.$ac_objext; then
17798 bakefile_cv_cxx_compiler___xlC__=yes
17799 else
17800 echo "$as_me: failed program was:" >&5
17801 sed 's/^/| /' conftest.$ac_ext >&5
17802
17803 bakefile_cv_cxx_compiler___xlC__=no
17804
17805 fi
17806
17807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808
17809
17810 fi
17811 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17812 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17813 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17814 :; XLCXX=yes
17815 else
17816 :;
17817 fi
17818 ac_ext=c
17819 ac_cpp='$CPP $CPPFLAGS'
17820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17823
17824
17825
17826 fi
17827 ;;
17828
17829 IRIX*)
17830
17831
17832 ac_ext=cpp
17833 ac_cpp='$CXXCPP $CPPFLAGS'
17834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17837
17838 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17839 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17840 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17841 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 else
17843 cat >conftest.$ac_ext <<_ACEOF
17844 /* confdefs.h. */
17845 _ACEOF
17846 cat confdefs.h >>conftest.$ac_ext
17847 cat >>conftest.$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849
17850 int
17851 main ()
17852 {
17853
17854 #ifndef _SGI_COMPILER_VERSION
17855 choke me
17856 #endif
17857
17858 ;
17859 return 0;
17860 }
17861 _ACEOF
17862 rm -f conftest.$ac_objext
17863 if { (ac_try="$ac_compile"
17864 case "(($ac_try" in
17865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17866 *) ac_try_echo=$ac_try;;
17867 esac
17868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17869 (eval "$ac_compile") 2>conftest.er1
17870 ac_status=$?
17871 grep -v '^ *+' conftest.er1 >conftest.err
17872 rm -f conftest.er1
17873 cat conftest.err >&5
17874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); } && {
17876 test -z "$ac_cxx_werror_flag" ||
17877 test ! -s conftest.err
17878 } && test -s conftest.$ac_objext; then
17879 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17880 else
17881 echo "$as_me: failed program was:" >&5
17882 sed 's/^/| /' conftest.$ac_ext >&5
17883
17884 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17885
17886 fi
17887
17888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17889
17890
17891 fi
17892 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17893 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17894 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17895 :; SGICXX=yes
17896 else
17897 :;
17898 fi
17899 ac_ext=c
17900 ac_cpp='$CPP $CPPFLAGS'
17901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17904
17905
17906
17907 ;;
17908
17909 Linux*)
17910 if test "$INTELCXX" != "yes"; then
17911
17912
17913 ac_ext=cpp
17914 ac_cpp='$CXXCPP $CPPFLAGS'
17915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17918
17919 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17920 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17921 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17922 echo $ECHO_N "(cached) $ECHO_C" >&6
17923 else
17924 cat >conftest.$ac_ext <<_ACEOF
17925 /* confdefs.h. */
17926 _ACEOF
17927 cat confdefs.h >>conftest.$ac_ext
17928 cat >>conftest.$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930
17931 int
17932 main ()
17933 {
17934
17935 #ifndef __SUNPRO_CC
17936 choke me
17937 #endif
17938
17939 ;
17940 return 0;
17941 }
17942 _ACEOF
17943 rm -f conftest.$ac_objext
17944 if { (ac_try="$ac_compile"
17945 case "(($ac_try" in
17946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17947 *) ac_try_echo=$ac_try;;
17948 esac
17949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17950 (eval "$ac_compile") 2>conftest.er1
17951 ac_status=$?
17952 grep -v '^ *+' conftest.er1 >conftest.err
17953 rm -f conftest.er1
17954 cat conftest.err >&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && {
17957 test -z "$ac_cxx_werror_flag" ||
17958 test ! -s conftest.err
17959 } && test -s conftest.$ac_objext; then
17960 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17961 else
17962 echo "$as_me: failed program was:" >&5
17963 sed 's/^/| /' conftest.$ac_ext >&5
17964
17965 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17966
17967 fi
17968
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970
17971
17972 fi
17973 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17974 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17975 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17976 :; SUNCXX=yes
17977 else
17978 :;
17979 fi
17980 ac_ext=c
17981 ac_cpp='$CPP $CPPFLAGS'
17982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17985
17986
17987
17988 fi
17989 ;;
17990
17991 HP-UX*)
17992
17993
17994 ac_ext=cpp
17995 ac_cpp='$CXXCPP $CPPFLAGS'
17996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17999
18000 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18001 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18002 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18003 echo $ECHO_N "(cached) $ECHO_C" >&6
18004 else
18005 cat >conftest.$ac_ext <<_ACEOF
18006 /* confdefs.h. */
18007 _ACEOF
18008 cat confdefs.h >>conftest.$ac_ext
18009 cat >>conftest.$ac_ext <<_ACEOF
18010 /* end confdefs.h. */
18011
18012 int
18013 main ()
18014 {
18015
18016 #ifndef __HP_aCC
18017 choke me
18018 #endif
18019
18020 ;
18021 return 0;
18022 }
18023 _ACEOF
18024 rm -f conftest.$ac_objext
18025 if { (ac_try="$ac_compile"
18026 case "(($ac_try" in
18027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18028 *) ac_try_echo=$ac_try;;
18029 esac
18030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18031 (eval "$ac_compile") 2>conftest.er1
18032 ac_status=$?
18033 grep -v '^ *+' conftest.er1 >conftest.err
18034 rm -f conftest.er1
18035 cat conftest.err >&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); } && {
18038 test -z "$ac_cxx_werror_flag" ||
18039 test ! -s conftest.err
18040 } && test -s conftest.$ac_objext; then
18041 bakefile_cv_cxx_compiler___HP_aCC=yes
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18045
18046 bakefile_cv_cxx_compiler___HP_aCC=no
18047
18048 fi
18049
18050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18051
18052
18053 fi
18054 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18055 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18056 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18057 :; HPCXX=yes
18058 else
18059 :;
18060 fi
18061 ac_ext=c
18062 ac_cpp='$CPP $CPPFLAGS'
18063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18066
18067
18068
18069 ;;
18070
18071 OSF1)
18072
18073
18074 ac_ext=cpp
18075 ac_cpp='$CXXCPP $CPPFLAGS'
18076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18079
18080 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18081 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18082 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 else
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h. */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091
18092 int
18093 main ()
18094 {
18095
18096 #ifndef __DECCXX
18097 choke me
18098 #endif
18099
18100 ;
18101 return 0;
18102 }
18103 _ACEOF
18104 rm -f conftest.$ac_objext
18105 if { (ac_try="$ac_compile"
18106 case "(($ac_try" in
18107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18108 *) ac_try_echo=$ac_try;;
18109 esac
18110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18111 (eval "$ac_compile") 2>conftest.er1
18112 ac_status=$?
18113 grep -v '^ *+' conftest.er1 >conftest.err
18114 rm -f conftest.er1
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } && {
18118 test -z "$ac_cxx_werror_flag" ||
18119 test ! -s conftest.err
18120 } && test -s conftest.$ac_objext; then
18121 bakefile_cv_cxx_compiler___DECCXX=yes
18122 else
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18125
18126 bakefile_cv_cxx_compiler___DECCXX=no
18127
18128 fi
18129
18130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18131
18132
18133 fi
18134 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18135 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18136 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18137 :; COMPAQCXX=yes
18138 else
18139 :;
18140 fi
18141 ac_ext=c
18142 ac_cpp='$CPP $CPPFLAGS'
18143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18146
18147
18148
18149 ;;
18150
18151 SunOS)
18152
18153
18154 ac_ext=cpp
18155 ac_cpp='$CXXCPP $CPPFLAGS'
18156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18159
18160 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18161 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18162 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18163 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 else
18165 cat >conftest.$ac_ext <<_ACEOF
18166 /* confdefs.h. */
18167 _ACEOF
18168 cat confdefs.h >>conftest.$ac_ext
18169 cat >>conftest.$ac_ext <<_ACEOF
18170 /* end confdefs.h. */
18171
18172 int
18173 main ()
18174 {
18175
18176 #ifndef __SUNPRO_CC
18177 choke me
18178 #endif
18179
18180 ;
18181 return 0;
18182 }
18183 _ACEOF
18184 rm -f conftest.$ac_objext
18185 if { (ac_try="$ac_compile"
18186 case "(($ac_try" in
18187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18188 *) ac_try_echo=$ac_try;;
18189 esac
18190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18191 (eval "$ac_compile") 2>conftest.er1
18192 ac_status=$?
18193 grep -v '^ *+' conftest.er1 >conftest.err
18194 rm -f conftest.er1
18195 cat conftest.err >&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); } && {
18198 test -z "$ac_cxx_werror_flag" ||
18199 test ! -s conftest.err
18200 } && test -s conftest.$ac_objext; then
18201 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18202 else
18203 echo "$as_me: failed program was:" >&5
18204 sed 's/^/| /' conftest.$ac_ext >&5
18205
18206 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18207
18208 fi
18209
18210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18211
18212
18213 fi
18214 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18215 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18216 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18217 :; SUNCXX=yes
18218 else
18219 :;
18220 fi
18221 ac_ext=c
18222 ac_cpp='$CPP $CPPFLAGS'
18223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18226
18227
18228
18229 ;;
18230 esac
18231 fi
18232
18233
18234
18235 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18236 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18237 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18238 { (exit 1); exit 1; }; }
18239 fi
18240
18241 if test "x$SUNCXX" != xyes; then
18242 if test -n "$ac_tool_prefix"; then
18243 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18244 set dummy ${ac_tool_prefix}ar; ac_word=$2
18245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18247 if test "${ac_cv_prog_AR+set}" = set; then
18248 echo $ECHO_N "(cached) $ECHO_C" >&6
18249 else
18250 if test -n "$AR"; then
18251 ac_cv_prog_AR="$AR" # Let the user override the test.
18252 else
18253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18254 for as_dir in $PATH
18255 do
18256 IFS=$as_save_IFS
18257 test -z "$as_dir" && as_dir=.
18258 for ac_exec_ext in '' $ac_executable_extensions; do
18259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18260 ac_cv_prog_AR="${ac_tool_prefix}ar"
18261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18262 break 2
18263 fi
18264 done
18265 done
18266 IFS=$as_save_IFS
18267
18268 fi
18269 fi
18270 AR=$ac_cv_prog_AR
18271 if test -n "$AR"; then
18272 { echo "$as_me:$LINENO: result: $AR" >&5
18273 echo "${ECHO_T}$AR" >&6; }
18274 else
18275 { echo "$as_me:$LINENO: result: no" >&5
18276 echo "${ECHO_T}no" >&6; }
18277 fi
18278
18279
18280 fi
18281 if test -z "$ac_cv_prog_AR"; then
18282 ac_ct_AR=$AR
18283 # Extract the first word of "ar", so it can be a program name with args.
18284 set dummy ar; ac_word=$2
18285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18287 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18288 echo $ECHO_N "(cached) $ECHO_C" >&6
18289 else
18290 if test -n "$ac_ct_AR"; then
18291 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18292 else
18293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18294 for as_dir in $PATH
18295 do
18296 IFS=$as_save_IFS
18297 test -z "$as_dir" && as_dir=.
18298 for ac_exec_ext in '' $ac_executable_extensions; do
18299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18300 ac_cv_prog_ac_ct_AR="ar"
18301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18302 break 2
18303 fi
18304 done
18305 done
18306 IFS=$as_save_IFS
18307
18308 fi
18309 fi
18310 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18311 if test -n "$ac_ct_AR"; then
18312 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18313 echo "${ECHO_T}$ac_ct_AR" >&6; }
18314 else
18315 { echo "$as_me:$LINENO: result: no" >&5
18316 echo "${ECHO_T}no" >&6; }
18317 fi
18318
18319 if test "x$ac_ct_AR" = x; then
18320 AR=""
18321 else
18322 case $cross_compiling:$ac_tool_warned in
18323 yes:)
18324 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18325 whose name does not start with the host triplet. If you think this
18326 configuration is useful to you, please write to autoconf@gnu.org." >&5
18327 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18328 whose name does not start with the host triplet. If you think this
18329 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18330 ac_tool_warned=yes ;;
18331 esac
18332 AR=$ac_ct_AR
18333 fi
18334 else
18335 AR="$ac_cv_prog_AR"
18336 fi
18337
18338 if test "x$AR" = "x" ; then
18339 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18340 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18341 { (exit 1); exit 1; }; }
18342 fi
18343 fi
18344
18345
18346 if test "$wxUSE_MAC" = 1; then
18347
18348 retest_macosx_linking=no
18349
18350 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18351 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18352 # Implicitly turn on the new --with-macosx-sdk using the default
18353 # SDK which provides the behavior this option has always had.
18354 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18355 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18356 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18357 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18358 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18359 wxUSE_MACOSX_SDK=yes
18360 fi
18361 else
18362 # Complain to user if he specified an argument to --enable-universal_binary
18363 # and also 1) specified --with-macosx-sdk using the default (yes) or
18364 # 2) specified --with-macosx-sdk using a path or 3) specified
18365 # --without-macosx-sdk (no).
18366 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18367 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18368 See \`config.log' for more details." >&5
18369 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18370 See \`config.log' for more details." >&2;}
18371 { (exit 1); exit 1; }; }
18372 else
18373 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18374 # special-case the empty string because the below test simply
18375 # converts "no" to the empty string anyway.
18376 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18377 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18378 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18379 fi
18380 fi
18381 OSX_UNIV_OPTS="-arch ppc -arch i386"
18382 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18383 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18384 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18385 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18386 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18387 retest_macosx_linking=yes
18388
18389 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18390 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18391 bk_use_pch=no
18392 fi
18393
18394 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18395 wxUSE_MACOSX_SDK=
18396 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18397 # TODO: Search for most recent SDK and use it.
18398 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18399 fi
18400
18401
18402 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18403 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18404 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18405 if ! test -d "$wxUSE_MACOSX_SDK"; then
18406 { { echo "$as_me:$LINENO: error: not found
18407 See \`config.log' for more details." >&5
18408 echo "$as_me: error: not found
18409 See \`config.log' for more details." >&2;}
18410 { (exit 1); exit 1; }; }
18411 else
18412 { echo "$as_me:$LINENO: result: exists" >&5
18413 echo "${ECHO_T}exists" >&6; }
18414 fi
18415 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18416 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18417 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18418 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18419 retest_macosx_linking=yes
18420 fi
18421
18422 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18423 wxUSE_MACOSX_VERSION_MIN=
18424 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18425 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18426 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18427 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18428
18429 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/'`
18430
18431 # If that failed, try again with the new key
18432 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18433
18434 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/'`
18435
18436 fi
18437
18438 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18439 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18440 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18441 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18442 else
18443 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18444 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18445 wxUSE_MACOSX_VERSION_MIN=
18446 fi
18447 else
18448 wxUSE_MACOSX_VERSION_MIN=
18449 fi
18450 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18451 for ac_prog in sw_vers
18452 do
18453 # Extract the first word of "$ac_prog", so it can be a program name with args.
18454 set dummy $ac_prog; ac_word=$2
18455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18457 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
18458 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 else
18460 if test -n "$OSX_SW_VERS"; then
18461 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
18462 else
18463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18464 for as_dir in $PATH
18465 do
18466 IFS=$as_save_IFS
18467 test -z "$as_dir" && as_dir=.
18468 for ac_exec_ext in '' $ac_executable_extensions; do
18469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18470 ac_cv_prog_OSX_SW_VERS="$ac_prog"
18471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18472 break 2
18473 fi
18474 done
18475 done
18476 IFS=$as_save_IFS
18477
18478 fi
18479 fi
18480 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
18481 if test -n "$OSX_SW_VERS"; then
18482 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
18483 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
18484 else
18485 { echo "$as_me:$LINENO: result: no" >&5
18486 echo "${ECHO_T}no" >&6; }
18487 fi
18488
18489
18490 test -n "$OSX_SW_VERS" && break
18491 done
18492
18493 if test "$OSX_SW_VERS" != ""; then
18494 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18495 else
18496 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
18497 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
18498 OSX_VERSION="10.4"
18499 fi
18500
18501 case "$OSX_VERSION" in
18502 10.4* )
18503 wxUSE_MACOSX_VERSION_MIN=10.4
18504 ;;
18505
18506 * )
18507 if test "$wxUSE_OSX_CARBON" = 1; then
18508 # otherwise configure stops on leopard for universal_binary
18509 wxUSE_MACOSX_VERSION_MIN=10.4
18510 else
18511 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
18512 wxUSE_MACOSX_VERSION_MIN=10.5
18513 fi
18514 ;;
18515 esac
18516 fi
18517
18518 NEEDS_GCC40="no"
18519 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18520 NEEDS_GCC40="yes"
18521 fi
18522
18523 if test "$wxUSE_OSX_CARBON" = 1; then
18524 NEEDS_GCC40="yes"
18525 fi
18526
18527 if test "x$NEEDS_GCC40" == "xyes"; then
18528 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18529 # and wants 10.4 compatible code, then 'downgrade' to 4.0
18530 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18531 if test "x$CC" = "xgcc"; then
18532 CCVERSION=`$CC --version | grep 4.[2-9].`
18533 if test "x$CCVERSION" != "x"; then
18534 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18535 CC="/usr/bin/gcc-4.0"
18536 fi
18537 fi
18538
18539 if test "x$CXX" = "xg++"; then
18540 CCVERSION=`$CXX --version | grep 4.[2-9].`
18541 if test "x$CCVERSION" != "x"; then
18542 CXX="/usr/bin/g++-4.0"
18543 fi
18544 fi
18545 fi
18546
18547 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18548 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18549 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18550 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18551 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18552 retest_macosx_linking=yes
18553 fi
18554
18555 if test "x$retest_macosx_linking" = "xyes"; then
18556 ac_ext=c
18557 ac_cpp='$CPP $CPPFLAGS'
18558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18561
18562 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18563 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18564 cat >conftest.$ac_ext <<_ACEOF
18565 /* confdefs.h. */
18566 _ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570
18571 int
18572 main ()
18573 {
18574
18575 ;
18576 return 0;
18577 }
18578 _ACEOF
18579 rm -f conftest.$ac_objext conftest$ac_exeext
18580 if { (ac_try="$ac_link"
18581 case "(($ac_try" in
18582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18583 *) ac_try_echo=$ac_try;;
18584 esac
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_link") 2>conftest.er1
18587 ac_status=$?
18588 grep -v '^ *+' conftest.er1 >conftest.err
18589 rm -f conftest.er1
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } && {
18593 test -z "$ac_c_werror_flag" ||
18594 test ! -s conftest.err
18595 } && test -s conftest$ac_exeext &&
18596 $as_test_x conftest$ac_exeext; then
18597 { echo "$as_me:$LINENO: result: yes" >&5
18598 echo "${ECHO_T}yes" >&6; }
18599 else
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.$ac_ext >&5
18602
18603 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18604 See \`config.log' for more details." >&5
18605 echo "$as_me: error: no. Try a different SDK
18606 See \`config.log' for more details." >&2;}
18607 { (exit 1); exit 1; }; }; exit 1
18608 fi
18609
18610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18611 conftest$ac_exeext conftest.$ac_ext
18612 ac_ext=c
18613 ac_cpp='$CPP $CPPFLAGS'
18614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18617
18618
18619 ac_ext=cpp
18620 ac_cpp='$CXXCPP $CPPFLAGS'
18621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18624
18625 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18626 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18627 cat >conftest.$ac_ext <<_ACEOF
18628 /* confdefs.h. */
18629 _ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633
18634 int
18635 main ()
18636 {
18637
18638 ;
18639 return 0;
18640 }
18641 _ACEOF
18642 rm -f conftest.$ac_objext conftest$ac_exeext
18643 if { (ac_try="$ac_link"
18644 case "(($ac_try" in
18645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18646 *) ac_try_echo=$ac_try;;
18647 esac
18648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18649 (eval "$ac_link") 2>conftest.er1
18650 ac_status=$?
18651 grep -v '^ *+' conftest.er1 >conftest.err
18652 rm -f conftest.er1
18653 cat conftest.err >&5
18654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18655 (exit $ac_status); } && {
18656 test -z "$ac_cxx_werror_flag" ||
18657 test ! -s conftest.err
18658 } && test -s conftest$ac_exeext &&
18659 $as_test_x conftest$ac_exeext; then
18660 { echo "$as_me:$LINENO: result: yes" >&5
18661 echo "${ECHO_T}yes" >&6; }
18662 else
18663 echo "$as_me: failed program was:" >&5
18664 sed 's/^/| /' conftest.$ac_ext >&5
18665
18666 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18667 See \`config.log' for more details." >&5
18668 echo "$as_me: error: no. Try a different SDK
18669 See \`config.log' for more details." >&2;}
18670 { (exit 1); exit 1; }; }; exit 1
18671 fi
18672
18673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18674 conftest$ac_exeext conftest.$ac_ext
18675 ac_ext=c
18676 ac_cpp='$CPP $CPPFLAGS'
18677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18680
18681 fi
18682
18683 fi
18684 case "${host}" in
18685
18686 *-*-darwin* )
18687 INSTALL_PROGRAM="cp -fp"
18688 INSTALL_DATA="cp -fp"
18689 ;;
18690 *)
18691 ;;
18692 esac
18693
18694
18695 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18696 CXXFLAGS="-qunique $CXXFLAGS"
18697 fi
18698
18699 case "${host}" in
18700 powerpc-*-darwin* )
18701 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18702 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18703 cat >conftest.$ac_ext <<_ACEOF
18704 /* confdefs.h. */
18705 _ACEOF
18706 cat confdefs.h >>conftest.$ac_ext
18707 cat >>conftest.$ac_ext <<_ACEOF
18708 /* end confdefs.h. */
18709
18710 int
18711 main ()
18712 {
18713 #ifndef __POWERPC__
18714 choke me for lack of PowerPC
18715 #endif
18716
18717 ;
18718 return 0;
18719 }
18720 _ACEOF
18721 rm -f conftest.$ac_objext
18722 if { (ac_try="$ac_compile"
18723 case "(($ac_try" in
18724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18725 *) ac_try_echo=$ac_try;;
18726 esac
18727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18728 (eval "$ac_compile") 2>conftest.er1
18729 ac_status=$?
18730 grep -v '^ *+' conftest.er1 >conftest.err
18731 rm -f conftest.er1
18732 cat conftest.err >&5
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); } && {
18735 test -z "$ac_c_werror_flag" ||
18736 test ! -s conftest.err
18737 } && test -s conftest.$ac_objext; then
18738 { echo "$as_me:$LINENO: result: yes" >&5
18739 echo "${ECHO_T}yes" >&6; }
18740 else
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18743
18744 { echo "$as_me:$LINENO: result: no" >&5
18745 echo "${ECHO_T}no" >&6; }
18746 cat >>confdefs.h <<\_ACEOF
18747 #define __POWERPC__ 1
18748 _ACEOF
18749
18750
18751 fi
18752
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18754 ;;
18755 esac
18756
18757 case "${host}" in
18758 *-*-darwin* )
18759 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18760 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18761 cat >conftest.$ac_ext <<_ACEOF
18762 /* confdefs.h. */
18763 _ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 #include <CoreFoundation/CFBase.h>
18768
18769 int
18770 main ()
18771 {
18772
18773 ;
18774 return 0;
18775 }
18776 _ACEOF
18777 rm -f conftest.$ac_objext
18778 if { (ac_try="$ac_compile"
18779 case "(($ac_try" in
18780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18781 *) ac_try_echo=$ac_try;;
18782 esac
18783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18784 (eval "$ac_compile") 2>conftest.er1
18785 ac_status=$?
18786 grep -v '^ *+' conftest.er1 >conftest.err
18787 rm -f conftest.er1
18788 cat conftest.err >&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); } && {
18791 test -z "$ac_c_werror_flag" ||
18792 test ! -s conftest.err
18793 } && test -s conftest.$ac_objext; then
18794 { echo "$as_me:$LINENO: result: yes" >&5
18795 echo "${ECHO_T}yes" >&6; }
18796 else
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18799
18800 { echo "$as_me:$LINENO: result: no" >&5
18801 echo "${ECHO_T}no" >&6; }
18802 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18803 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18804 cat >conftest.$ac_ext <<_ACEOF
18805 /* confdefs.h. */
18806 _ACEOF
18807 cat confdefs.h >>conftest.$ac_ext
18808 cat >>conftest.$ac_ext <<_ACEOF
18809 /* end confdefs.h. */
18810 #define __CF_USE_FRAMEWORK_INCLUDES__
18811 #include <CoreFoundation/CFBase.h>
18812
18813 int
18814 main ()
18815 {
18816
18817 ;
18818 return 0;
18819 }
18820 _ACEOF
18821 rm -f conftest.$ac_objext
18822 if { (ac_try="$ac_compile"
18823 case "(($ac_try" in
18824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18825 *) ac_try_echo=$ac_try;;
18826 esac
18827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18828 (eval "$ac_compile") 2>conftest.er1
18829 ac_status=$?
18830 grep -v '^ *+' conftest.er1 >conftest.err
18831 rm -f conftest.er1
18832 cat conftest.err >&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); } && {
18835 test -z "$ac_c_werror_flag" ||
18836 test ! -s conftest.err
18837 } && test -s conftest.$ac_objext; then
18838 { echo "$as_me:$LINENO: result: yes" >&5
18839 echo "${ECHO_T}yes" >&6; }
18840 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18841 else
18842 echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.$ac_ext >&5
18844
18845 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18846 See \`config.log' for more details." >&5
18847 echo "$as_me: error: no. CoreFoundation not available.
18848 See \`config.log' for more details." >&2;}
18849 { (exit 1); exit 1; }; }
18850
18851 fi
18852
18853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18854
18855
18856 fi
18857
18858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18859 ;;
18860 esac
18861
18862 wants_win32=0
18863 doesnt_want_win32=0
18864 case "${host}" in
18865 *-*-cygwin*)
18866 if test "$wxUSE_MSW" = 1 ; then
18867 wants_win32=1
18868 else
18869 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18870 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18871 if test "${wx_cv_nocygwin+set}" = set; then
18872 echo $ECHO_N "(cached) $ECHO_C" >&6
18873 else
18874
18875 cat >conftest.$ac_ext <<_ACEOF
18876 /* confdefs.h. */
18877 _ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881
18882 int
18883 main ()
18884 {
18885
18886 #ifdef __MINGW32__
18887 choke me
18888 #endif
18889
18890 ;
18891 return 0;
18892 }
18893 _ACEOF
18894 rm -f conftest.$ac_objext
18895 if { (ac_try="$ac_compile"
18896 case "(($ac_try" in
18897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18898 *) ac_try_echo=$ac_try;;
18899 esac
18900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18901 (eval "$ac_compile") 2>conftest.er1
18902 ac_status=$?
18903 grep -v '^ *+' conftest.er1 >conftest.err
18904 rm -f conftest.er1
18905 cat conftest.err >&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); } && {
18908 test -z "$ac_c_werror_flag" ||
18909 test ! -s conftest.err
18910 } && test -s conftest.$ac_objext; then
18911 wx_cv_nocygwin=no
18912 else
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18915
18916 wx_cv_nocygwin=yes
18917
18918 fi
18919
18920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18921
18922
18923 fi
18924 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18925 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18926
18927 if test "$wx_cv_nocygwin" = "yes"; then
18928 wants_win32=1
18929 else
18930 doesnt_want_win32=1
18931 fi
18932 fi
18933 if test "$wants_win32" = 1 ; then
18934 BAKEFILE_FORCE_PLATFORM=win32
18935 fi
18936 ;;
18937 *-*-mingw*)
18938 wants_win32=1
18939 ;;
18940 esac
18941
18942 if test "$wxUSE_WINE" = "yes"; then
18943 wants_win32=1
18944 LDFLAGS_GUI="-mwindows"
18945 fi
18946
18947 if test "$wants_win32" = 1 ; then
18948 USE_UNIX=0
18949 USE_WIN32=1
18950 cat >>confdefs.h <<\_ACEOF
18951 #define __WIN32__ 1
18952 _ACEOF
18953
18954 cat >>confdefs.h <<\_ACEOF
18955 #define __WIN95__ 1
18956 _ACEOF
18957
18958 cat >>confdefs.h <<\_ACEOF
18959 #define __WINDOWS__ 1
18960 _ACEOF
18961
18962 cat >>confdefs.h <<\_ACEOF
18963 #define __GNUWIN32__ 1
18964 _ACEOF
18965
18966 cat >>confdefs.h <<\_ACEOF
18967 #define STRICT 1
18968 _ACEOF
18969
18970 fi
18971 if test "$doesnt_want_win32" = 1 ; then
18972 USE_UNIX=1
18973 USE_WIN32=0
18974 fi
18975
18976 if test "$USE_UNIX" = 1 ; then
18977 wxUSE_UNIX=yes
18978 cat >>confdefs.h <<\_ACEOF
18979 #define __UNIX__ 1
18980 _ACEOF
18981
18982 fi
18983
18984 case "${host}" in
18985 *-pc-os2_emx | *-pc-os2-emx )
18986 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18987 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18988 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18989 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 else
18992 ac_check_lib_save_LIBS=$LIBS
18993 LIBS="-lcExt $LIBS"
18994 cat >conftest.$ac_ext <<_ACEOF
18995 /* confdefs.h. */
18996 _ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19000
19001 /* Override any GCC internal prototype to avoid an error.
19002 Use char because int might match the return type of a GCC
19003 builtin and then its argument prototype would still apply. */
19004 #ifdef __cplusplus
19005 extern "C"
19006 #endif
19007 char drand48 ();
19008 int
19009 main ()
19010 {
19011 return drand48 ();
19012 ;
19013 return 0;
19014 }
19015 _ACEOF
19016 rm -f conftest.$ac_objext conftest$ac_exeext
19017 if { (ac_try="$ac_link"
19018 case "(($ac_try" in
19019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19020 *) ac_try_echo=$ac_try;;
19021 esac
19022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19023 (eval "$ac_link") 2>conftest.er1
19024 ac_status=$?
19025 grep -v '^ *+' conftest.er1 >conftest.err
19026 rm -f conftest.er1
19027 cat conftest.err >&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); } && {
19030 test -z "$ac_c_werror_flag" ||
19031 test ! -s conftest.err
19032 } && test -s conftest$ac_exeext &&
19033 $as_test_x conftest$ac_exeext; then
19034 ac_cv_lib_cExt_drand48=yes
19035 else
19036 echo "$as_me: failed program was:" >&5
19037 sed 's/^/| /' conftest.$ac_ext >&5
19038
19039 ac_cv_lib_cExt_drand48=no
19040 fi
19041
19042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19043 conftest$ac_exeext conftest.$ac_ext
19044 LIBS=$ac_check_lib_save_LIBS
19045 fi
19046 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19047 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19048 if test $ac_cv_lib_cExt_drand48 = yes; then
19049 LIBS="$LIBS -lcExt"
19050 fi
19051
19052 else
19053 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19054 fi
19055 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19056 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19057 if test "${wx_cv_gccversion+set}" = set; then
19058 echo $ECHO_N "(cached) $ECHO_C" >&6
19059 else
19060
19061 if test "$cross_compiling" = yes; then
19062 wx_cv_gccversion="EMX2"
19063
19064 else
19065 cat >conftest.$ac_ext <<_ACEOF
19066 /* confdefs.h. */
19067 _ACEOF
19068 cat confdefs.h >>conftest.$ac_ext
19069 cat >>conftest.$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19071
19072 #include <stdio.h>
19073
19074 int main()
19075 {
19076 FILE *f=fopen("conftestval", "w");
19077 if (!f) exit(1);
19078 fprintf(f,
19079 #if (__GNUC__ < 3)
19080 "EMX2"
19081 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19082 "EMX3"
19083 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19084 "Innotek5"
19085 #else
19086 "Innotek6"
19087 #endif
19088 );
19089 exit(0);
19090 }
19091
19092 _ACEOF
19093 rm -f conftest$ac_exeext
19094 if { (ac_try="$ac_link"
19095 case "(($ac_try" in
19096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19097 *) ac_try_echo=$ac_try;;
19098 esac
19099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19100 (eval "$ac_link") 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19104 { (case "(($ac_try" in
19105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19106 *) ac_try_echo=$ac_try;;
19107 esac
19108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19109 (eval "$ac_try") 2>&5
19110 ac_status=$?
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); }; }; then
19113 wx_cv_gccversion=`cat conftestval`
19114 else
19115 echo "$as_me: program exited with status $ac_status" >&5
19116 echo "$as_me: failed program was:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19118
19119 ( exit $ac_status )
19120 wx_cv_gccversion="EMX2"
19121 fi
19122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19123 fi
19124
19125
19126
19127 fi
19128 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19129 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19130 if test "$wx_cv_gccversion" = "EMX2"; then
19131 LIBS="$LIBS -lstdcpp"
19132 LDFLAGS="$LDFLAGS -Zsysv-signals"
19133 else
19134 if test "$wx_cv_gccversion" = "EMX3"; then
19135 LIBS="$LIBS -lstdcxx -lgcc"
19136 LDFLAGS="$LDFLAGS -Zsysv-signals"
19137 else
19138 LIBS="$LIBS -lstdc++"
19139 fi
19140 fi
19141 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19142 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19143 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19144 wxUSE_OMF=yes
19145 enable_omf=yes
19146 fi
19147 ;;
19148 *)
19149
19150 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19151 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19152 if test "${ac_cv_string_strcasecmp+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 else
19155
19156 cat >conftest.$ac_ext <<_ACEOF
19157 /* confdefs.h. */
19158 _ACEOF
19159 cat confdefs.h >>conftest.$ac_ext
19160 cat >>conftest.$ac_ext <<_ACEOF
19161 /* end confdefs.h. */
19162
19163 #include <string.h>
19164
19165 int
19166 main ()
19167 {
19168
19169 strcasecmp("foo", "bar");
19170
19171 ;
19172 return 0;
19173 }
19174 _ACEOF
19175 rm -f conftest.$ac_objext conftest$ac_exeext
19176 if { (ac_try="$ac_link"
19177 case "(($ac_try" in
19178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19179 *) ac_try_echo=$ac_try;;
19180 esac
19181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19182 (eval "$ac_link") 2>conftest.er1
19183 ac_status=$?
19184 grep -v '^ *+' conftest.er1 >conftest.err
19185 rm -f conftest.er1
19186 cat conftest.err >&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } && {
19189 test -z "$ac_c_werror_flag" ||
19190 test ! -s conftest.err
19191 } && test -s conftest$ac_exeext &&
19192 $as_test_x conftest$ac_exeext; then
19193 ac_cv_string_strcasecmp=yes
19194 else
19195 echo "$as_me: failed program was:" >&5
19196 sed 's/^/| /' conftest.$ac_ext >&5
19197
19198 ac_cv_string_strcasecmp=no
19199
19200 fi
19201
19202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19203 conftest$ac_exeext conftest.$ac_ext
19204
19205 fi
19206 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19207 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19208
19209 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19210 cat >>confdefs.h <<\_ACEOF
19211 #define HAVE_STRCASECMP_IN_STRING_H 1
19212 _ACEOF
19213
19214 else
19215 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19216 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19217 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 else
19220
19221 cat >conftest.$ac_ext <<_ACEOF
19222 /* confdefs.h. */
19223 _ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227
19228 #include <strings.h>
19229
19230 int
19231 main ()
19232 {
19233
19234 strcasecmp("foo", "bar");
19235
19236 ;
19237 return 0;
19238 }
19239 _ACEOF
19240 rm -f conftest.$ac_objext conftest$ac_exeext
19241 if { (ac_try="$ac_link"
19242 case "(($ac_try" in
19243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19245 esac
19246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_link") 2>conftest.er1
19248 ac_status=$?
19249 grep -v '^ *+' conftest.er1 >conftest.err
19250 rm -f conftest.er1
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_c_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest$ac_exeext &&
19257 $as_test_x conftest$ac_exeext; then
19258 ac_cv_strings_strcasecmp=yes
19259 else
19260 echo "$as_me: failed program was:" >&5
19261 sed 's/^/| /' conftest.$ac_ext >&5
19262
19263 ac_cv_strings_strcasecmp=no
19264
19265 fi
19266
19267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19268 conftest$ac_exeext conftest.$ac_ext
19269
19270 fi
19271 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19272 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19273
19274 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19275 cat >>confdefs.h <<\_ACEOF
19276 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19277 _ACEOF
19278
19279 else
19280 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19281 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19282 { (exit 1); exit 1; }; }
19283 fi
19284 fi
19285
19286 ;;
19287 esac
19288
19289
19290 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19291 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19292 if test "${ac_cv_header_stdc+set}" = set; then
19293 echo $ECHO_N "(cached) $ECHO_C" >&6
19294 else
19295 cat >conftest.$ac_ext <<_ACEOF
19296 /* confdefs.h. */
19297 _ACEOF
19298 cat confdefs.h >>conftest.$ac_ext
19299 cat >>conftest.$ac_ext <<_ACEOF
19300 /* end confdefs.h. */
19301 #include <stdlib.h>
19302 #include <stdarg.h>
19303 #include <string.h>
19304 #include <float.h>
19305
19306 int
19307 main ()
19308 {
19309
19310 ;
19311 return 0;
19312 }
19313 _ACEOF
19314 rm -f conftest.$ac_objext
19315 if { (ac_try="$ac_compile"
19316 case "(($ac_try" in
19317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19318 *) ac_try_echo=$ac_try;;
19319 esac
19320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19321 (eval "$ac_compile") 2>conftest.er1
19322 ac_status=$?
19323 grep -v '^ *+' conftest.er1 >conftest.err
19324 rm -f conftest.er1
19325 cat conftest.err >&5
19326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 (exit $ac_status); } && {
19328 test -z "$ac_c_werror_flag" ||
19329 test ! -s conftest.err
19330 } && test -s conftest.$ac_objext; then
19331 ac_cv_header_stdc=yes
19332 else
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19335
19336 ac_cv_header_stdc=no
19337 fi
19338
19339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19340
19341 if test $ac_cv_header_stdc = yes; then
19342 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19343 cat >conftest.$ac_ext <<_ACEOF
19344 /* confdefs.h. */
19345 _ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19349 #include <string.h>
19350
19351 _ACEOF
19352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19353 $EGREP "memchr" >/dev/null 2>&1; then
19354 :
19355 else
19356 ac_cv_header_stdc=no
19357 fi
19358 rm -f conftest*
19359
19360 fi
19361
19362 if test $ac_cv_header_stdc = yes; then
19363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19364 cat >conftest.$ac_ext <<_ACEOF
19365 /* confdefs.h. */
19366 _ACEOF
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19370 #include <stdlib.h>
19371
19372 _ACEOF
19373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19374 $EGREP "free" >/dev/null 2>&1; then
19375 :
19376 else
19377 ac_cv_header_stdc=no
19378 fi
19379 rm -f conftest*
19380
19381 fi
19382
19383 if test $ac_cv_header_stdc = yes; then
19384 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19385 if test "$cross_compiling" = yes; then
19386 :
19387 else
19388 cat >conftest.$ac_ext <<_ACEOF
19389 /* confdefs.h. */
19390 _ACEOF
19391 cat confdefs.h >>conftest.$ac_ext
19392 cat >>conftest.$ac_ext <<_ACEOF
19393 /* end confdefs.h. */
19394 #include <ctype.h>
19395 #include <stdlib.h>
19396 #if ((' ' & 0x0FF) == 0x020)
19397 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19398 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19399 #else
19400 # define ISLOWER(c) \
19401 (('a' <= (c) && (c) <= 'i') \
19402 || ('j' <= (c) && (c) <= 'r') \
19403 || ('s' <= (c) && (c) <= 'z'))
19404 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19405 #endif
19406
19407 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19408 int
19409 main ()
19410 {
19411 int i;
19412 for (i = 0; i < 256; i++)
19413 if (XOR (islower (i), ISLOWER (i))
19414 || toupper (i) != TOUPPER (i))
19415 return 2;
19416 return 0;
19417 }
19418 _ACEOF
19419 rm -f conftest$ac_exeext
19420 if { (ac_try="$ac_link"
19421 case "(($ac_try" in
19422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19423 *) ac_try_echo=$ac_try;;
19424 esac
19425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19426 (eval "$ac_link") 2>&5
19427 ac_status=$?
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19430 { (case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19433 esac
19434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_try") 2>&5
19436 ac_status=$?
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; }; then
19439 :
19440 else
19441 echo "$as_me: program exited with status $ac_status" >&5
19442 echo "$as_me: failed program was:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19444
19445 ( exit $ac_status )
19446 ac_cv_header_stdc=no
19447 fi
19448 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19449 fi
19450
19451
19452 fi
19453 fi
19454 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19455 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19456 if test $ac_cv_header_stdc = yes; then
19457
19458 cat >>confdefs.h <<\_ACEOF
19459 #define STDC_HEADERS 1
19460 _ACEOF
19461
19462 fi
19463
19464 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19475 inttypes.h stdint.h unistd.h
19476 do
19477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19481 echo $ECHO_N "(cached) $ECHO_C" >&6
19482 else
19483 cat >conftest.$ac_ext <<_ACEOF
19484 /* confdefs.h. */
19485 _ACEOF
19486 cat confdefs.h >>conftest.$ac_ext
19487 cat >>conftest.$ac_ext <<_ACEOF
19488 /* end confdefs.h. */
19489 $ac_includes_default
19490
19491 #include <$ac_header>
19492 _ACEOF
19493 rm -f conftest.$ac_objext
19494 if { (ac_try="$ac_compile"
19495 case "(($ac_try" in
19496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19497 *) ac_try_echo=$ac_try;;
19498 esac
19499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19500 (eval "$ac_compile") 2>conftest.er1
19501 ac_status=$?
19502 grep -v '^ *+' conftest.er1 >conftest.err
19503 rm -f conftest.er1
19504 cat conftest.err >&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); } && {
19507 test -z "$ac_c_werror_flag" ||
19508 test ! -s conftest.err
19509 } && test -s conftest.$ac_objext; then
19510 eval "$as_ac_Header=yes"
19511 else
19512 echo "$as_me: failed program was:" >&5
19513 sed 's/^/| /' conftest.$ac_ext >&5
19514
19515 eval "$as_ac_Header=no"
19516 fi
19517
19518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19519 fi
19520 ac_res=`eval echo '${'$as_ac_Header'}'`
19521 { echo "$as_me:$LINENO: result: $ac_res" >&5
19522 echo "${ECHO_T}$ac_res" >&6; }
19523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19524 cat >>confdefs.h <<_ACEOF
19525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19526 _ACEOF
19527
19528 fi
19529
19530 done
19531
19532
19533
19534
19535 for ac_header in langinfo.h wchar.h
19536 do
19537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19541 echo $ECHO_N "(cached) $ECHO_C" >&6
19542 else
19543 cat >conftest.$ac_ext <<_ACEOF
19544 /* confdefs.h. */
19545 _ACEOF
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 $ac_includes_default
19550
19551 #include <$ac_header>
19552 _ACEOF
19553 rm -f conftest.$ac_objext
19554 if { (ac_try="$ac_compile"
19555 case "(($ac_try" in
19556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19557 *) ac_try_echo=$ac_try;;
19558 esac
19559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19560 (eval "$ac_compile") 2>conftest.er1
19561 ac_status=$?
19562 grep -v '^ *+' conftest.er1 >conftest.err
19563 rm -f conftest.er1
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } && {
19567 test -z "$ac_c_werror_flag" ||
19568 test ! -s conftest.err
19569 } && test -s conftest.$ac_objext; then
19570 eval "$as_ac_Header=yes"
19571 else
19572 echo "$as_me: failed program was:" >&5
19573 sed 's/^/| /' conftest.$ac_ext >&5
19574
19575 eval "$as_ac_Header=no"
19576 fi
19577
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19579 fi
19580 ac_res=`eval echo '${'$as_ac_Header'}'`
19581 { echo "$as_me:$LINENO: result: $ac_res" >&5
19582 echo "${ECHO_T}$ac_res" >&6; }
19583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19584 cat >>confdefs.h <<_ACEOF
19585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19586 _ACEOF
19587
19588 fi
19589
19590 done
19591
19592
19593 if test "$ac_cv_header_wchar_h" != "yes"; then
19594
19595 for ac_header in wcstr.h
19596 do
19597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19601 echo $ECHO_N "(cached) $ECHO_C" >&6
19602 else
19603 cat >conftest.$ac_ext <<_ACEOF
19604 /* confdefs.h. */
19605 _ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609 $ac_includes_default
19610
19611 #include <$ac_header>
19612 _ACEOF
19613 rm -f conftest.$ac_objext
19614 if { (ac_try="$ac_compile"
19615 case "(($ac_try" in
19616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19617 *) ac_try_echo=$ac_try;;
19618 esac
19619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19620 (eval "$ac_compile") 2>conftest.er1
19621 ac_status=$?
19622 grep -v '^ *+' conftest.er1 >conftest.err
19623 rm -f conftest.er1
19624 cat conftest.err >&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); } && {
19627 test -z "$ac_c_werror_flag" ||
19628 test ! -s conftest.err
19629 } && test -s conftest.$ac_objext; then
19630 eval "$as_ac_Header=yes"
19631 else
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19634
19635 eval "$as_ac_Header=no"
19636 fi
19637
19638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19639 fi
19640 ac_res=`eval echo '${'$as_ac_Header'}'`
19641 { echo "$as_me:$LINENO: result: $ac_res" >&5
19642 echo "${ECHO_T}$ac_res" >&6; }
19643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19644 cat >>confdefs.h <<_ACEOF
19645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19646 _ACEOF
19647
19648 fi
19649
19650 done
19651
19652 fi
19653
19654 case "${host}" in
19655 *-pc-os2_emx | *-pc-os2-emx )
19656 if test $ac_cv_header_langinfo_h = "yes" \
19657 -a \( "$wx_cv_gccversion" = "EMX2" \
19658 -o "$wx_cv_gccversion" = "EMX3" \
19659 -o "$wx_cv_gccversion" = "Innotek5" \); then
19660 LIBS="$LIBS -lintl"
19661 fi
19662 ;;
19663 esac
19664
19665 if test "$USE_UNIX" = 1 ; then
19666
19667 for ac_header in sys/select.h
19668 do
19669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19673 echo $ECHO_N "(cached) $ECHO_C" >&6
19674 else
19675 cat >conftest.$ac_ext <<_ACEOF
19676 /* confdefs.h. */
19677 _ACEOF
19678 cat confdefs.h >>conftest.$ac_ext
19679 cat >>conftest.$ac_ext <<_ACEOF
19680 /* end confdefs.h. */
19681 $ac_includes_default
19682
19683 #include <$ac_header>
19684 _ACEOF
19685 rm -f conftest.$ac_objext
19686 if { (ac_try="$ac_compile"
19687 case "(($ac_try" in
19688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19689 *) ac_try_echo=$ac_try;;
19690 esac
19691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19692 (eval "$ac_compile") 2>conftest.er1
19693 ac_status=$?
19694 grep -v '^ *+' conftest.er1 >conftest.err
19695 rm -f conftest.er1
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } && {
19699 test -z "$ac_c_werror_flag" ||
19700 test ! -s conftest.err
19701 } && test -s conftest.$ac_objext; then
19702 eval "$as_ac_Header=yes"
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19706
19707 eval "$as_ac_Header=no"
19708 fi
19709
19710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19711 fi
19712 ac_res=`eval echo '${'$as_ac_Header'}'`
19713 { echo "$as_me:$LINENO: result: $ac_res" >&5
19714 echo "${ECHO_T}$ac_res" >&6; }
19715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19716 cat >>confdefs.h <<_ACEOF
19717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19718 _ACEOF
19719
19720 fi
19721
19722 done
19723
19724 fi
19725
19726
19727 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19728 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19729 if test "${ac_cv_c_const+set}" = set; then
19730 echo $ECHO_N "(cached) $ECHO_C" >&6
19731 else
19732 cat >conftest.$ac_ext <<_ACEOF
19733 /* confdefs.h. */
19734 _ACEOF
19735 cat confdefs.h >>conftest.$ac_ext
19736 cat >>conftest.$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19738
19739 int
19740 main ()
19741 {
19742 /* FIXME: Include the comments suggested by Paul. */
19743 #ifndef __cplusplus
19744 /* Ultrix mips cc rejects this. */
19745 typedef int charset[2];
19746 const charset cs;
19747 /* SunOS 4.1.1 cc rejects this. */
19748 char const *const *pcpcc;
19749 char **ppc;
19750 /* NEC SVR4.0.2 mips cc rejects this. */
19751 struct point {int x, y;};
19752 static struct point const zero = {0,0};
19753 /* AIX XL C 1.02.0.0 rejects this.
19754 It does not let you subtract one const X* pointer from another in
19755 an arm of an if-expression whose if-part is not a constant
19756 expression */
19757 const char *g = "string";
19758 pcpcc = &g + (g ? g-g : 0);
19759 /* HPUX 7.0 cc rejects these. */
19760 ++pcpcc;
19761 ppc = (char**) pcpcc;
19762 pcpcc = (char const *const *) ppc;
19763 { /* SCO 3.2v4 cc rejects this. */
19764 char *t;
19765 char const *s = 0 ? (char *) 0 : (char const *) 0;
19766
19767 *t++ = 0;
19768 if (s) return 0;
19769 }
19770 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19771 int x[] = {25, 17};
19772 const int *foo = &x[0];
19773 ++foo;
19774 }
19775 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19776 typedef const int *iptr;
19777 iptr p = 0;
19778 ++p;
19779 }
19780 { /* AIX XL C 1.02.0.0 rejects this saying
19781 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19782 struct s { int j; const int *ap[3]; };
19783 struct s *b; b->j = 5;
19784 }
19785 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19786 const int foo = 10;
19787 if (!foo) return 0;
19788 }
19789 return !cs[0] && !zero.x;
19790 #endif
19791
19792 ;
19793 return 0;
19794 }
19795 _ACEOF
19796 rm -f conftest.$ac_objext
19797 if { (ac_try="$ac_compile"
19798 case "(($ac_try" in
19799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19800 *) ac_try_echo=$ac_try;;
19801 esac
19802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19803 (eval "$ac_compile") 2>conftest.er1
19804 ac_status=$?
19805 grep -v '^ *+' conftest.er1 >conftest.err
19806 rm -f conftest.er1
19807 cat conftest.err >&5
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); } && {
19810 test -z "$ac_c_werror_flag" ||
19811 test ! -s conftest.err
19812 } && test -s conftest.$ac_objext; then
19813 ac_cv_c_const=yes
19814 else
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19817
19818 ac_cv_c_const=no
19819 fi
19820
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 fi
19823 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19824 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19825 if test $ac_cv_c_const = no; then
19826
19827 cat >>confdefs.h <<\_ACEOF
19828 #define const
19829 _ACEOF
19830
19831 fi
19832
19833 { echo "$as_me:$LINENO: checking for inline" >&5
19834 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19835 if test "${ac_cv_c_inline+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19837 else
19838 ac_cv_c_inline=no
19839 for ac_kw in inline __inline__ __inline; do
19840 cat >conftest.$ac_ext <<_ACEOF
19841 /* confdefs.h. */
19842 _ACEOF
19843 cat confdefs.h >>conftest.$ac_ext
19844 cat >>conftest.$ac_ext <<_ACEOF
19845 /* end confdefs.h. */
19846 #ifndef __cplusplus
19847 typedef int foo_t;
19848 static $ac_kw foo_t static_foo () {return 0; }
19849 $ac_kw foo_t foo () {return 0; }
19850 #endif
19851
19852 _ACEOF
19853 rm -f conftest.$ac_objext
19854 if { (ac_try="$ac_compile"
19855 case "(($ac_try" in
19856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19857 *) ac_try_echo=$ac_try;;
19858 esac
19859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19860 (eval "$ac_compile") 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } && {
19867 test -z "$ac_c_werror_flag" ||
19868 test ! -s conftest.err
19869 } && test -s conftest.$ac_objext; then
19870 ac_cv_c_inline=$ac_kw
19871 else
19872 echo "$as_me: failed program was:" >&5
19873 sed 's/^/| /' conftest.$ac_ext >&5
19874
19875
19876 fi
19877
19878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879 test "$ac_cv_c_inline" != no && break
19880 done
19881
19882 fi
19883 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19884 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19885
19886
19887 case $ac_cv_c_inline in
19888 inline | yes) ;;
19889 *)
19890 case $ac_cv_c_inline in
19891 no) ac_val=;;
19892 *) ac_val=$ac_cv_c_inline;;
19893 esac
19894 cat >>confdefs.h <<_ACEOF
19895 #ifndef __cplusplus
19896 #define inline $ac_val
19897 #endif
19898 _ACEOF
19899 ;;
19900 esac
19901
19902
19903 { echo "$as_me:$LINENO: checking for short" >&5
19904 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19905 if test "${ac_cv_type_short+set}" = set; then
19906 echo $ECHO_N "(cached) $ECHO_C" >&6
19907 else
19908 cat >conftest.$ac_ext <<_ACEOF
19909 /* confdefs.h. */
19910 _ACEOF
19911 cat confdefs.h >>conftest.$ac_ext
19912 cat >>conftest.$ac_ext <<_ACEOF
19913 /* end confdefs.h. */
19914 $ac_includes_default
19915 typedef short ac__type_new_;
19916 int
19917 main ()
19918 {
19919 if ((ac__type_new_ *) 0)
19920 return 0;
19921 if (sizeof (ac__type_new_))
19922 return 0;
19923 ;
19924 return 0;
19925 }
19926 _ACEOF
19927 rm -f conftest.$ac_objext
19928 if { (ac_try="$ac_compile"
19929 case "(($ac_try" in
19930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19931 *) ac_try_echo=$ac_try;;
19932 esac
19933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19934 (eval "$ac_compile") 2>conftest.er1
19935 ac_status=$?
19936 grep -v '^ *+' conftest.er1 >conftest.err
19937 rm -f conftest.er1
19938 cat conftest.err >&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } && {
19941 test -z "$ac_c_werror_flag" ||
19942 test ! -s conftest.err
19943 } && test -s conftest.$ac_objext; then
19944 ac_cv_type_short=yes
19945 else
19946 echo "$as_me: failed program was:" >&5
19947 sed 's/^/| /' conftest.$ac_ext >&5
19948
19949 ac_cv_type_short=no
19950 fi
19951
19952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19953 fi
19954 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19955 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19956
19957 # The cast to long int works around a bug in the HP C Compiler
19958 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19959 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19960 # This bug is HP SR number 8606223364.
19961 { echo "$as_me:$LINENO: checking size of short" >&5
19962 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19963 if test "${ac_cv_sizeof_short+set}" = set; then
19964 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 else
19966 if test "$cross_compiling" = yes; then
19967 # Depending upon the size, compute the lo and hi bounds.
19968 cat >conftest.$ac_ext <<_ACEOF
19969 /* confdefs.h. */
19970 _ACEOF
19971 cat confdefs.h >>conftest.$ac_ext
19972 cat >>conftest.$ac_ext <<_ACEOF
19973 /* end confdefs.h. */
19974 $ac_includes_default
19975 typedef short ac__type_sizeof_;
19976 int
19977 main ()
19978 {
19979 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19980 test_array [0] = 0
19981
19982 ;
19983 return 0;
19984 }
19985 _ACEOF
19986 rm -f conftest.$ac_objext
19987 if { (ac_try="$ac_compile"
19988 case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19991 esac
19992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_compile") 2>conftest.er1
19994 ac_status=$?
19995 grep -v '^ *+' conftest.er1 >conftest.err
19996 rm -f conftest.er1
19997 cat conftest.err >&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); } && {
20000 test -z "$ac_c_werror_flag" ||
20001 test ! -s conftest.err
20002 } && test -s conftest.$ac_objext; then
20003 ac_lo=0 ac_mid=0
20004 while :; do
20005 cat >conftest.$ac_ext <<_ACEOF
20006 /* confdefs.h. */
20007 _ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 $ac_includes_default
20012 typedef short ac__type_sizeof_;
20013 int
20014 main ()
20015 {
20016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20017 test_array [0] = 0
20018
20019 ;
20020 return 0;
20021 }
20022 _ACEOF
20023 rm -f conftest.$ac_objext
20024 if { (ac_try="$ac_compile"
20025 case "(($ac_try" in
20026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20027 *) ac_try_echo=$ac_try;;
20028 esac
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_compile") 2>conftest.er1
20031 ac_status=$?
20032 grep -v '^ *+' conftest.er1 >conftest.err
20033 rm -f conftest.er1
20034 cat conftest.err >&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } && {
20037 test -z "$ac_c_werror_flag" ||
20038 test ! -s conftest.err
20039 } && test -s conftest.$ac_objext; then
20040 ac_hi=$ac_mid; break
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 ac_lo=`expr $ac_mid + 1`
20046 if test $ac_lo -le $ac_mid; then
20047 ac_lo= ac_hi=
20048 break
20049 fi
20050 ac_mid=`expr 2 '*' $ac_mid + 1`
20051 fi
20052
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054 done
20055 else
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.$ac_ext >&5
20058
20059 cat >conftest.$ac_ext <<_ACEOF
20060 /* confdefs.h. */
20061 _ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
20064 /* end confdefs.h. */
20065 $ac_includes_default
20066 typedef short ac__type_sizeof_;
20067 int
20068 main ()
20069 {
20070 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20071 test_array [0] = 0
20072
20073 ;
20074 return 0;
20075 }
20076 _ACEOF
20077 rm -f conftest.$ac_objext
20078 if { (ac_try="$ac_compile"
20079 case "(($ac_try" in
20080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20081 *) ac_try_echo=$ac_try;;
20082 esac
20083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20084 (eval "$ac_compile") 2>conftest.er1
20085 ac_status=$?
20086 grep -v '^ *+' conftest.er1 >conftest.err
20087 rm -f conftest.er1
20088 cat conftest.err >&5
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); } && {
20091 test -z "$ac_c_werror_flag" ||
20092 test ! -s conftest.err
20093 } && test -s conftest.$ac_objext; then
20094 ac_hi=-1 ac_mid=-1
20095 while :; do
20096 cat >conftest.$ac_ext <<_ACEOF
20097 /* confdefs.h. */
20098 _ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 $ac_includes_default
20103 typedef short ac__type_sizeof_;
20104 int
20105 main ()
20106 {
20107 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20108 test_array [0] = 0
20109
20110 ;
20111 return 0;
20112 }
20113 _ACEOF
20114 rm -f conftest.$ac_objext
20115 if { (ac_try="$ac_compile"
20116 case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20118 *) ac_try_echo=$ac_try;;
20119 esac
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_compile") 2>conftest.er1
20122 ac_status=$?
20123 grep -v '^ *+' conftest.er1 >conftest.err
20124 rm -f conftest.er1
20125 cat conftest.err >&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); } && {
20128 test -z "$ac_c_werror_flag" ||
20129 test ! -s conftest.err
20130 } && test -s conftest.$ac_objext; then
20131 ac_lo=$ac_mid; break
20132 else
20133 echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.$ac_ext >&5
20135
20136 ac_hi=`expr '(' $ac_mid ')' - 1`
20137 if test $ac_mid -le $ac_hi; then
20138 ac_lo= ac_hi=
20139 break
20140 fi
20141 ac_mid=`expr 2 '*' $ac_mid`
20142 fi
20143
20144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20145 done
20146 else
20147 echo "$as_me: failed program was:" >&5
20148 sed 's/^/| /' conftest.$ac_ext >&5
20149
20150 ac_lo= ac_hi=
20151 fi
20152
20153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20154 fi
20155
20156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20157 # Binary search between lo and hi bounds.
20158 while test "x$ac_lo" != "x$ac_hi"; do
20159 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20160 cat >conftest.$ac_ext <<_ACEOF
20161 /* confdefs.h. */
20162 _ACEOF
20163 cat confdefs.h >>conftest.$ac_ext
20164 cat >>conftest.$ac_ext <<_ACEOF
20165 /* end confdefs.h. */
20166 $ac_includes_default
20167 typedef short ac__type_sizeof_;
20168 int
20169 main ()
20170 {
20171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20172 test_array [0] = 0
20173
20174 ;
20175 return 0;
20176 }
20177 _ACEOF
20178 rm -f conftest.$ac_objext
20179 if { (ac_try="$ac_compile"
20180 case "(($ac_try" in
20181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 *) ac_try_echo=$ac_try;;
20183 esac
20184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20185 (eval "$ac_compile") 2>conftest.er1
20186 ac_status=$?
20187 grep -v '^ *+' conftest.er1 >conftest.err
20188 rm -f conftest.er1
20189 cat conftest.err >&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); } && {
20192 test -z "$ac_c_werror_flag" ||
20193 test ! -s conftest.err
20194 } && test -s conftest.$ac_objext; then
20195 ac_hi=$ac_mid
20196 else
20197 echo "$as_me: failed program was:" >&5
20198 sed 's/^/| /' conftest.$ac_ext >&5
20199
20200 ac_lo=`expr '(' $ac_mid ')' + 1`
20201 fi
20202
20203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20204 done
20205 case $ac_lo in
20206 ?*) ac_cv_sizeof_short=$ac_lo;;
20207 '') if test "$ac_cv_type_short" = yes; then
20208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20209 See \`config.log' for more details." >&5
20210 echo "$as_me: error: cannot compute sizeof (short)
20211 See \`config.log' for more details." >&2;}
20212 { (exit 77); exit 77; }; }
20213 else
20214 ac_cv_sizeof_short=0
20215 fi ;;
20216 esac
20217 else
20218 cat >conftest.$ac_ext <<_ACEOF
20219 /* confdefs.h. */
20220 _ACEOF
20221 cat confdefs.h >>conftest.$ac_ext
20222 cat >>conftest.$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20224 $ac_includes_default
20225 typedef short ac__type_sizeof_;
20226 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20227 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20228 #include <stdio.h>
20229 #include <stdlib.h>
20230 int
20231 main ()
20232 {
20233
20234 FILE *f = fopen ("conftest.val", "w");
20235 if (! f)
20236 return 1;
20237 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20238 {
20239 long int i = longval ();
20240 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20241 return 1;
20242 fprintf (f, "%ld\n", i);
20243 }
20244 else
20245 {
20246 unsigned long int i = ulongval ();
20247 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20248 return 1;
20249 fprintf (f, "%lu\n", i);
20250 }
20251 return ferror (f) || fclose (f) != 0;
20252
20253 ;
20254 return 0;
20255 }
20256 _ACEOF
20257 rm -f conftest$ac_exeext
20258 if { (ac_try="$ac_link"
20259 case "(($ac_try" in
20260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20262 esac
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_link") 2>&5
20265 ac_status=$?
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20268 { (case "(($ac_try" in
20269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20270 *) ac_try_echo=$ac_try;;
20271 esac
20272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20273 (eval "$ac_try") 2>&5
20274 ac_status=$?
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; }; then
20277 ac_cv_sizeof_short=`cat conftest.val`
20278 else
20279 echo "$as_me: program exited with status $ac_status" >&5
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20282
20283 ( exit $ac_status )
20284 if test "$ac_cv_type_short" = yes; then
20285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20286 See \`config.log' for more details." >&5
20287 echo "$as_me: error: cannot compute sizeof (short)
20288 See \`config.log' for more details." >&2;}
20289 { (exit 77); exit 77; }; }
20290 else
20291 ac_cv_sizeof_short=0
20292 fi
20293 fi
20294 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20295 fi
20296 rm -f conftest.val
20297 fi
20298 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20299 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20300
20301
20302
20303 cat >>confdefs.h <<_ACEOF
20304 #define SIZEOF_SHORT $ac_cv_sizeof_short
20305 _ACEOF
20306
20307
20308 { echo "$as_me:$LINENO: checking for void *" >&5
20309 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20310 if test "${ac_cv_type_void_p+set}" = set; then
20311 echo $ECHO_N "(cached) $ECHO_C" >&6
20312 else
20313 cat >conftest.$ac_ext <<_ACEOF
20314 /* confdefs.h. */
20315 _ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 $ac_includes_default
20320 typedef void * ac__type_new_;
20321 int
20322 main ()
20323 {
20324 if ((ac__type_new_ *) 0)
20325 return 0;
20326 if (sizeof (ac__type_new_))
20327 return 0;
20328 ;
20329 return 0;
20330 }
20331 _ACEOF
20332 rm -f conftest.$ac_objext
20333 if { (ac_try="$ac_compile"
20334 case "(($ac_try" in
20335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20336 *) ac_try_echo=$ac_try;;
20337 esac
20338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20339 (eval "$ac_compile") 2>conftest.er1
20340 ac_status=$?
20341 grep -v '^ *+' conftest.er1 >conftest.err
20342 rm -f conftest.er1
20343 cat conftest.err >&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); } && {
20346 test -z "$ac_c_werror_flag" ||
20347 test ! -s conftest.err
20348 } && test -s conftest.$ac_objext; then
20349 ac_cv_type_void_p=yes
20350 else
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.$ac_ext >&5
20353
20354 ac_cv_type_void_p=no
20355 fi
20356
20357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20358 fi
20359 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20360 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20361
20362 # The cast to long int works around a bug in the HP C Compiler
20363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20365 # This bug is HP SR number 8606223364.
20366 { echo "$as_me:$LINENO: checking size of void *" >&5
20367 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20368 if test "${ac_cv_sizeof_void_p+set}" = set; then
20369 echo $ECHO_N "(cached) $ECHO_C" >&6
20370 else
20371 if test "$cross_compiling" = yes; then
20372 # Depending upon the size, compute the lo and hi bounds.
20373 cat >conftest.$ac_ext <<_ACEOF
20374 /* confdefs.h. */
20375 _ACEOF
20376 cat confdefs.h >>conftest.$ac_ext
20377 cat >>conftest.$ac_ext <<_ACEOF
20378 /* end confdefs.h. */
20379 $ac_includes_default
20380 typedef void * ac__type_sizeof_;
20381 int
20382 main ()
20383 {
20384 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20385 test_array [0] = 0
20386
20387 ;
20388 return 0;
20389 }
20390 _ACEOF
20391 rm -f conftest.$ac_objext
20392 if { (ac_try="$ac_compile"
20393 case "(($ac_try" in
20394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20395 *) ac_try_echo=$ac_try;;
20396 esac
20397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20398 (eval "$ac_compile") 2>conftest.er1
20399 ac_status=$?
20400 grep -v '^ *+' conftest.er1 >conftest.err
20401 rm -f conftest.er1
20402 cat conftest.err >&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } && {
20405 test -z "$ac_c_werror_flag" ||
20406 test ! -s conftest.err
20407 } && test -s conftest.$ac_objext; then
20408 ac_lo=0 ac_mid=0
20409 while :; do
20410 cat >conftest.$ac_ext <<_ACEOF
20411 /* confdefs.h. */
20412 _ACEOF
20413 cat confdefs.h >>conftest.$ac_ext
20414 cat >>conftest.$ac_ext <<_ACEOF
20415 /* end confdefs.h. */
20416 $ac_includes_default
20417 typedef void * ac__type_sizeof_;
20418 int
20419 main ()
20420 {
20421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20422 test_array [0] = 0
20423
20424 ;
20425 return 0;
20426 }
20427 _ACEOF
20428 rm -f conftest.$ac_objext
20429 if { (ac_try="$ac_compile"
20430 case "(($ac_try" in
20431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20432 *) ac_try_echo=$ac_try;;
20433 esac
20434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20435 (eval "$ac_compile") 2>conftest.er1
20436 ac_status=$?
20437 grep -v '^ *+' conftest.er1 >conftest.err
20438 rm -f conftest.er1
20439 cat conftest.err >&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); } && {
20442 test -z "$ac_c_werror_flag" ||
20443 test ! -s conftest.err
20444 } && test -s conftest.$ac_objext; then
20445 ac_hi=$ac_mid; break
20446 else
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20449
20450 ac_lo=`expr $ac_mid + 1`
20451 if test $ac_lo -le $ac_mid; then
20452 ac_lo= ac_hi=
20453 break
20454 fi
20455 ac_mid=`expr 2 '*' $ac_mid + 1`
20456 fi
20457
20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20459 done
20460 else
20461 echo "$as_me: failed program was:" >&5
20462 sed 's/^/| /' conftest.$ac_ext >&5
20463
20464 cat >conftest.$ac_ext <<_ACEOF
20465 /* confdefs.h. */
20466 _ACEOF
20467 cat confdefs.h >>conftest.$ac_ext
20468 cat >>conftest.$ac_ext <<_ACEOF
20469 /* end confdefs.h. */
20470 $ac_includes_default
20471 typedef void * ac__type_sizeof_;
20472 int
20473 main ()
20474 {
20475 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20476 test_array [0] = 0
20477
20478 ;
20479 return 0;
20480 }
20481 _ACEOF
20482 rm -f conftest.$ac_objext
20483 if { (ac_try="$ac_compile"
20484 case "(($ac_try" in
20485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20486 *) ac_try_echo=$ac_try;;
20487 esac
20488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20489 (eval "$ac_compile") 2>conftest.er1
20490 ac_status=$?
20491 grep -v '^ *+' conftest.er1 >conftest.err
20492 rm -f conftest.er1
20493 cat conftest.err >&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } && {
20496 test -z "$ac_c_werror_flag" ||
20497 test ! -s conftest.err
20498 } && test -s conftest.$ac_objext; then
20499 ac_hi=-1 ac_mid=-1
20500 while :; do
20501 cat >conftest.$ac_ext <<_ACEOF
20502 /* confdefs.h. */
20503 _ACEOF
20504 cat confdefs.h >>conftest.$ac_ext
20505 cat >>conftest.$ac_ext <<_ACEOF
20506 /* end confdefs.h. */
20507 $ac_includes_default
20508 typedef void * ac__type_sizeof_;
20509 int
20510 main ()
20511 {
20512 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20513 test_array [0] = 0
20514
20515 ;
20516 return 0;
20517 }
20518 _ACEOF
20519 rm -f conftest.$ac_objext
20520 if { (ac_try="$ac_compile"
20521 case "(($ac_try" in
20522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20523 *) ac_try_echo=$ac_try;;
20524 esac
20525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20526 (eval "$ac_compile") 2>conftest.er1
20527 ac_status=$?
20528 grep -v '^ *+' conftest.er1 >conftest.err
20529 rm -f conftest.er1
20530 cat conftest.err >&5
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); } && {
20533 test -z "$ac_c_werror_flag" ||
20534 test ! -s conftest.err
20535 } && test -s conftest.$ac_objext; then
20536 ac_lo=$ac_mid; break
20537 else
20538 echo "$as_me: failed program was:" >&5
20539 sed 's/^/| /' conftest.$ac_ext >&5
20540
20541 ac_hi=`expr '(' $ac_mid ')' - 1`
20542 if test $ac_mid -le $ac_hi; then
20543 ac_lo= ac_hi=
20544 break
20545 fi
20546 ac_mid=`expr 2 '*' $ac_mid`
20547 fi
20548
20549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20550 done
20551 else
20552 echo "$as_me: failed program was:" >&5
20553 sed 's/^/| /' conftest.$ac_ext >&5
20554
20555 ac_lo= ac_hi=
20556 fi
20557
20558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20559 fi
20560
20561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20562 # Binary search between lo and hi bounds.
20563 while test "x$ac_lo" != "x$ac_hi"; do
20564 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20565 cat >conftest.$ac_ext <<_ACEOF
20566 /* confdefs.h. */
20567 _ACEOF
20568 cat confdefs.h >>conftest.$ac_ext
20569 cat >>conftest.$ac_ext <<_ACEOF
20570 /* end confdefs.h. */
20571 $ac_includes_default
20572 typedef void * ac__type_sizeof_;
20573 int
20574 main ()
20575 {
20576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20577 test_array [0] = 0
20578
20579 ;
20580 return 0;
20581 }
20582 _ACEOF
20583 rm -f conftest.$ac_objext
20584 if { (ac_try="$ac_compile"
20585 case "(($ac_try" in
20586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20587 *) ac_try_echo=$ac_try;;
20588 esac
20589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20590 (eval "$ac_compile") 2>conftest.er1
20591 ac_status=$?
20592 grep -v '^ *+' conftest.er1 >conftest.err
20593 rm -f conftest.er1
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); } && {
20597 test -z "$ac_c_werror_flag" ||
20598 test ! -s conftest.err
20599 } && test -s conftest.$ac_objext; then
20600 ac_hi=$ac_mid
20601 else
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20604
20605 ac_lo=`expr '(' $ac_mid ')' + 1`
20606 fi
20607
20608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20609 done
20610 case $ac_lo in
20611 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20612 '') if test "$ac_cv_type_void_p" = yes; then
20613 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20614 See \`config.log' for more details." >&5
20615 echo "$as_me: error: cannot compute sizeof (void *)
20616 See \`config.log' for more details." >&2;}
20617 { (exit 77); exit 77; }; }
20618 else
20619 ac_cv_sizeof_void_p=0
20620 fi ;;
20621 esac
20622 else
20623 cat >conftest.$ac_ext <<_ACEOF
20624 /* confdefs.h. */
20625 _ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 $ac_includes_default
20630 typedef void * ac__type_sizeof_;
20631 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20632 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20633 #include <stdio.h>
20634 #include <stdlib.h>
20635 int
20636 main ()
20637 {
20638
20639 FILE *f = fopen ("conftest.val", "w");
20640 if (! f)
20641 return 1;
20642 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20643 {
20644 long int i = longval ();
20645 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20646 return 1;
20647 fprintf (f, "%ld\n", i);
20648 }
20649 else
20650 {
20651 unsigned long int i = ulongval ();
20652 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20653 return 1;
20654 fprintf (f, "%lu\n", i);
20655 }
20656 return ferror (f) || fclose (f) != 0;
20657
20658 ;
20659 return 0;
20660 }
20661 _ACEOF
20662 rm -f conftest$ac_exeext
20663 if { (ac_try="$ac_link"
20664 case "(($ac_try" in
20665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20666 *) ac_try_echo=$ac_try;;
20667 esac
20668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20669 (eval "$ac_link") 2>&5
20670 ac_status=$?
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20673 { (case "(($ac_try" in
20674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20675 *) ac_try_echo=$ac_try;;
20676 esac
20677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20678 (eval "$ac_try") 2>&5
20679 ac_status=$?
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); }; }; then
20682 ac_cv_sizeof_void_p=`cat conftest.val`
20683 else
20684 echo "$as_me: program exited with status $ac_status" >&5
20685 echo "$as_me: failed program was:" >&5
20686 sed 's/^/| /' conftest.$ac_ext >&5
20687
20688 ( exit $ac_status )
20689 if test "$ac_cv_type_void_p" = yes; then
20690 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20691 See \`config.log' for more details." >&5
20692 echo "$as_me: error: cannot compute sizeof (void *)
20693 See \`config.log' for more details." >&2;}
20694 { (exit 77); exit 77; }; }
20695 else
20696 ac_cv_sizeof_void_p=0
20697 fi
20698 fi
20699 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20700 fi
20701 rm -f conftest.val
20702 fi
20703 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20704 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20705
20706
20707
20708 cat >>confdefs.h <<_ACEOF
20709 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20710 _ACEOF
20711
20712
20713 { echo "$as_me:$LINENO: checking for int" >&5
20714 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20715 if test "${ac_cv_type_int+set}" = set; then
20716 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 else
20718 cat >conftest.$ac_ext <<_ACEOF
20719 /* confdefs.h. */
20720 _ACEOF
20721 cat confdefs.h >>conftest.$ac_ext
20722 cat >>conftest.$ac_ext <<_ACEOF
20723 /* end confdefs.h. */
20724 $ac_includes_default
20725 typedef int ac__type_new_;
20726 int
20727 main ()
20728 {
20729 if ((ac__type_new_ *) 0)
20730 return 0;
20731 if (sizeof (ac__type_new_))
20732 return 0;
20733 ;
20734 return 0;
20735 }
20736 _ACEOF
20737 rm -f conftest.$ac_objext
20738 if { (ac_try="$ac_compile"
20739 case "(($ac_try" in
20740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20742 esac
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_compile") 2>conftest.er1
20745 ac_status=$?
20746 grep -v '^ *+' conftest.er1 >conftest.err
20747 rm -f conftest.er1
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest.$ac_objext; then
20754 ac_cv_type_int=yes
20755 else
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20758
20759 ac_cv_type_int=no
20760 fi
20761
20762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20763 fi
20764 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20765 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20766
20767 # The cast to long int works around a bug in the HP C Compiler
20768 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20769 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20770 # This bug is HP SR number 8606223364.
20771 { echo "$as_me:$LINENO: checking size of int" >&5
20772 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20773 if test "${ac_cv_sizeof_int+set}" = set; then
20774 echo $ECHO_N "(cached) $ECHO_C" >&6
20775 else
20776 if test "$cross_compiling" = yes; then
20777 # Depending upon the size, compute the lo and hi bounds.
20778 cat >conftest.$ac_ext <<_ACEOF
20779 /* confdefs.h. */
20780 _ACEOF
20781 cat confdefs.h >>conftest.$ac_ext
20782 cat >>conftest.$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20784 $ac_includes_default
20785 typedef int ac__type_sizeof_;
20786 int
20787 main ()
20788 {
20789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20790 test_array [0] = 0
20791
20792 ;
20793 return 0;
20794 }
20795 _ACEOF
20796 rm -f conftest.$ac_objext
20797 if { (ac_try="$ac_compile"
20798 case "(($ac_try" in
20799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20800 *) ac_try_echo=$ac_try;;
20801 esac
20802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20803 (eval "$ac_compile") 2>conftest.er1
20804 ac_status=$?
20805 grep -v '^ *+' conftest.er1 >conftest.err
20806 rm -f conftest.er1
20807 cat conftest.err >&5
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); } && {
20810 test -z "$ac_c_werror_flag" ||
20811 test ! -s conftest.err
20812 } && test -s conftest.$ac_objext; then
20813 ac_lo=0 ac_mid=0
20814 while :; do
20815 cat >conftest.$ac_ext <<_ACEOF
20816 /* confdefs.h. */
20817 _ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 $ac_includes_default
20822 typedef int ac__type_sizeof_;
20823 int
20824 main ()
20825 {
20826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20827 test_array [0] = 0
20828
20829 ;
20830 return 0;
20831 }
20832 _ACEOF
20833 rm -f conftest.$ac_objext
20834 if { (ac_try="$ac_compile"
20835 case "(($ac_try" in
20836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20837 *) ac_try_echo=$ac_try;;
20838 esac
20839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_compile") 2>conftest.er1
20841 ac_status=$?
20842 grep -v '^ *+' conftest.er1 >conftest.err
20843 rm -f conftest.er1
20844 cat conftest.err >&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } && {
20847 test -z "$ac_c_werror_flag" ||
20848 test ! -s conftest.err
20849 } && test -s conftest.$ac_objext; then
20850 ac_hi=$ac_mid; break
20851 else
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20854
20855 ac_lo=`expr $ac_mid + 1`
20856 if test $ac_lo -le $ac_mid; then
20857 ac_lo= ac_hi=
20858 break
20859 fi
20860 ac_mid=`expr 2 '*' $ac_mid + 1`
20861 fi
20862
20863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20864 done
20865 else
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.$ac_ext >&5
20868
20869 cat >conftest.$ac_ext <<_ACEOF
20870 /* confdefs.h. */
20871 _ACEOF
20872 cat confdefs.h >>conftest.$ac_ext
20873 cat >>conftest.$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20875 $ac_includes_default
20876 typedef int ac__type_sizeof_;
20877 int
20878 main ()
20879 {
20880 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20881 test_array [0] = 0
20882
20883 ;
20884 return 0;
20885 }
20886 _ACEOF
20887 rm -f conftest.$ac_objext
20888 if { (ac_try="$ac_compile"
20889 case "(($ac_try" in
20890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20891 *) ac_try_echo=$ac_try;;
20892 esac
20893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20894 (eval "$ac_compile") 2>conftest.er1
20895 ac_status=$?
20896 grep -v '^ *+' conftest.er1 >conftest.err
20897 rm -f conftest.er1
20898 cat conftest.err >&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); } && {
20901 test -z "$ac_c_werror_flag" ||
20902 test ! -s conftest.err
20903 } && test -s conftest.$ac_objext; then
20904 ac_hi=-1 ac_mid=-1
20905 while :; do
20906 cat >conftest.$ac_ext <<_ACEOF
20907 /* confdefs.h. */
20908 _ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912 $ac_includes_default
20913 typedef int ac__type_sizeof_;
20914 int
20915 main ()
20916 {
20917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20918 test_array [0] = 0
20919
20920 ;
20921 return 0;
20922 }
20923 _ACEOF
20924 rm -f conftest.$ac_objext
20925 if { (ac_try="$ac_compile"
20926 case "(($ac_try" in
20927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20928 *) ac_try_echo=$ac_try;;
20929 esac
20930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20931 (eval "$ac_compile") 2>conftest.er1
20932 ac_status=$?
20933 grep -v '^ *+' conftest.er1 >conftest.err
20934 rm -f conftest.er1
20935 cat conftest.err >&5
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } && {
20938 test -z "$ac_c_werror_flag" ||
20939 test ! -s conftest.err
20940 } && test -s conftest.$ac_objext; then
20941 ac_lo=$ac_mid; break
20942 else
20943 echo "$as_me: failed program was:" >&5
20944 sed 's/^/| /' conftest.$ac_ext >&5
20945
20946 ac_hi=`expr '(' $ac_mid ')' - 1`
20947 if test $ac_mid -le $ac_hi; then
20948 ac_lo= ac_hi=
20949 break
20950 fi
20951 ac_mid=`expr 2 '*' $ac_mid`
20952 fi
20953
20954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20955 done
20956 else
20957 echo "$as_me: failed program was:" >&5
20958 sed 's/^/| /' conftest.$ac_ext >&5
20959
20960 ac_lo= ac_hi=
20961 fi
20962
20963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20964 fi
20965
20966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20967 # Binary search between lo and hi bounds.
20968 while test "x$ac_lo" != "x$ac_hi"; do
20969 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20970 cat >conftest.$ac_ext <<_ACEOF
20971 /* confdefs.h. */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20977 typedef int ac__type_sizeof_;
20978 int
20979 main ()
20980 {
20981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20982 test_array [0] = 0
20983
20984 ;
20985 return 0;
20986 }
20987 _ACEOF
20988 rm -f conftest.$ac_objext
20989 if { (ac_try="$ac_compile"
20990 case "(($ac_try" in
20991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20992 *) ac_try_echo=$ac_try;;
20993 esac
20994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20995 (eval "$ac_compile") 2>conftest.er1
20996 ac_status=$?
20997 grep -v '^ *+' conftest.er1 >conftest.err
20998 rm -f conftest.er1
20999 cat conftest.err >&5
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); } && {
21002 test -z "$ac_c_werror_flag" ||
21003 test ! -s conftest.err
21004 } && test -s conftest.$ac_objext; then
21005 ac_hi=$ac_mid
21006 else
21007 echo "$as_me: failed program was:" >&5
21008 sed 's/^/| /' conftest.$ac_ext >&5
21009
21010 ac_lo=`expr '(' $ac_mid ')' + 1`
21011 fi
21012
21013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21014 done
21015 case $ac_lo in
21016 ?*) ac_cv_sizeof_int=$ac_lo;;
21017 '') if test "$ac_cv_type_int" = yes; then
21018 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21019 See \`config.log' for more details." >&5
21020 echo "$as_me: error: cannot compute sizeof (int)
21021 See \`config.log' for more details." >&2;}
21022 { (exit 77); exit 77; }; }
21023 else
21024 ac_cv_sizeof_int=0
21025 fi ;;
21026 esac
21027 else
21028 cat >conftest.$ac_ext <<_ACEOF
21029 /* confdefs.h. */
21030 _ACEOF
21031 cat confdefs.h >>conftest.$ac_ext
21032 cat >>conftest.$ac_ext <<_ACEOF
21033 /* end confdefs.h. */
21034 $ac_includes_default
21035 typedef int ac__type_sizeof_;
21036 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21037 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21038 #include <stdio.h>
21039 #include <stdlib.h>
21040 int
21041 main ()
21042 {
21043
21044 FILE *f = fopen ("conftest.val", "w");
21045 if (! f)
21046 return 1;
21047 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21048 {
21049 long int i = longval ();
21050 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21051 return 1;
21052 fprintf (f, "%ld\n", i);
21053 }
21054 else
21055 {
21056 unsigned long int i = ulongval ();
21057 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21058 return 1;
21059 fprintf (f, "%lu\n", i);
21060 }
21061 return ferror (f) || fclose (f) != 0;
21062
21063 ;
21064 return 0;
21065 }
21066 _ACEOF
21067 rm -f conftest$ac_exeext
21068 if { (ac_try="$ac_link"
21069 case "(($ac_try" in
21070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21071 *) ac_try_echo=$ac_try;;
21072 esac
21073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_link") 2>&5
21075 ac_status=$?
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21078 { (case "(($ac_try" in
21079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21080 *) ac_try_echo=$ac_try;;
21081 esac
21082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21083 (eval "$ac_try") 2>&5
21084 ac_status=$?
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); }; }; then
21087 ac_cv_sizeof_int=`cat conftest.val`
21088 else
21089 echo "$as_me: program exited with status $ac_status" >&5
21090 echo "$as_me: failed program was:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21092
21093 ( exit $ac_status )
21094 if test "$ac_cv_type_int" = yes; then
21095 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21096 See \`config.log' for more details." >&5
21097 echo "$as_me: error: cannot compute sizeof (int)
21098 See \`config.log' for more details." >&2;}
21099 { (exit 77); exit 77; }; }
21100 else
21101 ac_cv_sizeof_int=0
21102 fi
21103 fi
21104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21105 fi
21106 rm -f conftest.val
21107 fi
21108 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21109 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21110
21111
21112
21113 cat >>confdefs.h <<_ACEOF
21114 #define SIZEOF_INT $ac_cv_sizeof_int
21115 _ACEOF
21116
21117
21118 { echo "$as_me:$LINENO: checking for long" >&5
21119 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21120 if test "${ac_cv_type_long+set}" = set; then
21121 echo $ECHO_N "(cached) $ECHO_C" >&6
21122 else
21123 cat >conftest.$ac_ext <<_ACEOF
21124 /* confdefs.h. */
21125 _ACEOF
21126 cat confdefs.h >>conftest.$ac_ext
21127 cat >>conftest.$ac_ext <<_ACEOF
21128 /* end confdefs.h. */
21129 $ac_includes_default
21130 typedef long ac__type_new_;
21131 int
21132 main ()
21133 {
21134 if ((ac__type_new_ *) 0)
21135 return 0;
21136 if (sizeof (ac__type_new_))
21137 return 0;
21138 ;
21139 return 0;
21140 }
21141 _ACEOF
21142 rm -f conftest.$ac_objext
21143 if { (ac_try="$ac_compile"
21144 case "(($ac_try" in
21145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21146 *) ac_try_echo=$ac_try;;
21147 esac
21148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21149 (eval "$ac_compile") 2>conftest.er1
21150 ac_status=$?
21151 grep -v '^ *+' conftest.er1 >conftest.err
21152 rm -f conftest.er1
21153 cat conftest.err >&5
21154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155 (exit $ac_status); } && {
21156 test -z "$ac_c_werror_flag" ||
21157 test ! -s conftest.err
21158 } && test -s conftest.$ac_objext; then
21159 ac_cv_type_long=yes
21160 else
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.$ac_ext >&5
21163
21164 ac_cv_type_long=no
21165 fi
21166
21167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21168 fi
21169 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21170 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21171
21172 # The cast to long int works around a bug in the HP C Compiler
21173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21175 # This bug is HP SR number 8606223364.
21176 { echo "$as_me:$LINENO: checking size of long" >&5
21177 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21178 if test "${ac_cv_sizeof_long+set}" = set; then
21179 echo $ECHO_N "(cached) $ECHO_C" >&6
21180 else
21181 if test "$cross_compiling" = yes; then
21182 # Depending upon the size, compute the lo and hi bounds.
21183 cat >conftest.$ac_ext <<_ACEOF
21184 /* confdefs.h. */
21185 _ACEOF
21186 cat confdefs.h >>conftest.$ac_ext
21187 cat >>conftest.$ac_ext <<_ACEOF
21188 /* end confdefs.h. */
21189 $ac_includes_default
21190 typedef long ac__type_sizeof_;
21191 int
21192 main ()
21193 {
21194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21195 test_array [0] = 0
21196
21197 ;
21198 return 0;
21199 }
21200 _ACEOF
21201 rm -f conftest.$ac_objext
21202 if { (ac_try="$ac_compile"
21203 case "(($ac_try" in
21204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21205 *) ac_try_echo=$ac_try;;
21206 esac
21207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21208 (eval "$ac_compile") 2>conftest.er1
21209 ac_status=$?
21210 grep -v '^ *+' conftest.er1 >conftest.err
21211 rm -f conftest.er1
21212 cat conftest.err >&5
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); } && {
21215 test -z "$ac_c_werror_flag" ||
21216 test ! -s conftest.err
21217 } && test -s conftest.$ac_objext; then
21218 ac_lo=0 ac_mid=0
21219 while :; do
21220 cat >conftest.$ac_ext <<_ACEOF
21221 /* confdefs.h. */
21222 _ACEOF
21223 cat confdefs.h >>conftest.$ac_ext
21224 cat >>conftest.$ac_ext <<_ACEOF
21225 /* end confdefs.h. */
21226 $ac_includes_default
21227 typedef long ac__type_sizeof_;
21228 int
21229 main ()
21230 {
21231 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21232 test_array [0] = 0
21233
21234 ;
21235 return 0;
21236 }
21237 _ACEOF
21238 rm -f conftest.$ac_objext
21239 if { (ac_try="$ac_compile"
21240 case "(($ac_try" in
21241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21242 *) ac_try_echo=$ac_try;;
21243 esac
21244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21245 (eval "$ac_compile") 2>conftest.er1
21246 ac_status=$?
21247 grep -v '^ *+' conftest.er1 >conftest.err
21248 rm -f conftest.er1
21249 cat conftest.err >&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } && {
21252 test -z "$ac_c_werror_flag" ||
21253 test ! -s conftest.err
21254 } && test -s conftest.$ac_objext; then
21255 ac_hi=$ac_mid; break
21256 else
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21259
21260 ac_lo=`expr $ac_mid + 1`
21261 if test $ac_lo -le $ac_mid; then
21262 ac_lo= ac_hi=
21263 break
21264 fi
21265 ac_mid=`expr 2 '*' $ac_mid + 1`
21266 fi
21267
21268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21269 done
21270 else
21271 echo "$as_me: failed program was:" >&5
21272 sed 's/^/| /' conftest.$ac_ext >&5
21273
21274 cat >conftest.$ac_ext <<_ACEOF
21275 /* confdefs.h. */
21276 _ACEOF
21277 cat confdefs.h >>conftest.$ac_ext
21278 cat >>conftest.$ac_ext <<_ACEOF
21279 /* end confdefs.h. */
21280 $ac_includes_default
21281 typedef long ac__type_sizeof_;
21282 int
21283 main ()
21284 {
21285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21286 test_array [0] = 0
21287
21288 ;
21289 return 0;
21290 }
21291 _ACEOF
21292 rm -f conftest.$ac_objext
21293 if { (ac_try="$ac_compile"
21294 case "(($ac_try" in
21295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21296 *) ac_try_echo=$ac_try;;
21297 esac
21298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21299 (eval "$ac_compile") 2>conftest.er1
21300 ac_status=$?
21301 grep -v '^ *+' conftest.er1 >conftest.err
21302 rm -f conftest.er1
21303 cat conftest.err >&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); } && {
21306 test -z "$ac_c_werror_flag" ||
21307 test ! -s conftest.err
21308 } && test -s conftest.$ac_objext; then
21309 ac_hi=-1 ac_mid=-1
21310 while :; do
21311 cat >conftest.$ac_ext <<_ACEOF
21312 /* confdefs.h. */
21313 _ACEOF
21314 cat confdefs.h >>conftest.$ac_ext
21315 cat >>conftest.$ac_ext <<_ACEOF
21316 /* end confdefs.h. */
21317 $ac_includes_default
21318 typedef long ac__type_sizeof_;
21319 int
21320 main ()
21321 {
21322 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21323 test_array [0] = 0
21324
21325 ;
21326 return 0;
21327 }
21328 _ACEOF
21329 rm -f conftest.$ac_objext
21330 if { (ac_try="$ac_compile"
21331 case "(($ac_try" in
21332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21333 *) ac_try_echo=$ac_try;;
21334 esac
21335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21336 (eval "$ac_compile") 2>conftest.er1
21337 ac_status=$?
21338 grep -v '^ *+' conftest.er1 >conftest.err
21339 rm -f conftest.er1
21340 cat conftest.err >&5
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); } && {
21343 test -z "$ac_c_werror_flag" ||
21344 test ! -s conftest.err
21345 } && test -s conftest.$ac_objext; then
21346 ac_lo=$ac_mid; break
21347 else
21348 echo "$as_me: failed program was:" >&5
21349 sed 's/^/| /' conftest.$ac_ext >&5
21350
21351 ac_hi=`expr '(' $ac_mid ')' - 1`
21352 if test $ac_mid -le $ac_hi; then
21353 ac_lo= ac_hi=
21354 break
21355 fi
21356 ac_mid=`expr 2 '*' $ac_mid`
21357 fi
21358
21359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21360 done
21361 else
21362 echo "$as_me: failed program was:" >&5
21363 sed 's/^/| /' conftest.$ac_ext >&5
21364
21365 ac_lo= ac_hi=
21366 fi
21367
21368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21369 fi
21370
21371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21372 # Binary search between lo and hi bounds.
21373 while test "x$ac_lo" != "x$ac_hi"; do
21374 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21375 cat >conftest.$ac_ext <<_ACEOF
21376 /* confdefs.h. */
21377 _ACEOF
21378 cat confdefs.h >>conftest.$ac_ext
21379 cat >>conftest.$ac_ext <<_ACEOF
21380 /* end confdefs.h. */
21381 $ac_includes_default
21382 typedef long ac__type_sizeof_;
21383 int
21384 main ()
21385 {
21386 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21387 test_array [0] = 0
21388
21389 ;
21390 return 0;
21391 }
21392 _ACEOF
21393 rm -f conftest.$ac_objext
21394 if { (ac_try="$ac_compile"
21395 case "(($ac_try" in
21396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21397 *) ac_try_echo=$ac_try;;
21398 esac
21399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21400 (eval "$ac_compile") 2>conftest.er1
21401 ac_status=$?
21402 grep -v '^ *+' conftest.er1 >conftest.err
21403 rm -f conftest.er1
21404 cat conftest.err >&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } && {
21407 test -z "$ac_c_werror_flag" ||
21408 test ! -s conftest.err
21409 } && test -s conftest.$ac_objext; then
21410 ac_hi=$ac_mid
21411 else
21412 echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21414
21415 ac_lo=`expr '(' $ac_mid ')' + 1`
21416 fi
21417
21418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21419 done
21420 case $ac_lo in
21421 ?*) ac_cv_sizeof_long=$ac_lo;;
21422 '') if test "$ac_cv_type_long" = yes; then
21423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21424 See \`config.log' for more details." >&5
21425 echo "$as_me: error: cannot compute sizeof (long)
21426 See \`config.log' for more details." >&2;}
21427 { (exit 77); exit 77; }; }
21428 else
21429 ac_cv_sizeof_long=0
21430 fi ;;
21431 esac
21432 else
21433 cat >conftest.$ac_ext <<_ACEOF
21434 /* confdefs.h. */
21435 _ACEOF
21436 cat confdefs.h >>conftest.$ac_ext
21437 cat >>conftest.$ac_ext <<_ACEOF
21438 /* end confdefs.h. */
21439 $ac_includes_default
21440 typedef long ac__type_sizeof_;
21441 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21442 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21443 #include <stdio.h>
21444 #include <stdlib.h>
21445 int
21446 main ()
21447 {
21448
21449 FILE *f = fopen ("conftest.val", "w");
21450 if (! f)
21451 return 1;
21452 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21453 {
21454 long int i = longval ();
21455 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21456 return 1;
21457 fprintf (f, "%ld\n", i);
21458 }
21459 else
21460 {
21461 unsigned long int i = ulongval ();
21462 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21463 return 1;
21464 fprintf (f, "%lu\n", i);
21465 }
21466 return ferror (f) || fclose (f) != 0;
21467
21468 ;
21469 return 0;
21470 }
21471 _ACEOF
21472 rm -f conftest$ac_exeext
21473 if { (ac_try="$ac_link"
21474 case "(($ac_try" in
21475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21477 esac
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_link") 2>&5
21480 ac_status=$?
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21483 { (case "(($ac_try" in
21484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21485 *) ac_try_echo=$ac_try;;
21486 esac
21487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21488 (eval "$ac_try") 2>&5
21489 ac_status=$?
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); }; }; then
21492 ac_cv_sizeof_long=`cat conftest.val`
21493 else
21494 echo "$as_me: program exited with status $ac_status" >&5
21495 echo "$as_me: failed program was:" >&5
21496 sed 's/^/| /' conftest.$ac_ext >&5
21497
21498 ( exit $ac_status )
21499 if test "$ac_cv_type_long" = yes; then
21500 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21501 See \`config.log' for more details." >&5
21502 echo "$as_me: error: cannot compute sizeof (long)
21503 See \`config.log' for more details." >&2;}
21504 { (exit 77); exit 77; }; }
21505 else
21506 ac_cv_sizeof_long=0
21507 fi
21508 fi
21509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21510 fi
21511 rm -f conftest.val
21512 fi
21513 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21514 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21515
21516
21517
21518 cat >>confdefs.h <<_ACEOF
21519 #define SIZEOF_LONG $ac_cv_sizeof_long
21520 _ACEOF
21521
21522
21523 { echo "$as_me:$LINENO: checking for size_t" >&5
21524 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21525 if test "${ac_cv_type_size_t+set}" = set; then
21526 echo $ECHO_N "(cached) $ECHO_C" >&6
21527 else
21528 cat >conftest.$ac_ext <<_ACEOF
21529 /* confdefs.h. */
21530 _ACEOF
21531 cat confdefs.h >>conftest.$ac_ext
21532 cat >>conftest.$ac_ext <<_ACEOF
21533 /* end confdefs.h. */
21534 $ac_includes_default
21535 typedef size_t ac__type_new_;
21536 int
21537 main ()
21538 {
21539 if ((ac__type_new_ *) 0)
21540 return 0;
21541 if (sizeof (ac__type_new_))
21542 return 0;
21543 ;
21544 return 0;
21545 }
21546 _ACEOF
21547 rm -f conftest.$ac_objext
21548 if { (ac_try="$ac_compile"
21549 case "(($ac_try" in
21550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21551 *) ac_try_echo=$ac_try;;
21552 esac
21553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21554 (eval "$ac_compile") 2>conftest.er1
21555 ac_status=$?
21556 grep -v '^ *+' conftest.er1 >conftest.err
21557 rm -f conftest.er1
21558 cat conftest.err >&5
21559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21560 (exit $ac_status); } && {
21561 test -z "$ac_c_werror_flag" ||
21562 test ! -s conftest.err
21563 } && test -s conftest.$ac_objext; then
21564 ac_cv_type_size_t=yes
21565 else
21566 echo "$as_me: failed program was:" >&5
21567 sed 's/^/| /' conftest.$ac_ext >&5
21568
21569 ac_cv_type_size_t=no
21570 fi
21571
21572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21573 fi
21574 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21575 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21576
21577 # The cast to long int works around a bug in the HP C Compiler
21578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21580 # This bug is HP SR number 8606223364.
21581 { echo "$as_me:$LINENO: checking size of size_t" >&5
21582 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21583 if test "${ac_cv_sizeof_size_t+set}" = set; then
21584 echo $ECHO_N "(cached) $ECHO_C" >&6
21585 else
21586 if test "$cross_compiling" = yes; then
21587 # Depending upon the size, compute the lo and hi bounds.
21588 cat >conftest.$ac_ext <<_ACEOF
21589 /* confdefs.h. */
21590 _ACEOF
21591 cat confdefs.h >>conftest.$ac_ext
21592 cat >>conftest.$ac_ext <<_ACEOF
21593 /* end confdefs.h. */
21594 $ac_includes_default
21595 typedef size_t ac__type_sizeof_;
21596 int
21597 main ()
21598 {
21599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21600 test_array [0] = 0
21601
21602 ;
21603 return 0;
21604 }
21605 _ACEOF
21606 rm -f conftest.$ac_objext
21607 if { (ac_try="$ac_compile"
21608 case "(($ac_try" in
21609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21610 *) ac_try_echo=$ac_try;;
21611 esac
21612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21613 (eval "$ac_compile") 2>conftest.er1
21614 ac_status=$?
21615 grep -v '^ *+' conftest.er1 >conftest.err
21616 rm -f conftest.er1
21617 cat conftest.err >&5
21618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 (exit $ac_status); } && {
21620 test -z "$ac_c_werror_flag" ||
21621 test ! -s conftest.err
21622 } && test -s conftest.$ac_objext; then
21623 ac_lo=0 ac_mid=0
21624 while :; do
21625 cat >conftest.$ac_ext <<_ACEOF
21626 /* confdefs.h. */
21627 _ACEOF
21628 cat confdefs.h >>conftest.$ac_ext
21629 cat >>conftest.$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 $ac_includes_default
21632 typedef size_t ac__type_sizeof_;
21633 int
21634 main ()
21635 {
21636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21637 test_array [0] = 0
21638
21639 ;
21640 return 0;
21641 }
21642 _ACEOF
21643 rm -f conftest.$ac_objext
21644 if { (ac_try="$ac_compile"
21645 case "(($ac_try" in
21646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21647 *) ac_try_echo=$ac_try;;
21648 esac
21649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21650 (eval "$ac_compile") 2>conftest.er1
21651 ac_status=$?
21652 grep -v '^ *+' conftest.er1 >conftest.err
21653 rm -f conftest.er1
21654 cat conftest.err >&5
21655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656 (exit $ac_status); } && {
21657 test -z "$ac_c_werror_flag" ||
21658 test ! -s conftest.err
21659 } && test -s conftest.$ac_objext; then
21660 ac_hi=$ac_mid; break
21661 else
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21664
21665 ac_lo=`expr $ac_mid + 1`
21666 if test $ac_lo -le $ac_mid; then
21667 ac_lo= ac_hi=
21668 break
21669 fi
21670 ac_mid=`expr 2 '*' $ac_mid + 1`
21671 fi
21672
21673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21674 done
21675 else
21676 echo "$as_me: failed program was:" >&5
21677 sed 's/^/| /' conftest.$ac_ext >&5
21678
21679 cat >conftest.$ac_ext <<_ACEOF
21680 /* confdefs.h. */
21681 _ACEOF
21682 cat confdefs.h >>conftest.$ac_ext
21683 cat >>conftest.$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21685 $ac_includes_default
21686 typedef size_t ac__type_sizeof_;
21687 int
21688 main ()
21689 {
21690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21691 test_array [0] = 0
21692
21693 ;
21694 return 0;
21695 }
21696 _ACEOF
21697 rm -f conftest.$ac_objext
21698 if { (ac_try="$ac_compile"
21699 case "(($ac_try" in
21700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21701 *) ac_try_echo=$ac_try;;
21702 esac
21703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21704 (eval "$ac_compile") 2>conftest.er1
21705 ac_status=$?
21706 grep -v '^ *+' conftest.er1 >conftest.err
21707 rm -f conftest.er1
21708 cat conftest.err >&5
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); } && {
21711 test -z "$ac_c_werror_flag" ||
21712 test ! -s conftest.err
21713 } && test -s conftest.$ac_objext; then
21714 ac_hi=-1 ac_mid=-1
21715 while :; do
21716 cat >conftest.$ac_ext <<_ACEOF
21717 /* confdefs.h. */
21718 _ACEOF
21719 cat confdefs.h >>conftest.$ac_ext
21720 cat >>conftest.$ac_ext <<_ACEOF
21721 /* end confdefs.h. */
21722 $ac_includes_default
21723 typedef size_t ac__type_sizeof_;
21724 int
21725 main ()
21726 {
21727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21728 test_array [0] = 0
21729
21730 ;
21731 return 0;
21732 }
21733 _ACEOF
21734 rm -f conftest.$ac_objext
21735 if { (ac_try="$ac_compile"
21736 case "(($ac_try" in
21737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21738 *) ac_try_echo=$ac_try;;
21739 esac
21740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21741 (eval "$ac_compile") 2>conftest.er1
21742 ac_status=$?
21743 grep -v '^ *+' conftest.er1 >conftest.err
21744 rm -f conftest.er1
21745 cat conftest.err >&5
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); } && {
21748 test -z "$ac_c_werror_flag" ||
21749 test ! -s conftest.err
21750 } && test -s conftest.$ac_objext; then
21751 ac_lo=$ac_mid; break
21752 else
21753 echo "$as_me: failed program was:" >&5
21754 sed 's/^/| /' conftest.$ac_ext >&5
21755
21756 ac_hi=`expr '(' $ac_mid ')' - 1`
21757 if test $ac_mid -le $ac_hi; then
21758 ac_lo= ac_hi=
21759 break
21760 fi
21761 ac_mid=`expr 2 '*' $ac_mid`
21762 fi
21763
21764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21765 done
21766 else
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.$ac_ext >&5
21769
21770 ac_lo= ac_hi=
21771 fi
21772
21773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21774 fi
21775
21776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21777 # Binary search between lo and hi bounds.
21778 while test "x$ac_lo" != "x$ac_hi"; do
21779 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21780 cat >conftest.$ac_ext <<_ACEOF
21781 /* confdefs.h. */
21782 _ACEOF
21783 cat confdefs.h >>conftest.$ac_ext
21784 cat >>conftest.$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21786 $ac_includes_default
21787 typedef size_t ac__type_sizeof_;
21788 int
21789 main ()
21790 {
21791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21792 test_array [0] = 0
21793
21794 ;
21795 return 0;
21796 }
21797 _ACEOF
21798 rm -f conftest.$ac_objext
21799 if { (ac_try="$ac_compile"
21800 case "(($ac_try" in
21801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21802 *) ac_try_echo=$ac_try;;
21803 esac
21804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21805 (eval "$ac_compile") 2>conftest.er1
21806 ac_status=$?
21807 grep -v '^ *+' conftest.er1 >conftest.err
21808 rm -f conftest.er1
21809 cat conftest.err >&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); } && {
21812 test -z "$ac_c_werror_flag" ||
21813 test ! -s conftest.err
21814 } && test -s conftest.$ac_objext; then
21815 ac_hi=$ac_mid
21816 else
21817 echo "$as_me: failed program was:" >&5
21818 sed 's/^/| /' conftest.$ac_ext >&5
21819
21820 ac_lo=`expr '(' $ac_mid ')' + 1`
21821 fi
21822
21823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21824 done
21825 case $ac_lo in
21826 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21827 '') if test "$ac_cv_type_size_t" = yes; then
21828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21829 See \`config.log' for more details." >&5
21830 echo "$as_me: error: cannot compute sizeof (size_t)
21831 See \`config.log' for more details." >&2;}
21832 { (exit 77); exit 77; }; }
21833 else
21834 ac_cv_sizeof_size_t=0
21835 fi ;;
21836 esac
21837 else
21838 cat >conftest.$ac_ext <<_ACEOF
21839 /* confdefs.h. */
21840 _ACEOF
21841 cat confdefs.h >>conftest.$ac_ext
21842 cat >>conftest.$ac_ext <<_ACEOF
21843 /* end confdefs.h. */
21844 $ac_includes_default
21845 typedef size_t ac__type_sizeof_;
21846 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21847 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21848 #include <stdio.h>
21849 #include <stdlib.h>
21850 int
21851 main ()
21852 {
21853
21854 FILE *f = fopen ("conftest.val", "w");
21855 if (! f)
21856 return 1;
21857 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21858 {
21859 long int i = longval ();
21860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21861 return 1;
21862 fprintf (f, "%ld\n", i);
21863 }
21864 else
21865 {
21866 unsigned long int i = ulongval ();
21867 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21868 return 1;
21869 fprintf (f, "%lu\n", i);
21870 }
21871 return ferror (f) || fclose (f) != 0;
21872
21873 ;
21874 return 0;
21875 }
21876 _ACEOF
21877 rm -f conftest$ac_exeext
21878 if { (ac_try="$ac_link"
21879 case "(($ac_try" in
21880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21881 *) ac_try_echo=$ac_try;;
21882 esac
21883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21884 (eval "$ac_link") 2>&5
21885 ac_status=$?
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21888 { (case "(($ac_try" in
21889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21890 *) ac_try_echo=$ac_try;;
21891 esac
21892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21893 (eval "$ac_try") 2>&5
21894 ac_status=$?
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); }; }; then
21897 ac_cv_sizeof_size_t=`cat conftest.val`
21898 else
21899 echo "$as_me: program exited with status $ac_status" >&5
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21902
21903 ( exit $ac_status )
21904 if test "$ac_cv_type_size_t" = yes; then
21905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21906 See \`config.log' for more details." >&5
21907 echo "$as_me: error: cannot compute sizeof (size_t)
21908 See \`config.log' for more details." >&2;}
21909 { (exit 77); exit 77; }; }
21910 else
21911 ac_cv_sizeof_size_t=0
21912 fi
21913 fi
21914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21915 fi
21916 rm -f conftest.val
21917 fi
21918 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21919 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21920
21921
21922
21923 cat >>confdefs.h <<_ACEOF
21924 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21925 _ACEOF
21926
21927
21928
21929 case "${host}" in
21930 arm-*-linux* )
21931 { echo "$as_me:$LINENO: checking for long long" >&5
21932 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21933 if test "${ac_cv_type_long_long+set}" = set; then
21934 echo $ECHO_N "(cached) $ECHO_C" >&6
21935 else
21936 cat >conftest.$ac_ext <<_ACEOF
21937 /* confdefs.h. */
21938 _ACEOF
21939 cat confdefs.h >>conftest.$ac_ext
21940 cat >>conftest.$ac_ext <<_ACEOF
21941 /* end confdefs.h. */
21942 $ac_includes_default
21943 typedef long long ac__type_new_;
21944 int
21945 main ()
21946 {
21947 if ((ac__type_new_ *) 0)
21948 return 0;
21949 if (sizeof (ac__type_new_))
21950 return 0;
21951 ;
21952 return 0;
21953 }
21954 _ACEOF
21955 rm -f conftest.$ac_objext
21956 if { (ac_try="$ac_compile"
21957 case "(($ac_try" in
21958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21959 *) ac_try_echo=$ac_try;;
21960 esac
21961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21962 (eval "$ac_compile") 2>conftest.er1
21963 ac_status=$?
21964 grep -v '^ *+' conftest.er1 >conftest.err
21965 rm -f conftest.er1
21966 cat conftest.err >&5
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); } && {
21969 test -z "$ac_c_werror_flag" ||
21970 test ! -s conftest.err
21971 } && test -s conftest.$ac_objext; then
21972 ac_cv_type_long_long=yes
21973 else
21974 echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.$ac_ext >&5
21976
21977 ac_cv_type_long_long=no
21978 fi
21979
21980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21981 fi
21982 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21983 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21984
21985 # The cast to long int works around a bug in the HP C Compiler
21986 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21987 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21988 # This bug is HP SR number 8606223364.
21989 { echo "$as_me:$LINENO: checking size of long long" >&5
21990 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21991 if test "${ac_cv_sizeof_long_long+set}" = set; then
21992 echo $ECHO_N "(cached) $ECHO_C" >&6
21993 else
21994 if test "$cross_compiling" = yes; then
21995 # Depending upon the size, compute the lo and hi bounds.
21996 cat >conftest.$ac_ext <<_ACEOF
21997 /* confdefs.h. */
21998 _ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22002 $ac_includes_default
22003 typedef long long ac__type_sizeof_;
22004 int
22005 main ()
22006 {
22007 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22008 test_array [0] = 0
22009
22010 ;
22011 return 0;
22012 }
22013 _ACEOF
22014 rm -f conftest.$ac_objext
22015 if { (ac_try="$ac_compile"
22016 case "(($ac_try" in
22017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22018 *) ac_try_echo=$ac_try;;
22019 esac
22020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22021 (eval "$ac_compile") 2>conftest.er1
22022 ac_status=$?
22023 grep -v '^ *+' conftest.er1 >conftest.err
22024 rm -f conftest.er1
22025 cat conftest.err >&5
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); } && {
22028 test -z "$ac_c_werror_flag" ||
22029 test ! -s conftest.err
22030 } && test -s conftest.$ac_objext; then
22031 ac_lo=0 ac_mid=0
22032 while :; do
22033 cat >conftest.$ac_ext <<_ACEOF
22034 /* confdefs.h. */
22035 _ACEOF
22036 cat confdefs.h >>conftest.$ac_ext
22037 cat >>conftest.$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039 $ac_includes_default
22040 typedef long long ac__type_sizeof_;
22041 int
22042 main ()
22043 {
22044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22045 test_array [0] = 0
22046
22047 ;
22048 return 0;
22049 }
22050 _ACEOF
22051 rm -f conftest.$ac_objext
22052 if { (ac_try="$ac_compile"
22053 case "(($ac_try" in
22054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22055 *) ac_try_echo=$ac_try;;
22056 esac
22057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22058 (eval "$ac_compile") 2>conftest.er1
22059 ac_status=$?
22060 grep -v '^ *+' conftest.er1 >conftest.err
22061 rm -f conftest.er1
22062 cat conftest.err >&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } && {
22065 test -z "$ac_c_werror_flag" ||
22066 test ! -s conftest.err
22067 } && test -s conftest.$ac_objext; then
22068 ac_hi=$ac_mid; break
22069 else
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.$ac_ext >&5
22072
22073 ac_lo=`expr $ac_mid + 1`
22074 if test $ac_lo -le $ac_mid; then
22075 ac_lo= ac_hi=
22076 break
22077 fi
22078 ac_mid=`expr 2 '*' $ac_mid + 1`
22079 fi
22080
22081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22082 done
22083 else
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22086
22087 cat >conftest.$ac_ext <<_ACEOF
22088 /* confdefs.h. */
22089 _ACEOF
22090 cat confdefs.h >>conftest.$ac_ext
22091 cat >>conftest.$ac_ext <<_ACEOF
22092 /* end confdefs.h. */
22093 $ac_includes_default
22094 typedef long long ac__type_sizeof_;
22095 int
22096 main ()
22097 {
22098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22099 test_array [0] = 0
22100
22101 ;
22102 return 0;
22103 }
22104 _ACEOF
22105 rm -f conftest.$ac_objext
22106 if { (ac_try="$ac_compile"
22107 case "(($ac_try" in
22108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22109 *) ac_try_echo=$ac_try;;
22110 esac
22111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22112 (eval "$ac_compile") 2>conftest.er1
22113 ac_status=$?
22114 grep -v '^ *+' conftest.er1 >conftest.err
22115 rm -f conftest.er1
22116 cat conftest.err >&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } && {
22119 test -z "$ac_c_werror_flag" ||
22120 test ! -s conftest.err
22121 } && test -s conftest.$ac_objext; then
22122 ac_hi=-1 ac_mid=-1
22123 while :; do
22124 cat >conftest.$ac_ext <<_ACEOF
22125 /* confdefs.h. */
22126 _ACEOF
22127 cat confdefs.h >>conftest.$ac_ext
22128 cat >>conftest.$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 $ac_includes_default
22131 typedef long long ac__type_sizeof_;
22132 int
22133 main ()
22134 {
22135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22136 test_array [0] = 0
22137
22138 ;
22139 return 0;
22140 }
22141 _ACEOF
22142 rm -f conftest.$ac_objext
22143 if { (ac_try="$ac_compile"
22144 case "(($ac_try" in
22145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22146 *) ac_try_echo=$ac_try;;
22147 esac
22148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22149 (eval "$ac_compile") 2>conftest.er1
22150 ac_status=$?
22151 grep -v '^ *+' conftest.er1 >conftest.err
22152 rm -f conftest.er1
22153 cat conftest.err >&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } && {
22156 test -z "$ac_c_werror_flag" ||
22157 test ! -s conftest.err
22158 } && test -s conftest.$ac_objext; then
22159 ac_lo=$ac_mid; break
22160 else
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22163
22164 ac_hi=`expr '(' $ac_mid ')' - 1`
22165 if test $ac_mid -le $ac_hi; then
22166 ac_lo= ac_hi=
22167 break
22168 fi
22169 ac_mid=`expr 2 '*' $ac_mid`
22170 fi
22171
22172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22173 done
22174 else
22175 echo "$as_me: failed program was:" >&5
22176 sed 's/^/| /' conftest.$ac_ext >&5
22177
22178 ac_lo= ac_hi=
22179 fi
22180
22181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22182 fi
22183
22184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22185 # Binary search between lo and hi bounds.
22186 while test "x$ac_lo" != "x$ac_hi"; do
22187 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22188 cat >conftest.$ac_ext <<_ACEOF
22189 /* confdefs.h. */
22190 _ACEOF
22191 cat confdefs.h >>conftest.$ac_ext
22192 cat >>conftest.$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 $ac_includes_default
22195 typedef long long ac__type_sizeof_;
22196 int
22197 main ()
22198 {
22199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22200 test_array [0] = 0
22201
22202 ;
22203 return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest.$ac_objext
22207 if { (ac_try="$ac_compile"
22208 case "(($ac_try" in
22209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22210 *) ac_try_echo=$ac_try;;
22211 esac
22212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22213 (eval "$ac_compile") 2>conftest.er1
22214 ac_status=$?
22215 grep -v '^ *+' conftest.er1 >conftest.err
22216 rm -f conftest.er1
22217 cat conftest.err >&5
22218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22219 (exit $ac_status); } && {
22220 test -z "$ac_c_werror_flag" ||
22221 test ! -s conftest.err
22222 } && test -s conftest.$ac_objext; then
22223 ac_hi=$ac_mid
22224 else
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22227
22228 ac_lo=`expr '(' $ac_mid ')' + 1`
22229 fi
22230
22231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22232 done
22233 case $ac_lo in
22234 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22235 '') if test "$ac_cv_type_long_long" = yes; then
22236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22237 See \`config.log' for more details." >&5
22238 echo "$as_me: error: cannot compute sizeof (long long)
22239 See \`config.log' for more details." >&2;}
22240 { (exit 77); exit 77; }; }
22241 else
22242 ac_cv_sizeof_long_long=0
22243 fi ;;
22244 esac
22245 else
22246 cat >conftest.$ac_ext <<_ACEOF
22247 /* confdefs.h. */
22248 _ACEOF
22249 cat confdefs.h >>conftest.$ac_ext
22250 cat >>conftest.$ac_ext <<_ACEOF
22251 /* end confdefs.h. */
22252 $ac_includes_default
22253 typedef long long ac__type_sizeof_;
22254 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22255 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22256 #include <stdio.h>
22257 #include <stdlib.h>
22258 int
22259 main ()
22260 {
22261
22262 FILE *f = fopen ("conftest.val", "w");
22263 if (! f)
22264 return 1;
22265 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22266 {
22267 long int i = longval ();
22268 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22269 return 1;
22270 fprintf (f, "%ld\n", i);
22271 }
22272 else
22273 {
22274 unsigned long int i = ulongval ();
22275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22276 return 1;
22277 fprintf (f, "%lu\n", i);
22278 }
22279 return ferror (f) || fclose (f) != 0;
22280
22281 ;
22282 return 0;
22283 }
22284 _ACEOF
22285 rm -f conftest$ac_exeext
22286 if { (ac_try="$ac_link"
22287 case "(($ac_try" in
22288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22289 *) ac_try_echo=$ac_try;;
22290 esac
22291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22292 (eval "$ac_link") 2>&5
22293 ac_status=$?
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22296 { (case "(($ac_try" in
22297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22299 esac
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_try") 2>&5
22302 ac_status=$?
22303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22304 (exit $ac_status); }; }; then
22305 ac_cv_sizeof_long_long=`cat conftest.val`
22306 else
22307 echo "$as_me: program exited with status $ac_status" >&5
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.$ac_ext >&5
22310
22311 ( exit $ac_status )
22312 if test "$ac_cv_type_long_long" = yes; then
22313 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22314 See \`config.log' for more details." >&5
22315 echo "$as_me: error: cannot compute sizeof (long long)
22316 See \`config.log' for more details." >&2;}
22317 { (exit 77); exit 77; }; }
22318 else
22319 ac_cv_sizeof_long_long=0
22320 fi
22321 fi
22322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22323 fi
22324 rm -f conftest.val
22325 fi
22326 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22327 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22328
22329
22330
22331 cat >>confdefs.h <<_ACEOF
22332 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22333 _ACEOF
22334
22335
22336 ;;
22337 *-hp-hpux* )
22338 { echo "$as_me:$LINENO: checking for long long" >&5
22339 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22340 if test "${ac_cv_type_long_long+set}" = set; then
22341 echo $ECHO_N "(cached) $ECHO_C" >&6
22342 else
22343 cat >conftest.$ac_ext <<_ACEOF
22344 /* confdefs.h. */
22345 _ACEOF
22346 cat confdefs.h >>conftest.$ac_ext
22347 cat >>conftest.$ac_ext <<_ACEOF
22348 /* end confdefs.h. */
22349 $ac_includes_default
22350 typedef long long ac__type_new_;
22351 int
22352 main ()
22353 {
22354 if ((ac__type_new_ *) 0)
22355 return 0;
22356 if (sizeof (ac__type_new_))
22357 return 0;
22358 ;
22359 return 0;
22360 }
22361 _ACEOF
22362 rm -f conftest.$ac_objext
22363 if { (ac_try="$ac_compile"
22364 case "(($ac_try" in
22365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22366 *) ac_try_echo=$ac_try;;
22367 esac
22368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22369 (eval "$ac_compile") 2>conftest.er1
22370 ac_status=$?
22371 grep -v '^ *+' conftest.er1 >conftest.err
22372 rm -f conftest.er1
22373 cat conftest.err >&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } && {
22376 test -z "$ac_c_werror_flag" ||
22377 test ! -s conftest.err
22378 } && test -s conftest.$ac_objext; then
22379 ac_cv_type_long_long=yes
22380 else
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.$ac_ext >&5
22383
22384 ac_cv_type_long_long=no
22385 fi
22386
22387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22388 fi
22389 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22390 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22391
22392 # The cast to long int works around a bug in the HP C Compiler
22393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22395 # This bug is HP SR number 8606223364.
22396 { echo "$as_me:$LINENO: checking size of long long" >&5
22397 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22398 if test "${ac_cv_sizeof_long_long+set}" = set; then
22399 echo $ECHO_N "(cached) $ECHO_C" >&6
22400 else
22401 if test "$cross_compiling" = yes; then
22402 # Depending upon the size, compute the lo and hi bounds.
22403 cat >conftest.$ac_ext <<_ACEOF
22404 /* confdefs.h. */
22405 _ACEOF
22406 cat confdefs.h >>conftest.$ac_ext
22407 cat >>conftest.$ac_ext <<_ACEOF
22408 /* end confdefs.h. */
22409 $ac_includes_default
22410 typedef long long ac__type_sizeof_;
22411 int
22412 main ()
22413 {
22414 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22415 test_array [0] = 0
22416
22417 ;
22418 return 0;
22419 }
22420 _ACEOF
22421 rm -f conftest.$ac_objext
22422 if { (ac_try="$ac_compile"
22423 case "(($ac_try" in
22424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22425 *) ac_try_echo=$ac_try;;
22426 esac
22427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22428 (eval "$ac_compile") 2>conftest.er1
22429 ac_status=$?
22430 grep -v '^ *+' conftest.er1 >conftest.err
22431 rm -f conftest.er1
22432 cat conftest.err >&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); } && {
22435 test -z "$ac_c_werror_flag" ||
22436 test ! -s conftest.err
22437 } && test -s conftest.$ac_objext; then
22438 ac_lo=0 ac_mid=0
22439 while :; do
22440 cat >conftest.$ac_ext <<_ACEOF
22441 /* confdefs.h. */
22442 _ACEOF
22443 cat confdefs.h >>conftest.$ac_ext
22444 cat >>conftest.$ac_ext <<_ACEOF
22445 /* end confdefs.h. */
22446 $ac_includes_default
22447 typedef long long ac__type_sizeof_;
22448 int
22449 main ()
22450 {
22451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22452 test_array [0] = 0
22453
22454 ;
22455 return 0;
22456 }
22457 _ACEOF
22458 rm -f conftest.$ac_objext
22459 if { (ac_try="$ac_compile"
22460 case "(($ac_try" in
22461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22462 *) ac_try_echo=$ac_try;;
22463 esac
22464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22465 (eval "$ac_compile") 2>conftest.er1
22466 ac_status=$?
22467 grep -v '^ *+' conftest.er1 >conftest.err
22468 rm -f conftest.er1
22469 cat conftest.err >&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } && {
22472 test -z "$ac_c_werror_flag" ||
22473 test ! -s conftest.err
22474 } && test -s conftest.$ac_objext; then
22475 ac_hi=$ac_mid; break
22476 else
22477 echo "$as_me: failed program was:" >&5
22478 sed 's/^/| /' conftest.$ac_ext >&5
22479
22480 ac_lo=`expr $ac_mid + 1`
22481 if test $ac_lo -le $ac_mid; then
22482 ac_lo= ac_hi=
22483 break
22484 fi
22485 ac_mid=`expr 2 '*' $ac_mid + 1`
22486 fi
22487
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 done
22490 else
22491 echo "$as_me: failed program was:" >&5
22492 sed 's/^/| /' conftest.$ac_ext >&5
22493
22494 cat >conftest.$ac_ext <<_ACEOF
22495 /* confdefs.h. */
22496 _ACEOF
22497 cat confdefs.h >>conftest.$ac_ext
22498 cat >>conftest.$ac_ext <<_ACEOF
22499 /* end confdefs.h. */
22500 $ac_includes_default
22501 typedef long long ac__type_sizeof_;
22502 int
22503 main ()
22504 {
22505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22506 test_array [0] = 0
22507
22508 ;
22509 return 0;
22510 }
22511 _ACEOF
22512 rm -f conftest.$ac_objext
22513 if { (ac_try="$ac_compile"
22514 case "(($ac_try" in
22515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;;
22517 esac
22518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_compile") 2>conftest.er1
22520 ac_status=$?
22521 grep -v '^ *+' conftest.er1 >conftest.err
22522 rm -f conftest.er1
22523 cat conftest.err >&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && {
22526 test -z "$ac_c_werror_flag" ||
22527 test ! -s conftest.err
22528 } && test -s conftest.$ac_objext; then
22529 ac_hi=-1 ac_mid=-1
22530 while :; do
22531 cat >conftest.$ac_ext <<_ACEOF
22532 /* confdefs.h. */
22533 _ACEOF
22534 cat confdefs.h >>conftest.$ac_ext
22535 cat >>conftest.$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537 $ac_includes_default
22538 typedef long long ac__type_sizeof_;
22539 int
22540 main ()
22541 {
22542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22543 test_array [0] = 0
22544
22545 ;
22546 return 0;
22547 }
22548 _ACEOF
22549 rm -f conftest.$ac_objext
22550 if { (ac_try="$ac_compile"
22551 case "(($ac_try" in
22552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22553 *) ac_try_echo=$ac_try;;
22554 esac
22555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22556 (eval "$ac_compile") 2>conftest.er1
22557 ac_status=$?
22558 grep -v '^ *+' conftest.er1 >conftest.err
22559 rm -f conftest.er1
22560 cat conftest.err >&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } && {
22563 test -z "$ac_c_werror_flag" ||
22564 test ! -s conftest.err
22565 } && test -s conftest.$ac_objext; then
22566 ac_lo=$ac_mid; break
22567 else
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.$ac_ext >&5
22570
22571 ac_hi=`expr '(' $ac_mid ')' - 1`
22572 if test $ac_mid -le $ac_hi; then
22573 ac_lo= ac_hi=
22574 break
22575 fi
22576 ac_mid=`expr 2 '*' $ac_mid`
22577 fi
22578
22579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22580 done
22581 else
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22584
22585 ac_lo= ac_hi=
22586 fi
22587
22588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22589 fi
22590
22591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22592 # Binary search between lo and hi bounds.
22593 while test "x$ac_lo" != "x$ac_hi"; do
22594 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22595 cat >conftest.$ac_ext <<_ACEOF
22596 /* confdefs.h. */
22597 _ACEOF
22598 cat confdefs.h >>conftest.$ac_ext
22599 cat >>conftest.$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22601 $ac_includes_default
22602 typedef long long ac__type_sizeof_;
22603 int
22604 main ()
22605 {
22606 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22607 test_array [0] = 0
22608
22609 ;
22610 return 0;
22611 }
22612 _ACEOF
22613 rm -f conftest.$ac_objext
22614 if { (ac_try="$ac_compile"
22615 case "(($ac_try" in
22616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22617 *) ac_try_echo=$ac_try;;
22618 esac
22619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22620 (eval "$ac_compile") 2>conftest.er1
22621 ac_status=$?
22622 grep -v '^ *+' conftest.er1 >conftest.err
22623 rm -f conftest.er1
22624 cat conftest.err >&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } && {
22627 test -z "$ac_c_werror_flag" ||
22628 test ! -s conftest.err
22629 } && test -s conftest.$ac_objext; then
22630 ac_hi=$ac_mid
22631 else
22632 echo "$as_me: failed program was:" >&5
22633 sed 's/^/| /' conftest.$ac_ext >&5
22634
22635 ac_lo=`expr '(' $ac_mid ')' + 1`
22636 fi
22637
22638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22639 done
22640 case $ac_lo in
22641 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22642 '') if test "$ac_cv_type_long_long" = yes; then
22643 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22644 See \`config.log' for more details." >&5
22645 echo "$as_me: error: cannot compute sizeof (long long)
22646 See \`config.log' for more details." >&2;}
22647 { (exit 77); exit 77; }; }
22648 else
22649 ac_cv_sizeof_long_long=0
22650 fi ;;
22651 esac
22652 else
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 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22662 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22663 #include <stdio.h>
22664 #include <stdlib.h>
22665 int
22666 main ()
22667 {
22668
22669 FILE *f = fopen ("conftest.val", "w");
22670 if (! f)
22671 return 1;
22672 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22673 {
22674 long int i = longval ();
22675 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22676 return 1;
22677 fprintf (f, "%ld\n", i);
22678 }
22679 else
22680 {
22681 unsigned long int i = ulongval ();
22682 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22683 return 1;
22684 fprintf (f, "%lu\n", i);
22685 }
22686 return ferror (f) || fclose (f) != 0;
22687
22688 ;
22689 return 0;
22690 }
22691 _ACEOF
22692 rm -f conftest$ac_exeext
22693 if { (ac_try="$ac_link"
22694 case "(($ac_try" in
22695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22696 *) ac_try_echo=$ac_try;;
22697 esac
22698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22699 (eval "$ac_link") 2>&5
22700 ac_status=$?
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22703 { (case "(($ac_try" in
22704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22705 *) ac_try_echo=$ac_try;;
22706 esac
22707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22708 (eval "$ac_try") 2>&5
22709 ac_status=$?
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); }; }; then
22712 ac_cv_sizeof_long_long=`cat conftest.val`
22713 else
22714 echo "$as_me: program exited with status $ac_status" >&5
22715 echo "$as_me: failed program was:" >&5
22716 sed 's/^/| /' conftest.$ac_ext >&5
22717
22718 ( exit $ac_status )
22719 if test "$ac_cv_type_long_long" = yes; then
22720 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22721 See \`config.log' for more details." >&5
22722 echo "$as_me: error: cannot compute sizeof (long long)
22723 See \`config.log' for more details." >&2;}
22724 { (exit 77); exit 77; }; }
22725 else
22726 ac_cv_sizeof_long_long=0
22727 fi
22728 fi
22729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22730 fi
22731 rm -f conftest.val
22732 fi
22733 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22734 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22735
22736
22737
22738 cat >>confdefs.h <<_ACEOF
22739 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22740 _ACEOF
22741
22742
22743 if test "$ac_cv_sizeof_long_long" != 0; then
22744 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22745 fi
22746 ;;
22747 * )
22748 { echo "$as_me:$LINENO: checking for long long" >&5
22749 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22750 if test "${ac_cv_type_long_long+set}" = set; then
22751 echo $ECHO_N "(cached) $ECHO_C" >&6
22752 else
22753 cat >conftest.$ac_ext <<_ACEOF
22754 /* confdefs.h. */
22755 _ACEOF
22756 cat confdefs.h >>conftest.$ac_ext
22757 cat >>conftest.$ac_ext <<_ACEOF
22758 /* end confdefs.h. */
22759 $ac_includes_default
22760 typedef long long ac__type_new_;
22761 int
22762 main ()
22763 {
22764 if ((ac__type_new_ *) 0)
22765 return 0;
22766 if (sizeof (ac__type_new_))
22767 return 0;
22768 ;
22769 return 0;
22770 }
22771 _ACEOF
22772 rm -f conftest.$ac_objext
22773 if { (ac_try="$ac_compile"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22777 esac
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_compile") 2>conftest.er1
22780 ac_status=$?
22781 grep -v '^ *+' conftest.er1 >conftest.err
22782 rm -f conftest.er1
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_c_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest.$ac_objext; then
22789 ac_cv_type_long_long=yes
22790 else
22791 echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.$ac_ext >&5
22793
22794 ac_cv_type_long_long=no
22795 fi
22796
22797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22798 fi
22799 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22800 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22801
22802 # The cast to long int works around a bug in the HP C Compiler
22803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22805 # This bug is HP SR number 8606223364.
22806 { echo "$as_me:$LINENO: checking size of long long" >&5
22807 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22808 if test "${ac_cv_sizeof_long_long+set}" = set; then
22809 echo $ECHO_N "(cached) $ECHO_C" >&6
22810 else
22811 if test "$cross_compiling" = yes; then
22812 # Depending upon the size, compute the lo and hi bounds.
22813 cat >conftest.$ac_ext <<_ACEOF
22814 /* confdefs.h. */
22815 _ACEOF
22816 cat confdefs.h >>conftest.$ac_ext
22817 cat >>conftest.$ac_ext <<_ACEOF
22818 /* end confdefs.h. */
22819 $ac_includes_default
22820 typedef long long ac__type_sizeof_;
22821 int
22822 main ()
22823 {
22824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22825 test_array [0] = 0
22826
22827 ;
22828 return 0;
22829 }
22830 _ACEOF
22831 rm -f conftest.$ac_objext
22832 if { (ac_try="$ac_compile"
22833 case "(($ac_try" in
22834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22835 *) ac_try_echo=$ac_try;;
22836 esac
22837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22838 (eval "$ac_compile") 2>conftest.er1
22839 ac_status=$?
22840 grep -v '^ *+' conftest.er1 >conftest.err
22841 rm -f conftest.er1
22842 cat conftest.err >&5
22843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22844 (exit $ac_status); } && {
22845 test -z "$ac_c_werror_flag" ||
22846 test ! -s conftest.err
22847 } && test -s conftest.$ac_objext; then
22848 ac_lo=0 ac_mid=0
22849 while :; do
22850 cat >conftest.$ac_ext <<_ACEOF
22851 /* confdefs.h. */
22852 _ACEOF
22853 cat confdefs.h >>conftest.$ac_ext
22854 cat >>conftest.$ac_ext <<_ACEOF
22855 /* end confdefs.h. */
22856 $ac_includes_default
22857 typedef long long ac__type_sizeof_;
22858 int
22859 main ()
22860 {
22861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22862 test_array [0] = 0
22863
22864 ;
22865 return 0;
22866 }
22867 _ACEOF
22868 rm -f conftest.$ac_objext
22869 if { (ac_try="$ac_compile"
22870 case "(($ac_try" in
22871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22872 *) ac_try_echo=$ac_try;;
22873 esac
22874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875 (eval "$ac_compile") 2>conftest.er1
22876 ac_status=$?
22877 grep -v '^ *+' conftest.er1 >conftest.err
22878 rm -f conftest.er1
22879 cat conftest.err >&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); } && {
22882 test -z "$ac_c_werror_flag" ||
22883 test ! -s conftest.err
22884 } && test -s conftest.$ac_objext; then
22885 ac_hi=$ac_mid; break
22886 else
22887 echo "$as_me: failed program was:" >&5
22888 sed 's/^/| /' conftest.$ac_ext >&5
22889
22890 ac_lo=`expr $ac_mid + 1`
22891 if test $ac_lo -le $ac_mid; then
22892 ac_lo= ac_hi=
22893 break
22894 fi
22895 ac_mid=`expr 2 '*' $ac_mid + 1`
22896 fi
22897
22898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22899 done
22900 else
22901 echo "$as_me: failed program was:" >&5
22902 sed 's/^/| /' conftest.$ac_ext >&5
22903
22904 cat >conftest.$ac_ext <<_ACEOF
22905 /* confdefs.h. */
22906 _ACEOF
22907 cat confdefs.h >>conftest.$ac_ext
22908 cat >>conftest.$ac_ext <<_ACEOF
22909 /* end confdefs.h. */
22910 $ac_includes_default
22911 typedef long long ac__type_sizeof_;
22912 int
22913 main ()
22914 {
22915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22916 test_array [0] = 0
22917
22918 ;
22919 return 0;
22920 }
22921 _ACEOF
22922 rm -f conftest.$ac_objext
22923 if { (ac_try="$ac_compile"
22924 case "(($ac_try" in
22925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22926 *) ac_try_echo=$ac_try;;
22927 esac
22928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22929 (eval "$ac_compile") 2>conftest.er1
22930 ac_status=$?
22931 grep -v '^ *+' conftest.er1 >conftest.err
22932 rm -f conftest.er1
22933 cat conftest.err >&5
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } && {
22936 test -z "$ac_c_werror_flag" ||
22937 test ! -s conftest.err
22938 } && test -s conftest.$ac_objext; then
22939 ac_hi=-1 ac_mid=-1
22940 while :; do
22941 cat >conftest.$ac_ext <<_ACEOF
22942 /* confdefs.h. */
22943 _ACEOF
22944 cat confdefs.h >>conftest.$ac_ext
22945 cat >>conftest.$ac_ext <<_ACEOF
22946 /* end confdefs.h. */
22947 $ac_includes_default
22948 typedef long long ac__type_sizeof_;
22949 int
22950 main ()
22951 {
22952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22953 test_array [0] = 0
22954
22955 ;
22956 return 0;
22957 }
22958 _ACEOF
22959 rm -f conftest.$ac_objext
22960 if { (ac_try="$ac_compile"
22961 case "(($ac_try" in
22962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22963 *) ac_try_echo=$ac_try;;
22964 esac
22965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22966 (eval "$ac_compile") 2>conftest.er1
22967 ac_status=$?
22968 grep -v '^ *+' conftest.er1 >conftest.err
22969 rm -f conftest.er1
22970 cat conftest.err >&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } && {
22973 test -z "$ac_c_werror_flag" ||
22974 test ! -s conftest.err
22975 } && test -s conftest.$ac_objext; then
22976 ac_lo=$ac_mid; break
22977 else
22978 echo "$as_me: failed program was:" >&5
22979 sed 's/^/| /' conftest.$ac_ext >&5
22980
22981 ac_hi=`expr '(' $ac_mid ')' - 1`
22982 if test $ac_mid -le $ac_hi; then
22983 ac_lo= ac_hi=
22984 break
22985 fi
22986 ac_mid=`expr 2 '*' $ac_mid`
22987 fi
22988
22989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22990 done
22991 else
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.$ac_ext >&5
22994
22995 ac_lo= ac_hi=
22996 fi
22997
22998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22999 fi
23000
23001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23002 # Binary search between lo and hi bounds.
23003 while test "x$ac_lo" != "x$ac_hi"; do
23004 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23005 cat >conftest.$ac_ext <<_ACEOF
23006 /* confdefs.h. */
23007 _ACEOF
23008 cat confdefs.h >>conftest.$ac_ext
23009 cat >>conftest.$ac_ext <<_ACEOF
23010 /* end confdefs.h. */
23011 $ac_includes_default
23012 typedef long long ac__type_sizeof_;
23013 int
23014 main ()
23015 {
23016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23017 test_array [0] = 0
23018
23019 ;
23020 return 0;
23021 }
23022 _ACEOF
23023 rm -f conftest.$ac_objext
23024 if { (ac_try="$ac_compile"
23025 case "(($ac_try" in
23026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23027 *) ac_try_echo=$ac_try;;
23028 esac
23029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23030 (eval "$ac_compile") 2>conftest.er1
23031 ac_status=$?
23032 grep -v '^ *+' conftest.er1 >conftest.err
23033 rm -f conftest.er1
23034 cat conftest.err >&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } && {
23037 test -z "$ac_c_werror_flag" ||
23038 test ! -s conftest.err
23039 } && test -s conftest.$ac_objext; then
23040 ac_hi=$ac_mid
23041 else
23042 echo "$as_me: failed program was:" >&5
23043 sed 's/^/| /' conftest.$ac_ext >&5
23044
23045 ac_lo=`expr '(' $ac_mid ')' + 1`
23046 fi
23047
23048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23049 done
23050 case $ac_lo in
23051 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23052 '') if test "$ac_cv_type_long_long" = yes; then
23053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23054 See \`config.log' for more details." >&5
23055 echo "$as_me: error: cannot compute sizeof (long long)
23056 See \`config.log' for more details." >&2;}
23057 { (exit 77); exit 77; }; }
23058 else
23059 ac_cv_sizeof_long_long=0
23060 fi ;;
23061 esac
23062 else
23063 cat >conftest.$ac_ext <<_ACEOF
23064 /* confdefs.h. */
23065 _ACEOF
23066 cat confdefs.h >>conftest.$ac_ext
23067 cat >>conftest.$ac_ext <<_ACEOF
23068 /* end confdefs.h. */
23069 $ac_includes_default
23070 typedef long long ac__type_sizeof_;
23071 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23072 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23073 #include <stdio.h>
23074 #include <stdlib.h>
23075 int
23076 main ()
23077 {
23078
23079 FILE *f = fopen ("conftest.val", "w");
23080 if (! f)
23081 return 1;
23082 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23083 {
23084 long int i = longval ();
23085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23086 return 1;
23087 fprintf (f, "%ld\n", i);
23088 }
23089 else
23090 {
23091 unsigned long int i = ulongval ();
23092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23093 return 1;
23094 fprintf (f, "%lu\n", i);
23095 }
23096 return ferror (f) || fclose (f) != 0;
23097
23098 ;
23099 return 0;
23100 }
23101 _ACEOF
23102 rm -f conftest$ac_exeext
23103 if { (ac_try="$ac_link"
23104 case "(($ac_try" in
23105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23106 *) ac_try_echo=$ac_try;;
23107 esac
23108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23109 (eval "$ac_link") 2>&5
23110 ac_status=$?
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23113 { (case "(($ac_try" in
23114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23115 *) ac_try_echo=$ac_try;;
23116 esac
23117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23118 (eval "$ac_try") 2>&5
23119 ac_status=$?
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; }; then
23122 ac_cv_sizeof_long_long=`cat conftest.val`
23123 else
23124 echo "$as_me: program exited with status $ac_status" >&5
23125 echo "$as_me: failed program was:" >&5
23126 sed 's/^/| /' conftest.$ac_ext >&5
23127
23128 ( exit $ac_status )
23129 if test "$ac_cv_type_long_long" = yes; then
23130 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23131 See \`config.log' for more details." >&5
23132 echo "$as_me: error: cannot compute sizeof (long long)
23133 See \`config.log' for more details." >&2;}
23134 { (exit 77); exit 77; }; }
23135 else
23136 ac_cv_sizeof_long_long=0
23137 fi
23138 fi
23139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23140 fi
23141 rm -f conftest.val
23142 fi
23143 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23144 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23145
23146
23147
23148 cat >>confdefs.h <<_ACEOF
23149 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23150 _ACEOF
23151
23152
23153 esac
23154
23155 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23156 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23157 if test "${ac_cv_type_wchar_t+set}" = set; then
23158 echo $ECHO_N "(cached) $ECHO_C" >&6
23159 else
23160 cat >conftest.$ac_ext <<_ACEOF
23161 /* confdefs.h. */
23162 _ACEOF
23163 cat confdefs.h >>conftest.$ac_ext
23164 cat >>conftest.$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23166
23167 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23168 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23169 # error "fake wchar_t"
23170 #endif
23171 #ifdef HAVE_WCHAR_H
23172 # ifdef __CYGWIN__
23173 # include <stddef.h>
23174 # endif
23175 # include <wchar.h>
23176 #endif
23177 #ifdef HAVE_STDLIB_H
23178 # include <stdlib.h>
23179 #endif
23180 #include <stdio.h>
23181
23182
23183
23184 typedef wchar_t ac__type_new_;
23185 int
23186 main ()
23187 {
23188 if ((ac__type_new_ *) 0)
23189 return 0;
23190 if (sizeof (ac__type_new_))
23191 return 0;
23192 ;
23193 return 0;
23194 }
23195 _ACEOF
23196 rm -f conftest.$ac_objext
23197 if { (ac_try="$ac_compile"
23198 case "(($ac_try" in
23199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23200 *) ac_try_echo=$ac_try;;
23201 esac
23202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23203 (eval "$ac_compile") 2>conftest.er1
23204 ac_status=$?
23205 grep -v '^ *+' conftest.er1 >conftest.err
23206 rm -f conftest.er1
23207 cat conftest.err >&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); } && {
23210 test -z "$ac_c_werror_flag" ||
23211 test ! -s conftest.err
23212 } && test -s conftest.$ac_objext; then
23213 ac_cv_type_wchar_t=yes
23214 else
23215 echo "$as_me: failed program was:" >&5
23216 sed 's/^/| /' conftest.$ac_ext >&5
23217
23218 ac_cv_type_wchar_t=no
23219 fi
23220
23221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23222 fi
23223 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23224 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23225
23226 # The cast to long int works around a bug in the HP C Compiler
23227 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23228 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23229 # This bug is HP SR number 8606223364.
23230 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23231 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23232 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23233 echo $ECHO_N "(cached) $ECHO_C" >&6
23234 else
23235 if test "$cross_compiling" = yes; then
23236 # Depending upon the size, compute the lo and hi bounds.
23237 cat >conftest.$ac_ext <<_ACEOF
23238 /* confdefs.h. */
23239 _ACEOF
23240 cat confdefs.h >>conftest.$ac_ext
23241 cat >>conftest.$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243
23244 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23245 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23246 # error "fake wchar_t"
23247 #endif
23248 #ifdef HAVE_WCHAR_H
23249 # ifdef __CYGWIN__
23250 # include <stddef.h>
23251 # endif
23252 # include <wchar.h>
23253 #endif
23254 #ifdef HAVE_STDLIB_H
23255 # include <stdlib.h>
23256 #endif
23257 #include <stdio.h>
23258
23259
23260
23261 typedef wchar_t ac__type_sizeof_;
23262 int
23263 main ()
23264 {
23265 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23266 test_array [0] = 0
23267
23268 ;
23269 return 0;
23270 }
23271 _ACEOF
23272 rm -f conftest.$ac_objext
23273 if { (ac_try="$ac_compile"
23274 case "(($ac_try" in
23275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23277 esac
23278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23279 (eval "$ac_compile") 2>conftest.er1
23280 ac_status=$?
23281 grep -v '^ *+' conftest.er1 >conftest.err
23282 rm -f conftest.er1
23283 cat conftest.err >&5
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } && {
23286 test -z "$ac_c_werror_flag" ||
23287 test ! -s conftest.err
23288 } && test -s conftest.$ac_objext; then
23289 ac_lo=0 ac_mid=0
23290 while :; do
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297
23298 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23299 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23300 # error "fake wchar_t"
23301 #endif
23302 #ifdef HAVE_WCHAR_H
23303 # ifdef __CYGWIN__
23304 # include <stddef.h>
23305 # endif
23306 # include <wchar.h>
23307 #endif
23308 #ifdef HAVE_STDLIB_H
23309 # include <stdlib.h>
23310 #endif
23311 #include <stdio.h>
23312
23313
23314
23315 typedef wchar_t ac__type_sizeof_;
23316 int
23317 main ()
23318 {
23319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23320 test_array [0] = 0
23321
23322 ;
23323 return 0;
23324 }
23325 _ACEOF
23326 rm -f conftest.$ac_objext
23327 if { (ac_try="$ac_compile"
23328 case "(($ac_try" in
23329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23330 *) ac_try_echo=$ac_try;;
23331 esac
23332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23333 (eval "$ac_compile") 2>conftest.er1
23334 ac_status=$?
23335 grep -v '^ *+' conftest.er1 >conftest.err
23336 rm -f conftest.er1
23337 cat conftest.err >&5
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); } && {
23340 test -z "$ac_c_werror_flag" ||
23341 test ! -s conftest.err
23342 } && test -s conftest.$ac_objext; then
23343 ac_hi=$ac_mid; break
23344 else
23345 echo "$as_me: failed program was:" >&5
23346 sed 's/^/| /' conftest.$ac_ext >&5
23347
23348 ac_lo=`expr $ac_mid + 1`
23349 if test $ac_lo -le $ac_mid; then
23350 ac_lo= ac_hi=
23351 break
23352 fi
23353 ac_mid=`expr 2 '*' $ac_mid + 1`
23354 fi
23355
23356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23357 done
23358 else
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.$ac_ext >&5
23361
23362 cat >conftest.$ac_ext <<_ACEOF
23363 /* confdefs.h. */
23364 _ACEOF
23365 cat confdefs.h >>conftest.$ac_ext
23366 cat >>conftest.$ac_ext <<_ACEOF
23367 /* end confdefs.h. */
23368
23369 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23370 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23371 # error "fake wchar_t"
23372 #endif
23373 #ifdef HAVE_WCHAR_H
23374 # ifdef __CYGWIN__
23375 # include <stddef.h>
23376 # endif
23377 # include <wchar.h>
23378 #endif
23379 #ifdef HAVE_STDLIB_H
23380 # include <stdlib.h>
23381 #endif
23382 #include <stdio.h>
23383
23384
23385
23386 typedef wchar_t ac__type_sizeof_;
23387 int
23388 main ()
23389 {
23390 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23391 test_array [0] = 0
23392
23393 ;
23394 return 0;
23395 }
23396 _ACEOF
23397 rm -f conftest.$ac_objext
23398 if { (ac_try="$ac_compile"
23399 case "(($ac_try" in
23400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23401 *) ac_try_echo=$ac_try;;
23402 esac
23403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23404 (eval "$ac_compile") 2>conftest.er1
23405 ac_status=$?
23406 grep -v '^ *+' conftest.er1 >conftest.err
23407 rm -f conftest.er1
23408 cat conftest.err >&5
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); } && {
23411 test -z "$ac_c_werror_flag" ||
23412 test ! -s conftest.err
23413 } && test -s conftest.$ac_objext; then
23414 ac_hi=-1 ac_mid=-1
23415 while :; do
23416 cat >conftest.$ac_ext <<_ACEOF
23417 /* confdefs.h. */
23418 _ACEOF
23419 cat confdefs.h >>conftest.$ac_ext
23420 cat >>conftest.$ac_ext <<_ACEOF
23421 /* end confdefs.h. */
23422
23423 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23424 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23425 # error "fake wchar_t"
23426 #endif
23427 #ifdef HAVE_WCHAR_H
23428 # ifdef __CYGWIN__
23429 # include <stddef.h>
23430 # endif
23431 # include <wchar.h>
23432 #endif
23433 #ifdef HAVE_STDLIB_H
23434 # include <stdlib.h>
23435 #endif
23436 #include <stdio.h>
23437
23438
23439
23440 typedef wchar_t ac__type_sizeof_;
23441 int
23442 main ()
23443 {
23444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
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=$ac_mid; break
23469 else
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.$ac_ext >&5
23472
23473 ac_hi=`expr '(' $ac_mid ')' - 1`
23474 if test $ac_mid -le $ac_hi; then
23475 ac_lo= ac_hi=
23476 break
23477 fi
23478 ac_mid=`expr 2 '*' $ac_mid`
23479 fi
23480
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482 done
23483 else
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23486
23487 ac_lo= ac_hi=
23488 fi
23489
23490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491 fi
23492
23493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23494 # Binary search between lo and hi bounds.
23495 while test "x$ac_lo" != "x$ac_hi"; do
23496 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23497 cat >conftest.$ac_ext <<_ACEOF
23498 /* confdefs.h. */
23499 _ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23503
23504 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23505 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23506 # error "fake wchar_t"
23507 #endif
23508 #ifdef HAVE_WCHAR_H
23509 # ifdef __CYGWIN__
23510 # include <stddef.h>
23511 # endif
23512 # include <wchar.h>
23513 #endif
23514 #ifdef HAVE_STDLIB_H
23515 # include <stdlib.h>
23516 #endif
23517 #include <stdio.h>
23518
23519
23520
23521 typedef wchar_t ac__type_sizeof_;
23522 int
23523 main ()
23524 {
23525 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23526 test_array [0] = 0
23527
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 rm -f conftest.$ac_objext
23533 if { (ac_try="$ac_compile"
23534 case "(($ac_try" in
23535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23536 *) ac_try_echo=$ac_try;;
23537 esac
23538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23539 (eval "$ac_compile") 2>conftest.er1
23540 ac_status=$?
23541 grep -v '^ *+' conftest.er1 >conftest.err
23542 rm -f conftest.er1
23543 cat conftest.err >&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } && {
23546 test -z "$ac_c_werror_flag" ||
23547 test ! -s conftest.err
23548 } && test -s conftest.$ac_objext; then
23549 ac_hi=$ac_mid
23550 else
23551 echo "$as_me: failed program was:" >&5
23552 sed 's/^/| /' conftest.$ac_ext >&5
23553
23554 ac_lo=`expr '(' $ac_mid ')' + 1`
23555 fi
23556
23557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23558 done
23559 case $ac_lo in
23560 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23561 '') if test "$ac_cv_type_wchar_t" = yes; then
23562 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23563 See \`config.log' for more details." >&5
23564 echo "$as_me: error: cannot compute sizeof (wchar_t)
23565 See \`config.log' for more details." >&2;}
23566 { (exit 77); exit 77; }; }
23567 else
23568 ac_cv_sizeof_wchar_t=0
23569 fi ;;
23570 esac
23571 else
23572 cat >conftest.$ac_ext <<_ACEOF
23573 /* confdefs.h. */
23574 _ACEOF
23575 cat confdefs.h >>conftest.$ac_ext
23576 cat >>conftest.$ac_ext <<_ACEOF
23577 /* end confdefs.h. */
23578
23579 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23580 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23581 # error "fake wchar_t"
23582 #endif
23583 #ifdef HAVE_WCHAR_H
23584 # ifdef __CYGWIN__
23585 # include <stddef.h>
23586 # endif
23587 # include <wchar.h>
23588 #endif
23589 #ifdef HAVE_STDLIB_H
23590 # include <stdlib.h>
23591 #endif
23592 #include <stdio.h>
23593
23594
23595
23596 typedef wchar_t ac__type_sizeof_;
23597 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23598 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23599 #include <stdio.h>
23600 #include <stdlib.h>
23601 int
23602 main ()
23603 {
23604
23605 FILE *f = fopen ("conftest.val", "w");
23606 if (! f)
23607 return 1;
23608 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23609 {
23610 long int i = longval ();
23611 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23612 return 1;
23613 fprintf (f, "%ld\n", i);
23614 }
23615 else
23616 {
23617 unsigned long int i = ulongval ();
23618 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23619 return 1;
23620 fprintf (f, "%lu\n", i);
23621 }
23622 return ferror (f) || fclose (f) != 0;
23623
23624 ;
23625 return 0;
23626 }
23627 _ACEOF
23628 rm -f conftest$ac_exeext
23629 if { (ac_try="$ac_link"
23630 case "(($ac_try" in
23631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23632 *) ac_try_echo=$ac_try;;
23633 esac
23634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23635 (eval "$ac_link") 2>&5
23636 ac_status=$?
23637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23639 { (case "(($ac_try" in
23640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;;
23642 esac
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_try") 2>&5
23645 ac_status=$?
23646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647 (exit $ac_status); }; }; then
23648 ac_cv_sizeof_wchar_t=`cat conftest.val`
23649 else
23650 echo "$as_me: program exited with status $ac_status" >&5
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23653
23654 ( exit $ac_status )
23655 if test "$ac_cv_type_wchar_t" = yes; then
23656 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23657 See \`config.log' for more details." >&5
23658 echo "$as_me: error: cannot compute sizeof (wchar_t)
23659 See \`config.log' for more details." >&2;}
23660 { (exit 77); exit 77; }; }
23661 else
23662 ac_cv_sizeof_wchar_t=0
23663 fi
23664 fi
23665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23666 fi
23667 rm -f conftest.val
23668 fi
23669 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23670 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23671
23672
23673
23674 cat >>confdefs.h <<_ACEOF
23675 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23676 _ACEOF
23677
23678
23679 if test "$ac_cv_sizeof_wchar_t" != 0; then
23680 wxUSE_WCHAR_T=yes
23681 else
23682 wxUSE_WCHAR_T=no
23683 fi
23684
23685 { echo "$as_me:$LINENO: checking for va_copy" >&5
23686 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23687 if test "${wx_cv_func_va_copy+set}" = set; then
23688 echo $ECHO_N "(cached) $ECHO_C" >&6
23689 else
23690
23691 ac_ext=cpp
23692 ac_cpp='$CXXCPP $CPPFLAGS'
23693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23696
23697 cat >conftest.$ac_ext <<_ACEOF
23698
23699 #include <stdarg.h>
23700 void foo(char *f, ...)
23701 {
23702 va_list ap1, ap2;
23703 va_start(ap1, f);
23704 va_copy(ap2, ap1);
23705 va_end(ap2);
23706 va_end(ap1);
23707 }
23708 int main()
23709 {
23710 foo("hi", 17);
23711 return 0;
23712 }
23713 _ACEOF
23714 rm -f conftest.$ac_objext conftest$ac_exeext
23715 if { (ac_try="$ac_link"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23719 esac
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_link") 2>conftest.er1
23722 ac_status=$?
23723 grep -v '^ *+' conftest.er1 >conftest.err
23724 rm -f conftest.er1
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_cxx_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest$ac_exeext &&
23731 $as_test_x conftest$ac_exeext; then
23732 wx_cv_func_va_copy=yes
23733 else
23734 echo "$as_me: failed program was:" >&5
23735 sed 's/^/| /' conftest.$ac_ext >&5
23736
23737 wx_cv_func_va_copy=no
23738
23739 fi
23740
23741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23742 conftest$ac_exeext conftest.$ac_ext
23743 ac_ext=c
23744 ac_cpp='$CPP $CPPFLAGS'
23745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23748
23749
23750
23751 fi
23752 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23753 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23754
23755 if test $wx_cv_func_va_copy = "yes"; then
23756 cat >>confdefs.h <<\_ACEOF
23757 #define HAVE_VA_COPY 1
23758 _ACEOF
23759
23760 else
23761 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23762 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23763 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23764 echo $ECHO_N "(cached) $ECHO_C" >&6
23765 else
23766
23767 if test "$cross_compiling" = yes; then
23768 wx_cv_type_va_list_lvalue=yes
23769
23770 else
23771 cat >conftest.$ac_ext <<_ACEOF
23772
23773 #include <stdarg.h>
23774 int foo(char *f, ...)
23775 {
23776 va_list ap1, ap2;
23777 va_start(ap1, f);
23778 ap2 = ap1;
23779 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23780 return 1;
23781 va_end(ap2);
23782 va_end(ap1);
23783 return 0;
23784 }
23785 int main()
23786 {
23787 return foo("hi", 17);
23788 }
23789 _ACEOF
23790 rm -f conftest$ac_exeext
23791 if { (ac_try="$ac_link"
23792 case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23795 esac
23796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797 (eval "$ac_link") 2>&5
23798 ac_status=$?
23799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23800 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23801 { (case "(($ac_try" in
23802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23803 *) ac_try_echo=$ac_try;;
23804 esac
23805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23806 (eval "$ac_try") 2>&5
23807 ac_status=$?
23808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23809 (exit $ac_status); }; }; then
23810 wx_cv_type_va_list_lvalue=yes
23811 else
23812 echo "$as_me: program exited with status $ac_status" >&5
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23815
23816 ( exit $ac_status )
23817 wx_cv_type_va_list_lvalue=no
23818 fi
23819 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23820 fi
23821
23822
23823
23824
23825 fi
23826 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23827 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23828
23829 if test $wx_cv_type_va_list_lvalue != "yes"; then
23830 cat >>confdefs.h <<\_ACEOF
23831 #define VA_LIST_IS_ARRAY 1
23832 _ACEOF
23833
23834 fi
23835 fi
23836
23837 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23838
23839 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23840 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23841 if test "${wx_cv_have_variadic_macros+set}" = set; then
23842 echo $ECHO_N "(cached) $ECHO_C" >&6
23843 else
23844
23845 ac_ext=cpp
23846 ac_cpp='$CXXCPP $CPPFLAGS'
23847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23850
23851 cat >conftest.$ac_ext <<_ACEOF
23852 /* confdefs.h. */
23853 _ACEOF
23854 cat confdefs.h >>conftest.$ac_ext
23855 cat >>conftest.$ac_ext <<_ACEOF
23856 /* end confdefs.h. */
23857
23858 #include <stdio.h>
23859 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23860
23861 int
23862 main ()
23863 {
23864
23865 test("%s %d %p", "test", 1, 0);
23866
23867
23868 ;
23869 return 0;
23870 }
23871 _ACEOF
23872 rm -f conftest.$ac_objext
23873 if { (ac_try="$ac_compile"
23874 case "(($ac_try" in
23875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23876 *) ac_try_echo=$ac_try;;
23877 esac
23878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23879 (eval "$ac_compile") 2>conftest.er1
23880 ac_status=$?
23881 grep -v '^ *+' conftest.er1 >conftest.err
23882 rm -f conftest.er1
23883 cat conftest.err >&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); } && {
23886 test -z "$ac_cxx_werror_flag" ||
23887 test ! -s conftest.err
23888 } && test -s conftest.$ac_objext; then
23889 wx_cv_have_variadic_macros=yes
23890 else
23891 echo "$as_me: failed program was:" >&5
23892 sed 's/^/| /' conftest.$ac_ext >&5
23893
23894 wx_cv_have_variadic_macros=no
23895
23896 fi
23897
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23899 ac_ext=c
23900 ac_cpp='$CPP $CPPFLAGS'
23901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23904
23905
23906
23907 fi
23908 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23909 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23910
23911 if test $wx_cv_have_variadic_macros = "yes"; then
23912 cat >>confdefs.h <<\_ACEOF
23913 #define HAVE_VARIADIC_MACROS 1
23914 _ACEOF
23915
23916 fi
23917
23918 fi
23919
23920 LARGEFILE_CPPFLAGS=
23921 # Check whether --enable-largefile was given.
23922 if test "${enable_largefile+set}" = set; then
23923 enableval=$enable_largefile;
23924 fi
23925
23926 if test "$enable_largefile" != no; then
23927 wx_largefile=no
23928
23929 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23930 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23931 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23932 echo $ECHO_N "(cached) $ECHO_C" >&6
23933 else
23934
23935 cat >conftest.$ac_ext <<_ACEOF
23936 /* confdefs.h. */
23937 _ACEOF
23938 cat confdefs.h >>conftest.$ac_ext
23939 cat >>conftest.$ac_ext <<_ACEOF
23940 /* end confdefs.h. */
23941 #define _FILE_OFFSET_BITS 64
23942 #include <sys/types.h>
23943 int
23944 main ()
23945 {
23946 typedef struct {
23947 unsigned int field: sizeof(off_t) == 8;
23948 } wxlf;
23949
23950 ;
23951 return 0;
23952 }
23953 _ACEOF
23954 rm -f conftest.$ac_objext
23955 if { (ac_try="$ac_compile"
23956 case "(($ac_try" in
23957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23958 *) ac_try_echo=$ac_try;;
23959 esac
23960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23961 (eval "$ac_compile") 2>conftest.er1
23962 ac_status=$?
23963 grep -v '^ *+' conftest.er1 >conftest.err
23964 rm -f conftest.er1
23965 cat conftest.err >&5
23966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23967 (exit $ac_status); } && {
23968 test -z "$ac_c_werror_flag" ||
23969 test ! -s conftest.err
23970 } && test -s conftest.$ac_objext; then
23971 ac_cv_sys_file_offset_bits=64
23972 else
23973 echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.$ac_ext >&5
23975
23976 ac_cv_sys_file_offset_bits=no
23977 fi
23978
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23980
23981
23982 fi
23983 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23984 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23985
23986 if test "$ac_cv_sys_file_offset_bits" != no; then
23987 wx_largefile=yes
23988 cat >>confdefs.h <<_ACEOF
23989 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23990 _ACEOF
23991
23992 fi
23993
23994 if test "x$wx_largefile" != "xyes"; then
23995
23996 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23997 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23998 if test "${ac_cv_sys_large_files+set}" = set; then
23999 echo $ECHO_N "(cached) $ECHO_C" >&6
24000 else
24001
24002 cat >conftest.$ac_ext <<_ACEOF
24003 /* confdefs.h. */
24004 _ACEOF
24005 cat confdefs.h >>conftest.$ac_ext
24006 cat >>conftest.$ac_ext <<_ACEOF
24007 /* end confdefs.h. */
24008 #define _LARGE_FILES 1
24009 #include <sys/types.h>
24010 int
24011 main ()
24012 {
24013 typedef struct {
24014 unsigned int field: sizeof(off_t) == 8;
24015 } wxlf;
24016
24017 ;
24018 return 0;
24019 }
24020 _ACEOF
24021 rm -f conftest.$ac_objext
24022 if { (ac_try="$ac_compile"
24023 case "(($ac_try" in
24024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24025 *) ac_try_echo=$ac_try;;
24026 esac
24027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24028 (eval "$ac_compile") 2>conftest.er1
24029 ac_status=$?
24030 grep -v '^ *+' conftest.er1 >conftest.err
24031 rm -f conftest.er1
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } && {
24035 test -z "$ac_c_werror_flag" ||
24036 test ! -s conftest.err
24037 } && test -s conftest.$ac_objext; then
24038 ac_cv_sys_large_files=1
24039 else
24040 echo "$as_me: failed program was:" >&5
24041 sed 's/^/| /' conftest.$ac_ext >&5
24042
24043 ac_cv_sys_large_files=no
24044 fi
24045
24046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24047
24048
24049 fi
24050 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24051 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24052
24053 if test "$ac_cv_sys_large_files" != no; then
24054 wx_largefile=yes
24055 cat >>confdefs.h <<_ACEOF
24056 #define _LARGE_FILES $ac_cv_sys_large_files
24057 _ACEOF
24058
24059 fi
24060
24061 fi
24062
24063 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24064 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24065 if test "x$wx_largefile" = "xyes"; then
24066 cat >>confdefs.h <<\_ACEOF
24067 #define HAVE_LARGEFILE_SUPPORT 1
24068 _ACEOF
24069
24070 fi
24071 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24072 echo "${ECHO_T}$wx_largefile" >&6; }
24073 fi
24074
24075 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24076 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24077 elif test "$ac_cv_sys_large_files" = 1; then
24078 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24079 fi
24080
24081 if test -n "$LARGEFILE_CPPFLAGS"; then
24082 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24083
24084 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24085 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24086 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24087 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24088 echo $ECHO_N "(cached) $ECHO_C" >&6
24089 else
24090
24091 ac_ext=cpp
24092 ac_cpp='$CXXCPP $CPPFLAGS'
24093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24096
24097 cat >conftest.$ac_ext <<_ACEOF
24098 /* confdefs.h. */
24099 _ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24103
24104 int
24105 main ()
24106 {
24107
24108 #ifndef __STDC_EXT__
24109 choke me
24110 #endif
24111
24112 ;
24113 return 0;
24114 }
24115 _ACEOF
24116 rm -f conftest.$ac_objext
24117 if { (ac_try="$ac_compile"
24118 case "(($ac_try" in
24119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24120 *) ac_try_echo=$ac_try;;
24121 esac
24122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24123 (eval "$ac_compile") 2>conftest.er1
24124 ac_status=$?
24125 grep -v '^ *+' conftest.er1 >conftest.err
24126 rm -f conftest.er1
24127 cat conftest.err >&5
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); } && {
24130 test -z "$ac_cxx_werror_flag" ||
24131 test ! -s conftest.err
24132 } && test -s conftest.$ac_objext; then
24133 wx_cv_STDC_EXT_required=no
24134 else
24135 echo "$as_me: failed program was:" >&5
24136 sed 's/^/| /' conftest.$ac_ext >&5
24137
24138 wx_cv_STDC_EXT_required=yes
24139
24140 fi
24141
24142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24143 ac_ext=c
24144 ac_cpp='$CPP $CPPFLAGS'
24145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24148
24149
24150
24151 fi
24152 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24153 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24154 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24155 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24156 fi
24157 fi
24158 fi
24159
24160 ac_ext=cpp
24161 ac_cpp='$CXXCPP $CPPFLAGS'
24162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24165
24166 old_CPPFLAGS="$CPPFLAGS"
24167 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24168 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24169 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24170 if test "${ac_cv_sys_largefile_source+set}" = set; then
24171 echo $ECHO_N "(cached) $ECHO_C" >&6
24172 else
24173 while :; do
24174 cat >conftest.$ac_ext <<_ACEOF
24175 /* confdefs.h. */
24176 _ACEOF
24177 cat confdefs.h >>conftest.$ac_ext
24178 cat >>conftest.$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24180 #include <sys/types.h> /* for off_t */
24181 #include <stdio.h>
24182 int
24183 main ()
24184 {
24185 int (*fp) (FILE *, off_t, int) = fseeko;
24186 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24187 ;
24188 return 0;
24189 }
24190 _ACEOF
24191 rm -f conftest.$ac_objext conftest$ac_exeext
24192 if { (ac_try="$ac_link"
24193 case "(($ac_try" in
24194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24195 *) ac_try_echo=$ac_try;;
24196 esac
24197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24198 (eval "$ac_link") 2>conftest.er1
24199 ac_status=$?
24200 grep -v '^ *+' conftest.er1 >conftest.err
24201 rm -f conftest.er1
24202 cat conftest.err >&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } && {
24205 test -z "$ac_cxx_werror_flag" ||
24206 test ! -s conftest.err
24207 } && test -s conftest$ac_exeext &&
24208 $as_test_x conftest$ac_exeext; then
24209 ac_cv_sys_largefile_source=no; break
24210 else
24211 echo "$as_me: failed program was:" >&5
24212 sed 's/^/| /' conftest.$ac_ext >&5
24213
24214
24215 fi
24216
24217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24218 conftest$ac_exeext conftest.$ac_ext
24219 cat >conftest.$ac_ext <<_ACEOF
24220 /* confdefs.h. */
24221 _ACEOF
24222 cat confdefs.h >>conftest.$ac_ext
24223 cat >>conftest.$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24225 #define _LARGEFILE_SOURCE 1
24226 #include <sys/types.h> /* for off_t */
24227 #include <stdio.h>
24228 int
24229 main ()
24230 {
24231 int (*fp) (FILE *, off_t, int) = fseeko;
24232 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24233 ;
24234 return 0;
24235 }
24236 _ACEOF
24237 rm -f conftest.$ac_objext conftest$ac_exeext
24238 if { (ac_try="$ac_link"
24239 case "(($ac_try" in
24240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24241 *) ac_try_echo=$ac_try;;
24242 esac
24243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24244 (eval "$ac_link") 2>conftest.er1
24245 ac_status=$?
24246 grep -v '^ *+' conftest.er1 >conftest.err
24247 rm -f conftest.er1
24248 cat conftest.err >&5
24249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24250 (exit $ac_status); } && {
24251 test -z "$ac_cxx_werror_flag" ||
24252 test ! -s conftest.err
24253 } && test -s conftest$ac_exeext &&
24254 $as_test_x conftest$ac_exeext; then
24255 ac_cv_sys_largefile_source=1; break
24256 else
24257 echo "$as_me: failed program was:" >&5
24258 sed 's/^/| /' conftest.$ac_ext >&5
24259
24260
24261 fi
24262
24263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24264 conftest$ac_exeext conftest.$ac_ext
24265 ac_cv_sys_largefile_source=unknown
24266 break
24267 done
24268 fi
24269 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24270 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24271 case $ac_cv_sys_largefile_source in #(
24272 no | unknown) ;;
24273 *)
24274 cat >>confdefs.h <<_ACEOF
24275 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24276 _ACEOF
24277 ;;
24278 esac
24279 rm -f conftest*
24280
24281 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24282 # in glibc 2.1.3, but that breaks too many other things.
24283 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24284 if test $ac_cv_sys_largefile_source != unknown; then
24285
24286 cat >>confdefs.h <<\_ACEOF
24287 #define HAVE_FSEEKO 1
24288 _ACEOF
24289
24290 fi
24291
24292 CPPFLAGS="$old_CPPFLAGS"
24293 ac_ext=c
24294 ac_cpp='$CPP $CPPFLAGS'
24295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24298
24299 if test "$ac_cv_sys_largefile_source" != no; then
24300 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24301 fi
24302
24303 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24304 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24305 if test "${ac_cv_c_bigendian+set}" = set; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24307 else
24308 ac_cv_c_bigendian=unknown
24309 # See if sys/param.h defines the BYTE_ORDER macro.
24310 cat >conftest.$ac_ext <<_ACEOF
24311 /* confdefs.h. */
24312 _ACEOF
24313 cat confdefs.h >>conftest.$ac_ext
24314 cat >>conftest.$ac_ext <<_ACEOF
24315 /* end confdefs.h. */
24316 #include <sys/types.h>
24317 #include <sys/param.h>
24318 int
24319 main ()
24320 {
24321
24322 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24323 bogus endian macros
24324 #endif
24325 ;
24326 return 0;
24327 }
24328 _ACEOF
24329 rm -f conftest.$ac_objext
24330 if { (ac_try="$ac_compile"
24331 case "(($ac_try" in
24332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24333 *) ac_try_echo=$ac_try;;
24334 esac
24335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24336 (eval "$ac_compile") 2>conftest.er1
24337 ac_status=$?
24338 grep -v '^ *+' conftest.er1 >conftest.err
24339 rm -f conftest.er1
24340 cat conftest.err >&5
24341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24342 (exit $ac_status); } && {
24343 test -z "$ac_c_werror_flag" ||
24344 test ! -s conftest.err
24345 } && test -s conftest.$ac_objext; then
24346 # It does; now see whether it defined to BIG_ENDIAN or not.
24347 cat >conftest.$ac_ext <<_ACEOF
24348 /* confdefs.h. */
24349 _ACEOF
24350 cat confdefs.h >>conftest.$ac_ext
24351 cat >>conftest.$ac_ext <<_ACEOF
24352 /* end confdefs.h. */
24353 #include <sys/types.h>
24354 #include <sys/param.h>
24355 int
24356 main ()
24357 {
24358
24359 #if BYTE_ORDER != BIG_ENDIAN
24360 not big endian
24361 #endif
24362 ;
24363 return 0;
24364 }
24365 _ACEOF
24366 rm -f conftest.$ac_objext
24367 if { (ac_try="$ac_compile"
24368 case "(($ac_try" in
24369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24370 *) ac_try_echo=$ac_try;;
24371 esac
24372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24373 (eval "$ac_compile") 2>conftest.er1
24374 ac_status=$?
24375 grep -v '^ *+' conftest.er1 >conftest.err
24376 rm -f conftest.er1
24377 cat conftest.err >&5
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); } && {
24380 test -z "$ac_c_werror_flag" ||
24381 test ! -s conftest.err
24382 } && test -s conftest.$ac_objext; then
24383 ac_cv_c_bigendian=yes
24384 else
24385 echo "$as_me: failed program was:" >&5
24386 sed 's/^/| /' conftest.$ac_ext >&5
24387
24388 ac_cv_c_bigendian=no
24389 fi
24390
24391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24392 else
24393 echo "$as_me: failed program was:" >&5
24394 sed 's/^/| /' conftest.$ac_ext >&5
24395
24396
24397 fi
24398
24399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24400 if test $ac_cv_c_bigendian = unknown; then
24401 if test "$cross_compiling" = yes; then
24402 ac_cv_c_bigendian=unknown
24403 else
24404 cat >conftest.$ac_ext <<_ACEOF
24405 /* confdefs.h. */
24406 _ACEOF
24407 cat confdefs.h >>conftest.$ac_ext
24408 cat >>conftest.$ac_ext <<_ACEOF
24409 /* end confdefs.h. */
24410 main () {
24411 /* Are we little or big endian? From Harbison&Steele. */
24412 union
24413 {
24414 long l;
24415 char c[sizeof (long)];
24416 } u;
24417 u.l = 1;
24418 exit (u.c[sizeof (long) - 1] == 1);
24419 }
24420 _ACEOF
24421 rm -f conftest$ac_exeext
24422 if { (ac_try="$ac_link"
24423 case "(($ac_try" in
24424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24425 *) ac_try_echo=$ac_try;;
24426 esac
24427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24428 (eval "$ac_link") 2>&5
24429 ac_status=$?
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24432 { (case "(($ac_try" in
24433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24434 *) ac_try_echo=$ac_try;;
24435 esac
24436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24437 (eval "$ac_try") 2>&5
24438 ac_status=$?
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); }; }; then
24441 ac_cv_c_bigendian=no
24442 else
24443 echo "$as_me: program exited with status $ac_status" >&5
24444 echo "$as_me: failed program was:" >&5
24445 sed 's/^/| /' conftest.$ac_ext >&5
24446
24447 ( exit $ac_status )
24448 ac_cv_c_bigendian=yes
24449 fi
24450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24451 fi
24452
24453
24454 fi
24455 fi
24456 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24457 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24458 if test $ac_cv_c_bigendian = unknown; then
24459 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24460 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24461 fi
24462 if test $ac_cv_c_bigendian = yes; then
24463 cat >>confdefs.h <<\_ACEOF
24464 #define WORDS_BIGENDIAN 1
24465 _ACEOF
24466
24467 fi
24468
24469
24470
24471
24472 ac_ext=cpp
24473 ac_cpp='$CXXCPP $CPPFLAGS'
24474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24477
24478
24479
24480 for ac_header in iostream
24481 do
24482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24483 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24486 echo $ECHO_N "(cached) $ECHO_C" >&6
24487 else
24488 cat >conftest.$ac_ext <<_ACEOF
24489 /* confdefs.h. */
24490 _ACEOF
24491 cat confdefs.h >>conftest.$ac_ext
24492 cat >>conftest.$ac_ext <<_ACEOF
24493 /* end confdefs.h. */
24494
24495
24496 #include <$ac_header>
24497 _ACEOF
24498 rm -f conftest.$ac_objext
24499 if { (ac_try="$ac_compile"
24500 case "(($ac_try" in
24501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24502 *) ac_try_echo=$ac_try;;
24503 esac
24504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24505 (eval "$ac_compile") 2>conftest.er1
24506 ac_status=$?
24507 grep -v '^ *+' conftest.er1 >conftest.err
24508 rm -f conftest.er1
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); } && {
24512 test -z "$ac_cxx_werror_flag" ||
24513 test ! -s conftest.err
24514 } && test -s conftest.$ac_objext; then
24515 eval "$as_ac_Header=yes"
24516 else
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24519
24520 eval "$as_ac_Header=no"
24521 fi
24522
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524 fi
24525 ac_res=`eval echo '${'$as_ac_Header'}'`
24526 { echo "$as_me:$LINENO: result: $ac_res" >&5
24527 echo "${ECHO_T}$ac_res" >&6; }
24528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24529 cat >>confdefs.h <<_ACEOF
24530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24531 _ACEOF
24532
24533 fi
24534
24535 done
24536
24537
24538 if test "$ac_cv_header_iostream" = "yes" ; then
24539 :
24540 else
24541 cat >>confdefs.h <<\_ACEOF
24542 #define wxUSE_IOSTREAMH 1
24543 _ACEOF
24544
24545 fi
24546
24547 ac_ext=c
24548 ac_cpp='$CPP $CPPFLAGS'
24549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24552
24553
24554
24555
24556 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24557 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24558 if test "${wx_cv_explicit+set}" = set; then
24559 echo $ECHO_N "(cached) $ECHO_C" >&6
24560 else
24561
24562
24563 ac_ext=cpp
24564 ac_cpp='$CXXCPP $CPPFLAGS'
24565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24568
24569
24570 cat >conftest.$ac_ext <<_ACEOF
24571 /* confdefs.h. */
24572 _ACEOF
24573 cat confdefs.h >>conftest.$ac_ext
24574 cat >>conftest.$ac_ext <<_ACEOF
24575 /* end confdefs.h. */
24576
24577 class Foo { public: explicit Foo(int) {} };
24578
24579 int
24580 main ()
24581 {
24582
24583 return 0;
24584
24585 ;
24586 return 0;
24587 }
24588 _ACEOF
24589 rm -f conftest.$ac_objext
24590 if { (ac_try="$ac_compile"
24591 case "(($ac_try" in
24592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24593 *) ac_try_echo=$ac_try;;
24594 esac
24595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24596 (eval "$ac_compile") 2>conftest.er1
24597 ac_status=$?
24598 grep -v '^ *+' conftest.er1 >conftest.err
24599 rm -f conftest.er1
24600 cat conftest.err >&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); } && {
24603 test -z "$ac_cxx_werror_flag" ||
24604 test ! -s conftest.err
24605 } && test -s conftest.$ac_objext; then
24606
24607 cat >conftest.$ac_ext <<_ACEOF
24608 /* confdefs.h. */
24609 _ACEOF
24610 cat confdefs.h >>conftest.$ac_ext
24611 cat >>conftest.$ac_ext <<_ACEOF
24612 /* end confdefs.h. */
24613
24614 class Foo { public: explicit Foo(int) {} };
24615 static void TakeFoo(const Foo& foo) { }
24616
24617 int
24618 main ()
24619 {
24620
24621 TakeFoo(17);
24622 return 0;
24623
24624 ;
24625 return 0;
24626 }
24627 _ACEOF
24628 rm -f conftest.$ac_objext
24629 if { (ac_try="$ac_compile"
24630 case "(($ac_try" in
24631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24632 *) ac_try_echo=$ac_try;;
24633 esac
24634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24635 (eval "$ac_compile") 2>conftest.er1
24636 ac_status=$?
24637 grep -v '^ *+' conftest.er1 >conftest.err
24638 rm -f conftest.er1
24639 cat conftest.err >&5
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); } && {
24642 test -z "$ac_cxx_werror_flag" ||
24643 test ! -s conftest.err
24644 } && test -s conftest.$ac_objext; then
24645 wx_cv_explicit=no
24646 else
24647 echo "$as_me: failed program was:" >&5
24648 sed 's/^/| /' conftest.$ac_ext >&5
24649
24650 wx_cv_explicit=yes
24651
24652 fi
24653
24654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24655
24656 else
24657 echo "$as_me: failed program was:" >&5
24658 sed 's/^/| /' conftest.$ac_ext >&5
24659
24660 wx_cv_explicit=no
24661
24662 fi
24663
24664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665
24666 ac_ext=c
24667 ac_cpp='$CPP $CPPFLAGS'
24668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24671
24672
24673 fi
24674 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24675 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24676
24677 if test "$wx_cv_explicit" = "yes"; then
24678 cat >>confdefs.h <<\_ACEOF
24679 #define HAVE_EXPLICIT 1
24680 _ACEOF
24681
24682 fi
24683
24684
24685 if test "x$SUNCXX" = xyes; then
24686 CXXFLAGS="-features=tmplife $CXXFLAGS"
24687 fi
24688
24689 if test "x$SUNCC" = xyes; then
24690 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24691 fi
24692
24693 if test "x$SGICC" = "xyes"; then
24694 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
24695 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
24696 if test "${wx_cv_prog_sgicc744+set}" = set; then
24697 echo $ECHO_N "(cached) $ECHO_C" >&6
24698 else
24699
24700 cat >conftest.$ac_ext <<_ACEOF
24701 /* confdefs.h. */
24702 _ACEOF
24703 cat confdefs.h >>conftest.$ac_ext
24704 cat >>conftest.$ac_ext <<_ACEOF
24705 /* end confdefs.h. */
24706
24707 int
24708 main ()
24709 {
24710
24711 #if _SGI_COMPILER_VERSION >= 744
24712 chock me: mipsPro is 7.4.4 or later
24713 #endif
24714
24715 ;
24716 return 0;
24717 }
24718 _ACEOF
24719 rm -f conftest.$ac_objext
24720 if { (ac_try="$ac_compile"
24721 case "(($ac_try" in
24722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24723 *) ac_try_echo=$ac_try;;
24724 esac
24725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24726 (eval "$ac_compile") 2>conftest.er1
24727 ac_status=$?
24728 grep -v '^ *+' conftest.er1 >conftest.err
24729 rm -f conftest.er1
24730 cat conftest.err >&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } && {
24733 test -z "$ac_c_werror_flag" ||
24734 test ! -s conftest.err
24735 } && test -s conftest.$ac_objext; then
24736 wx_cv_prog_sgicc744=no
24737 else
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24740
24741 wx_cv_prog_sgicc744=yes
24742
24743 fi
24744
24745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24746
24747
24748 fi
24749 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
24750 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
24751
24752 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
24753 CFLAGS="-woff 3970 $CFLAGS"
24754 fi
24755 fi
24756 if test "x$SGICXX" = "xyes"; then
24757 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
24758 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
24759 if test "${wx_cv_prog_sgicxx744+set}" = set; then
24760 echo $ECHO_N "(cached) $ECHO_C" >&6
24761 else
24762
24763 ac_ext=cpp
24764 ac_cpp='$CXXCPP $CPPFLAGS'
24765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24768
24769 cat >conftest.$ac_ext <<_ACEOF
24770 /* confdefs.h. */
24771 _ACEOF
24772 cat confdefs.h >>conftest.$ac_ext
24773 cat >>conftest.$ac_ext <<_ACEOF
24774 /* end confdefs.h. */
24775
24776 int
24777 main ()
24778 {
24779
24780 #if _SGI_COMPILER_VERSION >= 744
24781 chock me: mipsPro is 7.4.4 or later
24782 #endif
24783
24784 ;
24785 return 0;
24786 }
24787 _ACEOF
24788 rm -f conftest.$ac_objext
24789 if { (ac_try="$ac_compile"
24790 case "(($ac_try" in
24791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24792 *) ac_try_echo=$ac_try;;
24793 esac
24794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24795 (eval "$ac_compile") 2>conftest.er1
24796 ac_status=$?
24797 grep -v '^ *+' conftest.er1 >conftest.err
24798 rm -f conftest.er1
24799 cat conftest.err >&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); } && {
24802 test -z "$ac_cxx_werror_flag" ||
24803 test ! -s conftest.err
24804 } && test -s conftest.$ac_objext; then
24805 wx_cv_prog_sgicxx744=no
24806 else
24807 echo "$as_me: failed program was:" >&5
24808 sed 's/^/| /' conftest.$ac_ext >&5
24809
24810 wx_cv_prog_sgicxx744=yes
24811
24812 fi
24813
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24815 ac_ext=c
24816 ac_cpp='$CPP $CPPFLAGS'
24817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24820
24821
24822
24823 fi
24824 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
24825 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
24826
24827 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
24828 CXXFLAGS="-woff 3970 $CXXFLAGS"
24829 fi
24830 fi
24831
24832 if test "x$HPCC" = "xyes"; then
24833 CFLAGS="+W 2011,2450 $CFLAGS"
24834 fi
24835 if test "x$HPCXX" = "xyes"; then
24836 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24837 fi
24838
24839 if test "x$COMPAQCXX" = "xyes"; then
24840 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24841 fi
24842
24843 ac_ext=cpp
24844 ac_cpp='$CXXCPP $CPPFLAGS'
24845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24848
24849
24850 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24851 if test "$wxUSE_UNICODE" = "yes"; then
24852 std_string="std::wstring"
24853 char_type="wchar_t"
24854 else
24855 std_string="std::string"
24856 char_type="char"
24857 fi
24858
24859 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24860 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24861 if test "${wx_cv_class_stdstring+set}" = set; then
24862 echo $ECHO_N "(cached) $ECHO_C" >&6
24863 else
24864
24865 cat >conftest.$ac_ext <<_ACEOF
24866 /* confdefs.h. */
24867 _ACEOF
24868 cat confdefs.h >>conftest.$ac_ext
24869 cat >>conftest.$ac_ext <<_ACEOF
24870 /* end confdefs.h. */
24871 #include <string>
24872 int
24873 main ()
24874 {
24875 $std_string foo;
24876 ;
24877 return 0;
24878 }
24879 _ACEOF
24880 rm -f conftest.$ac_objext
24881 if { (ac_try="$ac_compile"
24882 case "(($ac_try" in
24883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24884 *) ac_try_echo=$ac_try;;
24885 esac
24886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24887 (eval "$ac_compile") 2>conftest.er1
24888 ac_status=$?
24889 grep -v '^ *+' conftest.er1 >conftest.err
24890 rm -f conftest.er1
24891 cat conftest.err >&5
24892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24893 (exit $ac_status); } && {
24894 test -z "$ac_cxx_werror_flag" ||
24895 test ! -s conftest.err
24896 } && test -s conftest.$ac_objext; then
24897 wx_cv_class_stdstring=yes
24898 else
24899 echo "$as_me: failed program was:" >&5
24900 sed 's/^/| /' conftest.$ac_ext >&5
24901
24902 wx_cv_class_stdstring=no
24903
24904 fi
24905
24906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24907
24908
24909 fi
24910 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24911 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24912
24913 if test "$wx_cv_class_stdstring" = yes; then
24914 if test "$wxUSE_UNICODE" = "yes"; then
24915 cat >>confdefs.h <<\_ACEOF
24916 #define HAVE_STD_WSTRING 1
24917 _ACEOF
24918
24919 fi
24920 else
24921 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24922 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24923 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24924 echo $ECHO_N "(cached) $ECHO_C" >&6
24925 else
24926
24927 cat >conftest.$ac_ext <<_ACEOF
24928 /* confdefs.h. */
24929 _ACEOF
24930 cat confdefs.h >>conftest.$ac_ext
24931 cat >>conftest.$ac_ext <<_ACEOF
24932 /* end confdefs.h. */
24933
24934 #ifdef HAVE_WCHAR_H
24935 # ifdef __CYGWIN__
24936 # include <stddef.h>
24937 # endif
24938 # include <wchar.h>
24939 #endif
24940 #ifdef HAVE_STDLIB_H
24941 # include <stdlib.h>
24942 #endif
24943 #include <stdio.h>
24944 #include <string>
24945
24946 int
24947 main ()
24948 {
24949 std::basic_string<$char_type> foo;
24950 const $char_type* dummy = foo.c_str();
24951 ;
24952 return 0;
24953 }
24954 _ACEOF
24955 rm -f conftest.$ac_objext
24956 if { (ac_try="$ac_compile"
24957 case "(($ac_try" in
24958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24959 *) ac_try_echo=$ac_try;;
24960 esac
24961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24962 (eval "$ac_compile") 2>conftest.er1
24963 ac_status=$?
24964 grep -v '^ *+' conftest.er1 >conftest.err
24965 rm -f conftest.er1
24966 cat conftest.err >&5
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } && {
24969 test -z "$ac_cxx_werror_flag" ||
24970 test ! -s conftest.err
24971 } && test -s conftest.$ac_objext; then
24972 wx_cv_class_stdbasicstring=yes
24973 else
24974 echo "$as_me: failed program was:" >&5
24975 sed 's/^/| /' conftest.$ac_ext >&5
24976
24977 wx_cv_class_stdbasicstring=no
24978
24979 fi
24980
24981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24982
24983
24984 fi
24985 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24986 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24987
24988 if test "$wx_cv_class_stdbasicstring" != yes; then
24989 if test "$wxUSE_STL" = "yes"; then
24990 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24991 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24992 { (exit 1); exit 1; }; }
24993 elif test "$wxUSE_STD_STRING" = "yes"; then
24994 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24995 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24996 { (exit 1); exit 1; }; }
24997 else
24998 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24999 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25000 wxUSE_STD_STRING=no
25001 fi
25002 fi
25003 fi
25004 fi
25005
25006 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25007 { echo "$as_me:$LINENO: checking for std::istream" >&5
25008 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25009 if test "${ac_cv_type_std__istream+set}" = set; then
25010 echo $ECHO_N "(cached) $ECHO_C" >&6
25011 else
25012 cat >conftest.$ac_ext <<_ACEOF
25013 /* confdefs.h. */
25014 _ACEOF
25015 cat confdefs.h >>conftest.$ac_ext
25016 cat >>conftest.$ac_ext <<_ACEOF
25017 /* end confdefs.h. */
25018 #include <iostream>
25019
25020 typedef std::istream ac__type_new_;
25021 int
25022 main ()
25023 {
25024 if ((ac__type_new_ *) 0)
25025 return 0;
25026 if (sizeof (ac__type_new_))
25027 return 0;
25028 ;
25029 return 0;
25030 }
25031 _ACEOF
25032 rm -f conftest.$ac_objext
25033 if { (ac_try="$ac_compile"
25034 case "(($ac_try" in
25035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25036 *) ac_try_echo=$ac_try;;
25037 esac
25038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25039 (eval "$ac_compile") 2>conftest.er1
25040 ac_status=$?
25041 grep -v '^ *+' conftest.er1 >conftest.err
25042 rm -f conftest.er1
25043 cat conftest.err >&5
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); } && {
25046 test -z "$ac_cxx_werror_flag" ||
25047 test ! -s conftest.err
25048 } && test -s conftest.$ac_objext; then
25049 ac_cv_type_std__istream=yes
25050 else
25051 echo "$as_me: failed program was:" >&5
25052 sed 's/^/| /' conftest.$ac_ext >&5
25053
25054 ac_cv_type_std__istream=no
25055 fi
25056
25057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25058 fi
25059 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25060 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25061 if test $ac_cv_type_std__istream = yes; then
25062
25063 cat >>confdefs.h <<_ACEOF
25064 #define HAVE_STD__ISTREAM 1
25065 _ACEOF
25066
25067
25068 else
25069 wxUSE_STD_IOSTREAM=no
25070 fi
25071 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25072 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25073 if test "${ac_cv_type_std__ostream+set}" = set; then
25074 echo $ECHO_N "(cached) $ECHO_C" >&6
25075 else
25076 cat >conftest.$ac_ext <<_ACEOF
25077 /* confdefs.h. */
25078 _ACEOF
25079 cat confdefs.h >>conftest.$ac_ext
25080 cat >>conftest.$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25082 #include <iostream>
25083
25084 typedef std::ostream ac__type_new_;
25085 int
25086 main ()
25087 {
25088 if ((ac__type_new_ *) 0)
25089 return 0;
25090 if (sizeof (ac__type_new_))
25091 return 0;
25092 ;
25093 return 0;
25094 }
25095 _ACEOF
25096 rm -f conftest.$ac_objext
25097 if { (ac_try="$ac_compile"
25098 case "(($ac_try" in
25099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25100 *) ac_try_echo=$ac_try;;
25101 esac
25102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25103 (eval "$ac_compile") 2>conftest.er1
25104 ac_status=$?
25105 grep -v '^ *+' conftest.er1 >conftest.err
25106 rm -f conftest.er1
25107 cat conftest.err >&5
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); } && {
25110 test -z "$ac_cxx_werror_flag" ||
25111 test ! -s conftest.err
25112 } && test -s conftest.$ac_objext; then
25113 ac_cv_type_std__ostream=yes
25114 else
25115 echo "$as_me: failed program was:" >&5
25116 sed 's/^/| /' conftest.$ac_ext >&5
25117
25118 ac_cv_type_std__ostream=no
25119 fi
25120
25121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25122 fi
25123 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25124 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25125 if test $ac_cv_type_std__ostream = yes; then
25126
25127 cat >>confdefs.h <<_ACEOF
25128 #define HAVE_STD__OSTREAM 1
25129 _ACEOF
25130
25131
25132 else
25133 wxUSE_STD_IOSTREAM=no
25134 fi
25135
25136
25137 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25138 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25139 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25140 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25141 { (exit 1); exit 1; }; }
25142 else
25143 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25144 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25145 fi
25146 fi
25147 fi
25148
25149 if test "$wxUSE_STL" = "yes"; then
25150 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25151 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25152 if test "${wx_cv_lib_stl+set}" = set; then
25153 echo $ECHO_N "(cached) $ECHO_C" >&6
25154 else
25155 cat >conftest.$ac_ext <<_ACEOF
25156 /* confdefs.h. */
25157 _ACEOF
25158 cat confdefs.h >>conftest.$ac_ext
25159 cat >>conftest.$ac_ext <<_ACEOF
25160 /* end confdefs.h. */
25161 #include <string>
25162 #include <functional>
25163 #include <algorithm>
25164 #include <vector>
25165 #include <list>
25166 int
25167 main ()
25168 {
25169 std::vector<int> moo;
25170 std::list<int> foo;
25171 std::vector<int>::iterator it =
25172 std::find_if(moo.begin(), moo.end(),
25173 std::bind2nd(std::less<int>(), 3));
25174 ;
25175 return 0;
25176 }
25177 _ACEOF
25178 rm -f conftest.$ac_objext
25179 if { (ac_try="$ac_compile"
25180 case "(($ac_try" in
25181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25182 *) ac_try_echo=$ac_try;;
25183 esac
25184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25185 (eval "$ac_compile") 2>conftest.er1
25186 ac_status=$?
25187 grep -v '^ *+' conftest.er1 >conftest.err
25188 rm -f conftest.er1
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } && {
25192 test -z "$ac_cxx_werror_flag" ||
25193 test ! -s conftest.err
25194 } && test -s conftest.$ac_objext; then
25195 wx_cv_lib_stl=yes
25196 else
25197 echo "$as_me: failed program was:" >&5
25198 sed 's/^/| /' conftest.$ac_ext >&5
25199
25200 wx_cv_lib_stl=no
25201
25202 fi
25203
25204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25205
25206 fi
25207 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25208 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25209
25210 if test "$wx_cv_lib_stl" != yes; then
25211 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25212 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25213 { (exit 1); exit 1; }; }
25214 fi
25215
25216 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25217 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25218 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25219 echo $ECHO_N "(cached) $ECHO_C" >&6
25220 else
25221 cat >conftest.$ac_ext <<_ACEOF
25222 /* confdefs.h. */
25223 _ACEOF
25224 cat confdefs.h >>conftest.$ac_ext
25225 cat >>conftest.$ac_ext <<_ACEOF
25226 /* end confdefs.h. */
25227 #include <string>
25228 int
25229 main ()
25230 {
25231 std::string foo, bar;
25232 foo.compare(bar);
25233 foo.compare(1, 1, bar);
25234 foo.compare(1, 1, bar, 1, 1);
25235 foo.compare("");
25236 foo.compare(1, 1, "");
25237 foo.compare(1, 1, "", 2);
25238 ;
25239 return 0;
25240 }
25241 _ACEOF
25242 rm -f conftest.$ac_objext
25243 if { (ac_try="$ac_compile"
25244 case "(($ac_try" in
25245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25246 *) ac_try_echo=$ac_try;;
25247 esac
25248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25249 (eval "$ac_compile") 2>conftest.er1
25250 ac_status=$?
25251 grep -v '^ *+' conftest.er1 >conftest.err
25252 rm -f conftest.er1
25253 cat conftest.err >&5
25254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25255 (exit $ac_status); } && {
25256 test -z "$ac_cxx_werror_flag" ||
25257 test ! -s conftest.err
25258 } && test -s conftest.$ac_objext; then
25259 wx_cv_func_stdstring_compare=yes
25260 else
25261 echo "$as_me: failed program was:" >&5
25262 sed 's/^/| /' conftest.$ac_ext >&5
25263
25264 wx_cv_func_stdstring_compare=no
25265
25266 fi
25267
25268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25269
25270 fi
25271 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25272 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25273
25274 if test "$wx_cv_func_stdstring_compare" = yes; then
25275 cat >>confdefs.h <<\_ACEOF
25276 #define HAVE_STD_STRING_COMPARE 1
25277 _ACEOF
25278
25279 fi
25280
25281 if test "$wx_cv_class_gnuhashmapset" = yes; then
25282 cat >>confdefs.h <<\_ACEOF
25283 #define HAVE_EXT_HASH_MAP 1
25284 _ACEOF
25285
25286 cat >>confdefs.h <<\_ACEOF
25287 #define HAVE_GNU_CXX_HASH_MAP 1
25288 _ACEOF
25289
25290 fi
25291
25292 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25293 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25294 if test "${ac_cv_header_unordered_map+set}" = set; then
25295 echo $ECHO_N "(cached) $ECHO_C" >&6
25296 else
25297 cat >conftest.$ac_ext <<_ACEOF
25298 /* confdefs.h. */
25299 _ACEOF
25300 cat confdefs.h >>conftest.$ac_ext
25301 cat >>conftest.$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25303
25304
25305
25306 #include <unordered_map>
25307 _ACEOF
25308 rm -f conftest.$ac_objext
25309 if { (ac_try="$ac_compile"
25310 case "(($ac_try" in
25311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25312 *) ac_try_echo=$ac_try;;
25313 esac
25314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25315 (eval "$ac_compile") 2>conftest.er1
25316 ac_status=$?
25317 grep -v '^ *+' conftest.er1 >conftest.err
25318 rm -f conftest.er1
25319 cat conftest.err >&5
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); } && {
25322 test -z "$ac_cxx_werror_flag" ||
25323 test ! -s conftest.err
25324 } && test -s conftest.$ac_objext; then
25325 ac_cv_header_unordered_map=yes
25326 else
25327 echo "$as_me: failed program was:" >&5
25328 sed 's/^/| /' conftest.$ac_ext >&5
25329
25330 ac_cv_header_unordered_map=no
25331 fi
25332
25333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 fi
25335 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25336 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25337 if test $ac_cv_header_unordered_map = yes; then
25338 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25339 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25340 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25341 echo $ECHO_N "(cached) $ECHO_C" >&6
25342 else
25343 cat >conftest.$ac_ext <<_ACEOF
25344 /* confdefs.h. */
25345 _ACEOF
25346 cat confdefs.h >>conftest.$ac_ext
25347 cat >>conftest.$ac_ext <<_ACEOF
25348 /* end confdefs.h. */
25349 #include <unordered_map>
25350 #include <unordered_set>
25351 int
25352 main ()
25353 {
25354 std::unordered_map<double*, char*> test1;
25355 std::unordered_set<char*> test2;
25356 ;
25357 return 0;
25358 }
25359 _ACEOF
25360 rm -f conftest.$ac_objext
25361 if { (ac_try="$ac_compile"
25362 case "(($ac_try" in
25363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25364 *) ac_try_echo=$ac_try;;
25365 esac
25366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25367 (eval "$ac_compile") 2>conftest.er1
25368 ac_status=$?
25369 grep -v '^ *+' conftest.er1 >conftest.err
25370 rm -f conftest.er1
25371 cat conftest.err >&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); } && {
25374 test -z "$ac_cxx_werror_flag" ||
25375 test ! -s conftest.err
25376 } && test -s conftest.$ac_objext; then
25377 wx_cv_class_stdunorderedmapset=yes
25378 else
25379 echo "$as_me: failed program was:" >&5
25380 sed 's/^/| /' conftest.$ac_ext >&5
25381
25382 wx_cv_class_stdunorderedmapset=no
25383 fi
25384
25385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25386
25387
25388 fi
25389 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25390 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25391 fi
25392
25393
25394
25395 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25396 cat >>confdefs.h <<\_ACEOF
25397 #define HAVE_STD_UNORDERED_MAP 1
25398 _ACEOF
25399
25400 cat >>confdefs.h <<\_ACEOF
25401 #define HAVE_STD_UNORDERED_SET 1
25402 _ACEOF
25403
25404 else
25405 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25406 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25407 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25408 echo $ECHO_N "(cached) $ECHO_C" >&6
25409 else
25410 cat >conftest.$ac_ext <<_ACEOF
25411 /* confdefs.h. */
25412 _ACEOF
25413 cat confdefs.h >>conftest.$ac_ext
25414 cat >>conftest.$ac_ext <<_ACEOF
25415 /* end confdefs.h. */
25416
25417
25418
25419 #include <tr1/unordered_map>
25420 _ACEOF
25421 rm -f conftest.$ac_objext
25422 if { (ac_try="$ac_compile"
25423 case "(($ac_try" in
25424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25425 *) ac_try_echo=$ac_try;;
25426 esac
25427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25428 (eval "$ac_compile") 2>conftest.er1
25429 ac_status=$?
25430 grep -v '^ *+' conftest.er1 >conftest.err
25431 rm -f conftest.er1
25432 cat conftest.err >&5
25433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25434 (exit $ac_status); } && {
25435 test -z "$ac_cxx_werror_flag" ||
25436 test ! -s conftest.err
25437 } && test -s conftest.$ac_objext; then
25438 ac_cv_header_tr1_unordered_map=yes
25439 else
25440 echo "$as_me: failed program was:" >&5
25441 sed 's/^/| /' conftest.$ac_ext >&5
25442
25443 ac_cv_header_tr1_unordered_map=no
25444 fi
25445
25446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25447 fi
25448 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25449 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25450 if test $ac_cv_header_tr1_unordered_map = yes; then
25451 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25452 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25453 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25454 echo $ECHO_N "(cached) $ECHO_C" >&6
25455 else
25456 cat >conftest.$ac_ext <<_ACEOF
25457 /* confdefs.h. */
25458 _ACEOF
25459 cat confdefs.h >>conftest.$ac_ext
25460 cat >>conftest.$ac_ext <<_ACEOF
25461 /* end confdefs.h. */
25462 #include <tr1/unordered_map>
25463 #include <tr1/unordered_set>
25464 int
25465 main ()
25466 {
25467 std::tr1::unordered_map<double*, char*> test1;
25468 std::tr1::unordered_set<char*> test2;
25469 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25470 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25471 #endif
25472 ;
25473 return 0;
25474 }
25475 _ACEOF
25476 rm -f conftest.$ac_objext
25477 if { (ac_try="$ac_compile"
25478 case "(($ac_try" in
25479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25480 *) ac_try_echo=$ac_try;;
25481 esac
25482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25483 (eval "$ac_compile") 2>conftest.er1
25484 ac_status=$?
25485 grep -v '^ *+' conftest.er1 >conftest.err
25486 rm -f conftest.er1
25487 cat conftest.err >&5
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); } && {
25490 test -z "$ac_cxx_werror_flag" ||
25491 test ! -s conftest.err
25492 } && test -s conftest.$ac_objext; then
25493 wx_cv_class_tr1unorderedmapset=yes
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25497
25498 wx_cv_class_tr1unorderedmapset=no
25499 fi
25500
25501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25502
25503
25504 fi
25505 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25506 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25507 fi
25508
25509
25510
25511 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25512 cat >>confdefs.h <<\_ACEOF
25513 #define HAVE_TR1_UNORDERED_MAP 1
25514 _ACEOF
25515
25516 cat >>confdefs.h <<\_ACEOF
25517 #define HAVE_TR1_UNORDERED_SET 1
25518 _ACEOF
25519
25520 else
25521 { echo "$as_me:$LINENO: checking for hash_map" >&5
25522 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25523 if test "${ac_cv_header_hash_map+set}" = set; then
25524 echo $ECHO_N "(cached) $ECHO_C" >&6
25525 else
25526 cat >conftest.$ac_ext <<_ACEOF
25527 /* confdefs.h. */
25528 _ACEOF
25529 cat confdefs.h >>conftest.$ac_ext
25530 cat >>conftest.$ac_ext <<_ACEOF
25531 /* end confdefs.h. */
25532
25533
25534
25535 #include <hash_map>
25536 _ACEOF
25537 rm -f conftest.$ac_objext
25538 if { (ac_try="$ac_compile"
25539 case "(($ac_try" in
25540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25541 *) ac_try_echo=$ac_try;;
25542 esac
25543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25544 (eval "$ac_compile") 2>conftest.er1
25545 ac_status=$?
25546 grep -v '^ *+' conftest.er1 >conftest.err
25547 rm -f conftest.er1
25548 cat conftest.err >&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); } && {
25551 test -z "$ac_cxx_werror_flag" ||
25552 test ! -s conftest.err
25553 } && test -s conftest.$ac_objext; then
25554 ac_cv_header_hash_map=yes
25555 else
25556 echo "$as_me: failed program was:" >&5
25557 sed 's/^/| /' conftest.$ac_ext >&5
25558
25559 ac_cv_header_hash_map=no
25560 fi
25561
25562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25563 fi
25564 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25565 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25566 if test $ac_cv_header_hash_map = yes; then
25567 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25568 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25569 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25570 echo $ECHO_N "(cached) $ECHO_C" >&6
25571 else
25572 cat >conftest.$ac_ext <<_ACEOF
25573 /* confdefs.h. */
25574 _ACEOF
25575 cat confdefs.h >>conftest.$ac_ext
25576 cat >>conftest.$ac_ext <<_ACEOF
25577 /* end confdefs.h. */
25578 #include <hash_map>
25579 #include <hash_set>
25580 int
25581 main ()
25582 {
25583 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25584 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25585 ;
25586 return 0;
25587 }
25588 _ACEOF
25589 rm -f conftest.$ac_objext
25590 if { (ac_try="$ac_compile"
25591 case "(($ac_try" in
25592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25593 *) ac_try_echo=$ac_try;;
25594 esac
25595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25596 (eval "$ac_compile") 2>conftest.er1
25597 ac_status=$?
25598 grep -v '^ *+' conftest.er1 >conftest.err
25599 rm -f conftest.er1
25600 cat conftest.err >&5
25601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602 (exit $ac_status); } && {
25603 test -z "$ac_cxx_werror_flag" ||
25604 test ! -s conftest.err
25605 } && test -s conftest.$ac_objext; then
25606 wx_cv_class_stdhashmapset=yes
25607 else
25608 echo "$as_me: failed program was:" >&5
25609 sed 's/^/| /' conftest.$ac_ext >&5
25610
25611 wx_cv_class_stdhashmapset=no
25612 fi
25613
25614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25615
25616
25617 fi
25618 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25619 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25620 fi
25621
25622
25623
25624 if test "$wx_cv_class_stdhashmapset" = yes; then
25625 cat >>confdefs.h <<\_ACEOF
25626 #define HAVE_HASH_MAP 1
25627 _ACEOF
25628
25629 cat >>confdefs.h <<\_ACEOF
25630 #define HAVE_STD_HASH_MAP 1
25631 _ACEOF
25632
25633 fi
25634
25635 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25636 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25637 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25638 echo $ECHO_N "(cached) $ECHO_C" >&6
25639 else
25640 cat >conftest.$ac_ext <<_ACEOF
25641 /* confdefs.h. */
25642 _ACEOF
25643 cat confdefs.h >>conftest.$ac_ext
25644 cat >>conftest.$ac_ext <<_ACEOF
25645 /* end confdefs.h. */
25646
25647
25648
25649 #include <ext/hash_map>
25650 _ACEOF
25651 rm -f conftest.$ac_objext
25652 if { (ac_try="$ac_compile"
25653 case "(($ac_try" in
25654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25655 *) ac_try_echo=$ac_try;;
25656 esac
25657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25658 (eval "$ac_compile") 2>conftest.er1
25659 ac_status=$?
25660 grep -v '^ *+' conftest.er1 >conftest.err
25661 rm -f conftest.er1
25662 cat conftest.err >&5
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); } && {
25665 test -z "$ac_cxx_werror_flag" ||
25666 test ! -s conftest.err
25667 } && test -s conftest.$ac_objext; then
25668 ac_cv_header_ext_hash_map=yes
25669 else
25670 echo "$as_me: failed program was:" >&5
25671 sed 's/^/| /' conftest.$ac_ext >&5
25672
25673 ac_cv_header_ext_hash_map=no
25674 fi
25675
25676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25677 fi
25678 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25679 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25680 if test $ac_cv_header_ext_hash_map = yes; then
25681 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25682 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25683 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25684 echo $ECHO_N "(cached) $ECHO_C" >&6
25685 else
25686 cat >conftest.$ac_ext <<_ACEOF
25687 /* confdefs.h. */
25688 _ACEOF
25689 cat confdefs.h >>conftest.$ac_ext
25690 cat >>conftest.$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25692 #include <ext/hash_map>
25693 #include <ext/hash_set>
25694 int
25695 main ()
25696 {
25697 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25698 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25699 ;
25700 return 0;
25701 }
25702 _ACEOF
25703 rm -f conftest.$ac_objext
25704 if { (ac_try="$ac_compile"
25705 case "(($ac_try" in
25706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25707 *) ac_try_echo=$ac_try;;
25708 esac
25709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25710 (eval "$ac_compile") 2>conftest.er1
25711 ac_status=$?
25712 grep -v '^ *+' conftest.er1 >conftest.err
25713 rm -f conftest.er1
25714 cat conftest.err >&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); } && {
25717 test -z "$ac_cxx_werror_flag" ||
25718 test ! -s conftest.err
25719 } && test -s conftest.$ac_objext; then
25720 wx_cv_class_gnuhashmapset=yes
25721 else
25722 echo "$as_me: failed program was:" >&5
25723 sed 's/^/| /' conftest.$ac_ext >&5
25724
25725 wx_cv_class_gnuhashmapset=no
25726 fi
25727
25728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25729
25730
25731 fi
25732 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25733 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25734 fi
25735
25736
25737
25738 fi
25739 fi
25740 fi
25741
25742
25743
25744 if test -n "$GCC"; then
25745 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25746 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25747 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25748 echo $ECHO_N "(cached) $ECHO_C" >&6
25749 else
25750
25751 cat >conftest.$ac_ext <<_ACEOF
25752 /* confdefs.h. */
25753 _ACEOF
25754 cat confdefs.h >>conftest.$ac_ext
25755 cat >>conftest.$ac_ext <<_ACEOF
25756 /* end confdefs.h. */
25757
25758 int
25759 main ()
25760 {
25761
25762 unsigned int value=0;
25763 /* wxAtomicInc doesn't use return value here */
25764 __sync_fetch_and_add(&value, 2);
25765 __sync_sub_and_fetch(&value, 1);
25766 /* but wxAtomicDec does, so mimic that: */
25767 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25768
25769 ;
25770 return 0;
25771 }
25772 _ACEOF
25773 rm -f conftest.$ac_objext conftest$ac_exeext
25774 if { (ac_try="$ac_link"
25775 case "(($ac_try" in
25776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25777 *) ac_try_echo=$ac_try;;
25778 esac
25779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25780 (eval "$ac_link") 2>conftest.er1
25781 ac_status=$?
25782 grep -v '^ *+' conftest.er1 >conftest.err
25783 rm -f conftest.er1
25784 cat conftest.err >&5
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); } && {
25787 test -z "$ac_cxx_werror_flag" ||
25788 test ! -s conftest.err
25789 } && test -s conftest$ac_exeext &&
25790 $as_test_x conftest$ac_exeext; then
25791 wx_cv_cc_gcc_atomic_builtins=yes
25792 else
25793 echo "$as_me: failed program was:" >&5
25794 sed 's/^/| /' conftest.$ac_ext >&5
25795
25796 wx_cv_cc_gcc_atomic_builtins=no
25797 fi
25798
25799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25800 conftest$ac_exeext conftest.$ac_ext
25801
25802 fi
25803
25804 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25805 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25806 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25807 cat >>confdefs.h <<\_ACEOF
25808 #define HAVE_GCC_ATOMIC_BUILTINS 1
25809 _ACEOF
25810
25811 fi
25812 fi
25813
25814
25815 ac_ext=c
25816 ac_cpp='$CPP $CPPFLAGS'
25817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25820
25821
25822
25823 SEARCH_INCLUDE="\
25824 /usr/local/include \
25825 /usr/local/X11/include \
25826 /usr/local/include/X11 \
25827 /usr/local/X11R7/include \
25828 /usr/local/X11R6/include \
25829 /usr/local/include/X11R7 \
25830 /usr/local/include/X11R6 \
25831 \
25832 /usr/Motif-2.1/include \
25833 /usr/Motif-1.2/include \
25834 /usr/include/Motif1.2 \
25835 \
25836 /usr/dt/include \
25837 /usr/openwin/include \
25838 \
25839 /usr/include/Xm \
25840 \
25841 /usr/X11R7/include \
25842 /usr/X11R6/include \
25843 /usr/X11R6.4/include \
25844 \
25845 /usr/include/X11R7 \
25846 /usr/include/X11R6 \
25847 \
25848 /usr/X11/include \
25849 /usr/include/X11 \
25850 \
25851 /usr/XFree86/include/X11 \
25852 /usr/pkg/include \
25853 \
25854 /usr/local/X1R5/include \
25855 /usr/local/include/X11R5 \
25856 /usr/X11R5/include \
25857 /usr/include/X11R5 \
25858 \
25859 /usr/local/X11R4/include \
25860 /usr/local/include/X11R4 \
25861 /usr/X11R4/include \
25862 /usr/include/X11R4 \
25863 \
25864 /usr/openwin/share/include"
25865
25866 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25867 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25868
25869 case "${host}" in
25870 *-*-irix6* )
25871 if test "${wx_cv_std_libpath+set}" = set; then
25872 echo $ECHO_N "(cached) $ECHO_C" >&6
25873 else
25874
25875 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25876 for e in a so sl dylib dll.a; do
25877 libc="$d/libc.$e"
25878 if test -f $libc; then
25879 save_LIBS="$LIBS"
25880 LIBS="$libc"
25881 cat >conftest.$ac_ext <<_ACEOF
25882 int main() { return 0; }
25883 _ACEOF
25884 rm -f conftest.$ac_objext conftest$ac_exeext
25885 if { (ac_try="$ac_link"
25886 case "(($ac_try" in
25887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25888 *) ac_try_echo=$ac_try;;
25889 esac
25890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25891 (eval "$ac_link") 2>conftest.er1
25892 ac_status=$?
25893 grep -v '^ *+' conftest.er1 >conftest.err
25894 rm -f conftest.er1
25895 cat conftest.err >&5
25896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897 (exit $ac_status); } && {
25898 test -z "$ac_c_werror_flag" ||
25899 test ! -s conftest.err
25900 } && test -s conftest$ac_exeext &&
25901 $as_test_x conftest$ac_exeext; then
25902 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25903 else
25904 echo "$as_me: failed program was:" >&5
25905 sed 's/^/| /' conftest.$ac_ext >&5
25906
25907
25908 fi
25909
25910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25911 conftest$ac_exeext conftest.$ac_ext
25912 LIBS="$save_LIBS"
25913 if test "x$wx_cv_std_libpath" != "x"; then
25914 break 2
25915 fi
25916 fi
25917 done
25918 done
25919 if test "x$wx_cv_std_libpath" = "x"; then
25920 wx_cv_std_libpath="lib"
25921 fi
25922
25923
25924 fi
25925
25926 ;;
25927
25928 *-*-solaris2* )
25929 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25930 wx_cv_std_libpath="lib/64"
25931 else
25932 wx_cv_std_libpath="lib"
25933 fi
25934 ;;
25935
25936 *-*-linux* )
25937 if test "$ac_cv_sizeof_void_p" = 8 -a \
25938 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25939 wx_cv_std_libpath="lib64"
25940 else
25941 wx_cv_std_libpath="lib"
25942 fi
25943 ;;
25944
25945 *)
25946 wx_cv_std_libpath="lib";
25947 ;;
25948 esac
25949
25950 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25951 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25952
25953 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25954
25955 if test "$build" != "$host" -a "$GCC" = yes; then
25956 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25957 cross_root=`dirname $cross_root`
25958 cross_root=`dirname $cross_root`
25959
25960 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25961 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25962 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25963
25964 if test -z "$PKG_CONFIG_PATH"; then
25965 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25966 export PKG_CONFIG_PATH
25967 fi
25968
25969 if test -z "$x_includes" -o "$x_includes" = NONE; then
25970
25971 ac_find_includes=
25972 for ac_dir in $SEARCH_INCLUDE /usr/include;
25973 do
25974 if test -f "$ac_dir/X11/Intrinsic.h"; then
25975 ac_find_includes=$ac_dir
25976 break
25977 fi
25978 done
25979
25980 x_includes=$ac_find_includes
25981 fi
25982 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25983
25984 ac_find_libraries=
25985 for ac_dir in $SEARCH_LIB;
25986 do
25987 for ac_extension in a so sl dylib dll.a; do
25988 if test -f "$ac_dir/libXt.$ac_extension"; then
25989 ac_find_libraries=$ac_dir
25990 break 2
25991 fi
25992 done
25993 done
25994
25995 x_libraries=$ac_find_libraries
25996 fi
25997 fi
25998 fi
25999
26000
26001 cat >confcache <<\_ACEOF
26002 # This file is a shell script that caches the results of configure
26003 # tests run on this system so they can be shared between configure
26004 # scripts and configure runs, see configure's option --config-cache.
26005 # It is not useful on other systems. If it contains results you don't
26006 # want to keep, you may remove or edit it.
26007 #
26008 # config.status only pays attention to the cache file if you give it
26009 # the --recheck option to rerun configure.
26010 #
26011 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26012 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26013 # following values.
26014
26015 _ACEOF
26016
26017 # The following way of writing the cache mishandles newlines in values,
26018 # but we know of no workaround that is simple, portable, and efficient.
26019 # So, we kill variables containing newlines.
26020 # Ultrix sh set writes to stderr and can't be redirected directly,
26021 # and sets the high bit in the cache file unless we assign to the vars.
26022 (
26023 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26024 eval ac_val=\$$ac_var
26025 case $ac_val in #(
26026 *${as_nl}*)
26027 case $ac_var in #(
26028 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
26029 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
26030 esac
26031 case $ac_var in #(
26032 _ | IFS | as_nl) ;; #(
26033 *) $as_unset $ac_var ;;
26034 esac ;;
26035 esac
26036 done
26037
26038 (set) 2>&1 |
26039 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26040 *${as_nl}ac_space=\ *)
26041 # `set' does not quote correctly, so add quotes (double-quote
26042 # substitution turns \\\\ into \\, and sed turns \\ into \).
26043 sed -n \
26044 "s/'/'\\\\''/g;
26045 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26046 ;; #(
26047 *)
26048 # `set' quotes correctly as required by POSIX, so do not add quotes.
26049 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26050 ;;
26051 esac |
26052 sort
26053 ) |
26054 sed '
26055 /^ac_cv_env_/b end
26056 t clear
26057 :clear
26058 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26059 t end
26060 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26061 :end' >>confcache
26062 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26063 if test -w "$cache_file"; then
26064 test "x$cache_file" != "x/dev/null" &&
26065 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
26066 echo "$as_me: updating cache $cache_file" >&6;}
26067 cat confcache >$cache_file
26068 else
26069 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26070 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26071 fi
26072 fi
26073 rm -f confcache
26074
26075 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26076 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26077 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
26078 if test "${wx_cv_lib_glibc21+set}" = set; then
26079 echo $ECHO_N "(cached) $ECHO_C" >&6
26080 else
26081
26082 cat >conftest.$ac_ext <<_ACEOF
26083 /* confdefs.h. */
26084 _ACEOF
26085 cat confdefs.h >>conftest.$ac_ext
26086 cat >>conftest.$ac_ext <<_ACEOF
26087 /* end confdefs.h. */
26088 #include <features.h>
26089 int
26090 main ()
26091 {
26092
26093 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26094 not glibc 2.1
26095 #endif
26096
26097 ;
26098 return 0;
26099 }
26100 _ACEOF
26101 rm -f conftest.$ac_objext
26102 if { (ac_try="$ac_compile"
26103 case "(($ac_try" in
26104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26105 *) ac_try_echo=$ac_try;;
26106 esac
26107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26108 (eval "$ac_compile") 2>conftest.er1
26109 ac_status=$?
26110 grep -v '^ *+' conftest.er1 >conftest.err
26111 rm -f conftest.er1
26112 cat conftest.err >&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } && {
26115 test -z "$ac_c_werror_flag" ||
26116 test ! -s conftest.err
26117 } && test -s conftest.$ac_objext; then
26118
26119 wx_cv_lib_glibc21=yes
26120
26121 else
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.$ac_ext >&5
26124
26125
26126 wx_cv_lib_glibc21=no
26127
26128
26129 fi
26130
26131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132
26133 fi
26134 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26135 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
26136 if test "$wx_cv_lib_glibc21" = "yes"; then
26137 cat >>confdefs.h <<\_ACEOF
26138 #define wxHAVE_GLIBC2 1
26139 _ACEOF
26140
26141 fi
26142 fi
26143
26144 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26145 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26146 cat >>confdefs.h <<\_ACEOF
26147 #define _GNU_SOURCE 1
26148 _ACEOF
26149
26150 fi
26151 fi
26152
26153 have_cos=0
26154 have_floor=0
26155
26156 for ac_func in cos
26157 do
26158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26159 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26162 echo $ECHO_N "(cached) $ECHO_C" >&6
26163 else
26164 cat >conftest.$ac_ext <<_ACEOF
26165 /* confdefs.h. */
26166 _ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26172 #define $ac_func innocuous_$ac_func
26173
26174 /* System header to define __stub macros and hopefully few prototypes,
26175 which can conflict with char $ac_func (); below.
26176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26177 <limits.h> exists even on freestanding compilers. */
26178
26179 #ifdef __STDC__
26180 # include <limits.h>
26181 #else
26182 # include <assert.h>
26183 #endif
26184
26185 #undef $ac_func
26186
26187 /* Override any GCC internal prototype to avoid an error.
26188 Use char because int might match the return type of a GCC
26189 builtin and then its argument prototype would still apply. */
26190 #ifdef __cplusplus
26191 extern "C"
26192 #endif
26193 char $ac_func ();
26194 /* The GNU C library defines this for functions which it implements
26195 to always fail with ENOSYS. Some functions are actually named
26196 something starting with __ and the normal name is an alias. */
26197 #if defined __stub_$ac_func || defined __stub___$ac_func
26198 choke me
26199 #endif
26200
26201 int
26202 main ()
26203 {
26204 return $ac_func ();
26205 ;
26206 return 0;
26207 }
26208 _ACEOF
26209 rm -f conftest.$ac_objext conftest$ac_exeext
26210 if { (ac_try="$ac_link"
26211 case "(($ac_try" in
26212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26213 *) ac_try_echo=$ac_try;;
26214 esac
26215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26216 (eval "$ac_link") 2>conftest.er1
26217 ac_status=$?
26218 grep -v '^ *+' conftest.er1 >conftest.err
26219 rm -f conftest.er1
26220 cat conftest.err >&5
26221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26222 (exit $ac_status); } && {
26223 test -z "$ac_c_werror_flag" ||
26224 test ! -s conftest.err
26225 } && test -s conftest$ac_exeext &&
26226 $as_test_x conftest$ac_exeext; then
26227 eval "$as_ac_var=yes"
26228 else
26229 echo "$as_me: failed program was:" >&5
26230 sed 's/^/| /' conftest.$ac_ext >&5
26231
26232 eval "$as_ac_var=no"
26233 fi
26234
26235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26236 conftest$ac_exeext conftest.$ac_ext
26237 fi
26238 ac_res=`eval echo '${'$as_ac_var'}'`
26239 { echo "$as_me:$LINENO: result: $ac_res" >&5
26240 echo "${ECHO_T}$ac_res" >&6; }
26241 if test `eval echo '${'$as_ac_var'}'` = yes; then
26242 cat >>confdefs.h <<_ACEOF
26243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26244 _ACEOF
26245 have_cos=1
26246 fi
26247 done
26248
26249
26250 for ac_func in floor
26251 do
26252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26256 echo $ECHO_N "(cached) $ECHO_C" >&6
26257 else
26258 cat >conftest.$ac_ext <<_ACEOF
26259 /* confdefs.h. */
26260 _ACEOF
26261 cat confdefs.h >>conftest.$ac_ext
26262 cat >>conftest.$ac_ext <<_ACEOF
26263 /* end confdefs.h. */
26264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26266 #define $ac_func innocuous_$ac_func
26267
26268 /* System header to define __stub macros and hopefully few prototypes,
26269 which can conflict with char $ac_func (); below.
26270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26271 <limits.h> exists even on freestanding compilers. */
26272
26273 #ifdef __STDC__
26274 # include <limits.h>
26275 #else
26276 # include <assert.h>
26277 #endif
26278
26279 #undef $ac_func
26280
26281 /* Override any GCC internal prototype to avoid an error.
26282 Use char because int might match the return type of a GCC
26283 builtin and then its argument prototype would still apply. */
26284 #ifdef __cplusplus
26285 extern "C"
26286 #endif
26287 char $ac_func ();
26288 /* The GNU C library defines this for functions which it implements
26289 to always fail with ENOSYS. Some functions are actually named
26290 something starting with __ and the normal name is an alias. */
26291 #if defined __stub_$ac_func || defined __stub___$ac_func
26292 choke me
26293 #endif
26294
26295 int
26296 main ()
26297 {
26298 return $ac_func ();
26299 ;
26300 return 0;
26301 }
26302 _ACEOF
26303 rm -f conftest.$ac_objext conftest$ac_exeext
26304 if { (ac_try="$ac_link"
26305 case "(($ac_try" in
26306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26307 *) ac_try_echo=$ac_try;;
26308 esac
26309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26310 (eval "$ac_link") 2>conftest.er1
26311 ac_status=$?
26312 grep -v '^ *+' conftest.er1 >conftest.err
26313 rm -f conftest.er1
26314 cat conftest.err >&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } && {
26317 test -z "$ac_c_werror_flag" ||
26318 test ! -s conftest.err
26319 } && test -s conftest$ac_exeext &&
26320 $as_test_x conftest$ac_exeext; then
26321 eval "$as_ac_var=yes"
26322 else
26323 echo "$as_me: failed program was:" >&5
26324 sed 's/^/| /' conftest.$ac_ext >&5
26325
26326 eval "$as_ac_var=no"
26327 fi
26328
26329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26330 conftest$ac_exeext conftest.$ac_ext
26331 fi
26332 ac_res=`eval echo '${'$as_ac_var'}'`
26333 { echo "$as_me:$LINENO: result: $ac_res" >&5
26334 echo "${ECHO_T}$ac_res" >&6; }
26335 if test `eval echo '${'$as_ac_var'}'` = yes; then
26336 cat >>confdefs.h <<_ACEOF
26337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26338 _ACEOF
26339 have_floor=1
26340 fi
26341 done
26342
26343 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26344 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26345 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26346 { echo "$as_me:$LINENO: result: yes" >&5
26347 echo "${ECHO_T}yes" >&6; }
26348 else
26349 { echo "$as_me:$LINENO: result: no" >&5
26350 echo "${ECHO_T}no" >&6; }
26351 LIBS="$LIBS -lm"
26352 # use different functions to avoid configure caching
26353 have_sin=0
26354 have_ceil=0
26355
26356 for ac_func in sin
26357 do
26358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26361 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26362 echo $ECHO_N "(cached) $ECHO_C" >&6
26363 else
26364 cat >conftest.$ac_ext <<_ACEOF
26365 /* confdefs.h. */
26366 _ACEOF
26367 cat confdefs.h >>conftest.$ac_ext
26368 cat >>conftest.$ac_ext <<_ACEOF
26369 /* end confdefs.h. */
26370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26372 #define $ac_func innocuous_$ac_func
26373
26374 /* System header to define __stub macros and hopefully few prototypes,
26375 which can conflict with char $ac_func (); below.
26376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26377 <limits.h> exists even on freestanding compilers. */
26378
26379 #ifdef __STDC__
26380 # include <limits.h>
26381 #else
26382 # include <assert.h>
26383 #endif
26384
26385 #undef $ac_func
26386
26387 /* Override any GCC internal prototype to avoid an error.
26388 Use char because int might match the return type of a GCC
26389 builtin and then its argument prototype would still apply. */
26390 #ifdef __cplusplus
26391 extern "C"
26392 #endif
26393 char $ac_func ();
26394 /* The GNU C library defines this for functions which it implements
26395 to always fail with ENOSYS. Some functions are actually named
26396 something starting with __ and the normal name is an alias. */
26397 #if defined __stub_$ac_func || defined __stub___$ac_func
26398 choke me
26399 #endif
26400
26401 int
26402 main ()
26403 {
26404 return $ac_func ();
26405 ;
26406 return 0;
26407 }
26408 _ACEOF
26409 rm -f conftest.$ac_objext conftest$ac_exeext
26410 if { (ac_try="$ac_link"
26411 case "(($ac_try" in
26412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26413 *) ac_try_echo=$ac_try;;
26414 esac
26415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26416 (eval "$ac_link") 2>conftest.er1
26417 ac_status=$?
26418 grep -v '^ *+' conftest.er1 >conftest.err
26419 rm -f conftest.er1
26420 cat conftest.err >&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); } && {
26423 test -z "$ac_c_werror_flag" ||
26424 test ! -s conftest.err
26425 } && test -s conftest$ac_exeext &&
26426 $as_test_x conftest$ac_exeext; then
26427 eval "$as_ac_var=yes"
26428 else
26429 echo "$as_me: failed program was:" >&5
26430 sed 's/^/| /' conftest.$ac_ext >&5
26431
26432 eval "$as_ac_var=no"
26433 fi
26434
26435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26436 conftest$ac_exeext conftest.$ac_ext
26437 fi
26438 ac_res=`eval echo '${'$as_ac_var'}'`
26439 { echo "$as_me:$LINENO: result: $ac_res" >&5
26440 echo "${ECHO_T}$ac_res" >&6; }
26441 if test `eval echo '${'$as_ac_var'}'` = yes; then
26442 cat >>confdefs.h <<_ACEOF
26443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26444 _ACEOF
26445 have_sin=1
26446 fi
26447 done
26448
26449
26450 for ac_func in ceil
26451 do
26452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26453 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26455 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26456 echo $ECHO_N "(cached) $ECHO_C" >&6
26457 else
26458 cat >conftest.$ac_ext <<_ACEOF
26459 /* confdefs.h. */
26460 _ACEOF
26461 cat confdefs.h >>conftest.$ac_ext
26462 cat >>conftest.$ac_ext <<_ACEOF
26463 /* end confdefs.h. */
26464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26466 #define $ac_func innocuous_$ac_func
26467
26468 /* System header to define __stub macros and hopefully few prototypes,
26469 which can conflict with char $ac_func (); below.
26470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26471 <limits.h> exists even on freestanding compilers. */
26472
26473 #ifdef __STDC__
26474 # include <limits.h>
26475 #else
26476 # include <assert.h>
26477 #endif
26478
26479 #undef $ac_func
26480
26481 /* Override any GCC internal prototype to avoid an error.
26482 Use char because int might match the return type of a GCC
26483 builtin and then its argument prototype would still apply. */
26484 #ifdef __cplusplus
26485 extern "C"
26486 #endif
26487 char $ac_func ();
26488 /* The GNU C library defines this for functions which it implements
26489 to always fail with ENOSYS. Some functions are actually named
26490 something starting with __ and the normal name is an alias. */
26491 #if defined __stub_$ac_func || defined __stub___$ac_func
26492 choke me
26493 #endif
26494
26495 int
26496 main ()
26497 {
26498 return $ac_func ();
26499 ;
26500 return 0;
26501 }
26502 _ACEOF
26503 rm -f conftest.$ac_objext conftest$ac_exeext
26504 if { (ac_try="$ac_link"
26505 case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26507 *) ac_try_echo=$ac_try;;
26508 esac
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_link") 2>conftest.er1
26511 ac_status=$?
26512 grep -v '^ *+' conftest.er1 >conftest.err
26513 rm -f conftest.er1
26514 cat conftest.err >&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } && {
26517 test -z "$ac_c_werror_flag" ||
26518 test ! -s conftest.err
26519 } && test -s conftest$ac_exeext &&
26520 $as_test_x conftest$ac_exeext; then
26521 eval "$as_ac_var=yes"
26522 else
26523 echo "$as_me: failed program was:" >&5
26524 sed 's/^/| /' conftest.$ac_ext >&5
26525
26526 eval "$as_ac_var=no"
26527 fi
26528
26529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26530 conftest$ac_exeext conftest.$ac_ext
26531 fi
26532 ac_res=`eval echo '${'$as_ac_var'}'`
26533 { echo "$as_me:$LINENO: result: $ac_res" >&5
26534 echo "${ECHO_T}$ac_res" >&6; }
26535 if test `eval echo '${'$as_ac_var'}'` = yes; then
26536 cat >>confdefs.h <<_ACEOF
26537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26538 _ACEOF
26539 have_ceil=1
26540 fi
26541 done
26542
26543 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26544 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26545 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26546 { echo "$as_me:$LINENO: result: yes" >&5
26547 echo "${ECHO_T}yes" >&6; }
26548 else
26549 { echo "$as_me:$LINENO: result: no" >&5
26550 echo "${ECHO_T}no" >&6; }
26551 # not sure we should warn the user, crash, etc.
26552 fi
26553 fi
26554
26555 ac_ext=cpp
26556 ac_cpp='$CXXCPP $CPPFLAGS'
26557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26560
26561 if test "wxUSE_UNICODE" = "yes"; then
26562
26563 for wx_func in wcstoull
26564 do
26565 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26566 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26567 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26568 echo $ECHO_N "(cached) $ECHO_C" >&6
26569 else
26570
26571 cat >conftest.$ac_ext <<_ACEOF
26572
26573 /* confdefs.h. */
26574 _ACEOF
26575 cat confdefs.h >>conftest.$ac_ext
26576 cat >>conftest.$ac_ext <<_ACEOF
26577 /* end confdefs.h. */
26578
26579
26580 $ac_includes_default
26581
26582 int
26583 main ()
26584 {
26585
26586 #ifndef $wx_func
26587 &$wx_func;
26588 #endif
26589
26590
26591 ;
26592 return 0;
26593 }
26594
26595 _ACEOF
26596 rm -f conftest.$ac_objext conftest$ac_exeext
26597 if { (ac_try="$ac_link"
26598 case "(($ac_try" in
26599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26600 *) ac_try_echo=$ac_try;;
26601 esac
26602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26603 (eval "$ac_link") 2>conftest.er1
26604 ac_status=$?
26605 grep -v '^ *+' conftest.er1 >conftest.err
26606 rm -f conftest.er1
26607 cat conftest.err >&5
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); } && {
26610 test -z "$ac_cxx_werror_flag" ||
26611 test ! -s conftest.err
26612 } && test -s conftest$ac_exeext &&
26613 $as_test_x conftest$ac_exeext; then
26614 eval wx_cv_func_$wx_func=yes
26615 else
26616 echo "$as_me: failed program was:" >&5
26617 sed 's/^/| /' conftest.$ac_ext >&5
26618
26619 eval wx_cv_func_$wx_func=no
26620 fi
26621
26622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26623 conftest$ac_exeext conftest.$ac_ext
26624
26625 fi
26626 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26627 { echo "$as_me:$LINENO: result: $ac_res" >&5
26628 echo "${ECHO_T}$ac_res" >&6; }
26629
26630 if eval test \$wx_cv_func_$wx_func = yes
26631 then
26632 cat >>confdefs.h <<_ACEOF
26633 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26634 _ACEOF
26635
26636
26637 else
26638 :
26639
26640 fi
26641 done
26642
26643 else
26644
26645 for wx_func in strtoull
26646 do
26647 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26648 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26649 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26650 echo $ECHO_N "(cached) $ECHO_C" >&6
26651 else
26652
26653 cat >conftest.$ac_ext <<_ACEOF
26654
26655 /* confdefs.h. */
26656 _ACEOF
26657 cat confdefs.h >>conftest.$ac_ext
26658 cat >>conftest.$ac_ext <<_ACEOF
26659 /* end confdefs.h. */
26660
26661
26662 $ac_includes_default
26663
26664 int
26665 main ()
26666 {
26667
26668 #ifndef $wx_func
26669 &$wx_func;
26670 #endif
26671
26672
26673 ;
26674 return 0;
26675 }
26676
26677 _ACEOF
26678 rm -f conftest.$ac_objext conftest$ac_exeext
26679 if { (ac_try="$ac_link"
26680 case "(($ac_try" in
26681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26682 *) ac_try_echo=$ac_try;;
26683 esac
26684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26685 (eval "$ac_link") 2>conftest.er1
26686 ac_status=$?
26687 grep -v '^ *+' conftest.er1 >conftest.err
26688 rm -f conftest.er1
26689 cat conftest.err >&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); } && {
26692 test -z "$ac_cxx_werror_flag" ||
26693 test ! -s conftest.err
26694 } && test -s conftest$ac_exeext &&
26695 $as_test_x conftest$ac_exeext; then
26696 eval wx_cv_func_$wx_func=yes
26697 else
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26700
26701 eval wx_cv_func_$wx_func=no
26702 fi
26703
26704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26705 conftest$ac_exeext conftest.$ac_ext
26706
26707 fi
26708 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26709 { echo "$as_me:$LINENO: result: $ac_res" >&5
26710 echo "${ECHO_T}$ac_res" >&6; }
26711
26712 if eval test \$wx_cv_func_$wx_func = yes
26713 then
26714 cat >>confdefs.h <<_ACEOF
26715 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26716 _ACEOF
26717
26718
26719 else
26720 :
26721
26722 fi
26723 done
26724
26725 fi
26726 ac_ext=c
26727 ac_cpp='$CPP $CPPFLAGS'
26728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26731
26732
26733
26734
26735 if test "$wxUSE_REGEX" != "no"; then
26736 cat >>confdefs.h <<\_ACEOF
26737 #define wxUSE_REGEX 1
26738 _ACEOF
26739
26740
26741 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26742 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26743 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26744 wxUSE_REGEX=builtin
26745 fi
26746
26747 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26748 { echo "$as_me:$LINENO: checking for regex.h" >&5
26749 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26750 if test "${ac_cv_header_regex_h+set}" = set; then
26751 echo $ECHO_N "(cached) $ECHO_C" >&6
26752 else
26753 cat >conftest.$ac_ext <<_ACEOF
26754 /* confdefs.h. */
26755 _ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26759
26760
26761 #include <regex.h>
26762 _ACEOF
26763 rm -f conftest.$ac_objext
26764 if { (ac_try="$ac_compile"
26765 case "(($ac_try" in
26766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26767 *) ac_try_echo=$ac_try;;
26768 esac
26769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26770 (eval "$ac_compile") 2>conftest.er1
26771 ac_status=$?
26772 grep -v '^ *+' conftest.er1 >conftest.err
26773 rm -f conftest.er1
26774 cat conftest.err >&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } && {
26777 test -z "$ac_c_werror_flag" ||
26778 test ! -s conftest.err
26779 } && test -s conftest.$ac_objext; then
26780 ac_cv_header_regex_h=yes
26781 else
26782 echo "$as_me: failed program was:" >&5
26783 sed 's/^/| /' conftest.$ac_ext >&5
26784
26785 ac_cv_header_regex_h=no
26786 fi
26787
26788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26789 fi
26790 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26791 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26792 if test $ac_cv_header_regex_h = yes; then
26793
26794
26795 for ac_func in regcomp re_search
26796 do
26797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26798 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26800 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26801 echo $ECHO_N "(cached) $ECHO_C" >&6
26802 else
26803 cat >conftest.$ac_ext <<_ACEOF
26804 /* confdefs.h. */
26805 _ACEOF
26806 cat confdefs.h >>conftest.$ac_ext
26807 cat >>conftest.$ac_ext <<_ACEOF
26808 /* end confdefs.h. */
26809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26811 #define $ac_func innocuous_$ac_func
26812
26813 /* System header to define __stub macros and hopefully few prototypes,
26814 which can conflict with char $ac_func (); below.
26815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26816 <limits.h> exists even on freestanding compilers. */
26817
26818 #ifdef __STDC__
26819 # include <limits.h>
26820 #else
26821 # include <assert.h>
26822 #endif
26823
26824 #undef $ac_func
26825
26826 /* Override any GCC internal prototype to avoid an error.
26827 Use char because int might match the return type of a GCC
26828 builtin and then its argument prototype would still apply. */
26829 #ifdef __cplusplus
26830 extern "C"
26831 #endif
26832 char $ac_func ();
26833 /* The GNU C library defines this for functions which it implements
26834 to always fail with ENOSYS. Some functions are actually named
26835 something starting with __ and the normal name is an alias. */
26836 #if defined __stub_$ac_func || defined __stub___$ac_func
26837 choke me
26838 #endif
26839
26840 int
26841 main ()
26842 {
26843 return $ac_func ();
26844 ;
26845 return 0;
26846 }
26847 _ACEOF
26848 rm -f conftest.$ac_objext conftest$ac_exeext
26849 if { (ac_try="$ac_link"
26850 case "(($ac_try" in
26851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26852 *) ac_try_echo=$ac_try;;
26853 esac
26854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26855 (eval "$ac_link") 2>conftest.er1
26856 ac_status=$?
26857 grep -v '^ *+' conftest.er1 >conftest.err
26858 rm -f conftest.er1
26859 cat conftest.err >&5
26860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26861 (exit $ac_status); } && {
26862 test -z "$ac_c_werror_flag" ||
26863 test ! -s conftest.err
26864 } && test -s conftest$ac_exeext &&
26865 $as_test_x conftest$ac_exeext; then
26866 eval "$as_ac_var=yes"
26867 else
26868 echo "$as_me: failed program was:" >&5
26869 sed 's/^/| /' conftest.$ac_ext >&5
26870
26871 eval "$as_ac_var=no"
26872 fi
26873
26874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26875 conftest$ac_exeext conftest.$ac_ext
26876 fi
26877 ac_res=`eval echo '${'$as_ac_var'}'`
26878 { echo "$as_me:$LINENO: result: $ac_res" >&5
26879 echo "${ECHO_T}$ac_res" >&6; }
26880 if test `eval echo '${'$as_ac_var'}'` = yes; then
26881 cat >>confdefs.h <<_ACEOF
26882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26883 _ACEOF
26884
26885 fi
26886 done
26887
26888 fi
26889
26890
26891
26892 if test "x$ac_cv_func_regcomp" != "xyes"; then
26893 if test "$wxUSE_REGEX" = "sys" ; then
26894 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26895 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26896 { (exit 1); exit 1; }; }
26897 else
26898 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26899 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26900 wxUSE_REGEX=builtin
26901 fi
26902 else
26903 wxUSE_REGEX=sys
26904 cat >>confdefs.h <<\_ACEOF
26905 #define WX_NO_REGEX_ADVANCED 1
26906 _ACEOF
26907
26908 fi
26909 fi
26910 fi
26911
26912
26913 ZLIB_LINK=
26914 if test "$wxUSE_ZLIB" != "no" ; then
26915 cat >>confdefs.h <<\_ACEOF
26916 #define wxUSE_ZLIB 1
26917 _ACEOF
26918
26919
26920 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26921 if test "$USE_DARWIN" = 1; then
26922 system_zlib_h_ok="yes"
26923 else
26924 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26925 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26926 if test "${ac_cv_header_zlib_h+set}" = set; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 else
26929 if test "$cross_compiling" = yes; then
26930 unset ac_cv_header_zlib_h
26931
26932 else
26933 cat >conftest.$ac_ext <<_ACEOF
26934 /* confdefs.h. */
26935 _ACEOF
26936 cat confdefs.h >>conftest.$ac_ext
26937 cat >>conftest.$ac_ext <<_ACEOF
26938 /* end confdefs.h. */
26939
26940 #include <zlib.h>
26941 #include <stdio.h>
26942
26943 int main()
26944 {
26945 FILE *f=fopen("conftestval", "w");
26946 if (!f) exit(1);
26947 fprintf(f, "%s",
26948 ZLIB_VERSION[0] == '1' &&
26949 (ZLIB_VERSION[2] > '1' ||
26950 (ZLIB_VERSION[2] == '1' &&
26951 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26952 exit(0);
26953 }
26954
26955 _ACEOF
26956 rm -f conftest$ac_exeext
26957 if { (ac_try="$ac_link"
26958 case "(($ac_try" in
26959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26960 *) ac_try_echo=$ac_try;;
26961 esac
26962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26963 (eval "$ac_link") 2>&5
26964 ac_status=$?
26965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26967 { (case "(($ac_try" in
26968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26969 *) ac_try_echo=$ac_try;;
26970 esac
26971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26972 (eval "$ac_try") 2>&5
26973 ac_status=$?
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; }; then
26976 ac_cv_header_zlib_h=`cat conftestval`
26977 else
26978 echo "$as_me: program exited with status $ac_status" >&5
26979 echo "$as_me: failed program was:" >&5
26980 sed 's/^/| /' conftest.$ac_ext >&5
26981
26982 ( exit $ac_status )
26983 ac_cv_header_zlib_h=no
26984 fi
26985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26986 fi
26987
26988
26989
26990 fi
26991 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26992 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26993 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26994 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26995 if test "${ac_cv_header_zlib_h+set}" = set; then
26996 echo $ECHO_N "(cached) $ECHO_C" >&6
26997 else
26998 cat >conftest.$ac_ext <<_ACEOF
26999 /* confdefs.h. */
27000 _ACEOF
27001 cat confdefs.h >>conftest.$ac_ext
27002 cat >>conftest.$ac_ext <<_ACEOF
27003 /* end confdefs.h. */
27004
27005
27006 #include <zlib.h>
27007 _ACEOF
27008 rm -f conftest.$ac_objext
27009 if { (ac_try="$ac_compile"
27010 case "(($ac_try" in
27011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27012 *) ac_try_echo=$ac_try;;
27013 esac
27014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27015 (eval "$ac_compile") 2>conftest.er1
27016 ac_status=$?
27017 grep -v '^ *+' conftest.er1 >conftest.err
27018 rm -f conftest.er1
27019 cat conftest.err >&5
27020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021 (exit $ac_status); } && {
27022 test -z "$ac_c_werror_flag" ||
27023 test ! -s conftest.err
27024 } && test -s conftest.$ac_objext; then
27025 ac_cv_header_zlib_h=yes
27026 else
27027 echo "$as_me: failed program was:" >&5
27028 sed 's/^/| /' conftest.$ac_ext >&5
27029
27030 ac_cv_header_zlib_h=no
27031 fi
27032
27033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27034 fi
27035 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27036 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27037
27038
27039
27040 system_zlib_h_ok=$ac_cv_header_zlib_h
27041 fi
27042
27043 if test "$system_zlib_h_ok" = "yes"; then
27044 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27045 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
27046 if test "${ac_cv_lib_z_deflate+set}" = set; then
27047 echo $ECHO_N "(cached) $ECHO_C" >&6
27048 else
27049 ac_check_lib_save_LIBS=$LIBS
27050 LIBS="-lz $LIBS"
27051 cat >conftest.$ac_ext <<_ACEOF
27052 /* confdefs.h. */
27053 _ACEOF
27054 cat confdefs.h >>conftest.$ac_ext
27055 cat >>conftest.$ac_ext <<_ACEOF
27056 /* end confdefs.h. */
27057
27058 /* Override any GCC internal prototype to avoid an error.
27059 Use char because int might match the return type of a GCC
27060 builtin and then its argument prototype would still apply. */
27061 #ifdef __cplusplus
27062 extern "C"
27063 #endif
27064 char deflate ();
27065 int
27066 main ()
27067 {
27068 return deflate ();
27069 ;
27070 return 0;
27071 }
27072 _ACEOF
27073 rm -f conftest.$ac_objext conftest$ac_exeext
27074 if { (ac_try="$ac_link"
27075 case "(($ac_try" in
27076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27077 *) ac_try_echo=$ac_try;;
27078 esac
27079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27080 (eval "$ac_link") 2>conftest.er1
27081 ac_status=$?
27082 grep -v '^ *+' conftest.er1 >conftest.err
27083 rm -f conftest.er1
27084 cat conftest.err >&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); } && {
27087 test -z "$ac_c_werror_flag" ||
27088 test ! -s conftest.err
27089 } && test -s conftest$ac_exeext &&
27090 $as_test_x conftest$ac_exeext; then
27091 ac_cv_lib_z_deflate=yes
27092 else
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.$ac_ext >&5
27095
27096 ac_cv_lib_z_deflate=no
27097 fi
27098
27099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27100 conftest$ac_exeext conftest.$ac_ext
27101 LIBS=$ac_check_lib_save_LIBS
27102 fi
27103 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27104 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
27105 if test $ac_cv_lib_z_deflate = yes; then
27106 ZLIB_LINK=" -lz"
27107 fi
27108
27109 fi
27110
27111 if test "x$ZLIB_LINK" = "x" ; then
27112 if test "$wxUSE_ZLIB" = "sys" ; then
27113 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27114 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27115 { (exit 1); exit 1; }; }
27116 else
27117 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27118 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27119 wxUSE_ZLIB=builtin
27120 fi
27121 else
27122 wxUSE_ZLIB=sys
27123 fi
27124 fi
27125 fi
27126
27127
27128 PNG_LINK=
27129 if test "$wxUSE_LIBPNG" != "no" ; then
27130 cat >>confdefs.h <<\_ACEOF
27131 #define wxUSE_LIBPNG 1
27132 _ACEOF
27133
27134
27135 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27136 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27137 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27138 wxUSE_LIBPNG=sys
27139 fi
27140
27141 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27142 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27143 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27144 wxUSE_LIBPNG=builtin
27145 fi
27146
27147 if test "$wxUSE_MGL" != 1 ; then
27148 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27149 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27150 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
27151 if test "${ac_cv_header_png_h+set}" = set; then
27152 echo $ECHO_N "(cached) $ECHO_C" >&6
27153 else
27154 if test "$cross_compiling" = yes; then
27155 unset ac_cv_header_png_h
27156
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
27165 #include <png.h>
27166 #include <stdio.h>
27167
27168 int main()
27169 {
27170 FILE *f=fopen("conftestval", "w");
27171 if (!f) exit(1);
27172 fprintf(f, "%s",
27173 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27174 exit(0);
27175 }
27176
27177 _ACEOF
27178 rm -f conftest$ac_exeext
27179 if { (ac_try="$ac_link"
27180 case "(($ac_try" in
27181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27182 *) ac_try_echo=$ac_try;;
27183 esac
27184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27185 (eval "$ac_link") 2>&5
27186 ac_status=$?
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27189 { (case "(($ac_try" in
27190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27191 *) ac_try_echo=$ac_try;;
27192 esac
27193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27194 (eval "$ac_try") 2>&5
27195 ac_status=$?
27196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197 (exit $ac_status); }; }; then
27198 ac_cv_header_png_h=`cat conftestval`
27199 else
27200 echo "$as_me: program exited with status $ac_status" >&5
27201 echo "$as_me: failed program was:" >&5
27202 sed 's/^/| /' conftest.$ac_ext >&5
27203
27204 ( exit $ac_status )
27205 ac_cv_header_png_h=no
27206 fi
27207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27208 fi
27209
27210
27211
27212 fi
27213 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27214 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27215 { echo "$as_me:$LINENO: checking for png.h" >&5
27216 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
27217 if test "${ac_cv_header_png_h+set}" = set; then
27218 echo $ECHO_N "(cached) $ECHO_C" >&6
27219 else
27220 cat >conftest.$ac_ext <<_ACEOF
27221 /* confdefs.h. */
27222 _ACEOF
27223 cat confdefs.h >>conftest.$ac_ext
27224 cat >>conftest.$ac_ext <<_ACEOF
27225 /* end confdefs.h. */
27226
27227
27228 #include <png.h>
27229 _ACEOF
27230 rm -f conftest.$ac_objext
27231 if { (ac_try="$ac_compile"
27232 case "(($ac_try" in
27233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27234 *) ac_try_echo=$ac_try;;
27235 esac
27236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27237 (eval "$ac_compile") 2>conftest.er1
27238 ac_status=$?
27239 grep -v '^ *+' conftest.er1 >conftest.err
27240 rm -f conftest.er1
27241 cat conftest.err >&5
27242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27243 (exit $ac_status); } && {
27244 test -z "$ac_c_werror_flag" ||
27245 test ! -s conftest.err
27246 } && test -s conftest.$ac_objext; then
27247 ac_cv_header_png_h=yes
27248 else
27249 echo "$as_me: failed program was:" >&5
27250 sed 's/^/| /' conftest.$ac_ext >&5
27251
27252 ac_cv_header_png_h=no
27253 fi
27254
27255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27256 fi
27257 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27258 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27259
27260
27261
27262 if test "$ac_cv_header_png_h" = "yes"; then
27263 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
27264 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
27265 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
27266 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 else
27268 ac_check_lib_save_LIBS=$LIBS
27269 LIBS="-lpng -lz -lm $LIBS"
27270 cat >conftest.$ac_ext <<_ACEOF
27271 /* confdefs.h. */
27272 _ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276
27277 /* Override any GCC internal prototype to avoid an error.
27278 Use char because int might match the return type of a GCC
27279 builtin and then its argument prototype would still apply. */
27280 #ifdef __cplusplus
27281 extern "C"
27282 #endif
27283 char png_sig_cmp ();
27284 int
27285 main ()
27286 {
27287 return png_sig_cmp ();
27288 ;
27289 return 0;
27290 }
27291 _ACEOF
27292 rm -f conftest.$ac_objext conftest$ac_exeext
27293 if { (ac_try="$ac_link"
27294 case "(($ac_try" in
27295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27296 *) ac_try_echo=$ac_try;;
27297 esac
27298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27299 (eval "$ac_link") 2>conftest.er1
27300 ac_status=$?
27301 grep -v '^ *+' conftest.er1 >conftest.err
27302 rm -f conftest.er1
27303 cat conftest.err >&5
27304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27305 (exit $ac_status); } && {
27306 test -z "$ac_c_werror_flag" ||
27307 test ! -s conftest.err
27308 } && test -s conftest$ac_exeext &&
27309 $as_test_x conftest$ac_exeext; then
27310 ac_cv_lib_png_png_sig_cmp=yes
27311 else
27312 echo "$as_me: failed program was:" >&5
27313 sed 's/^/| /' conftest.$ac_ext >&5
27314
27315 ac_cv_lib_png_png_sig_cmp=no
27316 fi
27317
27318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27319 conftest$ac_exeext conftest.$ac_ext
27320 LIBS=$ac_check_lib_save_LIBS
27321 fi
27322 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
27323 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
27324 if test $ac_cv_lib_png_png_sig_cmp = yes; then
27325 PNG_LINK=" -lpng -lz"
27326 fi
27327
27328 fi
27329
27330 if test "x$PNG_LINK" = "x" ; then
27331 if test "$wxUSE_LIBPNG" = "sys" ; then
27332 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27333 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27334 { (exit 1); exit 1; }; }
27335 else
27336 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27337 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27338 wxUSE_LIBPNG=builtin
27339 fi
27340 else
27341 wxUSE_LIBPNG=sys
27342 fi
27343 fi
27344 fi
27345 fi
27346
27347
27348 JPEG_LINK=
27349 if test "$wxUSE_LIBJPEG" != "no" ; then
27350 cat >>confdefs.h <<\_ACEOF
27351 #define wxUSE_LIBJPEG 1
27352 _ACEOF
27353
27354
27355 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27356 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27357 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27358 wxUSE_LIBJPEG=sys
27359 fi
27360
27361 if test "$wxUSE_MGL" != 1 ; then
27362 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27363 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27364 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27365 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27366 echo $ECHO_N "(cached) $ECHO_C" >&6
27367 else
27368 cat >conftest.$ac_ext <<_ACEOF
27369 /* confdefs.h. */
27370 _ACEOF
27371 cat confdefs.h >>conftest.$ac_ext
27372 cat >>conftest.$ac_ext <<_ACEOF
27373 /* end confdefs.h. */
27374
27375 #undef HAVE_STDLIB_H
27376 #include <stdio.h>
27377 #include <jpeglib.h>
27378
27379 int
27380 main ()
27381 {
27382
27383
27384 ;
27385 return 0;
27386 }
27387 _ACEOF
27388 rm -f conftest.$ac_objext
27389 if { (ac_try="$ac_compile"
27390 case "(($ac_try" in
27391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27392 *) ac_try_echo=$ac_try;;
27393 esac
27394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27395 (eval "$ac_compile") 2>conftest.er1
27396 ac_status=$?
27397 grep -v '^ *+' conftest.er1 >conftest.err
27398 rm -f conftest.er1
27399 cat conftest.err >&5
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); } && {
27402 test -z "$ac_c_werror_flag" ||
27403 test ! -s conftest.err
27404 } && test -s conftest.$ac_objext; then
27405 ac_cv_header_jpeglib_h=yes
27406 else
27407 echo "$as_me: failed program was:" >&5
27408 sed 's/^/| /' conftest.$ac_ext >&5
27409
27410 ac_cv_header_jpeglib_h=no
27411
27412 fi
27413
27414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27415
27416 fi
27417
27418 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27419 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27420
27421 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27422 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27423 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27424 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27425 echo $ECHO_N "(cached) $ECHO_C" >&6
27426 else
27427 ac_check_lib_save_LIBS=$LIBS
27428 LIBS="-ljpeg $LIBS"
27429 cat >conftest.$ac_ext <<_ACEOF
27430 /* confdefs.h. */
27431 _ACEOF
27432 cat confdefs.h >>conftest.$ac_ext
27433 cat >>conftest.$ac_ext <<_ACEOF
27434 /* end confdefs.h. */
27435
27436 /* Override any GCC internal prototype to avoid an error.
27437 Use char because int might match the return type of a GCC
27438 builtin and then its argument prototype would still apply. */
27439 #ifdef __cplusplus
27440 extern "C"
27441 #endif
27442 char jpeg_read_header ();
27443 int
27444 main ()
27445 {
27446 return jpeg_read_header ();
27447 ;
27448 return 0;
27449 }
27450 _ACEOF
27451 rm -f conftest.$ac_objext conftest$ac_exeext
27452 if { (ac_try="$ac_link"
27453 case "(($ac_try" in
27454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27455 *) ac_try_echo=$ac_try;;
27456 esac
27457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27458 (eval "$ac_link") 2>conftest.er1
27459 ac_status=$?
27460 grep -v '^ *+' conftest.er1 >conftest.err
27461 rm -f conftest.er1
27462 cat conftest.err >&5
27463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27464 (exit $ac_status); } && {
27465 test -z "$ac_c_werror_flag" ||
27466 test ! -s conftest.err
27467 } && test -s conftest$ac_exeext &&
27468 $as_test_x conftest$ac_exeext; then
27469 ac_cv_lib_jpeg_jpeg_read_header=yes
27470 else
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27473
27474 ac_cv_lib_jpeg_jpeg_read_header=no
27475 fi
27476
27477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27478 conftest$ac_exeext conftest.$ac_ext
27479 LIBS=$ac_check_lib_save_LIBS
27480 fi
27481 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27482 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27483 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27484 JPEG_LINK=" -ljpeg"
27485 fi
27486
27487 fi
27488
27489 if test "x$JPEG_LINK" = "x" ; then
27490 if test "$wxUSE_LIBJPEG" = "sys" ; then
27491 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27492 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27493 { (exit 1); exit 1; }; }
27494 else
27495 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27496 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27497 wxUSE_LIBJPEG=builtin
27498 fi
27499 else
27500 wxUSE_LIBJPEG=sys
27501
27502 if test "$wxUSE_MSW" = 1; then
27503 { echo "$as_me:$LINENO: checking for boolean" >&5
27504 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27505 if test "${ac_cv_type_boolean+set}" = set; then
27506 echo $ECHO_N "(cached) $ECHO_C" >&6
27507 else
27508 cat >conftest.$ac_ext <<_ACEOF
27509 /* confdefs.h. */
27510 _ACEOF
27511 cat confdefs.h >>conftest.$ac_ext
27512 cat >>conftest.$ac_ext <<_ACEOF
27513 /* end confdefs.h. */
27514 #include <windows.h>
27515
27516 typedef boolean ac__type_new_;
27517 int
27518 main ()
27519 {
27520 if ((ac__type_new_ *) 0)
27521 return 0;
27522 if (sizeof (ac__type_new_))
27523 return 0;
27524 ;
27525 return 0;
27526 }
27527 _ACEOF
27528 rm -f conftest.$ac_objext
27529 if { (ac_try="$ac_compile"
27530 case "(($ac_try" in
27531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27532 *) ac_try_echo=$ac_try;;
27533 esac
27534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27535 (eval "$ac_compile") 2>conftest.er1
27536 ac_status=$?
27537 grep -v '^ *+' conftest.er1 >conftest.err
27538 rm -f conftest.er1
27539 cat conftest.err >&5
27540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27541 (exit $ac_status); } && {
27542 test -z "$ac_c_werror_flag" ||
27543 test ! -s conftest.err
27544 } && test -s conftest.$ac_objext; then
27545 ac_cv_type_boolean=yes
27546 else
27547 echo "$as_me: failed program was:" >&5
27548 sed 's/^/| /' conftest.$ac_ext >&5
27549
27550 ac_cv_type_boolean=no
27551 fi
27552
27553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27554 fi
27555 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27556 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27557 if test $ac_cv_type_boolean = yes; then
27558
27559 cat >>confdefs.h <<_ACEOF
27560 #define HAVE_BOOLEAN 1
27561 _ACEOF
27562
27563
27564 { echo "$as_me:$LINENO: checking for boolean" >&5
27565 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27566 if test "${ac_cv_type_boolean+set}" = set; then
27567 echo $ECHO_N "(cached) $ECHO_C" >&6
27568 else
27569 cat >conftest.$ac_ext <<_ACEOF
27570 /* confdefs.h. */
27571 _ACEOF
27572 cat confdefs.h >>conftest.$ac_ext
27573 cat >>conftest.$ac_ext <<_ACEOF
27574 /* end confdefs.h. */
27575
27576 #undef HAVE_BOOLEAN
27577 #include <stdio.h>
27578 #include <jpeglib.h>
27579
27580
27581 typedef boolean ac__type_new_;
27582 int
27583 main ()
27584 {
27585 if ((ac__type_new_ *) 0)
27586 return 0;
27587 if (sizeof (ac__type_new_))
27588 return 0;
27589 ;
27590 return 0;
27591 }
27592 _ACEOF
27593 rm -f conftest.$ac_objext
27594 if { (ac_try="$ac_compile"
27595 case "(($ac_try" in
27596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27597 *) ac_try_echo=$ac_try;;
27598 esac
27599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27600 (eval "$ac_compile") 2>conftest.er1
27601 ac_status=$?
27602 grep -v '^ *+' conftest.er1 >conftest.err
27603 rm -f conftest.er1
27604 cat conftest.err >&5
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); } && {
27607 test -z "$ac_c_werror_flag" ||
27608 test ! -s conftest.err
27609 } && test -s conftest.$ac_objext; then
27610 ac_cv_type_boolean=yes
27611 else
27612 echo "$as_me: failed program was:" >&5
27613 sed 's/^/| /' conftest.$ac_ext >&5
27614
27615 ac_cv_type_boolean=no
27616 fi
27617
27618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27619 fi
27620 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27621 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27622
27623 # The cast to long int works around a bug in the HP C Compiler
27624 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27625 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27626 # This bug is HP SR number 8606223364.
27627 { echo "$as_me:$LINENO: checking size of boolean" >&5
27628 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27629 if test "${ac_cv_sizeof_boolean+set}" = set; then
27630 echo $ECHO_N "(cached) $ECHO_C" >&6
27631 else
27632 if test "$cross_compiling" = yes; then
27633 # Depending upon the size, compute the lo and hi bounds.
27634 cat >conftest.$ac_ext <<_ACEOF
27635 /* confdefs.h. */
27636 _ACEOF
27637 cat confdefs.h >>conftest.$ac_ext
27638 cat >>conftest.$ac_ext <<_ACEOF
27639 /* end confdefs.h. */
27640
27641 #undef HAVE_BOOLEAN
27642 #include <stdio.h>
27643 #include <jpeglib.h>
27644
27645
27646 typedef boolean ac__type_sizeof_;
27647 int
27648 main ()
27649 {
27650 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27651 test_array [0] = 0
27652
27653 ;
27654 return 0;
27655 }
27656 _ACEOF
27657 rm -f conftest.$ac_objext
27658 if { (ac_try="$ac_compile"
27659 case "(($ac_try" in
27660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27661 *) ac_try_echo=$ac_try;;
27662 esac
27663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27664 (eval "$ac_compile") 2>conftest.er1
27665 ac_status=$?
27666 grep -v '^ *+' conftest.er1 >conftest.err
27667 rm -f conftest.er1
27668 cat conftest.err >&5
27669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670 (exit $ac_status); } && {
27671 test -z "$ac_c_werror_flag" ||
27672 test ! -s conftest.err
27673 } && test -s conftest.$ac_objext; then
27674 ac_lo=0 ac_mid=0
27675 while :; do
27676 cat >conftest.$ac_ext <<_ACEOF
27677 /* confdefs.h. */
27678 _ACEOF
27679 cat confdefs.h >>conftest.$ac_ext
27680 cat >>conftest.$ac_ext <<_ACEOF
27681 /* end confdefs.h. */
27682
27683 #undef HAVE_BOOLEAN
27684 #include <stdio.h>
27685 #include <jpeglib.h>
27686
27687
27688 typedef boolean ac__type_sizeof_;
27689 int
27690 main ()
27691 {
27692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27693 test_array [0] = 0
27694
27695 ;
27696 return 0;
27697 }
27698 _ACEOF
27699 rm -f conftest.$ac_objext
27700 if { (ac_try="$ac_compile"
27701 case "(($ac_try" in
27702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27703 *) ac_try_echo=$ac_try;;
27704 esac
27705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27706 (eval "$ac_compile") 2>conftest.er1
27707 ac_status=$?
27708 grep -v '^ *+' conftest.er1 >conftest.err
27709 rm -f conftest.er1
27710 cat conftest.err >&5
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); } && {
27713 test -z "$ac_c_werror_flag" ||
27714 test ! -s conftest.err
27715 } && test -s conftest.$ac_objext; then
27716 ac_hi=$ac_mid; break
27717 else
27718 echo "$as_me: failed program was:" >&5
27719 sed 's/^/| /' conftest.$ac_ext >&5
27720
27721 ac_lo=`expr $ac_mid + 1`
27722 if test $ac_lo -le $ac_mid; then
27723 ac_lo= ac_hi=
27724 break
27725 fi
27726 ac_mid=`expr 2 '*' $ac_mid + 1`
27727 fi
27728
27729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27730 done
27731 else
27732 echo "$as_me: failed program was:" >&5
27733 sed 's/^/| /' conftest.$ac_ext >&5
27734
27735 cat >conftest.$ac_ext <<_ACEOF
27736 /* confdefs.h. */
27737 _ACEOF
27738 cat confdefs.h >>conftest.$ac_ext
27739 cat >>conftest.$ac_ext <<_ACEOF
27740 /* end confdefs.h. */
27741
27742 #undef HAVE_BOOLEAN
27743 #include <stdio.h>
27744 #include <jpeglib.h>
27745
27746
27747 typedef boolean ac__type_sizeof_;
27748 int
27749 main ()
27750 {
27751 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27752 test_array [0] = 0
27753
27754 ;
27755 return 0;
27756 }
27757 _ACEOF
27758 rm -f conftest.$ac_objext
27759 if { (ac_try="$ac_compile"
27760 case "(($ac_try" in
27761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27762 *) ac_try_echo=$ac_try;;
27763 esac
27764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27765 (eval "$ac_compile") 2>conftest.er1
27766 ac_status=$?
27767 grep -v '^ *+' conftest.er1 >conftest.err
27768 rm -f conftest.er1
27769 cat conftest.err >&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } && {
27772 test -z "$ac_c_werror_flag" ||
27773 test ! -s conftest.err
27774 } && test -s conftest.$ac_objext; then
27775 ac_hi=-1 ac_mid=-1
27776 while :; do
27777 cat >conftest.$ac_ext <<_ACEOF
27778 /* confdefs.h. */
27779 _ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h. */
27783
27784 #undef HAVE_BOOLEAN
27785 #include <stdio.h>
27786 #include <jpeglib.h>
27787
27788
27789 typedef boolean ac__type_sizeof_;
27790 int
27791 main ()
27792 {
27793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27794 test_array [0] = 0
27795
27796 ;
27797 return 0;
27798 }
27799 _ACEOF
27800 rm -f conftest.$ac_objext
27801 if { (ac_try="$ac_compile"
27802 case "(($ac_try" in
27803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27804 *) ac_try_echo=$ac_try;;
27805 esac
27806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27807 (eval "$ac_compile") 2>conftest.er1
27808 ac_status=$?
27809 grep -v '^ *+' conftest.er1 >conftest.err
27810 rm -f conftest.er1
27811 cat conftest.err >&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); } && {
27814 test -z "$ac_c_werror_flag" ||
27815 test ! -s conftest.err
27816 } && test -s conftest.$ac_objext; then
27817 ac_lo=$ac_mid; break
27818 else
27819 echo "$as_me: failed program was:" >&5
27820 sed 's/^/| /' conftest.$ac_ext >&5
27821
27822 ac_hi=`expr '(' $ac_mid ')' - 1`
27823 if test $ac_mid -le $ac_hi; then
27824 ac_lo= ac_hi=
27825 break
27826 fi
27827 ac_mid=`expr 2 '*' $ac_mid`
27828 fi
27829
27830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27831 done
27832 else
27833 echo "$as_me: failed program was:" >&5
27834 sed 's/^/| /' conftest.$ac_ext >&5
27835
27836 ac_lo= ac_hi=
27837 fi
27838
27839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27840 fi
27841
27842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27843 # Binary search between lo and hi bounds.
27844 while test "x$ac_lo" != "x$ac_hi"; do
27845 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27846 cat >conftest.$ac_ext <<_ACEOF
27847 /* confdefs.h. */
27848 _ACEOF
27849 cat confdefs.h >>conftest.$ac_ext
27850 cat >>conftest.$ac_ext <<_ACEOF
27851 /* end confdefs.h. */
27852
27853 #undef HAVE_BOOLEAN
27854 #include <stdio.h>
27855 #include <jpeglib.h>
27856
27857
27858 typedef boolean ac__type_sizeof_;
27859 int
27860 main ()
27861 {
27862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27863 test_array [0] = 0
27864
27865 ;
27866 return 0;
27867 }
27868 _ACEOF
27869 rm -f conftest.$ac_objext
27870 if { (ac_try="$ac_compile"
27871 case "(($ac_try" in
27872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27873 *) ac_try_echo=$ac_try;;
27874 esac
27875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27876 (eval "$ac_compile") 2>conftest.er1
27877 ac_status=$?
27878 grep -v '^ *+' conftest.er1 >conftest.err
27879 rm -f conftest.er1
27880 cat conftest.err >&5
27881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27882 (exit $ac_status); } && {
27883 test -z "$ac_c_werror_flag" ||
27884 test ! -s conftest.err
27885 } && test -s conftest.$ac_objext; then
27886 ac_hi=$ac_mid
27887 else
27888 echo "$as_me: failed program was:" >&5
27889 sed 's/^/| /' conftest.$ac_ext >&5
27890
27891 ac_lo=`expr '(' $ac_mid ')' + 1`
27892 fi
27893
27894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27895 done
27896 case $ac_lo in
27897 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27898 '') if test "$ac_cv_type_boolean" = yes; then
27899 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27900 See \`config.log' for more details." >&5
27901 echo "$as_me: error: cannot compute sizeof (boolean)
27902 See \`config.log' for more details." >&2;}
27903 { (exit 77); exit 77; }; }
27904 else
27905 ac_cv_sizeof_boolean=0
27906 fi ;;
27907 esac
27908 else
27909 cat >conftest.$ac_ext <<_ACEOF
27910 /* confdefs.h. */
27911 _ACEOF
27912 cat confdefs.h >>conftest.$ac_ext
27913 cat >>conftest.$ac_ext <<_ACEOF
27914 /* end confdefs.h. */
27915
27916 #undef HAVE_BOOLEAN
27917 #include <stdio.h>
27918 #include <jpeglib.h>
27919
27920
27921 typedef boolean ac__type_sizeof_;
27922 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27923 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27924 #include <stdio.h>
27925 #include <stdlib.h>
27926 int
27927 main ()
27928 {
27929
27930 FILE *f = fopen ("conftest.val", "w");
27931 if (! f)
27932 return 1;
27933 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27934 {
27935 long int i = longval ();
27936 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27937 return 1;
27938 fprintf (f, "%ld\n", i);
27939 }
27940 else
27941 {
27942 unsigned long int i = ulongval ();
27943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27944 return 1;
27945 fprintf (f, "%lu\n", i);
27946 }
27947 return ferror (f) || fclose (f) != 0;
27948
27949 ;
27950 return 0;
27951 }
27952 _ACEOF
27953 rm -f conftest$ac_exeext
27954 if { (ac_try="$ac_link"
27955 case "(($ac_try" in
27956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27957 *) ac_try_echo=$ac_try;;
27958 esac
27959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27960 (eval "$ac_link") 2>&5
27961 ac_status=$?
27962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27963 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27964 { (case "(($ac_try" in
27965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27966 *) ac_try_echo=$ac_try;;
27967 esac
27968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27969 (eval "$ac_try") 2>&5
27970 ac_status=$?
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); }; }; then
27973 ac_cv_sizeof_boolean=`cat conftest.val`
27974 else
27975 echo "$as_me: program exited with status $ac_status" >&5
27976 echo "$as_me: failed program was:" >&5
27977 sed 's/^/| /' conftest.$ac_ext >&5
27978
27979 ( exit $ac_status )
27980 if test "$ac_cv_type_boolean" = yes; then
27981 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27982 See \`config.log' for more details." >&5
27983 echo "$as_me: error: cannot compute sizeof (boolean)
27984 See \`config.log' for more details." >&2;}
27985 { (exit 77); exit 77; }; }
27986 else
27987 ac_cv_sizeof_boolean=0
27988 fi
27989 fi
27990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27991 fi
27992 rm -f conftest.val
27993 fi
27994 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27995 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27996
27997
27998
27999 cat >>confdefs.h <<_ACEOF
28000 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28001 _ACEOF
28002
28003
28004 cat >>confdefs.h <<_ACEOF
28005 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28006 _ACEOF
28007
28008
28009 fi
28010
28011 fi
28012 fi
28013 fi
28014 fi
28015 fi
28016
28017
28018 TIFF_LINK=
28019 TIFF_PREREQ_LINKS=-lm
28020 if test "$wxUSE_LIBTIFF" != "no" ; then
28021 cat >>confdefs.h <<\_ACEOF
28022 #define wxUSE_LIBTIFF 1
28023 _ACEOF
28024
28025
28026 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28027 if test "$wxUSE_LIBJPEG" = "sys"; then
28028 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28029 fi
28030 if test "$wxUSE_ZLIB" = "sys"; then
28031 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28032 fi
28033 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
28034 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
28035 if test "${ac_cv_header_tiffio_h+set}" = set; then
28036 echo $ECHO_N "(cached) $ECHO_C" >&6
28037 else
28038 cat >conftest.$ac_ext <<_ACEOF
28039 /* confdefs.h. */
28040 _ACEOF
28041 cat confdefs.h >>conftest.$ac_ext
28042 cat >>conftest.$ac_ext <<_ACEOF
28043 /* end confdefs.h. */
28044
28045
28046
28047 #include <tiffio.h>
28048 _ACEOF
28049 rm -f conftest.$ac_objext
28050 if { (ac_try="$ac_compile"
28051 case "(($ac_try" in
28052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28053 *) ac_try_echo=$ac_try;;
28054 esac
28055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28056 (eval "$ac_compile") 2>conftest.er1
28057 ac_status=$?
28058 grep -v '^ *+' conftest.er1 >conftest.err
28059 rm -f conftest.er1
28060 cat conftest.err >&5
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); } && {
28063 test -z "$ac_c_werror_flag" ||
28064 test ! -s conftest.err
28065 } && test -s conftest.$ac_objext; then
28066 ac_cv_header_tiffio_h=yes
28067 else
28068 echo "$as_me: failed program was:" >&5
28069 sed 's/^/| /' conftest.$ac_ext >&5
28070
28071 ac_cv_header_tiffio_h=no
28072 fi
28073
28074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28075 fi
28076 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28077 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
28078 if test $ac_cv_header_tiffio_h = yes; then
28079
28080 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28081 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
28082 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28083 echo $ECHO_N "(cached) $ECHO_C" >&6
28084 else
28085 ac_check_lib_save_LIBS=$LIBS
28086 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28087 cat >conftest.$ac_ext <<_ACEOF
28088 /* confdefs.h. */
28089 _ACEOF
28090 cat confdefs.h >>conftest.$ac_ext
28091 cat >>conftest.$ac_ext <<_ACEOF
28092 /* end confdefs.h. */
28093
28094 /* Override any GCC internal prototype to avoid an error.
28095 Use char because int might match the return type of a GCC
28096 builtin and then its argument prototype would still apply. */
28097 #ifdef __cplusplus
28098 extern "C"
28099 #endif
28100 char TIFFError ();
28101 int
28102 main ()
28103 {
28104 return TIFFError ();
28105 ;
28106 return 0;
28107 }
28108 _ACEOF
28109 rm -f conftest.$ac_objext conftest$ac_exeext
28110 if { (ac_try="$ac_link"
28111 case "(($ac_try" in
28112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28113 *) ac_try_echo=$ac_try;;
28114 esac
28115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28116 (eval "$ac_link") 2>conftest.er1
28117 ac_status=$?
28118 grep -v '^ *+' conftest.er1 >conftest.err
28119 rm -f conftest.er1
28120 cat conftest.err >&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); } && {
28123 test -z "$ac_c_werror_flag" ||
28124 test ! -s conftest.err
28125 } && test -s conftest$ac_exeext &&
28126 $as_test_x conftest$ac_exeext; then
28127 ac_cv_lib_tiff_TIFFError=yes
28128 else
28129 echo "$as_me: failed program was:" >&5
28130 sed 's/^/| /' conftest.$ac_ext >&5
28131
28132 ac_cv_lib_tiff_TIFFError=no
28133 fi
28134
28135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28136 conftest$ac_exeext conftest.$ac_ext
28137 LIBS=$ac_check_lib_save_LIBS
28138 fi
28139 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28140 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
28141 if test $ac_cv_lib_tiff_TIFFError = yes; then
28142 TIFF_LINK=" -ltiff"
28143 fi
28144
28145
28146 fi
28147
28148
28149
28150 if test "x$TIFF_LINK" = "x" ; then
28151 if test "$wxUSE_LIBTIFF" = "sys" ; then
28152 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28153 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28154 { (exit 1); exit 1; }; }
28155 else
28156 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28157 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28158 wxUSE_LIBTIFF=builtin
28159 fi
28160 else
28161 wxUSE_LIBTIFF=sys
28162 fi
28163 fi
28164 if test "$wxUSE_LIBTIFF" = "builtin" ; then
28165 if test "$wxUSE_LIBJPEG" = "no"; then
28166 ac_configure_args="$ac_configure_args --disable-jpeg"
28167 fi
28168 subdirs="$subdirs src/tiff"
28169
28170 fi
28171 fi
28172
28173
28174 if test "$wxUSE_WCHAR_T" != "yes"; then
28175 if test "$wxUSE_EXPAT" != "no"; then
28176 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28177 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28178 wxUSE_EXPAT=no
28179 fi
28180 if test "$wxUSE_XML" != "no"; then
28181 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28182 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28183 wxUSE_XML=no
28184 fi
28185 fi
28186
28187 if test "$wxUSE_EXPAT" != "no"; then
28188 wxUSE_XML=yes
28189 cat >>confdefs.h <<\_ACEOF
28190 #define wxUSE_EXPAT 1
28191 _ACEOF
28192
28193 cat >>confdefs.h <<\_ACEOF
28194 #define wxUSE_XML 1
28195 _ACEOF
28196
28197
28198 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28199 { echo "$as_me:$LINENO: checking for expat.h" >&5
28200 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
28201 if test "${ac_cv_header_expat_h+set}" = set; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28203 else
28204 cat >conftest.$ac_ext <<_ACEOF
28205 /* confdefs.h. */
28206 _ACEOF
28207 cat confdefs.h >>conftest.$ac_ext
28208 cat >>conftest.$ac_ext <<_ACEOF
28209 /* end confdefs.h. */
28210
28211
28212 #include <expat.h>
28213 _ACEOF
28214 rm -f conftest.$ac_objext
28215 if { (ac_try="$ac_compile"
28216 case "(($ac_try" in
28217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28218 *) ac_try_echo=$ac_try;;
28219 esac
28220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28221 (eval "$ac_compile") 2>conftest.er1
28222 ac_status=$?
28223 grep -v '^ *+' conftest.er1 >conftest.err
28224 rm -f conftest.er1
28225 cat conftest.err >&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); } && {
28228 test -z "$ac_c_werror_flag" ||
28229 test ! -s conftest.err
28230 } && test -s conftest.$ac_objext; then
28231 ac_cv_header_expat_h=yes
28232 else
28233 echo "$as_me: failed program was:" >&5
28234 sed 's/^/| /' conftest.$ac_ext >&5
28235
28236 ac_cv_header_expat_h=no
28237 fi
28238
28239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28240 fi
28241 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28242 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
28243 if test $ac_cv_header_expat_h = yes; then
28244 found_expat_h=1
28245 fi
28246
28247
28248 if test "x$found_expat_h" = "x1"; then
28249 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28250 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
28251 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28252 echo $ECHO_N "(cached) $ECHO_C" >&6
28253 else
28254
28255 ac_ext=cpp
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28260
28261 cat >conftest.$ac_ext <<_ACEOF
28262 /* confdefs.h. */
28263 _ACEOF
28264 cat confdefs.h >>conftest.$ac_ext
28265 cat >>conftest.$ac_ext <<_ACEOF
28266 /* end confdefs.h. */
28267 #include <expat.h>
28268 int
28269 main ()
28270 {
28271
28272 ;
28273 return 0;
28274 }
28275 _ACEOF
28276 rm -f conftest.$ac_objext
28277 if { (ac_try="$ac_compile"
28278 case "(($ac_try" in
28279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28280 *) ac_try_echo=$ac_try;;
28281 esac
28282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28283 (eval "$ac_compile") 2>conftest.er1
28284 ac_status=$?
28285 grep -v '^ *+' conftest.er1 >conftest.err
28286 rm -f conftest.er1
28287 cat conftest.err >&5
28288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28289 (exit $ac_status); } && {
28290 test -z "$ac_cxx_werror_flag" ||
28291 test ! -s conftest.err
28292 } && test -s conftest.$ac_objext; then
28293 wx_cv_expat_is_not_broken=yes
28294 else
28295 echo "$as_me: failed program was:" >&5
28296 sed 's/^/| /' conftest.$ac_ext >&5
28297
28298 wx_cv_expat_is_not_broken=no
28299
28300 fi
28301
28302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28303 ac_ext=c
28304 ac_cpp='$CPP $CPPFLAGS'
28305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28308
28309
28310
28311 fi
28312 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28313 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28314 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28315 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28316 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
28317 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28318 echo $ECHO_N "(cached) $ECHO_C" >&6
28319 else
28320 ac_check_lib_save_LIBS=$LIBS
28321 LIBS="-lexpat $LIBS"
28322 cat >conftest.$ac_ext <<_ACEOF
28323 /* confdefs.h. */
28324 _ACEOF
28325 cat confdefs.h >>conftest.$ac_ext
28326 cat >>conftest.$ac_ext <<_ACEOF
28327 /* end confdefs.h. */
28328
28329 /* Override any GCC internal prototype to avoid an error.
28330 Use char because int might match the return type of a GCC
28331 builtin and then its argument prototype would still apply. */
28332 #ifdef __cplusplus
28333 extern "C"
28334 #endif
28335 char XML_ParserCreate ();
28336 int
28337 main ()
28338 {
28339 return XML_ParserCreate ();
28340 ;
28341 return 0;
28342 }
28343 _ACEOF
28344 rm -f conftest.$ac_objext conftest$ac_exeext
28345 if { (ac_try="$ac_link"
28346 case "(($ac_try" in
28347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28348 *) ac_try_echo=$ac_try;;
28349 esac
28350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28351 (eval "$ac_link") 2>conftest.er1
28352 ac_status=$?
28353 grep -v '^ *+' conftest.er1 >conftest.err
28354 rm -f conftest.er1
28355 cat conftest.err >&5
28356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28357 (exit $ac_status); } && {
28358 test -z "$ac_c_werror_flag" ||
28359 test ! -s conftest.err
28360 } && test -s conftest$ac_exeext &&
28361 $as_test_x conftest$ac_exeext; then
28362 ac_cv_lib_expat_XML_ParserCreate=yes
28363 else
28364 echo "$as_me: failed program was:" >&5
28365 sed 's/^/| /' conftest.$ac_ext >&5
28366
28367 ac_cv_lib_expat_XML_ParserCreate=no
28368 fi
28369
28370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28371 conftest$ac_exeext conftest.$ac_ext
28372 LIBS=$ac_check_lib_save_LIBS
28373 fi
28374 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28375 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28376 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28377 EXPAT_LINK=" -lexpat"
28378 fi
28379
28380 fi
28381 fi
28382 if test "x$EXPAT_LINK" = "x" ; then
28383 if test "$wxUSE_EXPAT" = "sys" ; then
28384 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28385 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28386 { (exit 1); exit 1; }; }
28387 else
28388 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28389 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28390 wxUSE_EXPAT=builtin
28391 fi
28392 else
28393 wxUSE_EXPAT=sys
28394 fi
28395 fi
28396 if test "$wxUSE_EXPAT" = "builtin" ; then
28397 subdirs="$subdirs src/expat"
28398
28399 fi
28400 fi
28401
28402
28403
28404 if test "$wxUSE_LIBMSPACK" != "no"; then
28405 { echo "$as_me:$LINENO: checking for mspack.h" >&5
28406 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
28407 if test "${ac_cv_header_mspack_h+set}" = set; then
28408 echo $ECHO_N "(cached) $ECHO_C" >&6
28409 else
28410 cat >conftest.$ac_ext <<_ACEOF
28411 /* confdefs.h. */
28412 _ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28416
28417
28418 #include <mspack.h>
28419 _ACEOF
28420 rm -f conftest.$ac_objext
28421 if { (ac_try="$ac_compile"
28422 case "(($ac_try" in
28423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28424 *) ac_try_echo=$ac_try;;
28425 esac
28426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28427 (eval "$ac_compile") 2>conftest.er1
28428 ac_status=$?
28429 grep -v '^ *+' conftest.er1 >conftest.err
28430 rm -f conftest.er1
28431 cat conftest.err >&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } && {
28434 test -z "$ac_c_werror_flag" ||
28435 test ! -s conftest.err
28436 } && test -s conftest.$ac_objext; then
28437 ac_cv_header_mspack_h=yes
28438 else
28439 echo "$as_me: failed program was:" >&5
28440 sed 's/^/| /' conftest.$ac_ext >&5
28441
28442 ac_cv_header_mspack_h=no
28443 fi
28444
28445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28446 fi
28447 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28448 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28449 if test $ac_cv_header_mspack_h = yes; then
28450 found_mspack_h=1
28451 fi
28452
28453
28454 if test "x$found_mspack_h" = "x1"; then
28455 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28456 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28457 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28458 echo $ECHO_N "(cached) $ECHO_C" >&6
28459 else
28460 ac_check_lib_save_LIBS=$LIBS
28461 LIBS="-lmspack $LIBS"
28462 cat >conftest.$ac_ext <<_ACEOF
28463 /* confdefs.h. */
28464 _ACEOF
28465 cat confdefs.h >>conftest.$ac_ext
28466 cat >>conftest.$ac_ext <<_ACEOF
28467 /* end confdefs.h. */
28468
28469 /* Override any GCC internal prototype to avoid an error.
28470 Use char because int might match the return type of a GCC
28471 builtin and then its argument prototype would still apply. */
28472 #ifdef __cplusplus
28473 extern "C"
28474 #endif
28475 char mspack_create_chm_decompressor ();
28476 int
28477 main ()
28478 {
28479 return mspack_create_chm_decompressor ();
28480 ;
28481 return 0;
28482 }
28483 _ACEOF
28484 rm -f conftest.$ac_objext conftest$ac_exeext
28485 if { (ac_try="$ac_link"
28486 case "(($ac_try" in
28487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28488 *) ac_try_echo=$ac_try;;
28489 esac
28490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28491 (eval "$ac_link") 2>conftest.er1
28492 ac_status=$?
28493 grep -v '^ *+' conftest.er1 >conftest.err
28494 rm -f conftest.er1
28495 cat conftest.err >&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } && {
28498 test -z "$ac_c_werror_flag" ||
28499 test ! -s conftest.err
28500 } && test -s conftest$ac_exeext &&
28501 $as_test_x conftest$ac_exeext; then
28502 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28503 else
28504 echo "$as_me: failed program was:" >&5
28505 sed 's/^/| /' conftest.$ac_ext >&5
28506
28507 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28508 fi
28509
28510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28511 conftest$ac_exeext conftest.$ac_ext
28512 LIBS=$ac_check_lib_save_LIBS
28513 fi
28514 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28515 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28516 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28517 MSPACK_LINK=" -lmspack"
28518 fi
28519
28520 fi
28521 if test "x$MSPACK_LINK" = "x" ; then
28522 wxUSE_LIBMSPACK=no
28523 fi
28524 fi
28525
28526 if test "$wxUSE_LIBMSPACK" != "no"; then
28527 cat >>confdefs.h <<\_ACEOF
28528 #define wxUSE_LIBMSPACK 1
28529 _ACEOF
28530
28531 fi
28532
28533
28534
28535 AFMINSTALL=
28536 WIN32INSTALL=
28537
28538 TOOLKIT=
28539 TOOLKIT_INCLUDE=
28540 WIDGET_SET=
28541
28542 if test "$USE_WIN32" = 1 ; then
28543
28544 for ac_header in w32api.h
28545 do
28546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28550 echo $ECHO_N "(cached) $ECHO_C" >&6
28551 else
28552 cat >conftest.$ac_ext <<_ACEOF
28553 /* confdefs.h. */
28554 _ACEOF
28555 cat confdefs.h >>conftest.$ac_ext
28556 cat >>conftest.$ac_ext <<_ACEOF
28557 /* end confdefs.h. */
28558
28559
28560 #include <$ac_header>
28561 _ACEOF
28562 rm -f conftest.$ac_objext
28563 if { (ac_try="$ac_compile"
28564 case "(($ac_try" in
28565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28566 *) ac_try_echo=$ac_try;;
28567 esac
28568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28569 (eval "$ac_compile") 2>conftest.er1
28570 ac_status=$?
28571 grep -v '^ *+' conftest.er1 >conftest.err
28572 rm -f conftest.er1
28573 cat conftest.err >&5
28574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28575 (exit $ac_status); } && {
28576 test -z "$ac_c_werror_flag" ||
28577 test ! -s conftest.err
28578 } && test -s conftest.$ac_objext; then
28579 eval "$as_ac_Header=yes"
28580 else
28581 echo "$as_me: failed program was:" >&5
28582 sed 's/^/| /' conftest.$ac_ext >&5
28583
28584 eval "$as_ac_Header=no"
28585 fi
28586
28587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28588 fi
28589 ac_res=`eval echo '${'$as_ac_Header'}'`
28590 { echo "$as_me:$LINENO: result: $ac_res" >&5
28591 echo "${ECHO_T}$ac_res" >&6; }
28592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28593 cat >>confdefs.h <<_ACEOF
28594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28595 _ACEOF
28596
28597 fi
28598
28599 done
28600
28601 { echo "$as_me:$LINENO: checking for windows.h" >&5
28602 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28603 if test "${ac_cv_header_windows_h+set}" = set; then
28604 echo $ECHO_N "(cached) $ECHO_C" >&6
28605 else
28606 cat >conftest.$ac_ext <<_ACEOF
28607 /* confdefs.h. */
28608 _ACEOF
28609 cat confdefs.h >>conftest.$ac_ext
28610 cat >>conftest.$ac_ext <<_ACEOF
28611 /* end confdefs.h. */
28612
28613
28614 #include <windows.h>
28615 _ACEOF
28616 rm -f conftest.$ac_objext
28617 if { (ac_try="$ac_compile"
28618 case "(($ac_try" in
28619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28620 *) ac_try_echo=$ac_try;;
28621 esac
28622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28623 (eval "$ac_compile") 2>conftest.er1
28624 ac_status=$?
28625 grep -v '^ *+' conftest.er1 >conftest.err
28626 rm -f conftest.er1
28627 cat conftest.err >&5
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); } && {
28630 test -z "$ac_c_werror_flag" ||
28631 test ! -s conftest.err
28632 } && test -s conftest.$ac_objext; then
28633 ac_cv_header_windows_h=yes
28634 else
28635 echo "$as_me: failed program was:" >&5
28636 sed 's/^/| /' conftest.$ac_ext >&5
28637
28638 ac_cv_header_windows_h=no
28639 fi
28640
28641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28642 fi
28643 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28644 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28645 if test $ac_cv_header_windows_h = yes; then
28646 :
28647 else
28648
28649 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28650 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28651 { (exit 1); exit 1; }; }
28652
28653 fi
28654
28655
28656
28657 case "${host}" in
28658 x86_64-*-mingw32* )
28659 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28660
28661 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
28662 ;;
28663 * )
28664 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28665 ;;
28666 esac
28667 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28668 LIBS="$LIBS -loleacc"
28669 fi
28670
28671 case "${host}" in
28672 *-*-cygwin* )
28673 LIBS="$LIBS -lkernel32 -luser32"
28674 esac
28675
28676 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28677 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28678
28679 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28680
28681 WIN32INSTALL=win32install
28682
28683 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28684 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28685 if test "${ac_cv_header_pbt_h+set}" = set; then
28686 echo $ECHO_N "(cached) $ECHO_C" >&6
28687 else
28688 cat >conftest.$ac_ext <<_ACEOF
28689 /* confdefs.h. */
28690 _ACEOF
28691 cat confdefs.h >>conftest.$ac_ext
28692 cat >>conftest.$ac_ext <<_ACEOF
28693 /* end confdefs.h. */
28694
28695
28696 #include <pbt.h>
28697 _ACEOF
28698 rm -f conftest.$ac_objext
28699 if { (ac_try="$ac_compile"
28700 case "(($ac_try" in
28701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28702 *) ac_try_echo=$ac_try;;
28703 esac
28704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28705 (eval "$ac_compile") 2>conftest.er1
28706 ac_status=$?
28707 grep -v '^ *+' conftest.er1 >conftest.err
28708 rm -f conftest.er1
28709 cat conftest.err >&5
28710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28711 (exit $ac_status); } && {
28712 test -z "$ac_c_werror_flag" ||
28713 test ! -s conftest.err
28714 } && test -s conftest.$ac_objext; then
28715 ac_cv_header_pbt_h=yes
28716 else
28717 echo "$as_me: failed program was:" >&5
28718 sed 's/^/| /' conftest.$ac_ext >&5
28719
28720 ac_cv_header_pbt_h=no
28721 fi
28722
28723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28724 fi
28725 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28726 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28727 if test $ac_cv_header_pbt_h = yes; then
28728 :
28729 else
28730 cat >>confdefs.h <<\_ACEOF
28731 #define NEED_PBT_H 1
28732 _ACEOF
28733
28734 fi
28735
28736
28737 fi
28738
28739 if test "$wxUSE_GUI" = "yes"; then
28740 USE_GUI=1
28741
28742 GUI_TK_LIBRARY=
28743
28744 WXGTK12=
28745 WXGTK127=
28746 WXGTK2=
28747 WXGPE=
28748
28749 if test "$wxUSE_OLD_COCOA" = 1 ; then
28750 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28751 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28752 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28753 wxUSE_PRINTING_ARCHITECTURE=no
28754 fi
28755 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28756 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28757 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28758 wxUSE_DRAG_AND_DROP=no
28759 fi
28760 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28761 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28762 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28763 wxUSE_DRAGIMAGE=no
28764 fi
28765 fi
28766
28767 if test "$wxUSE_MSW" = 1 ; then
28768 TOOLKIT=MSW
28769 GUIDIST=MSW_DIST
28770
28771 case "${host}" in
28772 *-*-mingw32* )
28773 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28774 esac
28775 fi
28776
28777 if test "$wxUSE_GTK" = 1; then
28778 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28779 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28780
28781 gtk_version_cached=1
28782 if test "${wx_cv_lib_gtk+set}" = set; then
28783 echo $ECHO_N "(cached) $ECHO_C" >&6
28784 else
28785
28786 gtk_version_cached=0
28787 { echo "$as_me:$LINENO: result: " >&5
28788 echo "${ECHO_T}" >&6; }
28789
28790 GTK_MODULES=
28791 if test "$wxUSE_THREADS" = "yes"; then
28792 GTK_MODULES=gthread
28793 fi
28794
28795 wx_cv_lib_gtk=
28796 if test "x$wxGTK_VERSION" != "x1"
28797 then
28798 case "${host}" in
28799 *-*-solaris2* )
28800 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28801 enable_gtktest=no
28802 fi
28803 esac
28804
28805 # Check whether --enable-gtktest was given.
28806 if test "${enable_gtktest+set}" = set; then
28807 enableval=$enable_gtktest;
28808 else
28809 enable_gtktest=yes
28810 fi
28811
28812
28813 pkg_config_args=gtk+-2.0
28814 for module in . $GTK_MODULES
28815 do
28816 case "$module" in
28817 gthread)
28818 pkg_config_args="$pkg_config_args gthread-2.0"
28819 ;;
28820 esac
28821 done
28822
28823 no_gtk=""
28824
28825 # Extract the first word of "pkg-config", so it can be a program name with args.
28826 set dummy pkg-config; ac_word=$2
28827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28829 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28830 echo $ECHO_N "(cached) $ECHO_C" >&6
28831 else
28832 case $PKG_CONFIG in
28833 [\\/]* | ?:[\\/]*)
28834 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28835 ;;
28836 *)
28837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28838 for as_dir in $PATH
28839 do
28840 IFS=$as_save_IFS
28841 test -z "$as_dir" && as_dir=.
28842 for ac_exec_ext in '' $ac_executable_extensions; do
28843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28844 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28846 break 2
28847 fi
28848 done
28849 done
28850 IFS=$as_save_IFS
28851
28852 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28853 ;;
28854 esac
28855 fi
28856 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28857 if test -n "$PKG_CONFIG"; then
28858 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28859 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28860 else
28861 { echo "$as_me:$LINENO: result: no" >&5
28862 echo "${ECHO_T}no" >&6; }
28863 fi
28864
28865
28866
28867 if test x$PKG_CONFIG != xno ; then
28868 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28869 :
28870 else
28871 echo "*** pkg-config too old; version 0.7 or better required."
28872 no_gtk=yes
28873 PKG_CONFIG=no
28874 fi
28875 else
28876 no_gtk=yes
28877 fi
28878
28879 min_gtk_version=2.4.0
28880 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28881 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28882
28883 if test x$PKG_CONFIG != xno ; then
28884 ## don't try to run the test against uninstalled libtool libs
28885 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28886 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28887 enable_gtktest=no
28888 fi
28889
28890 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28891 :
28892 else
28893 no_gtk=yes
28894 fi
28895 fi
28896
28897 if test x"$no_gtk" = x ; then
28898 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28899 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28900 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28901 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28902 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28903 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28904 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28905 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28906 if test "x$enable_gtktest" = "xyes" ; then
28907 ac_save_CFLAGS="$CFLAGS"
28908 ac_save_LIBS="$LIBS"
28909 CFLAGS="$CFLAGS $GTK_CFLAGS"
28910 LIBS="$GTK_LIBS $LIBS"
28911 rm -f conf.gtktest
28912 if test "$cross_compiling" = yes; then
28913 echo $ac_n "cross compiling; assumed OK... $ac_c"
28914 else
28915 cat >conftest.$ac_ext <<_ACEOF
28916 /* confdefs.h. */
28917 _ACEOF
28918 cat confdefs.h >>conftest.$ac_ext
28919 cat >>conftest.$ac_ext <<_ACEOF
28920 /* end confdefs.h. */
28921
28922 #include <gtk/gtk.h>
28923 #include <stdio.h>
28924 #include <stdlib.h>
28925
28926 int
28927 main ()
28928 {
28929 int major, minor, micro;
28930 char *tmp_version;
28931
28932 system ("touch conf.gtktest");
28933
28934 /* HP/UX 9 (%@#!) writes to sscanf strings */
28935 tmp_version = g_strdup("$min_gtk_version");
28936 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28937 printf("%s, bad version string\n", "$min_gtk_version");
28938 exit(1);
28939 }
28940
28941 if ((gtk_major_version != $gtk_config_major_version) ||
28942 (gtk_minor_version != $gtk_config_minor_version) ||
28943 (gtk_micro_version != $gtk_config_micro_version))
28944 {
28945 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28946 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28947 gtk_major_version, gtk_minor_version, gtk_micro_version);
28948 printf ("*** was found! If pkg-config was correct, then it is best\n");
28949 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28950 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28951 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28952 printf("*** required on your system.\n");
28953 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28954 printf("*** to point to the correct configuration files\n");
28955 }
28956 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28957 (gtk_minor_version != GTK_MINOR_VERSION) ||
28958 (gtk_micro_version != GTK_MICRO_VERSION))
28959 {
28960 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28961 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28962 printf("*** library (version %d.%d.%d)\n",
28963 gtk_major_version, gtk_minor_version, gtk_micro_version);
28964 }
28965 else
28966 {
28967 if ((gtk_major_version > major) ||
28968 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28969 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28970 {
28971 return 0;
28972 }
28973 else
28974 {
28975 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28976 gtk_major_version, gtk_minor_version, gtk_micro_version);
28977 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28978 major, minor, micro);
28979 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28980 printf("***\n");
28981 printf("*** If you have already installed a sufficiently new version, this error\n");
28982 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28983 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28984 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28985 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28986 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28987 printf("*** so that the correct libraries are found at run-time))\n");
28988 }
28989 }
28990 return 1;
28991 }
28992
28993 _ACEOF
28994 rm -f conftest$ac_exeext
28995 if { (ac_try="$ac_link"
28996 case "(($ac_try" in
28997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28998 *) ac_try_echo=$ac_try;;
28999 esac
29000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29001 (eval "$ac_link") 2>&5
29002 ac_status=$?
29003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29004 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29005 { (case "(($ac_try" in
29006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29007 *) ac_try_echo=$ac_try;;
29008 esac
29009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29010 (eval "$ac_try") 2>&5
29011 ac_status=$?
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); }; }; then
29014 :
29015 else
29016 echo "$as_me: program exited with status $ac_status" >&5
29017 echo "$as_me: failed program was:" >&5
29018 sed 's/^/| /' conftest.$ac_ext >&5
29019
29020 ( exit $ac_status )
29021 no_gtk=yes
29022 fi
29023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29024 fi
29025
29026
29027 CFLAGS="$ac_save_CFLAGS"
29028 LIBS="$ac_save_LIBS"
29029 fi
29030 fi
29031 if test "x$no_gtk" = x ; then
29032 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29033 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
29034 wx_cv_lib_gtk=2.0
29035 else
29036 { echo "$as_me:$LINENO: result: no" >&5
29037 echo "${ECHO_T}no" >&6; }
29038 if test "$PKG_CONFIG" = "no" ; then
29039 echo "*** A new enough version of pkg-config was not found."
29040 echo "*** See http://pkgconfig.sourceforge.net"
29041 else
29042 if test -f conf.gtktest ; then
29043 :
29044 else
29045 echo "*** Could not run GTK+ test program, checking why..."
29046 ac_save_CFLAGS="$CFLAGS"
29047 ac_save_LIBS="$LIBS"
29048 CFLAGS="$CFLAGS $GTK_CFLAGS"
29049 LIBS="$LIBS $GTK_LIBS"
29050 cat >conftest.$ac_ext <<_ACEOF
29051 /* confdefs.h. */
29052 _ACEOF
29053 cat confdefs.h >>conftest.$ac_ext
29054 cat >>conftest.$ac_ext <<_ACEOF
29055 /* end confdefs.h. */
29056
29057 #include <gtk/gtk.h>
29058 #include <stdio.h>
29059
29060 int
29061 main ()
29062 {
29063 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29064 ;
29065 return 0;
29066 }
29067 _ACEOF
29068 rm -f conftest.$ac_objext conftest$ac_exeext
29069 if { (ac_try="$ac_link"
29070 case "(($ac_try" in
29071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29072 *) ac_try_echo=$ac_try;;
29073 esac
29074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29075 (eval "$ac_link") 2>conftest.er1
29076 ac_status=$?
29077 grep -v '^ *+' conftest.er1 >conftest.err
29078 rm -f conftest.er1
29079 cat conftest.err >&5
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); } && {
29082 test -z "$ac_c_werror_flag" ||
29083 test ! -s conftest.err
29084 } && test -s conftest$ac_exeext &&
29085 $as_test_x conftest$ac_exeext; then
29086 echo "*** The test program compiled, but did not run. This usually means"
29087 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29088 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29089 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29090 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29091 echo "*** is required on your system"
29092 echo "***"
29093 echo "*** If you have an old version installed, it is best to remove it, although"
29094 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29095 else
29096 echo "$as_me: failed program was:" >&5
29097 sed 's/^/| /' conftest.$ac_ext >&5
29098
29099 echo "*** The test program failed to compile or link. See the file config.log for the"
29100 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29101 fi
29102
29103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29104 conftest$ac_exeext conftest.$ac_ext
29105 CFLAGS="$ac_save_CFLAGS"
29106 LIBS="$ac_save_LIBS"
29107 fi
29108 fi
29109 GTK_CFLAGS=""
29110 GTK_LIBS=""
29111 :
29112 fi
29113
29114
29115 rm -f conf.gtktest
29116
29117
29118 case "${host}" in
29119 *-*-solaris2* )
29120 if test "$wxUSE_SHARED" != "yes"; then
29121 GTK_LIBS="$GTK_LIBS -lX11"
29122 fi
29123 esac
29124 fi
29125
29126 if test -z "$wx_cv_lib_gtk"; then
29127 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29128
29129 # Check whether --with-gtk-prefix was given.
29130 if test "${with_gtk_prefix+set}" = set; then
29131 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29132 else
29133 gtk_config_prefix=""
29134 fi
29135
29136
29137 # Check whether --with-gtk-exec-prefix was given.
29138 if test "${with_gtk_exec_prefix+set}" = set; then
29139 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29140 else
29141 gtk_config_exec_prefix=""
29142 fi
29143
29144 # Check whether --enable-gtktest was given.
29145 if test "${enable_gtktest+set}" = set; then
29146 enableval=$enable_gtktest;
29147 else
29148 enable_gtktest=yes
29149 fi
29150
29151
29152 for module in . $GTK_MODULES
29153 do
29154 case "$module" in
29155 gthread)
29156 gtk_config_args="$gtk_config_args gthread"
29157 ;;
29158 esac
29159 done
29160
29161 if test x$gtk_config_exec_prefix != x ; then
29162 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29163 if test x${GTK_CONFIG+set} != xset ; then
29164 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29165 fi
29166 fi
29167 if test x$gtk_config_prefix != x ; then
29168 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29169 if test x${GTK_CONFIG+set} != xset ; then
29170 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29171 fi
29172 fi
29173
29174 # Extract the first word of "gtk-config", so it can be a program name with args.
29175 set dummy gtk-config; ac_word=$2
29176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29178 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29179 echo $ECHO_N "(cached) $ECHO_C" >&6
29180 else
29181 case $GTK_CONFIG in
29182 [\\/]* | ?:[\\/]*)
29183 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29184 ;;
29185 *)
29186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29187 for as_dir in $PATH
29188 do
29189 IFS=$as_save_IFS
29190 test -z "$as_dir" && as_dir=.
29191 for ac_exec_ext in '' $ac_executable_extensions; do
29192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29193 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29195 break 2
29196 fi
29197 done
29198 done
29199 IFS=$as_save_IFS
29200
29201 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29202 ;;
29203 esac
29204 fi
29205 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29206 if test -n "$GTK_CONFIG"; then
29207 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29208 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29209 else
29210 { echo "$as_me:$LINENO: result: no" >&5
29211 echo "${ECHO_T}no" >&6; }
29212 fi
29213
29214
29215 min_gtk_version=1.2.7
29216 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29217 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29218 no_gtk=""
29219 if test "$GTK_CONFIG" = "no" ; then
29220 no_gtk=yes
29221 else
29222 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29223 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29224 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29225 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29226 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29227 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29228 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29229 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29230 if test "x$enable_gtktest" = "xyes" ; then
29231 ac_save_CFLAGS="$CFLAGS"
29232 ac_save_LIBS="$LIBS"
29233 CFLAGS="$CFLAGS $GTK_CFLAGS"
29234 LIBS="$GTK_LIBS $LIBS"
29235 rm -f conf.gtktest
29236 if test "$cross_compiling" = yes; then
29237 echo $ac_n "cross compiling; assumed OK... $ac_c"
29238 else
29239 cat >conftest.$ac_ext <<_ACEOF
29240 /* confdefs.h. */
29241 _ACEOF
29242 cat confdefs.h >>conftest.$ac_ext
29243 cat >>conftest.$ac_ext <<_ACEOF
29244 /* end confdefs.h. */
29245
29246 #include <gtk/gtk.h>
29247 #include <stdio.h>
29248 #include <stdlib.h>
29249
29250 int
29251 main ()
29252 {
29253 int major, minor, micro;
29254 char *tmp_version;
29255
29256 system ("touch conf.gtktest");
29257
29258 /* HP/UX 9 (%@#!) writes to sscanf strings */
29259 tmp_version = g_strdup("$min_gtk_version");
29260 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29261 printf("%s, bad version string\n", "$min_gtk_version");
29262 exit(1);
29263 }
29264
29265 if ((gtk_major_version != $gtk_config_major_version) ||
29266 (gtk_minor_version != $gtk_config_minor_version) ||
29267 (gtk_micro_version != $gtk_config_micro_version))
29268 {
29269 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29270 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29271 gtk_major_version, gtk_minor_version, gtk_micro_version);
29272 printf ("*** was found! If gtk-config was correct, then it is best\n");
29273 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29274 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29275 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29276 printf("*** required on your system.\n");
29277 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29278 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29279 printf("*** before re-running configure\n");
29280 }
29281 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29282 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29283 (gtk_minor_version != GTK_MINOR_VERSION) ||
29284 (gtk_micro_version != GTK_MICRO_VERSION))
29285 {
29286 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29287 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29288 printf("*** library (version %d.%d.%d)\n",
29289 gtk_major_version, gtk_minor_version, gtk_micro_version);
29290 }
29291 #endif /* defined (GTK_MAJOR_VERSION) ... */
29292 else
29293 {
29294 if ((gtk_major_version > major) ||
29295 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29296 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29297 {
29298 return 0;
29299 }
29300 else
29301 {
29302 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29303 gtk_major_version, gtk_minor_version, gtk_micro_version);
29304 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29305 major, minor, micro);
29306 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29307 printf("***\n");
29308 printf("*** If you have already installed a sufficiently new version, this error\n");
29309 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29310 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29311 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29312 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29313 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29314 printf("*** so that the correct libraries are found at run-time))\n");
29315 }
29316 }
29317 return 1;
29318 }
29319
29320 _ACEOF
29321 rm -f conftest$ac_exeext
29322 if { (ac_try="$ac_link"
29323 case "(($ac_try" in
29324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29325 *) ac_try_echo=$ac_try;;
29326 esac
29327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29328 (eval "$ac_link") 2>&5
29329 ac_status=$?
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29332 { (case "(($ac_try" in
29333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29334 *) ac_try_echo=$ac_try;;
29335 esac
29336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29337 (eval "$ac_try") 2>&5
29338 ac_status=$?
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); }; }; then
29341 :
29342 else
29343 echo "$as_me: program exited with status $ac_status" >&5
29344 echo "$as_me: failed program was:" >&5
29345 sed 's/^/| /' conftest.$ac_ext >&5
29346
29347 ( exit $ac_status )
29348 no_gtk=yes
29349 fi
29350 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29351 fi
29352
29353
29354 CFLAGS="$ac_save_CFLAGS"
29355 LIBS="$ac_save_LIBS"
29356 fi
29357 fi
29358 if test "x$no_gtk" = x ; then
29359 { echo "$as_me:$LINENO: result: yes" >&5
29360 echo "${ECHO_T}yes" >&6; }
29361 wx_cv_lib_gtk=1.2.7
29362 else
29363 { echo "$as_me:$LINENO: result: no" >&5
29364 echo "${ECHO_T}no" >&6; }
29365 if test "$GTK_CONFIG" = "no" ; then
29366 echo "*** The gtk-config script installed by GTK could not be found"
29367 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29368 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29369 echo "*** full path to gtk-config."
29370 else
29371 if test -f conf.gtktest ; then
29372 :
29373 else
29374 echo "*** Could not run GTK test program, checking why..."
29375 CFLAGS="$CFLAGS $GTK_CFLAGS"
29376 LIBS="$LIBS $GTK_LIBS"
29377 cat >conftest.$ac_ext <<_ACEOF
29378 /* confdefs.h. */
29379 _ACEOF
29380 cat confdefs.h >>conftest.$ac_ext
29381 cat >>conftest.$ac_ext <<_ACEOF
29382 /* end confdefs.h. */
29383
29384 #include <gtk/gtk.h>
29385 #include <stdio.h>
29386
29387 int
29388 main ()
29389 {
29390 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29391 ;
29392 return 0;
29393 }
29394 _ACEOF
29395 rm -f conftest.$ac_objext conftest$ac_exeext
29396 if { (ac_try="$ac_link"
29397 case "(($ac_try" in
29398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29399 *) ac_try_echo=$ac_try;;
29400 esac
29401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29402 (eval "$ac_link") 2>conftest.er1
29403 ac_status=$?
29404 grep -v '^ *+' conftest.er1 >conftest.err
29405 rm -f conftest.er1
29406 cat conftest.err >&5
29407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408 (exit $ac_status); } && {
29409 test -z "$ac_c_werror_flag" ||
29410 test ! -s conftest.err
29411 } && test -s conftest$ac_exeext &&
29412 $as_test_x conftest$ac_exeext; then
29413 echo "*** The test program compiled, but did not run. This usually means"
29414 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29415 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29416 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29417 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29418 echo "*** is required on your system"
29419 echo "***"
29420 echo "*** If you have an old version installed, it is best to remove it, although"
29421 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29422 echo "***"
29423 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29424 echo "*** came with the system with the command"
29425 echo "***"
29426 echo "*** rpm --erase --nodeps gtk gtk-devel"
29427 else
29428 echo "$as_me: failed program was:" >&5
29429 sed 's/^/| /' conftest.$ac_ext >&5
29430
29431 echo "*** The test program failed to compile or link. See the file config.log for the"
29432 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29433 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29434 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29435 fi
29436
29437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29438 conftest$ac_exeext conftest.$ac_ext
29439 CFLAGS="$ac_save_CFLAGS"
29440 LIBS="$ac_save_LIBS"
29441 fi
29442 fi
29443 GTK_CFLAGS=""
29444 GTK_LIBS=""
29445 :
29446 fi
29447
29448
29449 rm -f conf.gtktest
29450
29451
29452 if test -z "$wx_cv_lib_gtk"; then
29453
29454 # Check whether --with-gtk-prefix was given.
29455 if test "${with_gtk_prefix+set}" = set; then
29456 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29457 else
29458 gtk_config_prefix=""
29459 fi
29460
29461
29462 # Check whether --with-gtk-exec-prefix was given.
29463 if test "${with_gtk_exec_prefix+set}" = set; then
29464 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29465 else
29466 gtk_config_exec_prefix=""
29467 fi
29468
29469 # Check whether --enable-gtktest was given.
29470 if test "${enable_gtktest+set}" = set; then
29471 enableval=$enable_gtktest;
29472 else
29473 enable_gtktest=yes
29474 fi
29475
29476
29477 for module in . $GTK_MODULES
29478 do
29479 case "$module" in
29480 gthread)
29481 gtk_config_args="$gtk_config_args gthread"
29482 ;;
29483 esac
29484 done
29485
29486 if test x$gtk_config_exec_prefix != x ; then
29487 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29488 if test x${GTK_CONFIG+set} != xset ; then
29489 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29490 fi
29491 fi
29492 if test x$gtk_config_prefix != x ; then
29493 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29494 if test x${GTK_CONFIG+set} != xset ; then
29495 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29496 fi
29497 fi
29498
29499 # Extract the first word of "gtk-config", so it can be a program name with args.
29500 set dummy gtk-config; ac_word=$2
29501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29503 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29504 echo $ECHO_N "(cached) $ECHO_C" >&6
29505 else
29506 case $GTK_CONFIG in
29507 [\\/]* | ?:[\\/]*)
29508 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29509 ;;
29510 *)
29511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29512 for as_dir in $PATH
29513 do
29514 IFS=$as_save_IFS
29515 test -z "$as_dir" && as_dir=.
29516 for ac_exec_ext in '' $ac_executable_extensions; do
29517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29518 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29520 break 2
29521 fi
29522 done
29523 done
29524 IFS=$as_save_IFS
29525
29526 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29527 ;;
29528 esac
29529 fi
29530 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29531 if test -n "$GTK_CONFIG"; then
29532 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29533 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29534 else
29535 { echo "$as_me:$LINENO: result: no" >&5
29536 echo "${ECHO_T}no" >&6; }
29537 fi
29538
29539
29540 min_gtk_version=1.2.3
29541 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29542 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29543 no_gtk=""
29544 if test "$GTK_CONFIG" = "no" ; then
29545 no_gtk=yes
29546 else
29547 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29548 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29549 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29551 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29553 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29555 if test "x$enable_gtktest" = "xyes" ; then
29556 ac_save_CFLAGS="$CFLAGS"
29557 ac_save_LIBS="$LIBS"
29558 CFLAGS="$CFLAGS $GTK_CFLAGS"
29559 LIBS="$GTK_LIBS $LIBS"
29560 rm -f conf.gtktest
29561 if test "$cross_compiling" = yes; then
29562 echo $ac_n "cross compiling; assumed OK... $ac_c"
29563 else
29564 cat >conftest.$ac_ext <<_ACEOF
29565 /* confdefs.h. */
29566 _ACEOF
29567 cat confdefs.h >>conftest.$ac_ext
29568 cat >>conftest.$ac_ext <<_ACEOF
29569 /* end confdefs.h. */
29570
29571 #include <gtk/gtk.h>
29572 #include <stdio.h>
29573 #include <stdlib.h>
29574
29575 int
29576 main ()
29577 {
29578 int major, minor, micro;
29579 char *tmp_version;
29580
29581 system ("touch conf.gtktest");
29582
29583 /* HP/UX 9 (%@#!) writes to sscanf strings */
29584 tmp_version = g_strdup("$min_gtk_version");
29585 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29586 printf("%s, bad version string\n", "$min_gtk_version");
29587 exit(1);
29588 }
29589
29590 if ((gtk_major_version != $gtk_config_major_version) ||
29591 (gtk_minor_version != $gtk_config_minor_version) ||
29592 (gtk_micro_version != $gtk_config_micro_version))
29593 {
29594 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29595 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29596 gtk_major_version, gtk_minor_version, gtk_micro_version);
29597 printf ("*** was found! If gtk-config was correct, then it is best\n");
29598 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29599 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29600 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29601 printf("*** required on your system.\n");
29602 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29603 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29604 printf("*** before re-running configure\n");
29605 }
29606 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29607 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29608 (gtk_minor_version != GTK_MINOR_VERSION) ||
29609 (gtk_micro_version != GTK_MICRO_VERSION))
29610 {
29611 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29612 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29613 printf("*** library (version %d.%d.%d)\n",
29614 gtk_major_version, gtk_minor_version, gtk_micro_version);
29615 }
29616 #endif /* defined (GTK_MAJOR_VERSION) ... */
29617 else
29618 {
29619 if ((gtk_major_version > major) ||
29620 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29621 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29622 {
29623 return 0;
29624 }
29625 else
29626 {
29627 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29628 gtk_major_version, gtk_minor_version, gtk_micro_version);
29629 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29630 major, minor, micro);
29631 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29632 printf("***\n");
29633 printf("*** If you have already installed a sufficiently new version, this error\n");
29634 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29635 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29636 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29637 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29638 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29639 printf("*** so that the correct libraries are found at run-time))\n");
29640 }
29641 }
29642 return 1;
29643 }
29644
29645 _ACEOF
29646 rm -f conftest$ac_exeext
29647 if { (ac_try="$ac_link"
29648 case "(($ac_try" in
29649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29650 *) ac_try_echo=$ac_try;;
29651 esac
29652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29653 (eval "$ac_link") 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29657 { (case "(($ac_try" in
29658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29659 *) ac_try_echo=$ac_try;;
29660 esac
29661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29662 (eval "$ac_try") 2>&5
29663 ac_status=$?
29664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29665 (exit $ac_status); }; }; then
29666 :
29667 else
29668 echo "$as_me: program exited with status $ac_status" >&5
29669 echo "$as_me: failed program was:" >&5
29670 sed 's/^/| /' conftest.$ac_ext >&5
29671
29672 ( exit $ac_status )
29673 no_gtk=yes
29674 fi
29675 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29676 fi
29677
29678
29679 CFLAGS="$ac_save_CFLAGS"
29680 LIBS="$ac_save_LIBS"
29681 fi
29682 fi
29683 if test "x$no_gtk" = x ; then
29684 { echo "$as_me:$LINENO: result: yes" >&5
29685 echo "${ECHO_T}yes" >&6; }
29686 wx_cv_lib_gtk=1.2.3
29687 else
29688 { echo "$as_me:$LINENO: result: no" >&5
29689 echo "${ECHO_T}no" >&6; }
29690 if test "$GTK_CONFIG" = "no" ; then
29691 echo "*** The gtk-config script installed by GTK could not be found"
29692 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29693 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29694 echo "*** full path to gtk-config."
29695 else
29696 if test -f conf.gtktest ; then
29697 :
29698 else
29699 echo "*** Could not run GTK test program, checking why..."
29700 CFLAGS="$CFLAGS $GTK_CFLAGS"
29701 LIBS="$LIBS $GTK_LIBS"
29702 cat >conftest.$ac_ext <<_ACEOF
29703 /* confdefs.h. */
29704 _ACEOF
29705 cat confdefs.h >>conftest.$ac_ext
29706 cat >>conftest.$ac_ext <<_ACEOF
29707 /* end confdefs.h. */
29708
29709 #include <gtk/gtk.h>
29710 #include <stdio.h>
29711
29712 int
29713 main ()
29714 {
29715 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29716 ;
29717 return 0;
29718 }
29719 _ACEOF
29720 rm -f conftest.$ac_objext conftest$ac_exeext
29721 if { (ac_try="$ac_link"
29722 case "(($ac_try" in
29723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29724 *) ac_try_echo=$ac_try;;
29725 esac
29726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29727 (eval "$ac_link") 2>conftest.er1
29728 ac_status=$?
29729 grep -v '^ *+' conftest.er1 >conftest.err
29730 rm -f conftest.er1
29731 cat conftest.err >&5
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); } && {
29734 test -z "$ac_c_werror_flag" ||
29735 test ! -s conftest.err
29736 } && test -s conftest$ac_exeext &&
29737 $as_test_x conftest$ac_exeext; then
29738 echo "*** The test program compiled, but did not run. This usually means"
29739 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29740 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29741 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29742 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29743 echo "*** is required on your system"
29744 echo "***"
29745 echo "*** If you have an old version installed, it is best to remove it, although"
29746 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29747 echo "***"
29748 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29749 echo "*** came with the system with the command"
29750 echo "***"
29751 echo "*** rpm --erase --nodeps gtk gtk-devel"
29752 else
29753 echo "$as_me: failed program was:" >&5
29754 sed 's/^/| /' conftest.$ac_ext >&5
29755
29756 echo "*** The test program failed to compile or link. See the file config.log for the"
29757 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29758 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29759 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29760 fi
29761
29762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29763 conftest$ac_exeext conftest.$ac_ext
29764 CFLAGS="$ac_save_CFLAGS"
29765 LIBS="$ac_save_LIBS"
29766 fi
29767 fi
29768 GTK_CFLAGS=""
29769 GTK_LIBS=""
29770 :
29771 fi
29772
29773
29774 rm -f conf.gtktest
29775
29776 fi
29777 fi
29778 fi
29779
29780 if test -z "$wx_cv_lib_gtk"; then
29781 wx_cv_lib_gtk=none
29782 else
29783 wx_cv_cflags_gtk=$GTK_CFLAGS
29784 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29785 fi
29786
29787
29788 fi
29789
29790
29791 if test "$gtk_version_cached" = 1; then
29792 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29793 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29794 fi
29795
29796 case "$wx_cv_lib_gtk" in
29797 2.0) WXGTK2=1
29798 TOOLKIT_VERSION=2
29799 ;;
29800 1.2.7) WXGTK127=1
29801 WXGTK12=1
29802 ;;
29803 1.2.3) WXGTK12=1
29804 ;;
29805 *) { { echo "$as_me:$LINENO: error:
29806 The development files for GTK+ were not found. For GTK+ 2, please
29807 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29808 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29809 and that the version is 1.2.3 or above. Also check that the
29810 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29811 --libs' are in the LD_LIBRARY_PATH or equivalent.
29812 " >&5
29813 echo "$as_me: error:
29814 The development files for GTK+ were not found. For GTK+ 2, please
29815 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29816 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29817 and that the version is 1.2.3 or above. Also check that the
29818 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29819 --libs' are in the LD_LIBRARY_PATH or equivalent.
29820 " >&2;}
29821 { (exit 1); exit 1; }; }
29822 ;;
29823 esac
29824
29825 if test "$WXGTK2" = 1; then
29826 save_CFLAGS="$CFLAGS"
29827 save_LIBS="$LIBS"
29828 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29829 LIBS="$LIBS $wx_cv_libs_gtk"
29830
29831 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29832 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
29833 cat >conftest.$ac_ext <<_ACEOF
29834 /* confdefs.h. */
29835 _ACEOF
29836 cat confdefs.h >>conftest.$ac_ext
29837 cat >>conftest.$ac_ext <<_ACEOF
29838 /* end confdefs.h. */
29839
29840 #include <gtk/gtk.h>
29841
29842 int
29843 main ()
29844 {
29845
29846 #if !GTK_CHECK_VERSION(2,18,0)
29847 Not GTK+ 2.18
29848 #endif
29849
29850 ;
29851 return 0;
29852 }
29853 _ACEOF
29854 rm -f conftest.$ac_objext
29855 if { (ac_try="$ac_compile"
29856 case "(($ac_try" in
29857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29858 *) ac_try_echo=$ac_try;;
29859 esac
29860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29861 (eval "$ac_compile") 2>conftest.er1
29862 ac_status=$?
29863 grep -v '^ *+' conftest.er1 >conftest.err
29864 rm -f conftest.er1
29865 cat conftest.err >&5
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); } && {
29868 test -z "$ac_c_werror_flag" ||
29869 test ! -s conftest.err
29870 } && test -s conftest.$ac_objext; then
29871
29872 cat >>confdefs.h <<\_ACEOF
29873 #define __WXGTK218__ 1
29874 _ACEOF
29875
29876 cat >>confdefs.h <<\_ACEOF
29877 #define __WXGTK210__ 1
29878 _ACEOF
29879
29880 cat >>confdefs.h <<\_ACEOF
29881 #define __WXGTK26__ 1
29882 _ACEOF
29883
29884 { echo "$as_me:$LINENO: result: yes" >&5
29885 echo "${ECHO_T}yes" >&6; }
29886 ac_wxgtk218=1
29887
29888 else
29889 echo "$as_me: failed program was:" >&5
29890 sed 's/^/| /' conftest.$ac_ext >&5
29891
29892
29893 { echo "$as_me:$LINENO: result: no" >&5
29894 echo "${ECHO_T}no" >&6; }
29895 ac_wxgtk218=0
29896
29897 fi
29898
29899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29900
29901 if test "$ac_wxgtk218" = 0; then
29902 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29903 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29904 cat >conftest.$ac_ext <<_ACEOF
29905 /* confdefs.h. */
29906 _ACEOF
29907 cat confdefs.h >>conftest.$ac_ext
29908 cat >>conftest.$ac_ext <<_ACEOF
29909 /* end confdefs.h. */
29910
29911 #include <gtk/gtk.h>
29912
29913 int
29914 main ()
29915 {
29916
29917 #if !GTK_CHECK_VERSION(2,10,0)
29918 Not GTK+ 2.10
29919 #endif
29920
29921 ;
29922 return 0;
29923 }
29924 _ACEOF
29925 rm -f conftest.$ac_objext
29926 if { (ac_try="$ac_compile"
29927 case "(($ac_try" in
29928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29929 *) ac_try_echo=$ac_try;;
29930 esac
29931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29932 (eval "$ac_compile") 2>conftest.er1
29933 ac_status=$?
29934 grep -v '^ *+' conftest.er1 >conftest.err
29935 rm -f conftest.er1
29936 cat conftest.err >&5
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); } && {
29939 test -z "$ac_c_werror_flag" ||
29940 test ! -s conftest.err
29941 } && test -s conftest.$ac_objext; then
29942
29943 cat >>confdefs.h <<\_ACEOF
29944 #define __WXGTK210__ 1
29945 _ACEOF
29946
29947 cat >>confdefs.h <<\_ACEOF
29948 #define __WXGTK26__ 1
29949 _ACEOF
29950
29951 { echo "$as_me:$LINENO: result: yes" >&5
29952 echo "${ECHO_T}yes" >&6; }
29953 ac_wxgtk210=1
29954
29955 else
29956 echo "$as_me: failed program was:" >&5
29957 sed 's/^/| /' conftest.$ac_ext >&5
29958
29959
29960 { echo "$as_me:$LINENO: result: no" >&5
29961 echo "${ECHO_T}no" >&6; }
29962 ac_wxgtk210=0
29963
29964 fi
29965
29966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29967
29968 if test "$ac_wxgtk210" = 0; then
29969 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29970 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29971 cat >conftest.$ac_ext <<_ACEOF
29972 /* confdefs.h. */
29973 _ACEOF
29974 cat confdefs.h >>conftest.$ac_ext
29975 cat >>conftest.$ac_ext <<_ACEOF
29976 /* end confdefs.h. */
29977
29978 #include <gtk/gtk.h>
29979
29980 int
29981 main ()
29982 {
29983
29984 #if !GTK_CHECK_VERSION(2,6,0)
29985 Not GTK+ 2.6
29986 #endif
29987
29988 ;
29989 return 0;
29990 }
29991 _ACEOF
29992 rm -f conftest.$ac_objext
29993 if { (ac_try="$ac_compile"
29994 case "(($ac_try" in
29995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29996 *) ac_try_echo=$ac_try;;
29997 esac
29998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29999 (eval "$ac_compile") 2>conftest.er1
30000 ac_status=$?
30001 grep -v '^ *+' conftest.er1 >conftest.err
30002 rm -f conftest.er1
30003 cat conftest.err >&5
30004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30005 (exit $ac_status); } && {
30006 test -z "$ac_c_werror_flag" ||
30007 test ! -s conftest.err
30008 } && test -s conftest.$ac_objext; then
30009
30010 cat >>confdefs.h <<\_ACEOF
30011 #define __WXGTK26__ 1
30012 _ACEOF
30013
30014 { echo "$as_me:$LINENO: result: yes" >&5
30015 echo "${ECHO_T}yes" >&6; }
30016 ac_wxgtk26=1
30017
30018 else
30019 echo "$as_me: failed program was:" >&5
30020 sed 's/^/| /' conftest.$ac_ext >&5
30021
30022
30023 { echo "$as_me:$LINENO: result: no" >&5
30024 echo "${ECHO_T}no" >&6; }
30025 ac_wxgtk26=0
30026
30027 fi
30028
30029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30030 fi
30031 fi
30032
30033 CFLAGS="$save_CFLAGS"
30034 LIBS="$save_LIBS"
30035 else
30036 if test "$wxUSE_UNICODE" = "yes"; then
30037 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30038 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30039 wxUSE_UNICODE=no
30040 fi
30041
30042 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30043 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
30044 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30045 echo $ECHO_N "(cached) $ECHO_C" >&6
30046 else
30047 ac_check_lib_save_LIBS=$LIBS
30048 LIBS="-lgdk $LIBS"
30049 cat >conftest.$ac_ext <<_ACEOF
30050 /* confdefs.h. */
30051 _ACEOF
30052 cat confdefs.h >>conftest.$ac_ext
30053 cat >>conftest.$ac_ext <<_ACEOF
30054 /* end confdefs.h. */
30055
30056 /* Override any GCC internal prototype to avoid an error.
30057 Use char because int might match the return type of a GCC
30058 builtin and then its argument prototype would still apply. */
30059 #ifdef __cplusplus
30060 extern "C"
30061 #endif
30062 char gdk_im_open ();
30063 int
30064 main ()
30065 {
30066 return gdk_im_open ();
30067 ;
30068 return 0;
30069 }
30070 _ACEOF
30071 rm -f conftest.$ac_objext conftest$ac_exeext
30072 if { (ac_try="$ac_link"
30073 case "(($ac_try" in
30074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30075 *) ac_try_echo=$ac_try;;
30076 esac
30077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30078 (eval "$ac_link") 2>conftest.er1
30079 ac_status=$?
30080 grep -v '^ *+' conftest.er1 >conftest.err
30081 rm -f conftest.er1
30082 cat conftest.err >&5
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); } && {
30085 test -z "$ac_c_werror_flag" ||
30086 test ! -s conftest.err
30087 } && test -s conftest$ac_exeext &&
30088 $as_test_x conftest$ac_exeext; then
30089 ac_cv_lib_gdk_gdk_im_open=yes
30090 else
30091 echo "$as_me: failed program was:" >&5
30092 sed 's/^/| /' conftest.$ac_ext >&5
30093
30094 ac_cv_lib_gdk_gdk_im_open=no
30095 fi
30096
30097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30098 conftest$ac_exeext conftest.$ac_ext
30099 LIBS=$ac_check_lib_save_LIBS
30100 fi
30101 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30102 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
30103 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30104 cat >>confdefs.h <<\_ACEOF
30105 #define HAVE_XIM 1
30106 _ACEOF
30107
30108 fi
30109
30110
30111 if test "$USE_DARWIN" != 1; then
30112
30113 for ac_func in poll
30114 do
30115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30119 echo $ECHO_N "(cached) $ECHO_C" >&6
30120 else
30121 cat >conftest.$ac_ext <<_ACEOF
30122 /* confdefs.h. */
30123 _ACEOF
30124 cat confdefs.h >>conftest.$ac_ext
30125 cat >>conftest.$ac_ext <<_ACEOF
30126 /* end confdefs.h. */
30127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30129 #define $ac_func innocuous_$ac_func
30130
30131 /* System header to define __stub macros and hopefully few prototypes,
30132 which can conflict with char $ac_func (); below.
30133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30134 <limits.h> exists even on freestanding compilers. */
30135
30136 #ifdef __STDC__
30137 # include <limits.h>
30138 #else
30139 # include <assert.h>
30140 #endif
30141
30142 #undef $ac_func
30143
30144 /* Override any GCC internal prototype to avoid an error.
30145 Use char because int might match the return type of a GCC
30146 builtin and then its argument prototype would still apply. */
30147 #ifdef __cplusplus
30148 extern "C"
30149 #endif
30150 char $ac_func ();
30151 /* The GNU C library defines this for functions which it implements
30152 to always fail with ENOSYS. Some functions are actually named
30153 something starting with __ and the normal name is an alias. */
30154 #if defined __stub_$ac_func || defined __stub___$ac_func
30155 choke me
30156 #endif
30157
30158 int
30159 main ()
30160 {
30161 return $ac_func ();
30162 ;
30163 return 0;
30164 }
30165 _ACEOF
30166 rm -f conftest.$ac_objext conftest$ac_exeext
30167 if { (ac_try="$ac_link"
30168 case "(($ac_try" in
30169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30170 *) ac_try_echo=$ac_try;;
30171 esac
30172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30173 (eval "$ac_link") 2>conftest.er1
30174 ac_status=$?
30175 grep -v '^ *+' conftest.er1 >conftest.err
30176 rm -f conftest.er1
30177 cat conftest.err >&5
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); } && {
30180 test -z "$ac_c_werror_flag" ||
30181 test ! -s conftest.err
30182 } && test -s conftest$ac_exeext &&
30183 $as_test_x conftest$ac_exeext; then
30184 eval "$as_ac_var=yes"
30185 else
30186 echo "$as_me: failed program was:" >&5
30187 sed 's/^/| /' conftest.$ac_ext >&5
30188
30189 eval "$as_ac_var=no"
30190 fi
30191
30192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30193 conftest$ac_exeext conftest.$ac_ext
30194 fi
30195 ac_res=`eval echo '${'$as_ac_var'}'`
30196 { echo "$as_me:$LINENO: result: $ac_res" >&5
30197 echo "${ECHO_T}$ac_res" >&6; }
30198 if test `eval echo '${'$as_ac_var'}'` = yes; then
30199 cat >>confdefs.h <<_ACEOF
30200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30201 _ACEOF
30202
30203 fi
30204 done
30205
30206 fi
30207 fi
30208
30209 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30210 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30211
30212 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
30213
30214 AFMINSTALL=afminstall
30215 TOOLKIT=GTK
30216 GUIDIST=GTK_DIST
30217
30218 if test "$wxUSE_GPE" = "yes"; then
30219 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
30220 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
30221
30222 ac_find_libraries=
30223 for ac_dir in $SEARCH_LIB;
30224 do
30225 for ac_extension in a so sl dylib dll.a; do
30226 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30227 ac_find_libraries=$ac_dir
30228 break 2
30229 fi
30230 done
30231 done
30232
30233 if test "$ac_find_libraries" != "" ; then
30234
30235 if test "$ac_find_libraries" = "default location"; then
30236 ac_path_to_link=""
30237 else
30238 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30239 result=$?
30240 if test $result = 0; then
30241 ac_path_to_link=""
30242 else
30243 ac_path_to_link=" -L$ac_find_libraries"
30244 fi
30245 fi
30246
30247 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30248 WXGPE=1
30249 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30250 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30251 else
30252 { echo "$as_me:$LINENO: result: not found" >&5
30253 echo "${ECHO_T}not found" >&6; }
30254 fi
30255
30256 fi
30257 fi
30258
30259 if test "$wxUSE_MGL" = 1; then
30260 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30261 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30262 if test "x$MGL_ROOT" = x ; then
30263 { echo "$as_me:$LINENO: result: not found" >&5
30264 echo "${ECHO_T}not found" >&6; }
30265 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30266 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30267 { (exit 1); exit 1; }; }
30268 else
30269 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30270 echo "${ECHO_T}$MGL_ROOT" >&6; }
30271 fi
30272
30273 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30274 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30275 case "${host}" in
30276 *-*-linux* )
30277 if test "x$wxUSE_SHARED" = xyes ; then
30278 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30279 else
30280 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30281 fi
30282 ;;
30283 *-pc-msdosdjgpp )
30284 mgl_os_candidates="dos32/dj2"
30285 ;;
30286 *)
30287 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30288 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30289 { (exit 1); exit 1; }; }
30290 esac
30291
30292 mgl_lib_type=""
30293 mgl_os=""
30294
30295 for mgl_os_i in $mgl_os_candidates ; do
30296 if test "x$mgl_os" = x ; then
30297 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30298 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30299 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30300 mgl_lib_type=debug
30301 mgl_os=$mgl_os_i
30302 fi
30303 fi
30304 if test "x$mgl_lib_type" = x ; then
30305 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30306 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30307 mgl_lib_type=release
30308 mgl_os=$mgl_os_i
30309 fi
30310 fi
30311 fi
30312 done
30313
30314 if test "x$mgl_os" = x ; then
30315 { echo "$as_me:$LINENO: result: not found" >&5
30316 echo "${ECHO_T}not found" >&6; }
30317 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30318 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30319 { (exit 1); exit 1; }; }
30320 fi
30321 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30322 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30323
30324 wxUSE_UNIVERSAL="yes"
30325
30326 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30327 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30328
30329 AFMINSTALL=afminstall
30330 TOOLKIT=MGL
30331 GUIDIST=MGL_DIST
30332 fi
30333
30334 if test "$wxUSE_DFB" = 1; then
30335
30336
30337 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30338 if test -n "$ac_tool_prefix"; then
30339 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30340 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30343 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30344 echo $ECHO_N "(cached) $ECHO_C" >&6
30345 else
30346 case $PKG_CONFIG in
30347 [\\/]* | ?:[\\/]*)
30348 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30349 ;;
30350 *)
30351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30352 for as_dir in $PATH
30353 do
30354 IFS=$as_save_IFS
30355 test -z "$as_dir" && as_dir=.
30356 for ac_exec_ext in '' $ac_executable_extensions; do
30357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30358 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30360 break 2
30361 fi
30362 done
30363 done
30364 IFS=$as_save_IFS
30365
30366 ;;
30367 esac
30368 fi
30369 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30370 if test -n "$PKG_CONFIG"; then
30371 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30372 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30373 else
30374 { echo "$as_me:$LINENO: result: no" >&5
30375 echo "${ECHO_T}no" >&6; }
30376 fi
30377
30378
30379 fi
30380 if test -z "$ac_cv_path_PKG_CONFIG"; then
30381 ac_pt_PKG_CONFIG=$PKG_CONFIG
30382 # Extract the first word of "pkg-config", so it can be a program name with args.
30383 set dummy pkg-config; ac_word=$2
30384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30386 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30387 echo $ECHO_N "(cached) $ECHO_C" >&6
30388 else
30389 case $ac_pt_PKG_CONFIG in
30390 [\\/]* | ?:[\\/]*)
30391 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30392 ;;
30393 *)
30394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30395 for as_dir in $PATH
30396 do
30397 IFS=$as_save_IFS
30398 test -z "$as_dir" && as_dir=.
30399 for ac_exec_ext in '' $ac_executable_extensions; do
30400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30401 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30403 break 2
30404 fi
30405 done
30406 done
30407 IFS=$as_save_IFS
30408
30409 ;;
30410 esac
30411 fi
30412 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30413 if test -n "$ac_pt_PKG_CONFIG"; then
30414 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30415 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30416 else
30417 { echo "$as_me:$LINENO: result: no" >&5
30418 echo "${ECHO_T}no" >&6; }
30419 fi
30420
30421 if test "x$ac_pt_PKG_CONFIG" = x; then
30422 PKG_CONFIG=""
30423 else
30424 case $cross_compiling:$ac_tool_warned in
30425 yes:)
30426 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30427 whose name does not start with the host triplet. If you think this
30428 configuration is useful to you, please write to autoconf@gnu.org." >&5
30429 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30430 whose name does not start with the host triplet. If you think this
30431 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30432 ac_tool_warned=yes ;;
30433 esac
30434 PKG_CONFIG=$ac_pt_PKG_CONFIG
30435 fi
30436 else
30437 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30438 fi
30439
30440 fi
30441 if test -n "$PKG_CONFIG"; then
30442 _pkg_min_version=0.9.0
30443 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30444 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30445 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30446 { echo "$as_me:$LINENO: result: yes" >&5
30447 echo "${ECHO_T}yes" >&6; }
30448 else
30449 { echo "$as_me:$LINENO: result: no" >&5
30450 echo "${ECHO_T}no" >&6; }
30451 PKG_CONFIG=""
30452 fi
30453
30454 fi
30455
30456
30457 pkg_failed=no
30458 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30459 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30460
30461 if test -n "$PKG_CONFIG"; then
30462 if test -n "$DIRECTFB_CFLAGS"; then
30463 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30464 else
30465 if test -n "$PKG_CONFIG" && \
30466 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30467 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30468 ac_status=$?
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); }; then
30471 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30472 else
30473 pkg_failed=yes
30474 fi
30475 fi
30476 else
30477 pkg_failed=untried
30478 fi
30479 if test -n "$PKG_CONFIG"; then
30480 if test -n "$DIRECTFB_LIBS"; then
30481 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30482 else
30483 if test -n "$PKG_CONFIG" && \
30484 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30485 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30486 ac_status=$?
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); }; then
30489 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30490 else
30491 pkg_failed=yes
30492 fi
30493 fi
30494 else
30495 pkg_failed=untried
30496 fi
30497
30498
30499
30500 if test $pkg_failed = yes; then
30501
30502 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30503 _pkg_short_errors_supported=yes
30504 else
30505 _pkg_short_errors_supported=no
30506 fi
30507 if test $_pkg_short_errors_supported = yes; then
30508 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30509 else
30510 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30511 fi
30512 # Put the nasty error message in config.log where it belongs
30513 echo "$DIRECTFB_PKG_ERRORS" >&5
30514
30515
30516 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30517 echo "$as_me: error: DirectFB not found." >&2;}
30518 { (exit 1); exit 1; }; }
30519
30520
30521 elif test $pkg_failed = untried; then
30522
30523 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30524 echo "$as_me: error: DirectFB not found." >&2;}
30525 { (exit 1); exit 1; }; }
30526
30527
30528 else
30529 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30530 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30531 { echo "$as_me:$LINENO: result: yes" >&5
30532 echo "${ECHO_T}yes" >&6; }
30533
30534 wxUSE_UNIVERSAL="yes"
30535 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30536 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30537 TOOLKIT=DFB
30538 GUIDIST=DFB_DIST
30539
30540 fi
30541 fi
30542
30543 if test "$wxUSE_MICROWIN" = 1; then
30544 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30545 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30546 if test "x$MICROWINDOWS" = x ; then
30547 { echo "$as_me:$LINENO: result: not found" >&5
30548 echo "${ECHO_T}not found" >&6; }
30549 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30550 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30551 { (exit 1); exit 1; }; }
30552 else
30553 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30554 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30555 fi
30556
30557 if test -f $MICROWINDOWS/lib/libmwin.a; then
30558 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30559 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30560 else
30561 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30562 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30563 { (exit 1); exit 1; }; }
30564 fi
30565
30566 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30567 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30568
30569 wxUSE_UNIVERSAL="yes"
30570
30571 AFMINSTALL=afminstall
30572 TOOLKIT=MICROWIN
30573 GUIDIST=MICROWIN_DIST
30574
30575 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30576 fi
30577
30578 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30579 { echo "$as_me:$LINENO: checking for X" >&5
30580 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30581
30582
30583 # Check whether --with-x was given.
30584 if test "${with_x+set}" = set; then
30585 withval=$with_x;
30586 fi
30587
30588 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30589 if test "x$with_x" = xno; then
30590 # The user explicitly disabled X.
30591 have_x=disabled
30592 else
30593 case $x_includes,$x_libraries in #(
30594 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30595 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30596 { (exit 1); exit 1; }; };; #(
30597 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30598 echo $ECHO_N "(cached) $ECHO_C" >&6
30599 else
30600 # One or both of the vars are not set, and there is no cached value.
30601 ac_x_includes=no ac_x_libraries=no
30602 rm -f -r conftest.dir
30603 if mkdir conftest.dir; then
30604 cd conftest.dir
30605 cat >Imakefile <<'_ACEOF'
30606 incroot:
30607 @echo incroot='${INCROOT}'
30608 usrlibdir:
30609 @echo usrlibdir='${USRLIBDIR}'
30610 libdir:
30611 @echo libdir='${LIBDIR}'
30612 _ACEOF
30613 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30614 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30615 for ac_var in incroot usrlibdir libdir; do
30616 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30617 done
30618 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30619 for ac_extension in a so sl; do
30620 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30621 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30622 ac_im_usrlibdir=$ac_im_libdir; break
30623 fi
30624 done
30625 # Screen out bogus values from the imake configuration. They are
30626 # bogus both because they are the default anyway, and because
30627 # using them would break gcc on systems where it needs fixed includes.
30628 case $ac_im_incroot in
30629 /usr/include) ac_x_includes= ;;
30630 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30631 esac
30632 case $ac_im_usrlibdir in
30633 /usr/lib | /lib) ;;
30634 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30635 esac
30636 fi
30637 cd ..
30638 rm -f -r conftest.dir
30639 fi
30640
30641 # Standard set of common directories for X headers.
30642 # Check X11 before X11Rn because it is often a symlink to the current release.
30643 ac_x_header_dirs='
30644 /usr/X11/include
30645 /usr/X11R6/include
30646 /usr/X11R5/include
30647 /usr/X11R4/include
30648
30649 /usr/include/X11
30650 /usr/include/X11R6
30651 /usr/include/X11R5
30652 /usr/include/X11R4
30653
30654 /usr/local/X11/include
30655 /usr/local/X11R6/include
30656 /usr/local/X11R5/include
30657 /usr/local/X11R4/include
30658
30659 /usr/local/include/X11
30660 /usr/local/include/X11R6
30661 /usr/local/include/X11R5
30662 /usr/local/include/X11R4
30663
30664 /usr/X386/include
30665 /usr/x386/include
30666 /usr/XFree86/include/X11
30667
30668 /usr/include
30669 /usr/local/include
30670 /usr/unsupported/include
30671 /usr/athena/include
30672 /usr/local/x11r5/include
30673 /usr/lpp/Xamples/include
30674
30675 /usr/openwin/include
30676 /usr/openwin/share/include'
30677
30678 if test "$ac_x_includes" = no; then
30679 # Guess where to find include files, by looking for Xlib.h.
30680 # First, try using that file with no special directory specified.
30681 cat >conftest.$ac_ext <<_ACEOF
30682 /* confdefs.h. */
30683 _ACEOF
30684 cat confdefs.h >>conftest.$ac_ext
30685 cat >>conftest.$ac_ext <<_ACEOF
30686 /* end confdefs.h. */
30687 #include <X11/Xlib.h>
30688 _ACEOF
30689 if { (ac_try="$ac_cpp conftest.$ac_ext"
30690 case "(($ac_try" in
30691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30692 *) ac_try_echo=$ac_try;;
30693 esac
30694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30696 ac_status=$?
30697 grep -v '^ *+' conftest.er1 >conftest.err
30698 rm -f conftest.er1
30699 cat conftest.err >&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } >/dev/null && {
30702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30703 test ! -s conftest.err
30704 }; then
30705 # We can compile using X headers with no special include directory.
30706 ac_x_includes=
30707 else
30708 echo "$as_me: failed program was:" >&5
30709 sed 's/^/| /' conftest.$ac_ext >&5
30710
30711 for ac_dir in $ac_x_header_dirs; do
30712 if test -r "$ac_dir/X11/Xlib.h"; then
30713 ac_x_includes=$ac_dir
30714 break
30715 fi
30716 done
30717 fi
30718
30719 rm -f conftest.err conftest.$ac_ext
30720 fi # $ac_x_includes = no
30721
30722 if test "$ac_x_libraries" = no; then
30723 # Check for the libraries.
30724 # See if we find them without any special options.
30725 # Don't add to $LIBS permanently.
30726 ac_save_LIBS=$LIBS
30727 LIBS="-lX11 $LIBS"
30728 cat >conftest.$ac_ext <<_ACEOF
30729 /* confdefs.h. */
30730 _ACEOF
30731 cat confdefs.h >>conftest.$ac_ext
30732 cat >>conftest.$ac_ext <<_ACEOF
30733 /* end confdefs.h. */
30734 #include <X11/Xlib.h>
30735 int
30736 main ()
30737 {
30738 XrmInitialize ()
30739 ;
30740 return 0;
30741 }
30742 _ACEOF
30743 rm -f conftest.$ac_objext conftest$ac_exeext
30744 if { (ac_try="$ac_link"
30745 case "(($ac_try" in
30746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30747 *) ac_try_echo=$ac_try;;
30748 esac
30749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30750 (eval "$ac_link") 2>conftest.er1
30751 ac_status=$?
30752 grep -v '^ *+' conftest.er1 >conftest.err
30753 rm -f conftest.er1
30754 cat conftest.err >&5
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); } && {
30757 test -z "$ac_c_werror_flag" ||
30758 test ! -s conftest.err
30759 } && test -s conftest$ac_exeext &&
30760 $as_test_x conftest$ac_exeext; then
30761 LIBS=$ac_save_LIBS
30762 # We can link X programs with no special library path.
30763 ac_x_libraries=
30764 else
30765 echo "$as_me: failed program was:" >&5
30766 sed 's/^/| /' conftest.$ac_ext >&5
30767
30768 LIBS=$ac_save_LIBS
30769 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30770 do
30771 # Don't even attempt the hair of trying to link an X program!
30772 for ac_extension in a so sl; do
30773 if test -r "$ac_dir/libX11.$ac_extension"; then
30774 ac_x_libraries=$ac_dir
30775 break 2
30776 fi
30777 done
30778 done
30779 fi
30780
30781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30782 conftest$ac_exeext conftest.$ac_ext
30783 fi # $ac_x_libraries = no
30784
30785 case $ac_x_includes,$ac_x_libraries in #(
30786 no,* | *,no | *\'*)
30787 # Didn't find X, or a directory has "'" in its name.
30788 ac_cv_have_x="have_x=no";; #(
30789 *)
30790 # Record where we found X for the cache.
30791 ac_cv_have_x="have_x=yes\
30792 ac_x_includes='$ac_x_includes'\
30793 ac_x_libraries='$ac_x_libraries'"
30794 esac
30795 fi
30796 ;; #(
30797 *) have_x=yes;;
30798 esac
30799 eval "$ac_cv_have_x"
30800 fi # $with_x != no
30801
30802 if test "$have_x" != yes; then
30803 { echo "$as_me:$LINENO: result: $have_x" >&5
30804 echo "${ECHO_T}$have_x" >&6; }
30805 no_x=yes
30806 else
30807 # If each of the values was on the command line, it overrides each guess.
30808 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30809 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30810 # Update the cache value to reflect the command line values.
30811 ac_cv_have_x="have_x=yes\
30812 ac_x_includes='$x_includes'\
30813 ac_x_libraries='$x_libraries'"
30814 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30815 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30816 fi
30817
30818 if test "$no_x" = yes; then
30819 # Not all programs may use this symbol, but it does not hurt to define it.
30820
30821 cat >>confdefs.h <<\_ACEOF
30822 #define X_DISPLAY_MISSING 1
30823 _ACEOF
30824
30825 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30826 else
30827 if test -n "$x_includes"; then
30828 X_CFLAGS="$X_CFLAGS -I$x_includes"
30829 fi
30830
30831 # It would also be nice to do this for all -L options, not just this one.
30832 if test -n "$x_libraries"; then
30833 X_LIBS="$X_LIBS -L$x_libraries"
30834 # For Solaris; some versions of Sun CC require a space after -R and
30835 # others require no space. Words are not sufficient . . . .
30836 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30837 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30838 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30839 ac_xsave_c_werror_flag=$ac_c_werror_flag
30840 ac_c_werror_flag=yes
30841 cat >conftest.$ac_ext <<_ACEOF
30842 /* confdefs.h. */
30843 _ACEOF
30844 cat confdefs.h >>conftest.$ac_ext
30845 cat >>conftest.$ac_ext <<_ACEOF
30846 /* end confdefs.h. */
30847
30848 int
30849 main ()
30850 {
30851
30852 ;
30853 return 0;
30854 }
30855 _ACEOF
30856 rm -f conftest.$ac_objext conftest$ac_exeext
30857 if { (ac_try="$ac_link"
30858 case "(($ac_try" in
30859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30860 *) ac_try_echo=$ac_try;;
30861 esac
30862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30863 (eval "$ac_link") 2>conftest.er1
30864 ac_status=$?
30865 grep -v '^ *+' conftest.er1 >conftest.err
30866 rm -f conftest.er1
30867 cat conftest.err >&5
30868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30869 (exit $ac_status); } && {
30870 test -z "$ac_c_werror_flag" ||
30871 test ! -s conftest.err
30872 } && test -s conftest$ac_exeext &&
30873 $as_test_x conftest$ac_exeext; then
30874 { echo "$as_me:$LINENO: result: no" >&5
30875 echo "${ECHO_T}no" >&6; }
30876 X_LIBS="$X_LIBS -R$x_libraries"
30877 else
30878 echo "$as_me: failed program was:" >&5
30879 sed 's/^/| /' conftest.$ac_ext >&5
30880
30881 LIBS="$ac_xsave_LIBS -R $x_libraries"
30882 cat >conftest.$ac_ext <<_ACEOF
30883 /* confdefs.h. */
30884 _ACEOF
30885 cat confdefs.h >>conftest.$ac_ext
30886 cat >>conftest.$ac_ext <<_ACEOF
30887 /* end confdefs.h. */
30888
30889 int
30890 main ()
30891 {
30892
30893 ;
30894 return 0;
30895 }
30896 _ACEOF
30897 rm -f conftest.$ac_objext conftest$ac_exeext
30898 if { (ac_try="$ac_link"
30899 case "(($ac_try" in
30900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30901 *) ac_try_echo=$ac_try;;
30902 esac
30903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30904 (eval "$ac_link") 2>conftest.er1
30905 ac_status=$?
30906 grep -v '^ *+' conftest.er1 >conftest.err
30907 rm -f conftest.er1
30908 cat conftest.err >&5
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); } && {
30911 test -z "$ac_c_werror_flag" ||
30912 test ! -s conftest.err
30913 } && test -s conftest$ac_exeext &&
30914 $as_test_x conftest$ac_exeext; then
30915 { echo "$as_me:$LINENO: result: yes" >&5
30916 echo "${ECHO_T}yes" >&6; }
30917 X_LIBS="$X_LIBS -R $x_libraries"
30918 else
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.$ac_ext >&5
30921
30922 { echo "$as_me:$LINENO: result: neither works" >&5
30923 echo "${ECHO_T}neither works" >&6; }
30924 fi
30925
30926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30927 conftest$ac_exeext conftest.$ac_ext
30928 fi
30929
30930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30931 conftest$ac_exeext conftest.$ac_ext
30932 ac_c_werror_flag=$ac_xsave_c_werror_flag
30933 LIBS=$ac_xsave_LIBS
30934 fi
30935
30936 # Check for system-dependent libraries X programs must link with.
30937 # Do this before checking for the system-independent R6 libraries
30938 # (-lICE), since we may need -lsocket or whatever for X linking.
30939
30940 if test "$ISC" = yes; then
30941 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30942 else
30943 # Martyn Johnson says this is needed for Ultrix, if the X
30944 # libraries were built with DECnet support. And Karl Berry says
30945 # the Alpha needs dnet_stub (dnet does not exist).
30946 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30947 cat >conftest.$ac_ext <<_ACEOF
30948 /* confdefs.h. */
30949 _ACEOF
30950 cat confdefs.h >>conftest.$ac_ext
30951 cat >>conftest.$ac_ext <<_ACEOF
30952 /* end confdefs.h. */
30953
30954 /* Override any GCC internal prototype to avoid an error.
30955 Use char because int might match the return type of a GCC
30956 builtin and then its argument prototype would still apply. */
30957 #ifdef __cplusplus
30958 extern "C"
30959 #endif
30960 char XOpenDisplay ();
30961 int
30962 main ()
30963 {
30964 return XOpenDisplay ();
30965 ;
30966 return 0;
30967 }
30968 _ACEOF
30969 rm -f conftest.$ac_objext conftest$ac_exeext
30970 if { (ac_try="$ac_link"
30971 case "(($ac_try" in
30972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30973 *) ac_try_echo=$ac_try;;
30974 esac
30975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30976 (eval "$ac_link") 2>conftest.er1
30977 ac_status=$?
30978 grep -v '^ *+' conftest.er1 >conftest.err
30979 rm -f conftest.er1
30980 cat conftest.err >&5
30981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30982 (exit $ac_status); } && {
30983 test -z "$ac_c_werror_flag" ||
30984 test ! -s conftest.err
30985 } && test -s conftest$ac_exeext &&
30986 $as_test_x conftest$ac_exeext; then
30987 :
30988 else
30989 echo "$as_me: failed program was:" >&5
30990 sed 's/^/| /' conftest.$ac_ext >&5
30991
30992 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30993 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30994 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30995 echo $ECHO_N "(cached) $ECHO_C" >&6
30996 else
30997 ac_check_lib_save_LIBS=$LIBS
30998 LIBS="-ldnet $LIBS"
30999 cat >conftest.$ac_ext <<_ACEOF
31000 /* confdefs.h. */
31001 _ACEOF
31002 cat confdefs.h >>conftest.$ac_ext
31003 cat >>conftest.$ac_ext <<_ACEOF
31004 /* end confdefs.h. */
31005
31006 /* Override any GCC internal prototype to avoid an error.
31007 Use char because int might match the return type of a GCC
31008 builtin and then its argument prototype would still apply. */
31009 #ifdef __cplusplus
31010 extern "C"
31011 #endif
31012 char dnet_ntoa ();
31013 int
31014 main ()
31015 {
31016 return dnet_ntoa ();
31017 ;
31018 return 0;
31019 }
31020 _ACEOF
31021 rm -f conftest.$ac_objext conftest$ac_exeext
31022 if { (ac_try="$ac_link"
31023 case "(($ac_try" in
31024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31025 *) ac_try_echo=$ac_try;;
31026 esac
31027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31028 (eval "$ac_link") 2>conftest.er1
31029 ac_status=$?
31030 grep -v '^ *+' conftest.er1 >conftest.err
31031 rm -f conftest.er1
31032 cat conftest.err >&5
31033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31034 (exit $ac_status); } && {
31035 test -z "$ac_c_werror_flag" ||
31036 test ! -s conftest.err
31037 } && test -s conftest$ac_exeext &&
31038 $as_test_x conftest$ac_exeext; then
31039 ac_cv_lib_dnet_dnet_ntoa=yes
31040 else
31041 echo "$as_me: failed program was:" >&5
31042 sed 's/^/| /' conftest.$ac_ext >&5
31043
31044 ac_cv_lib_dnet_dnet_ntoa=no
31045 fi
31046
31047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31048 conftest$ac_exeext conftest.$ac_ext
31049 LIBS=$ac_check_lib_save_LIBS
31050 fi
31051 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31052 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
31053 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31054 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31055 fi
31056
31057 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31058 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31059 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
31060 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31061 echo $ECHO_N "(cached) $ECHO_C" >&6
31062 else
31063 ac_check_lib_save_LIBS=$LIBS
31064 LIBS="-ldnet_stub $LIBS"
31065 cat >conftest.$ac_ext <<_ACEOF
31066 /* confdefs.h. */
31067 _ACEOF
31068 cat confdefs.h >>conftest.$ac_ext
31069 cat >>conftest.$ac_ext <<_ACEOF
31070 /* end confdefs.h. */
31071
31072 /* Override any GCC internal prototype to avoid an error.
31073 Use char because int might match the return type of a GCC
31074 builtin and then its argument prototype would still apply. */
31075 #ifdef __cplusplus
31076 extern "C"
31077 #endif
31078 char dnet_ntoa ();
31079 int
31080 main ()
31081 {
31082 return dnet_ntoa ();
31083 ;
31084 return 0;
31085 }
31086 _ACEOF
31087 rm -f conftest.$ac_objext conftest$ac_exeext
31088 if { (ac_try="$ac_link"
31089 case "(($ac_try" in
31090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31091 *) ac_try_echo=$ac_try;;
31092 esac
31093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31094 (eval "$ac_link") 2>conftest.er1
31095 ac_status=$?
31096 grep -v '^ *+' conftest.er1 >conftest.err
31097 rm -f conftest.er1
31098 cat conftest.err >&5
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); } && {
31101 test -z "$ac_c_werror_flag" ||
31102 test ! -s conftest.err
31103 } && test -s conftest$ac_exeext &&
31104 $as_test_x conftest$ac_exeext; then
31105 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31106 else
31107 echo "$as_me: failed program was:" >&5
31108 sed 's/^/| /' conftest.$ac_ext >&5
31109
31110 ac_cv_lib_dnet_stub_dnet_ntoa=no
31111 fi
31112
31113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31114 conftest$ac_exeext conftest.$ac_ext
31115 LIBS=$ac_check_lib_save_LIBS
31116 fi
31117 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31118 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
31119 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31120 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31121 fi
31122
31123 fi
31124 fi
31125
31126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31127 conftest$ac_exeext conftest.$ac_ext
31128 LIBS="$ac_xsave_LIBS"
31129
31130 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31131 # to get the SysV transport functions.
31132 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31133 # needs -lnsl.
31134 # The nsl library prevents programs from opening the X display
31135 # on Irix 5.2, according to T.E. Dickey.
31136 # The functions gethostbyname, getservbyname, and inet_addr are
31137 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31138 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
31139 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
31140 if test "${ac_cv_func_gethostbyname+set}" = set; then
31141 echo $ECHO_N "(cached) $ECHO_C" >&6
31142 else
31143 cat >conftest.$ac_ext <<_ACEOF
31144 /* confdefs.h. */
31145 _ACEOF
31146 cat confdefs.h >>conftest.$ac_ext
31147 cat >>conftest.$ac_ext <<_ACEOF
31148 /* end confdefs.h. */
31149 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31151 #define gethostbyname innocuous_gethostbyname
31152
31153 /* System header to define __stub macros and hopefully few prototypes,
31154 which can conflict with char gethostbyname (); below.
31155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31156 <limits.h> exists even on freestanding compilers. */
31157
31158 #ifdef __STDC__
31159 # include <limits.h>
31160 #else
31161 # include <assert.h>
31162 #endif
31163
31164 #undef gethostbyname
31165
31166 /* Override any GCC internal prototype to avoid an error.
31167 Use char because int might match the return type of a GCC
31168 builtin and then its argument prototype would still apply. */
31169 #ifdef __cplusplus
31170 extern "C"
31171 #endif
31172 char gethostbyname ();
31173 /* The GNU C library defines this for functions which it implements
31174 to always fail with ENOSYS. Some functions are actually named
31175 something starting with __ and the normal name is an alias. */
31176 #if defined __stub_gethostbyname || defined __stub___gethostbyname
31177 choke me
31178 #endif
31179
31180 int
31181 main ()
31182 {
31183 return gethostbyname ();
31184 ;
31185 return 0;
31186 }
31187 _ACEOF
31188 rm -f conftest.$ac_objext conftest$ac_exeext
31189 if { (ac_try="$ac_link"
31190 case "(($ac_try" in
31191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31192 *) ac_try_echo=$ac_try;;
31193 esac
31194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31195 (eval "$ac_link") 2>conftest.er1
31196 ac_status=$?
31197 grep -v '^ *+' conftest.er1 >conftest.err
31198 rm -f conftest.er1
31199 cat conftest.err >&5
31200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31201 (exit $ac_status); } && {
31202 test -z "$ac_c_werror_flag" ||
31203 test ! -s conftest.err
31204 } && test -s conftest$ac_exeext &&
31205 $as_test_x conftest$ac_exeext; then
31206 ac_cv_func_gethostbyname=yes
31207 else
31208 echo "$as_me: failed program was:" >&5
31209 sed 's/^/| /' conftest.$ac_ext >&5
31210
31211 ac_cv_func_gethostbyname=no
31212 fi
31213
31214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31215 conftest$ac_exeext conftest.$ac_ext
31216 fi
31217 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31218 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
31219
31220 if test $ac_cv_func_gethostbyname = no; then
31221 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31222 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
31223 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31224 echo $ECHO_N "(cached) $ECHO_C" >&6
31225 else
31226 ac_check_lib_save_LIBS=$LIBS
31227 LIBS="-lnsl $LIBS"
31228 cat >conftest.$ac_ext <<_ACEOF
31229 /* confdefs.h. */
31230 _ACEOF
31231 cat confdefs.h >>conftest.$ac_ext
31232 cat >>conftest.$ac_ext <<_ACEOF
31233 /* end confdefs.h. */
31234
31235 /* Override any GCC internal prototype to avoid an error.
31236 Use char because int might match the return type of a GCC
31237 builtin and then its argument prototype would still apply. */
31238 #ifdef __cplusplus
31239 extern "C"
31240 #endif
31241 char gethostbyname ();
31242 int
31243 main ()
31244 {
31245 return gethostbyname ();
31246 ;
31247 return 0;
31248 }
31249 _ACEOF
31250 rm -f conftest.$ac_objext conftest$ac_exeext
31251 if { (ac_try="$ac_link"
31252 case "(($ac_try" in
31253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31254 *) ac_try_echo=$ac_try;;
31255 esac
31256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31257 (eval "$ac_link") 2>conftest.er1
31258 ac_status=$?
31259 grep -v '^ *+' conftest.er1 >conftest.err
31260 rm -f conftest.er1
31261 cat conftest.err >&5
31262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31263 (exit $ac_status); } && {
31264 test -z "$ac_c_werror_flag" ||
31265 test ! -s conftest.err
31266 } && test -s conftest$ac_exeext &&
31267 $as_test_x conftest$ac_exeext; then
31268 ac_cv_lib_nsl_gethostbyname=yes
31269 else
31270 echo "$as_me: failed program was:" >&5
31271 sed 's/^/| /' conftest.$ac_ext >&5
31272
31273 ac_cv_lib_nsl_gethostbyname=no
31274 fi
31275
31276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31277 conftest$ac_exeext conftest.$ac_ext
31278 LIBS=$ac_check_lib_save_LIBS
31279 fi
31280 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31281 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31282 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31283 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31284 fi
31285
31286 if test $ac_cv_lib_nsl_gethostbyname = no; then
31287 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31288 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31289 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31290 echo $ECHO_N "(cached) $ECHO_C" >&6
31291 else
31292 ac_check_lib_save_LIBS=$LIBS
31293 LIBS="-lbsd $LIBS"
31294 cat >conftest.$ac_ext <<_ACEOF
31295 /* confdefs.h. */
31296 _ACEOF
31297 cat confdefs.h >>conftest.$ac_ext
31298 cat >>conftest.$ac_ext <<_ACEOF
31299 /* end confdefs.h. */
31300
31301 /* Override any GCC internal prototype to avoid an error.
31302 Use char because int might match the return type of a GCC
31303 builtin and then its argument prototype would still apply. */
31304 #ifdef __cplusplus
31305 extern "C"
31306 #endif
31307 char gethostbyname ();
31308 int
31309 main ()
31310 {
31311 return gethostbyname ();
31312 ;
31313 return 0;
31314 }
31315 _ACEOF
31316 rm -f conftest.$ac_objext conftest$ac_exeext
31317 if { (ac_try="$ac_link"
31318 case "(($ac_try" in
31319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31320 *) ac_try_echo=$ac_try;;
31321 esac
31322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31323 (eval "$ac_link") 2>conftest.er1
31324 ac_status=$?
31325 grep -v '^ *+' conftest.er1 >conftest.err
31326 rm -f conftest.er1
31327 cat conftest.err >&5
31328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31329 (exit $ac_status); } && {
31330 test -z "$ac_c_werror_flag" ||
31331 test ! -s conftest.err
31332 } && test -s conftest$ac_exeext &&
31333 $as_test_x conftest$ac_exeext; then
31334 ac_cv_lib_bsd_gethostbyname=yes
31335 else
31336 echo "$as_me: failed program was:" >&5
31337 sed 's/^/| /' conftest.$ac_ext >&5
31338
31339 ac_cv_lib_bsd_gethostbyname=no
31340 fi
31341
31342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31343 conftest$ac_exeext conftest.$ac_ext
31344 LIBS=$ac_check_lib_save_LIBS
31345 fi
31346 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31347 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31348 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31349 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31350 fi
31351
31352 fi
31353 fi
31354
31355 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31356 # socket/setsockopt and other routines are undefined under SCO ODT
31357 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31358 # on later versions), says Simon Leinen: it contains gethostby*
31359 # variants that don't use the name server (or something). -lsocket
31360 # must be given before -lnsl if both are needed. We assume that
31361 # if connect needs -lnsl, so does gethostbyname.
31362 { echo "$as_me:$LINENO: checking for connect" >&5
31363 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31364 if test "${ac_cv_func_connect+set}" = set; then
31365 echo $ECHO_N "(cached) $ECHO_C" >&6
31366 else
31367 cat >conftest.$ac_ext <<_ACEOF
31368 /* confdefs.h. */
31369 _ACEOF
31370 cat confdefs.h >>conftest.$ac_ext
31371 cat >>conftest.$ac_ext <<_ACEOF
31372 /* end confdefs.h. */
31373 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31375 #define connect innocuous_connect
31376
31377 /* System header to define __stub macros and hopefully few prototypes,
31378 which can conflict with char connect (); below.
31379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31380 <limits.h> exists even on freestanding compilers. */
31381
31382 #ifdef __STDC__
31383 # include <limits.h>
31384 #else
31385 # include <assert.h>
31386 #endif
31387
31388 #undef connect
31389
31390 /* Override any GCC internal prototype to avoid an error.
31391 Use char because int might match the return type of a GCC
31392 builtin and then its argument prototype would still apply. */
31393 #ifdef __cplusplus
31394 extern "C"
31395 #endif
31396 char connect ();
31397 /* The GNU C library defines this for functions which it implements
31398 to always fail with ENOSYS. Some functions are actually named
31399 something starting with __ and the normal name is an alias. */
31400 #if defined __stub_connect || defined __stub___connect
31401 choke me
31402 #endif
31403
31404 int
31405 main ()
31406 {
31407 return connect ();
31408 ;
31409 return 0;
31410 }
31411 _ACEOF
31412 rm -f conftest.$ac_objext conftest$ac_exeext
31413 if { (ac_try="$ac_link"
31414 case "(($ac_try" in
31415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31416 *) ac_try_echo=$ac_try;;
31417 esac
31418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31419 (eval "$ac_link") 2>conftest.er1
31420 ac_status=$?
31421 grep -v '^ *+' conftest.er1 >conftest.err
31422 rm -f conftest.er1
31423 cat conftest.err >&5
31424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31425 (exit $ac_status); } && {
31426 test -z "$ac_c_werror_flag" ||
31427 test ! -s conftest.err
31428 } && test -s conftest$ac_exeext &&
31429 $as_test_x conftest$ac_exeext; then
31430 ac_cv_func_connect=yes
31431 else
31432 echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.$ac_ext >&5
31434
31435 ac_cv_func_connect=no
31436 fi
31437
31438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31439 conftest$ac_exeext conftest.$ac_ext
31440 fi
31441 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31442 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31443
31444 if test $ac_cv_func_connect = no; then
31445 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31446 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31447 if test "${ac_cv_lib_socket_connect+set}" = set; then
31448 echo $ECHO_N "(cached) $ECHO_C" >&6
31449 else
31450 ac_check_lib_save_LIBS=$LIBS
31451 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31452 cat >conftest.$ac_ext <<_ACEOF
31453 /* confdefs.h. */
31454 _ACEOF
31455 cat confdefs.h >>conftest.$ac_ext
31456 cat >>conftest.$ac_ext <<_ACEOF
31457 /* end confdefs.h. */
31458
31459 /* Override any GCC internal prototype to avoid an error.
31460 Use char because int might match the return type of a GCC
31461 builtin and then its argument prototype would still apply. */
31462 #ifdef __cplusplus
31463 extern "C"
31464 #endif
31465 char connect ();
31466 int
31467 main ()
31468 {
31469 return connect ();
31470 ;
31471 return 0;
31472 }
31473 _ACEOF
31474 rm -f conftest.$ac_objext conftest$ac_exeext
31475 if { (ac_try="$ac_link"
31476 case "(($ac_try" in
31477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31478 *) ac_try_echo=$ac_try;;
31479 esac
31480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31481 (eval "$ac_link") 2>conftest.er1
31482 ac_status=$?
31483 grep -v '^ *+' conftest.er1 >conftest.err
31484 rm -f conftest.er1
31485 cat conftest.err >&5
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); } && {
31488 test -z "$ac_c_werror_flag" ||
31489 test ! -s conftest.err
31490 } && test -s conftest$ac_exeext &&
31491 $as_test_x conftest$ac_exeext; then
31492 ac_cv_lib_socket_connect=yes
31493 else
31494 echo "$as_me: failed program was:" >&5
31495 sed 's/^/| /' conftest.$ac_ext >&5
31496
31497 ac_cv_lib_socket_connect=no
31498 fi
31499
31500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31501 conftest$ac_exeext conftest.$ac_ext
31502 LIBS=$ac_check_lib_save_LIBS
31503 fi
31504 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31505 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31506 if test $ac_cv_lib_socket_connect = yes; then
31507 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31508 fi
31509
31510 fi
31511
31512 # Guillermo Gomez says -lposix is necessary on A/UX.
31513 { echo "$as_me:$LINENO: checking for remove" >&5
31514 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31515 if test "${ac_cv_func_remove+set}" = set; then
31516 echo $ECHO_N "(cached) $ECHO_C" >&6
31517 else
31518 cat >conftest.$ac_ext <<_ACEOF
31519 /* confdefs.h. */
31520 _ACEOF
31521 cat confdefs.h >>conftest.$ac_ext
31522 cat >>conftest.$ac_ext <<_ACEOF
31523 /* end confdefs.h. */
31524 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31526 #define remove innocuous_remove
31527
31528 /* System header to define __stub macros and hopefully few prototypes,
31529 which can conflict with char remove (); below.
31530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31531 <limits.h> exists even on freestanding compilers. */
31532
31533 #ifdef __STDC__
31534 # include <limits.h>
31535 #else
31536 # include <assert.h>
31537 #endif
31538
31539 #undef remove
31540
31541 /* Override any GCC internal prototype to avoid an error.
31542 Use char because int might match the return type of a GCC
31543 builtin and then its argument prototype would still apply. */
31544 #ifdef __cplusplus
31545 extern "C"
31546 #endif
31547 char remove ();
31548 /* The GNU C library defines this for functions which it implements
31549 to always fail with ENOSYS. Some functions are actually named
31550 something starting with __ and the normal name is an alias. */
31551 #if defined __stub_remove || defined __stub___remove
31552 choke me
31553 #endif
31554
31555 int
31556 main ()
31557 {
31558 return remove ();
31559 ;
31560 return 0;
31561 }
31562 _ACEOF
31563 rm -f conftest.$ac_objext conftest$ac_exeext
31564 if { (ac_try="$ac_link"
31565 case "(($ac_try" in
31566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31567 *) ac_try_echo=$ac_try;;
31568 esac
31569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31570 (eval "$ac_link") 2>conftest.er1
31571 ac_status=$?
31572 grep -v '^ *+' conftest.er1 >conftest.err
31573 rm -f conftest.er1
31574 cat conftest.err >&5
31575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31576 (exit $ac_status); } && {
31577 test -z "$ac_c_werror_flag" ||
31578 test ! -s conftest.err
31579 } && test -s conftest$ac_exeext &&
31580 $as_test_x conftest$ac_exeext; then
31581 ac_cv_func_remove=yes
31582 else
31583 echo "$as_me: failed program was:" >&5
31584 sed 's/^/| /' conftest.$ac_ext >&5
31585
31586 ac_cv_func_remove=no
31587 fi
31588
31589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31590 conftest$ac_exeext conftest.$ac_ext
31591 fi
31592 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31593 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31594
31595 if test $ac_cv_func_remove = no; then
31596 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31597 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31598 if test "${ac_cv_lib_posix_remove+set}" = set; then
31599 echo $ECHO_N "(cached) $ECHO_C" >&6
31600 else
31601 ac_check_lib_save_LIBS=$LIBS
31602 LIBS="-lposix $LIBS"
31603 cat >conftest.$ac_ext <<_ACEOF
31604 /* confdefs.h. */
31605 _ACEOF
31606 cat confdefs.h >>conftest.$ac_ext
31607 cat >>conftest.$ac_ext <<_ACEOF
31608 /* end confdefs.h. */
31609
31610 /* Override any GCC internal prototype to avoid an error.
31611 Use char because int might match the return type of a GCC
31612 builtin and then its argument prototype would still apply. */
31613 #ifdef __cplusplus
31614 extern "C"
31615 #endif
31616 char remove ();
31617 int
31618 main ()
31619 {
31620 return remove ();
31621 ;
31622 return 0;
31623 }
31624 _ACEOF
31625 rm -f conftest.$ac_objext conftest$ac_exeext
31626 if { (ac_try="$ac_link"
31627 case "(($ac_try" in
31628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31629 *) ac_try_echo=$ac_try;;
31630 esac
31631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31632 (eval "$ac_link") 2>conftest.er1
31633 ac_status=$?
31634 grep -v '^ *+' conftest.er1 >conftest.err
31635 rm -f conftest.er1
31636 cat conftest.err >&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); } && {
31639 test -z "$ac_c_werror_flag" ||
31640 test ! -s conftest.err
31641 } && test -s conftest$ac_exeext &&
31642 $as_test_x conftest$ac_exeext; then
31643 ac_cv_lib_posix_remove=yes
31644 else
31645 echo "$as_me: failed program was:" >&5
31646 sed 's/^/| /' conftest.$ac_ext >&5
31647
31648 ac_cv_lib_posix_remove=no
31649 fi
31650
31651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31652 conftest$ac_exeext conftest.$ac_ext
31653 LIBS=$ac_check_lib_save_LIBS
31654 fi
31655 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31656 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31657 if test $ac_cv_lib_posix_remove = yes; then
31658 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31659 fi
31660
31661 fi
31662
31663 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31664 { echo "$as_me:$LINENO: checking for shmat" >&5
31665 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31666 if test "${ac_cv_func_shmat+set}" = set; then
31667 echo $ECHO_N "(cached) $ECHO_C" >&6
31668 else
31669 cat >conftest.$ac_ext <<_ACEOF
31670 /* confdefs.h. */
31671 _ACEOF
31672 cat confdefs.h >>conftest.$ac_ext
31673 cat >>conftest.$ac_ext <<_ACEOF
31674 /* end confdefs.h. */
31675 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31677 #define shmat innocuous_shmat
31678
31679 /* System header to define __stub macros and hopefully few prototypes,
31680 which can conflict with char shmat (); below.
31681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31682 <limits.h> exists even on freestanding compilers. */
31683
31684 #ifdef __STDC__
31685 # include <limits.h>
31686 #else
31687 # include <assert.h>
31688 #endif
31689
31690 #undef shmat
31691
31692 /* Override any GCC internal prototype to avoid an error.
31693 Use char because int might match the return type of a GCC
31694 builtin and then its argument prototype would still apply. */
31695 #ifdef __cplusplus
31696 extern "C"
31697 #endif
31698 char shmat ();
31699 /* The GNU C library defines this for functions which it implements
31700 to always fail with ENOSYS. Some functions are actually named
31701 something starting with __ and the normal name is an alias. */
31702 #if defined __stub_shmat || defined __stub___shmat
31703 choke me
31704 #endif
31705
31706 int
31707 main ()
31708 {
31709 return shmat ();
31710 ;
31711 return 0;
31712 }
31713 _ACEOF
31714 rm -f conftest.$ac_objext conftest$ac_exeext
31715 if { (ac_try="$ac_link"
31716 case "(($ac_try" in
31717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31718 *) ac_try_echo=$ac_try;;
31719 esac
31720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31721 (eval "$ac_link") 2>conftest.er1
31722 ac_status=$?
31723 grep -v '^ *+' conftest.er1 >conftest.err
31724 rm -f conftest.er1
31725 cat conftest.err >&5
31726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31727 (exit $ac_status); } && {
31728 test -z "$ac_c_werror_flag" ||
31729 test ! -s conftest.err
31730 } && test -s conftest$ac_exeext &&
31731 $as_test_x conftest$ac_exeext; then
31732 ac_cv_func_shmat=yes
31733 else
31734 echo "$as_me: failed program was:" >&5
31735 sed 's/^/| /' conftest.$ac_ext >&5
31736
31737 ac_cv_func_shmat=no
31738 fi
31739
31740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31741 conftest$ac_exeext conftest.$ac_ext
31742 fi
31743 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31744 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31745
31746 if test $ac_cv_func_shmat = no; then
31747 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31748 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31749 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31750 echo $ECHO_N "(cached) $ECHO_C" >&6
31751 else
31752 ac_check_lib_save_LIBS=$LIBS
31753 LIBS="-lipc $LIBS"
31754 cat >conftest.$ac_ext <<_ACEOF
31755 /* confdefs.h. */
31756 _ACEOF
31757 cat confdefs.h >>conftest.$ac_ext
31758 cat >>conftest.$ac_ext <<_ACEOF
31759 /* end confdefs.h. */
31760
31761 /* Override any GCC internal prototype to avoid an error.
31762 Use char because int might match the return type of a GCC
31763 builtin and then its argument prototype would still apply. */
31764 #ifdef __cplusplus
31765 extern "C"
31766 #endif
31767 char shmat ();
31768 int
31769 main ()
31770 {
31771 return shmat ();
31772 ;
31773 return 0;
31774 }
31775 _ACEOF
31776 rm -f conftest.$ac_objext conftest$ac_exeext
31777 if { (ac_try="$ac_link"
31778 case "(($ac_try" in
31779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31780 *) ac_try_echo=$ac_try;;
31781 esac
31782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31783 (eval "$ac_link") 2>conftest.er1
31784 ac_status=$?
31785 grep -v '^ *+' conftest.er1 >conftest.err
31786 rm -f conftest.er1
31787 cat conftest.err >&5
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); } && {
31790 test -z "$ac_c_werror_flag" ||
31791 test ! -s conftest.err
31792 } && test -s conftest$ac_exeext &&
31793 $as_test_x conftest$ac_exeext; then
31794 ac_cv_lib_ipc_shmat=yes
31795 else
31796 echo "$as_me: failed program was:" >&5
31797 sed 's/^/| /' conftest.$ac_ext >&5
31798
31799 ac_cv_lib_ipc_shmat=no
31800 fi
31801
31802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31803 conftest$ac_exeext conftest.$ac_ext
31804 LIBS=$ac_check_lib_save_LIBS
31805 fi
31806 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31807 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31808 if test $ac_cv_lib_ipc_shmat = yes; then
31809 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31810 fi
31811
31812 fi
31813 fi
31814
31815 # Check for libraries that X11R6 Xt/Xaw programs need.
31816 ac_save_LDFLAGS=$LDFLAGS
31817 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31818 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31819 # check for ICE first), but we must link in the order -lSM -lICE or
31820 # we get undefined symbols. So assume we have SM if we have ICE.
31821 # These have to be linked with before -lX11, unlike the other
31822 # libraries we check for below, so use a different variable.
31823 # John Interrante, Karl Berry
31824 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31825 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31826 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31827 echo $ECHO_N "(cached) $ECHO_C" >&6
31828 else
31829 ac_check_lib_save_LIBS=$LIBS
31830 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31831 cat >conftest.$ac_ext <<_ACEOF
31832 /* confdefs.h. */
31833 _ACEOF
31834 cat confdefs.h >>conftest.$ac_ext
31835 cat >>conftest.$ac_ext <<_ACEOF
31836 /* end confdefs.h. */
31837
31838 /* Override any GCC internal prototype to avoid an error.
31839 Use char because int might match the return type of a GCC
31840 builtin and then its argument prototype would still apply. */
31841 #ifdef __cplusplus
31842 extern "C"
31843 #endif
31844 char IceConnectionNumber ();
31845 int
31846 main ()
31847 {
31848 return IceConnectionNumber ();
31849 ;
31850 return 0;
31851 }
31852 _ACEOF
31853 rm -f conftest.$ac_objext conftest$ac_exeext
31854 if { (ac_try="$ac_link"
31855 case "(($ac_try" in
31856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31857 *) ac_try_echo=$ac_try;;
31858 esac
31859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31860 (eval "$ac_link") 2>conftest.er1
31861 ac_status=$?
31862 grep -v '^ *+' conftest.er1 >conftest.err
31863 rm -f conftest.er1
31864 cat conftest.err >&5
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); } && {
31867 test -z "$ac_c_werror_flag" ||
31868 test ! -s conftest.err
31869 } && test -s conftest$ac_exeext &&
31870 $as_test_x conftest$ac_exeext; then
31871 ac_cv_lib_ICE_IceConnectionNumber=yes
31872 else
31873 echo "$as_me: failed program was:" >&5
31874 sed 's/^/| /' conftest.$ac_ext >&5
31875
31876 ac_cv_lib_ICE_IceConnectionNumber=no
31877 fi
31878
31879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31880 conftest$ac_exeext conftest.$ac_ext
31881 LIBS=$ac_check_lib_save_LIBS
31882 fi
31883 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31884 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31885 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31886 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31887 fi
31888
31889 LDFLAGS=$ac_save_LDFLAGS
31890
31891 fi
31892
31893
31894 if test "$no_x" = "yes"; then
31895 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31896 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31897 { (exit 1); exit 1; }; }
31898 fi
31899
31900 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31901 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31902 AFMINSTALL=afminstall
31903 COMPILED_X_PROGRAM=0
31904
31905 fi
31906
31907 if test "$wxUSE_X11" = 1; then
31908 if test "$wxUSE_NANOX" = "yes"; then
31909 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31910 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31911 if test "x$MICROWIN" = x ; then
31912 { echo "$as_me:$LINENO: result: not found" >&5
31913 echo "${ECHO_T}not found" >&6; }
31914 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31915 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31916 { (exit 1); exit 1; }; }
31917 else
31918 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31919 echo "${ECHO_T}$MICROWIN" >&6; }
31920 cat >>confdefs.h <<\_ACEOF
31921 #define wxUSE_NANOX 1
31922 _ACEOF
31923
31924 fi
31925 fi
31926
31927 if test "$wxUSE_UNICODE" = "yes"; then
31928
31929
31930 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31931 if test -n "$ac_tool_prefix"; then
31932 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31933 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31936 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31937 echo $ECHO_N "(cached) $ECHO_C" >&6
31938 else
31939 case $PKG_CONFIG in
31940 [\\/]* | ?:[\\/]*)
31941 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31942 ;;
31943 *)
31944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31945 for as_dir in $PATH
31946 do
31947 IFS=$as_save_IFS
31948 test -z "$as_dir" && as_dir=.
31949 for ac_exec_ext in '' $ac_executable_extensions; do
31950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31951 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31953 break 2
31954 fi
31955 done
31956 done
31957 IFS=$as_save_IFS
31958
31959 ;;
31960 esac
31961 fi
31962 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31963 if test -n "$PKG_CONFIG"; then
31964 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31965 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31966 else
31967 { echo "$as_me:$LINENO: result: no" >&5
31968 echo "${ECHO_T}no" >&6; }
31969 fi
31970
31971
31972 fi
31973 if test -z "$ac_cv_path_PKG_CONFIG"; then
31974 ac_pt_PKG_CONFIG=$PKG_CONFIG
31975 # Extract the first word of "pkg-config", so it can be a program name with args.
31976 set dummy pkg-config; ac_word=$2
31977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31979 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31980 echo $ECHO_N "(cached) $ECHO_C" >&6
31981 else
31982 case $ac_pt_PKG_CONFIG in
31983 [\\/]* | ?:[\\/]*)
31984 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31985 ;;
31986 *)
31987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31988 for as_dir in $PATH
31989 do
31990 IFS=$as_save_IFS
31991 test -z "$as_dir" && as_dir=.
31992 for ac_exec_ext in '' $ac_executable_extensions; do
31993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31994 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31996 break 2
31997 fi
31998 done
31999 done
32000 IFS=$as_save_IFS
32001
32002 ;;
32003 esac
32004 fi
32005 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32006 if test -n "$ac_pt_PKG_CONFIG"; then
32007 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32008 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32009 else
32010 { echo "$as_me:$LINENO: result: no" >&5
32011 echo "${ECHO_T}no" >&6; }
32012 fi
32013
32014 if test "x$ac_pt_PKG_CONFIG" = x; then
32015 PKG_CONFIG=""
32016 else
32017 case $cross_compiling:$ac_tool_warned in
32018 yes:)
32019 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32020 whose name does not start with the host triplet. If you think this
32021 configuration is useful to you, please write to autoconf@gnu.org." >&5
32022 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32023 whose name does not start with the host triplet. If you think this
32024 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32025 ac_tool_warned=yes ;;
32026 esac
32027 PKG_CONFIG=$ac_pt_PKG_CONFIG
32028 fi
32029 else
32030 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32031 fi
32032
32033 fi
32034 if test -n "$PKG_CONFIG"; then
32035 _pkg_min_version=0.9.0
32036 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32037 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32038 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32039 { echo "$as_me:$LINENO: result: yes" >&5
32040 echo "${ECHO_T}yes" >&6; }
32041 else
32042 { echo "$as_me:$LINENO: result: no" >&5
32043 echo "${ECHO_T}no" >&6; }
32044 PKG_CONFIG=""
32045 fi
32046
32047 fi
32048
32049
32050 pkg_failed=no
32051 { echo "$as_me:$LINENO: checking for PANGOX" >&5
32052 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
32053
32054 if test -n "$PKG_CONFIG"; then
32055 if test -n "$PANGOX_CFLAGS"; then
32056 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32057 else
32058 if test -n "$PKG_CONFIG" && \
32059 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32060 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32061 ac_status=$?
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); }; then
32064 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32065 else
32066 pkg_failed=yes
32067 fi
32068 fi
32069 else
32070 pkg_failed=untried
32071 fi
32072 if test -n "$PKG_CONFIG"; then
32073 if test -n "$PANGOX_LIBS"; then
32074 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32075 else
32076 if test -n "$PKG_CONFIG" && \
32077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32078 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32079 ac_status=$?
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); }; then
32082 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32083 else
32084 pkg_failed=yes
32085 fi
32086 fi
32087 else
32088 pkg_failed=untried
32089 fi
32090
32091
32092
32093 if test $pkg_failed = yes; then
32094
32095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32096 _pkg_short_errors_supported=yes
32097 else
32098 _pkg_short_errors_supported=no
32099 fi
32100 if test $_pkg_short_errors_supported = yes; then
32101 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32102 else
32103 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32104 fi
32105 # Put the nasty error message in config.log where it belongs
32106 echo "$PANGOX_PKG_ERRORS" >&5
32107
32108
32109 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32110 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32111 { (exit 1); exit 1; }; }
32112
32113
32114 elif test $pkg_failed = untried; then
32115
32116 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32117 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32118 { (exit 1); exit 1; }; }
32119
32120
32121 else
32122 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32123 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32124 { echo "$as_me:$LINENO: result: yes" >&5
32125 echo "${ECHO_T}yes" >&6; }
32126
32127 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32128 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32129 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32130
32131 fi
32132
32133 pkg_failed=no
32134 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32135 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
32136
32137 if test -n "$PKG_CONFIG"; then
32138 if test -n "$PANGOFT2_CFLAGS"; then
32139 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32140 else
32141 if test -n "$PKG_CONFIG" && \
32142 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32143 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32144 ac_status=$?
32145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32146 (exit $ac_status); }; then
32147 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32148 else
32149 pkg_failed=yes
32150 fi
32151 fi
32152 else
32153 pkg_failed=untried
32154 fi
32155 if test -n "$PKG_CONFIG"; then
32156 if test -n "$PANGOFT2_LIBS"; then
32157 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32158 else
32159 if test -n "$PKG_CONFIG" && \
32160 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32161 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32162 ac_status=$?
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); }; then
32165 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32166 else
32167 pkg_failed=yes
32168 fi
32169 fi
32170 else
32171 pkg_failed=untried
32172 fi
32173
32174
32175
32176 if test $pkg_failed = yes; then
32177
32178 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32179 _pkg_short_errors_supported=yes
32180 else
32181 _pkg_short_errors_supported=no
32182 fi
32183 if test $_pkg_short_errors_supported = yes; then
32184 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32185 else
32186 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32187 fi
32188 # Put the nasty error message in config.log where it belongs
32189 echo "$PANGOFT2_PKG_ERRORS" >&5
32190
32191
32192 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32193 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32194 wxUSE_PRINTING_ARCHITECTURE="no"
32195
32196
32197 elif test $pkg_failed = untried; then
32198
32199 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32200 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32201 wxUSE_PRINTING_ARCHITECTURE="no"
32202
32203
32204 else
32205 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32206 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32207 { echo "$as_me:$LINENO: result: yes" >&5
32208 echo "${ECHO_T}yes" >&6; }
32209
32210 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32211 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32212 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32213
32214 fi
32215
32216 pkg_failed=no
32217 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32218 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
32219
32220 if test -n "$PKG_CONFIG"; then
32221 if test -n "$PANGOXFT_CFLAGS"; then
32222 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32223 else
32224 if test -n "$PKG_CONFIG" && \
32225 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32226 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32227 ac_status=$?
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); }; then
32230 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32231 else
32232 pkg_failed=yes
32233 fi
32234 fi
32235 else
32236 pkg_failed=untried
32237 fi
32238 if test -n "$PKG_CONFIG"; then
32239 if test -n "$PANGOXFT_LIBS"; then
32240 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32241 else
32242 if test -n "$PKG_CONFIG" && \
32243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32244 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32245 ac_status=$?
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); }; then
32248 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32249 else
32250 pkg_failed=yes
32251 fi
32252 fi
32253 else
32254 pkg_failed=untried
32255 fi
32256
32257
32258
32259 if test $pkg_failed = yes; then
32260
32261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32262 _pkg_short_errors_supported=yes
32263 else
32264 _pkg_short_errors_supported=no
32265 fi
32266 if test $_pkg_short_errors_supported = yes; then
32267 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32268 else
32269 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32270 fi
32271 # Put the nasty error message in config.log where it belongs
32272 echo "$PANGOXFT_PKG_ERRORS" >&5
32273
32274
32275 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32276 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32277
32278
32279 elif test $pkg_failed = untried; then
32280
32281 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32282 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32283
32284
32285 else
32286 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32287 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32288 { echo "$as_me:$LINENO: result: yes" >&5
32289 echo "${ECHO_T}yes" >&6; }
32290
32291 cat >>confdefs.h <<\_ACEOF
32292 #define HAVE_PANGO_XFT 1
32293 _ACEOF
32294
32295 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32296 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32297 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32298
32299 fi
32300 save_LIBS="$LIBS"
32301 LIBS="$LIBS $PANGOX_LIBS"
32302
32303 for ac_func in pango_font_family_is_monospace
32304 do
32305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32306 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32308 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32309 echo $ECHO_N "(cached) $ECHO_C" >&6
32310 else
32311 cat >conftest.$ac_ext <<_ACEOF
32312 /* confdefs.h. */
32313 _ACEOF
32314 cat confdefs.h >>conftest.$ac_ext
32315 cat >>conftest.$ac_ext <<_ACEOF
32316 /* end confdefs.h. */
32317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32319 #define $ac_func innocuous_$ac_func
32320
32321 /* System header to define __stub macros and hopefully few prototypes,
32322 which can conflict with char $ac_func (); below.
32323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32324 <limits.h> exists even on freestanding compilers. */
32325
32326 #ifdef __STDC__
32327 # include <limits.h>
32328 #else
32329 # include <assert.h>
32330 #endif
32331
32332 #undef $ac_func
32333
32334 /* Override any GCC internal prototype to avoid an error.
32335 Use char because int might match the return type of a GCC
32336 builtin and then its argument prototype would still apply. */
32337 #ifdef __cplusplus
32338 extern "C"
32339 #endif
32340 char $ac_func ();
32341 /* The GNU C library defines this for functions which it implements
32342 to always fail with ENOSYS. Some functions are actually named
32343 something starting with __ and the normal name is an alias. */
32344 #if defined __stub_$ac_func || defined __stub___$ac_func
32345 choke me
32346 #endif
32347
32348 int
32349 main ()
32350 {
32351 return $ac_func ();
32352 ;
32353 return 0;
32354 }
32355 _ACEOF
32356 rm -f conftest.$ac_objext conftest$ac_exeext
32357 if { (ac_try="$ac_link"
32358 case "(($ac_try" in
32359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32360 *) ac_try_echo=$ac_try;;
32361 esac
32362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32363 (eval "$ac_link") 2>conftest.er1
32364 ac_status=$?
32365 grep -v '^ *+' conftest.er1 >conftest.err
32366 rm -f conftest.er1
32367 cat conftest.err >&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); } && {
32370 test -z "$ac_c_werror_flag" ||
32371 test ! -s conftest.err
32372 } && test -s conftest$ac_exeext &&
32373 $as_test_x conftest$ac_exeext; then
32374 eval "$as_ac_var=yes"
32375 else
32376 echo "$as_me: failed program was:" >&5
32377 sed 's/^/| /' conftest.$ac_ext >&5
32378
32379 eval "$as_ac_var=no"
32380 fi
32381
32382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32383 conftest$ac_exeext conftest.$ac_ext
32384 fi
32385 ac_res=`eval echo '${'$as_ac_var'}'`
32386 { echo "$as_me:$LINENO: result: $ac_res" >&5
32387 echo "${ECHO_T}$ac_res" >&6; }
32388 if test `eval echo '${'$as_ac_var'}'` = yes; then
32389 cat >>confdefs.h <<_ACEOF
32390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32391 _ACEOF
32392
32393 fi
32394 done
32395
32396 LIBS="$save_LIBS"
32397 fi
32398
32399 wxUSE_UNIVERSAL="yes"
32400
32401 if test "$wxUSE_NANOX" = "yes"; then
32402 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32403 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"
32404 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32405 else
32406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32407 fi
32408
32409 TOOLKIT=X11
32410 GUIDIST=X11_DIST
32411 fi
32412
32413 if test "$wxUSE_MOTIF" = 1; then
32414 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32415 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32416
32417 ac_find_includes=
32418 for ac_dir in $SEARCH_INCLUDE /usr/include;
32419 do
32420 if test -f "$ac_dir/Xm/Xm.h"; then
32421 ac_find_includes=$ac_dir
32422 break
32423 fi
32424 done
32425
32426 if test "$ac_find_includes" != "" ; then
32427 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32428 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32429
32430 if test "x$ac_find_includes" = "x/usr/include"; then
32431 ac_path_to_include=""
32432 else
32433 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32434 result=$?
32435 if test $result = 0; then
32436 ac_path_to_include=""
32437 else
32438 ac_path_to_include=" -I$ac_find_includes"
32439 fi
32440 fi
32441
32442 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32443 else
32444 save_CFLAGS=$CFLAGS
32445 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32446
32447 cat >conftest.$ac_ext <<_ACEOF
32448 /* confdefs.h. */
32449 _ACEOF
32450 cat confdefs.h >>conftest.$ac_ext
32451 cat >>conftest.$ac_ext <<_ACEOF
32452 /* end confdefs.h. */
32453
32454 #include <Xm/Xm.h>
32455
32456 int
32457 main ()
32458 {
32459
32460 int version;
32461 version = xmUseVersion;
32462
32463 ;
32464 return 0;
32465 }
32466 _ACEOF
32467 rm -f conftest.$ac_objext
32468 if { (ac_try="$ac_compile"
32469 case "(($ac_try" in
32470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32471 *) ac_try_echo=$ac_try;;
32472 esac
32473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32474 (eval "$ac_compile") 2>conftest.er1
32475 ac_status=$?
32476 grep -v '^ *+' conftest.er1 >conftest.err
32477 rm -f conftest.er1
32478 cat conftest.err >&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); } && {
32481 test -z "$ac_c_werror_flag" ||
32482 test ! -s conftest.err
32483 } && test -s conftest.$ac_objext; then
32484
32485 { echo "$as_me:$LINENO: result: found in default search path" >&5
32486 echo "${ECHO_T}found in default search path" >&6; }
32487 COMPILED_X_PROGRAM=1
32488
32489 else
32490 echo "$as_me: failed program was:" >&5
32491 sed 's/^/| /' conftest.$ac_ext >&5
32492
32493
32494 { echo "$as_me:$LINENO: result: no" >&5
32495 echo "${ECHO_T}no" >&6; }
32496 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32497 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32498 { (exit 1); exit 1; }; }
32499
32500
32501 fi
32502
32503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32504
32505 CFLAGS=$save_CFLAGS
32506 fi
32507
32508
32509 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32510 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32511
32512 ac_find_libraries=
32513 for ac_dir in $SEARCH_LIB;
32514 do
32515 for ac_extension in a so sl dylib dll.a; do
32516 if test -f "$ac_dir/libXm.$ac_extension"; then
32517 ac_find_libraries=$ac_dir
32518 break 2
32519 fi
32520 done
32521 done
32522
32523
32524 if test "x$ac_find_libraries" != "x" ; then
32525 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32526 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32527
32528
32529 if test "$ac_find_libraries" = "default location"; then
32530 ac_path_to_link=""
32531 else
32532 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32533 result=$?
32534 if test $result = 0; then
32535 ac_path_to_link=""
32536 else
32537 ac_path_to_link=" -L$ac_find_libraries"
32538 fi
32539 fi
32540
32541 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32542 else
32543 save_CFLAGS=$CFLAGS
32544 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32545 save_LIBS="$LIBS"
32546 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32547
32548 cat >conftest.$ac_ext <<_ACEOF
32549 /* confdefs.h. */
32550 _ACEOF
32551 cat confdefs.h >>conftest.$ac_ext
32552 cat >>conftest.$ac_ext <<_ACEOF
32553 /* end confdefs.h. */
32554
32555 #include <Xm/Xm.h>
32556
32557 int
32558 main ()
32559 {
32560
32561 int version;
32562 version = xmUseVersion;
32563
32564 ;
32565 return 0;
32566 }
32567 _ACEOF
32568 rm -f conftest.$ac_objext conftest$ac_exeext
32569 if { (ac_try="$ac_link"
32570 case "(($ac_try" in
32571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32572 *) ac_try_echo=$ac_try;;
32573 esac
32574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32575 (eval "$ac_link") 2>conftest.er1
32576 ac_status=$?
32577 grep -v '^ *+' conftest.er1 >conftest.err
32578 rm -f conftest.er1
32579 cat conftest.err >&5
32580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 (exit $ac_status); } && {
32582 test -z "$ac_c_werror_flag" ||
32583 test ! -s conftest.err
32584 } && test -s conftest$ac_exeext &&
32585 $as_test_x conftest$ac_exeext; then
32586
32587 { echo "$as_me:$LINENO: result: found in default search path" >&5
32588 echo "${ECHO_T}found in default search path" >&6; }
32589 COMPILED_X_PROGRAM=1
32590
32591 else
32592 echo "$as_me: failed program was:" >&5
32593 sed 's/^/| /' conftest.$ac_ext >&5
32594
32595
32596 { echo "$as_me:$LINENO: result: no" >&5
32597 echo "${ECHO_T}no" >&6; }
32598 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32599 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32600 { (exit 1); exit 1; }; }
32601
32602
32603 fi
32604
32605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32606 conftest$ac_exeext conftest.$ac_ext
32607
32608 CFLAGS=$save_CFLAGS
32609 LIBS="$save_LIBS"
32610 fi
32611
32612 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32613 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32614 libp_link=""
32615 libsm_ice_link=""
32616 libs_found=0
32617 for libp in "" " -lXp"; do
32618 if test "$libs_found" = 0; then
32619 for libsm_ice in "" " -lSM -lICE"; do
32620 if test "$libs_found" = 0; then
32621 save_LIBS="$LIBS"
32622 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32623 save_CFLAGS=$CFLAGS
32624 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32625
32626 cat >conftest.$ac_ext <<_ACEOF
32627 /* confdefs.h. */
32628 _ACEOF
32629 cat confdefs.h >>conftest.$ac_ext
32630 cat >>conftest.$ac_ext <<_ACEOF
32631 /* end confdefs.h. */
32632
32633 #include <Xm/Xm.h>
32634 #include <Xm/List.h>
32635
32636 int
32637 main ()
32638 {
32639
32640 XmString string = NULL;
32641 Widget w = NULL;
32642 int position = 0;
32643 XmListAddItem(w, string, position);
32644
32645 ;
32646 return 0;
32647 }
32648 _ACEOF
32649 rm -f conftest.$ac_objext conftest$ac_exeext
32650 if { (ac_try="$ac_link"
32651 case "(($ac_try" in
32652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32653 *) ac_try_echo=$ac_try;;
32654 esac
32655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32656 (eval "$ac_link") 2>conftest.er1
32657 ac_status=$?
32658 grep -v '^ *+' conftest.er1 >conftest.err
32659 rm -f conftest.er1
32660 cat conftest.err >&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } && {
32663 test -z "$ac_c_werror_flag" ||
32664 test ! -s conftest.err
32665 } && test -s conftest$ac_exeext &&
32666 $as_test_x conftest$ac_exeext; then
32667
32668 libp_link="$libp"
32669 libsm_ice_link="$libsm_ice"
32670 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32671 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32672 libs_found=1
32673
32674 else
32675 echo "$as_me: failed program was:" >&5
32676 sed 's/^/| /' conftest.$ac_ext >&5
32677
32678
32679
32680 fi
32681
32682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32683 conftest$ac_exeext conftest.$ac_ext
32684
32685 LIBS="$save_LIBS"
32686 CFLAGS=$save_CFLAGS
32687 fi
32688 done
32689 fi
32690 done
32691
32692 if test "$libs_found" = 0; then
32693 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32694 echo "${ECHO_T}can't find the right libraries" >&6; }
32695 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32696 echo "$as_me: error: can't link a simple motif program" >&2;}
32697 { (exit 1); exit 1; }; }
32698 fi
32699
32700 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32701 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32702 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32703 echo $ECHO_N "(cached) $ECHO_C" >&6
32704 else
32705 ac_check_lib_save_LIBS=$LIBS
32706 LIBS="-lSgm $LIBS"
32707 cat >conftest.$ac_ext <<_ACEOF
32708 /* confdefs.h. */
32709 _ACEOF
32710 cat confdefs.h >>conftest.$ac_ext
32711 cat >>conftest.$ac_ext <<_ACEOF
32712 /* end confdefs.h. */
32713
32714 /* Override any GCC internal prototype to avoid an error.
32715 Use char because int might match the return type of a GCC
32716 builtin and then its argument prototype would still apply. */
32717 #ifdef __cplusplus
32718 extern "C"
32719 #endif
32720 char SgCreateList ();
32721 int
32722 main ()
32723 {
32724 return SgCreateList ();
32725 ;
32726 return 0;
32727 }
32728 _ACEOF
32729 rm -f conftest.$ac_objext conftest$ac_exeext
32730 if { (ac_try="$ac_link"
32731 case "(($ac_try" in
32732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32733 *) ac_try_echo=$ac_try;;
32734 esac
32735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32736 (eval "$ac_link") 2>conftest.er1
32737 ac_status=$?
32738 grep -v '^ *+' conftest.er1 >conftest.err
32739 rm -f conftest.er1
32740 cat conftest.err >&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); } && {
32743 test -z "$ac_c_werror_flag" ||
32744 test ! -s conftest.err
32745 } && test -s conftest$ac_exeext &&
32746 $as_test_x conftest$ac_exeext; then
32747 ac_cv_lib_Sgm_SgCreateList=yes
32748 else
32749 echo "$as_me: failed program was:" >&5
32750 sed 's/^/| /' conftest.$ac_ext >&5
32751
32752 ac_cv_lib_Sgm_SgCreateList=no
32753 fi
32754
32755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32756 conftest$ac_exeext conftest.$ac_ext
32757 LIBS=$ac_check_lib_save_LIBS
32758 fi
32759 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32760 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32761 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32762 libsgm_link=" -lSgm"
32763 fi
32764
32765
32766 save_CFLAGS=$CFLAGS
32767 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32768
32769 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32770 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32771 if test "${wx_cv_lib_motif2+set}" = set; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32773 else
32774 cat >conftest.$ac_ext <<_ACEOF
32775 /* confdefs.h. */
32776 _ACEOF
32777 cat confdefs.h >>conftest.$ac_ext
32778 cat >>conftest.$ac_ext <<_ACEOF
32779 /* end confdefs.h. */
32780
32781 #include <Xm/Xm.h>
32782
32783 int
32784 main ()
32785 {
32786
32787 #if XmVersion < 2000
32788 Not Motif 2
32789 #endif
32790
32791 ;
32792 return 0;
32793 }
32794 _ACEOF
32795 rm -f conftest.$ac_objext
32796 if { (ac_try="$ac_compile"
32797 case "(($ac_try" in
32798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32799 *) ac_try_echo=$ac_try;;
32800 esac
32801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32802 (eval "$ac_compile") 2>conftest.er1
32803 ac_status=$?
32804 grep -v '^ *+' conftest.er1 >conftest.err
32805 rm -f conftest.er1
32806 cat conftest.err >&5
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); } && {
32809 test -z "$ac_c_werror_flag" ||
32810 test ! -s conftest.err
32811 } && test -s conftest.$ac_objext; then
32812 wx_cv_lib_motif2="yes"
32813 else
32814 echo "$as_me: failed program was:" >&5
32815 sed 's/^/| /' conftest.$ac_ext >&5
32816
32817 wx_cv_lib_motif2="no"
32818 fi
32819
32820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32821 fi
32822 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32823 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32824 if test "$wx_cv_lib_motif2" = "yes"; then
32825 cat >>confdefs.h <<\_ACEOF
32826 #define __WXMOTIF20__ 1
32827 _ACEOF
32828
32829 else
32830 cat >>confdefs.h <<\_ACEOF
32831 #define __WXMOTIF20__ 0
32832 _ACEOF
32833
32834 fi
32835
32836 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32837 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32838 if test "${wx_cv_lib_lesstif+set}" = set; then
32839 echo $ECHO_N "(cached) $ECHO_C" >&6
32840 else
32841 cat >conftest.$ac_ext <<_ACEOF
32842 /* confdefs.h. */
32843 _ACEOF
32844 cat confdefs.h >>conftest.$ac_ext
32845 cat >>conftest.$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32847
32848 #include <Xm/Xm.h>
32849
32850 int
32851 main ()
32852 {
32853
32854 #if !defined(LesstifVersion) || LesstifVersion <= 0
32855 Not Lesstif
32856 #endif
32857
32858 ;
32859 return 0;
32860 }
32861 _ACEOF
32862 rm -f conftest.$ac_objext
32863 if { (ac_try="$ac_compile"
32864 case "(($ac_try" in
32865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32866 *) ac_try_echo=$ac_try;;
32867 esac
32868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32869 (eval "$ac_compile") 2>conftest.er1
32870 ac_status=$?
32871 grep -v '^ *+' conftest.er1 >conftest.err
32872 rm -f conftest.er1
32873 cat conftest.err >&5
32874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32875 (exit $ac_status); } && {
32876 test -z "$ac_c_werror_flag" ||
32877 test ! -s conftest.err
32878 } && test -s conftest.$ac_objext; then
32879 wx_cv_lib_lesstif="yes"
32880 else
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.$ac_ext >&5
32883
32884 wx_cv_lib_lesstif="no"
32885 fi
32886
32887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32888
32889 fi
32890 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32891 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32892 if test "$wx_cv_lib_lesstif" = "yes"; then
32893 cat >>confdefs.h <<\_ACEOF
32894 #define __WXLESSTIF__ 1
32895 _ACEOF
32896
32897 else
32898 cat >>confdefs.h <<\_ACEOF
32899 #define __WXLESSTIF__ 0
32900 _ACEOF
32901
32902 fi
32903
32904 CFLAGS=$save_CFLAGS
32905
32906 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32907 TOOLKIT=MOTIF
32908 GUIDIST=MOTIF_DIST
32909 fi
32910
32911 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32912 if test "$wxUSE_LIBXPM" = "sys"; then
32913 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32914 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32915
32916 ac_find_libraries=
32917 for ac_dir in $SEARCH_LIB;
32918 do
32919 for ac_extension in a so sl dylib dll.a; do
32920 if test -f "$ac_dir/libXpm.$ac_extension"; then
32921 ac_find_libraries=$ac_dir
32922 break 2
32923 fi
32924 done
32925 done
32926
32927 if test "$ac_find_libraries" != "" ; then
32928
32929 if test "$ac_find_libraries" = "default location"; then
32930 ac_path_to_link=""
32931 else
32932 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32933 result=$?
32934 if test $result = 0; then
32935 ac_path_to_link=""
32936 else
32937 ac_path_to_link=" -L$ac_find_libraries"
32938 fi
32939 fi
32940
32941 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32942 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32943 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32944
32945 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32946 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32947 if test "${wx_cv_x11_xpm_h+set}" = set; then
32948 echo $ECHO_N "(cached) $ECHO_C" >&6
32949 else
32950
32951 save_CFLAGS=$CFLAGS
32952 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32953
32954 cat >conftest.$ac_ext <<_ACEOF
32955 /* confdefs.h. */
32956 _ACEOF
32957 cat confdefs.h >>conftest.$ac_ext
32958 cat >>conftest.$ac_ext <<_ACEOF
32959 /* end confdefs.h. */
32960
32961 #include <X11/xpm.h>
32962
32963 int
32964 main ()
32965 {
32966
32967 int version;
32968 version = XpmLibraryVersion();
32969
32970 ;
32971 return 0;
32972 }
32973 _ACEOF
32974 rm -f conftest.$ac_objext
32975 if { (ac_try="$ac_compile"
32976 case "(($ac_try" in
32977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32978 *) ac_try_echo=$ac_try;;
32979 esac
32980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32981 (eval "$ac_compile") 2>conftest.er1
32982 ac_status=$?
32983 grep -v '^ *+' conftest.er1 >conftest.err
32984 rm -f conftest.er1
32985 cat conftest.err >&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); } && {
32988 test -z "$ac_c_werror_flag" ||
32989 test ! -s conftest.err
32990 } && test -s conftest.$ac_objext; then
32991 wx_cv_x11_xpm_h=yes
32992 else
32993 echo "$as_me: failed program was:" >&5
32994 sed 's/^/| /' conftest.$ac_ext >&5
32995
32996 wx_cv_x11_xpm_h=no
32997
32998 fi
32999
33000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33001
33002 CFLAGS=$save_CFLAGS
33003
33004
33005 fi
33006 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33007 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33008
33009 if test $wx_cv_x11_xpm_h = "yes"; then
33010 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33011 cat >>confdefs.h <<\_ACEOF
33012 #define wxHAVE_LIB_XPM 1
33013 _ACEOF
33014
33015 else
33016 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33017 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33018 fi
33019 fi
33020
33021 fi
33022
33023 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33024 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
33025 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33026 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 else
33028 ac_check_lib_save_LIBS=$LIBS
33029 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33030 cat >conftest.$ac_ext <<_ACEOF
33031 /* confdefs.h. */
33032 _ACEOF
33033 cat confdefs.h >>conftest.$ac_ext
33034 cat >>conftest.$ac_ext <<_ACEOF
33035 /* end confdefs.h. */
33036
33037 /* Override any GCC internal prototype to avoid an error.
33038 Use char because int might match the return type of a GCC
33039 builtin and then its argument prototype would still apply. */
33040 #ifdef __cplusplus
33041 extern "C"
33042 #endif
33043 char XShapeQueryExtension ();
33044 int
33045 main ()
33046 {
33047 return XShapeQueryExtension ();
33048 ;
33049 return 0;
33050 }
33051 _ACEOF
33052 rm -f conftest.$ac_objext conftest$ac_exeext
33053 if { (ac_try="$ac_link"
33054 case "(($ac_try" in
33055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33056 *) ac_try_echo=$ac_try;;
33057 esac
33058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33059 (eval "$ac_link") 2>conftest.er1
33060 ac_status=$?
33061 grep -v '^ *+' conftest.er1 >conftest.err
33062 rm -f conftest.er1
33063 cat conftest.err >&5
33064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33065 (exit $ac_status); } && {
33066 test -z "$ac_c_werror_flag" ||
33067 test ! -s conftest.err
33068 } && test -s conftest$ac_exeext &&
33069 $as_test_x conftest$ac_exeext; then
33070 ac_cv_lib_Xext_XShapeQueryExtension=yes
33071 else
33072 echo "$as_me: failed program was:" >&5
33073 sed 's/^/| /' conftest.$ac_ext >&5
33074
33075 ac_cv_lib_Xext_XShapeQueryExtension=no
33076 fi
33077
33078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33079 conftest$ac_exeext conftest.$ac_ext
33080 LIBS=$ac_check_lib_save_LIBS
33081 fi
33082 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33083 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
33084 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33085
33086 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33087 wxHAVE_XEXT_LIB=1
33088
33089 fi
33090
33091
33092 if test "$wxHAVE_XEXT_LIB" = 1; then
33093 save_CFLAGS="$CFLAGS"
33094 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33095
33096 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33097 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
33098 cat >conftest.$ac_ext <<_ACEOF
33099 /* confdefs.h. */
33100 _ACEOF
33101 cat confdefs.h >>conftest.$ac_ext
33102 cat >>conftest.$ac_ext <<_ACEOF
33103 /* end confdefs.h. */
33104
33105 #include <X11/Xlib.h>
33106 #include <X11/extensions/shape.h>
33107
33108 int
33109 main ()
33110 {
33111
33112 int dummy1, dummy2;
33113 XShapeQueryExtension((Display*)NULL,
33114 (int*)NULL, (int*)NULL);
33115
33116 ;
33117 return 0;
33118 }
33119 _ACEOF
33120 rm -f conftest.$ac_objext
33121 if { (ac_try="$ac_compile"
33122 case "(($ac_try" in
33123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33124 *) ac_try_echo=$ac_try;;
33125 esac
33126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33127 (eval "$ac_compile") 2>conftest.er1
33128 ac_status=$?
33129 grep -v '^ *+' conftest.er1 >conftest.err
33130 rm -f conftest.er1
33131 cat conftest.err >&5
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); } && {
33134 test -z "$ac_c_werror_flag" ||
33135 test ! -s conftest.err
33136 } && test -s conftest.$ac_objext; then
33137
33138 cat >>confdefs.h <<\_ACEOF
33139 #define HAVE_XSHAPE 1
33140 _ACEOF
33141
33142 { echo "$as_me:$LINENO: result: found" >&5
33143 echo "${ECHO_T}found" >&6; }
33144
33145 else
33146 echo "$as_me: failed program was:" >&5
33147 sed 's/^/| /' conftest.$ac_ext >&5
33148
33149
33150 { echo "$as_me:$LINENO: result: not found" >&5
33151 echo "${ECHO_T}not found" >&6; }
33152
33153 fi
33154
33155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33156 CFLAGS="$save_CFLAGS"
33157
33158 fi
33159 fi
33160
33161 if test "$wxUSE_OSX_CARBON" = 1; then
33162 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33163 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
33164 if test "$GCC" = yes; then
33165 { echo "$as_me:$LINENO: result: gcc" >&5
33166 echo "${ECHO_T}gcc" >&6; }
33167 CPPFLAGS_PASCAL="-fpascal-strings"
33168 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33169 { echo "$as_me:$LINENO: result: xlc" >&5
33170 echo "${ECHO_T}xlc" >&6; }
33171 CPPFLAGS_PASCAL="-qmacpstr"
33172 else
33173 { echo "$as_me:$LINENO: result: none" >&5
33174 echo "${ECHO_T}none" >&6; }
33175 fi
33176
33177 if test "x$wxUSE_UNIX" = "xyes"; then
33178 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33179 else
33180 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
33181 fi
33182
33183 TOOLKIT=OSX_CARBON
33184 GUIDIST=OSX_CARBON_DIST
33185 WXBASEPORT="_carbon"
33186
33187 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33188 fi
33189
33190 if test "$wxUSE_OSX_COCOA" = 1; then
33191 TOOLKIT=OSX_COCOA
33192 GUIDIST=OSX_COCOA_DIST
33193
33194 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
33195 fi
33196
33197 if test "$wxUSE_OSX_IPHONE" = 1; then
33198 TOOLKIT=OSX_IPHONE
33199 fi
33200
33201 if test "$wxUSE_OLD_COCOA" = 1; then
33202 TOOLKIT=COCOA
33203 GUIDIST=COCOA_DIST
33204 fi
33205
33206 if test "$wxUSE_PM" = 1; then
33207 TOOLKIT=PM
33208 GUIDIST=PM_DIST
33209 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33210 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
33211 if test "${wx_cv_spbcdata+set}" = set; then
33212 echo $ECHO_N "(cached) $ECHO_C" >&6
33213 else
33214
33215 cat >conftest.$ac_ext <<_ACEOF
33216 /* confdefs.h. */
33217 _ACEOF
33218 cat confdefs.h >>conftest.$ac_ext
33219 cat >>conftest.$ac_ext <<_ACEOF
33220 /* end confdefs.h. */
33221
33222 #define INCL_PM
33223 #include <os2.h>
33224
33225 int
33226 main ()
33227 {
33228
33229 SPBCDATA test;
33230
33231 ;
33232 return 0;
33233 }
33234 _ACEOF
33235 rm -f conftest.$ac_objext
33236 if { (ac_try="$ac_compile"
33237 case "(($ac_try" in
33238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33239 *) ac_try_echo=$ac_try;;
33240 esac
33241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33242 (eval "$ac_compile") 2>conftest.er1
33243 ac_status=$?
33244 grep -v '^ *+' conftest.er1 >conftest.err
33245 rm -f conftest.er1
33246 cat conftest.err >&5
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); } && {
33249 test -z "$ac_c_werror_flag" ||
33250 test ! -s conftest.err
33251 } && test -s conftest.$ac_objext; then
33252 wx_cv_spbcdata=yes
33253 else
33254 echo "$as_me: failed program was:" >&5
33255 sed 's/^/| /' conftest.$ac_ext >&5
33256
33257 wx_cv_spbcdata=no
33258
33259 fi
33260
33261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33262
33263
33264 fi
33265 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33266 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33267
33268 if test $wx_cv_spbcdata = "yes"; then
33269 cat >>confdefs.h <<\_ACEOF
33270 #define HAVE_SPBCDATA 1
33271 _ACEOF
33272
33273 fi
33274 fi
33275
33276 if test "$TOOLKIT" = "PM" ; then
33277 TOOLKIT_DIR="os2"
33278 else
33279 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33280 fi
33281
33282 if test "$wxUSE_UNIVERSAL" = "yes"; then
33283 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33284 WIDGET_SET=univ
33285 fi
33286
33287 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33288 DISTDIR="wx\$(TOOLKIT)"
33289 else
33290 USE_GUI=0
33291
33292 TOOLKIT_DIR="base"
33293
33294 if test "$USE_WIN32" = 1 ; then
33295 TOOLKIT="MSW"
33296 fi
33297
33298 GUIDIST="BASE_DIST"
33299 DISTDIR="wxBase"
33300 fi
33301
33302
33303
33304 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33305 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33306 wxUSE_UNICODE_UTF8=yes
33307 elif test "$USE_OS2" = 1 ; then
33308 wxUSE_UNICODE_UTF8=yes
33309 else
33310 wxUSE_UNICODE_UTF8=no
33311 fi
33312 fi
33313
33314
33315 if test "$wxUSE_GUI" = "yes"; then
33316 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33317
33318 for ac_header in X11/Xlib.h
33319 do
33320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33321 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33323 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33324 echo $ECHO_N "(cached) $ECHO_C" >&6
33325 else
33326 cat >conftest.$ac_ext <<_ACEOF
33327 /* confdefs.h. */
33328 _ACEOF
33329 cat confdefs.h >>conftest.$ac_ext
33330 cat >>conftest.$ac_ext <<_ACEOF
33331 /* end confdefs.h. */
33332
33333
33334 #include <$ac_header>
33335 _ACEOF
33336 rm -f conftest.$ac_objext
33337 if { (ac_try="$ac_compile"
33338 case "(($ac_try" in
33339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33340 *) ac_try_echo=$ac_try;;
33341 esac
33342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33343 (eval "$ac_compile") 2>conftest.er1
33344 ac_status=$?
33345 grep -v '^ *+' conftest.er1 >conftest.err
33346 rm -f conftest.er1
33347 cat conftest.err >&5
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); } && {
33350 test -z "$ac_c_werror_flag" ||
33351 test ! -s conftest.err
33352 } && test -s conftest.$ac_objext; then
33353 eval "$as_ac_Header=yes"
33354 else
33355 echo "$as_me: failed program was:" >&5
33356 sed 's/^/| /' conftest.$ac_ext >&5
33357
33358 eval "$as_ac_Header=no"
33359 fi
33360
33361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33362 fi
33363 ac_res=`eval echo '${'$as_ac_Header'}'`
33364 { echo "$as_me:$LINENO: result: $ac_res" >&5
33365 echo "${ECHO_T}$ac_res" >&6; }
33366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33367 cat >>confdefs.h <<_ACEOF
33368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33369 _ACEOF
33370
33371 fi
33372
33373 done
33374
33375
33376 for ac_header in X11/XKBlib.h
33377 do
33378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33379 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33381 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33382 echo $ECHO_N "(cached) $ECHO_C" >&6
33383 else
33384 cat >conftest.$ac_ext <<_ACEOF
33385 /* confdefs.h. */
33386 _ACEOF
33387 cat confdefs.h >>conftest.$ac_ext
33388 cat >>conftest.$ac_ext <<_ACEOF
33389 /* end confdefs.h. */
33390
33391 #if HAVE_X11_XLIB_H
33392 #include <X11/Xlib.h>
33393 #endif
33394
33395
33396 #include <$ac_header>
33397 _ACEOF
33398 rm -f conftest.$ac_objext
33399 if { (ac_try="$ac_compile"
33400 case "(($ac_try" in
33401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33402 *) ac_try_echo=$ac_try;;
33403 esac
33404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33405 (eval "$ac_compile") 2>conftest.er1
33406 ac_status=$?
33407 grep -v '^ *+' conftest.er1 >conftest.err
33408 rm -f conftest.er1
33409 cat conftest.err >&5
33410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411 (exit $ac_status); } && {
33412 test -z "$ac_c_werror_flag" ||
33413 test ! -s conftest.err
33414 } && test -s conftest.$ac_objext; then
33415 eval "$as_ac_Header=yes"
33416 else
33417 echo "$as_me: failed program was:" >&5
33418 sed 's/^/| /' conftest.$ac_ext >&5
33419
33420 eval "$as_ac_Header=no"
33421 fi
33422
33423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33424 fi
33425 ac_res=`eval echo '${'$as_ac_Header'}'`
33426 { echo "$as_me:$LINENO: result: $ac_res" >&5
33427 echo "${ECHO_T}$ac_res" >&6; }
33428 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33429 cat >>confdefs.h <<_ACEOF
33430 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33431 _ACEOF
33432
33433 fi
33434
33435 done
33436
33437 fi
33438 fi
33439
33440
33441
33442 if test "$wxUSE_DISPLAY" = "yes"; then
33443 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33444 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33445 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33446
33447 ac_find_libraries=
33448 for ac_dir in $SEARCH_LIB;
33449 do
33450 for ac_extension in a so sl dylib dll.a; do
33451 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33452 ac_find_libraries=$ac_dir
33453 break 2
33454 fi
33455 done
33456 done
33457
33458 if test "$ac_find_libraries" != "" ; then
33459
33460 if test "$ac_find_libraries" = "default location"; then
33461 ac_path_to_link=""
33462 else
33463 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33464 result=$?
33465 if test $result = 0; then
33466 ac_path_to_link=""
33467 else
33468 ac_path_to_link=" -L$ac_find_libraries"
33469 fi
33470 fi
33471
33472 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33473 LDFLAGS="$LDFLAGS $ac_path_to_link"
33474 fi
33475 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33476 { echo "$as_me:$LINENO: result: yes" >&5
33477 echo "${ECHO_T}yes" >&6; }
33478
33479 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33480 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33481
33482 ac_find_libraries=
33483 for ac_dir in $SEARCH_LIB;
33484 do
33485 for ac_extension in a so sl dylib dll.a; do
33486 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33487 ac_find_libraries=$ac_dir
33488 break 2
33489 fi
33490 done
33491 done
33492
33493 if test "$ac_find_libraries" != "" ; then
33494 { echo "$as_me:$LINENO: result: yes" >&5
33495 echo "${ECHO_T}yes" >&6; }
33496
33497 for ac_header in X11/extensions/xf86vmode.h
33498 do
33499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33503 echo $ECHO_N "(cached) $ECHO_C" >&6
33504 else
33505 cat >conftest.$ac_ext <<_ACEOF
33506 /* confdefs.h. */
33507 _ACEOF
33508 cat confdefs.h >>conftest.$ac_ext
33509 cat >>conftest.$ac_ext <<_ACEOF
33510 /* end confdefs.h. */
33511
33512 #if HAVE_X11_XLIB_H
33513 #include <X11/Xlib.h>
33514 #endif
33515
33516
33517 #include <$ac_header>
33518 _ACEOF
33519 rm -f conftest.$ac_objext
33520 if { (ac_try="$ac_compile"
33521 case "(($ac_try" in
33522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33523 *) ac_try_echo=$ac_try;;
33524 esac
33525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33526 (eval "$ac_compile") 2>conftest.er1
33527 ac_status=$?
33528 grep -v '^ *+' conftest.er1 >conftest.err
33529 rm -f conftest.er1
33530 cat conftest.err >&5
33531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33532 (exit $ac_status); } && {
33533 test -z "$ac_c_werror_flag" ||
33534 test ! -s conftest.err
33535 } && test -s conftest.$ac_objext; then
33536 eval "$as_ac_Header=yes"
33537 else
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.$ac_ext >&5
33540
33541 eval "$as_ac_Header=no"
33542 fi
33543
33544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33545 fi
33546 ac_res=`eval echo '${'$as_ac_Header'}'`
33547 { echo "$as_me:$LINENO: result: $ac_res" >&5
33548 echo "${ECHO_T}$ac_res" >&6; }
33549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33550 cat >>confdefs.h <<_ACEOF
33551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33552 _ACEOF
33553
33554 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33555
33556 fi
33557
33558 done
33559
33560 else
33561 { echo "$as_me:$LINENO: result: no" >&5
33562 echo "${ECHO_T}no" >&6; }
33563 fi
33564
33565 else
33566 { echo "$as_me:$LINENO: result: no" >&5
33567 echo "${ECHO_T}no" >&6; }
33568 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33569 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33570 wxUSE_DISPLAY="no"
33571 fi
33572 elif test "$wxUSE_MSW" = 1; then
33573 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33574 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33575 if test "${ac_cv_header_ddraw_h+set}" = set; then
33576 echo $ECHO_N "(cached) $ECHO_C" >&6
33577 else
33578 cat >conftest.$ac_ext <<_ACEOF
33579 /* confdefs.h. */
33580 _ACEOF
33581 cat confdefs.h >>conftest.$ac_ext
33582 cat >>conftest.$ac_ext <<_ACEOF
33583 /* end confdefs.h. */
33584 #include <windows.h>
33585
33586 #include <ddraw.h>
33587 _ACEOF
33588 rm -f conftest.$ac_objext
33589 if { (ac_try="$ac_compile"
33590 case "(($ac_try" in
33591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33592 *) ac_try_echo=$ac_try;;
33593 esac
33594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33595 (eval "$ac_compile") 2>conftest.er1
33596 ac_status=$?
33597 grep -v '^ *+' conftest.er1 >conftest.err
33598 rm -f conftest.er1
33599 cat conftest.err >&5
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); } && {
33602 test -z "$ac_c_werror_flag" ||
33603 test ! -s conftest.err
33604 } && test -s conftest.$ac_objext; then
33605 ac_cv_header_ddraw_h=yes
33606 else
33607 echo "$as_me: failed program was:" >&5
33608 sed 's/^/| /' conftest.$ac_ext >&5
33609
33610 ac_cv_header_ddraw_h=no
33611 fi
33612
33613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33614 fi
33615 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33616 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33617
33618
33619 fi
33620 fi
33621
33622 if test "$wxUSE_DETECT_SM" = "yes"; then
33623 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
33624 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33625 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33626
33627 ac_find_libraries=
33628 for ac_dir in $SEARCH_LIB;
33629 do
33630 for ac_extension in a so sl dylib dll.a; do
33631 if test -f "$ac_dir/libSM.$ac_extension"; then
33632 ac_find_libraries=$ac_dir
33633 break 2
33634 fi
33635 done
33636 done
33637
33638 if test "$ac_find_libraries" != "" ; then
33639
33640 if test "$ac_find_libraries" = "default location"; then
33641 ac_path_to_link=""
33642 else
33643 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33644 result=$?
33645 if test $result = 0; then
33646 ac_path_to_link=""
33647 else
33648 ac_path_to_link=" -L$ac_find_libraries"
33649 fi
33650 fi
33651
33652 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33653 LDFLAGS="$LDFLAGS $ac_path_to_link"
33654 fi
33655 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33656 { echo "$as_me:$LINENO: result: yes" >&5
33657 echo "${ECHO_T}yes" >&6; }
33658 else
33659 { echo "$as_me:$LINENO: result: no" >&5
33660 echo "${ECHO_T}no" >&6; }
33661 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33662 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33663 wxUSE_DETECT_SM="no"
33664 fi
33665 else
33666 wxUSE_DETECT_SM="no"
33667 fi
33668 fi
33669
33670
33671
33672 USE_OPENGL=0
33673 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33674
33675
33676 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
33677 OPENGL_LIBS="-framework OpenGL -framework AGL"
33678 elif test "$wxUSE_MSW" = 1; then
33679 OPENGL_LIBS="-lopengl32 -lglu32"
33680 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33681
33682 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33683 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33684
33685 ac_find_includes=
33686 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33687 do
33688 if test -f "$ac_dir/GL/gl.h"; then
33689 ac_find_includes=$ac_dir
33690 break
33691 fi
33692 done
33693
33694 if test "$ac_find_includes" != "" ; then
33695 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33696 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33697
33698 if test "x$ac_find_includes" = "x/usr/include"; then
33699 ac_path_to_include=""
33700 else
33701 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33702 result=$?
33703 if test $result = 0; then
33704 ac_path_to_include=""
33705 else
33706 ac_path_to_include=" -I$ac_find_includes"
33707 fi
33708 fi
33709
33710 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33711 else
33712 { echo "$as_me:$LINENO: result: not found" >&5
33713 echo "${ECHO_T}not found" >&6; }
33714 fi
33715
33716 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33717 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33718 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33719 echo $ECHO_N "(cached) $ECHO_C" >&6
33720 else
33721 cat >conftest.$ac_ext <<_ACEOF
33722 /* confdefs.h. */
33723 _ACEOF
33724 cat confdefs.h >>conftest.$ac_ext
33725 cat >>conftest.$ac_ext <<_ACEOF
33726 /* end confdefs.h. */
33727
33728
33729 #include <GL/gl.h>
33730 _ACEOF
33731 rm -f conftest.$ac_objext
33732 if { (ac_try="$ac_compile"
33733 case "(($ac_try" in
33734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33735 *) ac_try_echo=$ac_try;;
33736 esac
33737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33738 (eval "$ac_compile") 2>conftest.er1
33739 ac_status=$?
33740 grep -v '^ *+' conftest.er1 >conftest.err
33741 rm -f conftest.er1
33742 cat conftest.err >&5
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); } && {
33745 test -z "$ac_c_werror_flag" ||
33746 test ! -s conftest.err
33747 } && test -s conftest.$ac_objext; then
33748 ac_cv_header_GL_gl_h=yes
33749 else
33750 echo "$as_me: failed program was:" >&5
33751 sed 's/^/| /' conftest.$ac_ext >&5
33752
33753 ac_cv_header_GL_gl_h=no
33754 fi
33755
33756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33757 fi
33758 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33759 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33760 if test $ac_cv_header_GL_gl_h = yes; then
33761
33762 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33763 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33764 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33765 echo $ECHO_N "(cached) $ECHO_C" >&6
33766 else
33767 cat >conftest.$ac_ext <<_ACEOF
33768 /* confdefs.h. */
33769 _ACEOF
33770 cat confdefs.h >>conftest.$ac_ext
33771 cat >>conftest.$ac_ext <<_ACEOF
33772 /* end confdefs.h. */
33773
33774
33775 #include <GL/glu.h>
33776 _ACEOF
33777 rm -f conftest.$ac_objext
33778 if { (ac_try="$ac_compile"
33779 case "(($ac_try" in
33780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33781 *) ac_try_echo=$ac_try;;
33782 esac
33783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33784 (eval "$ac_compile") 2>conftest.er1
33785 ac_status=$?
33786 grep -v '^ *+' conftest.er1 >conftest.err
33787 rm -f conftest.er1
33788 cat conftest.err >&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); } && {
33791 test -z "$ac_c_werror_flag" ||
33792 test ! -s conftest.err
33793 } && test -s conftest.$ac_objext; then
33794 ac_cv_header_GL_glu_h=yes
33795 else
33796 echo "$as_me: failed program was:" >&5
33797 sed 's/^/| /' conftest.$ac_ext >&5
33798
33799 ac_cv_header_GL_glu_h=no
33800 fi
33801
33802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33803 fi
33804 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33805 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33806 if test $ac_cv_header_GL_glu_h = yes; then
33807
33808 found_gl=0
33809
33810 { echo "$as_me:$LINENO: checking for -lGL" >&5
33811 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33812
33813 ac_find_libraries=
33814 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33815 do
33816 for ac_extension in a so sl dylib dll.a; do
33817 if test -f "$ac_dir/libGL.$ac_extension"; then
33818 ac_find_libraries=$ac_dir
33819 break 2
33820 fi
33821 done
33822 done
33823
33824 if test "$ac_find_libraries" != "" ; then
33825 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33826 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33827
33828
33829 if test "$ac_find_libraries" = "default location"; then
33830 ac_path_to_link=""
33831 else
33832 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33833 result=$?
33834 if test $result = 0; then
33835 ac_path_to_link=""
33836 else
33837 ac_path_to_link=" -L$ac_find_libraries"
33838 fi
33839 fi
33840
33841 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33842 LDFLAGS_GL="$ac_path_to_link"
33843 fi
33844
33845 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33846 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33847
33848 ac_find_libraries=
33849 for ac_dir in $SEARCH_LIB;
33850 do
33851 for ac_extension in a so sl dylib dll.a; do
33852 if test -f "$ac_dir/libGLU.$ac_extension"; then
33853 ac_find_libraries=$ac_dir
33854 break 2
33855 fi
33856 done
33857 done
33858
33859 if test "$ac_find_libraries" != "" ; then
33860
33861 if test "$ac_find_libraries" = "default location"; then
33862 ac_path_to_link=""
33863 else
33864 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33865 result=$?
33866 if test $result = 0; then
33867 ac_path_to_link=""
33868 else
33869 ac_path_to_link=" -L$ac_find_libraries"
33870 fi
33871 fi
33872
33873 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33874 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33875 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33876 fi
33877
33878 found_gl=1
33879 OPENGL_LIBS="-lGL -lGLU"
33880 { echo "$as_me:$LINENO: result: yes" >&5
33881 echo "${ECHO_T}yes" >&6; }
33882 else
33883 { echo "$as_me:$LINENO: result: no" >&5
33884 echo "${ECHO_T}no" >&6; }
33885 fi
33886 else
33887 { echo "$as_me:$LINENO: result: no" >&5
33888 echo "${ECHO_T}no" >&6; }
33889 fi
33890
33891 if test "$found_gl" != 1; then
33892 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33893 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33894
33895 ac_find_libraries=
33896 for ac_dir in $SEARCH_LIB;
33897 do
33898 for ac_extension in a so sl dylib dll.a; do
33899 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33900 ac_find_libraries=$ac_dir
33901 break 2
33902 fi
33903 done
33904 done
33905
33906 if test "$ac_find_libraries" != "" ; then
33907
33908 if test "$ac_find_libraries" = "default location"; then
33909 ac_path_to_link=""
33910 else
33911 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33912 result=$?
33913 if test $result = 0; then
33914 ac_path_to_link=""
33915 else
33916 ac_path_to_link=" -L$ac_find_libraries"
33917 fi
33918 fi
33919
33920 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33921 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33922 { echo "$as_me:$LINENO: result: yes" >&5
33923 echo "${ECHO_T}yes" >&6; }
33924 else
33925 { echo "$as_me:$LINENO: result: no" >&5
33926 echo "${ECHO_T}no" >&6; }
33927 fi
33928 fi
33929
33930 fi
33931
33932
33933
33934 fi
33935
33936
33937
33938 if test "x$OPENGL_LIBS" = "x"; then
33939 if test "$wxUSE_OPENGL" = "yes"; then
33940 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33941 echo "$as_me: error: OpenGL libraries not available" >&2;}
33942 { (exit 1); exit 1; }; }
33943 else
33944 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33945 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33946 wxUSE_OPENGL=no
33947 USE_OPENGL=0
33948 fi
33949 fi
33950 else
33951 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33952 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33953 wxUSE_OPENGL="no"
33954 fi
33955
33956 if test "$wxUSE_OPENGL" = "auto"; then
33957 wxUSE_OPENGL=yes
33958 fi
33959
33960 if test "$wxUSE_OPENGL" = "yes"; then
33961 USE_OPENGL=1
33962 cat >>confdefs.h <<\_ACEOF
33963 #define wxUSE_OPENGL 1
33964 _ACEOF
33965
33966 cat >>confdefs.h <<\_ACEOF
33967 #define wxUSE_GLCANVAS 1
33968 _ACEOF
33969
33970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33971 fi
33972 fi
33973
33974
33975 if test -n "$TOOLKIT" ; then
33976 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33977 fi
33978
33979
33980
33981 if test "$wxUSE_SHARED" = "yes"; then
33982 case "${host}" in
33983 *-pc-msdosdjgpp )
33984 wxUSE_SHARED=no
33985 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33986 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33987 ;;
33988 esac
33989 fi
33990
33991 if test "$wxUSE_SHARED" = "yes"; then
33992
33993
33994 case "${host}" in
33995 *-*-cygwin* | *-*-mingw* )
33996 wx_cv_version_script=no
33997 ;;
33998
33999 *)
34000 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34001 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34002 if test "${wx_cv_version_script+set}" = set; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 else
34005
34006 echo "VER_1 { *; };" >conftest.sym
34007 echo "int main() { return 0; }" >conftest.cpp
34008
34009 if { ac_try='
34010 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34011 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34013 (eval $ac_try) 2>&5
34014 ac_status=$?
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); }; } ; then
34017 if test -s conftest.stderr ; then
34018 wx_cv_version_script=no
34019 else
34020 wx_cv_version_script=yes
34021 fi
34022 else
34023 wx_cv_version_script=no
34024 fi
34025
34026 if test $wx_cv_version_script = yes
34027 then
34028 echo "struct B { virtual ~B() { } }; \
34029 struct D : public B { }; \
34030 void F() { D d; }" > conftest.cpp
34031
34032 if { ac_try='
34033 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34034 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34036 (eval $ac_try) 2>&5
34037 ac_status=$?
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); }; } &&
34040 { ac_try='
34041 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34042 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34044 (eval $ac_try) 2>&5
34045 ac_status=$?
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); }; }
34048 then
34049 if { ac_try='
34050 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34051 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34053 (eval $ac_try) 2>&5
34054 ac_status=$?
34055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34056 (exit $ac_status); }; }
34057 then
34058 wx_cv_version_script=yes
34059 else
34060 wx_cv_version_script=no
34061 fi
34062 fi
34063 fi
34064
34065 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34066 rm -f conftest1.output conftest2.output conftest3.output
34067
34068 fi
34069 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34070 echo "${ECHO_T}$wx_cv_version_script" >&6; }
34071
34072 if test $wx_cv_version_script = yes ; then
34073 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34074 fi
34075 ;;
34076 esac
34077
34078
34079 if test "$wxUSE_VISIBILITY" != "no"; then
34080
34081
34082 if test -n "$GCC"; then
34083 CFLAGS_VISIBILITY="-fvisibility=hidden"
34084 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34085 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34086 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
34087 if test "${wx_cv_cc_visibility+set}" = set; then
34088 echo $ECHO_N "(cached) $ECHO_C" >&6
34089 else
34090
34091 wx_save_CXXFLAGS="$CXXFLAGS"
34092 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34093 ac_ext=cpp
34094 ac_cpp='$CXXCPP $CPPFLAGS'
34095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34098
34099 cat >conftest.$ac_ext <<_ACEOF
34100 /* confdefs.h. */
34101 _ACEOF
34102 cat confdefs.h >>conftest.$ac_ext
34103 cat >>conftest.$ac_ext <<_ACEOF
34104 /* end confdefs.h. */
34105
34106 /* we need gcc >= 4.0, older versions with visibility support
34107 didn't have class visibility: */
34108 #if defined(__GNUC__) && __GNUC__ < 4
34109 error this gcc is too old;
34110 #endif
34111
34112 /* visibility only makes sense for ELF shared libs: */
34113 #if !defined(__ELF__) && !defined(__APPLE__)
34114 error this platform has no visibility;
34115 #endif
34116
34117 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34118 extern __attribute__((__visibility__("default"))) int exportedvar;
34119 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34120 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34121 class __attribute__((__visibility__("default"))) Foo {
34122 Foo() {}
34123 };
34124
34125 int
34126 main ()
34127 {
34128
34129 ;
34130 return 0;
34131 }
34132 _ACEOF
34133 rm -f conftest.$ac_objext
34134 if { (ac_try="$ac_compile"
34135 case "(($ac_try" in
34136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34137 *) ac_try_echo=$ac_try;;
34138 esac
34139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34140 (eval "$ac_compile") 2>conftest.er1
34141 ac_status=$?
34142 grep -v '^ *+' conftest.er1 >conftest.err
34143 rm -f conftest.er1
34144 cat conftest.err >&5
34145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34146 (exit $ac_status); } && {
34147 test -z "$ac_cxx_werror_flag" ||
34148 test ! -s conftest.err
34149 } && test -s conftest.$ac_objext; then
34150 wx_cv_cc_visibility=yes
34151 else
34152 echo "$as_me: failed program was:" >&5
34153 sed 's/^/| /' conftest.$ac_ext >&5
34154
34155 wx_cv_cc_visibility=no
34156 fi
34157
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34159 ac_ext=c
34160 ac_cpp='$CPP $CPPFLAGS'
34161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34164
34165 CXXFLAGS="$wx_save_CXXFLAGS"
34166 fi
34167
34168 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34169 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
34170 if test $wx_cv_cc_visibility = yes; then
34171 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
34172 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
34173 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34175 else
34176
34177 wx_save_CXXFLAGS="$CXXFLAGS"
34178 wx_save_LDFLAGS="$LDFLAGS"
34179 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34180 LDFLAGS="$LDFLAGS -shared -fPIC"
34181 ac_ext=cpp
34182 ac_cpp='$CXXCPP $CPPFLAGS'
34183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34186
34187 cat >conftest.$ac_ext <<_ACEOF
34188 /* confdefs.h. */
34189 _ACEOF
34190 cat confdefs.h >>conftest.$ac_ext
34191 cat >>conftest.$ac_ext <<_ACEOF
34192 /* end confdefs.h. */
34193
34194 #include <string>
34195
34196 int
34197 main ()
34198 {
34199
34200 std::string s("hello");
34201 return s.length();
34202
34203 ;
34204 return 0;
34205 }
34206 _ACEOF
34207 rm -f conftest.$ac_objext conftest$ac_exeext
34208 if { (ac_try="$ac_link"
34209 case "(($ac_try" in
34210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34211 *) ac_try_echo=$ac_try;;
34212 esac
34213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34214 (eval "$ac_link") 2>conftest.er1
34215 ac_status=$?
34216 grep -v '^ *+' conftest.er1 >conftest.err
34217 rm -f conftest.er1
34218 cat conftest.err >&5
34219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34220 (exit $ac_status); } && {
34221 test -z "$ac_cxx_werror_flag" ||
34222 test ! -s conftest.err
34223 } && test -s conftest$ac_exeext &&
34224 $as_test_x conftest$ac_exeext; then
34225 wx_cv_cc_broken_libstdcxx_visibility=no
34226 else
34227 echo "$as_me: failed program was:" >&5
34228 sed 's/^/| /' conftest.$ac_ext >&5
34229
34230 wx_cv_cc_broken_libstdcxx_visibility=yes
34231 fi
34232
34233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34234 conftest$ac_exeext conftest.$ac_ext
34235 ac_ext=c
34236 ac_cpp='$CPP $CPPFLAGS'
34237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34240
34241 CXXFLAGS="$wx_save_CXXFLAGS"
34242 LDFLAGS="$wx_save_LDFLAGS"
34243 fi
34244
34245 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
34246 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
34247
34248 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34249 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34250 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34251 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34252 echo $ECHO_N "(cached) $ECHO_C" >&6
34253 else
34254
34255 ac_ext=cpp
34256 ac_cpp='$CXXCPP $CPPFLAGS'
34257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34260
34261 cat >conftest.$ac_ext <<_ACEOF
34262 /* confdefs.h. */
34263 _ACEOF
34264 cat confdefs.h >>conftest.$ac_ext
34265 cat >>conftest.$ac_ext <<_ACEOF
34266 /* end confdefs.h. */
34267
34268 #pragma GCC visibility push(default)
34269 #include <string>
34270 #pragma GCC visibility pop
34271
34272 int
34273 main ()
34274 {
34275
34276 std::string s("hello");
34277 return s.length();
34278
34279 ;
34280 return 0;
34281 }
34282 _ACEOF
34283 rm -f conftest.$ac_objext conftest$ac_exeext
34284 if { (ac_try="$ac_link"
34285 case "(($ac_try" in
34286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34287 *) ac_try_echo=$ac_try;;
34288 esac
34289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34290 (eval "$ac_link") 2>conftest.er1
34291 ac_status=$?
34292 grep -v '^ *+' conftest.er1 >conftest.err
34293 rm -f conftest.er1
34294 cat conftest.err >&5
34295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34296 (exit $ac_status); } && {
34297 test -z "$ac_cxx_werror_flag" ||
34298 test ! -s conftest.err
34299 } && test -s conftest$ac_exeext &&
34300 $as_test_x conftest$ac_exeext; then
34301 wx_cv_cc_visibility_workaround=no
34302 else
34303 echo "$as_me: failed program was:" >&5
34304 sed 's/^/| /' conftest.$ac_ext >&5
34305
34306 wx_cv_cc_visibility_workaround=yes
34307 fi
34308
34309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34310 conftest$ac_exeext conftest.$ac_ext
34311 ac_ext=c
34312 ac_cpp='$CPP $CPPFLAGS'
34313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34316
34317
34318 fi
34319
34320 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34321 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34322
34323 if test $wx_cv_cc_visibility_workaround = no; then
34324 wx_cv_cc_visibility=no
34325 fi
34326 fi
34327 fi
34328
34329 if test $wx_cv_cc_visibility = yes; then
34330 cat >>confdefs.h <<\_ACEOF
34331 #define HAVE_VISIBILITY 1
34332 _ACEOF
34333
34334 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34335 cat >>confdefs.h <<\_ACEOF
34336 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34337 _ACEOF
34338
34339 fi
34340 else
34341 CFLAGS_VISIBILITY=""
34342 CXXFLAGS_VISIBILITY=""
34343 fi
34344
34345
34346 fi
34347
34348 fi
34349
34350 if test "x$SUNCXX" = xyes; then
34351 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34352 WXCONFIG_RPATH="-R\$libdir"
34353 else
34354 case "${host}" in
34355 *-*-linux* | *-*-gnu* )
34356 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34357 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34358 ;;
34359
34360 *-*-solaris2* )
34361
34362 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34363
34364 saveLdflags="$LDFLAGS"
34365 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34366 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34367 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34368 cat >conftest.$ac_ext <<_ACEOF
34369 /* confdefs.h. */
34370 _ACEOF
34371 cat confdefs.h >>conftest.$ac_ext
34372 cat >>conftest.$ac_ext <<_ACEOF
34373 /* end confdefs.h. */
34374
34375 int
34376 main ()
34377 {
34378
34379 ;
34380 return 0;
34381 }
34382 _ACEOF
34383 rm -f conftest.$ac_objext conftest$ac_exeext
34384 if { (ac_try="$ac_link"
34385 case "(($ac_try" in
34386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34387 *) ac_try_echo=$ac_try;;
34388 esac
34389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34390 (eval "$ac_link") 2>conftest.er1
34391 ac_status=$?
34392 grep -v '^ *+' conftest.er1 >conftest.err
34393 rm -f conftest.er1
34394 cat conftest.err >&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); } && {
34397 test -z "$ac_c_werror_flag" ||
34398 test ! -s conftest.err
34399 } && test -s conftest$ac_exeext &&
34400 $as_test_x conftest$ac_exeext; then
34401
34402 { echo "$as_me:$LINENO: result: yes" >&5
34403 echo "${ECHO_T}yes" >&6; }
34404 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34405 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34406
34407 else
34408 echo "$as_me: failed program was:" >&5
34409 sed 's/^/| /' conftest.$ac_ext >&5
34410
34411
34412 { echo "$as_me:$LINENO: result: no" >&5
34413 echo "${ECHO_T}no" >&6; }
34414 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34415 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34416 LDFLAGS="$saveLdflags -Wl,-R,/"
34417 cat >conftest.$ac_ext <<_ACEOF
34418 /* confdefs.h. */
34419 _ACEOF
34420 cat confdefs.h >>conftest.$ac_ext
34421 cat >>conftest.$ac_ext <<_ACEOF
34422 /* end confdefs.h. */
34423
34424 int
34425 main ()
34426 {
34427
34428 ;
34429 return 0;
34430 }
34431 _ACEOF
34432 rm -f conftest.$ac_objext conftest$ac_exeext
34433 if { (ac_try="$ac_link"
34434 case "(($ac_try" in
34435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34436 *) ac_try_echo=$ac_try;;
34437 esac
34438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34439 (eval "$ac_link") 2>conftest.er1
34440 ac_status=$?
34441 grep -v '^ *+' conftest.er1 >conftest.err
34442 rm -f conftest.er1
34443 cat conftest.err >&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); } && {
34446 test -z "$ac_c_werror_flag" ||
34447 test ! -s conftest.err
34448 } && test -s conftest$ac_exeext &&
34449 $as_test_x conftest$ac_exeext; then
34450
34451 { echo "$as_me:$LINENO: result: yes" >&5
34452 echo "${ECHO_T}yes" >&6; }
34453 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34454 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34455
34456 else
34457 echo "$as_me: failed program was:" >&5
34458 sed 's/^/| /' conftest.$ac_ext >&5
34459
34460
34461 { echo "$as_me:$LINENO: result: no" >&5
34462 echo "${ECHO_T}no" >&6; }
34463
34464 fi
34465
34466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34467 conftest$ac_exeext conftest.$ac_ext
34468
34469 fi
34470
34471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34472 conftest$ac_exeext conftest.$ac_ext
34473 LDFLAGS="$saveLdflags"
34474 ;;
34475
34476 *-*-darwin* )
34477 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
34478 if test "$install_name_tool" -a -x "$install_name_tool"; then
34479 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34480 cat <<EOF >change-install-names
34481 #!/bin/sh
34482 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34483 for i in \${libnames} ; do
34484 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34485 for dep in \${libnames} ; do
34486 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34487 done
34488 done
34489 EOF
34490 chmod +x change-install-names
34491 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34492 fi
34493
34494 HEADER_PAD_OPTION="-headerpad_max_install_names"
34495 ;;
34496
34497 *-*-cygwin* | *-*-mingw32* )
34498 ;;
34499
34500 *-*-hpux* )
34501 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34502 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34503 ;;
34504
34505 esac
34506 fi
34507
34508 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34509
34510 if test $wxUSE_RPATH = "no"; then
34511 SAMPLES_RPATH_FLAG=''
34512 DYLIB_PATH_POSTLINK=''
34513 WXCONFIG_RPATH=''
34514 fi
34515
34516 SHARED=1
34517
34518 else
34519
34520 config_linkage_component="-static"
34521 SHARED=0
34522
34523 fi
34524
34525
34526 UNICODE=0
34527 lib_unicode_suffix=
34528 WX_CHARTYPE="ansi"
34529 if test "$wxUSE_UNICODE" = "yes"; then
34530 lib_unicode_suffix=u
34531 WX_CHARTYPE="unicode"
34532 UNICODE=1
34533 fi
34534
34535 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34536 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34537
34538 DEBUG_INFO=0
34539 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34540 DEBUG_INFO=1
34541 fi
34542
34543 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34544
34545 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34546
34547 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34548
34549
34550 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34551 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34552 else
34553 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34554 fi
34555 if test "${TOOLKIT_DIR}" = "os2"; then
34556 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34557 else
34558 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34559 fi
34560
34561
34562
34563 if test "$wxUSE_OLD_COCOA" = 1; then
34564
34565 ac_ext=c
34566 ac_cpp='$CPP $CPPFLAGS'
34567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34570
34571 ac_ext=m
34572
34573 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34574 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34575 cat >conftest.$ac_ext <<_ACEOF
34576 /* confdefs.h. */
34577 _ACEOF
34578 cat confdefs.h >>conftest.$ac_ext
34579 cat >>conftest.$ac_ext <<_ACEOF
34580 /* end confdefs.h. */
34581 #include <AppKit/NSEvent.h>
34582 #include <CoreFoundation/CoreFoundation.h>
34583
34584 int
34585 main ()
34586 {
34587
34588 ;
34589 return 0;
34590 }
34591 _ACEOF
34592 rm -f conftest.$ac_objext
34593 if { (ac_try="$ac_compile"
34594 case "(($ac_try" in
34595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34596 *) ac_try_echo=$ac_try;;
34597 esac
34598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34599 (eval "$ac_compile") 2>conftest.er1
34600 ac_status=$?
34601 grep -v '^ *+' conftest.er1 >conftest.err
34602 rm -f conftest.er1
34603 cat conftest.err >&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); } && {
34606 test -z "$ac_c_werror_flag" ||
34607 test ! -s conftest.err
34608 } && test -s conftest.$ac_objext; then
34609 { echo "$as_me:$LINENO: result: no" >&5
34610 echo "${ECHO_T}no" >&6; }
34611 else
34612 echo "$as_me: failed program was:" >&5
34613 sed 's/^/| /' conftest.$ac_ext >&5
34614
34615 { echo "$as_me:$LINENO: result: yes" >&5
34616 echo "${ECHO_T}yes" >&6; }
34617 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34618 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34619 cat >conftest.$ac_ext <<_ACEOF
34620 /* confdefs.h. */
34621 _ACEOF
34622 cat confdefs.h >>conftest.$ac_ext
34623 cat >>conftest.$ac_ext <<_ACEOF
34624 /* end confdefs.h. */
34625 #define __Point__ 1
34626 #include <AppKit/NSEvent.h>
34627 #include <CoreFoundation/CoreFoundation.h>
34628
34629 int
34630 main ()
34631 {
34632
34633 ;
34634 return 0;
34635 }
34636 _ACEOF
34637 rm -f conftest.$ac_objext
34638 if { (ac_try="$ac_compile"
34639 case "(($ac_try" in
34640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34641 *) ac_try_echo=$ac_try;;
34642 esac
34643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34644 (eval "$ac_compile") 2>conftest.er1
34645 ac_status=$?
34646 grep -v '^ *+' conftest.er1 >conftest.err
34647 rm -f conftest.er1
34648 cat conftest.err >&5
34649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34650 (exit $ac_status); } && {
34651 test -z "$ac_c_werror_flag" ||
34652 test ! -s conftest.err
34653 } && test -s conftest.$ac_objext; then
34654 { echo "$as_me:$LINENO: result: yes" >&5
34655 echo "${ECHO_T}yes" >&6; }
34656 cat >>confdefs.h <<\_ACEOF
34657 #define __Point__ 1
34658 _ACEOF
34659
34660
34661 else
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.$ac_ext >&5
34664
34665 { { echo "$as_me:$LINENO: error: no
34666 See \`config.log' for more details." >&5
34667 echo "$as_me: error: no
34668 See \`config.log' for more details." >&2;}
34669 { (exit 1); exit 1; }; }
34670
34671 fi
34672
34673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34674
34675 fi
34676
34677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34678 ac_ext=c
34679 ac_cpp='$CPP $CPPFLAGS'
34680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34683
34684 fi
34685
34686
34687 { echo "$as_me:$LINENO: checking for mode_t" >&5
34688 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34689 if test "${ac_cv_type_mode_t+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 $ac_includes_default
34699 typedef mode_t ac__type_new_;
34700 int
34701 main ()
34702 {
34703 if ((ac__type_new_ *) 0)
34704 return 0;
34705 if (sizeof (ac__type_new_))
34706 return 0;
34707 ;
34708 return 0;
34709 }
34710 _ACEOF
34711 rm -f conftest.$ac_objext
34712 if { (ac_try="$ac_compile"
34713 case "(($ac_try" in
34714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34715 *) ac_try_echo=$ac_try;;
34716 esac
34717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34718 (eval "$ac_compile") 2>conftest.er1
34719 ac_status=$?
34720 grep -v '^ *+' conftest.er1 >conftest.err
34721 rm -f conftest.er1
34722 cat conftest.err >&5
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); } && {
34725 test -z "$ac_c_werror_flag" ||
34726 test ! -s conftest.err
34727 } && test -s conftest.$ac_objext; then
34728 ac_cv_type_mode_t=yes
34729 else
34730 echo "$as_me: failed program was:" >&5
34731 sed 's/^/| /' conftest.$ac_ext >&5
34732
34733 ac_cv_type_mode_t=no
34734 fi
34735
34736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34737 fi
34738 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34739 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34740 if test $ac_cv_type_mode_t = yes; then
34741 :
34742 else
34743
34744 cat >>confdefs.h <<_ACEOF
34745 #define mode_t int
34746 _ACEOF
34747
34748 fi
34749
34750 { echo "$as_me:$LINENO: checking for off_t" >&5
34751 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34752 if test "${ac_cv_type_off_t+set}" = set; then
34753 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 else
34755 cat >conftest.$ac_ext <<_ACEOF
34756 /* confdefs.h. */
34757 _ACEOF
34758 cat confdefs.h >>conftest.$ac_ext
34759 cat >>conftest.$ac_ext <<_ACEOF
34760 /* end confdefs.h. */
34761 $ac_includes_default
34762 typedef off_t ac__type_new_;
34763 int
34764 main ()
34765 {
34766 if ((ac__type_new_ *) 0)
34767 return 0;
34768 if (sizeof (ac__type_new_))
34769 return 0;
34770 ;
34771 return 0;
34772 }
34773 _ACEOF
34774 rm -f conftest.$ac_objext
34775 if { (ac_try="$ac_compile"
34776 case "(($ac_try" in
34777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34778 *) ac_try_echo=$ac_try;;
34779 esac
34780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34781 (eval "$ac_compile") 2>conftest.er1
34782 ac_status=$?
34783 grep -v '^ *+' conftest.er1 >conftest.err
34784 rm -f conftest.er1
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } && {
34788 test -z "$ac_c_werror_flag" ||
34789 test ! -s conftest.err
34790 } && test -s conftest.$ac_objext; then
34791 ac_cv_type_off_t=yes
34792 else
34793 echo "$as_me: failed program was:" >&5
34794 sed 's/^/| /' conftest.$ac_ext >&5
34795
34796 ac_cv_type_off_t=no
34797 fi
34798
34799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34800 fi
34801 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34802 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34803 if test $ac_cv_type_off_t = yes; then
34804 :
34805 else
34806
34807 cat >>confdefs.h <<_ACEOF
34808 #define off_t long int
34809 _ACEOF
34810
34811 fi
34812
34813 { echo "$as_me:$LINENO: checking for pid_t" >&5
34814 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34815 if test "${ac_cv_type_pid_t+set}" = set; then
34816 echo $ECHO_N "(cached) $ECHO_C" >&6
34817 else
34818 cat >conftest.$ac_ext <<_ACEOF
34819 /* confdefs.h. */
34820 _ACEOF
34821 cat confdefs.h >>conftest.$ac_ext
34822 cat >>conftest.$ac_ext <<_ACEOF
34823 /* end confdefs.h. */
34824 $ac_includes_default
34825 typedef pid_t ac__type_new_;
34826 int
34827 main ()
34828 {
34829 if ((ac__type_new_ *) 0)
34830 return 0;
34831 if (sizeof (ac__type_new_))
34832 return 0;
34833 ;
34834 return 0;
34835 }
34836 _ACEOF
34837 rm -f conftest.$ac_objext
34838 if { (ac_try="$ac_compile"
34839 case "(($ac_try" in
34840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34841 *) ac_try_echo=$ac_try;;
34842 esac
34843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34844 (eval "$ac_compile") 2>conftest.er1
34845 ac_status=$?
34846 grep -v '^ *+' conftest.er1 >conftest.err
34847 rm -f conftest.er1
34848 cat conftest.err >&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } && {
34851 test -z "$ac_c_werror_flag" ||
34852 test ! -s conftest.err
34853 } && test -s conftest.$ac_objext; then
34854 ac_cv_type_pid_t=yes
34855 else
34856 echo "$as_me: failed program was:" >&5
34857 sed 's/^/| /' conftest.$ac_ext >&5
34858
34859 ac_cv_type_pid_t=no
34860 fi
34861
34862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34863 fi
34864 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34865 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34866 if test $ac_cv_type_pid_t = yes; then
34867 :
34868 else
34869
34870 cat >>confdefs.h <<_ACEOF
34871 #define pid_t int
34872 _ACEOF
34873
34874 fi
34875
34876 { echo "$as_me:$LINENO: checking for size_t" >&5
34877 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34878 if test "${ac_cv_type_size_t+set}" = set; then
34879 echo $ECHO_N "(cached) $ECHO_C" >&6
34880 else
34881 cat >conftest.$ac_ext <<_ACEOF
34882 /* confdefs.h. */
34883 _ACEOF
34884 cat confdefs.h >>conftest.$ac_ext
34885 cat >>conftest.$ac_ext <<_ACEOF
34886 /* end confdefs.h. */
34887 $ac_includes_default
34888 typedef size_t ac__type_new_;
34889 int
34890 main ()
34891 {
34892 if ((ac__type_new_ *) 0)
34893 return 0;
34894 if (sizeof (ac__type_new_))
34895 return 0;
34896 ;
34897 return 0;
34898 }
34899 _ACEOF
34900 rm -f conftest.$ac_objext
34901 if { (ac_try="$ac_compile"
34902 case "(($ac_try" in
34903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34904 *) ac_try_echo=$ac_try;;
34905 esac
34906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34907 (eval "$ac_compile") 2>conftest.er1
34908 ac_status=$?
34909 grep -v '^ *+' conftest.er1 >conftest.err
34910 rm -f conftest.er1
34911 cat conftest.err >&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); } && {
34914 test -z "$ac_c_werror_flag" ||
34915 test ! -s conftest.err
34916 } && test -s conftest.$ac_objext; then
34917 ac_cv_type_size_t=yes
34918 else
34919 echo "$as_me: failed program was:" >&5
34920 sed 's/^/| /' conftest.$ac_ext >&5
34921
34922 ac_cv_type_size_t=no
34923 fi
34924
34925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34926 fi
34927 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34928 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34929 if test $ac_cv_type_size_t = yes; then
34930 :
34931 else
34932
34933 cat >>confdefs.h <<_ACEOF
34934 #define size_t unsigned int
34935 _ACEOF
34936
34937 fi
34938
34939
34940 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34941 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34942 if test "${ac_cv_type_ssize_t+set}" = set; then
34943 echo $ECHO_N "(cached) $ECHO_C" >&6
34944 else
34945 cat >conftest.$ac_ext <<_ACEOF
34946 /* confdefs.h. */
34947 _ACEOF
34948 cat confdefs.h >>conftest.$ac_ext
34949 cat >>conftest.$ac_ext <<_ACEOF
34950 /* end confdefs.h. */
34951 $ac_includes_default
34952 typedef ssize_t ac__type_new_;
34953 int
34954 main ()
34955 {
34956 if ((ac__type_new_ *) 0)
34957 return 0;
34958 if (sizeof (ac__type_new_))
34959 return 0;
34960 ;
34961 return 0;
34962 }
34963 _ACEOF
34964 rm -f conftest.$ac_objext
34965 if { (ac_try="$ac_compile"
34966 case "(($ac_try" in
34967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34968 *) ac_try_echo=$ac_try;;
34969 esac
34970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34971 (eval "$ac_compile") 2>conftest.er1
34972 ac_status=$?
34973 grep -v '^ *+' conftest.er1 >conftest.err
34974 rm -f conftest.er1
34975 cat conftest.err >&5
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); } && {
34978 test -z "$ac_c_werror_flag" ||
34979 test ! -s conftest.err
34980 } && test -s conftest.$ac_objext; then
34981 ac_cv_type_ssize_t=yes
34982 else
34983 echo "$as_me: failed program was:" >&5
34984 sed 's/^/| /' conftest.$ac_ext >&5
34985
34986 ac_cv_type_ssize_t=no
34987 fi
34988
34989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34990 fi
34991 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34992 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34993 if test $ac_cv_type_ssize_t = yes; then
34994
34995 cat >>confdefs.h <<_ACEOF
34996 #define HAVE_SSIZE_T 1
34997 _ACEOF
34998
34999
35000 fi
35001
35002
35003 ac_ext=cpp
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35008 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35009 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35010 if test "${wx_cv_size_t_is_uint+set}" = set; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35012 else
35013
35014 cat >conftest.$ac_ext <<_ACEOF
35015 /* confdefs.h. */
35016 _ACEOF
35017 cat confdefs.h >>conftest.$ac_ext
35018 cat >>conftest.$ac_ext <<_ACEOF
35019 /* end confdefs.h. */
35020 #include <stddef.h>
35021 int
35022 main ()
35023 {
35024
35025 return 0; }
35026
35027 struct Foo { void foo(size_t); void foo(unsigned int); };
35028
35029 int bar() {
35030
35031 ;
35032 return 0;
35033 }
35034 _ACEOF
35035 rm -f conftest.$ac_objext
35036 if { (ac_try="$ac_compile"
35037 case "(($ac_try" in
35038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35039 *) ac_try_echo=$ac_try;;
35040 esac
35041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35042 (eval "$ac_compile") 2>conftest.er1
35043 ac_status=$?
35044 grep -v '^ *+' conftest.er1 >conftest.err
35045 rm -f conftest.er1
35046 cat conftest.err >&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); } && {
35049 test -z "$ac_cxx_werror_flag" ||
35050 test ! -s conftest.err
35051 } && test -s conftest.$ac_objext; then
35052 wx_cv_size_t_is_uint=no
35053 else
35054 echo "$as_me: failed program was:" >&5
35055 sed 's/^/| /' conftest.$ac_ext >&5
35056
35057 wx_cv_size_t_is_uint=yes
35058
35059 fi
35060
35061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35062
35063
35064 fi
35065 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35066 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
35067
35068 if test "$wx_cv_size_t_is_uint" = "yes"; then
35069 cat >>confdefs.h <<\_ACEOF
35070 #define wxSIZE_T_IS_UINT 1
35071 _ACEOF
35072
35073 else
35074 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35075 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
35076 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35077 echo $ECHO_N "(cached) $ECHO_C" >&6
35078 else
35079 cat >conftest.$ac_ext <<_ACEOF
35080 /* confdefs.h. */
35081 _ACEOF
35082 cat confdefs.h >>conftest.$ac_ext
35083 cat >>conftest.$ac_ext <<_ACEOF
35084 /* end confdefs.h. */
35085 #include <stddef.h>
35086 int
35087 main ()
35088 {
35089
35090 return 0; }
35091
35092 struct Foo { void foo(size_t); void foo(unsigned long); };
35093
35094 int bar() {
35095
35096 ;
35097 return 0;
35098 }
35099 _ACEOF
35100 rm -f conftest.$ac_objext
35101 if { (ac_try="$ac_compile"
35102 case "(($ac_try" in
35103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35104 *) ac_try_echo=$ac_try;;
35105 esac
35106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35107 (eval "$ac_compile") 2>conftest.er1
35108 ac_status=$?
35109 grep -v '^ *+' conftest.er1 >conftest.err
35110 rm -f conftest.er1
35111 cat conftest.err >&5
35112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35113 (exit $ac_status); } && {
35114 test -z "$ac_cxx_werror_flag" ||
35115 test ! -s conftest.err
35116 } && test -s conftest.$ac_objext; then
35117 wx_cv_size_t_is_ulong=no
35118 else
35119 echo "$as_me: failed program was:" >&5
35120 sed 's/^/| /' conftest.$ac_ext >&5
35121
35122 wx_cv_size_t_is_ulong=yes
35123
35124 fi
35125
35126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35127
35128 fi
35129 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35130 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
35131
35132 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35133 cat >>confdefs.h <<\_ACEOF
35134 #define wxSIZE_T_IS_ULONG 1
35135 _ACEOF
35136
35137 fi
35138 fi
35139
35140 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35141 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
35142 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35143 echo $ECHO_N "(cached) $ECHO_C" >&6
35144 else
35145 cat >conftest.$ac_ext <<_ACEOF
35146 /* confdefs.h. */
35147 _ACEOF
35148 cat confdefs.h >>conftest.$ac_ext
35149 cat >>conftest.$ac_ext <<_ACEOF
35150 /* end confdefs.h. */
35151 #include <wchar.h>
35152 int
35153 main ()
35154 {
35155
35156 return 0; }
35157
35158 struct Foo { void foo(wchar_t);
35159 void foo(unsigned short);
35160 void foo(unsigned int);
35161 void foo(unsigned long); };
35162
35163 int bar() {
35164
35165 ;
35166 return 0;
35167 }
35168 _ACEOF
35169 rm -f conftest.$ac_objext
35170 if { (ac_try="$ac_compile"
35171 case "(($ac_try" in
35172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35173 *) ac_try_echo=$ac_try;;
35174 esac
35175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35176 (eval "$ac_compile") 2>conftest.er1
35177 ac_status=$?
35178 grep -v '^ *+' conftest.er1 >conftest.err
35179 rm -f conftest.er1
35180 cat conftest.err >&5
35181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182 (exit $ac_status); } && {
35183 test -z "$ac_cxx_werror_flag" ||
35184 test ! -s conftest.err
35185 } && test -s conftest.$ac_objext; then
35186 wx_cv_wchar_t_is_separate_type=yes
35187 else
35188 echo "$as_me: failed program was:" >&5
35189 sed 's/^/| /' conftest.$ac_ext >&5
35190
35191 wx_cv_wchar_t_is_separate_type=no
35192
35193 fi
35194
35195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35196
35197 fi
35198 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35199 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
35200
35201 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35202 cat >>confdefs.h <<\_ACEOF
35203 #define wxWCHAR_T_IS_REAL_TYPE 1
35204 _ACEOF
35205
35206 else
35207 cat >>confdefs.h <<\_ACEOF
35208 #define wxWCHAR_T_IS_REAL_TYPE 0
35209 _ACEOF
35210
35211 fi
35212
35213 ac_ext=c
35214 ac_cpp='$CPP $CPPFLAGS'
35215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35218
35219
35220 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35221 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
35222 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35223 echo $ECHO_N "(cached) $ECHO_C" >&6
35224 else
35225
35226 cat >conftest.$ac_ext <<_ACEOF
35227 /* confdefs.h. */
35228 _ACEOF
35229 cat confdefs.h >>conftest.$ac_ext
35230 cat >>conftest.$ac_ext <<_ACEOF
35231 /* end confdefs.h. */
35232 #include <pwd.h>
35233 int
35234 main ()
35235 {
35236
35237 char *p;
35238 struct passwd *pw;
35239 p = pw->pw_gecos;
35240
35241 ;
35242 return 0;
35243 }
35244 _ACEOF
35245 rm -f conftest.$ac_objext
35246 if { (ac_try="$ac_compile"
35247 case "(($ac_try" in
35248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35249 *) ac_try_echo=$ac_try;;
35250 esac
35251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35252 (eval "$ac_compile") 2>conftest.er1
35253 ac_status=$?
35254 grep -v '^ *+' conftest.er1 >conftest.err
35255 rm -f conftest.er1
35256 cat conftest.err >&5
35257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35258 (exit $ac_status); } && {
35259 test -z "$ac_c_werror_flag" ||
35260 test ! -s conftest.err
35261 } && test -s conftest.$ac_objext; then
35262
35263 wx_cv_struct_pw_gecos=yes
35264
35265 else
35266 echo "$as_me: failed program was:" >&5
35267 sed 's/^/| /' conftest.$ac_ext >&5
35268
35269
35270 wx_cv_struct_pw_gecos=no
35271
35272
35273 fi
35274
35275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35276
35277
35278 fi
35279 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35280 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35281
35282 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35283 cat >>confdefs.h <<\_ACEOF
35284 #define HAVE_PW_GECOS 1
35285 _ACEOF
35286
35287 fi
35288
35289
35290 if test "$wxUSE_WCHAR_T" = "yes"; then
35291 cat >>confdefs.h <<\_ACEOF
35292 #define wxUSE_WCHAR_T 1
35293 _ACEOF
35294
35295
35296 WCSLEN_FOUND=0
35297 WCHAR_LINK=
35298
35299 for ac_func in wcslen
35300 do
35301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35302 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35304 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35305 echo $ECHO_N "(cached) $ECHO_C" >&6
35306 else
35307 cat >conftest.$ac_ext <<_ACEOF
35308 /* confdefs.h. */
35309 _ACEOF
35310 cat confdefs.h >>conftest.$ac_ext
35311 cat >>conftest.$ac_ext <<_ACEOF
35312 /* end confdefs.h. */
35313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35315 #define $ac_func innocuous_$ac_func
35316
35317 /* System header to define __stub macros and hopefully few prototypes,
35318 which can conflict with char $ac_func (); below.
35319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35320 <limits.h> exists even on freestanding compilers. */
35321
35322 #ifdef __STDC__
35323 # include <limits.h>
35324 #else
35325 # include <assert.h>
35326 #endif
35327
35328 #undef $ac_func
35329
35330 /* Override any GCC internal prototype to avoid an error.
35331 Use char because int might match the return type of a GCC
35332 builtin and then its argument prototype would still apply. */
35333 #ifdef __cplusplus
35334 extern "C"
35335 #endif
35336 char $ac_func ();
35337 /* The GNU C library defines this for functions which it implements
35338 to always fail with ENOSYS. Some functions are actually named
35339 something starting with __ and the normal name is an alias. */
35340 #if defined __stub_$ac_func || defined __stub___$ac_func
35341 choke me
35342 #endif
35343
35344 int
35345 main ()
35346 {
35347 return $ac_func ();
35348 ;
35349 return 0;
35350 }
35351 _ACEOF
35352 rm -f conftest.$ac_objext conftest$ac_exeext
35353 if { (ac_try="$ac_link"
35354 case "(($ac_try" in
35355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35356 *) ac_try_echo=$ac_try;;
35357 esac
35358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35359 (eval "$ac_link") 2>conftest.er1
35360 ac_status=$?
35361 grep -v '^ *+' conftest.er1 >conftest.err
35362 rm -f conftest.er1
35363 cat conftest.err >&5
35364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35365 (exit $ac_status); } && {
35366 test -z "$ac_c_werror_flag" ||
35367 test ! -s conftest.err
35368 } && test -s conftest$ac_exeext &&
35369 $as_test_x conftest$ac_exeext; then
35370 eval "$as_ac_var=yes"
35371 else
35372 echo "$as_me: failed program was:" >&5
35373 sed 's/^/| /' conftest.$ac_ext >&5
35374
35375 eval "$as_ac_var=no"
35376 fi
35377
35378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35379 conftest$ac_exeext conftest.$ac_ext
35380 fi
35381 ac_res=`eval echo '${'$as_ac_var'}'`
35382 { echo "$as_me:$LINENO: result: $ac_res" >&5
35383 echo "${ECHO_T}$ac_res" >&6; }
35384 if test `eval echo '${'$as_ac_var'}'` = yes; then
35385 cat >>confdefs.h <<_ACEOF
35386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35387 _ACEOF
35388 WCSLEN_FOUND=1
35389 fi
35390 done
35391
35392
35393 if test "$WCSLEN_FOUND" = 0; then
35394 if test "$TOOLKIT" = "MSW"; then
35395 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35396 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35397 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35398 echo $ECHO_N "(cached) $ECHO_C" >&6
35399 else
35400 ac_check_lib_save_LIBS=$LIBS
35401 LIBS="-lmsvcrt $LIBS"
35402 cat >conftest.$ac_ext <<_ACEOF
35403 /* confdefs.h. */
35404 _ACEOF
35405 cat confdefs.h >>conftest.$ac_ext
35406 cat >>conftest.$ac_ext <<_ACEOF
35407 /* end confdefs.h. */
35408
35409 /* Override any GCC internal prototype to avoid an error.
35410 Use char because int might match the return type of a GCC
35411 builtin and then its argument prototype would still apply. */
35412 #ifdef __cplusplus
35413 extern "C"
35414 #endif
35415 char wcslen ();
35416 int
35417 main ()
35418 {
35419 return wcslen ();
35420 ;
35421 return 0;
35422 }
35423 _ACEOF
35424 rm -f conftest.$ac_objext conftest$ac_exeext
35425 if { (ac_try="$ac_link"
35426 case "(($ac_try" in
35427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35428 *) ac_try_echo=$ac_try;;
35429 esac
35430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35431 (eval "$ac_link") 2>conftest.er1
35432 ac_status=$?
35433 grep -v '^ *+' conftest.er1 >conftest.err
35434 rm -f conftest.er1
35435 cat conftest.err >&5
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); } && {
35438 test -z "$ac_c_werror_flag" ||
35439 test ! -s conftest.err
35440 } && test -s conftest$ac_exeext &&
35441 $as_test_x conftest$ac_exeext; then
35442 ac_cv_lib_msvcrt_wcslen=yes
35443 else
35444 echo "$as_me: failed program was:" >&5
35445 sed 's/^/| /' conftest.$ac_ext >&5
35446
35447 ac_cv_lib_msvcrt_wcslen=no
35448 fi
35449
35450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35451 conftest$ac_exeext conftest.$ac_ext
35452 LIBS=$ac_check_lib_save_LIBS
35453 fi
35454 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35455 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35456 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35457 WCHAR_OK=1
35458 fi
35459
35460 else
35461 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35462 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35463 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35464 echo $ECHO_N "(cached) $ECHO_C" >&6
35465 else
35466 ac_check_lib_save_LIBS=$LIBS
35467 LIBS="-lw $LIBS"
35468 cat >conftest.$ac_ext <<_ACEOF
35469 /* confdefs.h. */
35470 _ACEOF
35471 cat confdefs.h >>conftest.$ac_ext
35472 cat >>conftest.$ac_ext <<_ACEOF
35473 /* end confdefs.h. */
35474
35475 /* Override any GCC internal prototype to avoid an error.
35476 Use char because int might match the return type of a GCC
35477 builtin and then its argument prototype would still apply. */
35478 #ifdef __cplusplus
35479 extern "C"
35480 #endif
35481 char wcslen ();
35482 int
35483 main ()
35484 {
35485 return wcslen ();
35486 ;
35487 return 0;
35488 }
35489 _ACEOF
35490 rm -f conftest.$ac_objext conftest$ac_exeext
35491 if { (ac_try="$ac_link"
35492 case "(($ac_try" in
35493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35494 *) ac_try_echo=$ac_try;;
35495 esac
35496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35497 (eval "$ac_link") 2>conftest.er1
35498 ac_status=$?
35499 grep -v '^ *+' conftest.er1 >conftest.err
35500 rm -f conftest.er1
35501 cat conftest.err >&5
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); } && {
35504 test -z "$ac_c_werror_flag" ||
35505 test ! -s conftest.err
35506 } && test -s conftest$ac_exeext &&
35507 $as_test_x conftest$ac_exeext; then
35508 ac_cv_lib_w_wcslen=yes
35509 else
35510 echo "$as_me: failed program was:" >&5
35511 sed 's/^/| /' conftest.$ac_ext >&5
35512
35513 ac_cv_lib_w_wcslen=no
35514 fi
35515
35516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35517 conftest$ac_exeext conftest.$ac_ext
35518 LIBS=$ac_check_lib_save_LIBS
35519 fi
35520 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35521 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35522 if test $ac_cv_lib_w_wcslen = yes; then
35523
35524 WCHAR_LINK=" -lw"
35525 WCSLEN_FOUND=1
35526
35527 fi
35528
35529 fi
35530 fi
35531
35532 if test "$WCSLEN_FOUND" = 1; then
35533 cat >>confdefs.h <<\_ACEOF
35534 #define HAVE_WCSLEN 1
35535 _ACEOF
35536
35537 fi
35538
35539
35540
35541
35542
35543
35544 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35545 do
35546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35547 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35549 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35550 echo $ECHO_N "(cached) $ECHO_C" >&6
35551 else
35552 cat >conftest.$ac_ext <<_ACEOF
35553 /* confdefs.h. */
35554 _ACEOF
35555 cat confdefs.h >>conftest.$ac_ext
35556 cat >>conftest.$ac_ext <<_ACEOF
35557 /* end confdefs.h. */
35558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35560 #define $ac_func innocuous_$ac_func
35561
35562 /* System header to define __stub macros and hopefully few prototypes,
35563 which can conflict with char $ac_func (); below.
35564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35565 <limits.h> exists even on freestanding compilers. */
35566
35567 #ifdef __STDC__
35568 # include <limits.h>
35569 #else
35570 # include <assert.h>
35571 #endif
35572
35573 #undef $ac_func
35574
35575 /* Override any GCC internal prototype to avoid an error.
35576 Use char because int might match the return type of a GCC
35577 builtin and then its argument prototype would still apply. */
35578 #ifdef __cplusplus
35579 extern "C"
35580 #endif
35581 char $ac_func ();
35582 /* The GNU C library defines this for functions which it implements
35583 to always fail with ENOSYS. Some functions are actually named
35584 something starting with __ and the normal name is an alias. */
35585 #if defined __stub_$ac_func || defined __stub___$ac_func
35586 choke me
35587 #endif
35588
35589 int
35590 main ()
35591 {
35592 return $ac_func ();
35593 ;
35594 return 0;
35595 }
35596 _ACEOF
35597 rm -f conftest.$ac_objext conftest$ac_exeext
35598 if { (ac_try="$ac_link"
35599 case "(($ac_try" in
35600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35601 *) ac_try_echo=$ac_try;;
35602 esac
35603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35604 (eval "$ac_link") 2>conftest.er1
35605 ac_status=$?
35606 grep -v '^ *+' conftest.er1 >conftest.err
35607 rm -f conftest.er1
35608 cat conftest.err >&5
35609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35610 (exit $ac_status); } && {
35611 test -z "$ac_c_werror_flag" ||
35612 test ! -s conftest.err
35613 } && test -s conftest$ac_exeext &&
35614 $as_test_x conftest$ac_exeext; then
35615 eval "$as_ac_var=yes"
35616 else
35617 echo "$as_me: failed program was:" >&5
35618 sed 's/^/| /' conftest.$ac_ext >&5
35619
35620 eval "$as_ac_var=no"
35621 fi
35622
35623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35624 conftest$ac_exeext conftest.$ac_ext
35625 fi
35626 ac_res=`eval echo '${'$as_ac_var'}'`
35627 { echo "$as_me:$LINENO: result: $ac_res" >&5
35628 echo "${ECHO_T}$ac_res" >&6; }
35629 if test `eval echo '${'$as_ac_var'}'` = yes; then
35630 cat >>confdefs.h <<_ACEOF
35631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35632 _ACEOF
35633
35634 fi
35635 done
35636
35637
35638 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35639 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35640 fi
35641
35642 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35643 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35644 if test "${ac_cv_type_mbstate_t+set}" = set; then
35645 echo $ECHO_N "(cached) $ECHO_C" >&6
35646 else
35647 cat >conftest.$ac_ext <<_ACEOF
35648 /* confdefs.h. */
35649 _ACEOF
35650 cat confdefs.h >>conftest.$ac_ext
35651 cat >>conftest.$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35653 #include <wchar.h>
35654
35655 typedef mbstate_t ac__type_new_;
35656 int
35657 main ()
35658 {
35659 if ((ac__type_new_ *) 0)
35660 return 0;
35661 if (sizeof (ac__type_new_))
35662 return 0;
35663 ;
35664 return 0;
35665 }
35666 _ACEOF
35667 rm -f conftest.$ac_objext
35668 if { (ac_try="$ac_compile"
35669 case "(($ac_try" in
35670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35671 *) ac_try_echo=$ac_try;;
35672 esac
35673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35674 (eval "$ac_compile") 2>conftest.er1
35675 ac_status=$?
35676 grep -v '^ *+' conftest.er1 >conftest.err
35677 rm -f conftest.er1
35678 cat conftest.err >&5
35679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35680 (exit $ac_status); } && {
35681 test -z "$ac_c_werror_flag" ||
35682 test ! -s conftest.err
35683 } && test -s conftest.$ac_objext; then
35684 ac_cv_type_mbstate_t=yes
35685 else
35686 echo "$as_me: failed program was:" >&5
35687 sed 's/^/| /' conftest.$ac_ext >&5
35688
35689 ac_cv_type_mbstate_t=no
35690 fi
35691
35692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35693 fi
35694 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35695 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35696 if test $ac_cv_type_mbstate_t = yes; then
35697
35698 cat >>confdefs.h <<_ACEOF
35699 #define HAVE_MBSTATE_T 1
35700 _ACEOF
35701
35702
35703 for ac_func in wcsrtombs
35704 do
35705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35706 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35708 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35709 echo $ECHO_N "(cached) $ECHO_C" >&6
35710 else
35711 cat >conftest.$ac_ext <<_ACEOF
35712 /* confdefs.h. */
35713 _ACEOF
35714 cat confdefs.h >>conftest.$ac_ext
35715 cat >>conftest.$ac_ext <<_ACEOF
35716 /* end confdefs.h. */
35717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35719 #define $ac_func innocuous_$ac_func
35720
35721 /* System header to define __stub macros and hopefully few prototypes,
35722 which can conflict with char $ac_func (); below.
35723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35724 <limits.h> exists even on freestanding compilers. */
35725
35726 #ifdef __STDC__
35727 # include <limits.h>
35728 #else
35729 # include <assert.h>
35730 #endif
35731
35732 #undef $ac_func
35733
35734 /* Override any GCC internal prototype to avoid an error.
35735 Use char because int might match the return type of a GCC
35736 builtin and then its argument prototype would still apply. */
35737 #ifdef __cplusplus
35738 extern "C"
35739 #endif
35740 char $ac_func ();
35741 /* The GNU C library defines this for functions which it implements
35742 to always fail with ENOSYS. Some functions are actually named
35743 something starting with __ and the normal name is an alias. */
35744 #if defined __stub_$ac_func || defined __stub___$ac_func
35745 choke me
35746 #endif
35747
35748 int
35749 main ()
35750 {
35751 return $ac_func ();
35752 ;
35753 return 0;
35754 }
35755 _ACEOF
35756 rm -f conftest.$ac_objext conftest$ac_exeext
35757 if { (ac_try="$ac_link"
35758 case "(($ac_try" in
35759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35760 *) ac_try_echo=$ac_try;;
35761 esac
35762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35763 (eval "$ac_link") 2>conftest.er1
35764 ac_status=$?
35765 grep -v '^ *+' conftest.er1 >conftest.err
35766 rm -f conftest.er1
35767 cat conftest.err >&5
35768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35769 (exit $ac_status); } && {
35770 test -z "$ac_c_werror_flag" ||
35771 test ! -s conftest.err
35772 } && test -s conftest$ac_exeext &&
35773 $as_test_x conftest$ac_exeext; then
35774 eval "$as_ac_var=yes"
35775 else
35776 echo "$as_me: failed program was:" >&5
35777 sed 's/^/| /' conftest.$ac_ext >&5
35778
35779 eval "$as_ac_var=no"
35780 fi
35781
35782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35783 conftest$ac_exeext conftest.$ac_ext
35784 fi
35785 ac_res=`eval echo '${'$as_ac_var'}'`
35786 { echo "$as_me:$LINENO: result: $ac_res" >&5
35787 echo "${ECHO_T}$ac_res" >&6; }
35788 if test `eval echo '${'$as_ac_var'}'` = yes; then
35789 cat >>confdefs.h <<_ACEOF
35790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35791 _ACEOF
35792
35793 fi
35794 done
35795
35796 fi
35797
35798 else
35799 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35800 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35801 fi
35802
35803
35804
35805
35806 for ac_func in snprintf vsnprintf vsscanf
35807 do
35808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35809 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35811 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35813 else
35814 cat >conftest.$ac_ext <<_ACEOF
35815 /* confdefs.h. */
35816 _ACEOF
35817 cat confdefs.h >>conftest.$ac_ext
35818 cat >>conftest.$ac_ext <<_ACEOF
35819 /* end confdefs.h. */
35820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35822 #define $ac_func innocuous_$ac_func
35823
35824 /* System header to define __stub macros and hopefully few prototypes,
35825 which can conflict with char $ac_func (); below.
35826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35827 <limits.h> exists even on freestanding compilers. */
35828
35829 #ifdef __STDC__
35830 # include <limits.h>
35831 #else
35832 # include <assert.h>
35833 #endif
35834
35835 #undef $ac_func
35836
35837 /* Override any GCC internal prototype to avoid an error.
35838 Use char because int might match the return type of a GCC
35839 builtin and then its argument prototype would still apply. */
35840 #ifdef __cplusplus
35841 extern "C"
35842 #endif
35843 char $ac_func ();
35844 /* The GNU C library defines this for functions which it implements
35845 to always fail with ENOSYS. Some functions are actually named
35846 something starting with __ and the normal name is an alias. */
35847 #if defined __stub_$ac_func || defined __stub___$ac_func
35848 choke me
35849 #endif
35850
35851 int
35852 main ()
35853 {
35854 return $ac_func ();
35855 ;
35856 return 0;
35857 }
35858 _ACEOF
35859 rm -f conftest.$ac_objext conftest$ac_exeext
35860 if { (ac_try="$ac_link"
35861 case "(($ac_try" in
35862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35863 *) ac_try_echo=$ac_try;;
35864 esac
35865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35866 (eval "$ac_link") 2>conftest.er1
35867 ac_status=$?
35868 grep -v '^ *+' conftest.er1 >conftest.err
35869 rm -f conftest.er1
35870 cat conftest.err >&5
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); } && {
35873 test -z "$ac_c_werror_flag" ||
35874 test ! -s conftest.err
35875 } && test -s conftest$ac_exeext &&
35876 $as_test_x conftest$ac_exeext; then
35877 eval "$as_ac_var=yes"
35878 else
35879 echo "$as_me: failed program was:" >&5
35880 sed 's/^/| /' conftest.$ac_ext >&5
35881
35882 eval "$as_ac_var=no"
35883 fi
35884
35885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35886 conftest$ac_exeext conftest.$ac_ext
35887 fi
35888 ac_res=`eval echo '${'$as_ac_var'}'`
35889 { echo "$as_me:$LINENO: result: $ac_res" >&5
35890 echo "${ECHO_T}$ac_res" >&6; }
35891 if test `eval echo '${'$as_ac_var'}'` = yes; then
35892 cat >>confdefs.h <<_ACEOF
35893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35894 _ACEOF
35895
35896 fi
35897 done
35898
35899
35900 ac_ext=cpp
35901 ac_cpp='$CXXCPP $CPPFLAGS'
35902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35905
35906 if test "$ac_cv_func_vsnprintf" = "yes"; then
35907 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35908 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35909 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35910 echo $ECHO_N "(cached) $ECHO_C" >&6
35911 else
35912
35913 cat >conftest.$ac_ext <<_ACEOF
35914 /* confdefs.h. */
35915 _ACEOF
35916 cat confdefs.h >>conftest.$ac_ext
35917 cat >>conftest.$ac_ext <<_ACEOF
35918 /* end confdefs.h. */
35919
35920 #include <stdio.h>
35921 #include <stdarg.h>
35922 #ifdef __MSL__
35923 #if __MSL__ >= 0x6000
35924 namespace std {}
35925 using namespace std;
35926 #endif
35927 #endif
35928
35929 int
35930 main ()
35931 {
35932
35933 char *buf;
35934 va_list ap;
35935 vsnprintf(buf, 10u, "%s", ap);
35936
35937 ;
35938 return 0;
35939 }
35940 _ACEOF
35941 rm -f conftest.$ac_objext
35942 if { (ac_try="$ac_compile"
35943 case "(($ac_try" in
35944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35945 *) ac_try_echo=$ac_try;;
35946 esac
35947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35948 (eval "$ac_compile") 2>conftest.er1
35949 ac_status=$?
35950 grep -v '^ *+' conftest.er1 >conftest.err
35951 rm -f conftest.er1
35952 cat conftest.err >&5
35953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35954 (exit $ac_status); } && {
35955 test -z "$ac_cxx_werror_flag" ||
35956 test ! -s conftest.err
35957 } && test -s conftest.$ac_objext; then
35958 wx_cv_func_vsnprintf_decl=yes
35959 else
35960 echo "$as_me: failed program was:" >&5
35961 sed 's/^/| /' conftest.$ac_ext >&5
35962
35963 wx_cv_func_vsnprintf_decl=no
35964
35965 fi
35966
35967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35968
35969
35970 fi
35971 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35972 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35973
35974 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35975 cat >>confdefs.h <<\_ACEOF
35976 #define HAVE_VSNPRINTF_DECL 1
35977 _ACEOF
35978
35979
35980 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35981 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35982 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35983 echo $ECHO_N "(cached) $ECHO_C" >&6
35984 else
35985
35986 cat >conftest.$ac_ext <<_ACEOF
35987 /* confdefs.h. */
35988 _ACEOF
35989 cat confdefs.h >>conftest.$ac_ext
35990 cat >>conftest.$ac_ext <<_ACEOF
35991 /* end confdefs.h. */
35992
35993 #include <stdio.h>
35994 #include <stdarg.h>
35995 #ifdef __MSL__
35996 #if __MSL__ >= 0x6000
35997 namespace std {}
35998 using namespace std;
35999 #endif
36000 #endif
36001
36002 int
36003 main ()
36004 {
36005
36006 char *buf;
36007 va_list ap;
36008 const char *fmt = "%s";
36009 vsnprintf(buf, 10u, fmt, ap);
36010
36011 ;
36012 return 0;
36013 }
36014 _ACEOF
36015 rm -f conftest.$ac_objext
36016 if { (ac_try="$ac_compile"
36017 case "(($ac_try" in
36018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36019 *) ac_try_echo=$ac_try;;
36020 esac
36021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36022 (eval "$ac_compile") 2>conftest.er1
36023 ac_status=$?
36024 grep -v '^ *+' conftest.er1 >conftest.err
36025 rm -f conftest.er1
36026 cat conftest.err >&5
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); } && {
36029 test -z "$ac_cxx_werror_flag" ||
36030 test ! -s conftest.err
36031 } && test -s conftest.$ac_objext; then
36032 wx_cv_func_broken_vsnprintf_decl=no
36033 else
36034 echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36036
36037 wx_cv_func_broken_vsnprintf_decl=yes
36038
36039 fi
36040
36041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36042
36043
36044 fi
36045 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36046 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
36047
36048 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36049 cat >>confdefs.h <<\_ACEOF
36050 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36051 _ACEOF
36052
36053 fi
36054 fi
36055 fi
36056
36057 if test "$ac_cv_func_snprintf" = "yes"; then
36058 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36059 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
36060 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36061 echo $ECHO_N "(cached) $ECHO_C" >&6
36062 else
36063
36064 cat >conftest.$ac_ext <<_ACEOF
36065 /* confdefs.h. */
36066 _ACEOF
36067 cat confdefs.h >>conftest.$ac_ext
36068 cat >>conftest.$ac_ext <<_ACEOF
36069 /* end confdefs.h. */
36070
36071 #include <stdio.h>
36072 #include <stdarg.h>
36073 #ifdef __MSL__
36074 #if __MSL__ >= 0x6000
36075 namespace std {}
36076 using namespace std;
36077 #endif
36078 #endif
36079
36080 int
36081 main ()
36082 {
36083
36084 char *buf;
36085 snprintf(buf, 10u, "%s", "wx");
36086
36087 ;
36088 return 0;
36089 }
36090 _ACEOF
36091 rm -f conftest.$ac_objext
36092 if { (ac_try="$ac_compile"
36093 case "(($ac_try" in
36094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36095 *) ac_try_echo=$ac_try;;
36096 esac
36097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36098 (eval "$ac_compile") 2>conftest.er1
36099 ac_status=$?
36100 grep -v '^ *+' conftest.er1 >conftest.err
36101 rm -f conftest.er1
36102 cat conftest.err >&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); } && {
36105 test -z "$ac_cxx_werror_flag" ||
36106 test ! -s conftest.err
36107 } && test -s conftest.$ac_objext; then
36108 wx_cv_func_snprintf_decl=yes
36109 else
36110 echo "$as_me: failed program was:" >&5
36111 sed 's/^/| /' conftest.$ac_ext >&5
36112
36113 wx_cv_func_snprintf_decl=no
36114
36115 fi
36116
36117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36118
36119
36120 fi
36121 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36122 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
36123
36124 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36125 cat >>confdefs.h <<\_ACEOF
36126 #define HAVE_SNPRINTF_DECL 1
36127 _ACEOF
36128
36129 fi
36130
36131 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36132
36133 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36134 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
36135 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36136 echo $ECHO_N "(cached) $ECHO_C" >&6
36137 else
36138
36139 if test "$cross_compiling" = yes; then
36140
36141 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36142 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36143 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36144 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36145 wx_cv_func_snprintf_pos_params=no
36146
36147
36148 else
36149 cat >conftest.$ac_ext <<_ACEOF
36150 /* confdefs.h. */
36151 _ACEOF
36152 cat confdefs.h >>conftest.$ac_ext
36153 cat >>conftest.$ac_ext <<_ACEOF
36154 /* end confdefs.h. */
36155
36156 #include <stdio.h>
36157
36158 int main (void)
36159 {
36160 char buffer[128];
36161 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
36162 if (strcmp ("2 3 1", buffer) == 0)
36163 exit (0);
36164 exit (1);
36165 }
36166
36167 _ACEOF
36168 rm -f conftest$ac_exeext
36169 if { (ac_try="$ac_link"
36170 case "(($ac_try" in
36171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36172 *) ac_try_echo=$ac_try;;
36173 esac
36174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36175 (eval "$ac_link") 2>&5
36176 ac_status=$?
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36179 { (case "(($ac_try" in
36180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36181 *) ac_try_echo=$ac_try;;
36182 esac
36183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36184 (eval "$ac_try") 2>&5
36185 ac_status=$?
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); }; }; then
36188 wx_cv_func_snprintf_pos_params=no
36189 else
36190 echo "$as_me: program exited with status $ac_status" >&5
36191 echo "$as_me: failed program was:" >&5
36192 sed 's/^/| /' conftest.$ac_ext >&5
36193
36194 ( exit $ac_status )
36195 wx_cv_func_snprintf_pos_params=yes
36196 fi
36197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36198 fi
36199
36200
36201
36202
36203 fi
36204 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36205 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
36206
36207 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36208 cat >>confdefs.h <<\_ACEOF
36209 #define HAVE_UNIX98_PRINTF 1
36210 _ACEOF
36211
36212 fi
36213 fi
36214 fi
36215
36216 if test "$ac_cv_func_vsscanf" = "yes"; then
36217 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
36218 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
36219 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
36220 echo $ECHO_N "(cached) $ECHO_C" >&6
36221 else
36222
36223 cat >conftest.$ac_ext <<_ACEOF
36224 /* confdefs.h. */
36225 _ACEOF
36226 cat confdefs.h >>conftest.$ac_ext
36227 cat >>conftest.$ac_ext <<_ACEOF
36228 /* end confdefs.h. */
36229
36230 #include <stdio.h>
36231 #include <stdarg.h>
36232 #ifdef __MSL__
36233 #if __MSL__ >= 0x6000
36234 namespace std {}
36235 using namespace std;
36236 #endif
36237 #endif
36238
36239 int
36240 main ()
36241 {
36242
36243 char *buf;
36244 va_list args;
36245 vsscanf(buf, "%s", args);
36246
36247 ;
36248 return 0;
36249 }
36250 _ACEOF
36251 rm -f conftest.$ac_objext
36252 if { (ac_try="$ac_compile"
36253 case "(($ac_try" in
36254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36255 *) ac_try_echo=$ac_try;;
36256 esac
36257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36258 (eval "$ac_compile") 2>conftest.er1
36259 ac_status=$?
36260 grep -v '^ *+' conftest.er1 >conftest.err
36261 rm -f conftest.er1
36262 cat conftest.err >&5
36263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36264 (exit $ac_status); } && {
36265 test -z "$ac_cxx_werror_flag" ||
36266 test ! -s conftest.err
36267 } && test -s conftest.$ac_objext; then
36268 wx_cv_func_vsscanf_decl=yes
36269 else
36270 echo "$as_me: failed program was:" >&5
36271 sed 's/^/| /' conftest.$ac_ext >&5
36272
36273 wx_cv_func_vsscanf_decl=no
36274
36275 fi
36276
36277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36278
36279
36280 fi
36281 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36282 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36283
36284 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36285 cat >>confdefs.h <<\_ACEOF
36286 #define HAVE_VSSCANF_DECL 1
36287 _ACEOF
36288
36289 fi
36290 fi
36291 ac_ext=c
36292 ac_cpp='$CPP $CPPFLAGS'
36293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36296
36297
36298 if test "$wxUSE_UNICODE" = yes; then
36299
36300 wchar_headers="#include <stdio.h>
36301 #include <wchar.h>"
36302 case "${host}" in
36303 *-*-solaris2* )
36304
36305 for ac_header in widec.h
36306 do
36307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36308 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36311 echo $ECHO_N "(cached) $ECHO_C" >&6
36312 else
36313 cat >conftest.$ac_ext <<_ACEOF
36314 /* confdefs.h. */
36315 _ACEOF
36316 cat confdefs.h >>conftest.$ac_ext
36317 cat >>conftest.$ac_ext <<_ACEOF
36318 /* end confdefs.h. */
36319 $ac_includes_default
36320
36321 #include <$ac_header>
36322 _ACEOF
36323 rm -f conftest.$ac_objext
36324 if { (ac_try="$ac_compile"
36325 case "(($ac_try" in
36326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36327 *) ac_try_echo=$ac_try;;
36328 esac
36329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36330 (eval "$ac_compile") 2>conftest.er1
36331 ac_status=$?
36332 grep -v '^ *+' conftest.er1 >conftest.err
36333 rm -f conftest.er1
36334 cat conftest.err >&5
36335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36336 (exit $ac_status); } && {
36337 test -z "$ac_c_werror_flag" ||
36338 test ! -s conftest.err
36339 } && test -s conftest.$ac_objext; then
36340 eval "$as_ac_Header=yes"
36341 else
36342 echo "$as_me: failed program was:" >&5
36343 sed 's/^/| /' conftest.$ac_ext >&5
36344
36345 eval "$as_ac_Header=no"
36346 fi
36347
36348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36349 fi
36350 ac_res=`eval echo '${'$as_ac_Header'}'`
36351 { echo "$as_me:$LINENO: result: $ac_res" >&5
36352 echo "${ECHO_T}$ac_res" >&6; }
36353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36354 cat >>confdefs.h <<_ACEOF
36355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36356 _ACEOF
36357
36358 fi
36359
36360 done
36361
36362 if test "$ac_cv_header_widec_h" = "yes"; then
36363 wchar_headers="$wchar_headers
36364 #include <widec.h>"
36365 fi
36366 esac
36367
36368
36369 for wx_func in putws fputws wprintf vswprintf vswscanf
36370 do
36371 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36372 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36373 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36374 echo $ECHO_N "(cached) $ECHO_C" >&6
36375 else
36376
36377 cat >conftest.$ac_ext <<_ACEOF
36378
36379 /* confdefs.h. */
36380 _ACEOF
36381 cat confdefs.h >>conftest.$ac_ext
36382 cat >>conftest.$ac_ext <<_ACEOF
36383 /* end confdefs.h. */
36384
36385 $wchar_headers
36386 $ac_includes_default
36387
36388 int
36389 main ()
36390 {
36391
36392 #ifndef $wx_func
36393 &$wx_func;
36394 #endif
36395
36396
36397 ;
36398 return 0;
36399 }
36400
36401 _ACEOF
36402 rm -f conftest.$ac_objext conftest$ac_exeext
36403 if { (ac_try="$ac_link"
36404 case "(($ac_try" in
36405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36406 *) ac_try_echo=$ac_try;;
36407 esac
36408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36409 (eval "$ac_link") 2>conftest.er1
36410 ac_status=$?
36411 grep -v '^ *+' conftest.er1 >conftest.err
36412 rm -f conftest.er1
36413 cat conftest.err >&5
36414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 (exit $ac_status); } && {
36416 test -z "$ac_c_werror_flag" ||
36417 test ! -s conftest.err
36418 } && test -s conftest$ac_exeext &&
36419 $as_test_x conftest$ac_exeext; then
36420 eval wx_cv_func_$wx_func=yes
36421 else
36422 echo "$as_me: failed program was:" >&5
36423 sed 's/^/| /' conftest.$ac_ext >&5
36424
36425 eval wx_cv_func_$wx_func=no
36426 fi
36427
36428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36429 conftest$ac_exeext conftest.$ac_ext
36430
36431 fi
36432 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36433 { echo "$as_me:$LINENO: result: $ac_res" >&5
36434 echo "${ECHO_T}$ac_res" >&6; }
36435
36436 if eval test \$wx_cv_func_$wx_func = yes
36437 then
36438 cat >>confdefs.h <<_ACEOF
36439 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36440 _ACEOF
36441
36442
36443 else
36444 :
36445
36446 fi
36447 done
36448
36449
36450 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36451 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36452 cat >conftest.$ac_ext <<_ACEOF
36453 /* confdefs.h. */
36454 _ACEOF
36455 cat confdefs.h >>conftest.$ac_ext
36456 cat >>conftest.$ac_ext <<_ACEOF
36457 /* end confdefs.h. */
36458 #include <wchar.h>
36459 int
36460 main ()
36461 {
36462 &_vsnwprintf;
36463 ;
36464 return 0;
36465 }
36466 _ACEOF
36467 rm -f conftest.$ac_objext
36468 if { (ac_try="$ac_compile"
36469 case "(($ac_try" in
36470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36471 *) ac_try_echo=$ac_try;;
36472 esac
36473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36474 (eval "$ac_compile") 2>conftest.er1
36475 ac_status=$?
36476 grep -v '^ *+' conftest.er1 >conftest.err
36477 rm -f conftest.er1
36478 cat conftest.err >&5
36479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 (exit $ac_status); } && {
36481 test -z "$ac_c_werror_flag" ||
36482 test ! -s conftest.err
36483 } && test -s conftest.$ac_objext; then
36484 { echo "$as_me:$LINENO: result: yes" >&5
36485 echo "${ECHO_T}yes" >&6; }
36486 cat >>confdefs.h <<\_ACEOF
36487 #define HAVE__VSNWPRINTF 1
36488 _ACEOF
36489
36490 else
36491 echo "$as_me: failed program was:" >&5
36492 sed 's/^/| /' conftest.$ac_ext >&5
36493
36494 { echo "$as_me:$LINENO: result: no" >&5
36495 echo "${ECHO_T}no" >&6; }
36496 fi
36497
36498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36499 fi
36500
36501 if test "$wxUSE_FILE" = "yes"; then
36502
36503 for wx_func in fsync
36504 do
36505 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36506 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36507 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36508 echo $ECHO_N "(cached) $ECHO_C" >&6
36509 else
36510
36511 cat >conftest.$ac_ext <<_ACEOF
36512
36513 /* confdefs.h. */
36514 _ACEOF
36515 cat confdefs.h >>conftest.$ac_ext
36516 cat >>conftest.$ac_ext <<_ACEOF
36517 /* end confdefs.h. */
36518
36519
36520 $ac_includes_default
36521
36522 int
36523 main ()
36524 {
36525
36526 #ifndef $wx_func
36527 &$wx_func;
36528 #endif
36529
36530
36531 ;
36532 return 0;
36533 }
36534
36535 _ACEOF
36536 rm -f conftest.$ac_objext conftest$ac_exeext
36537 if { (ac_try="$ac_link"
36538 case "(($ac_try" in
36539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36540 *) ac_try_echo=$ac_try;;
36541 esac
36542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36543 (eval "$ac_link") 2>conftest.er1
36544 ac_status=$?
36545 grep -v '^ *+' conftest.er1 >conftest.err
36546 rm -f conftest.er1
36547 cat conftest.err >&5
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); } && {
36550 test -z "$ac_c_werror_flag" ||
36551 test ! -s conftest.err
36552 } && test -s conftest$ac_exeext &&
36553 $as_test_x conftest$ac_exeext; then
36554 eval wx_cv_func_$wx_func=yes
36555 else
36556 echo "$as_me: failed program was:" >&5
36557 sed 's/^/| /' conftest.$ac_ext >&5
36558
36559 eval wx_cv_func_$wx_func=no
36560 fi
36561
36562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36563 conftest$ac_exeext conftest.$ac_ext
36564
36565 fi
36566 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36567 { echo "$as_me:$LINENO: result: $ac_res" >&5
36568 echo "${ECHO_T}$ac_res" >&6; }
36569
36570 if eval test \$wx_cv_func_$wx_func = yes
36571 then
36572 cat >>confdefs.h <<_ACEOF
36573 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36574 _ACEOF
36575
36576
36577 else
36578 :
36579
36580 fi
36581 done
36582
36583 fi
36584
36585 ac_ext=cpp
36586 ac_cpp='$CXXCPP $CPPFLAGS'
36587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36590
36591
36592 for wx_func in round
36593 do
36594 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36595 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36596 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36597 echo $ECHO_N "(cached) $ECHO_C" >&6
36598 else
36599
36600 cat >conftest.$ac_ext <<_ACEOF
36601
36602 /* confdefs.h. */
36603 _ACEOF
36604 cat confdefs.h >>conftest.$ac_ext
36605 cat >>conftest.$ac_ext <<_ACEOF
36606 /* end confdefs.h. */
36607
36608 #include <math.h>
36609 $ac_includes_default
36610
36611 int
36612 main ()
36613 {
36614
36615 #ifndef $wx_func
36616 &$wx_func;
36617 #endif
36618
36619
36620 ;
36621 return 0;
36622 }
36623
36624 _ACEOF
36625 rm -f conftest.$ac_objext conftest$ac_exeext
36626 if { (ac_try="$ac_link"
36627 case "(($ac_try" in
36628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36629 *) ac_try_echo=$ac_try;;
36630 esac
36631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36632 (eval "$ac_link") 2>conftest.er1
36633 ac_status=$?
36634 grep -v '^ *+' conftest.er1 >conftest.err
36635 rm -f conftest.er1
36636 cat conftest.err >&5
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); } && {
36639 test -z "$ac_cxx_werror_flag" ||
36640 test ! -s conftest.err
36641 } && test -s conftest$ac_exeext &&
36642 $as_test_x conftest$ac_exeext; then
36643 eval wx_cv_func_$wx_func=yes
36644 else
36645 echo "$as_me: failed program was:" >&5
36646 sed 's/^/| /' conftest.$ac_ext >&5
36647
36648 eval wx_cv_func_$wx_func=no
36649 fi
36650
36651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36652 conftest$ac_exeext conftest.$ac_ext
36653
36654 fi
36655 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36656 { echo "$as_me:$LINENO: result: $ac_res" >&5
36657 echo "${ECHO_T}$ac_res" >&6; }
36658
36659 if eval test \$wx_cv_func_$wx_func = yes
36660 then
36661 cat >>confdefs.h <<_ACEOF
36662 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36663 _ACEOF
36664
36665
36666 else
36667 :
36668
36669 fi
36670 done
36671
36672 ac_ext=c
36673 ac_cpp='$CPP $CPPFLAGS'
36674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36677
36678
36679 if test "$TOOLKIT" != "MSW"; then
36680
36681 if test "$wxUSE_LIBICONV" != "no" ; then
36682
36683
36684
36685 # Check whether --with-libiconv-prefix was given.
36686 if test "${with_libiconv_prefix+set}" = set; then
36687 withval=$with_libiconv_prefix;
36688 for dir in `echo "$withval" | tr : ' '`; do
36689 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36690 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36691 done
36692
36693 fi
36694
36695
36696 { echo "$as_me:$LINENO: checking for iconv" >&5
36697 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36698 if test "${am_cv_func_iconv+set}" = set; then
36699 echo $ECHO_N "(cached) $ECHO_C" >&6
36700 else
36701
36702 am_cv_func_iconv="no, consider installing GNU libiconv"
36703 am_cv_lib_iconv=no
36704 cat >conftest.$ac_ext <<_ACEOF
36705 /* confdefs.h. */
36706 _ACEOF
36707 cat confdefs.h >>conftest.$ac_ext
36708 cat >>conftest.$ac_ext <<_ACEOF
36709 /* end confdefs.h. */
36710 #include <stdlib.h>
36711 #include <iconv.h>
36712 int
36713 main ()
36714 {
36715 iconv_t cd = iconv_open("","");
36716 iconv(cd,NULL,NULL,NULL,NULL);
36717 iconv_close(cd);
36718 ;
36719 return 0;
36720 }
36721 _ACEOF
36722 rm -f conftest.$ac_objext conftest$ac_exeext
36723 if { (ac_try="$ac_link"
36724 case "(($ac_try" in
36725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36726 *) ac_try_echo=$ac_try;;
36727 esac
36728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36729 (eval "$ac_link") 2>conftest.er1
36730 ac_status=$?
36731 grep -v '^ *+' conftest.er1 >conftest.err
36732 rm -f conftest.er1
36733 cat conftest.err >&5
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); } && {
36736 test -z "$ac_c_werror_flag" ||
36737 test ! -s conftest.err
36738 } && test -s conftest$ac_exeext &&
36739 $as_test_x conftest$ac_exeext; then
36740 am_cv_func_iconv=yes
36741 else
36742 echo "$as_me: failed program was:" >&5
36743 sed 's/^/| /' conftest.$ac_ext >&5
36744
36745
36746 fi
36747
36748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36749 conftest$ac_exeext conftest.$ac_ext
36750 if test "$am_cv_func_iconv" != yes; then
36751 am_save_LIBS="$LIBS"
36752 LIBS="$LIBS -liconv"
36753 cat >conftest.$ac_ext <<_ACEOF
36754 /* confdefs.h. */
36755 _ACEOF
36756 cat confdefs.h >>conftest.$ac_ext
36757 cat >>conftest.$ac_ext <<_ACEOF
36758 /* end confdefs.h. */
36759 #include <stdlib.h>
36760 #include <iconv.h>
36761 int
36762 main ()
36763 {
36764 iconv_t cd = iconv_open("","");
36765 iconv(cd,NULL,NULL,NULL,NULL);
36766 iconv_close(cd);
36767 ;
36768 return 0;
36769 }
36770 _ACEOF
36771 rm -f conftest.$ac_objext conftest$ac_exeext
36772 if { (ac_try="$ac_link"
36773 case "(($ac_try" in
36774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36775 *) ac_try_echo=$ac_try;;
36776 esac
36777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36778 (eval "$ac_link") 2>conftest.er1
36779 ac_status=$?
36780 grep -v '^ *+' conftest.er1 >conftest.err
36781 rm -f conftest.er1
36782 cat conftest.err >&5
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); } && {
36785 test -z "$ac_c_werror_flag" ||
36786 test ! -s conftest.err
36787 } && test -s conftest$ac_exeext &&
36788 $as_test_x conftest$ac_exeext; then
36789 am_cv_lib_iconv=yes
36790 am_cv_func_iconv=yes
36791 else
36792 echo "$as_me: failed program was:" >&5
36793 sed 's/^/| /' conftest.$ac_ext >&5
36794
36795
36796 fi
36797
36798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36799 conftest$ac_exeext conftest.$ac_ext
36800 LIBS="$am_save_LIBS"
36801 fi
36802
36803 fi
36804 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36805 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36806 if test "$am_cv_func_iconv" = yes; then
36807
36808 cat >>confdefs.h <<\_ACEOF
36809 #define HAVE_ICONV 1
36810 _ACEOF
36811
36812 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36813 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36814 if test "${wx_cv_func_iconv_const+set}" = set; then
36815 echo $ECHO_N "(cached) $ECHO_C" >&6
36816 else
36817 cat >conftest.$ac_ext <<_ACEOF
36818 /* confdefs.h. */
36819 _ACEOF
36820 cat confdefs.h >>conftest.$ac_ext
36821 cat >>conftest.$ac_ext <<_ACEOF
36822 /* end confdefs.h. */
36823
36824 #include <stdlib.h>
36825 #include <iconv.h>
36826 extern
36827 #ifdef __cplusplus
36828 "C"
36829 #endif
36830 #if defined(__STDC__) || defined(__cplusplus)
36831 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36832 #else
36833 size_t iconv();
36834 #endif
36835
36836 int
36837 main ()
36838 {
36839
36840 ;
36841 return 0;
36842 }
36843 _ACEOF
36844 rm -f conftest.$ac_objext
36845 if { (ac_try="$ac_compile"
36846 case "(($ac_try" in
36847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36848 *) ac_try_echo=$ac_try;;
36849 esac
36850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36851 (eval "$ac_compile") 2>conftest.er1
36852 ac_status=$?
36853 grep -v '^ *+' conftest.er1 >conftest.err
36854 rm -f conftest.er1
36855 cat conftest.err >&5
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); } && {
36858 test -z "$ac_c_werror_flag" ||
36859 test ! -s conftest.err
36860 } && test -s conftest.$ac_objext; then
36861 wx_cv_func_iconv_const="no"
36862 else
36863 echo "$as_me: failed program was:" >&5
36864 sed 's/^/| /' conftest.$ac_ext >&5
36865
36866 wx_cv_func_iconv_const="yes"
36867
36868 fi
36869
36870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36871
36872 fi
36873 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36874 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36875
36876 iconv_const=
36877 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36878 iconv_const="const"
36879 fi
36880
36881
36882 cat >>confdefs.h <<_ACEOF
36883 #define ICONV_CONST $iconv_const
36884 _ACEOF
36885
36886 fi
36887 LIBICONV=
36888 if test "$am_cv_lib_iconv" = yes; then
36889 LIBICONV="-liconv"
36890 fi
36891
36892
36893 LIBS="$LIBICONV $LIBS"
36894 fi
36895
36896 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36897
36898 for ac_func in sigaction
36899 do
36900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36904 echo $ECHO_N "(cached) $ECHO_C" >&6
36905 else
36906 cat >conftest.$ac_ext <<_ACEOF
36907 /* confdefs.h. */
36908 _ACEOF
36909 cat confdefs.h >>conftest.$ac_ext
36910 cat >>conftest.$ac_ext <<_ACEOF
36911 /* end confdefs.h. */
36912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36914 #define $ac_func innocuous_$ac_func
36915
36916 /* System header to define __stub macros and hopefully few prototypes,
36917 which can conflict with char $ac_func (); below.
36918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36919 <limits.h> exists even on freestanding compilers. */
36920
36921 #ifdef __STDC__
36922 # include <limits.h>
36923 #else
36924 # include <assert.h>
36925 #endif
36926
36927 #undef $ac_func
36928
36929 /* Override any GCC internal prototype to avoid an error.
36930 Use char because int might match the return type of a GCC
36931 builtin and then its argument prototype would still apply. */
36932 #ifdef __cplusplus
36933 extern "C"
36934 #endif
36935 char $ac_func ();
36936 /* The GNU C library defines this for functions which it implements
36937 to always fail with ENOSYS. Some functions are actually named
36938 something starting with __ and the normal name is an alias. */
36939 #if defined __stub_$ac_func || defined __stub___$ac_func
36940 choke me
36941 #endif
36942
36943 int
36944 main ()
36945 {
36946 return $ac_func ();
36947 ;
36948 return 0;
36949 }
36950 _ACEOF
36951 rm -f conftest.$ac_objext conftest$ac_exeext
36952 if { (ac_try="$ac_link"
36953 case "(($ac_try" in
36954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36955 *) ac_try_echo=$ac_try;;
36956 esac
36957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36958 (eval "$ac_link") 2>conftest.er1
36959 ac_status=$?
36960 grep -v '^ *+' conftest.er1 >conftest.err
36961 rm -f conftest.er1
36962 cat conftest.err >&5
36963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36964 (exit $ac_status); } && {
36965 test -z "$ac_c_werror_flag" ||
36966 test ! -s conftest.err
36967 } && test -s conftest$ac_exeext &&
36968 $as_test_x conftest$ac_exeext; then
36969 eval "$as_ac_var=yes"
36970 else
36971 echo "$as_me: failed program was:" >&5
36972 sed 's/^/| /' conftest.$ac_ext >&5
36973
36974 eval "$as_ac_var=no"
36975 fi
36976
36977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36978 conftest$ac_exeext conftest.$ac_ext
36979 fi
36980 ac_res=`eval echo '${'$as_ac_var'}'`
36981 { echo "$as_me:$LINENO: result: $ac_res" >&5
36982 echo "${ECHO_T}$ac_res" >&6; }
36983 if test `eval echo '${'$as_ac_var'}'` = yes; then
36984 cat >>confdefs.h <<_ACEOF
36985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36986 _ACEOF
36987
36988 fi
36989 done
36990
36991
36992 if test "$ac_cv_func_sigaction" = "no"; then
36993 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36994 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36995 wxUSE_ON_FATAL_EXCEPTION=no
36996 fi
36997
36998 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36999 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37000 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37001 if test "${wx_cv_type_sa_handler+set}" = set; then
37002 echo $ECHO_N "(cached) $ECHO_C" >&6
37003 else
37004
37005 ac_ext=cpp
37006 ac_cpp='$CXXCPP $CPPFLAGS'
37007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37010
37011 cat >conftest.$ac_ext <<_ACEOF
37012 /* confdefs.h. */
37013 _ACEOF
37014 cat confdefs.h >>conftest.$ac_ext
37015 cat >>conftest.$ac_ext <<_ACEOF
37016 /* end confdefs.h. */
37017 #include <signal.h>
37018 int
37019 main ()
37020 {
37021
37022 extern void testSigHandler(int);
37023
37024 struct sigaction sa;
37025 sa.sa_handler = testSigHandler;
37026
37027 ;
37028 return 0;
37029 }
37030 _ACEOF
37031 rm -f conftest.$ac_objext
37032 if { (ac_try="$ac_compile"
37033 case "(($ac_try" in
37034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37035 *) ac_try_echo=$ac_try;;
37036 esac
37037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37038 (eval "$ac_compile") 2>conftest.er1
37039 ac_status=$?
37040 grep -v '^ *+' conftest.er1 >conftest.err
37041 rm -f conftest.er1
37042 cat conftest.err >&5
37043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37044 (exit $ac_status); } && {
37045 test -z "$ac_cxx_werror_flag" ||
37046 test ! -s conftest.err
37047 } && test -s conftest.$ac_objext; then
37048
37049 wx_cv_type_sa_handler=int
37050
37051 else
37052 echo "$as_me: failed program was:" >&5
37053 sed 's/^/| /' conftest.$ac_ext >&5
37054
37055
37056 wx_cv_type_sa_handler=void
37057
37058 fi
37059
37060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37061 ac_ext=c
37062 ac_cpp='$CPP $CPPFLAGS'
37063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37066
37067
37068 fi
37069 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37070 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
37071
37072 cat >>confdefs.h <<_ACEOF
37073 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37074 _ACEOF
37075
37076 fi
37077 fi
37078
37079 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37080 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37081 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
37082 if test "${wx_cv_func_backtrace+set}" = set; then
37083 echo $ECHO_N "(cached) $ECHO_C" >&6
37084 else
37085
37086 ac_ext=cpp
37087 ac_cpp='$CXXCPP $CPPFLAGS'
37088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37091
37092 cat >conftest.$ac_ext <<_ACEOF
37093 /* confdefs.h. */
37094 _ACEOF
37095 cat confdefs.h >>conftest.$ac_ext
37096 cat >>conftest.$ac_ext <<_ACEOF
37097 /* end confdefs.h. */
37098 #include <execinfo.h>
37099 int
37100 main ()
37101 {
37102
37103 void *trace[1];
37104 char **messages;
37105
37106 backtrace(trace, 1);
37107 messages = backtrace_symbols(trace, 1);
37108
37109 ;
37110 return 0;
37111 }
37112 _ACEOF
37113 rm -f conftest.$ac_objext
37114 if { (ac_try="$ac_compile"
37115 case "(($ac_try" in
37116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37117 *) ac_try_echo=$ac_try;;
37118 esac
37119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37120 (eval "$ac_compile") 2>conftest.er1
37121 ac_status=$?
37122 grep -v '^ *+' conftest.er1 >conftest.err
37123 rm -f conftest.er1
37124 cat conftest.err >&5
37125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37126 (exit $ac_status); } && {
37127 test -z "$ac_cxx_werror_flag" ||
37128 test ! -s conftest.err
37129 } && test -s conftest.$ac_objext; then
37130 wx_cv_func_backtrace=yes
37131 else
37132 echo "$as_me: failed program was:" >&5
37133 sed 's/^/| /' conftest.$ac_ext >&5
37134
37135 wx_cv_func_backtrace=no
37136
37137 fi
37138
37139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37140 ac_ext=c
37141 ac_cpp='$CPP $CPPFLAGS'
37142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37145
37146
37147
37148 fi
37149 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37150 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
37151
37152
37153 if test "$wx_cv_func_backtrace" = "no"; then
37154 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37155 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37156 wxUSE_STACKWALKER=no
37157 else
37158 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37159 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
37160 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37161 echo $ECHO_N "(cached) $ECHO_C" >&6
37162 else
37163
37164 ac_ext=cpp
37165 ac_cpp='$CXXCPP $CPPFLAGS'
37166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37169
37170 cat >conftest.$ac_ext <<_ACEOF
37171 /* confdefs.h. */
37172 _ACEOF
37173 cat confdefs.h >>conftest.$ac_ext
37174 cat >>conftest.$ac_ext <<_ACEOF
37175 /* end confdefs.h. */
37176 #include <cxxabi.h>
37177 int
37178 main ()
37179 {
37180
37181 int rc;
37182 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37183
37184 ;
37185 return 0;
37186 }
37187 _ACEOF
37188 rm -f conftest.$ac_objext conftest$ac_exeext
37189 if { (ac_try="$ac_link"
37190 case "(($ac_try" in
37191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37192 *) ac_try_echo=$ac_try;;
37193 esac
37194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37195 (eval "$ac_link") 2>conftest.er1
37196 ac_status=$?
37197 grep -v '^ *+' conftest.er1 >conftest.err
37198 rm -f conftest.er1
37199 cat conftest.err >&5
37200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37201 (exit $ac_status); } && {
37202 test -z "$ac_cxx_werror_flag" ||
37203 test ! -s conftest.err
37204 } && test -s conftest$ac_exeext &&
37205 $as_test_x conftest$ac_exeext; then
37206 wx_cv_func_cxa_demangle=yes
37207 else
37208 echo "$as_me: failed program was:" >&5
37209 sed 's/^/| /' conftest.$ac_ext >&5
37210
37211 wx_cv_func_cxa_demangle=no
37212
37213 fi
37214
37215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37216 conftest$ac_exeext conftest.$ac_ext
37217 ac_ext=c
37218 ac_cpp='$CPP $CPPFLAGS'
37219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37222
37223
37224
37225 fi
37226 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37227 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
37228
37229 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37230 cat >>confdefs.h <<\_ACEOF
37231 #define HAVE_CXA_DEMANGLE 1
37232 _ACEOF
37233
37234 fi
37235 fi
37236 fi
37237
37238 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
37239 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37240 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37241 wxUSE_STACKWALKER=no
37242 fi
37243
37244
37245
37246
37247 for ac_func in mkstemp mktemp
37248 do
37249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37253 echo $ECHO_N "(cached) $ECHO_C" >&6
37254 else
37255 cat >conftest.$ac_ext <<_ACEOF
37256 /* confdefs.h. */
37257 _ACEOF
37258 cat confdefs.h >>conftest.$ac_ext
37259 cat >>conftest.$ac_ext <<_ACEOF
37260 /* end confdefs.h. */
37261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37263 #define $ac_func innocuous_$ac_func
37264
37265 /* System header to define __stub macros and hopefully few prototypes,
37266 which can conflict with char $ac_func (); below.
37267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37268 <limits.h> exists even on freestanding compilers. */
37269
37270 #ifdef __STDC__
37271 # include <limits.h>
37272 #else
37273 # include <assert.h>
37274 #endif
37275
37276 #undef $ac_func
37277
37278 /* Override any GCC internal prototype to avoid an error.
37279 Use char because int might match the return type of a GCC
37280 builtin and then its argument prototype would still apply. */
37281 #ifdef __cplusplus
37282 extern "C"
37283 #endif
37284 char $ac_func ();
37285 /* The GNU C library defines this for functions which it implements
37286 to always fail with ENOSYS. Some functions are actually named
37287 something starting with __ and the normal name is an alias. */
37288 #if defined __stub_$ac_func || defined __stub___$ac_func
37289 choke me
37290 #endif
37291
37292 int
37293 main ()
37294 {
37295 return $ac_func ();
37296 ;
37297 return 0;
37298 }
37299 _ACEOF
37300 rm -f conftest.$ac_objext conftest$ac_exeext
37301 if { (ac_try="$ac_link"
37302 case "(($ac_try" in
37303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37304 *) ac_try_echo=$ac_try;;
37305 esac
37306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37307 (eval "$ac_link") 2>conftest.er1
37308 ac_status=$?
37309 grep -v '^ *+' conftest.er1 >conftest.err
37310 rm -f conftest.er1
37311 cat conftest.err >&5
37312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313 (exit $ac_status); } && {
37314 test -z "$ac_c_werror_flag" ||
37315 test ! -s conftest.err
37316 } && test -s conftest$ac_exeext &&
37317 $as_test_x conftest$ac_exeext; then
37318 eval "$as_ac_var=yes"
37319 else
37320 echo "$as_me: failed program was:" >&5
37321 sed 's/^/| /' conftest.$ac_ext >&5
37322
37323 eval "$as_ac_var=no"
37324 fi
37325
37326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37327 conftest$ac_exeext conftest.$ac_ext
37328 fi
37329 ac_res=`eval echo '${'$as_ac_var'}'`
37330 { echo "$as_me:$LINENO: result: $ac_res" >&5
37331 echo "${ECHO_T}$ac_res" >&6; }
37332 if test `eval echo '${'$as_ac_var'}'` = yes; then
37333 cat >>confdefs.h <<_ACEOF
37334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37335 _ACEOF
37336 break
37337 fi
37338 done
37339
37340
37341 { echo "$as_me:$LINENO: checking for statfs" >&5
37342 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37343 if test "${wx_cv_func_statfs+set}" = set; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37345 else
37346 cat >conftest.$ac_ext <<_ACEOF
37347 /* confdefs.h. */
37348 _ACEOF
37349 cat confdefs.h >>conftest.$ac_ext
37350 cat >>conftest.$ac_ext <<_ACEOF
37351 /* end confdefs.h. */
37352
37353 #if defined(__BSD__)
37354 #include <sys/param.h>
37355 #include <sys/mount.h>
37356 #else
37357 #include <sys/vfs.h>
37358 #endif
37359
37360 int
37361 main ()
37362 {
37363
37364 long l;
37365 struct statfs fs;
37366 statfs("/", &fs);
37367 l = fs.f_bsize;
37368 l += fs.f_blocks;
37369 l += fs.f_bavail;
37370
37371 ;
37372 return 0;
37373 }
37374 _ACEOF
37375 rm -f conftest.$ac_objext
37376 if { (ac_try="$ac_compile"
37377 case "(($ac_try" in
37378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37379 *) ac_try_echo=$ac_try;;
37380 esac
37381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37382 (eval "$ac_compile") 2>conftest.er1
37383 ac_status=$?
37384 grep -v '^ *+' conftest.er1 >conftest.err
37385 rm -f conftest.er1
37386 cat conftest.err >&5
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); } && {
37389 test -z "$ac_c_werror_flag" ||
37390 test ! -s conftest.err
37391 } && test -s conftest.$ac_objext; then
37392 wx_cv_func_statfs=yes
37393 else
37394 echo "$as_me: failed program was:" >&5
37395 sed 's/^/| /' conftest.$ac_ext >&5
37396
37397 wx_cv_func_statfs=no
37398
37399 fi
37400
37401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37402
37403 fi
37404 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37405 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37406
37407 if test "$wx_cv_func_statfs" = "yes"; then
37408 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37409 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37410 if test "${wx_cv_func_statfs_decl+set}" = set; then
37411 echo $ECHO_N "(cached) $ECHO_C" >&6
37412 else
37413 ac_ext=cpp
37414 ac_cpp='$CXXCPP $CPPFLAGS'
37415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37418
37419 cat >conftest.$ac_ext <<_ACEOF
37420 /* confdefs.h. */
37421 _ACEOF
37422 cat confdefs.h >>conftest.$ac_ext
37423 cat >>conftest.$ac_ext <<_ACEOF
37424 /* end confdefs.h. */
37425
37426 #if defined(__BSD__)
37427 #include <sys/param.h>
37428 #include <sys/mount.h>
37429 #else
37430 #include <sys/vfs.h>
37431 #endif
37432
37433 int
37434 main ()
37435 {
37436
37437 struct statfs fs;
37438 statfs("", &fs);
37439
37440 ;
37441 return 0;
37442 }
37443 _ACEOF
37444 rm -f conftest.$ac_objext
37445 if { (ac_try="$ac_compile"
37446 case "(($ac_try" in
37447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37448 *) ac_try_echo=$ac_try;;
37449 esac
37450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37451 (eval "$ac_compile") 2>conftest.er1
37452 ac_status=$?
37453 grep -v '^ *+' conftest.er1 >conftest.err
37454 rm -f conftest.er1
37455 cat conftest.err >&5
37456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457 (exit $ac_status); } && {
37458 test -z "$ac_cxx_werror_flag" ||
37459 test ! -s conftest.err
37460 } && test -s conftest.$ac_objext; then
37461 wx_cv_func_statfs_decl=yes
37462 else
37463 echo "$as_me: failed program was:" >&5
37464 sed 's/^/| /' conftest.$ac_ext >&5
37465
37466 wx_cv_func_statfs_decl=no
37467
37468 fi
37469
37470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37471 ac_ext=c
37472 ac_cpp='$CPP $CPPFLAGS'
37473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37476
37477
37478 fi
37479 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37480 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37481
37482 if test "$wx_cv_func_statfs_decl" = "yes"; then
37483 cat >>confdefs.h <<\_ACEOF
37484 #define HAVE_STATFS_DECL 1
37485 _ACEOF
37486
37487 fi
37488
37489 wx_cv_type_statvfs_t="struct statfs"
37490 cat >>confdefs.h <<\_ACEOF
37491 #define HAVE_STATFS 1
37492 _ACEOF
37493
37494 else
37495 { echo "$as_me:$LINENO: checking for statvfs" >&5
37496 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37497 if test "${wx_cv_func_statvfs+set}" = set; then
37498 echo $ECHO_N "(cached) $ECHO_C" >&6
37499 else
37500 cat >conftest.$ac_ext <<_ACEOF
37501 /* confdefs.h. */
37502 _ACEOF
37503 cat confdefs.h >>conftest.$ac_ext
37504 cat >>conftest.$ac_ext <<_ACEOF
37505 /* end confdefs.h. */
37506
37507 #include <stddef.h>
37508 #include <sys/statvfs.h>
37509
37510 int
37511 main ()
37512 {
37513
37514 statvfs("/", NULL);
37515
37516 ;
37517 return 0;
37518 }
37519 _ACEOF
37520 rm -f conftest.$ac_objext
37521 if { (ac_try="$ac_compile"
37522 case "(($ac_try" in
37523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37524 *) ac_try_echo=$ac_try;;
37525 esac
37526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37527 (eval "$ac_compile") 2>conftest.er1
37528 ac_status=$?
37529 grep -v '^ *+' conftest.er1 >conftest.err
37530 rm -f conftest.er1
37531 cat conftest.err >&5
37532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37533 (exit $ac_status); } && {
37534 test -z "$ac_c_werror_flag" ||
37535 test ! -s conftest.err
37536 } && test -s conftest.$ac_objext; then
37537 wx_cv_func_statvfs=yes
37538 else
37539 echo "$as_me: failed program was:" >&5
37540 sed 's/^/| /' conftest.$ac_ext >&5
37541
37542 wx_cv_func_statvfs=no
37543
37544 fi
37545
37546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37547
37548 fi
37549 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37550 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37551
37552 if test "$wx_cv_func_statvfs" = "yes"; then
37553 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37554 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37555 if test "${wx_cv_type_statvfs_t+set}" = set; then
37556 echo $ECHO_N "(cached) $ECHO_C" >&6
37557 else
37558 ac_ext=cpp
37559 ac_cpp='$CXXCPP $CPPFLAGS'
37560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37563
37564 cat >conftest.$ac_ext <<_ACEOF
37565 /* confdefs.h. */
37566 _ACEOF
37567 cat confdefs.h >>conftest.$ac_ext
37568 cat >>conftest.$ac_ext <<_ACEOF
37569 /* end confdefs.h. */
37570
37571 #include <sys/statvfs.h>
37572
37573 int
37574 main ()
37575 {
37576
37577 long l;
37578 statvfs_t fs;
37579 statvfs("/", &fs);
37580 l = fs.f_bsize;
37581 l += fs.f_blocks;
37582 l += fs.f_bavail;
37583
37584 ;
37585 return 0;
37586 }
37587 _ACEOF
37588 rm -f conftest.$ac_objext
37589 if { (ac_try="$ac_compile"
37590 case "(($ac_try" in
37591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37592 *) ac_try_echo=$ac_try;;
37593 esac
37594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37595 (eval "$ac_compile") 2>conftest.er1
37596 ac_status=$?
37597 grep -v '^ *+' conftest.er1 >conftest.err
37598 rm -f conftest.er1
37599 cat conftest.err >&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); } && {
37602 test -z "$ac_cxx_werror_flag" ||
37603 test ! -s conftest.err
37604 } && test -s conftest.$ac_objext; then
37605 wx_cv_type_statvfs_t=statvfs_t
37606 else
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.$ac_ext >&5
37609
37610
37611 cat >conftest.$ac_ext <<_ACEOF
37612 /* confdefs.h. */
37613 _ACEOF
37614 cat confdefs.h >>conftest.$ac_ext
37615 cat >>conftest.$ac_ext <<_ACEOF
37616 /* end confdefs.h. */
37617
37618 #include <sys/statvfs.h>
37619
37620 int
37621 main ()
37622 {
37623
37624 long l;
37625 struct statvfs fs;
37626 statvfs("/", &fs);
37627 l = fs.f_bsize;
37628 l += fs.f_blocks;
37629 l += fs.f_bavail;
37630
37631 ;
37632 return 0;
37633 }
37634 _ACEOF
37635 rm -f conftest.$ac_objext
37636 if { (ac_try="$ac_compile"
37637 case "(($ac_try" in
37638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37639 *) ac_try_echo=$ac_try;;
37640 esac
37641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37642 (eval "$ac_compile") 2>conftest.er1
37643 ac_status=$?
37644 grep -v '^ *+' conftest.er1 >conftest.err
37645 rm -f conftest.er1
37646 cat conftest.err >&5
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); } && {
37649 test -z "$ac_cxx_werror_flag" ||
37650 test ! -s conftest.err
37651 } && test -s conftest.$ac_objext; then
37652 wx_cv_type_statvfs_t="struct statvfs"
37653 else
37654 echo "$as_me: failed program was:" >&5
37655 sed 's/^/| /' conftest.$ac_ext >&5
37656
37657 wx_cv_type_statvfs_t="unknown"
37658
37659 fi
37660
37661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37662
37663
37664 fi
37665
37666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37667 ac_ext=c
37668 ac_cpp='$CPP $CPPFLAGS'
37669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37672
37673
37674 fi
37675 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37676 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37677
37678 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37679 cat >>confdefs.h <<\_ACEOF
37680 #define HAVE_STATVFS 1
37681 _ACEOF
37682
37683 fi
37684 else
37685 wx_cv_type_statvfs_t="unknown"
37686 fi
37687 fi
37688
37689 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37690 cat >>confdefs.h <<_ACEOF
37691 #define WX_STATFS_T $wx_cv_type_statvfs_t
37692 _ACEOF
37693
37694 else
37695 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37696 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37697 fi
37698
37699 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37700
37701
37702 for ac_func in fcntl flock
37703 do
37704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37705 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37707 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37708 echo $ECHO_N "(cached) $ECHO_C" >&6
37709 else
37710 cat >conftest.$ac_ext <<_ACEOF
37711 /* confdefs.h. */
37712 _ACEOF
37713 cat confdefs.h >>conftest.$ac_ext
37714 cat >>conftest.$ac_ext <<_ACEOF
37715 /* end confdefs.h. */
37716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37718 #define $ac_func innocuous_$ac_func
37719
37720 /* System header to define __stub macros and hopefully few prototypes,
37721 which can conflict with char $ac_func (); below.
37722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37723 <limits.h> exists even on freestanding compilers. */
37724
37725 #ifdef __STDC__
37726 # include <limits.h>
37727 #else
37728 # include <assert.h>
37729 #endif
37730
37731 #undef $ac_func
37732
37733 /* Override any GCC internal prototype to avoid an error.
37734 Use char because int might match the return type of a GCC
37735 builtin and then its argument prototype would still apply. */
37736 #ifdef __cplusplus
37737 extern "C"
37738 #endif
37739 char $ac_func ();
37740 /* The GNU C library defines this for functions which it implements
37741 to always fail with ENOSYS. Some functions are actually named
37742 something starting with __ and the normal name is an alias. */
37743 #if defined __stub_$ac_func || defined __stub___$ac_func
37744 choke me
37745 #endif
37746
37747 int
37748 main ()
37749 {
37750 return $ac_func ();
37751 ;
37752 return 0;
37753 }
37754 _ACEOF
37755 rm -f conftest.$ac_objext conftest$ac_exeext
37756 if { (ac_try="$ac_link"
37757 case "(($ac_try" in
37758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37759 *) ac_try_echo=$ac_try;;
37760 esac
37761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37762 (eval "$ac_link") 2>conftest.er1
37763 ac_status=$?
37764 grep -v '^ *+' conftest.er1 >conftest.err
37765 rm -f conftest.er1
37766 cat conftest.err >&5
37767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37768 (exit $ac_status); } && {
37769 test -z "$ac_c_werror_flag" ||
37770 test ! -s conftest.err
37771 } && test -s conftest$ac_exeext &&
37772 $as_test_x conftest$ac_exeext; then
37773 eval "$as_ac_var=yes"
37774 else
37775 echo "$as_me: failed program was:" >&5
37776 sed 's/^/| /' conftest.$ac_ext >&5
37777
37778 eval "$as_ac_var=no"
37779 fi
37780
37781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37782 conftest$ac_exeext conftest.$ac_ext
37783 fi
37784 ac_res=`eval echo '${'$as_ac_var'}'`
37785 { echo "$as_me:$LINENO: result: $ac_res" >&5
37786 echo "${ECHO_T}$ac_res" >&6; }
37787 if test `eval echo '${'$as_ac_var'}'` = yes; then
37788 cat >>confdefs.h <<_ACEOF
37789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37790 _ACEOF
37791 break
37792 fi
37793 done
37794
37795
37796 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37797 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37798 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37799 wxUSE_SNGLINST_CHECKER=no
37800 fi
37801 fi
37802
37803
37804
37805 for ac_func in setenv putenv
37806 do
37807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37808 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37810 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37811 echo $ECHO_N "(cached) $ECHO_C" >&6
37812 else
37813 cat >conftest.$ac_ext <<_ACEOF
37814 /* confdefs.h. */
37815 _ACEOF
37816 cat confdefs.h >>conftest.$ac_ext
37817 cat >>conftest.$ac_ext <<_ACEOF
37818 /* end confdefs.h. */
37819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37821 #define $ac_func innocuous_$ac_func
37822
37823 /* System header to define __stub macros and hopefully few prototypes,
37824 which can conflict with char $ac_func (); below.
37825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37826 <limits.h> exists even on freestanding compilers. */
37827
37828 #ifdef __STDC__
37829 # include <limits.h>
37830 #else
37831 # include <assert.h>
37832 #endif
37833
37834 #undef $ac_func
37835
37836 /* Override any GCC internal prototype to avoid an error.
37837 Use char because int might match the return type of a GCC
37838 builtin and then its argument prototype would still apply. */
37839 #ifdef __cplusplus
37840 extern "C"
37841 #endif
37842 char $ac_func ();
37843 /* The GNU C library defines this for functions which it implements
37844 to always fail with ENOSYS. Some functions are actually named
37845 something starting with __ and the normal name is an alias. */
37846 #if defined __stub_$ac_func || defined __stub___$ac_func
37847 choke me
37848 #endif
37849
37850 int
37851 main ()
37852 {
37853 return $ac_func ();
37854 ;
37855 return 0;
37856 }
37857 _ACEOF
37858 rm -f conftest.$ac_objext conftest$ac_exeext
37859 if { (ac_try="$ac_link"
37860 case "(($ac_try" in
37861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37862 *) ac_try_echo=$ac_try;;
37863 esac
37864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37865 (eval "$ac_link") 2>conftest.er1
37866 ac_status=$?
37867 grep -v '^ *+' conftest.er1 >conftest.err
37868 rm -f conftest.er1
37869 cat conftest.err >&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); } && {
37872 test -z "$ac_c_werror_flag" ||
37873 test ! -s conftest.err
37874 } && test -s conftest$ac_exeext &&
37875 $as_test_x conftest$ac_exeext; then
37876 eval "$as_ac_var=yes"
37877 else
37878 echo "$as_me: failed program was:" >&5
37879 sed 's/^/| /' conftest.$ac_ext >&5
37880
37881 eval "$as_ac_var=no"
37882 fi
37883
37884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37885 conftest$ac_exeext conftest.$ac_ext
37886 fi
37887 ac_res=`eval echo '${'$as_ac_var'}'`
37888 { echo "$as_me:$LINENO: result: $ac_res" >&5
37889 echo "${ECHO_T}$ac_res" >&6; }
37890 if test `eval echo '${'$as_ac_var'}'` = yes; then
37891 cat >>confdefs.h <<_ACEOF
37892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37893 _ACEOF
37894 break
37895 fi
37896 done
37897
37898 if test "$ac_cv_func_setenv" = "yes"; then
37899
37900 for ac_func in unsetenv
37901 do
37902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37903 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37905 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37906 echo $ECHO_N "(cached) $ECHO_C" >&6
37907 else
37908 cat >conftest.$ac_ext <<_ACEOF
37909 /* confdefs.h. */
37910 _ACEOF
37911 cat confdefs.h >>conftest.$ac_ext
37912 cat >>conftest.$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37916 #define $ac_func innocuous_$ac_func
37917
37918 /* System header to define __stub macros and hopefully few prototypes,
37919 which can conflict with char $ac_func (); below.
37920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37921 <limits.h> exists even on freestanding compilers. */
37922
37923 #ifdef __STDC__
37924 # include <limits.h>
37925 #else
37926 # include <assert.h>
37927 #endif
37928
37929 #undef $ac_func
37930
37931 /* Override any GCC internal prototype to avoid an error.
37932 Use char because int might match the return type of a GCC
37933 builtin and then its argument prototype would still apply. */
37934 #ifdef __cplusplus
37935 extern "C"
37936 #endif
37937 char $ac_func ();
37938 /* The GNU C library defines this for functions which it implements
37939 to always fail with ENOSYS. Some functions are actually named
37940 something starting with __ and the normal name is an alias. */
37941 #if defined __stub_$ac_func || defined __stub___$ac_func
37942 choke me
37943 #endif
37944
37945 int
37946 main ()
37947 {
37948 return $ac_func ();
37949 ;
37950 return 0;
37951 }
37952 _ACEOF
37953 rm -f conftest.$ac_objext conftest$ac_exeext
37954 if { (ac_try="$ac_link"
37955 case "(($ac_try" in
37956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37957 *) ac_try_echo=$ac_try;;
37958 esac
37959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37960 (eval "$ac_link") 2>conftest.er1
37961 ac_status=$?
37962 grep -v '^ *+' conftest.er1 >conftest.err
37963 rm -f conftest.er1
37964 cat conftest.err >&5
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); } && {
37967 test -z "$ac_c_werror_flag" ||
37968 test ! -s conftest.err
37969 } && test -s conftest$ac_exeext &&
37970 $as_test_x conftest$ac_exeext; then
37971 eval "$as_ac_var=yes"
37972 else
37973 echo "$as_me: failed program was:" >&5
37974 sed 's/^/| /' conftest.$ac_ext >&5
37975
37976 eval "$as_ac_var=no"
37977 fi
37978
37979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37980 conftest$ac_exeext conftest.$ac_ext
37981 fi
37982 ac_res=`eval echo '${'$as_ac_var'}'`
37983 { echo "$as_me:$LINENO: result: $ac_res" >&5
37984 echo "${ECHO_T}$ac_res" >&6; }
37985 if test `eval echo '${'$as_ac_var'}'` = yes; then
37986 cat >>confdefs.h <<_ACEOF
37987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37988 _ACEOF
37989
37990 fi
37991 done
37992
37993 fi
37994
37995 HAVE_SOME_SLEEP_FUNC=0
37996 if test "$USE_BEOS" = 1; then
37997 cat >>confdefs.h <<\_ACEOF
37998 #define HAVE_SLEEP 1
37999 _ACEOF
38000
38001 HAVE_SOME_SLEEP_FUNC=1
38002 fi
38003
38004 if test "$USE_DARWIN" = 1; then
38005 cat >>confdefs.h <<\_ACEOF
38006 #define HAVE_USLEEP 1
38007 _ACEOF
38008
38009 HAVE_SOME_SLEEP_FUNC=1
38010 fi
38011
38012 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38013 POSIX4_LINK=
38014
38015 for ac_func in nanosleep
38016 do
38017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38018 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38020 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38021 echo $ECHO_N "(cached) $ECHO_C" >&6
38022 else
38023 cat >conftest.$ac_ext <<_ACEOF
38024 /* confdefs.h. */
38025 _ACEOF
38026 cat confdefs.h >>conftest.$ac_ext
38027 cat >>conftest.$ac_ext <<_ACEOF
38028 /* end confdefs.h. */
38029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38031 #define $ac_func innocuous_$ac_func
38032
38033 /* System header to define __stub macros and hopefully few prototypes,
38034 which can conflict with char $ac_func (); below.
38035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38036 <limits.h> exists even on freestanding compilers. */
38037
38038 #ifdef __STDC__
38039 # include <limits.h>
38040 #else
38041 # include <assert.h>
38042 #endif
38043
38044 #undef $ac_func
38045
38046 /* Override any GCC internal prototype to avoid an error.
38047 Use char because int might match the return type of a GCC
38048 builtin and then its argument prototype would still apply. */
38049 #ifdef __cplusplus
38050 extern "C"
38051 #endif
38052 char $ac_func ();
38053 /* The GNU C library defines this for functions which it implements
38054 to always fail with ENOSYS. Some functions are actually named
38055 something starting with __ and the normal name is an alias. */
38056 #if defined __stub_$ac_func || defined __stub___$ac_func
38057 choke me
38058 #endif
38059
38060 int
38061 main ()
38062 {
38063 return $ac_func ();
38064 ;
38065 return 0;
38066 }
38067 _ACEOF
38068 rm -f conftest.$ac_objext conftest$ac_exeext
38069 if { (ac_try="$ac_link"
38070 case "(($ac_try" in
38071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38072 *) ac_try_echo=$ac_try;;
38073 esac
38074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38075 (eval "$ac_link") 2>conftest.er1
38076 ac_status=$?
38077 grep -v '^ *+' conftest.er1 >conftest.err
38078 rm -f conftest.er1
38079 cat conftest.err >&5
38080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38081 (exit $ac_status); } && {
38082 test -z "$ac_c_werror_flag" ||
38083 test ! -s conftest.err
38084 } && test -s conftest$ac_exeext &&
38085 $as_test_x conftest$ac_exeext; then
38086 eval "$as_ac_var=yes"
38087 else
38088 echo "$as_me: failed program was:" >&5
38089 sed 's/^/| /' conftest.$ac_ext >&5
38090
38091 eval "$as_ac_var=no"
38092 fi
38093
38094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38095 conftest$ac_exeext conftest.$ac_ext
38096 fi
38097 ac_res=`eval echo '${'$as_ac_var'}'`
38098 { echo "$as_me:$LINENO: result: $ac_res" >&5
38099 echo "${ECHO_T}$ac_res" >&6; }
38100 if test `eval echo '${'$as_ac_var'}'` = yes; then
38101 cat >>confdefs.h <<_ACEOF
38102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38103 _ACEOF
38104 cat >>confdefs.h <<\_ACEOF
38105 #define HAVE_NANOSLEEP 1
38106 _ACEOF
38107
38108 else
38109
38110 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38111 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
38112 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38113 echo $ECHO_N "(cached) $ECHO_C" >&6
38114 else
38115 ac_check_lib_save_LIBS=$LIBS
38116 LIBS="-lposix4 $LIBS"
38117 cat >conftest.$ac_ext <<_ACEOF
38118 /* confdefs.h. */
38119 _ACEOF
38120 cat confdefs.h >>conftest.$ac_ext
38121 cat >>conftest.$ac_ext <<_ACEOF
38122 /* end confdefs.h. */
38123
38124 /* Override any GCC internal prototype to avoid an error.
38125 Use char because int might match the return type of a GCC
38126 builtin and then its argument prototype would still apply. */
38127 #ifdef __cplusplus
38128 extern "C"
38129 #endif
38130 char nanosleep ();
38131 int
38132 main ()
38133 {
38134 return nanosleep ();
38135 ;
38136 return 0;
38137 }
38138 _ACEOF
38139 rm -f conftest.$ac_objext conftest$ac_exeext
38140 if { (ac_try="$ac_link"
38141 case "(($ac_try" in
38142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38143 *) ac_try_echo=$ac_try;;
38144 esac
38145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38146 (eval "$ac_link") 2>conftest.er1
38147 ac_status=$?
38148 grep -v '^ *+' conftest.er1 >conftest.err
38149 rm -f conftest.er1
38150 cat conftest.err >&5
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); } && {
38153 test -z "$ac_c_werror_flag" ||
38154 test ! -s conftest.err
38155 } && test -s conftest$ac_exeext &&
38156 $as_test_x conftest$ac_exeext; then
38157 ac_cv_lib_posix4_nanosleep=yes
38158 else
38159 echo "$as_me: failed program was:" >&5
38160 sed 's/^/| /' conftest.$ac_ext >&5
38161
38162 ac_cv_lib_posix4_nanosleep=no
38163 fi
38164
38165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38166 conftest$ac_exeext conftest.$ac_ext
38167 LIBS=$ac_check_lib_save_LIBS
38168 fi
38169 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38170 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
38171 if test $ac_cv_lib_posix4_nanosleep = yes; then
38172
38173 cat >>confdefs.h <<\_ACEOF
38174 #define HAVE_NANOSLEEP 1
38175 _ACEOF
38176
38177 POSIX4_LINK=" -lposix4"
38178
38179 else
38180
38181
38182 for wx_func in usleep
38183 do
38184 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38185 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38186 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38187 echo $ECHO_N "(cached) $ECHO_C" >&6
38188 else
38189
38190 cat >conftest.$ac_ext <<_ACEOF
38191
38192 /* confdefs.h. */
38193 _ACEOF
38194 cat confdefs.h >>conftest.$ac_ext
38195 cat >>conftest.$ac_ext <<_ACEOF
38196 /* end confdefs.h. */
38197
38198
38199 $ac_includes_default
38200
38201 int
38202 main ()
38203 {
38204
38205 #ifndef $wx_func
38206 &$wx_func;
38207 #endif
38208
38209
38210 ;
38211 return 0;
38212 }
38213
38214 _ACEOF
38215 rm -f conftest.$ac_objext conftest$ac_exeext
38216 if { (ac_try="$ac_link"
38217 case "(($ac_try" in
38218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38219 *) ac_try_echo=$ac_try;;
38220 esac
38221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38222 (eval "$ac_link") 2>conftest.er1
38223 ac_status=$?
38224 grep -v '^ *+' conftest.er1 >conftest.err
38225 rm -f conftest.er1
38226 cat conftest.err >&5
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); } && {
38229 test -z "$ac_c_werror_flag" ||
38230 test ! -s conftest.err
38231 } && test -s conftest$ac_exeext &&
38232 $as_test_x conftest$ac_exeext; then
38233 eval wx_cv_func_$wx_func=yes
38234 else
38235 echo "$as_me: failed program was:" >&5
38236 sed 's/^/| /' conftest.$ac_ext >&5
38237
38238 eval wx_cv_func_$wx_func=no
38239 fi
38240
38241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38242 conftest$ac_exeext conftest.$ac_ext
38243
38244 fi
38245 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38246 { echo "$as_me:$LINENO: result: $ac_res" >&5
38247 echo "${ECHO_T}$ac_res" >&6; }
38248
38249 if eval test \$wx_cv_func_$wx_func = yes
38250 then
38251 cat >>confdefs.h <<_ACEOF
38252 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38253 _ACEOF
38254
38255
38256 else
38257 :
38258 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38259 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38260
38261 fi
38262 done
38263
38264
38265
38266 fi
38267
38268
38269
38270 fi
38271 done
38272
38273 fi
38274
38275
38276 for wx_func in uname
38277 do
38278 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38279 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38280 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38281 echo $ECHO_N "(cached) $ECHO_C" >&6
38282 else
38283
38284 cat >conftest.$ac_ext <<_ACEOF
38285
38286 /* confdefs.h. */
38287 _ACEOF
38288 cat confdefs.h >>conftest.$ac_ext
38289 cat >>conftest.$ac_ext <<_ACEOF
38290 /* end confdefs.h. */
38291
38292 #include <sys/utsname.h>
38293 $ac_includes_default
38294
38295 int
38296 main ()
38297 {
38298
38299 #ifndef $wx_func
38300 &$wx_func;
38301 #endif
38302
38303
38304 ;
38305 return 0;
38306 }
38307
38308 _ACEOF
38309 rm -f conftest.$ac_objext conftest$ac_exeext
38310 if { (ac_try="$ac_link"
38311 case "(($ac_try" in
38312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38313 *) ac_try_echo=$ac_try;;
38314 esac
38315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38316 (eval "$ac_link") 2>conftest.er1
38317 ac_status=$?
38318 grep -v '^ *+' conftest.er1 >conftest.err
38319 rm -f conftest.er1
38320 cat conftest.err >&5
38321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38322 (exit $ac_status); } && {
38323 test -z "$ac_c_werror_flag" ||
38324 test ! -s conftest.err
38325 } && test -s conftest$ac_exeext &&
38326 $as_test_x conftest$ac_exeext; then
38327 eval wx_cv_func_$wx_func=yes
38328 else
38329 echo "$as_me: failed program was:" >&5
38330 sed 's/^/| /' conftest.$ac_ext >&5
38331
38332 eval wx_cv_func_$wx_func=no
38333 fi
38334
38335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38336 conftest$ac_exeext conftest.$ac_ext
38337
38338 fi
38339 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38340 { echo "$as_me:$LINENO: result: $ac_res" >&5
38341 echo "${ECHO_T}$ac_res" >&6; }
38342
38343 if eval test \$wx_cv_func_$wx_func = yes
38344 then
38345 cat >>confdefs.h <<_ACEOF
38346 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38347 _ACEOF
38348
38349
38350 else
38351 :
38352
38353 fi
38354 done
38355
38356 if test "$wx_cv_func_uname" != yes; then
38357
38358 for wx_func in gethostname
38359 do
38360 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38361 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38362 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38363 echo $ECHO_N "(cached) $ECHO_C" >&6
38364 else
38365
38366 cat >conftest.$ac_ext <<_ACEOF
38367
38368 /* confdefs.h. */
38369 _ACEOF
38370 cat confdefs.h >>conftest.$ac_ext
38371 cat >>conftest.$ac_ext <<_ACEOF
38372 /* end confdefs.h. */
38373
38374
38375 $ac_includes_default
38376
38377 int
38378 main ()
38379 {
38380
38381 #ifndef $wx_func
38382 &$wx_func;
38383 #endif
38384
38385
38386 ;
38387 return 0;
38388 }
38389
38390 _ACEOF
38391 rm -f conftest.$ac_objext conftest$ac_exeext
38392 if { (ac_try="$ac_link"
38393 case "(($ac_try" in
38394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38395 *) ac_try_echo=$ac_try;;
38396 esac
38397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38398 (eval "$ac_link") 2>conftest.er1
38399 ac_status=$?
38400 grep -v '^ *+' conftest.er1 >conftest.err
38401 rm -f conftest.er1
38402 cat conftest.err >&5
38403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38404 (exit $ac_status); } && {
38405 test -z "$ac_c_werror_flag" ||
38406 test ! -s conftest.err
38407 } && test -s conftest$ac_exeext &&
38408 $as_test_x conftest$ac_exeext; then
38409 eval wx_cv_func_$wx_func=yes
38410 else
38411 echo "$as_me: failed program was:" >&5
38412 sed 's/^/| /' conftest.$ac_ext >&5
38413
38414 eval wx_cv_func_$wx_func=no
38415 fi
38416
38417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38418 conftest$ac_exeext conftest.$ac_ext
38419
38420 fi
38421 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38422 { echo "$as_me:$LINENO: result: $ac_res" >&5
38423 echo "${ECHO_T}$ac_res" >&6; }
38424
38425 if eval test \$wx_cv_func_$wx_func = yes
38426 then
38427 cat >>confdefs.h <<_ACEOF
38428 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38429 _ACEOF
38430
38431
38432 else
38433 :
38434
38435 fi
38436 done
38437
38438 fi
38439
38440
38441 for wx_func in strtok_r
38442 do
38443 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38444 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38445 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38446 echo $ECHO_N "(cached) $ECHO_C" >&6
38447 else
38448
38449 cat >conftest.$ac_ext <<_ACEOF
38450
38451 /* confdefs.h. */
38452 _ACEOF
38453 cat confdefs.h >>conftest.$ac_ext
38454 cat >>conftest.$ac_ext <<_ACEOF
38455 /* end confdefs.h. */
38456
38457 #define _REENTRANT
38458 $ac_includes_default
38459
38460 int
38461 main ()
38462 {
38463
38464 #ifndef $wx_func
38465 &$wx_func;
38466 #endif
38467
38468
38469 ;
38470 return 0;
38471 }
38472
38473 _ACEOF
38474 rm -f conftest.$ac_objext conftest$ac_exeext
38475 if { (ac_try="$ac_link"
38476 case "(($ac_try" in
38477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38478 *) ac_try_echo=$ac_try;;
38479 esac
38480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38481 (eval "$ac_link") 2>conftest.er1
38482 ac_status=$?
38483 grep -v '^ *+' conftest.er1 >conftest.err
38484 rm -f conftest.er1
38485 cat conftest.err >&5
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); } && {
38488 test -z "$ac_c_werror_flag" ||
38489 test ! -s conftest.err
38490 } && test -s conftest$ac_exeext &&
38491 $as_test_x conftest$ac_exeext; then
38492 eval wx_cv_func_$wx_func=yes
38493 else
38494 echo "$as_me: failed program was:" >&5
38495 sed 's/^/| /' conftest.$ac_ext >&5
38496
38497 eval wx_cv_func_$wx_func=no
38498 fi
38499
38500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38501 conftest$ac_exeext conftest.$ac_ext
38502
38503 fi
38504 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38505 { echo "$as_me:$LINENO: result: $ac_res" >&5
38506 echo "${ECHO_T}$ac_res" >&6; }
38507
38508 if eval test \$wx_cv_func_$wx_func = yes
38509 then
38510 cat >>confdefs.h <<_ACEOF
38511 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38512 _ACEOF
38513
38514
38515 else
38516 :
38517
38518 fi
38519 done
38520
38521
38522 INET_LINK=
38523
38524 for ac_func in inet_addr
38525 do
38526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38527 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38529 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38530 echo $ECHO_N "(cached) $ECHO_C" >&6
38531 else
38532 cat >conftest.$ac_ext <<_ACEOF
38533 /* confdefs.h. */
38534 _ACEOF
38535 cat confdefs.h >>conftest.$ac_ext
38536 cat >>conftest.$ac_ext <<_ACEOF
38537 /* end confdefs.h. */
38538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38540 #define $ac_func innocuous_$ac_func
38541
38542 /* System header to define __stub macros and hopefully few prototypes,
38543 which can conflict with char $ac_func (); below.
38544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38545 <limits.h> exists even on freestanding compilers. */
38546
38547 #ifdef __STDC__
38548 # include <limits.h>
38549 #else
38550 # include <assert.h>
38551 #endif
38552
38553 #undef $ac_func
38554
38555 /* Override any GCC internal prototype to avoid an error.
38556 Use char because int might match the return type of a GCC
38557 builtin and then its argument prototype would still apply. */
38558 #ifdef __cplusplus
38559 extern "C"
38560 #endif
38561 char $ac_func ();
38562 /* The GNU C library defines this for functions which it implements
38563 to always fail with ENOSYS. Some functions are actually named
38564 something starting with __ and the normal name is an alias. */
38565 #if defined __stub_$ac_func || defined __stub___$ac_func
38566 choke me
38567 #endif
38568
38569 int
38570 main ()
38571 {
38572 return $ac_func ();
38573 ;
38574 return 0;
38575 }
38576 _ACEOF
38577 rm -f conftest.$ac_objext conftest$ac_exeext
38578 if { (ac_try="$ac_link"
38579 case "(($ac_try" in
38580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38581 *) ac_try_echo=$ac_try;;
38582 esac
38583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38584 (eval "$ac_link") 2>conftest.er1
38585 ac_status=$?
38586 grep -v '^ *+' conftest.er1 >conftest.err
38587 rm -f conftest.er1
38588 cat conftest.err >&5
38589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590 (exit $ac_status); } && {
38591 test -z "$ac_c_werror_flag" ||
38592 test ! -s conftest.err
38593 } && test -s conftest$ac_exeext &&
38594 $as_test_x conftest$ac_exeext; then
38595 eval "$as_ac_var=yes"
38596 else
38597 echo "$as_me: failed program was:" >&5
38598 sed 's/^/| /' conftest.$ac_ext >&5
38599
38600 eval "$as_ac_var=no"
38601 fi
38602
38603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38604 conftest$ac_exeext conftest.$ac_ext
38605 fi
38606 ac_res=`eval echo '${'$as_ac_var'}'`
38607 { echo "$as_me:$LINENO: result: $ac_res" >&5
38608 echo "${ECHO_T}$ac_res" >&6; }
38609 if test `eval echo '${'$as_ac_var'}'` = yes; then
38610 cat >>confdefs.h <<_ACEOF
38611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38612 _ACEOF
38613 cat >>confdefs.h <<\_ACEOF
38614 #define HAVE_INET_ADDR 1
38615 _ACEOF
38616
38617 else
38618
38619 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38620 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38621 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38622 echo $ECHO_N "(cached) $ECHO_C" >&6
38623 else
38624 ac_check_lib_save_LIBS=$LIBS
38625 LIBS="-lnsl $LIBS"
38626 cat >conftest.$ac_ext <<_ACEOF
38627 /* confdefs.h. */
38628 _ACEOF
38629 cat confdefs.h >>conftest.$ac_ext
38630 cat >>conftest.$ac_ext <<_ACEOF
38631 /* end confdefs.h. */
38632
38633 /* Override any GCC internal prototype to avoid an error.
38634 Use char because int might match the return type of a GCC
38635 builtin and then its argument prototype would still apply. */
38636 #ifdef __cplusplus
38637 extern "C"
38638 #endif
38639 char inet_addr ();
38640 int
38641 main ()
38642 {
38643 return inet_addr ();
38644 ;
38645 return 0;
38646 }
38647 _ACEOF
38648 rm -f conftest.$ac_objext conftest$ac_exeext
38649 if { (ac_try="$ac_link"
38650 case "(($ac_try" in
38651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38652 *) ac_try_echo=$ac_try;;
38653 esac
38654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38655 (eval "$ac_link") 2>conftest.er1
38656 ac_status=$?
38657 grep -v '^ *+' conftest.er1 >conftest.err
38658 rm -f conftest.er1
38659 cat conftest.err >&5
38660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661 (exit $ac_status); } && {
38662 test -z "$ac_c_werror_flag" ||
38663 test ! -s conftest.err
38664 } && test -s conftest$ac_exeext &&
38665 $as_test_x conftest$ac_exeext; then
38666 ac_cv_lib_nsl_inet_addr=yes
38667 else
38668 echo "$as_me: failed program was:" >&5
38669 sed 's/^/| /' conftest.$ac_ext >&5
38670
38671 ac_cv_lib_nsl_inet_addr=no
38672 fi
38673
38674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38675 conftest$ac_exeext conftest.$ac_ext
38676 LIBS=$ac_check_lib_save_LIBS
38677 fi
38678 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38679 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38680 if test $ac_cv_lib_nsl_inet_addr = yes; then
38681 INET_LINK="nsl"
38682 else
38683
38684 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38685 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38686 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38687 echo $ECHO_N "(cached) $ECHO_C" >&6
38688 else
38689 ac_check_lib_save_LIBS=$LIBS
38690 LIBS="-lresolv $LIBS"
38691 cat >conftest.$ac_ext <<_ACEOF
38692 /* confdefs.h. */
38693 _ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697
38698 /* Override any GCC internal prototype to avoid an error.
38699 Use char because int might match the return type of a GCC
38700 builtin and then its argument prototype would still apply. */
38701 #ifdef __cplusplus
38702 extern "C"
38703 #endif
38704 char inet_addr ();
38705 int
38706 main ()
38707 {
38708 return inet_addr ();
38709 ;
38710 return 0;
38711 }
38712 _ACEOF
38713 rm -f conftest.$ac_objext conftest$ac_exeext
38714 if { (ac_try="$ac_link"
38715 case "(($ac_try" in
38716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38717 *) ac_try_echo=$ac_try;;
38718 esac
38719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38720 (eval "$ac_link") 2>conftest.er1
38721 ac_status=$?
38722 grep -v '^ *+' conftest.er1 >conftest.err
38723 rm -f conftest.er1
38724 cat conftest.err >&5
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); } && {
38727 test -z "$ac_c_werror_flag" ||
38728 test ! -s conftest.err
38729 } && test -s conftest$ac_exeext &&
38730 $as_test_x conftest$ac_exeext; then
38731 ac_cv_lib_resolv_inet_addr=yes
38732 else
38733 echo "$as_me: failed program was:" >&5
38734 sed 's/^/| /' conftest.$ac_ext >&5
38735
38736 ac_cv_lib_resolv_inet_addr=no
38737 fi
38738
38739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38740 conftest$ac_exeext conftest.$ac_ext
38741 LIBS=$ac_check_lib_save_LIBS
38742 fi
38743 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38744 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38745 if test $ac_cv_lib_resolv_inet_addr = yes; then
38746 INET_LINK="resolv"
38747 else
38748
38749 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38750 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38751 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38752 echo $ECHO_N "(cached) $ECHO_C" >&6
38753 else
38754 ac_check_lib_save_LIBS=$LIBS
38755 LIBS="-lsocket $LIBS"
38756 cat >conftest.$ac_ext <<_ACEOF
38757 /* confdefs.h. */
38758 _ACEOF
38759 cat confdefs.h >>conftest.$ac_ext
38760 cat >>conftest.$ac_ext <<_ACEOF
38761 /* end confdefs.h. */
38762
38763 /* Override any GCC internal prototype to avoid an error.
38764 Use char because int might match the return type of a GCC
38765 builtin and then its argument prototype would still apply. */
38766 #ifdef __cplusplus
38767 extern "C"
38768 #endif
38769 char inet_addr ();
38770 int
38771 main ()
38772 {
38773 return inet_addr ();
38774 ;
38775 return 0;
38776 }
38777 _ACEOF
38778 rm -f conftest.$ac_objext conftest$ac_exeext
38779 if { (ac_try="$ac_link"
38780 case "(($ac_try" in
38781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38782 *) ac_try_echo=$ac_try;;
38783 esac
38784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38785 (eval "$ac_link") 2>conftest.er1
38786 ac_status=$?
38787 grep -v '^ *+' conftest.er1 >conftest.err
38788 rm -f conftest.er1
38789 cat conftest.err >&5
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); } && {
38792 test -z "$ac_c_werror_flag" ||
38793 test ! -s conftest.err
38794 } && test -s conftest$ac_exeext &&
38795 $as_test_x conftest$ac_exeext; then
38796 ac_cv_lib_socket_inet_addr=yes
38797 else
38798 echo "$as_me: failed program was:" >&5
38799 sed 's/^/| /' conftest.$ac_ext >&5
38800
38801 ac_cv_lib_socket_inet_addr=no
38802 fi
38803
38804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38805 conftest$ac_exeext conftest.$ac_ext
38806 LIBS=$ac_check_lib_save_LIBS
38807 fi
38808 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38809 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38810 if test $ac_cv_lib_socket_inet_addr = yes; then
38811 INET_LINK="socket"
38812
38813 fi
38814
38815
38816
38817 fi
38818
38819
38820
38821 fi
38822
38823
38824
38825 fi
38826 done
38827
38828
38829
38830 for ac_func in inet_aton
38831 do
38832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38833 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38835 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38836 echo $ECHO_N "(cached) $ECHO_C" >&6
38837 else
38838 cat >conftest.$ac_ext <<_ACEOF
38839 /* confdefs.h. */
38840 _ACEOF
38841 cat confdefs.h >>conftest.$ac_ext
38842 cat >>conftest.$ac_ext <<_ACEOF
38843 /* end confdefs.h. */
38844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38846 #define $ac_func innocuous_$ac_func
38847
38848 /* System header to define __stub macros and hopefully few prototypes,
38849 which can conflict with char $ac_func (); below.
38850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38851 <limits.h> exists even on freestanding compilers. */
38852
38853 #ifdef __STDC__
38854 # include <limits.h>
38855 #else
38856 # include <assert.h>
38857 #endif
38858
38859 #undef $ac_func
38860
38861 /* Override any GCC internal prototype to avoid an error.
38862 Use char because int might match the return type of a GCC
38863 builtin and then its argument prototype would still apply. */
38864 #ifdef __cplusplus
38865 extern "C"
38866 #endif
38867 char $ac_func ();
38868 /* The GNU C library defines this for functions which it implements
38869 to always fail with ENOSYS. Some functions are actually named
38870 something starting with __ and the normal name is an alias. */
38871 #if defined __stub_$ac_func || defined __stub___$ac_func
38872 choke me
38873 #endif
38874
38875 int
38876 main ()
38877 {
38878 return $ac_func ();
38879 ;
38880 return 0;
38881 }
38882 _ACEOF
38883 rm -f conftest.$ac_objext conftest$ac_exeext
38884 if { (ac_try="$ac_link"
38885 case "(($ac_try" in
38886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38887 *) ac_try_echo=$ac_try;;
38888 esac
38889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38890 (eval "$ac_link") 2>conftest.er1
38891 ac_status=$?
38892 grep -v '^ *+' conftest.er1 >conftest.err
38893 rm -f conftest.er1
38894 cat conftest.err >&5
38895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38896 (exit $ac_status); } && {
38897 test -z "$ac_c_werror_flag" ||
38898 test ! -s conftest.err
38899 } && test -s conftest$ac_exeext &&
38900 $as_test_x conftest$ac_exeext; then
38901 eval "$as_ac_var=yes"
38902 else
38903 echo "$as_me: failed program was:" >&5
38904 sed 's/^/| /' conftest.$ac_ext >&5
38905
38906 eval "$as_ac_var=no"
38907 fi
38908
38909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38910 conftest$ac_exeext conftest.$ac_ext
38911 fi
38912 ac_res=`eval echo '${'$as_ac_var'}'`
38913 { echo "$as_me:$LINENO: result: $ac_res" >&5
38914 echo "${ECHO_T}$ac_res" >&6; }
38915 if test `eval echo '${'$as_ac_var'}'` = yes; then
38916 cat >>confdefs.h <<_ACEOF
38917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38918 _ACEOF
38919 cat >>confdefs.h <<\_ACEOF
38920 #define HAVE_INET_ATON 1
38921 _ACEOF
38922
38923 else
38924
38925 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38926 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38927 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38928 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38929 echo $ECHO_N "(cached) $ECHO_C" >&6
38930 else
38931 ac_check_lib_save_LIBS=$LIBS
38932 LIBS="-l$INET_LINK $LIBS"
38933 cat >conftest.$ac_ext <<_ACEOF
38934 /* confdefs.h. */
38935 _ACEOF
38936 cat confdefs.h >>conftest.$ac_ext
38937 cat >>conftest.$ac_ext <<_ACEOF
38938 /* end confdefs.h. */
38939
38940 /* Override any GCC internal prototype to avoid an error.
38941 Use char because int might match the return type of a GCC
38942 builtin and then its argument prototype would still apply. */
38943 #ifdef __cplusplus
38944 extern "C"
38945 #endif
38946 char inet_aton ();
38947 int
38948 main ()
38949 {
38950 return inet_aton ();
38951 ;
38952 return 0;
38953 }
38954 _ACEOF
38955 rm -f conftest.$ac_objext conftest$ac_exeext
38956 if { (ac_try="$ac_link"
38957 case "(($ac_try" in
38958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38959 *) ac_try_echo=$ac_try;;
38960 esac
38961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38962 (eval "$ac_link") 2>conftest.er1
38963 ac_status=$?
38964 grep -v '^ *+' conftest.er1 >conftest.err
38965 rm -f conftest.er1
38966 cat conftest.err >&5
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); } && {
38969 test -z "$ac_c_werror_flag" ||
38970 test ! -s conftest.err
38971 } && test -s conftest$ac_exeext &&
38972 $as_test_x conftest$ac_exeext; then
38973 eval "$as_ac_Lib=yes"
38974 else
38975 echo "$as_me: failed program was:" >&5
38976 sed 's/^/| /' conftest.$ac_ext >&5
38977
38978 eval "$as_ac_Lib=no"
38979 fi
38980
38981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38982 conftest$ac_exeext conftest.$ac_ext
38983 LIBS=$ac_check_lib_save_LIBS
38984 fi
38985 ac_res=`eval echo '${'$as_ac_Lib'}'`
38986 { echo "$as_me:$LINENO: result: $ac_res" >&5
38987 echo "${ECHO_T}$ac_res" >&6; }
38988 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38989 cat >>confdefs.h <<\_ACEOF
38990 #define HAVE_INET_ATON 1
38991 _ACEOF
38992
38993 fi
38994
38995
38996 fi
38997 done
38998
38999
39000 if test "x$INET_LINK" != "x"; then
39001 cat >>confdefs.h <<\_ACEOF
39002 #define HAVE_INET_ADDR 1
39003 _ACEOF
39004
39005 INET_LINK=" -l$INET_LINK"
39006 fi
39007
39008
39009 for wx_func in fdopen
39010 do
39011 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39012 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39013 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39014 echo $ECHO_N "(cached) $ECHO_C" >&6
39015 else
39016
39017 cat >conftest.$ac_ext <<_ACEOF
39018
39019 /* confdefs.h. */
39020 _ACEOF
39021 cat confdefs.h >>conftest.$ac_ext
39022 cat >>conftest.$ac_ext <<_ACEOF
39023 /* end confdefs.h. */
39024
39025
39026 $ac_includes_default
39027
39028 int
39029 main ()
39030 {
39031
39032 #ifndef $wx_func
39033 &$wx_func;
39034 #endif
39035
39036
39037 ;
39038 return 0;
39039 }
39040
39041 _ACEOF
39042 rm -f conftest.$ac_objext conftest$ac_exeext
39043 if { (ac_try="$ac_link"
39044 case "(($ac_try" in
39045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39046 *) ac_try_echo=$ac_try;;
39047 esac
39048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39049 (eval "$ac_link") 2>conftest.er1
39050 ac_status=$?
39051 grep -v '^ *+' conftest.er1 >conftest.err
39052 rm -f conftest.er1
39053 cat conftest.err >&5
39054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39055 (exit $ac_status); } && {
39056 test -z "$ac_c_werror_flag" ||
39057 test ! -s conftest.err
39058 } && test -s conftest$ac_exeext &&
39059 $as_test_x conftest$ac_exeext; then
39060 eval wx_cv_func_$wx_func=yes
39061 else
39062 echo "$as_me: failed program was:" >&5
39063 sed 's/^/| /' conftest.$ac_ext >&5
39064
39065 eval wx_cv_func_$wx_func=no
39066 fi
39067
39068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39069 conftest$ac_exeext conftest.$ac_ext
39070
39071 fi
39072 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39073 { echo "$as_me:$LINENO: result: $ac_res" >&5
39074 echo "${ECHO_T}$ac_res" >&6; }
39075
39076 if eval test \$wx_cv_func_$wx_func = yes
39077 then
39078 cat >>confdefs.h <<_ACEOF
39079 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39080 _ACEOF
39081
39082
39083 else
39084 :
39085
39086 fi
39087 done
39088
39089
39090 if test "$wxUSE_TARSTREAM" = "yes"; then
39091
39092 for wx_func in sysconf
39093 do
39094 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39095 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39096 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39097 echo $ECHO_N "(cached) $ECHO_C" >&6
39098 else
39099
39100 cat >conftest.$ac_ext <<_ACEOF
39101
39102 /* confdefs.h. */
39103 _ACEOF
39104 cat confdefs.h >>conftest.$ac_ext
39105 cat >>conftest.$ac_ext <<_ACEOF
39106 /* end confdefs.h. */
39107
39108
39109 $ac_includes_default
39110
39111 int
39112 main ()
39113 {
39114
39115 #ifndef $wx_func
39116 &$wx_func;
39117 #endif
39118
39119
39120 ;
39121 return 0;
39122 }
39123
39124 _ACEOF
39125 rm -f conftest.$ac_objext conftest$ac_exeext
39126 if { (ac_try="$ac_link"
39127 case "(($ac_try" in
39128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39129 *) ac_try_echo=$ac_try;;
39130 esac
39131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39132 (eval "$ac_link") 2>conftest.er1
39133 ac_status=$?
39134 grep -v '^ *+' conftest.er1 >conftest.err
39135 rm -f conftest.er1
39136 cat conftest.err >&5
39137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39138 (exit $ac_status); } && {
39139 test -z "$ac_c_werror_flag" ||
39140 test ! -s conftest.err
39141 } && test -s conftest$ac_exeext &&
39142 $as_test_x conftest$ac_exeext; then
39143 eval wx_cv_func_$wx_func=yes
39144 else
39145 echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.$ac_ext >&5
39147
39148 eval wx_cv_func_$wx_func=no
39149 fi
39150
39151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39152 conftest$ac_exeext conftest.$ac_ext
39153
39154 fi
39155 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39156 { echo "$as_me:$LINENO: result: $ac_res" >&5
39157 echo "${ECHO_T}$ac_res" >&6; }
39158
39159 if eval test \$wx_cv_func_$wx_func = yes
39160 then
39161 cat >>confdefs.h <<_ACEOF
39162 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39163 _ACEOF
39164
39165
39166 else
39167 :
39168
39169 fi
39170 done
39171
39172
39173
39174 for wx_func in getpwuid_r
39175 do
39176 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39177 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39178 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39179 echo $ECHO_N "(cached) $ECHO_C" >&6
39180 else
39181
39182 cat >conftest.$ac_ext <<_ACEOF
39183
39184 /* confdefs.h. */
39185 _ACEOF
39186 cat confdefs.h >>conftest.$ac_ext
39187 cat >>conftest.$ac_ext <<_ACEOF
39188 /* end confdefs.h. */
39189
39190
39191 #define _REENTRANT
39192 #include <pwd.h>
39193
39194 $ac_includes_default
39195
39196 int
39197 main ()
39198 {
39199
39200 #ifndef $wx_func
39201 &$wx_func;
39202 #endif
39203
39204 struct passwd pw, *ppw;
39205 char buf[1024];
39206 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
39207
39208
39209 ;
39210 return 0;
39211 }
39212
39213 _ACEOF
39214 rm -f conftest.$ac_objext conftest$ac_exeext
39215 if { (ac_try="$ac_link"
39216 case "(($ac_try" in
39217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39218 *) ac_try_echo=$ac_try;;
39219 esac
39220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39221 (eval "$ac_link") 2>conftest.er1
39222 ac_status=$?
39223 grep -v '^ *+' conftest.er1 >conftest.err
39224 rm -f conftest.er1
39225 cat conftest.err >&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } && {
39228 test -z "$ac_c_werror_flag" ||
39229 test ! -s conftest.err
39230 } && test -s conftest$ac_exeext &&
39231 $as_test_x conftest$ac_exeext; then
39232 eval wx_cv_func_$wx_func=yes
39233 else
39234 echo "$as_me: failed program was:" >&5
39235 sed 's/^/| /' conftest.$ac_ext >&5
39236
39237 eval wx_cv_func_$wx_func=no
39238 fi
39239
39240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39241 conftest$ac_exeext conftest.$ac_ext
39242
39243 fi
39244 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39245 { echo "$as_me:$LINENO: result: $ac_res" >&5
39246 echo "${ECHO_T}$ac_res" >&6; }
39247
39248 if eval test \$wx_cv_func_$wx_func = yes
39249 then
39250 cat >>confdefs.h <<_ACEOF
39251 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39252 _ACEOF
39253
39254
39255 else
39256 :
39257
39258 fi
39259 done
39260
39261
39262
39263 for wx_func in getgrgid_r
39264 do
39265 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39266 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39267 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39268 echo $ECHO_N "(cached) $ECHO_C" >&6
39269 else
39270
39271 cat >conftest.$ac_ext <<_ACEOF
39272
39273 /* confdefs.h. */
39274 _ACEOF
39275 cat confdefs.h >>conftest.$ac_ext
39276 cat >>conftest.$ac_ext <<_ACEOF
39277 /* end confdefs.h. */
39278
39279
39280 #define _REENTRANT
39281 #include <grp.h>
39282
39283 $ac_includes_default
39284
39285 int
39286 main ()
39287 {
39288
39289 #ifndef $wx_func
39290 &$wx_func;
39291 #endif
39292
39293 struct group grp, *pgrp;
39294 char buf[1024];
39295 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39296
39297
39298 ;
39299 return 0;
39300 }
39301
39302 _ACEOF
39303 rm -f conftest.$ac_objext conftest$ac_exeext
39304 if { (ac_try="$ac_link"
39305 case "(($ac_try" in
39306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39307 *) ac_try_echo=$ac_try;;
39308 esac
39309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39310 (eval "$ac_link") 2>conftest.er1
39311 ac_status=$?
39312 grep -v '^ *+' conftest.er1 >conftest.err
39313 rm -f conftest.er1
39314 cat conftest.err >&5
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); } && {
39317 test -z "$ac_c_werror_flag" ||
39318 test ! -s conftest.err
39319 } && test -s conftest$ac_exeext &&
39320 $as_test_x conftest$ac_exeext; then
39321 eval wx_cv_func_$wx_func=yes
39322 else
39323 echo "$as_me: failed program was:" >&5
39324 sed 's/^/| /' conftest.$ac_ext >&5
39325
39326 eval wx_cv_func_$wx_func=no
39327 fi
39328
39329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39330 conftest$ac_exeext conftest.$ac_ext
39331
39332 fi
39333 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39334 { echo "$as_me:$LINENO: result: $ac_res" >&5
39335 echo "${ECHO_T}$ac_res" >&6; }
39336
39337 if eval test \$wx_cv_func_$wx_func = yes
39338 then
39339 cat >>confdefs.h <<_ACEOF
39340 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39341 _ACEOF
39342
39343
39344 else
39345 :
39346
39347 fi
39348 done
39349
39350 fi
39351
39352 fi
39353
39354
39355
39356 cat >confcache <<\_ACEOF
39357 # This file is a shell script that caches the results of configure
39358 # tests run on this system so they can be shared between configure
39359 # scripts and configure runs, see configure's option --config-cache.
39360 # It is not useful on other systems. If it contains results you don't
39361 # want to keep, you may remove or edit it.
39362 #
39363 # config.status only pays attention to the cache file if you give it
39364 # the --recheck option to rerun configure.
39365 #
39366 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39367 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39368 # following values.
39369
39370 _ACEOF
39371
39372 # The following way of writing the cache mishandles newlines in values,
39373 # but we know of no workaround that is simple, portable, and efficient.
39374 # So, we kill variables containing newlines.
39375 # Ultrix sh set writes to stderr and can't be redirected directly,
39376 # and sets the high bit in the cache file unless we assign to the vars.
39377 (
39378 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39379 eval ac_val=\$$ac_var
39380 case $ac_val in #(
39381 *${as_nl}*)
39382 case $ac_var in #(
39383 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39384 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39385 esac
39386 case $ac_var in #(
39387 _ | IFS | as_nl) ;; #(
39388 *) $as_unset $ac_var ;;
39389 esac ;;
39390 esac
39391 done
39392
39393 (set) 2>&1 |
39394 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39395 *${as_nl}ac_space=\ *)
39396 # `set' does not quote correctly, so add quotes (double-quote
39397 # substitution turns \\\\ into \\, and sed turns \\ into \).
39398 sed -n \
39399 "s/'/'\\\\''/g;
39400 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39401 ;; #(
39402 *)
39403 # `set' quotes correctly as required by POSIX, so do not add quotes.
39404 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39405 ;;
39406 esac |
39407 sort
39408 ) |
39409 sed '
39410 /^ac_cv_env_/b end
39411 t clear
39412 :clear
39413 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39414 t end
39415 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39416 :end' >>confcache
39417 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
39418 if test -w "$cache_file"; then
39419 test "x$cache_file" != "x/dev/null" &&
39420 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39421 echo "$as_me: updating cache $cache_file" >&6;}
39422 cat confcache >$cache_file
39423 else
39424 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39425 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39426 fi
39427 fi
39428 rm -f confcache
39429
39430
39431 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39432
39433
39434 THREADS_LINK=
39435 THREADS_CFLAGS=
39436
39437 if test "$wxUSE_THREADS" = "yes" ; then
39438 if test "$USE_BEOS" = 1; then
39439 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39440 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39441 wxUSE_THREADS="no"
39442 fi
39443 fi
39444
39445 if test "$wxUSE_THREADS" = "yes" ; then
39446
39447
39448 THREAD_OPTS="-pthread"
39449 if test "x$SUNCXX" = xyes; then
39450 THREAD_OPTS="-mt lthread $THREAD_OPTS"
39451 fi
39452
39453 case "${host}" in
39454 *-*-solaris2* | *-*-sunos4* )
39455 if test "x$GCC" = "xyes"; then
39456 THREAD_OPTS="-pthreads $THREAD_OPTS"
39457 fi
39458 ;;
39459 *-*-freebsd*)
39460 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39461 ;;
39462 *-*-darwin* | *-*-cygwin* )
39463 THREAD_OPTS=""
39464 ;;
39465 *-*-aix*)
39466 THREAD_OPTS="pthreads"
39467 ;;
39468 *-hp-hpux* )
39469 if test "x$GCC" = "xyes"; then
39470 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39471 THREAD_OPTS=""
39472 else
39473 THREAD_OPTS="-mt"
39474 fi
39475 ;;
39476
39477 *-*-irix* )
39478 if test "x$GCC" = "xyes"; then
39479 THREAD_OPTS=""
39480 fi
39481 ;;
39482
39483 *-*-*UnixWare*)
39484 if test "x$GCC" != "xyes"; then
39485 THREAD_OPTS="-Ethread"
39486 fi
39487 ;;
39488 esac
39489
39490 THREAD_OPTS="$THREAD_OPTS pthread none"
39491
39492 THREADS_OK=no
39493 for flag in $THREAD_OPTS; do
39494 case $flag in
39495 none)
39496 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39497 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39498 ;;
39499
39500 -*)
39501 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39502 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39503 THREADS_CFLAGS="$flag"
39504 ;;
39505
39506 *)
39507 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39508 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39509 THREADS_LINK="-l$flag"
39510 ;;
39511 esac
39512
39513 save_LIBS="$LIBS"
39514 save_CFLAGS="$CFLAGS"
39515 LIBS="$THREADS_LINK $LIBS"
39516 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39517
39518 cat >conftest.$ac_ext <<_ACEOF
39519 /* confdefs.h. */
39520 _ACEOF
39521 cat confdefs.h >>conftest.$ac_ext
39522 cat >>conftest.$ac_ext <<_ACEOF
39523 /* end confdefs.h. */
39524 #include <pthread.h>
39525 int
39526 main ()
39527 {
39528 pthread_create(0,0,0,0);
39529 ;
39530 return 0;
39531 }
39532 _ACEOF
39533 rm -f conftest.$ac_objext conftest$ac_exeext
39534 if { (ac_try="$ac_link"
39535 case "(($ac_try" in
39536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39537 *) ac_try_echo=$ac_try;;
39538 esac
39539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39540 (eval "$ac_link") 2>conftest.er1
39541 ac_status=$?
39542 grep -v '^ *+' conftest.er1 >conftest.err
39543 rm -f conftest.er1
39544 cat conftest.err >&5
39545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546 (exit $ac_status); } && {
39547 test -z "$ac_c_werror_flag" ||
39548 test ! -s conftest.err
39549 } && test -s conftest$ac_exeext &&
39550 $as_test_x conftest$ac_exeext; then
39551 THREADS_OK=yes
39552 else
39553 echo "$as_me: failed program was:" >&5
39554 sed 's/^/| /' conftest.$ac_ext >&5
39555
39556
39557 fi
39558
39559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39560 conftest$ac_exeext conftest.$ac_ext
39561
39562 LIBS="$save_LIBS"
39563 CFLAGS="$save_CFLAGS"
39564
39565 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39566 echo "${ECHO_T}$THREADS_OK" >&6; }
39567 if test "x$THREADS_OK" = "xyes"; then
39568 break;
39569 fi
39570
39571 THREADS_LINK=""
39572 THREADS_CFLAGS=""
39573 done
39574
39575 if test "x$THREADS_OK" != "xyes"; then
39576 wxUSE_THREADS=no
39577 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39578 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39579 else
39580 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39581 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39582 LIBS="$THREADS_LINK $LIBS"
39583
39584 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39585 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39586 flag=no
39587 case "${host}" in
39588 *-aix*)
39589 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39590 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39591 flag="-D_THREAD_SAFE"
39592 ;;
39593 *-freebsd*)
39594 flag="-D_THREAD_SAFE"
39595 ;;
39596 *-hp-hpux* )
39597 flag="-D_REENTRANT"
39598 if test "x$GCC" != "xyes"; then
39599 flag="$flag -D_RWSTD_MULTI_THREAD"
39600 fi
39601 ;;
39602 *solaris* | alpha*-osf*)
39603 flag="-D_REENTRANT"
39604 ;;
39605 esac
39606 { echo "$as_me:$LINENO: result: ${flag}" >&5
39607 echo "${ECHO_T}${flag}" >&6; }
39608 if test "x$flag" != xno; then
39609 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39610 fi
39611
39612 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39613 fi
39614 fi
39615
39616 if test "$wxUSE_THREADS" = "yes" ; then
39617
39618 for ac_func in thr_setconcurrency
39619 do
39620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39621 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39624 echo $ECHO_N "(cached) $ECHO_C" >&6
39625 else
39626 cat >conftest.$ac_ext <<_ACEOF
39627 /* confdefs.h. */
39628 _ACEOF
39629 cat confdefs.h >>conftest.$ac_ext
39630 cat >>conftest.$ac_ext <<_ACEOF
39631 /* end confdefs.h. */
39632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39634 #define $ac_func innocuous_$ac_func
39635
39636 /* System header to define __stub macros and hopefully few prototypes,
39637 which can conflict with char $ac_func (); below.
39638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39639 <limits.h> exists even on freestanding compilers. */
39640
39641 #ifdef __STDC__
39642 # include <limits.h>
39643 #else
39644 # include <assert.h>
39645 #endif
39646
39647 #undef $ac_func
39648
39649 /* Override any GCC internal prototype to avoid an error.
39650 Use char because int might match the return type of a GCC
39651 builtin and then its argument prototype would still apply. */
39652 #ifdef __cplusplus
39653 extern "C"
39654 #endif
39655 char $ac_func ();
39656 /* The GNU C library defines this for functions which it implements
39657 to always fail with ENOSYS. Some functions are actually named
39658 something starting with __ and the normal name is an alias. */
39659 #if defined __stub_$ac_func || defined __stub___$ac_func
39660 choke me
39661 #endif
39662
39663 int
39664 main ()
39665 {
39666 return $ac_func ();
39667 ;
39668 return 0;
39669 }
39670 _ACEOF
39671 rm -f conftest.$ac_objext conftest$ac_exeext
39672 if { (ac_try="$ac_link"
39673 case "(($ac_try" in
39674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39675 *) ac_try_echo=$ac_try;;
39676 esac
39677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39678 (eval "$ac_link") 2>conftest.er1
39679 ac_status=$?
39680 grep -v '^ *+' conftest.er1 >conftest.err
39681 rm -f conftest.er1
39682 cat conftest.err >&5
39683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39684 (exit $ac_status); } && {
39685 test -z "$ac_c_werror_flag" ||
39686 test ! -s conftest.err
39687 } && test -s conftest$ac_exeext &&
39688 $as_test_x conftest$ac_exeext; then
39689 eval "$as_ac_var=yes"
39690 else
39691 echo "$as_me: failed program was:" >&5
39692 sed 's/^/| /' conftest.$ac_ext >&5
39693
39694 eval "$as_ac_var=no"
39695 fi
39696
39697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39698 conftest$ac_exeext conftest.$ac_ext
39699 fi
39700 ac_res=`eval echo '${'$as_ac_var'}'`
39701 { echo "$as_me:$LINENO: result: $ac_res" >&5
39702 echo "${ECHO_T}$ac_res" >&6; }
39703 if test `eval echo '${'$as_ac_var'}'` = yes; then
39704 cat >>confdefs.h <<_ACEOF
39705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39706 _ACEOF
39707
39708 fi
39709 done
39710
39711
39712 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39713 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39714 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39715 echo $ECHO_N "(cached) $ECHO_C" >&6
39716 else
39717
39718 ac_ext=cpp
39719 ac_cpp='$CXXCPP $CPPFLAGS'
39720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39723
39724 cat >conftest.$ac_ext <<_ACEOF
39725 /* confdefs.h. */
39726 _ACEOF
39727 cat confdefs.h >>conftest.$ac_ext
39728 cat >>conftest.$ac_ext <<_ACEOF
39729 /* end confdefs.h. */
39730 #include <pthread.h>
39731 void ThreadCleanupFunc(void *p);
39732
39733 int
39734 main ()
39735 {
39736
39737 void *p;
39738 pthread_cleanup_push(ThreadCleanupFunc, p);
39739 pthread_cleanup_pop(0);
39740
39741 ;
39742 return 0;
39743 }
39744 _ACEOF
39745 rm -f conftest.$ac_objext
39746 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
39760 test ! -s conftest.err
39761 } && test -s conftest.$ac_objext; then
39762
39763 wx_cv_func_pthread_cleanup=yes
39764
39765 else
39766 echo "$as_me: failed program was:" >&5
39767 sed 's/^/| /' conftest.$ac_ext >&5
39768
39769
39770 wx_cv_func_pthread_cleanup=no
39771
39772
39773 fi
39774
39775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39776 ac_ext=c
39777 ac_cpp='$CPP $CPPFLAGS'
39778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39781
39782
39783 fi
39784 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39785 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39786 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39787 cat >>confdefs.h <<\_ACEOF
39788 #define wxHAVE_PTHREAD_CLEANUP 1
39789 _ACEOF
39790
39791 fi
39792
39793
39794 for ac_header in sched.h
39795 do
39796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39797 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39800 echo $ECHO_N "(cached) $ECHO_C" >&6
39801 else
39802 cat >conftest.$ac_ext <<_ACEOF
39803 /* confdefs.h. */
39804 _ACEOF
39805 cat confdefs.h >>conftest.$ac_ext
39806 cat >>conftest.$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39808 $ac_includes_default
39809
39810 #include <$ac_header>
39811 _ACEOF
39812 rm -f conftest.$ac_objext
39813 if { (ac_try="$ac_compile"
39814 case "(($ac_try" in
39815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39816 *) ac_try_echo=$ac_try;;
39817 esac
39818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39819 (eval "$ac_compile") 2>conftest.er1
39820 ac_status=$?
39821 grep -v '^ *+' conftest.er1 >conftest.err
39822 rm -f conftest.er1
39823 cat conftest.err >&5
39824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39825 (exit $ac_status); } && {
39826 test -z "$ac_c_werror_flag" ||
39827 test ! -s conftest.err
39828 } && test -s conftest.$ac_objext; then
39829 eval "$as_ac_Header=yes"
39830 else
39831 echo "$as_me: failed program was:" >&5
39832 sed 's/^/| /' conftest.$ac_ext >&5
39833
39834 eval "$as_ac_Header=no"
39835 fi
39836
39837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39838 fi
39839 ac_res=`eval echo '${'$as_ac_Header'}'`
39840 { echo "$as_me:$LINENO: result: $ac_res" >&5
39841 echo "${ECHO_T}$ac_res" >&6; }
39842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39843 cat >>confdefs.h <<_ACEOF
39844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39845 _ACEOF
39846
39847 fi
39848
39849 done
39850
39851 if test "$ac_cv_header_sched_h" = "yes"; then
39852 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39853 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39854 if test "${ac_cv_func_sched_yield+set}" = set; then
39855 echo $ECHO_N "(cached) $ECHO_C" >&6
39856 else
39857 cat >conftest.$ac_ext <<_ACEOF
39858 /* confdefs.h. */
39859 _ACEOF
39860 cat confdefs.h >>conftest.$ac_ext
39861 cat >>conftest.$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39863 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39865 #define sched_yield innocuous_sched_yield
39866
39867 /* System header to define __stub macros and hopefully few prototypes,
39868 which can conflict with char sched_yield (); below.
39869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39870 <limits.h> exists even on freestanding compilers. */
39871
39872 #ifdef __STDC__
39873 # include <limits.h>
39874 #else
39875 # include <assert.h>
39876 #endif
39877
39878 #undef sched_yield
39879
39880 /* Override any GCC internal prototype to avoid an error.
39881 Use char because int might match the return type of a GCC
39882 builtin and then its argument prototype would still apply. */
39883 #ifdef __cplusplus
39884 extern "C"
39885 #endif
39886 char sched_yield ();
39887 /* The GNU C library defines this for functions which it implements
39888 to always fail with ENOSYS. Some functions are actually named
39889 something starting with __ and the normal name is an alias. */
39890 #if defined __stub_sched_yield || defined __stub___sched_yield
39891 choke me
39892 #endif
39893
39894 int
39895 main ()
39896 {
39897 return sched_yield ();
39898 ;
39899 return 0;
39900 }
39901 _ACEOF
39902 rm -f conftest.$ac_objext conftest$ac_exeext
39903 if { (ac_try="$ac_link"
39904 case "(($ac_try" in
39905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39906 *) ac_try_echo=$ac_try;;
39907 esac
39908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39909 (eval "$ac_link") 2>conftest.er1
39910 ac_status=$?
39911 grep -v '^ *+' conftest.er1 >conftest.err
39912 rm -f conftest.er1
39913 cat conftest.err >&5
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); } && {
39916 test -z "$ac_c_werror_flag" ||
39917 test ! -s conftest.err
39918 } && test -s conftest$ac_exeext &&
39919 $as_test_x conftest$ac_exeext; then
39920 ac_cv_func_sched_yield=yes
39921 else
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39924
39925 ac_cv_func_sched_yield=no
39926 fi
39927
39928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39929 conftest$ac_exeext conftest.$ac_ext
39930 fi
39931 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39932 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39933 if test $ac_cv_func_sched_yield = yes; then
39934 cat >>confdefs.h <<\_ACEOF
39935 #define HAVE_SCHED_YIELD 1
39936 _ACEOF
39937
39938 else
39939
39940 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39941 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39942 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39943 echo $ECHO_N "(cached) $ECHO_C" >&6
39944 else
39945 ac_check_lib_save_LIBS=$LIBS
39946 LIBS="-lposix4 $LIBS"
39947 cat >conftest.$ac_ext <<_ACEOF
39948 /* confdefs.h. */
39949 _ACEOF
39950 cat confdefs.h >>conftest.$ac_ext
39951 cat >>conftest.$ac_ext <<_ACEOF
39952 /* end confdefs.h. */
39953
39954 /* Override any GCC internal prototype to avoid an error.
39955 Use char because int might match the return type of a GCC
39956 builtin and then its argument prototype would still apply. */
39957 #ifdef __cplusplus
39958 extern "C"
39959 #endif
39960 char sched_yield ();
39961 int
39962 main ()
39963 {
39964 return sched_yield ();
39965 ;
39966 return 0;
39967 }
39968 _ACEOF
39969 rm -f conftest.$ac_objext conftest$ac_exeext
39970 if { (ac_try="$ac_link"
39971 case "(($ac_try" in
39972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39973 *) ac_try_echo=$ac_try;;
39974 esac
39975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39976 (eval "$ac_link") 2>conftest.er1
39977 ac_status=$?
39978 grep -v '^ *+' conftest.er1 >conftest.err
39979 rm -f conftest.er1
39980 cat conftest.err >&5
39981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39982 (exit $ac_status); } && {
39983 test -z "$ac_c_werror_flag" ||
39984 test ! -s conftest.err
39985 } && test -s conftest$ac_exeext &&
39986 $as_test_x conftest$ac_exeext; then
39987 ac_cv_lib_posix4_sched_yield=yes
39988 else
39989 echo "$as_me: failed program was:" >&5
39990 sed 's/^/| /' conftest.$ac_ext >&5
39991
39992 ac_cv_lib_posix4_sched_yield=no
39993 fi
39994
39995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39996 conftest$ac_exeext conftest.$ac_ext
39997 LIBS=$ac_check_lib_save_LIBS
39998 fi
39999 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40000 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40001 if test $ac_cv_lib_posix4_sched_yield = yes; then
40002 cat >>confdefs.h <<\_ACEOF
40003 #define HAVE_SCHED_YIELD 1
40004 _ACEOF
40005 POSIX4_LINK=" -lposix4"
40006 else
40007 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40008 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40009
40010 fi
40011
40012
40013
40014 fi
40015
40016 fi
40017
40018 HAVE_PRIOR_FUNCS=0
40019 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40020 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
40021 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40022 echo $ECHO_N "(cached) $ECHO_C" >&6
40023 else
40024 cat >conftest.$ac_ext <<_ACEOF
40025 /* confdefs.h. */
40026 _ACEOF
40027 cat confdefs.h >>conftest.$ac_ext
40028 cat >>conftest.$ac_ext <<_ACEOF
40029 /* end confdefs.h. */
40030 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40032 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40033
40034 /* System header to define __stub macros and hopefully few prototypes,
40035 which can conflict with char pthread_attr_getschedpolicy (); below.
40036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40037 <limits.h> exists even on freestanding compilers. */
40038
40039 #ifdef __STDC__
40040 # include <limits.h>
40041 #else
40042 # include <assert.h>
40043 #endif
40044
40045 #undef pthread_attr_getschedpolicy
40046
40047 /* Override any GCC internal prototype to avoid an error.
40048 Use char because int might match the return type of a GCC
40049 builtin and then its argument prototype would still apply. */
40050 #ifdef __cplusplus
40051 extern "C"
40052 #endif
40053 char pthread_attr_getschedpolicy ();
40054 /* The GNU C library defines this for functions which it implements
40055 to always fail with ENOSYS. Some functions are actually named
40056 something starting with __ and the normal name is an alias. */
40057 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
40058 choke me
40059 #endif
40060
40061 int
40062 main ()
40063 {
40064 return pthread_attr_getschedpolicy ();
40065 ;
40066 return 0;
40067 }
40068 _ACEOF
40069 rm -f conftest.$ac_objext conftest$ac_exeext
40070 if { (ac_try="$ac_link"
40071 case "(($ac_try" in
40072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40073 *) ac_try_echo=$ac_try;;
40074 esac
40075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40076 (eval "$ac_link") 2>conftest.er1
40077 ac_status=$?
40078 grep -v '^ *+' conftest.er1 >conftest.err
40079 rm -f conftest.er1
40080 cat conftest.err >&5
40081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40082 (exit $ac_status); } && {
40083 test -z "$ac_c_werror_flag" ||
40084 test ! -s conftest.err
40085 } && test -s conftest$ac_exeext &&
40086 $as_test_x conftest$ac_exeext; then
40087 ac_cv_func_pthread_attr_getschedpolicy=yes
40088 else
40089 echo "$as_me: failed program was:" >&5
40090 sed 's/^/| /' conftest.$ac_ext >&5
40091
40092 ac_cv_func_pthread_attr_getschedpolicy=no
40093 fi
40094
40095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40096 conftest$ac_exeext conftest.$ac_ext
40097 fi
40098 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40099 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
40100 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40101 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40102 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
40103 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40104 echo $ECHO_N "(cached) $ECHO_C" >&6
40105 else
40106 cat >conftest.$ac_ext <<_ACEOF
40107 /* confdefs.h. */
40108 _ACEOF
40109 cat confdefs.h >>conftest.$ac_ext
40110 cat >>conftest.$ac_ext <<_ACEOF
40111 /* end confdefs.h. */
40112 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40114 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40115
40116 /* System header to define __stub macros and hopefully few prototypes,
40117 which can conflict with char pthread_attr_setschedparam (); below.
40118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40119 <limits.h> exists even on freestanding compilers. */
40120
40121 #ifdef __STDC__
40122 # include <limits.h>
40123 #else
40124 # include <assert.h>
40125 #endif
40126
40127 #undef pthread_attr_setschedparam
40128
40129 /* Override any GCC internal prototype to avoid an error.
40130 Use char because int might match the return type of a GCC
40131 builtin and then its argument prototype would still apply. */
40132 #ifdef __cplusplus
40133 extern "C"
40134 #endif
40135 char pthread_attr_setschedparam ();
40136 /* The GNU C library defines this for functions which it implements
40137 to always fail with ENOSYS. Some functions are actually named
40138 something starting with __ and the normal name is an alias. */
40139 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
40140 choke me
40141 #endif
40142
40143 int
40144 main ()
40145 {
40146 return pthread_attr_setschedparam ();
40147 ;
40148 return 0;
40149 }
40150 _ACEOF
40151 rm -f conftest.$ac_objext conftest$ac_exeext
40152 if { (ac_try="$ac_link"
40153 case "(($ac_try" in
40154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40155 *) ac_try_echo=$ac_try;;
40156 esac
40157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40158 (eval "$ac_link") 2>conftest.er1
40159 ac_status=$?
40160 grep -v '^ *+' conftest.er1 >conftest.err
40161 rm -f conftest.er1
40162 cat conftest.err >&5
40163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40164 (exit $ac_status); } && {
40165 test -z "$ac_c_werror_flag" ||
40166 test ! -s conftest.err
40167 } && test -s conftest$ac_exeext &&
40168 $as_test_x conftest$ac_exeext; then
40169 ac_cv_func_pthread_attr_setschedparam=yes
40170 else
40171 echo "$as_me: failed program was:" >&5
40172 sed 's/^/| /' conftest.$ac_ext >&5
40173
40174 ac_cv_func_pthread_attr_setschedparam=no
40175 fi
40176
40177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40178 conftest$ac_exeext conftest.$ac_ext
40179 fi
40180 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40181 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
40182 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40183 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40184 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
40185 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40186 echo $ECHO_N "(cached) $ECHO_C" >&6
40187 else
40188 cat >conftest.$ac_ext <<_ACEOF
40189 /* confdefs.h. */
40190 _ACEOF
40191 cat confdefs.h >>conftest.$ac_ext
40192 cat >>conftest.$ac_ext <<_ACEOF
40193 /* end confdefs.h. */
40194 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40196 #define sched_get_priority_max innocuous_sched_get_priority_max
40197
40198 /* System header to define __stub macros and hopefully few prototypes,
40199 which can conflict with char sched_get_priority_max (); below.
40200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40201 <limits.h> exists even on freestanding compilers. */
40202
40203 #ifdef __STDC__
40204 # include <limits.h>
40205 #else
40206 # include <assert.h>
40207 #endif
40208
40209 #undef sched_get_priority_max
40210
40211 /* Override any GCC internal prototype to avoid an error.
40212 Use char because int might match the return type of a GCC
40213 builtin and then its argument prototype would still apply. */
40214 #ifdef __cplusplus
40215 extern "C"
40216 #endif
40217 char sched_get_priority_max ();
40218 /* The GNU C library defines this for functions which it implements
40219 to always fail with ENOSYS. Some functions are actually named
40220 something starting with __ and the normal name is an alias. */
40221 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
40222 choke me
40223 #endif
40224
40225 int
40226 main ()
40227 {
40228 return sched_get_priority_max ();
40229 ;
40230 return 0;
40231 }
40232 _ACEOF
40233 rm -f conftest.$ac_objext conftest$ac_exeext
40234 if { (ac_try="$ac_link"
40235 case "(($ac_try" in
40236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40237 *) ac_try_echo=$ac_try;;
40238 esac
40239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40240 (eval "$ac_link") 2>conftest.er1
40241 ac_status=$?
40242 grep -v '^ *+' conftest.er1 >conftest.err
40243 rm -f conftest.er1
40244 cat conftest.err >&5
40245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40246 (exit $ac_status); } && {
40247 test -z "$ac_c_werror_flag" ||
40248 test ! -s conftest.err
40249 } && test -s conftest$ac_exeext &&
40250 $as_test_x conftest$ac_exeext; then
40251 ac_cv_func_sched_get_priority_max=yes
40252 else
40253 echo "$as_me: failed program was:" >&5
40254 sed 's/^/| /' conftest.$ac_ext >&5
40255
40256 ac_cv_func_sched_get_priority_max=no
40257 fi
40258
40259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40260 conftest$ac_exeext conftest.$ac_ext
40261 fi
40262 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40263 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40264 if test $ac_cv_func_sched_get_priority_max = yes; then
40265 HAVE_PRIOR_FUNCS=1
40266 else
40267 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40268 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40269 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40270 echo $ECHO_N "(cached) $ECHO_C" >&6
40271 else
40272 ac_check_lib_save_LIBS=$LIBS
40273 LIBS="-lposix4 $LIBS"
40274 cat >conftest.$ac_ext <<_ACEOF
40275 /* confdefs.h. */
40276 _ACEOF
40277 cat confdefs.h >>conftest.$ac_ext
40278 cat >>conftest.$ac_ext <<_ACEOF
40279 /* end confdefs.h. */
40280
40281 /* Override any GCC internal prototype to avoid an error.
40282 Use char because int might match the return type of a GCC
40283 builtin and then its argument prototype would still apply. */
40284 #ifdef __cplusplus
40285 extern "C"
40286 #endif
40287 char sched_get_priority_max ();
40288 int
40289 main ()
40290 {
40291 return sched_get_priority_max ();
40292 ;
40293 return 0;
40294 }
40295 _ACEOF
40296 rm -f conftest.$ac_objext conftest$ac_exeext
40297 if { (ac_try="$ac_link"
40298 case "(($ac_try" in
40299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40300 *) ac_try_echo=$ac_try;;
40301 esac
40302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40303 (eval "$ac_link") 2>conftest.er1
40304 ac_status=$?
40305 grep -v '^ *+' conftest.er1 >conftest.err
40306 rm -f conftest.er1
40307 cat conftest.err >&5
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); } && {
40310 test -z "$ac_c_werror_flag" ||
40311 test ! -s conftest.err
40312 } && test -s conftest$ac_exeext &&
40313 $as_test_x conftest$ac_exeext; then
40314 ac_cv_lib_posix4_sched_get_priority_max=yes
40315 else
40316 echo "$as_me: failed program was:" >&5
40317 sed 's/^/| /' conftest.$ac_ext >&5
40318
40319 ac_cv_lib_posix4_sched_get_priority_max=no
40320 fi
40321
40322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40323 conftest$ac_exeext conftest.$ac_ext
40324 LIBS=$ac_check_lib_save_LIBS
40325 fi
40326 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40327 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40328 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40329
40330 HAVE_PRIOR_FUNCS=1
40331 POSIX4_LINK=" -lposix4"
40332
40333 fi
40334
40335
40336 fi
40337
40338
40339 fi
40340
40341
40342 fi
40343
40344
40345 if test "$HAVE_PRIOR_FUNCS" = 1; then
40346 cat >>confdefs.h <<\_ACEOF
40347 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40348 _ACEOF
40349
40350 else
40351 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40352 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40353 fi
40354
40355 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40356 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40357 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40358 echo $ECHO_N "(cached) $ECHO_C" >&6
40359 else
40360 cat >conftest.$ac_ext <<_ACEOF
40361 /* confdefs.h. */
40362 _ACEOF
40363 cat confdefs.h >>conftest.$ac_ext
40364 cat >>conftest.$ac_ext <<_ACEOF
40365 /* end confdefs.h. */
40366 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40368 #define pthread_cancel innocuous_pthread_cancel
40369
40370 /* System header to define __stub macros and hopefully few prototypes,
40371 which can conflict with char pthread_cancel (); below.
40372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40373 <limits.h> exists even on freestanding compilers. */
40374
40375 #ifdef __STDC__
40376 # include <limits.h>
40377 #else
40378 # include <assert.h>
40379 #endif
40380
40381 #undef pthread_cancel
40382
40383 /* Override any GCC internal prototype to avoid an error.
40384 Use char because int might match the return type of a GCC
40385 builtin and then its argument prototype would still apply. */
40386 #ifdef __cplusplus
40387 extern "C"
40388 #endif
40389 char pthread_cancel ();
40390 /* The GNU C library defines this for functions which it implements
40391 to always fail with ENOSYS. Some functions are actually named
40392 something starting with __ and the normal name is an alias. */
40393 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40394 choke me
40395 #endif
40396
40397 int
40398 main ()
40399 {
40400 return pthread_cancel ();
40401 ;
40402 return 0;
40403 }
40404 _ACEOF
40405 rm -f conftest.$ac_objext conftest$ac_exeext
40406 if { (ac_try="$ac_link"
40407 case "(($ac_try" in
40408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40409 *) ac_try_echo=$ac_try;;
40410 esac
40411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40412 (eval "$ac_link") 2>conftest.er1
40413 ac_status=$?
40414 grep -v '^ *+' conftest.er1 >conftest.err
40415 rm -f conftest.er1
40416 cat conftest.err >&5
40417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40418 (exit $ac_status); } && {
40419 test -z "$ac_c_werror_flag" ||
40420 test ! -s conftest.err
40421 } && test -s conftest$ac_exeext &&
40422 $as_test_x conftest$ac_exeext; then
40423 ac_cv_func_pthread_cancel=yes
40424 else
40425 echo "$as_me: failed program was:" >&5
40426 sed 's/^/| /' conftest.$ac_ext >&5
40427
40428 ac_cv_func_pthread_cancel=no
40429 fi
40430
40431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40432 conftest$ac_exeext conftest.$ac_ext
40433 fi
40434 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40435 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40436 if test $ac_cv_func_pthread_cancel = yes; then
40437 cat >>confdefs.h <<\_ACEOF
40438 #define HAVE_PTHREAD_CANCEL 1
40439 _ACEOF
40440
40441 else
40442 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40443 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40444 fi
40445
40446
40447 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40448 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40449 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40450 echo $ECHO_N "(cached) $ECHO_C" >&6
40451 else
40452 cat >conftest.$ac_ext <<_ACEOF
40453 /* confdefs.h. */
40454 _ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h. */
40458 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40460 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40461
40462 /* System header to define __stub macros and hopefully few prototypes,
40463 which can conflict with char pthread_mutex_timedlock (); below.
40464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40465 <limits.h> exists even on freestanding compilers. */
40466
40467 #ifdef __STDC__
40468 # include <limits.h>
40469 #else
40470 # include <assert.h>
40471 #endif
40472
40473 #undef pthread_mutex_timedlock
40474
40475 /* Override any GCC internal prototype to avoid an error.
40476 Use char because int might match the return type of a GCC
40477 builtin and then its argument prototype would still apply. */
40478 #ifdef __cplusplus
40479 extern "C"
40480 #endif
40481 char pthread_mutex_timedlock ();
40482 /* The GNU C library defines this for functions which it implements
40483 to always fail with ENOSYS. Some functions are actually named
40484 something starting with __ and the normal name is an alias. */
40485 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40486 choke me
40487 #endif
40488
40489 int
40490 main ()
40491 {
40492 return pthread_mutex_timedlock ();
40493 ;
40494 return 0;
40495 }
40496 _ACEOF
40497 rm -f conftest.$ac_objext conftest$ac_exeext
40498 if { (ac_try="$ac_link"
40499 case "(($ac_try" in
40500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40501 *) ac_try_echo=$ac_try;;
40502 esac
40503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40504 (eval "$ac_link") 2>conftest.er1
40505 ac_status=$?
40506 grep -v '^ *+' conftest.er1 >conftest.err
40507 rm -f conftest.er1
40508 cat conftest.err >&5
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); } && {
40511 test -z "$ac_c_werror_flag" ||
40512 test ! -s conftest.err
40513 } && test -s conftest$ac_exeext &&
40514 $as_test_x conftest$ac_exeext; then
40515 ac_cv_func_pthread_mutex_timedlock=yes
40516 else
40517 echo "$as_me: failed program was:" >&5
40518 sed 's/^/| /' conftest.$ac_ext >&5
40519
40520 ac_cv_func_pthread_mutex_timedlock=no
40521 fi
40522
40523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40524 conftest$ac_exeext conftest.$ac_ext
40525 fi
40526 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40527 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40528 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40529 cat >>confdefs.h <<\_ACEOF
40530 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40531 _ACEOF
40532
40533 else
40534 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40535 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40536 fi
40537
40538
40539 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40540 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40541 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40542 echo $ECHO_N "(cached) $ECHO_C" >&6
40543 else
40544 cat >conftest.$ac_ext <<_ACEOF
40545 /* confdefs.h. */
40546 _ACEOF
40547 cat confdefs.h >>conftest.$ac_ext
40548 cat >>conftest.$ac_ext <<_ACEOF
40549 /* end confdefs.h. */
40550 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40552 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40553
40554 /* System header to define __stub macros and hopefully few prototypes,
40555 which can conflict with char pthread_attr_setstacksize (); below.
40556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40557 <limits.h> exists even on freestanding compilers. */
40558
40559 #ifdef __STDC__
40560 # include <limits.h>
40561 #else
40562 # include <assert.h>
40563 #endif
40564
40565 #undef pthread_attr_setstacksize
40566
40567 /* Override any GCC internal prototype to avoid an error.
40568 Use char because int might match the return type of a GCC
40569 builtin and then its argument prototype would still apply. */
40570 #ifdef __cplusplus
40571 extern "C"
40572 #endif
40573 char pthread_attr_setstacksize ();
40574 /* The GNU C library defines this for functions which it implements
40575 to always fail with ENOSYS. Some functions are actually named
40576 something starting with __ and the normal name is an alias. */
40577 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40578 choke me
40579 #endif
40580
40581 int
40582 main ()
40583 {
40584 return pthread_attr_setstacksize ();
40585 ;
40586 return 0;
40587 }
40588 _ACEOF
40589 rm -f conftest.$ac_objext conftest$ac_exeext
40590 if { (ac_try="$ac_link"
40591 case "(($ac_try" in
40592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40593 *) ac_try_echo=$ac_try;;
40594 esac
40595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40596 (eval "$ac_link") 2>conftest.er1
40597 ac_status=$?
40598 grep -v '^ *+' conftest.er1 >conftest.err
40599 rm -f conftest.er1
40600 cat conftest.err >&5
40601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40602 (exit $ac_status); } && {
40603 test -z "$ac_c_werror_flag" ||
40604 test ! -s conftest.err
40605 } && test -s conftest$ac_exeext &&
40606 $as_test_x conftest$ac_exeext; then
40607 ac_cv_func_pthread_attr_setstacksize=yes
40608 else
40609 echo "$as_me: failed program was:" >&5
40610 sed 's/^/| /' conftest.$ac_ext >&5
40611
40612 ac_cv_func_pthread_attr_setstacksize=no
40613 fi
40614
40615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40616 conftest$ac_exeext conftest.$ac_ext
40617 fi
40618 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40619 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40620 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40621 cat >>confdefs.h <<\_ACEOF
40622 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40623 _ACEOF
40624
40625 fi
40626
40627
40628
40629 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40630 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40631 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40632 echo $ECHO_N "(cached) $ECHO_C" >&6
40633 else
40634
40635 cat >conftest.$ac_ext <<_ACEOF
40636 /* confdefs.h. */
40637 _ACEOF
40638 cat confdefs.h >>conftest.$ac_ext
40639 cat >>conftest.$ac_ext <<_ACEOF
40640 /* end confdefs.h. */
40641 #include <pthread.h>
40642 int
40643 main ()
40644 {
40645
40646 pthread_mutexattr_t attr;
40647 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40648
40649 ;
40650 return 0;
40651 }
40652 _ACEOF
40653 rm -f conftest.$ac_objext
40654 if { (ac_try="$ac_compile"
40655 case "(($ac_try" in
40656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40657 *) ac_try_echo=$ac_try;;
40658 esac
40659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40660 (eval "$ac_compile") 2>conftest.er1
40661 ac_status=$?
40662 grep -v '^ *+' conftest.er1 >conftest.err
40663 rm -f conftest.er1
40664 cat conftest.err >&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } && {
40667 test -z "$ac_c_werror_flag" ||
40668 test ! -s conftest.err
40669 } && test -s conftest.$ac_objext; then
40670 wx_cv_type_pthread_mutexattr_t=yes
40671 else
40672 echo "$as_me: failed program was:" >&5
40673 sed 's/^/| /' conftest.$ac_ext >&5
40674
40675 wx_cv_type_pthread_mutexattr_t=no
40676
40677 fi
40678
40679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40680
40681 fi
40682 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40683 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40684
40685 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40686 cat >>confdefs.h <<\_ACEOF
40687 #define HAVE_PTHREAD_MUTEXATTR_T 1
40688 _ACEOF
40689
40690
40691 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40692 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40693 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40694 echo $ECHO_N "(cached) $ECHO_C" >&6
40695 else
40696
40697 cat >conftest.$ac_ext <<_ACEOF
40698 /* confdefs.h. */
40699 _ACEOF
40700 cat confdefs.h >>conftest.$ac_ext
40701 cat >>conftest.$ac_ext <<_ACEOF
40702 /* end confdefs.h. */
40703 #include <pthread.h>
40704 int
40705 main ()
40706 {
40707
40708 pthread_mutexattr_t attr;
40709 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40710
40711 ;
40712 return 0;
40713 }
40714 _ACEOF
40715 rm -f conftest.$ac_objext
40716 if { (ac_try="$ac_compile"
40717 case "(($ac_try" in
40718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40719 *) ac_try_echo=$ac_try;;
40720 esac
40721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40722 (eval "$ac_compile") 2>conftest.er1
40723 ac_status=$?
40724 grep -v '^ *+' conftest.er1 >conftest.err
40725 rm -f conftest.er1
40726 cat conftest.err >&5
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); } && {
40729 test -z "$ac_c_werror_flag" ||
40730 test ! -s conftest.err
40731 } && test -s conftest.$ac_objext; then
40732 wx_cv_func_pthread_mutexattr_settype_decl=yes
40733 else
40734 echo "$as_me: failed program was:" >&5
40735 sed 's/^/| /' conftest.$ac_ext >&5
40736
40737 wx_cv_func_pthread_mutexattr_settype_decl=no
40738
40739 fi
40740
40741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40742
40743 fi
40744 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40745 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40746 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40747 cat >>confdefs.h <<\_ACEOF
40748 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40749 _ACEOF
40750
40751 fi
40752 else
40753 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40754 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40755 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40756 echo $ECHO_N "(cached) $ECHO_C" >&6
40757 else
40758
40759 cat >conftest.$ac_ext <<_ACEOF
40760 /* confdefs.h. */
40761 _ACEOF
40762 cat confdefs.h >>conftest.$ac_ext
40763 cat >>conftest.$ac_ext <<_ACEOF
40764 /* end confdefs.h. */
40765 #include <pthread.h>
40766 int
40767 main ()
40768 {
40769
40770 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40771
40772 ;
40773 return 0;
40774 }
40775 _ACEOF
40776 rm -f conftest.$ac_objext
40777 if { (ac_try="$ac_compile"
40778 case "(($ac_try" in
40779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40780 *) ac_try_echo=$ac_try;;
40781 esac
40782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40783 (eval "$ac_compile") 2>conftest.er1
40784 ac_status=$?
40785 grep -v '^ *+' conftest.er1 >conftest.err
40786 rm -f conftest.er1
40787 cat conftest.err >&5
40788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40789 (exit $ac_status); } && {
40790 test -z "$ac_c_werror_flag" ||
40791 test ! -s conftest.err
40792 } && test -s conftest.$ac_objext; then
40793
40794 wx_cv_type_pthread_rec_mutex_init=yes
40795
40796 else
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40799
40800
40801 wx_cv_type_pthread_rec_mutex_init=no
40802
40803
40804 fi
40805
40806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40807
40808 fi
40809 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40810 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40811 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40812 cat >>confdefs.h <<\_ACEOF
40813 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40814 _ACEOF
40815
40816 else
40817 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40818 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40819 fi
40820 fi
40821
40822 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40823 if test "$USE_NETBSD" = 1; then
40824 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40825 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40826 wxUSE_COMPILER_TLS=no
40827 else
40828 wxUSE_COMPILER_TLS=yes
40829 fi
40830 fi
40831
40832 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40833 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40834 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40835 if test "${wx_cv_cc___thread+set}" = set; then
40836 echo $ECHO_N "(cached) $ECHO_C" >&6
40837 else
40838
40839 cat >conftest.$ac_ext <<_ACEOF
40840 /* confdefs.h. */
40841 _ACEOF
40842 cat confdefs.h >>conftest.$ac_ext
40843 cat >>conftest.$ac_ext <<_ACEOF
40844 /* end confdefs.h. */
40845 #include <pthread.h>
40846 int
40847 main ()
40848 {
40849
40850 static __thread int n = 0;
40851 static __thread int *p = 0;
40852
40853 ;
40854 return 0;
40855 }
40856 _ACEOF
40857 rm -f conftest.$ac_objext
40858 if { (ac_try="$ac_compile"
40859 case "(($ac_try" in
40860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40861 *) ac_try_echo=$ac_try;;
40862 esac
40863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40864 (eval "$ac_compile") 2>conftest.er1
40865 ac_status=$?
40866 grep -v '^ *+' conftest.er1 >conftest.err
40867 rm -f conftest.er1
40868 cat conftest.err >&5
40869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40870 (exit $ac_status); } && {
40871 test -z "$ac_c_werror_flag" ||
40872 test ! -s conftest.err
40873 } && test -s conftest.$ac_objext; then
40874 wx_cv_cc___thread=yes
40875 else
40876 echo "$as_me: failed program was:" >&5
40877 sed 's/^/| /' conftest.$ac_ext >&5
40878
40879 wx_cv_cc___thread=no
40880
40881 fi
40882
40883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40884
40885
40886 fi
40887 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40888 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40889
40890 if test "$wx_cv_cc___thread" = "yes"; then
40891
40892 GXX_VERSION=""
40893
40894
40895
40896 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40897 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40898
40899 if test "x$GCC" = "xyes" ; then
40900
40901 if test -z "" ; then
40902
40903 ax_gcc_option_test="int main()
40904 {
40905 return 0;
40906 }"
40907
40908 else
40909
40910 ax_gcc_option_test=""
40911
40912 fi
40913
40914
40915 # Dump the test program to file
40916 cat <<EOF > conftest.c
40917 $ax_gcc_option_test
40918 EOF
40919
40920 # Dump back the file to the log, useful for debugging purposes
40921 { ac_try='cat conftest.c 1>&5'
40922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40923 (eval $ac_try) 2>&5
40924 ac_status=$?
40925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40926 (exit $ac_status); }; }
40927
40928 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40930 (eval $ac_try) 2>&5
40931 ac_status=$?
40932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40933 (exit $ac_status); }; } ; then
40934
40935 { echo "$as_me:$LINENO: result: yes" >&5
40936 echo "${ECHO_T}yes" >&6; }
40937
40938 ax_gcc_version_option=yes
40939
40940
40941 else
40942
40943 { echo "$as_me:$LINENO: result: no" >&5
40944 echo "${ECHO_T}no" >&6; }
40945
40946 ax_gcc_version_option=no
40947
40948
40949 fi
40950
40951
40952 else
40953
40954 { echo "$as_me:$LINENO: result: no gcc available" >&5
40955 echo "${ECHO_T}no gcc available" >&6; }
40956
40957 fi
40958
40959
40960 if test "x$GXX" = "xyes"; then
40961
40962 if test "x$ax_gxx_version_option" != "no"; then
40963
40964 { echo "$as_me:$LINENO: checking gxx version" >&5
40965 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40966 if test "${ax_cv_gxx_version+set}" = set; then
40967 echo $ECHO_N "(cached) $ECHO_C" >&6
40968 else
40969
40970 ax_cv_gxx_version="`$CXX -dumpversion`"
40971 if test "x$ax_cv_gxx_version" = "x"; then
40972
40973 ax_cv_gxx_version=""
40974
40975 fi
40976
40977
40978 fi
40979 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40980 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40981 GXX_VERSION=$ax_cv_gxx_version
40982
40983 fi
40984
40985
40986 fi
40987
40988
40989
40990 if test -n "$ax_cv_gxx_version"; then
40991 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40992 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40993 case "$ax_cv_gxx_version" in
40994 1.* | 2.* | 3.* )
40995 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40996 echo "${ECHO_T}no, it's broken" >&6; }
40997 wx_cv_cc___thread=no
40998 ;;
40999 *)
41000 { echo "$as_me:$LINENO: result: yes, it works" >&5
41001 echo "${ECHO_T}yes, it works" >&6; }
41002 ;;
41003 esac
41004 fi
41005 fi
41006
41007 if test "$wx_cv_cc___thread" = "yes"; then
41008 cat >>confdefs.h <<\_ACEOF
41009 #define HAVE___THREAD_KEYWORD 1
41010 _ACEOF
41011
41012 fi
41013 fi
41014 fi
41015
41016 else
41017 if test "$wxUSE_THREADS" = "yes" ; then
41018 case "${host}" in
41019 x86_64-*-mingw32* )
41020 ;;
41021 *-*-mingw32* )
41022 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41023 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
41024 if test "${wx_cv_cflags_mthread+set}" = set; then
41025 echo $ECHO_N "(cached) $ECHO_C" >&6
41026 else
41027
41028 CFLAGS_OLD="$CFLAGS"
41029 CFLAGS="-mthreads $CFLAGS"
41030 cat >conftest.$ac_ext <<_ACEOF
41031 /* confdefs.h. */
41032 _ACEOF
41033 cat confdefs.h >>conftest.$ac_ext
41034 cat >>conftest.$ac_ext <<_ACEOF
41035 /* end confdefs.h. */
41036
41037 int
41038 main ()
41039 {
41040
41041 ;
41042 return 0;
41043 }
41044 _ACEOF
41045 rm -f conftest.$ac_objext
41046 if { (ac_try="$ac_compile"
41047 case "(($ac_try" in
41048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41049 *) ac_try_echo=$ac_try;;
41050 esac
41051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41052 (eval "$ac_compile") 2>conftest.er1
41053 ac_status=$?
41054 grep -v '^ *+' conftest.er1 >conftest.err
41055 rm -f conftest.er1
41056 cat conftest.err >&5
41057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41058 (exit $ac_status); } && {
41059 test -z "$ac_c_werror_flag" ||
41060 test ! -s conftest.err
41061 } && test -s conftest.$ac_objext; then
41062 wx_cv_cflags_mthread=yes
41063 else
41064 echo "$as_me: failed program was:" >&5
41065 sed 's/^/| /' conftest.$ac_ext >&5
41066
41067 wx_cv_cflags_mthread=no
41068
41069 fi
41070
41071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41072
41073
41074 fi
41075 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41076 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
41077
41078 if test "$wx_cv_cflags_mthread" = "yes"; then
41079 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41080 LDFLAGS="$LDFLAGS -mthreads"
41081 else
41082 CFLAGS="$CFLAGS_OLD"
41083 fi
41084 ;;
41085 *-pc-os2*emx )
41086 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41087 LDFLAGS="$LDFLAGS -Zmt"
41088 ;;
41089 esac
41090 fi
41091 fi
41092
41093 { echo "$as_me:$LINENO: checking for localtime_r" >&5
41094 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
41095 if test "${ac_cv_func_localtime_r+set}" = set; then
41096 echo $ECHO_N "(cached) $ECHO_C" >&6
41097 else
41098 cat >conftest.$ac_ext <<_ACEOF
41099 /* confdefs.h. */
41100 _ACEOF
41101 cat confdefs.h >>conftest.$ac_ext
41102 cat >>conftest.$ac_ext <<_ACEOF
41103 /* end confdefs.h. */
41104 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41106 #define localtime_r innocuous_localtime_r
41107
41108 /* System header to define __stub macros and hopefully few prototypes,
41109 which can conflict with char localtime_r (); below.
41110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41111 <limits.h> exists even on freestanding compilers. */
41112
41113 #ifdef __STDC__
41114 # include <limits.h>
41115 #else
41116 # include <assert.h>
41117 #endif
41118
41119 #undef localtime_r
41120
41121 /* Override any GCC internal prototype to avoid an error.
41122 Use char because int might match the return type of a GCC
41123 builtin and then its argument prototype would still apply. */
41124 #ifdef __cplusplus
41125 extern "C"
41126 #endif
41127 char localtime_r ();
41128 /* The GNU C library defines this for functions which it implements
41129 to always fail with ENOSYS. Some functions are actually named
41130 something starting with __ and the normal name is an alias. */
41131 #if defined __stub_localtime_r || defined __stub___localtime_r
41132 choke me
41133 #endif
41134
41135 int
41136 main ()
41137 {
41138 return localtime_r ();
41139 ;
41140 return 0;
41141 }
41142 _ACEOF
41143 rm -f conftest.$ac_objext conftest$ac_exeext
41144 if { (ac_try="$ac_link"
41145 case "(($ac_try" in
41146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41147 *) ac_try_echo=$ac_try;;
41148 esac
41149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41150 (eval "$ac_link") 2>conftest.er1
41151 ac_status=$?
41152 grep -v '^ *+' conftest.er1 >conftest.err
41153 rm -f conftest.er1
41154 cat conftest.err >&5
41155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156 (exit $ac_status); } && {
41157 test -z "$ac_c_werror_flag" ||
41158 test ! -s conftest.err
41159 } && test -s conftest$ac_exeext &&
41160 $as_test_x conftest$ac_exeext; then
41161 ac_cv_func_localtime_r=yes
41162 else
41163 echo "$as_me: failed program was:" >&5
41164 sed 's/^/| /' conftest.$ac_ext >&5
41165
41166 ac_cv_func_localtime_r=no
41167 fi
41168
41169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41170 conftest$ac_exeext conftest.$ac_ext
41171 fi
41172 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41173 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
41174 if test $ac_cv_func_localtime_r = yes; then
41175 cat >>confdefs.h <<\_ACEOF
41176 #define HAVE_LOCALTIME_R 1
41177 _ACEOF
41178
41179 fi
41180
41181 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
41182 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
41183 if test "${ac_cv_func_gmtime_r+set}" = set; then
41184 echo $ECHO_N "(cached) $ECHO_C" >&6
41185 else
41186 cat >conftest.$ac_ext <<_ACEOF
41187 /* confdefs.h. */
41188 _ACEOF
41189 cat confdefs.h >>conftest.$ac_ext
41190 cat >>conftest.$ac_ext <<_ACEOF
41191 /* end confdefs.h. */
41192 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41194 #define gmtime_r innocuous_gmtime_r
41195
41196 /* System header to define __stub macros and hopefully few prototypes,
41197 which can conflict with char gmtime_r (); below.
41198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41199 <limits.h> exists even on freestanding compilers. */
41200
41201 #ifdef __STDC__
41202 # include <limits.h>
41203 #else
41204 # include <assert.h>
41205 #endif
41206
41207 #undef gmtime_r
41208
41209 /* Override any GCC internal prototype to avoid an error.
41210 Use char because int might match the return type of a GCC
41211 builtin and then its argument prototype would still apply. */
41212 #ifdef __cplusplus
41213 extern "C"
41214 #endif
41215 char gmtime_r ();
41216 /* The GNU C library defines this for functions which it implements
41217 to always fail with ENOSYS. Some functions are actually named
41218 something starting with __ and the normal name is an alias. */
41219 #if defined __stub_gmtime_r || defined __stub___gmtime_r
41220 choke me
41221 #endif
41222
41223 int
41224 main ()
41225 {
41226 return gmtime_r ();
41227 ;
41228 return 0;
41229 }
41230 _ACEOF
41231 rm -f conftest.$ac_objext conftest$ac_exeext
41232 if { (ac_try="$ac_link"
41233 case "(($ac_try" in
41234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41235 *) ac_try_echo=$ac_try;;
41236 esac
41237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41238 (eval "$ac_link") 2>conftest.er1
41239 ac_status=$?
41240 grep -v '^ *+' conftest.er1 >conftest.err
41241 rm -f conftest.er1
41242 cat conftest.err >&5
41243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41244 (exit $ac_status); } && {
41245 test -z "$ac_c_werror_flag" ||
41246 test ! -s conftest.err
41247 } && test -s conftest$ac_exeext &&
41248 $as_test_x conftest$ac_exeext; then
41249 ac_cv_func_gmtime_r=yes
41250 else
41251 echo "$as_me: failed program was:" >&5
41252 sed 's/^/| /' conftest.$ac_ext >&5
41253
41254 ac_cv_func_gmtime_r=no
41255 fi
41256
41257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41258 conftest$ac_exeext conftest.$ac_ext
41259 fi
41260 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41261 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41262 if test $ac_cv_func_gmtime_r = yes; then
41263 cat >>confdefs.h <<\_ACEOF
41264 #define HAVE_GMTIME_R 1
41265 _ACEOF
41266
41267 fi
41268
41269
41270
41271
41272 ac_ext=c
41273 ac_cpp='$CPP $CPPFLAGS'
41274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41277
41278 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41279 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41280
41281 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41282 echo $ECHO_N "(cached) $ECHO_C" >&6
41283 else
41284
41285
41286 ################################################################
41287
41288 ac_cv_func_which_gethostbyname_r=unknown
41289
41290 #
41291 # ONE ARGUMENT (sanity check)
41292 #
41293
41294 # This should fail, as there is no variant of gethostbyname_r() that takes
41295 # a single argument. If it actually compiles, then we can assume that
41296 # netdb.h is not declaring the function, and the compiler is thereby
41297 # assuming an implicit prototype. In which case, we're out of luck.
41298 #
41299 cat >conftest.$ac_ext <<_ACEOF
41300 /* confdefs.h. */
41301 _ACEOF
41302 cat confdefs.h >>conftest.$ac_ext
41303 cat >>conftest.$ac_ext <<_ACEOF
41304 /* end confdefs.h. */
41305 #include <netdb.h>
41306 int
41307 main ()
41308 {
41309
41310 char *name = "www.gnu.org";
41311 (void)gethostbyname_r(name) /* ; */
41312
41313 ;
41314 return 0;
41315 }
41316 _ACEOF
41317 rm -f conftest.$ac_objext
41318 if { (ac_try="$ac_compile"
41319 case "(($ac_try" in
41320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41321 *) ac_try_echo=$ac_try;;
41322 esac
41323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41324 (eval "$ac_compile") 2>conftest.er1
41325 ac_status=$?
41326 grep -v '^ *+' conftest.er1 >conftest.err
41327 rm -f conftest.er1
41328 cat conftest.err >&5
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); } && {
41331 test -z "$ac_c_werror_flag" ||
41332 test ! -s conftest.err
41333 } && test -s conftest.$ac_objext; then
41334 ac_cv_func_which_gethostbyname_r=no
41335 else
41336 echo "$as_me: failed program was:" >&5
41337 sed 's/^/| /' conftest.$ac_ext >&5
41338
41339
41340 fi
41341
41342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41343
41344 #
41345 # SIX ARGUMENTS
41346 # (e.g. Linux)
41347 #
41348
41349 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41350
41351 cat >conftest.$ac_ext <<_ACEOF
41352 /* confdefs.h. */
41353 _ACEOF
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h. */
41357 #include <netdb.h>
41358 int
41359 main ()
41360 {
41361
41362 char *name = "www.gnu.org";
41363 struct hostent ret, *retp;
41364 char buf[1024];
41365 int buflen = 1024;
41366 int my_h_errno;
41367 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41368
41369 ;
41370 return 0;
41371 }
41372 _ACEOF
41373 rm -f conftest.$ac_objext
41374 if { (ac_try="$ac_compile"
41375 case "(($ac_try" in
41376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41377 *) ac_try_echo=$ac_try;;
41378 esac
41379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41380 (eval "$ac_compile") 2>conftest.er1
41381 ac_status=$?
41382 grep -v '^ *+' conftest.er1 >conftest.err
41383 rm -f conftest.er1
41384 cat conftest.err >&5
41385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41386 (exit $ac_status); } && {
41387 test -z "$ac_c_werror_flag" ||
41388 test ! -s conftest.err
41389 } && test -s conftest.$ac_objext; then
41390 ac_cv_func_which_gethostbyname_r=six
41391 else
41392 echo "$as_me: failed program was:" >&5
41393 sed 's/^/| /' conftest.$ac_ext >&5
41394
41395
41396 fi
41397
41398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41399
41400 fi
41401
41402 #
41403 # FIVE ARGUMENTS
41404 # (e.g. Solaris)
41405 #
41406
41407 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41408
41409 cat >conftest.$ac_ext <<_ACEOF
41410 /* confdefs.h. */
41411 _ACEOF
41412 cat confdefs.h >>conftest.$ac_ext
41413 cat >>conftest.$ac_ext <<_ACEOF
41414 /* end confdefs.h. */
41415 #include <netdb.h>
41416 int
41417 main ()
41418 {
41419
41420 char *name = "www.gnu.org";
41421 struct hostent ret;
41422 char buf[1024];
41423 int buflen = 1024;
41424 int my_h_errno;
41425 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41426
41427 ;
41428 return 0;
41429 }
41430 _ACEOF
41431 rm -f conftest.$ac_objext
41432 if { (ac_try="$ac_compile"
41433 case "(($ac_try" in
41434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41435 *) ac_try_echo=$ac_try;;
41436 esac
41437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41438 (eval "$ac_compile") 2>conftest.er1
41439 ac_status=$?
41440 grep -v '^ *+' conftest.er1 >conftest.err
41441 rm -f conftest.er1
41442 cat conftest.err >&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); } && {
41445 test -z "$ac_c_werror_flag" ||
41446 test ! -s conftest.err
41447 } && test -s conftest.$ac_objext; then
41448 ac_cv_func_which_gethostbyname_r=five
41449 else
41450 echo "$as_me: failed program was:" >&5
41451 sed 's/^/| /' conftest.$ac_ext >&5
41452
41453
41454 fi
41455
41456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41457
41458 fi
41459
41460 #
41461 # THREE ARGUMENTS
41462 # (e.g. AIX, HP-UX, Tru64)
41463 #
41464
41465 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41466
41467 cat >conftest.$ac_ext <<_ACEOF
41468 /* confdefs.h. */
41469 _ACEOF
41470 cat confdefs.h >>conftest.$ac_ext
41471 cat >>conftest.$ac_ext <<_ACEOF
41472 /* end confdefs.h. */
41473 #include <netdb.h>
41474 int
41475 main ()
41476 {
41477
41478 char *name = "www.gnu.org";
41479 struct hostent ret;
41480 struct hostent_data data;
41481 (void)gethostbyname_r(name, &ret, &data) /* ; */
41482
41483 ;
41484 return 0;
41485 }
41486 _ACEOF
41487 rm -f conftest.$ac_objext
41488 if { (ac_try="$ac_compile"
41489 case "(($ac_try" in
41490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41491 *) ac_try_echo=$ac_try;;
41492 esac
41493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41494 (eval "$ac_compile") 2>conftest.er1
41495 ac_status=$?
41496 grep -v '^ *+' conftest.er1 >conftest.err
41497 rm -f conftest.er1
41498 cat conftest.err >&5
41499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41500 (exit $ac_status); } && {
41501 test -z "$ac_c_werror_flag" ||
41502 test ! -s conftest.err
41503 } && test -s conftest.$ac_objext; then
41504 ac_cv_func_which_gethostbyname_r=three
41505 else
41506 echo "$as_me: failed program was:" >&5
41507 sed 's/^/| /' conftest.$ac_ext >&5
41508
41509
41510 fi
41511
41512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41513
41514 fi
41515
41516 ################################################################
41517
41518
41519 fi
41520
41521 case "$ac_cv_func_which_gethostbyname_r" in
41522 three)
41523 { echo "$as_me:$LINENO: result: three" >&5
41524 echo "${ECHO_T}three" >&6; }
41525 cat >>confdefs.h <<\_ACEOF
41526 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41527 _ACEOF
41528
41529 ;;
41530
41531 five)
41532 { echo "$as_me:$LINENO: result: five" >&5
41533 echo "${ECHO_T}five" >&6; }
41534 cat >>confdefs.h <<\_ACEOF
41535 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41536 _ACEOF
41537
41538 ;;
41539
41540 six)
41541 { echo "$as_me:$LINENO: result: six" >&5
41542 echo "${ECHO_T}six" >&6; }
41543 cat >>confdefs.h <<\_ACEOF
41544 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41545 _ACEOF
41546
41547 ;;
41548
41549 no)
41550 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41551 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41552 ;;
41553
41554 unknown)
41555 { echo "$as_me:$LINENO: result: can't tell" >&5
41556 echo "${ECHO_T}can't tell" >&6; }
41557 ;;
41558
41559 *)
41560 { { echo "$as_me:$LINENO: error: internal error" >&5
41561 echo "$as_me: error: internal error" >&2;}
41562 { (exit 1); exit 1; }; }
41563 ;;
41564 esac
41565
41566 ac_ext=c
41567 ac_cpp='$CPP $CPPFLAGS'
41568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41571
41572
41573
41574 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41575 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41576 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41577 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41578 if test "${ac_cv_func_gethostbyname+set}" = set; then
41579 echo $ECHO_N "(cached) $ECHO_C" >&6
41580 else
41581 cat >conftest.$ac_ext <<_ACEOF
41582 /* confdefs.h. */
41583 _ACEOF
41584 cat confdefs.h >>conftest.$ac_ext
41585 cat >>conftest.$ac_ext <<_ACEOF
41586 /* end confdefs.h. */
41587 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41589 #define gethostbyname innocuous_gethostbyname
41590
41591 /* System header to define __stub macros and hopefully few prototypes,
41592 which can conflict with char gethostbyname (); below.
41593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41594 <limits.h> exists even on freestanding compilers. */
41595
41596 #ifdef __STDC__
41597 # include <limits.h>
41598 #else
41599 # include <assert.h>
41600 #endif
41601
41602 #undef gethostbyname
41603
41604 /* Override any GCC internal prototype to avoid an error.
41605 Use char because int might match the return type of a GCC
41606 builtin and then its argument prototype would still apply. */
41607 #ifdef __cplusplus
41608 extern "C"
41609 #endif
41610 char gethostbyname ();
41611 /* The GNU C library defines this for functions which it implements
41612 to always fail with ENOSYS. Some functions are actually named
41613 something starting with __ and the normal name is an alias. */
41614 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41615 choke me
41616 #endif
41617
41618 int
41619 main ()
41620 {
41621 return gethostbyname ();
41622 ;
41623 return 0;
41624 }
41625 _ACEOF
41626 rm -f conftest.$ac_objext conftest$ac_exeext
41627 if { (ac_try="$ac_link"
41628 case "(($ac_try" in
41629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41630 *) ac_try_echo=$ac_try;;
41631 esac
41632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41633 (eval "$ac_link") 2>conftest.er1
41634 ac_status=$?
41635 grep -v '^ *+' conftest.er1 >conftest.err
41636 rm -f conftest.er1
41637 cat conftest.err >&5
41638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41639 (exit $ac_status); } && {
41640 test -z "$ac_c_werror_flag" ||
41641 test ! -s conftest.err
41642 } && test -s conftest$ac_exeext &&
41643 $as_test_x conftest$ac_exeext; then
41644 ac_cv_func_gethostbyname=yes
41645 else
41646 echo "$as_me: failed program was:" >&5
41647 sed 's/^/| /' conftest.$ac_ext >&5
41648
41649 ac_cv_func_gethostbyname=no
41650 fi
41651
41652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41653 conftest$ac_exeext conftest.$ac_ext
41654 fi
41655 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41656 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41657 if test $ac_cv_func_gethostbyname = yes; then
41658 cat >>confdefs.h <<\_ACEOF
41659 #define HAVE_GETHOSTBYNAME 1
41660 _ACEOF
41661
41662 fi
41663
41664 fi
41665
41666 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41667 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41668 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41669 echo $ECHO_N "(cached) $ECHO_C" >&6
41670 else
41671
41672 ac_ext=cpp
41673 ac_cpp='$CXXCPP $CPPFLAGS'
41674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41677
41678
41679 cat >conftest.$ac_ext <<_ACEOF
41680 /* confdefs.h. */
41681 _ACEOF
41682 cat confdefs.h >>conftest.$ac_ext
41683 cat >>conftest.$ac_ext <<_ACEOF
41684 /* end confdefs.h. */
41685 #include <netdb.h>
41686 int
41687 main ()
41688 {
41689
41690 char *name;
41691 char *proto;
41692 struct servent *se, *res;
41693 char buffer[2048];
41694 int buflen = 2048;
41695 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41696
41697 ;
41698 return 0;
41699 }
41700 _ACEOF
41701 rm -f conftest.$ac_objext
41702 if { (ac_try="$ac_compile"
41703 case "(($ac_try" in
41704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41705 *) ac_try_echo=$ac_try;;
41706 esac
41707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41708 (eval "$ac_compile") 2>conftest.er1
41709 ac_status=$?
41710 grep -v '^ *+' conftest.er1 >conftest.err
41711 rm -f conftest.er1
41712 cat conftest.err >&5
41713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41714 (exit $ac_status); } && {
41715 test -z "$ac_cxx_werror_flag" ||
41716 test ! -s conftest.err
41717 } && test -s conftest.$ac_objext; then
41718 ac_cv_func_which_getservbyname_r=six
41719 else
41720 echo "$as_me: failed program was:" >&5
41721 sed 's/^/| /' conftest.$ac_ext >&5
41722
41723
41724 cat >conftest.$ac_ext <<_ACEOF
41725 /* confdefs.h. */
41726 _ACEOF
41727 cat confdefs.h >>conftest.$ac_ext
41728 cat >>conftest.$ac_ext <<_ACEOF
41729 /* end confdefs.h. */
41730 #include <netdb.h>
41731 int
41732 main ()
41733 {
41734
41735 char *name;
41736 char *proto;
41737 struct servent *se;
41738 char buffer[2048];
41739 int buflen = 2048;
41740 (void) getservbyname_r(name, proto, se, buffer, buflen)
41741
41742 ;
41743 return 0;
41744 }
41745 _ACEOF
41746 rm -f conftest.$ac_objext
41747 if { (ac_try="$ac_compile"
41748 case "(($ac_try" in
41749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41750 *) ac_try_echo=$ac_try;;
41751 esac
41752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41753 (eval "$ac_compile") 2>conftest.er1
41754 ac_status=$?
41755 grep -v '^ *+' conftest.er1 >conftest.err
41756 rm -f conftest.er1
41757 cat conftest.err >&5
41758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41759 (exit $ac_status); } && {
41760 test -z "$ac_cxx_werror_flag" ||
41761 test ! -s conftest.err
41762 } && test -s conftest.$ac_objext; then
41763 ac_cv_func_which_getservbyname_r=five
41764 else
41765 echo "$as_me: failed program was:" >&5
41766 sed 's/^/| /' conftest.$ac_ext >&5
41767
41768
41769 cat >conftest.$ac_ext <<_ACEOF
41770 /* confdefs.h. */
41771 _ACEOF
41772 cat confdefs.h >>conftest.$ac_ext
41773 cat >>conftest.$ac_ext <<_ACEOF
41774 /* end confdefs.h. */
41775 #include <netdb.h>
41776 int
41777 main ()
41778 {
41779
41780 char *name;
41781 char *proto;
41782 struct servent *se;
41783 struct servent_data data;
41784 (void) getservbyname_r(name, proto, se, &data);
41785
41786 ;
41787 return 0;
41788 }
41789 _ACEOF
41790 rm -f conftest.$ac_objext
41791 if { (ac_try="$ac_compile"
41792 case "(($ac_try" in
41793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41794 *) ac_try_echo=$ac_try;;
41795 esac
41796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41797 (eval "$ac_compile") 2>conftest.er1
41798 ac_status=$?
41799 grep -v '^ *+' conftest.er1 >conftest.err
41800 rm -f conftest.er1
41801 cat conftest.err >&5
41802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41803 (exit $ac_status); } && {
41804 test -z "$ac_cxx_werror_flag" ||
41805 test ! -s conftest.err
41806 } && test -s conftest.$ac_objext; then
41807 ac_cv_func_which_getservbyname_r=four
41808 else
41809 echo "$as_me: failed program was:" >&5
41810 sed 's/^/| /' conftest.$ac_ext >&5
41811
41812 ac_cv_func_which_getservbyname_r=no
41813
41814 fi
41815
41816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41817
41818
41819 fi
41820
41821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41822
41823
41824 fi
41825
41826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41827 ac_ext=c
41828 ac_cpp='$CPP $CPPFLAGS'
41829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41832
41833
41834
41835 fi
41836 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41837 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41838
41839 if test $ac_cv_func_which_getservbyname_r = six; then
41840 cat >>confdefs.h <<\_ACEOF
41841 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41842 _ACEOF
41843
41844 elif test $ac_cv_func_which_getservbyname_r = five; then
41845 cat >>confdefs.h <<\_ACEOF
41846 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41847 _ACEOF
41848
41849 elif test $ac_cv_func_which_getservbyname_r = four; then
41850 cat >>confdefs.h <<\_ACEOF
41851 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41852 _ACEOF
41853
41854 fi
41855
41856
41857 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41858 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41859
41860 for ac_func in getservbyname
41861 do
41862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41863 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41865 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41866 echo $ECHO_N "(cached) $ECHO_C" >&6
41867 else
41868 cat >conftest.$ac_ext <<_ACEOF
41869 /* confdefs.h. */
41870 _ACEOF
41871 cat confdefs.h >>conftest.$ac_ext
41872 cat >>conftest.$ac_ext <<_ACEOF
41873 /* end confdefs.h. */
41874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41876 #define $ac_func innocuous_$ac_func
41877
41878 /* System header to define __stub macros and hopefully few prototypes,
41879 which can conflict with char $ac_func (); below.
41880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41881 <limits.h> exists even on freestanding compilers. */
41882
41883 #ifdef __STDC__
41884 # include <limits.h>
41885 #else
41886 # include <assert.h>
41887 #endif
41888
41889 #undef $ac_func
41890
41891 /* Override any GCC internal prototype to avoid an error.
41892 Use char because int might match the return type of a GCC
41893 builtin and then its argument prototype would still apply. */
41894 #ifdef __cplusplus
41895 extern "C"
41896 #endif
41897 char $ac_func ();
41898 /* The GNU C library defines this for functions which it implements
41899 to always fail with ENOSYS. Some functions are actually named
41900 something starting with __ and the normal name is an alias. */
41901 #if defined __stub_$ac_func || defined __stub___$ac_func
41902 choke me
41903 #endif
41904
41905 int
41906 main ()
41907 {
41908 return $ac_func ();
41909 ;
41910 return 0;
41911 }
41912 _ACEOF
41913 rm -f conftest.$ac_objext conftest$ac_exeext
41914 if { (ac_try="$ac_link"
41915 case "(($ac_try" in
41916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41917 *) ac_try_echo=$ac_try;;
41918 esac
41919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41920 (eval "$ac_link") 2>conftest.er1
41921 ac_status=$?
41922 grep -v '^ *+' conftest.er1 >conftest.err
41923 rm -f conftest.er1
41924 cat conftest.err >&5
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); } && {
41927 test -z "$ac_c_werror_flag" ||
41928 test ! -s conftest.err
41929 } && test -s conftest$ac_exeext &&
41930 $as_test_x conftest$ac_exeext; then
41931 eval "$as_ac_var=yes"
41932 else
41933 echo "$as_me: failed program was:" >&5
41934 sed 's/^/| /' conftest.$ac_ext >&5
41935
41936 eval "$as_ac_var=no"
41937 fi
41938
41939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41940 conftest$ac_exeext conftest.$ac_ext
41941 fi
41942 ac_res=`eval echo '${'$as_ac_var'}'`
41943 { echo "$as_me:$LINENO: result: $ac_res" >&5
41944 echo "${ECHO_T}$ac_res" >&6; }
41945 if test `eval echo '${'$as_ac_var'}'` = yes; then
41946 cat >>confdefs.h <<_ACEOF
41947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41948 _ACEOF
41949 cat >>confdefs.h <<\_ACEOF
41950 #define HAVE_GETSERVBYNAME 1
41951 _ACEOF
41952
41953 fi
41954 done
41955
41956 fi
41957
41958 if test "$wxUSE_THREADS" = "yes"; then
41959 cat >>confdefs.h <<\_ACEOF
41960 #define wxUSE_THREADS 1
41961 _ACEOF
41962
41963
41964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41965 else
41966 if test "$wx_cv_func_strtok_r" = "yes"; then
41967 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41968 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41969 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41970 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41971 { echo "$as_me:$LINENO: result: yes" >&5
41972 echo "${ECHO_T}yes" >&6; }
41973 else
41974 { echo "$as_me:$LINENO: result: no" >&5
41975 echo "${ECHO_T}no" >&6; }
41976 fi
41977 fi
41978 fi
41979
41980 if test "$WXGTK2" = 1 ; then
41981 cat >>confdefs.h <<_ACEOF
41982 #define __WXGTK20__ $WXGTK2
41983 _ACEOF
41984
41985 WXGTK12=1
41986 fi
41987
41988 if test "$WXGTK12" = 1 ; then
41989 cat >>confdefs.h <<_ACEOF
41990 #define __WXGTK12__ $WXGTK12
41991 _ACEOF
41992
41993 fi
41994
41995 if test "$WXGTK127" = 1 ; then
41996 cat >>confdefs.h <<_ACEOF
41997 #define __WXGTK127__ $WXGTK127
41998 _ACEOF
41999
42000 fi
42001
42002 if test "$WXGPE" = 1 ; then
42003 cat >>confdefs.h <<_ACEOF
42004 #define __WXGPE__ $WXGPE
42005 _ACEOF
42006
42007 fi
42008
42009 DEBUG_CFLAGS=
42010 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
42011 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
42012 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
42013 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
42014 DEBUG_CFLAGS="-g"
42015 fi
42016
42017 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42018 wxUSE_DEBUG_INFO=yes
42019 if test "$GCC" = yes; then
42020 DEBUG_CFLAGS="-ggdb"
42021 fi
42022 fi
42023
42024 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
42025 if test "$wxUSE_GTK" = 1 ; then
42026 if test "x$wxGTK_VERSION" = "x1" ; then
42027 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42028 fi
42029 fi
42030 fi
42031
42032 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42033 cat >>confdefs.h <<\_ACEOF
42034 #define wxUSE_MEMORY_TRACING 1
42035 _ACEOF
42036
42037 cat >>confdefs.h <<\_ACEOF
42038 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42039 _ACEOF
42040
42041 cat >>confdefs.h <<\_ACEOF
42042 #define wxUSE_DEBUG_NEW_ALWAYS 1
42043 _ACEOF
42044
42045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42046 fi
42047
42048 if test "$wxUSE_DMALLOC" = "yes" ; then
42049 DMALLOC_LIBS="-ldmallocthcxx"
42050 fi
42051
42052 PROFILE_FLAGS=
42053 if test "$wxUSE_PROFILE" = "yes" ; then
42054 PROFILE_FLAGS=" -pg"
42055 fi
42056
42057 if test "$GCC" = "yes" ; then
42058 if test "$wxUSE_NO_RTTI" = "yes" ; then
42059 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42060 fi
42061 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42062 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42063 fi
42064 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42065 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42066 fi
42067
42068 case "${host}" in
42069 powerpc*-*-aix* )
42070 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42071 ;;
42072 *-hppa* )
42073 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42074 ;;
42075 esac
42076 fi
42077
42078 OPTIMISE_CFLAGS=
42079 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
42080 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
42081 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
42082 else
42083 if test "$wxUSE_OPTIMISE" = "no" ; then
42084 if test "$GCC" = yes ; then
42085 OPTIMISE_CFLAGS="-O0"
42086 fi
42087 else
42088 if test "$GCC" = yes ; then
42089 case "${host}" in
42090 *-pc-os2_emx | *-pc-os2-emx )
42091 OPTIMISE_CFLAGS="-O2"
42092 ;;
42093 *)
42094 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42095 ;;
42096 esac
42097 else
42098 OPTIMISE_CFLAGS="-O"
42099 fi
42100 fi
42101 fi
42102
42103
42104 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
42105 cat >>confdefs.h <<\_ACEOF
42106 #define WXWIN_COMPATIBILITY_2_6 1
42107 _ACEOF
42108
42109
42110 WXWIN_COMPATIBILITY_2_8="yes"
42111 fi
42112
42113 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
42114 cat >>confdefs.h <<\_ACEOF
42115 #define WXWIN_COMPATIBILITY_2_8 1
42116 _ACEOF
42117
42118 fi
42119
42120
42121 if test "$wxUSE_GUI" = "yes"; then
42122 cat >>confdefs.h <<\_ACEOF
42123 #define wxUSE_GUI 1
42124 _ACEOF
42125
42126
42127 fi
42128
42129
42130 if test "$wxUSE_UNIX" = "yes"; then
42131 cat >>confdefs.h <<\_ACEOF
42132 #define wxUSE_UNIX 1
42133 _ACEOF
42134
42135 fi
42136
42137
42138 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42139
42140 HAVE_DL_FUNCS=0
42141 HAVE_SHL_FUNCS=0
42142 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42143 if test "$USE_DOS" = 1; then
42144 HAVE_DL_FUNCS=0
42145 else
42146
42147 for ac_func in dlopen
42148 do
42149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42153 echo $ECHO_N "(cached) $ECHO_C" >&6
42154 else
42155 cat >conftest.$ac_ext <<_ACEOF
42156 /* confdefs.h. */
42157 _ACEOF
42158 cat confdefs.h >>conftest.$ac_ext
42159 cat >>conftest.$ac_ext <<_ACEOF
42160 /* end confdefs.h. */
42161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42163 #define $ac_func innocuous_$ac_func
42164
42165 /* System header to define __stub macros and hopefully few prototypes,
42166 which can conflict with char $ac_func (); below.
42167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42168 <limits.h> exists even on freestanding compilers. */
42169
42170 #ifdef __STDC__
42171 # include <limits.h>
42172 #else
42173 # include <assert.h>
42174 #endif
42175
42176 #undef $ac_func
42177
42178 /* Override any GCC internal prototype to avoid an error.
42179 Use char because int might match the return type of a GCC
42180 builtin and then its argument prototype would still apply. */
42181 #ifdef __cplusplus
42182 extern "C"
42183 #endif
42184 char $ac_func ();
42185 /* The GNU C library defines this for functions which it implements
42186 to always fail with ENOSYS. Some functions are actually named
42187 something starting with __ and the normal name is an alias. */
42188 #if defined __stub_$ac_func || defined __stub___$ac_func
42189 choke me
42190 #endif
42191
42192 int
42193 main ()
42194 {
42195 return $ac_func ();
42196 ;
42197 return 0;
42198 }
42199 _ACEOF
42200 rm -f conftest.$ac_objext conftest$ac_exeext
42201 if { (ac_try="$ac_link"
42202 case "(($ac_try" in
42203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42204 *) ac_try_echo=$ac_try;;
42205 esac
42206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42207 (eval "$ac_link") 2>conftest.er1
42208 ac_status=$?
42209 grep -v '^ *+' conftest.er1 >conftest.err
42210 rm -f conftest.er1
42211 cat conftest.err >&5
42212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42213 (exit $ac_status); } && {
42214 test -z "$ac_c_werror_flag" ||
42215 test ! -s conftest.err
42216 } && test -s conftest$ac_exeext &&
42217 $as_test_x conftest$ac_exeext; then
42218 eval "$as_ac_var=yes"
42219 else
42220 echo "$as_me: failed program was:" >&5
42221 sed 's/^/| /' conftest.$ac_ext >&5
42222
42223 eval "$as_ac_var=no"
42224 fi
42225
42226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42227 conftest$ac_exeext conftest.$ac_ext
42228 fi
42229 ac_res=`eval echo '${'$as_ac_var'}'`
42230 { echo "$as_me:$LINENO: result: $ac_res" >&5
42231 echo "${ECHO_T}$ac_res" >&6; }
42232 if test `eval echo '${'$as_ac_var'}'` = yes; then
42233 cat >>confdefs.h <<_ACEOF
42234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42235 _ACEOF
42236
42237 cat >>confdefs.h <<\_ACEOF
42238 #define HAVE_DLOPEN 1
42239 _ACEOF
42240
42241 HAVE_DL_FUNCS=1
42242
42243 else
42244
42245 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42246 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
42247 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42248 echo $ECHO_N "(cached) $ECHO_C" >&6
42249 else
42250 ac_check_lib_save_LIBS=$LIBS
42251 LIBS="-ldl $LIBS"
42252 cat >conftest.$ac_ext <<_ACEOF
42253 /* confdefs.h. */
42254 _ACEOF
42255 cat confdefs.h >>conftest.$ac_ext
42256 cat >>conftest.$ac_ext <<_ACEOF
42257 /* end confdefs.h. */
42258
42259 /* Override any GCC internal prototype to avoid an error.
42260 Use char because int might match the return type of a GCC
42261 builtin and then its argument prototype would still apply. */
42262 #ifdef __cplusplus
42263 extern "C"
42264 #endif
42265 char dlopen ();
42266 int
42267 main ()
42268 {
42269 return dlopen ();
42270 ;
42271 return 0;
42272 }
42273 _ACEOF
42274 rm -f conftest.$ac_objext conftest$ac_exeext
42275 if { (ac_try="$ac_link"
42276 case "(($ac_try" in
42277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42278 *) ac_try_echo=$ac_try;;
42279 esac
42280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42281 (eval "$ac_link") 2>conftest.er1
42282 ac_status=$?
42283 grep -v '^ *+' conftest.er1 >conftest.err
42284 rm -f conftest.er1
42285 cat conftest.err >&5
42286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42287 (exit $ac_status); } && {
42288 test -z "$ac_c_werror_flag" ||
42289 test ! -s conftest.err
42290 } && test -s conftest$ac_exeext &&
42291 $as_test_x conftest$ac_exeext; then
42292 ac_cv_lib_dl_dlopen=yes
42293 else
42294 echo "$as_me: failed program was:" >&5
42295 sed 's/^/| /' conftest.$ac_ext >&5
42296
42297 ac_cv_lib_dl_dlopen=no
42298 fi
42299
42300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42301 conftest$ac_exeext conftest.$ac_ext
42302 LIBS=$ac_check_lib_save_LIBS
42303 fi
42304 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42305 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42306 if test $ac_cv_lib_dl_dlopen = yes; then
42307
42308 cat >>confdefs.h <<\_ACEOF
42309 #define HAVE_DLOPEN 1
42310 _ACEOF
42311
42312 HAVE_DL_FUNCS=1
42313 DL_LINK=" -ldl$DL_LINK"
42314
42315 else
42316
42317
42318 for ac_func in shl_load
42319 do
42320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42321 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42323 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42324 echo $ECHO_N "(cached) $ECHO_C" >&6
42325 else
42326 cat >conftest.$ac_ext <<_ACEOF
42327 /* confdefs.h. */
42328 _ACEOF
42329 cat confdefs.h >>conftest.$ac_ext
42330 cat >>conftest.$ac_ext <<_ACEOF
42331 /* end confdefs.h. */
42332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42334 #define $ac_func innocuous_$ac_func
42335
42336 /* System header to define __stub macros and hopefully few prototypes,
42337 which can conflict with char $ac_func (); below.
42338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42339 <limits.h> exists even on freestanding compilers. */
42340
42341 #ifdef __STDC__
42342 # include <limits.h>
42343 #else
42344 # include <assert.h>
42345 #endif
42346
42347 #undef $ac_func
42348
42349 /* Override any GCC internal prototype to avoid an error.
42350 Use char because int might match the return type of a GCC
42351 builtin and then its argument prototype would still apply. */
42352 #ifdef __cplusplus
42353 extern "C"
42354 #endif
42355 char $ac_func ();
42356 /* The GNU C library defines this for functions which it implements
42357 to always fail with ENOSYS. Some functions are actually named
42358 something starting with __ and the normal name is an alias. */
42359 #if defined __stub_$ac_func || defined __stub___$ac_func
42360 choke me
42361 #endif
42362
42363 int
42364 main ()
42365 {
42366 return $ac_func ();
42367 ;
42368 return 0;
42369 }
42370 _ACEOF
42371 rm -f conftest.$ac_objext conftest$ac_exeext
42372 if { (ac_try="$ac_link"
42373 case "(($ac_try" in
42374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42375 *) ac_try_echo=$ac_try;;
42376 esac
42377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42378 (eval "$ac_link") 2>conftest.er1
42379 ac_status=$?
42380 grep -v '^ *+' conftest.er1 >conftest.err
42381 rm -f conftest.er1
42382 cat conftest.err >&5
42383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42384 (exit $ac_status); } && {
42385 test -z "$ac_c_werror_flag" ||
42386 test ! -s conftest.err
42387 } && test -s conftest$ac_exeext &&
42388 $as_test_x conftest$ac_exeext; then
42389 eval "$as_ac_var=yes"
42390 else
42391 echo "$as_me: failed program was:" >&5
42392 sed 's/^/| /' conftest.$ac_ext >&5
42393
42394 eval "$as_ac_var=no"
42395 fi
42396
42397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42398 conftest$ac_exeext conftest.$ac_ext
42399 fi
42400 ac_res=`eval echo '${'$as_ac_var'}'`
42401 { echo "$as_me:$LINENO: result: $ac_res" >&5
42402 echo "${ECHO_T}$ac_res" >&6; }
42403 if test `eval echo '${'$as_ac_var'}'` = yes; then
42404 cat >>confdefs.h <<_ACEOF
42405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42406 _ACEOF
42407
42408 cat >>confdefs.h <<\_ACEOF
42409 #define HAVE_SHL_LOAD 1
42410 _ACEOF
42411
42412 HAVE_SHL_FUNCS=1
42413
42414 else
42415
42416 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42417 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42418 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42419 echo $ECHO_N "(cached) $ECHO_C" >&6
42420 else
42421 ac_check_lib_save_LIBS=$LIBS
42422 LIBS="-lshl_load $LIBS"
42423 cat >conftest.$ac_ext <<_ACEOF
42424 /* confdefs.h. */
42425 _ACEOF
42426 cat confdefs.h >>conftest.$ac_ext
42427 cat >>conftest.$ac_ext <<_ACEOF
42428 /* end confdefs.h. */
42429
42430 /* Override any GCC internal prototype to avoid an error.
42431 Use char because int might match the return type of a GCC
42432 builtin and then its argument prototype would still apply. */
42433 #ifdef __cplusplus
42434 extern "C"
42435 #endif
42436 char dld ();
42437 int
42438 main ()
42439 {
42440 return dld ();
42441 ;
42442 return 0;
42443 }
42444 _ACEOF
42445 rm -f conftest.$ac_objext conftest$ac_exeext
42446 if { (ac_try="$ac_link"
42447 case "(($ac_try" in
42448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42449 *) ac_try_echo=$ac_try;;
42450 esac
42451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42452 (eval "$ac_link") 2>conftest.er1
42453 ac_status=$?
42454 grep -v '^ *+' conftest.er1 >conftest.err
42455 rm -f conftest.er1
42456 cat conftest.err >&5
42457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42458 (exit $ac_status); } && {
42459 test -z "$ac_c_werror_flag" ||
42460 test ! -s conftest.err
42461 } && test -s conftest$ac_exeext &&
42462 $as_test_x conftest$ac_exeext; then
42463 ac_cv_lib_shl_load_dld=yes
42464 else
42465 echo "$as_me: failed program was:" >&5
42466 sed 's/^/| /' conftest.$ac_ext >&5
42467
42468 ac_cv_lib_shl_load_dld=no
42469 fi
42470
42471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42472 conftest$ac_exeext conftest.$ac_ext
42473 LIBS=$ac_check_lib_save_LIBS
42474 fi
42475 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42476 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42477 if test $ac_cv_lib_shl_load_dld = yes; then
42478
42479 HAVE_SHL_FUNCS=1
42480 DL_LINK=" -ldld$DL_LINK"
42481
42482 fi
42483
42484
42485 fi
42486 done
42487
42488
42489 fi
42490
42491
42492 fi
42493 done
42494
42495
42496 if test "$HAVE_DL_FUNCS" = 1; then
42497
42498 for ac_func in dlerror
42499 do
42500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42504 echo $ECHO_N "(cached) $ECHO_C" >&6
42505 else
42506 cat >conftest.$ac_ext <<_ACEOF
42507 /* confdefs.h. */
42508 _ACEOF
42509 cat confdefs.h >>conftest.$ac_ext
42510 cat >>conftest.$ac_ext <<_ACEOF
42511 /* end confdefs.h. */
42512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42514 #define $ac_func innocuous_$ac_func
42515
42516 /* System header to define __stub macros and hopefully few prototypes,
42517 which can conflict with char $ac_func (); below.
42518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42519 <limits.h> exists even on freestanding compilers. */
42520
42521 #ifdef __STDC__
42522 # include <limits.h>
42523 #else
42524 # include <assert.h>
42525 #endif
42526
42527 #undef $ac_func
42528
42529 /* Override any GCC internal prototype to avoid an error.
42530 Use char because int might match the return type of a GCC
42531 builtin and then its argument prototype would still apply. */
42532 #ifdef __cplusplus
42533 extern "C"
42534 #endif
42535 char $ac_func ();
42536 /* The GNU C library defines this for functions which it implements
42537 to always fail with ENOSYS. Some functions are actually named
42538 something starting with __ and the normal name is an alias. */
42539 #if defined __stub_$ac_func || defined __stub___$ac_func
42540 choke me
42541 #endif
42542
42543 int
42544 main ()
42545 {
42546 return $ac_func ();
42547 ;
42548 return 0;
42549 }
42550 _ACEOF
42551 rm -f conftest.$ac_objext conftest$ac_exeext
42552 if { (ac_try="$ac_link"
42553 case "(($ac_try" in
42554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42555 *) ac_try_echo=$ac_try;;
42556 esac
42557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42558 (eval "$ac_link") 2>conftest.er1
42559 ac_status=$?
42560 grep -v '^ *+' conftest.er1 >conftest.err
42561 rm -f conftest.er1
42562 cat conftest.err >&5
42563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42564 (exit $ac_status); } && {
42565 test -z "$ac_c_werror_flag" ||
42566 test ! -s conftest.err
42567 } && test -s conftest$ac_exeext &&
42568 $as_test_x conftest$ac_exeext; then
42569 eval "$as_ac_var=yes"
42570 else
42571 echo "$as_me: failed program was:" >&5
42572 sed 's/^/| /' conftest.$ac_ext >&5
42573
42574 eval "$as_ac_var=no"
42575 fi
42576
42577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42578 conftest$ac_exeext conftest.$ac_ext
42579 fi
42580 ac_res=`eval echo '${'$as_ac_var'}'`
42581 { echo "$as_me:$LINENO: result: $ac_res" >&5
42582 echo "${ECHO_T}$ac_res" >&6; }
42583 if test `eval echo '${'$as_ac_var'}'` = yes; then
42584 cat >>confdefs.h <<_ACEOF
42585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42586 _ACEOF
42587 cat >>confdefs.h <<\_ACEOF
42588 #define HAVE_DLERROR 1
42589 _ACEOF
42590
42591 else
42592
42593 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42594 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42595 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42596 echo $ECHO_N "(cached) $ECHO_C" >&6
42597 else
42598 ac_check_lib_save_LIBS=$LIBS
42599 LIBS="-ldl $LIBS"
42600 cat >conftest.$ac_ext <<_ACEOF
42601 /* confdefs.h. */
42602 _ACEOF
42603 cat confdefs.h >>conftest.$ac_ext
42604 cat >>conftest.$ac_ext <<_ACEOF
42605 /* end confdefs.h. */
42606
42607 /* Override any GCC internal prototype to avoid an error.
42608 Use char because int might match the return type of a GCC
42609 builtin and then its argument prototype would still apply. */
42610 #ifdef __cplusplus
42611 extern "C"
42612 #endif
42613 char dlerror ();
42614 int
42615 main ()
42616 {
42617 return dlerror ();
42618 ;
42619 return 0;
42620 }
42621 _ACEOF
42622 rm -f conftest.$ac_objext conftest$ac_exeext
42623 if { (ac_try="$ac_link"
42624 case "(($ac_try" in
42625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42626 *) ac_try_echo=$ac_try;;
42627 esac
42628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42629 (eval "$ac_link") 2>conftest.er1
42630 ac_status=$?
42631 grep -v '^ *+' conftest.er1 >conftest.err
42632 rm -f conftest.er1
42633 cat conftest.err >&5
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); } && {
42636 test -z "$ac_c_werror_flag" ||
42637 test ! -s conftest.err
42638 } && test -s conftest$ac_exeext &&
42639 $as_test_x conftest$ac_exeext; then
42640 ac_cv_lib_dl_dlerror=yes
42641 else
42642 echo "$as_me: failed program was:" >&5
42643 sed 's/^/| /' conftest.$ac_ext >&5
42644
42645 ac_cv_lib_dl_dlerror=no
42646 fi
42647
42648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42649 conftest$ac_exeext conftest.$ac_ext
42650 LIBS=$ac_check_lib_save_LIBS
42651 fi
42652 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42653 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42654 if test $ac_cv_lib_dl_dlerror = yes; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define HAVE_DLERROR 1
42657 _ACEOF
42658
42659 fi
42660
42661
42662
42663 fi
42664 done
42665
42666 fi
42667 fi
42668
42669 if test "$USE_DARWIN" = 1; then
42670 HAVE_DL_FUNCS=1
42671 fi
42672
42673 if test "$HAVE_DL_FUNCS" = 0; then
42674 if test "$HAVE_SHL_FUNCS" = 0; then
42675 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42676 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42677 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42678 wxUSE_DYNAMIC_LOADER=no
42679 wxUSE_DYNLIB_CLASS=no
42680 else
42681 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42682 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42683 fi
42684 fi
42685 fi
42686 fi
42687 fi
42688
42689 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42690 cat >>confdefs.h <<\_ACEOF
42691 #define wxUSE_DYNAMIC_LOADER 1
42692 _ACEOF
42693
42694 fi
42695 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42696 cat >>confdefs.h <<\_ACEOF
42697 #define wxUSE_DYNLIB_CLASS 1
42698 _ACEOF
42699
42700 fi
42701
42702
42703
42704 if test "$wxUSE_PLUGINS" = "yes" ; then
42705 if test "$wxUSE_SHARED" = "no" ; then
42706 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42707 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42708 wxUSE_PLUGINS=no
42709 fi
42710 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42711 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42712 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42713 wxUSE_PLUGINS=no
42714 fi
42715 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42716 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42717 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42718 wxUSE_PLUGINS=no
42719 fi
42720 if test "$wxUSE_PLUGINS" = "yes" ; then
42721 cat >>confdefs.h <<\_ACEOF
42722 #define wxUSE_PLUGINS 1
42723 _ACEOF
42724
42725 fi
42726 fi
42727
42728
42729 if test "$wxUSE_FSWATCHER" = "yes"; then
42730 if test "$wxUSE_MSW" != "1"; then
42731 if test "$wxUSE_UNIX" = "yes"; then
42732
42733 for ac_header in sys/inotify.h
42734 do
42735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42736 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42738 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42739 echo $ECHO_N "(cached) $ECHO_C" >&6
42740 else
42741 cat >conftest.$ac_ext <<_ACEOF
42742 /* confdefs.h. */
42743 _ACEOF
42744 cat confdefs.h >>conftest.$ac_ext
42745 cat >>conftest.$ac_ext <<_ACEOF
42746 /* end confdefs.h. */
42747 $ac_includes_default
42748
42749 #include <$ac_header>
42750 _ACEOF
42751 rm -f conftest.$ac_objext
42752 if { (ac_try="$ac_compile"
42753 case "(($ac_try" in
42754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42755 *) ac_try_echo=$ac_try;;
42756 esac
42757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42758 (eval "$ac_compile") 2>conftest.er1
42759 ac_status=$?
42760 grep -v '^ *+' conftest.er1 >conftest.err
42761 rm -f conftest.er1
42762 cat conftest.err >&5
42763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42764 (exit $ac_status); } && {
42765 test -z "$ac_c_werror_flag" ||
42766 test ! -s conftest.err
42767 } && test -s conftest.$ac_objext; then
42768 eval "$as_ac_Header=yes"
42769 else
42770 echo "$as_me: failed program was:" >&5
42771 sed 's/^/| /' conftest.$ac_ext >&5
42772
42773 eval "$as_ac_Header=no"
42774 fi
42775
42776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42777 fi
42778 ac_res=`eval echo '${'$as_ac_Header'}'`
42779 { echo "$as_me:$LINENO: result: $ac_res" >&5
42780 echo "${ECHO_T}$ac_res" >&6; }
42781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42782 cat >>confdefs.h <<_ACEOF
42783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42784 _ACEOF
42785
42786 fi
42787
42788 done
42789
42790 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42791 cat >>confdefs.h <<\_ACEOF
42792 #define wxHAS_INOTIFY 1
42793 _ACEOF
42794
42795 else
42796
42797 for ac_header in sys/event.h
42798 do
42799 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42800 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42802 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42803 echo $ECHO_N "(cached) $ECHO_C" >&6
42804 else
42805 cat >conftest.$ac_ext <<_ACEOF
42806 /* confdefs.h. */
42807 _ACEOF
42808 cat confdefs.h >>conftest.$ac_ext
42809 cat >>conftest.$ac_ext <<_ACEOF
42810 /* end confdefs.h. */
42811 $ac_includes_default
42812
42813 #include <$ac_header>
42814 _ACEOF
42815 rm -f conftest.$ac_objext
42816 if { (ac_try="$ac_compile"
42817 case "(($ac_try" in
42818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42819 *) ac_try_echo=$ac_try;;
42820 esac
42821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42822 (eval "$ac_compile") 2>conftest.er1
42823 ac_status=$?
42824 grep -v '^ *+' conftest.er1 >conftest.err
42825 rm -f conftest.er1
42826 cat conftest.err >&5
42827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42828 (exit $ac_status); } && {
42829 test -z "$ac_c_werror_flag" ||
42830 test ! -s conftest.err
42831 } && test -s conftest.$ac_objext; then
42832 eval "$as_ac_Header=yes"
42833 else
42834 echo "$as_me: failed program was:" >&5
42835 sed 's/^/| /' conftest.$ac_ext >&5
42836
42837 eval "$as_ac_Header=no"
42838 fi
42839
42840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42841 fi
42842 ac_res=`eval echo '${'$as_ac_Header'}'`
42843 { echo "$as_me:$LINENO: result: $ac_res" >&5
42844 echo "${ECHO_T}$ac_res" >&6; }
42845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42846 cat >>confdefs.h <<_ACEOF
42847 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42848 _ACEOF
42849
42850 fi
42851
42852 done
42853
42854 if test "$ac_cv_header_sys_event_h" = "yes"; then
42855 cat >>confdefs.h <<\_ACEOF
42856 #define wxHAS_KQUEUE 1
42857 _ACEOF
42858
42859 else
42860 wxUSE_FSWATCHER=no
42861 fi
42862 fi
42863 else
42864 wxUSE_FSWATCHER=no
42865 fi
42866 fi
42867
42868 if test "$wxUSE_FSWATCHER" = "yes"; then
42869 cat >>confdefs.h <<\_ACEOF
42870 #define wxUSE_FSWATCHER 1
42871 _ACEOF
42872
42873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42874 else
42875 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
42876 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
42877 fi
42878 fi
42879
42880
42881 if test "$wxUSE_STL" = "yes"; then
42882 cat >>confdefs.h <<\_ACEOF
42883 #define wxUSE_STL 1
42884 _ACEOF
42885
42886 fi
42887
42888 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42889 cat >>confdefs.h <<\_ACEOF
42890 #define wxUSE_EXTENDED_RTTI 1
42891 _ACEOF
42892
42893 fi
42894
42895 if test "$wxUSE_ANY" = "yes"; then
42896 cat >>confdefs.h <<\_ACEOF
42897 #define wxUSE_ANY 1
42898 _ACEOF
42899
42900 fi
42901
42902 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42903 cat >>confdefs.h <<\_ACEOF
42904 #define wxUSE_APPLE_IEEE 1
42905 _ACEOF
42906
42907 fi
42908
42909 if test "$wxUSE_TIMER" = "yes"; then
42910 cat >>confdefs.h <<\_ACEOF
42911 #define wxUSE_TIMER 1
42912 _ACEOF
42913
42914 fi
42915
42916 if test "$USE_UNIX" = 1 ; then
42917 if test "$wxUSE_MGL" != 1; then
42918 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42919 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42920 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42921 echo $ECHO_N "(cached) $ECHO_C" >&6
42922 else
42923
42924 cat >conftest.$ac_ext <<_ACEOF
42925 /* confdefs.h. */
42926 _ACEOF
42927 cat confdefs.h >>conftest.$ac_ext
42928 cat >>conftest.$ac_ext <<_ACEOF
42929 /* end confdefs.h. */
42930
42931 #include <sys/ioctl.h>
42932 #include <sys/soundcard.h>
42933
42934 int
42935 main ()
42936 {
42937
42938 ioctl(0, SNDCTL_DSP_SPEED, 0);
42939
42940 ;
42941 return 0;
42942 }
42943 _ACEOF
42944 rm -f conftest.$ac_objext conftest$ac_exeext
42945 if { (ac_try="$ac_link"
42946 case "(($ac_try" in
42947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42948 *) ac_try_echo=$ac_try;;
42949 esac
42950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42951 (eval "$ac_link") 2>conftest.er1
42952 ac_status=$?
42953 grep -v '^ *+' conftest.er1 >conftest.err
42954 rm -f conftest.er1
42955 cat conftest.err >&5
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); } && {
42958 test -z "$ac_c_werror_flag" ||
42959 test ! -s conftest.err
42960 } && test -s conftest$ac_exeext &&
42961 $as_test_x conftest$ac_exeext; then
42962 ac_cv_header_sys_soundcard=yes
42963 else
42964 echo "$as_me: failed program was:" >&5
42965 sed 's/^/| /' conftest.$ac_ext >&5
42966
42967
42968 saveLibs="$LIBS"
42969 LIBS="$saveLibs -lossaudio"
42970 cat >conftest.$ac_ext <<_ACEOF
42971 /* confdefs.h. */
42972 _ACEOF
42973 cat confdefs.h >>conftest.$ac_ext
42974 cat >>conftest.$ac_ext <<_ACEOF
42975 /* end confdefs.h. */
42976
42977 #include <sys/ioctl.h>
42978 #include <sys/soundcard.h>
42979
42980 int
42981 main ()
42982 {
42983
42984 ioctl(0, SNDCTL_DSP_SPEED, 0);
42985
42986 ;
42987 return 0;
42988 }
42989 _ACEOF
42990 rm -f conftest.$ac_objext conftest$ac_exeext
42991 if { (ac_try="$ac_link"
42992 case "(($ac_try" in
42993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42994 *) ac_try_echo=$ac_try;;
42995 esac
42996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42997 (eval "$ac_link") 2>conftest.er1
42998 ac_status=$?
42999 grep -v '^ *+' conftest.er1 >conftest.err
43000 rm -f conftest.er1
43001 cat conftest.err >&5
43002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43003 (exit $ac_status); } && {
43004 test -z "$ac_c_werror_flag" ||
43005 test ! -s conftest.err
43006 } && test -s conftest$ac_exeext &&
43007 $as_test_x conftest$ac_exeext; then
43008 ac_cv_header_sys_soundcard=yes
43009 else
43010 echo "$as_me: failed program was:" >&5
43011 sed 's/^/| /' conftest.$ac_ext >&5
43012
43013
43014 LIBS="$saveLibs"
43015 ac_cv_header_sys_soundcard=no
43016
43017
43018 fi
43019
43020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43021 conftest$ac_exeext conftest.$ac_ext
43022
43023
43024 fi
43025
43026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43027 conftest$ac_exeext conftest.$ac_ext
43028
43029 fi
43030 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43031 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
43032 fi
43033
43034 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43035 cat >>confdefs.h <<\_ACEOF
43036 #define HAVE_SYS_SOUNDCARD_H 1
43037 _ACEOF
43038
43039 fi
43040 fi
43041
43042 WITH_PLUGIN_SDL=0
43043 if test "$wxUSE_SOUND" = "yes"; then
43044 if test "$USE_UNIX" = 1 ; then
43045 if test "$wxUSE_LIBSDL" != "no"; then
43046
43047 # Check whether --with-sdl-prefix was given.
43048 if test "${with_sdl_prefix+set}" = set; then
43049 withval=$with_sdl_prefix; sdl_prefix="$withval"
43050 else
43051 sdl_prefix=""
43052 fi
43053
43054
43055 # Check whether --with-sdl-exec-prefix was given.
43056 if test "${with_sdl_exec_prefix+set}" = set; then
43057 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
43058 else
43059 sdl_exec_prefix=""
43060 fi
43061
43062 # Check whether --enable-sdltest was given.
43063 if test "${enable_sdltest+set}" = set; then
43064 enableval=$enable_sdltest;
43065 else
43066 enable_sdltest=yes
43067 fi
43068
43069
43070 if test x$sdl_exec_prefix != x ; then
43071 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43072 if test x${SDL_CONFIG+set} != xset ; then
43073 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43074 fi
43075 fi
43076 if test x$sdl_prefix != x ; then
43077 sdl_args="$sdl_args --prefix=$sdl_prefix"
43078 if test x${SDL_CONFIG+set} != xset ; then
43079 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43080 fi
43081 fi
43082
43083 if test "x$prefix" != xNONE; then
43084 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43085 fi
43086 # Extract the first word of "sdl-config", so it can be a program name with args.
43087 set dummy sdl-config; ac_word=$2
43088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43090 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43091 echo $ECHO_N "(cached) $ECHO_C" >&6
43092 else
43093 case $SDL_CONFIG in
43094 [\\/]* | ?:[\\/]*)
43095 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43096 ;;
43097 *)
43098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43099 for as_dir in $PATH
43100 do
43101 IFS=$as_save_IFS
43102 test -z "$as_dir" && as_dir=.
43103 for ac_exec_ext in '' $ac_executable_extensions; do
43104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43105 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43107 break 2
43108 fi
43109 done
43110 done
43111 IFS=$as_save_IFS
43112
43113 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43114 ;;
43115 esac
43116 fi
43117 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43118 if test -n "$SDL_CONFIG"; then
43119 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43120 echo "${ECHO_T}$SDL_CONFIG" >&6; }
43121 else
43122 { echo "$as_me:$LINENO: result: no" >&5
43123 echo "${ECHO_T}no" >&6; }
43124 fi
43125
43126
43127 min_sdl_version=1.2.0
43128 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43129 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
43130 no_sdl=""
43131 if test "$SDL_CONFIG" = "no" ; then
43132 no_sdl=yes
43133 else
43134 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43135 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43136
43137 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43138 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43139 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43140 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43141 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43142 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43143 if test "x$enable_sdltest" = "xyes" ; then
43144 ac_save_CFLAGS="$CFLAGS"
43145 ac_save_CXXFLAGS="$CXXFLAGS"
43146 ac_save_LIBS="$LIBS"
43147 CFLAGS="$CFLAGS $SDL_CFLAGS"
43148 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43149 LIBS="$LIBS $SDL_LIBS"
43150 rm -f conf.sdltest
43151 if test "$cross_compiling" = yes; then
43152 echo $ac_n "cross compiling; assumed OK... $ac_c"
43153 else
43154 cat >conftest.$ac_ext <<_ACEOF
43155 /* confdefs.h. */
43156 _ACEOF
43157 cat confdefs.h >>conftest.$ac_ext
43158 cat >>conftest.$ac_ext <<_ACEOF
43159 /* end confdefs.h. */
43160
43161 #include <stdio.h>
43162 #include <stdlib.h>
43163 #include <string.h>
43164 #include "SDL.h"
43165
43166 char*
43167 my_strdup (char *str)
43168 {
43169 char *new_str;
43170
43171 if (str)
43172 {
43173 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43174 strcpy (new_str, str);
43175 }
43176 else
43177 new_str = NULL;
43178
43179 return new_str;
43180 }
43181
43182 int main (int argc, char *argv[])
43183 {
43184 int major, minor, micro;
43185 char *tmp_version;
43186
43187 /* This hangs on some systems (?)
43188 system ("touch conf.sdltest");
43189 */
43190 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43191
43192 /* HP/UX 9 (%@#!) writes to sscanf strings */
43193 tmp_version = my_strdup("$min_sdl_version");
43194 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43195 printf("%s, bad version string\n", "$min_sdl_version");
43196 exit(1);
43197 }
43198
43199 if (($sdl_major_version > major) ||
43200 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43201 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43202 {
43203 return 0;
43204 }
43205 else
43206 {
43207 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43208 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43209 printf("*** best to upgrade to the required version.\n");
43210 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43211 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43212 printf("*** config.cache before re-running configure\n");
43213 return 1;
43214 }
43215 }
43216
43217
43218 _ACEOF
43219 rm -f conftest$ac_exeext
43220 if { (ac_try="$ac_link"
43221 case "(($ac_try" in
43222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43223 *) ac_try_echo=$ac_try;;
43224 esac
43225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43226 (eval "$ac_link") 2>&5
43227 ac_status=$?
43228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43229 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43230 { (case "(($ac_try" in
43231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43232 *) ac_try_echo=$ac_try;;
43233 esac
43234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43235 (eval "$ac_try") 2>&5
43236 ac_status=$?
43237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238 (exit $ac_status); }; }; then
43239 :
43240 else
43241 echo "$as_me: program exited with status $ac_status" >&5
43242 echo "$as_me: failed program was:" >&5
43243 sed 's/^/| /' conftest.$ac_ext >&5
43244
43245 ( exit $ac_status )
43246 no_sdl=yes
43247 fi
43248 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43249 fi
43250
43251
43252 CFLAGS="$ac_save_CFLAGS"
43253 CXXFLAGS="$ac_save_CXXFLAGS"
43254 LIBS="$ac_save_LIBS"
43255 fi
43256 fi
43257 if test "x$no_sdl" = x ; then
43258 { echo "$as_me:$LINENO: result: yes" >&5
43259 echo "${ECHO_T}yes" >&6; }
43260
43261 EXTRALIBS_SDL="$SDL_LIBS"
43262 CFLAGS="$SDL_CFLAGS $CFLAGS"
43263 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43264 cat >>confdefs.h <<\_ACEOF
43265 #define wxUSE_LIBSDL 1
43266 _ACEOF
43267
43268
43269 else
43270 { echo "$as_me:$LINENO: result: no" >&5
43271 echo "${ECHO_T}no" >&6; }
43272 if test "$SDL_CONFIG" = "no" ; then
43273 echo "*** The sdl-config script installed by SDL could not be found"
43274 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43275 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43276 echo "*** full path to sdl-config."
43277 else
43278 if test -f conf.sdltest ; then
43279 :
43280 else
43281 echo "*** Could not run SDL test program, checking why..."
43282 CFLAGS="$CFLAGS $SDL_CFLAGS"
43283 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43284 LIBS="$LIBS $SDL_LIBS"
43285 cat >conftest.$ac_ext <<_ACEOF
43286 /* confdefs.h. */
43287 _ACEOF
43288 cat confdefs.h >>conftest.$ac_ext
43289 cat >>conftest.$ac_ext <<_ACEOF
43290 /* end confdefs.h. */
43291
43292 #include <stdio.h>
43293 #include "SDL.h"
43294
43295 int main(int argc, char *argv[])
43296 { return 0; }
43297 #undef main
43298 #define main K_and_R_C_main
43299
43300 int
43301 main ()
43302 {
43303 return 0;
43304 ;
43305 return 0;
43306 }
43307 _ACEOF
43308 rm -f conftest.$ac_objext conftest$ac_exeext
43309 if { (ac_try="$ac_link"
43310 case "(($ac_try" in
43311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43312 *) ac_try_echo=$ac_try;;
43313 esac
43314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43315 (eval "$ac_link") 2>conftest.er1
43316 ac_status=$?
43317 grep -v '^ *+' conftest.er1 >conftest.err
43318 rm -f conftest.er1
43319 cat conftest.err >&5
43320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43321 (exit $ac_status); } && {
43322 test -z "$ac_c_werror_flag" ||
43323 test ! -s conftest.err
43324 } && test -s conftest$ac_exeext &&
43325 $as_test_x conftest$ac_exeext; then
43326 echo "*** The test program compiled, but did not run. This usually means"
43327 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43328 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43329 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43330 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43331 echo "*** is required on your system"
43332 echo "***"
43333 echo "*** If you have an old version installed, it is best to remove it, although"
43334 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43335 else
43336 echo "$as_me: failed program was:" >&5
43337 sed 's/^/| /' conftest.$ac_ext >&5
43338
43339 echo "*** The test program failed to compile or link. See the file config.log for the"
43340 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43341 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43342 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43343 fi
43344
43345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43346 conftest$ac_exeext conftest.$ac_ext
43347 CFLAGS="$ac_save_CFLAGS"
43348 CXXFLAGS="$ac_save_CXXFLAGS"
43349 LIBS="$ac_save_LIBS"
43350 fi
43351 fi
43352 SDL_CFLAGS=""
43353 SDL_LIBS=""
43354 wxUSE_LIBSDL="no"
43355 fi
43356
43357
43358 rm -f conf.sdltest
43359
43360 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43361 WITH_PLUGIN_SDL=1
43362 fi
43363 fi
43364 else
43365 if test "$wxUSE_MGL" = 1; then
43366 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43367 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43368 wxUSE_SOUND="no"
43369 fi
43370 fi
43371 fi
43372
43373 if test "$wxUSE_SOUND" = "yes"; then
43374 cat >>confdefs.h <<\_ACEOF
43375 #define wxUSE_SOUND 1
43376 _ACEOF
43377
43378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43379 fi
43380
43381 if test "$WXGTK2" = 1; then
43382
43383
43384 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43385 if test -n "$ac_tool_prefix"; then
43386 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43387 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43390 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43391 echo $ECHO_N "(cached) $ECHO_C" >&6
43392 else
43393 case $PKG_CONFIG in
43394 [\\/]* | ?:[\\/]*)
43395 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43396 ;;
43397 *)
43398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43399 for as_dir in $PATH
43400 do
43401 IFS=$as_save_IFS
43402 test -z "$as_dir" && as_dir=.
43403 for ac_exec_ext in '' $ac_executable_extensions; do
43404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43405 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43407 break 2
43408 fi
43409 done
43410 done
43411 IFS=$as_save_IFS
43412
43413 ;;
43414 esac
43415 fi
43416 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43417 if test -n "$PKG_CONFIG"; then
43418 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43419 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43420 else
43421 { echo "$as_me:$LINENO: result: no" >&5
43422 echo "${ECHO_T}no" >&6; }
43423 fi
43424
43425
43426 fi
43427 if test -z "$ac_cv_path_PKG_CONFIG"; then
43428 ac_pt_PKG_CONFIG=$PKG_CONFIG
43429 # Extract the first word of "pkg-config", so it can be a program name with args.
43430 set dummy pkg-config; ac_word=$2
43431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43433 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43434 echo $ECHO_N "(cached) $ECHO_C" >&6
43435 else
43436 case $ac_pt_PKG_CONFIG in
43437 [\\/]* | ?:[\\/]*)
43438 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43439 ;;
43440 *)
43441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43442 for as_dir in $PATH
43443 do
43444 IFS=$as_save_IFS
43445 test -z "$as_dir" && as_dir=.
43446 for ac_exec_ext in '' $ac_executable_extensions; do
43447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43448 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43450 break 2
43451 fi
43452 done
43453 done
43454 IFS=$as_save_IFS
43455
43456 ;;
43457 esac
43458 fi
43459 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43460 if test -n "$ac_pt_PKG_CONFIG"; then
43461 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43462 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43463 else
43464 { echo "$as_me:$LINENO: result: no" >&5
43465 echo "${ECHO_T}no" >&6; }
43466 fi
43467
43468 if test "x$ac_pt_PKG_CONFIG" = x; then
43469 PKG_CONFIG=""
43470 else
43471 case $cross_compiling:$ac_tool_warned in
43472 yes:)
43473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43474 whose name does not start with the host triplet. If you think this
43475 configuration is useful to you, please write to autoconf@gnu.org." >&5
43476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43477 whose name does not start with the host triplet. If you think this
43478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43479 ac_tool_warned=yes ;;
43480 esac
43481 PKG_CONFIG=$ac_pt_PKG_CONFIG
43482 fi
43483 else
43484 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43485 fi
43486
43487 fi
43488 if test -n "$PKG_CONFIG"; then
43489 _pkg_min_version=0.9.0
43490 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43491 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43492 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43493 { echo "$as_me:$LINENO: result: yes" >&5
43494 echo "${ECHO_T}yes" >&6; }
43495 else
43496 { echo "$as_me:$LINENO: result: no" >&5
43497 echo "${ECHO_T}no" >&6; }
43498 PKG_CONFIG=""
43499 fi
43500
43501 fi
43502
43503 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43504
43505 if test "$wxUSE_GTKPRINT" = "yes" ; then
43506
43507
43508 pkg_failed=no
43509 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43510 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43511
43512 if test -n "$PKG_CONFIG"; then
43513 if test -n "$GTKPRINT_CFLAGS"; then
43514 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
43515 else
43516 if test -n "$PKG_CONFIG" && \
43517 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43518 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43519 ac_status=$?
43520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43521 (exit $ac_status); }; then
43522 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43523 else
43524 pkg_failed=yes
43525 fi
43526 fi
43527 else
43528 pkg_failed=untried
43529 fi
43530 if test -n "$PKG_CONFIG"; then
43531 if test -n "$GTKPRINT_LIBS"; then
43532 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
43533 else
43534 if test -n "$PKG_CONFIG" && \
43535 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43536 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43537 ac_status=$?
43538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43539 (exit $ac_status); }; then
43540 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43541 else
43542 pkg_failed=yes
43543 fi
43544 fi
43545 else
43546 pkg_failed=untried
43547 fi
43548
43549
43550
43551 if test $pkg_failed = yes; then
43552
43553 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43554 _pkg_short_errors_supported=yes
43555 else
43556 _pkg_short_errors_supported=no
43557 fi
43558 if test $_pkg_short_errors_supported = yes; then
43559 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43560 else
43561 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43562 fi
43563 # Put the nasty error message in config.log where it belongs
43564 echo "$GTKPRINT_PKG_ERRORS" >&5
43565
43566
43567 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43568 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43569 wxUSE_GTKPRINT="no"
43570
43571
43572 elif test $pkg_failed = untried; then
43573
43574 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43575 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43576 wxUSE_GTKPRINT="no"
43577
43578
43579 else
43580 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
43581 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
43582 { echo "$as_me:$LINENO: result: yes" >&5
43583 echo "${ECHO_T}yes" >&6; }
43584
43585 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
43586 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
43587 cat >>confdefs.h <<\_ACEOF
43588 #define wxUSE_GTKPRINT 1
43589 _ACEOF
43590
43591
43592 fi
43593 fi
43594
43595 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43596
43597
43598 pkg_failed=no
43599 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43600 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43601
43602 if test -n "$PKG_CONFIG"; then
43603 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43604 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43605 else
43606 if test -n "$PKG_CONFIG" && \
43607 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43608 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43609 ac_status=$?
43610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43611 (exit $ac_status); }; then
43612 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43613 else
43614 pkg_failed=yes
43615 fi
43616 fi
43617 else
43618 pkg_failed=untried
43619 fi
43620 if test -n "$PKG_CONFIG"; then
43621 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43622 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43623 else
43624 if test -n "$PKG_CONFIG" && \
43625 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43626 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43627 ac_status=$?
43628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43629 (exit $ac_status); }; then
43630 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43631 else
43632 pkg_failed=yes
43633 fi
43634 fi
43635 else
43636 pkg_failed=untried
43637 fi
43638
43639
43640
43641 if test $pkg_failed = yes; then
43642
43643 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43644 _pkg_short_errors_supported=yes
43645 else
43646 _pkg_short_errors_supported=no
43647 fi
43648 if test $_pkg_short_errors_supported = yes; then
43649 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43650 else
43651 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43652 fi
43653 # Put the nasty error message in config.log where it belongs
43654 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43655
43656
43657 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43658 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43659 wxUSE_LIBGNOMEPRINT="no"
43660
43661
43662 elif test $pkg_failed = untried; then
43663
43664 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43665 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43666 wxUSE_LIBGNOMEPRINT="no"
43667
43668
43669 else
43670 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43671 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43672 { echo "$as_me:$LINENO: result: yes" >&5
43673 echo "${ECHO_T}yes" >&6; }
43674
43675 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43676 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43677 cat >>confdefs.h <<\_ACEOF
43678 #define wxUSE_LIBGNOMEPRINT 1
43679 _ACEOF
43680
43681
43682 fi
43683 fi
43684 fi
43685
43686 if test "$wxUSE_MIMETYPE" = "yes" ; then
43687 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43688
43689
43690 pkg_failed=no
43691 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43692 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43693
43694 if test -n "$PKG_CONFIG"; then
43695 if test -n "$GNOMEVFS_CFLAGS"; then
43696 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43697 else
43698 if test -n "$PKG_CONFIG" && \
43699 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43700 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43701 ac_status=$?
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); }; then
43704 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43705 else
43706 pkg_failed=yes
43707 fi
43708 fi
43709 else
43710 pkg_failed=untried
43711 fi
43712 if test -n "$PKG_CONFIG"; then
43713 if test -n "$GNOMEVFS_LIBS"; then
43714 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43715 else
43716 if test -n "$PKG_CONFIG" && \
43717 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43718 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43719 ac_status=$?
43720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43721 (exit $ac_status); }; then
43722 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43723 else
43724 pkg_failed=yes
43725 fi
43726 fi
43727 else
43728 pkg_failed=untried
43729 fi
43730
43731
43732
43733 if test $pkg_failed = yes; then
43734
43735 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43736 _pkg_short_errors_supported=yes
43737 else
43738 _pkg_short_errors_supported=no
43739 fi
43740 if test $_pkg_short_errors_supported = yes; then
43741 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43742 else
43743 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43744 fi
43745 # Put the nasty error message in config.log where it belongs
43746 echo "$GNOMEVFS_PKG_ERRORS" >&5
43747
43748
43749 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43750 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43751 wxUSE_LIBGNOMEVFS="no"
43752
43753
43754 elif test $pkg_failed = untried; then
43755
43756 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43757 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43758 wxUSE_LIBGNOMEVFS="no"
43759
43760
43761 else
43762 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43763 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43764 { echo "$as_me:$LINENO: result: yes" >&5
43765 echo "${ECHO_T}yes" >&6; }
43766
43767 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43768 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43769 cat >>confdefs.h <<\_ACEOF
43770 #define wxUSE_LIBGNOMEVFS 1
43771 _ACEOF
43772
43773
43774 fi
43775 fi
43776 fi
43777
43778 if test "$wxUSE_LIBHILDON" = "yes" ; then
43779
43780 pkg_failed=no
43781 { echo "$as_me:$LINENO: checking for HILDON" >&5
43782 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43783
43784 if test -n "$PKG_CONFIG"; then
43785 if test -n "$HILDON_CFLAGS"; then
43786 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43787 else
43788 if test -n "$PKG_CONFIG" && \
43789 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43790 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43791 ac_status=$?
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); }; then
43794 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43795 else
43796 pkg_failed=yes
43797 fi
43798 fi
43799 else
43800 pkg_failed=untried
43801 fi
43802 if test -n "$PKG_CONFIG"; then
43803 if test -n "$HILDON_LIBS"; then
43804 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43805 else
43806 if test -n "$PKG_CONFIG" && \
43807 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43808 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43809 ac_status=$?
43810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43811 (exit $ac_status); }; then
43812 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43813 else
43814 pkg_failed=yes
43815 fi
43816 fi
43817 else
43818 pkg_failed=untried
43819 fi
43820
43821
43822
43823 if test $pkg_failed = yes; then
43824
43825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43826 _pkg_short_errors_supported=yes
43827 else
43828 _pkg_short_errors_supported=no
43829 fi
43830 if test $_pkg_short_errors_supported = yes; then
43831 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43832 else
43833 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43834 fi
43835 # Put the nasty error message in config.log where it belongs
43836 echo "$HILDON_PKG_ERRORS" >&5
43837
43838
43839 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43840 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43841 wxUSE_LIBHILDON="no"
43842 ac_hildon_lgpl=0
43843
43844
43845 elif test $pkg_failed = untried; then
43846
43847 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43848 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43849 wxUSE_LIBHILDON="no"
43850 ac_hildon_lgpl=0
43851
43852
43853 else
43854 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43855 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43856 { echo "$as_me:$LINENO: result: yes" >&5
43857 echo "${ECHO_T}yes" >&6; }
43858
43859 EXTRALIBS_HILDON="$HILDON_LIBS"
43860 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43861 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43862 cat >>confdefs.h <<\_ACEOF
43863 #define wxUSE_LIBHILDON 1
43864 _ACEOF
43865
43866 ac_hildon_lgpl=1
43867
43868 fi
43869
43870 if test "$ac_hildon_lgpl" = 0 ; then
43871
43872 pkg_failed=no
43873 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43874 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43875
43876 if test -n "$PKG_CONFIG"; then
43877 if test -n "$HILDON2_CFLAGS"; then
43878 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
43879 else
43880 if test -n "$PKG_CONFIG" && \
43881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43882 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43883 ac_status=$?
43884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43885 (exit $ac_status); }; then
43886 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43887 else
43888 pkg_failed=yes
43889 fi
43890 fi
43891 else
43892 pkg_failed=untried
43893 fi
43894 if test -n "$PKG_CONFIG"; then
43895 if test -n "$HILDON2_LIBS"; then
43896 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
43897 else
43898 if test -n "$PKG_CONFIG" && \
43899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43900 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43901 ac_status=$?
43902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43903 (exit $ac_status); }; then
43904 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43905 else
43906 pkg_failed=yes
43907 fi
43908 fi
43909 else
43910 pkg_failed=untried
43911 fi
43912
43913
43914
43915 if test $pkg_failed = yes; then
43916
43917 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43918 _pkg_short_errors_supported=yes
43919 else
43920 _pkg_short_errors_supported=no
43921 fi
43922 if test $_pkg_short_errors_supported = yes; then
43923 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43924 else
43925 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43926 fi
43927 # Put the nasty error message in config.log where it belongs
43928 echo "$HILDON2_PKG_ERRORS" >&5
43929
43930
43931 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43932 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43933 wxUSE_LIBHILDON2="no"
43934
43935
43936 elif test $pkg_failed = untried; then
43937
43938 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43939 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43940 wxUSE_LIBHILDON2="no"
43941
43942
43943 else
43944 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
43945 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
43946 { echo "$as_me:$LINENO: result: yes" >&5
43947 echo "${ECHO_T}yes" >&6; }
43948
43949 EXTRALIBS_HILDON="$HILDON2_LIBS"
43950 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
43951 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
43952 cat >>confdefs.h <<\_ACEOF
43953 #define wxUSE_LIBHILDON2 1
43954 _ACEOF
43955
43956
43957 fi
43958 fi
43959 fi
43960 fi
43961
43962 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43963 cat >>confdefs.h <<\_ACEOF
43964 #define wxUSE_CMDLINE_PARSER 1
43965 _ACEOF
43966
43967 fi
43968
43969 if test "$wxUSE_STOPWATCH" = "yes"; then
43970 cat >>confdefs.h <<\_ACEOF
43971 #define wxUSE_STOPWATCH 1
43972 _ACEOF
43973
43974 fi
43975
43976 if test "$wxUSE_DATETIME" = "yes"; then
43977 cat >>confdefs.h <<\_ACEOF
43978 #define wxUSE_DATETIME 1
43979 _ACEOF
43980
43981 fi
43982
43983 if test "$wxUSE_FILE" = "yes"; then
43984 cat >>confdefs.h <<\_ACEOF
43985 #define wxUSE_FILE 1
43986 _ACEOF
43987
43988 fi
43989
43990 if test "$wxUSE_FFILE" = "yes"; then
43991 cat >>confdefs.h <<\_ACEOF
43992 #define wxUSE_FFILE 1
43993 _ACEOF
43994
43995 fi
43996
43997 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43998 if test "$wxUSE_STREAMS" != yes; then
43999 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44000 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44001 wxUSE_ARCHIVE_STREAMS=no
44002 else
44003 cat >>confdefs.h <<\_ACEOF
44004 #define wxUSE_ARCHIVE_STREAMS 1
44005 _ACEOF
44006
44007 fi
44008 fi
44009
44010 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44011 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44012 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44013 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44014 elif test "$wxUSE_ZLIB" = "no"; then
44015 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44016 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44017 else
44018 cat >>confdefs.h <<\_ACEOF
44019 #define wxUSE_ZIPSTREAM 1
44020 _ACEOF
44021
44022 fi
44023 fi
44024
44025 if test "$wxUSE_TARSTREAM" = "yes"; then
44026 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44027 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44028 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44029 else
44030 cat >>confdefs.h <<\_ACEOF
44031 #define wxUSE_TARSTREAM 1
44032 _ACEOF
44033
44034 fi
44035 fi
44036
44037 if test "$wxUSE_FILESYSTEM" = "yes"; then
44038 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44039 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44040 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44041 wxUSE_FILESYSTEM=no
44042 else
44043 cat >>confdefs.h <<\_ACEOF
44044 #define wxUSE_FILESYSTEM 1
44045 _ACEOF
44046
44047 fi
44048 fi
44049
44050 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44051 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44052 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44053 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44054 else
44055 cat >>confdefs.h <<\_ACEOF
44056 #define wxUSE_FS_ARCHIVE 1
44057 _ACEOF
44058
44059 fi
44060 fi
44061
44062 if test "$wxUSE_FS_ZIP" = "yes"; then
44063 if test "$wxUSE_FS_ARCHIVE" != yes; then
44064 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44065 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44066 else
44067 cat >>confdefs.h <<\_ACEOF
44068 #define wxUSE_FS_ZIP 1
44069 _ACEOF
44070
44071 fi
44072 fi
44073
44074 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44075 if test "$USE_UNIX" != 1; then
44076 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44077 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44078 wxUSE_ON_FATAL_EXCEPTION=no
44079 else
44080 cat >>confdefs.h <<\_ACEOF
44081 #define wxUSE_ON_FATAL_EXCEPTION 1
44082 _ACEOF
44083
44084 fi
44085 fi
44086
44087 if test "$wxUSE_STACKWALKER" = "yes"; then
44088 cat >>confdefs.h <<\_ACEOF
44089 #define wxUSE_STACKWALKER 1
44090 _ACEOF
44091
44092 fi
44093
44094 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44095 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
44096 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44097 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44098 wxUSE_DEBUGREPORT=no
44099 else
44100 cat >>confdefs.h <<\_ACEOF
44101 #define wxUSE_DEBUGREPORT 1
44102 _ACEOF
44103
44104 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44106 fi
44107 fi
44108 fi
44109
44110 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44111 cat >>confdefs.h <<\_ACEOF
44112 #define wxUSE_SNGLINST_CHECKER 1
44113 _ACEOF
44114
44115 fi
44116
44117 if test "$wxUSE_BUSYINFO" = "yes"; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_BUSYINFO 1
44120 _ACEOF
44121
44122 fi
44123
44124 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44125 cat >>confdefs.h <<\_ACEOF
44126 #define wxUSE_STD_IOSTREAM 1
44127 _ACEOF
44128
44129 fi
44130
44131 if test "$wxUSE_STD_STRING" = "yes"; then
44132 cat >>confdefs.h <<\_ACEOF
44133 #define wxUSE_STD_STRING 1
44134 _ACEOF
44135
44136 fi
44137
44138 if test "$wxUSE_STDPATHS" = "yes"; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_STDPATHS 1
44141 _ACEOF
44142
44143 fi
44144
44145 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44146 cat >>confdefs.h <<\_ACEOF
44147 #define wxUSE_TEXTBUFFER 1
44148 _ACEOF
44149
44150 fi
44151
44152 if test "$wxUSE_TEXTFILE" = "yes"; then
44153 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44154 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44155 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44156 else
44157 cat >>confdefs.h <<\_ACEOF
44158 #define wxUSE_TEXTFILE 1
44159 _ACEOF
44160
44161 fi
44162 fi
44163
44164 if test "$wxUSE_CONFIG" = "yes" ; then
44165 if test "$wxUSE_TEXTFILE" != "yes"; then
44166 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44167 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44168 else
44169 cat >>confdefs.h <<\_ACEOF
44170 #define wxUSE_CONFIG 1
44171 _ACEOF
44172
44173 cat >>confdefs.h <<\_ACEOF
44174 #define wxUSE_CONFIG_NATIVE 1
44175 _ACEOF
44176
44177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44178 fi
44179 fi
44180
44181 if test "$wxUSE_INTL" = "yes" ; then
44182 if test "$wxUSE_FILE" != "yes"; then
44183 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44184 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44185 else
44186 cat >>confdefs.h <<\_ACEOF
44187 #define wxUSE_INTL 1
44188 _ACEOF
44189
44190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44191 GUIDIST="$GUIDIST INTL_DIST"
44192 fi
44193 fi
44194
44195 if test "$wxUSE_XLOCALE" = "yes" ; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_XLOCALE 1
44198 _ACEOF
44199
44200 { echo "$as_me:$LINENO: checking for locale_t" >&5
44201 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
44202 if test "${ac_cv_type_locale_t+set}" = set; then
44203 echo $ECHO_N "(cached) $ECHO_C" >&6
44204 else
44205 cat >conftest.$ac_ext <<_ACEOF
44206 /* confdefs.h. */
44207 _ACEOF
44208 cat confdefs.h >>conftest.$ac_ext
44209 cat >>conftest.$ac_ext <<_ACEOF
44210 /* end confdefs.h. */
44211 #include <xlocale.h>
44212 #include <locale.h>
44213
44214 typedef locale_t ac__type_new_;
44215 int
44216 main ()
44217 {
44218 if ((ac__type_new_ *) 0)
44219 return 0;
44220 if (sizeof (ac__type_new_))
44221 return 0;
44222 ;
44223 return 0;
44224 }
44225 _ACEOF
44226 rm -f conftest.$ac_objext
44227 if { (ac_try="$ac_compile"
44228 case "(($ac_try" in
44229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44230 *) ac_try_echo=$ac_try;;
44231 esac
44232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44233 (eval "$ac_compile") 2>conftest.er1
44234 ac_status=$?
44235 grep -v '^ *+' conftest.er1 >conftest.err
44236 rm -f conftest.er1
44237 cat conftest.err >&5
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); } && {
44240 test -z "$ac_c_werror_flag" ||
44241 test ! -s conftest.err
44242 } && test -s conftest.$ac_objext; then
44243 ac_cv_type_locale_t=yes
44244 else
44245 echo "$as_me: failed program was:" >&5
44246 sed 's/^/| /' conftest.$ac_ext >&5
44247
44248 ac_cv_type_locale_t=no
44249 fi
44250
44251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44252 fi
44253 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
44254 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
44255 if test $ac_cv_type_locale_t = yes; then
44256
44257 cat >>confdefs.h <<_ACEOF
44258 #define HAVE_LOCALE_T 1
44259 _ACEOF
44260
44261
44262 fi
44263
44264 fi
44265
44266 if test "$wxUSE_LOG" = "yes"; then
44267 cat >>confdefs.h <<\_ACEOF
44268 #define wxUSE_LOG 1
44269 _ACEOF
44270
44271
44272 if test "$wxUSE_LOGGUI" = "yes"; then
44273 cat >>confdefs.h <<\_ACEOF
44274 #define wxUSE_LOGGUI 1
44275 _ACEOF
44276
44277 fi
44278
44279 if test "$wxUSE_LOGWINDOW" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_LOGWINDOW 1
44282 _ACEOF
44283
44284 fi
44285
44286 if test "$wxUSE_LOGDIALOG" = "yes"; then
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_LOG_DIALOG 1
44289 _ACEOF
44290
44291 fi
44292
44293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44294 fi
44295
44296 if test "$wxUSE_LONGLONG" = "yes"; then
44297 cat >>confdefs.h <<\_ACEOF
44298 #define wxUSE_LONGLONG 1
44299 _ACEOF
44300
44301 fi
44302
44303 if test "$wxUSE_GEOMETRY" = "yes"; then
44304 cat >>confdefs.h <<\_ACEOF
44305 #define wxUSE_GEOMETRY 1
44306 _ACEOF
44307
44308 fi
44309
44310 if test "$wxUSE_BASE64" = "yes"; then
44311 cat >>confdefs.h <<\_ACEOF
44312 #define wxUSE_BASE64 1
44313 _ACEOF
44314
44315 fi
44316
44317 if test "$wxUSE_STREAMS" = "yes" ; then
44318 cat >>confdefs.h <<\_ACEOF
44319 #define wxUSE_STREAMS 1
44320 _ACEOF
44321
44322 fi
44323
44324 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44325 cat >>confdefs.h <<\_ACEOF
44326 #define wxUSE_PRINTF_POS_PARAMS 1
44327 _ACEOF
44328
44329 fi
44330
44331 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44332 cat >>confdefs.h <<\_ACEOF
44333 #define wxUSE_OBJC_UNIQUIFYING 1
44334 _ACEOF
44335
44336 fi
44337
44338
44339 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44340 cat >>confdefs.h <<\_ACEOF
44341 #define wxUSE_CONSOLE_EVENTLOOP 1
44342 _ACEOF
44343
44344
44345 if test "$wxUSE_UNIX" = "yes"; then
44346 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44347 cat >>confdefs.h <<\_ACEOF
44348 #define wxUSE_SELECT_DISPATCHER 1
44349 _ACEOF
44350
44351 fi
44352
44353 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44354
44355 for ac_header in sys/epoll.h
44356 do
44357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44358 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44360 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44361 echo $ECHO_N "(cached) $ECHO_C" >&6
44362 else
44363 cat >conftest.$ac_ext <<_ACEOF
44364 /* confdefs.h. */
44365 _ACEOF
44366 cat confdefs.h >>conftest.$ac_ext
44367 cat >>conftest.$ac_ext <<_ACEOF
44368 /* end confdefs.h. */
44369 $ac_includes_default
44370
44371 #include <$ac_header>
44372 _ACEOF
44373 rm -f conftest.$ac_objext
44374 if { (ac_try="$ac_compile"
44375 case "(($ac_try" in
44376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44377 *) ac_try_echo=$ac_try;;
44378 esac
44379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44380 (eval "$ac_compile") 2>conftest.er1
44381 ac_status=$?
44382 grep -v '^ *+' conftest.er1 >conftest.err
44383 rm -f conftest.er1
44384 cat conftest.err >&5
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); } && {
44387 test -z "$ac_c_werror_flag" ||
44388 test ! -s conftest.err
44389 } && test -s conftest.$ac_objext; then
44390 eval "$as_ac_Header=yes"
44391 else
44392 echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.$ac_ext >&5
44394
44395 eval "$as_ac_Header=no"
44396 fi
44397
44398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44399 fi
44400 ac_res=`eval echo '${'$as_ac_Header'}'`
44401 { echo "$as_me:$LINENO: result: $ac_res" >&5
44402 echo "${ECHO_T}$ac_res" >&6; }
44403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44404 cat >>confdefs.h <<_ACEOF
44405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44406 _ACEOF
44407
44408 fi
44409
44410 done
44411
44412 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44413 cat >>confdefs.h <<\_ACEOF
44414 #define wxUSE_EPOLL_DISPATCHER 1
44415 _ACEOF
44416
44417 else
44418 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44419 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44420 fi
44421 fi
44422 fi
44423 fi
44424
44425
44426
44427
44428 for ac_func in gettimeofday ftime
44429 do
44430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44434 echo $ECHO_N "(cached) $ECHO_C" >&6
44435 else
44436 cat >conftest.$ac_ext <<_ACEOF
44437 /* confdefs.h. */
44438 _ACEOF
44439 cat confdefs.h >>conftest.$ac_ext
44440 cat >>conftest.$ac_ext <<_ACEOF
44441 /* end confdefs.h. */
44442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44444 #define $ac_func innocuous_$ac_func
44445
44446 /* System header to define __stub macros and hopefully few prototypes,
44447 which can conflict with char $ac_func (); below.
44448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44449 <limits.h> exists even on freestanding compilers. */
44450
44451 #ifdef __STDC__
44452 # include <limits.h>
44453 #else
44454 # include <assert.h>
44455 #endif
44456
44457 #undef $ac_func
44458
44459 /* Override any GCC internal prototype to avoid an error.
44460 Use char because int might match the return type of a GCC
44461 builtin and then its argument prototype would still apply. */
44462 #ifdef __cplusplus
44463 extern "C"
44464 #endif
44465 char $ac_func ();
44466 /* The GNU C library defines this for functions which it implements
44467 to always fail with ENOSYS. Some functions are actually named
44468 something starting with __ and the normal name is an alias. */
44469 #if defined __stub_$ac_func || defined __stub___$ac_func
44470 choke me
44471 #endif
44472
44473 int
44474 main ()
44475 {
44476 return $ac_func ();
44477 ;
44478 return 0;
44479 }
44480 _ACEOF
44481 rm -f conftest.$ac_objext conftest$ac_exeext
44482 if { (ac_try="$ac_link"
44483 case "(($ac_try" in
44484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44485 *) ac_try_echo=$ac_try;;
44486 esac
44487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44488 (eval "$ac_link") 2>conftest.er1
44489 ac_status=$?
44490 grep -v '^ *+' conftest.er1 >conftest.err
44491 rm -f conftest.er1
44492 cat conftest.err >&5
44493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44494 (exit $ac_status); } && {
44495 test -z "$ac_c_werror_flag" ||
44496 test ! -s conftest.err
44497 } && test -s conftest$ac_exeext &&
44498 $as_test_x conftest$ac_exeext; then
44499 eval "$as_ac_var=yes"
44500 else
44501 echo "$as_me: failed program was:" >&5
44502 sed 's/^/| /' conftest.$ac_ext >&5
44503
44504 eval "$as_ac_var=no"
44505 fi
44506
44507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44508 conftest$ac_exeext conftest.$ac_ext
44509 fi
44510 ac_res=`eval echo '${'$as_ac_var'}'`
44511 { echo "$as_me:$LINENO: result: $ac_res" >&5
44512 echo "${ECHO_T}$ac_res" >&6; }
44513 if test `eval echo '${'$as_ac_var'}'` = yes; then
44514 cat >>confdefs.h <<_ACEOF
44515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44516 _ACEOF
44517 break
44518 fi
44519 done
44520
44521
44522 if test "$ac_cv_func_gettimeofday" = "yes"; then
44523 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44524 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44525 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44526 echo $ECHO_N "(cached) $ECHO_C" >&6
44527 else
44528
44529 cat >conftest.$ac_ext <<_ACEOF
44530 /* confdefs.h. */
44531 _ACEOF
44532 cat confdefs.h >>conftest.$ac_ext
44533 cat >>conftest.$ac_ext <<_ACEOF
44534 /* end confdefs.h. */
44535
44536 #include <sys/time.h>
44537 #include <unistd.h>
44538
44539 int
44540 main ()
44541 {
44542
44543 struct timeval tv;
44544 gettimeofday(&tv, NULL);
44545
44546 ;
44547 return 0;
44548 }
44549 _ACEOF
44550 rm -f conftest.$ac_objext
44551 if { (ac_try="$ac_compile"
44552 case "(($ac_try" in
44553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44554 *) ac_try_echo=$ac_try;;
44555 esac
44556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44557 (eval "$ac_compile") 2>conftest.er1
44558 ac_status=$?
44559 grep -v '^ *+' conftest.er1 >conftest.err
44560 rm -f conftest.er1
44561 cat conftest.err >&5
44562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44563 (exit $ac_status); } && {
44564 test -z "$ac_c_werror_flag" ||
44565 test ! -s conftest.err
44566 } && test -s conftest.$ac_objext; then
44567 wx_cv_func_gettimeofday_has_2_args=yes
44568 else
44569 echo "$as_me: failed program was:" >&5
44570 sed 's/^/| /' conftest.$ac_ext >&5
44571
44572 cat >conftest.$ac_ext <<_ACEOF
44573 /* confdefs.h. */
44574 _ACEOF
44575 cat confdefs.h >>conftest.$ac_ext
44576 cat >>conftest.$ac_ext <<_ACEOF
44577 /* end confdefs.h. */
44578
44579 #include <sys/time.h>
44580 #include <unistd.h>
44581
44582 int
44583 main ()
44584 {
44585
44586 struct timeval tv;
44587 gettimeofday(&tv);
44588
44589 ;
44590 return 0;
44591 }
44592 _ACEOF
44593 rm -f conftest.$ac_objext
44594 if { (ac_try="$ac_compile"
44595 case "(($ac_try" in
44596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44597 *) ac_try_echo=$ac_try;;
44598 esac
44599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44600 (eval "$ac_compile") 2>conftest.er1
44601 ac_status=$?
44602 grep -v '^ *+' conftest.er1 >conftest.err
44603 rm -f conftest.er1
44604 cat conftest.err >&5
44605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44606 (exit $ac_status); } && {
44607 test -z "$ac_c_werror_flag" ||
44608 test ! -s conftest.err
44609 } && test -s conftest.$ac_objext; then
44610 wx_cv_func_gettimeofday_has_2_args=no
44611 else
44612 echo "$as_me: failed program was:" >&5
44613 sed 's/^/| /' conftest.$ac_ext >&5
44614
44615
44616 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44617 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44618 wx_cv_func_gettimeofday_has_2_args=unknown
44619
44620
44621 fi
44622
44623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44624
44625 fi
44626
44627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44628
44629 fi
44630 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44631 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44632
44633 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44634 cat >>confdefs.h <<\_ACEOF
44635 #define WX_GETTIMEOFDAY_NO_TZ 1
44636 _ACEOF
44637
44638 fi
44639 fi
44640
44641 if test "$wxUSE_DATETIME" = "yes"; then
44642 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44643 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44644 if test "${wx_cv_var_timezone+set}" = set; then
44645 echo $ECHO_N "(cached) $ECHO_C" >&6
44646 else
44647
44648 ac_ext=cpp
44649 ac_cpp='$CXXCPP $CPPFLAGS'
44650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44653
44654 cat >conftest.$ac_ext <<_ACEOF
44655 /* confdefs.h. */
44656 _ACEOF
44657 cat confdefs.h >>conftest.$ac_ext
44658 cat >>conftest.$ac_ext <<_ACEOF
44659 /* end confdefs.h. */
44660
44661 #include <time.h>
44662
44663 int
44664 main ()
44665 {
44666
44667 int tz;
44668 tz = timezone;
44669
44670 ;
44671 return 0;
44672 }
44673 _ACEOF
44674 rm -f conftest.$ac_objext
44675 if { (ac_try="$ac_compile"
44676 case "(($ac_try" in
44677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44678 *) ac_try_echo=$ac_try;;
44679 esac
44680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44681 (eval "$ac_compile") 2>conftest.er1
44682 ac_status=$?
44683 grep -v '^ *+' conftest.er1 >conftest.err
44684 rm -f conftest.er1
44685 cat conftest.err >&5
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); } && {
44688 test -z "$ac_cxx_werror_flag" ||
44689 test ! -s conftest.err
44690 } && test -s conftest.$ac_objext; then
44691
44692 wx_cv_var_timezone=timezone
44693
44694 else
44695 echo "$as_me: failed program was:" >&5
44696 sed 's/^/| /' conftest.$ac_ext >&5
44697
44698
44699 cat >conftest.$ac_ext <<_ACEOF
44700 /* confdefs.h. */
44701 _ACEOF
44702 cat confdefs.h >>conftest.$ac_ext
44703 cat >>conftest.$ac_ext <<_ACEOF
44704 /* end confdefs.h. */
44705
44706 #include <time.h>
44707
44708 int
44709 main ()
44710 {
44711
44712 int tz;
44713 tz = _timezone;
44714
44715 ;
44716 return 0;
44717 }
44718 _ACEOF
44719 rm -f conftest.$ac_objext
44720 if { (ac_try="$ac_compile"
44721 case "(($ac_try" in
44722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44723 *) ac_try_echo=$ac_try;;
44724 esac
44725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44726 (eval "$ac_compile") 2>conftest.er1
44727 ac_status=$?
44728 grep -v '^ *+' conftest.er1 >conftest.err
44729 rm -f conftest.er1
44730 cat conftest.err >&5
44731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44732 (exit $ac_status); } && {
44733 test -z "$ac_cxx_werror_flag" ||
44734 test ! -s conftest.err
44735 } && test -s conftest.$ac_objext; then
44736
44737 wx_cv_var_timezone=_timezone
44738
44739 else
44740 echo "$as_me: failed program was:" >&5
44741 sed 's/^/| /' conftest.$ac_ext >&5
44742
44743
44744 cat >conftest.$ac_ext <<_ACEOF
44745 /* confdefs.h. */
44746 _ACEOF
44747 cat confdefs.h >>conftest.$ac_ext
44748 cat >>conftest.$ac_ext <<_ACEOF
44749 /* end confdefs.h. */
44750
44751 #include <time.h>
44752
44753 int
44754 main ()
44755 {
44756
44757 int tz;
44758 tz = __timezone;
44759
44760 ;
44761 return 0;
44762 }
44763 _ACEOF
44764 rm -f conftest.$ac_objext
44765 if { (ac_try="$ac_compile"
44766 case "(($ac_try" in
44767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44768 *) ac_try_echo=$ac_try;;
44769 esac
44770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44771 (eval "$ac_compile") 2>conftest.er1
44772 ac_status=$?
44773 grep -v '^ *+' conftest.er1 >conftest.err
44774 rm -f conftest.er1
44775 cat conftest.err >&5
44776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44777 (exit $ac_status); } && {
44778 test -z "$ac_cxx_werror_flag" ||
44779 test ! -s conftest.err
44780 } && test -s conftest.$ac_objext; then
44781
44782 wx_cv_var_timezone=__timezone
44783
44784 else
44785 echo "$as_me: failed program was:" >&5
44786 sed 's/^/| /' conftest.$ac_ext >&5
44787
44788
44789 if test "$USE_DOS" = 0 ; then
44790 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44791 echo "$as_me: WARNING: no timezone variable" >&2;}
44792 fi
44793
44794
44795 fi
44796
44797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44798
44799
44800 fi
44801
44802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44803
44804
44805 fi
44806
44807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44808 ac_ext=c
44809 ac_cpp='$CPP $CPPFLAGS'
44810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44813
44814
44815
44816 fi
44817 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44818 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44819
44820 if test "x$wx_cv_var_timezone" != x ; then
44821 cat >>confdefs.h <<_ACEOF
44822 #define WX_TIMEZONE $wx_cv_var_timezone
44823 _ACEOF
44824
44825 fi
44826
44827
44828 for ac_func in localtime
44829 do
44830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44833 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44834 echo $ECHO_N "(cached) $ECHO_C" >&6
44835 else
44836 cat >conftest.$ac_ext <<_ACEOF
44837 /* confdefs.h. */
44838 _ACEOF
44839 cat confdefs.h >>conftest.$ac_ext
44840 cat >>conftest.$ac_ext <<_ACEOF
44841 /* end confdefs.h. */
44842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44844 #define $ac_func innocuous_$ac_func
44845
44846 /* System header to define __stub macros and hopefully few prototypes,
44847 which can conflict with char $ac_func (); below.
44848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44849 <limits.h> exists even on freestanding compilers. */
44850
44851 #ifdef __STDC__
44852 # include <limits.h>
44853 #else
44854 # include <assert.h>
44855 #endif
44856
44857 #undef $ac_func
44858
44859 /* Override any GCC internal prototype to avoid an error.
44860 Use char because int might match the return type of a GCC
44861 builtin and then its argument prototype would still apply. */
44862 #ifdef __cplusplus
44863 extern "C"
44864 #endif
44865 char $ac_func ();
44866 /* The GNU C library defines this for functions which it implements
44867 to always fail with ENOSYS. Some functions are actually named
44868 something starting with __ and the normal name is an alias. */
44869 #if defined __stub_$ac_func || defined __stub___$ac_func
44870 choke me
44871 #endif
44872
44873 int
44874 main ()
44875 {
44876 return $ac_func ();
44877 ;
44878 return 0;
44879 }
44880 _ACEOF
44881 rm -f conftest.$ac_objext conftest$ac_exeext
44882 if { (ac_try="$ac_link"
44883 case "(($ac_try" in
44884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44885 *) ac_try_echo=$ac_try;;
44886 esac
44887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44888 (eval "$ac_link") 2>conftest.er1
44889 ac_status=$?
44890 grep -v '^ *+' conftest.er1 >conftest.err
44891 rm -f conftest.er1
44892 cat conftest.err >&5
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); } && {
44895 test -z "$ac_c_werror_flag" ||
44896 test ! -s conftest.err
44897 } && test -s conftest$ac_exeext &&
44898 $as_test_x conftest$ac_exeext; then
44899 eval "$as_ac_var=yes"
44900 else
44901 echo "$as_me: failed program was:" >&5
44902 sed 's/^/| /' conftest.$ac_ext >&5
44903
44904 eval "$as_ac_var=no"
44905 fi
44906
44907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44908 conftest$ac_exeext conftest.$ac_ext
44909 fi
44910 ac_res=`eval echo '${'$as_ac_var'}'`
44911 { echo "$as_me:$LINENO: result: $ac_res" >&5
44912 echo "${ECHO_T}$ac_res" >&6; }
44913 if test `eval echo '${'$as_ac_var'}'` = yes; then
44914 cat >>confdefs.h <<_ACEOF
44915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44916 _ACEOF
44917
44918 fi
44919 done
44920
44921
44922 if test "$ac_cv_func_localtime" = "yes"; then
44923 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44924 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44925 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44926 echo $ECHO_N "(cached) $ECHO_C" >&6
44927 else
44928
44929 cat >conftest.$ac_ext <<_ACEOF
44930 /* confdefs.h. */
44931 _ACEOF
44932 cat confdefs.h >>conftest.$ac_ext
44933 cat >>conftest.$ac_ext <<_ACEOF
44934 /* end confdefs.h. */
44935
44936 #include <time.h>
44937
44938 int
44939 main ()
44940 {
44941
44942 struct tm tm;
44943 tm.tm_gmtoff++;
44944
44945 ;
44946 return 0;
44947 }
44948 _ACEOF
44949 rm -f conftest.$ac_objext
44950 if { (ac_try="$ac_compile"
44951 case "(($ac_try" in
44952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44953 *) ac_try_echo=$ac_try;;
44954 esac
44955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44956 (eval "$ac_compile") 2>conftest.er1
44957 ac_status=$?
44958 grep -v '^ *+' conftest.er1 >conftest.err
44959 rm -f conftest.er1
44960 cat conftest.err >&5
44961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44962 (exit $ac_status); } && {
44963 test -z "$ac_c_werror_flag" ||
44964 test ! -s conftest.err
44965 } && test -s conftest.$ac_objext; then
44966
44967 wx_cv_struct_tm_has_gmtoff=yes
44968
44969 else
44970 echo "$as_me: failed program was:" >&5
44971 sed 's/^/| /' conftest.$ac_ext >&5
44972
44973 wx_cv_struct_tm_has_gmtoff=no
44974
44975 fi
44976
44977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44978
44979 fi
44980 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44981 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44982 fi
44983
44984 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44985 cat >>confdefs.h <<\_ACEOF
44986 #define WX_GMTOFF_IN_TM 1
44987 _ACEOF
44988
44989 fi
44990
44991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44992 fi
44993
44994
44995 if test "$wxUSE_SOCKETS" = "yes"; then
44996 if test "$wxUSE_MGL" = 1; then
44997 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44998 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44999 wxUSE_SOCKETS="no"
45000 fi
45001 fi
45002
45003 if test "$wxUSE_SOCKETS" = "yes"; then
45004 if test "$TOOLKIT" != "MSW"; then
45005 { echo "$as_me:$LINENO: checking for socket" >&5
45006 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
45007 if test "${ac_cv_func_socket+set}" = set; then
45008 echo $ECHO_N "(cached) $ECHO_C" >&6
45009 else
45010 cat >conftest.$ac_ext <<_ACEOF
45011 /* confdefs.h. */
45012 _ACEOF
45013 cat confdefs.h >>conftest.$ac_ext
45014 cat >>conftest.$ac_ext <<_ACEOF
45015 /* end confdefs.h. */
45016 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45018 #define socket innocuous_socket
45019
45020 /* System header to define __stub macros and hopefully few prototypes,
45021 which can conflict with char socket (); below.
45022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45023 <limits.h> exists even on freestanding compilers. */
45024
45025 #ifdef __STDC__
45026 # include <limits.h>
45027 #else
45028 # include <assert.h>
45029 #endif
45030
45031 #undef socket
45032
45033 /* Override any GCC internal prototype to avoid an error.
45034 Use char because int might match the return type of a GCC
45035 builtin and then its argument prototype would still apply. */
45036 #ifdef __cplusplus
45037 extern "C"
45038 #endif
45039 char socket ();
45040 /* The GNU C library defines this for functions which it implements
45041 to always fail with ENOSYS. Some functions are actually named
45042 something starting with __ and the normal name is an alias. */
45043 #if defined __stub_socket || defined __stub___socket
45044 choke me
45045 #endif
45046
45047 int
45048 main ()
45049 {
45050 return socket ();
45051 ;
45052 return 0;
45053 }
45054 _ACEOF
45055 rm -f conftest.$ac_objext conftest$ac_exeext
45056 if { (ac_try="$ac_link"
45057 case "(($ac_try" in
45058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45059 *) ac_try_echo=$ac_try;;
45060 esac
45061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45062 (eval "$ac_link") 2>conftest.er1
45063 ac_status=$?
45064 grep -v '^ *+' conftest.er1 >conftest.err
45065 rm -f conftest.er1
45066 cat conftest.err >&5
45067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45068 (exit $ac_status); } && {
45069 test -z "$ac_c_werror_flag" ||
45070 test ! -s conftest.err
45071 } && test -s conftest$ac_exeext &&
45072 $as_test_x conftest$ac_exeext; then
45073 ac_cv_func_socket=yes
45074 else
45075 echo "$as_me: failed program was:" >&5
45076 sed 's/^/| /' conftest.$ac_ext >&5
45077
45078 ac_cv_func_socket=no
45079 fi
45080
45081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45082 conftest$ac_exeext conftest.$ac_ext
45083 fi
45084 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45085 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
45086 if test $ac_cv_func_socket = yes; then
45087 :
45088 else
45089
45090 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45091 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
45092 if test "${ac_cv_lib_socket_socket+set}" = set; then
45093 echo $ECHO_N "(cached) $ECHO_C" >&6
45094 else
45095 ac_check_lib_save_LIBS=$LIBS
45096 LIBS="-lsocket $LIBS"
45097 cat >conftest.$ac_ext <<_ACEOF
45098 /* confdefs.h. */
45099 _ACEOF
45100 cat confdefs.h >>conftest.$ac_ext
45101 cat >>conftest.$ac_ext <<_ACEOF
45102 /* end confdefs.h. */
45103
45104 /* Override any GCC internal prototype to avoid an error.
45105 Use char because int might match the return type of a GCC
45106 builtin and then its argument prototype would still apply. */
45107 #ifdef __cplusplus
45108 extern "C"
45109 #endif
45110 char socket ();
45111 int
45112 main ()
45113 {
45114 return socket ();
45115 ;
45116 return 0;
45117 }
45118 _ACEOF
45119 rm -f conftest.$ac_objext conftest$ac_exeext
45120 if { (ac_try="$ac_link"
45121 case "(($ac_try" in
45122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45123 *) ac_try_echo=$ac_try;;
45124 esac
45125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45126 (eval "$ac_link") 2>conftest.er1
45127 ac_status=$?
45128 grep -v '^ *+' conftest.er1 >conftest.err
45129 rm -f conftest.er1
45130 cat conftest.err >&5
45131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45132 (exit $ac_status); } && {
45133 test -z "$ac_c_werror_flag" ||
45134 test ! -s conftest.err
45135 } && test -s conftest$ac_exeext &&
45136 $as_test_x conftest$ac_exeext; then
45137 ac_cv_lib_socket_socket=yes
45138 else
45139 echo "$as_me: failed program was:" >&5
45140 sed 's/^/| /' conftest.$ac_ext >&5
45141
45142 ac_cv_lib_socket_socket=no
45143 fi
45144
45145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45146 conftest$ac_exeext conftest.$ac_ext
45147 LIBS=$ac_check_lib_save_LIBS
45148 fi
45149 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45150 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
45151 if test $ac_cv_lib_socket_socket = yes; then
45152 if test "$INET_LINK" != " -lsocket"; then
45153 INET_LINK="$INET_LINK -lsocket"
45154 fi
45155 else
45156
45157 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45158 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45159 wxUSE_SOCKETS=no
45160
45161
45162 fi
45163
45164
45165
45166 fi
45167
45168 fi
45169 fi
45170
45171 if test "$wxUSE_SOCKETS" = "yes" ; then
45172 if test "$TOOLKIT" != "MSW"; then
45173 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45174 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
45175 if test "${wx_cv_type_getsockname3+set}" = set; then
45176 echo $ECHO_N "(cached) $ECHO_C" >&6
45177 else
45178
45179 ac_ext=cpp
45180 ac_cpp='$CXXCPP $CPPFLAGS'
45181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45184
45185 cat >conftest.$ac_ext <<_ACEOF
45186 /* confdefs.h. */
45187 _ACEOF
45188 cat confdefs.h >>conftest.$ac_ext
45189 cat >>conftest.$ac_ext <<_ACEOF
45190 /* end confdefs.h. */
45191
45192 #include <sys/types.h>
45193 #include <sys/socket.h>
45194
45195 int
45196 main ()
45197 {
45198
45199 socklen_t len;
45200 getsockname(0, 0, &len);
45201
45202 ;
45203 return 0;
45204 }
45205 _ACEOF
45206 rm -f conftest.$ac_objext
45207 if { (ac_try="$ac_compile"
45208 case "(($ac_try" in
45209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45210 *) ac_try_echo=$ac_try;;
45211 esac
45212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45213 (eval "$ac_compile") 2>conftest.er1
45214 ac_status=$?
45215 grep -v '^ *+' conftest.er1 >conftest.err
45216 rm -f conftest.er1
45217 cat conftest.err >&5
45218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45219 (exit $ac_status); } && {
45220 test -z "$ac_cxx_werror_flag" ||
45221 test ! -s conftest.err
45222 } && test -s conftest.$ac_objext; then
45223 wx_cv_type_getsockname3=socklen_t
45224 else
45225 echo "$as_me: failed program was:" >&5
45226 sed 's/^/| /' conftest.$ac_ext >&5
45227
45228
45229 CFLAGS_OLD="$CFLAGS"
45230 if test "$GCC" = yes ; then
45231 CFLAGS="-Werror $CFLAGS"
45232 fi
45233
45234 cat >conftest.$ac_ext <<_ACEOF
45235 /* confdefs.h. */
45236 _ACEOF
45237 cat confdefs.h >>conftest.$ac_ext
45238 cat >>conftest.$ac_ext <<_ACEOF
45239 /* end confdefs.h. */
45240
45241 #include <sys/types.h>
45242 #include <sys/socket.h>
45243
45244 int
45245 main ()
45246 {
45247
45248 size_t len;
45249 getsockname(0, 0, &len);
45250
45251 ;
45252 return 0;
45253 }
45254 _ACEOF
45255 rm -f conftest.$ac_objext
45256 if { (ac_try="$ac_compile"
45257 case "(($ac_try" in
45258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45259 *) ac_try_echo=$ac_try;;
45260 esac
45261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45262 (eval "$ac_compile") 2>conftest.er1
45263 ac_status=$?
45264 grep -v '^ *+' conftest.er1 >conftest.err
45265 rm -f conftest.er1
45266 cat conftest.err >&5
45267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268 (exit $ac_status); } && {
45269 test -z "$ac_cxx_werror_flag" ||
45270 test ! -s conftest.err
45271 } && test -s conftest.$ac_objext; then
45272 wx_cv_type_getsockname3=size_t
45273 else
45274 echo "$as_me: failed program was:" >&5
45275 sed 's/^/| /' conftest.$ac_ext >&5
45276
45277 cat >conftest.$ac_ext <<_ACEOF
45278 /* confdefs.h. */
45279 _ACEOF
45280 cat confdefs.h >>conftest.$ac_ext
45281 cat >>conftest.$ac_ext <<_ACEOF
45282 /* end confdefs.h. */
45283
45284 #include <sys/types.h>
45285 #include <sys/socket.h>
45286
45287 int
45288 main ()
45289 {
45290
45291 int len;
45292 getsockname(0, 0, &len);
45293
45294 ;
45295 return 0;
45296 }
45297 _ACEOF
45298 rm -f conftest.$ac_objext
45299 if { (ac_try="$ac_compile"
45300 case "(($ac_try" in
45301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45302 *) ac_try_echo=$ac_try;;
45303 esac
45304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45305 (eval "$ac_compile") 2>conftest.er1
45306 ac_status=$?
45307 grep -v '^ *+' conftest.er1 >conftest.err
45308 rm -f conftest.er1
45309 cat conftest.err >&5
45310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45311 (exit $ac_status); } && {
45312 test -z "$ac_cxx_werror_flag" ||
45313 test ! -s conftest.err
45314 } && test -s conftest.$ac_objext; then
45315 wx_cv_type_getsockname3=int
45316 else
45317 echo "$as_me: failed program was:" >&5
45318 sed 's/^/| /' conftest.$ac_ext >&5
45319
45320 wx_cv_type_getsockname3=unknown
45321
45322 fi
45323
45324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45325
45326 fi
45327
45328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45329
45330 CFLAGS="$CFLAGS_OLD"
45331
45332
45333 fi
45334
45335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45336 ac_ext=c
45337 ac_cpp='$CPP $CPPFLAGS'
45338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45341
45342
45343 fi
45344 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45345 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45346
45347 if test "$wx_cv_type_getsockname3" = "unknown"; then
45348 wxUSE_SOCKETS=no
45349 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45350 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45351 else
45352 cat >>confdefs.h <<_ACEOF
45353 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45354 _ACEOF
45355
45356 fi
45357 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45358 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45359 if test "${wx_cv_type_getsockopt5+set}" = set; then
45360 echo $ECHO_N "(cached) $ECHO_C" >&6
45361 else
45362
45363 ac_ext=cpp
45364 ac_cpp='$CXXCPP $CPPFLAGS'
45365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45368
45369 cat >conftest.$ac_ext <<_ACEOF
45370 /* confdefs.h. */
45371 _ACEOF
45372 cat confdefs.h >>conftest.$ac_ext
45373 cat >>conftest.$ac_ext <<_ACEOF
45374 /* end confdefs.h. */
45375
45376 #include <sys/types.h>
45377 #include <sys/socket.h>
45378
45379 int
45380 main ()
45381 {
45382
45383 socklen_t len;
45384 getsockopt(0, 0, 0, 0, &len);
45385
45386 ;
45387 return 0;
45388 }
45389 _ACEOF
45390 rm -f conftest.$ac_objext
45391 if { (ac_try="$ac_compile"
45392 case "(($ac_try" in
45393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45394 *) ac_try_echo=$ac_try;;
45395 esac
45396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45397 (eval "$ac_compile") 2>conftest.er1
45398 ac_status=$?
45399 grep -v '^ *+' conftest.er1 >conftest.err
45400 rm -f conftest.er1
45401 cat conftest.err >&5
45402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45403 (exit $ac_status); } && {
45404 test -z "$ac_cxx_werror_flag" ||
45405 test ! -s conftest.err
45406 } && test -s conftest.$ac_objext; then
45407 wx_cv_type_getsockopt5=socklen_t
45408 else
45409 echo "$as_me: failed program was:" >&5
45410 sed 's/^/| /' conftest.$ac_ext >&5
45411
45412
45413 cat >conftest.$ac_ext <<_ACEOF
45414 /* confdefs.h. */
45415 _ACEOF
45416 cat confdefs.h >>conftest.$ac_ext
45417 cat >>conftest.$ac_ext <<_ACEOF
45418 /* end confdefs.h. */
45419
45420 #include <sys/types.h>
45421 #include <sys/socket.h>
45422
45423 int
45424 main ()
45425 {
45426
45427 size_t len;
45428 getsockopt(0, 0, 0, 0, &len);
45429
45430 ;
45431 return 0;
45432 }
45433 _ACEOF
45434 rm -f conftest.$ac_objext
45435 if { (ac_try="$ac_compile"
45436 case "(($ac_try" in
45437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45438 *) ac_try_echo=$ac_try;;
45439 esac
45440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45441 (eval "$ac_compile") 2>conftest.er1
45442 ac_status=$?
45443 grep -v '^ *+' conftest.er1 >conftest.err
45444 rm -f conftest.er1
45445 cat conftest.err >&5
45446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45447 (exit $ac_status); } && {
45448 test -z "$ac_cxx_werror_flag" ||
45449 test ! -s conftest.err
45450 } && test -s conftest.$ac_objext; then
45451 wx_cv_type_getsockopt5=size_t
45452 else
45453 echo "$as_me: failed program was:" >&5
45454 sed 's/^/| /' conftest.$ac_ext >&5
45455
45456 cat >conftest.$ac_ext <<_ACEOF
45457 /* confdefs.h. */
45458 _ACEOF
45459 cat confdefs.h >>conftest.$ac_ext
45460 cat >>conftest.$ac_ext <<_ACEOF
45461 /* end confdefs.h. */
45462
45463 #include <sys/types.h>
45464 #include <sys/socket.h>
45465
45466 int
45467 main ()
45468 {
45469
45470 int len;
45471 getsockopt(0, 0, 0, 0, &len);
45472
45473 ;
45474 return 0;
45475 }
45476 _ACEOF
45477 rm -f conftest.$ac_objext
45478 if { (ac_try="$ac_compile"
45479 case "(($ac_try" in
45480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45481 *) ac_try_echo=$ac_try;;
45482 esac
45483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45484 (eval "$ac_compile") 2>conftest.er1
45485 ac_status=$?
45486 grep -v '^ *+' conftest.er1 >conftest.err
45487 rm -f conftest.er1
45488 cat conftest.err >&5
45489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45490 (exit $ac_status); } && {
45491 test -z "$ac_cxx_werror_flag" ||
45492 test ! -s conftest.err
45493 } && test -s conftest.$ac_objext; then
45494 wx_cv_type_getsockopt5=int
45495 else
45496 echo "$as_me: failed program was:" >&5
45497 sed 's/^/| /' conftest.$ac_ext >&5
45498
45499 wx_cv_type_getsockopt5=unknown
45500
45501 fi
45502
45503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45504
45505 fi
45506
45507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45508
45509
45510 fi
45511
45512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45513 ac_ext=c
45514 ac_cpp='$CPP $CPPFLAGS'
45515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45518
45519
45520 fi
45521 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45522 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45523
45524 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45525 wxUSE_SOCKETS=no
45526 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45527 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45528 else
45529 cat >>confdefs.h <<_ACEOF
45530 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45531 _ACEOF
45532
45533 fi
45534 fi
45535 fi
45536
45537 if test "$wxUSE_SOCKETS" = "yes" ; then
45538 if test "$wxUSE_IPV6" = "yes"; then
45539 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45540 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45541 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45542 echo $ECHO_N "(cached) $ECHO_C" >&6
45543 else
45544
45545 cat >conftest.$ac_ext <<_ACEOF
45546 /* confdefs.h. */
45547 _ACEOF
45548 cat confdefs.h >>conftest.$ac_ext
45549 cat >>conftest.$ac_ext <<_ACEOF
45550 /* end confdefs.h. */
45551
45552 #include <sys/types.h>
45553 #include <sys/socket.h>
45554 #include <netinet/in.h>
45555
45556 int
45557 main ()
45558 {
45559
45560 struct sockaddr_in6 sa6;
45561
45562 ;
45563 return 0;
45564 }
45565 _ACEOF
45566 rm -f conftest.$ac_objext
45567 if { (ac_try="$ac_compile"
45568 case "(($ac_try" in
45569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45570 *) ac_try_echo=$ac_try;;
45571 esac
45572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45573 (eval "$ac_compile") 2>conftest.er1
45574 ac_status=$?
45575 grep -v '^ *+' conftest.er1 >conftest.err
45576 rm -f conftest.er1
45577 cat conftest.err >&5
45578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45579 (exit $ac_status); } && {
45580 test -z "$ac_c_werror_flag" ||
45581 test ! -s conftest.err
45582 } && test -s conftest.$ac_objext; then
45583 wx_cv_type_sockaddr_in6=yes
45584 else
45585 echo "$as_me: failed program was:" >&5
45586 sed 's/^/| /' conftest.$ac_ext >&5
45587
45588 wx_cv_type_sockaddr_in6=no
45589
45590 fi
45591
45592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45593
45594
45595 fi
45596 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45597 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45598
45599 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_IPV6 1
45602 _ACEOF
45603
45604 else
45605 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45606 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45607 fi
45608 fi
45609
45610 cat >>confdefs.h <<\_ACEOF
45611 #define wxUSE_SOCKETS 1
45612 _ACEOF
45613
45614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45615 fi
45616
45617 if test "$wxUSE_PROTOCOL" = "yes"; then
45618 if test "$wxUSE_SOCKETS" != "yes"; then
45619 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45620 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45621 wxUSE_PROTOCOL=no
45622 fi
45623 fi
45624
45625 if test "$wxUSE_PROTOCOL" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_PROTOCOL 1
45628 _ACEOF
45629
45630
45631 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_PROTOCOL_HTTP 1
45634 _ACEOF
45635
45636 fi
45637 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_PROTOCOL_FTP 1
45640 _ACEOF
45641
45642 fi
45643 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_PROTOCOL_FILE 1
45646 _ACEOF
45647
45648 fi
45649 else
45650 if test "$wxUSE_FS_INET" = "yes"; then
45651 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45652 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45653 wxUSE_FS_INET="no"
45654 fi
45655 fi
45656
45657 if test "$wxUSE_URL" = "yes"; then
45658 if test "$wxUSE_PROTOCOL" != "yes"; then
45659 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45660 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45661 wxUSE_URL=no
45662 fi
45663 if test "$wxUSE_URL" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_URL 1
45666 _ACEOF
45667
45668 fi
45669 fi
45670
45671 if test "$wxUSE_VARIANT" = "yes"; then
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_VARIANT 1
45674 _ACEOF
45675
45676 fi
45677
45678 if test "$wxUSE_FS_INET" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_FS_INET 1
45681 _ACEOF
45682
45683 fi
45684
45685
45686 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45687 wxUSE_JOYSTICK=no
45688
45689 if test "$TOOLKIT" = "MSW"; then
45690 wxUSE_JOYSTICK=yes
45691
45692 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45693 if test "$USE_DARWIN" = 1; then
45694 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45695 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45696 ac_ext=cpp
45697 ac_cpp='$CXXCPP $CPPFLAGS'
45698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45701
45702 cat >conftest.$ac_ext <<_ACEOF
45703 /* confdefs.h. */
45704 _ACEOF
45705 cat confdefs.h >>conftest.$ac_ext
45706 cat >>conftest.$ac_ext <<_ACEOF
45707 /* end confdefs.h. */
45708 #include <IOKit/hid/IOHIDLib.h>
45709 int
45710 main ()
45711 {
45712 IOHIDQueueInterface *qi = NULL;
45713 IOHIDCallbackFunction cb = NULL;
45714 qi->setEventCallout(NULL, cb, NULL, NULL);
45715 ;
45716 return 0;
45717 }
45718 _ACEOF
45719 rm -f conftest.$ac_objext
45720 if { (ac_try="$ac_compile"
45721 case "(($ac_try" in
45722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45723 *) ac_try_echo=$ac_try;;
45724 esac
45725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45726 (eval "$ac_compile") 2>conftest.er1
45727 ac_status=$?
45728 grep -v '^ *+' conftest.er1 >conftest.err
45729 rm -f conftest.er1
45730 cat conftest.err >&5
45731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45732 (exit $ac_status); } && {
45733 test -z "$ac_cxx_werror_flag" ||
45734 test ! -s conftest.err
45735 } && test -s conftest.$ac_objext; then
45736 wxUSE_JOYSTICK=yes
45737
45738 else
45739 echo "$as_me: failed program was:" >&5
45740 sed 's/^/| /' conftest.$ac_ext >&5
45741
45742
45743 fi
45744
45745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45746 ac_ext=c
45747 ac_cpp='$CPP $CPPFLAGS'
45748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45751
45752 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45753 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45754 fi
45755
45756 else
45757 if test "$wxUSE_MGL" != 1; then
45758
45759 for ac_header in linux/joystick.h
45760 do
45761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45765 echo $ECHO_N "(cached) $ECHO_C" >&6
45766 else
45767 cat >conftest.$ac_ext <<_ACEOF
45768 /* confdefs.h. */
45769 _ACEOF
45770 cat confdefs.h >>conftest.$ac_ext
45771 cat >>conftest.$ac_ext <<_ACEOF
45772 /* end confdefs.h. */
45773 $ac_includes_default
45774
45775 #include <$ac_header>
45776 _ACEOF
45777 rm -f conftest.$ac_objext
45778 if { (ac_try="$ac_compile"
45779 case "(($ac_try" in
45780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45781 *) ac_try_echo=$ac_try;;
45782 esac
45783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45784 (eval "$ac_compile") 2>conftest.er1
45785 ac_status=$?
45786 grep -v '^ *+' conftest.er1 >conftest.err
45787 rm -f conftest.er1
45788 cat conftest.err >&5
45789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45790 (exit $ac_status); } && {
45791 test -z "$ac_c_werror_flag" ||
45792 test ! -s conftest.err
45793 } && test -s conftest.$ac_objext; then
45794 eval "$as_ac_Header=yes"
45795 else
45796 echo "$as_me: failed program was:" >&5
45797 sed 's/^/| /' conftest.$ac_ext >&5
45798
45799 eval "$as_ac_Header=no"
45800 fi
45801
45802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45803 fi
45804 ac_res=`eval echo '${'$as_ac_Header'}'`
45805 { echo "$as_me:$LINENO: result: $ac_res" >&5
45806 echo "${ECHO_T}$ac_res" >&6; }
45807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45808 cat >>confdefs.h <<_ACEOF
45809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45810 _ACEOF
45811 wxUSE_JOYSTICK=yes
45812 fi
45813
45814 done
45815
45816 fi
45817 fi
45818
45819 if test "$wxUSE_JOYSTICK" = "yes"; then
45820 cat >>confdefs.h <<\_ACEOF
45821 #define wxUSE_JOYSTICK 1
45822 _ACEOF
45823
45824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45825 else
45826 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45827 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45828 fi
45829 fi
45830
45831
45832
45833 if test "$wxUSE_FONTENUM" = "yes" ; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_FONTENUM 1
45836 _ACEOF
45837
45838 fi
45839
45840 if test "$wxUSE_FONTMAP" = "yes" ; then
45841 cat >>confdefs.h <<\_ACEOF
45842 #define wxUSE_FONTMAP 1
45843 _ACEOF
45844
45845 fi
45846
45847 if test "$wxUSE_UNICODE" = "yes" ; then
45848 cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_UNICODE 1
45850 _ACEOF
45851
45852
45853 if test "$USE_WIN32" != 1; then
45854 wxUSE_UNICODE_MSLU=no
45855 fi
45856
45857 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45858 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45859 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45860 if test "${ac_cv_lib_unicows_main+set}" = set; then
45861 echo $ECHO_N "(cached) $ECHO_C" >&6
45862 else
45863 ac_check_lib_save_LIBS=$LIBS
45864 LIBS="-lunicows $LIBS"
45865 cat >conftest.$ac_ext <<_ACEOF
45866 /* confdefs.h. */
45867 _ACEOF
45868 cat confdefs.h >>conftest.$ac_ext
45869 cat >>conftest.$ac_ext <<_ACEOF
45870 /* end confdefs.h. */
45871
45872
45873 int
45874 main ()
45875 {
45876 return main ();
45877 ;
45878 return 0;
45879 }
45880 _ACEOF
45881 rm -f conftest.$ac_objext conftest$ac_exeext
45882 if { (ac_try="$ac_link"
45883 case "(($ac_try" in
45884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45885 *) ac_try_echo=$ac_try;;
45886 esac
45887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45888 (eval "$ac_link") 2>conftest.er1
45889 ac_status=$?
45890 grep -v '^ *+' conftest.er1 >conftest.err
45891 rm -f conftest.er1
45892 cat conftest.err >&5
45893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45894 (exit $ac_status); } && {
45895 test -z "$ac_c_werror_flag" ||
45896 test ! -s conftest.err
45897 } && test -s conftest$ac_exeext &&
45898 $as_test_x conftest$ac_exeext; then
45899 ac_cv_lib_unicows_main=yes
45900 else
45901 echo "$as_me: failed program was:" >&5
45902 sed 's/^/| /' conftest.$ac_ext >&5
45903
45904 ac_cv_lib_unicows_main=no
45905 fi
45906
45907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45908 conftest$ac_exeext conftest.$ac_ext
45909 LIBS=$ac_check_lib_save_LIBS
45910 fi
45911 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45912 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45913 if test $ac_cv_lib_unicows_main = yes; then
45914
45915 cat >>confdefs.h <<\_ACEOF
45916 #define wxUSE_UNICODE_MSLU 1
45917 _ACEOF
45918
45919
45920 else
45921
45922 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45923 Applications will only run on Windows NT/2000/XP!" >&5
45924 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45925 Applications will only run on Windows NT/2000/XP!" >&2;}
45926 wxUSE_UNICODE_MSLU=no
45927
45928 fi
45929
45930 fi
45931 fi
45932
45933 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_UNICODE_UTF8 1
45936 _ACEOF
45937
45938
45939 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45940 cat >>confdefs.h <<\_ACEOF
45941 #define wxUSE_UTF8_LOCALE_ONLY 1
45942 _ACEOF
45943
45944 fi
45945 fi
45946
45947
45948 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45949 cat >>confdefs.h <<\_ACEOF
45950 #define wxUSE_CONSTRAINTS 1
45951 _ACEOF
45952
45953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45954 fi
45955
45956 if test "$wxUSE_MDI" = "yes"; then
45957 cat >>confdefs.h <<\_ACEOF
45958 #define wxUSE_MDI 1
45959 _ACEOF
45960
45961
45962 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45963 cat >>confdefs.h <<\_ACEOF
45964 #define wxUSE_MDI_ARCHITECTURE 1
45965 _ACEOF
45966
45967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45968 fi
45969 fi
45970
45971 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45972 cat >>confdefs.h <<\_ACEOF
45973 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45974 _ACEOF
45975
45976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45977 fi
45978
45979 if test "$wxUSE_HELP" = "yes"; then
45980 cat >>confdefs.h <<\_ACEOF
45981 #define wxUSE_HELP 1
45982 _ACEOF
45983
45984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45985
45986 if test "$wxUSE_MSW" = 1; then
45987 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45988 cat >>confdefs.h <<\_ACEOF
45989 #define wxUSE_MS_HTML_HELP 1
45990 _ACEOF
45991
45992 fi
45993 fi
45994
45995 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45996 if test "$wxUSE_HTML" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_WXHTML_HELP 1
45999 _ACEOF
46000
46001 else
46002 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46003 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46004 wxUSE_WXHTML_HELP=no
46005 fi
46006 fi
46007 fi
46008
46009 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_PRINTING_ARCHITECTURE 1
46012 _ACEOF
46013
46014 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46015 fi
46016
46017 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46018 cat >>confdefs.h <<\_ACEOF
46019 #define wxUSE_POSTSCRIPT 1
46020 _ACEOF
46021
46022 fi
46023
46024 cat >>confdefs.h <<\_ACEOF
46025 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46026 _ACEOF
46027
46028
46029 if test "$wxUSE_SVG" = "yes"; then
46030 cat >>confdefs.h <<\_ACEOF
46031 #define wxUSE_SVG 1
46032 _ACEOF
46033
46034 fi
46035
46036
46037 if test "$wxUSE_METAFILE" = "yes"; then
46038 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46039 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46040 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46041 wxUSE_METAFILE=no
46042 fi
46043 fi
46044
46045
46046 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46047 -o "$wxUSE_CLIPBOARD" = "yes" \
46048 -o "$wxUSE_OLE" = "yes" \
46049 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46050 { echo "$as_me:$LINENO: checking for ole2.h" >&5
46051 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
46052 if test "${ac_cv_header_ole2_h+set}" = set; then
46053 echo $ECHO_N "(cached) $ECHO_C" >&6
46054 else
46055 cat >conftest.$ac_ext <<_ACEOF
46056 /* confdefs.h. */
46057 _ACEOF
46058 cat confdefs.h >>conftest.$ac_ext
46059 cat >>conftest.$ac_ext <<_ACEOF
46060 /* end confdefs.h. */
46061
46062
46063 #include <ole2.h>
46064 _ACEOF
46065 rm -f conftest.$ac_objext
46066 if { (ac_try="$ac_compile"
46067 case "(($ac_try" in
46068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46069 *) ac_try_echo=$ac_try;;
46070 esac
46071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46072 (eval "$ac_compile") 2>conftest.er1
46073 ac_status=$?
46074 grep -v '^ *+' conftest.er1 >conftest.err
46075 rm -f conftest.er1
46076 cat conftest.err >&5
46077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46078 (exit $ac_status); } && {
46079 test -z "$ac_c_werror_flag" ||
46080 test ! -s conftest.err
46081 } && test -s conftest.$ac_objext; then
46082 ac_cv_header_ole2_h=yes
46083 else
46084 echo "$as_me: failed program was:" >&5
46085 sed 's/^/| /' conftest.$ac_ext >&5
46086
46087 ac_cv_header_ole2_h=no
46088 fi
46089
46090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46091 fi
46092 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46093 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
46094
46095
46096
46097 if test "$ac_cv_header_ole2_h" = "yes" ; then
46098 if test "$GCC" = yes ; then
46099 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46100 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
46101 cat >conftest.$ac_ext <<_ACEOF
46102 /* confdefs.h. */
46103 _ACEOF
46104 cat confdefs.h >>conftest.$ac_ext
46105 cat >>conftest.$ac_ext <<_ACEOF
46106 /* end confdefs.h. */
46107 #include <windows.h>
46108 #include <ole2.h>
46109 int
46110 main ()
46111 {
46112
46113 ;
46114 return 0;
46115 }
46116 _ACEOF
46117 rm -f conftest.$ac_objext
46118 if { (ac_try="$ac_compile"
46119 case "(($ac_try" in
46120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46121 *) ac_try_echo=$ac_try;;
46122 esac
46123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46124 (eval "$ac_compile") 2>conftest.er1
46125 ac_status=$?
46126 grep -v '^ *+' conftest.er1 >conftest.err
46127 rm -f conftest.er1
46128 cat conftest.err >&5
46129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46130 (exit $ac_status); } && {
46131 test -z "$ac_c_werror_flag" ||
46132 test ! -s conftest.err
46133 } && test -s conftest.$ac_objext; then
46134 { echo "$as_me:$LINENO: result: no" >&5
46135 echo "${ECHO_T}no" >&6; }
46136 else
46137 echo "$as_me: failed program was:" >&5
46138 sed 's/^/| /' conftest.$ac_ext >&5
46139
46140 { echo "$as_me:$LINENO: result: yes" >&5
46141 echo "${ECHO_T}yes" >&6; }
46142 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46143 fi
46144
46145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46146 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46147 if test "$wxUSE_OLE" = "yes" ; then
46148 cat >>confdefs.h <<\_ACEOF
46149 #define wxUSE_OLE 1
46150 _ACEOF
46151
46152 cat >>confdefs.h <<\_ACEOF
46153 #define wxUSE_OLE_AUTOMATION 1
46154 _ACEOF
46155
46156 cat >>confdefs.h <<\_ACEOF
46157 #define wxUSE_ACTIVEX 1
46158 _ACEOF
46159
46160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46161 fi
46162 fi
46163
46164 if test "$wxUSE_DATAOBJ" = "yes" ; then
46165 cat >>confdefs.h <<\_ACEOF
46166 #define wxUSE_DATAOBJ 1
46167 _ACEOF
46168
46169 fi
46170 else
46171 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46172 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46173
46174 wxUSE_CLIPBOARD=no
46175 wxUSE_DRAG_AND_DROP=no
46176 wxUSE_DATAOBJ=no
46177 wxUSE_OLE=no
46178 fi
46179
46180 if test "$wxUSE_METAFILE" = "yes"; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define wxUSE_METAFILE 1
46183 _ACEOF
46184
46185
46186 cat >>confdefs.h <<\_ACEOF
46187 #define wxUSE_ENH_METAFILE 1
46188 _ACEOF
46189
46190 fi
46191 fi
46192
46193 if test "$wxUSE_IPC" = "yes"; then
46194 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46195 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46196 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46197 wxUSE_IPC=no
46198 fi
46199
46200 if test "$wxUSE_IPC" = "yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_IPC 1
46203 _ACEOF
46204
46205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46206 fi
46207 fi
46208
46209 if test "$wxUSE_DATAOBJ" = "yes"; then
46210 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46211 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46212 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46213 wxUSE_DATAOBJ=no
46214 else
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxUSE_DATAOBJ 1
46217 _ACEOF
46218
46219 fi
46220 else
46221 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46222 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46223 wxUSE_CLIPBOARD=no
46224 wxUSE_DRAG_AND_DROP=no
46225 fi
46226
46227 if test "$wxUSE_CLIPBOARD" = "yes"; then
46228 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46229 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46230 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46231 wxUSE_CLIPBOARD=no
46232 fi
46233
46234 if test "$wxUSE_CLIPBOARD" = "yes"; then
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_CLIPBOARD 1
46237 _ACEOF
46238
46239 fi
46240 fi
46241
46242 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46243 if test "$wxUSE_GTK" = 1; then
46244 if test "$WXGTK12" != 1; then
46245 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46246 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46247 wxUSE_DRAG_AND_DROP=no
46248 fi
46249 fi
46250
46251 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46252 "$wxUSE_DFB" = 1; then
46253 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46254 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46255 wxUSE_DRAG_AND_DROP=no
46256 fi
46257
46258 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46259 cat >>confdefs.h <<\_ACEOF
46260 #define wxUSE_DRAG_AND_DROP 1
46261 _ACEOF
46262
46263 fi
46264
46265 fi
46266
46267 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46269 fi
46270
46271 if test "$wxUSE_CLIPBOARD" = "yes"; then
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
46273 fi
46274
46275 if test "$wxUSE_SPLINES" = "yes" ; then
46276 cat >>confdefs.h <<\_ACEOF
46277 #define wxUSE_SPLINES 1
46278 _ACEOF
46279
46280 fi
46281
46282 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_MOUSEWHEEL 1
46285 _ACEOF
46286
46287 fi
46288
46289
46290 USES_CONTROLS=0
46291 if test "$wxUSE_CONTROLS" = "yes"; then
46292 USES_CONTROLS=1
46293 fi
46294
46295 if test "$wxUSE_ACCEL" = "yes"; then
46296 cat >>confdefs.h <<\_ACEOF
46297 #define wxUSE_ACCEL 1
46298 _ACEOF
46299
46300 USES_CONTROLS=1
46301 fi
46302
46303 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46304 cat >>confdefs.h <<\_ACEOF
46305 #define wxUSE_ANIMATIONCTRL 1
46306 _ACEOF
46307
46308 USES_CONTROLS=1
46309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46310 fi
46311
46312 if test "$wxUSE_BUTTON" = "yes"; then
46313 cat >>confdefs.h <<\_ACEOF
46314 #define wxUSE_BUTTON 1
46315 _ACEOF
46316
46317 USES_CONTROLS=1
46318 fi
46319
46320 if test "$wxUSE_BMPBUTTON" = "yes"; then
46321 cat >>confdefs.h <<\_ACEOF
46322 #define wxUSE_BMPBUTTON 1
46323 _ACEOF
46324
46325 USES_CONTROLS=1
46326 fi
46327
46328 if test "$wxUSE_CALCTRL" = "yes"; then
46329 cat >>confdefs.h <<\_ACEOF
46330 #define wxUSE_CALENDARCTRL 1
46331 _ACEOF
46332
46333 USES_CONTROLS=1
46334 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46335 fi
46336
46337 if test "$wxUSE_CARET" = "yes"; then
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_CARET 1
46340 _ACEOF
46341
46342 USES_CONTROLS=1
46343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46344 fi
46345
46346 if test "$wxUSE_COLLPANE" = "yes"; then
46347 cat >>confdefs.h <<\_ACEOF
46348 #define wxUSE_COLLPANE 1
46349 _ACEOF
46350
46351 USES_CONTROLS=1
46352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46353 fi
46354
46355 if test "$wxUSE_COMBOBOX" = "yes"; then
46356 cat >>confdefs.h <<\_ACEOF
46357 #define wxUSE_COMBOBOX 1
46358 _ACEOF
46359
46360 USES_CONTROLS=1
46361 fi
46362
46363 if test "$wxUSE_COMBOCTRL" = "yes"; then
46364 cat >>confdefs.h <<\_ACEOF
46365 #define wxUSE_COMBOCTRL 1
46366 _ACEOF
46367
46368 USES_CONTROLS=1
46369 fi
46370
46371 if test "$wxUSE_CHOICE" = "yes"; then
46372 cat >>confdefs.h <<\_ACEOF
46373 #define wxUSE_CHOICE 1
46374 _ACEOF
46375
46376 USES_CONTROLS=1
46377 fi
46378
46379 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46380 cat >>confdefs.h <<\_ACEOF
46381 #define wxUSE_CHOICEBOOK 1
46382 _ACEOF
46383
46384 USES_CONTROLS=1
46385 fi
46386
46387 if test "$wxUSE_CHECKBOX" = "yes"; then
46388 cat >>confdefs.h <<\_ACEOF
46389 #define wxUSE_CHECKBOX 1
46390 _ACEOF
46391
46392 USES_CONTROLS=1
46393 fi
46394
46395 if test "$wxUSE_CHECKLST" = "yes"; then
46396 cat >>confdefs.h <<\_ACEOF
46397 #define wxUSE_CHECKLISTBOX 1
46398 _ACEOF
46399
46400 USES_CONTROLS=1
46401 fi
46402
46403 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_COLOURPICKERCTRL 1
46406 _ACEOF
46407
46408 USES_CONTROLS=1
46409 fi
46410
46411 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_DATEPICKCTRL 1
46414 _ACEOF
46415
46416 USES_CONTROLS=1
46417 fi
46418
46419 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46420 cat >>confdefs.h <<\_ACEOF
46421 #define wxUSE_DIRPICKERCTRL 1
46422 _ACEOF
46423
46424 USES_CONTROLS=1
46425 fi
46426
46427 if test "$wxUSE_FILECTRL" = "yes"; then
46428 cat >>confdefs.h <<\_ACEOF
46429 #define wxUSE_FILECTRL 1
46430 _ACEOF
46431
46432 USES_CONTROLS=1
46433 fi
46434
46435 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46436 cat >>confdefs.h <<\_ACEOF
46437 #define wxUSE_FILEPICKERCTRL 1
46438 _ACEOF
46439
46440 USES_CONTROLS=1
46441 fi
46442
46443 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46444 cat >>confdefs.h <<\_ACEOF
46445 #define wxUSE_FONTPICKERCTRL 1
46446 _ACEOF
46447
46448 USES_CONTROLS=1
46449 fi
46450
46451 if test "$wxUSE_DISPLAY" = "yes"; then
46452 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46453 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46454 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46455 wxUSE_DISPLAY=no
46456 else
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_DISPLAY 1
46459 _ACEOF
46460
46461 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
46462 fi
46463 fi
46464
46465 if test "$wxUSE_DETECT_SM" = "yes"; then
46466 cat >>confdefs.h <<\_ACEOF
46467 #define wxUSE_DETECT_SM 1
46468 _ACEOF
46469
46470 fi
46471
46472 if test "$wxUSE_GAUGE" = "yes"; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_GAUGE 1
46475 _ACEOF
46476
46477 USES_CONTROLS=1
46478 fi
46479
46480 if test "$wxUSE_GRID" = "yes"; then
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_GRID 1
46483 _ACEOF
46484
46485 USES_CONTROLS=1
46486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46487 fi
46488
46489 if test "$wxUSE_HEADERCTRL" = "yes"; then
46490 cat >>confdefs.h <<\_ACEOF
46491 #define wxUSE_HEADERCTRL 1
46492 _ACEOF
46493
46494 USES_CONTROLS=1
46495 fi
46496
46497 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46498 cat >>confdefs.h <<\_ACEOF
46499 #define wxUSE_HYPERLINKCTRL 1
46500 _ACEOF
46501
46502 USES_CONTROLS=1
46503 fi
46504
46505 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46506 cat >>confdefs.h <<\_ACEOF
46507 #define wxUSE_BITMAPCOMBOBOX 1
46508 _ACEOF
46509
46510 USES_CONTROLS=1
46511 fi
46512
46513 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_DATAVIEWCTRL 1
46516 _ACEOF
46517
46518 USES_CONTROLS=1
46519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46520 fi
46521
46522 if test "$wxUSE_IMAGLIST" = "yes"; then
46523 cat >>confdefs.h <<\_ACEOF
46524 #define wxUSE_IMAGLIST 1
46525 _ACEOF
46526
46527 fi
46528
46529 if test "$wxUSE_INFOBAR" = "yes"; then
46530 cat >>confdefs.h <<\_ACEOF
46531 #define wxUSE_INFOBAR 1
46532 _ACEOF
46533
46534 fi
46535
46536 if test "$wxUSE_LISTBOOK" = "yes"; then
46537 cat >>confdefs.h <<\_ACEOF
46538 #define wxUSE_LISTBOOK 1
46539 _ACEOF
46540
46541 USES_CONTROLS=1
46542 fi
46543
46544 if test "$wxUSE_LISTBOX" = "yes"; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_LISTBOX 1
46547 _ACEOF
46548
46549 USES_CONTROLS=1
46550 fi
46551
46552 if test "$wxUSE_LISTCTRL" = "yes"; then
46553 if test "$wxUSE_IMAGLIST" = "yes"; then
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_LISTCTRL 1
46556 _ACEOF
46557
46558 USES_CONTROLS=1
46559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46560 else
46561 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46562 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46563 fi
46564 fi
46565
46566 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46567 cat >>confdefs.h <<\_ACEOF
46568 #define wxUSE_EDITABLELISTBOX 1
46569 _ACEOF
46570
46571 USES_CONTROLS=1
46572 fi
46573
46574 if test "$wxUSE_NOTEBOOK" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_NOTEBOOK 1
46577 _ACEOF
46578
46579 USES_CONTROLS=1
46580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46581 fi
46582
46583 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46584 cat >>confdefs.h <<\_ACEOF
46585 #define wxUSE_NOTIFICATION_MESSAGE 1
46586 _ACEOF
46587
46588 fi
46589
46590 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46591 cat >>confdefs.h <<\_ACEOF
46592 #define wxUSE_ODCOMBOBOX 1
46593 _ACEOF
46594
46595 USES_CONTROLS=1
46596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46597 fi
46598
46599 if test "$wxUSE_RADIOBOX" = "yes"; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_RADIOBOX 1
46602 _ACEOF
46603
46604 USES_CONTROLS=1
46605 fi
46606
46607 if test "$wxUSE_RADIOBTN" = "yes"; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_RADIOBTN 1
46610 _ACEOF
46611
46612 USES_CONTROLS=1
46613 fi
46614
46615 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46616 cat >>confdefs.h <<\_ACEOF
46617 #define wxUSE_REARRANGECTRL 1
46618 _ACEOF
46619
46620 fi
46621
46622 if test "$wxUSE_SASH" = "yes"; then
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_SASH 1
46625 _ACEOF
46626
46627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46628 fi
46629
46630 if test "$wxUSE_SCROLLBAR" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_SCROLLBAR 1
46633 _ACEOF
46634
46635 USES_CONTROLS=1
46636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46637 fi
46638
46639 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46640 cat >>confdefs.h <<\_ACEOF
46641 #define wxUSE_SEARCHCTRL 1
46642 _ACEOF
46643
46644 USES_CONTROLS=1
46645 fi
46646
46647 if test "$wxUSE_SLIDER" = "yes"; then
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_SLIDER 1
46650 _ACEOF
46651
46652 USES_CONTROLS=1
46653 fi
46654
46655 if test "$wxUSE_SPINBTN" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_SPINBTN 1
46658 _ACEOF
46659
46660 USES_CONTROLS=1
46661 fi
46662
46663 if test "$wxUSE_SPINCTRL" = "yes"; then
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_SPINCTRL 1
46666 _ACEOF
46667
46668 USES_CONTROLS=1
46669 fi
46670
46671 if test "$wxUSE_SPLITTER" = "yes"; then
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_SPLITTER 1
46674 _ACEOF
46675
46676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46677 fi
46678
46679 if test "$wxUSE_STATBMP" = "yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_STATBMP 1
46682 _ACEOF
46683
46684 USES_CONTROLS=1
46685 fi
46686
46687 if test "$wxUSE_STATBOX" = "yes"; then
46688 cat >>confdefs.h <<\_ACEOF
46689 #define wxUSE_STATBOX 1
46690 _ACEOF
46691
46692 USES_CONTROLS=1
46693 fi
46694
46695 if test "$wxUSE_STATTEXT" = "yes"; then
46696 cat >>confdefs.h <<\_ACEOF
46697 #define wxUSE_STATTEXT 1
46698 _ACEOF
46699
46700 USES_CONTROLS=1
46701 fi
46702
46703 if test "$wxUSE_STATLINE" = "yes"; then
46704 cat >>confdefs.h <<\_ACEOF
46705 #define wxUSE_STATLINE 1
46706 _ACEOF
46707
46708 USES_CONTROLS=1
46709 fi
46710
46711 if test "$wxUSE_STATUSBAR" = "yes"; then
46712 cat >>confdefs.h <<\_ACEOF
46713 #define wxUSE_NATIVE_STATUSBAR 1
46714 _ACEOF
46715
46716 cat >>confdefs.h <<\_ACEOF
46717 #define wxUSE_STATUSBAR 1
46718 _ACEOF
46719
46720 USES_CONTROLS=1
46721
46722 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46723 fi
46724
46725 if test "$wxUSE_TEXTCTRL" = "yes"; then
46726 cat >>confdefs.h <<\_ACEOF
46727 #define wxUSE_TEXTCTRL 1
46728 _ACEOF
46729
46730 USES_CONTROLS=1
46731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46732
46733 cat >>confdefs.h <<\_ACEOF
46734 #define wxUSE_RICHEDIT 1
46735 _ACEOF
46736
46737 cat >>confdefs.h <<\_ACEOF
46738 #define wxUSE_RICHEDIT2 1
46739 _ACEOF
46740
46741 fi
46742
46743 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46744 if test "$wxUSE_OLD_COCOA" = 1 ; then
46745 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46746 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46747 wxUSE_TOGGLEBTN=no
46748 fi
46749
46750 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46751 cat >>confdefs.h <<\_ACEOF
46752 #define wxUSE_TOGGLEBTN 1
46753 _ACEOF
46754
46755 USES_CONTROLS=1
46756 fi
46757 fi
46758
46759 if test "$wxUSE_TOOLBAR" = "yes"; then
46760 cat >>confdefs.h <<\_ACEOF
46761 #define wxUSE_TOOLBAR 1
46762 _ACEOF
46763
46764 USES_CONTROLS=1
46765
46766 if test "$wxUSE_UNIVERSAL" = "yes"; then
46767 wxUSE_TOOLBAR_NATIVE="no"
46768 else
46769 wxUSE_TOOLBAR_NATIVE="yes"
46770 cat >>confdefs.h <<\_ACEOF
46771 #define wxUSE_TOOLBAR_NATIVE 1
46772 _ACEOF
46773
46774 fi
46775
46776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46777 fi
46778
46779 if test "$wxUSE_TOOLTIPS" = "yes"; then
46780 if test "$wxUSE_MOTIF" = 1; then
46781 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46782 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46783 else
46784 if test "$wxUSE_UNIVERSAL" = "yes"; then
46785 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46786 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46787 else
46788 cat >>confdefs.h <<\_ACEOF
46789 #define wxUSE_TOOLTIPS 1
46790 _ACEOF
46791
46792 fi
46793 fi
46794 fi
46795
46796 if test "$wxUSE_TREEBOOK" = "yes"; then
46797 cat >>confdefs.h <<\_ACEOF
46798 #define wxUSE_TREEBOOK 1
46799 _ACEOF
46800
46801 USES_CONTROLS=1
46802 fi
46803
46804 if test "$wxUSE_TOOLBOOK" = "yes"; then
46805 cat >>confdefs.h <<\_ACEOF
46806 #define wxUSE_TOOLBOOK 1
46807 _ACEOF
46808
46809 USES_CONTROLS=1
46810 fi
46811
46812 if test "$wxUSE_TREECTRL" = "yes"; then
46813 if test "$wxUSE_IMAGLIST" = "yes"; then
46814 cat >>confdefs.h <<\_ACEOF
46815 #define wxUSE_TREECTRL 1
46816 _ACEOF
46817
46818 USES_CONTROLS=1
46819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46820 else
46821 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46822 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46823 fi
46824 fi
46825
46826 if test "$wxUSE_POPUPWIN" = "yes"; then
46827 if test "$wxUSE_OLD_COCOA" = 1 ; then
46828 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46829 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46830 else
46831 if test "$wxUSE_PM" = 1; then
46832 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46833 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46834 else
46835 cat >>confdefs.h <<\_ACEOF
46836 #define wxUSE_POPUPWIN 1
46837 _ACEOF
46838
46839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46840
46841 USES_CONTROLS=1
46842 fi
46843 fi
46844 fi
46845
46846 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46847 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46848 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46849 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46850 else
46851 cat >>confdefs.h <<\_ACEOF
46852 #define wxUSE_DIALUP_MANAGER 1
46853 _ACEOF
46854
46855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46856 fi
46857 fi
46858
46859 if test "$wxUSE_TIPWINDOW" = "yes"; then
46860 if test "$wxUSE_PM" = 1; then
46861 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46862 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46863 else
46864 cat >>confdefs.h <<\_ACEOF
46865 #define wxUSE_TIPWINDOW 1
46866 _ACEOF
46867
46868 fi
46869 fi
46870
46871 if test "$USES_CONTROLS" = 1; then
46872 cat >>confdefs.h <<\_ACEOF
46873 #define wxUSE_CONTROLS 1
46874 _ACEOF
46875
46876 fi
46877
46878
46879 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46880 cat >>confdefs.h <<\_ACEOF
46881 #define wxUSE_ACCESSIBILITY 1
46882 _ACEOF
46883
46884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46885 fi
46886
46887 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46888 cat >>confdefs.h <<\_ACEOF
46889 #define wxUSE_DRAGIMAGE 1
46890 _ACEOF
46891
46892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46893 fi
46894
46895 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46896 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46897 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46898 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46899 else
46900 cat >>confdefs.h <<\_ACEOF
46901 #define wxUSE_EXCEPTIONS 1
46902 _ACEOF
46903
46904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46905 fi
46906 fi
46907
46908 USE_HTML=0
46909 if test "$wxUSE_HTML" = "yes"; then
46910 cat >>confdefs.h <<\_ACEOF
46911 #define wxUSE_HTML 1
46912 _ACEOF
46913
46914 USE_HTML=1
46915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46916 fi
46917 if test "$wxUSE_WEBKIT" = "yes"; then
46918 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46919 old_CPPFLAGS="$CPPFLAGS"
46920 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46921 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46922 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46923 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46924 echo $ECHO_N "(cached) $ECHO_C" >&6
46925 else
46926 cat >conftest.$ac_ext <<_ACEOF
46927 /* confdefs.h. */
46928 _ACEOF
46929 cat confdefs.h >>conftest.$ac_ext
46930 cat >>conftest.$ac_ext <<_ACEOF
46931 /* end confdefs.h. */
46932
46933 #include <Carbon/Carbon.h>
46934 #include <WebKit/WebKit.h>
46935
46936
46937 #include <WebKit/HIWebView.h>
46938 _ACEOF
46939 rm -f conftest.$ac_objext
46940 if { (ac_try="$ac_compile"
46941 case "(($ac_try" in
46942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46943 *) ac_try_echo=$ac_try;;
46944 esac
46945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46946 (eval "$ac_compile") 2>conftest.er1
46947 ac_status=$?
46948 grep -v '^ *+' conftest.er1 >conftest.err
46949 rm -f conftest.er1
46950 cat conftest.err >&5
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); } && {
46953 test -z "$ac_c_werror_flag" ||
46954 test ! -s conftest.err
46955 } && test -s conftest.$ac_objext; then
46956 ac_cv_header_WebKit_HIWebView_h=yes
46957 else
46958 echo "$as_me: failed program was:" >&5
46959 sed 's/^/| /' conftest.$ac_ext >&5
46960
46961 ac_cv_header_WebKit_HIWebView_h=no
46962 fi
46963
46964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46965 fi
46966 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46967 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46968 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46969
46970 cat >>confdefs.h <<\_ACEOF
46971 #define wxUSE_WEBKIT 1
46972 _ACEOF
46973
46974 WEBKIT_LINK="-framework WebKit"
46975
46976 else
46977
46978 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46979 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46980 wxUSE_WEBKIT=no
46981
46982 fi
46983
46984
46985 CPPFLAGS="$old_CPPFLAGS"
46986 elif test "$wxUSE_OLD_COCOA" = 1; then
46987 cat >>confdefs.h <<\_ACEOF
46988 #define wxUSE_WEBKIT 1
46989 _ACEOF
46990
46991 else
46992 wxUSE_WEBKIT=no
46993 fi
46994 if test "$wxUSE_WEBKIT" = "yes"; then
46995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46996 fi
46997 fi
46998
46999 USE_XRC=0
47000 if test "$wxUSE_XRC" = "yes"; then
47001 if test "$wxUSE_XML" != "yes"; then
47002 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47003 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47004 wxUSE_XRC=no
47005 else
47006 cat >>confdefs.h <<\_ACEOF
47007 #define wxUSE_XRC 1
47008 _ACEOF
47009
47010 USE_XRC=1
47011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47012 fi
47013 fi
47014
47015 USE_AUI=0
47016 if test "$wxUSE_AUI" = "yes"; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_AUI 1
47019 _ACEOF
47020
47021 USE_AUI=1
47022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47023 fi
47024
47025 USE_PROPGRID=0
47026 if test "$wxUSE_PROPGRID" = "yes"; then
47027 cat >>confdefs.h <<\_ACEOF
47028 #define wxUSE_PROPGRID 1
47029 _ACEOF
47030
47031 USE_PROPGRID=1
47032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
47033 fi
47034
47035 USE_RIBBON=0
47036 if test "$wxUSE_RIBBON" = "yes"; then
47037 cat >>confdefs.h <<\_ACEOF
47038 #define wxUSE_RIBBON 1
47039 _ACEOF
47040
47041 USE_RIBBON=1
47042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
47043 fi
47044
47045 USE_STC=0
47046 if test "$wxUSE_STC" = "yes"; then
47047 cat >>confdefs.h <<\_ACEOF
47048 #define wxUSE_STC 1
47049 _ACEOF
47050
47051 USE_STC=1
47052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47053
47054 # Extract the first word of "python", so it can be a program name with args.
47055 set dummy python; ac_word=$2
47056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47058 if test "${ac_cv_path_PYTHON+set}" = set; then
47059 echo $ECHO_N "(cached) $ECHO_C" >&6
47060 else
47061 case $PYTHON in
47062 [\\/]* | ?:[\\/]*)
47063 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
47064 ;;
47065 *)
47066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47067 for as_dir in $PATH
47068 do
47069 IFS=$as_save_IFS
47070 test -z "$as_dir" && as_dir=.
47071 for ac_exec_ext in '' $ac_executable_extensions; do
47072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47073 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
47074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47075 break 2
47076 fi
47077 done
47078 done
47079 IFS=$as_save_IFS
47080
47081 ;;
47082 esac
47083 fi
47084 PYTHON=$ac_cv_path_PYTHON
47085 if test -n "$PYTHON"; then
47086 { echo "$as_me:$LINENO: result: $PYTHON" >&5
47087 echo "${ECHO_T}$PYTHON" >&6; }
47088 else
47089 { echo "$as_me:$LINENO: result: no" >&5
47090 echo "${ECHO_T}no" >&6; }
47091 fi
47092
47093
47094 if test "x$PYTHON" = "x"; then
47095 COND_PYTHON="#"
47096 fi
47097
47098 fi
47099
47100 if test "$wxUSE_MENUS" = "yes"; then
47101 cat >>confdefs.h <<\_ACEOF
47102 #define wxUSE_MENUS 1
47103 _ACEOF
47104
47105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47106 fi
47107
47108 if test "$wxUSE_METAFILE" = "yes"; then
47109 cat >>confdefs.h <<\_ACEOF
47110 #define wxUSE_METAFILE 1
47111 _ACEOF
47112
47113 fi
47114
47115 if test "$wxUSE_MIMETYPE" = "yes"; then
47116 cat >>confdefs.h <<\_ACEOF
47117 #define wxUSE_MIMETYPE 1
47118 _ACEOF
47119
47120 fi
47121
47122 if test "$wxUSE_MINIFRAME" = "yes"; then
47123 cat >>confdefs.h <<\_ACEOF
47124 #define wxUSE_MINIFRAME 1
47125 _ACEOF
47126
47127 fi
47128
47129 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47130 cat >>confdefs.h <<\_ACEOF
47131 #define wxUSE_SYSTEM_OPTIONS 1
47132 _ACEOF
47133
47134 fi
47135
47136 if test "$wxUSE_TASKBARICON" = "yes"; then
47137 cat >>confdefs.h <<\_ACEOF
47138 #define wxUSE_TASKBARICON 1
47139 _ACEOF
47140
47141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47142 fi
47143
47144
47145 if test "$wxUSE_VALIDATORS" = "yes"; then
47146 cat >>confdefs.h <<\_ACEOF
47147 #define wxUSE_VALIDATORS 1
47148 _ACEOF
47149
47150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47151 fi
47152
47153 if test "$wxUSE_PALETTE" = "yes" ; then
47154 if test "$wxUSE_DFB" = 1; then
47155 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47156 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47157 wxUSE_PALETTE=no
47158 else
47159 cat >>confdefs.h <<\_ACEOF
47160 #define wxUSE_PALETTE 1
47161 _ACEOF
47162
47163 fi
47164 fi
47165
47166 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47167 LIBS=" -lunicows $LIBS"
47168 fi
47169
47170 USE_RICHTEXT=0
47171 if test "$wxUSE_RICHTEXT" = "yes"; then
47172 cat >>confdefs.h <<\_ACEOF
47173 #define wxUSE_RICHTEXT 1
47174 _ACEOF
47175
47176 USE_RICHTEXT=1
47177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47178 fi
47179
47180
47181 if test "$wxUSE_IMAGE" = "yes" ; then
47182 cat >>confdefs.h <<\_ACEOF
47183 #define wxUSE_IMAGE 1
47184 _ACEOF
47185
47186
47187 if test "$wxUSE_GIF" = "yes" ; then
47188 cat >>confdefs.h <<\_ACEOF
47189 #define wxUSE_GIF 1
47190 _ACEOF
47191
47192 fi
47193
47194 if test "$wxUSE_PCX" = "yes" ; then
47195 cat >>confdefs.h <<\_ACEOF
47196 #define wxUSE_PCX 1
47197 _ACEOF
47198
47199 fi
47200
47201 if test "$wxUSE_TGA" = "yes" ; then
47202 cat >>confdefs.h <<\_ACEOF
47203 #define wxUSE_TGA 1
47204 _ACEOF
47205
47206 fi
47207
47208 if test "$wxUSE_IFF" = "yes" ; then
47209 cat >>confdefs.h <<\_ACEOF
47210 #define wxUSE_IFF 1
47211 _ACEOF
47212
47213 fi
47214
47215 if test "$wxUSE_PNM" = "yes" ; then
47216 cat >>confdefs.h <<\_ACEOF
47217 #define wxUSE_PNM 1
47218 _ACEOF
47219
47220 fi
47221
47222 if test "$wxUSE_XPM" = "yes" ; then
47223 cat >>confdefs.h <<\_ACEOF
47224 #define wxUSE_XPM 1
47225 _ACEOF
47226
47227 fi
47228
47229 if test "$wxUSE_ICO_CUR" = "yes" ; then
47230 cat >>confdefs.h <<\_ACEOF
47231 #define wxUSE_ICO_CUR 1
47232 _ACEOF
47233
47234 fi
47235 fi
47236
47237
47238 if test "$wxUSE_ABOUTDLG" = "yes"; then
47239 cat >>confdefs.h <<\_ACEOF
47240 #define wxUSE_ABOUTDLG 1
47241 _ACEOF
47242
47243 fi
47244
47245 if test "$wxUSE_CHOICEDLG" = "yes"; then
47246 cat >>confdefs.h <<\_ACEOF
47247 #define wxUSE_CHOICEDLG 1
47248 _ACEOF
47249
47250 fi
47251
47252 if test "$wxUSE_COLOURDLG" = "yes"; then
47253 cat >>confdefs.h <<\_ACEOF
47254 #define wxUSE_COLOURDLG 1
47255 _ACEOF
47256
47257 fi
47258
47259 if test "$wxUSE_FILEDLG" = "yes"; then
47260 cat >>confdefs.h <<\_ACEOF
47261 #define wxUSE_FILEDLG 1
47262 _ACEOF
47263
47264 fi
47265
47266 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47267 cat >>confdefs.h <<\_ACEOF
47268 #define wxUSE_FINDREPLDLG 1
47269 _ACEOF
47270
47271 fi
47272
47273 if test "$wxUSE_FONTDLG" = "yes"; then
47274 cat >>confdefs.h <<\_ACEOF
47275 #define wxUSE_FONTDLG 1
47276 _ACEOF
47277
47278 fi
47279
47280 if test "$wxUSE_DIRDLG" = "yes"; then
47281 if test "$wxUSE_TREECTRL" != "yes"; then
47282 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47283 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47284 else
47285 cat >>confdefs.h <<\_ACEOF
47286 #define wxUSE_DIRDLG 1
47287 _ACEOF
47288
47289 fi
47290 fi
47291
47292 if test "$wxUSE_MSGDLG" = "yes"; then
47293 cat >>confdefs.h <<\_ACEOF
47294 #define wxUSE_MSGDLG 1
47295 _ACEOF
47296
47297 fi
47298
47299 if test "$wxUSE_NUMBERDLG" = "yes"; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_NUMBERDLG 1
47302 _ACEOF
47303
47304 fi
47305
47306 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47307 cat >>confdefs.h <<\_ACEOF
47308 #define wxUSE_PROGRESSDLG 1
47309 _ACEOF
47310
47311 fi
47312
47313 if test "$wxUSE_SPLASH" = "yes"; then
47314 cat >>confdefs.h <<\_ACEOF
47315 #define wxUSE_SPLASH 1
47316 _ACEOF
47317
47318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47319 fi
47320
47321 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47322 cat >>confdefs.h <<\_ACEOF
47323 #define wxUSE_STARTUP_TIPS 1
47324 _ACEOF
47325
47326 fi
47327
47328 if test "$wxUSE_TEXTDLG" = "yes"; then
47329 cat >>confdefs.h <<\_ACEOF
47330 #define wxUSE_TEXTDLG 1
47331 _ACEOF
47332
47333 fi
47334
47335 if test "$wxUSE_WIZARDDLG" = "yes"; then
47336 cat >>confdefs.h <<\_ACEOF
47337 #define wxUSE_WIZARDDLG 1
47338 _ACEOF
47339
47340 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47341 fi
47342
47343
47344 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47345 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47346 cat >>confdefs.h <<\_ACEOF
47347 #define wxUSE_OWNER_DRAWN 1
47348 _ACEOF
47349
47350 fi
47351 fi
47352
47353
47354 if test "$wxUSE_MSW" = 1 ; then
47355
47356 if test "$wxUSE_DC_CACHEING" = "yes"; then
47357 cat >>confdefs.h <<\_ACEOF
47358 #define wxUSE_DC_CACHEING 1
47359 _ACEOF
47360
47361 fi
47362
47363 if test "$wxUSE_DIB" = "yes"; then
47364 cat >>confdefs.h <<\_ACEOF
47365 #define wxUSE_WXDIB 1
47366 _ACEOF
47367
47368 fi
47369
47370 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47371 cat >>confdefs.h <<\_ACEOF
47372 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47373 _ACEOF
47374
47375 fi
47376
47377 if test "$wxUSE_UXTHEME" = "yes"; then
47378 cat >>confdefs.h <<\_ACEOF
47379 #define wxUSE_UXTHEME 1
47380 _ACEOF
47381
47382 fi
47383
47384 fi
47385
47386 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47387 cat >>confdefs.h <<\_ACEOF
47388 #define wxUSE_AUTOID_MANAGEMENT 1
47389 _ACEOF
47390
47391 fi
47392
47393 if test "$USE_WIN32" = 1 ; then
47394 if test "$wxUSE_INICONF" = "yes"; then
47395 cat >>confdefs.h <<\_ACEOF
47396 #define wxUSE_INICONF 1
47397 _ACEOF
47398
47399 fi
47400
47401 if test "$wxUSE_REGKEY" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_REGKEY 1
47404 _ACEOF
47405
47406 fi
47407 fi
47408
47409
47410 if test "$wxUSE_MAC" = 1; then
47411 wxUSE_GRAPHICS_CONTEXT="yes"
47412 fi
47413
47414 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47415 wx_has_graphics=0
47416 if test "$wxUSE_MSW" = 1; then
47417 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47418 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47419 if test "${wx_cv_lib_gdiplus+set}" = set; then
47420 echo $ECHO_N "(cached) $ECHO_C" >&6
47421 else
47422
47423 ac_ext=cpp
47424 ac_cpp='$CXXCPP $CPPFLAGS'
47425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47428
47429 cat >conftest.$ac_ext <<_ACEOF
47430 /* confdefs.h. */
47431 _ACEOF
47432 cat confdefs.h >>conftest.$ac_ext
47433 cat >>conftest.$ac_ext <<_ACEOF
47434 /* end confdefs.h. */
47435 #include <gdiplus.h>
47436 int
47437 main ()
47438 {
47439
47440 using namespace Gdiplus;
47441
47442 ;
47443 return 0;
47444 }
47445 _ACEOF
47446 rm -f conftest.$ac_objext
47447 if { (ac_try="$ac_compile"
47448 case "(($ac_try" in
47449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47450 *) ac_try_echo=$ac_try;;
47451 esac
47452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47453 (eval "$ac_compile") 2>conftest.er1
47454 ac_status=$?
47455 grep -v '^ *+' conftest.er1 >conftest.err
47456 rm -f conftest.er1
47457 cat conftest.err >&5
47458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47459 (exit $ac_status); } && {
47460 test -z "$ac_cxx_werror_flag" ||
47461 test ! -s conftest.err
47462 } && test -s conftest.$ac_objext; then
47463 wx_cv_lib_gdiplus=yes
47464 else
47465 echo "$as_me: failed program was:" >&5
47466 sed 's/^/| /' conftest.$ac_ext >&5
47467
47468 wx_cv_lib_gdiplus=no
47469
47470 fi
47471
47472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47473 ac_ext=c
47474 ac_cpp='$CPP $CPPFLAGS'
47475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47478
47479
47480
47481 fi
47482 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47483 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47484 if test "$wx_cv_lib_gdiplus" = "yes"; then
47485 wx_has_graphics=1
47486 fi
47487 elif test "$wxUSE_GTK" = 1; then
47488
47489 pkg_failed=no
47490 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47491 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47492
47493 if test -n "$PKG_CONFIG"; then
47494 if test -n "$CAIRO_CFLAGS"; then
47495 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47496 else
47497 if test -n "$PKG_CONFIG" && \
47498 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47499 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47500 ac_status=$?
47501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47502 (exit $ac_status); }; then
47503 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47504 else
47505 pkg_failed=yes
47506 fi
47507 fi
47508 else
47509 pkg_failed=untried
47510 fi
47511 if test -n "$PKG_CONFIG"; then
47512 if test -n "$CAIRO_LIBS"; then
47513 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47514 else
47515 if test -n "$PKG_CONFIG" && \
47516 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47517 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47518 ac_status=$?
47519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47520 (exit $ac_status); }; then
47521 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47522 else
47523 pkg_failed=yes
47524 fi
47525 fi
47526 else
47527 pkg_failed=untried
47528 fi
47529
47530
47531
47532 if test $pkg_failed = yes; then
47533
47534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47535 _pkg_short_errors_supported=yes
47536 else
47537 _pkg_short_errors_supported=no
47538 fi
47539 if test $_pkg_short_errors_supported = yes; then
47540 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47541 else
47542 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47543 fi
47544 # Put the nasty error message in config.log where it belongs
47545 echo "$CAIRO_PKG_ERRORS" >&5
47546
47547 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47548 echo "$as_me: WARNING: Cairo library not found" >&2;}
47549
47550 elif test $pkg_failed = untried; then
47551 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47552 echo "$as_me: WARNING: Cairo library not found" >&2;}
47553
47554 else
47555 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47556 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47557 { echo "$as_me:$LINENO: result: yes" >&5
47558 echo "${ECHO_T}yes" >&6; }
47559 wx_has_graphics=1
47560 fi
47561 else
47562 wx_has_graphics=1
47563 fi
47564
47565 if test "$wx_has_graphics" = 1; then
47566 cat >>confdefs.h <<\_ACEOF
47567 #define wxUSE_GRAPHICS_CONTEXT 1
47568 _ACEOF
47569
47570 else
47571 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47572 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47573 fi
47574 fi
47575
47576
47577 USE_MEDIA=0
47578
47579 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47580 USE_MEDIA=1
47581
47582 if test "$wxUSE_GTK" = 1; then
47583 wxUSE_GSTREAMER="no"
47584
47585 GST_VERSION_MAJOR=0
47586 GST_VERSION_MINOR=10
47587 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47588
47589 if test "$wxUSE_GSTREAMER8" = "no"; then
47590
47591 pkg_failed=no
47592 { echo "$as_me:$LINENO: checking for GST" >&5
47593 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47594
47595 if test -n "$PKG_CONFIG"; then
47596 if test -n "$GST_CFLAGS"; then
47597 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47598 else
47599 if test -n "$PKG_CONFIG" && \
47600 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47601 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47602 ac_status=$?
47603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47604 (exit $ac_status); }; then
47605 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47606 else
47607 pkg_failed=yes
47608 fi
47609 fi
47610 else
47611 pkg_failed=untried
47612 fi
47613 if test -n "$PKG_CONFIG"; then
47614 if test -n "$GST_LIBS"; then
47615 pkg_cv_GST_LIBS="$GST_LIBS"
47616 else
47617 if test -n "$PKG_CONFIG" && \
47618 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47619 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47620 ac_status=$?
47621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47622 (exit $ac_status); }; then
47623 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47624 else
47625 pkg_failed=yes
47626 fi
47627 fi
47628 else
47629 pkg_failed=untried
47630 fi
47631
47632
47633
47634 if test $pkg_failed = yes; then
47635
47636 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47637 _pkg_short_errors_supported=yes
47638 else
47639 _pkg_short_errors_supported=no
47640 fi
47641 if test $_pkg_short_errors_supported = yes; then
47642 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47643 else
47644 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47645 fi
47646 # Put the nasty error message in config.log where it belongs
47647 echo "$GST_PKG_ERRORS" >&5
47648
47649
47650 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47651 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47652 GST_VERSION_MINOR=8
47653
47654
47655 elif test $pkg_failed = untried; then
47656
47657 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47658 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47659 GST_VERSION_MINOR=8
47660
47661
47662 else
47663 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47664 GST_LIBS=$pkg_cv_GST_LIBS
47665 { echo "$as_me:$LINENO: result: yes" >&5
47666 echo "${ECHO_T}yes" >&6; }
47667
47668 wxUSE_GSTREAMER="yes"
47669 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47670
47671 fi
47672 else
47673 GST_VERSION_MINOR=8
47674 fi
47675
47676 if test $GST_VERSION_MINOR = "8"; then
47677 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47678
47679 pkg_failed=no
47680 { echo "$as_me:$LINENO: checking for GST" >&5
47681 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47682
47683 if test -n "$PKG_CONFIG"; then
47684 if test -n "$GST_CFLAGS"; then
47685 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47686 else
47687 if test -n "$PKG_CONFIG" && \
47688 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47689 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47690 ac_status=$?
47691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47692 (exit $ac_status); }; then
47693 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47694 else
47695 pkg_failed=yes
47696 fi
47697 fi
47698 else
47699 pkg_failed=untried
47700 fi
47701 if test -n "$PKG_CONFIG"; then
47702 if test -n "$GST_LIBS"; then
47703 pkg_cv_GST_LIBS="$GST_LIBS"
47704 else
47705 if test -n "$PKG_CONFIG" && \
47706 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47707 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47708 ac_status=$?
47709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47710 (exit $ac_status); }; then
47711 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47712 else
47713 pkg_failed=yes
47714 fi
47715 fi
47716 else
47717 pkg_failed=untried
47718 fi
47719
47720
47721
47722 if test $pkg_failed = yes; then
47723
47724 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47725 _pkg_short_errors_supported=yes
47726 else
47727 _pkg_short_errors_supported=no
47728 fi
47729 if test $_pkg_short_errors_supported = yes; then
47730 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47731 else
47732 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47733 fi
47734 # Put the nasty error message in config.log where it belongs
47735 echo "$GST_PKG_ERRORS" >&5
47736
47737
47738 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47739 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47740
47741 elif test $pkg_failed = untried; then
47742
47743 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47744 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47745
47746 else
47747 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47748 GST_LIBS=$pkg_cv_GST_LIBS
47749 { echo "$as_me:$LINENO: result: yes" >&5
47750 echo "${ECHO_T}yes" >&6; }
47751 wxUSE_GSTREAMER="yes"
47752 fi
47753 fi
47754
47755
47756 if test "$wxUSE_GSTREAMER" = "yes"; then
47757 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47758 EXTRALIBS_MEDIA="$GST_LIBS"
47759
47760 cat >>confdefs.h <<\_ACEOF
47761 #define wxUSE_GSTREAMER 1
47762 _ACEOF
47763
47764 else
47765 USE_MEDIA=0
47766 fi
47767 fi
47768
47769 if test $USE_MEDIA = 1; then
47770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47771 cat >>confdefs.h <<\_ACEOF
47772 #define wxUSE_MEDIACTRL 1
47773 _ACEOF
47774
47775 else
47776 if test "$wxUSE_MEDIACTRL" = "yes"; then
47777 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47778 echo "$as_me: error: GStreamer not available" >&2;}
47779 { (exit 1); exit 1; }; }
47780 else
47781 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47782 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47783 fi
47784 fi
47785 fi
47786
47787
47788 if test "$cross_compiling" != "no"; then
47789 OSINFO="\"$host\""
47790 else
47791 OSINFO=`uname -s -r -m`
47792 OSINFO="\"$OSINFO\""
47793 fi
47794
47795 cat >>confdefs.h <<_ACEOF
47796 #define WXWIN_OS_DESCRIPTION $OSINFO
47797 _ACEOF
47798
47799
47800
47801 if test "x$prefix" != "xNONE"; then
47802 wxPREFIX=$prefix
47803 else
47804 wxPREFIX=$ac_default_prefix
47805 fi
47806
47807 cat >>confdefs.h <<_ACEOF
47808 #define wxINSTALL_PREFIX "$wxPREFIX"
47809 _ACEOF
47810
47811
47812
47813
47814 STD_BASE_LIBS="base"
47815 STD_GUI_LIBS=""
47816 BUILT_WX_LIBS="base"
47817 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47818
47819 if test "$wxUSE_SOCKETS" = "yes" ; then
47820 STD_BASE_LIBS="net $STD_BASE_LIBS"
47821 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47822 fi
47823 if test "$wxUSE_XML" = "yes" ; then
47824 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47825 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47826 fi
47827
47828 if test "$wxUSE_GUI" = "yes"; then
47829 STD_GUI_LIBS="adv core"
47830 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47831
47832 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47833 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47834 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47835 fi
47836 if test "$wxUSE_HTML" = "yes" ; then
47837 STD_GUI_LIBS="html $STD_GUI_LIBS"
47838 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47839 fi
47840 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47841 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47842 fi
47843 if test "$wxUSE_OPENGL" = "yes" ; then
47844 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47845 fi
47846 if test "$wxUSE_AUI" = "yes" ; then
47847 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47848 fi
47849 if test "$wxUSE_PROPGRID" = "yes" ; then
47850 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47851 fi
47852 if test "$wxUSE_RIBBON" = "yes" ; then
47853 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
47854 fi
47855 if test "$wxUSE_RICHTEXT" = "yes" ; then
47856 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47857 fi
47858 if test "$wxUSE_STC" = "yes" ; then
47859 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47860 fi
47861 if test "$wxUSE_XRC" = "yes" ; then
47862 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47863 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47864 fi
47865 fi
47866
47867
47868
47869
47870
47871
47872
47873 EXTRA_FRAMEWORKS=
47874 if test "$wxUSE_MAC" = 1 ; then
47875 if test "$USE_DARWIN" = 1; then
47876 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47877 fi
47878 fi
47879 if test "$wxUSE_OLD_COCOA" = 1 ; then
47880 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
47881 if test "$wxUSE_MEDIACTRL" = "yes"; then
47882 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
47883 fi
47884 fi
47885 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
47886 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47887 fi
47888
47889 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
47890 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47891
47892 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47893
47894 if test "$wxUSE_GUI" = "yes"; then
47895
47896
47897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47898 erase event exec font image minimal render \
47899 shaped svg taborder vscroll widgets wrapsizer"
47900
47901 if test "$wxUSE_MONOLITHIC" != "yes"; then
47902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47903 fi
47904 if test "$TOOLKIT" = "MSW"; then
47905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47906 if test "$wxUSE_UNIVERSAL" != "yes"; then
47907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
47908 fi
47909 fi
47910 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47911 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47912 fi
47913 else
47914 SAMPLES_SUBDIRS="console"
47915 if test "$wxUSE_SOCKETS" = "yes" ; then
47916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47917 fi
47918 if test "$wxUSE_IPC" = "yes" ; then
47919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47920 fi
47921 fi
47922
47923
47924 if test "x$INTELCC" = "xyes" ; then
47925 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47926 elif test "$GCC" = yes ; then
47927 CWARNINGS="-Wall -Wundef"
47928 fi
47929
47930 if test "x$INTELCXX" = "xyes" ; then
47931 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47932 elif test "$GXX" = yes ; then
47933 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47934 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47935 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47936 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47937 echo $ECHO_N "(cached) $ECHO_C" >&6
47938 else
47939 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47940
47941 ac_ext=cpp
47942 ac_cpp='$CXXCPP $CPPFLAGS'
47943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47946
47947 ac_save_CXXFLAGS="$CXXFLAGS"
47948 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47949 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47950 cat >conftest.$ac_ext <<_ACEOF
47951 /* confdefs.h. */
47952 _ACEOF
47953 cat confdefs.h >>conftest.$ac_ext
47954 cat >>conftest.$ac_ext <<_ACEOF
47955 /* end confdefs.h. */
47956
47957 int
47958 main ()
47959 {
47960 return 0;
47961 ;
47962 return 0;
47963 }
47964 _ACEOF
47965 rm -f conftest.$ac_objext
47966 if { (ac_try="$ac_compile"
47967 case "(($ac_try" in
47968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47969 *) ac_try_echo=$ac_try;;
47970 esac
47971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47972 (eval "$ac_compile") 2>conftest.er1
47973 ac_status=$?
47974 grep -v '^ *+' conftest.er1 >conftest.err
47975 rm -f conftest.er1
47976 cat conftest.err >&5
47977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47978 (exit $ac_status); } && {
47979 test -z "$ac_cxx_werror_flag" ||
47980 test ! -s conftest.err
47981 } && test -s conftest.$ac_objext; then
47982 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47983 else
47984 echo "$as_me: failed program was:" >&5
47985 sed 's/^/| /' conftest.$ac_ext >&5
47986
47987
47988 fi
47989
47990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47991 done
47992 CXXFLAGS="$ac_save_CXXFLAGS"
47993 ac_ext=c
47994 ac_cpp='$CPP $CPPFLAGS'
47995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47998
47999
48000 fi
48001 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
48002 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
48003 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
48004 .ok|.ok,*) ;;
48005 .|.no|.no,*) ;;
48006 *)
48007 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
48008 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
48009 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
48010 ac_status=$?
48011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48012 (exit $ac_status); }
48013 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
48014 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
48015 ac_status=$?
48016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48017 (exit $ac_status); }
48018 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
48019 fi
48020 ;;
48021 esac
48022
48023
48024 if test "$wxUSE_MAC" = 1 ; then
48025 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
48026 fi
48027 fi
48028
48029
48030 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48031 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48032
48033
48034 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48035 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48036 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48037 $CPPFLAGS `
48038
48039 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48040 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48041 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48042 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
48043 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
48044
48045 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48046
48047
48048 if test "x$MWCC" = "xyes"; then
48049
48050 CC="$CC -cwd source -I-"
48051 CXX="$CXX -cwd source -I-"
48052 fi
48053
48054
48055 LIBS=`echo $LIBS`
48056 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48057 EXTRALIBS_XML="$EXPAT_LINK"
48058 EXTRALIBS_HTML="$MSPACK_LINK"
48059 EXTRALIBS_MEDIA="$GST_LIBS"
48060 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48061 if test "$wxUSE_GUI" = "yes"; then
48062 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48063 fi
48064 if test "$wxUSE_OPENGL" = "yes"; then
48065 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48066 fi
48067
48068 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48069
48070 WXCONFIG_LIBS="$LIBS"
48071
48072 if test "$wxUSE_REGEX" = "builtin" ; then
48073 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48074 fi
48075 if test "$wxUSE_EXPAT" = "builtin" ; then
48076 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48077 fi
48078 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48079 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48080 fi
48081 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48082 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48083 fi
48084 if test "$wxUSE_LIBPNG" = "builtin" ; then
48085 wxconfig_3rdparty="png $wxconfig_3rdparty"
48086 fi
48087 if test "$wxUSE_ZLIB" = "builtin" ; then
48088 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48089 fi
48090
48091 for i in $wxconfig_3rdparty ; do
48092 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48093 done
48094
48095
48096 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48097 WXUNIV=1
48098
48099 case "$wxUNIV_THEMES" in
48100 ''|all)
48101 cat >>confdefs.h <<\_ACEOF
48102 #define wxUSE_ALL_THEMES 1
48103 _ACEOF
48104
48105 ;;
48106
48107 *)
48108 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
48109 cat >>confdefs.h <<_ACEOF
48110 #define wxUSE_THEME_$t 1
48111 _ACEOF
48112
48113 done
48114 esac
48115 else
48116 WXUNIV=0
48117 fi
48118
48119
48120
48121
48122
48123
48124
48125
48126 if test $wxUSE_MONOLITHIC = "yes" ; then
48127 MONOLITHIC=1
48128 else
48129 MONOLITHIC=0
48130 fi
48131
48132 if test $wxUSE_PLUGINS = "yes" ; then
48133 USE_PLUGINS=1
48134 else
48135 USE_PLUGINS=0
48136 fi
48137
48138 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48139 USE_QA=1
48140 else
48141 USE_QA=0
48142 fi
48143
48144 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48145 OFFICIAL_BUILD=1
48146 else
48147 OFFICIAL_BUILD=0
48148 fi
48149
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175
48176 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
48177
48178
48179
48180
48181
48182
48183
48184
48185
48186
48187 case "$TOOLKIT" in
48188 GTK)
48189 TOOLKIT_DESC="GTK+"
48190 if test "$WXGTK2" = 1; then
48191 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48192 if test "$wxUSE_GTKPRINT" = "yes" ; then
48193 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
48194 fi
48195 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48196 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48197 fi
48198 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48199 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48200 fi
48201 if test "$wxUSE_LIBHILDON" = "yes"; then
48202 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48203 fi
48204 if test "$wxUSE_LIBHILDON2" = "yes"; then
48205 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48206 fi
48207
48208 if test "$TOOLKIT_EXTRA" != ""; then
48209 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48210 fi
48211 fi
48212 ;;
48213
48214 ?*)
48215 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48216 ;;
48217
48218 *)
48219 TOOLKIT_DESC="base only"
48220 ;;
48221 esac
48222
48223 if test "$wxUSE_WINE" = "yes"; then
48224 BAKEFILE_FORCE_PLATFORM=win32
48225 fi
48226
48227 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48228 then
48229 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48230 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
48231 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48232 echo $ECHO_N "(cached) $ECHO_C" >&6
48233 else
48234
48235 echo '#include <stdio.h>
48236 const wchar_t test_var[] = L"awidetest";' > conftest.h
48237
48238 echo '#include "conftest.h"
48239 int main()
48240 {
48241 printf("%ls", test_var);
48242 return 0;
48243 }' > conftest.cpp
48244
48245 wx_cv_gcc_pch_bug="pch not supported"
48246
48247 if $CXX conftest.h >/dev/null 2>&1
48248 then
48249 wx_cv_gcc_pch_bug=
48250
48251 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48252 then
48253 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48254 grep awidetest >/dev/null
48255 then
48256 wx_cv_gcc_pch_bug=no
48257 else
48258 wx_cv_gcc_pch_bug=yes
48259 fi
48260 fi
48261 fi
48262
48263 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48264
48265 fi
48266 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48267 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48268
48269 if test "$wx_cv_gcc_pch_bug" = yes; then
48270 bk_use_pch=no
48271 fi
48272 fi
48273
48274
48275
48276
48277
48278
48279
48280 if test "x$BAKEFILE_HOST" = "x"; then
48281 if test "x${host}" = "x" ; then
48282 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48283 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48284 { (exit 1); exit 1; }; }
48285 fi
48286
48287 BAKEFILE_HOST="${host}"
48288 fi
48289
48290 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48291
48292 if test -n "$ac_tool_prefix"; then
48293 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48294 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48297 if test "${ac_cv_prog_RANLIB+set}" = set; then
48298 echo $ECHO_N "(cached) $ECHO_C" >&6
48299 else
48300 if test -n "$RANLIB"; then
48301 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48302 else
48303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48304 for as_dir in $PATH
48305 do
48306 IFS=$as_save_IFS
48307 test -z "$as_dir" && as_dir=.
48308 for ac_exec_ext in '' $ac_executable_extensions; do
48309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48310 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48312 break 2
48313 fi
48314 done
48315 done
48316 IFS=$as_save_IFS
48317
48318 fi
48319 fi
48320 RANLIB=$ac_cv_prog_RANLIB
48321 if test -n "$RANLIB"; then
48322 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48323 echo "${ECHO_T}$RANLIB" >&6; }
48324 else
48325 { echo "$as_me:$LINENO: result: no" >&5
48326 echo "${ECHO_T}no" >&6; }
48327 fi
48328
48329
48330 fi
48331 if test -z "$ac_cv_prog_RANLIB"; then
48332 ac_ct_RANLIB=$RANLIB
48333 # Extract the first word of "ranlib", so it can be a program name with args.
48334 set dummy ranlib; ac_word=$2
48335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48337 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48338 echo $ECHO_N "(cached) $ECHO_C" >&6
48339 else
48340 if test -n "$ac_ct_RANLIB"; then
48341 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48342 else
48343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48344 for as_dir in $PATH
48345 do
48346 IFS=$as_save_IFS
48347 test -z "$as_dir" && as_dir=.
48348 for ac_exec_ext in '' $ac_executable_extensions; do
48349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48350 ac_cv_prog_ac_ct_RANLIB="ranlib"
48351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48352 break 2
48353 fi
48354 done
48355 done
48356 IFS=$as_save_IFS
48357
48358 fi
48359 fi
48360 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48361 if test -n "$ac_ct_RANLIB"; then
48362 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48363 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48364 else
48365 { echo "$as_me:$LINENO: result: no" >&5
48366 echo "${ECHO_T}no" >&6; }
48367 fi
48368
48369 if test "x$ac_ct_RANLIB" = x; then
48370 RANLIB=":"
48371 else
48372 case $cross_compiling:$ac_tool_warned in
48373 yes:)
48374 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48375 whose name does not start with the host triplet. If you think this
48376 configuration is useful to you, please write to autoconf@gnu.org." >&5
48377 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48378 whose name does not start with the host triplet. If you think this
48379 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48380 ac_tool_warned=yes ;;
48381 esac
48382 RANLIB=$ac_ct_RANLIB
48383 fi
48384 else
48385 RANLIB="$ac_cv_prog_RANLIB"
48386 fi
48387
48388 # Find a good install program. We prefer a C program (faster),
48389 # so one script is as good as another. But avoid the broken or
48390 # incompatible versions:
48391 # SysV /etc/install, /usr/sbin/install
48392 # SunOS /usr/etc/install
48393 # IRIX /sbin/install
48394 # AIX /bin/install
48395 # AmigaOS /C/install, which installs bootblocks on floppy discs
48396 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48397 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48398 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48399 # OS/2's system install, which has a completely different semantic
48400 # ./install, which can be erroneously created by make from ./install.sh.
48401 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48402 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48403 if test -z "$INSTALL"; then
48404 if test "${ac_cv_path_install+set}" = set; then
48405 echo $ECHO_N "(cached) $ECHO_C" >&6
48406 else
48407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48408 for as_dir in $PATH
48409 do
48410 IFS=$as_save_IFS
48411 test -z "$as_dir" && as_dir=.
48412 # Account for people who put trailing slashes in PATH elements.
48413 case $as_dir/ in
48414 ./ | .// | /cC/* | \
48415 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48416 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48417 /usr/ucb/* ) ;;
48418 *)
48419 # OSF1 and SCO ODT 3.0 have their own names for install.
48420 # Don't use installbsd from OSF since it installs stuff as root
48421 # by default.
48422 for ac_prog in ginstall scoinst install; do
48423 for ac_exec_ext in '' $ac_executable_extensions; do
48424 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48425 if test $ac_prog = install &&
48426 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48427 # AIX install. It has an incompatible calling convention.
48428 :
48429 elif test $ac_prog = install &&
48430 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48431 # program-specific install script used by HP pwplus--don't use.
48432 :
48433 else
48434 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48435 break 3
48436 fi
48437 fi
48438 done
48439 done
48440 ;;
48441 esac
48442 done
48443 IFS=$as_save_IFS
48444
48445
48446 fi
48447 if test "${ac_cv_path_install+set}" = set; then
48448 INSTALL=$ac_cv_path_install
48449 else
48450 # As a last resort, use the slow shell script. Don't cache a
48451 # value for INSTALL within a source directory, because that will
48452 # break other packages using the cache if that directory is
48453 # removed, or if the value is a relative name.
48454 INSTALL=$ac_install_sh
48455 fi
48456 fi
48457 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48458 echo "${ECHO_T}$INSTALL" >&6; }
48459
48460 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48461 # It thinks the first close brace ends the variable substitution.
48462 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48463
48464 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48465
48466 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48467
48468 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48469 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48470 LN_S=$as_ln_s
48471 if test "$LN_S" = "ln -s"; then
48472 { echo "$as_me:$LINENO: result: yes" >&5
48473 echo "${ECHO_T}yes" >&6; }
48474 else
48475 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48476 echo "${ECHO_T}no, using $LN_S" >&6; }
48477 fi
48478
48479
48480 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48481 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48482 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48483 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48484 echo $ECHO_N "(cached) $ECHO_C" >&6
48485 else
48486 cat >conftest.make <<\_ACEOF
48487 SHELL = /bin/sh
48488 all:
48489 @echo '@@@%%%=$(MAKE)=@@@%%%'
48490 _ACEOF
48491 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48492 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48493 *@@@%%%=?*=@@@%%%*)
48494 eval ac_cv_prog_make_${ac_make}_set=yes;;
48495 *)
48496 eval ac_cv_prog_make_${ac_make}_set=no;;
48497 esac
48498 rm -f conftest.make
48499 fi
48500 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48501 { echo "$as_me:$LINENO: result: yes" >&5
48502 echo "${ECHO_T}yes" >&6; }
48503 SET_MAKE=
48504 else
48505 { echo "$as_me:$LINENO: result: no" >&5
48506 echo "${ECHO_T}no" >&6; }
48507 SET_MAKE="MAKE=${MAKE-make}"
48508 fi
48509
48510
48511
48512 if test "x$SUNCXX" = "xyes"; then
48513 AR=$CXX
48514 AROPTIONS="-xar -o"
48515
48516 elif test "x$SGICC" = "xyes"; then
48517 AR=$CXX
48518 AROPTIONS="-ar -o"
48519
48520 else
48521 if test -n "$ac_tool_prefix"; then
48522 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48523 set dummy ${ac_tool_prefix}ar; ac_word=$2
48524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48526 if test "${ac_cv_prog_AR+set}" = set; then
48527 echo $ECHO_N "(cached) $ECHO_C" >&6
48528 else
48529 if test -n "$AR"; then
48530 ac_cv_prog_AR="$AR" # Let the user override the test.
48531 else
48532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48533 for as_dir in $PATH
48534 do
48535 IFS=$as_save_IFS
48536 test -z "$as_dir" && as_dir=.
48537 for ac_exec_ext in '' $ac_executable_extensions; do
48538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48539 ac_cv_prog_AR="${ac_tool_prefix}ar"
48540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48541 break 2
48542 fi
48543 done
48544 done
48545 IFS=$as_save_IFS
48546
48547 fi
48548 fi
48549 AR=$ac_cv_prog_AR
48550 if test -n "$AR"; then
48551 { echo "$as_me:$LINENO: result: $AR" >&5
48552 echo "${ECHO_T}$AR" >&6; }
48553 else
48554 { echo "$as_me:$LINENO: result: no" >&5
48555 echo "${ECHO_T}no" >&6; }
48556 fi
48557
48558
48559 fi
48560 if test -z "$ac_cv_prog_AR"; then
48561 ac_ct_AR=$AR
48562 # Extract the first word of "ar", so it can be a program name with args.
48563 set dummy ar; ac_word=$2
48564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48566 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48567 echo $ECHO_N "(cached) $ECHO_C" >&6
48568 else
48569 if test -n "$ac_ct_AR"; then
48570 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48571 else
48572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48573 for as_dir in $PATH
48574 do
48575 IFS=$as_save_IFS
48576 test -z "$as_dir" && as_dir=.
48577 for ac_exec_ext in '' $ac_executable_extensions; do
48578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48579 ac_cv_prog_ac_ct_AR="ar"
48580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48581 break 2
48582 fi
48583 done
48584 done
48585 IFS=$as_save_IFS
48586
48587 fi
48588 fi
48589 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48590 if test -n "$ac_ct_AR"; then
48591 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48592 echo "${ECHO_T}$ac_ct_AR" >&6; }
48593 else
48594 { echo "$as_me:$LINENO: result: no" >&5
48595 echo "${ECHO_T}no" >&6; }
48596 fi
48597
48598 if test "x$ac_ct_AR" = x; then
48599 AR="ar"
48600 else
48601 case $cross_compiling:$ac_tool_warned in
48602 yes:)
48603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48604 whose name does not start with the host triplet. If you think this
48605 configuration is useful to you, please write to autoconf@gnu.org." >&5
48606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48607 whose name does not start with the host triplet. If you think this
48608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48609 ac_tool_warned=yes ;;
48610 esac
48611 AR=$ac_ct_AR
48612 fi
48613 else
48614 AR="$ac_cv_prog_AR"
48615 fi
48616
48617 AROPTIONS=rcu
48618 fi
48619
48620
48621 if test -n "$ac_tool_prefix"; then
48622 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48623 set dummy ${ac_tool_prefix}strip; ac_word=$2
48624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48626 if test "${ac_cv_prog_STRIP+set}" = set; then
48627 echo $ECHO_N "(cached) $ECHO_C" >&6
48628 else
48629 if test -n "$STRIP"; then
48630 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48631 else
48632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48633 for as_dir in $PATH
48634 do
48635 IFS=$as_save_IFS
48636 test -z "$as_dir" && as_dir=.
48637 for ac_exec_ext in '' $ac_executable_extensions; do
48638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48639 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48641 break 2
48642 fi
48643 done
48644 done
48645 IFS=$as_save_IFS
48646
48647 fi
48648 fi
48649 STRIP=$ac_cv_prog_STRIP
48650 if test -n "$STRIP"; then
48651 { echo "$as_me:$LINENO: result: $STRIP" >&5
48652 echo "${ECHO_T}$STRIP" >&6; }
48653 else
48654 { echo "$as_me:$LINENO: result: no" >&5
48655 echo "${ECHO_T}no" >&6; }
48656 fi
48657
48658
48659 fi
48660 if test -z "$ac_cv_prog_STRIP"; then
48661 ac_ct_STRIP=$STRIP
48662 # Extract the first word of "strip", so it can be a program name with args.
48663 set dummy strip; ac_word=$2
48664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48666 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48667 echo $ECHO_N "(cached) $ECHO_C" >&6
48668 else
48669 if test -n "$ac_ct_STRIP"; then
48670 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48671 else
48672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48673 for as_dir in $PATH
48674 do
48675 IFS=$as_save_IFS
48676 test -z "$as_dir" && as_dir=.
48677 for ac_exec_ext in '' $ac_executable_extensions; do
48678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48679 ac_cv_prog_ac_ct_STRIP="strip"
48680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48681 break 2
48682 fi
48683 done
48684 done
48685 IFS=$as_save_IFS
48686
48687 fi
48688 fi
48689 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48690 if test -n "$ac_ct_STRIP"; then
48691 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48692 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48693 else
48694 { echo "$as_me:$LINENO: result: no" >&5
48695 echo "${ECHO_T}no" >&6; }
48696 fi
48697
48698 if test "x$ac_ct_STRIP" = x; then
48699 STRIP=":"
48700 else
48701 case $cross_compiling:$ac_tool_warned in
48702 yes:)
48703 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48704 whose name does not start with the host triplet. If you think this
48705 configuration is useful to you, please write to autoconf@gnu.org." >&5
48706 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48707 whose name does not start with the host triplet. If you think this
48708 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48709 ac_tool_warned=yes ;;
48710 esac
48711 STRIP=$ac_ct_STRIP
48712 fi
48713 else
48714 STRIP="$ac_cv_prog_STRIP"
48715 fi
48716
48717 if test -n "$ac_tool_prefix"; then
48718 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48719 set dummy ${ac_tool_prefix}nm; ac_word=$2
48720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48722 if test "${ac_cv_prog_NM+set}" = set; then
48723 echo $ECHO_N "(cached) $ECHO_C" >&6
48724 else
48725 if test -n "$NM"; then
48726 ac_cv_prog_NM="$NM" # Let the user override the test.
48727 else
48728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48729 for as_dir in $PATH
48730 do
48731 IFS=$as_save_IFS
48732 test -z "$as_dir" && as_dir=.
48733 for ac_exec_ext in '' $ac_executable_extensions; do
48734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48735 ac_cv_prog_NM="${ac_tool_prefix}nm"
48736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48737 break 2
48738 fi
48739 done
48740 done
48741 IFS=$as_save_IFS
48742
48743 fi
48744 fi
48745 NM=$ac_cv_prog_NM
48746 if test -n "$NM"; then
48747 { echo "$as_me:$LINENO: result: $NM" >&5
48748 echo "${ECHO_T}$NM" >&6; }
48749 else
48750 { echo "$as_me:$LINENO: result: no" >&5
48751 echo "${ECHO_T}no" >&6; }
48752 fi
48753
48754
48755 fi
48756 if test -z "$ac_cv_prog_NM"; then
48757 ac_ct_NM=$NM
48758 # Extract the first word of "nm", so it can be a program name with args.
48759 set dummy nm; ac_word=$2
48760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48762 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48763 echo $ECHO_N "(cached) $ECHO_C" >&6
48764 else
48765 if test -n "$ac_ct_NM"; then
48766 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48767 else
48768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48769 for as_dir in $PATH
48770 do
48771 IFS=$as_save_IFS
48772 test -z "$as_dir" && as_dir=.
48773 for ac_exec_ext in '' $ac_executable_extensions; do
48774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48775 ac_cv_prog_ac_ct_NM="nm"
48776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48777 break 2
48778 fi
48779 done
48780 done
48781 IFS=$as_save_IFS
48782
48783 fi
48784 fi
48785 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48786 if test -n "$ac_ct_NM"; then
48787 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48788 echo "${ECHO_T}$ac_ct_NM" >&6; }
48789 else
48790 { echo "$as_me:$LINENO: result: no" >&5
48791 echo "${ECHO_T}no" >&6; }
48792 fi
48793
48794 if test "x$ac_ct_NM" = x; then
48795 NM=":"
48796 else
48797 case $cross_compiling:$ac_tool_warned in
48798 yes:)
48799 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48800 whose name does not start with the host triplet. If you think this
48801 configuration is useful to you, please write to autoconf@gnu.org." >&5
48802 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48803 whose name does not start with the host triplet. If you think this
48804 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48805 ac_tool_warned=yes ;;
48806 esac
48807 NM=$ac_ct_NM
48808 fi
48809 else
48810 NM="$ac_cv_prog_NM"
48811 fi
48812
48813
48814 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48815 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48816 INSTALL_TEST_DIR=acbftest$$
48817 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48818 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48819 rmdir $INSTALL_TEST_DIR
48820 INSTALL_DIR='$(INSTALL) -d'
48821 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48822 echo "${ECHO_T}$INSTALL -d" >&6; }
48823 else
48824 INSTALL_DIR="mkdir -p"
48825 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48826 echo "${ECHO_T}mkdir -p" >&6; }
48827 fi
48828
48829
48830 LDFLAGS_GUI=
48831 case ${BAKEFILE_HOST} in
48832 *-*-cygwin* | *-*-mingw32* )
48833 LDFLAGS_GUI="-mwindows"
48834 esac
48835
48836
48837 fi
48838
48839 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48840 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48841 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48842 echo $ECHO_N "(cached) $ECHO_C" >&6
48843 else
48844
48845 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48846 egrep -s GNU > /dev/null); then
48847 bakefile_cv_prog_makeisgnu="yes"
48848 else
48849 bakefile_cv_prog_makeisgnu="no"
48850 fi
48851
48852 fi
48853 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48854 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48855
48856 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48857 IF_GNU_MAKE=""
48858 else
48859 IF_GNU_MAKE="#"
48860 fi
48861
48862
48863
48864 PLATFORM_UNIX=0
48865 PLATFORM_WIN32=0
48866 PLATFORM_MSDOS=0
48867 PLATFORM_MAC=0
48868 PLATFORM_MACOS=0
48869 PLATFORM_MACOSX=0
48870 PLATFORM_OS2=0
48871 PLATFORM_BEOS=0
48872
48873 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48874 case "${BAKEFILE_HOST}" in
48875 *-*-mingw32* )
48876 PLATFORM_WIN32=1
48877 ;;
48878 *-pc-msdosdjgpp )
48879 PLATFORM_MSDOS=1
48880 ;;
48881 *-pc-os2_emx | *-pc-os2-emx )
48882 PLATFORM_OS2=1
48883 ;;
48884 *-*-darwin* )
48885 PLATFORM_MAC=1
48886 PLATFORM_MACOSX=1
48887 ;;
48888 *-*-beos* )
48889 PLATFORM_BEOS=1
48890 ;;
48891 powerpc-apple-macos* )
48892 PLATFORM_MAC=1
48893 PLATFORM_MACOS=1
48894 ;;
48895 * )
48896 PLATFORM_UNIX=1
48897 ;;
48898 esac
48899 else
48900 case "$BAKEFILE_FORCE_PLATFORM" in
48901 win32 )
48902 PLATFORM_WIN32=1
48903 ;;
48904 msdos )
48905 PLATFORM_MSDOS=1
48906 ;;
48907 os2 )
48908 PLATFORM_OS2=1
48909 ;;
48910 darwin )
48911 PLATFORM_MAC=1
48912 PLATFORM_MACOSX=1
48913 ;;
48914 unix )
48915 PLATFORM_UNIX=1
48916 ;;
48917 beos )
48918 PLATFORM_BEOS=1
48919 ;;
48920 * )
48921 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48922 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48923 { (exit 1); exit 1; }; }
48924 ;;
48925 esac
48926 fi
48927
48928
48929
48930
48931
48932
48933
48934
48935
48936
48937
48938 # Check whether --enable-omf was given.
48939 if test "${enable_omf+set}" = set; then
48940 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48941 fi
48942
48943
48944 case "${BAKEFILE_HOST}" in
48945 *-*-darwin* )
48946 if test "x$GCC" = "xyes"; then
48947 CFLAGS="$CFLAGS -fno-common"
48948 CXXFLAGS="$CXXFLAGS -fno-common"
48949 fi
48950 if test "x$XLCC" = "xyes"; then
48951 CFLAGS="$CFLAGS -qnocommon"
48952 CXXFLAGS="$CXXFLAGS -qnocommon"
48953 fi
48954 ;;
48955
48956 *-pc-os2_emx | *-pc-os2-emx )
48957 if test "x$bk_os2_use_omf" = "xyes" ; then
48958 AR=emxomfar
48959 RANLIB=:
48960 LDFLAGS="-Zomf $LDFLAGS"
48961 CFLAGS="-Zomf $CFLAGS"
48962 CXXFLAGS="-Zomf $CXXFLAGS"
48963 OS2_LIBEXT="lib"
48964 else
48965 OS2_LIBEXT="a"
48966 fi
48967 ;;
48968
48969 i*86-*-beos* )
48970 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48971 ;;
48972 esac
48973
48974
48975 SO_SUFFIX="so"
48976 SO_SUFFIX_MODULE="so"
48977 EXEEXT=""
48978 LIBPREFIX="lib"
48979 LIBEXT=".a"
48980 DLLPREFIX="lib"
48981 DLLPREFIX_MODULE=""
48982 DLLIMP_SUFFIX=""
48983 dlldir="$libdir"
48984
48985 case "${BAKEFILE_HOST}" in
48986 ia64-hp-hpux* )
48987 ;;
48988 *-hp-hpux* )
48989 SO_SUFFIX="sl"
48990 SO_SUFFIX_MODULE="sl"
48991 ;;
48992 *-*-aix* )
48993 SO_SUFFIX="a"
48994 SO_SUFFIX_MODULE="a"
48995 ;;
48996 *-*-cygwin* )
48997 SO_SUFFIX="dll"
48998 SO_SUFFIX_MODULE="dll"
48999 DLLIMP_SUFFIX="dll.a"
49000 EXEEXT=".exe"
49001 DLLPREFIX="cyg"
49002 dlldir="$bindir"
49003 ;;
49004 *-*-mingw32* )
49005 SO_SUFFIX="dll"
49006 SO_SUFFIX_MODULE="dll"
49007 DLLIMP_SUFFIX="dll.a"
49008 EXEEXT=".exe"
49009 DLLPREFIX=""
49010 dlldir="$bindir"
49011 ;;
49012 *-pc-msdosdjgpp )
49013 EXEEXT=".exe"
49014 DLLPREFIX=""
49015 dlldir="$bindir"
49016 ;;
49017 *-pc-os2_emx | *-pc-os2-emx )
49018 SO_SUFFIX="dll"
49019 SO_SUFFIX_MODULE="dll"
49020 DLLIMP_SUFFIX=$OS2_LIBEXT
49021 EXEEXT=".exe"
49022 DLLPREFIX=""
49023 LIBPREFIX=""
49024 LIBEXT=".$OS2_LIBEXT"
49025 dlldir="$bindir"
49026 ;;
49027 *-*-darwin* )
49028 SO_SUFFIX="dylib"
49029 SO_SUFFIX_MODULE="bundle"
49030 ;;
49031 esac
49032
49033 if test "x$DLLIMP_SUFFIX" = "x" ; then
49034 DLLIMP_SUFFIX="$SO_SUFFIX"
49035 fi
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045
49046
49047
49048 PIC_FLAG=""
49049 if test "x$GCC" = "xyes"; then
49050 PIC_FLAG="-fPIC"
49051 fi
49052
49053 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49054 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49055 WINDOWS_IMPLIB=0
49056
49057 case "${BAKEFILE_HOST}" in
49058 *-hp-hpux* )
49059 if test "x$GCC" != "xyes"; then
49060 LDFLAGS="$LDFLAGS -L/usr/lib"
49061
49062 SHARED_LD_CC="${CC} -b -o"
49063 SHARED_LD_CXX="${CXX} -b -o"
49064 PIC_FLAG="+Z"
49065 fi
49066 ;;
49067
49068 *-*-linux* )
49069 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
49070 PIC_FLAG="-KPIC"
49071 elif test "x$SUNCXX" = "xyes"; then
49072 SHARED_LD_CC="${CC} -G -o"
49073 SHARED_LD_CXX="${CXX} -G -o"
49074 PIC_FLAG="-KPIC"
49075 fi
49076 ;;
49077
49078 *-*-solaris2* )
49079 if test "x$SUNCXX" = xyes ; then
49080 SHARED_LD_CC="${CC} -G -o"
49081 SHARED_LD_CXX="${CXX} -G -o"
49082 PIC_FLAG="-KPIC"
49083 fi
49084 ;;
49085
49086 *-*-darwin* )
49087
49088 D='$'
49089 cat <<EOF >shared-ld-sh
49090 #!/bin/sh
49091 #-----------------------------------------------------------------------------
49092 #-- Name: distrib/mac/shared-ld-sh
49093 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49094 #-- Author: Gilles Depeyrot
49095 #-- Copyright: (c) 2002 Gilles Depeyrot
49096 #-- Licence: any use permitted
49097 #-----------------------------------------------------------------------------
49098
49099 verbose=0
49100 args=""
49101 objects=""
49102 linking_flag="-dynamiclib"
49103 ldargs="-r -keep_private_externs -nostdlib"
49104
49105 if test "x${D}CXX" = "x"; then
49106 CXX="c++"
49107 fi
49108
49109 while test ${D}# -gt 0; do
49110 case ${D}1 in
49111
49112 -v)
49113 verbose=1
49114 ;;
49115
49116 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49117 # collect these options and values
49118 args="${D}{args} ${D}1 ${D}2"
49119 shift
49120 ;;
49121
49122 -arch|-isysroot)
49123 # collect these options and values
49124 ldargs="${D}{ldargs} ${D}1 ${D}2"
49125 shift
49126 ;;
49127
49128 -s|-Wl,*)
49129 # collect these load args
49130 ldargs="${D}{ldargs} ${D}1"
49131 ;;
49132
49133 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49134 # collect these options
49135 args="${D}{args} ${D}1"
49136 ;;
49137
49138 -dynamiclib|-bundle)
49139 linking_flag="${D}1"
49140 ;;
49141
49142 -*)
49143 echo "shared-ld: unhandled option '${D}1'"
49144 exit 1
49145 ;;
49146
49147 *.o | *.a | *.dylib)
49148 # collect object files
49149 objects="${D}{objects} ${D}1"
49150 ;;
49151
49152 *)
49153 echo "shared-ld: unhandled argument '${D}1'"
49154 exit 1
49155 ;;
49156
49157 esac
49158 shift
49159 done
49160
49161 status=0
49162
49163 #
49164 # Link one module containing all the others
49165 #
49166 if test ${D}{verbose} = 1; then
49167 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49168 fi
49169 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49170 status=${D}?
49171
49172 #
49173 # Link the shared library from the single module created, but only if the
49174 # previous command didn't fail:
49175 #
49176 if test ${D}{status} = 0; then
49177 if test ${D}{verbose} = 1; then
49178 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49179 fi
49180 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49181 status=${D}?
49182 fi
49183
49184 #
49185 # Remove intermediate module
49186 #
49187 rm -f master.${D}${D}.o
49188
49189 exit ${D}status
49190 EOF
49191
49192 chmod +x shared-ld-sh
49193
49194 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49195 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
49196
49197
49198 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49199 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
49200 if test "${bakefile_cv_gcc31+set}" = set; then
49201 echo $ECHO_N "(cached) $ECHO_C" >&6
49202 else
49203
49204 cat >conftest.$ac_ext <<_ACEOF
49205 /* confdefs.h. */
49206 _ACEOF
49207 cat confdefs.h >>conftest.$ac_ext
49208 cat >>conftest.$ac_ext <<_ACEOF
49209 /* end confdefs.h. */
49210
49211 int
49212 main ()
49213 {
49214
49215 #if (__GNUC__ < 3) || \
49216 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49217 This is old gcc
49218 #endif
49219
49220 ;
49221 return 0;
49222 }
49223 _ACEOF
49224 rm -f conftest.$ac_objext
49225 if { (ac_try="$ac_compile"
49226 case "(($ac_try" in
49227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49228 *) ac_try_echo=$ac_try;;
49229 esac
49230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49231 (eval "$ac_compile") 2>conftest.er1
49232 ac_status=$?
49233 grep -v '^ *+' conftest.er1 >conftest.err
49234 rm -f conftest.er1
49235 cat conftest.err >&5
49236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49237 (exit $ac_status); } && {
49238 test -z "$ac_c_werror_flag" ||
49239 test ! -s conftest.err
49240 } && test -s conftest.$ac_objext; then
49241
49242 bakefile_cv_gcc31=yes
49243
49244 else
49245 echo "$as_me: failed program was:" >&5
49246 sed 's/^/| /' conftest.$ac_ext >&5
49247
49248
49249 bakefile_cv_gcc31=no
49250
49251
49252 fi
49253
49254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49255
49256 fi
49257 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49258 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49259 if test "$bakefile_cv_gcc31" = "no"; then
49260 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49261 SHARED_LD_CXX="$SHARED_LD_CC"
49262 else
49263 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49264 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49265 fi
49266
49267 if test "x$GCC" == "xyes"; then
49268 PIC_FLAG="-dynamic -fPIC"
49269 fi
49270 if test "x$XLCC" = "xyes"; then
49271 PIC_FLAG="-dynamic -DPIC"
49272 fi
49273 ;;
49274
49275 *-*-aix* )
49276 if test "x$GCC" = "xyes"; then
49277 PIC_FLAG=""
49278
49279 case "${BAKEFILE_HOST}" in
49280 *-*-aix5* )
49281 LD_EXPFULL="-Wl,-bexpfull"
49282 ;;
49283 esac
49284
49285 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49286 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49287 else
49288 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49289 set dummy makeC++SharedLib; ac_word=$2
49290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49292 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49293 echo $ECHO_N "(cached) $ECHO_C" >&6
49294 else
49295 if test -n "$AIX_CXX_LD"; then
49296 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49297 else
49298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49299 for as_dir in $PATH
49300 do
49301 IFS=$as_save_IFS
49302 test -z "$as_dir" && as_dir=.
49303 for ac_exec_ext in '' $ac_executable_extensions; do
49304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49305 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49307 break 2
49308 fi
49309 done
49310 done
49311 IFS=$as_save_IFS
49312
49313 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49314 fi
49315 fi
49316 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49317 if test -n "$AIX_CXX_LD"; then
49318 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49319 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49320 else
49321 { echo "$as_me:$LINENO: result: no" >&5
49322 echo "${ECHO_T}no" >&6; }
49323 fi
49324
49325
49326 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49327 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49328 fi
49329 ;;
49330
49331 *-*-beos* )
49332 SHARED_LD_CC="${LD} -nostart -o"
49333 SHARED_LD_CXX="${LD} -nostart -o"
49334 ;;
49335
49336 *-*-irix* )
49337 if test "x$GCC" != "xyes"; then
49338 PIC_FLAG="-KPIC"
49339 fi
49340 ;;
49341
49342 *-*-cygwin* | *-*-mingw32* )
49343 PIC_FLAG=""
49344 SHARED_LD_CC="\$(CC) -shared -o"
49345 SHARED_LD_CXX="\$(CXX) -shared -o"
49346 WINDOWS_IMPLIB=1
49347 ;;
49348
49349 *-pc-os2_emx | *-pc-os2-emx )
49350 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49351 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49352 PIC_FLAG=""
49353
49354 D='$'
49355 cat <<EOF >dllar.sh
49356 #!/bin/sh
49357 #
49358 # dllar - a tool to build both a .dll and an .a file
49359 # from a set of object (.o) files for EMX/OS2.
49360 #
49361 # Written by Andrew Zabolotny, bit@freya.etu.ru
49362 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49363 #
49364 # This script will accept a set of files on the command line.
49365 # All the public symbols from the .o files will be exported into
49366 # a .DEF file, then linker will be run (through gcc) against them to
49367 # build a shared library consisting of all given .o files. All libraries
49368 # (.a) will be first decompressed into component .o files then act as
49369 # described above. You can optionally give a description (-d "description")
49370 # which will be put into .DLL. To see the list of accepted options (as well
49371 # as command-line format) simply run this program without options. The .DLL
49372 # is built to be imported by name (there is no guarantee that new versions
49373 # of the library you build will have same ordinals for same symbols).
49374 #
49375 # dllar is free software; you can redistribute it and/or modify
49376 # it under the terms of the GNU General Public License as published by
49377 # the Free Software Foundation; either version 2, or (at your option)
49378 # any later version.
49379 #
49380 # dllar is distributed in the hope that it will be useful,
49381 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49382 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49383 # GNU General Public License for more details.
49384 #
49385 # You should have received a copy of the GNU General Public License
49386 # along with dllar; see the file COPYING. If not, write to the Free
49387 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49388 # 02111-1307, USA.
49389
49390 # To successfuly run this program you will need:
49391 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49392 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49393 # - gcc
49394 # (used to build the .dll)
49395 # - emxexp
49396 # (used to create .def file from .o files)
49397 # - emximp
49398 # (used to create .a file from .def file)
49399 # - GNU text utilites (cat, sort, uniq)
49400 # used to process emxexp output
49401 # - GNU file utilities (mv, rm)
49402 # - GNU sed
49403 # - lxlite (optional, see flag below)
49404 # (used for general .dll cleanup)
49405 #
49406
49407 flag_USE_LXLITE=1;
49408
49409 #
49410 # helper functions
49411 # basnam, variant of basename, which does _not_ remove the path, _iff_
49412 # second argument (suffix to remove) is given
49413 basnam(){
49414 case ${D}# in
49415 1)
49416 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49417 ;;
49418 2)
49419 echo ${D}1 | sed 's/'${D}2'${D}//'
49420 ;;
49421 *)
49422 echo "error in basnam ${D}*"
49423 exit 8
49424 ;;
49425 esac
49426 }
49427
49428 # Cleanup temporary files and output
49429 CleanUp() {
49430 cd ${D}curDir
49431 for i in ${D}inputFiles ; do
49432 case ${D}i in
49433 *!)
49434 rm -rf \`basnam ${D}i !\`
49435 ;;
49436 *)
49437 ;;
49438 esac
49439 done
49440
49441 # Kill result in case of failure as there is just to many stupid make/nmake
49442 # things out there which doesn't do this.
49443 if [ ${D}# -eq 0 ]; then
49444 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49445 fi
49446 }
49447
49448 # Print usage and exit script with rc=1.
49449 PrintHelp() {
49450 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49451 echo ' [-name-mangler-script script.sh]'
49452 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49453 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49454 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49455 echo ' [*.o] [*.a]'
49456 echo '*> "output_file" should have no extension.'
49457 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49458 echo ' The import library name is derived from this and is set to "name".a,'
49459 echo ' unless overridden by -import'
49460 echo '*> "importlib_name" should have no extension.'
49461 echo ' If it has the .o, or .a extension, it is automatically removed.'
49462 echo ' This name is used as the import library name and may be longer and'
49463 echo ' more descriptive than the DLL name which has to follow the old '
49464 echo ' 8.3 convention of FAT.'
49465 echo '*> "script.sh may be given to override the output_file name by a'
49466 echo ' different name. It is mainly useful if the regular make process'
49467 echo ' of some package does not take into account OS/2 restriction of'
49468 echo ' DLL name lengths. It takes the importlib name as input and is'
49469 echo ' supposed to procude a shorter name as output. The script should'
49470 echo ' expect to get importlib_name without extension and should produce'
49471 echo ' a (max.) 8 letter name without extension.'
49472 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49473 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49474 echo ' These flags will be put at the start of GCC command line.'
49475 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49476 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49477 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49478 echo ' If the last character of a symbol is "*", all symbols beginning'
49479 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49480 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49481 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49482 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49483 echo ' C runtime DLLs.'
49484 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49485 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49486 echo ' unchanged to GCC at the end of command line.'
49487 echo '*> If you create a DLL from a library and you do not specify -o,'
49488 echo ' the basename for DLL and import library will be set to library name,'
49489 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49490 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49491 echo ' library will be renamed into gcc_s.a.'
49492 echo '--------'
49493 echo 'Example:'
49494 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49495 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49496 CleanUp
49497 exit 1
49498 }
49499
49500 # Execute a command.
49501 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49502 # @Uses Whatever CleanUp() uses.
49503 doCommand() {
49504 echo "${D}*"
49505 eval ${D}*
49506 rcCmd=${D}?
49507
49508 if [ ${D}rcCmd -ne 0 ]; then
49509 echo "command failed, exit code="${D}rcCmd
49510 CleanUp
49511 exit ${D}rcCmd
49512 fi
49513 }
49514
49515 # main routine
49516 # setup globals
49517 cmdLine=${D}*
49518 outFile=""
49519 outimpFile=""
49520 inputFiles=""
49521 renameScript=""
49522 description=""
49523 CC=gcc.exe
49524 CFLAGS="-s -Zcrtdll"
49525 EXTRA_CFLAGS=""
49526 EXPORT_BY_ORDINALS=0
49527 exclude_symbols=""
49528 library_flags=""
49529 curDir=\`pwd\`
49530 curDirS=curDir
49531 case ${D}curDirS in
49532 */)
49533 ;;
49534 *)
49535 curDirS=${D}{curDirS}"/"
49536 ;;
49537 esac
49538 # Parse commandline
49539 libsToLink=0
49540 omfLinking=0
49541 while [ ${D}1 ]; do
49542 case ${D}1 in
49543 -ord*)
49544 EXPORT_BY_ORDINALS=1;
49545 ;;
49546 -o*)
49547 shift
49548 outFile=${D}1
49549 ;;
49550 -i*)
49551 shift
49552 outimpFile=${D}1
49553 ;;
49554 -name-mangler-script)
49555 shift
49556 renameScript=${D}1
49557 ;;
49558 -d*)
49559 shift
49560 description=${D}1
49561 ;;
49562 -f*)
49563 shift
49564 CFLAGS=${D}1
49565 ;;
49566 -c*)
49567 shift
49568 CC=${D}1
49569 ;;
49570 -h*)
49571 PrintHelp
49572 ;;
49573 -ex*)
49574 shift
49575 exclude_symbols=${D}{exclude_symbols}${D}1" "
49576 ;;
49577 -libf*)
49578 shift
49579 library_flags=${D}{library_flags}${D}1" "
49580 ;;
49581 -nocrt*)
49582 CFLAGS="-s"
49583 ;;
49584 -nolxl*)
49585 flag_USE_LXLITE=0
49586 ;;
49587 -* | /*)
49588 case ${D}1 in
49589 -L* | -l*)
49590 libsToLink=1
49591 ;;
49592 -Zomf)
49593 omfLinking=1
49594 ;;
49595 *)
49596 ;;
49597 esac
49598 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49599 ;;
49600 *.dll)
49601 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49602 if [ ${D}omfLinking -eq 1 ]; then
49603 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49604 else
49605 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49606 fi
49607 ;;
49608 *)
49609 found=0;
49610 if [ ${D}libsToLink -ne 0 ]; then
49611 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49612 else
49613 for file in ${D}1 ; do
49614 if [ -f ${D}file ]; then
49615 inputFiles="${D}{inputFiles} ${D}file"
49616 found=1
49617 fi
49618 done
49619 if [ ${D}found -eq 0 ]; then
49620 echo "ERROR: No file(s) found: "${D}1
49621 exit 8
49622 fi
49623 fi
49624 ;;
49625 esac
49626 shift
49627 done # iterate cmdline words
49628
49629 #
49630 if [ -z "${D}inputFiles" ]; then
49631 echo "dllar: no input files"
49632 PrintHelp
49633 fi
49634
49635 # Now extract all .o files from .a files
49636 newInputFiles=""
49637 for file in ${D}inputFiles ; do
49638 case ${D}file in
49639 *.a | *.lib)
49640 case ${D}file in
49641 *.a)
49642 suffix=".a"
49643 AR="ar"
49644 ;;
49645 *.lib)
49646 suffix=".lib"
49647 AR="emxomfar"
49648 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49649 ;;
49650 *)
49651 ;;
49652 esac
49653 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49654 mkdir ${D}dirname
49655 if [ ${D}? -ne 0 ]; then
49656 echo "Failed to create subdirectory ./${D}dirname"
49657 CleanUp
49658 exit 8;
49659 fi
49660 # Append '!' to indicate archive
49661 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49662 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49663 cd ${D}curDir
49664 found=0;
49665 for subfile in ${D}dirname/*.o* ; do
49666 if [ -f ${D}subfile ]; then
49667 found=1
49668 if [ -s ${D}subfile ]; then
49669 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49670 newInputFiles="${D}newInputFiles ${D}subfile"
49671 fi
49672 fi
49673 done
49674 if [ ${D}found -eq 0 ]; then
49675 echo "WARNING: there are no files in archive \\'${D}file\\'"
49676 fi
49677 ;;
49678 *)
49679 newInputFiles="${D}{newInputFiles} ${D}file"
49680 ;;
49681 esac
49682 done
49683 inputFiles="${D}newInputFiles"
49684
49685 # Output filename(s).
49686 do_backup=0;
49687 if [ -z ${D}outFile ]; then
49688 do_backup=1;
49689 set outFile ${D}inputFiles; outFile=${D}2
49690 fi
49691
49692 # If it is an archive, remove the '!' and the '_%' suffixes
49693 case ${D}outFile in
49694 *_%!)
49695 outFile=\`basnam ${D}outFile _%!\`
49696 ;;
49697 *)
49698 ;;
49699 esac
49700 case ${D}outFile in
49701 *.dll)
49702 outFile=\`basnam ${D}outFile .dll\`
49703 ;;
49704 *.DLL)
49705 outFile=\`basnam ${D}outFile .DLL\`
49706 ;;
49707 *.o)
49708 outFile=\`basnam ${D}outFile .o\`
49709 ;;
49710 *.obj)
49711 outFile=\`basnam ${D}outFile .obj\`
49712 ;;
49713 *.a)
49714 outFile=\`basnam ${D}outFile .a\`
49715 ;;
49716 *.lib)
49717 outFile=\`basnam ${D}outFile .lib\`
49718 ;;
49719 *)
49720 ;;
49721 esac
49722 case ${D}outimpFile in
49723 *.a)
49724 outimpFile=\`basnam ${D}outimpFile .a\`
49725 ;;
49726 *.lib)
49727 outimpFile=\`basnam ${D}outimpFile .lib\`
49728 ;;
49729 *)
49730 ;;
49731 esac
49732 if [ -z ${D}outimpFile ]; then
49733 outimpFile=${D}outFile
49734 fi
49735 defFile="${D}{outFile}.def"
49736 arcFile="${D}{outimpFile}.a"
49737 arcFile2="${D}{outimpFile}.lib"
49738
49739 #create ${D}dllFile as something matching 8.3 restrictions,
49740 if [ -z ${D}renameScript ] ; then
49741 dllFile="${D}outFile"
49742 else
49743 dllFile=\`${D}renameScript ${D}outimpFile\`
49744 fi
49745
49746 if [ ${D}do_backup -ne 0 ] ; then
49747 if [ -f ${D}arcFile ] ; then
49748 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49749 fi
49750 if [ -f ${D}arcFile2 ] ; then
49751 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49752 fi
49753 fi
49754
49755 # Extract public symbols from all the object files.
49756 tmpdefFile=${D}{defFile}_%
49757 rm -f ${D}tmpdefFile
49758 for file in ${D}inputFiles ; do
49759 case ${D}file in
49760 *!)
49761 ;;
49762 *)
49763 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49764 ;;
49765 esac
49766 done
49767
49768 # Create the def file.
49769 rm -f ${D}defFile
49770 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49771 dllFile="${D}{dllFile}.dll"
49772 if [ ! -z ${D}description ]; then
49773 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49774 fi
49775 echo "EXPORTS" >> ${D}defFile
49776
49777 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49778 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49779
49780 # Checks if the export is ok or not.
49781 for word in ${D}exclude_symbols; do
49782 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49783 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49784 done
49785
49786
49787 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49788 sed "=" < ${D}tmpdefFile | \\
49789 sed '
49790 N
49791 : loop
49792 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49793 t loop
49794 ' > ${D}{tmpdefFile}%
49795 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49796 else
49797 rm -f ${D}{tmpdefFile}%
49798 fi
49799 cat ${D}tmpdefFile >> ${D}defFile
49800 rm -f ${D}tmpdefFile
49801
49802 # Do linking, create implib, and apply lxlite.
49803 gccCmdl="";
49804 for file in ${D}inputFiles ; do
49805 case ${D}file in
49806 *!)
49807 ;;
49808 *)
49809 gccCmdl="${D}gccCmdl ${D}file"
49810 ;;
49811 esac
49812 done
49813 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49814 touch "${D}{outFile}.dll"
49815
49816 doCommand "emximp -o ${D}arcFile ${D}defFile"
49817 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49818 add_flags="";
49819 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49820 add_flags="-ynd"
49821 fi
49822 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49823 fi
49824 doCommand "emxomf -s -l ${D}arcFile"
49825
49826 # Successful exit.
49827 CleanUp 1
49828 exit 0
49829 EOF
49830
49831 chmod +x dllar.sh
49832 ;;
49833
49834 powerpc-apple-macos* | \
49835 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49836 *-*-mirbsd* | \
49837 *-*-sunos4* | \
49838 *-*-osf* | \
49839 *-*-dgux5* | \
49840 *-*-sysv5* | \
49841 *-pc-msdosdjgpp )
49842 ;;
49843
49844 *)
49845 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49846 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49847 { (exit 1); exit 1; }; }
49848 esac
49849
49850 if test "x$PIC_FLAG" != "x" ; then
49851 PIC_FLAG="$PIC_FLAG -DPIC"
49852 fi
49853
49854 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49855 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49856 fi
49857 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49858 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49859 fi
49860
49861
49862
49863
49864
49865
49866
49867
49868
49869 USE_SOVERSION=0
49870 USE_SOVERLINUX=0
49871 USE_SOVERSOLARIS=0
49872 USE_SOVERCYGWIN=0
49873 USE_SOTWOSYMLINKS=0
49874 USE_MACVERSION=0
49875 SONAME_FLAG=
49876
49877 case "${BAKEFILE_HOST}" in
49878 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49879 *-*-k*bsd*-gnu | *-*-mirbsd* )
49880 if test "x$SUNCXX" = "xyes"; then
49881 SONAME_FLAG="-h "
49882 else
49883 SONAME_FLAG="-Wl,-soname,"
49884 fi
49885 USE_SOVERSION=1
49886 USE_SOVERLINUX=1
49887 USE_SOTWOSYMLINKS=1
49888 ;;
49889
49890 *-*-solaris2* )
49891 SONAME_FLAG="-h "
49892 USE_SOVERSION=1
49893 USE_SOVERSOLARIS=1
49894 ;;
49895
49896 *-*-darwin* )
49897 USE_MACVERSION=1
49898 USE_SOVERSION=1
49899 USE_SOTWOSYMLINKS=1
49900 ;;
49901
49902 *-*-cygwin* )
49903 USE_SOVERSION=1
49904 USE_SOVERCYGWIN=1
49905 ;;
49906 esac
49907
49908
49909
49910
49911
49912
49913
49914
49915
49916
49917 # Check whether --enable-dependency-tracking was given.
49918 if test "${enable_dependency_tracking+set}" = set; then
49919 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49920 fi
49921
49922
49923 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49924 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49925
49926 BK_DEPS=""
49927 if test "x$bk_use_trackdeps" = "xno" ; then
49928 DEPS_TRACKING=0
49929 { echo "$as_me:$LINENO: result: disabled" >&5
49930 echo "${ECHO_T}disabled" >&6; }
49931 else
49932 DEPS_TRACKING=1
49933
49934 if test "x$GCC" = "xyes"; then
49935 DEPSMODE=gcc
49936 case "${BAKEFILE_HOST}" in
49937 *-*-darwin* )
49938 DEPSFLAG="-no-cpp-precomp -MMD"
49939 ;;
49940 * )
49941 DEPSFLAG="-MMD"
49942 ;;
49943 esac
49944 { echo "$as_me:$LINENO: result: gcc" >&5
49945 echo "${ECHO_T}gcc" >&6; }
49946 elif test "x$MWCC" = "xyes"; then
49947 DEPSMODE=mwcc
49948 DEPSFLAG="-MM"
49949 { echo "$as_me:$LINENO: result: mwcc" >&5
49950 echo "${ECHO_T}mwcc" >&6; }
49951 elif test "x$SUNCC" = "xyes"; then
49952 DEPSMODE=unixcc
49953 DEPSFLAG="-xM1"
49954 { echo "$as_me:$LINENO: result: Sun cc" >&5
49955 echo "${ECHO_T}Sun cc" >&6; }
49956 elif test "x$SGICC" = "xyes"; then
49957 DEPSMODE=unixcc
49958 DEPSFLAG="-M"
49959 { echo "$as_me:$LINENO: result: SGI cc" >&5
49960 echo "${ECHO_T}SGI cc" >&6; }
49961 elif test "x$HPCC" = "xyes"; then
49962 DEPSMODE=unixcc
49963 DEPSFLAG="+make"
49964 { echo "$as_me:$LINENO: result: HP cc" >&5
49965 echo "${ECHO_T}HP cc" >&6; }
49966 elif test "x$COMPAQCC" = "xyes"; then
49967 DEPSMODE=gcc
49968 DEPSFLAG="-MD"
49969 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49970 echo "${ECHO_T}Compaq cc" >&6; }
49971 else
49972 DEPS_TRACKING=0
49973 { echo "$as_me:$LINENO: result: none" >&5
49974 echo "${ECHO_T}none" >&6; }
49975 fi
49976
49977 if test $DEPS_TRACKING = 1 ; then
49978
49979 D='$'
49980 cat <<EOF >bk-deps
49981 #!/bin/sh
49982
49983 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49984 # script. It is used to track C/C++ files dependencies in portable way.
49985 #
49986 # Permission is given to use this file in any way.
49987
49988 DEPSMODE=${DEPSMODE}
49989 DEPSFLAG="${DEPSFLAG}"
49990 DEPSDIRBASE=.deps
49991
49992 if test ${D}DEPSMODE = gcc ; then
49993 ${D}* ${D}{DEPSFLAG}
49994 status=${D}?
49995
49996 # determine location of created files:
49997 while test ${D}# -gt 0; do
49998 case "${D}1" in
49999 -o )
50000 shift
50001 objfile=${D}1
50002 ;;
50003 -* )
50004 ;;
50005 * )
50006 srcfile=${D}1
50007 ;;
50008 esac
50009 shift
50010 done
50011 objfilebase=\`basename ${D}objfile\`
50012 builddir=\`dirname ${D}objfile\`
50013 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50014 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50015 depsdir=${D}builddir/${D}DEPSDIRBASE
50016 mkdir -p ${D}depsdir
50017
50018 # if the compiler failed, we're done:
50019 if test ${D}{status} != 0 ; then
50020 rm -f ${D}depfile
50021 exit ${D}{status}
50022 fi
50023
50024 # move created file to the location we want it in:
50025 if test -f ${D}depfile ; then
50026 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50027 rm -f ${D}depfile
50028 else
50029 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50030 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
50031 if test ! -f ${D}depfile ; then
50032 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50033 depfile="${D}objfile.d"
50034 fi
50035 if test -f ${D}depfile ; then
50036 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
50037 rm -f ${D}depfile
50038 fi
50039 fi
50040 exit 0
50041
50042 elif test ${D}DEPSMODE = mwcc ; then
50043 ${D}* || exit ${D}?
50044 # Run mwcc again with -MM and redirect into the dep file we want
50045 # NOTE: We can't use shift here because we need ${D}* to be valid
50046 prevarg=
50047 for arg in ${D}* ; do
50048 if test "${D}prevarg" = "-o"; then
50049 objfile=${D}arg
50050 else
50051 case "${D}arg" in
50052 -* )
50053 ;;
50054 * )
50055 srcfile=${D}arg
50056 ;;
50057 esac
50058 fi
50059 prevarg="${D}arg"
50060 done
50061
50062 objfilebase=\`basename ${D}objfile\`
50063 builddir=\`dirname ${D}objfile\`
50064 depsdir=${D}builddir/${D}DEPSDIRBASE
50065 mkdir -p ${D}depsdir
50066
50067 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
50068 exit 0
50069
50070 elif test ${D}DEPSMODE = unixcc; then
50071 ${D}* || exit ${D}?
50072 # Run compiler again with deps flag and redirect into the dep file.
50073 # It doesn't work if the '-o FILE' option is used, but without it the
50074 # dependency file will contain the wrong name for the object. So it is
50075 # removed from the command line, and the dep file is fixed with sed.
50076 cmd=""
50077 while test ${D}# -gt 0; do
50078 case "${D}1" in
50079 -o )
50080 shift
50081 objfile=${D}1
50082 ;;
50083 * )
50084 eval arg${D}#=\\${D}1
50085 cmd="${D}cmd \\${D}arg${D}#"
50086 ;;
50087 esac
50088 shift
50089 done
50090
50091 objfilebase=\`basename ${D}objfile\`
50092 builddir=\`dirname ${D}objfile\`
50093 depsdir=${D}builddir/${D}DEPSDIRBASE
50094 mkdir -p ${D}depsdir
50095
50096 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
50097 exit 0
50098
50099 else
50100 ${D}*
50101 exit ${D}?
50102 fi
50103 EOF
50104
50105 chmod +x bk-deps
50106 BK_DEPS="`pwd`/bk-deps"
50107 fi
50108 fi
50109
50110
50111
50112
50113
50114 case ${BAKEFILE_HOST} in
50115 *-*-cygwin* | *-*-mingw32* )
50116 if test -n "$ac_tool_prefix"; then
50117 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50118 set dummy ${ac_tool_prefix}windres; ac_word=$2
50119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50121 if test "${ac_cv_prog_WINDRES+set}" = set; then
50122 echo $ECHO_N "(cached) $ECHO_C" >&6
50123 else
50124 if test -n "$WINDRES"; then
50125 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50126 else
50127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50128 for as_dir in $PATH
50129 do
50130 IFS=$as_save_IFS
50131 test -z "$as_dir" && as_dir=.
50132 for ac_exec_ext in '' $ac_executable_extensions; do
50133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50134 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50136 break 2
50137 fi
50138 done
50139 done
50140 IFS=$as_save_IFS
50141
50142 fi
50143 fi
50144 WINDRES=$ac_cv_prog_WINDRES
50145 if test -n "$WINDRES"; then
50146 { echo "$as_me:$LINENO: result: $WINDRES" >&5
50147 echo "${ECHO_T}$WINDRES" >&6; }
50148 else
50149 { echo "$as_me:$LINENO: result: no" >&5
50150 echo "${ECHO_T}no" >&6; }
50151 fi
50152
50153
50154 fi
50155 if test -z "$ac_cv_prog_WINDRES"; then
50156 ac_ct_WINDRES=$WINDRES
50157 # Extract the first word of "windres", so it can be a program name with args.
50158 set dummy windres; ac_word=$2
50159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50161 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50162 echo $ECHO_N "(cached) $ECHO_C" >&6
50163 else
50164 if test -n "$ac_ct_WINDRES"; then
50165 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50166 else
50167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50168 for as_dir in $PATH
50169 do
50170 IFS=$as_save_IFS
50171 test -z "$as_dir" && as_dir=.
50172 for ac_exec_ext in '' $ac_executable_extensions; do
50173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50174 ac_cv_prog_ac_ct_WINDRES="windres"
50175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50176 break 2
50177 fi
50178 done
50179 done
50180 IFS=$as_save_IFS
50181
50182 fi
50183 fi
50184 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50185 if test -n "$ac_ct_WINDRES"; then
50186 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50187 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
50188 else
50189 { echo "$as_me:$LINENO: result: no" >&5
50190 echo "${ECHO_T}no" >&6; }
50191 fi
50192
50193 if test "x$ac_ct_WINDRES" = x; then
50194 WINDRES=""
50195 else
50196 case $cross_compiling:$ac_tool_warned in
50197 yes:)
50198 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50199 whose name does not start with the host triplet. If you think this
50200 configuration is useful to you, please write to autoconf@gnu.org." >&5
50201 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50202 whose name does not start with the host triplet. If you think this
50203 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50204 ac_tool_warned=yes ;;
50205 esac
50206 WINDRES=$ac_ct_WINDRES
50207 fi
50208 else
50209 WINDRES="$ac_cv_prog_WINDRES"
50210 fi
50211
50212 ;;
50213
50214 *-*-darwin* | powerpc-apple-macos* )
50215 # Extract the first word of "Rez", so it can be a program name with args.
50216 set dummy Rez; ac_word=$2
50217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50219 if test "${ac_cv_prog_REZ+set}" = set; then
50220 echo $ECHO_N "(cached) $ECHO_C" >&6
50221 else
50222 if test -n "$REZ"; then
50223 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50224 else
50225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50226 for as_dir in $PATH
50227 do
50228 IFS=$as_save_IFS
50229 test -z "$as_dir" && as_dir=.
50230 for ac_exec_ext in '' $ac_executable_extensions; do
50231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50232 ac_cv_prog_REZ="Rez"
50233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50234 break 2
50235 fi
50236 done
50237 done
50238 IFS=$as_save_IFS
50239
50240 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50241 fi
50242 fi
50243 REZ=$ac_cv_prog_REZ
50244 if test -n "$REZ"; then
50245 { echo "$as_me:$LINENO: result: $REZ" >&5
50246 echo "${ECHO_T}$REZ" >&6; }
50247 else
50248 { echo "$as_me:$LINENO: result: no" >&5
50249 echo "${ECHO_T}no" >&6; }
50250 fi
50251
50252
50253 # Extract the first word of "SetFile", so it can be a program name with args.
50254 set dummy SetFile; ac_word=$2
50255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50257 if test "${ac_cv_prog_SETFILE+set}" = set; then
50258 echo $ECHO_N "(cached) $ECHO_C" >&6
50259 else
50260 if test -n "$SETFILE"; then
50261 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50262 else
50263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50264 for as_dir in $PATH
50265 do
50266 IFS=$as_save_IFS
50267 test -z "$as_dir" && as_dir=.
50268 for ac_exec_ext in '' $ac_executable_extensions; do
50269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50270 ac_cv_prog_SETFILE="SetFile"
50271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50272 break 2
50273 fi
50274 done
50275 done
50276 IFS=$as_save_IFS
50277
50278 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50279 fi
50280 fi
50281 SETFILE=$ac_cv_prog_SETFILE
50282 if test -n "$SETFILE"; then
50283 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50284 echo "${ECHO_T}$SETFILE" >&6; }
50285 else
50286 { echo "$as_me:$LINENO: result: no" >&5
50287 echo "${ECHO_T}no" >&6; }
50288 fi
50289
50290
50291 ;;
50292 esac
50293
50294
50295
50296
50297
50298
50299
50300
50301
50302 BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
50303
50304
50305 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
50306
50307
50308
50309 # Check whether --enable-precomp-headers was given.
50310 if test "${enable_precomp_headers+set}" = set; then
50311 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
50312 fi
50313
50314
50315 GCC_PCH=0
50316 ICC_PCH=0
50317 USE_PCH=0
50318 BK_MAKE_PCH=""
50319
50320 case ${BAKEFILE_HOST} in
50321 *-*-cygwin* )
50322 bk_use_pch="no"
50323 ;;
50324 esac
50325
50326 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50327 if test "x$GCC" = "xyes"; then
50328 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50329 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50330 cat >conftest.$ac_ext <<_ACEOF
50331 /* confdefs.h. */
50332 _ACEOF
50333 cat confdefs.h >>conftest.$ac_ext
50334 cat >>conftest.$ac_ext <<_ACEOF
50335 /* end confdefs.h. */
50336
50337 int
50338 main ()
50339 {
50340
50341 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50342 There is no PCH support
50343 #endif
50344 #if (__GNUC__ < 3)
50345 There is no PCH support
50346 #endif
50347 #if (__GNUC__ == 3) && \
50348 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50349 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50350 ( defined(__INTEL_COMPILER) )
50351 There is no PCH support
50352 #endif
50353
50354 ;
50355 return 0;
50356 }
50357 _ACEOF
50358 rm -f conftest.$ac_objext
50359 if { (ac_try="$ac_compile"
50360 case "(($ac_try" in
50361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50362 *) ac_try_echo=$ac_try;;
50363 esac
50364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50365 (eval "$ac_compile") 2>conftest.er1
50366 ac_status=$?
50367 grep -v '^ *+' conftest.er1 >conftest.err
50368 rm -f conftest.er1
50369 cat conftest.err >&5
50370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50371 (exit $ac_status); } && {
50372 test -z "$ac_c_werror_flag" ||
50373 test ! -s conftest.err
50374 } && test -s conftest.$ac_objext; then
50375
50376 { echo "$as_me:$LINENO: result: yes" >&5
50377 echo "${ECHO_T}yes" >&6; }
50378 GCC_PCH=1
50379
50380 else
50381 echo "$as_me: failed program was:" >&5
50382 sed 's/^/| /' conftest.$ac_ext >&5
50383
50384
50385 if test "$INTELCXX8" = "yes"; then
50386 { echo "$as_me:$LINENO: result: yes" >&5
50387 echo "${ECHO_T}yes" >&6; }
50388 ICC_PCH=1
50389 if test "$INTELCXX10" = "yes"; then
50390 ICC_PCH_CREATE_SWITCH="-pch-create"
50391 ICC_PCH_USE_SWITCH="-pch-use"
50392 else
50393 ICC_PCH_CREATE_SWITCH="-create-pch"
50394 ICC_PCH_USE_SWITCH="-use-pch"
50395 fi
50396 else
50397 { echo "$as_me:$LINENO: result: no" >&5
50398 echo "${ECHO_T}no" >&6; }
50399 fi
50400
50401 fi
50402
50403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50404 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50405 USE_PCH=1
50406
50407 D='$'
50408 cat <<EOF >bk-make-pch
50409 #!/bin/sh
50410
50411 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50412 # script. It is used to generated precompiled headers.
50413 #
50414 # Permission is given to use this file in any way.
50415
50416 outfile="${D}{1}"
50417 header="${D}{2}"
50418 shift
50419 shift
50420
50421 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
50422
50423 compiler=""
50424 headerfile=""
50425
50426 while test ${D}{#} -gt 0; do
50427 add_to_cmdline=1
50428 case "${D}{1}" in
50429 -I* )
50430 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50431 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50432 headerfile="${D}{incdir}/${D}{header}"
50433 fi
50434 ;;
50435 -use-pch|-use_pch|-pch-use )
50436 shift
50437 add_to_cmdline=0
50438 ;;
50439 esac
50440 if test ${D}add_to_cmdline = 1 ; then
50441 compiler="${D}{compiler} ${D}{1}"
50442 fi
50443 shift
50444 done
50445
50446 if test "x${D}{headerfile}" = "x" ; then
50447 echo "error: can't find header ${D}{header} in include paths" >&2
50448 else
50449 if test -f ${D}{outfile} ; then
50450 rm -f ${D}{outfile}
50451 else
50452 mkdir -p \`dirname ${D}{outfile}\`
50453 fi
50454 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50455 mkdir -p ${D}{builddir}/.deps
50456 if test "x${GCC_PCH}" = "x1" ; then
50457 # can do this because gcc is >= 3.4:
50458 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50459 elif test "x${ICC_PCH}" = "x1" ; then
50460 filename=pch_gen-${D}${D}
50461 file=${D}{filename}.c
50462 dfile=${D}{filename}.d
50463 cat > ${D}file <<EOT
50464 #include "${D}header"
50465 EOT
50466 # using -MF icc complains about differing command lines in creation/use
50467 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50468 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50469 rm -f ${D}file ${D}dfile ${D}{filename}.o
50470 fi
50471 exit ${D}{?}
50472 fi
50473 EOF
50474
50475 chmod +x bk-make-pch
50476 BK_MAKE_PCH="`pwd`/bk-make-pch"
50477 fi
50478 fi
50479 fi
50480
50481
50482
50483
50484
50485
50486
50487 COND_BUILD_DEBUG="#"
50488 if test "x$BUILD" = "xdebug" ; then
50489 COND_BUILD_DEBUG=""
50490 fi
50491
50492 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50493 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50494 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50495 fi
50496
50497 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50498 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50499 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50500 fi
50501
50502 COND_BUILD_DEBUG_UNICODE_0="#"
50503 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50504 COND_BUILD_DEBUG_UNICODE_0=""
50505 fi
50506
50507 COND_BUILD_DEBUG_UNICODE_1="#"
50508 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50509 COND_BUILD_DEBUG_UNICODE_1=""
50510 fi
50511
50512 COND_BUILD_RELEASE="#"
50513 if test "x$BUILD" = "xrelease" ; then
50514 COND_BUILD_RELEASE=""
50515 fi
50516
50517 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50518 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50519 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50520 fi
50521
50522 COND_BUILD_RELEASE_UNICODE_0="#"
50523 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50524 COND_BUILD_RELEASE_UNICODE_0=""
50525 fi
50526
50527 COND_BUILD_RELEASE_UNICODE_1="#"
50528 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50529 COND_BUILD_RELEASE_UNICODE_1=""
50530 fi
50531
50532 COND_BUILD_debug="#"
50533 if test "x$BUILD" = "xdebug" ; then
50534 COND_BUILD_debug=""
50535 fi
50536
50537 COND_BUILD_debug_DEBUG_FLAG_default="#"
50538 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50539 COND_BUILD_debug_DEBUG_FLAG_default=""
50540 fi
50541
50542 COND_BUILD_debug_DEBUG_INFO_default="#"
50543 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50544 COND_BUILD_debug_DEBUG_INFO_default=""
50545 fi
50546
50547 COND_BUILD_debug_UNICODE_0="#"
50548 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50549 COND_BUILD_debug_UNICODE_0=""
50550 fi
50551
50552 COND_BUILD_debug_UNICODE_1="#"
50553 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50554 COND_BUILD_debug_UNICODE_1=""
50555 fi
50556
50557 COND_BUILD_release="#"
50558 if test "x$BUILD" = "xrelease" ; then
50559 COND_BUILD_release=""
50560 fi
50561
50562 COND_BUILD_release_DEBUG_INFO_default="#"
50563 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50564 COND_BUILD_release_DEBUG_INFO_default=""
50565 fi
50566
50567 COND_BUILD_release_UNICODE_0="#"
50568 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50569 COND_BUILD_release_UNICODE_0=""
50570 fi
50571
50572 COND_BUILD_release_UNICODE_1="#"
50573 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50574 COND_BUILD_release_UNICODE_1=""
50575 fi
50576
50577 COND_DEBUG_FLAG_0="#"
50578 if test "x$DEBUG_FLAG" = "x0" ; then
50579 COND_DEBUG_FLAG_0=""
50580 fi
50581
50582 COND_DEBUG_FLAG_1="#"
50583 if test "x$DEBUG_FLAG" = "x1" ; then
50584 COND_DEBUG_FLAG_1=""
50585 fi
50586
50587 COND_DEBUG_INFO_0="#"
50588 if test "x$DEBUG_INFO" = "x0" ; then
50589 COND_DEBUG_INFO_0=""
50590 fi
50591
50592 COND_DEBUG_INFO_1="#"
50593 if test "x$DEBUG_INFO" = "x1" ; then
50594 COND_DEBUG_INFO_1=""
50595 fi
50596
50597 COND_DEPS_TRACKING_0="#"
50598 if test "x$DEPS_TRACKING" = "x0" ; then
50599 COND_DEPS_TRACKING_0=""
50600 fi
50601
50602 COND_DEPS_TRACKING_1="#"
50603 if test "x$DEPS_TRACKING" = "x1" ; then
50604 COND_DEPS_TRACKING_1=""
50605 fi
50606
50607 COND_GCC_PCH_1="#"
50608 if test "x$GCC_PCH" = "x1" ; then
50609 COND_GCC_PCH_1=""
50610 fi
50611
50612 COND_ICC_PCH_1="#"
50613 if test "x$ICC_PCH" = "x1" ; then
50614 COND_ICC_PCH_1=""
50615 fi
50616
50617 COND_MONOLITHIC_0="#"
50618 if test "x$MONOLITHIC" = "x0" ; then
50619 COND_MONOLITHIC_0=""
50620 fi
50621
50622 COND_MONOLITHIC_0_SHARED_0="#"
50623 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50624 COND_MONOLITHIC_0_SHARED_0=""
50625 fi
50626
50627 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50628 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50629 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50630 fi
50631
50632 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50633 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50634 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50635 fi
50636
50637 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50638 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50639 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50640 fi
50641
50642 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50643 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50644 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50645 fi
50646
50647 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50648 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50649 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50650 fi
50651
50652 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50653 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50654 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50655 fi
50656
50657 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50658 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50659 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50660 fi
50661
50662 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50663 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50664 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50665 fi
50666
50667 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50668 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50669 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50670 fi
50671
50672 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50673 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50674 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50675 fi
50676
50677 COND_MONOLITHIC_0_SHARED_1="#"
50678 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50679 COND_MONOLITHIC_0_SHARED_1=""
50680 fi
50681
50682 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50683 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50684 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50685 fi
50686
50687 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50688 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50689 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50690 fi
50691
50692 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50693 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50694 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50695 fi
50696
50697 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50698 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50699 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50700 fi
50701
50702 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50703 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50704 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50705 fi
50706
50707 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50708 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50709 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50710 fi
50711
50712 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50713 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50714 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50715 fi
50716
50717 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50718 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50719 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50720 fi
50721
50722 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50723 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50724 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50725 fi
50726
50727 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50728 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50729 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50730 fi
50731
50732 COND_MONOLITHIC_0_USE_AUI_1="#"
50733 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50734 COND_MONOLITHIC_0_USE_AUI_1=""
50735 fi
50736
50737 COND_MONOLITHIC_0_USE_GUI_1="#"
50738 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50739 COND_MONOLITHIC_0_USE_GUI_1=""
50740 fi
50741
50742 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50743 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50744 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50745 fi
50746
50747 COND_MONOLITHIC_0_USE_HTML_1="#"
50748 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50749 COND_MONOLITHIC_0_USE_HTML_1=""
50750 fi
50751
50752 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50753 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50754 COND_MONOLITHIC_0_USE_MEDIA_1=""
50755 fi
50756
50757 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50758 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50759 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50760 fi
50761
50762 COND_MONOLITHIC_0_USE_QA_1="#"
50763 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50764 COND_MONOLITHIC_0_USE_QA_1=""
50765 fi
50766
50767 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50768 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50769 COND_MONOLITHIC_0_USE_RIBBON_1=""
50770 fi
50771
50772 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50773 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50774 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50775 fi
50776
50777 COND_MONOLITHIC_0_USE_STC_1="#"
50778 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50779 COND_MONOLITHIC_0_USE_STC_1=""
50780 fi
50781
50782 COND_MONOLITHIC_0_USE_XRC_1="#"
50783 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50784 COND_MONOLITHIC_0_USE_XRC_1=""
50785 fi
50786
50787 COND_MONOLITHIC_1="#"
50788 if test "x$MONOLITHIC" = "x1" ; then
50789 COND_MONOLITHIC_1=""
50790 fi
50791
50792 COND_MONOLITHIC_1_SHARED_0="#"
50793 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50794 COND_MONOLITHIC_1_SHARED_0=""
50795 fi
50796
50797 COND_MONOLITHIC_1_SHARED_1="#"
50798 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50799 COND_MONOLITHIC_1_SHARED_1=""
50800 fi
50801
50802 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50803 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50804 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50805 fi
50806
50807 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50808 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50809 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50810 fi
50811
50812 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50813 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50814 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50815 fi
50816
50817 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50818 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50819 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50820 fi
50821
50822 COND_PLATFORM_MACOSX_1="#"
50823 if test "x$PLATFORM_MACOSX" = "x1" ; then
50824 COND_PLATFORM_MACOSX_1=""
50825 fi
50826
50827 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50828 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50829 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50830 fi
50831
50832 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
50833 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50834 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
50835 fi
50836
50837 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50838 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50839 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50840 fi
50841
50842 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50843 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50844 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50845 fi
50846
50847 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50848 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50849 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50850 fi
50851
50852 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50853 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50854 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50855 fi
50856
50857 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50858 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50859 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50860 fi
50861
50862 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50863 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50864 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50865 fi
50866
50867 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50868 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50869 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50870 fi
50871
50872 COND_PLATFORM_MACOS_1="#"
50873 if test "x$PLATFORM_MACOS" = "x1" ; then
50874 COND_PLATFORM_MACOS_1=""
50875 fi
50876
50877 COND_PLATFORM_MAC_0="#"
50878 if test "x$PLATFORM_MAC" = "x0" ; then
50879 COND_PLATFORM_MAC_0=""
50880 fi
50881
50882 COND_PLATFORM_MAC_1="#"
50883 if test "x$PLATFORM_MAC" = "x1" ; then
50884 COND_PLATFORM_MAC_1=""
50885 fi
50886
50887 COND_PLATFORM_MSDOS_0="#"
50888 if test "x$PLATFORM_MSDOS" = "x0" ; then
50889 COND_PLATFORM_MSDOS_0=""
50890 fi
50891
50892 COND_PLATFORM_MSDOS_1="#"
50893 if test "x$PLATFORM_MSDOS" = "x1" ; then
50894 COND_PLATFORM_MSDOS_1=""
50895 fi
50896
50897 COND_PLATFORM_OS2_1="#"
50898 if test "x$PLATFORM_OS2" = "x1" ; then
50899 COND_PLATFORM_OS2_1=""
50900 fi
50901
50902 COND_PLATFORM_UNIX_0="#"
50903 if test "x$PLATFORM_UNIX" = "x0" ; then
50904 COND_PLATFORM_UNIX_0=""
50905 fi
50906
50907 COND_PLATFORM_UNIX_1="#"
50908 if test "x$PLATFORM_UNIX" = "x1" ; then
50909 COND_PLATFORM_UNIX_1=""
50910 fi
50911
50912 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50913 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50914 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50915 fi
50916
50917 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50918 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50919 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50920 fi
50921
50922 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50923 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50924 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50925 fi
50926
50927 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50928 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50929 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50930 fi
50931
50932 COND_PLATFORM_WIN32_0="#"
50933 if test "x$PLATFORM_WIN32" = "x0" ; then
50934 COND_PLATFORM_WIN32_0=""
50935 fi
50936
50937 COND_PLATFORM_WIN32_1="#"
50938 if test "x$PLATFORM_WIN32" = "x1" ; then
50939 COND_PLATFORM_WIN32_1=""
50940 fi
50941
50942 COND_PLATFORM_WIN32_1_SHARED_0="#"
50943 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
50944 COND_PLATFORM_WIN32_1_SHARED_0=""
50945 fi
50946
50947 COND_SHARED_0="#"
50948 if test "x$SHARED" = "x0" ; then
50949 COND_SHARED_0=""
50950 fi
50951
50952 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50953 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50954 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50955 fi
50956
50957 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50958 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50959 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50960 fi
50961
50962 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50963 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50964 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50965 fi
50966
50967 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50968 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50969 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50970 fi
50971
50972 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50973 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50974 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50975 fi
50976
50977 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50978 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50979 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50980 fi
50981
50982 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50983 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50984 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50985 fi
50986
50987 COND_SHARED_0_USE_STC_1="#"
50988 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50989 COND_SHARED_0_USE_STC_1=""
50990 fi
50991
50992 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50993 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50994 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50995 fi
50996
50997 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50998 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50999 COND_SHARED_0_wxUSE_REGEX_builtin=""
51000 fi
51001
51002 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
51003 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51004 COND_SHARED_0_wxUSE_ZLIB_builtin=""
51005 fi
51006
51007 COND_SHARED_1="#"
51008 if test "x$SHARED" = "x1" ; then
51009 COND_SHARED_1=""
51010 fi
51011
51012 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51013 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51014 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51015 fi
51016
51017 COND_TOOLKIT_="#"
51018 if test "x$TOOLKIT" = "x" ; then
51019 COND_TOOLKIT_=""
51020 fi
51021
51022 COND_TOOLKIT_COCOA="#"
51023 if test "x$TOOLKIT" = "xCOCOA" ; then
51024 COND_TOOLKIT_COCOA=""
51025 fi
51026
51027 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51028 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51029 COND_TOOLKIT_COCOA_USE_GUI_1=""
51030 fi
51031
51032 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51033 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51034 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51035 fi
51036
51037 COND_TOOLKIT_DFB="#"
51038 if test "x$TOOLKIT" = "xDFB" ; then
51039 COND_TOOLKIT_DFB=""
51040 fi
51041
51042 COND_TOOLKIT_DFB_USE_GUI_1="#"
51043 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51044 COND_TOOLKIT_DFB_USE_GUI_1=""
51045 fi
51046
51047 COND_TOOLKIT_GTK="#"
51048 if test "x$TOOLKIT" = "xGTK" ; then
51049 COND_TOOLKIT_GTK=""
51050 fi
51051
51052 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51053 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51054 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51055 fi
51056
51057 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51058 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51059 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51060 fi
51061
51062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51063 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51064 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51065 fi
51066
51067 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51068 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51069 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51070 fi
51071
51072 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51073 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51074 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51075 fi
51076
51077 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51078 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51079 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51080 fi
51081
51082 COND_TOOLKIT_GTK_USE_GUI_1="#"
51083 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51084 COND_TOOLKIT_GTK_USE_GUI_1=""
51085 fi
51086
51087 COND_TOOLKIT_MAC="#"
51088 if test "x$TOOLKIT" = "xMAC" ; then
51089 COND_TOOLKIT_MAC=""
51090 fi
51091
51092 COND_TOOLKIT_MGL="#"
51093 if test "x$TOOLKIT" = "xMGL" ; then
51094 COND_TOOLKIT_MGL=""
51095 fi
51096
51097 COND_TOOLKIT_MGL_USE_GUI_1="#"
51098 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51099 COND_TOOLKIT_MGL_USE_GUI_1=""
51100 fi
51101
51102 COND_TOOLKIT_MOTIF="#"
51103 if test "x$TOOLKIT" = "xMOTIF" ; then
51104 COND_TOOLKIT_MOTIF=""
51105 fi
51106
51107 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51108 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51109 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51110 fi
51111
51112 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51113 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51114 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51115 fi
51116
51117 COND_TOOLKIT_MSW="#"
51118 if test "x$TOOLKIT" = "xMSW" ; then
51119 COND_TOOLKIT_MSW=""
51120 fi
51121
51122 COND_TOOLKIT_MSW_USE_GUI_1="#"
51123 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51124 COND_TOOLKIT_MSW_USE_GUI_1=""
51125 fi
51126
51127 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51128 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51129 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51130 fi
51131
51132 COND_TOOLKIT_MSW_WXUNIV_0="#"
51133 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51134 COND_TOOLKIT_MSW_WXUNIV_0=""
51135 fi
51136
51137 COND_TOOLKIT_OSX_CARBON="#"
51138 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
51139 COND_TOOLKIT_OSX_CARBON=""
51140 fi
51141
51142 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
51143 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
51144 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
51145 fi
51146
51147 COND_TOOLKIT_OSX_COCOA="#"
51148 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
51149 COND_TOOLKIT_OSX_COCOA=""
51150 fi
51151
51152 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
51153 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
51154 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
51155 fi
51156
51157 COND_TOOLKIT_OSX_IPHONE="#"
51158 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
51159 COND_TOOLKIT_OSX_IPHONE=""
51160 fi
51161
51162 COND_TOOLKIT_PM="#"
51163 if test "x$TOOLKIT" = "xPM" ; then
51164 COND_TOOLKIT_PM=""
51165 fi
51166
51167 COND_TOOLKIT_PM_USE_GUI_1="#"
51168 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51169 COND_TOOLKIT_PM_USE_GUI_1=""
51170 fi
51171
51172 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51173 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51174 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51175 fi
51176
51177 COND_TOOLKIT_WINCE="#"
51178 if test "x$TOOLKIT" = "xWINCE" ; then
51179 COND_TOOLKIT_WINCE=""
51180 fi
51181
51182 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51183 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51184 COND_TOOLKIT_WINCE_USE_GUI_1=""
51185 fi
51186
51187 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51188 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51189 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51190 fi
51191
51192 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51193 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51194 COND_TOOLKIT_WINCE_WXUNIV_0=""
51195 fi
51196
51197 COND_TOOLKIT_X11="#"
51198 if test "x$TOOLKIT" = "xX11" ; then
51199 COND_TOOLKIT_X11=""
51200 fi
51201
51202 COND_TOOLKIT_X11_USE_GUI_1="#"
51203 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51204 COND_TOOLKIT_X11_USE_GUI_1=""
51205 fi
51206
51207 COND_UNICODE_1="#"
51208 if test "x$UNICODE" = "x1" ; then
51209 COND_UNICODE_1=""
51210 fi
51211
51212 COND_USE_CAIRO_1="#"
51213 if test "x$USE_CAIRO" = "x1" ; then
51214 COND_USE_CAIRO_1=""
51215 fi
51216
51217 COND_USE_EXCEPTIONS_0="#"
51218 if test "x$USE_EXCEPTIONS" = "x0" ; then
51219 COND_USE_EXCEPTIONS_0=""
51220 fi
51221
51222 COND_USE_EXCEPTIONS_1="#"
51223 if test "x$USE_EXCEPTIONS" = "x1" ; then
51224 COND_USE_EXCEPTIONS_1=""
51225 fi
51226
51227 COND_USE_GUI_0="#"
51228 if test "x$USE_GUI" = "x0" ; then
51229 COND_USE_GUI_0=""
51230 fi
51231
51232 COND_USE_GUI_1="#"
51233 if test "x$USE_GUI" = "x1" ; then
51234 COND_USE_GUI_1=""
51235 fi
51236
51237 COND_USE_GUI_1_USE_OPENGL_1="#"
51238 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51239 COND_USE_GUI_1_USE_OPENGL_1=""
51240 fi
51241
51242 COND_USE_GUI_1_WXUNIV_0="#"
51243 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51244 COND_USE_GUI_1_WXUNIV_0=""
51245 fi
51246
51247 COND_USE_GUI_1_WXUNIV_1="#"
51248 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51249 COND_USE_GUI_1_WXUNIV_1=""
51250 fi
51251
51252 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51253 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51254 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51255 fi
51256
51257 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51258 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51259 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51260 fi
51261
51262 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51263 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51264 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51265 fi
51266
51267 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51268 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51269 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51270 fi
51271
51272 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51273 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51274 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51275 fi
51276
51277 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51278 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51279 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51280 fi
51281
51282 COND_USE_OPENGL_1="#"
51283 if test "x$USE_OPENGL" = "x1" ; then
51284 COND_USE_OPENGL_1=""
51285 fi
51286
51287 COND_USE_PCH_1="#"
51288 if test "x$USE_PCH" = "x1" ; then
51289 COND_USE_PCH_1=""
51290 fi
51291
51292 COND_USE_PLUGINS_0="#"
51293 if test "x$USE_PLUGINS" = "x0" ; then
51294 COND_USE_PLUGINS_0=""
51295 fi
51296
51297 COND_USE_RTTI_0="#"
51298 if test "x$USE_RTTI" = "x0" ; then
51299 COND_USE_RTTI_0=""
51300 fi
51301
51302 COND_USE_RTTI_1="#"
51303 if test "x$USE_RTTI" = "x1" ; then
51304 COND_USE_RTTI_1=""
51305 fi
51306
51307 COND_USE_SOTWOSYMLINKS_1="#"
51308 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51309 COND_USE_SOTWOSYMLINKS_1=""
51310 fi
51311
51312 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51313 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51314 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51315 fi
51316
51317 COND_USE_SOVERLINUX_1="#"
51318 if test "x$USE_SOVERLINUX" = "x1" ; then
51319 COND_USE_SOVERLINUX_1=""
51320 fi
51321
51322 COND_USE_SOVERSION_0="#"
51323 if test "x$USE_SOVERSION" = "x0" ; then
51324 COND_USE_SOVERSION_0=""
51325 fi
51326
51327 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51328 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51329 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51330 fi
51331
51332 COND_USE_SOVERSOLARIS_1="#"
51333 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51334 COND_USE_SOVERSOLARIS_1=""
51335 fi
51336
51337 COND_USE_STC_1="#"
51338 if test "x$USE_STC" = "x1" ; then
51339 COND_USE_STC_1=""
51340 fi
51341
51342 COND_USE_THREADS_0="#"
51343 if test "x$USE_THREADS" = "x0" ; then
51344 COND_USE_THREADS_0=""
51345 fi
51346
51347 COND_USE_THREADS_1="#"
51348 if test "x$USE_THREADS" = "x1" ; then
51349 COND_USE_THREADS_1=""
51350 fi
51351
51352 COND_USE_XRC_1="#"
51353 if test "x$USE_XRC" = "x1" ; then
51354 COND_USE_XRC_1=""
51355 fi
51356
51357 COND_WINDOWS_IMPLIB_1="#"
51358 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51359 COND_WINDOWS_IMPLIB_1=""
51360 fi
51361
51362 COND_WITH_PLUGIN_SDL_1="#"
51363 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51364 COND_WITH_PLUGIN_SDL_1=""
51365 fi
51366
51367 COND_WXUNIV_0="#"
51368 if test "x$WXUNIV" = "x0" ; then
51369 COND_WXUNIV_0=""
51370 fi
51371
51372 COND_WXUNIV_1="#"
51373 if test "x$WXUNIV" = "x1" ; then
51374 COND_WXUNIV_1=""
51375 fi
51376
51377 COND_WXUSE_EXPAT_BUILTIN="#"
51378 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51379 COND_WXUSE_EXPAT_BUILTIN=""
51380 fi
51381
51382 COND_WXUSE_LIBJPEG_BUILTIN="#"
51383 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51384 COND_WXUSE_LIBJPEG_BUILTIN=""
51385 fi
51386
51387 COND_WXUSE_LIBPNG_BUILTIN="#"
51388 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51389 COND_WXUSE_LIBPNG_BUILTIN=""
51390 fi
51391
51392 COND_WXUSE_LIBTIFF_BUILTIN="#"
51393 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51394 COND_WXUSE_LIBTIFF_BUILTIN=""
51395 fi
51396
51397 COND_WXUSE_REGEX_BUILTIN="#"
51398 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51399 COND_WXUSE_REGEX_BUILTIN=""
51400 fi
51401
51402 COND_WXUSE_ZLIB_BUILTIN="#"
51403 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51404 COND_WXUSE_ZLIB_BUILTIN=""
51405 fi
51406
51407 COND_wxUSE_EXPAT_builtin="#"
51408 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51409 COND_wxUSE_EXPAT_builtin=""
51410 fi
51411
51412 COND_wxUSE_LIBJPEG_builtin="#"
51413 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51414 COND_wxUSE_LIBJPEG_builtin=""
51415 fi
51416
51417 COND_wxUSE_LIBPNG_builtin="#"
51418 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51419 COND_wxUSE_LIBPNG_builtin=""
51420 fi
51421
51422 COND_wxUSE_LIBTIFF_builtin="#"
51423 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51424 COND_wxUSE_LIBTIFF_builtin=""
51425 fi
51426
51427 COND_wxUSE_REGEX_builtin="#"
51428 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51429 COND_wxUSE_REGEX_builtin=""
51430 fi
51431
51432 COND_wxUSE_ZLIB_builtin="#"
51433 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51434 COND_wxUSE_ZLIB_builtin=""
51435 fi
51436
51437
51438
51439 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51440 { { 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
51441 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;}
51442 { (exit 1); exit 1; }; }
51443 fi
51444
51445 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51446 { { 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
51447 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;}
51448 { (exit 1); exit 1; }; }
51449 fi
51450
51451
51452 case ${INSTALL} in
51453 /* ) # Absolute
51454 ;;
51455 ?:* ) # Drive letter, considered as absolute.
51456 ;;
51457 *)
51458 INSTALL=`pwd`/${INSTALL} ;;
51459 esac
51460
51461 if test "$wxUSE_GUI" = "yes"; then
51462
51463 if test "$wxUSE_MSW" = 1 ; then
51464 if test "x$WINDRES" = "x"; then
51465 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51466 echo "$as_me: error: Required windres program not found" >&2;}
51467 { (exit 1); exit 1; }; }
51468 fi
51469
51470 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51471 fi
51472
51473 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
51474 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51475 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51476
51477 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51478
51479 # Extract the first word of "DeRez", so it can be a program name with args.
51480 set dummy DeRez; ac_word=$2
51481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51483 if test "${ac_cv_prog_DEREZ+set}" = set; then
51484 echo $ECHO_N "(cached) $ECHO_C" >&6
51485 else
51486 if test -n "$DEREZ"; then
51487 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51488 else
51489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51490 for as_dir in $PATH
51491 do
51492 IFS=$as_save_IFS
51493 test -z "$as_dir" && as_dir=.
51494 for ac_exec_ext in '' $ac_executable_extensions; do
51495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51496 ac_cv_prog_DEREZ="DeRez"
51497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51498 break 2
51499 fi
51500 done
51501 done
51502 IFS=$as_save_IFS
51503
51504 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51505 fi
51506 fi
51507 DEREZ=$ac_cv_prog_DEREZ
51508 if test -n "$DEREZ"; then
51509 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51510 echo "${ECHO_T}$DEREZ" >&6; }
51511 else
51512 { echo "$as_me:$LINENO: result: no" >&5
51513 echo "${ECHO_T}no" >&6; }
51514 fi
51515
51516
51517
51518 MACSETFILE="\$(SETFILE)"
51519
51520 if test "$wxUSE_OSX_CARBON" = 1; then
51521 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51522 RESCOMP="$REZ"
51523 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51524 else
51525 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51526 RESCOMP="cat /dev/null \| $REZ"
51527 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51528 fi
51529
51530 else
51531 MACSETFILE="@true"
51532
51533 if test "$wxUSE_PM" = 1; then
51534 RESCOMP="emxbind"
51535 WXCONFIG_RESFLAGS="-ep"
51536
51537 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51538 else
51539 POSTLINK_COMMAND="@true"
51540 fi
51541 fi
51542
51543 fi
51544
51545
51546 if test $GCC_PCH = 1
51547 then
51548 if test "$wx_cv_gcc_pch_bug" = yes; then
51549 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51550 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51551 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51552 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51553 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51554 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51555 fi
51556
51557 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51558 # the headers that benefit from precompilation are mostly C++ headers.
51559 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51560 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51561 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51562 fi
51563
51564
51565 if test "$wxUSE_MAC" = 1 ; then
51566 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51567 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51568 mv temp bk-deps
51569 chmod +x bk-deps
51570 fi
51571 fi
51572
51573 if test "$wxUSE_SHARED" = "yes"; then
51574 case "${host}" in
51575 *-pc-os2_emx | *-pc-os2-emx )
51576 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51577 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51578 cp -p ${srcdir}/src/os2/dllnames.sh .
51579 cp -p ${srcdir}/src/os2/dllar.sh .
51580 ;;
51581 esac
51582 fi
51583 if test "$wxUSE_OMF" = "yes"; then
51584 case "${host}" in
51585 *-pc-os2_emx | *-pc-os2-emx )
51586 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51587 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51588 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51589 ;;
51590 esac
51591 fi
51592
51593 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51594
51595
51596 case "${host}" in
51597 *-*-solaris2* )
51598 if test "$GCC" = yes; then
51599 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51600 LIBS=`echo $LIBS | sed 's/-mt//'`
51601 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51602 fi
51603 ;;
51604
51605 *-*-linux* )
51606 if test "x$SUNCXX" = xyes; then
51607 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51608 LIBS=`echo $LIBS | sed 's/-pthread//'`
51609 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51610 fi
51611 ;;
51612 esac
51613
51614 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51615 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51616 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51617 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51618
51619 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51620
51621
51622
51623
51624
51625
51626
51627
51628
51629
51630
51631
51632
51633
51634
51635
51636
51637
51638
51639
51640
51641
51642
51643
51644
51645
51646
51647
51648
51649
51650
51651
51652
51653
51654
51655
51656
51657
51658
51659
51660
51661
51662
51663
51664
51665
51666
51667
51668
51669
51670
51671
51672
51673
51674
51675
51676
51677
51678
51679
51680 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51681 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51682 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51683 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51684 echo $ECHO_N "(cached) $ECHO_C" >&6
51685 else
51686 cat >conftest.make <<\_ACEOF
51687 SHELL = /bin/sh
51688 all:
51689 @echo '@@@%%%=$(MAKE)=@@@%%%'
51690 _ACEOF
51691 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51692 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51693 *@@@%%%=?*=@@@%%%*)
51694 eval ac_cv_prog_make_${ac_make}_set=yes;;
51695 *)
51696 eval ac_cv_prog_make_${ac_make}_set=no;;
51697 esac
51698 rm -f conftest.make
51699 fi
51700 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51701 { echo "$as_me:$LINENO: result: yes" >&5
51702 echo "${ECHO_T}yes" >&6; }
51703 SET_MAKE=
51704 else
51705 { echo "$as_me:$LINENO: result: no" >&5
51706 echo "${ECHO_T}no" >&6; }
51707 SET_MAKE="MAKE=${MAKE-make}"
51708 fi
51709
51710
51711
51712 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51713
51714
51715 if test "$USE_WIN32" = 1; then
51716 ac_config_commands="$ac_config_commands rcdefs.h"
51717
51718 fi
51719
51720 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51721
51722
51723 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51724
51725
51726 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51727
51728
51729 if test "$wx_cv_version_script" = "yes"; then
51730 ac_config_files="$ac_config_files version-script"
51731
51732 fi
51733 ac_config_files="$ac_config_files Makefile"
51734
51735
51736 ac_config_commands="$ac_config_commands wx-config"
51737
51738
51739
51740 if test "$wxWITH_SUBDIRS" != "no"; then
51741 if test "$wxUSE_GUI" = "yes"; then
51742 SUBDIRS="samples demos utils"
51743 else
51744 SUBDIRS="samples utils"
51745 fi
51746
51747
51748
51749 # Check whether --with-cppunit-prefix was given.
51750 if test "${with_cppunit_prefix+set}" = set; then
51751 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51752 else
51753 cppunit_config_prefix=""
51754 fi
51755
51756
51757 # Check whether --with-cppunit-exec-prefix was given.
51758 if test "${with_cppunit_exec_prefix+set}" = set; then
51759 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51760 else
51761 cppunit_config_exec_prefix=""
51762 fi
51763
51764
51765 if test x$cppunit_config_exec_prefix != x ; then
51766 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51767 if test x${CPPUNIT_CONFIG+set} != xset ; then
51768 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51769 fi
51770 fi
51771 if test x$cppunit_config_prefix != x ; then
51772 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51773 if test x${CPPUNIT_CONFIG+set} != xset ; then
51774 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51775 fi
51776 fi
51777
51778 # Extract the first word of "cppunit-config", so it can be a program name with args.
51779 set dummy cppunit-config; ac_word=$2
51780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51782 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51783 echo $ECHO_N "(cached) $ECHO_C" >&6
51784 else
51785 case $CPPUNIT_CONFIG in
51786 [\\/]* | ?:[\\/]*)
51787 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51788 ;;
51789 *)
51790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51791 for as_dir in $PATH
51792 do
51793 IFS=$as_save_IFS
51794 test -z "$as_dir" && as_dir=.
51795 for ac_exec_ext in '' $ac_executable_extensions; do
51796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51797 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51799 break 2
51800 fi
51801 done
51802 done
51803 IFS=$as_save_IFS
51804
51805 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51806 ;;
51807 esac
51808 fi
51809 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51810 if test -n "$CPPUNIT_CONFIG"; then
51811 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51812 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51813 else
51814 { echo "$as_me:$LINENO: result: no" >&5
51815 echo "${ECHO_T}no" >&6; }
51816 fi
51817
51818
51819 cppunit_version_min=1.8.0
51820
51821 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51822 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51823 no_cppunit=""
51824 if test "$CPPUNIT_CONFIG" = "no" ; then
51825 { echo "$as_me:$LINENO: result: no" >&5
51826 echo "${ECHO_T}no" >&6; }
51827 no_cppunit=yes
51828 else
51829 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51830 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51831 cppunit_version=`$CPPUNIT_CONFIG --version`
51832
51833 cppunit_major_version=`echo $cppunit_version | \
51834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51835 cppunit_minor_version=`echo $cppunit_version | \
51836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51837 cppunit_micro_version=`echo $cppunit_version | \
51838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51839
51840 cppunit_major_min=`echo $cppunit_version_min | \
51841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51842 cppunit_minor_min=`echo $cppunit_version_min | \
51843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51844 cppunit_micro_min=`echo $cppunit_version_min | \
51845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51846
51847 cppunit_version_proper=`expr \
51848 $cppunit_major_version \> $cppunit_major_min \| \
51849 $cppunit_major_version \= $cppunit_major_min \& \
51850 $cppunit_minor_version \> $cppunit_minor_min \| \
51851 $cppunit_major_version \= $cppunit_major_min \& \
51852 $cppunit_minor_version \= $cppunit_minor_min \& \
51853 $cppunit_micro_version \>= $cppunit_micro_min `
51854
51855 if test "$cppunit_version_proper" = "1" ; then
51856 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51857 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51858 else
51859 { echo "$as_me:$LINENO: result: no" >&5
51860 echo "${ECHO_T}no" >&6; }
51861 no_cppunit=yes
51862 fi
51863 fi
51864
51865 if test "x$no_cppunit" = x ; then
51866 SUBDIRS="$SUBDIRS tests"
51867 else
51868 CPPUNIT_CFLAGS=""
51869 CPPUNIT_LIBS=""
51870 :
51871 fi
51872
51873
51874
51875
51876
51877 for subdir in $SUBDIRS; do
51878 if test -d ${srcdir}/${subdir} ; then
51879 if test "$wxUSE_GUI" = "yes"; then
51880 if test ${subdir} = "samples"; then
51881 makefiles="samples/Makefile.in $makefiles"
51882 for sample in $SAMPLES_SUBDIRS; do
51883 if test -d $srcdir/samples/$sample; then
51884 makefiles="samples/$sample/Makefile.in $makefiles"
51885 fi
51886 done
51887 else
51888 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51889 eval "disabled=\$$disabled_var"
51890 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51891 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51892 fi
51893 else
51894 if test ${subdir} = "samples"; then
51895 makefiles="samples/Makefile.in $makefiles"
51896 for sample in `echo $SAMPLES_SUBDIRS`; do
51897 if test -d $srcdir/samples/$sample; then
51898 makefiles="samples/$sample/Makefile.in $makefiles"
51899 fi
51900 done
51901 elif test ${subdir} = "utils"; then
51902 makefiles=""
51903 for util in ifacecheck ; do
51904 if test -d $srcdir/utils/$util ; then
51905 makefiles="utils/$util/src/Makefile.in \
51906 $makefiles"
51907 fi
51908 done
51909 else
51910 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51911 fi
51912 fi
51913
51914 for mkin in $makefiles ; do
51915 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51916 ac_config_files="$ac_config_files $mk"
51917
51918 done
51919 fi
51920 done
51921 fi
51922 cat >confcache <<\_ACEOF
51923 # This file is a shell script that caches the results of configure
51924 # tests run on this system so they can be shared between configure
51925 # scripts and configure runs, see configure's option --config-cache.
51926 # It is not useful on other systems. If it contains results you don't
51927 # want to keep, you may remove or edit it.
51928 #
51929 # config.status only pays attention to the cache file if you give it
51930 # the --recheck option to rerun configure.
51931 #
51932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51934 # following values.
51935
51936 _ACEOF
51937
51938 # The following way of writing the cache mishandles newlines in values,
51939 # but we know of no workaround that is simple, portable, and efficient.
51940 # So, we kill variables containing newlines.
51941 # Ultrix sh set writes to stderr and can't be redirected directly,
51942 # and sets the high bit in the cache file unless we assign to the vars.
51943 (
51944 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51945 eval ac_val=\$$ac_var
51946 case $ac_val in #(
51947 *${as_nl}*)
51948 case $ac_var in #(
51949 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51950 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51951 esac
51952 case $ac_var in #(
51953 _ | IFS | as_nl) ;; #(
51954 *) $as_unset $ac_var ;;
51955 esac ;;
51956 esac
51957 done
51958
51959 (set) 2>&1 |
51960 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51961 *${as_nl}ac_space=\ *)
51962 # `set' does not quote correctly, so add quotes (double-quote
51963 # substitution turns \\\\ into \\, and sed turns \\ into \).
51964 sed -n \
51965 "s/'/'\\\\''/g;
51966 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51967 ;; #(
51968 *)
51969 # `set' quotes correctly as required by POSIX, so do not add quotes.
51970 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51971 ;;
51972 esac |
51973 sort
51974 ) |
51975 sed '
51976 /^ac_cv_env_/b end
51977 t clear
51978 :clear
51979 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51980 t end
51981 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51982 :end' >>confcache
51983 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51984 if test -w "$cache_file"; then
51985 test "x$cache_file" != "x/dev/null" &&
51986 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51987 echo "$as_me: updating cache $cache_file" >&6;}
51988 cat confcache >$cache_file
51989 else
51990 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51991 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51992 fi
51993 fi
51994 rm -f confcache
51995
51996 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51997 # Let make expand exec_prefix.
51998 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51999
52000 DEFS=-DHAVE_CONFIG_H
52001
52002 ac_libobjs=
52003 ac_ltlibobjs=
52004 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52005 # 1. Remove the extension, and $U if already installed.
52006 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
52007 ac_i=`echo "$ac_i" | sed "$ac_script"`
52008 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
52009 # will be set to the directory where LIBOBJS objects are built.
52010 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
52011 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
52012 done
52013 LIBOBJS=$ac_libobjs
52014
52015 LTLIBOBJS=$ac_ltlibobjs
52016
52017
52018
52019 : ${CONFIG_STATUS=./config.status}
52020 ac_clean_files_save=$ac_clean_files
52021 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52022 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52023 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52024 cat >$CONFIG_STATUS <<_ACEOF
52025 #! $SHELL
52026 # Generated by $as_me.
52027 # Run this file to recreate the current configuration.
52028 # Compiler output produced by configure, useful for debugging
52029 # configure, is in config.log if it exists.
52030
52031 debug=false
52032 ac_cs_recheck=false
52033 ac_cs_silent=false
52034 SHELL=\${CONFIG_SHELL-$SHELL}
52035 _ACEOF
52036
52037 cat >>$CONFIG_STATUS <<\_ACEOF
52038 ## --------------------- ##
52039 ## M4sh Initialization. ##
52040 ## --------------------- ##
52041
52042 # Be more Bourne compatible
52043 DUALCASE=1; export DUALCASE # for MKS sh
52044 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52045 emulate sh
52046 NULLCMD=:
52047 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52048 # is contrary to our usage. Disable this feature.
52049 alias -g '${1+"$@"}'='"$@"'
52050 setopt NO_GLOB_SUBST
52051 else
52052 case `(set -o) 2>/dev/null` in
52053 *posix*) set -o posix ;;
52054 esac
52055
52056 fi
52057
52058
52059
52060
52061 # PATH needs CR
52062 # Avoid depending upon Character Ranges.
52063 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52064 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52065 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52066 as_cr_digits='0123456789'
52067 as_cr_alnum=$as_cr_Letters$as_cr_digits
52068
52069 # The user is always right.
52070 if test "${PATH_SEPARATOR+set}" != set; then
52071 echo "#! /bin/sh" >conf$$.sh
52072 echo "exit 0" >>conf$$.sh
52073 chmod +x conf$$.sh
52074 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52075 PATH_SEPARATOR=';'
52076 else
52077 PATH_SEPARATOR=:
52078 fi
52079 rm -f conf$$.sh
52080 fi
52081
52082 # Support unset when possible.
52083 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52084 as_unset=unset
52085 else
52086 as_unset=false
52087 fi
52088
52089
52090 # IFS
52091 # We need space, tab and new line, in precisely that order. Quoting is
52092 # there to prevent editors from complaining about space-tab.
52093 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
52094 # splitting by setting IFS to empty value.)
52095 as_nl='
52096 '
52097 IFS=" "" $as_nl"
52098
52099 # Find who we are. Look in the path if we contain no directory separator.
52100 case $0 in
52101 *[\\/]* ) as_myself=$0 ;;
52102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52103 for as_dir in $PATH
52104 do
52105 IFS=$as_save_IFS
52106 test -z "$as_dir" && as_dir=.
52107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52108 done
52109 IFS=$as_save_IFS
52110
52111 ;;
52112 esac
52113 # We did not find ourselves, most probably we were run as `sh COMMAND'
52114 # in which case we are not to be found in the path.
52115 if test "x$as_myself" = x; then
52116 as_myself=$0
52117 fi
52118 if test ! -f "$as_myself"; then
52119 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
52120 { (exit 1); exit 1; }
52121 fi
52122
52123 # Work around bugs in pre-3.0 UWIN ksh.
52124 for as_var in ENV MAIL MAILPATH
52125 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52126 done
52127 PS1='$ '
52128 PS2='> '
52129 PS4='+ '
52130
52131 # NLS nuisances.
52132 for as_var in \
52133 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52134 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52135 LC_TELEPHONE LC_TIME
52136 do
52137 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52138 eval $as_var=C; export $as_var
52139 else
52140 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
52141 fi
52142 done
52143
52144 # Required to use basename.
52145 if expr a : '\(a\)' >/dev/null 2>&1 &&
52146 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52147 as_expr=expr
52148 else
52149 as_expr=false
52150 fi
52151
52152 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
52153 as_basename=basename
52154 else
52155 as_basename=false
52156 fi
52157
52158
52159 # Name of the executable.
52160 as_me=`$as_basename -- "$0" ||
52161 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52162 X"$0" : 'X\(//\)$' \| \
52163 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
52164 echo X/"$0" |
52165 sed '/^.*\/\([^/][^/]*\)\/*$/{
52166 s//\1/
52167 q
52168 }
52169 /^X\/\(\/\/\)$/{
52170 s//\1/
52171 q
52172 }
52173 /^X\/\(\/\).*/{
52174 s//\1/
52175 q
52176 }
52177 s/.*/./; q'`
52178
52179 # CDPATH.
52180 $as_unset CDPATH
52181
52182
52183
52184 as_lineno_1=$LINENO
52185 as_lineno_2=$LINENO
52186 test "x$as_lineno_1" != "x$as_lineno_2" &&
52187 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
52188
52189 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52190 # uniformly replaced by the line number. The first 'sed' inserts a
52191 # line-number line after each line using $LINENO; the second 'sed'
52192 # does the real work. The second script uses 'N' to pair each
52193 # line-number line with the line containing $LINENO, and appends
52194 # trailing '-' during substitution so that $LINENO is not a special
52195 # case at line end.
52196 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52197 # scripts with optimization help from Paolo Bonzini. Blame Lee
52198 # E. McMahon (1931-1989) for sed's syntax. :-)
52199 sed -n '
52200 p
52201 /[$]LINENO/=
52202 ' <$as_myself |
52203 sed '
52204 s/[$]LINENO.*/&-/
52205 t lineno
52206 b
52207 :lineno
52208 N
52209 :loop
52210 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
52211 t loop
52212 s/-\n.*//
52213 ' >$as_me.lineno &&
52214 chmod +x "$as_me.lineno" ||
52215 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
52216 { (exit 1); exit 1; }; }
52217
52218 # Don't try to exec as it changes $[0], causing all sort of problems
52219 # (the dirname of $[0] is not the place where we might find the
52220 # original and so on. Autoconf is especially sensitive to this).
52221 . "./$as_me.lineno"
52222 # Exit status is that of the last command.
52223 exit
52224 }
52225
52226
52227 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
52228 as_dirname=dirname
52229 else
52230 as_dirname=false
52231 fi
52232
52233 ECHO_C= ECHO_N= ECHO_T=
52234 case `echo -n x` in
52235 -n*)
52236 case `echo 'x\c'` in
52237 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
52238 *) ECHO_C='\c';;
52239 esac;;
52240 *)
52241 ECHO_N='-n';;
52242 esac
52243
52244 if expr a : '\(a\)' >/dev/null 2>&1 &&
52245 test "X`expr 00001 : '.*\(...\)'`" = X001; then
52246 as_expr=expr
52247 else
52248 as_expr=false
52249 fi
52250
52251 rm -f conf$$ conf$$.exe conf$$.file
52252 if test -d conf$$.dir; then
52253 rm -f conf$$.dir/conf$$.file
52254 else
52255 rm -f conf$$.dir
52256 mkdir conf$$.dir
52257 fi
52258 echo >conf$$.file
52259 if ln -s conf$$.file conf$$ 2>/dev/null; then
52260 as_ln_s='ln -s'
52261 # ... but there are two gotchas:
52262 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52263 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52264 # In both cases, we have to default to `cp -p'.
52265 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
52266 as_ln_s='cp -p'
52267 elif ln conf$$.file conf$$ 2>/dev/null; then
52268 as_ln_s=ln
52269 else
52270 as_ln_s='cp -p'
52271 fi
52272 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
52273 rmdir conf$$.dir 2>/dev/null
52274
52275 if mkdir -p . 2>/dev/null; then
52276 as_mkdir_p=:
52277 else
52278 test -d ./-p && rmdir ./-p
52279 as_mkdir_p=false
52280 fi
52281
52282 if test -x / >/dev/null 2>&1; then
52283 as_test_x='test -x'
52284 else
52285 if ls -dL / >/dev/null 2>&1; then
52286 as_ls_L_option=L
52287 else
52288 as_ls_L_option=
52289 fi
52290 as_test_x='
52291 eval sh -c '\''
52292 if test -d "$1"; then
52293 test -d "$1/.";
52294 else
52295 case $1 in
52296 -*)set "./$1";;
52297 esac;
52298 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52299 ???[sx]*):;;*)false;;esac;fi
52300 '\'' sh
52301 '
52302 fi
52303 as_executable_p=$as_test_x
52304
52305 # Sed expression to map a string onto a valid CPP name.
52306 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52307
52308 # Sed expression to map a string onto a valid variable name.
52309 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52310
52311
52312 exec 6>&1
52313
52314 # Save the log message, to keep $[0] and so on meaningful, and to
52315 # report actual input values of CONFIG_FILES etc. instead of their
52316 # values after options handling.
52317 ac_log="
52318 This file was extended by wxWidgets $as_me 2.9.1, which was
52319 generated by GNU Autoconf 2.61. Invocation command line was
52320
52321 CONFIG_FILES = $CONFIG_FILES
52322 CONFIG_HEADERS = $CONFIG_HEADERS
52323 CONFIG_LINKS = $CONFIG_LINKS
52324 CONFIG_COMMANDS = $CONFIG_COMMANDS
52325 $ $0 $@
52326
52327 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52328 "
52329
52330 _ACEOF
52331
52332 cat >>$CONFIG_STATUS <<_ACEOF
52333 # Files that config.status was made for.
52334 config_files="$ac_config_files"
52335 config_headers="$ac_config_headers"
52336 config_commands="$ac_config_commands"
52337
52338 _ACEOF
52339
52340 cat >>$CONFIG_STATUS <<\_ACEOF
52341 ac_cs_usage="\
52342 \`$as_me' instantiates files from templates according to the
52343 current configuration.
52344
52345 Usage: $0 [OPTIONS] [FILE]...
52346
52347 -h, --help print this help, then exit
52348 -V, --version print version number and configuration settings, then exit
52349 -q, --quiet do not print progress messages
52350 -d, --debug don't remove temporary files
52351 --recheck update $as_me by reconfiguring in the same conditions
52352 --file=FILE[:TEMPLATE]
52353 instantiate the configuration file FILE
52354 --header=FILE[:TEMPLATE]
52355 instantiate the configuration header FILE
52356
52357 Configuration files:
52358 $config_files
52359
52360 Configuration headers:
52361 $config_headers
52362
52363 Configuration commands:
52364 $config_commands
52365
52366 Report bugs to <bug-autoconf@gnu.org>."
52367
52368 _ACEOF
52369 cat >>$CONFIG_STATUS <<_ACEOF
52370 ac_cs_version="\\
52371 wxWidgets config.status 2.9.1
52372 configured by $0, generated by GNU Autoconf 2.61,
52373 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52374
52375 Copyright (C) 2006 Free Software Foundation, Inc.
52376 This config.status script is free software; the Free Software Foundation
52377 gives unlimited permission to copy, distribute and modify it."
52378
52379 ac_pwd='$ac_pwd'
52380 srcdir='$srcdir'
52381 INSTALL='$INSTALL'
52382 _ACEOF
52383
52384 cat >>$CONFIG_STATUS <<\_ACEOF
52385 # If no file are specified by the user, then we need to provide default
52386 # value. By we need to know if files were specified by the user.
52387 ac_need_defaults=:
52388 while test $# != 0
52389 do
52390 case $1 in
52391 --*=*)
52392 ac_option=`expr "X$1" : 'X\([^=]*\)='`
52393 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
52394 ac_shift=:
52395 ;;
52396 *)
52397 ac_option=$1
52398 ac_optarg=$2
52399 ac_shift=shift
52400 ;;
52401 esac
52402
52403 case $ac_option in
52404 # Handling of the options.
52405 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52406 ac_cs_recheck=: ;;
52407 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52408 echo "$ac_cs_version"; exit ;;
52409 --debug | --debu | --deb | --de | --d | -d )
52410 debug=: ;;
52411 --file | --fil | --fi | --f )
52412 $ac_shift
52413 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52414 ac_need_defaults=false;;
52415 --header | --heade | --head | --hea )
52416 $ac_shift
52417 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52418 ac_need_defaults=false;;
52419 --he | --h)
52420 # Conflict between --help and --header
52421 { echo "$as_me: error: ambiguous option: $1
52422 Try \`$0 --help' for more information." >&2
52423 { (exit 1); exit 1; }; };;
52424 --help | --hel | -h )
52425 echo "$ac_cs_usage"; exit ;;
52426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52427 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52428 ac_cs_silent=: ;;
52429
52430 # This is an error.
52431 -*) { echo "$as_me: error: unrecognized option: $1
52432 Try \`$0 --help' for more information." >&2
52433 { (exit 1); exit 1; }; } ;;
52434
52435 *) ac_config_targets="$ac_config_targets $1"
52436 ac_need_defaults=false ;;
52437
52438 esac
52439 shift
52440 done
52441
52442 ac_configure_extra_args=
52443
52444 if $ac_cs_silent; then
52445 exec 6>/dev/null
52446 ac_configure_extra_args="$ac_configure_extra_args --silent"
52447 fi
52448
52449 _ACEOF
52450 cat >>$CONFIG_STATUS <<_ACEOF
52451 if \$ac_cs_recheck; then
52452 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52453 CONFIG_SHELL=$SHELL
52454 export CONFIG_SHELL
52455 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52456 fi
52457
52458 _ACEOF
52459 cat >>$CONFIG_STATUS <<\_ACEOF
52460 exec 5>>config.log
52461 {
52462 echo
52463 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52464 ## Running $as_me. ##
52465 _ASBOX
52466 echo "$ac_log"
52467 } >&5
52468
52469 _ACEOF
52470 cat >>$CONFIG_STATUS <<_ACEOF
52471 #
52472 # INIT-COMMANDS
52473 #
52474
52475 CPP="$CPP"
52476 infile="$srcdir/include/wx/msw/genrcdefs.h"
52477 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52478
52479
52480 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52481 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52482 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52483 LN_S="${LN_S}"
52484
52485
52486 _ACEOF
52487
52488 cat >>$CONFIG_STATUS <<\_ACEOF
52489
52490 # Handling of arguments.
52491 for ac_config_target in $ac_config_targets
52492 do
52493 case $ac_config_target in
52494 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52495 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52496 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52497 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52498 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52499 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
52500 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52501 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52502 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
52503
52504 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52505 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52506 { (exit 1); exit 1; }; };;
52507 esac
52508 done
52509
52510
52511 # If the user did not use the arguments to specify the items to instantiate,
52512 # then the envvar interface is used. Set only those that are not.
52513 # We use the long form for the default assignment because of an extremely
52514 # bizarre bug on SunOS 4.1.3.
52515 if $ac_need_defaults; then
52516 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52517 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52518 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52519 fi
52520
52521 # Have a temporary directory for convenience. Make it in the build tree
52522 # simply because there is no reason against having it here, and in addition,
52523 # creating and moving files from /tmp can sometimes cause problems.
52524 # Hook for its removal unless debugging.
52525 # Note that there is a small window in which the directory will not be cleaned:
52526 # after its creation but before its name has been assigned to `$tmp'.
52527 $debug ||
52528 {
52529 tmp=
52530 trap 'exit_status=$?
52531 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52532 ' 0
52533 trap '{ (exit 1); exit 1; }' 1 2 13 15
52534 }
52535 # Create a (secure) tmp directory for tmp files.
52536
52537 {
52538 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52539 test -n "$tmp" && test -d "$tmp"
52540 } ||
52541 {
52542 tmp=./conf$$-$RANDOM
52543 (umask 077 && mkdir "$tmp")
52544 } ||
52545 {
52546 echo "$me: cannot create a temporary directory in ." >&2
52547 { (exit 1); exit 1; }
52548 }
52549
52550 #
52551 # Set up the sed scripts for CONFIG_FILES section.
52552 #
52553
52554 # No need to generate the scripts if there are no CONFIG_FILES.
52555 # This happens for instance when ./config.status config.h
52556 if test -n "$CONFIG_FILES"; then
52557
52558 _ACEOF
52559
52560
52561
52562 ac_delim='%!_!# '
52563 for ac_last_try in false false false false false :; do
52564 cat >conf$$subs.sed <<_ACEOF
52565 SHELL!$SHELL$ac_delim
52566 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52567 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52568 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52569 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52570 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52571 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52572 exec_prefix!$exec_prefix$ac_delim
52573 prefix!$prefix$ac_delim
52574 program_transform_name!$program_transform_name$ac_delim
52575 bindir!$bindir$ac_delim
52576 sbindir!$sbindir$ac_delim
52577 libexecdir!$libexecdir$ac_delim
52578 datarootdir!$datarootdir$ac_delim
52579 datadir!$datadir$ac_delim
52580 sysconfdir!$sysconfdir$ac_delim
52581 sharedstatedir!$sharedstatedir$ac_delim
52582 localstatedir!$localstatedir$ac_delim
52583 includedir!$includedir$ac_delim
52584 oldincludedir!$oldincludedir$ac_delim
52585 docdir!$docdir$ac_delim
52586 infodir!$infodir$ac_delim
52587 htmldir!$htmldir$ac_delim
52588 dvidir!$dvidir$ac_delim
52589 pdfdir!$pdfdir$ac_delim
52590 psdir!$psdir$ac_delim
52591 libdir!$libdir$ac_delim
52592 localedir!$localedir$ac_delim
52593 mandir!$mandir$ac_delim
52594 DEFS!$DEFS$ac_delim
52595 ECHO_C!$ECHO_C$ac_delim
52596 ECHO_N!$ECHO_N$ac_delim
52597 ECHO_T!$ECHO_T$ac_delim
52598 LIBS!$LIBS$ac_delim
52599 build_alias!$build_alias$ac_delim
52600 host_alias!$host_alias$ac_delim
52601 target_alias!$target_alias$ac_delim
52602 build!$build$ac_delim
52603 build_cpu!$build_cpu$ac_delim
52604 build_vendor!$build_vendor$ac_delim
52605 build_os!$build_os$ac_delim
52606 host!$host$ac_delim
52607 host_cpu!$host_cpu$ac_delim
52608 host_vendor!$host_vendor$ac_delim
52609 host_os!$host_os$ac_delim
52610 wx_top_builddir!$wx_top_builddir$ac_delim
52611 CC!$CC$ac_delim
52612 CFLAGS!$CFLAGS$ac_delim
52613 LDFLAGS!$LDFLAGS$ac_delim
52614 CPPFLAGS!$CPPFLAGS$ac_delim
52615 ac_ct_CC!$ac_ct_CC$ac_delim
52616 EXEEXT!$EXEEXT$ac_delim
52617 OBJEXT!$OBJEXT$ac_delim
52618 CPP!$CPP$ac_delim
52619 GREP!$GREP$ac_delim
52620 EGREP!$EGREP$ac_delim
52621 CXX!$CXX$ac_delim
52622 CXXFLAGS!$CXXFLAGS$ac_delim
52623 ac_ct_CXX!$ac_ct_CXX$ac_delim
52624 AR!$AR$ac_delim
52625 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
52626 subdirs!$subdirs$ac_delim
52627 PKG_CONFIG!$PKG_CONFIG$ac_delim
52628 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52629 GTK_LIBS!$GTK_LIBS$ac_delim
52630 GTK_CONFIG!$GTK_CONFIG$ac_delim
52631 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52632 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52633 XMKMF!$XMKMF$ac_delim
52634 X_CFLAGS!$X_CFLAGS$ac_delim
52635 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52636 X_LIBS!$X_LIBS$ac_delim
52637 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52638 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52639 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52640 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52641 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52642 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52643 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52644 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52645 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52646 LIBICONV!$LIBICONV$ac_delim
52647 GXX_VERSION!$GXX_VERSION$ac_delim
52648 SDL_CONFIG!$SDL_CONFIG$ac_delim
52649 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52650 SDL_LIBS!$SDL_LIBS$ac_delim
52651 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52652 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52653 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52654 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52655 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52656 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52657 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52658 HILDON_LIBS!$HILDON_LIBS$ac_delim
52659 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52660 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52661 PYTHON!$PYTHON$ac_delim
52662 _ACEOF
52663
52664 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52665 break
52666 elif $ac_last_try; then
52667 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52668 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52669 { (exit 1); exit 1; }; }
52670 else
52671 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52672 fi
52673 done
52674
52675 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52676 if test -n "$ac_eof"; then
52677 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52678 ac_eof=`expr $ac_eof + 1`
52679 fi
52680
52681 cat >>$CONFIG_STATUS <<_ACEOF
52682 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52683 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52684 _ACEOF
52685 sed '
52686 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52687 s/^/s,@/; s/!/@,|#_!!_#|/
52688 :n
52689 t n
52690 s/'"$ac_delim"'$/,g/; t
52691 s/$/\\/; p
52692 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52693 ' >>$CONFIG_STATUS <conf$$subs.sed
52694 rm -f conf$$subs.sed
52695 cat >>$CONFIG_STATUS <<_ACEOF
52696 CEOF$ac_eof
52697 _ACEOF
52698
52699
52700 ac_delim='%!_!# '
52701 for ac_last_try in false false false false false :; do
52702 cat >conf$$subs.sed <<_ACEOF
52703 COND_PYTHON!$COND_PYTHON$ac_delim
52704 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52705 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52706 GST_CFLAGS!$GST_CFLAGS$ac_delim
52707 GST_LIBS!$GST_LIBS$ac_delim
52708 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52709 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52710 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52711 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52712 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52713 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52714 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52715 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52716 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52717 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52718 VENDOR!$VENDOR$ac_delim
52719 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52720 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52721 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52722 WXUNIV!$WXUNIV$ac_delim
52723 MONOLITHIC!$MONOLITHIC$ac_delim
52724 USE_PLUGINS!$USE_PLUGINS$ac_delim
52725 CXXWARNINGS!$CXXWARNINGS$ac_delim
52726 EXTRALIBS!$EXTRALIBS$ac_delim
52727 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52728 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52729 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52730 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52731 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52732 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52733 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52734 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52735 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52736 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52737 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52738 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52739 UNICODE!$UNICODE$ac_delim
52740 DEBUG_INFO!$DEBUG_INFO$ac_delim
52741 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52742 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52743 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52744 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52745 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52746 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52747 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52748 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52749 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52750 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52751 RANLIB!$RANLIB$ac_delim
52752 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52753 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52754 INSTALL_DATA!$INSTALL_DATA$ac_delim
52755 LN_S!$LN_S$ac_delim
52756 SET_MAKE!$SET_MAKE$ac_delim
52757 MAKE_SET!$MAKE_SET$ac_delim
52758 AROPTIONS!$AROPTIONS$ac_delim
52759 STRIP!$STRIP$ac_delim
52760 NM!$NM$ac_delim
52761 INSTALL_DIR!$INSTALL_DIR$ac_delim
52762 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52763 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52764 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52765 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52766 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52767 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52768 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52769 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52770 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52771 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52772 SO_SUFFIX!$SO_SUFFIX$ac_delim
52773 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52774 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52775 LIBPREFIX!$LIBPREFIX$ac_delim
52776 LIBEXT!$LIBEXT$ac_delim
52777 DLLPREFIX!$DLLPREFIX$ac_delim
52778 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52779 dlldir!$dlldir$ac_delim
52780 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52781 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52782 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52783 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52784 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52785 PIC_FLAG!$PIC_FLAG$ac_delim
52786 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52787 USE_SOVERSION!$USE_SOVERSION$ac_delim
52788 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52789 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52790 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52791 USE_MACVERSION!$USE_MACVERSION$ac_delim
52792 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52793 SONAME_FLAG!$SONAME_FLAG$ac_delim
52794 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52795 BK_DEPS!$BK_DEPS$ac_delim
52796 WINDRES!$WINDRES$ac_delim
52797 REZ!$REZ$ac_delim
52798 SETFILE!$SETFILE$ac_delim
52799 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52800 _ACEOF
52801
52802 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52803 break
52804 elif $ac_last_try; then
52805 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52806 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52807 { (exit 1); exit 1; }; }
52808 else
52809 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52810 fi
52811 done
52812
52813 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52814 if test -n "$ac_eof"; then
52815 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52816 ac_eof=`expr $ac_eof + 1`
52817 fi
52818
52819 cat >>$CONFIG_STATUS <<_ACEOF
52820 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52821 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52822 _ACEOF
52823 sed '
52824 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52825 s/^/s,@/; s/!/@,|#_!!_#|/
52826 :n
52827 t n
52828 s/'"$ac_delim"'$/,g/; t
52829 s/$/\\/; p
52830 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52831 ' >>$CONFIG_STATUS <conf$$subs.sed
52832 rm -f conf$$subs.sed
52833 cat >>$CONFIG_STATUS <<_ACEOF
52834 CEOF$ac_eof
52835 _ACEOF
52836
52837
52838 ac_delim='%!_!# '
52839 for ac_last_try in false false false false false :; do
52840 cat >conf$$subs.sed <<_ACEOF
52841 GCC_PCH!$GCC_PCH$ac_delim
52842 ICC_PCH!$ICC_PCH$ac_delim
52843 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52844 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52845 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52846 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52847 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52848 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52849 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52850 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52851 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52852 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52853 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52854 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52855 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52856 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52857 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52858 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52859 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52860 COND_BUILD_release!$COND_BUILD_release$ac_delim
52861 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52862 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52863 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52864 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52865 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52866 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52867 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52868 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52869 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52870 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52871 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52872 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52873 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52874 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52875 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52877 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52878 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52879 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52880 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52881 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52882 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52883 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52884 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52885 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52888 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52890 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52891 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52892 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52893 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52894 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52895 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52896 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52897 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52898 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52899 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52900 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52901 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52902 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52903 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52904 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52905 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52906 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52907 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52908 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52909 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52910 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52911 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52912 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52913 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52914 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52915 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
52916 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52917 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
52918 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52919 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
52920 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52921 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52922 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52923 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52924 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52925 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52926 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52927 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52928 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52929 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52930 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52931 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52932 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52933 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52934 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52935 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52936 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52937 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
52938 _ACEOF
52939
52940 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52941 break
52942 elif $ac_last_try; then
52943 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52944 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52945 { (exit 1); exit 1; }; }
52946 else
52947 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52948 fi
52949 done
52950
52951 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52952 if test -n "$ac_eof"; then
52953 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52954 ac_eof=`expr $ac_eof + 1`
52955 fi
52956
52957 cat >>$CONFIG_STATUS <<_ACEOF
52958 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52959 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52960 _ACEOF
52961 sed '
52962 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52963 s/^/s,@/; s/!/@,|#_!!_#|/
52964 :n
52965 t n
52966 s/'"$ac_delim"'$/,g/; t
52967 s/$/\\/; p
52968 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52969 ' >>$CONFIG_STATUS <conf$$subs.sed
52970 rm -f conf$$subs.sed
52971 cat >>$CONFIG_STATUS <<_ACEOF
52972 CEOF$ac_eof
52973 _ACEOF
52974
52975
52976 ac_delim='%!_!# '
52977 for ac_last_try in false false false false false :; do
52978 cat >conf$$subs.sed <<_ACEOF
52979 COND_SHARED_0!$COND_SHARED_0$ac_delim
52980 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52981 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52982 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52983 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52984 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52985 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52986 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52987 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52988 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52989 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52990 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52991 COND_SHARED_1!$COND_SHARED_1$ac_delim
52992 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52993 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52994 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52995 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52996 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52997 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52998 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52999 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
53000 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
53001 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
53002 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
53003 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
53004 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
53005 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
53006 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
53007 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
53008 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
53009 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
53010 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
53011 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
53012 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
53013 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
53014 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
53015 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
53016 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
53017 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
53018 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
53019 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
53020 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
53021 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
53022 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
53023 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
53024 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
53025 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
53026 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
53027 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
53028 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
53029 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
53030 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
53031 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
53032 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
53033 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
53034 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
53035 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
53036 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
53037 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
53038 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
53039 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
53040 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
53041 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
53042 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
53043 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
53044 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
53045 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
53046 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
53047 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
53048 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
53049 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
53050 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
53051 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
53052 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
53053 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
53054 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
53055 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
53056 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
53057 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
53058 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
53059 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
53060 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
53061 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
53062 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
53063 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
53064 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
53065 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
53066 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
53067 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
53068 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
53069 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
53070 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
53071 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
53072 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
53073 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
53074 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
53075 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
53076 _ACEOF
53077
53078 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53079 break
53080 elif $ac_last_try; then
53081 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53082 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53083 { (exit 1); exit 1; }; }
53084 else
53085 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53086 fi
53087 done
53088
53089 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53090 if test -n "$ac_eof"; then
53091 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53092 ac_eof=`expr $ac_eof + 1`
53093 fi
53094
53095 cat >>$CONFIG_STATUS <<_ACEOF
53096 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
53097 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53098 _ACEOF
53099 sed '
53100 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53101 s/^/s,@/; s/!/@,|#_!!_#|/
53102 :n
53103 t n
53104 s/'"$ac_delim"'$/,g/; t
53105 s/$/\\/; p
53106 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53107 ' >>$CONFIG_STATUS <conf$$subs.sed
53108 rm -f conf$$subs.sed
53109 cat >>$CONFIG_STATUS <<_ACEOF
53110 CEOF$ac_eof
53111 _ACEOF
53112
53113
53114 ac_delim='%!_!# '
53115 for ac_last_try in false false false false false :; do
53116 cat >conf$$subs.sed <<_ACEOF
53117 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
53118 DEREZ!$DEREZ$ac_delim
53119 SHARED!$SHARED$ac_delim
53120 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
53121 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
53122 USE_GUI!$USE_GUI$ac_delim
53123 AFMINSTALL!$AFMINSTALL$ac_delim
53124 WIN32INSTALL!$WIN32INSTALL$ac_delim
53125 TOOLKIT!$TOOLKIT$ac_delim
53126 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
53127 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
53128 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
53129 cross_compiling!$cross_compiling$ac_delim
53130 WIDGET_SET!$WIDGET_SET$ac_delim
53131 WX_RELEASE!$WX_RELEASE$ac_delim
53132 WX_VERSION!$WX_VERSION$ac_delim
53133 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
53134 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
53135 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
53136 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
53137 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
53138 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
53139 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
53140 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
53141 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
53142 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
53143 GUIDIST!$GUIDIST$ac_delim
53144 DISTDIR!$DISTDIR$ac_delim
53145 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
53146 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
53147 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
53148 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
53149 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
53150 RESCOMP!$RESCOMP$ac_delim
53151 RESFLAGS!$RESFLAGS$ac_delim
53152 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
53153 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
53154 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
53155 LIBWXMACRES!$LIBWXMACRES$ac_delim
53156 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
53157 MACSETFILE!$MACSETFILE$ac_delim
53158 GCC!$GCC$ac_delim
53159 DLLTOOL!$DLLTOOL$ac_delim
53160 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
53161 LIBOBJS!$LIBOBJS$ac_delim
53162 LTLIBOBJS!$LTLIBOBJS$ac_delim
53163 _ACEOF
53164
53165 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 46; then
53166 break
53167 elif $ac_last_try; then
53168 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53169 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53170 { (exit 1); exit 1; }; }
53171 else
53172 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53173 fi
53174 done
53175
53176 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53177 if test -n "$ac_eof"; then
53178 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53179 ac_eof=`expr $ac_eof + 1`
53180 fi
53181
53182 cat >>$CONFIG_STATUS <<_ACEOF
53183 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
53184 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
53185 _ACEOF
53186 sed '
53187 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53188 s/^/s,@/; s/!/@,|#_!!_#|/
53189 :n
53190 t n
53191 s/'"$ac_delim"'$/,g/; t
53192 s/$/\\/; p
53193 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53194 ' >>$CONFIG_STATUS <conf$$subs.sed
53195 rm -f conf$$subs.sed
53196 cat >>$CONFIG_STATUS <<_ACEOF
53197 :end
53198 s/|#_!!_#|//g
53199 CEOF$ac_eof
53200 _ACEOF
53201
53202
53203 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53204 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53205 # trailing colons and then remove the whole line if VPATH becomes empty
53206 # (actually we leave an empty line to preserve line numbers).
53207 if test "x$srcdir" = x.; then
53208 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53209 s/:*\$(srcdir):*/:/
53210 s/:*\${srcdir}:*/:/
53211 s/:*@srcdir@:*/:/
53212 s/^\([^=]*=[ ]*\):*/\1/
53213 s/:*$//
53214 s/^[^=]*=[ ]*$//
53215 }'
53216 fi
53217
53218 cat >>$CONFIG_STATUS <<\_ACEOF
53219 fi # test -n "$CONFIG_FILES"
53220
53221
53222 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
53223 do
53224 case $ac_tag in
53225 :[FHLC]) ac_mode=$ac_tag; continue;;
53226 esac
53227 case $ac_mode$ac_tag in
53228 :[FHL]*:*);;
53229 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
53230 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
53231 { (exit 1); exit 1; }; };;
53232 :[FH]-) ac_tag=-:-;;
53233 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
53234 esac
53235 ac_save_IFS=$IFS
53236 IFS=:
53237 set x $ac_tag
53238 IFS=$ac_save_IFS
53239 shift
53240 ac_file=$1
53241 shift
53242
53243 case $ac_mode in
53244 :L) ac_source=$1;;
53245 :[FH])
53246 ac_file_inputs=
53247 for ac_f
53248 do
53249 case $ac_f in
53250 -) ac_f="$tmp/stdin";;
53251 *) # Look for the file first in the build tree, then in the source tree
53252 # (if the path is not absolute). The absolute path cannot be DOS-style,
53253 # because $ac_f cannot contain `:'.
53254 test -f "$ac_f" ||
53255 case $ac_f in
53256 [\\/$]*) false;;
53257 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
53258 esac ||
53259 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53260 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53261 { (exit 1); exit 1; }; };;
53262 esac
53263 ac_file_inputs="$ac_file_inputs $ac_f"
53264 done
53265
53266 # Let's still pretend it is `configure' which instantiates (i.e., don't
53267 # use $as_me), people would be surprised to read:
53268 # /* config.h. Generated by config.status. */
53269 configure_input="Generated from "`IFS=:
53270 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53271 if test x"$ac_file" != x-; then
53272 configure_input="$ac_file. $configure_input"
53273 { echo "$as_me:$LINENO: creating $ac_file" >&5
53274 echo "$as_me: creating $ac_file" >&6;}
53275 fi
53276
53277 case $ac_tag in
53278 *:-:* | *:-) cat >"$tmp/stdin";;
53279 esac
53280 ;;
53281 esac
53282
53283 ac_dir=`$as_dirname -- "$ac_file" ||
53284 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53285 X"$ac_file" : 'X\(//\)[^/]' \| \
53286 X"$ac_file" : 'X\(//\)$' \| \
53287 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53288 echo X"$ac_file" |
53289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53290 s//\1/
53291 q
53292 }
53293 /^X\(\/\/\)[^/].*/{
53294 s//\1/
53295 q
53296 }
53297 /^X\(\/\/\)$/{
53298 s//\1/
53299 q
53300 }
53301 /^X\(\/\).*/{
53302 s//\1/
53303 q
53304 }
53305 s/.*/./; q'`
53306 { as_dir="$ac_dir"
53307 case $as_dir in #(
53308 -*) as_dir=./$as_dir;;
53309 esac
53310 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53311 as_dirs=
53312 while :; do
53313 case $as_dir in #(
53314 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53315 *) as_qdir=$as_dir;;
53316 esac
53317 as_dirs="'$as_qdir' $as_dirs"
53318 as_dir=`$as_dirname -- "$as_dir" ||
53319 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53320 X"$as_dir" : 'X\(//\)[^/]' \| \
53321 X"$as_dir" : 'X\(//\)$' \| \
53322 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53323 echo X"$as_dir" |
53324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53325 s//\1/
53326 q
53327 }
53328 /^X\(\/\/\)[^/].*/{
53329 s//\1/
53330 q
53331 }
53332 /^X\(\/\/\)$/{
53333 s//\1/
53334 q
53335 }
53336 /^X\(\/\).*/{
53337 s//\1/
53338 q
53339 }
53340 s/.*/./; q'`
53341 test -d "$as_dir" && break
53342 done
53343 test -z "$as_dirs" || eval "mkdir $as_dirs"
53344 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53345 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53346 { (exit 1); exit 1; }; }; }
53347 ac_builddir=.
53348
53349 case "$ac_dir" in
53350 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53351 *)
53352 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53353 # A ".." for each directory in $ac_dir_suffix.
53354 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53355 case $ac_top_builddir_sub in
53356 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53357 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53358 esac ;;
53359 esac
53360 ac_abs_top_builddir=$ac_pwd
53361 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53362 # for backward compatibility:
53363 ac_top_builddir=$ac_top_build_prefix
53364
53365 case $srcdir in
53366 .) # We are building in place.
53367 ac_srcdir=.
53368 ac_top_srcdir=$ac_top_builddir_sub
53369 ac_abs_top_srcdir=$ac_pwd ;;
53370 [\\/]* | ?:[\\/]* ) # Absolute name.
53371 ac_srcdir=$srcdir$ac_dir_suffix;
53372 ac_top_srcdir=$srcdir
53373 ac_abs_top_srcdir=$srcdir ;;
53374 *) # Relative name.
53375 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53376 ac_top_srcdir=$ac_top_build_prefix$srcdir
53377 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53378 esac
53379 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53380
53381
53382 case $ac_mode in
53383 :F)
53384 #
53385 # CONFIG_FILE
53386 #
53387
53388 case $INSTALL in
53389 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53390 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
53391 esac
53392 _ACEOF
53393
53394 cat >>$CONFIG_STATUS <<\_ACEOF
53395 # If the template does not know about datarootdir, expand it.
53396 # FIXME: This hack should be removed a few years after 2.60.
53397 ac_datarootdir_hack=; ac_datarootdir_seen=
53398
53399 case `sed -n '/datarootdir/ {
53400 p
53401 q
53402 }
53403 /@datadir@/p
53404 /@docdir@/p
53405 /@infodir@/p
53406 /@localedir@/p
53407 /@mandir@/p
53408 ' $ac_file_inputs` in
53409 *datarootdir*) ac_datarootdir_seen=yes;;
53410 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
53411 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53412 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53413 _ACEOF
53414 cat >>$CONFIG_STATUS <<_ACEOF
53415 ac_datarootdir_hack='
53416 s&@datadir@&$datadir&g
53417 s&@docdir@&$docdir&g
53418 s&@infodir@&$infodir&g
53419 s&@localedir@&$localedir&g
53420 s&@mandir@&$mandir&g
53421 s&\\\${datarootdir}&$datarootdir&g' ;;
53422 esac
53423 _ACEOF
53424
53425 # Neutralize VPATH when `$srcdir' = `.'.
53426 # Shell code in configure.ac might set extrasub.
53427 # FIXME: do we really want to maintain this feature?
53428 cat >>$CONFIG_STATUS <<_ACEOF
53429 sed "$ac_vpsub
53430 $extrasub
53431 _ACEOF
53432 cat >>$CONFIG_STATUS <<\_ACEOF
53433 :t
53434 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53435 s&@configure_input@&$configure_input&;t t
53436 s&@top_builddir@&$ac_top_builddir_sub&;t t
53437 s&@srcdir@&$ac_srcdir&;t t
53438 s&@abs_srcdir@&$ac_abs_srcdir&;t t
53439 s&@top_srcdir@&$ac_top_srcdir&;t t
53440 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
53441 s&@builddir@&$ac_builddir&;t t
53442 s&@abs_builddir@&$ac_abs_builddir&;t t
53443 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
53444 s&@INSTALL@&$ac_INSTALL&;t t
53445 $ac_datarootdir_hack
53446 " $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
53447
53448 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53449 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
53450 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
53451 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53452 which seems to be undefined. Please make sure it is defined." >&5
53453 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
53454 which seems to be undefined. Please make sure it is defined." >&2;}
53455
53456 rm -f "$tmp/stdin"
53457 case $ac_file in
53458 -) cat "$tmp/out"; rm -f "$tmp/out";;
53459 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53460 esac
53461 ;;
53462 :H)
53463 #
53464 # CONFIG_HEADER
53465 #
53466 _ACEOF
53467
53468 # Transform confdefs.h into a sed script `conftest.defines', that
53469 # substitutes the proper values into config.h.in to produce config.h.
53470 rm -f conftest.defines conftest.tail
53471 # First, append a space to every undef/define line, to ease matching.
53472 echo 's/$/ /' >conftest.defines
53473 # Then, protect against being on the right side of a sed subst, or in
53474 # an unquoted here document, in config.status. If some macros were
53475 # called several times there might be several #defines for the same
53476 # symbol, which is useless. But do not sort them, since the last
53477 # AC_DEFINE must be honored.
53478 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
53479 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53480 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53481 # PARAMS is the parameter list in the macro definition--in most cases, it's
53482 # just an empty string.
53483 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53484 ac_dB='\\)[ (].*,\\1define\\2'
53485 ac_dC=' '
53486 ac_dD=' ,'
53487
53488 uniq confdefs.h |
53489 sed -n '
53490 t rset
53491 :rset
53492 s/^[ ]*#[ ]*define[ ][ ]*//
53493 t ok
53494 d
53495 :ok
53496 s/[\\&,]/\\&/g
53497 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53498 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53499 ' >>conftest.defines
53500
53501 # Remove the space that was appended to ease matching.
53502 # Then replace #undef with comments. This is necessary, for
53503 # example, in the case of _POSIX_SOURCE, which is predefined and required
53504 # on some systems where configure will not decide to define it.
53505 # (The regexp can be short, since the line contains either #define or #undef.)
53506 echo 's/ $//
53507 s,^[ #]*u.*,/* & */,' >>conftest.defines
53508
53509 # Break up conftest.defines:
53510 ac_max_sed_lines=50
53511
53512 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53513 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53514 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53515 # et cetera.
53516 ac_in='$ac_file_inputs'
53517 ac_out='"$tmp/out1"'
53518 ac_nxt='"$tmp/out2"'
53519
53520 while :
53521 do
53522 # Write a here document:
53523 cat >>$CONFIG_STATUS <<_ACEOF
53524 # First, check the format of the line:
53525 cat >"\$tmp/defines.sed" <<\\CEOF
53526 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53527 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53528 b
53529 :def
53530 _ACEOF
53531 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
53532 echo 'CEOF
53533 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53534 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
53535 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
53536 grep . conftest.tail >/dev/null || break
53537 rm -f conftest.defines
53538 mv conftest.tail conftest.defines
53539 done
53540 rm -f conftest.defines conftest.tail
53541
53542 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53543 cat >>$CONFIG_STATUS <<\_ACEOF
53544 if test x"$ac_file" != x-; then
53545 echo "/* $configure_input */" >"$tmp/config.h"
53546 cat "$ac_result" >>"$tmp/config.h"
53547 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
53548 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53549 echo "$as_me: $ac_file is unchanged" >&6;}
53550 else
53551 rm -f $ac_file
53552 mv "$tmp/config.h" $ac_file
53553 fi
53554 else
53555 echo "/* $configure_input */"
53556 cat "$ac_result"
53557 fi
53558 rm -f "$tmp/out12"
53559 ;;
53560
53561 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53562 echo "$as_me: executing $ac_file commands" >&6;}
53563 ;;
53564 esac
53565
53566
53567 case $ac_file$ac_mode in
53568 "rcdefs.h":C)
53569 mkdir -p $outdir &&
53570 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53571 ;;
53572 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53573 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53574 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
53575 "wx-config":C) rm -f wx-config
53576 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53577 ;;
53578
53579 esac
53580 done # for ac_tag
53581
53582
53583 { (exit 0); exit 0; }
53584 _ACEOF
53585 chmod +x $CONFIG_STATUS
53586 ac_clean_files=$ac_clean_files_save
53587
53588
53589 # configure is writing to config.log, and then calls config.status.
53590 # config.status does its own redirection, appending to config.log.
53591 # Unfortunately, on DOS this fails, as config.log is still kept open
53592 # by configure, so config.status won't be able to write to it; its
53593 # output is simply discarded. So we exec the FD to /dev/null,
53594 # effectively closing config.log, so it can be properly (re)opened and
53595 # appended to by config.status. When coming back to configure, we
53596 # need to make the FD available again.
53597 if test "$no_create" != yes; then
53598 ac_cs_success=:
53599 ac_config_status_args=
53600 test "$silent" = yes &&
53601 ac_config_status_args="$ac_config_status_args --quiet"
53602 exec 5>/dev/null
53603 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53604 exec 5>>config.log
53605 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53606 # would make configure fail if this is the last instruction.
53607 $ac_cs_success || { (exit 1); exit 1; }
53608 fi
53609
53610 #
53611 # CONFIG_SUBDIRS section.
53612 #
53613 if test "$no_recursion" != yes; then
53614
53615 # Remove --cache-file and --srcdir arguments so they do not pile up.
53616 ac_sub_configure_args=
53617 ac_prev=
53618 eval "set x $ac_configure_args"
53619 shift
53620 for ac_arg
53621 do
53622 if test -n "$ac_prev"; then
53623 ac_prev=
53624 continue
53625 fi
53626 case $ac_arg in
53627 -cache-file | --cache-file | --cache-fil | --cache-fi \
53628 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53629 ac_prev=cache_file ;;
53630 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53631 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53632 | --c=*)
53633 ;;
53634 --config-cache | -C)
53635 ;;
53636 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53637 ac_prev=srcdir ;;
53638 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53639 ;;
53640 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53641 ac_prev=prefix ;;
53642 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53643 ;;
53644 *)
53645 case $ac_arg in
53646 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53647 esac
53648 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
53649 esac
53650 done
53651
53652 # Always prepend --prefix to ensure using the same prefix
53653 # in subdir configurations.
53654 ac_arg="--prefix=$prefix"
53655 case $ac_arg in
53656 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53657 esac
53658 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
53659
53660 # Pass --silent
53661 if test "$silent" = yes; then
53662 ac_sub_configure_args="--silent $ac_sub_configure_args"
53663 fi
53664
53665 ac_popdir=`pwd`
53666 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53667
53668 # Do not complain, so a configure script can configure whichever
53669 # parts of a large source tree are present.
53670 test -d "$srcdir/$ac_dir" || continue
53671
53672 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53673 echo "$as_me:$LINENO: $ac_msg" >&5
53674 echo "$ac_msg" >&6
53675 { as_dir="$ac_dir"
53676 case $as_dir in #(
53677 -*) as_dir=./$as_dir;;
53678 esac
53679 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53680 as_dirs=
53681 while :; do
53682 case $as_dir in #(
53683 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53684 *) as_qdir=$as_dir;;
53685 esac
53686 as_dirs="'$as_qdir' $as_dirs"
53687 as_dir=`$as_dirname -- "$as_dir" ||
53688 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53689 X"$as_dir" : 'X\(//\)[^/]' \| \
53690 X"$as_dir" : 'X\(//\)$' \| \
53691 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53692 echo X"$as_dir" |
53693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53694 s//\1/
53695 q
53696 }
53697 /^X\(\/\/\)[^/].*/{
53698 s//\1/
53699 q
53700 }
53701 /^X\(\/\/\)$/{
53702 s//\1/
53703 q
53704 }
53705 /^X\(\/\).*/{
53706 s//\1/
53707 q
53708 }
53709 s/.*/./; q'`
53710 test -d "$as_dir" && break
53711 done
53712 test -z "$as_dirs" || eval "mkdir $as_dirs"
53713 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53714 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53715 { (exit 1); exit 1; }; }; }
53716 ac_builddir=.
53717
53718 case "$ac_dir" in
53719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53720 *)
53721 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53722 # A ".." for each directory in $ac_dir_suffix.
53723 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53724 case $ac_top_builddir_sub in
53725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53727 esac ;;
53728 esac
53729 ac_abs_top_builddir=$ac_pwd
53730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53731 # for backward compatibility:
53732 ac_top_builddir=$ac_top_build_prefix
53733
53734 case $srcdir in
53735 .) # We are building in place.
53736 ac_srcdir=.
53737 ac_top_srcdir=$ac_top_builddir_sub
53738 ac_abs_top_srcdir=$ac_pwd ;;
53739 [\\/]* | ?:[\\/]* ) # Absolute name.
53740 ac_srcdir=$srcdir$ac_dir_suffix;
53741 ac_top_srcdir=$srcdir
53742 ac_abs_top_srcdir=$srcdir ;;
53743 *) # Relative name.
53744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53745 ac_top_srcdir=$ac_top_build_prefix$srcdir
53746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53747 esac
53748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53749
53750
53751 cd "$ac_dir"
53752
53753 # Check for guested configure; otherwise get Cygnus style configure.
53754 if test -f "$ac_srcdir/configure.gnu"; then
53755 ac_sub_configure=$ac_srcdir/configure.gnu
53756 elif test -f "$ac_srcdir/configure"; then
53757 ac_sub_configure=$ac_srcdir/configure
53758 elif test -f "$ac_srcdir/configure.in"; then
53759 # This should be Cygnus configure.
53760 ac_sub_configure=$ac_aux_dir/configure
53761 else
53762 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53763 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53764 ac_sub_configure=
53765 fi
53766
53767 # The recursion is here.
53768 if test -n "$ac_sub_configure"; then
53769 # Make the cache file name correct relative to the subdirectory.
53770 case $cache_file in
53771 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53772 *) # Relative name.
53773 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53774 esac
53775
53776 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53777 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53778 # The eval makes quoting arguments work.
53779 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53780 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53781 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53782 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53783 { (exit 1); exit 1; }; }
53784 fi
53785
53786 cd "$ac_popdir"
53787 done
53788 fi
53789
53790
53791 echo
53792 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53793 echo ""
53794 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53795 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53796 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53797 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53798 if test "$wxUSE_UNICODE" = "yes"; then
53799 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53800 echo " (using UTF-8)"
53801 else
53802 echo " (using wchar_t)"
53803 fi
53804 else
53805 echo
53806 fi
53807
53808 echo " What level of wxWidgets compatibility should be enabled?"
53809 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53810 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53811
53812 echo " Which libraries should wxWidgets use?"
53813 echo " STL ${wxUSE_STL}"
53814 echo " jpeg ${wxUSE_LIBJPEG-none}"
53815 echo " png ${wxUSE_LIBPNG-none}"
53816 echo " regex ${wxUSE_REGEX}"
53817 echo " tiff ${wxUSE_LIBTIFF-none}"
53818 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53819 echo " xpm ${wxUSE_LIBXPM-none}"
53820 fi
53821 echo " zlib ${wxUSE_ZLIB}"
53822 echo " expat ${wxUSE_EXPAT}"
53823 echo " libmspack ${wxUSE_LIBMSPACK}"
53824 echo " sdl ${wxUSE_LIBSDL}"
53825
53826 echo ""
53827