]> git.saurik.com Git - wxWidgets.git/blob - configure
Fix generic wxDataViewCtrl Enter handling to conform to Windows UI.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.3.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.3'
579 PACKAGE_STRING='wxWidgets 2.9.3'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 CFLAGS_VISIBILITY
700 CXXFLAGS_VISIBILITY
701 LIBICONV
702 GXX_VERSION
703 SDL_CONFIG
704 SDL_CFLAGS
705 SDL_LIBS
706 GTKPRINT_CFLAGS
707 GTKPRINT_LIBS
708 LIBGNOMEPRINTUI_CFLAGS
709 LIBGNOMEPRINTUI_LIBS
710 GNOMEVFS_CFLAGS
711 GNOMEVFS_LIBS
712 HILDON_CFLAGS
713 HILDON_LIBS
714 HILDON2_CFLAGS
715 HILDON2_LIBS
716 PYTHON
717 COND_PYTHON
718 CAIRO_CFLAGS
719 CAIRO_LIBS
720 GST_CFLAGS
721 GST_LIBS
722 ALL_WX_LIBS
723 BUILT_WX_LIBS
724 STD_BASE_LIBS
725 STD_GUI_LIBS
726 wxUSE_ZLIB
727 wxUSE_REGEX
728 wxUSE_EXPAT
729 wxUSE_LIBJPEG
730 wxUSE_LIBPNG
731 wxUSE_LIBTIFF
732 VENDOR
733 OFFICIAL_BUILD
734 WX_FLAVOUR
735 WX_LIB_FLAVOUR
736 WXUNIV
737 MONOLITHIC
738 USE_PLUGINS
739 CXXWARNINGS
740 EXTRALIBS
741 EXTRALIBS_XML
742 EXTRALIBS_HTML
743 EXTRALIBS_MEDIA
744 EXTRALIBS_GUI
745 EXTRALIBS_OPENGL
746 EXTRALIBS_SDL
747 EXTRALIBS_STC
748 WITH_PLUGIN_SDL
749 EXTRALIBS_GTKPRINT
750 EXTRALIBS_GNOMEPRINT
751 EXTRALIBS_GNOMEVFS
752 EXTRALIBS_HILDON
753 UNICODE
754 DEBUG_INFO
755 DEBUG_FLAG
756 TOOLKIT_LOWERCASE
757 TOOLKIT_VERSION
758 DYLIB_RPATH_INSTALL
759 DYLIB_RPATH_POSTLINK
760 SAMPLES_RPATH_FLAG
761 HEADER_PAD_OPTION
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 RANLIB
766 INSTALL_PROGRAM
767 INSTALL_SCRIPT
768 INSTALL_DATA
769 LN_S
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 STRIP
774 NM
775 INSTALL_DIR
776 LDFLAGS_GUI
777 IF_GNU_MAKE
778 PLATFORM_UNIX
779 PLATFORM_WIN32
780 PLATFORM_MSDOS
781 PLATFORM_MAC
782 PLATFORM_MACOS
783 PLATFORM_MACOSX
784 PLATFORM_OS2
785 PLATFORM_BEOS
786 SO_SUFFIX
787 SO_SUFFIX_MODULE
788 DLLIMP_SUFFIX
789 LIBPREFIX
790 LIBEXT
791 DLLPREFIX
792 DLLPREFIX_MODULE
793 dlldir
794 AIX_CXX_LD
795 SHARED_LD_CC
796 SHARED_LD_CXX
797 SHARED_LD_MODULE_CC
798 SHARED_LD_MODULE_CXX
799 PIC_FLAG
800 WINDOWS_IMPLIB
801 USE_SOVERSION
802 USE_SOVERLINUX
803 USE_SOVERSOLARIS
804 USE_SOVERCYGWIN
805 USE_MACVERSION
806 USE_SOTWOSYMLINKS
807 SONAME_FLAG
808 DEPS_TRACKING
809 BK_DEPS
810 WINDRES
811 REZ
812 SETFILE
813 OBJCXXFLAGS
814 GCC_PCH
815 ICC_PCH
816 ICC_PCH_CREATE_SWITCH
817 ICC_PCH_USE_SWITCH
818 BK_MAKE_PCH
819 COND_BUILD_DEBUG
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
824 COND_BUILD_RELEASE
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
828 COND_BUILD_debug
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_release
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
837 COND_DEBUG_FLAG_0
838 COND_DEBUG_FLAG_1
839 COND_DEBUG_INFO_0
840 COND_DEBUG_INFO_1
841 COND_DEPS_TRACKING_0
842 COND_DEPS_TRACKING_1
843 COND_GCC_PCH_1
844 COND_ICC_PCH_1
845 COND_MONOLITHIC_0
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
853 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
857 COND_MONOLITHIC_0_SHARED_1
858 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
865 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
866 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
868 COND_MONOLITHIC_0_USE_AUI_1
869 COND_MONOLITHIC_0_USE_GUI_1
870 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_HTML_1
872 COND_MONOLITHIC_0_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_PROPGRID_1
874 COND_MONOLITHIC_0_USE_QA_1
875 COND_MONOLITHIC_0_USE_RIBBON_1
876 COND_MONOLITHIC_0_USE_RICHTEXT_1
877 COND_MONOLITHIC_0_USE_STC_1
878 COND_MONOLITHIC_0_USE_XRC_1
879 COND_MONOLITHIC_1
880 COND_MONOLITHIC_1_SHARED_0
881 COND_MONOLITHIC_1_SHARED_1
882 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
883 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
884 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
885 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
886 COND_PLATFORM_MACOSX_1
887 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
888 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
895 COND_PLATFORM_MACOSX_1_USE_GUI_1
896 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
897 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
898 COND_PLATFORM_MACOS_1
899 COND_PLATFORM_MAC_0
900 COND_PLATFORM_MAC_1
901 COND_PLATFORM_MSDOS_0
902 COND_PLATFORM_MSDOS_1
903 COND_PLATFORM_OS2_1
904 COND_PLATFORM_UNIX_0
905 COND_PLATFORM_UNIX_1
906 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
907 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
908 COND_PLATFORM_UNIX_1_USE_GUI_1
909 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
910 COND_PLATFORM_WIN32_0
911 COND_PLATFORM_WIN32_1
912 COND_PLATFORM_WIN32_1_SHARED_0
913 COND_SHARED_0
914 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
915 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
916 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
917 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
918 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
919 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
920 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
921 COND_SHARED_0_USE_STC_1
922 COND_SHARED_0_wxUSE_EXPAT_builtin
923 COND_SHARED_0_wxUSE_REGEX_builtin
924 COND_SHARED_0_wxUSE_ZLIB_builtin
925 COND_SHARED_1
926 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
927 COND_TOOLKIT_
928 COND_TOOLKIT_COCOA
929 COND_TOOLKIT_COCOA_USE_GUI_1
930 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_DFB
932 COND_TOOLKIT_DFB_USE_GUI_1
933 COND_TOOLKIT_GTK
934 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
936 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_GTK_USE_GUI_1
941 COND_TOOLKIT_MAC
942 COND_TOOLKIT_MGL
943 COND_TOOLKIT_MGL_USE_GUI_1
944 COND_TOOLKIT_MOTIF
945 COND_TOOLKIT_MOTIF_USE_GUI_1
946 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_MSW
948 COND_TOOLKIT_MSW_USE_GUI_1
949 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_MSW_WXUNIV_0
951 COND_TOOLKIT_OSX_CARBON
952 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
953 COND_TOOLKIT_OSX_COCOA
954 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
955 COND_TOOLKIT_OSX_IPHONE
956 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
957 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
958 COND_TOOLKIT_PM
959 COND_TOOLKIT_PM_USE_GUI_1
960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_WINCE
962 COND_TOOLKIT_WINCE_USE_GUI_1
963 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
964 COND_TOOLKIT_WINCE_WXUNIV_0
965 COND_TOOLKIT_X11
966 COND_TOOLKIT_X11_USE_GUI_1
967 COND_UNICODE_1
968 COND_USE_CAIRO_1
969 COND_USE_EXCEPTIONS_0
970 COND_USE_EXCEPTIONS_1
971 COND_USE_GUI_0
972 COND_USE_GUI_1
973 COND_USE_GUI_1_USE_OPENGL_1
974 COND_USE_GUI_1_WXUNIV_0
975 COND_USE_GUI_1_WXUNIV_1
976 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
977 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
978 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
979 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
980 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
981 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
982 COND_USE_OPENGL_1
983 COND_USE_PCH_1
984 COND_USE_PLUGINS_0
985 COND_USE_RTTI_0
986 COND_USE_RTTI_1
987 COND_USE_SOTWOSYMLINKS_1
988 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
989 COND_USE_SOVERLINUX_1
990 COND_USE_SOVERSION_0
991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
992 COND_USE_SOVERSOLARIS_1
993 COND_USE_STC_1
994 COND_USE_THREADS_0
995 COND_USE_THREADS_1
996 COND_USE_XRC_1
997 COND_WINDOWS_IMPLIB_1
998 COND_WITH_PLUGIN_SDL_1
999 COND_WXUNIV_0
1000 COND_WXUNIV_1
1001 COND_WXUSE_EXPAT_BUILTIN
1002 COND_WXUSE_LIBJPEG_BUILTIN
1003 COND_WXUSE_LIBPNG_BUILTIN
1004 COND_WXUSE_LIBTIFF_BUILTIN
1005 COND_WXUSE_REGEX_BUILTIN
1006 COND_WXUSE_ZLIB_BUILTIN
1007 COND_wxUSE_EXPAT_builtin
1008 COND_wxUSE_LIBJPEG_builtin
1009 COND_wxUSE_LIBPNG_builtin
1010 COND_wxUSE_LIBTIFF_builtin
1011 COND_wxUSE_REGEX_builtin
1012 COND_wxUSE_ZLIB_builtin
1013 DEREZ
1014 SHARED
1015 WX_LIBRARY_BASENAME_NOGUI
1016 WX_LIBRARY_BASENAME_GUI
1017 USE_GUI
1018 AFMINSTALL
1019 WIN32INSTALL
1020 TOOLKIT
1021 TOOLKIT_DIR
1022 TOOLCHAIN_NAME
1023 TOOLCHAIN_FULLNAME
1024 cross_compiling
1025 WIDGET_SET
1026 WX_RELEASE
1027 WX_VERSION
1028 WX_SUBVERSION
1029 WX_CHARTYPE
1030 WXCONFIG_CPPFLAGS
1031 WXCONFIG_CFLAGS
1032 WXCONFIG_CXXFLAGS
1033 WXCONFIG_LIBS
1034 WXCONFIG_RPATH
1035 WXCONFIG_LDFLAGS
1036 WXCONFIG_LDFLAGS_GUI
1037 WXCONFIG_RESFLAGS
1038 GUIDIST
1039 DISTDIR
1040 SAMPLES_SUBDIRS
1041 LDFLAGS_GL
1042 OPENGL_LIBS
1043 DMALLOC_LIBS
1044 WX_VERSION_TAG
1045 RESCOMP
1046 RESFLAGS
1047 RESPROGRAMOBJ
1048 WX_RESOURCES_MACOSX_ASCII
1049 WX_RESOURCES_MACOSX_DATA
1050 LIBWXMACRES
1051 POSTLINK_COMMAND
1052 MACSETFILE
1053 GCC
1054 DLLTOOL
1055 CPPUNIT_CONFIG
1056 LIBOBJS
1057 LTLIBOBJS'
1058 ac_subst_files=''
1059 ac_precious_vars='build_alias
1060 host_alias
1061 target_alias
1062 CC
1063 CFLAGS
1064 LDFLAGS
1065 LIBS
1066 CPPFLAGS
1067 CPP
1068 CXX
1069 CXXFLAGS
1070 CCC
1071 CXXCPP
1072 PKG_CONFIG
1073 DIRECTFB_CFLAGS
1074 DIRECTFB_LIBS
1075 XMKMF
1076 PANGOX_CFLAGS
1077 PANGOX_LIBS
1078 PANGOFT2_CFLAGS
1079 PANGOFT2_LIBS
1080 PANGOXFT_CFLAGS
1081 PANGOXFT_LIBS
1082 GTKPRINT_CFLAGS
1083 GTKPRINT_LIBS
1084 LIBGNOMEPRINTUI_CFLAGS
1085 LIBGNOMEPRINTUI_LIBS
1086 GNOMEVFS_CFLAGS
1087 GNOMEVFS_LIBS
1088 HILDON_CFLAGS
1089 HILDON_LIBS
1090 HILDON2_CFLAGS
1091 HILDON2_LIBS
1092 CAIRO_CFLAGS
1093 CAIRO_LIBS
1094 GST_CFLAGS
1095 GST_LIBS'
1096 ac_subdirs_all='src/tiff
1097 src/expat'
1098
1099 # Initialize some variables set by options.
1100 ac_init_help=
1101 ac_init_version=false
1102 # The variables have the same names as the options, with
1103 # dashes changed to underlines.
1104 cache_file=/dev/null
1105 exec_prefix=NONE
1106 no_create=
1107 no_recursion=
1108 prefix=NONE
1109 program_prefix=NONE
1110 program_suffix=NONE
1111 program_transform_name=s,x,x,
1112 silent=
1113 site=
1114 srcdir=
1115 verbose=
1116 x_includes=NONE
1117 x_libraries=NONE
1118
1119 # Installation directory options.
1120 # These are left unexpanded so users can "make install exec_prefix=/foo"
1121 # and all the variables that are supposed to be based on exec_prefix
1122 # by default will actually change.
1123 # Use braces instead of parens because sh, perl, etc. also accept them.
1124 # (The list follows the same order as the GNU Coding Standards.)
1125 bindir='${exec_prefix}/bin'
1126 sbindir='${exec_prefix}/sbin'
1127 libexecdir='${exec_prefix}/libexec'
1128 datarootdir='${prefix}/share'
1129 datadir='${datarootdir}'
1130 sysconfdir='${prefix}/etc'
1131 sharedstatedir='${prefix}/com'
1132 localstatedir='${prefix}/var'
1133 includedir='${prefix}/include'
1134 oldincludedir='/usr/include'
1135 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1136 infodir='${datarootdir}/info'
1137 htmldir='${docdir}'
1138 dvidir='${docdir}'
1139 pdfdir='${docdir}'
1140 psdir='${docdir}'
1141 libdir='${exec_prefix}/lib'
1142 localedir='${datarootdir}/locale'
1143 mandir='${datarootdir}/man'
1144
1145 ac_prev=
1146 ac_dashdash=
1147 for ac_option
1148 do
1149 # If the previous option needs an argument, assign it.
1150 if test -n "$ac_prev"; then
1151 eval $ac_prev=\$ac_option
1152 ac_prev=
1153 continue
1154 fi
1155
1156 case $ac_option in
1157 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1158 *) ac_optarg=yes ;;
1159 esac
1160
1161 # Accept the important Cygnus configure options, so we can diagnose typos.
1162
1163 case $ac_dashdash$ac_option in
1164 --)
1165 ac_dashdash=yes ;;
1166
1167 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1168 ac_prev=bindir ;;
1169 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1170 bindir=$ac_optarg ;;
1171
1172 -build | --build | --buil | --bui | --bu)
1173 ac_prev=build_alias ;;
1174 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1175 build_alias=$ac_optarg ;;
1176
1177 -cache-file | --cache-file | --cache-fil | --cache-fi \
1178 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1179 ac_prev=cache_file ;;
1180 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1181 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1182 cache_file=$ac_optarg ;;
1183
1184 --config-cache | -C)
1185 cache_file=config.cache ;;
1186
1187 -datadir | --datadir | --datadi | --datad)
1188 ac_prev=datadir ;;
1189 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1190 datadir=$ac_optarg ;;
1191
1192 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1193 | --dataroo | --dataro | --datar)
1194 ac_prev=datarootdir ;;
1195 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1196 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1197 datarootdir=$ac_optarg ;;
1198
1199 -disable-* | --disable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=no ;;
1207
1208 -docdir | --docdir | --docdi | --doc | --do)
1209 ac_prev=docdir ;;
1210 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1211 docdir=$ac_optarg ;;
1212
1213 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1214 ac_prev=dvidir ;;
1215 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1216 dvidir=$ac_optarg ;;
1217
1218 -enable-* | --enable-*)
1219 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1225 eval enable_$ac_feature=\$ac_optarg ;;
1226
1227 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1228 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1229 | --exec | --exe | --ex)
1230 ac_prev=exec_prefix ;;
1231 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1232 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1233 | --exec=* | --exe=* | --ex=*)
1234 exec_prefix=$ac_optarg ;;
1235
1236 -gas | --gas | --ga | --g)
1237 # Obsolete; use --with-gas.
1238 with_gas=yes ;;
1239
1240 -help | --help | --hel | --he | -h)
1241 ac_init_help=long ;;
1242 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1243 ac_init_help=recursive ;;
1244 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1245 ac_init_help=short ;;
1246
1247 -host | --host | --hos | --ho)
1248 ac_prev=host_alias ;;
1249 -host=* | --host=* | --hos=* | --ho=*)
1250 host_alias=$ac_optarg ;;
1251
1252 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1253 ac_prev=htmldir ;;
1254 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1255 | --ht=*)
1256 htmldir=$ac_optarg ;;
1257
1258 -includedir | --includedir | --includedi | --included | --include \
1259 | --includ | --inclu | --incl | --inc)
1260 ac_prev=includedir ;;
1261 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1262 | --includ=* | --inclu=* | --incl=* | --inc=*)
1263 includedir=$ac_optarg ;;
1264
1265 -infodir | --infodir | --infodi | --infod | --info | --inf)
1266 ac_prev=infodir ;;
1267 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1268 infodir=$ac_optarg ;;
1269
1270 -libdir | --libdir | --libdi | --libd)
1271 ac_prev=libdir ;;
1272 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1273 libdir=$ac_optarg ;;
1274
1275 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1276 | --libexe | --libex | --libe)
1277 ac_prev=libexecdir ;;
1278 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1279 | --libexe=* | --libex=* | --libe=*)
1280 libexecdir=$ac_optarg ;;
1281
1282 -localedir | --localedir | --localedi | --localed | --locale)
1283 ac_prev=localedir ;;
1284 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1285 localedir=$ac_optarg ;;
1286
1287 -localstatedir | --localstatedir | --localstatedi | --localstated \
1288 | --localstate | --localstat | --localsta | --localst | --locals)
1289 ac_prev=localstatedir ;;
1290 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1291 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1292 localstatedir=$ac_optarg ;;
1293
1294 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1295 ac_prev=mandir ;;
1296 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1297 mandir=$ac_optarg ;;
1298
1299 -nfp | --nfp | --nf)
1300 # Obsolete; use --without-fp.
1301 with_fp=no ;;
1302
1303 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1304 | --no-cr | --no-c | -n)
1305 no_create=yes ;;
1306
1307 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1308 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1309 no_recursion=yes ;;
1310
1311 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1312 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1313 | --oldin | --oldi | --old | --ol | --o)
1314 ac_prev=oldincludedir ;;
1315 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1316 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1317 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1318 oldincludedir=$ac_optarg ;;
1319
1320 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1321 ac_prev=prefix ;;
1322 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1323 prefix=$ac_optarg ;;
1324
1325 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1326 | --program-pre | --program-pr | --program-p)
1327 ac_prev=program_prefix ;;
1328 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1329 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1330 program_prefix=$ac_optarg ;;
1331
1332 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1333 | --program-suf | --program-su | --program-s)
1334 ac_prev=program_suffix ;;
1335 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1336 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1337 program_suffix=$ac_optarg ;;
1338
1339 -program-transform-name | --program-transform-name \
1340 | --program-transform-nam | --program-transform-na \
1341 | --program-transform-n | --program-transform- \
1342 | --program-transform | --program-transfor \
1343 | --program-transfo | --program-transf \
1344 | --program-trans | --program-tran \
1345 | --progr-tra | --program-tr | --program-t)
1346 ac_prev=program_transform_name ;;
1347 -program-transform-name=* | --program-transform-name=* \
1348 | --program-transform-nam=* | --program-transform-na=* \
1349 | --program-transform-n=* | --program-transform-=* \
1350 | --program-transform=* | --program-transfor=* \
1351 | --program-transfo=* | --program-transf=* \
1352 | --program-trans=* | --program-tran=* \
1353 | --progr-tra=* | --program-tr=* | --program-t=*)
1354 program_transform_name=$ac_optarg ;;
1355
1356 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1357 ac_prev=pdfdir ;;
1358 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1359 pdfdir=$ac_optarg ;;
1360
1361 -psdir | --psdir | --psdi | --psd | --ps)
1362 ac_prev=psdir ;;
1363 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1364 psdir=$ac_optarg ;;
1365
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1368 silent=yes ;;
1369
1370 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1371 ac_prev=sbindir ;;
1372 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1373 | --sbi=* | --sb=*)
1374 sbindir=$ac_optarg ;;
1375
1376 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1377 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1378 | --sharedst | --shareds | --shared | --share | --shar \
1379 | --sha | --sh)
1380 ac_prev=sharedstatedir ;;
1381 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1382 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1383 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1384 | --sha=* | --sh=*)
1385 sharedstatedir=$ac_optarg ;;
1386
1387 -site | --site | --sit)
1388 ac_prev=site ;;
1389 -site=* | --site=* | --sit=*)
1390 site=$ac_optarg ;;
1391
1392 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1393 ac_prev=srcdir ;;
1394 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1395 srcdir=$ac_optarg ;;
1396
1397 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1398 | --syscon | --sysco | --sysc | --sys | --sy)
1399 ac_prev=sysconfdir ;;
1400 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1401 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1402 sysconfdir=$ac_optarg ;;
1403
1404 -target | --target | --targe | --targ | --tar | --ta | --t)
1405 ac_prev=target_alias ;;
1406 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1407 target_alias=$ac_optarg ;;
1408
1409 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1410 verbose=yes ;;
1411
1412 -version | --version | --versio | --versi | --vers | -V)
1413 ac_init_version=: ;;
1414
1415 -with-* | --with-*)
1416 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_$ac_package=\$ac_optarg ;;
1423
1424 -without-* | --without-*)
1425 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1426 # Reject names that are not valid shell variable names.
1427 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1428 { echo "$as_me: error: invalid package name: $ac_package" >&2
1429 { (exit 1); exit 1; }; }
1430 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1431 eval with_$ac_package=no ;;
1432
1433 --x)
1434 # Obsolete; use --with-x.
1435 with_x=yes ;;
1436
1437 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1438 | --x-incl | --x-inc | --x-in | --x-i)
1439 ac_prev=x_includes ;;
1440 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1441 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1442 x_includes=$ac_optarg ;;
1443
1444 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1445 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1446 ac_prev=x_libraries ;;
1447 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1448 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1449 x_libraries=$ac_optarg ;;
1450
1451 -*) { echo "$as_me: error: unrecognized option: $ac_option
1452 Try \`$0 --help' for more information." >&2
1453 { (exit 1); exit 1; }; }
1454 ;;
1455
1456 *=*)
1457 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1458 # Reject names that are not valid shell variable names.
1459 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1460 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1461 { (exit 1); exit 1; }; }
1462 eval $ac_envvar=\$ac_optarg
1463 export $ac_envvar ;;
1464
1465 *)
1466 # FIXME: should be removed in autoconf 3.0.
1467 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1468 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1469 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1470 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1471 ;;
1472
1473 esac
1474 done
1475
1476 if test -n "$ac_prev"; then
1477 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1478 { echo "$as_me: error: missing argument to $ac_option" >&2
1479 { (exit 1); exit 1; }; }
1480 fi
1481
1482 # Be sure to have absolute directory names.
1483 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir includedir \
1485 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1487 do
1488 eval ac_val=\$$ac_var
1489 case $ac_val in
1490 [\\/$]* | ?:[\\/]* ) continue;;
1491 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1492 esac
1493 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1494 { (exit 1); exit 1; }; }
1495 done
1496
1497 # There might be people who depend on the old broken behavior: `$host'
1498 # used to hold the argument of --host etc.
1499 # FIXME: To remove some day.
1500 build=$build_alias
1501 host=$host_alias
1502 target=$target_alias
1503
1504 # FIXME: To remove some day.
1505 if test "x$host_alias" != x; then
1506 if test "x$build_alias" = x; then
1507 cross_compiling=maybe
1508 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1509 If a cross compiler is detected then cross compile mode will be used." >&2
1510 elif test "x$build_alias" != "x$host_alias"; then
1511 cross_compiling=yes
1512 fi
1513 fi
1514
1515 ac_tool_prefix=
1516 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1517
1518 test "$silent" = yes && exec 6>/dev/null
1519
1520
1521 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1522 ac_ls_di=`ls -di .` &&
1523 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1524 { echo "$as_me: error: Working directory cannot be determined" >&2
1525 { (exit 1); exit 1; }; }
1526 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1527 { echo "$as_me: error: pwd does not report name of working directory" >&2
1528 { (exit 1); exit 1; }; }
1529
1530
1531 # Find the source files, if location was not specified.
1532 if test -z "$srcdir"; then
1533 ac_srcdir_defaulted=yes
1534 # Try the directory containing this script, then the parent directory.
1535 ac_confdir=`$as_dirname -- "$0" ||
1536 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1537 X"$0" : 'X\(//\)[^/]' \| \
1538 X"$0" : 'X\(//\)$' \| \
1539 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1540 echo X"$0" |
1541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 s//\1/
1543 q
1544 }
1545 /^X\(\/\/\)[^/].*/{
1546 s//\1/
1547 q
1548 }
1549 /^X\(\/\/\)$/{
1550 s//\1/
1551 q
1552 }
1553 /^X\(\/\).*/{
1554 s//\1/
1555 q
1556 }
1557 s/.*/./; q'`
1558 srcdir=$ac_confdir
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 srcdir=..
1561 fi
1562 else
1563 ac_srcdir_defaulted=no
1564 fi
1565 if test ! -r "$srcdir/$ac_unique_file"; then
1566 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1567 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1568 { (exit 1); exit 1; }; }
1569 fi
1570 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1571 ac_abs_confdir=`(
1572 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1573 { (exit 1); exit 1; }; }
1574 pwd)`
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1577 srcdir=.
1578 fi
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1582 case $srcdir in
1583 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1584 esac
1585 for ac_var in $ac_precious_vars; do
1586 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_${ac_var}_value=\$${ac_var}
1588 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1590 done
1591
1592 #
1593 # Report the --help message.
1594 #
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1598 cat <<_ACEOF
1599 \`configure' configures wxWidgets 2.9.3 to adapt to many kinds of systems.
1600
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1605
1606 Defaults for the options are specified in brackets.
1607
1608 Configuration:
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1618
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1623 [PREFIX]
1624
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1629
1630 For better control, use the options below.
1631
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --includedir=DIR C header files [PREFIX/include]
1641 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1652 _ACEOF
1653
1654 cat <<\_ACEOF
1655
1656 X features:
1657 --x-includes=DIR X include files are in DIR
1658 --x-libraries=DIR X library files are in DIR
1659
1660 System types:
1661 --build=BUILD configure for building on BUILD [guessed]
1662 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1663 _ACEOF
1664 fi
1665
1666 if test -n "$ac_init_help"; then
1667 case $ac_init_help in
1668 short | recursive ) echo "Configuration of wxWidgets 2.9.3:";;
1669 esac
1670 cat <<\_ACEOF
1671
1672 Optional Features:
1673 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1674 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1675 --disable-gui don't build GUI parts of the library
1676 --enable-monolithic build wxWidgets as single library
1677 --enable-plugins build parts of wxWidgets as loadable components
1678 --enable-official_build official build of wxWidgets (win32 DLL only)
1679 --enable-vendor=VENDOR vendor name (win32 DLL only)
1680 --disable-all-features disable all optional features to build minimal library
1681 --enable-universal use wxWidgets GUI controls instead of native ones
1682 --enable-nanox use NanoX
1683 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1684 --enable-gpe use GNOME PDA Environment features if possible
1685 --enable-debug build library for debugging
1686 --disable-debug_flag disable all debugging support
1687 --enable-debug_info generate debug information
1688 --enable-debug_gdb create code with extra GDB debugging information
1689 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1690 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1691 --disable-shared create static library instead of shared
1692 --enable-stl use standard C++ classes for everything
1693 --enable-std_containers use standard C++ container classes
1694 --enable-std_iostreams use standard C++ stream classes
1695 --enable-std_string use standard C++ string classes
1696 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1697 --disable-unicode compile without Unicode support
1698 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1699 --enable-utf8 use UTF-8 representation for strings (Unix only)
1700 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1701 --enable-extended_rtti use extended RTTI (XTI)
1702 --enable-omf use OMF object format
1703 --disable-optimise compile without optimisations
1704 --enable-profile create code with profiling information
1705 --enable-no_rtti create code without RTTI information
1706 --enable-no_exceptions create code without C++ exceptions handling
1707 --enable-permissive compile code disregarding strict ANSI
1708 --enable-no_deps create code without dependency information
1709 --disable-vararg_macros don't use vararg macros, even if they are supported
1710 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1711 --enable-macosx_arch=ARCH build for just the specified architecture
1712 --enable-compat26 enable wxWidgets 2.6 compatibility
1713 --disable-compat28 disable wxWidgets 2.8 compatibility
1714 --disable-rpath disable use of rpath for uninstalled builds
1715 --enable-objc_uniquifying enable Objective-C class name uniquifying
1716 --disable-visibility disable use of ELF symbols visibility even if supported
1717 --disable-tls disable use of compiler TLS support
1718 --enable-intl use internationalization system
1719 --enable-xlocale use x-locale support (requires wxLocale)
1720 --enable-config use wxConfig (and derived) classes
1721 --enable-protocols use wxProtocol and derived classes
1722 --enable-ftp use wxFTP (requires wxProtocol
1723 --enable-http use wxHTTP (requires wxProtocol
1724 --enable-fileproto use wxFileProto class (requires wxProtocol
1725 --enable-sockets use socket/network classes
1726 --enable-ipv6 enable IPv6 support in wxSocket
1727 --enable-ole use OLE classes (Win32 only)
1728 --enable-dataobj use data object classes
1729 --enable-ipc use interprocess communication (wxSocket etc.)
1730 --enable-baseevtloop use event loop in console programs too
1731 --enable-epollloop use wxEpollDispatcher class (Linux only)
1732 --enable-selectloop use wxSelectDispatcher class
1733 --enable-any use wxAny class
1734 --enable-apple_ieee use the Apple IEEE codec
1735 --enable-arcstream use wxArchive streams
1736 --enable-base64 use base64 encoding/decoding functions
1737 --enable-backtrace use wxStackWalker class for getting backtraces
1738 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1739 --enable-cmdline use wxCmdLineParser class
1740 --enable-datetime use wxDateTime class
1741 --enable-debugreport use wxDebugReport class
1742 --enable-dialupman use dialup network classes
1743 --enable-dynlib use wxLibrary class for DLL loading
1744 --enable-dynamicloader use (new) wxDynamicLibrary class
1745 --enable-exceptions build exception-safe library
1746 --enable-ffile use wxFFile class
1747 --enable-file use wxFile class
1748 --enable-filehistory use wxFileHistory class
1749 --enable-filesystem use virtual file systems classes
1750 --enable-fontenum use wxFontEnumerator class
1751 --enable-fontmap use font encodings conversion classes
1752 --enable-fs_archive use virtual archive filesystems
1753 --enable-fs_inet use virtual HTTP/FTP filesystems
1754 --enable-fs_zip now replaced by fs_archive
1755 --enable-fswatcher use wxFileSystemWatcher class
1756 --enable-geometry use geometry class
1757 --enable-log use logging system
1758 --enable-longlong use wxLongLong class
1759 --enable-mimetype use wxMimeTypesManager
1760 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1761 --enable-snglinst use wxSingleInstanceChecker class
1762 --enable-sound use wxSound class
1763 --enable-stdpaths use wxStandardPaths class
1764 --enable-stopwatch use wxStopWatch class
1765 --enable-streams use wxStream etc classes
1766 --enable-sysoptions use wxSystemOptions
1767 --enable-tarstream use wxTar streams
1768 --enable-textbuf use wxTextBuffer class
1769 --enable-textfile use wxTextFile class
1770 --enable-timer use wxTimer class
1771 --enable-variant use wxVariant class
1772 --enable-zipstream use wxZip streams
1773 --enable-url use wxURL class
1774 --enable-protocol use wxProtocol class
1775 --enable-protocol-http HTTP support in wxProtocol
1776 --enable-protocol-ftp FTP support in wxProtocol
1777 --enable-protocol-file FILE support in wxProtocol
1778 --enable-threads use threads
1779 --enable-iniconf use wxIniConfig (Win32 only)
1780 --enable-regkey use wxRegKey class (Win32 only)
1781 --enable-docview use document view architecture
1782 --enable-help use help subsystem
1783 --enable-mshtmlhelp use MS HTML Help (win32)
1784 --enable-html use wxHTML sub-library
1785 --enable-htmlhelp use wxHTML-based help
1786 --enable-xrc use XRC resources sub-library
1787 --enable-aui use AUI docking library
1788 --enable-propgrid use wxPropertyGrid library
1789 --enable-ribbon use wxRibbon library
1790 --enable-stc use wxStyledTextCtrl library
1791 --enable-constraints use layout-constraints system
1792 --enable-loggui use standard GUI logger
1793 --enable-logwin use wxLogWindow
1794 --enable-logdialog use wxLogDialog
1795 --enable-mdi use multiple document interface architecture
1796 --enable-mdidoc use docview architecture with MDI
1797 --enable-mediactrl use wxMediaCtrl class
1798 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1799 --enable-webkit use wxWebKitCtrl (Mac)
1800 --enable-richtext use wxRichTextCtrl
1801 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1802 --enable-printarch use printing architecture
1803 --enable-svg use wxSVGFileDC device context
1804 --enable-graphics_ctx use graphics context 2D drawing API
1805 --enable-clipboard use wxClipboard class
1806 --enable-dnd use Drag'n'Drop classes
1807 --disable-controls disable compilation of all standard controls
1808 --enable-markup support wxControl::SetLabelMarkup
1809 --enable-accel use accelerators
1810 --enable-animatectrl use wxAnimationCtrl class
1811 --enable-bannerwindow use wxBannerWindow class
1812 --enable-artstd use standard XPM icons in wxArtProvider
1813 --enable-arttango use Tango icons in wxArtProvider
1814 --enable-bmpbutton use wxBitmapButton class
1815 --enable-bmpcombobox use wxBitmapComboBox class
1816 --enable-button use wxButton class
1817 --enable-calendar use wxCalendarCtrl class
1818 --enable-caret use wxCaret class
1819 --enable-checkbox use wxCheckBox class
1820 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1821 --enable-choice use wxChoice class
1822 --enable-choicebook use wxChoicebook class
1823 --enable-collpane use wxCollapsiblePane class
1824 --enable-colourpicker use wxColourPickerCtrl class
1825 --enable-combobox use wxComboBox class
1826 --enable-comboctrl use wxComboCtrl class
1827 --enable-commandlinkbutton use wxCommmandLinkButton class
1828 --enable-dataviewctrl use wxDataViewCtrl class
1829 --enable-datepick use wxDatePickerCtrl class
1830 --enable-detect_sm use code to detect X11 session manager
1831 --enable-dirpicker use wxDirPickerCtrl class
1832 --enable-display use wxDisplay class
1833 --enable-editablebox use wxEditableListBox class
1834 --enable-filectrl use wxFileCtrl class
1835 --enable-filepicker use wxFilePickerCtrl class
1836 --enable-fontpicker use wxFontPickerCtrl class
1837 --enable-gauge use wxGauge class
1838 --enable-grid use wxGrid class
1839 --enable-headerctrl use wxHeaderCtrl class
1840 --enable-hyperlink use wxHyperlinkCtrl class
1841 --enable-imaglist use wxImageList class
1842 --enable-infobar use wxInfoBar class
1843 --enable-listbook use wxListbook class
1844 --enable-listbox use wxListBox class
1845 --enable-listctrl use wxListCtrl class
1846 --enable-notebook use wxNotebook class
1847 --enable-notifmsg use wxNotificationMessage class
1848 --enable-odcombobox use wxOwnerDrawnComboBox class
1849 --enable-popupwin use wxPopUpWindow class
1850 --enable-radiobox use wxRadioBox class
1851 --enable-radiobtn use wxRadioButton class
1852 --enable-richmsgdlg use wxRichMessageDialog class
1853 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1854 --enable-sash use wxSashWindow class
1855 --enable-scrollbar use wxScrollBar class and scrollable windows
1856 --enable-searchctrl use wxSearchCtrl class
1857 --enable-slider use wxSlider class
1858 --enable-spinbtn use wxSpinButton class
1859 --enable-spinctrl use wxSpinCtrl class
1860 --enable-splitter use wxSplitterWindow class
1861 --enable-statbmp use wxStaticBitmap class
1862 --enable-statbox use wxStaticBox class
1863 --enable-statline use wxStaticLine class
1864 --enable-stattext use wxStaticText class
1865 --enable-statusbar use wxStatusBar class
1866 --enable-taskbaricon use wxTaskBarIcon class
1867 --enable-tbarnative use native wxToolBar class
1868 --enable-textctrl use wxTextCtrl class
1869 --enable-tipwindow use wxTipWindow class
1870 --enable-togglebtn use wxToggleButton class
1871 --enable-toolbar use wxToolBar class
1872 --enable-toolbook use wxToolbook class
1873 --enable-treebook use wxTreebook class
1874 --enable-treectrl use wxTreeCtrl class
1875 --enable-treelist use wxTreeListCtrl class
1876 --enable-commondlg use all common dialogs
1877 --enable-aboutdlg use wxAboutBox
1878 --enable-choicedlg use wxChoiceDialog
1879 --enable-coldlg use wxColourDialog
1880 --enable-filedlg use wxFileDialog
1881 --enable-finddlg use wxFindReplaceDialog
1882 --enable-fontdlg use wxFontDialog
1883 --enable-dirdlg use wxDirDialog
1884 --enable-msgdlg use wxMessageDialog
1885 --enable-numberdlg use wxNumberEntryDialog
1886 --enable-splash use wxSplashScreen
1887 --enable-textdlg use wxTextDialog
1888 --enable-tipdlg use startup tips
1889 --enable-progressdlg use wxProgressDialog
1890 --enable-wizarddlg use wxWizard
1891 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1892 --enable-miniframe use wxMiniFrame class
1893 --enable-tooltips use wxToolTip class
1894 --enable-splines use spline drawing code
1895 --enable-mousewheel use mousewheel
1896 --enable-validators use wxValidator and derived classes
1897 --enable-busyinfo use wxBusyInfo
1898 --enable-hotkey use wxWindow::RegisterHotKey()
1899 --enable-joystick use wxJoystick
1900 --enable-metafiles use wxMetaFile
1901 --enable-dragimage use wxDragImage
1902 --enable-accessibility enable accessibility support
1903 --enable-uiactionsim use wxUIActionSimulator (experimental)
1904 --enable-dctransform use wxDC::SetTransformMatrix and related
1905 --enable-palette use wxPalette class
1906 --enable-image use wxImage class
1907 --enable-gif use gif images (GIF file format)
1908 --enable-pcx use pcx images (PCX file format)
1909 --enable-tga use tga images (TGA file format)
1910 --enable-iff use iff images (IFF file format)
1911 --enable-pnm use pnm images (PNM file format)
1912 --enable-xpm use xpm images (XPM file format)
1913 --enable-ico_cur use Windows ICO and CUR formats
1914 --enable-dccache cache temporary wxDC objects (Win32 only)
1915 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1916 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1917 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1918 --enable-wxdib use wxDIB class (Win32 only)
1919 --enable-autoidman use automatic ids management
1920 --disable-largefile omit support for large files
1921 --disable-gtktest do not try to compile and run a test GTK+ program
1922 --disable-gtktest Do not try to compile and run a test GTK program
1923 --disable-sdltest Do not try to compile and run a test SDL program
1924 --enable-omf use OMF object format (OS/2)
1925 --disable-dependency-tracking
1926 don't use dependency tracking even if the compiler
1927 can
1928 --disable-precomp-headers
1929 don't use precompiled headers even if compiler can
1930
1931 Optional Packages:
1932 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1933 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1934 --without-subdirs don't generate makefiles for samples/demos/...
1935 --with-flavour=NAME specify a name to identify this build
1936 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1937 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1938 --with-motif use Motif/Lesstif
1939 --with-osx_carbon use Mac OS X (Carbon)
1940 --with-osx_cocoa use Mac OS X (Cocoa)
1941 --with-osx_iphone use iPhone OS X port
1942 --with-osx use Mac OS X (default port, currently Carbon)
1943 --with-carbon same as --with-osx_carbon
1944 --with-cocoa same as --with-osx_cocoa
1945 --with-iphone same as --with-osx_iphone
1946 --with-mac same as --with-osx
1947 --with-old_cocoa use old, deprecated, Cocoa port
1948 --with-wine use Wine
1949 --with-msw use MS-Windows
1950 --with-pm use OS/2 Presentation Manager
1951 --with-mgl use SciTech MGL
1952 --with-directfb use DirectFB
1953 --with-microwin use MicroWindows
1954 --with-x11 use X11
1955 --with-libpng use libpng (PNG image format)
1956 --with-libjpeg use libjpeg (JPEG file format)
1957 --with-libtiff use libtiff (TIFF file format)
1958 --with-libxpm use libxpm (XPM file format)
1959 --with-libiconv use libiconv (character conversion)
1960 --with-libmspack use libmspack (CHM help files loading)
1961 --without-gtkprint don't use GTK printing support
1962 --without-gnomeprint don't use GNOME printing libraries
1963 --with-gnomevfs use GNOME VFS for associating MIME types
1964 --with-hildon use Hildon framework for Nokia 770/800/810
1965 --with-opengl use OpenGL (or Mesa)
1966 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1967 --with-sdl use SDL for audio on Unix
1968 --with-regex enable support for wxRegEx class
1969 --with-zlib use zlib for LZW compression
1970 --with-expat enable XML support using expat parser
1971 --with-macosx-sdk=PATH use an OS X SDK at PATH
1972 --with-macosx-version-min=VER build binaries which require at least this OS X version
1973 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1974 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1975 --with-x use the X Window System
1976 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1977 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1978 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1979 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1980 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1981
1982 Some influential environment variables:
1983 CC C compiler command
1984 CFLAGS C compiler flags
1985 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1986 nonstandard directory <lib dir>
1987 LIBS libraries to pass to the linker, e.g. -l<library>
1988 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1989 you have headers in a nonstandard directory <include dir>
1990 CPP C preprocessor
1991 CXX C++ compiler command
1992 CXXFLAGS C++ compiler flags
1993 CXXCPP C++ preprocessor
1994 PKG_CONFIG path to pkg-config utility
1995 DIRECTFB_CFLAGS
1996 C compiler flags for DIRECTFB, overriding pkg-config
1997 DIRECTFB_LIBS
1998 linker flags for DIRECTFB, overriding pkg-config
1999 XMKMF Path to xmkmf, Makefile generator for X Window System
2000 PANGOX_CFLAGS
2001 C compiler flags for PANGOX, overriding pkg-config
2002 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2003 PANGOFT2_CFLAGS
2004 C compiler flags for PANGOFT2, overriding pkg-config
2005 PANGOFT2_LIBS
2006 linker flags for PANGOFT2, overriding pkg-config
2007 PANGOXFT_CFLAGS
2008 C compiler flags for PANGOXFT, overriding pkg-config
2009 PANGOXFT_LIBS
2010 linker flags for PANGOXFT, overriding pkg-config
2011 GTKPRINT_CFLAGS
2012 C compiler flags for GTKPRINT, overriding pkg-config
2013 GTKPRINT_LIBS
2014 linker flags for GTKPRINT, overriding pkg-config
2015 LIBGNOMEPRINTUI_CFLAGS
2016 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2017 LIBGNOMEPRINTUI_LIBS
2018 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2019 GNOMEVFS_CFLAGS
2020 C compiler flags for GNOMEVFS, overriding pkg-config
2021 GNOMEVFS_LIBS
2022 linker flags for GNOMEVFS, overriding pkg-config
2023 HILDON_CFLAGS
2024 C compiler flags for HILDON, overriding pkg-config
2025 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2026 HILDON2_CFLAGS
2027 C compiler flags for HILDON2, overriding pkg-config
2028 HILDON2_LIBS
2029 linker flags for HILDON2, overriding pkg-config
2030 CAIRO_CFLAGS
2031 C compiler flags for CAIRO, overriding pkg-config
2032 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2033 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2034 GST_LIBS linker flags for GST, overriding pkg-config
2035
2036 Use these variables to override the choices made by `configure' or to help
2037 it to find libraries and programs with nonstandard names/locations.
2038
2039 Report bugs to <wx-dev@lists.wxwidgets.org>.
2040 _ACEOF
2041 ac_status=$?
2042 fi
2043
2044 if test "$ac_init_help" = "recursive"; then
2045 # If there are subdirs, report their specific --help.
2046 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2047 test -d "$ac_dir" || continue
2048 ac_builddir=.
2049
2050 case "$ac_dir" in
2051 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2052 *)
2053 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2054 # A ".." for each directory in $ac_dir_suffix.
2055 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2056 case $ac_top_builddir_sub in
2057 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2058 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2059 esac ;;
2060 esac
2061 ac_abs_top_builddir=$ac_pwd
2062 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2063 # for backward compatibility:
2064 ac_top_builddir=$ac_top_build_prefix
2065
2066 case $srcdir in
2067 .) # We are building in place.
2068 ac_srcdir=.
2069 ac_top_srcdir=$ac_top_builddir_sub
2070 ac_abs_top_srcdir=$ac_pwd ;;
2071 [\\/]* | ?:[\\/]* ) # Absolute name.
2072 ac_srcdir=$srcdir$ac_dir_suffix;
2073 ac_top_srcdir=$srcdir
2074 ac_abs_top_srcdir=$srcdir ;;
2075 *) # Relative name.
2076 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2077 ac_top_srcdir=$ac_top_build_prefix$srcdir
2078 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2079 esac
2080 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2081
2082 cd "$ac_dir" || { ac_status=$?; continue; }
2083 # Check for guested configure.
2084 if test -f "$ac_srcdir/configure.gnu"; then
2085 echo &&
2086 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2087 elif test -f "$ac_srcdir/configure"; then
2088 echo &&
2089 $SHELL "$ac_srcdir/configure" --help=recursive
2090 else
2091 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2092 fi || ac_status=$?
2093 cd "$ac_pwd" || { ac_status=$?; break; }
2094 done
2095 fi
2096
2097 test -n "$ac_init_help" && exit $ac_status
2098 if $ac_init_version; then
2099 cat <<\_ACEOF
2100 wxWidgets configure 2.9.3
2101 generated by GNU Autoconf 2.61
2102
2103 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2104 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2105 This configure script is free software; the Free Software Foundation
2106 gives unlimited permission to copy, distribute and modify it.
2107 _ACEOF
2108 exit
2109 fi
2110 cat >config.log <<_ACEOF
2111 This file contains any messages produced by compilers while
2112 running configure, to aid debugging if configure makes a mistake.
2113
2114 It was created by wxWidgets $as_me 2.9.3, which was
2115 generated by GNU Autoconf 2.61. Invocation command line was
2116
2117 $ $0 $@
2118
2119 _ACEOF
2120 exec 5>>config.log
2121 {
2122 cat <<_ASUNAME
2123 ## --------- ##
2124 ## Platform. ##
2125 ## --------- ##
2126
2127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2132
2133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2135
2136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2143
2144 _ASUNAME
2145
2146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 for as_dir in $PATH
2148 do
2149 IFS=$as_save_IFS
2150 test -z "$as_dir" && as_dir=.
2151 echo "PATH: $as_dir"
2152 done
2153 IFS=$as_save_IFS
2154
2155 } >&5
2156
2157 cat >&5 <<_ACEOF
2158
2159
2160 ## ----------- ##
2161 ## Core tests. ##
2162 ## ----------- ##
2163
2164 _ACEOF
2165
2166
2167 # Keep a trace of the command line.
2168 # Strip out --no-create and --no-recursion so they do not pile up.
2169 # Strip out --silent because we don't want to record it for future runs.
2170 # Also quote any args containing shell meta-characters.
2171 # Make two passes to allow for proper duplicate-argument suppression.
2172 ac_configure_args=
2173 ac_configure_args0=
2174 ac_configure_args1=
2175 ac_must_keep_next=false
2176 for ac_pass in 1 2
2177 do
2178 for ac_arg
2179 do
2180 case $ac_arg in
2181 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2182 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2183 | -silent | --silent | --silen | --sile | --sil)
2184 continue ;;
2185 *\'*)
2186 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2187 esac
2188 case $ac_pass in
2189 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2190 2)
2191 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2192 if test $ac_must_keep_next = true; then
2193 ac_must_keep_next=false # Got value, back to normal.
2194 else
2195 case $ac_arg in
2196 *=* | --config-cache | -C | -disable-* | --disable-* \
2197 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2198 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2199 | -with-* | --with-* | -without-* | --without-* | --x)
2200 case "$ac_configure_args0 " in
2201 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2202 esac
2203 ;;
2204 -* ) ac_must_keep_next=true ;;
2205 esac
2206 fi
2207 ac_configure_args="$ac_configure_args '$ac_arg'"
2208 ;;
2209 esac
2210 done
2211 done
2212 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2213 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2214
2215 # When interrupted or exit'd, cleanup temporary files, and complete
2216 # config.log. We remove comments because anyway the quotes in there
2217 # would cause problems or look ugly.
2218 # WARNING: Use '\'' to represent an apostrophe within the trap.
2219 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2220 trap 'exit_status=$?
2221 # Save into config.log some information that might help in debugging.
2222 {
2223 echo
2224
2225 cat <<\_ASBOX
2226 ## ---------------- ##
2227 ## Cache variables. ##
2228 ## ---------------- ##
2229 _ASBOX
2230 echo
2231 # The following way of writing the cache mishandles newlines in values,
2232 (
2233 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2234 eval ac_val=\$$ac_var
2235 case $ac_val in #(
2236 *${as_nl}*)
2237 case $ac_var in #(
2238 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2239 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2240 esac
2241 case $ac_var in #(
2242 _ | IFS | as_nl) ;; #(
2243 *) $as_unset $ac_var ;;
2244 esac ;;
2245 esac
2246 done
2247 (set) 2>&1 |
2248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2249 *${as_nl}ac_space=\ *)
2250 sed -n \
2251 "s/'\''/'\''\\\\'\'''\''/g;
2252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2253 ;; #(
2254 *)
2255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2256 ;;
2257 esac |
2258 sort
2259 )
2260 echo
2261
2262 cat <<\_ASBOX
2263 ## ----------------- ##
2264 ## Output variables. ##
2265 ## ----------------- ##
2266 _ASBOX
2267 echo
2268 for ac_var in $ac_subst_vars
2269 do
2270 eval ac_val=\$$ac_var
2271 case $ac_val in
2272 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2273 esac
2274 echo "$ac_var='\''$ac_val'\''"
2275 done | sort
2276 echo
2277
2278 if test -n "$ac_subst_files"; then
2279 cat <<\_ASBOX
2280 ## ------------------- ##
2281 ## File substitutions. ##
2282 ## ------------------- ##
2283 _ASBOX
2284 echo
2285 for ac_var in $ac_subst_files
2286 do
2287 eval ac_val=\$$ac_var
2288 case $ac_val in
2289 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2290 esac
2291 echo "$ac_var='\''$ac_val'\''"
2292 done | sort
2293 echo
2294 fi
2295
2296 if test -s confdefs.h; then
2297 cat <<\_ASBOX
2298 ## ----------- ##
2299 ## confdefs.h. ##
2300 ## ----------- ##
2301 _ASBOX
2302 echo
2303 cat confdefs.h
2304 echo
2305 fi
2306 test "$ac_signal" != 0 &&
2307 echo "$as_me: caught signal $ac_signal"
2308 echo "$as_me: exit $exit_status"
2309 } >&5
2310 rm -f core *.core core.conftest.* &&
2311 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2312 exit $exit_status
2313 ' 0
2314 for ac_signal in 1 2 13 15; do
2315 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2316 done
2317 ac_signal=0
2318
2319 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2320 rm -f -r conftest* confdefs.h
2321
2322 # Predefined preprocessor variables.
2323
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_NAME "$PACKAGE_NAME"
2326 _ACEOF
2327
2328
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2331 _ACEOF
2332
2333
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2336 _ACEOF
2337
2338
2339 cat >>confdefs.h <<_ACEOF
2340 #define PACKAGE_STRING "$PACKAGE_STRING"
2341 _ACEOF
2342
2343
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2346 _ACEOF
2347
2348
2349 # Let the site file select an alternate cache file if it wants to.
2350 # Prefer explicitly selected file to automatically selected ones.
2351 if test -n "$CONFIG_SITE"; then
2352 set x "$CONFIG_SITE"
2353 elif test "x$prefix" != xNONE; then
2354 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2355 else
2356 set x "$ac_default_prefix/share/config.site" \
2357 "$ac_default_prefix/etc/config.site"
2358 fi
2359 shift
2360 for ac_site_file
2361 do
2362 if test -r "$ac_site_file"; then
2363 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2364 echo "$as_me: loading site script $ac_site_file" >&6;}
2365 sed 's/^/| /' "$ac_site_file" >&5
2366 . "$ac_site_file"
2367 fi
2368 done
2369
2370 if test -r "$cache_file"; then
2371 # Some versions of bash will fail to source /dev/null (special
2372 # files actually), so we avoid doing that.
2373 if test -f "$cache_file"; then
2374 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2375 echo "$as_me: loading cache $cache_file" >&6;}
2376 case $cache_file in
2377 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2378 *) . "./$cache_file";;
2379 esac
2380 fi
2381 else
2382 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2383 echo "$as_me: creating cache $cache_file" >&6;}
2384 >$cache_file
2385 fi
2386
2387 # Check that the precious variables saved in the cache have kept the same
2388 # value.
2389 ac_cache_corrupted=false
2390 for ac_var in $ac_precious_vars; do
2391 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2392 eval ac_new_set=\$ac_env_${ac_var}_set
2393 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2394 eval ac_new_val=\$ac_env_${ac_var}_value
2395 case $ac_old_set,$ac_new_set in
2396 set,)
2397 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2398 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2399 ac_cache_corrupted=: ;;
2400 ,set)
2401 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2402 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2403 ac_cache_corrupted=: ;;
2404 ,);;
2405 *)
2406 if test "x$ac_old_val" != "x$ac_new_val"; then
2407 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2408 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2409 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2410 echo "$as_me: former value: $ac_old_val" >&2;}
2411 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2412 echo "$as_me: current value: $ac_new_val" >&2;}
2413 ac_cache_corrupted=:
2414 fi;;
2415 esac
2416 # Pass precious variables to config.status.
2417 if test "$ac_new_set" = set; then
2418 case $ac_new_val in
2419 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2420 *) ac_arg=$ac_var=$ac_new_val ;;
2421 esac
2422 case " $ac_configure_args " in
2423 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2424 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2425 esac
2426 fi
2427 done
2428 if $ac_cache_corrupted; then
2429 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2430 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2431 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2432 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2433 { (exit 1); exit 1; }; }
2434 fi
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460 ac_ext=c
2461 ac_cpp='$CPP $CPPFLAGS'
2462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2465
2466
2467
2468
2469
2470 ac_aux_dir=
2471 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2472 if test -f "$ac_dir/install-sh"; then
2473 ac_aux_dir=$ac_dir
2474 ac_install_sh="$ac_aux_dir/install-sh -c"
2475 break
2476 elif test -f "$ac_dir/install.sh"; then
2477 ac_aux_dir=$ac_dir
2478 ac_install_sh="$ac_aux_dir/install.sh -c"
2479 break
2480 elif test -f "$ac_dir/shtool"; then
2481 ac_aux_dir=$ac_dir
2482 ac_install_sh="$ac_aux_dir/shtool install -c"
2483 break
2484 fi
2485 done
2486 if test -z "$ac_aux_dir"; then
2487 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2488 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2489 { (exit 1); exit 1; }; }
2490 fi
2491
2492 # These three variables are undocumented and unsupported,
2493 # and are intended to be withdrawn in a future Autoconf release.
2494 # They can cause serious problems if a builder's source tree is in a directory
2495 # whose full name contains unusual characters.
2496 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2497 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2498 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2499
2500
2501 # Make sure we can run config.sub.
2502 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2503 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2504 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2505 { (exit 1); exit 1; }; }
2506
2507 { echo "$as_me:$LINENO: checking build system type" >&5
2508 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2509 if test "${ac_cv_build+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 else
2512 ac_build_alias=$build_alias
2513 test "x$ac_build_alias" = x &&
2514 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2515 test "x$ac_build_alias" = x &&
2516 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2517 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2518 { (exit 1); exit 1; }; }
2519 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2520 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2521 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2523
2524 fi
2525 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2526 echo "${ECHO_T}$ac_cv_build" >&6; }
2527 case $ac_cv_build in
2528 *-*-*) ;;
2529 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2530 echo "$as_me: error: invalid value of canonical build" >&2;}
2531 { (exit 1); exit 1; }; };;
2532 esac
2533 build=$ac_cv_build
2534 ac_save_IFS=$IFS; IFS='-'
2535 set x $ac_cv_build
2536 shift
2537 build_cpu=$1
2538 build_vendor=$2
2539 shift; shift
2540 # Remember, the first character of IFS is used to create $*,
2541 # except with old shells:
2542 build_os=$*
2543 IFS=$ac_save_IFS
2544 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2545
2546
2547 { echo "$as_me:$LINENO: checking host system type" >&5
2548 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2549 if test "${ac_cv_host+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 else
2552 if test "x$host_alias" = x; then
2553 ac_cv_host=$ac_cv_build
2554 else
2555 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2556 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2557 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2558 { (exit 1); exit 1; }; }
2559 fi
2560
2561 fi
2562 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2563 echo "${ECHO_T}$ac_cv_host" >&6; }
2564 case $ac_cv_host in
2565 *-*-*) ;;
2566 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2567 echo "$as_me: error: invalid value of canonical host" >&2;}
2568 { (exit 1); exit 1; }; };;
2569 esac
2570 host=$ac_cv_host
2571 ac_save_IFS=$IFS; IFS='-'
2572 set x $ac_cv_host
2573 shift
2574 host_cpu=$1
2575 host_vendor=$2
2576 shift; shift
2577 # Remember, the first character of IFS is used to create $*,
2578 # except with old shells:
2579 host_os=$*
2580 IFS=$ac_save_IFS
2581 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2582
2583
2584
2585 if test "$cross_compiling" != "no"; then
2586 HOST_PREFIX="${host_alias}-"
2587 HOST_SUFFIX="-$host_alias"
2588 else
2589 HOST_PREFIX=
2590 HOST_SUFFIX=
2591 fi
2592
2593
2594 wx_major_version_number=2
2595 wx_minor_version_number=9
2596 wx_release_number=3
2597 wx_subrelease_number=0
2598
2599 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2600 WX_VERSION=$WX_RELEASE.$wx_release_number
2601 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2602
2603 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2604
2605
2606 wx_top_builddir="`pwd`"
2607
2608
2609
2610
2611 USE_UNIX=1
2612 USE_OS2=0
2613 USE_WIN32=0
2614 USE_DOS=0
2615 USE_BEOS=0
2616 USE_MAC=0
2617
2618 USE_AIX=
2619 USE_BSD= USE_DARWIN= USE_FREEBSD=
2620 USE_GNU= USE_HPUX=
2621 USE_LINUX=
2622 USE_NETBSD=
2623 USE_OPENBSD=
2624 USE_OSF= USE_SGI=
2625 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2626 USE_ULTRIX=
2627 USE_UNIXWARE=
2628
2629 USE_ALPHA=
2630
2631 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2632
2633 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2634
2635 DEFAULT_wxUSE_OLD_COCOA=0
2636 DEFAULT_wxUSE_GTK=0
2637 DEFAULT_wxUSE_OSX_CARBON=0
2638 DEFAULT_wxUSE_OSX_COCOA=0
2639 DEFAULT_wxUSE_OSX_IPHONE=0
2640 DEFAULT_wxUSE_MGL=0
2641 DEFAULT_wxUSE_MICROWIN=0
2642 DEFAULT_wxUSE_MOTIF=0
2643 DEFAULT_wxUSE_MSW=0
2644 DEFAULT_wxUSE_PM=0
2645 DEFAULT_wxUSE_X11=0
2646 DEFAULT_wxUSE_DFB=0
2647
2648 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2649 DEFAULT_DEFAULT_wxUSE_GTK=0
2650 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2651 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2652 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2653 DEFAULT_DEFAULT_wxUSE_MGL=0
2654 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2655 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2656 DEFAULT_DEFAULT_wxUSE_MSW=0
2657 DEFAULT_DEFAULT_wxUSE_PM=0
2658 DEFAULT_DEFAULT_wxUSE_X11=0
2659 DEFAULT_DEFAULT_wxUSE_DFB=0
2660
2661 PROGRAM_EXT=
2662 SAMPLES_RPATH_FLAG=
2663 DYLIB_RPATH_INSTALL=
2664 DYLIB_RPATH_POSTLINK=
2665
2666 DEFAULT_STD_FLAG=yes
2667
2668 case "${host}" in
2669 *-hp-hpux* )
2670 USE_HPUX=1
2671 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2672 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __HPUX__ 1
2675 _ACEOF
2676
2677
2678 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2679 ;;
2680 *-*-linux* )
2681 USE_LINUX=1
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __LINUX__ 1
2684 _ACEOF
2685
2686 TMP=`uname -m`
2687 if test "x$TMP" = "xalpha"; then
2688 USE_ALPHA=1
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __ALPHA__ 1
2691 _ACEOF
2692
2693 fi
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 ;;
2696 *-*-gnu* | *-*-k*bsd*-gnu )
2697 USE_GNU=1
2698 TMP=`uname -m`
2699 if test "x$TMP" = "xalpha"; then
2700 USE_ALPHA=1
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __ALPHA__ 1
2703 _ACEOF
2704
2705 fi
2706 DEFAULT_DEFAULT_wxUSE_GTK=1
2707 ;;
2708 *-*-irix5* | *-*-irix6* )
2709 USE_SGI=1
2710 USE_SVR4=1
2711 cat >>confdefs.h <<\_ACEOF
2712 #define __SGI__ 1
2713 _ACEOF
2714
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __SVR4__ 1
2717 _ACEOF
2718
2719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2720 ;;
2721 *-*-qnx*)
2722 USE_QNX=1
2723 cat >>confdefs.h <<\_ACEOF
2724 #define __QNX__ 1
2725 _ACEOF
2726
2727 DEFAULT_DEFAULT_wxUSE_X11=1
2728 ;;
2729 *-*-solaris2* )
2730 USE_SUN=1
2731 USE_SOLARIS=1
2732 USE_SVR4=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __SUN__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __SOLARIS__ 1
2739 _ACEOF
2740
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __SVR4__ 1
2743 _ACEOF
2744
2745 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2746 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2747 ;;
2748 *-*-sunos4* )
2749 USE_SUN=1
2750 USE_SUNOS=1
2751 USE_BSD=1
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __SUN__ 1
2754 _ACEOF
2755
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __SUNOS__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __BSD__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2765 ;;
2766 *-*-freebsd*)
2767 USE_BSD=1
2768 USE_FREEBSD=1
2769 cat >>confdefs.h <<\_ACEOF
2770 #define __FREEBSD__ 1
2771 _ACEOF
2772
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __BSD__ 1
2775 _ACEOF
2776
2777 DEFAULT_DEFAULT_wxUSE_GTK=1
2778 ;;
2779 *-*-openbsd*|*-*-mirbsd*)
2780 USE_BSD=1
2781 USE_OPENBSD=1
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __OPENBSD__ 1
2784 _ACEOF
2785
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __BSD__ 1
2788 _ACEOF
2789
2790 DEFAULT_DEFAULT_wxUSE_GTK=1
2791 ;;
2792 *-*-netbsd*)
2793 USE_BSD=1
2794 USE_NETBSD=1
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __NETBSD__ 1
2797 _ACEOF
2798
2799 cat >>confdefs.h <<\_ACEOF
2800 #define __BSD__ 1
2801 _ACEOF
2802
2803 DEFAULT_DEFAULT_wxUSE_GTK=1
2804 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2805
2806 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2807 ;;
2808 *-*-osf* )
2809 USE_ALPHA=1
2810 USE_OSF=1
2811 cat >>confdefs.h <<\_ACEOF
2812 #define __ALPHA__ 1
2813 _ACEOF
2814
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __OSF__ 1
2817 _ACEOF
2818
2819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2820 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2821 ;;
2822 *-*-dgux5* )
2823 USE_ALPHA=1
2824 USE_SVR4=1
2825 cat >>confdefs.h <<\_ACEOF
2826 #define __ALPHA__ 1
2827 _ACEOF
2828
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __SVR4__ 1
2831 _ACEOF
2832
2833 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2834 ;;
2835 *-*-sysv5* )
2836 USE_SYSV=1
2837 USE_SVR4=1
2838 cat >>confdefs.h <<\_ACEOF
2839 #define __SYSV__ 1
2840 _ACEOF
2841
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __SVR4__ 1
2844 _ACEOF
2845
2846 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2847 ;;
2848 *-*-aix* )
2849 USE_AIX=1
2850 USE_SYSV=1
2851 USE_SVR4=1
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __AIX__ 1
2854 _ACEOF
2855
2856 cat >>confdefs.h <<\_ACEOF
2857 #define __SYSV__ 1
2858 _ACEOF
2859
2860 cat >>confdefs.h <<\_ACEOF
2861 #define __SVR4__ 1
2862 _ACEOF
2863
2864 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2865 ;;
2866
2867 *-*-*UnixWare*)
2868 USE_SYSV=1
2869 USE_SVR4=1
2870 USE_UNIXWARE=1
2871 cat >>confdefs.h <<\_ACEOF
2872 #define __UNIXWARE__ 1
2873 _ACEOF
2874
2875 ;;
2876
2877 *-*-cygwin* | *-*-mingw32* )
2878 PROGRAM_EXT=".exe"
2879 DEFAULT_DEFAULT_wxUSE_MSW=1
2880 ;;
2881
2882 *-pc-msdosdjgpp )
2883 USE_UNIX=0
2884 USE_DOS=1
2885 cat >>confdefs.h <<\_ACEOF
2886 #define __DOS__ 1
2887 _ACEOF
2888
2889 PROGRAM_EXT=".exe"
2890 DEFAULT_DEFAULT_wxUSE_MGL=1
2891 ;;
2892
2893 *-pc-os2_emx | *-pc-os2-emx )
2894 cat >>confdefs.h <<\_ACEOF
2895 #define __EMX__ 1
2896 _ACEOF
2897
2898 USE_OS2=1
2899 cat >>confdefs.h <<\_ACEOF
2900 #define __OS2__ 1
2901 _ACEOF
2902
2903 PROGRAM_EXT=".exe"
2904 DEFAULT_DEFAULT_wxUSE_PM=1
2905 CXX=gcc
2906 LDFLAGS="$LDFLAGS -Zcrtdll"
2907 ac_executable_extensions=".exe"
2908 export ac_executable_extensions
2909 ac_save_IFS="$IFS"
2910 IFS='\\'
2911 ac_TEMP_PATH=
2912 for ac_dir in $PATH; do
2913 IFS=$ac_save_IFS
2914 if test -z "$ac_TEMP_PATH"; then
2915 ac_TEMP_PATH="$ac_dir"
2916 else
2917 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2918 fi
2919 done
2920 export PATH="$ac_TEMP_PATH"
2921 unset ac_TEMP_PATH
2922 DEFAULT_STD_FLAG=no
2923 ;;
2924
2925 arm-apple-darwin*)
2926 USE_BSD=1
2927 USE_DARWIN=1
2928 cat >>confdefs.h <<\_ACEOF
2929 #define __BSD__ 1
2930 _ACEOF
2931
2932 cat >>confdefs.h <<\_ACEOF
2933 #define __DARWIN__ 1
2934 _ACEOF
2935
2936 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2937 ;;
2938
2939 *-*-darwin* )
2940 USE_BSD=1
2941 USE_DARWIN=1
2942 cat >>confdefs.h <<\_ACEOF
2943 #define __BSD__ 1
2944 _ACEOF
2945
2946 cat >>confdefs.h <<\_ACEOF
2947 #define __DARWIN__ 1
2948 _ACEOF
2949
2950 cat >>confdefs.h <<\_ACEOF
2951 #define TARGET_CARBON 1
2952 _ACEOF
2953
2954 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2955 ;;
2956
2957 *-*-beos* )
2958 USE_BEOS=1
2959 cat >>confdefs.h <<\_ACEOF
2960 #define __BEOS__ 1
2961 _ACEOF
2962
2963 ;;
2964
2965 *)
2966 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2967 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2968 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2969 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2970
2971 DEFAULT_DEFAULT_wxUSE_X11=1
2972 DEFAULT_wxUSE_SHARED=no
2973 esac
2974
2975
2976
2977 DEFAULT_wxUSE_ALL_FEATURES=yes
2978
2979 DEFAULT_wxUSE_STD_CONTAINERS=no
2980 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2981 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2982
2983 DEFAULT_wxUSE_DMALLOC=no
2984 DEFAULT_wxUSE_LIBGNOMEVFS=no
2985 DEFAULT_wxUSE_LIBHILDON=no
2986 DEFAULT_wxUSE_LIBHILDON2=no
2987 DEFAULT_wxUSE_LIBMSPACK=no
2988 DEFAULT_wxUSE_LIBSDL=no
2989
2990 DEFAULT_wxUSE_ACCESSIBILITY=no
2991 DEFAULT_wxUSE_IPV6=no
2992 DEFAULT_wxUSE_GSTREAMER8=no
2993
2994 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
2995 DEFAULT_wxUSE_UNICODE_UTF8=auto
2996 DEFAULT_wxUSE_OPENGL=auto
2997 DEFAULT_wxUSE_MEDIACTRL=auto
2998 DEFAULT_wxUSE_COMPILER_TLS=auto
2999 DEFAULT_wxUSE_HOTKEY=auto
3000 DEFAULT_wxUSE_METAFILE=auto
3001
3002 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3003
3004 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3005 DEFAULT_wxUSE_MAC_ARCH=no
3006
3007 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3008
3009 DEFAULT_wxUSE_GTK2=yes
3010
3011 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3012
3013
3014
3015
3016
3017 enablestring=disable
3018 defaultval=
3019 if test -z "$defaultval"; then
3020 if test x"$enablestring" = xdisable; then
3021 defaultval=yes
3022 else
3023 defaultval=no
3024 fi
3025 fi
3026
3027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3028 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3029 # Check whether --enable-gui was given.
3030 if test "${enable_gui+set}" = set; then
3031 enableval=$enable_gui;
3032 if test "$enableval" = yes; then
3033 wx_cv_use_gui='wxUSE_GUI=yes'
3034 else
3035 wx_cv_use_gui='wxUSE_GUI=no'
3036 fi
3037
3038 else
3039
3040 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3041
3042 fi
3043
3044
3045 eval "$wx_cv_use_gui"
3046
3047 if test x"$enablestring" = xdisable; then
3048 if test $wxUSE_GUI = no; then
3049 result=yes
3050 else
3051 result=no
3052 fi
3053 else
3054 result=$wxUSE_GUI
3055 fi
3056
3057 { echo "$as_me:$LINENO: result: $result" >&5
3058 echo "${ECHO_T}$result" >&6; }
3059
3060
3061 enablestring=
3062 defaultval=
3063 if test -z "$defaultval"; then
3064 if test x"$enablestring" = xdisable; then
3065 defaultval=yes
3066 else
3067 defaultval=no
3068 fi
3069 fi
3070
3071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3072 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3073 # Check whether --enable-monolithic was given.
3074 if test "${enable_monolithic+set}" = set; then
3075 enableval=$enable_monolithic;
3076 if test "$enableval" = yes; then
3077 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3078 else
3079 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3080 fi
3081
3082 else
3083
3084 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3085
3086 fi
3087
3088
3089 eval "$wx_cv_use_monolithic"
3090
3091 if test x"$enablestring" = xdisable; then
3092 if test $wxUSE_MONOLITHIC = no; then
3093 result=yes
3094 else
3095 result=no
3096 fi
3097 else
3098 result=$wxUSE_MONOLITHIC
3099 fi
3100
3101 { echo "$as_me:$LINENO: result: $result" >&5
3102 echo "${ECHO_T}$result" >&6; }
3103
3104
3105 enablestring=
3106 defaultval=
3107 if test -z "$defaultval"; then
3108 if test x"$enablestring" = xdisable; then
3109 defaultval=yes
3110 else
3111 defaultval=no
3112 fi
3113 fi
3114
3115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3116 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3117 # Check whether --enable-plugins was given.
3118 if test "${enable_plugins+set}" = set; then
3119 enableval=$enable_plugins;
3120 if test "$enableval" = yes; then
3121 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3122 else
3123 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3124 fi
3125
3126 else
3127
3128 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3129
3130 fi
3131
3132
3133 eval "$wx_cv_use_plugins"
3134
3135 if test x"$enablestring" = xdisable; then
3136 if test $wxUSE_PLUGINS = no; then
3137 result=yes
3138 else
3139 result=no
3140 fi
3141 else
3142 result=$wxUSE_PLUGINS
3143 fi
3144
3145 { echo "$as_me:$LINENO: result: $result" >&5
3146 echo "${ECHO_T}$result" >&6; }
3147
3148
3149 withstring=without
3150 defaultval=$wxUSE_ALL_FEATURES
3151 if test -z "$defaultval"; then
3152 if test x"$withstring" = xwithout; then
3153 defaultval=yes
3154 else
3155 defaultval=no
3156 fi
3157 fi
3158 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3159 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3160
3161 # Check whether --with-subdirs was given.
3162 if test "${with_subdirs+set}" = set; then
3163 withval=$with_subdirs;
3164 if test "$withval" = yes; then
3165 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3166 else
3167 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3168 fi
3169
3170 else
3171
3172 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3173
3174 fi
3175
3176
3177 eval "$wx_cv_use_subdirs"
3178
3179 if test x"$withstring" = xwithout; then
3180 if test $wxWITH_SUBDIRS = yes; then
3181 result=no
3182 else
3183 result=yes
3184 fi
3185 else
3186 result=$wxWITH_SUBDIRS
3187 fi
3188
3189 { echo "$as_me:$LINENO: result: $result" >&5
3190 echo "${ECHO_T}$result" >&6; }
3191
3192
3193 # Check whether --with-flavour was given.
3194 if test "${with_flavour+set}" = set; then
3195 withval=$with_flavour; WX_FLAVOUR="$withval"
3196 fi
3197
3198
3199 enablestring=
3200 defaultval=
3201 if test -z "$defaultval"; then
3202 if test x"$enablestring" = xdisable; then
3203 defaultval=yes
3204 else
3205 defaultval=no
3206 fi
3207 fi
3208
3209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3210 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3211 # Check whether --enable-official_build was given.
3212 if test "${enable_official_build+set}" = set; then
3213 enableval=$enable_official_build;
3214 if test "$enableval" = yes; then
3215 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3216 else
3217 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3218 fi
3219
3220 else
3221
3222 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3223
3224 fi
3225
3226
3227 eval "$wx_cv_use_official_build"
3228
3229 if test x"$enablestring" = xdisable; then
3230 if test $wxUSE_OFFICIAL_BUILD = no; then
3231 result=yes
3232 else
3233 result=no
3234 fi
3235 else
3236 result=$wxUSE_OFFICIAL_BUILD
3237 fi
3238
3239 { echo "$as_me:$LINENO: result: $result" >&5
3240 echo "${ECHO_T}$result" >&6; }
3241
3242 # Check whether --enable-vendor was given.
3243 if test "${enable_vendor+set}" = set; then
3244 enableval=$enable_vendor; VENDOR="$enableval"
3245 fi
3246
3247 if test "x$VENDOR" = "x"; then
3248 VENDOR="custom"
3249 fi
3250
3251
3252 enablestring=disable
3253 defaultval=
3254 if test -z "$defaultval"; then
3255 if test x"$enablestring" = xdisable; then
3256 defaultval=yes
3257 else
3258 defaultval=no
3259 fi
3260 fi
3261
3262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3263 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3264 # Check whether --enable-all-features was given.
3265 if test "${enable_all_features+set}" = set; then
3266 enableval=$enable_all_features;
3267 if test "$enableval" = yes; then
3268 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3269 else
3270 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3271 fi
3272
3273 else
3274
3275 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3276
3277 fi
3278
3279
3280 eval "$wx_cv_use_all_features"
3281
3282 if test x"$enablestring" = xdisable; then
3283 if test $wxUSE_ALL_FEATURES = no; then
3284 result=yes
3285 else
3286 result=no
3287 fi
3288 else
3289 result=$wxUSE_ALL_FEATURES
3290 fi
3291
3292 { echo "$as_me:$LINENO: result: $result" >&5
3293 echo "${ECHO_T}$result" >&6; }
3294
3295
3296 if test "$wxUSE_ALL_FEATURES" = "no"; then
3297 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3298 DEFAULT_wxUSE_MEDIACTRL=no
3299 fi
3300
3301
3302 if test "$wxUSE_GUI" = "yes"; then
3303
3304
3305 enablestring=
3306 defaultval=
3307 if test -z "$defaultval"; then
3308 if test x"$enablestring" = xdisable; then
3309 defaultval=yes
3310 else
3311 defaultval=no
3312 fi
3313 fi
3314
3315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3316 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3317 # Check whether --enable-universal was given.
3318 if test "${enable_universal+set}" = set; then
3319 enableval=$enable_universal;
3320 if test "$enableval" = yes; then
3321 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3322 else
3323 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3324 fi
3325
3326 else
3327
3328 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3329
3330 fi
3331
3332
3333 eval "$wx_cv_use_universal"
3334
3335 if test x"$enablestring" = xdisable; then
3336 if test $wxUSE_UNIVERSAL = no; then
3337 result=yes
3338 else
3339 result=no
3340 fi
3341 else
3342 result=$wxUSE_UNIVERSAL
3343 fi
3344
3345 { echo "$as_me:$LINENO: result: $result" >&5
3346 echo "${ECHO_T}$result" >&6; }
3347
3348 if test "$wxUSE_UNIVERSAL" = "yes"; then
3349
3350 # Check whether --with-themes was given.
3351 if test "${with_themes+set}" = set; then
3352 withval=$with_themes; wxUNIV_THEMES="$withval"
3353 fi
3354
3355 fi
3356
3357
3358 # Check whether --with-gtk was given.
3359 if test "${with_gtk+set}" = set; then
3360 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3361 fi
3362
3363
3364 # Check whether --with-motif was given.
3365 if test "${with_motif+set}" = set; then
3366 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3367 fi
3368
3369
3370 # Check whether --with-osx_carbon was given.
3371 if test "${with_osx_carbon+set}" = set; then
3372 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3373 fi
3374
3375
3376 # Check whether --with-osx_cocoa was given.
3377 if test "${with_osx_cocoa+set}" = set; then
3378 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3379 fi
3380
3381
3382 # Check whether --with-osx_iphone was given.
3383 if test "${with_osx_iphone+set}" = set; then
3384 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3385 fi
3386
3387
3388 # Check whether --with-osx was given.
3389 if test "${with_osx+set}" = set; then
3390 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3391 fi
3392
3393
3394 # Check whether --with-carbon was given.
3395 if test "${with_carbon+set}" = set; then
3396 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3397 fi
3398
3399
3400 # Check whether --with-cocoa was given.
3401 if test "${with_cocoa+set}" = set; then
3402 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3403 fi
3404
3405
3406 # Check whether --with-iphone was given.
3407 if test "${with_iphone+set}" = set; then
3408 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3409 fi
3410
3411
3412 # Check whether --with-mac was given.
3413 if test "${with_mac+set}" = set; then
3414 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3415 fi
3416
3417
3418 # Check whether --with-old_cocoa was given.
3419 if test "${with_old_cocoa+set}" = set; then
3420 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3421 fi
3422
3423
3424 # Check whether --with-wine was given.
3425 if test "${with_wine+set}" = set; then
3426 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3427 fi
3428
3429
3430 # Check whether --with-msw was given.
3431 if test "${with_msw+set}" = set; then
3432 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3433 fi
3434
3435
3436 # Check whether --with-pm was given.
3437 if test "${with_pm+set}" = set; then
3438 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3439 fi
3440
3441
3442 # Check whether --with-mgl was given.
3443 if test "${with_mgl+set}" = set; then
3444 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3445 fi
3446
3447
3448 # Check whether --with-directfb was given.
3449 if test "${with_directfb+set}" = set; then
3450 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3451 fi
3452
3453
3454 # Check whether --with-microwin was given.
3455 if test "${with_microwin+set}" = set; then
3456 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3457 fi
3458
3459
3460 # Check whether --with-x11 was given.
3461 if test "${with_x11+set}" = set; then
3462 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3463 fi
3464
3465
3466 enablestring=
3467 defaultval=
3468 if test -z "$defaultval"; then
3469 if test x"$enablestring" = xdisable; then
3470 defaultval=yes
3471 else
3472 defaultval=no
3473 fi
3474 fi
3475
3476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3477 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3478 # Check whether --enable-nanox was given.
3479 if test "${enable_nanox+set}" = set; then
3480 enableval=$enable_nanox;
3481 if test "$enableval" = yes; then
3482 wx_cv_use_nanox='wxUSE_NANOX=yes'
3483 else
3484 wx_cv_use_nanox='wxUSE_NANOX=no'
3485 fi
3486
3487 else
3488
3489 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3490
3491 fi
3492
3493
3494 eval "$wx_cv_use_nanox"
3495
3496 if test x"$enablestring" = xdisable; then
3497 if test $wxUSE_NANOX = no; then
3498 result=yes
3499 else
3500 result=no
3501 fi
3502 else
3503 result=$wxUSE_NANOX
3504 fi
3505
3506 { echo "$as_me:$LINENO: result: $result" >&5
3507 echo "${ECHO_T}$result" >&6; }
3508
3509
3510 # Check whether --enable-gtk2 was given.
3511 if test "${enable_gtk2+set}" = set; then
3512 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3513 fi
3514
3515
3516 enablestring=
3517 defaultval=
3518 if test -z "$defaultval"; then
3519 if test x"$enablestring" = xdisable; then
3520 defaultval=yes
3521 else
3522 defaultval=no
3523 fi
3524 fi
3525
3526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3527 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3528 # Check whether --enable-gpe was given.
3529 if test "${enable_gpe+set}" = set; then
3530 enableval=$enable_gpe;
3531 if test "$enableval" = yes; then
3532 wx_cv_use_gpe='wxUSE_GPE=yes'
3533 else
3534 wx_cv_use_gpe='wxUSE_GPE=no'
3535 fi
3536
3537 else
3538
3539 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3540
3541 fi
3542
3543
3544 eval "$wx_cv_use_gpe"
3545
3546 if test x"$enablestring" = xdisable; then
3547 if test $wxUSE_GPE = no; then
3548 result=yes
3549 else
3550 result=no
3551 fi
3552 else
3553 result=$wxUSE_GPE
3554 fi
3555
3556 { echo "$as_me:$LINENO: result: $result" >&5
3557 echo "${ECHO_T}$result" >&6; }
3558
3559
3560
3561 { echo "$as_me:$LINENO: checking for toolkit" >&5
3562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3563
3564
3565
3566 # In Wine, we need to default to MSW, not GTK or MOTIF
3567 if test "$wxUSE_WINE" = "yes"; then
3568 DEFAULT_DEFAULT_wxUSE_GTK=0
3569 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3570 DEFAULT_DEFAULT_wxUSE_MSW=1
3571 wxUSE_SHARED=no
3572 CC=${CC:-winegcc}
3573 CXX=${CXX:-wineg++}
3574 fi
3575
3576
3577 if test "$wxUSE_GUI" = "yes"; then
3578
3579 if test "$USE_BEOS" = 1; then
3580 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3581 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3582 { (exit 1); exit 1; }; }
3583 fi
3584
3585 if test "$TOOLKIT_GIVEN" = 1; then
3586 for toolkit in $ALL_TOOLKITS; do
3587 var=wxUSE_$toolkit
3588 eval "value=\$${var}"
3589 if test "x$value" = "xno"; then
3590 eval "$var=0"
3591 elif test "x$value" != "x"; then
3592 eval "$var=1"
3593 fi
3594
3595 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3596 eval "wx${toolkit}_VERSION=$value"
3597 fi
3598 done
3599 else
3600 for toolkit in $ALL_TOOLKITS; do
3601 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3602 eval "wxUSE_$toolkit=\$${var}"
3603 done
3604 fi
3605
3606 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3607 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3608 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3609
3610 case "${host}" in
3611 *-pc-os2_emx | *-pc-os2-emx )
3612 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3613 esac
3614
3615 case "$NUM_TOOLKITS" in
3616 1)
3617 ;;
3618 0)
3619 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3620 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3621 { (exit 1); exit 1; }; }
3622 ;;
3623 *)
3624 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3625 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3626 { (exit 1); exit 1; }; }
3627 esac
3628
3629 # to be removed when --disable-gtk2 isn't needed
3630 if test "x$wxUSE_GTK2" = "xyes"; then
3631 wxGTK_VERSION=2
3632 wxUSE_GTK1=0
3633 elif test "x$wxUSE_GTK2" = "xno"; then
3634 wxGTK_VERSION=1
3635 wxUSE_GTK1=1
3636 fi
3637
3638 for toolkit in $ALL_TOOLKITS; do
3639 var=wxUSE_$toolkit
3640 eval "value=\$${var}"
3641 if test "$value" = 1; then
3642 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3643 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3644 echo "${ECHO_T}$toolkit_echo" >&6; }
3645 fi
3646 done
3647 else
3648 if test "x$host_alias" != "x"; then
3649 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3650 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3651 else
3652 { echo "$as_me:$LINENO: result: base only" >&5
3653 echo "${ECHO_T}base only" >&6; }
3654 fi
3655 fi
3656
3657 wxUSE_MAC=0
3658 if test "$wxUSE_OSX_CARBON" = 1 \
3659 -o "$wxUSE_OSX_COCOA" = 1 \
3660 -o "$wxUSE_OSX_IPHONE" = 1; then
3661 wxUSE_MAC=1
3662 fi
3663
3664
3665
3666 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3667 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3668
3669 # Check whether --with-libpng was given.
3670 if test "${with_libpng+set}" = set; then
3671 withval=$with_libpng;
3672 if test "$withval" = yes; then
3673 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3674 elif test "$withval" = no; then
3675 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3676 elif test "$withval" = sys; then
3677 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3678 elif test "$withval" = builtin; then
3679 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3680 else
3681 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3682 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3683 { (exit 1); exit 1; }; }
3684 fi
3685
3686 else
3687
3688 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3689
3690 fi
3691
3692
3693 eval "$wx_cv_use_libpng"
3694
3695 if test "$wxUSE_LIBPNG" = yes; then
3696 { echo "$as_me:$LINENO: result: yes" >&5
3697 echo "${ECHO_T}yes" >&6; }
3698 elif test "$wxUSE_LIBPNG" = no; then
3699 { echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6; }
3701 elif test "$wxUSE_LIBPNG" = sys; then
3702 { echo "$as_me:$LINENO: result: system version" >&5
3703 echo "${ECHO_T}system version" >&6; }
3704 elif test "$wxUSE_LIBPNG" = builtin; then
3705 { echo "$as_me:$LINENO: result: builtin version" >&5
3706 echo "${ECHO_T}builtin version" >&6; }
3707 else
3708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3709 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3710 { (exit 1); exit 1; }; }
3711 fi
3712
3713
3714 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3715 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3716
3717 # Check whether --with-libjpeg was given.
3718 if test "${with_libjpeg+set}" = set; then
3719 withval=$with_libjpeg;
3720 if test "$withval" = yes; then
3721 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3722 elif test "$withval" = no; then
3723 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3724 elif test "$withval" = sys; then
3725 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3726 elif test "$withval" = builtin; then
3727 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3728 else
3729 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3730 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3731 { (exit 1); exit 1; }; }
3732 fi
3733
3734 else
3735
3736 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3737
3738 fi
3739
3740
3741 eval "$wx_cv_use_libjpeg"
3742
3743 if test "$wxUSE_LIBJPEG" = yes; then
3744 { echo "$as_me:$LINENO: result: yes" >&5
3745 echo "${ECHO_T}yes" >&6; }
3746 elif test "$wxUSE_LIBJPEG" = no; then
3747 { echo "$as_me:$LINENO: result: no" >&5
3748 echo "${ECHO_T}no" >&6; }
3749 elif test "$wxUSE_LIBJPEG" = sys; then
3750 { echo "$as_me:$LINENO: result: system version" >&5
3751 echo "${ECHO_T}system version" >&6; }
3752 elif test "$wxUSE_LIBJPEG" = builtin; then
3753 { echo "$as_me:$LINENO: result: builtin version" >&5
3754 echo "${ECHO_T}builtin version" >&6; }
3755 else
3756 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3757 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3758 { (exit 1); exit 1; }; }
3759 fi
3760
3761
3762 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3763 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3764
3765 # Check whether --with-libtiff was given.
3766 if test "${with_libtiff+set}" = set; then
3767 withval=$with_libtiff;
3768 if test "$withval" = yes; then
3769 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3770 elif test "$withval" = no; then
3771 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3772 elif test "$withval" = sys; then
3773 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3774 elif test "$withval" = builtin; then
3775 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3776 else
3777 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3778 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3779 { (exit 1); exit 1; }; }
3780 fi
3781
3782 else
3783
3784 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3785
3786 fi
3787
3788
3789 eval "$wx_cv_use_libtiff"
3790
3791 if test "$wxUSE_LIBTIFF" = yes; then
3792 { echo "$as_me:$LINENO: result: yes" >&5
3793 echo "${ECHO_T}yes" >&6; }
3794 elif test "$wxUSE_LIBTIFF" = no; then
3795 { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3797 elif test "$wxUSE_LIBTIFF" = sys; then
3798 { echo "$as_me:$LINENO: result: system version" >&5
3799 echo "${ECHO_T}system version" >&6; }
3800 elif test "$wxUSE_LIBTIFF" = builtin; then
3801 { echo "$as_me:$LINENO: result: builtin version" >&5
3802 echo "${ECHO_T}builtin version" >&6; }
3803 else
3804 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3805 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3806 { (exit 1); exit 1; }; }
3807 fi
3808
3809
3810 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3811 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3812
3813 # Check whether --with-libxpm was given.
3814 if test "${with_libxpm+set}" = set; then
3815 withval=$with_libxpm;
3816 if test "$withval" = yes; then
3817 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3818 elif test "$withval" = no; then
3819 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3820 elif test "$withval" = sys; then
3821 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3822 elif test "$withval" = builtin; then
3823 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3824 else
3825 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3826 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3827 { (exit 1); exit 1; }; }
3828 fi
3829
3830 else
3831
3832 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3833
3834 fi
3835
3836
3837 eval "$wx_cv_use_libxpm"
3838
3839 if test "$wxUSE_LIBXPM" = yes; then
3840 { echo "$as_me:$LINENO: result: yes" >&5
3841 echo "${ECHO_T}yes" >&6; }
3842 elif test "$wxUSE_LIBXPM" = no; then
3843 { echo "$as_me:$LINENO: result: no" >&5
3844 echo "${ECHO_T}no" >&6; }
3845 elif test "$wxUSE_LIBXPM" = sys; then
3846 { echo "$as_me:$LINENO: result: system version" >&5
3847 echo "${ECHO_T}system version" >&6; }
3848 elif test "$wxUSE_LIBXPM" = builtin; then
3849 { echo "$as_me:$LINENO: result: builtin version" >&5
3850 echo "${ECHO_T}builtin version" >&6; }
3851 else
3852 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3853 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3854 { (exit 1); exit 1; }; }
3855 fi
3856
3857
3858 withstring=
3859 defaultval=$wxUSE_ALL_FEATURES
3860 if test -z "$defaultval"; then
3861 if test x"$withstring" = xwithout; then
3862 defaultval=yes
3863 else
3864 defaultval=no
3865 fi
3866 fi
3867 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3868 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3869
3870 # Check whether --with-libiconv was given.
3871 if test "${with_libiconv+set}" = set; then
3872 withval=$with_libiconv;
3873 if test "$withval" = yes; then
3874 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3875 else
3876 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3877 fi
3878
3879 else
3880
3881 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3882
3883 fi
3884
3885
3886 eval "$wx_cv_use_libiconv"
3887
3888 if test x"$withstring" = xwithout; then
3889 if test $wxUSE_LIBICONV = yes; then
3890 result=no
3891 else
3892 result=yes
3893 fi
3894 else
3895 result=$wxUSE_LIBICONV
3896 fi
3897
3898 { echo "$as_me:$LINENO: result: $result" >&5
3899 echo "${ECHO_T}$result" >&6; }
3900
3901
3902 withstring=
3903 defaultval=$wxUSE_ALL_FEATURES
3904 if test -z "$defaultval"; then
3905 if test x"$withstring" = xwithout; then
3906 defaultval=yes
3907 else
3908 defaultval=no
3909 fi
3910 fi
3911 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3912 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3913
3914 # Check whether --with-libmspack was given.
3915 if test "${with_libmspack+set}" = set; then
3916 withval=$with_libmspack;
3917 if test "$withval" = yes; then
3918 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3919 else
3920 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3921 fi
3922
3923 else
3924
3925 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3926
3927 fi
3928
3929
3930 eval "$wx_cv_use_libmspack"
3931
3932 if test x"$withstring" = xwithout; then
3933 if test $wxUSE_LIBMSPACK = yes; then
3934 result=no
3935 else
3936 result=yes
3937 fi
3938 else
3939 result=$wxUSE_LIBMSPACK
3940 fi
3941
3942 { echo "$as_me:$LINENO: result: $result" >&5
3943 echo "${ECHO_T}$result" >&6; }
3944
3945
3946 withstring=without
3947 defaultval=$wxUSE_ALL_FEATURES
3948 if test -z "$defaultval"; then
3949 if test x"$withstring" = xwithout; then
3950 defaultval=yes
3951 else
3952 defaultval=no
3953 fi
3954 fi
3955 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3956 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3957
3958 # Check whether --with-gtkprint was given.
3959 if test "${with_gtkprint+set}" = set; then
3960 withval=$with_gtkprint;
3961 if test "$withval" = yes; then
3962 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3963 else
3964 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3965 fi
3966
3967 else
3968
3969 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3970
3971 fi
3972
3973
3974 eval "$wx_cv_use_gtkprint"
3975
3976 if test x"$withstring" = xwithout; then
3977 if test $wxUSE_GTKPRINT = yes; then
3978 result=no
3979 else
3980 result=yes
3981 fi
3982 else
3983 result=$wxUSE_GTKPRINT
3984 fi
3985
3986 { echo "$as_me:$LINENO: result: $result" >&5
3987 echo "${ECHO_T}$result" >&6; }
3988
3989
3990 withstring=without
3991 defaultval=$wxUSE_ALL_FEATURES
3992 if test -z "$defaultval"; then
3993 if test x"$withstring" = xwithout; then
3994 defaultval=yes
3995 else
3996 defaultval=no
3997 fi
3998 fi
3999 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4000 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4001
4002 # Check whether --with-gnomeprint was given.
4003 if test "${with_gnomeprint+set}" = set; then
4004 withval=$with_gnomeprint;
4005 if test "$withval" = yes; then
4006 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4007 else
4008 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4009 fi
4010
4011 else
4012
4013 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4014
4015 fi
4016
4017
4018 eval "$wx_cv_use_gnomeprint"
4019
4020 if test x"$withstring" = xwithout; then
4021 if test $wxUSE_LIBGNOMEPRINT = yes; then
4022 result=no
4023 else
4024 result=yes
4025 fi
4026 else
4027 result=$wxUSE_LIBGNOMEPRINT
4028 fi
4029
4030 { echo "$as_me:$LINENO: result: $result" >&5
4031 echo "${ECHO_T}$result" >&6; }
4032
4033
4034 withstring=
4035 defaultval=$wxUSE_ALL_FEATURES
4036 if test -z "$defaultval"; then
4037 if test x"$withstring" = xwithout; then
4038 defaultval=yes
4039 else
4040 defaultval=no
4041 fi
4042 fi
4043 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4044 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4045
4046 # Check whether --with-gnomevfs was given.
4047 if test "${with_gnomevfs+set}" = set; then
4048 withval=$with_gnomevfs;
4049 if test "$withval" = yes; then
4050 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4051 else
4052 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4053 fi
4054
4055 else
4056
4057 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4058
4059 fi
4060
4061
4062 eval "$wx_cv_use_gnomevfs"
4063
4064 if test x"$withstring" = xwithout; then
4065 if test $wxUSE_LIBGNOMEVFS = yes; then
4066 result=no
4067 else
4068 result=yes
4069 fi
4070 else
4071 result=$wxUSE_LIBGNOMEVFS
4072 fi
4073
4074 { echo "$as_me:$LINENO: result: $result" >&5
4075 echo "${ECHO_T}$result" >&6; }
4076
4077
4078 withstring=
4079 defaultval=$wxUSE_ALL_FEATURES
4080 if test -z "$defaultval"; then
4081 if test x"$withstring" = xwithout; then
4082 defaultval=yes
4083 else
4084 defaultval=no
4085 fi
4086 fi
4087 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4088 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4089
4090 # Check whether --with-hildon was given.
4091 if test "${with_hildon+set}" = set; then
4092 withval=$with_hildon;
4093 if test "$withval" = yes; then
4094 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4095 else
4096 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4097 fi
4098
4099 else
4100
4101 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4102
4103 fi
4104
4105
4106 eval "$wx_cv_use_hildon"
4107
4108 if test x"$withstring" = xwithout; then
4109 if test $wxUSE_LIBHILDON = yes; then
4110 result=no
4111 else
4112 result=yes
4113 fi
4114 else
4115 result=$wxUSE_LIBHILDON
4116 fi
4117
4118 { echo "$as_me:$LINENO: result: $result" >&5
4119 echo "${ECHO_T}$result" >&6; }
4120
4121
4122 withstring=
4123 defaultval=$wxUSE_ALL_FEATURES
4124 if test -z "$defaultval"; then
4125 if test x"$withstring" = xwithout; then
4126 defaultval=yes
4127 else
4128 defaultval=no
4129 fi
4130 fi
4131 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4132 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4133
4134 # Check whether --with-opengl was given.
4135 if test "${with_opengl+set}" = set; then
4136 withval=$with_opengl;
4137 if test "$withval" = yes; then
4138 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4139 else
4140 wx_cv_use_opengl='wxUSE_OPENGL=no'
4141 fi
4142
4143 else
4144
4145 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4146
4147 fi
4148
4149
4150 eval "$wx_cv_use_opengl"
4151
4152 if test x"$withstring" = xwithout; then
4153 if test $wxUSE_OPENGL = yes; then
4154 result=no
4155 else
4156 result=yes
4157 fi
4158 else
4159 result=$wxUSE_OPENGL
4160 fi
4161
4162 { echo "$as_me:$LINENO: result: $result" >&5
4163 echo "${ECHO_T}$result" >&6; }
4164
4165
4166 fi
4167
4168
4169 withstring=
4170 defaultval=$wxUSE_ALL_FEATURES
4171 if test -z "$defaultval"; then
4172 if test x"$withstring" = xwithout; then
4173 defaultval=yes
4174 else
4175 defaultval=no
4176 fi
4177 fi
4178 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4179 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4180
4181 # Check whether --with-dmalloc was given.
4182 if test "${with_dmalloc+set}" = set; then
4183 withval=$with_dmalloc;
4184 if test "$withval" = yes; then
4185 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4186 else
4187 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4188 fi
4189
4190 else
4191
4192 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4193
4194 fi
4195
4196
4197 eval "$wx_cv_use_dmalloc"
4198
4199 if test x"$withstring" = xwithout; then
4200 if test $wxUSE_DMALLOC = yes; then
4201 result=no
4202 else
4203 result=yes
4204 fi
4205 else
4206 result=$wxUSE_DMALLOC
4207 fi
4208
4209 { echo "$as_me:$LINENO: result: $result" >&5
4210 echo "${ECHO_T}$result" >&6; }
4211
4212
4213 withstring=
4214 defaultval=$wxUSE_ALL_FEATURES
4215 if test -z "$defaultval"; then
4216 if test x"$withstring" = xwithout; then
4217 defaultval=yes
4218 else
4219 defaultval=no
4220 fi
4221 fi
4222 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4223 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4224
4225 # Check whether --with-sdl was given.
4226 if test "${with_sdl+set}" = set; then
4227 withval=$with_sdl;
4228 if test "$withval" = yes; then
4229 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4230 else
4231 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4232 fi
4233
4234 else
4235
4236 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4237
4238 fi
4239
4240
4241 eval "$wx_cv_use_sdl"
4242
4243 if test x"$withstring" = xwithout; then
4244 if test $wxUSE_LIBSDL = yes; then
4245 result=no
4246 else
4247 result=yes
4248 fi
4249 else
4250 result=$wxUSE_LIBSDL
4251 fi
4252
4253 { echo "$as_me:$LINENO: result: $result" >&5
4254 echo "${ECHO_T}$result" >&6; }
4255
4256
4257 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4258 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4259
4260 # Check whether --with-regex was given.
4261 if test "${with_regex+set}" = set; then
4262 withval=$with_regex;
4263 if test "$withval" = yes; then
4264 wx_cv_use_regex='wxUSE_REGEX=yes'
4265 elif test "$withval" = no; then
4266 wx_cv_use_regex='wxUSE_REGEX=no'
4267 elif test "$withval" = sys; then
4268 wx_cv_use_regex='wxUSE_REGEX=sys'
4269 elif test "$withval" = builtin; then
4270 wx_cv_use_regex='wxUSE_REGEX=builtin'
4271 else
4272 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4273 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4274 { (exit 1); exit 1; }; }
4275 fi
4276
4277 else
4278
4279 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4280
4281 fi
4282
4283
4284 eval "$wx_cv_use_regex"
4285
4286 if test "$wxUSE_REGEX" = yes; then
4287 { echo "$as_me:$LINENO: result: yes" >&5
4288 echo "${ECHO_T}yes" >&6; }
4289 elif test "$wxUSE_REGEX" = no; then
4290 { echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6; }
4292 elif test "$wxUSE_REGEX" = sys; then
4293 { echo "$as_me:$LINENO: result: system version" >&5
4294 echo "${ECHO_T}system version" >&6; }
4295 elif test "$wxUSE_REGEX" = builtin; then
4296 { echo "$as_me:$LINENO: result: builtin version" >&5
4297 echo "${ECHO_T}builtin version" >&6; }
4298 else
4299 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4300 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4301 { (exit 1); exit 1; }; }
4302 fi
4303
4304
4305 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4306 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4307
4308 # Check whether --with-zlib was given.
4309 if test "${with_zlib+set}" = set; then
4310 withval=$with_zlib;
4311 if test "$withval" = yes; then
4312 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4313 elif test "$withval" = no; then
4314 wx_cv_use_zlib='wxUSE_ZLIB=no'
4315 elif test "$withval" = sys; then
4316 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4317 elif test "$withval" = builtin; then
4318 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4319 else
4320 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4321 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4322 { (exit 1); exit 1; }; }
4323 fi
4324
4325 else
4326
4327 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4328
4329 fi
4330
4331
4332 eval "$wx_cv_use_zlib"
4333
4334 if test "$wxUSE_ZLIB" = yes; then
4335 { echo "$as_me:$LINENO: result: yes" >&5
4336 echo "${ECHO_T}yes" >&6; }
4337 elif test "$wxUSE_ZLIB" = no; then
4338 { echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6; }
4340 elif test "$wxUSE_ZLIB" = sys; then
4341 { echo "$as_me:$LINENO: result: system version" >&5
4342 echo "${ECHO_T}system version" >&6; }
4343 elif test "$wxUSE_ZLIB" = builtin; then
4344 { echo "$as_me:$LINENO: result: builtin version" >&5
4345 echo "${ECHO_T}builtin version" >&6; }
4346 else
4347 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4348 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4349 { (exit 1); exit 1; }; }
4350 fi
4351
4352
4353 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4354 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4355
4356 # Check whether --with-expat was given.
4357 if test "${with_expat+set}" = set; then
4358 withval=$with_expat;
4359 if test "$withval" = yes; then
4360 wx_cv_use_expat='wxUSE_EXPAT=yes'
4361 elif test "$withval" = no; then
4362 wx_cv_use_expat='wxUSE_EXPAT=no'
4363 elif test "$withval" = sys; then
4364 wx_cv_use_expat='wxUSE_EXPAT=sys'
4365 elif test "$withval" = builtin; then
4366 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4367 else
4368 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4369 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4370 { (exit 1); exit 1; }; }
4371 fi
4372
4373 else
4374
4375 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4376
4377 fi
4378
4379
4380 eval "$wx_cv_use_expat"
4381
4382 if test "$wxUSE_EXPAT" = yes; then
4383 { echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6; }
4385 elif test "$wxUSE_EXPAT" = no; then
4386 { echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6; }
4388 elif test "$wxUSE_EXPAT" = sys; then
4389 { echo "$as_me:$LINENO: result: system version" >&5
4390 echo "${ECHO_T}system version" >&6; }
4391 elif test "$wxUSE_EXPAT" = builtin; then
4392 { echo "$as_me:$LINENO: result: builtin version" >&5
4393 echo "${ECHO_T}builtin version" >&6; }
4394 else
4395 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4396 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4397 { (exit 1); exit 1; }; }
4398 fi
4399
4400
4401 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4402 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4403
4404 # Check whether --with-macosx-sdk was given.
4405 if test "${with_macosx_sdk+set}" = set; then
4406 withval=$with_macosx_sdk;
4407 wxUSE_MACOSX_SDK=$withval
4408 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4409
4410 fi
4411
4412 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4413 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4414
4415 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4416 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4417
4418 # Check whether --with-macosx-version-min was given.
4419 if test "${with_macosx_version_min+set}" = set; then
4420 withval=$with_macosx_version_min;
4421 wxUSE_MACOSX_VERSION_MIN=$withval
4422 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4423
4424 fi
4425
4426 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4427 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4428
4429
4430 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4431 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4432 # Check whether --enable-debug was given.
4433 if test "${enable_debug+set}" = set; then
4434 enableval=$enable_debug;
4435 if test "$enableval" = yes; then
4436 wxUSE_DEBUG=yes
4437 elif test "$enableval" = no; then
4438 wxUSE_DEBUG=no
4439 elif test "$enableval" = max; then
4440 wxUSE_DEBUG=yes
4441 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4442 else
4443 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4444 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4445 { (exit 1); exit 1; }; }
4446 fi
4447
4448 else
4449 wxUSE_DEBUG=default
4450
4451 fi
4452
4453
4454 case "$wxUSE_DEBUG" in
4455 yes)
4456 DEFAULT_wxUSE_DEBUG_FLAG=yes
4457 DEFAULT_wxUSE_DEBUG_INFO=yes
4458
4459 DEFAULT_wxUSE_OPTIMISE=no
4460 ;;
4461
4462 no)
4463 DEFAULT_wxUSE_DEBUG_FLAG=no
4464 DEFAULT_wxUSE_DEBUG_INFO=no
4465 ;;
4466
4467 default)
4468 DEFAULT_wxUSE_DEBUG_FLAG=yes
4469 DEFAULT_wxUSE_DEBUG_INFO=no
4470 ;;
4471 esac
4472
4473
4474 enablestring=disable
4475 defaultval=
4476 if test -z "$defaultval"; then
4477 if test x"$enablestring" = xdisable; then
4478 defaultval=yes
4479 else
4480 defaultval=no
4481 fi
4482 fi
4483
4484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4485 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4486 # Check whether --enable-debug_flag was given.
4487 if test "${enable_debug_flag+set}" = set; then
4488 enableval=$enable_debug_flag;
4489 if test "$enableval" = yes; then
4490 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4491 else
4492 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4493 fi
4494
4495 else
4496
4497 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4498
4499 fi
4500
4501
4502 eval "$wx_cv_use_debug_flag"
4503
4504 if test x"$enablestring" = xdisable; then
4505 if test $wxUSE_DEBUG_FLAG = no; then
4506 result=yes
4507 else
4508 result=no
4509 fi
4510 else
4511 result=$wxUSE_DEBUG_FLAG
4512 fi
4513
4514 { echo "$as_me:$LINENO: result: $result" >&5
4515 echo "${ECHO_T}$result" >&6; }
4516
4517
4518 enablestring=
4519 defaultval=
4520 if test -z "$defaultval"; then
4521 if test x"$enablestring" = xdisable; then
4522 defaultval=yes
4523 else
4524 defaultval=no
4525 fi
4526 fi
4527
4528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4530 # Check whether --enable-debug_info was given.
4531 if test "${enable_debug_info+set}" = set; then
4532 enableval=$enable_debug_info;
4533 if test "$enableval" = yes; then
4534 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4535 else
4536 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4537 fi
4538
4539 else
4540
4541 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4542
4543 fi
4544
4545
4546 eval "$wx_cv_use_debug_info"
4547
4548 if test x"$enablestring" = xdisable; then
4549 if test $wxUSE_DEBUG_INFO = no; then
4550 result=yes
4551 else
4552 result=no
4553 fi
4554 else
4555 result=$wxUSE_DEBUG_INFO
4556 fi
4557
4558 { echo "$as_me:$LINENO: result: $result" >&5
4559 echo "${ECHO_T}$result" >&6; }
4560
4561
4562
4563
4564 enablestring=
4565 defaultval=
4566 if test -z "$defaultval"; then
4567 if test x"$enablestring" = xdisable; then
4568 defaultval=yes
4569 else
4570 defaultval=no
4571 fi
4572 fi
4573
4574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4575 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4576 # Check whether --enable-debug_gdb was given.
4577 if test "${enable_debug_gdb+set}" = set; then
4578 enableval=$enable_debug_gdb;
4579 if test "$enableval" = yes; then
4580 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4581 else
4582 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4583 fi
4584
4585 else
4586
4587 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4588
4589 fi
4590
4591
4592 eval "$wx_cv_use_debug_gdb"
4593
4594 if test x"$enablestring" = xdisable; then
4595 if test $wxUSE_DEBUG_GDB = no; then
4596 result=yes
4597 else
4598 result=no
4599 fi
4600 else
4601 result=$wxUSE_DEBUG_GDB
4602 fi
4603
4604 { echo "$as_me:$LINENO: result: $result" >&5
4605 echo "${ECHO_T}$result" >&6; }
4606
4607
4608 enablestring=
4609 defaultval=
4610 if test -z "$defaultval"; then
4611 if test x"$enablestring" = xdisable; then
4612 defaultval=yes
4613 else
4614 defaultval=no
4615 fi
4616 fi
4617
4618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4620 # Check whether --enable-debug_cntxt was given.
4621 if test "${enable_debug_cntxt+set}" = set; then
4622 enableval=$enable_debug_cntxt;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4625 else
4626 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4627 fi
4628
4629 else
4630
4631 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4632
4633 fi
4634
4635
4636 eval "$wx_cv_use_debug_cntxt"
4637
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_DEBUG_CONTEXT = no; then
4640 result=yes
4641 else
4642 result=no
4643 fi
4644 else
4645 result=$wxUSE_DEBUG_CONTEXT
4646 fi
4647
4648 { echo "$as_me:$LINENO: result: $result" >&5
4649 echo "${ECHO_T}$result" >&6; }
4650
4651
4652 enablestring=
4653 defaultval=
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4656 defaultval=yes
4657 else
4658 defaultval=no
4659 fi
4660 fi
4661
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4664 # Check whether --enable-mem_tracing was given.
4665 if test "${enable_mem_tracing+set}" = set; then
4666 enableval=$enable_mem_tracing;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4669 else
4670 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4671 fi
4672
4673 else
4674
4675 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_mem_tracing"
4681
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_MEM_TRACING = no; then
4684 result=yes
4685 else
4686 result=no
4687 fi
4688 else
4689 result=$wxUSE_MEM_TRACING
4690 fi
4691
4692 { echo "$as_me:$LINENO: result: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4694
4695
4696
4697
4698 enablestring=disable
4699 defaultval=
4700 if test -z "$defaultval"; then
4701 if test x"$enablestring" = xdisable; then
4702 defaultval=yes
4703 else
4704 defaultval=no
4705 fi
4706 fi
4707
4708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4709 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4710 # Check whether --enable-shared was given.
4711 if test "${enable_shared+set}" = set; then
4712 enableval=$enable_shared;
4713 if test "$enableval" = yes; then
4714 wx_cv_use_shared='wxUSE_SHARED=yes'
4715 else
4716 wx_cv_use_shared='wxUSE_SHARED=no'
4717 fi
4718
4719 else
4720
4721 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4722
4723 fi
4724
4725
4726 eval "$wx_cv_use_shared"
4727
4728 if test x"$enablestring" = xdisable; then
4729 if test $wxUSE_SHARED = no; then
4730 result=yes
4731 else
4732 result=no
4733 fi
4734 else
4735 result=$wxUSE_SHARED
4736 fi
4737
4738 { echo "$as_me:$LINENO: result: $result" >&5
4739 echo "${ECHO_T}$result" >&6; }
4740
4741
4742 enablestring=
4743 defaultval=
4744 if test -z "$defaultval"; then
4745 if test x"$enablestring" = xdisable; then
4746 defaultval=yes
4747 else
4748 defaultval=no
4749 fi
4750 fi
4751
4752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4754 # Check whether --enable-stl was given.
4755 if test "${enable_stl+set}" = set; then
4756 enableval=$enable_stl;
4757 if test "$enableval" = yes; then
4758 wx_cv_use_stl='wxUSE_STL=yes'
4759 else
4760 wx_cv_use_stl='wxUSE_STL=no'
4761 fi
4762
4763 else
4764
4765 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4766
4767 fi
4768
4769
4770 eval "$wx_cv_use_stl"
4771
4772 if test x"$enablestring" = xdisable; then
4773 if test $wxUSE_STL = no; then
4774 result=yes
4775 else
4776 result=no
4777 fi
4778 else
4779 result=$wxUSE_STL
4780 fi
4781
4782 { echo "$as_me:$LINENO: result: $result" >&5
4783 echo "${ECHO_T}$result" >&6; }
4784
4785 if test "$wxUSE_STL" = "yes"; then
4786 DEFAULT_wxUSE_STD_CONTAINERS=yes
4787 DEFAULT_wxUSE_STD_IOSTREAM=yes
4788 DEFAULT_wxUSE_STD_STRING=yes
4789 fi
4790
4791 enablestring=
4792 defaultval=
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4795 defaultval=yes
4796 else
4797 defaultval=no
4798 fi
4799 fi
4800
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4803 # Check whether --enable-std_containers was given.
4804 if test "${enable_std_containers+set}" = set; then
4805 enableval=$enable_std_containers;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4808 else
4809 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4810 fi
4811
4812 else
4813
4814 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4815
4816 fi
4817
4818
4819 eval "$wx_cv_use_std_containers"
4820
4821 if test x"$enablestring" = xdisable; then
4822 if test $wxUSE_STD_CONTAINERS = no; then
4823 result=yes
4824 else
4825 result=no
4826 fi
4827 else
4828 result=$wxUSE_STD_CONTAINERS
4829 fi
4830
4831 { echo "$as_me:$LINENO: result: $result" >&5
4832 echo "${ECHO_T}$result" >&6; }
4833
4834
4835 enablestring=
4836 defaultval=
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4839 defaultval=yes
4840 else
4841 defaultval=no
4842 fi
4843 fi
4844
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4847 # Check whether --enable-std_iostreams was given.
4848 if test "${enable_std_iostreams+set}" = set; then
4849 enableval=$enable_std_iostreams;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4852 else
4853 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4854 fi
4855
4856 else
4857
4858 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4859
4860 fi
4861
4862
4863 eval "$wx_cv_use_std_iostreams"
4864
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_STD_IOSTREAM = no; then
4867 result=yes
4868 else
4869 result=no
4870 fi
4871 else
4872 result=$wxUSE_STD_IOSTREAM
4873 fi
4874
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4877
4878
4879 enablestring=
4880 defaultval=
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4883 defaultval=yes
4884 else
4885 defaultval=no
4886 fi
4887 fi
4888
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4891 # Check whether --enable-std_string was given.
4892 if test "${enable_std_string+set}" = set; then
4893 enableval=$enable_std_string;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4896 else
4897 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4898 fi
4899
4900 else
4901
4902 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4903
4904 fi
4905
4906
4907 eval "$wx_cv_use_std_string"
4908
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_STD_STRING = no; then
4911 result=yes
4912 else
4913 result=no
4914 fi
4915 else
4916 result=$wxUSE_STD_STRING
4917 fi
4918
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4921
4922
4923 enablestring=
4924 defaultval=
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4927 defaultval=yes
4928 else
4929 defaultval=no
4930 fi
4931 fi
4932
4933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4934 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4935 # Check whether --enable-std_string_conv_in_wxstring was given.
4936 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4937 enableval=$enable_std_string_conv_in_wxstring;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4940 else
4941 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4942 fi
4943
4944 else
4945
4946 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4947
4948 fi
4949
4950
4951 eval "$wx_cv_use_std_string_conv_in_wxstring"
4952
4953 if test x"$enablestring" = xdisable; then
4954 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
4955 result=yes
4956 else
4957 result=no
4958 fi
4959 else
4960 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4961 fi
4962
4963 { echo "$as_me:$LINENO: result: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4965
4966
4967 enablestring=disable
4968 defaultval=
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4971 defaultval=yes
4972 else
4973 defaultval=no
4974 fi
4975 fi
4976
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4979 # Check whether --enable-unicode was given.
4980 if test "${enable_unicode+set}" = set; then
4981 enableval=$enable_unicode;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4984 else
4985 wx_cv_use_unicode='wxUSE_UNICODE=no'
4986 fi
4987
4988 else
4989
4990 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4991
4992 fi
4993
4994
4995 eval "$wx_cv_use_unicode"
4996
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_UNICODE = no; then
4999 result=yes
5000 else
5001 result=no
5002 fi
5003 else
5004 result=$wxUSE_UNICODE
5005 fi
5006
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5009
5010
5011 enablestring=
5012 defaultval=
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5015 defaultval=yes
5016 else
5017 defaultval=no
5018 fi
5019 fi
5020
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5023 # Check whether --enable-mslu was given.
5024 if test "${enable_mslu+set}" = set; then
5025 enableval=$enable_mslu;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5028 else
5029 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5030 fi
5031
5032 else
5033
5034 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5035
5036 fi
5037
5038
5039 eval "$wx_cv_use_mslu"
5040
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_UNICODE_MSLU = no; then
5043 result=yes
5044 else
5045 result=no
5046 fi
5047 else
5048 result=$wxUSE_UNICODE_MSLU
5049 fi
5050
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5053
5054
5055 enablestring=
5056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5057 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5058 # Check whether --enable-utf8 was given.
5059 if test "${enable_utf8+set}" = set; then
5060 enableval=$enable_utf8;
5061 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5062
5063 else
5064
5065 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5066
5067 fi
5068
5069
5070 eval "$wx_cv_use_utf8"
5071
5072 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5073 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5074
5075
5076 enablestring=
5077 defaultval=
5078 if test -z "$defaultval"; then
5079 if test x"$enablestring" = xdisable; then
5080 defaultval=yes
5081 else
5082 defaultval=no
5083 fi
5084 fi
5085
5086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5087 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5088 # Check whether --enable-utf8only was given.
5089 if test "${enable_utf8only+set}" = set; then
5090 enableval=$enable_utf8only;
5091 if test "$enableval" = yes; then
5092 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5093 else
5094 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5095 fi
5096
5097 else
5098
5099 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5100
5101 fi
5102
5103
5104 eval "$wx_cv_use_utf8only"
5105
5106 if test x"$enablestring" = xdisable; then
5107 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5108 result=yes
5109 else
5110 result=no
5111 fi
5112 else
5113 result=$wxUSE_UNICODE_UTF8_LOCALE
5114 fi
5115
5116 { echo "$as_me:$LINENO: result: $result" >&5
5117 echo "${ECHO_T}$result" >&6; }
5118
5119
5120 enablestring=
5121 defaultval=
5122 if test -z "$defaultval"; then
5123 if test x"$enablestring" = xdisable; then
5124 defaultval=yes
5125 else
5126 defaultval=no
5127 fi
5128 fi
5129
5130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5131 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5132 # Check whether --enable-extended_rtti was given.
5133 if test "${enable_extended_rtti+set}" = set; then
5134 enableval=$enable_extended_rtti;
5135 if test "$enableval" = yes; then
5136 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5137 else
5138 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5139 fi
5140
5141 else
5142
5143 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5144
5145 fi
5146
5147
5148 eval "$wx_cv_use_extended_rtti"
5149
5150 if test x"$enablestring" = xdisable; then
5151 if test $wxUSE_EXTENDED_RTTI = no; then
5152 result=yes
5153 else
5154 result=no
5155 fi
5156 else
5157 result=$wxUSE_EXTENDED_RTTI
5158 fi
5159
5160 { echo "$as_me:$LINENO: result: $result" >&5
5161 echo "${ECHO_T}$result" >&6; }
5162
5163 if test "$USE_OS2" = 1; then
5164 DEFAULT_wxUSE_OMF=no
5165
5166 enablestring=
5167 defaultval=
5168 if test -z "$defaultval"; then
5169 if test x"$enablestring" = xdisable; then
5170 defaultval=yes
5171 else
5172 defaultval=no
5173 fi
5174 fi
5175
5176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5177 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5178 # Check whether --enable-omf was given.
5179 if test "${enable_omf+set}" = set; then
5180 enableval=$enable_omf;
5181 if test "$enableval" = yes; then
5182 wx_cv_use_omf='wxUSE_OMF=yes'
5183 else
5184 wx_cv_use_omf='wxUSE_OMF=no'
5185 fi
5186
5187 else
5188
5189 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5190
5191 fi
5192
5193
5194 eval "$wx_cv_use_omf"
5195
5196 if test x"$enablestring" = xdisable; then
5197 if test $wxUSE_OMF = no; then
5198 result=yes
5199 else
5200 result=no
5201 fi
5202 else
5203 result=$wxUSE_OMF
5204 fi
5205
5206 { echo "$as_me:$LINENO: result: $result" >&5
5207 echo "${ECHO_T}$result" >&6; }
5208
5209 fi
5210
5211
5212 enablestring=disable
5213 defaultval=
5214 if test -z "$defaultval"; then
5215 if test x"$enablestring" = xdisable; then
5216 defaultval=yes
5217 else
5218 defaultval=no
5219 fi
5220 fi
5221
5222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5223 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5224 # Check whether --enable-optimise was given.
5225 if test "${enable_optimise+set}" = set; then
5226 enableval=$enable_optimise;
5227 if test "$enableval" = yes; then
5228 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5229 else
5230 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5231 fi
5232
5233 else
5234
5235 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5236
5237 fi
5238
5239
5240 eval "$wx_cv_use_optimise"
5241
5242 if test x"$enablestring" = xdisable; then
5243 if test $wxUSE_OPTIMISE = no; then
5244 result=yes
5245 else
5246 result=no
5247 fi
5248 else
5249 result=$wxUSE_OPTIMISE
5250 fi
5251
5252 { echo "$as_me:$LINENO: result: $result" >&5
5253 echo "${ECHO_T}$result" >&6; }
5254
5255
5256
5257 enablestring=
5258 defaultval=
5259 if test -z "$defaultval"; then
5260 if test x"$enablestring" = xdisable; then
5261 defaultval=yes
5262 else
5263 defaultval=no
5264 fi
5265 fi
5266
5267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5268 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5269 # Check whether --enable-profile was given.
5270 if test "${enable_profile+set}" = set; then
5271 enableval=$enable_profile;
5272 if test "$enableval" = yes; then
5273 wx_cv_use_profile='wxUSE_PROFILE=yes'
5274 else
5275 wx_cv_use_profile='wxUSE_PROFILE=no'
5276 fi
5277
5278 else
5279
5280 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5281
5282 fi
5283
5284
5285 eval "$wx_cv_use_profile"
5286
5287 if test x"$enablestring" = xdisable; then
5288 if test $wxUSE_PROFILE = no; then
5289 result=yes
5290 else
5291 result=no
5292 fi
5293 else
5294 result=$wxUSE_PROFILE
5295 fi
5296
5297 { echo "$as_me:$LINENO: result: $result" >&5
5298 echo "${ECHO_T}$result" >&6; }
5299
5300
5301 enablestring=
5302 defaultval=
5303 if test -z "$defaultval"; then
5304 if test x"$enablestring" = xdisable; then
5305 defaultval=yes
5306 else
5307 defaultval=no
5308 fi
5309 fi
5310
5311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5313 # Check whether --enable-no_rtti was given.
5314 if test "${enable_no_rtti+set}" = set; then
5315 enableval=$enable_no_rtti;
5316 if test "$enableval" = yes; then
5317 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5318 else
5319 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5320 fi
5321
5322 else
5323
5324 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5325
5326 fi
5327
5328
5329 eval "$wx_cv_use_no_rtti"
5330
5331 if test x"$enablestring" = xdisable; then
5332 if test $wxUSE_NO_RTTI = no; then
5333 result=yes
5334 else
5335 result=no
5336 fi
5337 else
5338 result=$wxUSE_NO_RTTI
5339 fi
5340
5341 { echo "$as_me:$LINENO: result: $result" >&5
5342 echo "${ECHO_T}$result" >&6; }
5343
5344
5345 enablestring=
5346 defaultval=
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5349 defaultval=yes
5350 else
5351 defaultval=no
5352 fi
5353 fi
5354
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5357 # Check whether --enable-no_exceptions was given.
5358 if test "${enable_no_exceptions+set}" = set; then
5359 enableval=$enable_no_exceptions;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5362 else
5363 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5364 fi
5365
5366 else
5367
5368 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5369
5370 fi
5371
5372
5373 eval "$wx_cv_use_no_exceptions"
5374
5375 if test x"$enablestring" = xdisable; then
5376 if test $wxUSE_NO_EXCEPTIONS = no; then
5377 result=yes
5378 else
5379 result=no
5380 fi
5381 else
5382 result=$wxUSE_NO_EXCEPTIONS
5383 fi
5384
5385 { echo "$as_me:$LINENO: result: $result" >&5
5386 echo "${ECHO_T}$result" >&6; }
5387
5388
5389 enablestring=
5390 defaultval=
5391 if test -z "$defaultval"; then
5392 if test x"$enablestring" = xdisable; then
5393 defaultval=yes
5394 else
5395 defaultval=no
5396 fi
5397 fi
5398
5399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5400 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5401 # Check whether --enable-permissive was given.
5402 if test "${enable_permissive+set}" = set; then
5403 enableval=$enable_permissive;
5404 if test "$enableval" = yes; then
5405 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5406 else
5407 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5408 fi
5409
5410 else
5411
5412 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5413
5414 fi
5415
5416
5417 eval "$wx_cv_use_permissive"
5418
5419 if test x"$enablestring" = xdisable; then
5420 if test $wxUSE_PERMISSIVE = no; then
5421 result=yes
5422 else
5423 result=no
5424 fi
5425 else
5426 result=$wxUSE_PERMISSIVE
5427 fi
5428
5429 { echo "$as_me:$LINENO: result: $result" >&5
5430 echo "${ECHO_T}$result" >&6; }
5431
5432
5433 enablestring=
5434 defaultval=
5435 if test -z "$defaultval"; then
5436 if test x"$enablestring" = xdisable; then
5437 defaultval=yes
5438 else
5439 defaultval=no
5440 fi
5441 fi
5442
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5445 # Check whether --enable-no_deps was given.
5446 if test "${enable_no_deps+set}" = set; then
5447 enableval=$enable_no_deps;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5450 else
5451 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5452 fi
5453
5454 else
5455
5456 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5457
5458 fi
5459
5460
5461 eval "$wx_cv_use_no_deps"
5462
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_NO_DEPS = no; then
5465 result=yes
5466 else
5467 result=no
5468 fi
5469 else
5470 result=$wxUSE_NO_DEPS
5471 fi
5472
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5475
5476
5477 enablestring=disable
5478 defaultval=
5479 if test -z "$defaultval"; then
5480 if test x"$enablestring" = xdisable; then
5481 defaultval=yes
5482 else
5483 defaultval=no
5484 fi
5485 fi
5486
5487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5489 # Check whether --enable-vararg_macros was given.
5490 if test "${enable_vararg_macros+set}" = set; then
5491 enableval=$enable_vararg_macros;
5492 if test "$enableval" = yes; then
5493 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5494 else
5495 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5496 fi
5497
5498 else
5499
5500 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5501
5502 fi
5503
5504
5505 eval "$wx_cv_use_vararg_macros"
5506
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_VARARG_MACROS = no; then
5509 result=yes
5510 else
5511 result=no
5512 fi
5513 else
5514 result=$wxUSE_VARARG_MACROS
5515 fi
5516
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5519
5520
5521
5522 enablestring=
5523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5525 # Check whether --enable-universal_binary was given.
5526 if test "${enable_universal_binary+set}" = set; then
5527 enableval=$enable_universal_binary;
5528 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5529
5530 else
5531
5532 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5533
5534 fi
5535
5536
5537 eval "$wx_cv_use_universal_binary"
5538
5539 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5540 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5541
5542
5543 enablestring=
5544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5546 # Check whether --enable-macosx_arch was given.
5547 if test "${enable_macosx_arch+set}" = set; then
5548 enableval=$enable_macosx_arch;
5549 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5550
5551 else
5552
5553 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5554
5555 fi
5556
5557
5558 eval "$wx_cv_use_macosx_arch"
5559
5560 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5561 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5562
5563
5564
5565 enablestring=
5566 defaultval=
5567 if test -z "$defaultval"; then
5568 if test x"$enablestring" = xdisable; then
5569 defaultval=yes
5570 else
5571 defaultval=no
5572 fi
5573 fi
5574
5575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5576 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5577 # Check whether --enable-compat26 was given.
5578 if test "${enable_compat26+set}" = set; then
5579 enableval=$enable_compat26;
5580 if test "$enableval" = yes; then
5581 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5582 else
5583 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5584 fi
5585
5586 else
5587
5588 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5589
5590 fi
5591
5592
5593 eval "$wx_cv_use_compat26"
5594
5595 if test x"$enablestring" = xdisable; then
5596 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5597 result=yes
5598 else
5599 result=no
5600 fi
5601 else
5602 result=$WXWIN_COMPATIBILITY_2_6
5603 fi
5604
5605 { echo "$as_me:$LINENO: result: $result" >&5
5606 echo "${ECHO_T}$result" >&6; }
5607
5608
5609 enablestring=disable
5610 defaultval=
5611 if test -z "$defaultval"; then
5612 if test x"$enablestring" = xdisable; then
5613 defaultval=yes
5614 else
5615 defaultval=no
5616 fi
5617 fi
5618
5619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5621 # Check whether --enable-compat28 was given.
5622 if test "${enable_compat28+set}" = set; then
5623 enableval=$enable_compat28;
5624 if test "$enableval" = yes; then
5625 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5626 else
5627 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5628 fi
5629
5630 else
5631
5632 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5633
5634 fi
5635
5636
5637 eval "$wx_cv_use_compat28"
5638
5639 if test x"$enablestring" = xdisable; then
5640 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5641 result=yes
5642 else
5643 result=no
5644 fi
5645 else
5646 result=$WXWIN_COMPATIBILITY_2_8
5647 fi
5648
5649 { echo "$as_me:$LINENO: result: $result" >&5
5650 echo "${ECHO_T}$result" >&6; }
5651
5652
5653
5654 enablestring=disable
5655 defaultval=
5656 if test -z "$defaultval"; then
5657 if test x"$enablestring" = xdisable; then
5658 defaultval=yes
5659 else
5660 defaultval=no
5661 fi
5662 fi
5663
5664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5665 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5666 # Check whether --enable-rpath was given.
5667 if test "${enable_rpath+set}" = set; then
5668 enableval=$enable_rpath;
5669 if test "$enableval" = yes; then
5670 wx_cv_use_rpath='wxUSE_RPATH=yes'
5671 else
5672 wx_cv_use_rpath='wxUSE_RPATH=no'
5673 fi
5674
5675 else
5676
5677 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5678
5679 fi
5680
5681
5682 eval "$wx_cv_use_rpath"
5683
5684 if test x"$enablestring" = xdisable; then
5685 if test $wxUSE_RPATH = no; then
5686 result=yes
5687 else
5688 result=no
5689 fi
5690 else
5691 result=$wxUSE_RPATH
5692 fi
5693
5694 { echo "$as_me:$LINENO: result: $result" >&5
5695 echo "${ECHO_T}$result" >&6; }
5696
5697
5698
5699 enablestring=
5700 defaultval=
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5703 defaultval=yes
5704 else
5705 defaultval=no
5706 fi
5707 fi
5708
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5711 # Check whether --enable-objc_uniquifying was given.
5712 if test "${enable_objc_uniquifying+set}" = set; then
5713 enableval=$enable_objc_uniquifying;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5716 else
5717 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5718 fi
5719
5720 else
5721
5722 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5723
5724 fi
5725
5726
5727 eval "$wx_cv_use_objc_uniquifying"
5728
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5731 result=yes
5732 else
5733 result=no
5734 fi
5735 else
5736 result=$wxUSE_OBJC_UNIQUIFYING
5737 fi
5738
5739 { echo "$as_me:$LINENO: result: $result" >&5
5740 echo "${ECHO_T}$result" >&6; }
5741
5742
5743
5744 enablestring=disable
5745 defaultval=
5746 if test -z "$defaultval"; then
5747 if test x"$enablestring" = xdisable; then
5748 defaultval=yes
5749 else
5750 defaultval=no
5751 fi
5752 fi
5753
5754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5755 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5756 # Check whether --enable-visibility was given.
5757 if test "${enable_visibility+set}" = set; then
5758 enableval=$enable_visibility;
5759 if test "$enableval" = yes; then
5760 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5761 else
5762 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5763 fi
5764
5765 else
5766
5767 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5768
5769 fi
5770
5771
5772 eval "$wx_cv_use_visibility"
5773
5774 if test x"$enablestring" = xdisable; then
5775 if test $wxUSE_VISIBILITY = no; then
5776 result=yes
5777 else
5778 result=no
5779 fi
5780 else
5781 result=$wxUSE_VISIBILITY
5782 fi
5783
5784 { echo "$as_me:$LINENO: result: $result" >&5
5785 echo "${ECHO_T}$result" >&6; }
5786
5787
5788 enablestring=disable
5789 defaultval=
5790 if test -z "$defaultval"; then
5791 if test x"$enablestring" = xdisable; then
5792 defaultval=yes
5793 else
5794 defaultval=no
5795 fi
5796 fi
5797
5798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5799 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5800 # Check whether --enable-tls was given.
5801 if test "${enable_tls+set}" = set; then
5802 enableval=$enable_tls;
5803 if test "$enableval" = yes; then
5804 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5805 else
5806 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5807 fi
5808
5809 else
5810
5811 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5812
5813 fi
5814
5815
5816 eval "$wx_cv_use_tls"
5817
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_COMPILER_TLS = no; then
5820 result=yes
5821 else
5822 result=no
5823 fi
5824 else
5825 result=$wxUSE_COMPILER_TLS
5826 fi
5827
5828 { echo "$as_me:$LINENO: result: $result" >&5
5829 echo "${ECHO_T}$result" >&6; }
5830
5831
5832
5833
5834 enablestring=
5835 defaultval=$wxUSE_ALL_FEATURES
5836 if test -z "$defaultval"; then
5837 if test x"$enablestring" = xdisable; then
5838 defaultval=yes
5839 else
5840 defaultval=no
5841 fi
5842 fi
5843
5844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5845 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5846 # Check whether --enable-intl was given.
5847 if test "${enable_intl+set}" = set; then
5848 enableval=$enable_intl;
5849 if test "$enableval" = yes; then
5850 wx_cv_use_intl='wxUSE_INTL=yes'
5851 else
5852 wx_cv_use_intl='wxUSE_INTL=no'
5853 fi
5854
5855 else
5856
5857 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5858
5859 fi
5860
5861
5862 eval "$wx_cv_use_intl"
5863
5864 if test x"$enablestring" = xdisable; then
5865 if test $wxUSE_INTL = no; then
5866 result=yes
5867 else
5868 result=no
5869 fi
5870 else
5871 result=$wxUSE_INTL
5872 fi
5873
5874 { echo "$as_me:$LINENO: result: $result" >&5
5875 echo "${ECHO_T}$result" >&6; }
5876
5877
5878 enablestring=
5879 defaultval=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x"$enablestring" = xdisable; then
5882 defaultval=yes
5883 else
5884 defaultval=no
5885 fi
5886 fi
5887
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5890 # Check whether --enable-xlocale was given.
5891 if test "${enable_xlocale+set}" = set; then
5892 enableval=$enable_xlocale;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5895 else
5896 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5897 fi
5898
5899 else
5900
5901 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5902
5903 fi
5904
5905
5906 eval "$wx_cv_use_xlocale"
5907
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_XLOCALE = no; then
5910 result=yes
5911 else
5912 result=no
5913 fi
5914 else
5915 result=$wxUSE_XLOCALE
5916 fi
5917
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5920
5921
5922 enablestring=
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5926 defaultval=yes
5927 else
5928 defaultval=no
5929 fi
5930 fi
5931
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5934 # Check whether --enable-config was given.
5935 if test "${enable_config+set}" = set; then
5936 enableval=$enable_config;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_config='wxUSE_CONFIG=yes'
5939 else
5940 wx_cv_use_config='wxUSE_CONFIG=no'
5941 fi
5942
5943 else
5944
5945 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5946
5947 fi
5948
5949
5950 eval "$wx_cv_use_config"
5951
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_CONFIG = no; then
5954 result=yes
5955 else
5956 result=no
5957 fi
5958 else
5959 result=$wxUSE_CONFIG
5960 fi
5961
5962 { echo "$as_me:$LINENO: result: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5964
5965
5966
5967 enablestring=
5968 defaultval=$wxUSE_ALL_FEATURES
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5971 defaultval=yes
5972 else
5973 defaultval=no
5974 fi
5975 fi
5976
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5979 # Check whether --enable-protocols was given.
5980 if test "${enable_protocols+set}" = set; then
5981 enableval=$enable_protocols;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5984 else
5985 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5986 fi
5987
5988 else
5989
5990 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5991
5992 fi
5993
5994
5995 eval "$wx_cv_use_protocols"
5996
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_PROTOCOL = no; then
5999 result=yes
6000 else
6001 result=no
6002 fi
6003 else
6004 result=$wxUSE_PROTOCOL
6005 fi
6006
6007 { echo "$as_me:$LINENO: result: $result" >&5
6008 echo "${ECHO_T}$result" >&6; }
6009
6010
6011 enablestring=
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6015 defaultval=yes
6016 else
6017 defaultval=no
6018 fi
6019 fi
6020
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6023 # Check whether --enable-ftp was given.
6024 if test "${enable_ftp+set}" = set; then
6025 enableval=$enable_ftp;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6028 else
6029 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6030 fi
6031
6032 else
6033
6034 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6035
6036 fi
6037
6038
6039 eval "$wx_cv_use_ftp"
6040
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_PROTOCOL_FTP = no; then
6043 result=yes
6044 else
6045 result=no
6046 fi
6047 else
6048 result=$wxUSE_PROTOCOL_FTP
6049 fi
6050
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6053
6054
6055 enablestring=
6056 defaultval=$wxUSE_ALL_FEATURES
6057 if test -z "$defaultval"; then
6058 if test x"$enablestring" = xdisable; then
6059 defaultval=yes
6060 else
6061 defaultval=no
6062 fi
6063 fi
6064
6065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6067 # Check whether --enable-http was given.
6068 if test "${enable_http+set}" = set; then
6069 enableval=$enable_http;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6072 else
6073 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6074 fi
6075
6076 else
6077
6078 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6079
6080 fi
6081
6082
6083 eval "$wx_cv_use_http"
6084
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_PROTOCOL_HTTP = no; then
6087 result=yes
6088 else
6089 result=no
6090 fi
6091 else
6092 result=$wxUSE_PROTOCOL_HTTP
6093 fi
6094
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6097
6098
6099 enablestring=
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6103 defaultval=yes
6104 else
6105 defaultval=no
6106 fi
6107 fi
6108
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6111 # Check whether --enable-fileproto was given.
6112 if test "${enable_fileproto+set}" = set; then
6113 enableval=$enable_fileproto;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6116 else
6117 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6118 fi
6119
6120 else
6121
6122 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6123
6124 fi
6125
6126
6127 eval "$wx_cv_use_fileproto"
6128
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_PROTOCOL_FILE = no; then
6131 result=yes
6132 else
6133 result=no
6134 fi
6135 else
6136 result=$wxUSE_PROTOCOL_FILE
6137 fi
6138
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6141
6142
6143 enablestring=
6144 defaultval=$wxUSE_ALL_FEATURES
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6147 defaultval=yes
6148 else
6149 defaultval=no
6150 fi
6151 fi
6152
6153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6155 # Check whether --enable-sockets was given.
6156 if test "${enable_sockets+set}" = set; then
6157 enableval=$enable_sockets;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6160 else
6161 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6162 fi
6163
6164 else
6165
6166 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6167
6168 fi
6169
6170
6171 eval "$wx_cv_use_sockets"
6172
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_SOCKETS = no; then
6175 result=yes
6176 else
6177 result=no
6178 fi
6179 else
6180 result=$wxUSE_SOCKETS
6181 fi
6182
6183 { echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6; }
6185
6186
6187 enablestring=
6188 defaultval=$wxUSE_ALL_FEATURES
6189 if test -z "$defaultval"; then
6190 if test x"$enablestring" = xdisable; then
6191 defaultval=yes
6192 else
6193 defaultval=no
6194 fi
6195 fi
6196
6197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6199 # Check whether --enable-ipv6 was given.
6200 if test "${enable_ipv6+set}" = set; then
6201 enableval=$enable_ipv6;
6202 if test "$enableval" = yes; then
6203 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6204 else
6205 wx_cv_use_ipv6='wxUSE_IPV6=no'
6206 fi
6207
6208 else
6209
6210 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6211
6212 fi
6213
6214
6215 eval "$wx_cv_use_ipv6"
6216
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_IPV6 = no; then
6219 result=yes
6220 else
6221 result=no
6222 fi
6223 else
6224 result=$wxUSE_IPV6
6225 fi
6226
6227 { echo "$as_me:$LINENO: result: $result" >&5
6228 echo "${ECHO_T}$result" >&6; }
6229
6230
6231 enablestring=
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6235 defaultval=yes
6236 else
6237 defaultval=no
6238 fi
6239 fi
6240
6241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6243 # Check whether --enable-ole was given.
6244 if test "${enable_ole+set}" = set; then
6245 enableval=$enable_ole;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_ole='wxUSE_OLE=yes'
6248 else
6249 wx_cv_use_ole='wxUSE_OLE=no'
6250 fi
6251
6252 else
6253
6254 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6255
6256 fi
6257
6258
6259 eval "$wx_cv_use_ole"
6260
6261 if test x"$enablestring" = xdisable; then
6262 if test $wxUSE_OLE = no; then
6263 result=yes
6264 else
6265 result=no
6266 fi
6267 else
6268 result=$wxUSE_OLE
6269 fi
6270
6271 { echo "$as_me:$LINENO: result: $result" >&5
6272 echo "${ECHO_T}$result" >&6; }
6273
6274
6275 enablestring=
6276 defaultval=$wxUSE_ALL_FEATURES
6277 if test -z "$defaultval"; then
6278 if test x"$enablestring" = xdisable; then
6279 defaultval=yes
6280 else
6281 defaultval=no
6282 fi
6283 fi
6284
6285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6286 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6287 # Check whether --enable-dataobj was given.
6288 if test "${enable_dataobj+set}" = set; then
6289 enableval=$enable_dataobj;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6292 else
6293 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6294 fi
6295
6296 else
6297
6298 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6299
6300 fi
6301
6302
6303 eval "$wx_cv_use_dataobj"
6304
6305 if test x"$enablestring" = xdisable; then
6306 if test $wxUSE_DATAOBJ = no; then
6307 result=yes
6308 else
6309 result=no
6310 fi
6311 else
6312 result=$wxUSE_DATAOBJ
6313 fi
6314
6315 { echo "$as_me:$LINENO: result: $result" >&5
6316 echo "${ECHO_T}$result" >&6; }
6317
6318
6319
6320 enablestring=
6321 defaultval=$wxUSE_ALL_FEATURES
6322 if test -z "$defaultval"; then
6323 if test x"$enablestring" = xdisable; then
6324 defaultval=yes
6325 else
6326 defaultval=no
6327 fi
6328 fi
6329
6330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6332 # Check whether --enable-ipc was given.
6333 if test "${enable_ipc+set}" = set; then
6334 enableval=$enable_ipc;
6335 if test "$enableval" = yes; then
6336 wx_cv_use_ipc='wxUSE_IPC=yes'
6337 else
6338 wx_cv_use_ipc='wxUSE_IPC=no'
6339 fi
6340
6341 else
6342
6343 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6344
6345 fi
6346
6347
6348 eval "$wx_cv_use_ipc"
6349
6350 if test x"$enablestring" = xdisable; then
6351 if test $wxUSE_IPC = no; then
6352 result=yes
6353 else
6354 result=no
6355 fi
6356 else
6357 result=$wxUSE_IPC
6358 fi
6359
6360 { echo "$as_me:$LINENO: result: $result" >&5
6361 echo "${ECHO_T}$result" >&6; }
6362
6363
6364
6365 enablestring=
6366 defaultval=$wxUSE_ALL_FEATURES
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6369 defaultval=yes
6370 else
6371 defaultval=no
6372 fi
6373 fi
6374
6375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6376 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6377 # Check whether --enable-baseevtloop was given.
6378 if test "${enable_baseevtloop+set}" = set; then
6379 enableval=$enable_baseevtloop;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6382 else
6383 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6384 fi
6385
6386 else
6387
6388 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6389
6390 fi
6391
6392
6393 eval "$wx_cv_use_baseevtloop"
6394
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6397 result=yes
6398 else
6399 result=no
6400 fi
6401 else
6402 result=$wxUSE_CONSOLE_EVENTLOOP
6403 fi
6404
6405 { echo "$as_me:$LINENO: result: $result" >&5
6406 echo "${ECHO_T}$result" >&6; }
6407
6408
6409 enablestring=
6410 defaultval=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6413 defaultval=yes
6414 else
6415 defaultval=no
6416 fi
6417 fi
6418
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6421 # Check whether --enable-epollloop was given.
6422 if test "${enable_epollloop+set}" = set; then
6423 enableval=$enable_epollloop;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6426 else
6427 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6428 fi
6429
6430 else
6431
6432 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6433
6434 fi
6435
6436
6437 eval "$wx_cv_use_epollloop"
6438
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_EPOLL_DISPATCHER = no; then
6441 result=yes
6442 else
6443 result=no
6444 fi
6445 else
6446 result=$wxUSE_EPOLL_DISPATCHER
6447 fi
6448
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6451
6452
6453 enablestring=
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6457 defaultval=yes
6458 else
6459 defaultval=no
6460 fi
6461 fi
6462
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6465 # Check whether --enable-selectloop was given.
6466 if test "${enable_selectloop+set}" = set; then
6467 enableval=$enable_selectloop;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6470 else
6471 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6472 fi
6473
6474 else
6475
6476 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6477
6478 fi
6479
6480
6481 eval "$wx_cv_use_selectloop"
6482
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_SELECT_DISPATCHER = no; then
6485 result=yes
6486 else
6487 result=no
6488 fi
6489 else
6490 result=$wxUSE_SELECT_DISPATCHER
6491 fi
6492
6493 { echo "$as_me:$LINENO: result: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6495
6496
6497
6498 enablestring=
6499 defaultval=$wxUSE_ALL_FEATURES
6500 if test -z "$defaultval"; then
6501 if test x"$enablestring" = xdisable; then
6502 defaultval=yes
6503 else
6504 defaultval=no
6505 fi
6506 fi
6507
6508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6510 # Check whether --enable-any was given.
6511 if test "${enable_any+set}" = set; then
6512 enableval=$enable_any;
6513 if test "$enableval" = yes; then
6514 wx_cv_use_any='wxUSE_ANY=yes'
6515 else
6516 wx_cv_use_any='wxUSE_ANY=no'
6517 fi
6518
6519 else
6520
6521 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6522
6523 fi
6524
6525
6526 eval "$wx_cv_use_any"
6527
6528 if test x"$enablestring" = xdisable; then
6529 if test $wxUSE_ANY = no; then
6530 result=yes
6531 else
6532 result=no
6533 fi
6534 else
6535 result=$wxUSE_ANY
6536 fi
6537
6538 { echo "$as_me:$LINENO: result: $result" >&5
6539 echo "${ECHO_T}$result" >&6; }
6540
6541
6542 enablestring=
6543 defaultval=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x"$enablestring" = xdisable; then
6546 defaultval=yes
6547 else
6548 defaultval=no
6549 fi
6550 fi
6551
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6554 # Check whether --enable-apple_ieee was given.
6555 if test "${enable_apple_ieee+set}" = set; then
6556 enableval=$enable_apple_ieee;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6559 else
6560 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6561 fi
6562
6563 else
6564
6565 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6566
6567 fi
6568
6569
6570 eval "$wx_cv_use_apple_ieee"
6571
6572 if test x"$enablestring" = xdisable; then
6573 if test $wxUSE_APPLE_IEEE = no; then
6574 result=yes
6575 else
6576 result=no
6577 fi
6578 else
6579 result=$wxUSE_APPLE_IEEE
6580 fi
6581
6582 { echo "$as_me:$LINENO: result: $result" >&5
6583 echo "${ECHO_T}$result" >&6; }
6584
6585
6586 enablestring=
6587 defaultval=$wxUSE_ALL_FEATURES
6588 if test -z "$defaultval"; then
6589 if test x"$enablestring" = xdisable; then
6590 defaultval=yes
6591 else
6592 defaultval=no
6593 fi
6594 fi
6595
6596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6598 # Check whether --enable-arcstream was given.
6599 if test "${enable_arcstream+set}" = set; then
6600 enableval=$enable_arcstream;
6601 if test "$enableval" = yes; then
6602 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6603 else
6604 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6605 fi
6606
6607 else
6608
6609 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6610
6611 fi
6612
6613
6614 eval "$wx_cv_use_arcstream"
6615
6616 if test x"$enablestring" = xdisable; then
6617 if test $wxUSE_ARCHIVE_STREAMS = no; then
6618 result=yes
6619 else
6620 result=no
6621 fi
6622 else
6623 result=$wxUSE_ARCHIVE_STREAMS
6624 fi
6625
6626 { echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6; }
6628
6629
6630 enablestring=
6631 defaultval=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x"$enablestring" = xdisable; then
6634 defaultval=yes
6635 else
6636 defaultval=no
6637 fi
6638 fi
6639
6640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6642 # Check whether --enable-base64 was given.
6643 if test "${enable_base64+set}" = set; then
6644 enableval=$enable_base64;
6645 if test "$enableval" = yes; then
6646 wx_cv_use_base64='wxUSE_BASE64=yes'
6647 else
6648 wx_cv_use_base64='wxUSE_BASE64=no'
6649 fi
6650
6651 else
6652
6653 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6654
6655 fi
6656
6657
6658 eval "$wx_cv_use_base64"
6659
6660 if test x"$enablestring" = xdisable; then
6661 if test $wxUSE_BASE64 = no; then
6662 result=yes
6663 else
6664 result=no
6665 fi
6666 else
6667 result=$wxUSE_BASE64
6668 fi
6669
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6672
6673
6674 enablestring=
6675 defaultval=$wxUSE_ALL_FEATURES
6676 if test -z "$defaultval"; then
6677 if test x"$enablestring" = xdisable; then
6678 defaultval=yes
6679 else
6680 defaultval=no
6681 fi
6682 fi
6683
6684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6686 # Check whether --enable-backtrace was given.
6687 if test "${enable_backtrace+set}" = set; then
6688 enableval=$enable_backtrace;
6689 if test "$enableval" = yes; then
6690 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6691 else
6692 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6693 fi
6694
6695 else
6696
6697 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6698
6699 fi
6700
6701
6702 eval "$wx_cv_use_backtrace"
6703
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_STACKWALKER = no; then
6706 result=yes
6707 else
6708 result=no
6709 fi
6710 else
6711 result=$wxUSE_STACKWALKER
6712 fi
6713
6714 { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6716
6717
6718 enablestring=
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6722 defaultval=yes
6723 else
6724 defaultval=no
6725 fi
6726 fi
6727
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6730 # Check whether --enable-catch_segvs was given.
6731 if test "${enable_catch_segvs+set}" = set; then
6732 enableval=$enable_catch_segvs;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6735 else
6736 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6737 fi
6738
6739 else
6740
6741 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6742
6743 fi
6744
6745
6746 eval "$wx_cv_use_catch_segvs"
6747
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6750 result=yes
6751 else
6752 result=no
6753 fi
6754 else
6755 result=$wxUSE_ON_FATAL_EXCEPTION
6756 fi
6757
6758 { echo "$as_me:$LINENO: result: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6760
6761
6762 enablestring=
6763 defaultval=$wxUSE_ALL_FEATURES
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6766 defaultval=yes
6767 else
6768 defaultval=no
6769 fi
6770 fi
6771
6772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6773 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6774 # Check whether --enable-cmdline was given.
6775 if test "${enable_cmdline+set}" = set; then
6776 enableval=$enable_cmdline;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6779 else
6780 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6781 fi
6782
6783 else
6784
6785 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6786
6787 fi
6788
6789
6790 eval "$wx_cv_use_cmdline"
6791
6792 if test x"$enablestring" = xdisable; then
6793 if test $wxUSE_CMDLINE_PARSER = no; then
6794 result=yes
6795 else
6796 result=no
6797 fi
6798 else
6799 result=$wxUSE_CMDLINE_PARSER
6800 fi
6801
6802 { echo "$as_me:$LINENO: result: $result" >&5
6803 echo "${ECHO_T}$result" >&6; }
6804
6805
6806 enablestring=
6807 defaultval=$wxUSE_ALL_FEATURES
6808 if test -z "$defaultval"; then
6809 if test x"$enablestring" = xdisable; then
6810 defaultval=yes
6811 else
6812 defaultval=no
6813 fi
6814 fi
6815
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6818 # Check whether --enable-datetime was given.
6819 if test "${enable_datetime+set}" = set; then
6820 enableval=$enable_datetime;
6821 if test "$enableval" = yes; then
6822 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6823 else
6824 wx_cv_use_datetime='wxUSE_DATETIME=no'
6825 fi
6826
6827 else
6828
6829 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6830
6831 fi
6832
6833
6834 eval "$wx_cv_use_datetime"
6835
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_DATETIME = no; then
6838 result=yes
6839 else
6840 result=no
6841 fi
6842 else
6843 result=$wxUSE_DATETIME
6844 fi
6845
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6848
6849
6850 enablestring=
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6854 defaultval=yes
6855 else
6856 defaultval=no
6857 fi
6858 fi
6859
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6862 # Check whether --enable-debugreport was given.
6863 if test "${enable_debugreport+set}" = set; then
6864 enableval=$enable_debugreport;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6867 else
6868 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6869 fi
6870
6871 else
6872
6873 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6874
6875 fi
6876
6877
6878 eval "$wx_cv_use_debugreport"
6879
6880 if test x"$enablestring" = xdisable; then
6881 if test $wxUSE_DEBUGREPORT = no; then
6882 result=yes
6883 else
6884 result=no
6885 fi
6886 else
6887 result=$wxUSE_DEBUGREPORT
6888 fi
6889
6890 { echo "$as_me:$LINENO: result: $result" >&5
6891 echo "${ECHO_T}$result" >&6; }
6892
6893
6894 enablestring=
6895 defaultval=$wxUSE_ALL_FEATURES
6896 if test -z "$defaultval"; then
6897 if test x"$enablestring" = xdisable; then
6898 defaultval=yes
6899 else
6900 defaultval=no
6901 fi
6902 fi
6903
6904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6906 # Check whether --enable-dialupman was given.
6907 if test "${enable_dialupman+set}" = set; then
6908 enableval=$enable_dialupman;
6909 if test "$enableval" = yes; then
6910 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6911 else
6912 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6913 fi
6914
6915 else
6916
6917 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6918
6919 fi
6920
6921
6922 eval "$wx_cv_use_dialupman"
6923
6924 if test x"$enablestring" = xdisable; then
6925 if test $wxUSE_DIALUP_MANAGER = no; then
6926 result=yes
6927 else
6928 result=no
6929 fi
6930 else
6931 result=$wxUSE_DIALUP_MANAGER
6932 fi
6933
6934 { echo "$as_me:$LINENO: result: $result" >&5
6935 echo "${ECHO_T}$result" >&6; }
6936
6937
6938 enablestring=
6939 defaultval=$wxUSE_ALL_FEATURES
6940 if test -z "$defaultval"; then
6941 if test x"$enablestring" = xdisable; then
6942 defaultval=yes
6943 else
6944 defaultval=no
6945 fi
6946 fi
6947
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6950 # Check whether --enable-dynlib was given.
6951 if test "${enable_dynlib+set}" = set; then
6952 enableval=$enable_dynlib;
6953 if test "$enableval" = yes; then
6954 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6955 else
6956 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6957 fi
6958
6959 else
6960
6961 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6962
6963 fi
6964
6965
6966 eval "$wx_cv_use_dynlib"
6967
6968 if test x"$enablestring" = xdisable; then
6969 if test $wxUSE_DYNLIB_CLASS = no; then
6970 result=yes
6971 else
6972 result=no
6973 fi
6974 else
6975 result=$wxUSE_DYNLIB_CLASS
6976 fi
6977
6978 { echo "$as_me:$LINENO: result: $result" >&5
6979 echo "${ECHO_T}$result" >&6; }
6980
6981
6982 enablestring=
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6986 defaultval=yes
6987 else
6988 defaultval=no
6989 fi
6990 fi
6991
6992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6994 # Check whether --enable-dynamicloader was given.
6995 if test "${enable_dynamicloader+set}" = set; then
6996 enableval=$enable_dynamicloader;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6999 else
7000 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7001 fi
7002
7003 else
7004
7005 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7006
7007 fi
7008
7009
7010 eval "$wx_cv_use_dynamicloader"
7011
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_DYNAMIC_LOADER = no; then
7014 result=yes
7015 else
7016 result=no
7017 fi
7018 else
7019 result=$wxUSE_DYNAMIC_LOADER
7020 fi
7021
7022 { echo "$as_me:$LINENO: result: $result" >&5
7023 echo "${ECHO_T}$result" >&6; }
7024
7025
7026 enablestring=
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7030 defaultval=yes
7031 else
7032 defaultval=no
7033 fi
7034 fi
7035
7036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7037 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7038 # Check whether --enable-exceptions was given.
7039 if test "${enable_exceptions+set}" = set; then
7040 enableval=$enable_exceptions;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7043 else
7044 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7045 fi
7046
7047 else
7048
7049 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7050
7051 fi
7052
7053
7054 eval "$wx_cv_use_exceptions"
7055
7056 if test x"$enablestring" = xdisable; then
7057 if test $wxUSE_EXCEPTIONS = no; then
7058 result=yes
7059 else
7060 result=no
7061 fi
7062 else
7063 result=$wxUSE_EXCEPTIONS
7064 fi
7065
7066 { echo "$as_me:$LINENO: result: $result" >&5
7067 echo "${ECHO_T}$result" >&6; }
7068
7069
7070 enablestring=
7071 defaultval=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x"$enablestring" = xdisable; then
7074 defaultval=yes
7075 else
7076 defaultval=no
7077 fi
7078 fi
7079
7080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7082 # Check whether --enable-ffile was given.
7083 if test "${enable_ffile+set}" = set; then
7084 enableval=$enable_ffile;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_ffile='wxUSE_FFILE=yes'
7087 else
7088 wx_cv_use_ffile='wxUSE_FFILE=no'
7089 fi
7090
7091 else
7092
7093 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7094
7095 fi
7096
7097
7098 eval "$wx_cv_use_ffile"
7099
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_FFILE = no; then
7102 result=yes
7103 else
7104 result=no
7105 fi
7106 else
7107 result=$wxUSE_FFILE
7108 fi
7109
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7112
7113
7114 enablestring=
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7118 defaultval=yes
7119 else
7120 defaultval=no
7121 fi
7122 fi
7123
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7126 # Check whether --enable-file was given.
7127 if test "${enable_file+set}" = set; then
7128 enableval=$enable_file;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_file='wxUSE_FILE=yes'
7131 else
7132 wx_cv_use_file='wxUSE_FILE=no'
7133 fi
7134
7135 else
7136
7137 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7138
7139 fi
7140
7141
7142 eval "$wx_cv_use_file"
7143
7144 if test x"$enablestring" = xdisable; then
7145 if test $wxUSE_FILE = no; then
7146 result=yes
7147 else
7148 result=no
7149 fi
7150 else
7151 result=$wxUSE_FILE
7152 fi
7153
7154 { echo "$as_me:$LINENO: result: $result" >&5
7155 echo "${ECHO_T}$result" >&6; }
7156
7157
7158 enablestring=
7159 defaultval=$wxUSE_ALL_FEATURES
7160 if test -z "$defaultval"; then
7161 if test x"$enablestring" = xdisable; then
7162 defaultval=yes
7163 else
7164 defaultval=no
7165 fi
7166 fi
7167
7168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7170 # Check whether --enable-filehistory was given.
7171 if test "${enable_filehistory+set}" = set; then
7172 enableval=$enable_filehistory;
7173 if test "$enableval" = yes; then
7174 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7175 else
7176 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7177 fi
7178
7179 else
7180
7181 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7182
7183 fi
7184
7185
7186 eval "$wx_cv_use_filehistory"
7187
7188 if test x"$enablestring" = xdisable; then
7189 if test $wxUSE_FILE_HISTORY = no; then
7190 result=yes
7191 else
7192 result=no
7193 fi
7194 else
7195 result=$wxUSE_FILE_HISTORY
7196 fi
7197
7198 { echo "$as_me:$LINENO: result: $result" >&5
7199 echo "${ECHO_T}$result" >&6; }
7200
7201
7202 enablestring=
7203 defaultval=$wxUSE_ALL_FEATURES
7204 if test -z "$defaultval"; then
7205 if test x"$enablestring" = xdisable; then
7206 defaultval=yes
7207 else
7208 defaultval=no
7209 fi
7210 fi
7211
7212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7214 # Check whether --enable-filesystem was given.
7215 if test "${enable_filesystem+set}" = set; then
7216 enableval=$enable_filesystem;
7217 if test "$enableval" = yes; then
7218 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7219 else
7220 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7221 fi
7222
7223 else
7224
7225 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7226
7227 fi
7228
7229
7230 eval "$wx_cv_use_filesystem"
7231
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_FILESYSTEM = no; then
7234 result=yes
7235 else
7236 result=no
7237 fi
7238 else
7239 result=$wxUSE_FILESYSTEM
7240 fi
7241
7242 { echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6; }
7244
7245
7246 enablestring=
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7250 defaultval=yes
7251 else
7252 defaultval=no
7253 fi
7254 fi
7255
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7258 # Check whether --enable-fontenum was given.
7259 if test "${enable_fontenum+set}" = set; then
7260 enableval=$enable_fontenum;
7261 if test "$enableval" = yes; then
7262 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7263 else
7264 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7265 fi
7266
7267 else
7268
7269 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7270
7271 fi
7272
7273
7274 eval "$wx_cv_use_fontenum"
7275
7276 if test x"$enablestring" = xdisable; then
7277 if test $wxUSE_FONTENUM = no; then
7278 result=yes
7279 else
7280 result=no
7281 fi
7282 else
7283 result=$wxUSE_FONTENUM
7284 fi
7285
7286 { echo "$as_me:$LINENO: result: $result" >&5
7287 echo "${ECHO_T}$result" >&6; }
7288
7289
7290 enablestring=
7291 defaultval=$wxUSE_ALL_FEATURES
7292 if test -z "$defaultval"; then
7293 if test x"$enablestring" = xdisable; then
7294 defaultval=yes
7295 else
7296 defaultval=no
7297 fi
7298 fi
7299
7300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7301 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7302 # Check whether --enable-fontmap was given.
7303 if test "${enable_fontmap+set}" = set; then
7304 enableval=$enable_fontmap;
7305 if test "$enableval" = yes; then
7306 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7307 else
7308 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7309 fi
7310
7311 else
7312
7313 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7314
7315 fi
7316
7317
7318 eval "$wx_cv_use_fontmap"
7319
7320 if test x"$enablestring" = xdisable; then
7321 if test $wxUSE_FONTMAP = no; then
7322 result=yes
7323 else
7324 result=no
7325 fi
7326 else
7327 result=$wxUSE_FONTMAP
7328 fi
7329
7330 { echo "$as_me:$LINENO: result: $result" >&5
7331 echo "${ECHO_T}$result" >&6; }
7332
7333
7334 enablestring=
7335 defaultval=$wxUSE_ALL_FEATURES
7336 if test -z "$defaultval"; then
7337 if test x"$enablestring" = xdisable; then
7338 defaultval=yes
7339 else
7340 defaultval=no
7341 fi
7342 fi
7343
7344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7346 # Check whether --enable-fs_archive was given.
7347 if test "${enable_fs_archive+set}" = set; then
7348 enableval=$enable_fs_archive;
7349 if test "$enableval" = yes; then
7350 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7351 else
7352 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7353 fi
7354
7355 else
7356
7357 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7358
7359 fi
7360
7361
7362 eval "$wx_cv_use_fs_archive"
7363
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_FS_ARCHIVE = no; then
7366 result=yes
7367 else
7368 result=no
7369 fi
7370 else
7371 result=$wxUSE_FS_ARCHIVE
7372 fi
7373
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7376
7377
7378 enablestring=
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7382 defaultval=yes
7383 else
7384 defaultval=no
7385 fi
7386 fi
7387
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7390 # Check whether --enable-fs_inet was given.
7391 if test "${enable_fs_inet+set}" = set; then
7392 enableval=$enable_fs_inet;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7395 else
7396 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7397 fi
7398
7399 else
7400
7401 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7402
7403 fi
7404
7405
7406 eval "$wx_cv_use_fs_inet"
7407
7408 if test x"$enablestring" = xdisable; then
7409 if test $wxUSE_FS_INET = no; then
7410 result=yes
7411 else
7412 result=no
7413 fi
7414 else
7415 result=$wxUSE_FS_INET
7416 fi
7417
7418 { echo "$as_me:$LINENO: result: $result" >&5
7419 echo "${ECHO_T}$result" >&6; }
7420
7421
7422 enablestring=
7423 defaultval=$wxUSE_ALL_FEATURES
7424 if test -z "$defaultval"; then
7425 if test x"$enablestring" = xdisable; then
7426 defaultval=yes
7427 else
7428 defaultval=no
7429 fi
7430 fi
7431
7432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7433 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7434 # Check whether --enable-fs_zip was given.
7435 if test "${enable_fs_zip+set}" = set; then
7436 enableval=$enable_fs_zip;
7437 if test "$enableval" = yes; then
7438 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7439 else
7440 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7441 fi
7442
7443 else
7444
7445 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7446
7447 fi
7448
7449
7450 eval "$wx_cv_use_fs_zip"
7451
7452 if test x"$enablestring" = xdisable; then
7453 if test $wxUSE_FS_ZIP = no; then
7454 result=yes
7455 else
7456 result=no
7457 fi
7458 else
7459 result=$wxUSE_FS_ZIP
7460 fi
7461
7462 { echo "$as_me:$LINENO: result: $result" >&5
7463 echo "${ECHO_T}$result" >&6; }
7464
7465
7466 enablestring=
7467 defaultval=$wxUSE_ALL_FEATURES
7468 if test -z "$defaultval"; then
7469 if test x"$enablestring" = xdisable; then
7470 defaultval=yes
7471 else
7472 defaultval=no
7473 fi
7474 fi
7475
7476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7478 # Check whether --enable-fswatcher was given.
7479 if test "${enable_fswatcher+set}" = set; then
7480 enableval=$enable_fswatcher;
7481 if test "$enableval" = yes; then
7482 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7483 else
7484 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7485 fi
7486
7487 else
7488
7489 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7490
7491 fi
7492
7493
7494 eval "$wx_cv_use_fswatcher"
7495
7496 if test x"$enablestring" = xdisable; then
7497 if test $wxUSE_FSWATCHER = no; then
7498 result=yes
7499 else
7500 result=no
7501 fi
7502 else
7503 result=$wxUSE_FSWATCHER
7504 fi
7505
7506 { echo "$as_me:$LINENO: result: $result" >&5
7507 echo "${ECHO_T}$result" >&6; }
7508
7509
7510 enablestring=
7511 defaultval=$wxUSE_ALL_FEATURES
7512 if test -z "$defaultval"; then
7513 if test x"$enablestring" = xdisable; then
7514 defaultval=yes
7515 else
7516 defaultval=no
7517 fi
7518 fi
7519
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7522 # Check whether --enable-geometry was given.
7523 if test "${enable_geometry+set}" = set; then
7524 enableval=$enable_geometry;
7525 if test "$enableval" = yes; then
7526 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7527 else
7528 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7529 fi
7530
7531 else
7532
7533 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7534
7535 fi
7536
7537
7538 eval "$wx_cv_use_geometry"
7539
7540 if test x"$enablestring" = xdisable; then
7541 if test $wxUSE_GEOMETRY = no; then
7542 result=yes
7543 else
7544 result=no
7545 fi
7546 else
7547 result=$wxUSE_GEOMETRY
7548 fi
7549
7550 { echo "$as_me:$LINENO: result: $result" >&5
7551 echo "${ECHO_T}$result" >&6; }
7552
7553
7554 enablestring=
7555 defaultval=$wxUSE_ALL_FEATURES
7556 if test -z "$defaultval"; then
7557 if test x"$enablestring" = xdisable; then
7558 defaultval=yes
7559 else
7560 defaultval=no
7561 fi
7562 fi
7563
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7566 # Check whether --enable-log was given.
7567 if test "${enable_log+set}" = set; then
7568 enableval=$enable_log;
7569 if test "$enableval" = yes; then
7570 wx_cv_use_log='wxUSE_LOG=yes'
7571 else
7572 wx_cv_use_log='wxUSE_LOG=no'
7573 fi
7574
7575 else
7576
7577 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7578
7579 fi
7580
7581
7582 eval "$wx_cv_use_log"
7583
7584 if test x"$enablestring" = xdisable; then
7585 if test $wxUSE_LOG = no; then
7586 result=yes
7587 else
7588 result=no
7589 fi
7590 else
7591 result=$wxUSE_LOG
7592 fi
7593
7594 { echo "$as_me:$LINENO: result: $result" >&5
7595 echo "${ECHO_T}$result" >&6; }
7596
7597
7598 enablestring=
7599 defaultval=$wxUSE_ALL_FEATURES
7600 if test -z "$defaultval"; then
7601 if test x"$enablestring" = xdisable; then
7602 defaultval=yes
7603 else
7604 defaultval=no
7605 fi
7606 fi
7607
7608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7610 # Check whether --enable-longlong was given.
7611 if test "${enable_longlong+set}" = set; then
7612 enableval=$enable_longlong;
7613 if test "$enableval" = yes; then
7614 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7615 else
7616 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7617 fi
7618
7619 else
7620
7621 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7622
7623 fi
7624
7625
7626 eval "$wx_cv_use_longlong"
7627
7628 if test x"$enablestring" = xdisable; then
7629 if test $wxUSE_LONGLONG = no; then
7630 result=yes
7631 else
7632 result=no
7633 fi
7634 else
7635 result=$wxUSE_LONGLONG
7636 fi
7637
7638 { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7640
7641
7642 enablestring=
7643 defaultval=$wxUSE_ALL_FEATURES
7644 if test -z "$defaultval"; then
7645 if test x"$enablestring" = xdisable; then
7646 defaultval=yes
7647 else
7648 defaultval=no
7649 fi
7650 fi
7651
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7654 # Check whether --enable-mimetype was given.
7655 if test "${enable_mimetype+set}" = set; then
7656 enableval=$enable_mimetype;
7657 if test "$enableval" = yes; then
7658 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7659 else
7660 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7661 fi
7662
7663 else
7664
7665 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7666
7667 fi
7668
7669
7670 eval "$wx_cv_use_mimetype"
7671
7672 if test x"$enablestring" = xdisable; then
7673 if test $wxUSE_MIMETYPE = no; then
7674 result=yes
7675 else
7676 result=no
7677 fi
7678 else
7679 result=$wxUSE_MIMETYPE
7680 fi
7681
7682 { echo "$as_me:$LINENO: result: $result" >&5
7683 echo "${ECHO_T}$result" >&6; }
7684
7685
7686 enablestring=
7687 defaultval=$wxUSE_ALL_FEATURES
7688 if test -z "$defaultval"; then
7689 if test x"$enablestring" = xdisable; then
7690 defaultval=yes
7691 else
7692 defaultval=no
7693 fi
7694 fi
7695
7696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7697 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7698 # Check whether --enable-printfposparam was given.
7699 if test "${enable_printfposparam+set}" = set; then
7700 enableval=$enable_printfposparam;
7701 if test "$enableval" = yes; then
7702 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7703 else
7704 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7705 fi
7706
7707 else
7708
7709 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7710
7711 fi
7712
7713
7714 eval "$wx_cv_use_printfposparam"
7715
7716 if test x"$enablestring" = xdisable; then
7717 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7718 result=yes
7719 else
7720 result=no
7721 fi
7722 else
7723 result=$wxUSE_PRINTF_POS_PARAMS
7724 fi
7725
7726 { echo "$as_me:$LINENO: result: $result" >&5
7727 echo "${ECHO_T}$result" >&6; }
7728
7729
7730 enablestring=
7731 defaultval=$wxUSE_ALL_FEATURES
7732 if test -z "$defaultval"; then
7733 if test x"$enablestring" = xdisable; then
7734 defaultval=yes
7735 else
7736 defaultval=no
7737 fi
7738 fi
7739
7740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7742 # Check whether --enable-snglinst was given.
7743 if test "${enable_snglinst+set}" = set; then
7744 enableval=$enable_snglinst;
7745 if test "$enableval" = yes; then
7746 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7747 else
7748 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7749 fi
7750
7751 else
7752
7753 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7754
7755 fi
7756
7757
7758 eval "$wx_cv_use_snglinst"
7759
7760 if test x"$enablestring" = xdisable; then
7761 if test $wxUSE_SNGLINST_CHECKER = no; then
7762 result=yes
7763 else
7764 result=no
7765 fi
7766 else
7767 result=$wxUSE_SNGLINST_CHECKER
7768 fi
7769
7770 { echo "$as_me:$LINENO: result: $result" >&5
7771 echo "${ECHO_T}$result" >&6; }
7772
7773
7774 enablestring=
7775 defaultval=$wxUSE_ALL_FEATURES
7776 if test -z "$defaultval"; then
7777 if test x"$enablestring" = xdisable; then
7778 defaultval=yes
7779 else
7780 defaultval=no
7781 fi
7782 fi
7783
7784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7786 # Check whether --enable-sound was given.
7787 if test "${enable_sound+set}" = set; then
7788 enableval=$enable_sound;
7789 if test "$enableval" = yes; then
7790 wx_cv_use_sound='wxUSE_SOUND=yes'
7791 else
7792 wx_cv_use_sound='wxUSE_SOUND=no'
7793 fi
7794
7795 else
7796
7797 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7798
7799 fi
7800
7801
7802 eval "$wx_cv_use_sound"
7803
7804 if test x"$enablestring" = xdisable; then
7805 if test $wxUSE_SOUND = no; then
7806 result=yes
7807 else
7808 result=no
7809 fi
7810 else
7811 result=$wxUSE_SOUND
7812 fi
7813
7814 { echo "$as_me:$LINENO: result: $result" >&5
7815 echo "${ECHO_T}$result" >&6; }
7816
7817
7818 enablestring=
7819 defaultval=$wxUSE_ALL_FEATURES
7820 if test -z "$defaultval"; then
7821 if test x"$enablestring" = xdisable; then
7822 defaultval=yes
7823 else
7824 defaultval=no
7825 fi
7826 fi
7827
7828 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7829 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7830 # Check whether --enable-stdpaths was given.
7831 if test "${enable_stdpaths+set}" = set; then
7832 enableval=$enable_stdpaths;
7833 if test "$enableval" = yes; then
7834 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7835 else
7836 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7837 fi
7838
7839 else
7840
7841 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7842
7843 fi
7844
7845
7846 eval "$wx_cv_use_stdpaths"
7847
7848 if test x"$enablestring" = xdisable; then
7849 if test $wxUSE_STDPATHS = no; then
7850 result=yes
7851 else
7852 result=no
7853 fi
7854 else
7855 result=$wxUSE_STDPATHS
7856 fi
7857
7858 { echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6; }
7860
7861
7862 enablestring=
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7866 defaultval=yes
7867 else
7868 defaultval=no
7869 fi
7870 fi
7871
7872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7874 # Check whether --enable-stopwatch was given.
7875 if test "${enable_stopwatch+set}" = set; then
7876 enableval=$enable_stopwatch;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7879 else
7880 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7881 fi
7882
7883 else
7884
7885 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7886
7887 fi
7888
7889
7890 eval "$wx_cv_use_stopwatch"
7891
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_STOPWATCH = no; then
7894 result=yes
7895 else
7896 result=no
7897 fi
7898 else
7899 result=$wxUSE_STOPWATCH
7900 fi
7901
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7904
7905
7906 enablestring=
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7910 defaultval=yes
7911 else
7912 defaultval=no
7913 fi
7914 fi
7915
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7918 # Check whether --enable-streams was given.
7919 if test "${enable_streams+set}" = set; then
7920 enableval=$enable_streams;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_streams='wxUSE_STREAMS=yes'
7923 else
7924 wx_cv_use_streams='wxUSE_STREAMS=no'
7925 fi
7926
7927 else
7928
7929 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7930
7931 fi
7932
7933
7934 eval "$wx_cv_use_streams"
7935
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_STREAMS = no; then
7938 result=yes
7939 else
7940 result=no
7941 fi
7942 else
7943 result=$wxUSE_STREAMS
7944 fi
7945
7946 { echo "$as_me:$LINENO: result: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7948
7949
7950 enablestring=
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7954 defaultval=yes
7955 else
7956 defaultval=no
7957 fi
7958 fi
7959
7960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7961 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7962 # Check whether --enable-sysoptions was given.
7963 if test "${enable_sysoptions+set}" = set; then
7964 enableval=$enable_sysoptions;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
7967 else
7968 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
7969 fi
7970
7971 else
7972
7973 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7974
7975 fi
7976
7977
7978 eval "$wx_cv_use_sysoptions"
7979
7980 if test x"$enablestring" = xdisable; then
7981 if test $wxUSE_SYSTEM_OPTIONS = no; then
7982 result=yes
7983 else
7984 result=no
7985 fi
7986 else
7987 result=$wxUSE_SYSTEM_OPTIONS
7988 fi
7989
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7992
7993
7994 enablestring=
7995 defaultval=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x"$enablestring" = xdisable; then
7998 defaultval=yes
7999 else
8000 defaultval=no
8001 fi
8002 fi
8003
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8006 # Check whether --enable-tarstream was given.
8007 if test "${enable_tarstream+set}" = set; then
8008 enableval=$enable_tarstream;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8011 else
8012 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8013 fi
8014
8015 else
8016
8017 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8018
8019 fi
8020
8021
8022 eval "$wx_cv_use_tarstream"
8023
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_TARSTREAM = no; then
8026 result=yes
8027 else
8028 result=no
8029 fi
8030 else
8031 result=$wxUSE_TARSTREAM
8032 fi
8033
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8036
8037
8038 enablestring=
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8042 defaultval=yes
8043 else
8044 defaultval=no
8045 fi
8046 fi
8047
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8050 # Check whether --enable-textbuf was given.
8051 if test "${enable_textbuf+set}" = set; then
8052 enableval=$enable_textbuf;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8055 else
8056 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8057 fi
8058
8059 else
8060
8061 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8062
8063 fi
8064
8065
8066 eval "$wx_cv_use_textbuf"
8067
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_TEXTBUFFER = no; then
8070 result=yes
8071 else
8072 result=no
8073 fi
8074 else
8075 result=$wxUSE_TEXTBUFFER
8076 fi
8077
8078 { echo "$as_me:$LINENO: result: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8080
8081
8082 enablestring=
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8086 defaultval=yes
8087 else
8088 defaultval=no
8089 fi
8090 fi
8091
8092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8093 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8094 # Check whether --enable-textfile was given.
8095 if test "${enable_textfile+set}" = set; then
8096 enableval=$enable_textfile;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8099 else
8100 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8101 fi
8102
8103 else
8104
8105 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8106
8107 fi
8108
8109
8110 eval "$wx_cv_use_textfile"
8111
8112 if test x"$enablestring" = xdisable; then
8113 if test $wxUSE_TEXTFILE = no; then
8114 result=yes
8115 else
8116 result=no
8117 fi
8118 else
8119 result=$wxUSE_TEXTFILE
8120 fi
8121
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8124
8125
8126 enablestring=
8127 defaultval=$wxUSE_ALL_FEATURES
8128 if test -z "$defaultval"; then
8129 if test x"$enablestring" = xdisable; then
8130 defaultval=yes
8131 else
8132 defaultval=no
8133 fi
8134 fi
8135
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8138 # Check whether --enable-timer was given.
8139 if test "${enable_timer+set}" = set; then
8140 enableval=$enable_timer;
8141 if test "$enableval" = yes; then
8142 wx_cv_use_timer='wxUSE_TIMER=yes'
8143 else
8144 wx_cv_use_timer='wxUSE_TIMER=no'
8145 fi
8146
8147 else
8148
8149 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8150
8151 fi
8152
8153
8154 eval "$wx_cv_use_timer"
8155
8156 if test x"$enablestring" = xdisable; then
8157 if test $wxUSE_TIMER = no; then
8158 result=yes
8159 else
8160 result=no
8161 fi
8162 else
8163 result=$wxUSE_TIMER
8164 fi
8165
8166 { echo "$as_me:$LINENO: result: $result" >&5
8167 echo "${ECHO_T}$result" >&6; }
8168
8169
8170 enablestring=
8171 defaultval=$wxUSE_ALL_FEATURES
8172 if test -z "$defaultval"; then
8173 if test x"$enablestring" = xdisable; then
8174 defaultval=yes
8175 else
8176 defaultval=no
8177 fi
8178 fi
8179
8180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8182 # Check whether --enable-variant was given.
8183 if test "${enable_variant+set}" = set; then
8184 enableval=$enable_variant;
8185 if test "$enableval" = yes; then
8186 wx_cv_use_variant='wxUSE_VARIANT=yes'
8187 else
8188 wx_cv_use_variant='wxUSE_VARIANT=no'
8189 fi
8190
8191 else
8192
8193 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8194
8195 fi
8196
8197
8198 eval "$wx_cv_use_variant"
8199
8200 if test x"$enablestring" = xdisable; then
8201 if test $wxUSE_VARIANT = no; then
8202 result=yes
8203 else
8204 result=no
8205 fi
8206 else
8207 result=$wxUSE_VARIANT
8208 fi
8209
8210 { echo "$as_me:$LINENO: result: $result" >&5
8211 echo "${ECHO_T}$result" >&6; }
8212
8213
8214 enablestring=
8215 defaultval=$wxUSE_ALL_FEATURES
8216 if test -z "$defaultval"; then
8217 if test x"$enablestring" = xdisable; then
8218 defaultval=yes
8219 else
8220 defaultval=no
8221 fi
8222 fi
8223
8224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8226 # Check whether --enable-zipstream was given.
8227 if test "${enable_zipstream+set}" = set; then
8228 enableval=$enable_zipstream;
8229 if test "$enableval" = yes; then
8230 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8231 else
8232 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8233 fi
8234
8235 else
8236
8237 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8238
8239 fi
8240
8241
8242 eval "$wx_cv_use_zipstream"
8243
8244 if test x"$enablestring" = xdisable; then
8245 if test $wxUSE_ZIPSTREAM = no; then
8246 result=yes
8247 else
8248 result=no
8249 fi
8250 else
8251 result=$wxUSE_ZIPSTREAM
8252 fi
8253
8254 { echo "$as_me:$LINENO: result: $result" >&5
8255 echo "${ECHO_T}$result" >&6; }
8256
8257
8258
8259 enablestring=
8260 defaultval=$wxUSE_ALL_FEATURES
8261 if test -z "$defaultval"; then
8262 if test x"$enablestring" = xdisable; then
8263 defaultval=yes
8264 else
8265 defaultval=no
8266 fi
8267 fi
8268
8269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8270 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8271 # Check whether --enable-url was given.
8272 if test "${enable_url+set}" = set; then
8273 enableval=$enable_url;
8274 if test "$enableval" = yes; then
8275 wx_cv_use_url='wxUSE_URL=yes'
8276 else
8277 wx_cv_use_url='wxUSE_URL=no'
8278 fi
8279
8280 else
8281
8282 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8283
8284 fi
8285
8286
8287 eval "$wx_cv_use_url"
8288
8289 if test x"$enablestring" = xdisable; then
8290 if test $wxUSE_URL = no; then
8291 result=yes
8292 else
8293 result=no
8294 fi
8295 else
8296 result=$wxUSE_URL
8297 fi
8298
8299 { echo "$as_me:$LINENO: result: $result" >&5
8300 echo "${ECHO_T}$result" >&6; }
8301
8302
8303 enablestring=
8304 defaultval=$wxUSE_ALL_FEATURES
8305 if test -z "$defaultval"; then
8306 if test x"$enablestring" = xdisable; then
8307 defaultval=yes
8308 else
8309 defaultval=no
8310 fi
8311 fi
8312
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8315 # Check whether --enable-protocol was given.
8316 if test "${enable_protocol+set}" = set; then
8317 enableval=$enable_protocol;
8318 if test "$enableval" = yes; then
8319 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8320 else
8321 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8322 fi
8323
8324 else
8325
8326 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8327
8328 fi
8329
8330
8331 eval "$wx_cv_use_protocol"
8332
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_PROTOCOL = no; then
8335 result=yes
8336 else
8337 result=no
8338 fi
8339 else
8340 result=$wxUSE_PROTOCOL
8341 fi
8342
8343 { echo "$as_me:$LINENO: result: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8345
8346
8347 enablestring=
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8351 defaultval=yes
8352 else
8353 defaultval=no
8354 fi
8355 fi
8356
8357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8358 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8359 # Check whether --enable-protocol_http was given.
8360 if test "${enable_protocol_http+set}" = set; then
8361 enableval=$enable_protocol_http;
8362 if test "$enableval" = yes; then
8363 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8364 else
8365 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8366 fi
8367
8368 else
8369
8370 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8371
8372 fi
8373
8374
8375 eval "$wx_cv_use_protocol_http"
8376
8377 if test x"$enablestring" = xdisable; then
8378 if test $wxUSE_PROTOCOL_HTTP = no; then
8379 result=yes
8380 else
8381 result=no
8382 fi
8383 else
8384 result=$wxUSE_PROTOCOL_HTTP
8385 fi
8386
8387 { echo "$as_me:$LINENO: result: $result" >&5
8388 echo "${ECHO_T}$result" >&6; }
8389
8390
8391 enablestring=
8392 defaultval=$wxUSE_ALL_FEATURES
8393 if test -z "$defaultval"; then
8394 if test x"$enablestring" = xdisable; then
8395 defaultval=yes
8396 else
8397 defaultval=no
8398 fi
8399 fi
8400
8401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8403 # Check whether --enable-protocol_ftp was given.
8404 if test "${enable_protocol_ftp+set}" = set; then
8405 enableval=$enable_protocol_ftp;
8406 if test "$enableval" = yes; then
8407 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8408 else
8409 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8410 fi
8411
8412 else
8413
8414 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8415
8416 fi
8417
8418
8419 eval "$wx_cv_use_protocol_ftp"
8420
8421 if test x"$enablestring" = xdisable; then
8422 if test $wxUSE_PROTOCOL_FTP = no; then
8423 result=yes
8424 else
8425 result=no
8426 fi
8427 else
8428 result=$wxUSE_PROTOCOL_FTP
8429 fi
8430
8431 { echo "$as_me:$LINENO: result: $result" >&5
8432 echo "${ECHO_T}$result" >&6; }
8433
8434
8435 enablestring=
8436 defaultval=$wxUSE_ALL_FEATURES
8437 if test -z "$defaultval"; then
8438 if test x"$enablestring" = xdisable; then
8439 defaultval=yes
8440 else
8441 defaultval=no
8442 fi
8443 fi
8444
8445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8447 # Check whether --enable-protocol_file was given.
8448 if test "${enable_protocol_file+set}" = set; then
8449 enableval=$enable_protocol_file;
8450 if test "$enableval" = yes; then
8451 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8452 else
8453 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8454 fi
8455
8456 else
8457
8458 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8459
8460 fi
8461
8462
8463 eval "$wx_cv_use_protocol_file"
8464
8465 if test x"$enablestring" = xdisable; then
8466 if test $wxUSE_PROTOCOL_FILE = no; then
8467 result=yes
8468 else
8469 result=no
8470 fi
8471 else
8472 result=$wxUSE_PROTOCOL_FILE
8473 fi
8474
8475 { echo "$as_me:$LINENO: result: $result" >&5
8476 echo "${ECHO_T}$result" >&6; }
8477
8478
8479
8480 enablestring=
8481 defaultval=$wxUSE_ALL_FEATURES
8482 if test -z "$defaultval"; then
8483 if test x"$enablestring" = xdisable; then
8484 defaultval=yes
8485 else
8486 defaultval=no
8487 fi
8488 fi
8489
8490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8492 # Check whether --enable-threads was given.
8493 if test "${enable_threads+set}" = set; then
8494 enableval=$enable_threads;
8495 if test "$enableval" = yes; then
8496 wx_cv_use_threads='wxUSE_THREADS=yes'
8497 else
8498 wx_cv_use_threads='wxUSE_THREADS=no'
8499 fi
8500
8501 else
8502
8503 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8504
8505 fi
8506
8507
8508 eval "$wx_cv_use_threads"
8509
8510 if test x"$enablestring" = xdisable; then
8511 if test $wxUSE_THREADS = no; then
8512 result=yes
8513 else
8514 result=no
8515 fi
8516 else
8517 result=$wxUSE_THREADS
8518 fi
8519
8520 { echo "$as_me:$LINENO: result: $result" >&5
8521 echo "${ECHO_T}$result" >&6; }
8522
8523
8524
8525 enablestring=
8526 defaultval=
8527 if test -z "$defaultval"; then
8528 if test x"$enablestring" = xdisable; then
8529 defaultval=yes
8530 else
8531 defaultval=no
8532 fi
8533 fi
8534
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8537 # Check whether --enable-iniconf was given.
8538 if test "${enable_iniconf+set}" = set; then
8539 enableval=$enable_iniconf;
8540 if test "$enableval" = yes; then
8541 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8542 else
8543 wx_cv_use_iniconf='wxUSE_INICONF=no'
8544 fi
8545
8546 else
8547
8548 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8549
8550 fi
8551
8552
8553 eval "$wx_cv_use_iniconf"
8554
8555 if test x"$enablestring" = xdisable; then
8556 if test $wxUSE_INICONF = no; then
8557 result=yes
8558 else
8559 result=no
8560 fi
8561 else
8562 result=$wxUSE_INICONF
8563 fi
8564
8565 { echo "$as_me:$LINENO: result: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8567
8568
8569 enablestring=
8570 defaultval=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8573 defaultval=yes
8574 else
8575 defaultval=no
8576 fi
8577 fi
8578
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8581 # Check whether --enable-regkey was given.
8582 if test "${enable_regkey+set}" = set; then
8583 enableval=$enable_regkey;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8586 else
8587 wx_cv_use_regkey='wxUSE_REGKEY=no'
8588 fi
8589
8590 else
8591
8592 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8593
8594 fi
8595
8596
8597 eval "$wx_cv_use_regkey"
8598
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_REGKEY = no; then
8601 result=yes
8602 else
8603 result=no
8604 fi
8605 else
8606 result=$wxUSE_REGKEY
8607 fi
8608
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8611
8612
8613 if test "$wxUSE_GUI" = "yes"; then
8614
8615
8616
8617 enablestring=
8618 defaultval=$wxUSE_ALL_FEATURES
8619 if test -z "$defaultval"; then
8620 if test x"$enablestring" = xdisable; then
8621 defaultval=yes
8622 else
8623 defaultval=no
8624 fi
8625 fi
8626
8627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8628 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8629 # Check whether --enable-docview was given.
8630 if test "${enable_docview+set}" = set; then
8631 enableval=$enable_docview;
8632 if test "$enableval" = yes; then
8633 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8634 else
8635 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8636 fi
8637
8638 else
8639
8640 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8641
8642 fi
8643
8644
8645 eval "$wx_cv_use_docview"
8646
8647 if test x"$enablestring" = xdisable; then
8648 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8649 result=yes
8650 else
8651 result=no
8652 fi
8653 else
8654 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8655 fi
8656
8657 { echo "$as_me:$LINENO: result: $result" >&5
8658 echo "${ECHO_T}$result" >&6; }
8659
8660
8661 enablestring=
8662 defaultval=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x"$enablestring" = xdisable; then
8665 defaultval=yes
8666 else
8667 defaultval=no
8668 fi
8669 fi
8670
8671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8673 # Check whether --enable-help was given.
8674 if test "${enable_help+set}" = set; then
8675 enableval=$enable_help;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_help='wxUSE_HELP=yes'
8678 else
8679 wx_cv_use_help='wxUSE_HELP=no'
8680 fi
8681
8682 else
8683
8684 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8685
8686 fi
8687
8688
8689 eval "$wx_cv_use_help"
8690
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_HELP = no; then
8693 result=yes
8694 else
8695 result=no
8696 fi
8697 else
8698 result=$wxUSE_HELP
8699 fi
8700
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8703
8704
8705 enablestring=
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8709 defaultval=yes
8710 else
8711 defaultval=no
8712 fi
8713 fi
8714
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8717 # Check whether --enable-mshtmlhelp was given.
8718 if test "${enable_mshtmlhelp+set}" = set; then
8719 enableval=$enable_mshtmlhelp;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8722 else
8723 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8724 fi
8725
8726 else
8727
8728 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8729
8730 fi
8731
8732
8733 eval "$wx_cv_use_mshtmlhelp"
8734
8735 if test x"$enablestring" = xdisable; then
8736 if test $wxUSE_MS_HTML_HELP = no; then
8737 result=yes
8738 else
8739 result=no
8740 fi
8741 else
8742 result=$wxUSE_MS_HTML_HELP
8743 fi
8744
8745 { echo "$as_me:$LINENO: result: $result" >&5
8746 echo "${ECHO_T}$result" >&6; }
8747
8748
8749 enablestring=
8750 defaultval=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x"$enablestring" = xdisable; then
8753 defaultval=yes
8754 else
8755 defaultval=no
8756 fi
8757 fi
8758
8759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8760 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8761 # Check whether --enable-html was given.
8762 if test "${enable_html+set}" = set; then
8763 enableval=$enable_html;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_html='wxUSE_HTML=yes'
8766 else
8767 wx_cv_use_html='wxUSE_HTML=no'
8768 fi
8769
8770 else
8771
8772 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8773
8774 fi
8775
8776
8777 eval "$wx_cv_use_html"
8778
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_HTML = no; then
8781 result=yes
8782 else
8783 result=no
8784 fi
8785 else
8786 result=$wxUSE_HTML
8787 fi
8788
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8791
8792
8793 enablestring=
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8797 defaultval=yes
8798 else
8799 defaultval=no
8800 fi
8801 fi
8802
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8805 # Check whether --enable-htmlhelp was given.
8806 if test "${enable_htmlhelp+set}" = set; then
8807 enableval=$enable_htmlhelp;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8810 else
8811 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8812 fi
8813
8814 else
8815
8816 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8817
8818 fi
8819
8820
8821 eval "$wx_cv_use_htmlhelp"
8822
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_WXHTML_HELP = no; then
8825 result=yes
8826 else
8827 result=no
8828 fi
8829 else
8830 result=$wxUSE_WXHTML_HELP
8831 fi
8832
8833 { echo "$as_me:$LINENO: result: $result" >&5
8834 echo "${ECHO_T}$result" >&6; }
8835
8836
8837 enablestring=
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8841 defaultval=yes
8842 else
8843 defaultval=no
8844 fi
8845 fi
8846
8847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8849 # Check whether --enable-xrc was given.
8850 if test "${enable_xrc+set}" = set; then
8851 enableval=$enable_xrc;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_xrc='wxUSE_XRC=yes'
8854 else
8855 wx_cv_use_xrc='wxUSE_XRC=no'
8856 fi
8857
8858 else
8859
8860 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8861
8862 fi
8863
8864
8865 eval "$wx_cv_use_xrc"
8866
8867 if test x"$enablestring" = xdisable; then
8868 if test $wxUSE_XRC = no; then
8869 result=yes
8870 else
8871 result=no
8872 fi
8873 else
8874 result=$wxUSE_XRC
8875 fi
8876
8877 { echo "$as_me:$LINENO: result: $result" >&5
8878 echo "${ECHO_T}$result" >&6; }
8879
8880
8881 enablestring=
8882 defaultval=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x"$enablestring" = xdisable; then
8885 defaultval=yes
8886 else
8887 defaultval=no
8888 fi
8889 fi
8890
8891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8893 # Check whether --enable-aui was given.
8894 if test "${enable_aui+set}" = set; then
8895 enableval=$enable_aui;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_aui='wxUSE_AUI=yes'
8898 else
8899 wx_cv_use_aui='wxUSE_AUI=no'
8900 fi
8901
8902 else
8903
8904 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8905
8906 fi
8907
8908
8909 eval "$wx_cv_use_aui"
8910
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_AUI = no; then
8913 result=yes
8914 else
8915 result=no
8916 fi
8917 else
8918 result=$wxUSE_AUI
8919 fi
8920
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8923
8924
8925 enablestring=
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8929 defaultval=yes
8930 else
8931 defaultval=no
8932 fi
8933 fi
8934
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8937 # Check whether --enable-propgrid was given.
8938 if test "${enable_propgrid+set}" = set; then
8939 enableval=$enable_propgrid;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8942 else
8943 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8944 fi
8945
8946 else
8947
8948 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8949
8950 fi
8951
8952
8953 eval "$wx_cv_use_propgrid"
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_PROPGRID = no; then
8957 result=yes
8958 else
8959 result=no
8960 fi
8961 else
8962 result=$wxUSE_PROPGRID
8963 fi
8964
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8967
8968
8969 enablestring=
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8973 defaultval=yes
8974 else
8975 defaultval=no
8976 fi
8977 fi
8978
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
8981 # Check whether --enable-ribbon was given.
8982 if test "${enable_ribbon+set}" = set; then
8983 enableval=$enable_ribbon;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8986 else
8987 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8988 fi
8989
8990 else
8991
8992 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8993
8994 fi
8995
8996
8997 eval "$wx_cv_use_ribbon"
8998
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_RIBBON = no; then
9001 result=yes
9002 else
9003 result=no
9004 fi
9005 else
9006 result=$wxUSE_RIBBON
9007 fi
9008
9009 { echo "$as_me:$LINENO: result: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9024 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9025 # Check whether --enable-stc was given.
9026 if test "${enable_stc+set}" = set; then
9027 enableval=$enable_stc;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_stc='wxUSE_STC=yes'
9030 else
9031 wx_cv_use_stc='wxUSE_STC=no'
9032 fi
9033
9034 else
9035
9036 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9037
9038 fi
9039
9040
9041 eval "$wx_cv_use_stc"
9042
9043 if test x"$enablestring" = xdisable; then
9044 if test $wxUSE_STC = no; then
9045 result=yes
9046 else
9047 result=no
9048 fi
9049 else
9050 result=$wxUSE_STC
9051 fi
9052
9053 { echo "$as_me:$LINENO: result: $result" >&5
9054 echo "${ECHO_T}$result" >&6; }
9055
9056
9057 enablestring=
9058 defaultval=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x"$enablestring" = xdisable; then
9061 defaultval=yes
9062 else
9063 defaultval=no
9064 fi
9065 fi
9066
9067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9069 # Check whether --enable-constraints was given.
9070 if test "${enable_constraints+set}" = set; then
9071 enableval=$enable_constraints;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9074 else
9075 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9076 fi
9077
9078 else
9079
9080 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9081
9082 fi
9083
9084
9085 eval "$wx_cv_use_constraints"
9086
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_CONSTRAINTS = no; then
9089 result=yes
9090 else
9091 result=no
9092 fi
9093 else
9094 result=$wxUSE_CONSTRAINTS
9095 fi
9096
9097 { echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6; }
9099
9100
9101 enablestring=
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9105 defaultval=yes
9106 else
9107 defaultval=no
9108 fi
9109 fi
9110
9111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9113 # Check whether --enable-loggui was given.
9114 if test "${enable_loggui+set}" = set; then
9115 enableval=$enable_loggui;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9118 else
9119 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9120 fi
9121
9122 else
9123
9124 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9125
9126 fi
9127
9128
9129 eval "$wx_cv_use_loggui"
9130
9131 if test x"$enablestring" = xdisable; then
9132 if test $wxUSE_LOGGUI = no; then
9133 result=yes
9134 else
9135 result=no
9136 fi
9137 else
9138 result=$wxUSE_LOGGUI
9139 fi
9140
9141 { echo "$as_me:$LINENO: result: $result" >&5
9142 echo "${ECHO_T}$result" >&6; }
9143
9144
9145 enablestring=
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9149 defaultval=yes
9150 else
9151 defaultval=no
9152 fi
9153 fi
9154
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9157 # Check whether --enable-logwin was given.
9158 if test "${enable_logwin+set}" = set; then
9159 enableval=$enable_logwin;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9162 else
9163 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9164 fi
9165
9166 else
9167
9168 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9169
9170 fi
9171
9172
9173 eval "$wx_cv_use_logwin"
9174
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_LOGWINDOW = no; then
9177 result=yes
9178 else
9179 result=no
9180 fi
9181 else
9182 result=$wxUSE_LOGWINDOW
9183 fi
9184
9185 { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9187
9188
9189 enablestring=
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9193 defaultval=yes
9194 else
9195 defaultval=no
9196 fi
9197 fi
9198
9199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9201 # Check whether --enable-logdialog was given.
9202 if test "${enable_logdialog+set}" = set; then
9203 enableval=$enable_logdialog;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9206 else
9207 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9208 fi
9209
9210 else
9211
9212 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9213
9214 fi
9215
9216
9217 eval "$wx_cv_use_logdialog"
9218
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_LOGDIALOG = no; then
9221 result=yes
9222 else
9223 result=no
9224 fi
9225 else
9226 result=$wxUSE_LOGDIALOG
9227 fi
9228
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9231
9232
9233 enablestring=
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9237 defaultval=yes
9238 else
9239 defaultval=no
9240 fi
9241 fi
9242
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9245 # Check whether --enable-mdi was given.
9246 if test "${enable_mdi+set}" = set; then
9247 enableval=$enable_mdi;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_mdi='wxUSE_MDI=yes'
9250 else
9251 wx_cv_use_mdi='wxUSE_MDI=no'
9252 fi
9253
9254 else
9255
9256 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9257
9258 fi
9259
9260
9261 eval "$wx_cv_use_mdi"
9262
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_MDI = no; then
9265 result=yes
9266 else
9267 result=no
9268 fi
9269 else
9270 result=$wxUSE_MDI
9271 fi
9272
9273 { echo "$as_me:$LINENO: result: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9275
9276
9277 enablestring=
9278 defaultval=$wxUSE_ALL_FEATURES
9279 if test -z "$defaultval"; then
9280 if test x"$enablestring" = xdisable; then
9281 defaultval=yes
9282 else
9283 defaultval=no
9284 fi
9285 fi
9286
9287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9288 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9289 # Check whether --enable-mdidoc was given.
9290 if test "${enable_mdidoc+set}" = set; then
9291 enableval=$enable_mdidoc;
9292 if test "$enableval" = yes; then
9293 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9294 else
9295 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9296 fi
9297
9298 else
9299
9300 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9301
9302 fi
9303
9304
9305 eval "$wx_cv_use_mdidoc"
9306
9307 if test x"$enablestring" = xdisable; then
9308 if test $wxUSE_MDI_ARCHITECTURE = no; then
9309 result=yes
9310 else
9311 result=no
9312 fi
9313 else
9314 result=$wxUSE_MDI_ARCHITECTURE
9315 fi
9316
9317 { echo "$as_me:$LINENO: result: $result" >&5
9318 echo "${ECHO_T}$result" >&6; }
9319
9320
9321 enablestring=
9322 defaultval=$wxUSE_ALL_FEATURES
9323 if test -z "$defaultval"; then
9324 if test x"$enablestring" = xdisable; then
9325 defaultval=yes
9326 else
9327 defaultval=no
9328 fi
9329 fi
9330
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9333 # Check whether --enable-mediactrl was given.
9334 if test "${enable_mediactrl+set}" = set; then
9335 enableval=$enable_mediactrl;
9336 if test "$enableval" = yes; then
9337 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9338 else
9339 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9340 fi
9341
9342 else
9343
9344 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9345
9346 fi
9347
9348
9349 eval "$wx_cv_use_mediactrl"
9350
9351 if test x"$enablestring" = xdisable; then
9352 if test $wxUSE_MEDIACTRL = no; then
9353 result=yes
9354 else
9355 result=no
9356 fi
9357 else
9358 result=$wxUSE_MEDIACTRL
9359 fi
9360
9361 { echo "$as_me:$LINENO: result: $result" >&5
9362 echo "${ECHO_T}$result" >&6; }
9363
9364
9365 enablestring=
9366 defaultval=$wxUSE_ALL_FEATURES
9367 if test -z "$defaultval"; then
9368 if test x"$enablestring" = xdisable; then
9369 defaultval=yes
9370 else
9371 defaultval=no
9372 fi
9373 fi
9374
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9377 # Check whether --enable-gstreamer8 was given.
9378 if test "${enable_gstreamer8+set}" = set; then
9379 enableval=$enable_gstreamer8;
9380 if test "$enableval" = yes; then
9381 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9382 else
9383 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9384 fi
9385
9386 else
9387
9388 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9389
9390 fi
9391
9392
9393 eval "$wx_cv_use_gstreamer8"
9394
9395 if test x"$enablestring" = xdisable; then
9396 if test $wxUSE_GSTREAMER8 = no; then
9397 result=yes
9398 else
9399 result=no
9400 fi
9401 else
9402 result=$wxUSE_GSTREAMER8
9403 fi
9404
9405 { echo "$as_me:$LINENO: result: $result" >&5
9406 echo "${ECHO_T}$result" >&6; }
9407
9408
9409 enablestring=
9410 defaultval=$wxUSE_ALL_FEATURES
9411 if test -z "$defaultval"; then
9412 if test x"$enablestring" = xdisable; then
9413 defaultval=yes
9414 else
9415 defaultval=no
9416 fi
9417 fi
9418
9419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9420 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9421 # Check whether --enable-webkit was given.
9422 if test "${enable_webkit+set}" = set; then
9423 enableval=$enable_webkit;
9424 if test "$enableval" = yes; then
9425 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9426 else
9427 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9428 fi
9429
9430 else
9431
9432 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9433
9434 fi
9435
9436
9437 eval "$wx_cv_use_webkit"
9438
9439 if test x"$enablestring" = xdisable; then
9440 if test $wxUSE_WEBKIT = no; then
9441 result=yes
9442 else
9443 result=no
9444 fi
9445 else
9446 result=$wxUSE_WEBKIT
9447 fi
9448
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9451
9452
9453 enablestring=
9454 defaultval=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x"$enablestring" = xdisable; then
9457 defaultval=yes
9458 else
9459 defaultval=no
9460 fi
9461 fi
9462
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9465 # Check whether --enable-richtext was given.
9466 if test "${enable_richtext+set}" = set; then
9467 enableval=$enable_richtext;
9468 if test "$enableval" = yes; then
9469 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9470 else
9471 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9472 fi
9473
9474 else
9475
9476 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9477
9478 fi
9479
9480
9481 eval "$wx_cv_use_richtext"
9482
9483 if test x"$enablestring" = xdisable; then
9484 if test $wxUSE_RICHTEXT = no; then
9485 result=yes
9486 else
9487 result=no
9488 fi
9489 else
9490 result=$wxUSE_RICHTEXT
9491 fi
9492
9493 { echo "$as_me:$LINENO: result: $result" >&5
9494 echo "${ECHO_T}$result" >&6; }
9495
9496
9497 enablestring=
9498 defaultval=$wxUSE_ALL_FEATURES
9499 if test -z "$defaultval"; then
9500 if test x"$enablestring" = xdisable; then
9501 defaultval=yes
9502 else
9503 defaultval=no
9504 fi
9505 fi
9506
9507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9508 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9509 # Check whether --enable-postscript was given.
9510 if test "${enable_postscript+set}" = set; then
9511 enableval=$enable_postscript;
9512 if test "$enableval" = yes; then
9513 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9514 else
9515 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9516 fi
9517
9518 else
9519
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9521
9522 fi
9523
9524
9525 eval "$wx_cv_use_postscript"
9526
9527 if test x"$enablestring" = xdisable; then
9528 if test $wxUSE_POSTSCRIPT = no; then
9529 result=yes
9530 else
9531 result=no
9532 fi
9533 else
9534 result=$wxUSE_POSTSCRIPT
9535 fi
9536
9537 { echo "$as_me:$LINENO: result: $result" >&5
9538 echo "${ECHO_T}$result" >&6; }
9539
9540
9541 enablestring=
9542 defaultval=$wxUSE_ALL_FEATURES
9543 if test -z "$defaultval"; then
9544 if test x"$enablestring" = xdisable; then
9545 defaultval=yes
9546 else
9547 defaultval=no
9548 fi
9549 fi
9550
9551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9552 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9553 # Check whether --enable-printarch was given.
9554 if test "${enable_printarch+set}" = set; then
9555 enableval=$enable_printarch;
9556 if test "$enableval" = yes; then
9557 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9558 else
9559 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9560 fi
9561
9562 else
9563
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9565
9566 fi
9567
9568
9569 eval "$wx_cv_use_printarch"
9570
9571 if test x"$enablestring" = xdisable; then
9572 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9573 result=yes
9574 else
9575 result=no
9576 fi
9577 else
9578 result=$wxUSE_PRINTING_ARCHITECTURE
9579 fi
9580
9581 { echo "$as_me:$LINENO: result: $result" >&5
9582 echo "${ECHO_T}$result" >&6; }
9583
9584
9585 enablestring=
9586 defaultval=$wxUSE_ALL_FEATURES
9587 if test -z "$defaultval"; then
9588 if test x"$enablestring" = xdisable; then
9589 defaultval=yes
9590 else
9591 defaultval=no
9592 fi
9593 fi
9594
9595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9596 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9597 # Check whether --enable-svg was given.
9598 if test "${enable_svg+set}" = set; then
9599 enableval=$enable_svg;
9600 if test "$enableval" = yes; then
9601 wx_cv_use_svg='wxUSE_SVG=yes'
9602 else
9603 wx_cv_use_svg='wxUSE_SVG=no'
9604 fi
9605
9606 else
9607
9608 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9609
9610 fi
9611
9612
9613 eval "$wx_cv_use_svg"
9614
9615 if test x"$enablestring" = xdisable; then
9616 if test $wxUSE_SVG = no; then
9617 result=yes
9618 else
9619 result=no
9620 fi
9621 else
9622 result=$wxUSE_SVG
9623 fi
9624
9625 { echo "$as_me:$LINENO: result: $result" >&5
9626 echo "${ECHO_T}$result" >&6; }
9627
9628
9629 if test "$wxUSE_MAC" != 1; then
9630
9631 enablestring=
9632 defaultval=$wxUSE_ALL_FEATURES
9633 if test -z "$defaultval"; then
9634 if test x"$enablestring" = xdisable; then
9635 defaultval=yes
9636 else
9637 defaultval=no
9638 fi
9639 fi
9640
9641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9642 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9643 # Check whether --enable-graphics_ctx was given.
9644 if test "${enable_graphics_ctx+set}" = set; then
9645 enableval=$enable_graphics_ctx;
9646 if test "$enableval" = yes; then
9647 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9648 else
9649 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9650 fi
9651
9652 else
9653
9654 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9655
9656 fi
9657
9658
9659 eval "$wx_cv_use_graphics_ctx"
9660
9661 if test x"$enablestring" = xdisable; then
9662 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9663 result=yes
9664 else
9665 result=no
9666 fi
9667 else
9668 result=$wxUSE_GRAPHICS_CONTEXT
9669 fi
9670
9671 { echo "$as_me:$LINENO: result: $result" >&5
9672 echo "${ECHO_T}$result" >&6; }
9673
9674 fi
9675
9676
9677
9678 enablestring=
9679 defaultval=$wxUSE_ALL_FEATURES
9680 if test -z "$defaultval"; then
9681 if test x"$enablestring" = xdisable; then
9682 defaultval=yes
9683 else
9684 defaultval=no
9685 fi
9686 fi
9687
9688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9689 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9690 # Check whether --enable-clipboard was given.
9691 if test "${enable_clipboard+set}" = set; then
9692 enableval=$enable_clipboard;
9693 if test "$enableval" = yes; then
9694 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9695 else
9696 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9697 fi
9698
9699 else
9700
9701 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9702
9703 fi
9704
9705
9706 eval "$wx_cv_use_clipboard"
9707
9708 if test x"$enablestring" = xdisable; then
9709 if test $wxUSE_CLIPBOARD = no; then
9710 result=yes
9711 else
9712 result=no
9713 fi
9714 else
9715 result=$wxUSE_CLIPBOARD
9716 fi
9717
9718 { echo "$as_me:$LINENO: result: $result" >&5
9719 echo "${ECHO_T}$result" >&6; }
9720
9721
9722 enablestring=
9723 defaultval=$wxUSE_ALL_FEATURES
9724 if test -z "$defaultval"; then
9725 if test x"$enablestring" = xdisable; then
9726 defaultval=yes
9727 else
9728 defaultval=no
9729 fi
9730 fi
9731
9732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9733 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9734 # Check whether --enable-dnd was given.
9735 if test "${enable_dnd+set}" = set; then
9736 enableval=$enable_dnd;
9737 if test "$enableval" = yes; then
9738 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9739 else
9740 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9741 fi
9742
9743 else
9744
9745 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9746
9747 fi
9748
9749
9750 eval "$wx_cv_use_dnd"
9751
9752 if test x"$enablestring" = xdisable; then
9753 if test $wxUSE_DRAG_AND_DROP = no; then
9754 result=yes
9755 else
9756 result=no
9757 fi
9758 else
9759 result=$wxUSE_DRAG_AND_DROP
9760 fi
9761
9762 { echo "$as_me:$LINENO: result: $result" >&5
9763 echo "${ECHO_T}$result" >&6; }
9764
9765
9766
9767 DEFAULT_wxUSE_CONTROLS=none
9768
9769 enablestring=disable
9770 defaultval=
9771 if test -z "$defaultval"; then
9772 if test x"$enablestring" = xdisable; then
9773 defaultval=yes
9774 else
9775 defaultval=no
9776 fi
9777 fi
9778
9779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9780 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9781 # Check whether --enable-controls was given.
9782 if test "${enable_controls+set}" = set; then
9783 enableval=$enable_controls;
9784 if test "$enableval" = yes; then
9785 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9786 else
9787 wx_cv_use_controls='wxUSE_CONTROLS=no'
9788 fi
9789
9790 else
9791
9792 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9793
9794 fi
9795
9796
9797 eval "$wx_cv_use_controls"
9798
9799 if test x"$enablestring" = xdisable; then
9800 if test $wxUSE_CONTROLS = no; then
9801 result=yes
9802 else
9803 result=no
9804 fi
9805 else
9806 result=$wxUSE_CONTROLS
9807 fi
9808
9809 { echo "$as_me:$LINENO: result: $result" >&5
9810 echo "${ECHO_T}$result" >&6; }
9811
9812
9813 if test "$wxUSE_CONTROLS" = "no"; then
9814 DEFAULT_wxUSE_ACCEL=no
9815 DEFAULT_wxUSE_ANIMATIONCTRL=no
9816 DEFAULT_wxUSE_BANNERWINDOW=no
9817 DEFAULT_wxUSE_BMPBUTTON=no
9818 DEFAULT_wxUSE_BUTTON=no
9819 DEFAULT_wxUSE_CALCTRL=no
9820 DEFAULT_wxUSE_CARET=no
9821 DEFAULT_wxUSE_CHECKBOX=no
9822 DEFAULT_wxUSE_CHECKLISTBOX=no
9823 DEFAULT_wxUSE_CHOICE=no
9824 DEFAULT_wxUSE_CHOICEBOOK=no
9825 DEFAULT_wxUSE_COLLPANE=no
9826 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9827 DEFAULT_wxUSE_COMBOBOX=no
9828 DEFAULT_wxUSE_COMBOBOX=no
9829 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9830 DEFAULT_wxUSE_DATAVIEWCTRL=no
9831 DEFAULT_wxUSE_DATEPICKCTRL=no
9832 DEFAULT_wxUSE_DETECT_SM=no
9833 DEFAULT_wxUSE_DIRPICKERCTRL=no
9834 DEFAULT_wxUSE_DISPLAY=no
9835 DEFAULT_wxUSE_FILECTRL=no
9836 DEFAULT_wxUSE_FILEPICKERCTRL=no
9837 DEFAULT_wxUSE_FONTPICKERCTRL=no
9838 DEFAULT_wxUSE_GAUGE=no
9839 DEFAULT_wxUSE_GRID=no
9840 DEFAULT_wxUSE_HEADERCTRL=no
9841 DEFAULT_wxUSE_HYPERLINKCTRL=no
9842 DEFAULT_wxUSE_IMAGLIST=no
9843 DEFAULT_wxUSE_LISTBOOK=no
9844 DEFAULT_wxUSE_LISTBOX=no
9845 DEFAULT_wxUSE_LISTCTRL=no
9846 DEFAULT_wxUSE_MARKUP=no
9847 DEFAULT_wxUSE_NOTEBOOK=no
9848 DEFAULT_wxUSE_POPUPWIN=no
9849 DEFAULT_wxUSE_RADIOBOX=no
9850 DEFAULT_wxUSE_RADIOBTN=no
9851 DEFAULT_wxUSE_RICHMSGDLG=no
9852 DEFAULT_wxUSE_REARRANGECTRL=no
9853 DEFAULT_wxUSE_SASH=no
9854 DEFAULT_wxUSE_SCROLLBAR=no
9855 DEFAULT_wxUSE_SEARCHCTRL=no
9856 DEFAULT_wxUSE_SLIDER=no
9857 DEFAULT_wxUSE_SPINBTN=no
9858 DEFAULT_wxUSE_SPINCTRL=no
9859 DEFAULT_wxUSE_SPLITTER=no
9860 DEFAULT_wxUSE_STATBMP=no
9861 DEFAULT_wxUSE_STATBOX=no
9862 DEFAULT_wxUSE_STATLINE=no
9863 DEFAULT_wxUSE_STATUSBAR=no
9864 DEFAULT_wxUSE_TIPWINDOW=no
9865 DEFAULT_wxUSE_TOGGLEBTN=no
9866 DEFAULT_wxUSE_TOOLBAR=no
9867 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9868 DEFAULT_wxUSE_TOOLBOOK=no
9869 DEFAULT_wxUSE_TOOLTIPS=no
9870 DEFAULT_wxUSE_TREEBOOK=no
9871 DEFAULT_wxUSE_TREECTRL=no
9872 DEFAULT_wxUSE_TREELISTCTRL=no
9873 fi
9874
9875
9876 enablestring=
9877 defaultval=$wxUSE_ALL_FEATURES
9878 if test -z "$defaultval"; then
9879 if test x"$enablestring" = xdisable; then
9880 defaultval=yes
9881 else
9882 defaultval=no
9883 fi
9884 fi
9885
9886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9887 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9888 # Check whether --enable-markup was given.
9889 if test "${enable_markup+set}" = set; then
9890 enableval=$enable_markup;
9891 if test "$enableval" = yes; then
9892 wx_cv_use_markup='wxUSE_MARKUP=yes'
9893 else
9894 wx_cv_use_markup='wxUSE_MARKUP=no'
9895 fi
9896
9897 else
9898
9899 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9900
9901 fi
9902
9903
9904 eval "$wx_cv_use_markup"
9905
9906 if test x"$enablestring" = xdisable; then
9907 if test $wxUSE_MARKUP = no; then
9908 result=yes
9909 else
9910 result=no
9911 fi
9912 else
9913 result=$wxUSE_MARKUP
9914 fi
9915
9916 { echo "$as_me:$LINENO: result: $result" >&5
9917 echo "${ECHO_T}$result" >&6; }
9918
9919
9920
9921 enablestring=
9922 defaultval=$wxUSE_ALL_FEATURES
9923 if test -z "$defaultval"; then
9924 if test x"$enablestring" = xdisable; then
9925 defaultval=yes
9926 else
9927 defaultval=no
9928 fi
9929 fi
9930
9931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9932 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9933 # Check whether --enable-accel was given.
9934 if test "${enable_accel+set}" = set; then
9935 enableval=$enable_accel;
9936 if test "$enableval" = yes; then
9937 wx_cv_use_accel='wxUSE_ACCEL=yes'
9938 else
9939 wx_cv_use_accel='wxUSE_ACCEL=no'
9940 fi
9941
9942 else
9943
9944 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9945
9946 fi
9947
9948
9949 eval "$wx_cv_use_accel"
9950
9951 if test x"$enablestring" = xdisable; then
9952 if test $wxUSE_ACCEL = no; then
9953 result=yes
9954 else
9955 result=no
9956 fi
9957 else
9958 result=$wxUSE_ACCEL
9959 fi
9960
9961 { echo "$as_me:$LINENO: result: $result" >&5
9962 echo "${ECHO_T}$result" >&6; }
9963
9964
9965 enablestring=
9966 defaultval=$wxUSE_ALL_FEATURES
9967 if test -z "$defaultval"; then
9968 if test x"$enablestring" = xdisable; then
9969 defaultval=yes
9970 else
9971 defaultval=no
9972 fi
9973 fi
9974
9975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9976 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9977 # Check whether --enable-animatectrl was given.
9978 if test "${enable_animatectrl+set}" = set; then
9979 enableval=$enable_animatectrl;
9980 if test "$enableval" = yes; then
9981 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9982 else
9983 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9984 fi
9985
9986 else
9987
9988 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9989
9990 fi
9991
9992
9993 eval "$wx_cv_use_animatectrl"
9994
9995 if test x"$enablestring" = xdisable; then
9996 if test $wxUSE_ANIMATIONCTRL = no; then
9997 result=yes
9998 else
9999 result=no
10000 fi
10001 else
10002 result=$wxUSE_ANIMATIONCTRL
10003 fi
10004
10005 { echo "$as_me:$LINENO: result: $result" >&5
10006 echo "${ECHO_T}$result" >&6; }
10007
10008
10009 enablestring=
10010 defaultval=$wxUSE_ALL_FEATURES
10011 if test -z "$defaultval"; then
10012 if test x"$enablestring" = xdisable; then
10013 defaultval=yes
10014 else
10015 defaultval=no
10016 fi
10017 fi
10018
10019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10020 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10021 # Check whether --enable-bannerwindow was given.
10022 if test "${enable_bannerwindow+set}" = set; then
10023 enableval=$enable_bannerwindow;
10024 if test "$enableval" = yes; then
10025 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10026 else
10027 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10028 fi
10029
10030 else
10031
10032 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10033
10034 fi
10035
10036
10037 eval "$wx_cv_use_bannerwindow"
10038
10039 if test x"$enablestring" = xdisable; then
10040 if test $wxUSE_BANNERWINDOW = no; then
10041 result=yes
10042 else
10043 result=no
10044 fi
10045 else
10046 result=$wxUSE_BANNERWINDOW
10047 fi
10048
10049 { echo "$as_me:$LINENO: result: $result" >&5
10050 echo "${ECHO_T}$result" >&6; }
10051
10052
10053 enablestring=
10054 defaultval=$wxUSE_ALL_FEATURES
10055 if test -z "$defaultval"; then
10056 if test x"$enablestring" = xdisable; then
10057 defaultval=yes
10058 else
10059 defaultval=no
10060 fi
10061 fi
10062
10063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10065 # Check whether --enable-artstd was given.
10066 if test "${enable_artstd+set}" = set; then
10067 enableval=$enable_artstd;
10068 if test "$enableval" = yes; then
10069 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10070 else
10071 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10072 fi
10073
10074 else
10075
10076 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10077
10078 fi
10079
10080
10081 eval "$wx_cv_use_artstd"
10082
10083 if test x"$enablestring" = xdisable; then
10084 if test $wxUSE_ARTPROVIDER_STD = no; then
10085 result=yes
10086 else
10087 result=no
10088 fi
10089 else
10090 result=$wxUSE_ARTPROVIDER_STD
10091 fi
10092
10093 { echo "$as_me:$LINENO: result: $result" >&5
10094 echo "${ECHO_T}$result" >&6; }
10095
10096
10097 enablestring=
10098 defaultval=$wxUSE_ALL_FEATURES
10099 if test -z "$defaultval"; then
10100 if test x"$enablestring" = xdisable; then
10101 defaultval=yes
10102 else
10103 defaultval=no
10104 fi
10105 fi
10106
10107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10108 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10109 # Check whether --enable-arttango was given.
10110 if test "${enable_arttango+set}" = set; then
10111 enableval=$enable_arttango;
10112 if test "$enableval" = yes; then
10113 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10114 else
10115 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10116 fi
10117
10118 else
10119
10120 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10121
10122 fi
10123
10124
10125 eval "$wx_cv_use_arttango"
10126
10127 if test x"$enablestring" = xdisable; then
10128 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10129 result=yes
10130 else
10131 result=no
10132 fi
10133 else
10134 result=$wxUSE_ARTPROVIDER_TANGO
10135 fi
10136
10137 { echo "$as_me:$LINENO: result: $result" >&5
10138 echo "${ECHO_T}$result" >&6; }
10139
10140
10141 enablestring=
10142 defaultval=$wxUSE_ALL_FEATURES
10143 if test -z "$defaultval"; then
10144 if test x"$enablestring" = xdisable; then
10145 defaultval=yes
10146 else
10147 defaultval=no
10148 fi
10149 fi
10150
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10153 # Check whether --enable-bmpbutton was given.
10154 if test "${enable_bmpbutton+set}" = set; then
10155 enableval=$enable_bmpbutton;
10156 if test "$enableval" = yes; then
10157 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10158 else
10159 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10160 fi
10161
10162 else
10163
10164 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10165
10166 fi
10167
10168
10169 eval "$wx_cv_use_bmpbutton"
10170
10171 if test x"$enablestring" = xdisable; then
10172 if test $wxUSE_BMPBUTTON = no; then
10173 result=yes
10174 else
10175 result=no
10176 fi
10177 else
10178 result=$wxUSE_BMPBUTTON
10179 fi
10180
10181 { echo "$as_me:$LINENO: result: $result" >&5
10182 echo "${ECHO_T}$result" >&6; }
10183
10184
10185 enablestring=
10186 defaultval=$wxUSE_ALL_FEATURES
10187 if test -z "$defaultval"; then
10188 if test x"$enablestring" = xdisable; then
10189 defaultval=yes
10190 else
10191 defaultval=no
10192 fi
10193 fi
10194
10195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10197 # Check whether --enable-bmpcombobox was given.
10198 if test "${enable_bmpcombobox+set}" = set; then
10199 enableval=$enable_bmpcombobox;
10200 if test "$enableval" = yes; then
10201 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10202 else
10203 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10204 fi
10205
10206 else
10207
10208 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10209
10210 fi
10211
10212
10213 eval "$wx_cv_use_bmpcombobox"
10214
10215 if test x"$enablestring" = xdisable; then
10216 if test $wxUSE_BITMAPCOMBOBOX = no; then
10217 result=yes
10218 else
10219 result=no
10220 fi
10221 else
10222 result=$wxUSE_BITMAPCOMBOBOX
10223 fi
10224
10225 { echo "$as_me:$LINENO: result: $result" >&5
10226 echo "${ECHO_T}$result" >&6; }
10227
10228
10229 enablestring=
10230 defaultval=$wxUSE_ALL_FEATURES
10231 if test -z "$defaultval"; then
10232 if test x"$enablestring" = xdisable; then
10233 defaultval=yes
10234 else
10235 defaultval=no
10236 fi
10237 fi
10238
10239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10241 # Check whether --enable-button was given.
10242 if test "${enable_button+set}" = set; then
10243 enableval=$enable_button;
10244 if test "$enableval" = yes; then
10245 wx_cv_use_button='wxUSE_BUTTON=yes'
10246 else
10247 wx_cv_use_button='wxUSE_BUTTON=no'
10248 fi
10249
10250 else
10251
10252 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10253
10254 fi
10255
10256
10257 eval "$wx_cv_use_button"
10258
10259 if test x"$enablestring" = xdisable; then
10260 if test $wxUSE_BUTTON = no; then
10261 result=yes
10262 else
10263 result=no
10264 fi
10265 else
10266 result=$wxUSE_BUTTON
10267 fi
10268
10269 { echo "$as_me:$LINENO: result: $result" >&5
10270 echo "${ECHO_T}$result" >&6; }
10271
10272
10273 enablestring=
10274 defaultval=$wxUSE_ALL_FEATURES
10275 if test -z "$defaultval"; then
10276 if test x"$enablestring" = xdisable; then
10277 defaultval=yes
10278 else
10279 defaultval=no
10280 fi
10281 fi
10282
10283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10284 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10285 # Check whether --enable-calendar was given.
10286 if test "${enable_calendar+set}" = set; then
10287 enableval=$enable_calendar;
10288 if test "$enableval" = yes; then
10289 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10290 else
10291 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10292 fi
10293
10294 else
10295
10296 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10297
10298 fi
10299
10300
10301 eval "$wx_cv_use_calendar"
10302
10303 if test x"$enablestring" = xdisable; then
10304 if test $wxUSE_CALCTRL = no; then
10305 result=yes
10306 else
10307 result=no
10308 fi
10309 else
10310 result=$wxUSE_CALCTRL
10311 fi
10312
10313 { echo "$as_me:$LINENO: result: $result" >&5
10314 echo "${ECHO_T}$result" >&6; }
10315
10316
10317 enablestring=
10318 defaultval=$wxUSE_ALL_FEATURES
10319 if test -z "$defaultval"; then
10320 if test x"$enablestring" = xdisable; then
10321 defaultval=yes
10322 else
10323 defaultval=no
10324 fi
10325 fi
10326
10327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10328 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10329 # Check whether --enable-caret was given.
10330 if test "${enable_caret+set}" = set; then
10331 enableval=$enable_caret;
10332 if test "$enableval" = yes; then
10333 wx_cv_use_caret='wxUSE_CARET=yes'
10334 else
10335 wx_cv_use_caret='wxUSE_CARET=no'
10336 fi
10337
10338 else
10339
10340 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10341
10342 fi
10343
10344
10345 eval "$wx_cv_use_caret"
10346
10347 if test x"$enablestring" = xdisable; then
10348 if test $wxUSE_CARET = no; then
10349 result=yes
10350 else
10351 result=no
10352 fi
10353 else
10354 result=$wxUSE_CARET
10355 fi
10356
10357 { echo "$as_me:$LINENO: result: $result" >&5
10358 echo "${ECHO_T}$result" >&6; }
10359
10360
10361 enablestring=
10362 defaultval=$wxUSE_ALL_FEATURES
10363 if test -z "$defaultval"; then
10364 if test x"$enablestring" = xdisable; then
10365 defaultval=yes
10366 else
10367 defaultval=no
10368 fi
10369 fi
10370
10371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10372 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10373 # Check whether --enable-checkbox was given.
10374 if test "${enable_checkbox+set}" = set; then
10375 enableval=$enable_checkbox;
10376 if test "$enableval" = yes; then
10377 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10378 else
10379 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10380 fi
10381
10382 else
10383
10384 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10385
10386 fi
10387
10388
10389 eval "$wx_cv_use_checkbox"
10390
10391 if test x"$enablestring" = xdisable; then
10392 if test $wxUSE_CHECKBOX = no; then
10393 result=yes
10394 else
10395 result=no
10396 fi
10397 else
10398 result=$wxUSE_CHECKBOX
10399 fi
10400
10401 { echo "$as_me:$LINENO: result: $result" >&5
10402 echo "${ECHO_T}$result" >&6; }
10403
10404
10405 enablestring=
10406 defaultval=$wxUSE_ALL_FEATURES
10407 if test -z "$defaultval"; then
10408 if test x"$enablestring" = xdisable; then
10409 defaultval=yes
10410 else
10411 defaultval=no
10412 fi
10413 fi
10414
10415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10417 # Check whether --enable-checklst was given.
10418 if test "${enable_checklst+set}" = set; then
10419 enableval=$enable_checklst;
10420 if test "$enableval" = yes; then
10421 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10422 else
10423 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10424 fi
10425
10426 else
10427
10428 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10429
10430 fi
10431
10432
10433 eval "$wx_cv_use_checklst"
10434
10435 if test x"$enablestring" = xdisable; then
10436 if test $wxUSE_CHECKLST = no; then
10437 result=yes
10438 else
10439 result=no
10440 fi
10441 else
10442 result=$wxUSE_CHECKLST
10443 fi
10444
10445 { echo "$as_me:$LINENO: result: $result" >&5
10446 echo "${ECHO_T}$result" >&6; }
10447
10448
10449 enablestring=
10450 defaultval=$wxUSE_ALL_FEATURES
10451 if test -z "$defaultval"; then
10452 if test x"$enablestring" = xdisable; then
10453 defaultval=yes
10454 else
10455 defaultval=no
10456 fi
10457 fi
10458
10459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10460 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10461 # Check whether --enable-choice was given.
10462 if test "${enable_choice+set}" = set; then
10463 enableval=$enable_choice;
10464 if test "$enableval" = yes; then
10465 wx_cv_use_choice='wxUSE_CHOICE=yes'
10466 else
10467 wx_cv_use_choice='wxUSE_CHOICE=no'
10468 fi
10469
10470 else
10471
10472 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10473
10474 fi
10475
10476
10477 eval "$wx_cv_use_choice"
10478
10479 if test x"$enablestring" = xdisable; then
10480 if test $wxUSE_CHOICE = no; then
10481 result=yes
10482 else
10483 result=no
10484 fi
10485 else
10486 result=$wxUSE_CHOICE
10487 fi
10488
10489 { echo "$as_me:$LINENO: result: $result" >&5
10490 echo "${ECHO_T}$result" >&6; }
10491
10492
10493 enablestring=
10494 defaultval=$wxUSE_ALL_FEATURES
10495 if test -z "$defaultval"; then
10496 if test x"$enablestring" = xdisable; then
10497 defaultval=yes
10498 else
10499 defaultval=no
10500 fi
10501 fi
10502
10503 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10504 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10505 # Check whether --enable-choicebook was given.
10506 if test "${enable_choicebook+set}" = set; then
10507 enableval=$enable_choicebook;
10508 if test "$enableval" = yes; then
10509 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10510 else
10511 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10512 fi
10513
10514 else
10515
10516 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10517
10518 fi
10519
10520
10521 eval "$wx_cv_use_choicebook"
10522
10523 if test x"$enablestring" = xdisable; then
10524 if test $wxUSE_CHOICEBOOK = no; then
10525 result=yes
10526 else
10527 result=no
10528 fi
10529 else
10530 result=$wxUSE_CHOICEBOOK
10531 fi
10532
10533 { echo "$as_me:$LINENO: result: $result" >&5
10534 echo "${ECHO_T}$result" >&6; }
10535
10536
10537 enablestring=
10538 defaultval=$wxUSE_ALL_FEATURES
10539 if test -z "$defaultval"; then
10540 if test x"$enablestring" = xdisable; then
10541 defaultval=yes
10542 else
10543 defaultval=no
10544 fi
10545 fi
10546
10547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10548 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10549 # Check whether --enable-collpane was given.
10550 if test "${enable_collpane+set}" = set; then
10551 enableval=$enable_collpane;
10552 if test "$enableval" = yes; then
10553 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10554 else
10555 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10556 fi
10557
10558 else
10559
10560 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10561
10562 fi
10563
10564
10565 eval "$wx_cv_use_collpane"
10566
10567 if test x"$enablestring" = xdisable; then
10568 if test $wxUSE_COLLPANE = no; then
10569 result=yes
10570 else
10571 result=no
10572 fi
10573 else
10574 result=$wxUSE_COLLPANE
10575 fi
10576
10577 { echo "$as_me:$LINENO: result: $result" >&5
10578 echo "${ECHO_T}$result" >&6; }
10579
10580
10581 enablestring=
10582 defaultval=$wxUSE_ALL_FEATURES
10583 if test -z "$defaultval"; then
10584 if test x"$enablestring" = xdisable; then
10585 defaultval=yes
10586 else
10587 defaultval=no
10588 fi
10589 fi
10590
10591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10592 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10593 # Check whether --enable-colourpicker was given.
10594 if test "${enable_colourpicker+set}" = set; then
10595 enableval=$enable_colourpicker;
10596 if test "$enableval" = yes; then
10597 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10598 else
10599 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10600 fi
10601
10602 else
10603
10604 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10605
10606 fi
10607
10608
10609 eval "$wx_cv_use_colourpicker"
10610
10611 if test x"$enablestring" = xdisable; then
10612 if test $wxUSE_COLOURPICKERCTRL = no; then
10613 result=yes
10614 else
10615 result=no
10616 fi
10617 else
10618 result=$wxUSE_COLOURPICKERCTRL
10619 fi
10620
10621 { echo "$as_me:$LINENO: result: $result" >&5
10622 echo "${ECHO_T}$result" >&6; }
10623
10624
10625 enablestring=
10626 defaultval=$wxUSE_ALL_FEATURES
10627 if test -z "$defaultval"; then
10628 if test x"$enablestring" = xdisable; then
10629 defaultval=yes
10630 else
10631 defaultval=no
10632 fi
10633 fi
10634
10635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10636 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10637 # Check whether --enable-combobox was given.
10638 if test "${enable_combobox+set}" = set; then
10639 enableval=$enable_combobox;
10640 if test "$enableval" = yes; then
10641 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10642 else
10643 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10644 fi
10645
10646 else
10647
10648 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10649
10650 fi
10651
10652
10653 eval "$wx_cv_use_combobox"
10654
10655 if test x"$enablestring" = xdisable; then
10656 if test $wxUSE_COMBOBOX = no; then
10657 result=yes
10658 else
10659 result=no
10660 fi
10661 else
10662 result=$wxUSE_COMBOBOX
10663 fi
10664
10665 { echo "$as_me:$LINENO: result: $result" >&5
10666 echo "${ECHO_T}$result" >&6; }
10667
10668
10669 enablestring=
10670 defaultval=$wxUSE_ALL_FEATURES
10671 if test -z "$defaultval"; then
10672 if test x"$enablestring" = xdisable; then
10673 defaultval=yes
10674 else
10675 defaultval=no
10676 fi
10677 fi
10678
10679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10680 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10681 # Check whether --enable-comboctrl was given.
10682 if test "${enable_comboctrl+set}" = set; then
10683 enableval=$enable_comboctrl;
10684 if test "$enableval" = yes; then
10685 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10686 else
10687 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10688 fi
10689
10690 else
10691
10692 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10693
10694 fi
10695
10696
10697 eval "$wx_cv_use_comboctrl"
10698
10699 if test x"$enablestring" = xdisable; then
10700 if test $wxUSE_COMBOCTRL = no; then
10701 result=yes
10702 else
10703 result=no
10704 fi
10705 else
10706 result=$wxUSE_COMBOCTRL
10707 fi
10708
10709 { echo "$as_me:$LINENO: result: $result" >&5
10710 echo "${ECHO_T}$result" >&6; }
10711
10712
10713 enablestring=
10714 defaultval=$wxUSE_ALL_FEATURES
10715 if test -z "$defaultval"; then
10716 if test x"$enablestring" = xdisable; then
10717 defaultval=yes
10718 else
10719 defaultval=no
10720 fi
10721 fi
10722
10723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10724 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10725 # Check whether --enable-commandlinkbutton was given.
10726 if test "${enable_commandlinkbutton+set}" = set; then
10727 enableval=$enable_commandlinkbutton;
10728 if test "$enableval" = yes; then
10729 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10730 else
10731 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10732 fi
10733
10734 else
10735
10736 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10737
10738 fi
10739
10740
10741 eval "$wx_cv_use_commandlinkbutton"
10742
10743 if test x"$enablestring" = xdisable; then
10744 if test $wxUSE_COMMANDLINKBUTTON = no; then
10745 result=yes
10746 else
10747 result=no
10748 fi
10749 else
10750 result=$wxUSE_COMMANDLINKBUTTON
10751 fi
10752
10753 { echo "$as_me:$LINENO: result: $result" >&5
10754 echo "${ECHO_T}$result" >&6; }
10755
10756
10757 enablestring=
10758 defaultval=$wxUSE_ALL_FEATURES
10759 if test -z "$defaultval"; then
10760 if test x"$enablestring" = xdisable; then
10761 defaultval=yes
10762 else
10763 defaultval=no
10764 fi
10765 fi
10766
10767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10768 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10769 # Check whether --enable-dataviewctrl was given.
10770 if test "${enable_dataviewctrl+set}" = set; then
10771 enableval=$enable_dataviewctrl;
10772 if test "$enableval" = yes; then
10773 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10774 else
10775 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10776 fi
10777
10778 else
10779
10780 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10781
10782 fi
10783
10784
10785 eval "$wx_cv_use_dataviewctrl"
10786
10787 if test x"$enablestring" = xdisable; then
10788 if test $wxUSE_DATAVIEWCTRL = no; then
10789 result=yes
10790 else
10791 result=no
10792 fi
10793 else
10794 result=$wxUSE_DATAVIEWCTRL
10795 fi
10796
10797 { echo "$as_me:$LINENO: result: $result" >&5
10798 echo "${ECHO_T}$result" >&6; }
10799
10800
10801 enablestring=
10802 defaultval=$wxUSE_ALL_FEATURES
10803 if test -z "$defaultval"; then
10804 if test x"$enablestring" = xdisable; then
10805 defaultval=yes
10806 else
10807 defaultval=no
10808 fi
10809 fi
10810
10811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10812 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10813 # Check whether --enable-datepick was given.
10814 if test "${enable_datepick+set}" = set; then
10815 enableval=$enable_datepick;
10816 if test "$enableval" = yes; then
10817 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10818 else
10819 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10820 fi
10821
10822 else
10823
10824 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10825
10826 fi
10827
10828
10829 eval "$wx_cv_use_datepick"
10830
10831 if test x"$enablestring" = xdisable; then
10832 if test $wxUSE_DATEPICKCTRL = no; then
10833 result=yes
10834 else
10835 result=no
10836 fi
10837 else
10838 result=$wxUSE_DATEPICKCTRL
10839 fi
10840
10841 { echo "$as_me:$LINENO: result: $result" >&5
10842 echo "${ECHO_T}$result" >&6; }
10843
10844
10845 enablestring=
10846 defaultval=$wxUSE_ALL_FEATURES
10847 if test -z "$defaultval"; then
10848 if test x"$enablestring" = xdisable; then
10849 defaultval=yes
10850 else
10851 defaultval=no
10852 fi
10853 fi
10854
10855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10856 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10857 # Check whether --enable-detect_sm was given.
10858 if test "${enable_detect_sm+set}" = set; then
10859 enableval=$enable_detect_sm;
10860 if test "$enableval" = yes; then
10861 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10862 else
10863 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10864 fi
10865
10866 else
10867
10868 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10869
10870 fi
10871
10872
10873 eval "$wx_cv_use_detect_sm"
10874
10875 if test x"$enablestring" = xdisable; then
10876 if test $wxUSE_DETECT_SM = no; then
10877 result=yes
10878 else
10879 result=no
10880 fi
10881 else
10882 result=$wxUSE_DETECT_SM
10883 fi
10884
10885 { echo "$as_me:$LINENO: result: $result" >&5
10886 echo "${ECHO_T}$result" >&6; }
10887
10888
10889 enablestring=
10890 defaultval=$wxUSE_ALL_FEATURES
10891 if test -z "$defaultval"; then
10892 if test x"$enablestring" = xdisable; then
10893 defaultval=yes
10894 else
10895 defaultval=no
10896 fi
10897 fi
10898
10899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10900 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10901 # Check whether --enable-dirpicker was given.
10902 if test "${enable_dirpicker+set}" = set; then
10903 enableval=$enable_dirpicker;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10906 else
10907 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10908 fi
10909
10910 else
10911
10912 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10913
10914 fi
10915
10916
10917 eval "$wx_cv_use_dirpicker"
10918
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_DIRPICKERCTRL = no; then
10921 result=yes
10922 else
10923 result=no
10924 fi
10925 else
10926 result=$wxUSE_DIRPICKERCTRL
10927 fi
10928
10929 { echo "$as_me:$LINENO: result: $result" >&5
10930 echo "${ECHO_T}$result" >&6; }
10931
10932
10933 enablestring=
10934 defaultval=$wxUSE_ALL_FEATURES
10935 if test -z "$defaultval"; then
10936 if test x"$enablestring" = xdisable; then
10937 defaultval=yes
10938 else
10939 defaultval=no
10940 fi
10941 fi
10942
10943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10944 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10945 # Check whether --enable-display was given.
10946 if test "${enable_display+set}" = set; then
10947 enableval=$enable_display;
10948 if test "$enableval" = yes; then
10949 wx_cv_use_display='wxUSE_DISPLAY=yes'
10950 else
10951 wx_cv_use_display='wxUSE_DISPLAY=no'
10952 fi
10953
10954 else
10955
10956 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10957
10958 fi
10959
10960
10961 eval "$wx_cv_use_display"
10962
10963 if test x"$enablestring" = xdisable; then
10964 if test $wxUSE_DISPLAY = no; then
10965 result=yes
10966 else
10967 result=no
10968 fi
10969 else
10970 result=$wxUSE_DISPLAY
10971 fi
10972
10973 { echo "$as_me:$LINENO: result: $result" >&5
10974 echo "${ECHO_T}$result" >&6; }
10975
10976
10977 enablestring=
10978 defaultval=$wxUSE_ALL_FEATURES
10979 if test -z "$defaultval"; then
10980 if test x"$enablestring" = xdisable; then
10981 defaultval=yes
10982 else
10983 defaultval=no
10984 fi
10985 fi
10986
10987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10988 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10989 # Check whether --enable-editablebox was given.
10990 if test "${enable_editablebox+set}" = set; then
10991 enableval=$enable_editablebox;
10992 if test "$enableval" = yes; then
10993 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10994 else
10995 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10996 fi
10997
10998 else
10999
11000 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11001
11002 fi
11003
11004
11005 eval "$wx_cv_use_editablebox"
11006
11007 if test x"$enablestring" = xdisable; then
11008 if test $wxUSE_EDITABLELISTBOX = no; then
11009 result=yes
11010 else
11011 result=no
11012 fi
11013 else
11014 result=$wxUSE_EDITABLELISTBOX
11015 fi
11016
11017 { echo "$as_me:$LINENO: result: $result" >&5
11018 echo "${ECHO_T}$result" >&6; }
11019
11020
11021 enablestring=
11022 defaultval=$wxUSE_ALL_FEATURES
11023 if test -z "$defaultval"; then
11024 if test x"$enablestring" = xdisable; then
11025 defaultval=yes
11026 else
11027 defaultval=no
11028 fi
11029 fi
11030
11031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11032 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11033 # Check whether --enable-filectrl was given.
11034 if test "${enable_filectrl+set}" = set; then
11035 enableval=$enable_filectrl;
11036 if test "$enableval" = yes; then
11037 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11038 else
11039 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11040 fi
11041
11042 else
11043
11044 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11045
11046 fi
11047
11048
11049 eval "$wx_cv_use_filectrl"
11050
11051 if test x"$enablestring" = xdisable; then
11052 if test $wxUSE_FILECTRL = no; then
11053 result=yes
11054 else
11055 result=no
11056 fi
11057 else
11058 result=$wxUSE_FILECTRL
11059 fi
11060
11061 { echo "$as_me:$LINENO: result: $result" >&5
11062 echo "${ECHO_T}$result" >&6; }
11063
11064
11065 enablestring=
11066 defaultval=$wxUSE_ALL_FEATURES
11067 if test -z "$defaultval"; then
11068 if test x"$enablestring" = xdisable; then
11069 defaultval=yes
11070 else
11071 defaultval=no
11072 fi
11073 fi
11074
11075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11077 # Check whether --enable-filepicker was given.
11078 if test "${enable_filepicker+set}" = set; then
11079 enableval=$enable_filepicker;
11080 if test "$enableval" = yes; then
11081 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11082 else
11083 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11084 fi
11085
11086 else
11087
11088 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11089
11090 fi
11091
11092
11093 eval "$wx_cv_use_filepicker"
11094
11095 if test x"$enablestring" = xdisable; then
11096 if test $wxUSE_FILEPICKERCTRL = no; then
11097 result=yes
11098 else
11099 result=no
11100 fi
11101 else
11102 result=$wxUSE_FILEPICKERCTRL
11103 fi
11104
11105 { echo "$as_me:$LINENO: result: $result" >&5
11106 echo "${ECHO_T}$result" >&6; }
11107
11108
11109 enablestring=
11110 defaultval=$wxUSE_ALL_FEATURES
11111 if test -z "$defaultval"; then
11112 if test x"$enablestring" = xdisable; then
11113 defaultval=yes
11114 else
11115 defaultval=no
11116 fi
11117 fi
11118
11119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11121 # Check whether --enable-fontpicker was given.
11122 if test "${enable_fontpicker+set}" = set; then
11123 enableval=$enable_fontpicker;
11124 if test "$enableval" = yes; then
11125 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11126 else
11127 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11128 fi
11129
11130 else
11131
11132 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11133
11134 fi
11135
11136
11137 eval "$wx_cv_use_fontpicker"
11138
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_FONTPICKERCTRL = no; then
11141 result=yes
11142 else
11143 result=no
11144 fi
11145 else
11146 result=$wxUSE_FONTPICKERCTRL
11147 fi
11148
11149 { echo "$as_me:$LINENO: result: $result" >&5
11150 echo "${ECHO_T}$result" >&6; }
11151
11152
11153 enablestring=
11154 defaultval=$wxUSE_ALL_FEATURES
11155 if test -z "$defaultval"; then
11156 if test x"$enablestring" = xdisable; then
11157 defaultval=yes
11158 else
11159 defaultval=no
11160 fi
11161 fi
11162
11163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11164 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11165 # Check whether --enable-gauge was given.
11166 if test "${enable_gauge+set}" = set; then
11167 enableval=$enable_gauge;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11170 else
11171 wx_cv_use_gauge='wxUSE_GAUGE=no'
11172 fi
11173
11174 else
11175
11176 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11177
11178 fi
11179
11180
11181 eval "$wx_cv_use_gauge"
11182
11183 if test x"$enablestring" = xdisable; then
11184 if test $wxUSE_GAUGE = no; then
11185 result=yes
11186 else
11187 result=no
11188 fi
11189 else
11190 result=$wxUSE_GAUGE
11191 fi
11192
11193 { echo "$as_me:$LINENO: result: $result" >&5
11194 echo "${ECHO_T}$result" >&6; }
11195
11196
11197 enablestring=
11198 defaultval=$wxUSE_ALL_FEATURES
11199 if test -z "$defaultval"; then
11200 if test x"$enablestring" = xdisable; then
11201 defaultval=yes
11202 else
11203 defaultval=no
11204 fi
11205 fi
11206
11207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11208 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11209 # Check whether --enable-grid was given.
11210 if test "${enable_grid+set}" = set; then
11211 enableval=$enable_grid;
11212 if test "$enableval" = yes; then
11213 wx_cv_use_grid='wxUSE_GRID=yes'
11214 else
11215 wx_cv_use_grid='wxUSE_GRID=no'
11216 fi
11217
11218 else
11219
11220 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11221
11222 fi
11223
11224
11225 eval "$wx_cv_use_grid"
11226
11227 if test x"$enablestring" = xdisable; then
11228 if test $wxUSE_GRID = no; then
11229 result=yes
11230 else
11231 result=no
11232 fi
11233 else
11234 result=$wxUSE_GRID
11235 fi
11236
11237 { echo "$as_me:$LINENO: result: $result" >&5
11238 echo "${ECHO_T}$result" >&6; }
11239
11240
11241 enablestring=
11242 defaultval=$wxUSE_ALL_FEATURES
11243 if test -z "$defaultval"; then
11244 if test x"$enablestring" = xdisable; then
11245 defaultval=yes
11246 else
11247 defaultval=no
11248 fi
11249 fi
11250
11251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11252 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11253 # Check whether --enable-headerctrl was given.
11254 if test "${enable_headerctrl+set}" = set; then
11255 enableval=$enable_headerctrl;
11256 if test "$enableval" = yes; then
11257 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11258 else
11259 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11260 fi
11261
11262 else
11263
11264 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11265
11266 fi
11267
11268
11269 eval "$wx_cv_use_headerctrl"
11270
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_HEADERCTRL = no; then
11273 result=yes
11274 else
11275 result=no
11276 fi
11277 else
11278 result=$wxUSE_HEADERCTRL
11279 fi
11280
11281 { echo "$as_me:$LINENO: result: $result" >&5
11282 echo "${ECHO_T}$result" >&6; }
11283
11284
11285 enablestring=
11286 defaultval=$wxUSE_ALL_FEATURES
11287 if test -z "$defaultval"; then
11288 if test x"$enablestring" = xdisable; then
11289 defaultval=yes
11290 else
11291 defaultval=no
11292 fi
11293 fi
11294
11295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11297 # Check whether --enable-hyperlink was given.
11298 if test "${enable_hyperlink+set}" = set; then
11299 enableval=$enable_hyperlink;
11300 if test "$enableval" = yes; then
11301 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11302 else
11303 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11304 fi
11305
11306 else
11307
11308 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11309
11310 fi
11311
11312
11313 eval "$wx_cv_use_hyperlink"
11314
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_HYPERLINKCTRL = no; then
11317 result=yes
11318 else
11319 result=no
11320 fi
11321 else
11322 result=$wxUSE_HYPERLINKCTRL
11323 fi
11324
11325 { echo "$as_me:$LINENO: result: $result" >&5
11326 echo "${ECHO_T}$result" >&6; }
11327
11328
11329 enablestring=
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11333 defaultval=yes
11334 else
11335 defaultval=no
11336 fi
11337 fi
11338
11339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11340 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11341 # Check whether --enable-imaglist was given.
11342 if test "${enable_imaglist+set}" = set; then
11343 enableval=$enable_imaglist;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11346 else
11347 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11348 fi
11349
11350 else
11351
11352 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11353
11354 fi
11355
11356
11357 eval "$wx_cv_use_imaglist"
11358
11359 if test x"$enablestring" = xdisable; then
11360 if test $wxUSE_IMAGLIST = no; then
11361 result=yes
11362 else
11363 result=no
11364 fi
11365 else
11366 result=$wxUSE_IMAGLIST
11367 fi
11368
11369 { echo "$as_me:$LINENO: result: $result" >&5
11370 echo "${ECHO_T}$result" >&6; }
11371
11372
11373 enablestring=
11374 defaultval=$wxUSE_ALL_FEATURES
11375 if test -z "$defaultval"; then
11376 if test x"$enablestring" = xdisable; then
11377 defaultval=yes
11378 else
11379 defaultval=no
11380 fi
11381 fi
11382
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11385 # Check whether --enable-infobar was given.
11386 if test "${enable_infobar+set}" = set; then
11387 enableval=$enable_infobar;
11388 if test "$enableval" = yes; then
11389 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11390 else
11391 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11392 fi
11393
11394 else
11395
11396 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11397
11398 fi
11399
11400
11401 eval "$wx_cv_use_infobar"
11402
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_INFOBAR = no; then
11405 result=yes
11406 else
11407 result=no
11408 fi
11409 else
11410 result=$wxUSE_INFOBAR
11411 fi
11412
11413 { echo "$as_me:$LINENO: result: $result" >&5
11414 echo "${ECHO_T}$result" >&6; }
11415
11416
11417 enablestring=
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11421 defaultval=yes
11422 else
11423 defaultval=no
11424 fi
11425 fi
11426
11427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11428 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11429 # Check whether --enable-listbook was given.
11430 if test "${enable_listbook+set}" = set; then
11431 enableval=$enable_listbook;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11434 else
11435 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11436 fi
11437
11438 else
11439
11440 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11441
11442 fi
11443
11444
11445 eval "$wx_cv_use_listbook"
11446
11447 if test x"$enablestring" = xdisable; then
11448 if test $wxUSE_LISTBOOK = no; then
11449 result=yes
11450 else
11451 result=no
11452 fi
11453 else
11454 result=$wxUSE_LISTBOOK
11455 fi
11456
11457 { echo "$as_me:$LINENO: result: $result" >&5
11458 echo "${ECHO_T}$result" >&6; }
11459
11460
11461 enablestring=
11462 defaultval=$wxUSE_ALL_FEATURES
11463 if test -z "$defaultval"; then
11464 if test x"$enablestring" = xdisable; then
11465 defaultval=yes
11466 else
11467 defaultval=no
11468 fi
11469 fi
11470
11471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11472 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11473 # Check whether --enable-listbox was given.
11474 if test "${enable_listbox+set}" = set; then
11475 enableval=$enable_listbox;
11476 if test "$enableval" = yes; then
11477 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11478 else
11479 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11480 fi
11481
11482 else
11483
11484 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11485
11486 fi
11487
11488
11489 eval "$wx_cv_use_listbox"
11490
11491 if test x"$enablestring" = xdisable; then
11492 if test $wxUSE_LISTBOX = no; then
11493 result=yes
11494 else
11495 result=no
11496 fi
11497 else
11498 result=$wxUSE_LISTBOX
11499 fi
11500
11501 { echo "$as_me:$LINENO: result: $result" >&5
11502 echo "${ECHO_T}$result" >&6; }
11503
11504
11505 enablestring=
11506 defaultval=$wxUSE_ALL_FEATURES
11507 if test -z "$defaultval"; then
11508 if test x"$enablestring" = xdisable; then
11509 defaultval=yes
11510 else
11511 defaultval=no
11512 fi
11513 fi
11514
11515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11516 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11517 # Check whether --enable-listctrl was given.
11518 if test "${enable_listctrl+set}" = set; then
11519 enableval=$enable_listctrl;
11520 if test "$enableval" = yes; then
11521 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11522 else
11523 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11524 fi
11525
11526 else
11527
11528 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11529
11530 fi
11531
11532
11533 eval "$wx_cv_use_listctrl"
11534
11535 if test x"$enablestring" = xdisable; then
11536 if test $wxUSE_LISTCTRL = no; then
11537 result=yes
11538 else
11539 result=no
11540 fi
11541 else
11542 result=$wxUSE_LISTCTRL
11543 fi
11544
11545 { echo "$as_me:$LINENO: result: $result" >&5
11546 echo "${ECHO_T}$result" >&6; }
11547
11548
11549 enablestring=
11550 defaultval=$wxUSE_ALL_FEATURES
11551 if test -z "$defaultval"; then
11552 if test x"$enablestring" = xdisable; then
11553 defaultval=yes
11554 else
11555 defaultval=no
11556 fi
11557 fi
11558
11559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11560 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11561 # Check whether --enable-notebook was given.
11562 if test "${enable_notebook+set}" = set; then
11563 enableval=$enable_notebook;
11564 if test "$enableval" = yes; then
11565 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11566 else
11567 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11568 fi
11569
11570 else
11571
11572 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11573
11574 fi
11575
11576
11577 eval "$wx_cv_use_notebook"
11578
11579 if test x"$enablestring" = xdisable; then
11580 if test $wxUSE_NOTEBOOK = no; then
11581 result=yes
11582 else
11583 result=no
11584 fi
11585 else
11586 result=$wxUSE_NOTEBOOK
11587 fi
11588
11589 { echo "$as_me:$LINENO: result: $result" >&5
11590 echo "${ECHO_T}$result" >&6; }
11591
11592
11593 enablestring=
11594 defaultval=$wxUSE_ALL_FEATURES
11595 if test -z "$defaultval"; then
11596 if test x"$enablestring" = xdisable; then
11597 defaultval=yes
11598 else
11599 defaultval=no
11600 fi
11601 fi
11602
11603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11604 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11605 # Check whether --enable-notifmsg was given.
11606 if test "${enable_notifmsg+set}" = set; then
11607 enableval=$enable_notifmsg;
11608 if test "$enableval" = yes; then
11609 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11610 else
11611 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11612 fi
11613
11614 else
11615
11616 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11617
11618 fi
11619
11620
11621 eval "$wx_cv_use_notifmsg"
11622
11623 if test x"$enablestring" = xdisable; then
11624 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11625 result=yes
11626 else
11627 result=no
11628 fi
11629 else
11630 result=$wxUSE_NOTIFICATION_MESSAGE
11631 fi
11632
11633 { echo "$as_me:$LINENO: result: $result" >&5
11634 echo "${ECHO_T}$result" >&6; }
11635
11636
11637 enablestring=
11638 defaultval=$wxUSE_ALL_FEATURES
11639 if test -z "$defaultval"; then
11640 if test x"$enablestring" = xdisable; then
11641 defaultval=yes
11642 else
11643 defaultval=no
11644 fi
11645 fi
11646
11647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11649 # Check whether --enable-odcombobox was given.
11650 if test "${enable_odcombobox+set}" = set; then
11651 enableval=$enable_odcombobox;
11652 if test "$enableval" = yes; then
11653 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11654 else
11655 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11656 fi
11657
11658 else
11659
11660 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11661
11662 fi
11663
11664
11665 eval "$wx_cv_use_odcombobox"
11666
11667 if test x"$enablestring" = xdisable; then
11668 if test $wxUSE_ODCOMBOBOX = no; then
11669 result=yes
11670 else
11671 result=no
11672 fi
11673 else
11674 result=$wxUSE_ODCOMBOBOX
11675 fi
11676
11677 { echo "$as_me:$LINENO: result: $result" >&5
11678 echo "${ECHO_T}$result" >&6; }
11679
11680
11681 enablestring=
11682 defaultval=$wxUSE_ALL_FEATURES
11683 if test -z "$defaultval"; then
11684 if test x"$enablestring" = xdisable; then
11685 defaultval=yes
11686 else
11687 defaultval=no
11688 fi
11689 fi
11690
11691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11692 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11693 # Check whether --enable-popupwin was given.
11694 if test "${enable_popupwin+set}" = set; then
11695 enableval=$enable_popupwin;
11696 if test "$enableval" = yes; then
11697 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11698 else
11699 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11700 fi
11701
11702 else
11703
11704 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11705
11706 fi
11707
11708
11709 eval "$wx_cv_use_popupwin"
11710
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_POPUPWIN = no; then
11713 result=yes
11714 else
11715 result=no
11716 fi
11717 else
11718 result=$wxUSE_POPUPWIN
11719 fi
11720
11721 { echo "$as_me:$LINENO: result: $result" >&5
11722 echo "${ECHO_T}$result" >&6; }
11723
11724
11725 enablestring=
11726 defaultval=$wxUSE_ALL_FEATURES
11727 if test -z "$defaultval"; then
11728 if test x"$enablestring" = xdisable; then
11729 defaultval=yes
11730 else
11731 defaultval=no
11732 fi
11733 fi
11734
11735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11736 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11737 # Check whether --enable-radiobox was given.
11738 if test "${enable_radiobox+set}" = set; then
11739 enableval=$enable_radiobox;
11740 if test "$enableval" = yes; then
11741 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11742 else
11743 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11744 fi
11745
11746 else
11747
11748 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11749
11750 fi
11751
11752
11753 eval "$wx_cv_use_radiobox"
11754
11755 if test x"$enablestring" = xdisable; then
11756 if test $wxUSE_RADIOBOX = no; then
11757 result=yes
11758 else
11759 result=no
11760 fi
11761 else
11762 result=$wxUSE_RADIOBOX
11763 fi
11764
11765 { echo "$as_me:$LINENO: result: $result" >&5
11766 echo "${ECHO_T}$result" >&6; }
11767
11768
11769 enablestring=
11770 defaultval=$wxUSE_ALL_FEATURES
11771 if test -z "$defaultval"; then
11772 if test x"$enablestring" = xdisable; then
11773 defaultval=yes
11774 else
11775 defaultval=no
11776 fi
11777 fi
11778
11779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11780 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11781 # Check whether --enable-radiobtn was given.
11782 if test "${enable_radiobtn+set}" = set; then
11783 enableval=$enable_radiobtn;
11784 if test "$enableval" = yes; then
11785 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11786 else
11787 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11788 fi
11789
11790 else
11791
11792 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11793
11794 fi
11795
11796
11797 eval "$wx_cv_use_radiobtn"
11798
11799 if test x"$enablestring" = xdisable; then
11800 if test $wxUSE_RADIOBTN = no; then
11801 result=yes
11802 else
11803 result=no
11804 fi
11805 else
11806 result=$wxUSE_RADIOBTN
11807 fi
11808
11809 { echo "$as_me:$LINENO: result: $result" >&5
11810 echo "${ECHO_T}$result" >&6; }
11811
11812
11813 enablestring=
11814 defaultval=$wxUSE_ALL_FEATURES
11815 if test -z "$defaultval"; then
11816 if test x"$enablestring" = xdisable; then
11817 defaultval=yes
11818 else
11819 defaultval=no
11820 fi
11821 fi
11822
11823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11824 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11825 # Check whether --enable-richmsgdlg was given.
11826 if test "${enable_richmsgdlg+set}" = set; then
11827 enableval=$enable_richmsgdlg;
11828 if test "$enableval" = yes; then
11829 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11830 else
11831 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11832 fi
11833
11834 else
11835
11836 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11837
11838 fi
11839
11840
11841 eval "$wx_cv_use_richmsgdlg"
11842
11843 if test x"$enablestring" = xdisable; then
11844 if test $wxUSE_RICHMSGDLG = no; then
11845 result=yes
11846 else
11847 result=no
11848 fi
11849 else
11850 result=$wxUSE_RICHMSGDLG
11851 fi
11852
11853 { echo "$as_me:$LINENO: result: $result" >&5
11854 echo "${ECHO_T}$result" >&6; }
11855
11856
11857 enablestring=
11858 defaultval=$wxUSE_ALL_FEATURES
11859 if test -z "$defaultval"; then
11860 if test x"$enablestring" = xdisable; then
11861 defaultval=yes
11862 else
11863 defaultval=no
11864 fi
11865 fi
11866
11867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11868 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11869 # Check whether --enable-rearrangectrl was given.
11870 if test "${enable_rearrangectrl+set}" = set; then
11871 enableval=$enable_rearrangectrl;
11872 if test "$enableval" = yes; then
11873 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11874 else
11875 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11876 fi
11877
11878 else
11879
11880 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11881
11882 fi
11883
11884
11885 eval "$wx_cv_use_rearrangectrl"
11886
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_REARRANGECTRL = no; then
11889 result=yes
11890 else
11891 result=no
11892 fi
11893 else
11894 result=$wxUSE_REARRANGECTRL
11895 fi
11896
11897 { echo "$as_me:$LINENO: result: $result" >&5
11898 echo "${ECHO_T}$result" >&6; }
11899
11900
11901 enablestring=
11902 defaultval=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x"$enablestring" = xdisable; then
11905 defaultval=yes
11906 else
11907 defaultval=no
11908 fi
11909 fi
11910
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11913 # Check whether --enable-sash was given.
11914 if test "${enable_sash+set}" = set; then
11915 enableval=$enable_sash;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_sash='wxUSE_SASH=yes'
11918 else
11919 wx_cv_use_sash='wxUSE_SASH=no'
11920 fi
11921
11922 else
11923
11924 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11925
11926 fi
11927
11928
11929 eval "$wx_cv_use_sash"
11930
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_SASH = no; then
11933 result=yes
11934 else
11935 result=no
11936 fi
11937 else
11938 result=$wxUSE_SASH
11939 fi
11940
11941 { echo "$as_me:$LINENO: result: $result" >&5
11942 echo "${ECHO_T}$result" >&6; }
11943
11944
11945 enablestring=
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11949 defaultval=yes
11950 else
11951 defaultval=no
11952 fi
11953 fi
11954
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11957 # Check whether --enable-scrollbar was given.
11958 if test "${enable_scrollbar+set}" = set; then
11959 enableval=$enable_scrollbar;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11962 else
11963 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11964 fi
11965
11966 else
11967
11968 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11969
11970 fi
11971
11972
11973 eval "$wx_cv_use_scrollbar"
11974
11975 if test x"$enablestring" = xdisable; then
11976 if test $wxUSE_SCROLLBAR = no; then
11977 result=yes
11978 else
11979 result=no
11980 fi
11981 else
11982 result=$wxUSE_SCROLLBAR
11983 fi
11984
11985 { echo "$as_me:$LINENO: result: $result" >&5
11986 echo "${ECHO_T}$result" >&6; }
11987
11988
11989 enablestring=
11990 defaultval=$wxUSE_ALL_FEATURES
11991 if test -z "$defaultval"; then
11992 if test x"$enablestring" = xdisable; then
11993 defaultval=yes
11994 else
11995 defaultval=no
11996 fi
11997 fi
11998
11999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12000 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12001 # Check whether --enable-searchctrl was given.
12002 if test "${enable_searchctrl+set}" = set; then
12003 enableval=$enable_searchctrl;
12004 if test "$enableval" = yes; then
12005 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12006 else
12007 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12008 fi
12009
12010 else
12011
12012 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12013
12014 fi
12015
12016
12017 eval "$wx_cv_use_searchctrl"
12018
12019 if test x"$enablestring" = xdisable; then
12020 if test $wxUSE_SEARCHCTRL = no; then
12021 result=yes
12022 else
12023 result=no
12024 fi
12025 else
12026 result=$wxUSE_SEARCHCTRL
12027 fi
12028
12029 { echo "$as_me:$LINENO: result: $result" >&5
12030 echo "${ECHO_T}$result" >&6; }
12031
12032
12033 enablestring=
12034 defaultval=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x"$enablestring" = xdisable; then
12037 defaultval=yes
12038 else
12039 defaultval=no
12040 fi
12041 fi
12042
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12045 # Check whether --enable-slider was given.
12046 if test "${enable_slider+set}" = set; then
12047 enableval=$enable_slider;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_slider='wxUSE_SLIDER=yes'
12050 else
12051 wx_cv_use_slider='wxUSE_SLIDER=no'
12052 fi
12053
12054 else
12055
12056 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12057
12058 fi
12059
12060
12061 eval "$wx_cv_use_slider"
12062
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_SLIDER = no; then
12065 result=yes
12066 else
12067 result=no
12068 fi
12069 else
12070 result=$wxUSE_SLIDER
12071 fi
12072
12073 { echo "$as_me:$LINENO: result: $result" >&5
12074 echo "${ECHO_T}$result" >&6; }
12075
12076
12077 enablestring=
12078 defaultval=$wxUSE_ALL_FEATURES
12079 if test -z "$defaultval"; then
12080 if test x"$enablestring" = xdisable; then
12081 defaultval=yes
12082 else
12083 defaultval=no
12084 fi
12085 fi
12086
12087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12088 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12089 # Check whether --enable-spinbtn was given.
12090 if test "${enable_spinbtn+set}" = set; then
12091 enableval=$enable_spinbtn;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12094 else
12095 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12096 fi
12097
12098 else
12099
12100 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12101
12102 fi
12103
12104
12105 eval "$wx_cv_use_spinbtn"
12106
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_SPINBTN = no; then
12109 result=yes
12110 else
12111 result=no
12112 fi
12113 else
12114 result=$wxUSE_SPINBTN
12115 fi
12116
12117 { echo "$as_me:$LINENO: result: $result" >&5
12118 echo "${ECHO_T}$result" >&6; }
12119
12120
12121 enablestring=
12122 defaultval=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x"$enablestring" = xdisable; then
12125 defaultval=yes
12126 else
12127 defaultval=no
12128 fi
12129 fi
12130
12131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12132 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12133 # Check whether --enable-spinctrl was given.
12134 if test "${enable_spinctrl+set}" = set; then
12135 enableval=$enable_spinctrl;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12138 else
12139 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12140 fi
12141
12142 else
12143
12144 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12145
12146 fi
12147
12148
12149 eval "$wx_cv_use_spinctrl"
12150
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_SPINCTRL = no; then
12153 result=yes
12154 else
12155 result=no
12156 fi
12157 else
12158 result=$wxUSE_SPINCTRL
12159 fi
12160
12161 { echo "$as_me:$LINENO: result: $result" >&5
12162 echo "${ECHO_T}$result" >&6; }
12163
12164
12165 enablestring=
12166 defaultval=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x"$enablestring" = xdisable; then
12169 defaultval=yes
12170 else
12171 defaultval=no
12172 fi
12173 fi
12174
12175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12176 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12177 # Check whether --enable-splitter was given.
12178 if test "${enable_splitter+set}" = set; then
12179 enableval=$enable_splitter;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12182 else
12183 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12184 fi
12185
12186 else
12187
12188 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12189
12190 fi
12191
12192
12193 eval "$wx_cv_use_splitter"
12194
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_SPLITTER = no; then
12197 result=yes
12198 else
12199 result=no
12200 fi
12201 else
12202 result=$wxUSE_SPLITTER
12203 fi
12204
12205 { echo "$as_me:$LINENO: result: $result" >&5
12206 echo "${ECHO_T}$result" >&6; }
12207
12208
12209 enablestring=
12210 defaultval=$wxUSE_ALL_FEATURES
12211 if test -z "$defaultval"; then
12212 if test x"$enablestring" = xdisable; then
12213 defaultval=yes
12214 else
12215 defaultval=no
12216 fi
12217 fi
12218
12219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12220 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12221 # Check whether --enable-statbmp was given.
12222 if test "${enable_statbmp+set}" = set; then
12223 enableval=$enable_statbmp;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12226 else
12227 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12228 fi
12229
12230 else
12231
12232 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12233
12234 fi
12235
12236
12237 eval "$wx_cv_use_statbmp"
12238
12239 if test x"$enablestring" = xdisable; then
12240 if test $wxUSE_STATBMP = no; then
12241 result=yes
12242 else
12243 result=no
12244 fi
12245 else
12246 result=$wxUSE_STATBMP
12247 fi
12248
12249 { echo "$as_me:$LINENO: result: $result" >&5
12250 echo "${ECHO_T}$result" >&6; }
12251
12252
12253 enablestring=
12254 defaultval=$wxUSE_ALL_FEATURES
12255 if test -z "$defaultval"; then
12256 if test x"$enablestring" = xdisable; then
12257 defaultval=yes
12258 else
12259 defaultval=no
12260 fi
12261 fi
12262
12263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12264 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12265 # Check whether --enable-statbox was given.
12266 if test "${enable_statbox+set}" = set; then
12267 enableval=$enable_statbox;
12268 if test "$enableval" = yes; then
12269 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12270 else
12271 wx_cv_use_statbox='wxUSE_STATBOX=no'
12272 fi
12273
12274 else
12275
12276 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12277
12278 fi
12279
12280
12281 eval "$wx_cv_use_statbox"
12282
12283 if test x"$enablestring" = xdisable; then
12284 if test $wxUSE_STATBOX = no; then
12285 result=yes
12286 else
12287 result=no
12288 fi
12289 else
12290 result=$wxUSE_STATBOX
12291 fi
12292
12293 { echo "$as_me:$LINENO: result: $result" >&5
12294 echo "${ECHO_T}$result" >&6; }
12295
12296
12297 enablestring=
12298 defaultval=$wxUSE_ALL_FEATURES
12299 if test -z "$defaultval"; then
12300 if test x"$enablestring" = xdisable; then
12301 defaultval=yes
12302 else
12303 defaultval=no
12304 fi
12305 fi
12306
12307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12308 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12309 # Check whether --enable-statline was given.
12310 if test "${enable_statline+set}" = set; then
12311 enableval=$enable_statline;
12312 if test "$enableval" = yes; then
12313 wx_cv_use_statline='wxUSE_STATLINE=yes'
12314 else
12315 wx_cv_use_statline='wxUSE_STATLINE=no'
12316 fi
12317
12318 else
12319
12320 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12321
12322 fi
12323
12324
12325 eval "$wx_cv_use_statline"
12326
12327 if test x"$enablestring" = xdisable; then
12328 if test $wxUSE_STATLINE = no; then
12329 result=yes
12330 else
12331 result=no
12332 fi
12333 else
12334 result=$wxUSE_STATLINE
12335 fi
12336
12337 { echo "$as_me:$LINENO: result: $result" >&5
12338 echo "${ECHO_T}$result" >&6; }
12339
12340
12341 enablestring=
12342 defaultval=$wxUSE_ALL_FEATURES
12343 if test -z "$defaultval"; then
12344 if test x"$enablestring" = xdisable; then
12345 defaultval=yes
12346 else
12347 defaultval=no
12348 fi
12349 fi
12350
12351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12352 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12353 # Check whether --enable-stattext was given.
12354 if test "${enable_stattext+set}" = set; then
12355 enableval=$enable_stattext;
12356 if test "$enableval" = yes; then
12357 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12358 else
12359 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12360 fi
12361
12362 else
12363
12364 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12365
12366 fi
12367
12368
12369 eval "$wx_cv_use_stattext"
12370
12371 if test x"$enablestring" = xdisable; then
12372 if test $wxUSE_STATTEXT = no; then
12373 result=yes
12374 else
12375 result=no
12376 fi
12377 else
12378 result=$wxUSE_STATTEXT
12379 fi
12380
12381 { echo "$as_me:$LINENO: result: $result" >&5
12382 echo "${ECHO_T}$result" >&6; }
12383
12384
12385 enablestring=
12386 defaultval=$wxUSE_ALL_FEATURES
12387 if test -z "$defaultval"; then
12388 if test x"$enablestring" = xdisable; then
12389 defaultval=yes
12390 else
12391 defaultval=no
12392 fi
12393 fi
12394
12395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12396 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12397 # Check whether --enable-statusbar was given.
12398 if test "${enable_statusbar+set}" = set; then
12399 enableval=$enable_statusbar;
12400 if test "$enableval" = yes; then
12401 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12402 else
12403 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12404 fi
12405
12406 else
12407
12408 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12409
12410 fi
12411
12412
12413 eval "$wx_cv_use_statusbar"
12414
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_STATUSBAR = no; then
12417 result=yes
12418 else
12419 result=no
12420 fi
12421 else
12422 result=$wxUSE_STATUSBAR
12423 fi
12424
12425 { echo "$as_me:$LINENO: result: $result" >&5
12426 echo "${ECHO_T}$result" >&6; }
12427
12428
12429 enablestring=
12430 defaultval=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x"$enablestring" = xdisable; then
12433 defaultval=yes
12434 else
12435 defaultval=no
12436 fi
12437 fi
12438
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12441 # Check whether --enable-taskbaricon was given.
12442 if test "${enable_taskbaricon+set}" = set; then
12443 enableval=$enable_taskbaricon;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12446 else
12447 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12448 fi
12449
12450 else
12451
12452 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12453
12454 fi
12455
12456
12457 eval "$wx_cv_use_taskbaricon"
12458
12459 if test x"$enablestring" = xdisable; then
12460 if test $wxUSE_TASKBARICON = no; then
12461 result=yes
12462 else
12463 result=no
12464 fi
12465 else
12466 result=$wxUSE_TASKBARICON
12467 fi
12468
12469 { echo "$as_me:$LINENO: result: $result" >&5
12470 echo "${ECHO_T}$result" >&6; }
12471
12472
12473 enablestring=
12474 defaultval=$wxUSE_ALL_FEATURES
12475 if test -z "$defaultval"; then
12476 if test x"$enablestring" = xdisable; then
12477 defaultval=yes
12478 else
12479 defaultval=no
12480 fi
12481 fi
12482
12483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12485 # Check whether --enable-tbarnative was given.
12486 if test "${enable_tbarnative+set}" = set; then
12487 enableval=$enable_tbarnative;
12488 if test "$enableval" = yes; then
12489 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12490 else
12491 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12492 fi
12493
12494 else
12495
12496 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12497
12498 fi
12499
12500
12501 eval "$wx_cv_use_tbarnative"
12502
12503 if test x"$enablestring" = xdisable; then
12504 if test $wxUSE_TOOLBAR_NATIVE = no; then
12505 result=yes
12506 else
12507 result=no
12508 fi
12509 else
12510 result=$wxUSE_TOOLBAR_NATIVE
12511 fi
12512
12513 { echo "$as_me:$LINENO: result: $result" >&5
12514 echo "${ECHO_T}$result" >&6; }
12515
12516
12517 enablestring=
12518 defaultval=$wxUSE_ALL_FEATURES
12519 if test -z "$defaultval"; then
12520 if test x"$enablestring" = xdisable; then
12521 defaultval=yes
12522 else
12523 defaultval=no
12524 fi
12525 fi
12526
12527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12528 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12529 # Check whether --enable-textctrl was given.
12530 if test "${enable_textctrl+set}" = set; then
12531 enableval=$enable_textctrl;
12532 if test "$enableval" = yes; then
12533 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12534 else
12535 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12536 fi
12537
12538 else
12539
12540 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12541
12542 fi
12543
12544
12545 eval "$wx_cv_use_textctrl"
12546
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_TEXTCTRL = no; then
12549 result=yes
12550 else
12551 result=no
12552 fi
12553 else
12554 result=$wxUSE_TEXTCTRL
12555 fi
12556
12557 { echo "$as_me:$LINENO: result: $result" >&5
12558 echo "${ECHO_T}$result" >&6; }
12559
12560
12561 enablestring=
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12565 defaultval=yes
12566 else
12567 defaultval=no
12568 fi
12569 fi
12570
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12573 # Check whether --enable-tipwindow was given.
12574 if test "${enable_tipwindow+set}" = set; then
12575 enableval=$enable_tipwindow;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12578 else
12579 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12580 fi
12581
12582 else
12583
12584 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12585
12586 fi
12587
12588
12589 eval "$wx_cv_use_tipwindow"
12590
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_TIPWINDOW = no; then
12593 result=yes
12594 else
12595 result=no
12596 fi
12597 else
12598 result=$wxUSE_TIPWINDOW
12599 fi
12600
12601 { echo "$as_me:$LINENO: result: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12603
12604
12605 enablestring=
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12609 defaultval=yes
12610 else
12611 defaultval=no
12612 fi
12613 fi
12614
12615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12617 # Check whether --enable-togglebtn was given.
12618 if test "${enable_togglebtn+set}" = set; then
12619 enableval=$enable_togglebtn;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12622 else
12623 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12624 fi
12625
12626 else
12627
12628 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12629
12630 fi
12631
12632
12633 eval "$wx_cv_use_togglebtn"
12634
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_TOGGLEBTN = no; then
12637 result=yes
12638 else
12639 result=no
12640 fi
12641 else
12642 result=$wxUSE_TOGGLEBTN
12643 fi
12644
12645 { echo "$as_me:$LINENO: result: $result" >&5
12646 echo "${ECHO_T}$result" >&6; }
12647
12648
12649 enablestring=
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12653 defaultval=yes
12654 else
12655 defaultval=no
12656 fi
12657 fi
12658
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12661 # Check whether --enable-toolbar was given.
12662 if test "${enable_toolbar+set}" = set; then
12663 enableval=$enable_toolbar;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12666 else
12667 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12668 fi
12669
12670 else
12671
12672 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12673
12674 fi
12675
12676
12677 eval "$wx_cv_use_toolbar"
12678
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_TOOLBAR = no; then
12681 result=yes
12682 else
12683 result=no
12684 fi
12685 else
12686 result=$wxUSE_TOOLBAR
12687 fi
12688
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12691
12692
12693 enablestring=
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12697 defaultval=yes
12698 else
12699 defaultval=no
12700 fi
12701 fi
12702
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12705 # Check whether --enable-toolbook was given.
12706 if test "${enable_toolbook+set}" = set; then
12707 enableval=$enable_toolbook;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12710 else
12711 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12712 fi
12713
12714 else
12715
12716 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12717
12718 fi
12719
12720
12721 eval "$wx_cv_use_toolbook"
12722
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_TOOLBOOK = no; then
12725 result=yes
12726 else
12727 result=no
12728 fi
12729 else
12730 result=$wxUSE_TOOLBOOK
12731 fi
12732
12733 { echo "$as_me:$LINENO: result: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12735
12736
12737 enablestring=
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12741 defaultval=yes
12742 else
12743 defaultval=no
12744 fi
12745 fi
12746
12747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12749 # Check whether --enable-treebook was given.
12750 if test "${enable_treebook+set}" = set; then
12751 enableval=$enable_treebook;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12754 else
12755 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12756 fi
12757
12758 else
12759
12760 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12761
12762 fi
12763
12764
12765 eval "$wx_cv_use_treebook"
12766
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_TREEBOOK = no; then
12769 result=yes
12770 else
12771 result=no
12772 fi
12773 else
12774 result=$wxUSE_TREEBOOK
12775 fi
12776
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12779
12780
12781 enablestring=
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12785 defaultval=yes
12786 else
12787 defaultval=no
12788 fi
12789 fi
12790
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12793 # Check whether --enable-treectrl was given.
12794 if test "${enable_treectrl+set}" = set; then
12795 enableval=$enable_treectrl;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12798 else
12799 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12800 fi
12801
12802 else
12803
12804 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12805
12806 fi
12807
12808
12809 eval "$wx_cv_use_treectrl"
12810
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_TREECTRL = no; then
12813 result=yes
12814 else
12815 result=no
12816 fi
12817 else
12818 result=$wxUSE_TREECTRL
12819 fi
12820
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12823
12824
12825 enablestring=
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12829 defaultval=yes
12830 else
12831 defaultval=no
12832 fi
12833 fi
12834
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
12837 # Check whether --enable-treelist was given.
12838 if test "${enable_treelist+set}" = set; then
12839 enableval=$enable_treelist;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
12842 else
12843 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
12844 fi
12845
12846 else
12847
12848 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
12849
12850 fi
12851
12852
12853 eval "$wx_cv_use_treelist"
12854
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_TREELISTCTRL = no; then
12857 result=yes
12858 else
12859 result=no
12860 fi
12861 else
12862 result=$wxUSE_TREELISTCTRL
12863 fi
12864
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12867
12868
12869
12870
12871 enablestring=
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12875 defaultval=yes
12876 else
12877 defaultval=no
12878 fi
12879 fi
12880
12881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12882 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12883 # Check whether --enable-commondlg was given.
12884 if test "${enable_commondlg+set}" = set; then
12885 enableval=$enable_commondlg;
12886 if test "$enableval" = yes; then
12887 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12888 else
12889 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12890 fi
12891
12892 else
12893
12894 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12895
12896 fi
12897
12898
12899 eval "$wx_cv_use_commondlg"
12900
12901 if test x"$enablestring" = xdisable; then
12902 if test $wxUSE_COMMONDLGS = no; then
12903 result=yes
12904 else
12905 result=no
12906 fi
12907 else
12908 result=$wxUSE_COMMONDLGS
12909 fi
12910
12911 { echo "$as_me:$LINENO: result: $result" >&5
12912 echo "${ECHO_T}$result" >&6; }
12913
12914
12915 enablestring=
12916 defaultval=$wxUSE_ALL_FEATURES
12917 if test -z "$defaultval"; then
12918 if test x"$enablestring" = xdisable; then
12919 defaultval=yes
12920 else
12921 defaultval=no
12922 fi
12923 fi
12924
12925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12926 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12927 # Check whether --enable-aboutdlg was given.
12928 if test "${enable_aboutdlg+set}" = set; then
12929 enableval=$enable_aboutdlg;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12932 else
12933 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12934 fi
12935
12936 else
12937
12938 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12939
12940 fi
12941
12942
12943 eval "$wx_cv_use_aboutdlg"
12944
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_ABOUTDLG = no; then
12947 result=yes
12948 else
12949 result=no
12950 fi
12951 else
12952 result=$wxUSE_ABOUTDLG
12953 fi
12954
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12957
12958
12959 enablestring=
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12963 defaultval=yes
12964 else
12965 defaultval=no
12966 fi
12967 fi
12968
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12971 # Check whether --enable-choicedlg was given.
12972 if test "${enable_choicedlg+set}" = set; then
12973 enableval=$enable_choicedlg;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12976 else
12977 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12978 fi
12979
12980 else
12981
12982 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12983
12984 fi
12985
12986
12987 eval "$wx_cv_use_choicedlg"
12988
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_CHOICEDLG = no; then
12991 result=yes
12992 else
12993 result=no
12994 fi
12995 else
12996 result=$wxUSE_CHOICEDLG
12997 fi
12998
12999 { echo "$as_me:$LINENO: result: $result" >&5
13000 echo "${ECHO_T}$result" >&6; }
13001
13002
13003 enablestring=
13004 defaultval=$wxUSE_ALL_FEATURES
13005 if test -z "$defaultval"; then
13006 if test x"$enablestring" = xdisable; then
13007 defaultval=yes
13008 else
13009 defaultval=no
13010 fi
13011 fi
13012
13013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13014 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13015 # Check whether --enable-coldlg was given.
13016 if test "${enable_coldlg+set}" = set; then
13017 enableval=$enable_coldlg;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13020 else
13021 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13022 fi
13023
13024 else
13025
13026 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13027
13028 fi
13029
13030
13031 eval "$wx_cv_use_coldlg"
13032
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_COLOURDLG = no; then
13035 result=yes
13036 else
13037 result=no
13038 fi
13039 else
13040 result=$wxUSE_COLOURDLG
13041 fi
13042
13043 { echo "$as_me:$LINENO: result: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13045
13046
13047 enablestring=
13048 defaultval=$wxUSE_ALL_FEATURES
13049 if test -z "$defaultval"; then
13050 if test x"$enablestring" = xdisable; then
13051 defaultval=yes
13052 else
13053 defaultval=no
13054 fi
13055 fi
13056
13057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13058 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13059 # Check whether --enable-filedlg was given.
13060 if test "${enable_filedlg+set}" = set; then
13061 enableval=$enable_filedlg;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13064 else
13065 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13066 fi
13067
13068 else
13069
13070 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13071
13072 fi
13073
13074
13075 eval "$wx_cv_use_filedlg"
13076
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_FILEDLG = no; then
13079 result=yes
13080 else
13081 result=no
13082 fi
13083 else
13084 result=$wxUSE_FILEDLG
13085 fi
13086
13087 { echo "$as_me:$LINENO: result: $result" >&5
13088 echo "${ECHO_T}$result" >&6; }
13089
13090
13091 enablestring=
13092 defaultval=$wxUSE_ALL_FEATURES
13093 if test -z "$defaultval"; then
13094 if test x"$enablestring" = xdisable; then
13095 defaultval=yes
13096 else
13097 defaultval=no
13098 fi
13099 fi
13100
13101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13103 # Check whether --enable-finddlg was given.
13104 if test "${enable_finddlg+set}" = set; then
13105 enableval=$enable_finddlg;
13106 if test "$enableval" = yes; then
13107 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13108 else
13109 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13110 fi
13111
13112 else
13113
13114 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13115
13116 fi
13117
13118
13119 eval "$wx_cv_use_finddlg"
13120
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_FINDREPLDLG = no; then
13123 result=yes
13124 else
13125 result=no
13126 fi
13127 else
13128 result=$wxUSE_FINDREPLDLG
13129 fi
13130
13131 { echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13133
13134
13135 enablestring=
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13139 defaultval=yes
13140 else
13141 defaultval=no
13142 fi
13143 fi
13144
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13147 # Check whether --enable-fontdlg was given.
13148 if test "${enable_fontdlg+set}" = set; then
13149 enableval=$enable_fontdlg;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13152 else
13153 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13154 fi
13155
13156 else
13157
13158 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13159
13160 fi
13161
13162
13163 eval "$wx_cv_use_fontdlg"
13164
13165 if test x"$enablestring" = xdisable; then
13166 if test $wxUSE_FONTDLG = no; then
13167 result=yes
13168 else
13169 result=no
13170 fi
13171 else
13172 result=$wxUSE_FONTDLG
13173 fi
13174
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13177
13178
13179 enablestring=
13180 defaultval=$wxUSE_ALL_FEATURES
13181 if test -z "$defaultval"; then
13182 if test x"$enablestring" = xdisable; then
13183 defaultval=yes
13184 else
13185 defaultval=no
13186 fi
13187 fi
13188
13189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13190 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13191 # Check whether --enable-dirdlg was given.
13192 if test "${enable_dirdlg+set}" = set; then
13193 enableval=$enable_dirdlg;
13194 if test "$enableval" = yes; then
13195 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13196 else
13197 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13198 fi
13199
13200 else
13201
13202 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13203
13204 fi
13205
13206
13207 eval "$wx_cv_use_dirdlg"
13208
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_DIRDLG = no; then
13211 result=yes
13212 else
13213 result=no
13214 fi
13215 else
13216 result=$wxUSE_DIRDLG
13217 fi
13218
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13221
13222
13223 enablestring=
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13227 defaultval=yes
13228 else
13229 defaultval=no
13230 fi
13231 fi
13232
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13235 # Check whether --enable-msgdlg was given.
13236 if test "${enable_msgdlg+set}" = set; then
13237 enableval=$enable_msgdlg;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13240 else
13241 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13242 fi
13243
13244 else
13245
13246 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13247
13248 fi
13249
13250
13251 eval "$wx_cv_use_msgdlg"
13252
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_MSGDLG = no; then
13255 result=yes
13256 else
13257 result=no
13258 fi
13259 else
13260 result=$wxUSE_MSGDLG
13261 fi
13262
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13265
13266
13267 enablestring=
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13271 defaultval=yes
13272 else
13273 defaultval=no
13274 fi
13275 fi
13276
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13279 # Check whether --enable-numberdlg was given.
13280 if test "${enable_numberdlg+set}" = set; then
13281 enableval=$enable_numberdlg;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13284 else
13285 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13286 fi
13287
13288 else
13289
13290 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13291
13292 fi
13293
13294
13295 eval "$wx_cv_use_numberdlg"
13296
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_NUMBERDLG = no; then
13299 result=yes
13300 else
13301 result=no
13302 fi
13303 else
13304 result=$wxUSE_NUMBERDLG
13305 fi
13306
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13309
13310
13311 enablestring=
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13315 defaultval=yes
13316 else
13317 defaultval=no
13318 fi
13319 fi
13320
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13323 # Check whether --enable-splash was given.
13324 if test "${enable_splash+set}" = set; then
13325 enableval=$enable_splash;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_splash='wxUSE_SPLASH=yes'
13328 else
13329 wx_cv_use_splash='wxUSE_SPLASH=no'
13330 fi
13331
13332 else
13333
13334 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13335
13336 fi
13337
13338
13339 eval "$wx_cv_use_splash"
13340
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_SPLASH = no; then
13343 result=yes
13344 else
13345 result=no
13346 fi
13347 else
13348 result=$wxUSE_SPLASH
13349 fi
13350
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13353
13354
13355 enablestring=
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13359 defaultval=yes
13360 else
13361 defaultval=no
13362 fi
13363 fi
13364
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13367 # Check whether --enable-textdlg was given.
13368 if test "${enable_textdlg+set}" = set; then
13369 enableval=$enable_textdlg;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13372 else
13373 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13374 fi
13375
13376 else
13377
13378 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13379
13380 fi
13381
13382
13383 eval "$wx_cv_use_textdlg"
13384
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_TEXTDLG = no; then
13387 result=yes
13388 else
13389 result=no
13390 fi
13391 else
13392 result=$wxUSE_TEXTDLG
13393 fi
13394
13395 { echo "$as_me:$LINENO: result: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13397
13398
13399 enablestring=
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13403 defaultval=yes
13404 else
13405 defaultval=no
13406 fi
13407 fi
13408
13409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13411 # Check whether --enable-tipdlg was given.
13412 if test "${enable_tipdlg+set}" = set; then
13413 enableval=$enable_tipdlg;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13416 else
13417 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13418 fi
13419
13420 else
13421
13422 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13423
13424 fi
13425
13426
13427 eval "$wx_cv_use_tipdlg"
13428
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_STARTUP_TIPS = no; then
13431 result=yes
13432 else
13433 result=no
13434 fi
13435 else
13436 result=$wxUSE_STARTUP_TIPS
13437 fi
13438
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13441
13442
13443 enablestring=
13444 defaultval=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x"$enablestring" = xdisable; then
13447 defaultval=yes
13448 else
13449 defaultval=no
13450 fi
13451 fi
13452
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13455 # Check whether --enable-progressdlg was given.
13456 if test "${enable_progressdlg+set}" = set; then
13457 enableval=$enable_progressdlg;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13460 else
13461 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13462 fi
13463
13464 else
13465
13466 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13467
13468 fi
13469
13470
13471 eval "$wx_cv_use_progressdlg"
13472
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_PROGRESSDLG = no; then
13475 result=yes
13476 else
13477 result=no
13478 fi
13479 else
13480 result=$wxUSE_PROGRESSDLG
13481 fi
13482
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13485
13486
13487 enablestring=
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13491 defaultval=yes
13492 else
13493 defaultval=no
13494 fi
13495 fi
13496
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13499 # Check whether --enable-wizarddlg was given.
13500 if test "${enable_wizarddlg+set}" = set; then
13501 enableval=$enable_wizarddlg;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13504 else
13505 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13506 fi
13507
13508 else
13509
13510 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13511
13512 fi
13513
13514
13515 eval "$wx_cv_use_wizarddlg"
13516
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_WIZARDDLG = no; then
13519 result=yes
13520 else
13521 result=no
13522 fi
13523 else
13524 result=$wxUSE_WIZARDDLG
13525 fi
13526
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13529
13530
13531
13532
13533 enablestring=
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13537 defaultval=yes
13538 else
13539 defaultval=no
13540 fi
13541 fi
13542
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13545 # Check whether --enable-menus was given.
13546 if test "${enable_menus+set}" = set; then
13547 enableval=$enable_menus;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_menus='wxUSE_MENUS=yes'
13550 else
13551 wx_cv_use_menus='wxUSE_MENUS=no'
13552 fi
13553
13554 else
13555
13556 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13557
13558 fi
13559
13560
13561 eval "$wx_cv_use_menus"
13562
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_MENUS = no; then
13565 result=yes
13566 else
13567 result=no
13568 fi
13569 else
13570 result=$wxUSE_MENUS
13571 fi
13572
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13575
13576
13577 enablestring=
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13581 defaultval=yes
13582 else
13583 defaultval=no
13584 fi
13585 fi
13586
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13589 # Check whether --enable-miniframe was given.
13590 if test "${enable_miniframe+set}" = set; then
13591 enableval=$enable_miniframe;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13594 else
13595 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13596 fi
13597
13598 else
13599
13600 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13601
13602 fi
13603
13604
13605 eval "$wx_cv_use_miniframe"
13606
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_MINIFRAME = no; then
13609 result=yes
13610 else
13611 result=no
13612 fi
13613 else
13614 result=$wxUSE_MINIFRAME
13615 fi
13616
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13619
13620
13621 enablestring=
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13625 defaultval=yes
13626 else
13627 defaultval=no
13628 fi
13629 fi
13630
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13633 # Check whether --enable-tooltips was given.
13634 if test "${enable_tooltips+set}" = set; then
13635 enableval=$enable_tooltips;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13638 else
13639 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13640 fi
13641
13642 else
13643
13644 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13645
13646 fi
13647
13648
13649 eval "$wx_cv_use_tooltips"
13650
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_TOOLTIPS = no; then
13653 result=yes
13654 else
13655 result=no
13656 fi
13657 else
13658 result=$wxUSE_TOOLTIPS
13659 fi
13660
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13663
13664
13665 enablestring=
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13669 defaultval=yes
13670 else
13671 defaultval=no
13672 fi
13673 fi
13674
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13677 # Check whether --enable-splines was given.
13678 if test "${enable_splines+set}" = set; then
13679 enableval=$enable_splines;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_splines='wxUSE_SPLINES=yes'
13682 else
13683 wx_cv_use_splines='wxUSE_SPLINES=no'
13684 fi
13685
13686 else
13687
13688 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13689
13690 fi
13691
13692
13693 eval "$wx_cv_use_splines"
13694
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_SPLINES = no; then
13697 result=yes
13698 else
13699 result=no
13700 fi
13701 else
13702 result=$wxUSE_SPLINES
13703 fi
13704
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13707
13708
13709 enablestring=
13710 defaultval=$wxUSE_ALL_FEATURES
13711 if test -z "$defaultval"; then
13712 if test x"$enablestring" = xdisable; then
13713 defaultval=yes
13714 else
13715 defaultval=no
13716 fi
13717 fi
13718
13719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13721 # Check whether --enable-mousewheel was given.
13722 if test "${enable_mousewheel+set}" = set; then
13723 enableval=$enable_mousewheel;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13726 else
13727 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13728 fi
13729
13730 else
13731
13732 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13733
13734 fi
13735
13736
13737 eval "$wx_cv_use_mousewheel"
13738
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_MOUSEWHEEL = no; then
13741 result=yes
13742 else
13743 result=no
13744 fi
13745 else
13746 result=$wxUSE_MOUSEWHEEL
13747 fi
13748
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6; }
13751
13752
13753 enablestring=
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13757 defaultval=yes
13758 else
13759 defaultval=no
13760 fi
13761 fi
13762
13763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13765 # Check whether --enable-validators was given.
13766 if test "${enable_validators+set}" = set; then
13767 enableval=$enable_validators;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13770 else
13771 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13772 fi
13773
13774 else
13775
13776 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13777
13778 fi
13779
13780
13781 eval "$wx_cv_use_validators"
13782
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_VALIDATORS = no; then
13785 result=yes
13786 else
13787 result=no
13788 fi
13789 else
13790 result=$wxUSE_VALIDATORS
13791 fi
13792
13793 { echo "$as_me:$LINENO: result: $result" >&5
13794 echo "${ECHO_T}$result" >&6; }
13795
13796
13797 enablestring=
13798 defaultval=$wxUSE_ALL_FEATURES
13799 if test -z "$defaultval"; then
13800 if test x"$enablestring" = xdisable; then
13801 defaultval=yes
13802 else
13803 defaultval=no
13804 fi
13805 fi
13806
13807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13809 # Check whether --enable-busyinfo was given.
13810 if test "${enable_busyinfo+set}" = set; then
13811 enableval=$enable_busyinfo;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13814 else
13815 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13816 fi
13817
13818 else
13819
13820 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13821
13822 fi
13823
13824
13825 eval "$wx_cv_use_busyinfo"
13826
13827 if test x"$enablestring" = xdisable; then
13828 if test $wxUSE_BUSYINFO = no; then
13829 result=yes
13830 else
13831 result=no
13832 fi
13833 else
13834 result=$wxUSE_BUSYINFO
13835 fi
13836
13837 { echo "$as_me:$LINENO: result: $result" >&5
13838 echo "${ECHO_T}$result" >&6; }
13839
13840
13841 enablestring=
13842 defaultval=$wxUSE_ALL_FEATURES
13843 if test -z "$defaultval"; then
13844 if test x"$enablestring" = xdisable; then
13845 defaultval=yes
13846 else
13847 defaultval=no
13848 fi
13849 fi
13850
13851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
13852 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
13853 # Check whether --enable-hotkey was given.
13854 if test "${enable_hotkey+set}" = set; then
13855 enableval=$enable_hotkey;
13856 if test "$enableval" = yes; then
13857 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
13858 else
13859 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
13860 fi
13861
13862 else
13863
13864 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
13865
13866 fi
13867
13868
13869 eval "$wx_cv_use_hotkey"
13870
13871 if test x"$enablestring" = xdisable; then
13872 if test $wxUSE_HOTKEY = no; then
13873 result=yes
13874 else
13875 result=no
13876 fi
13877 else
13878 result=$wxUSE_HOTKEY
13879 fi
13880
13881 { echo "$as_me:$LINENO: result: $result" >&5
13882 echo "${ECHO_T}$result" >&6; }
13883
13884
13885 enablestring=
13886 defaultval=$wxUSE_ALL_FEATURES
13887 if test -z "$defaultval"; then
13888 if test x"$enablestring" = xdisable; then
13889 defaultval=yes
13890 else
13891 defaultval=no
13892 fi
13893 fi
13894
13895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13896 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13897 # Check whether --enable-joystick was given.
13898 if test "${enable_joystick+set}" = set; then
13899 enableval=$enable_joystick;
13900 if test "$enableval" = yes; then
13901 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13902 else
13903 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13904 fi
13905
13906 else
13907
13908 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13909
13910 fi
13911
13912
13913 eval "$wx_cv_use_joystick"
13914
13915 if test x"$enablestring" = xdisable; then
13916 if test $wxUSE_JOYSTICK = no; then
13917 result=yes
13918 else
13919 result=no
13920 fi
13921 else
13922 result=$wxUSE_JOYSTICK
13923 fi
13924
13925 { echo "$as_me:$LINENO: result: $result" >&5
13926 echo "${ECHO_T}$result" >&6; }
13927
13928
13929 enablestring=
13930 defaultval=$wxUSE_ALL_FEATURES
13931 if test -z "$defaultval"; then
13932 if test x"$enablestring" = xdisable; then
13933 defaultval=yes
13934 else
13935 defaultval=no
13936 fi
13937 fi
13938
13939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13940 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13941 # Check whether --enable-metafile was given.
13942 if test "${enable_metafile+set}" = set; then
13943 enableval=$enable_metafile;
13944 if test "$enableval" = yes; then
13945 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13946 else
13947 wx_cv_use_metafile='wxUSE_METAFILE=no'
13948 fi
13949
13950 else
13951
13952 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13953
13954 fi
13955
13956
13957 eval "$wx_cv_use_metafile"
13958
13959 if test x"$enablestring" = xdisable; then
13960 if test $wxUSE_METAFILE = no; then
13961 result=yes
13962 else
13963 result=no
13964 fi
13965 else
13966 result=$wxUSE_METAFILE
13967 fi
13968
13969 { echo "$as_me:$LINENO: result: $result" >&5
13970 echo "${ECHO_T}$result" >&6; }
13971
13972
13973 enablestring=
13974 defaultval=$wxUSE_ALL_FEATURES
13975 if test -z "$defaultval"; then
13976 if test x"$enablestring" = xdisable; then
13977 defaultval=yes
13978 else
13979 defaultval=no
13980 fi
13981 fi
13982
13983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13984 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13985 # Check whether --enable-dragimage was given.
13986 if test "${enable_dragimage+set}" = set; then
13987 enableval=$enable_dragimage;
13988 if test "$enableval" = yes; then
13989 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13990 else
13991 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13992 fi
13993
13994 else
13995
13996 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13997
13998 fi
13999
14000
14001 eval "$wx_cv_use_dragimage"
14002
14003 if test x"$enablestring" = xdisable; then
14004 if test $wxUSE_DRAGIMAGE = no; then
14005 result=yes
14006 else
14007 result=no
14008 fi
14009 else
14010 result=$wxUSE_DRAGIMAGE
14011 fi
14012
14013 { echo "$as_me:$LINENO: result: $result" >&5
14014 echo "${ECHO_T}$result" >&6; }
14015
14016
14017 enablestring=
14018 defaultval=$wxUSE_ALL_FEATURES
14019 if test -z "$defaultval"; then
14020 if test x"$enablestring" = xdisable; then
14021 defaultval=yes
14022 else
14023 defaultval=no
14024 fi
14025 fi
14026
14027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14028 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14029 # Check whether --enable-accessibility was given.
14030 if test "${enable_accessibility+set}" = set; then
14031 enableval=$enable_accessibility;
14032 if test "$enableval" = yes; then
14033 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14034 else
14035 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14036 fi
14037
14038 else
14039
14040 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14041
14042 fi
14043
14044
14045 eval "$wx_cv_use_accessibility"
14046
14047 if test x"$enablestring" = xdisable; then
14048 if test $wxUSE_ACCESSIBILITY = no; then
14049 result=yes
14050 else
14051 result=no
14052 fi
14053 else
14054 result=$wxUSE_ACCESSIBILITY
14055 fi
14056
14057 { echo "$as_me:$LINENO: result: $result" >&5
14058 echo "${ECHO_T}$result" >&6; }
14059
14060
14061 enablestring=
14062 defaultval=$wxUSE_ALL_FEATURES
14063 if test -z "$defaultval"; then
14064 if test x"$enablestring" = xdisable; then
14065 defaultval=yes
14066 else
14067 defaultval=no
14068 fi
14069 fi
14070
14071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14072 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14073 # Check whether --enable-uiactionsim was given.
14074 if test "${enable_uiactionsim+set}" = set; then
14075 enableval=$enable_uiactionsim;
14076 if test "$enableval" = yes; then
14077 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14078 else
14079 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14080 fi
14081
14082 else
14083
14084 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14085
14086 fi
14087
14088
14089 eval "$wx_cv_use_uiactionsim"
14090
14091 if test x"$enablestring" = xdisable; then
14092 if test $wxUSE_UIACTIONSIMULATOR = no; then
14093 result=yes
14094 else
14095 result=no
14096 fi
14097 else
14098 result=$wxUSE_UIACTIONSIMULATOR
14099 fi
14100
14101 { echo "$as_me:$LINENO: result: $result" >&5
14102 echo "${ECHO_T}$result" >&6; }
14103
14104
14105 enablestring=
14106 defaultval=$wxUSE_ALL_FEATURES
14107 if test -z "$defaultval"; then
14108 if test x"$enablestring" = xdisable; then
14109 defaultval=yes
14110 else
14111 defaultval=no
14112 fi
14113 fi
14114
14115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14116 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14117 # Check whether --enable-dctransform was given.
14118 if test "${enable_dctransform+set}" = set; then
14119 enableval=$enable_dctransform;
14120 if test "$enableval" = yes; then
14121 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14122 else
14123 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14124 fi
14125
14126 else
14127
14128 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14129
14130 fi
14131
14132
14133 eval "$wx_cv_use_dctransform"
14134
14135 if test x"$enablestring" = xdisable; then
14136 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14137 result=yes
14138 else
14139 result=no
14140 fi
14141 else
14142 result=$wxUSE_DC_TRANSFORM_MATRIX
14143 fi
14144
14145 { echo "$as_me:$LINENO: result: $result" >&5
14146 echo "${ECHO_T}$result" >&6; }
14147
14148
14149
14150
14151 enablestring=
14152 defaultval=$wxUSE_ALL_FEATURES
14153 if test -z "$defaultval"; then
14154 if test x"$enablestring" = xdisable; then
14155 defaultval=yes
14156 else
14157 defaultval=no
14158 fi
14159 fi
14160
14161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14162 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14163 # Check whether --enable-palette was given.
14164 if test "${enable_palette+set}" = set; then
14165 enableval=$enable_palette;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_palette='wxUSE_PALETTE=yes'
14168 else
14169 wx_cv_use_palette='wxUSE_PALETTE=no'
14170 fi
14171
14172 else
14173
14174 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14175
14176 fi
14177
14178
14179 eval "$wx_cv_use_palette"
14180
14181 if test x"$enablestring" = xdisable; then
14182 if test $wxUSE_PALETTE = no; then
14183 result=yes
14184 else
14185 result=no
14186 fi
14187 else
14188 result=$wxUSE_PALETTE
14189 fi
14190
14191 { echo "$as_me:$LINENO: result: $result" >&5
14192 echo "${ECHO_T}$result" >&6; }
14193
14194
14195 enablestring=
14196 defaultval=$wxUSE_ALL_FEATURES
14197 if test -z "$defaultval"; then
14198 if test x"$enablestring" = xdisable; then
14199 defaultval=yes
14200 else
14201 defaultval=no
14202 fi
14203 fi
14204
14205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14207 # Check whether --enable-image was given.
14208 if test "${enable_image+set}" = set; then
14209 enableval=$enable_image;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_image='wxUSE_IMAGE=yes'
14212 else
14213 wx_cv_use_image='wxUSE_IMAGE=no'
14214 fi
14215
14216 else
14217
14218 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14219
14220 fi
14221
14222
14223 eval "$wx_cv_use_image"
14224
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_IMAGE = no; then
14227 result=yes
14228 else
14229 result=no
14230 fi
14231 else
14232 result=$wxUSE_IMAGE
14233 fi
14234
14235 { echo "$as_me:$LINENO: result: $result" >&5
14236 echo "${ECHO_T}$result" >&6; }
14237
14238
14239 enablestring=
14240 defaultval=$wxUSE_ALL_FEATURES
14241 if test -z "$defaultval"; then
14242 if test x"$enablestring" = xdisable; then
14243 defaultval=yes
14244 else
14245 defaultval=no
14246 fi
14247 fi
14248
14249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14250 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14251 # Check whether --enable-gif was given.
14252 if test "${enable_gif+set}" = set; then
14253 enableval=$enable_gif;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_gif='wxUSE_GIF=yes'
14256 else
14257 wx_cv_use_gif='wxUSE_GIF=no'
14258 fi
14259
14260 else
14261
14262 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14263
14264 fi
14265
14266
14267 eval "$wx_cv_use_gif"
14268
14269 if test x"$enablestring" = xdisable; then
14270 if test $wxUSE_GIF = no; then
14271 result=yes
14272 else
14273 result=no
14274 fi
14275 else
14276 result=$wxUSE_GIF
14277 fi
14278
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14281
14282
14283 enablestring=
14284 defaultval=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x"$enablestring" = xdisable; then
14287 defaultval=yes
14288 else
14289 defaultval=no
14290 fi
14291 fi
14292
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14295 # Check whether --enable-pcx was given.
14296 if test "${enable_pcx+set}" = set; then
14297 enableval=$enable_pcx;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_pcx='wxUSE_PCX=yes'
14300 else
14301 wx_cv_use_pcx='wxUSE_PCX=no'
14302 fi
14303
14304 else
14305
14306 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14307
14308 fi
14309
14310
14311 eval "$wx_cv_use_pcx"
14312
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_PCX = no; then
14315 result=yes
14316 else
14317 result=no
14318 fi
14319 else
14320 result=$wxUSE_PCX
14321 fi
14322
14323 { echo "$as_me:$LINENO: result: $result" >&5
14324 echo "${ECHO_T}$result" >&6; }
14325
14326
14327 enablestring=
14328 defaultval=$wxUSE_ALL_FEATURES
14329 if test -z "$defaultval"; then
14330 if test x"$enablestring" = xdisable; then
14331 defaultval=yes
14332 else
14333 defaultval=no
14334 fi
14335 fi
14336
14337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14339 # Check whether --enable-tga was given.
14340 if test "${enable_tga+set}" = set; then
14341 enableval=$enable_tga;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_tga='wxUSE_TGA=yes'
14344 else
14345 wx_cv_use_tga='wxUSE_TGA=no'
14346 fi
14347
14348 else
14349
14350 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14351
14352 fi
14353
14354
14355 eval "$wx_cv_use_tga"
14356
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_TGA = no; then
14359 result=yes
14360 else
14361 result=no
14362 fi
14363 else
14364 result=$wxUSE_TGA
14365 fi
14366
14367 { echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14369
14370
14371 enablestring=
14372 defaultval=$wxUSE_ALL_FEATURES
14373 if test -z "$defaultval"; then
14374 if test x"$enablestring" = xdisable; then
14375 defaultval=yes
14376 else
14377 defaultval=no
14378 fi
14379 fi
14380
14381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14382 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14383 # Check whether --enable-iff was given.
14384 if test "${enable_iff+set}" = set; then
14385 enableval=$enable_iff;
14386 if test "$enableval" = yes; then
14387 wx_cv_use_iff='wxUSE_IFF=yes'
14388 else
14389 wx_cv_use_iff='wxUSE_IFF=no'
14390 fi
14391
14392 else
14393
14394 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14395
14396 fi
14397
14398
14399 eval "$wx_cv_use_iff"
14400
14401 if test x"$enablestring" = xdisable; then
14402 if test $wxUSE_IFF = no; then
14403 result=yes
14404 else
14405 result=no
14406 fi
14407 else
14408 result=$wxUSE_IFF
14409 fi
14410
14411 { echo "$as_me:$LINENO: result: $result" >&5
14412 echo "${ECHO_T}$result" >&6; }
14413
14414
14415 enablestring=
14416 defaultval=$wxUSE_ALL_FEATURES
14417 if test -z "$defaultval"; then
14418 if test x"$enablestring" = xdisable; then
14419 defaultval=yes
14420 else
14421 defaultval=no
14422 fi
14423 fi
14424
14425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14426 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14427 # Check whether --enable-pnm was given.
14428 if test "${enable_pnm+set}" = set; then
14429 enableval=$enable_pnm;
14430 if test "$enableval" = yes; then
14431 wx_cv_use_pnm='wxUSE_PNM=yes'
14432 else
14433 wx_cv_use_pnm='wxUSE_PNM=no'
14434 fi
14435
14436 else
14437
14438 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14439
14440 fi
14441
14442
14443 eval "$wx_cv_use_pnm"
14444
14445 if test x"$enablestring" = xdisable; then
14446 if test $wxUSE_PNM = no; then
14447 result=yes
14448 else
14449 result=no
14450 fi
14451 else
14452 result=$wxUSE_PNM
14453 fi
14454
14455 { echo "$as_me:$LINENO: result: $result" >&5
14456 echo "${ECHO_T}$result" >&6; }
14457
14458
14459 enablestring=
14460 defaultval=$wxUSE_ALL_FEATURES
14461 if test -z "$defaultval"; then
14462 if test x"$enablestring" = xdisable; then
14463 defaultval=yes
14464 else
14465 defaultval=no
14466 fi
14467 fi
14468
14469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14470 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14471 # Check whether --enable-xpm was given.
14472 if test "${enable_xpm+set}" = set; then
14473 enableval=$enable_xpm;
14474 if test "$enableval" = yes; then
14475 wx_cv_use_xpm='wxUSE_XPM=yes'
14476 else
14477 wx_cv_use_xpm='wxUSE_XPM=no'
14478 fi
14479
14480 else
14481
14482 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14483
14484 fi
14485
14486
14487 eval "$wx_cv_use_xpm"
14488
14489 if test x"$enablestring" = xdisable; then
14490 if test $wxUSE_XPM = no; then
14491 result=yes
14492 else
14493 result=no
14494 fi
14495 else
14496 result=$wxUSE_XPM
14497 fi
14498
14499 { echo "$as_me:$LINENO: result: $result" >&5
14500 echo "${ECHO_T}$result" >&6; }
14501
14502
14503 enablestring=
14504 defaultval=$wxUSE_ALL_FEATURES
14505 if test -z "$defaultval"; then
14506 if test x"$enablestring" = xdisable; then
14507 defaultval=yes
14508 else
14509 defaultval=no
14510 fi
14511 fi
14512
14513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14514 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14515 # Check whether --enable-ico_cur was given.
14516 if test "${enable_ico_cur+set}" = set; then
14517 enableval=$enable_ico_cur;
14518 if test "$enableval" = yes; then
14519 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14520 else
14521 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14522 fi
14523
14524 else
14525
14526 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14527
14528 fi
14529
14530
14531 eval "$wx_cv_use_ico_cur"
14532
14533 if test x"$enablestring" = xdisable; then
14534 if test $wxUSE_ICO_CUR = no; then
14535 result=yes
14536 else
14537 result=no
14538 fi
14539 else
14540 result=$wxUSE_ICO_CUR
14541 fi
14542
14543 { echo "$as_me:$LINENO: result: $result" >&5
14544 echo "${ECHO_T}$result" >&6; }
14545
14546
14547
14548
14549 enablestring=
14550 defaultval=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x"$enablestring" = xdisable; then
14553 defaultval=yes
14554 else
14555 defaultval=no
14556 fi
14557 fi
14558
14559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14560 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14561 # Check whether --enable-dccache was given.
14562 if test "${enable_dccache+set}" = set; then
14563 enableval=$enable_dccache;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14566 else
14567 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14568 fi
14569
14570 else
14571
14572 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14573
14574 fi
14575
14576
14577 eval "$wx_cv_use_dccache"
14578
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_DC_CACHEING = no; then
14581 result=yes
14582 else
14583 result=no
14584 fi
14585 else
14586 result=$wxUSE_DC_CACHEING
14587 fi
14588
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14591
14592
14593 enablestring=
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14597 defaultval=yes
14598 else
14599 defaultval=no
14600 fi
14601 fi
14602
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14605 # Check whether --enable-ps-in-msw was given.
14606 if test "${enable_ps_in_msw+set}" = set; then
14607 enableval=$enable_ps_in_msw;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14610 else
14611 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14612 fi
14613
14614 else
14615
14616 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14617
14618 fi
14619
14620
14621 eval "$wx_cv_use_ps_in_msw"
14622
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14625 result=yes
14626 else
14627 result=no
14628 fi
14629 else
14630 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14631 fi
14632
14633 { echo "$as_me:$LINENO: result: $result" >&5
14634 echo "${ECHO_T}$result" >&6; }
14635
14636
14637 enablestring=
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14641 defaultval=yes
14642 else
14643 defaultval=no
14644 fi
14645 fi
14646
14647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14648 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14649 # Check whether --enable-ownerdrawn was given.
14650 if test "${enable_ownerdrawn+set}" = set; then
14651 enableval=$enable_ownerdrawn;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14654 else
14655 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14656 fi
14657
14658 else
14659
14660 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14661
14662 fi
14663
14664
14665 eval "$wx_cv_use_ownerdrawn"
14666
14667 if test x"$enablestring" = xdisable; then
14668 if test $wxUSE_OWNER_DRAWN = no; then
14669 result=yes
14670 else
14671 result=no
14672 fi
14673 else
14674 result=$wxUSE_OWNER_DRAWN
14675 fi
14676
14677 { echo "$as_me:$LINENO: result: $result" >&5
14678 echo "${ECHO_T}$result" >&6; }
14679
14680
14681 enablestring=
14682 defaultval=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x"$enablestring" = xdisable; then
14685 defaultval=yes
14686 else
14687 defaultval=no
14688 fi
14689 fi
14690
14691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14692 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14693 # Check whether --enable-uxtheme was given.
14694 if test "${enable_uxtheme+set}" = set; then
14695 enableval=$enable_uxtheme;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14698 else
14699 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14700 fi
14701
14702 else
14703
14704 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14705
14706 fi
14707
14708
14709 eval "$wx_cv_use_uxtheme"
14710
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_UXTHEME = no; then
14713 result=yes
14714 else
14715 result=no
14716 fi
14717 else
14718 result=$wxUSE_UXTHEME
14719 fi
14720
14721 { echo "$as_me:$LINENO: result: $result" >&5
14722 echo "${ECHO_T}$result" >&6; }
14723
14724
14725 enablestring=
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14729 defaultval=yes
14730 else
14731 defaultval=no
14732 fi
14733 fi
14734
14735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14736 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14737 # Check whether --enable-wxdib was given.
14738 if test "${enable_wxdib+set}" = set; then
14739 enableval=$enable_wxdib;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_wxdib='wxUSE_DIB=yes'
14742 else
14743 wx_cv_use_wxdib='wxUSE_DIB=no'
14744 fi
14745
14746 else
14747
14748 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14749
14750 fi
14751
14752
14753 eval "$wx_cv_use_wxdib"
14754
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_DIB = no; then
14757 result=yes
14758 else
14759 result=no
14760 fi
14761 else
14762 result=$wxUSE_DIB
14763 fi
14764
14765 { echo "$as_me:$LINENO: result: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14767
14768
14769 if test "$wxUSE_MSW" != 1; then
14770 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14771 fi
14772
14773
14774 enablestring=
14775 defaultval=$wxUSE_ALL_FEATURES
14776 if test -z "$defaultval"; then
14777 if test x"$enablestring" = xdisable; then
14778 defaultval=yes
14779 else
14780 defaultval=no
14781 fi
14782 fi
14783
14784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14785 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14786 # Check whether --enable-autoidman was given.
14787 if test "${enable_autoidman+set}" = set; then
14788 enableval=$enable_autoidman;
14789 if test "$enableval" = yes; then
14790 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
14791 else
14792 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
14793 fi
14794
14795 else
14796
14797 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14798
14799 fi
14800
14801
14802 eval "$wx_cv_use_autoidman"
14803
14804 if test x"$enablestring" = xdisable; then
14805 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14806 result=yes
14807 else
14808 result=no
14809 fi
14810 else
14811 result=$wxUSE_AUTOID_MANAGEMENT
14812 fi
14813
14814 { echo "$as_me:$LINENO: result: $result" >&5
14815 echo "${ECHO_T}$result" >&6; }
14816
14817
14818 fi
14819
14820
14821 cat >confcache <<\_ACEOF
14822 # This file is a shell script that caches the results of configure
14823 # tests run on this system so they can be shared between configure
14824 # scripts and configure runs, see configure's option --config-cache.
14825 # It is not useful on other systems. If it contains results you don't
14826 # want to keep, you may remove or edit it.
14827 #
14828 # config.status only pays attention to the cache file if you give it
14829 # the --recheck option to rerun configure.
14830 #
14831 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14832 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14833 # following values.
14834
14835 _ACEOF
14836
14837 # The following way of writing the cache mishandles newlines in values,
14838 # but we know of no workaround that is simple, portable, and efficient.
14839 # So, we kill variables containing newlines.
14840 # Ultrix sh set writes to stderr and can't be redirected directly,
14841 # and sets the high bit in the cache file unless we assign to the vars.
14842 (
14843 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14844 eval ac_val=\$$ac_var
14845 case $ac_val in #(
14846 *${as_nl}*)
14847 case $ac_var in #(
14848 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14849 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14850 esac
14851 case $ac_var in #(
14852 _ | IFS | as_nl) ;; #(
14853 *) $as_unset $ac_var ;;
14854 esac ;;
14855 esac
14856 done
14857
14858 (set) 2>&1 |
14859 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14860 *${as_nl}ac_space=\ *)
14861 # `set' does not quote correctly, so add quotes (double-quote
14862 # substitution turns \\\\ into \\, and sed turns \\ into \).
14863 sed -n \
14864 "s/'/'\\\\''/g;
14865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14866 ;; #(
14867 *)
14868 # `set' quotes correctly as required by POSIX, so do not add quotes.
14869 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14870 ;;
14871 esac |
14872 sort
14873 ) |
14874 sed '
14875 /^ac_cv_env_/b end
14876 t clear
14877 :clear
14878 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14879 t end
14880 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14881 :end' >>confcache
14882 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14883 if test -w "$cache_file"; then
14884 test "x$cache_file" != "x/dev/null" &&
14885 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14886 echo "$as_me: updating cache $cache_file" >&6;}
14887 cat confcache >$cache_file
14888 else
14889 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14890 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14891 fi
14892 fi
14893 rm -f confcache
14894
14895 CFLAGS=${CFLAGS:=}
14896 ac_ext=c
14897 ac_cpp='$CPP $CPPFLAGS'
14898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14901 if test -n "$ac_tool_prefix"; then
14902 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14903 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14906 if test "${ac_cv_prog_CC+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14909 if test -n "$CC"; then
14910 ac_cv_prog_CC="$CC" # Let the user override the test.
14911 else
14912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14913 for as_dir in $PATH
14914 do
14915 IFS=$as_save_IFS
14916 test -z "$as_dir" && as_dir=.
14917 for ac_exec_ext in '' $ac_executable_extensions; do
14918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14919 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14921 break 2
14922 fi
14923 done
14924 done
14925 IFS=$as_save_IFS
14926
14927 fi
14928 fi
14929 CC=$ac_cv_prog_CC
14930 if test -n "$CC"; then
14931 { echo "$as_me:$LINENO: result: $CC" >&5
14932 echo "${ECHO_T}$CC" >&6; }
14933 else
14934 { echo "$as_me:$LINENO: result: no" >&5
14935 echo "${ECHO_T}no" >&6; }
14936 fi
14937
14938
14939 fi
14940 if test -z "$ac_cv_prog_CC"; then
14941 ac_ct_CC=$CC
14942 # Extract the first word of "gcc", so it can be a program name with args.
14943 set dummy gcc; ac_word=$2
14944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14946 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 else
14949 if test -n "$ac_ct_CC"; then
14950 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14951 else
14952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14953 for as_dir in $PATH
14954 do
14955 IFS=$as_save_IFS
14956 test -z "$as_dir" && as_dir=.
14957 for ac_exec_ext in '' $ac_executable_extensions; do
14958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14959 ac_cv_prog_ac_ct_CC="gcc"
14960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14961 break 2
14962 fi
14963 done
14964 done
14965 IFS=$as_save_IFS
14966
14967 fi
14968 fi
14969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14970 if test -n "$ac_ct_CC"; then
14971 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14972 echo "${ECHO_T}$ac_ct_CC" >&6; }
14973 else
14974 { echo "$as_me:$LINENO: result: no" >&5
14975 echo "${ECHO_T}no" >&6; }
14976 fi
14977
14978 if test "x$ac_ct_CC" = x; then
14979 CC=""
14980 else
14981 case $cross_compiling:$ac_tool_warned in
14982 yes:)
14983 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14984 whose name does not start with the host triplet. If you think this
14985 configuration is useful to you, please write to autoconf@gnu.org." >&5
14986 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14987 whose name does not start with the host triplet. If you think this
14988 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14989 ac_tool_warned=yes ;;
14990 esac
14991 CC=$ac_ct_CC
14992 fi
14993 else
14994 CC="$ac_cv_prog_CC"
14995 fi
14996
14997 if test -z "$CC"; then
14998 if test -n "$ac_tool_prefix"; then
14999 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15000 set dummy ${ac_tool_prefix}cc; ac_word=$2
15001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15003 if test "${ac_cv_prog_CC+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15006 if test -n "$CC"; then
15007 ac_cv_prog_CC="$CC" # Let the user override the test.
15008 else
15009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15010 for as_dir in $PATH
15011 do
15012 IFS=$as_save_IFS
15013 test -z "$as_dir" && as_dir=.
15014 for ac_exec_ext in '' $ac_executable_extensions; do
15015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15016 ac_cv_prog_CC="${ac_tool_prefix}cc"
15017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15018 break 2
15019 fi
15020 done
15021 done
15022 IFS=$as_save_IFS
15023
15024 fi
15025 fi
15026 CC=$ac_cv_prog_CC
15027 if test -n "$CC"; then
15028 { echo "$as_me:$LINENO: result: $CC" >&5
15029 echo "${ECHO_T}$CC" >&6; }
15030 else
15031 { echo "$as_me:$LINENO: result: no" >&5
15032 echo "${ECHO_T}no" >&6; }
15033 fi
15034
15035
15036 fi
15037 fi
15038 if test -z "$CC"; then
15039 # Extract the first word of "cc", so it can be a program name with args.
15040 set dummy cc; ac_word=$2
15041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15043 if test "${ac_cv_prog_CC+set}" = set; then
15044 echo $ECHO_N "(cached) $ECHO_C" >&6
15045 else
15046 if test -n "$CC"; then
15047 ac_cv_prog_CC="$CC" # Let the user override the test.
15048 else
15049 ac_prog_rejected=no
15050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15051 for as_dir in $PATH
15052 do
15053 IFS=$as_save_IFS
15054 test -z "$as_dir" && as_dir=.
15055 for ac_exec_ext in '' $ac_executable_extensions; do
15056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15057 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15058 ac_prog_rejected=yes
15059 continue
15060 fi
15061 ac_cv_prog_CC="cc"
15062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15063 break 2
15064 fi
15065 done
15066 done
15067 IFS=$as_save_IFS
15068
15069 if test $ac_prog_rejected = yes; then
15070 # We found a bogon in the path, so make sure we never use it.
15071 set dummy $ac_cv_prog_CC
15072 shift
15073 if test $# != 0; then
15074 # We chose a different compiler from the bogus one.
15075 # However, it has the same basename, so the bogon will be chosen
15076 # first if we set CC to just the basename; use the full file name.
15077 shift
15078 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15079 fi
15080 fi
15081 fi
15082 fi
15083 CC=$ac_cv_prog_CC
15084 if test -n "$CC"; then
15085 { echo "$as_me:$LINENO: result: $CC" >&5
15086 echo "${ECHO_T}$CC" >&6; }
15087 else
15088 { echo "$as_me:$LINENO: result: no" >&5
15089 echo "${ECHO_T}no" >&6; }
15090 fi
15091
15092
15093 fi
15094 if test -z "$CC"; then
15095 if test -n "$ac_tool_prefix"; then
15096 for ac_prog in cl.exe
15097 do
15098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15102 if test "${ac_cv_prog_CC+set}" = set; then
15103 echo $ECHO_N "(cached) $ECHO_C" >&6
15104 else
15105 if test -n "$CC"; then
15106 ac_cv_prog_CC="$CC" # Let the user override the test.
15107 else
15108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15109 for as_dir in $PATH
15110 do
15111 IFS=$as_save_IFS
15112 test -z "$as_dir" && as_dir=.
15113 for ac_exec_ext in '' $ac_executable_extensions; do
15114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15115 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15117 break 2
15118 fi
15119 done
15120 done
15121 IFS=$as_save_IFS
15122
15123 fi
15124 fi
15125 CC=$ac_cv_prog_CC
15126 if test -n "$CC"; then
15127 { echo "$as_me:$LINENO: result: $CC" >&5
15128 echo "${ECHO_T}$CC" >&6; }
15129 else
15130 { echo "$as_me:$LINENO: result: no" >&5
15131 echo "${ECHO_T}no" >&6; }
15132 fi
15133
15134
15135 test -n "$CC" && break
15136 done
15137 fi
15138 if test -z "$CC"; then
15139 ac_ct_CC=$CC
15140 for ac_prog in cl.exe
15141 do
15142 # Extract the first word of "$ac_prog", so it can be a program name with args.
15143 set dummy $ac_prog; ac_word=$2
15144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15146 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else
15149 if test -n "$ac_ct_CC"; then
15150 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15151 else
15152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15153 for as_dir in $PATH
15154 do
15155 IFS=$as_save_IFS
15156 test -z "$as_dir" && as_dir=.
15157 for ac_exec_ext in '' $ac_executable_extensions; do
15158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15159 ac_cv_prog_ac_ct_CC="$ac_prog"
15160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15161 break 2
15162 fi
15163 done
15164 done
15165 IFS=$as_save_IFS
15166
15167 fi
15168 fi
15169 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15170 if test -n "$ac_ct_CC"; then
15171 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15172 echo "${ECHO_T}$ac_ct_CC" >&6; }
15173 else
15174 { echo "$as_me:$LINENO: result: no" >&5
15175 echo "${ECHO_T}no" >&6; }
15176 fi
15177
15178
15179 test -n "$ac_ct_CC" && break
15180 done
15181
15182 if test "x$ac_ct_CC" = x; then
15183 CC=""
15184 else
15185 case $cross_compiling:$ac_tool_warned in
15186 yes:)
15187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15188 whose name does not start with the host triplet. If you think this
15189 configuration is useful to you, please write to autoconf@gnu.org." >&5
15190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15191 whose name does not start with the host triplet. If you think this
15192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15193 ac_tool_warned=yes ;;
15194 esac
15195 CC=$ac_ct_CC
15196 fi
15197 fi
15198
15199 fi
15200
15201
15202 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15203 See \`config.log' for more details." >&5
15204 echo "$as_me: error: no acceptable C compiler found in \$PATH
15205 See \`config.log' for more details." >&2;}
15206 { (exit 1); exit 1; }; }
15207
15208 # Provide some information about the compiler.
15209 echo "$as_me:$LINENO: checking for C compiler version" >&5
15210 ac_compiler=`set X $ac_compile; echo $2`
15211 { (ac_try="$ac_compiler --version >&5"
15212 case "(($ac_try" in
15213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15214 *) ac_try_echo=$ac_try;;
15215 esac
15216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15217 (eval "$ac_compiler --version >&5") 2>&5
15218 ac_status=$?
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); }
15221 { (ac_try="$ac_compiler -v >&5"
15222 case "(($ac_try" in
15223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15224 *) ac_try_echo=$ac_try;;
15225 esac
15226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15227 (eval "$ac_compiler -v >&5") 2>&5
15228 ac_status=$?
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }
15231 { (ac_try="$ac_compiler -V >&5"
15232 case "(($ac_try" in
15233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15234 *) ac_try_echo=$ac_try;;
15235 esac
15236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15237 (eval "$ac_compiler -V >&5") 2>&5
15238 ac_status=$?
15239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15240 (exit $ac_status); }
15241
15242 cat >conftest.$ac_ext <<_ACEOF
15243 /* confdefs.h. */
15244 _ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15248
15249 int
15250 main ()
15251 {
15252
15253 ;
15254 return 0;
15255 }
15256 _ACEOF
15257 ac_clean_files_save=$ac_clean_files
15258 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15259 # Try to create an executable without -o first, disregard a.out.
15260 # It will help us diagnose broken compilers, and finding out an intuition
15261 # of exeext.
15262 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15263 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15264 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15265 #
15266 # List of possible output files, starting from the most likely.
15267 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15268 # only as a last resort. b.out is created by i960 compilers.
15269 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15270 #
15271 # The IRIX 6 linker writes into existing files which may not be
15272 # executable, retaining their permissions. Remove them first so a
15273 # subsequent execution test works.
15274 ac_rmfiles=
15275 for ac_file in $ac_files
15276 do
15277 case $ac_file in
15278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15279 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15280 esac
15281 done
15282 rm -f $ac_rmfiles
15283
15284 if { (ac_try="$ac_link_default"
15285 case "(($ac_try" in
15286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15287 *) ac_try_echo=$ac_try;;
15288 esac
15289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15290 (eval "$ac_link_default") 2>&5
15291 ac_status=$?
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; then
15294 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15295 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15296 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15297 # so that the user can short-circuit this test for compilers unknown to
15298 # Autoconf.
15299 for ac_file in $ac_files ''
15300 do
15301 test -f "$ac_file" || continue
15302 case $ac_file in
15303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15304 ;;
15305 [ab].out )
15306 # We found the default executable, but exeext='' is most
15307 # certainly right.
15308 break;;
15309 *.* )
15310 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15311 then :; else
15312 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15313 fi
15314 # We set ac_cv_exeext here because the later test for it is not
15315 # safe: cross compilers may not add the suffix if given an `-o'
15316 # argument, so we may need to know it at that point already.
15317 # Even if this section looks crufty: it has the advantage of
15318 # actually working.
15319 break;;
15320 * )
15321 break;;
15322 esac
15323 done
15324 test "$ac_cv_exeext" = no && ac_cv_exeext=
15325
15326 else
15327 ac_file=''
15328 fi
15329
15330 { echo "$as_me:$LINENO: result: $ac_file" >&5
15331 echo "${ECHO_T}$ac_file" >&6; }
15332 if test -z "$ac_file"; then
15333 echo "$as_me: failed program was:" >&5
15334 sed 's/^/| /' conftest.$ac_ext >&5
15335
15336 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15337 See \`config.log' for more details." >&5
15338 echo "$as_me: error: C compiler cannot create executables
15339 See \`config.log' for more details." >&2;}
15340 { (exit 77); exit 77; }; }
15341 fi
15342
15343 ac_exeext=$ac_cv_exeext
15344
15345 # Check that the compiler produces executables we can run. If not, either
15346 # the compiler is broken, or we cross compile.
15347 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15348 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15349 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15350 # If not cross compiling, check that we can run a simple program.
15351 if test "$cross_compiling" != yes; then
15352 if { ac_try='./$ac_file'
15353 { (case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_try") 2>&5
15359 ac_status=$?
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); }; }; then
15362 cross_compiling=no
15363 else
15364 if test "$cross_compiling" = maybe; then
15365 cross_compiling=yes
15366 else
15367 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15368 If you meant to cross compile, use \`--host'.
15369 See \`config.log' for more details." >&5
15370 echo "$as_me: error: cannot run C compiled programs.
15371 If you meant to cross compile, use \`--host'.
15372 See \`config.log' for more details." >&2;}
15373 { (exit 1); exit 1; }; }
15374 fi
15375 fi
15376 fi
15377 { echo "$as_me:$LINENO: result: yes" >&5
15378 echo "${ECHO_T}yes" >&6; }
15379
15380 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15381 ac_clean_files=$ac_clean_files_save
15382 # Check that the compiler produces executables we can run. If not, either
15383 # the compiler is broken, or we cross compile.
15384 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15385 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15386 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15387 echo "${ECHO_T}$cross_compiling" >&6; }
15388
15389 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15390 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15391 if { (ac_try="$ac_link"
15392 case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15395 esac
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_link") 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; then
15401 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15402 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15403 # work properly (i.e., refer to `conftest.exe'), while it won't with
15404 # `rm'.
15405 for ac_file in conftest.exe conftest conftest.*; do
15406 test -f "$ac_file" || continue
15407 case $ac_file in
15408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15409 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15410 break;;
15411 * ) break;;
15412 esac
15413 done
15414 else
15415 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15416 See \`config.log' for more details." >&5
15417 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15418 See \`config.log' for more details." >&2;}
15419 { (exit 1); exit 1; }; }
15420 fi
15421
15422 rm -f conftest$ac_cv_exeext
15423 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15424 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15425
15426 rm -f conftest.$ac_ext
15427 EXEEXT=$ac_cv_exeext
15428 ac_exeext=$EXEEXT
15429 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15430 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15431 if test "${ac_cv_objext+set}" = set; then
15432 echo $ECHO_N "(cached) $ECHO_C" >&6
15433 else
15434 cat >conftest.$ac_ext <<_ACEOF
15435 /* confdefs.h. */
15436 _ACEOF
15437 cat confdefs.h >>conftest.$ac_ext
15438 cat >>conftest.$ac_ext <<_ACEOF
15439 /* end confdefs.h. */
15440
15441 int
15442 main ()
15443 {
15444
15445 ;
15446 return 0;
15447 }
15448 _ACEOF
15449 rm -f conftest.o conftest.obj
15450 if { (ac_try="$ac_compile"
15451 case "(($ac_try" in
15452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15453 *) ac_try_echo=$ac_try;;
15454 esac
15455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15456 (eval "$ac_compile") 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; then
15460 for ac_file in conftest.o conftest.obj conftest.*; do
15461 test -f "$ac_file" || continue;
15462 case $ac_file in
15463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15464 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15465 break;;
15466 esac
15467 done
15468 else
15469 echo "$as_me: failed program was:" >&5
15470 sed 's/^/| /' conftest.$ac_ext >&5
15471
15472 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15473 See \`config.log' for more details." >&5
15474 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15475 See \`config.log' for more details." >&2;}
15476 { (exit 1); exit 1; }; }
15477 fi
15478
15479 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15480 fi
15481 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15482 echo "${ECHO_T}$ac_cv_objext" >&6; }
15483 OBJEXT=$ac_cv_objext
15484 ac_objext=$OBJEXT
15485 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15486 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15487 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15488 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 else
15490 cat >conftest.$ac_ext <<_ACEOF
15491 /* confdefs.h. */
15492 _ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496
15497 int
15498 main ()
15499 {
15500 #ifndef __GNUC__
15501 choke me
15502 #endif
15503
15504 ;
15505 return 0;
15506 }
15507 _ACEOF
15508 rm -f conftest.$ac_objext
15509 if { (ac_try="$ac_compile"
15510 case "(($ac_try" in
15511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15512 *) ac_try_echo=$ac_try;;
15513 esac
15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15515 (eval "$ac_compile") 2>conftest.er1
15516 ac_status=$?
15517 grep -v '^ *+' conftest.er1 >conftest.err
15518 rm -f conftest.er1
15519 cat conftest.err >&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && {
15522 test -z "$ac_c_werror_flag" ||
15523 test ! -s conftest.err
15524 } && test -s conftest.$ac_objext; then
15525 ac_compiler_gnu=yes
15526 else
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.$ac_ext >&5
15529
15530 ac_compiler_gnu=no
15531 fi
15532
15533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15534 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15535
15536 fi
15537 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15538 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15539 GCC=`test $ac_compiler_gnu = yes && echo yes`
15540 ac_test_CFLAGS=${CFLAGS+set}
15541 ac_save_CFLAGS=$CFLAGS
15542 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15543 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15544 if test "${ac_cv_prog_cc_g+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15546 else
15547 ac_save_c_werror_flag=$ac_c_werror_flag
15548 ac_c_werror_flag=yes
15549 ac_cv_prog_cc_g=no
15550 CFLAGS="-g"
15551 cat >conftest.$ac_ext <<_ACEOF
15552 /* confdefs.h. */
15553 _ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15557
15558 int
15559 main ()
15560 {
15561
15562 ;
15563 return 0;
15564 }
15565 _ACEOF
15566 rm -f conftest.$ac_objext
15567 if { (ac_try="$ac_compile"
15568 case "(($ac_try" in
15569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15571 esac
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_compile") 2>conftest.er1
15574 ac_status=$?
15575 grep -v '^ *+' conftest.er1 >conftest.err
15576 rm -f conftest.er1
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && {
15580 test -z "$ac_c_werror_flag" ||
15581 test ! -s conftest.err
15582 } && test -s conftest.$ac_objext; then
15583 ac_cv_prog_cc_g=yes
15584 else
15585 echo "$as_me: failed program was:" >&5
15586 sed 's/^/| /' conftest.$ac_ext >&5
15587
15588 CFLAGS=""
15589 cat >conftest.$ac_ext <<_ACEOF
15590 /* confdefs.h. */
15591 _ACEOF
15592 cat confdefs.h >>conftest.$ac_ext
15593 cat >>conftest.$ac_ext <<_ACEOF
15594 /* end confdefs.h. */
15595
15596 int
15597 main ()
15598 {
15599
15600 ;
15601 return 0;
15602 }
15603 _ACEOF
15604 rm -f conftest.$ac_objext
15605 if { (ac_try="$ac_compile"
15606 case "(($ac_try" in
15607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15608 *) ac_try_echo=$ac_try;;
15609 esac
15610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15611 (eval "$ac_compile") 2>conftest.er1
15612 ac_status=$?
15613 grep -v '^ *+' conftest.er1 >conftest.err
15614 rm -f conftest.er1
15615 cat conftest.err >&5
15616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15617 (exit $ac_status); } && {
15618 test -z "$ac_c_werror_flag" ||
15619 test ! -s conftest.err
15620 } && test -s conftest.$ac_objext; then
15621 :
15622 else
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15625
15626 ac_c_werror_flag=$ac_save_c_werror_flag
15627 CFLAGS="-g"
15628 cat >conftest.$ac_ext <<_ACEOF
15629 /* confdefs.h. */
15630 _ACEOF
15631 cat confdefs.h >>conftest.$ac_ext
15632 cat >>conftest.$ac_ext <<_ACEOF
15633 /* end confdefs.h. */
15634
15635 int
15636 main ()
15637 {
15638
15639 ;
15640 return 0;
15641 }
15642 _ACEOF
15643 rm -f conftest.$ac_objext
15644 if { (ac_try="$ac_compile"
15645 case "(($ac_try" in
15646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15647 *) ac_try_echo=$ac_try;;
15648 esac
15649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15650 (eval "$ac_compile") 2>conftest.er1
15651 ac_status=$?
15652 grep -v '^ *+' conftest.er1 >conftest.err
15653 rm -f conftest.er1
15654 cat conftest.err >&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } && {
15657 test -z "$ac_c_werror_flag" ||
15658 test ! -s conftest.err
15659 } && test -s conftest.$ac_objext; then
15660 ac_cv_prog_cc_g=yes
15661 else
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.$ac_ext >&5
15664
15665
15666 fi
15667
15668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15669 fi
15670
15671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15672 fi
15673
15674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15675 ac_c_werror_flag=$ac_save_c_werror_flag
15676 fi
15677 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15678 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15679 if test "$ac_test_CFLAGS" = set; then
15680 CFLAGS=$ac_save_CFLAGS
15681 elif test $ac_cv_prog_cc_g = yes; then
15682 if test "$GCC" = yes; then
15683 CFLAGS="-g -O2"
15684 else
15685 CFLAGS="-g"
15686 fi
15687 else
15688 if test "$GCC" = yes; then
15689 CFLAGS="-O2"
15690 else
15691 CFLAGS=
15692 fi
15693 fi
15694 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15695 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15696 if test "${ac_cv_prog_cc_c89+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 else
15699 ac_cv_prog_cc_c89=no
15700 ac_save_CC=$CC
15701 cat >conftest.$ac_ext <<_ACEOF
15702 /* confdefs.h. */
15703 _ACEOF
15704 cat confdefs.h >>conftest.$ac_ext
15705 cat >>conftest.$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15707 #include <stdarg.h>
15708 #include <stdio.h>
15709 #include <sys/types.h>
15710 #include <sys/stat.h>
15711 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15712 struct buf { int x; };
15713 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15714 static char *e (p, i)
15715 char **p;
15716 int i;
15717 {
15718 return p[i];
15719 }
15720 static char *f (char * (*g) (char **, int), char **p, ...)
15721 {
15722 char *s;
15723 va_list v;
15724 va_start (v,p);
15725 s = g (p, va_arg (v,int));
15726 va_end (v);
15727 return s;
15728 }
15729
15730 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15731 function prototypes and stuff, but not '\xHH' hex character constants.
15732 These don't provoke an error unfortunately, instead are silently treated
15733 as 'x'. The following induces an error, until -std is added to get
15734 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15735 array size at least. It's necessary to write '\x00'==0 to get something
15736 that's true only with -std. */
15737 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15738
15739 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15740 inside strings and character constants. */
15741 #define FOO(x) 'x'
15742 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15743
15744 int test (int i, double x);
15745 struct s1 {int (*f) (int a);};
15746 struct s2 {int (*f) (double a);};
15747 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15748 int argc;
15749 char **argv;
15750 int
15751 main ()
15752 {
15753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15754 ;
15755 return 0;
15756 }
15757 _ACEOF
15758 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15759 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15760 do
15761 CC="$ac_save_CC $ac_arg"
15762 rm -f conftest.$ac_objext
15763 if { (ac_try="$ac_compile"
15764 case "(($ac_try" in
15765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15766 *) ac_try_echo=$ac_try;;
15767 esac
15768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15769 (eval "$ac_compile") 2>conftest.er1
15770 ac_status=$?
15771 grep -v '^ *+' conftest.er1 >conftest.err
15772 rm -f conftest.er1
15773 cat conftest.err >&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); } && {
15776 test -z "$ac_c_werror_flag" ||
15777 test ! -s conftest.err
15778 } && test -s conftest.$ac_objext; then
15779 ac_cv_prog_cc_c89=$ac_arg
15780 else
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15783
15784
15785 fi
15786
15787 rm -f core conftest.err conftest.$ac_objext
15788 test "x$ac_cv_prog_cc_c89" != "xno" && break
15789 done
15790 rm -f conftest.$ac_ext
15791 CC=$ac_save_CC
15792
15793 fi
15794 # AC_CACHE_VAL
15795 case "x$ac_cv_prog_cc_c89" in
15796 x)
15797 { echo "$as_me:$LINENO: result: none needed" >&5
15798 echo "${ECHO_T}none needed" >&6; } ;;
15799 xno)
15800 { echo "$as_me:$LINENO: result: unsupported" >&5
15801 echo "${ECHO_T}unsupported" >&6; } ;;
15802 *)
15803 CC="$CC $ac_cv_prog_cc_c89"
15804 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
15805 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15806 esac
15807
15808
15809 ac_ext=c
15810 ac_cpp='$CPP $CPPFLAGS'
15811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15814
15815
15816
15817
15818
15819
15820
15821
15822 ac_ext=c
15823 ac_cpp='$CPP $CPPFLAGS'
15824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15827
15828 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15829 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15830 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 else
15833 cat >conftest.$ac_ext <<_ACEOF
15834 /* confdefs.h. */
15835 _ACEOF
15836 cat confdefs.h >>conftest.$ac_ext
15837 cat >>conftest.$ac_ext <<_ACEOF
15838 /* end confdefs.h. */
15839
15840 int
15841 main ()
15842 {
15843
15844 #ifndef __INTEL_COMPILER
15845 choke me
15846 #endif
15847
15848 ;
15849 return 0;
15850 }
15851 _ACEOF
15852 rm -f conftest.$ac_objext
15853 if { (ac_try="$ac_compile"
15854 case "(($ac_try" in
15855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15856 *) ac_try_echo=$ac_try;;
15857 esac
15858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15859 (eval "$ac_compile") 2>conftest.er1
15860 ac_status=$?
15861 grep -v '^ *+' conftest.er1 >conftest.err
15862 rm -f conftest.er1
15863 cat conftest.err >&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } && {
15866 test -z "$ac_c_werror_flag" ||
15867 test ! -s conftest.err
15868 } && test -s conftest.$ac_objext; then
15869 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15870 else
15871 echo "$as_me: failed program was:" >&5
15872 sed 's/^/| /' conftest.$ac_ext >&5
15873
15874 bakefile_cv_c_compiler___INTEL_COMPILER=no
15875
15876 fi
15877
15878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15879
15880
15881 fi
15882 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15883 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15884 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15885 :; INTELCC=yes
15886 else
15887 :;
15888 fi
15889 ac_ext=c
15890 ac_cpp='$CPP $CPPFLAGS'
15891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15894
15895
15896
15897
15898 if test "$INTELCC" = "yes"; then
15899
15900
15901 ac_ext=c
15902 ac_cpp='$CPP $CPPFLAGS'
15903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15906
15907 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15908 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15909 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15910 echo $ECHO_N "(cached) $ECHO_C" >&6
15911 else
15912 cat >conftest.$ac_ext <<_ACEOF
15913 /* confdefs.h. */
15914 _ACEOF
15915 cat confdefs.h >>conftest.$ac_ext
15916 cat >>conftest.$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918
15919 int
15920 main ()
15921 {
15922
15923 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15924 choke me
15925 #endif
15926
15927 ;
15928 return 0;
15929 }
15930 _ACEOF
15931 rm -f conftest.$ac_objext
15932 if { (ac_try="$ac_compile"
15933 case "(($ac_try" in
15934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15935 *) ac_try_echo=$ac_try;;
15936 esac
15937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15938 (eval "$ac_compile") 2>conftest.er1
15939 ac_status=$?
15940 grep -v '^ *+' conftest.er1 >conftest.err
15941 rm -f conftest.er1
15942 cat conftest.err >&5
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); } && {
15945 test -z "$ac_c_werror_flag" ||
15946 test ! -s conftest.err
15947 } && test -s conftest.$ac_objext; then
15948 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15949 else
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.$ac_ext >&5
15952
15953 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15954
15955 fi
15956
15957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15958
15959
15960 fi
15961 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15962 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15963 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15964 :; INTELCC8=yes
15965 else
15966 :;
15967 fi
15968 ac_ext=c
15969 ac_cpp='$CPP $CPPFLAGS'
15970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15973
15974
15975
15976
15977
15978 ac_ext=c
15979 ac_cpp='$CPP $CPPFLAGS'
15980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15983
15984 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15985 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15986 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15987 echo $ECHO_N "(cached) $ECHO_C" >&6
15988 else
15989 cat >conftest.$ac_ext <<_ACEOF
15990 /* confdefs.h. */
15991 _ACEOF
15992 cat confdefs.h >>conftest.$ac_ext
15993 cat >>conftest.$ac_ext <<_ACEOF
15994 /* end confdefs.h. */
15995
15996 int
15997 main ()
15998 {
15999
16000 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16001 choke me
16002 #endif
16003
16004 ;
16005 return 0;
16006 }
16007 _ACEOF
16008 rm -f conftest.$ac_objext
16009 if { (ac_try="$ac_compile"
16010 case "(($ac_try" in
16011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16012 *) ac_try_echo=$ac_try;;
16013 esac
16014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16015 (eval "$ac_compile") 2>conftest.er1
16016 ac_status=$?
16017 grep -v '^ *+' conftest.er1 >conftest.err
16018 rm -f conftest.er1
16019 cat conftest.err >&5
16020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021 (exit $ac_status); } && {
16022 test -z "$ac_c_werror_flag" ||
16023 test ! -s conftest.err
16024 } && test -s conftest.$ac_objext; then
16025 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16026 else
16027 echo "$as_me: failed program was:" >&5
16028 sed 's/^/| /' conftest.$ac_ext >&5
16029
16030 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16031
16032 fi
16033
16034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16035
16036
16037 fi
16038 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16039 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16040 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16041 :; INTELCC10=yes
16042 else
16043 :;
16044 fi
16045 ac_ext=c
16046 ac_cpp='$CPP $CPPFLAGS'
16047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16050
16051
16052
16053 fi
16054
16055 if test "x$GCC" != "xyes"; then
16056 if test "xCC" = "xC"; then
16057 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16058 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16059 if test "${bakefile_cv_c_exto+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16061 else
16062 cat >conftest.$ac_ext <<_ACEOF
16063 /* confdefs.h. */
16064 _ACEOF
16065 cat confdefs.h >>conftest.$ac_ext
16066 cat >>conftest.$ac_ext <<_ACEOF
16067 /* end confdefs.h. */
16068
16069 int
16070 main ()
16071 {
16072
16073 ;
16074 return 0;
16075 }
16076 _ACEOF
16077 rm -f conftest.$ac_objext conftest.$ac_ext.o
16078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16079 (eval $ac_compile) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; then
16083 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16084 case $ac_file in
16085 conftest.$ac_ext.o)
16086 bakefile_cv_c_exto="-ext o"
16087 ;;
16088 *)
16089 ;;
16090 esac
16091 done
16092 else
16093 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16094 See \`config.log' for more details." >&5
16095 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16096 See \`config.log' for more details." >&2;}
16097 { (exit 1); exit 1; }; }
16098
16099 fi
16100
16101 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16102
16103 fi
16104 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16105 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16106 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16107 if test "c" = "c"; then
16108 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16109 fi
16110 if test "c" = "cxx"; then
16111 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16112 fi
16113 fi
16114
16115 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16116 unset ac_cv_prog_cc_g
16117 ac_test_CFLAGS=${CFLAGS+set}
16118 ac_save_CFLAGS=$CFLAGS
16119 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16120 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16121 if test "${ac_cv_prog_cc_g+set}" = set; then
16122 echo $ECHO_N "(cached) $ECHO_C" >&6
16123 else
16124 ac_save_c_werror_flag=$ac_c_werror_flag
16125 ac_c_werror_flag=yes
16126 ac_cv_prog_cc_g=no
16127 CFLAGS="-g"
16128 cat >conftest.$ac_ext <<_ACEOF
16129 /* confdefs.h. */
16130 _ACEOF
16131 cat confdefs.h >>conftest.$ac_ext
16132 cat >>conftest.$ac_ext <<_ACEOF
16133 /* end confdefs.h. */
16134
16135 int
16136 main ()
16137 {
16138
16139 ;
16140 return 0;
16141 }
16142 _ACEOF
16143 rm -f conftest.$ac_objext
16144 if { (ac_try="$ac_compile"
16145 case "(($ac_try" in
16146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16147 *) ac_try_echo=$ac_try;;
16148 esac
16149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16150 (eval "$ac_compile") 2>conftest.er1
16151 ac_status=$?
16152 grep -v '^ *+' conftest.er1 >conftest.err
16153 rm -f conftest.er1
16154 cat conftest.err >&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } && {
16157 test -z "$ac_c_werror_flag" ||
16158 test ! -s conftest.err
16159 } && test -s conftest.$ac_objext; then
16160 ac_cv_prog_cc_g=yes
16161 else
16162 echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16164
16165 CFLAGS=""
16166 cat >conftest.$ac_ext <<_ACEOF
16167 /* confdefs.h. */
16168 _ACEOF
16169 cat confdefs.h >>conftest.$ac_ext
16170 cat >>conftest.$ac_ext <<_ACEOF
16171 /* end confdefs.h. */
16172
16173 int
16174 main ()
16175 {
16176
16177 ;
16178 return 0;
16179 }
16180 _ACEOF
16181 rm -f conftest.$ac_objext
16182 if { (ac_try="$ac_compile"
16183 case "(($ac_try" in
16184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16185 *) ac_try_echo=$ac_try;;
16186 esac
16187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16188 (eval "$ac_compile") 2>conftest.er1
16189 ac_status=$?
16190 grep -v '^ *+' conftest.er1 >conftest.err
16191 rm -f conftest.er1
16192 cat conftest.err >&5
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); } && {
16195 test -z "$ac_c_werror_flag" ||
16196 test ! -s conftest.err
16197 } && test -s conftest.$ac_objext; then
16198 :
16199 else
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16202
16203 ac_c_werror_flag=$ac_save_c_werror_flag
16204 CFLAGS="-g"
16205 cat >conftest.$ac_ext <<_ACEOF
16206 /* confdefs.h. */
16207 _ACEOF
16208 cat confdefs.h >>conftest.$ac_ext
16209 cat >>conftest.$ac_ext <<_ACEOF
16210 /* end confdefs.h. */
16211
16212 int
16213 main ()
16214 {
16215
16216 ;
16217 return 0;
16218 }
16219 _ACEOF
16220 rm -f conftest.$ac_objext
16221 if { (ac_try="$ac_compile"
16222 case "(($ac_try" in
16223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16224 *) ac_try_echo=$ac_try;;
16225 esac
16226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16227 (eval "$ac_compile") 2>conftest.er1
16228 ac_status=$?
16229 grep -v '^ *+' conftest.er1 >conftest.err
16230 rm -f conftest.er1
16231 cat conftest.err >&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); } && {
16234 test -z "$ac_c_werror_flag" ||
16235 test ! -s conftest.err
16236 } && test -s conftest.$ac_objext; then
16237 ac_cv_prog_cc_g=yes
16238 else
16239 echo "$as_me: failed program was:" >&5
16240 sed 's/^/| /' conftest.$ac_ext >&5
16241
16242
16243 fi
16244
16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16246 fi
16247
16248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16249 fi
16250
16251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16252 ac_c_werror_flag=$ac_save_c_werror_flag
16253 fi
16254 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16255 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16256 if test "$ac_test_CFLAGS" = set; then
16257 CFLAGS=$ac_save_CFLAGS
16258 elif test $ac_cv_prog_cc_g = yes; then
16259 if test "$GCC" = yes; then
16260 CFLAGS="-g -O2"
16261 else
16262 CFLAGS="-g"
16263 fi
16264 else
16265 if test "$GCC" = yes; then
16266 CFLAGS="-O2"
16267 else
16268 CFLAGS=
16269 fi
16270 fi
16271 fi
16272 fi
16273
16274 case `uname -s` in
16275 AIX*)
16276
16277
16278 ac_ext=c
16279 ac_cpp='$CPP $CPPFLAGS'
16280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16283
16284 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16285 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16286 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 else
16289 cat >conftest.$ac_ext <<_ACEOF
16290 /* confdefs.h. */
16291 _ACEOF
16292 cat confdefs.h >>conftest.$ac_ext
16293 cat >>conftest.$ac_ext <<_ACEOF
16294 /* end confdefs.h. */
16295
16296 int
16297 main ()
16298 {
16299
16300 #ifndef __xlC__
16301 choke me
16302 #endif
16303
16304 ;
16305 return 0;
16306 }
16307 _ACEOF
16308 rm -f conftest.$ac_objext
16309 if { (ac_try="$ac_compile"
16310 case "(($ac_try" in
16311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16312 *) ac_try_echo=$ac_try;;
16313 esac
16314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16315 (eval "$ac_compile") 2>conftest.er1
16316 ac_status=$?
16317 grep -v '^ *+' conftest.er1 >conftest.err
16318 rm -f conftest.er1
16319 cat conftest.err >&5
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); } && {
16322 test -z "$ac_c_werror_flag" ||
16323 test ! -s conftest.err
16324 } && test -s conftest.$ac_objext; then
16325 bakefile_cv_c_compiler___xlC__=yes
16326 else
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16329
16330 bakefile_cv_c_compiler___xlC__=no
16331
16332 fi
16333
16334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16335
16336
16337 fi
16338 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16339 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16340 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16341 :; XLCC=yes
16342 else
16343 :;
16344 fi
16345 ac_ext=c
16346 ac_cpp='$CPP $CPPFLAGS'
16347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16350
16351
16352
16353 ;;
16354
16355 Darwin)
16356
16357
16358 ac_ext=c
16359 ac_cpp='$CPP $CPPFLAGS'
16360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16363
16364 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16365 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16366 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16367 echo $ECHO_N "(cached) $ECHO_C" >&6
16368 else
16369 cat >conftest.$ac_ext <<_ACEOF
16370 /* confdefs.h. */
16371 _ACEOF
16372 cat confdefs.h >>conftest.$ac_ext
16373 cat >>conftest.$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16375
16376 int
16377 main ()
16378 {
16379
16380 #ifndef __MWERKS__
16381 choke me
16382 #endif
16383
16384 ;
16385 return 0;
16386 }
16387 _ACEOF
16388 rm -f conftest.$ac_objext
16389 if { (ac_try="$ac_compile"
16390 case "(($ac_try" in
16391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16392 *) ac_try_echo=$ac_try;;
16393 esac
16394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16395 (eval "$ac_compile") 2>conftest.er1
16396 ac_status=$?
16397 grep -v '^ *+' conftest.er1 >conftest.err
16398 rm -f conftest.er1
16399 cat conftest.err >&5
16400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401 (exit $ac_status); } && {
16402 test -z "$ac_c_werror_flag" ||
16403 test ! -s conftest.err
16404 } && test -s conftest.$ac_objext; then
16405 bakefile_cv_c_compiler___MWERKS__=yes
16406 else
16407 echo "$as_me: failed program was:" >&5
16408 sed 's/^/| /' conftest.$ac_ext >&5
16409
16410 bakefile_cv_c_compiler___MWERKS__=no
16411
16412 fi
16413
16414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16415
16416
16417 fi
16418 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16419 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16420 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16421 :; MWCC=yes
16422 else
16423 :;
16424 fi
16425 ac_ext=c
16426 ac_cpp='$CPP $CPPFLAGS'
16427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16430
16431
16432
16433 if test "$MWCC" != "yes"; then
16434
16435
16436 ac_ext=c
16437 ac_cpp='$CPP $CPPFLAGS'
16438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16441
16442 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16443 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16444 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16446 else
16447 cat >conftest.$ac_ext <<_ACEOF
16448 /* confdefs.h. */
16449 _ACEOF
16450 cat confdefs.h >>conftest.$ac_ext
16451 cat >>conftest.$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453
16454 int
16455 main ()
16456 {
16457
16458 #ifndef __xlC__
16459 choke me
16460 #endif
16461
16462 ;
16463 return 0;
16464 }
16465 _ACEOF
16466 rm -f conftest.$ac_objext
16467 if { (ac_try="$ac_compile"
16468 case "(($ac_try" in
16469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16470 *) ac_try_echo=$ac_try;;
16471 esac
16472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16473 (eval "$ac_compile") 2>conftest.er1
16474 ac_status=$?
16475 grep -v '^ *+' conftest.er1 >conftest.err
16476 rm -f conftest.er1
16477 cat conftest.err >&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } && {
16480 test -z "$ac_c_werror_flag" ||
16481 test ! -s conftest.err
16482 } && test -s conftest.$ac_objext; then
16483 bakefile_cv_c_compiler___xlC__=yes
16484 else
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16487
16488 bakefile_cv_c_compiler___xlC__=no
16489
16490 fi
16491
16492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16493
16494
16495 fi
16496 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16497 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16498 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16499 :; XLCC=yes
16500 else
16501 :;
16502 fi
16503 ac_ext=c
16504 ac_cpp='$CPP $CPPFLAGS'
16505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16508
16509
16510
16511 fi
16512 ;;
16513
16514 IRIX*)
16515
16516
16517 ac_ext=c
16518 ac_cpp='$CPP $CPPFLAGS'
16519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16522
16523 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16524 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16525 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16526 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 else
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534
16535 int
16536 main ()
16537 {
16538
16539 #ifndef _SGI_COMPILER_VERSION
16540 choke me
16541 #endif
16542
16543 ;
16544 return 0;
16545 }
16546 _ACEOF
16547 rm -f conftest.$ac_objext
16548 if { (ac_try="$ac_compile"
16549 case "(($ac_try" in
16550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16551 *) ac_try_echo=$ac_try;;
16552 esac
16553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16554 (eval "$ac_compile") 2>conftest.er1
16555 ac_status=$?
16556 grep -v '^ *+' conftest.er1 >conftest.err
16557 rm -f conftest.er1
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } && {
16561 test -z "$ac_c_werror_flag" ||
16562 test ! -s conftest.err
16563 } && test -s conftest.$ac_objext; then
16564 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16565 else
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.$ac_ext >&5
16568
16569 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16570
16571 fi
16572
16573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16574
16575
16576 fi
16577 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16578 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16579 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16580 :; SGICC=yes
16581 else
16582 :;
16583 fi
16584 ac_ext=c
16585 ac_cpp='$CPP $CPPFLAGS'
16586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16589
16590
16591
16592 ;;
16593
16594 Linux*)
16595 if test "$INTELCC" != "yes"; then
16596
16597
16598 ac_ext=c
16599 ac_cpp='$CPP $CPPFLAGS'
16600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16603
16604 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16605 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16606 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16607 echo $ECHO_N "(cached) $ECHO_C" >&6
16608 else
16609 cat >conftest.$ac_ext <<_ACEOF
16610 /* confdefs.h. */
16611 _ACEOF
16612 cat confdefs.h >>conftest.$ac_ext
16613 cat >>conftest.$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16615
16616 int
16617 main ()
16618 {
16619
16620 #ifndef __SUNPRO_C
16621 choke me
16622 #endif
16623
16624 ;
16625 return 0;
16626 }
16627 _ACEOF
16628 rm -f conftest.$ac_objext
16629 if { (ac_try="$ac_compile"
16630 case "(($ac_try" in
16631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16633 esac
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_compile") 2>conftest.er1
16636 ac_status=$?
16637 grep -v '^ *+' conftest.er1 >conftest.err
16638 rm -f conftest.er1
16639 cat conftest.err >&5
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); } && {
16642 test -z "$ac_c_werror_flag" ||
16643 test ! -s conftest.err
16644 } && test -s conftest.$ac_objext; then
16645 bakefile_cv_c_compiler___SUNPRO_C=yes
16646 else
16647 echo "$as_me: failed program was:" >&5
16648 sed 's/^/| /' conftest.$ac_ext >&5
16649
16650 bakefile_cv_c_compiler___SUNPRO_C=no
16651
16652 fi
16653
16654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16655
16656
16657 fi
16658 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16659 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16660 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16661 :; SUNCC=yes
16662 else
16663 :;
16664 fi
16665 ac_ext=c
16666 ac_cpp='$CPP $CPPFLAGS'
16667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16670
16671
16672
16673 fi
16674 ;;
16675
16676 HP-UX*)
16677
16678
16679 ac_ext=c
16680 ac_cpp='$CPP $CPPFLAGS'
16681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16684
16685 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16686 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16687 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16688 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 else
16690 cat >conftest.$ac_ext <<_ACEOF
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696
16697 int
16698 main ()
16699 {
16700
16701 #ifndef __HP_cc
16702 choke me
16703 #endif
16704
16705 ;
16706 return 0;
16707 }
16708 _ACEOF
16709 rm -f conftest.$ac_objext
16710 if { (ac_try="$ac_compile"
16711 case "(($ac_try" in
16712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16713 *) ac_try_echo=$ac_try;;
16714 esac
16715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16716 (eval "$ac_compile") 2>conftest.er1
16717 ac_status=$?
16718 grep -v '^ *+' conftest.er1 >conftest.err
16719 rm -f conftest.er1
16720 cat conftest.err >&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } && {
16723 test -z "$ac_c_werror_flag" ||
16724 test ! -s conftest.err
16725 } && test -s conftest.$ac_objext; then
16726 bakefile_cv_c_compiler___HP_cc=yes
16727 else
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16730
16731 bakefile_cv_c_compiler___HP_cc=no
16732
16733 fi
16734
16735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16736
16737
16738 fi
16739 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16740 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16741 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16742 :; HPCC=yes
16743 else
16744 :;
16745 fi
16746 ac_ext=c
16747 ac_cpp='$CPP $CPPFLAGS'
16748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16751
16752
16753
16754 ;;
16755
16756 OSF1)
16757
16758
16759 ac_ext=c
16760 ac_cpp='$CPP $CPPFLAGS'
16761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16764
16765 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16766 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16767 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16768 echo $ECHO_N "(cached) $ECHO_C" >&6
16769 else
16770 cat >conftest.$ac_ext <<_ACEOF
16771 /* confdefs.h. */
16772 _ACEOF
16773 cat confdefs.h >>conftest.$ac_ext
16774 cat >>conftest.$ac_ext <<_ACEOF
16775 /* end confdefs.h. */
16776
16777 int
16778 main ()
16779 {
16780
16781 #ifndef __DECC
16782 choke me
16783 #endif
16784
16785 ;
16786 return 0;
16787 }
16788 _ACEOF
16789 rm -f conftest.$ac_objext
16790 if { (ac_try="$ac_compile"
16791 case "(($ac_try" in
16792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16793 *) ac_try_echo=$ac_try;;
16794 esac
16795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16796 (eval "$ac_compile") 2>conftest.er1
16797 ac_status=$?
16798 grep -v '^ *+' conftest.er1 >conftest.err
16799 rm -f conftest.er1
16800 cat conftest.err >&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } && {
16803 test -z "$ac_c_werror_flag" ||
16804 test ! -s conftest.err
16805 } && test -s conftest.$ac_objext; then
16806 bakefile_cv_c_compiler___DECC=yes
16807 else
16808 echo "$as_me: failed program was:" >&5
16809 sed 's/^/| /' conftest.$ac_ext >&5
16810
16811 bakefile_cv_c_compiler___DECC=no
16812
16813 fi
16814
16815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16816
16817
16818 fi
16819 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16820 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16821 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16822 :; COMPAQCC=yes
16823 else
16824 :;
16825 fi
16826 ac_ext=c
16827 ac_cpp='$CPP $CPPFLAGS'
16828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16831
16832
16833
16834 ;;
16835
16836 SunOS)
16837
16838
16839 ac_ext=c
16840 ac_cpp='$CPP $CPPFLAGS'
16841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16844
16845 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16846 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16847 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16849 else
16850 cat >conftest.$ac_ext <<_ACEOF
16851 /* confdefs.h. */
16852 _ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856
16857 int
16858 main ()
16859 {
16860
16861 #ifndef __SUNPRO_C
16862 choke me
16863 #endif
16864
16865 ;
16866 return 0;
16867 }
16868 _ACEOF
16869 rm -f conftest.$ac_objext
16870 if { (ac_try="$ac_compile"
16871 case "(($ac_try" in
16872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16873 *) ac_try_echo=$ac_try;;
16874 esac
16875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16876 (eval "$ac_compile") 2>conftest.er1
16877 ac_status=$?
16878 grep -v '^ *+' conftest.er1 >conftest.err
16879 rm -f conftest.er1
16880 cat conftest.err >&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } && {
16883 test -z "$ac_c_werror_flag" ||
16884 test ! -s conftest.err
16885 } && test -s conftest.$ac_objext; then
16886 bakefile_cv_c_compiler___SUNPRO_C=yes
16887 else
16888 echo "$as_me: failed program was:" >&5
16889 sed 's/^/| /' conftest.$ac_ext >&5
16890
16891 bakefile_cv_c_compiler___SUNPRO_C=no
16892
16893 fi
16894
16895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16896
16897
16898 fi
16899 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16900 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16901 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16902 :; SUNCC=yes
16903 else
16904 :;
16905 fi
16906 ac_ext=c
16907 ac_cpp='$CPP $CPPFLAGS'
16908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16911
16912
16913
16914 ;;
16915 esac
16916 fi
16917
16918
16919
16920 ac_ext=c
16921 ac_cpp='$CPP $CPPFLAGS'
16922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16925 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16926 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16927 # On Suns, sometimes $CPP names a directory.
16928 if test -n "$CPP" && test -d "$CPP"; then
16929 CPP=
16930 fi
16931 if test -z "$CPP"; then
16932 if test "${ac_cv_prog_CPP+set}" = set; then
16933 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 else
16935 # Double quotes because CPP needs to be expanded
16936 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16937 do
16938 ac_preproc_ok=false
16939 for ac_c_preproc_warn_flag in '' yes
16940 do
16941 # Use a header file that comes with gcc, so configuring glibc
16942 # with a fresh cross-compiler works.
16943 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16944 # <limits.h> exists even on freestanding compilers.
16945 # On the NeXT, cc -E runs the code through the compiler's parser,
16946 # not just through cpp. "Syntax error" is here to catch this case.
16947 cat >conftest.$ac_ext <<_ACEOF
16948 /* confdefs.h. */
16949 _ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16953 #ifdef __STDC__
16954 # include <limits.h>
16955 #else
16956 # include <assert.h>
16957 #endif
16958 Syntax error
16959 _ACEOF
16960 if { (ac_try="$ac_cpp conftest.$ac_ext"
16961 case "(($ac_try" in
16962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16963 *) ac_try_echo=$ac_try;;
16964 esac
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16967 ac_status=$?
16968 grep -v '^ *+' conftest.er1 >conftest.err
16969 rm -f conftest.er1
16970 cat conftest.err >&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); } >/dev/null && {
16973 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16974 test ! -s conftest.err
16975 }; then
16976 :
16977 else
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16980
16981 # Broken: fails on valid input.
16982 continue
16983 fi
16984
16985 rm -f conftest.err conftest.$ac_ext
16986
16987 # OK, works on sane cases. Now check whether nonexistent headers
16988 # can be detected and how.
16989 cat >conftest.$ac_ext <<_ACEOF
16990 /* confdefs.h. */
16991 _ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 #include <ac_nonexistent.h>
16996 _ACEOF
16997 if { (ac_try="$ac_cpp conftest.$ac_ext"
16998 case "(($ac_try" in
16999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17000 *) ac_try_echo=$ac_try;;
17001 esac
17002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17004 ac_status=$?
17005 grep -v '^ *+' conftest.er1 >conftest.err
17006 rm -f conftest.er1
17007 cat conftest.err >&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } >/dev/null && {
17010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17011 test ! -s conftest.err
17012 }; then
17013 # Broken: success on invalid input.
17014 continue
17015 else
17016 echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.$ac_ext >&5
17018
17019 # Passes both tests.
17020 ac_preproc_ok=:
17021 break
17022 fi
17023
17024 rm -f conftest.err conftest.$ac_ext
17025
17026 done
17027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17028 rm -f conftest.err conftest.$ac_ext
17029 if $ac_preproc_ok; then
17030 break
17031 fi
17032
17033 done
17034 ac_cv_prog_CPP=$CPP
17035
17036 fi
17037 CPP=$ac_cv_prog_CPP
17038 else
17039 ac_cv_prog_CPP=$CPP
17040 fi
17041 { echo "$as_me:$LINENO: result: $CPP" >&5
17042 echo "${ECHO_T}$CPP" >&6; }
17043 ac_preproc_ok=false
17044 for ac_c_preproc_warn_flag in '' yes
17045 do
17046 # Use a header file that comes with gcc, so configuring glibc
17047 # with a fresh cross-compiler works.
17048 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17049 # <limits.h> exists even on freestanding compilers.
17050 # On the NeXT, cc -E runs the code through the compiler's parser,
17051 # not just through cpp. "Syntax error" is here to catch this case.
17052 cat >conftest.$ac_ext <<_ACEOF
17053 /* confdefs.h. */
17054 _ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 #ifdef __STDC__
17059 # include <limits.h>
17060 #else
17061 # include <assert.h>
17062 #endif
17063 Syntax error
17064 _ACEOF
17065 if { (ac_try="$ac_cpp conftest.$ac_ext"
17066 case "(($ac_try" in
17067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17068 *) ac_try_echo=$ac_try;;
17069 esac
17070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17071 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17072 ac_status=$?
17073 grep -v '^ *+' conftest.er1 >conftest.err
17074 rm -f conftest.er1
17075 cat conftest.err >&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } >/dev/null && {
17078 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17079 test ! -s conftest.err
17080 }; then
17081 :
17082 else
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.$ac_ext >&5
17085
17086 # Broken: fails on valid input.
17087 continue
17088 fi
17089
17090 rm -f conftest.err conftest.$ac_ext
17091
17092 # OK, works on sane cases. Now check whether nonexistent headers
17093 # can be detected and how.
17094 cat >conftest.$ac_ext <<_ACEOF
17095 /* confdefs.h. */
17096 _ACEOF
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 #include <ac_nonexistent.h>
17101 _ACEOF
17102 if { (ac_try="$ac_cpp conftest.$ac_ext"
17103 case "(($ac_try" in
17104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17105 *) ac_try_echo=$ac_try;;
17106 esac
17107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17109 ac_status=$?
17110 grep -v '^ *+' conftest.er1 >conftest.err
17111 rm -f conftest.er1
17112 cat conftest.err >&5
17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } >/dev/null && {
17115 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17116 test ! -s conftest.err
17117 }; then
17118 # Broken: success on invalid input.
17119 continue
17120 else
17121 echo "$as_me: failed program was:" >&5
17122 sed 's/^/| /' conftest.$ac_ext >&5
17123
17124 # Passes both tests.
17125 ac_preproc_ok=:
17126 break
17127 fi
17128
17129 rm -f conftest.err conftest.$ac_ext
17130
17131 done
17132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17133 rm -f conftest.err conftest.$ac_ext
17134 if $ac_preproc_ok; then
17135 :
17136 else
17137 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17138 See \`config.log' for more details." >&5
17139 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17140 See \`config.log' for more details." >&2;}
17141 { (exit 1); exit 1; }; }
17142 fi
17143
17144 ac_ext=c
17145 ac_cpp='$CPP $CPPFLAGS'
17146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17149
17150
17151 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17152 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17153 if test "${ac_cv_path_GREP+set}" = set; then
17154 echo $ECHO_N "(cached) $ECHO_C" >&6
17155 else
17156 # Extract the first word of "grep ggrep" to use in msg output
17157 if test -z "$GREP"; then
17158 set dummy grep ggrep; ac_prog_name=$2
17159 if test "${ac_cv_path_GREP+set}" = set; then
17160 echo $ECHO_N "(cached) $ECHO_C" >&6
17161 else
17162 ac_path_GREP_found=false
17163 # Loop through the user's path and test for each of PROGNAME-LIST
17164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17165 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17166 do
17167 IFS=$as_save_IFS
17168 test -z "$as_dir" && as_dir=.
17169 for ac_prog in grep ggrep; do
17170 for ac_exec_ext in '' $ac_executable_extensions; do
17171 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17172 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17173 # Check for GNU ac_path_GREP and select it if it is found.
17174 # Check for GNU $ac_path_GREP
17175 case `"$ac_path_GREP" --version 2>&1` in
17176 *GNU*)
17177 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17178 *)
17179 ac_count=0
17180 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17181 while :
17182 do
17183 cat "conftest.in" "conftest.in" >"conftest.tmp"
17184 mv "conftest.tmp" "conftest.in"
17185 cp "conftest.in" "conftest.nl"
17186 echo 'GREP' >> "conftest.nl"
17187 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17188 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17189 ac_count=`expr $ac_count + 1`
17190 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17191 # Best one so far, save it but keep looking for a better one
17192 ac_cv_path_GREP="$ac_path_GREP"
17193 ac_path_GREP_max=$ac_count
17194 fi
17195 # 10*(2^10) chars as input seems more than enough
17196 test $ac_count -gt 10 && break
17197 done
17198 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17199 esac
17200
17201
17202 $ac_path_GREP_found && break 3
17203 done
17204 done
17205
17206 done
17207 IFS=$as_save_IFS
17208
17209
17210 fi
17211
17212 GREP="$ac_cv_path_GREP"
17213 if test -z "$GREP"; then
17214 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17215 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17216 { (exit 1); exit 1; }; }
17217 fi
17218
17219 else
17220 ac_cv_path_GREP=$GREP
17221 fi
17222
17223
17224 fi
17225 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17226 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17227 GREP="$ac_cv_path_GREP"
17228
17229
17230 { echo "$as_me:$LINENO: checking for egrep" >&5
17231 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17232 if test "${ac_cv_path_EGREP+set}" = set; then
17233 echo $ECHO_N "(cached) $ECHO_C" >&6
17234 else
17235 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17236 then ac_cv_path_EGREP="$GREP -E"
17237 else
17238 # Extract the first word of "egrep" to use in msg output
17239 if test -z "$EGREP"; then
17240 set dummy egrep; ac_prog_name=$2
17241 if test "${ac_cv_path_EGREP+set}" = set; then
17242 echo $ECHO_N "(cached) $ECHO_C" >&6
17243 else
17244 ac_path_EGREP_found=false
17245 # Loop through the user's path and test for each of PROGNAME-LIST
17246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17247 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17248 do
17249 IFS=$as_save_IFS
17250 test -z "$as_dir" && as_dir=.
17251 for ac_prog in egrep; do
17252 for ac_exec_ext in '' $ac_executable_extensions; do
17253 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17254 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17255 # Check for GNU ac_path_EGREP and select it if it is found.
17256 # Check for GNU $ac_path_EGREP
17257 case `"$ac_path_EGREP" --version 2>&1` in
17258 *GNU*)
17259 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17260 *)
17261 ac_count=0
17262 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17263 while :
17264 do
17265 cat "conftest.in" "conftest.in" >"conftest.tmp"
17266 mv "conftest.tmp" "conftest.in"
17267 cp "conftest.in" "conftest.nl"
17268 echo 'EGREP' >> "conftest.nl"
17269 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17271 ac_count=`expr $ac_count + 1`
17272 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17273 # Best one so far, save it but keep looking for a better one
17274 ac_cv_path_EGREP="$ac_path_EGREP"
17275 ac_path_EGREP_max=$ac_count
17276 fi
17277 # 10*(2^10) chars as input seems more than enough
17278 test $ac_count -gt 10 && break
17279 done
17280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17281 esac
17282
17283
17284 $ac_path_EGREP_found && break 3
17285 done
17286 done
17287
17288 done
17289 IFS=$as_save_IFS
17290
17291
17292 fi
17293
17294 EGREP="$ac_cv_path_EGREP"
17295 if test -z "$EGREP"; then
17296 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17297 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17298 { (exit 1); exit 1; }; }
17299 fi
17300
17301 else
17302 ac_cv_path_EGREP=$EGREP
17303 fi
17304
17305
17306 fi
17307 fi
17308 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17309 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17310 EGREP="$ac_cv_path_EGREP"
17311
17312
17313 if test $ac_cv_c_compiler_gnu = yes; then
17314 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17315 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17316 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17317 echo $ECHO_N "(cached) $ECHO_C" >&6
17318 else
17319 ac_pattern="Autoconf.*'x'"
17320 cat >conftest.$ac_ext <<_ACEOF
17321 /* confdefs.h. */
17322 _ACEOF
17323 cat confdefs.h >>conftest.$ac_ext
17324 cat >>conftest.$ac_ext <<_ACEOF
17325 /* end confdefs.h. */
17326 #include <sgtty.h>
17327 Autoconf TIOCGETP
17328 _ACEOF
17329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17330 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17331 ac_cv_prog_gcc_traditional=yes
17332 else
17333 ac_cv_prog_gcc_traditional=no
17334 fi
17335 rm -f conftest*
17336
17337
17338 if test $ac_cv_prog_gcc_traditional = no; then
17339 cat >conftest.$ac_ext <<_ACEOF
17340 /* confdefs.h. */
17341 _ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 #include <termio.h>
17346 Autoconf TCGETA
17347 _ACEOF
17348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17349 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17350 ac_cv_prog_gcc_traditional=yes
17351 fi
17352 rm -f conftest*
17353
17354 fi
17355 fi
17356 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17357 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17358 if test $ac_cv_prog_gcc_traditional = yes; then
17359 CC="$CC -traditional"
17360 fi
17361 fi
17362
17363
17364 CXXFLAGS=${CXXFLAGS:=}
17365 ac_ext=cpp
17366 ac_cpp='$CXXCPP $CPPFLAGS'
17367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17370 if test -z "$CXX"; then
17371 if test -n "$CCC"; then
17372 CXX=$CCC
17373 else
17374 if test -n "$ac_tool_prefix"; then
17375 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17376 do
17377 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17381 if test "${ac_cv_prog_CXX+set}" = set; then
17382 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 else
17384 if test -n "$CXX"; then
17385 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17386 else
17387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17388 for as_dir in $PATH
17389 do
17390 IFS=$as_save_IFS
17391 test -z "$as_dir" && as_dir=.
17392 for ac_exec_ext in '' $ac_executable_extensions; do
17393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17394 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17396 break 2
17397 fi
17398 done
17399 done
17400 IFS=$as_save_IFS
17401
17402 fi
17403 fi
17404 CXX=$ac_cv_prog_CXX
17405 if test -n "$CXX"; then
17406 { echo "$as_me:$LINENO: result: $CXX" >&5
17407 echo "${ECHO_T}$CXX" >&6; }
17408 else
17409 { echo "$as_me:$LINENO: result: no" >&5
17410 echo "${ECHO_T}no" >&6; }
17411 fi
17412
17413
17414 test -n "$CXX" && break
17415 done
17416 fi
17417 if test -z "$CXX"; then
17418 ac_ct_CXX=$CXX
17419 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17420 do
17421 # Extract the first word of "$ac_prog", so it can be a program name with args.
17422 set dummy $ac_prog; ac_word=$2
17423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17425 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 else
17428 if test -n "$ac_ct_CXX"; then
17429 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17430 else
17431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17432 for as_dir in $PATH
17433 do
17434 IFS=$as_save_IFS
17435 test -z "$as_dir" && as_dir=.
17436 for ac_exec_ext in '' $ac_executable_extensions; do
17437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17438 ac_cv_prog_ac_ct_CXX="$ac_prog"
17439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17440 break 2
17441 fi
17442 done
17443 done
17444 IFS=$as_save_IFS
17445
17446 fi
17447 fi
17448 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17449 if test -n "$ac_ct_CXX"; then
17450 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17451 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17452 else
17453 { echo "$as_me:$LINENO: result: no" >&5
17454 echo "${ECHO_T}no" >&6; }
17455 fi
17456
17457
17458 test -n "$ac_ct_CXX" && break
17459 done
17460
17461 if test "x$ac_ct_CXX" = x; then
17462 CXX="g++"
17463 else
17464 case $cross_compiling:$ac_tool_warned in
17465 yes:)
17466 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17467 whose name does not start with the host triplet. If you think this
17468 configuration is useful to you, please write to autoconf@gnu.org." >&5
17469 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17470 whose name does not start with the host triplet. If you think this
17471 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17472 ac_tool_warned=yes ;;
17473 esac
17474 CXX=$ac_ct_CXX
17475 fi
17476 fi
17477
17478 fi
17479 fi
17480 # Provide some information about the compiler.
17481 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17482 ac_compiler=`set X $ac_compile; echo $2`
17483 { (ac_try="$ac_compiler --version >&5"
17484 case "(($ac_try" in
17485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17486 *) ac_try_echo=$ac_try;;
17487 esac
17488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17489 (eval "$ac_compiler --version >&5") 2>&5
17490 ac_status=$?
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); }
17493 { (ac_try="$ac_compiler -v >&5"
17494 case "(($ac_try" in
17495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17496 *) ac_try_echo=$ac_try;;
17497 esac
17498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17499 (eval "$ac_compiler -v >&5") 2>&5
17500 ac_status=$?
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }
17503 { (ac_try="$ac_compiler -V >&5"
17504 case "(($ac_try" in
17505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17506 *) ac_try_echo=$ac_try;;
17507 esac
17508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17509 (eval "$ac_compiler -V >&5") 2>&5
17510 ac_status=$?
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }
17513
17514 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17515 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17516 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17517 echo $ECHO_N "(cached) $ECHO_C" >&6
17518 else
17519 cat >conftest.$ac_ext <<_ACEOF
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525
17526 int
17527 main ()
17528 {
17529 #ifndef __GNUC__
17530 choke me
17531 #endif
17532
17533 ;
17534 return 0;
17535 }
17536 _ACEOF
17537 rm -f conftest.$ac_objext
17538 if { (ac_try="$ac_compile"
17539 case "(($ac_try" in
17540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17541 *) ac_try_echo=$ac_try;;
17542 esac
17543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17544 (eval "$ac_compile") 2>conftest.er1
17545 ac_status=$?
17546 grep -v '^ *+' conftest.er1 >conftest.err
17547 rm -f conftest.er1
17548 cat conftest.err >&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } && {
17551 test -z "$ac_cxx_werror_flag" ||
17552 test ! -s conftest.err
17553 } && test -s conftest.$ac_objext; then
17554 ac_compiler_gnu=yes
17555 else
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.$ac_ext >&5
17558
17559 ac_compiler_gnu=no
17560 fi
17561
17562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17563 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17564
17565 fi
17566 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17567 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17568 GXX=`test $ac_compiler_gnu = yes && echo yes`
17569 ac_test_CXXFLAGS=${CXXFLAGS+set}
17570 ac_save_CXXFLAGS=$CXXFLAGS
17571 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17572 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17573 if test "${ac_cv_prog_cxx_g+set}" = set; then
17574 echo $ECHO_N "(cached) $ECHO_C" >&6
17575 else
17576 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17577 ac_cxx_werror_flag=yes
17578 ac_cv_prog_cxx_g=no
17579 CXXFLAGS="-g"
17580 cat >conftest.$ac_ext <<_ACEOF
17581 /* confdefs.h. */
17582 _ACEOF
17583 cat confdefs.h >>conftest.$ac_ext
17584 cat >>conftest.$ac_ext <<_ACEOF
17585 /* end confdefs.h. */
17586
17587 int
17588 main ()
17589 {
17590
17591 ;
17592 return 0;
17593 }
17594 _ACEOF
17595 rm -f conftest.$ac_objext
17596 if { (ac_try="$ac_compile"
17597 case "(($ac_try" in
17598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17599 *) ac_try_echo=$ac_try;;
17600 esac
17601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17602 (eval "$ac_compile") 2>conftest.er1
17603 ac_status=$?
17604 grep -v '^ *+' conftest.er1 >conftest.err
17605 rm -f conftest.er1
17606 cat conftest.err >&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && {
17609 test -z "$ac_cxx_werror_flag" ||
17610 test ! -s conftest.err
17611 } && test -s conftest.$ac_objext; then
17612 ac_cv_prog_cxx_g=yes
17613 else
17614 echo "$as_me: failed program was:" >&5
17615 sed 's/^/| /' conftest.$ac_ext >&5
17616
17617 CXXFLAGS=""
17618 cat >conftest.$ac_ext <<_ACEOF
17619 /* confdefs.h. */
17620 _ACEOF
17621 cat confdefs.h >>conftest.$ac_ext
17622 cat >>conftest.$ac_ext <<_ACEOF
17623 /* end confdefs.h. */
17624
17625 int
17626 main ()
17627 {
17628
17629 ;
17630 return 0;
17631 }
17632 _ACEOF
17633 rm -f conftest.$ac_objext
17634 if { (ac_try="$ac_compile"
17635 case "(($ac_try" in
17636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17637 *) ac_try_echo=$ac_try;;
17638 esac
17639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17640 (eval "$ac_compile") 2>conftest.er1
17641 ac_status=$?
17642 grep -v '^ *+' conftest.er1 >conftest.err
17643 rm -f conftest.er1
17644 cat conftest.err >&5
17645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17646 (exit $ac_status); } && {
17647 test -z "$ac_cxx_werror_flag" ||
17648 test ! -s conftest.err
17649 } && test -s conftest.$ac_objext; then
17650 :
17651 else
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.$ac_ext >&5
17654
17655 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17656 CXXFLAGS="-g"
17657 cat >conftest.$ac_ext <<_ACEOF
17658 /* confdefs.h. */
17659 _ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17663
17664 int
17665 main ()
17666 {
17667
17668 ;
17669 return 0;
17670 }
17671 _ACEOF
17672 rm -f conftest.$ac_objext
17673 if { (ac_try="$ac_compile"
17674 case "(($ac_try" in
17675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17676 *) ac_try_echo=$ac_try;;
17677 esac
17678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17679 (eval "$ac_compile") 2>conftest.er1
17680 ac_status=$?
17681 grep -v '^ *+' conftest.er1 >conftest.err
17682 rm -f conftest.er1
17683 cat conftest.err >&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } && {
17686 test -z "$ac_cxx_werror_flag" ||
17687 test ! -s conftest.err
17688 } && test -s conftest.$ac_objext; then
17689 ac_cv_prog_cxx_g=yes
17690 else
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17693
17694
17695 fi
17696
17697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698 fi
17699
17700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17701 fi
17702
17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17704 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17705 fi
17706 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17707 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17708 if test "$ac_test_CXXFLAGS" = set; then
17709 CXXFLAGS=$ac_save_CXXFLAGS
17710 elif test $ac_cv_prog_cxx_g = yes; then
17711 if test "$GXX" = yes; then
17712 CXXFLAGS="-g -O2"
17713 else
17714 CXXFLAGS="-g"
17715 fi
17716 else
17717 if test "$GXX" = yes; then
17718 CXXFLAGS="-O2"
17719 else
17720 CXXFLAGS=
17721 fi
17722 fi
17723 ac_ext=c
17724 ac_cpp='$CPP $CPPFLAGS'
17725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17728
17729
17730
17731
17732
17733
17734
17735
17736 ac_ext=cpp
17737 ac_cpp='$CXXCPP $CPPFLAGS'
17738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17741
17742 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17743 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17744 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17745 echo $ECHO_N "(cached) $ECHO_C" >&6
17746 else
17747 cat >conftest.$ac_ext <<_ACEOF
17748 /* confdefs.h. */
17749 _ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17753
17754 int
17755 main ()
17756 {
17757
17758 #ifndef __INTEL_COMPILER
17759 choke me
17760 #endif
17761
17762 ;
17763 return 0;
17764 }
17765 _ACEOF
17766 rm -f conftest.$ac_objext
17767 if { (ac_try="$ac_compile"
17768 case "(($ac_try" in
17769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17770 *) ac_try_echo=$ac_try;;
17771 esac
17772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17773 (eval "$ac_compile") 2>conftest.er1
17774 ac_status=$?
17775 grep -v '^ *+' conftest.er1 >conftest.err
17776 rm -f conftest.er1
17777 cat conftest.err >&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } && {
17780 test -z "$ac_cxx_werror_flag" ||
17781 test ! -s conftest.err
17782 } && test -s conftest.$ac_objext; then
17783 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17784 else
17785 echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.$ac_ext >&5
17787
17788 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17789
17790 fi
17791
17792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17793
17794
17795 fi
17796 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17797 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17798 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17799 :; INTELCXX=yes
17800 else
17801 :;
17802 fi
17803 ac_ext=c
17804 ac_cpp='$CPP $CPPFLAGS'
17805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17808
17809
17810
17811
17812 if test "$INTELCXX" = "yes"; then
17813
17814
17815 ac_ext=cpp
17816 ac_cpp='$CXXCPP $CPPFLAGS'
17817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17820
17821 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17822 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17823 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17825 else
17826 cat >conftest.$ac_ext <<_ACEOF
17827 /* confdefs.h. */
17828 _ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832
17833 int
17834 main ()
17835 {
17836
17837 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17838 choke me
17839 #endif
17840
17841 ;
17842 return 0;
17843 }
17844 _ACEOF
17845 rm -f conftest.$ac_objext
17846 if { (ac_try="$ac_compile"
17847 case "(($ac_try" in
17848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17849 *) ac_try_echo=$ac_try;;
17850 esac
17851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17852 (eval "$ac_compile") 2>conftest.er1
17853 ac_status=$?
17854 grep -v '^ *+' conftest.er1 >conftest.err
17855 rm -f conftest.er1
17856 cat conftest.err >&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } && {
17859 test -z "$ac_cxx_werror_flag" ||
17860 test ! -s conftest.err
17861 } && test -s conftest.$ac_objext; then
17862 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17863 else
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17866
17867 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17868
17869 fi
17870
17871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17872
17873
17874 fi
17875 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17876 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17877 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17878 :; INTELCXX8=yes
17879 else
17880 :;
17881 fi
17882 ac_ext=c
17883 ac_cpp='$CPP $CPPFLAGS'
17884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17887
17888
17889
17890
17891
17892 ac_ext=cpp
17893 ac_cpp='$CXXCPP $CPPFLAGS'
17894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17897
17898 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17899 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17900 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17901 echo $ECHO_N "(cached) $ECHO_C" >&6
17902 else
17903 cat >conftest.$ac_ext <<_ACEOF
17904 /* confdefs.h. */
17905 _ACEOF
17906 cat confdefs.h >>conftest.$ac_ext
17907 cat >>conftest.$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17909
17910 int
17911 main ()
17912 {
17913
17914 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17915 choke me
17916 #endif
17917
17918 ;
17919 return 0;
17920 }
17921 _ACEOF
17922 rm -f conftest.$ac_objext
17923 if { (ac_try="$ac_compile"
17924 case "(($ac_try" in
17925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17926 *) ac_try_echo=$ac_try;;
17927 esac
17928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17929 (eval "$ac_compile") 2>conftest.er1
17930 ac_status=$?
17931 grep -v '^ *+' conftest.er1 >conftest.err
17932 rm -f conftest.er1
17933 cat conftest.err >&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); } && {
17936 test -z "$ac_cxx_werror_flag" ||
17937 test ! -s conftest.err
17938 } && test -s conftest.$ac_objext; then
17939 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17940 else
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17943
17944 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17945
17946 fi
17947
17948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17949
17950
17951 fi
17952 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17953 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17954 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17955 :; INTELCXX10=yes
17956 else
17957 :;
17958 fi
17959 ac_ext=c
17960 ac_cpp='$CPP $CPPFLAGS'
17961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17964
17965
17966
17967 fi
17968
17969 if test "x$GCXX" != "xyes"; then
17970 if test "xCXX" = "xC"; then
17971 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17972 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17973 if test "${bakefile_cv_c_exto+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17975 else
17976 cat >conftest.$ac_ext <<_ACEOF
17977 /* confdefs.h. */
17978 _ACEOF
17979 cat confdefs.h >>conftest.$ac_ext
17980 cat >>conftest.$ac_ext <<_ACEOF
17981 /* end confdefs.h. */
17982
17983 int
17984 main ()
17985 {
17986
17987 ;
17988 return 0;
17989 }
17990 _ACEOF
17991 rm -f conftest.$ac_objext conftest.$ac_ext.o
17992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17993 (eval $ac_compile) 2>&5
17994 ac_status=$?
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; then
17997 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17998 case $ac_file in
17999 conftest.$ac_ext.o)
18000 bakefile_cv_c_exto="-ext o"
18001 ;;
18002 *)
18003 ;;
18004 esac
18005 done
18006 else
18007 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18008 See \`config.log' for more details." >&5
18009 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18010 See \`config.log' for more details." >&2;}
18011 { (exit 1); exit 1; }; }
18012
18013 fi
18014
18015 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18016
18017 fi
18018 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18019 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18020 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18021 if test "c" = "c"; then
18022 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18023 fi
18024 if test "c" = "cxx"; then
18025 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18026 fi
18027 fi
18028
18029 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18030 unset ac_cv_prog_cc_g
18031 ac_test_CFLAGS=${CFLAGS+set}
18032 ac_save_CFLAGS=$CFLAGS
18033 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18034 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18035 if test "${ac_cv_prog_cc_g+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18037 else
18038 ac_save_c_werror_flag=$ac_c_werror_flag
18039 ac_c_werror_flag=yes
18040 ac_cv_prog_cc_g=no
18041 CFLAGS="-g"
18042 cat >conftest.$ac_ext <<_ACEOF
18043 /* confdefs.h. */
18044 _ACEOF
18045 cat confdefs.h >>conftest.$ac_ext
18046 cat >>conftest.$ac_ext <<_ACEOF
18047 /* end confdefs.h. */
18048
18049 int
18050 main ()
18051 {
18052
18053 ;
18054 return 0;
18055 }
18056 _ACEOF
18057 rm -f conftest.$ac_objext
18058 if { (ac_try="$ac_compile"
18059 case "(($ac_try" in
18060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18061 *) ac_try_echo=$ac_try;;
18062 esac
18063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18064 (eval "$ac_compile") 2>conftest.er1
18065 ac_status=$?
18066 grep -v '^ *+' conftest.er1 >conftest.err
18067 rm -f conftest.er1
18068 cat conftest.err >&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); } && {
18071 test -z "$ac_c_werror_flag" ||
18072 test ! -s conftest.err
18073 } && test -s conftest.$ac_objext; then
18074 ac_cv_prog_cc_g=yes
18075 else
18076 echo "$as_me: failed program was:" >&5
18077 sed 's/^/| /' conftest.$ac_ext >&5
18078
18079 CFLAGS=""
18080 cat >conftest.$ac_ext <<_ACEOF
18081 /* confdefs.h. */
18082 _ACEOF
18083 cat confdefs.h >>conftest.$ac_ext
18084 cat >>conftest.$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086
18087 int
18088 main ()
18089 {
18090
18091 ;
18092 return 0;
18093 }
18094 _ACEOF
18095 rm -f conftest.$ac_objext
18096 if { (ac_try="$ac_compile"
18097 case "(($ac_try" in
18098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18099 *) ac_try_echo=$ac_try;;
18100 esac
18101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18102 (eval "$ac_compile") 2>conftest.er1
18103 ac_status=$?
18104 grep -v '^ *+' conftest.er1 >conftest.err
18105 rm -f conftest.er1
18106 cat conftest.err >&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } && {
18109 test -z "$ac_c_werror_flag" ||
18110 test ! -s conftest.err
18111 } && test -s conftest.$ac_objext; then
18112 :
18113 else
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18116
18117 ac_c_werror_flag=$ac_save_c_werror_flag
18118 CFLAGS="-g"
18119 cat >conftest.$ac_ext <<_ACEOF
18120 /* confdefs.h. */
18121 _ACEOF
18122 cat confdefs.h >>conftest.$ac_ext
18123 cat >>conftest.$ac_ext <<_ACEOF
18124 /* end confdefs.h. */
18125
18126 int
18127 main ()
18128 {
18129
18130 ;
18131 return 0;
18132 }
18133 _ACEOF
18134 rm -f conftest.$ac_objext
18135 if { (ac_try="$ac_compile"
18136 case "(($ac_try" in
18137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18138 *) ac_try_echo=$ac_try;;
18139 esac
18140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18141 (eval "$ac_compile") 2>conftest.er1
18142 ac_status=$?
18143 grep -v '^ *+' conftest.er1 >conftest.err
18144 rm -f conftest.er1
18145 cat conftest.err >&5
18146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18147 (exit $ac_status); } && {
18148 test -z "$ac_c_werror_flag" ||
18149 test ! -s conftest.err
18150 } && test -s conftest.$ac_objext; then
18151 ac_cv_prog_cc_g=yes
18152 else
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.$ac_ext >&5
18155
18156
18157 fi
18158
18159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 fi
18161
18162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18163 fi
18164
18165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18166 ac_c_werror_flag=$ac_save_c_werror_flag
18167 fi
18168 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18169 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18170 if test "$ac_test_CFLAGS" = set; then
18171 CFLAGS=$ac_save_CFLAGS
18172 elif test $ac_cv_prog_cc_g = yes; then
18173 if test "$GCC" = yes; then
18174 CFLAGS="-g -O2"
18175 else
18176 CFLAGS="-g"
18177 fi
18178 else
18179 if test "$GCC" = yes; then
18180 CFLAGS="-O2"
18181 else
18182 CFLAGS=
18183 fi
18184 fi
18185 fi
18186 fi
18187
18188 case `uname -s` in
18189 AIX*)
18190
18191
18192 ac_ext=cpp
18193 ac_cpp='$CXXCPP $CPPFLAGS'
18194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18197
18198 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18199 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18200 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18201 echo $ECHO_N "(cached) $ECHO_C" >&6
18202 else
18203 cat >conftest.$ac_ext <<_ACEOF
18204 /* confdefs.h. */
18205 _ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209
18210 int
18211 main ()
18212 {
18213
18214 #ifndef __xlC__
18215 choke me
18216 #endif
18217
18218 ;
18219 return 0;
18220 }
18221 _ACEOF
18222 rm -f conftest.$ac_objext
18223 if { (ac_try="$ac_compile"
18224 case "(($ac_try" in
18225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18226 *) ac_try_echo=$ac_try;;
18227 esac
18228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18229 (eval "$ac_compile") 2>conftest.er1
18230 ac_status=$?
18231 grep -v '^ *+' conftest.er1 >conftest.err
18232 rm -f conftest.er1
18233 cat conftest.err >&5
18234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18235 (exit $ac_status); } && {
18236 test -z "$ac_cxx_werror_flag" ||
18237 test ! -s conftest.err
18238 } && test -s conftest.$ac_objext; then
18239 bakefile_cv_cxx_compiler___xlC__=yes
18240 else
18241 echo "$as_me: failed program was:" >&5
18242 sed 's/^/| /' conftest.$ac_ext >&5
18243
18244 bakefile_cv_cxx_compiler___xlC__=no
18245
18246 fi
18247
18248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18249
18250
18251 fi
18252 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18253 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18254 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18255 :; XLCXX=yes
18256 else
18257 :;
18258 fi
18259 ac_ext=c
18260 ac_cpp='$CPP $CPPFLAGS'
18261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18264
18265
18266
18267 ;;
18268
18269 Darwin)
18270
18271
18272 ac_ext=cpp
18273 ac_cpp='$CXXCPP $CPPFLAGS'
18274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18277
18278 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18279 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18280 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18281 echo $ECHO_N "(cached) $ECHO_C" >&6
18282 else
18283 cat >conftest.$ac_ext <<_ACEOF
18284 /* confdefs.h. */
18285 _ACEOF
18286 cat confdefs.h >>conftest.$ac_ext
18287 cat >>conftest.$ac_ext <<_ACEOF
18288 /* end confdefs.h. */
18289
18290 int
18291 main ()
18292 {
18293
18294 #ifndef __MWERKS__
18295 choke me
18296 #endif
18297
18298 ;
18299 return 0;
18300 }
18301 _ACEOF
18302 rm -f conftest.$ac_objext
18303 if { (ac_try="$ac_compile"
18304 case "(($ac_try" in
18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18307 esac
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_compile") 2>conftest.er1
18310 ac_status=$?
18311 grep -v '^ *+' conftest.er1 >conftest.err
18312 rm -f conftest.er1
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } && {
18316 test -z "$ac_cxx_werror_flag" ||
18317 test ! -s conftest.err
18318 } && test -s conftest.$ac_objext; then
18319 bakefile_cv_cxx_compiler___MWERKS__=yes
18320 else
18321 echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.$ac_ext >&5
18323
18324 bakefile_cv_cxx_compiler___MWERKS__=no
18325
18326 fi
18327
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329
18330
18331 fi
18332 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18333 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18334 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18335 :; MWCXX=yes
18336 else
18337 :;
18338 fi
18339 ac_ext=c
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18344
18345
18346
18347 if test "$MWCXX" != "yes"; then
18348
18349
18350 ac_ext=cpp
18351 ac_cpp='$CXXCPP $CPPFLAGS'
18352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18355
18356 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18357 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18358 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 else
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h. */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367
18368 int
18369 main ()
18370 {
18371
18372 #ifndef __xlC__
18373 choke me
18374 #endif
18375
18376 ;
18377 return 0;
18378 }
18379 _ACEOF
18380 rm -f conftest.$ac_objext
18381 if { (ac_try="$ac_compile"
18382 case "(($ac_try" in
18383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18384 *) ac_try_echo=$ac_try;;
18385 esac
18386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18387 (eval "$ac_compile") 2>conftest.er1
18388 ac_status=$?
18389 grep -v '^ *+' conftest.er1 >conftest.err
18390 rm -f conftest.er1
18391 cat conftest.err >&5
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); } && {
18394 test -z "$ac_cxx_werror_flag" ||
18395 test ! -s conftest.err
18396 } && test -s conftest.$ac_objext; then
18397 bakefile_cv_cxx_compiler___xlC__=yes
18398 else
18399 echo "$as_me: failed program was:" >&5
18400 sed 's/^/| /' conftest.$ac_ext >&5
18401
18402 bakefile_cv_cxx_compiler___xlC__=no
18403
18404 fi
18405
18406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18407
18408
18409 fi
18410 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18411 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18412 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18413 :; XLCXX=yes
18414 else
18415 :;
18416 fi
18417 ac_ext=c
18418 ac_cpp='$CPP $CPPFLAGS'
18419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18422
18423
18424
18425 fi
18426 ;;
18427
18428 IRIX*)
18429
18430
18431 ac_ext=cpp
18432 ac_cpp='$CXXCPP $CPPFLAGS'
18433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18436
18437 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18438 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18439 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18440 echo $ECHO_N "(cached) $ECHO_C" >&6
18441 else
18442 cat >conftest.$ac_ext <<_ACEOF
18443 /* confdefs.h. */
18444 _ACEOF
18445 cat confdefs.h >>conftest.$ac_ext
18446 cat >>conftest.$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448
18449 int
18450 main ()
18451 {
18452
18453 #ifndef _SGI_COMPILER_VERSION
18454 choke me
18455 #endif
18456
18457 ;
18458 return 0;
18459 }
18460 _ACEOF
18461 rm -f conftest.$ac_objext
18462 if { (ac_try="$ac_compile"
18463 case "(($ac_try" in
18464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18465 *) ac_try_echo=$ac_try;;
18466 esac
18467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18468 (eval "$ac_compile") 2>conftest.er1
18469 ac_status=$?
18470 grep -v '^ *+' conftest.er1 >conftest.err
18471 rm -f conftest.er1
18472 cat conftest.err >&5
18473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18474 (exit $ac_status); } && {
18475 test -z "$ac_cxx_werror_flag" ||
18476 test ! -s conftest.err
18477 } && test -s conftest.$ac_objext; then
18478 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18479 else
18480 echo "$as_me: failed program was:" >&5
18481 sed 's/^/| /' conftest.$ac_ext >&5
18482
18483 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18484
18485 fi
18486
18487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488
18489
18490 fi
18491 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18492 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18493 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18494 :; SGICXX=yes
18495 else
18496 :;
18497 fi
18498 ac_ext=c
18499 ac_cpp='$CPP $CPPFLAGS'
18500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18503
18504
18505
18506 ;;
18507
18508 Linux*)
18509 if test "$INTELCXX" != "yes"; then
18510
18511
18512 ac_ext=cpp
18513 ac_cpp='$CXXCPP $CPPFLAGS'
18514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18517
18518 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18519 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18520 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 else
18523 cat >conftest.$ac_ext <<_ACEOF
18524 /* confdefs.h. */
18525 _ACEOF
18526 cat confdefs.h >>conftest.$ac_ext
18527 cat >>conftest.$ac_ext <<_ACEOF
18528 /* end confdefs.h. */
18529
18530 int
18531 main ()
18532 {
18533
18534 #ifndef __SUNPRO_CC
18535 choke me
18536 #endif
18537
18538 ;
18539 return 0;
18540 }
18541 _ACEOF
18542 rm -f conftest.$ac_objext
18543 if { (ac_try="$ac_compile"
18544 case "(($ac_try" in
18545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18546 *) ac_try_echo=$ac_try;;
18547 esac
18548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18549 (eval "$ac_compile") 2>conftest.er1
18550 ac_status=$?
18551 grep -v '^ *+' conftest.er1 >conftest.err
18552 rm -f conftest.er1
18553 cat conftest.err >&5
18554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18555 (exit $ac_status); } && {
18556 test -z "$ac_cxx_werror_flag" ||
18557 test ! -s conftest.err
18558 } && test -s conftest.$ac_objext; then
18559 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18560 else
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.$ac_ext >&5
18563
18564 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18565
18566 fi
18567
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18569
18570
18571 fi
18572 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18573 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18574 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18575 :; SUNCXX=yes
18576 else
18577 :;
18578 fi
18579 ac_ext=c
18580 ac_cpp='$CPP $CPPFLAGS'
18581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18584
18585
18586
18587 fi
18588 ;;
18589
18590 HP-UX*)
18591
18592
18593 ac_ext=cpp
18594 ac_cpp='$CXXCPP $CPPFLAGS'
18595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18598
18599 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18600 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18601 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18603 else
18604 cat >conftest.$ac_ext <<_ACEOF
18605 /* confdefs.h. */
18606 _ACEOF
18607 cat confdefs.h >>conftest.$ac_ext
18608 cat >>conftest.$ac_ext <<_ACEOF
18609 /* end confdefs.h. */
18610
18611 int
18612 main ()
18613 {
18614
18615 #ifndef __HP_aCC
18616 choke me
18617 #endif
18618
18619 ;
18620 return 0;
18621 }
18622 _ACEOF
18623 rm -f conftest.$ac_objext
18624 if { (ac_try="$ac_compile"
18625 case "(($ac_try" in
18626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18627 *) ac_try_echo=$ac_try;;
18628 esac
18629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18630 (eval "$ac_compile") 2>conftest.er1
18631 ac_status=$?
18632 grep -v '^ *+' conftest.er1 >conftest.err
18633 rm -f conftest.er1
18634 cat conftest.err >&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && {
18637 test -z "$ac_cxx_werror_flag" ||
18638 test ! -s conftest.err
18639 } && test -s conftest.$ac_objext; then
18640 bakefile_cv_cxx_compiler___HP_aCC=yes
18641 else
18642 echo "$as_me: failed program was:" >&5
18643 sed 's/^/| /' conftest.$ac_ext >&5
18644
18645 bakefile_cv_cxx_compiler___HP_aCC=no
18646
18647 fi
18648
18649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18650
18651
18652 fi
18653 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18654 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18655 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18656 :; HPCXX=yes
18657 else
18658 :;
18659 fi
18660 ac_ext=c
18661 ac_cpp='$CPP $CPPFLAGS'
18662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18665
18666
18667
18668 ;;
18669
18670 OSF1)
18671
18672
18673 ac_ext=cpp
18674 ac_cpp='$CXXCPP $CPPFLAGS'
18675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18678
18679 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18680 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18681 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18682 echo $ECHO_N "(cached) $ECHO_C" >&6
18683 else
18684 cat >conftest.$ac_ext <<_ACEOF
18685 /* confdefs.h. */
18686 _ACEOF
18687 cat confdefs.h >>conftest.$ac_ext
18688 cat >>conftest.$ac_ext <<_ACEOF
18689 /* end confdefs.h. */
18690
18691 int
18692 main ()
18693 {
18694
18695 #ifndef __DECCXX
18696 choke me
18697 #endif
18698
18699 ;
18700 return 0;
18701 }
18702 _ACEOF
18703 rm -f conftest.$ac_objext
18704 if { (ac_try="$ac_compile"
18705 case "(($ac_try" in
18706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18707 *) ac_try_echo=$ac_try;;
18708 esac
18709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18710 (eval "$ac_compile") 2>conftest.er1
18711 ac_status=$?
18712 grep -v '^ *+' conftest.er1 >conftest.err
18713 rm -f conftest.er1
18714 cat conftest.err >&5
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); } && {
18717 test -z "$ac_cxx_werror_flag" ||
18718 test ! -s conftest.err
18719 } && test -s conftest.$ac_objext; then
18720 bakefile_cv_cxx_compiler___DECCXX=yes
18721 else
18722 echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.$ac_ext >&5
18724
18725 bakefile_cv_cxx_compiler___DECCXX=no
18726
18727 fi
18728
18729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18730
18731
18732 fi
18733 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18734 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18735 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18736 :; COMPAQCXX=yes
18737 else
18738 :;
18739 fi
18740 ac_ext=c
18741 ac_cpp='$CPP $CPPFLAGS'
18742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18745
18746
18747
18748 ;;
18749
18750 SunOS)
18751
18752
18753 ac_ext=cpp
18754 ac_cpp='$CXXCPP $CPPFLAGS'
18755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18758
18759 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18760 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18761 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18763 else
18764 cat >conftest.$ac_ext <<_ACEOF
18765 /* confdefs.h. */
18766 _ACEOF
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18770
18771 int
18772 main ()
18773 {
18774
18775 #ifndef __SUNPRO_CC
18776 choke me
18777 #endif
18778
18779 ;
18780 return 0;
18781 }
18782 _ACEOF
18783 rm -f conftest.$ac_objext
18784 if { (ac_try="$ac_compile"
18785 case "(($ac_try" in
18786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18787 *) ac_try_echo=$ac_try;;
18788 esac
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18790 (eval "$ac_compile") 2>conftest.er1
18791 ac_status=$?
18792 grep -v '^ *+' conftest.er1 >conftest.err
18793 rm -f conftest.er1
18794 cat conftest.err >&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } && {
18797 test -z "$ac_cxx_werror_flag" ||
18798 test ! -s conftest.err
18799 } && test -s conftest.$ac_objext; then
18800 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18801 else
18802 echo "$as_me: failed program was:" >&5
18803 sed 's/^/| /' conftest.$ac_ext >&5
18804
18805 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18806
18807 fi
18808
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18810
18811
18812 fi
18813 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18814 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18815 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18816 :; SUNCXX=yes
18817 else
18818 :;
18819 fi
18820 ac_ext=c
18821 ac_cpp='$CPP $CPPFLAGS'
18822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18825
18826
18827
18828 ;;
18829 esac
18830 fi
18831
18832
18833
18834 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18835 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18836 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18837 { (exit 1); exit 1; }; }
18838 fi
18839
18840 if test "x$SUNCXX" != xyes; then
18841 if test -n "$ac_tool_prefix"; then
18842 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18843 set dummy ${ac_tool_prefix}ar; ac_word=$2
18844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18846 if test "${ac_cv_prog_AR+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 else
18849 if test -n "$AR"; then
18850 ac_cv_prog_AR="$AR" # Let the user override the test.
18851 else
18852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18853 for as_dir in $PATH
18854 do
18855 IFS=$as_save_IFS
18856 test -z "$as_dir" && as_dir=.
18857 for ac_exec_ext in '' $ac_executable_extensions; do
18858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18859 ac_cv_prog_AR="${ac_tool_prefix}ar"
18860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18861 break 2
18862 fi
18863 done
18864 done
18865 IFS=$as_save_IFS
18866
18867 fi
18868 fi
18869 AR=$ac_cv_prog_AR
18870 if test -n "$AR"; then
18871 { echo "$as_me:$LINENO: result: $AR" >&5
18872 echo "${ECHO_T}$AR" >&6; }
18873 else
18874 { echo "$as_me:$LINENO: result: no" >&5
18875 echo "${ECHO_T}no" >&6; }
18876 fi
18877
18878
18879 fi
18880 if test -z "$ac_cv_prog_AR"; then
18881 ac_ct_AR=$AR
18882 # Extract the first word of "ar", so it can be a program name with args.
18883 set dummy ar; ac_word=$2
18884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18886 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18887 echo $ECHO_N "(cached) $ECHO_C" >&6
18888 else
18889 if test -n "$ac_ct_AR"; then
18890 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18891 else
18892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18893 for as_dir in $PATH
18894 do
18895 IFS=$as_save_IFS
18896 test -z "$as_dir" && as_dir=.
18897 for ac_exec_ext in '' $ac_executable_extensions; do
18898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18899 ac_cv_prog_ac_ct_AR="ar"
18900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18901 break 2
18902 fi
18903 done
18904 done
18905 IFS=$as_save_IFS
18906
18907 fi
18908 fi
18909 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18910 if test -n "$ac_ct_AR"; then
18911 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18912 echo "${ECHO_T}$ac_ct_AR" >&6; }
18913 else
18914 { echo "$as_me:$LINENO: result: no" >&5
18915 echo "${ECHO_T}no" >&6; }
18916 fi
18917
18918 if test "x$ac_ct_AR" = x; then
18919 AR=""
18920 else
18921 case $cross_compiling:$ac_tool_warned in
18922 yes:)
18923 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18924 whose name does not start with the host triplet. If you think this
18925 configuration is useful to you, please write to autoconf@gnu.org." >&5
18926 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18927 whose name does not start with the host triplet. If you think this
18928 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18929 ac_tool_warned=yes ;;
18930 esac
18931 AR=$ac_ct_AR
18932 fi
18933 else
18934 AR="$ac_cv_prog_AR"
18935 fi
18936
18937 if test "x$AR" = "x" ; then
18938 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18939 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18940 { (exit 1); exit 1; }; }
18941 fi
18942 fi
18943
18944
18945 if test "$wxUSE_MAC" = 1; then
18946
18947 retest_macosx_linking=no
18948
18949 OSX_ARCH_OPTS=""
18950 if test "x$wxUSE_MAC_ARCH" != xno; then
18951 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
18952 fi
18953
18954 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18955 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18956 # Implicitly turn on the new --with-macosx-sdk using the default
18957 # SDK which provides the behaviour this option has always had.
18958 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18959 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18960 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18961 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18962 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18963 wxUSE_MACOSX_SDK=yes
18964 fi
18965 else
18966 # Complain to user if he specified an argument to --enable-universal_binary
18967 # and also 1) specified --with-macosx-sdk using the default (yes) or
18968 # 2) specified --with-macosx-sdk using a path or 3) specified
18969 # --without-macosx-sdk (no).
18970 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18971 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18972 See \`config.log' for more details." >&5
18973 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18974 See \`config.log' for more details." >&2;}
18975 { (exit 1); exit 1; }; }
18976 else
18977 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18978 # special-case the empty string because the below test simply
18979 # converts "no" to the empty string anyway.
18980 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18981 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18982 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18983 fi
18984 fi
18985 OSX_ARCH_OPTS="-arch ppc -arch i386"
18986 if test "$wxUSE_OSX_COCOA" = 1; then
18987 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
18988 fi
18989 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
18990 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
18991 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
18992 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
18993
18994 retest_macosx_linking=yes
18995
18996 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18997 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18998 bk_use_pch=no
18999 fi
19000
19001 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19002 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19003 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19004 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19005 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19006
19007 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19008 wxUSE_MACOSX_SDK=
19009 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19010 # TODO: Search for most recent SDK and use it.
19011 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19012 fi
19013
19014
19015 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19016 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19017 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19018 if ! test -d "$wxUSE_MACOSX_SDK"; then
19019 { { echo "$as_me:$LINENO: error: not found
19020 See \`config.log' for more details." >&5
19021 echo "$as_me: error: not found
19022 See \`config.log' for more details." >&2;}
19023 { (exit 1); exit 1; }; }
19024 else
19025 { echo "$as_me:$LINENO: result: exists" >&5
19026 echo "${ECHO_T}exists" >&6; }
19027 fi
19028 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19029 retest_macosx_linking=yes
19030 fi
19031
19032 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19033 wxUSE_MACOSX_VERSION_MIN=
19034 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19035 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19036 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19037 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19038
19039 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19040
19041 # If that failed, try again with the new key
19042 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19043
19044 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19045
19046 fi
19047
19048 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19049 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19050 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19051 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19052 else
19053 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19054 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19055 wxUSE_MACOSX_VERSION_MIN=
19056 fi
19057 else
19058 wxUSE_MACOSX_VERSION_MIN=
19059 fi
19060 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19061 for ac_prog in sw_vers
19062 do
19063 # Extract the first word of "$ac_prog", so it can be a program name with args.
19064 set dummy $ac_prog; ac_word=$2
19065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19067 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19068 echo $ECHO_N "(cached) $ECHO_C" >&6
19069 else
19070 if test -n "$OSX_SW_VERS"; then
19071 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19072 else
19073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19074 for as_dir in $PATH
19075 do
19076 IFS=$as_save_IFS
19077 test -z "$as_dir" && as_dir=.
19078 for ac_exec_ext in '' $ac_executable_extensions; do
19079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19080 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19082 break 2
19083 fi
19084 done
19085 done
19086 IFS=$as_save_IFS
19087
19088 fi
19089 fi
19090 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19091 if test -n "$OSX_SW_VERS"; then
19092 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19093 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19094 else
19095 { echo "$as_me:$LINENO: result: no" >&5
19096 echo "${ECHO_T}no" >&6; }
19097 fi
19098
19099
19100 test -n "$OSX_SW_VERS" && break
19101 done
19102
19103 if test "$OSX_SW_VERS" != ""; then
19104 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19105 else
19106 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19107 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19108 OSX_VERSION="10.4"
19109 fi
19110
19111 case "$OSX_VERSION" in
19112 10.4* )
19113 wxUSE_MACOSX_VERSION_MIN=10.4
19114 ;;
19115
19116 * )
19117 if test "$wxUSE_OSX_CARBON" = 1; then
19118 # otherwise configure stops on leopard for universal_binary
19119 wxUSE_MACOSX_VERSION_MIN=10.4
19120 else
19121 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19122 wxUSE_MACOSX_VERSION_MIN=10.5
19123 fi
19124 ;;
19125 esac
19126 fi
19127
19128 NEEDS_GCC40="no"
19129 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19130 NEEDS_GCC40="yes"
19131 fi
19132
19133 if test "$wxUSE_OSX_CARBON" = 1; then
19134 NEEDS_GCC40="yes"
19135 fi
19136
19137 if test "x$NEEDS_GCC40" == "xyes"; then
19138 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19139 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19140 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19141 if test "x$CC" = "xgcc"; then
19142 CCVERSION=`$CC --version | grep 4.[2-9].`
19143 if test "x$CCVERSION" != "x"; then
19144 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19145 CC="gcc-4.0"
19146 fi
19147 fi
19148
19149 if test "x$CXX" = "xg++"; then
19150 CCVERSION=`$CXX --version | grep 4.[2-9].`
19151 if test "x$CCVERSION" != "x"; then
19152 CXX="g++-4.0"
19153 fi
19154 fi
19155 fi
19156
19157 if test "x$MACOSX_SDK_OPTS" != "x"; then
19158 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19159 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19160 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19161 fi
19162
19163 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19164 if test "$wxUSE_OSX_IPHONE" = 1; then
19165 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19166 else
19167 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19168 fi
19169 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19170 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19171 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19172 retest_macosx_linking=yes
19173 fi
19174
19175 if test "x$retest_macosx_linking" = "xyes"; then
19176 ac_ext=c
19177 ac_cpp='$CPP $CPPFLAGS'
19178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19181
19182 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19183 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19184 cat >conftest.$ac_ext <<_ACEOF
19185 /* confdefs.h. */
19186 _ACEOF
19187 cat confdefs.h >>conftest.$ac_ext
19188 cat >>conftest.$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190
19191 int
19192 main ()
19193 {
19194
19195 ;
19196 return 0;
19197 }
19198 _ACEOF
19199 rm -f conftest.$ac_objext conftest$ac_exeext
19200 if { (ac_try="$ac_link"
19201 case "(($ac_try" in
19202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19203 *) ac_try_echo=$ac_try;;
19204 esac
19205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19206 (eval "$ac_link") 2>conftest.er1
19207 ac_status=$?
19208 grep -v '^ *+' conftest.er1 >conftest.err
19209 rm -f conftest.er1
19210 cat conftest.err >&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } && {
19213 test -z "$ac_c_werror_flag" ||
19214 test ! -s conftest.err
19215 } && test -s conftest$ac_exeext &&
19216 $as_test_x conftest$ac_exeext; then
19217 { echo "$as_me:$LINENO: result: yes" >&5
19218 echo "${ECHO_T}yes" >&6; }
19219 else
19220 echo "$as_me: failed program was:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19222
19223 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19224 See \`config.log' for more details." >&5
19225 echo "$as_me: error: no. Try a different SDK
19226 See \`config.log' for more details." >&2;}
19227 { (exit 1); exit 1; }; }; exit 1
19228 fi
19229
19230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19231 conftest$ac_exeext conftest.$ac_ext
19232 ac_ext=c
19233 ac_cpp='$CPP $CPPFLAGS'
19234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19237
19238
19239 ac_ext=cpp
19240 ac_cpp='$CXXCPP $CPPFLAGS'
19241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19244
19245 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19246 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19247 cat >conftest.$ac_ext <<_ACEOF
19248 /* confdefs.h. */
19249 _ACEOF
19250 cat confdefs.h >>conftest.$ac_ext
19251 cat >>conftest.$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19253
19254 int
19255 main ()
19256 {
19257
19258 ;
19259 return 0;
19260 }
19261 _ACEOF
19262 rm -f conftest.$ac_objext conftest$ac_exeext
19263 if { (ac_try="$ac_link"
19264 case "(($ac_try" in
19265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19266 *) ac_try_echo=$ac_try;;
19267 esac
19268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19269 (eval "$ac_link") 2>conftest.er1
19270 ac_status=$?
19271 grep -v '^ *+' conftest.er1 >conftest.err
19272 rm -f conftest.er1
19273 cat conftest.err >&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } && {
19276 test -z "$ac_cxx_werror_flag" ||
19277 test ! -s conftest.err
19278 } && test -s conftest$ac_exeext &&
19279 $as_test_x conftest$ac_exeext; then
19280 { echo "$as_me:$LINENO: result: yes" >&5
19281 echo "${ECHO_T}yes" >&6; }
19282 else
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.$ac_ext >&5
19285
19286 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19287 See \`config.log' for more details." >&5
19288 echo "$as_me: error: no. Try a different SDK
19289 See \`config.log' for more details." >&2;}
19290 { (exit 1); exit 1; }; }; exit 1
19291 fi
19292
19293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19294 conftest$ac_exeext conftest.$ac_ext
19295 ac_ext=c
19296 ac_cpp='$CPP $CPPFLAGS'
19297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19300
19301 fi
19302
19303 fi
19304 case "${host}" in
19305
19306 *-*-darwin* )
19307 INSTALL_PROGRAM="cp -fp"
19308 INSTALL_DATA="cp -fp"
19309 ;;
19310 *)
19311 ;;
19312 esac
19313
19314
19315 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19316 CXXFLAGS="-qunique $CXXFLAGS"
19317 fi
19318
19319 case "${host}" in
19320 powerpc-*-darwin* )
19321 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19322 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19323 cat >conftest.$ac_ext <<_ACEOF
19324 /* confdefs.h. */
19325 _ACEOF
19326 cat confdefs.h >>conftest.$ac_ext
19327 cat >>conftest.$ac_ext <<_ACEOF
19328 /* end confdefs.h. */
19329
19330 int
19331 main ()
19332 {
19333 #ifndef __POWERPC__
19334 choke me for lack of PowerPC
19335 #endif
19336
19337 ;
19338 return 0;
19339 }
19340 _ACEOF
19341 rm -f conftest.$ac_objext
19342 if { (ac_try="$ac_compile"
19343 case "(($ac_try" in
19344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19345 *) ac_try_echo=$ac_try;;
19346 esac
19347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19348 (eval "$ac_compile") 2>conftest.er1
19349 ac_status=$?
19350 grep -v '^ *+' conftest.er1 >conftest.err
19351 rm -f conftest.er1
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } && {
19355 test -z "$ac_c_werror_flag" ||
19356 test ! -s conftest.err
19357 } && test -s conftest.$ac_objext; then
19358 { echo "$as_me:$LINENO: result: yes" >&5
19359 echo "${ECHO_T}yes" >&6; }
19360 else
19361 echo "$as_me: failed program was:" >&5
19362 sed 's/^/| /' conftest.$ac_ext >&5
19363
19364 { echo "$as_me:$LINENO: result: no" >&5
19365 echo "${ECHO_T}no" >&6; }
19366 cat >>confdefs.h <<\_ACEOF
19367 #define __POWERPC__ 1
19368 _ACEOF
19369
19370
19371 fi
19372
19373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19374 ;;
19375 esac
19376
19377 case "${host}" in
19378 *-*-darwin* )
19379 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19380 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19381 cat >conftest.$ac_ext <<_ACEOF
19382 /* confdefs.h. */
19383 _ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387 #include <CoreFoundation/CFBase.h>
19388
19389 int
19390 main ()
19391 {
19392
19393 ;
19394 return 0;
19395 }
19396 _ACEOF
19397 rm -f conftest.$ac_objext
19398 if { (ac_try="$ac_compile"
19399 case "(($ac_try" in
19400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19401 *) ac_try_echo=$ac_try;;
19402 esac
19403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19404 (eval "$ac_compile") 2>conftest.er1
19405 ac_status=$?
19406 grep -v '^ *+' conftest.er1 >conftest.err
19407 rm -f conftest.er1
19408 cat conftest.err >&5
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); } && {
19411 test -z "$ac_c_werror_flag" ||
19412 test ! -s conftest.err
19413 } && test -s conftest.$ac_objext; then
19414 { echo "$as_me:$LINENO: result: yes" >&5
19415 echo "${ECHO_T}yes" >&6; }
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19419
19420 { echo "$as_me:$LINENO: result: no" >&5
19421 echo "${ECHO_T}no" >&6; }
19422 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19423 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19424 cat >conftest.$ac_ext <<_ACEOF
19425 /* confdefs.h. */
19426 _ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 #define __CF_USE_FRAMEWORK_INCLUDES__
19431 #include <CoreFoundation/CFBase.h>
19432
19433 int
19434 main ()
19435 {
19436
19437 ;
19438 return 0;
19439 }
19440 _ACEOF
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19446 esac
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19449 ac_status=$?
19450 grep -v '^ *+' conftest.er1 >conftest.err
19451 rm -f conftest.er1
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 { echo "$as_me:$LINENO: result: yes" >&5
19459 echo "${ECHO_T}yes" >&6; }
19460 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19461 else
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19464
19465 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19466 See \`config.log' for more details." >&5
19467 echo "$as_me: error: no. CoreFoundation not available.
19468 See \`config.log' for more details." >&2;}
19469 { (exit 1); exit 1; }; }
19470
19471 fi
19472
19473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19474
19475
19476 fi
19477
19478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19479 ;;
19480 esac
19481
19482 wants_win32=0
19483 doesnt_want_win32=0
19484 case "${host}" in
19485 *-*-cygwin*)
19486 if test "$wxUSE_MSW" = 1 ; then
19487 wants_win32=1
19488 else
19489 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19490 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19491 if test "${wx_cv_nocygwin+set}" = set; then
19492 echo $ECHO_N "(cached) $ECHO_C" >&6
19493 else
19494
19495 cat >conftest.$ac_ext <<_ACEOF
19496 /* confdefs.h. */
19497 _ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19501
19502 int
19503 main ()
19504 {
19505
19506 #ifdef __MINGW32__
19507 choke me
19508 #endif
19509
19510 ;
19511 return 0;
19512 }
19513 _ACEOF
19514 rm -f conftest.$ac_objext
19515 if { (ac_try="$ac_compile"
19516 case "(($ac_try" in
19517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19518 *) ac_try_echo=$ac_try;;
19519 esac
19520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19521 (eval "$ac_compile") 2>conftest.er1
19522 ac_status=$?
19523 grep -v '^ *+' conftest.er1 >conftest.err
19524 rm -f conftest.er1
19525 cat conftest.err >&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } && {
19528 test -z "$ac_c_werror_flag" ||
19529 test ! -s conftest.err
19530 } && test -s conftest.$ac_objext; then
19531 wx_cv_nocygwin=no
19532 else
19533 echo "$as_me: failed program was:" >&5
19534 sed 's/^/| /' conftest.$ac_ext >&5
19535
19536 wx_cv_nocygwin=yes
19537
19538 fi
19539
19540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19541
19542
19543 fi
19544 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19545 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19546
19547 if test "$wx_cv_nocygwin" = "yes"; then
19548 wants_win32=1
19549 else
19550 doesnt_want_win32=1
19551 fi
19552 fi
19553 if test "$wants_win32" = 1 ; then
19554 BAKEFILE_FORCE_PLATFORM=win32
19555 fi
19556 ;;
19557 *-*-mingw*)
19558 wants_win32=1
19559 ;;
19560 esac
19561
19562 if test "$wxUSE_WINE" = "yes"; then
19563 wants_win32=1
19564 LDFLAGS_GUI="-mwindows"
19565 fi
19566
19567 if test "$wants_win32" = 1 ; then
19568 USE_UNIX=0
19569 USE_WIN32=1
19570 cat >>confdefs.h <<\_ACEOF
19571 #define __WIN32__ 1
19572 _ACEOF
19573
19574 cat >>confdefs.h <<\_ACEOF
19575 #define __WIN95__ 1
19576 _ACEOF
19577
19578 cat >>confdefs.h <<\_ACEOF
19579 #define __WINDOWS__ 1
19580 _ACEOF
19581
19582 cat >>confdefs.h <<\_ACEOF
19583 #define __GNUWIN32__ 1
19584 _ACEOF
19585
19586 cat >>confdefs.h <<\_ACEOF
19587 #define STRICT 1
19588 _ACEOF
19589
19590 fi
19591 if test "$doesnt_want_win32" = 1 ; then
19592 USE_UNIX=1
19593 USE_WIN32=0
19594 fi
19595
19596 if test "$USE_UNIX" = 1 ; then
19597 wxUSE_UNIX=yes
19598 cat >>confdefs.h <<\_ACEOF
19599 #define __UNIX__ 1
19600 _ACEOF
19601
19602 fi
19603
19604 case "${host}" in
19605 *-pc-os2_emx | *-pc-os2-emx )
19606 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19607 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19608 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19609 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19610 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 else
19612 ac_check_lib_save_LIBS=$LIBS
19613 LIBS="-lcExt $LIBS"
19614 cat >conftest.$ac_ext <<_ACEOF
19615 /* confdefs.h. */
19616 _ACEOF
19617 cat confdefs.h >>conftest.$ac_ext
19618 cat >>conftest.$ac_ext <<_ACEOF
19619 /* end confdefs.h. */
19620
19621 /* Override any GCC internal prototype to avoid an error.
19622 Use char because int might match the return type of a GCC
19623 builtin and then its argument prototype would still apply. */
19624 #ifdef __cplusplus
19625 extern "C"
19626 #endif
19627 char drand48 ();
19628 int
19629 main ()
19630 {
19631 return drand48 ();
19632 ;
19633 return 0;
19634 }
19635 _ACEOF
19636 rm -f conftest.$ac_objext conftest$ac_exeext
19637 if { (ac_try="$ac_link"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19641 esac
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_link") 2>conftest.er1
19644 ac_status=$?
19645 grep -v '^ *+' conftest.er1 >conftest.err
19646 rm -f conftest.er1
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest$ac_exeext &&
19653 $as_test_x conftest$ac_exeext; then
19654 ac_cv_lib_cExt_drand48=yes
19655 else
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.$ac_ext >&5
19658
19659 ac_cv_lib_cExt_drand48=no
19660 fi
19661
19662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19663 conftest$ac_exeext conftest.$ac_ext
19664 LIBS=$ac_check_lib_save_LIBS
19665 fi
19666 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19667 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19668 if test $ac_cv_lib_cExt_drand48 = yes; then
19669 LIBS="$LIBS -lcExt"
19670 fi
19671
19672 else
19673 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19674 fi
19675 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19676 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19677 if test "${wx_cv_gccversion+set}" = set; then
19678 echo $ECHO_N "(cached) $ECHO_C" >&6
19679 else
19680
19681 if test "$cross_compiling" = yes; then
19682 wx_cv_gccversion="EMX2"
19683
19684 else
19685 cat >conftest.$ac_ext <<_ACEOF
19686 /* confdefs.h. */
19687 _ACEOF
19688 cat confdefs.h >>conftest.$ac_ext
19689 cat >>conftest.$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19691
19692 #include <stdio.h>
19693
19694 int main()
19695 {
19696 FILE *f=fopen("conftestval", "w");
19697 if (!f) exit(1);
19698 fprintf(f,
19699 #if (__GNUC__ < 3)
19700 "EMX2"
19701 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19702 "EMX3"
19703 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19704 "Innotek5"
19705 #else
19706 "Innotek6"
19707 #endif
19708 );
19709 exit(0);
19710 }
19711
19712 _ACEOF
19713 rm -f conftest$ac_exeext
19714 if { (ac_try="$ac_link"
19715 case "(($ac_try" in
19716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19717 *) ac_try_echo=$ac_try;;
19718 esac
19719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19720 (eval "$ac_link") 2>&5
19721 ac_status=$?
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19724 { (case "(($ac_try" in
19725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19726 *) ac_try_echo=$ac_try;;
19727 esac
19728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19729 (eval "$ac_try") 2>&5
19730 ac_status=$?
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; }; then
19733 wx_cv_gccversion=`cat conftestval`
19734 else
19735 echo "$as_me: program exited with status $ac_status" >&5
19736 echo "$as_me: failed program was:" >&5
19737 sed 's/^/| /' conftest.$ac_ext >&5
19738
19739 ( exit $ac_status )
19740 wx_cv_gccversion="EMX2"
19741 fi
19742 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19743 fi
19744
19745
19746
19747 fi
19748 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19749 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19750 if test "$wx_cv_gccversion" = "EMX2"; then
19751 LIBS="$LIBS -lstdcpp"
19752 LDFLAGS="$LDFLAGS -Zsysv-signals"
19753 else
19754 if test "$wx_cv_gccversion" = "EMX3"; then
19755 LIBS="$LIBS -lstdcxx -lgcc"
19756 LDFLAGS="$LDFLAGS -Zsysv-signals"
19757 else
19758 LIBS="$LIBS -lstdc++"
19759 fi
19760 fi
19761 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19762 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19763 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19764 wxUSE_OMF=yes
19765 enable_omf=yes
19766 fi
19767 ;;
19768 *)
19769
19770 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19771 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
19772 if test "${ac_cv_string_strcasecmp+set}" = set; then
19773 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 else
19775
19776 cat >conftest.$ac_ext <<_ACEOF
19777 /* confdefs.h. */
19778 _ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782
19783 #include <string.h>
19784
19785 int
19786 main ()
19787 {
19788
19789 strcasecmp("foo", "bar");
19790
19791 ;
19792 return 0;
19793 }
19794 _ACEOF
19795 rm -f conftest.$ac_objext conftest$ac_exeext
19796 if { (ac_try="$ac_link"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19800 esac
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_link") 2>conftest.er1
19803 ac_status=$?
19804 grep -v '^ *+' conftest.er1 >conftest.err
19805 rm -f conftest.er1
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest$ac_exeext &&
19812 $as_test_x conftest$ac_exeext; then
19813 ac_cv_string_strcasecmp=yes
19814 else
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.$ac_ext >&5
19817
19818 ac_cv_string_strcasecmp=no
19819
19820 fi
19821
19822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19823 conftest$ac_exeext conftest.$ac_ext
19824
19825 fi
19826 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19827 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19828
19829 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19830 cat >>confdefs.h <<\_ACEOF
19831 #define HAVE_STRCASECMP_IN_STRING_H 1
19832 _ACEOF
19833
19834 else
19835 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19836 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
19837 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19838 echo $ECHO_N "(cached) $ECHO_C" >&6
19839 else
19840
19841 cat >conftest.$ac_ext <<_ACEOF
19842 /* confdefs.h. */
19843 _ACEOF
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847
19848 #include <strings.h>
19849
19850 int
19851 main ()
19852 {
19853
19854 strcasecmp("foo", "bar");
19855
19856 ;
19857 return 0;
19858 }
19859 _ACEOF
19860 rm -f conftest.$ac_objext conftest$ac_exeext
19861 if { (ac_try="$ac_link"
19862 case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19865 esac
19866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19867 (eval "$ac_link") 2>conftest.er1
19868 ac_status=$?
19869 grep -v '^ *+' conftest.er1 >conftest.err
19870 rm -f conftest.er1
19871 cat conftest.err >&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); } && {
19874 test -z "$ac_c_werror_flag" ||
19875 test ! -s conftest.err
19876 } && test -s conftest$ac_exeext &&
19877 $as_test_x conftest$ac_exeext; then
19878 ac_cv_strings_strcasecmp=yes
19879 else
19880 echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19882
19883 ac_cv_strings_strcasecmp=no
19884
19885 fi
19886
19887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19888 conftest$ac_exeext conftest.$ac_ext
19889
19890 fi
19891 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19892 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19893
19894 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19895 cat >>confdefs.h <<\_ACEOF
19896 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19897 _ACEOF
19898
19899 else
19900 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19901 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19902 { (exit 1); exit 1; }; }
19903 fi
19904 fi
19905
19906 ;;
19907 esac
19908
19909
19910 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19911 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19912 if test "${ac_cv_header_stdc+set}" = set; then
19913 echo $ECHO_N "(cached) $ECHO_C" >&6
19914 else
19915 cat >conftest.$ac_ext <<_ACEOF
19916 /* confdefs.h. */
19917 _ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 #include <stdlib.h>
19922 #include <stdarg.h>
19923 #include <string.h>
19924 #include <float.h>
19925
19926 int
19927 main ()
19928 {
19929
19930 ;
19931 return 0;
19932 }
19933 _ACEOF
19934 rm -f conftest.$ac_objext
19935 if { (ac_try="$ac_compile"
19936 case "(($ac_try" in
19937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19938 *) ac_try_echo=$ac_try;;
19939 esac
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_compile") 2>conftest.er1
19942 ac_status=$?
19943 grep -v '^ *+' conftest.er1 >conftest.err
19944 rm -f conftest.er1
19945 cat conftest.err >&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } && {
19948 test -z "$ac_c_werror_flag" ||
19949 test ! -s conftest.err
19950 } && test -s conftest.$ac_objext; then
19951 ac_cv_header_stdc=yes
19952 else
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19955
19956 ac_cv_header_stdc=no
19957 fi
19958
19959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19960
19961 if test $ac_cv_header_stdc = yes; then
19962 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19963 cat >conftest.$ac_ext <<_ACEOF
19964 /* confdefs.h. */
19965 _ACEOF
19966 cat confdefs.h >>conftest.$ac_ext
19967 cat >>conftest.$ac_ext <<_ACEOF
19968 /* end confdefs.h. */
19969 #include <string.h>
19970
19971 _ACEOF
19972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19973 $EGREP "memchr" >/dev/null 2>&1; then
19974 :
19975 else
19976 ac_cv_header_stdc=no
19977 fi
19978 rm -f conftest*
19979
19980 fi
19981
19982 if test $ac_cv_header_stdc = yes; then
19983 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19984 cat >conftest.$ac_ext <<_ACEOF
19985 /* confdefs.h. */
19986 _ACEOF
19987 cat confdefs.h >>conftest.$ac_ext
19988 cat >>conftest.$ac_ext <<_ACEOF
19989 /* end confdefs.h. */
19990 #include <stdlib.h>
19991
19992 _ACEOF
19993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19994 $EGREP "free" >/dev/null 2>&1; then
19995 :
19996 else
19997 ac_cv_header_stdc=no
19998 fi
19999 rm -f conftest*
20000
20001 fi
20002
20003 if test $ac_cv_header_stdc = yes; then
20004 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20005 if test "$cross_compiling" = yes; then
20006 :
20007 else
20008 cat >conftest.$ac_ext <<_ACEOF
20009 /* confdefs.h. */
20010 _ACEOF
20011 cat confdefs.h >>conftest.$ac_ext
20012 cat >>conftest.$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014 #include <ctype.h>
20015 #include <stdlib.h>
20016 #if ((' ' & 0x0FF) == 0x020)
20017 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20018 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20019 #else
20020 # define ISLOWER(c) \
20021 (('a' <= (c) && (c) <= 'i') \
20022 || ('j' <= (c) && (c) <= 'r') \
20023 || ('s' <= (c) && (c) <= 'z'))
20024 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20025 #endif
20026
20027 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20028 int
20029 main ()
20030 {
20031 int i;
20032 for (i = 0; i < 256; i++)
20033 if (XOR (islower (i), ISLOWER (i))
20034 || toupper (i) != TOUPPER (i))
20035 return 2;
20036 return 0;
20037 }
20038 _ACEOF
20039 rm -f conftest$ac_exeext
20040 if { (ac_try="$ac_link"
20041 case "(($ac_try" in
20042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20043 *) ac_try_echo=$ac_try;;
20044 esac
20045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20046 (eval "$ac_link") 2>&5
20047 ac_status=$?
20048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20050 { (case "(($ac_try" in
20051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20053 esac
20054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20055 (eval "$ac_try") 2>&5
20056 ac_status=$?
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; }; then
20059 :
20060 else
20061 echo "$as_me: program exited with status $ac_status" >&5
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20064
20065 ( exit $ac_status )
20066 ac_cv_header_stdc=no
20067 fi
20068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20069 fi
20070
20071
20072 fi
20073 fi
20074 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20075 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20076 if test $ac_cv_header_stdc = yes; then
20077
20078 cat >>confdefs.h <<\_ACEOF
20079 #define STDC_HEADERS 1
20080 _ACEOF
20081
20082 fi
20083
20084 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20095 inttypes.h stdint.h unistd.h
20096 do
20097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20098 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20100 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20101 echo $ECHO_N "(cached) $ECHO_C" >&6
20102 else
20103 cat >conftest.$ac_ext <<_ACEOF
20104 /* confdefs.h. */
20105 _ACEOF
20106 cat confdefs.h >>conftest.$ac_ext
20107 cat >>conftest.$ac_ext <<_ACEOF
20108 /* end confdefs.h. */
20109 $ac_includes_default
20110
20111 #include <$ac_header>
20112 _ACEOF
20113 rm -f conftest.$ac_objext
20114 if { (ac_try="$ac_compile"
20115 case "(($ac_try" in
20116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20117 *) ac_try_echo=$ac_try;;
20118 esac
20119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20120 (eval "$ac_compile") 2>conftest.er1
20121 ac_status=$?
20122 grep -v '^ *+' conftest.er1 >conftest.err
20123 rm -f conftest.er1
20124 cat conftest.err >&5
20125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20126 (exit $ac_status); } && {
20127 test -z "$ac_c_werror_flag" ||
20128 test ! -s conftest.err
20129 } && test -s conftest.$ac_objext; then
20130 eval "$as_ac_Header=yes"
20131 else
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.$ac_ext >&5
20134
20135 eval "$as_ac_Header=no"
20136 fi
20137
20138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20139 fi
20140 ac_res=`eval echo '${'$as_ac_Header'}'`
20141 { echo "$as_me:$LINENO: result: $ac_res" >&5
20142 echo "${ECHO_T}$ac_res" >&6; }
20143 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20144 cat >>confdefs.h <<_ACEOF
20145 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20146 _ACEOF
20147
20148 fi
20149
20150 done
20151
20152
20153
20154
20155 for ac_header in langinfo.h wchar.h
20156 do
20157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20158 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20160 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20161 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 else
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h. */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 $ac_includes_default
20170
20171 #include <$ac_header>
20172 _ACEOF
20173 rm -f conftest.$ac_objext
20174 if { (ac_try="$ac_compile"
20175 case "(($ac_try" in
20176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20178 esac
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_compile") 2>conftest.er1
20181 ac_status=$?
20182 grep -v '^ *+' conftest.er1 >conftest.err
20183 rm -f conftest.er1
20184 cat conftest.err >&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } && {
20187 test -z "$ac_c_werror_flag" ||
20188 test ! -s conftest.err
20189 } && test -s conftest.$ac_objext; then
20190 eval "$as_ac_Header=yes"
20191 else
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20194
20195 eval "$as_ac_Header=no"
20196 fi
20197
20198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20199 fi
20200 ac_res=`eval echo '${'$as_ac_Header'}'`
20201 { echo "$as_me:$LINENO: result: $ac_res" >&5
20202 echo "${ECHO_T}$ac_res" >&6; }
20203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20204 cat >>confdefs.h <<_ACEOF
20205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20206 _ACEOF
20207
20208 fi
20209
20210 done
20211
20212
20213 if test "$ac_cv_header_wchar_h" != "yes"; then
20214
20215 for ac_header in wcstr.h
20216 do
20217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20218 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20221 echo $ECHO_N "(cached) $ECHO_C" >&6
20222 else
20223 cat >conftest.$ac_ext <<_ACEOF
20224 /* confdefs.h. */
20225 _ACEOF
20226 cat confdefs.h >>conftest.$ac_ext
20227 cat >>conftest.$ac_ext <<_ACEOF
20228 /* end confdefs.h. */
20229 $ac_includes_default
20230
20231 #include <$ac_header>
20232 _ACEOF
20233 rm -f conftest.$ac_objext
20234 if { (ac_try="$ac_compile"
20235 case "(($ac_try" in
20236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20237 *) ac_try_echo=$ac_try;;
20238 esac
20239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20240 (eval "$ac_compile") 2>conftest.er1
20241 ac_status=$?
20242 grep -v '^ *+' conftest.er1 >conftest.err
20243 rm -f conftest.er1
20244 cat conftest.err >&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); } && {
20247 test -z "$ac_c_werror_flag" ||
20248 test ! -s conftest.err
20249 } && test -s conftest.$ac_objext; then
20250 eval "$as_ac_Header=yes"
20251 else
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20254
20255 eval "$as_ac_Header=no"
20256 fi
20257
20258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20259 fi
20260 ac_res=`eval echo '${'$as_ac_Header'}'`
20261 { echo "$as_me:$LINENO: result: $ac_res" >&5
20262 echo "${ECHO_T}$ac_res" >&6; }
20263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20264 cat >>confdefs.h <<_ACEOF
20265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20266 _ACEOF
20267
20268 fi
20269
20270 done
20271
20272 fi
20273
20274 case "${host}" in
20275 *-pc-os2_emx | *-pc-os2-emx )
20276 if test $ac_cv_header_langinfo_h = "yes" \
20277 -a \( "$wx_cv_gccversion" = "EMX2" \
20278 -o "$wx_cv_gccversion" = "EMX3" \
20279 -o "$wx_cv_gccversion" = "Innotek5" \); then
20280 LIBS="$LIBS -lintl"
20281 fi
20282 ;;
20283 esac
20284
20285 if test "$USE_UNIX" = 1 ; then
20286
20287 for ac_header in sys/select.h
20288 do
20289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20290 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20293 echo $ECHO_N "(cached) $ECHO_C" >&6
20294 else
20295 cat >conftest.$ac_ext <<_ACEOF
20296 /* confdefs.h. */
20297 _ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 $ac_includes_default
20302
20303 #include <$ac_header>
20304 _ACEOF
20305 rm -f conftest.$ac_objext
20306 if { (ac_try="$ac_compile"
20307 case "(($ac_try" in
20308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20309 *) ac_try_echo=$ac_try;;
20310 esac
20311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20312 (eval "$ac_compile") 2>conftest.er1
20313 ac_status=$?
20314 grep -v '^ *+' conftest.er1 >conftest.err
20315 rm -f conftest.er1
20316 cat conftest.err >&5
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); } && {
20319 test -z "$ac_c_werror_flag" ||
20320 test ! -s conftest.err
20321 } && test -s conftest.$ac_objext; then
20322 eval "$as_ac_Header=yes"
20323 else
20324 echo "$as_me: failed program was:" >&5
20325 sed 's/^/| /' conftest.$ac_ext >&5
20326
20327 eval "$as_ac_Header=no"
20328 fi
20329
20330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20331 fi
20332 ac_res=`eval echo '${'$as_ac_Header'}'`
20333 { echo "$as_me:$LINENO: result: $ac_res" >&5
20334 echo "${ECHO_T}$ac_res" >&6; }
20335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20336 cat >>confdefs.h <<_ACEOF
20337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20338 _ACEOF
20339
20340 fi
20341
20342 done
20343
20344 fi
20345
20346
20347 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20348 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20349 if test "${ac_cv_c_const+set}" = set; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20351 else
20352 cat >conftest.$ac_ext <<_ACEOF
20353 /* confdefs.h. */
20354 _ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358
20359 int
20360 main ()
20361 {
20362 /* FIXME: Include the comments suggested by Paul. */
20363 #ifndef __cplusplus
20364 /* Ultrix mips cc rejects this. */
20365 typedef int charset[2];
20366 const charset cs;
20367 /* SunOS 4.1.1 cc rejects this. */
20368 char const *const *pcpcc;
20369 char **ppc;
20370 /* NEC SVR4.0.2 mips cc rejects this. */
20371 struct point {int x, y;};
20372 static struct point const zero = {0,0};
20373 /* AIX XL C 1.02.0.0 rejects this.
20374 It does not let you subtract one const X* pointer from another in
20375 an arm of an if-expression whose if-part is not a constant
20376 expression */
20377 const char *g = "string";
20378 pcpcc = &g + (g ? g-g : 0);
20379 /* HPUX 7.0 cc rejects these. */
20380 ++pcpcc;
20381 ppc = (char**) pcpcc;
20382 pcpcc = (char const *const *) ppc;
20383 { /* SCO 3.2v4 cc rejects this. */
20384 char *t;
20385 char const *s = 0 ? (char *) 0 : (char const *) 0;
20386
20387 *t++ = 0;
20388 if (s) return 0;
20389 }
20390 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20391 int x[] = {25, 17};
20392 const int *foo = &x[0];
20393 ++foo;
20394 }
20395 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20396 typedef const int *iptr;
20397 iptr p = 0;
20398 ++p;
20399 }
20400 { /* AIX XL C 1.02.0.0 rejects this saying
20401 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20402 struct s { int j; const int *ap[3]; };
20403 struct s *b; b->j = 5;
20404 }
20405 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20406 const int foo = 10;
20407 if (!foo) return 0;
20408 }
20409 return !cs[0] && !zero.x;
20410 #endif
20411
20412 ;
20413 return 0;
20414 }
20415 _ACEOF
20416 rm -f conftest.$ac_objext
20417 if { (ac_try="$ac_compile"
20418 case "(($ac_try" in
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20420 *) ac_try_echo=$ac_try;;
20421 esac
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20423 (eval "$ac_compile") 2>conftest.er1
20424 ac_status=$?
20425 grep -v '^ *+' conftest.er1 >conftest.err
20426 rm -f conftest.er1
20427 cat conftest.err >&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } && {
20430 test -z "$ac_c_werror_flag" ||
20431 test ! -s conftest.err
20432 } && test -s conftest.$ac_objext; then
20433 ac_cv_c_const=yes
20434 else
20435 echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.$ac_ext >&5
20437
20438 ac_cv_c_const=no
20439 fi
20440
20441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20442 fi
20443 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20444 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20445 if test $ac_cv_c_const = no; then
20446
20447 cat >>confdefs.h <<\_ACEOF
20448 #define const
20449 _ACEOF
20450
20451 fi
20452
20453 { echo "$as_me:$LINENO: checking for inline" >&5
20454 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20455 if test "${ac_cv_c_inline+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20457 else
20458 ac_cv_c_inline=no
20459 for ac_kw in inline __inline__ __inline; do
20460 cat >conftest.$ac_ext <<_ACEOF
20461 /* confdefs.h. */
20462 _ACEOF
20463 cat confdefs.h >>conftest.$ac_ext
20464 cat >>conftest.$ac_ext <<_ACEOF
20465 /* end confdefs.h. */
20466 #ifndef __cplusplus
20467 typedef int foo_t;
20468 static $ac_kw foo_t static_foo () {return 0; }
20469 $ac_kw foo_t foo () {return 0; }
20470 #endif
20471
20472 _ACEOF
20473 rm -f conftest.$ac_objext
20474 if { (ac_try="$ac_compile"
20475 case "(($ac_try" in
20476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20477 *) ac_try_echo=$ac_try;;
20478 esac
20479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20480 (eval "$ac_compile") 2>conftest.er1
20481 ac_status=$?
20482 grep -v '^ *+' conftest.er1 >conftest.err
20483 rm -f conftest.er1
20484 cat conftest.err >&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } && {
20487 test -z "$ac_c_werror_flag" ||
20488 test ! -s conftest.err
20489 } && test -s conftest.$ac_objext; then
20490 ac_cv_c_inline=$ac_kw
20491 else
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20494
20495
20496 fi
20497
20498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20499 test "$ac_cv_c_inline" != no && break
20500 done
20501
20502 fi
20503 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20504 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20505
20506
20507 case $ac_cv_c_inline in
20508 inline | yes) ;;
20509 *)
20510 case $ac_cv_c_inline in
20511 no) ac_val=;;
20512 *) ac_val=$ac_cv_c_inline;;
20513 esac
20514 cat >>confdefs.h <<_ACEOF
20515 #ifndef __cplusplus
20516 #define inline $ac_val
20517 #endif
20518 _ACEOF
20519 ;;
20520 esac
20521
20522
20523 { echo "$as_me:$LINENO: checking for short" >&5
20524 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20525 if test "${ac_cv_type_short+set}" = set; then
20526 echo $ECHO_N "(cached) $ECHO_C" >&6
20527 else
20528 cat >conftest.$ac_ext <<_ACEOF
20529 /* confdefs.h. */
20530 _ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 $ac_includes_default
20535 typedef short ac__type_new_;
20536 int
20537 main ()
20538 {
20539 if ((ac__type_new_ *) 0)
20540 return 0;
20541 if (sizeof (ac__type_new_))
20542 return 0;
20543 ;
20544 return 0;
20545 }
20546 _ACEOF
20547 rm -f conftest.$ac_objext
20548 if { (ac_try="$ac_compile"
20549 case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20552 esac
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_compile") 2>conftest.er1
20555 ac_status=$?
20556 grep -v '^ *+' conftest.er1 >conftest.err
20557 rm -f conftest.er1
20558 cat conftest.err >&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } && {
20561 test -z "$ac_c_werror_flag" ||
20562 test ! -s conftest.err
20563 } && test -s conftest.$ac_objext; then
20564 ac_cv_type_short=yes
20565 else
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20568
20569 ac_cv_type_short=no
20570 fi
20571
20572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20573 fi
20574 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20575 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20576
20577 # The cast to long int works around a bug in the HP C Compiler
20578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20580 # This bug is HP SR number 8606223364.
20581 { echo "$as_me:$LINENO: checking size of short" >&5
20582 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20583 if test "${ac_cv_sizeof_short+set}" = set; then
20584 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 else
20586 if test "$cross_compiling" = yes; then
20587 # Depending upon the size, compute the lo and hi bounds.
20588 cat >conftest.$ac_ext <<_ACEOF
20589 /* confdefs.h. */
20590 _ACEOF
20591 cat confdefs.h >>conftest.$ac_ext
20592 cat >>conftest.$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 $ac_includes_default
20595 typedef short ac__type_sizeof_;
20596 int
20597 main ()
20598 {
20599 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20600 test_array [0] = 0
20601
20602 ;
20603 return 0;
20604 }
20605 _ACEOF
20606 rm -f conftest.$ac_objext
20607 if { (ac_try="$ac_compile"
20608 case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20611 esac
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_compile") 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } && {
20620 test -z "$ac_c_werror_flag" ||
20621 test ! -s conftest.err
20622 } && test -s conftest.$ac_objext; then
20623 ac_lo=0 ac_mid=0
20624 while :; do
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20632 typedef short ac__type_sizeof_;
20633 int
20634 main ()
20635 {
20636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20637 test_array [0] = 0
20638
20639 ;
20640 return 0;
20641 }
20642 _ACEOF
20643 rm -f conftest.$ac_objext
20644 if { (ac_try="$ac_compile"
20645 case "(($ac_try" in
20646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20647 *) ac_try_echo=$ac_try;;
20648 esac
20649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20650 (eval "$ac_compile") 2>conftest.er1
20651 ac_status=$?
20652 grep -v '^ *+' conftest.er1 >conftest.err
20653 rm -f conftest.er1
20654 cat conftest.err >&5
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } && {
20657 test -z "$ac_c_werror_flag" ||
20658 test ! -s conftest.err
20659 } && test -s conftest.$ac_objext; then
20660 ac_hi=$ac_mid; break
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 ac_lo=`expr $ac_mid + 1`
20666 if test $ac_lo -le $ac_mid; then
20667 ac_lo= ac_hi=
20668 break
20669 fi
20670 ac_mid=`expr 2 '*' $ac_mid + 1`
20671 fi
20672
20673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20674 done
20675 else
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.$ac_ext >&5
20678
20679 cat >conftest.$ac_ext <<_ACEOF
20680 /* confdefs.h. */
20681 _ACEOF
20682 cat confdefs.h >>conftest.$ac_ext
20683 cat >>conftest.$ac_ext <<_ACEOF
20684 /* end confdefs.h. */
20685 $ac_includes_default
20686 typedef short ac__type_sizeof_;
20687 int
20688 main ()
20689 {
20690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20691 test_array [0] = 0
20692
20693 ;
20694 return 0;
20695 }
20696 _ACEOF
20697 rm -f conftest.$ac_objext
20698 if { (ac_try="$ac_compile"
20699 case "(($ac_try" in
20700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20701 *) ac_try_echo=$ac_try;;
20702 esac
20703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20704 (eval "$ac_compile") 2>conftest.er1
20705 ac_status=$?
20706 grep -v '^ *+' conftest.er1 >conftest.err
20707 rm -f conftest.er1
20708 cat conftest.err >&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } && {
20711 test -z "$ac_c_werror_flag" ||
20712 test ! -s conftest.err
20713 } && test -s conftest.$ac_objext; then
20714 ac_hi=-1 ac_mid=-1
20715 while :; do
20716 cat >conftest.$ac_ext <<_ACEOF
20717 /* confdefs.h. */
20718 _ACEOF
20719 cat confdefs.h >>conftest.$ac_ext
20720 cat >>conftest.$ac_ext <<_ACEOF
20721 /* end confdefs.h. */
20722 $ac_includes_default
20723 typedef short ac__type_sizeof_;
20724 int
20725 main ()
20726 {
20727 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20728 test_array [0] = 0
20729
20730 ;
20731 return 0;
20732 }
20733 _ACEOF
20734 rm -f conftest.$ac_objext
20735 if { (ac_try="$ac_compile"
20736 case "(($ac_try" in
20737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20738 *) ac_try_echo=$ac_try;;
20739 esac
20740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20741 (eval "$ac_compile") 2>conftest.er1
20742 ac_status=$?
20743 grep -v '^ *+' conftest.er1 >conftest.err
20744 rm -f conftest.er1
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } && {
20748 test -z "$ac_c_werror_flag" ||
20749 test ! -s conftest.err
20750 } && test -s conftest.$ac_objext; then
20751 ac_lo=$ac_mid; break
20752 else
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20755
20756 ac_hi=`expr '(' $ac_mid ')' - 1`
20757 if test $ac_mid -le $ac_hi; then
20758 ac_lo= ac_hi=
20759 break
20760 fi
20761 ac_mid=`expr 2 '*' $ac_mid`
20762 fi
20763
20764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20765 done
20766 else
20767 echo "$as_me: failed program was:" >&5
20768 sed 's/^/| /' conftest.$ac_ext >&5
20769
20770 ac_lo= ac_hi=
20771 fi
20772
20773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20774 fi
20775
20776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20777 # Binary search between lo and hi bounds.
20778 while test "x$ac_lo" != "x$ac_hi"; do
20779 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20780 cat >conftest.$ac_ext <<_ACEOF
20781 /* confdefs.h. */
20782 _ACEOF
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20786 $ac_includes_default
20787 typedef short ac__type_sizeof_;
20788 int
20789 main ()
20790 {
20791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20792 test_array [0] = 0
20793
20794 ;
20795 return 0;
20796 }
20797 _ACEOF
20798 rm -f conftest.$ac_objext
20799 if { (ac_try="$ac_compile"
20800 case "(($ac_try" in
20801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20802 *) ac_try_echo=$ac_try;;
20803 esac
20804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805 (eval "$ac_compile") 2>conftest.er1
20806 ac_status=$?
20807 grep -v '^ *+' conftest.er1 >conftest.err
20808 rm -f conftest.er1
20809 cat conftest.err >&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); } && {
20812 test -z "$ac_c_werror_flag" ||
20813 test ! -s conftest.err
20814 } && test -s conftest.$ac_objext; then
20815 ac_hi=$ac_mid
20816 else
20817 echo "$as_me: failed program was:" >&5
20818 sed 's/^/| /' conftest.$ac_ext >&5
20819
20820 ac_lo=`expr '(' $ac_mid ')' + 1`
20821 fi
20822
20823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20824 done
20825 case $ac_lo in
20826 ?*) ac_cv_sizeof_short=$ac_lo;;
20827 '') if test "$ac_cv_type_short" = yes; then
20828 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20829 See \`config.log' for more details." >&5
20830 echo "$as_me: error: cannot compute sizeof (short)
20831 See \`config.log' for more details." >&2;}
20832 { (exit 77); exit 77; }; }
20833 else
20834 ac_cv_sizeof_short=0
20835 fi ;;
20836 esac
20837 else
20838 cat >conftest.$ac_ext <<_ACEOF
20839 /* confdefs.h. */
20840 _ACEOF
20841 cat confdefs.h >>conftest.$ac_ext
20842 cat >>conftest.$ac_ext <<_ACEOF
20843 /* end confdefs.h. */
20844 $ac_includes_default
20845 typedef short ac__type_sizeof_;
20846 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20847 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20848 #include <stdio.h>
20849 #include <stdlib.h>
20850 int
20851 main ()
20852 {
20853
20854 FILE *f = fopen ("conftest.val", "w");
20855 if (! f)
20856 return 1;
20857 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20858 {
20859 long int i = longval ();
20860 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20861 return 1;
20862 fprintf (f, "%ld\n", i);
20863 }
20864 else
20865 {
20866 unsigned long int i = ulongval ();
20867 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20868 return 1;
20869 fprintf (f, "%lu\n", i);
20870 }
20871 return ferror (f) || fclose (f) != 0;
20872
20873 ;
20874 return 0;
20875 }
20876 _ACEOF
20877 rm -f conftest$ac_exeext
20878 if { (ac_try="$ac_link"
20879 case "(($ac_try" in
20880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20882 esac
20883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_link") 2>&5
20885 ac_status=$?
20886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20888 { (case "(($ac_try" in
20889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20890 *) ac_try_echo=$ac_try;;
20891 esac
20892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20893 (eval "$ac_try") 2>&5
20894 ac_status=$?
20895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20896 (exit $ac_status); }; }; then
20897 ac_cv_sizeof_short=`cat conftest.val`
20898 else
20899 echo "$as_me: program exited with status $ac_status" >&5
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20902
20903 ( exit $ac_status )
20904 if test "$ac_cv_type_short" = yes; then
20905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20906 See \`config.log' for more details." >&5
20907 echo "$as_me: error: cannot compute sizeof (short)
20908 See \`config.log' for more details." >&2;}
20909 { (exit 77); exit 77; }; }
20910 else
20911 ac_cv_sizeof_short=0
20912 fi
20913 fi
20914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20915 fi
20916 rm -f conftest.val
20917 fi
20918 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20919 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20920
20921
20922
20923 cat >>confdefs.h <<_ACEOF
20924 #define SIZEOF_SHORT $ac_cv_sizeof_short
20925 _ACEOF
20926
20927
20928 { echo "$as_me:$LINENO: checking for void *" >&5
20929 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20930 if test "${ac_cv_type_void_p+set}" = set; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20932 else
20933 cat >conftest.$ac_ext <<_ACEOF
20934 /* confdefs.h. */
20935 _ACEOF
20936 cat confdefs.h >>conftest.$ac_ext
20937 cat >>conftest.$ac_ext <<_ACEOF
20938 /* end confdefs.h. */
20939 $ac_includes_default
20940 typedef void * ac__type_new_;
20941 int
20942 main ()
20943 {
20944 if ((ac__type_new_ *) 0)
20945 return 0;
20946 if (sizeof (ac__type_new_))
20947 return 0;
20948 ;
20949 return 0;
20950 }
20951 _ACEOF
20952 rm -f conftest.$ac_objext
20953 if { (ac_try="$ac_compile"
20954 case "(($ac_try" in
20955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20956 *) ac_try_echo=$ac_try;;
20957 esac
20958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20959 (eval "$ac_compile") 2>conftest.er1
20960 ac_status=$?
20961 grep -v '^ *+' conftest.er1 >conftest.err
20962 rm -f conftest.er1
20963 cat conftest.err >&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); } && {
20966 test -z "$ac_c_werror_flag" ||
20967 test ! -s conftest.err
20968 } && test -s conftest.$ac_objext; then
20969 ac_cv_type_void_p=yes
20970 else
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20973
20974 ac_cv_type_void_p=no
20975 fi
20976
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20978 fi
20979 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20980 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20981
20982 # The cast to long int works around a bug in the HP C Compiler
20983 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20984 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20985 # This bug is HP SR number 8606223364.
20986 { echo "$as_me:$LINENO: checking size of void *" >&5
20987 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20988 if test "${ac_cv_sizeof_void_p+set}" = set; then
20989 echo $ECHO_N "(cached) $ECHO_C" >&6
20990 else
20991 if test "$cross_compiling" = yes; then
20992 # Depending upon the size, compute the lo and hi bounds.
20993 cat >conftest.$ac_ext <<_ACEOF
20994 /* confdefs.h. */
20995 _ACEOF
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
20999 $ac_includes_default
21000 typedef void * ac__type_sizeof_;
21001 int
21002 main ()
21003 {
21004 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21005 test_array [0] = 0
21006
21007 ;
21008 return 0;
21009 }
21010 _ACEOF
21011 rm -f conftest.$ac_objext
21012 if { (ac_try="$ac_compile"
21013 case "(($ac_try" in
21014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21015 *) ac_try_echo=$ac_try;;
21016 esac
21017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21018 (eval "$ac_compile") 2>conftest.er1
21019 ac_status=$?
21020 grep -v '^ *+' conftest.er1 >conftest.err
21021 rm -f conftest.er1
21022 cat conftest.err >&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); } && {
21025 test -z "$ac_c_werror_flag" ||
21026 test ! -s conftest.err
21027 } && test -s conftest.$ac_objext; then
21028 ac_lo=0 ac_mid=0
21029 while :; do
21030 cat >conftest.$ac_ext <<_ACEOF
21031 /* confdefs.h. */
21032 _ACEOF
21033 cat confdefs.h >>conftest.$ac_ext
21034 cat >>conftest.$ac_ext <<_ACEOF
21035 /* end confdefs.h. */
21036 $ac_includes_default
21037 typedef void * ac__type_sizeof_;
21038 int
21039 main ()
21040 {
21041 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21042 test_array [0] = 0
21043
21044 ;
21045 return 0;
21046 }
21047 _ACEOF
21048 rm -f conftest.$ac_objext
21049 if { (ac_try="$ac_compile"
21050 case "(($ac_try" in
21051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21052 *) ac_try_echo=$ac_try;;
21053 esac
21054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21055 (eval "$ac_compile") 2>conftest.er1
21056 ac_status=$?
21057 grep -v '^ *+' conftest.er1 >conftest.err
21058 rm -f conftest.er1
21059 cat conftest.err >&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); } && {
21062 test -z "$ac_c_werror_flag" ||
21063 test ! -s conftest.err
21064 } && test -s conftest.$ac_objext; then
21065 ac_hi=$ac_mid; break
21066 else
21067 echo "$as_me: failed program was:" >&5
21068 sed 's/^/| /' conftest.$ac_ext >&5
21069
21070 ac_lo=`expr $ac_mid + 1`
21071 if test $ac_lo -le $ac_mid; then
21072 ac_lo= ac_hi=
21073 break
21074 fi
21075 ac_mid=`expr 2 '*' $ac_mid + 1`
21076 fi
21077
21078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21079 done
21080 else
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.$ac_ext >&5
21083
21084 cat >conftest.$ac_ext <<_ACEOF
21085 /* confdefs.h. */
21086 _ACEOF
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 $ac_includes_default
21091 typedef void * ac__type_sizeof_;
21092 int
21093 main ()
21094 {
21095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21096 test_array [0] = 0
21097
21098 ;
21099 return 0;
21100 }
21101 _ACEOF
21102 rm -f conftest.$ac_objext
21103 if { (ac_try="$ac_compile"
21104 case "(($ac_try" in
21105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21106 *) ac_try_echo=$ac_try;;
21107 esac
21108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21109 (eval "$ac_compile") 2>conftest.er1
21110 ac_status=$?
21111 grep -v '^ *+' conftest.er1 >conftest.err
21112 rm -f conftest.er1
21113 cat conftest.err >&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); } && {
21116 test -z "$ac_c_werror_flag" ||
21117 test ! -s conftest.err
21118 } && test -s conftest.$ac_objext; then
21119 ac_hi=-1 ac_mid=-1
21120 while :; do
21121 cat >conftest.$ac_ext <<_ACEOF
21122 /* confdefs.h. */
21123 _ACEOF
21124 cat confdefs.h >>conftest.$ac_ext
21125 cat >>conftest.$ac_ext <<_ACEOF
21126 /* end confdefs.h. */
21127 $ac_includes_default
21128 typedef void * ac__type_sizeof_;
21129 int
21130 main ()
21131 {
21132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21133 test_array [0] = 0
21134
21135 ;
21136 return 0;
21137 }
21138 _ACEOF
21139 rm -f conftest.$ac_objext
21140 if { (ac_try="$ac_compile"
21141 case "(($ac_try" in
21142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21143 *) ac_try_echo=$ac_try;;
21144 esac
21145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21146 (eval "$ac_compile") 2>conftest.er1
21147 ac_status=$?
21148 grep -v '^ *+' conftest.er1 >conftest.err
21149 rm -f conftest.er1
21150 cat conftest.err >&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); } && {
21153 test -z "$ac_c_werror_flag" ||
21154 test ! -s conftest.err
21155 } && test -s conftest.$ac_objext; then
21156 ac_lo=$ac_mid; break
21157 else
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 ac_hi=`expr '(' $ac_mid ')' - 1`
21162 if test $ac_mid -le $ac_hi; then
21163 ac_lo= ac_hi=
21164 break
21165 fi
21166 ac_mid=`expr 2 '*' $ac_mid`
21167 fi
21168
21169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21170 done
21171 else
21172 echo "$as_me: failed program was:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21174
21175 ac_lo= ac_hi=
21176 fi
21177
21178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21179 fi
21180
21181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21182 # Binary search between lo and hi bounds.
21183 while test "x$ac_lo" != "x$ac_hi"; do
21184 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21185 cat >conftest.$ac_ext <<_ACEOF
21186 /* confdefs.h. */
21187 _ACEOF
21188 cat confdefs.h >>conftest.$ac_ext
21189 cat >>conftest.$ac_ext <<_ACEOF
21190 /* end confdefs.h. */
21191 $ac_includes_default
21192 typedef void * ac__type_sizeof_;
21193 int
21194 main ()
21195 {
21196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21197 test_array [0] = 0
21198
21199 ;
21200 return 0;
21201 }
21202 _ACEOF
21203 rm -f conftest.$ac_objext
21204 if { (ac_try="$ac_compile"
21205 case "(($ac_try" in
21206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21207 *) ac_try_echo=$ac_try;;
21208 esac
21209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21210 (eval "$ac_compile") 2>conftest.er1
21211 ac_status=$?
21212 grep -v '^ *+' conftest.er1 >conftest.err
21213 rm -f conftest.er1
21214 cat conftest.err >&5
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); } && {
21217 test -z "$ac_c_werror_flag" ||
21218 test ! -s conftest.err
21219 } && test -s conftest.$ac_objext; then
21220 ac_hi=$ac_mid
21221 else
21222 echo "$as_me: failed program was:" >&5
21223 sed 's/^/| /' conftest.$ac_ext >&5
21224
21225 ac_lo=`expr '(' $ac_mid ')' + 1`
21226 fi
21227
21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 done
21230 case $ac_lo in
21231 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21232 '') if test "$ac_cv_type_void_p" = yes; then
21233 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21234 See \`config.log' for more details." >&5
21235 echo "$as_me: error: cannot compute sizeof (void *)
21236 See \`config.log' for more details." >&2;}
21237 { (exit 77); exit 77; }; }
21238 else
21239 ac_cv_sizeof_void_p=0
21240 fi ;;
21241 esac
21242 else
21243 cat >conftest.$ac_ext <<_ACEOF
21244 /* confdefs.h. */
21245 _ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249 $ac_includes_default
21250 typedef void * ac__type_sizeof_;
21251 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21252 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21253 #include <stdio.h>
21254 #include <stdlib.h>
21255 int
21256 main ()
21257 {
21258
21259 FILE *f = fopen ("conftest.val", "w");
21260 if (! f)
21261 return 1;
21262 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21263 {
21264 long int i = longval ();
21265 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21266 return 1;
21267 fprintf (f, "%ld\n", i);
21268 }
21269 else
21270 {
21271 unsigned long int i = ulongval ();
21272 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21273 return 1;
21274 fprintf (f, "%lu\n", i);
21275 }
21276 return ferror (f) || fclose (f) != 0;
21277
21278 ;
21279 return 0;
21280 }
21281 _ACEOF
21282 rm -f conftest$ac_exeext
21283 if { (ac_try="$ac_link"
21284 case "(($ac_try" in
21285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21287 esac
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_link") 2>&5
21290 ac_status=$?
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21293 { (case "(($ac_try" in
21294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21295 *) ac_try_echo=$ac_try;;
21296 esac
21297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21298 (eval "$ac_try") 2>&5
21299 ac_status=$?
21300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21301 (exit $ac_status); }; }; then
21302 ac_cv_sizeof_void_p=`cat conftest.val`
21303 else
21304 echo "$as_me: program exited with status $ac_status" >&5
21305 echo "$as_me: failed program was:" >&5
21306 sed 's/^/| /' conftest.$ac_ext >&5
21307
21308 ( exit $ac_status )
21309 if test "$ac_cv_type_void_p" = yes; then
21310 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21311 See \`config.log' for more details." >&5
21312 echo "$as_me: error: cannot compute sizeof (void *)
21313 See \`config.log' for more details." >&2;}
21314 { (exit 77); exit 77; }; }
21315 else
21316 ac_cv_sizeof_void_p=0
21317 fi
21318 fi
21319 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21320 fi
21321 rm -f conftest.val
21322 fi
21323 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21324 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21325
21326
21327
21328 cat >>confdefs.h <<_ACEOF
21329 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21330 _ACEOF
21331
21332
21333 { echo "$as_me:$LINENO: checking for int" >&5
21334 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21335 if test "${ac_cv_type_int+set}" = set; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21337 else
21338 cat >conftest.$ac_ext <<_ACEOF
21339 /* confdefs.h. */
21340 _ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 $ac_includes_default
21345 typedef int ac__type_new_;
21346 int
21347 main ()
21348 {
21349 if ((ac__type_new_ *) 0)
21350 return 0;
21351 if (sizeof (ac__type_new_))
21352 return 0;
21353 ;
21354 return 0;
21355 }
21356 _ACEOF
21357 rm -f conftest.$ac_objext
21358 if { (ac_try="$ac_compile"
21359 case "(($ac_try" in
21360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21361 *) ac_try_echo=$ac_try;;
21362 esac
21363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21364 (eval "$ac_compile") 2>conftest.er1
21365 ac_status=$?
21366 grep -v '^ *+' conftest.er1 >conftest.err
21367 rm -f conftest.er1
21368 cat conftest.err >&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); } && {
21371 test -z "$ac_c_werror_flag" ||
21372 test ! -s conftest.err
21373 } && test -s conftest.$ac_objext; then
21374 ac_cv_type_int=yes
21375 else
21376 echo "$as_me: failed program was:" >&5
21377 sed 's/^/| /' conftest.$ac_ext >&5
21378
21379 ac_cv_type_int=no
21380 fi
21381
21382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21383 fi
21384 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21385 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21386
21387 # The cast to long int works around a bug in the HP C Compiler
21388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21390 # This bug is HP SR number 8606223364.
21391 { echo "$as_me:$LINENO: checking size of int" >&5
21392 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21393 if test "${ac_cv_sizeof_int+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21395 else
21396 if test "$cross_compiling" = yes; then
21397 # Depending upon the size, compute the lo and hi bounds.
21398 cat >conftest.$ac_ext <<_ACEOF
21399 /* confdefs.h. */
21400 _ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 $ac_includes_default
21405 typedef int ac__type_sizeof_;
21406 int
21407 main ()
21408 {
21409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21410 test_array [0] = 0
21411
21412 ;
21413 return 0;
21414 }
21415 _ACEOF
21416 rm -f conftest.$ac_objext
21417 if { (ac_try="$ac_compile"
21418 case "(($ac_try" in
21419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21420 *) ac_try_echo=$ac_try;;
21421 esac
21422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21423 (eval "$ac_compile") 2>conftest.er1
21424 ac_status=$?
21425 grep -v '^ *+' conftest.er1 >conftest.err
21426 rm -f conftest.er1
21427 cat conftest.err >&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && {
21430 test -z "$ac_c_werror_flag" ||
21431 test ! -s conftest.err
21432 } && test -s conftest.$ac_objext; then
21433 ac_lo=0 ac_mid=0
21434 while :; do
21435 cat >conftest.$ac_ext <<_ACEOF
21436 /* confdefs.h. */
21437 _ACEOF
21438 cat confdefs.h >>conftest.$ac_ext
21439 cat >>conftest.$ac_ext <<_ACEOF
21440 /* end confdefs.h. */
21441 $ac_includes_default
21442 typedef int ac__type_sizeof_;
21443 int
21444 main ()
21445 {
21446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21447 test_array [0] = 0
21448
21449 ;
21450 return 0;
21451 }
21452 _ACEOF
21453 rm -f conftest.$ac_objext
21454 if { (ac_try="$ac_compile"
21455 case "(($ac_try" in
21456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21457 *) ac_try_echo=$ac_try;;
21458 esac
21459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21460 (eval "$ac_compile") 2>conftest.er1
21461 ac_status=$?
21462 grep -v '^ *+' conftest.er1 >conftest.err
21463 rm -f conftest.er1
21464 cat conftest.err >&5
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); } && {
21467 test -z "$ac_c_werror_flag" ||
21468 test ! -s conftest.err
21469 } && test -s conftest.$ac_objext; then
21470 ac_hi=$ac_mid; break
21471 else
21472 echo "$as_me: failed program was:" >&5
21473 sed 's/^/| /' conftest.$ac_ext >&5
21474
21475 ac_lo=`expr $ac_mid + 1`
21476 if test $ac_lo -le $ac_mid; then
21477 ac_lo= ac_hi=
21478 break
21479 fi
21480 ac_mid=`expr 2 '*' $ac_mid + 1`
21481 fi
21482
21483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21484 done
21485 else
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21488
21489 cat >conftest.$ac_ext <<_ACEOF
21490 /* confdefs.h. */
21491 _ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 typedef int ac__type_sizeof_;
21497 int
21498 main ()
21499 {
21500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21501 test_array [0] = 0
21502
21503 ;
21504 return 0;
21505 }
21506 _ACEOF
21507 rm -f conftest.$ac_objext
21508 if { (ac_try="$ac_compile"
21509 case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21512 esac
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_compile") 2>conftest.er1
21515 ac_status=$?
21516 grep -v '^ *+' conftest.er1 >conftest.err
21517 rm -f conftest.er1
21518 cat conftest.err >&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } && {
21521 test -z "$ac_c_werror_flag" ||
21522 test ! -s conftest.err
21523 } && test -s conftest.$ac_objext; then
21524 ac_hi=-1 ac_mid=-1
21525 while :; do
21526 cat >conftest.$ac_ext <<_ACEOF
21527 /* confdefs.h. */
21528 _ACEOF
21529 cat confdefs.h >>conftest.$ac_ext
21530 cat >>conftest.$ac_ext <<_ACEOF
21531 /* end confdefs.h. */
21532 $ac_includes_default
21533 typedef int ac__type_sizeof_;
21534 int
21535 main ()
21536 {
21537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21538 test_array [0] = 0
21539
21540 ;
21541 return 0;
21542 }
21543 _ACEOF
21544 rm -f conftest.$ac_objext
21545 if { (ac_try="$ac_compile"
21546 case "(($ac_try" in
21547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548 *) ac_try_echo=$ac_try;;
21549 esac
21550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21551 (eval "$ac_compile") 2>conftest.er1
21552 ac_status=$?
21553 grep -v '^ *+' conftest.er1 >conftest.err
21554 rm -f conftest.er1
21555 cat conftest.err >&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); } && {
21558 test -z "$ac_c_werror_flag" ||
21559 test ! -s conftest.err
21560 } && test -s conftest.$ac_objext; then
21561 ac_lo=$ac_mid; break
21562 else
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.$ac_ext >&5
21565
21566 ac_hi=`expr '(' $ac_mid ')' - 1`
21567 if test $ac_mid -le $ac_hi; then
21568 ac_lo= ac_hi=
21569 break
21570 fi
21571 ac_mid=`expr 2 '*' $ac_mid`
21572 fi
21573
21574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21575 done
21576 else
21577 echo "$as_me: failed program was:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21579
21580 ac_lo= ac_hi=
21581 fi
21582
21583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21584 fi
21585
21586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21587 # Binary search between lo and hi bounds.
21588 while test "x$ac_lo" != "x$ac_hi"; do
21589 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21590 cat >conftest.$ac_ext <<_ACEOF
21591 /* confdefs.h. */
21592 _ACEOF
21593 cat confdefs.h >>conftest.$ac_ext
21594 cat >>conftest.$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596 $ac_includes_default
21597 typedef int ac__type_sizeof_;
21598 int
21599 main ()
21600 {
21601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21602 test_array [0] = 0
21603
21604 ;
21605 return 0;
21606 }
21607 _ACEOF
21608 rm -f conftest.$ac_objext
21609 if { (ac_try="$ac_compile"
21610 case "(($ac_try" in
21611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21612 *) ac_try_echo=$ac_try;;
21613 esac
21614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21615 (eval "$ac_compile") 2>conftest.er1
21616 ac_status=$?
21617 grep -v '^ *+' conftest.er1 >conftest.err
21618 rm -f conftest.er1
21619 cat conftest.err >&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); } && {
21622 test -z "$ac_c_werror_flag" ||
21623 test ! -s conftest.err
21624 } && test -s conftest.$ac_objext; then
21625 ac_hi=$ac_mid
21626 else
21627 echo "$as_me: failed program was:" >&5
21628 sed 's/^/| /' conftest.$ac_ext >&5
21629
21630 ac_lo=`expr '(' $ac_mid ')' + 1`
21631 fi
21632
21633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21634 done
21635 case $ac_lo in
21636 ?*) ac_cv_sizeof_int=$ac_lo;;
21637 '') if test "$ac_cv_type_int" = yes; then
21638 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21639 See \`config.log' for more details." >&5
21640 echo "$as_me: error: cannot compute sizeof (int)
21641 See \`config.log' for more details." >&2;}
21642 { (exit 77); exit 77; }; }
21643 else
21644 ac_cv_sizeof_int=0
21645 fi ;;
21646 esac
21647 else
21648 cat >conftest.$ac_ext <<_ACEOF
21649 /* confdefs.h. */
21650 _ACEOF
21651 cat confdefs.h >>conftest.$ac_ext
21652 cat >>conftest.$ac_ext <<_ACEOF
21653 /* end confdefs.h. */
21654 $ac_includes_default
21655 typedef int ac__type_sizeof_;
21656 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21657 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21658 #include <stdio.h>
21659 #include <stdlib.h>
21660 int
21661 main ()
21662 {
21663
21664 FILE *f = fopen ("conftest.val", "w");
21665 if (! f)
21666 return 1;
21667 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21668 {
21669 long int i = longval ();
21670 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21671 return 1;
21672 fprintf (f, "%ld\n", i);
21673 }
21674 else
21675 {
21676 unsigned long int i = ulongval ();
21677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21678 return 1;
21679 fprintf (f, "%lu\n", i);
21680 }
21681 return ferror (f) || fclose (f) != 0;
21682
21683 ;
21684 return 0;
21685 }
21686 _ACEOF
21687 rm -f conftest$ac_exeext
21688 if { (ac_try="$ac_link"
21689 case "(($ac_try" in
21690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21691 *) ac_try_echo=$ac_try;;
21692 esac
21693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21694 (eval "$ac_link") 2>&5
21695 ac_status=$?
21696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21698 { (case "(($ac_try" in
21699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21700 *) ac_try_echo=$ac_try;;
21701 esac
21702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21703 (eval "$ac_try") 2>&5
21704 ac_status=$?
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; }; then
21707 ac_cv_sizeof_int=`cat conftest.val`
21708 else
21709 echo "$as_me: program exited with status $ac_status" >&5
21710 echo "$as_me: failed program was:" >&5
21711 sed 's/^/| /' conftest.$ac_ext >&5
21712
21713 ( exit $ac_status )
21714 if test "$ac_cv_type_int" = yes; then
21715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21716 See \`config.log' for more details." >&5
21717 echo "$as_me: error: cannot compute sizeof (int)
21718 See \`config.log' for more details." >&2;}
21719 { (exit 77); exit 77; }; }
21720 else
21721 ac_cv_sizeof_int=0
21722 fi
21723 fi
21724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21725 fi
21726 rm -f conftest.val
21727 fi
21728 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21729 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21730
21731
21732
21733 cat >>confdefs.h <<_ACEOF
21734 #define SIZEOF_INT $ac_cv_sizeof_int
21735 _ACEOF
21736
21737
21738 { echo "$as_me:$LINENO: checking for long" >&5
21739 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21740 if test "${ac_cv_type_long+set}" = set; then
21741 echo $ECHO_N "(cached) $ECHO_C" >&6
21742 else
21743 cat >conftest.$ac_ext <<_ACEOF
21744 /* confdefs.h. */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 $ac_includes_default
21750 typedef long ac__type_new_;
21751 int
21752 main ()
21753 {
21754 if ((ac__type_new_ *) 0)
21755 return 0;
21756 if (sizeof (ac__type_new_))
21757 return 0;
21758 ;
21759 return 0;
21760 }
21761 _ACEOF
21762 rm -f conftest.$ac_objext
21763 if { (ac_try="$ac_compile"
21764 case "(($ac_try" in
21765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21766 *) ac_try_echo=$ac_try;;
21767 esac
21768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21769 (eval "$ac_compile") 2>conftest.er1
21770 ac_status=$?
21771 grep -v '^ *+' conftest.er1 >conftest.err
21772 rm -f conftest.er1
21773 cat conftest.err >&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); } && {
21776 test -z "$ac_c_werror_flag" ||
21777 test ! -s conftest.err
21778 } && test -s conftest.$ac_objext; then
21779 ac_cv_type_long=yes
21780 else
21781 echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.$ac_ext >&5
21783
21784 ac_cv_type_long=no
21785 fi
21786
21787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21788 fi
21789 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21790 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21791
21792 # The cast to long int works around a bug in the HP C Compiler
21793 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21794 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21795 # This bug is HP SR number 8606223364.
21796 { echo "$as_me:$LINENO: checking size of long" >&5
21797 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21798 if test "${ac_cv_sizeof_long+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21800 else
21801 if test "$cross_compiling" = yes; then
21802 # Depending upon the size, compute the lo and hi bounds.
21803 cat >conftest.$ac_ext <<_ACEOF
21804 /* confdefs.h. */
21805 _ACEOF
21806 cat confdefs.h >>conftest.$ac_ext
21807 cat >>conftest.$ac_ext <<_ACEOF
21808 /* end confdefs.h. */
21809 $ac_includes_default
21810 typedef long ac__type_sizeof_;
21811 int
21812 main ()
21813 {
21814 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21815 test_array [0] = 0
21816
21817 ;
21818 return 0;
21819 }
21820 _ACEOF
21821 rm -f conftest.$ac_objext
21822 if { (ac_try="$ac_compile"
21823 case "(($ac_try" in
21824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21825 *) ac_try_echo=$ac_try;;
21826 esac
21827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21828 (eval "$ac_compile") 2>conftest.er1
21829 ac_status=$?
21830 grep -v '^ *+' conftest.er1 >conftest.err
21831 rm -f conftest.er1
21832 cat conftest.err >&5
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); } && {
21835 test -z "$ac_c_werror_flag" ||
21836 test ! -s conftest.err
21837 } && test -s conftest.$ac_objext; then
21838 ac_lo=0 ac_mid=0
21839 while :; do
21840 cat >conftest.$ac_ext <<_ACEOF
21841 /* confdefs.h. */
21842 _ACEOF
21843 cat confdefs.h >>conftest.$ac_ext
21844 cat >>conftest.$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21846 $ac_includes_default
21847 typedef long ac__type_sizeof_;
21848 int
21849 main ()
21850 {
21851 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21852 test_array [0] = 0
21853
21854 ;
21855 return 0;
21856 }
21857 _ACEOF
21858 rm -f conftest.$ac_objext
21859 if { (ac_try="$ac_compile"
21860 case "(($ac_try" in
21861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21862 *) ac_try_echo=$ac_try;;
21863 esac
21864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21865 (eval "$ac_compile") 2>conftest.er1
21866 ac_status=$?
21867 grep -v '^ *+' conftest.er1 >conftest.err
21868 rm -f conftest.er1
21869 cat conftest.err >&5
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); } && {
21872 test -z "$ac_c_werror_flag" ||
21873 test ! -s conftest.err
21874 } && test -s conftest.$ac_objext; then
21875 ac_hi=$ac_mid; break
21876 else
21877 echo "$as_me: failed program was:" >&5
21878 sed 's/^/| /' conftest.$ac_ext >&5
21879
21880 ac_lo=`expr $ac_mid + 1`
21881 if test $ac_lo -le $ac_mid; then
21882 ac_lo= ac_hi=
21883 break
21884 fi
21885 ac_mid=`expr 2 '*' $ac_mid + 1`
21886 fi
21887
21888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21889 done
21890 else
21891 echo "$as_me: failed program was:" >&5
21892 sed 's/^/| /' conftest.$ac_ext >&5
21893
21894 cat >conftest.$ac_ext <<_ACEOF
21895 /* confdefs.h. */
21896 _ACEOF
21897 cat confdefs.h >>conftest.$ac_ext
21898 cat >>conftest.$ac_ext <<_ACEOF
21899 /* end confdefs.h. */
21900 $ac_includes_default
21901 typedef long ac__type_sizeof_;
21902 int
21903 main ()
21904 {
21905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21906 test_array [0] = 0
21907
21908 ;
21909 return 0;
21910 }
21911 _ACEOF
21912 rm -f conftest.$ac_objext
21913 if { (ac_try="$ac_compile"
21914 case "(($ac_try" in
21915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21916 *) ac_try_echo=$ac_try;;
21917 esac
21918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21919 (eval "$ac_compile") 2>conftest.er1
21920 ac_status=$?
21921 grep -v '^ *+' conftest.er1 >conftest.err
21922 rm -f conftest.er1
21923 cat conftest.err >&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } && {
21926 test -z "$ac_c_werror_flag" ||
21927 test ! -s conftest.err
21928 } && test -s conftest.$ac_objext; then
21929 ac_hi=-1 ac_mid=-1
21930 while :; do
21931 cat >conftest.$ac_ext <<_ACEOF
21932 /* confdefs.h. */
21933 _ACEOF
21934 cat confdefs.h >>conftest.$ac_ext
21935 cat >>conftest.$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 $ac_includes_default
21938 typedef long ac__type_sizeof_;
21939 int
21940 main ()
21941 {
21942 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21943 test_array [0] = 0
21944
21945 ;
21946 return 0;
21947 }
21948 _ACEOF
21949 rm -f conftest.$ac_objext
21950 if { (ac_try="$ac_compile"
21951 case "(($ac_try" in
21952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21953 *) ac_try_echo=$ac_try;;
21954 esac
21955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21956 (eval "$ac_compile") 2>conftest.er1
21957 ac_status=$?
21958 grep -v '^ *+' conftest.er1 >conftest.err
21959 rm -f conftest.er1
21960 cat conftest.err >&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); } && {
21963 test -z "$ac_c_werror_flag" ||
21964 test ! -s conftest.err
21965 } && test -s conftest.$ac_objext; then
21966 ac_lo=$ac_mid; break
21967 else
21968 echo "$as_me: failed program was:" >&5
21969 sed 's/^/| /' conftest.$ac_ext >&5
21970
21971 ac_hi=`expr '(' $ac_mid ')' - 1`
21972 if test $ac_mid -le $ac_hi; then
21973 ac_lo= ac_hi=
21974 break
21975 fi
21976 ac_mid=`expr 2 '*' $ac_mid`
21977 fi
21978
21979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21980 done
21981 else
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21984
21985 ac_lo= ac_hi=
21986 fi
21987
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21989 fi
21990
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992 # Binary search between lo and hi bounds.
21993 while test "x$ac_lo" != "x$ac_hi"; do
21994 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21995 cat >conftest.$ac_ext <<_ACEOF
21996 /* confdefs.h. */
21997 _ACEOF
21998 cat confdefs.h >>conftest.$ac_ext
21999 cat >>conftest.$ac_ext <<_ACEOF
22000 /* end confdefs.h. */
22001 $ac_includes_default
22002 typedef long ac__type_sizeof_;
22003 int
22004 main ()
22005 {
22006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22007 test_array [0] = 0
22008
22009 ;
22010 return 0;
22011 }
22012 _ACEOF
22013 rm -f conftest.$ac_objext
22014 if { (ac_try="$ac_compile"
22015 case "(($ac_try" in
22016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22017 *) ac_try_echo=$ac_try;;
22018 esac
22019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22020 (eval "$ac_compile") 2>conftest.er1
22021 ac_status=$?
22022 grep -v '^ *+' conftest.er1 >conftest.err
22023 rm -f conftest.er1
22024 cat conftest.err >&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); } && {
22027 test -z "$ac_c_werror_flag" ||
22028 test ! -s conftest.err
22029 } && test -s conftest.$ac_objext; then
22030 ac_hi=$ac_mid
22031 else
22032 echo "$as_me: failed program was:" >&5
22033 sed 's/^/| /' conftest.$ac_ext >&5
22034
22035 ac_lo=`expr '(' $ac_mid ')' + 1`
22036 fi
22037
22038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22039 done
22040 case $ac_lo in
22041 ?*) ac_cv_sizeof_long=$ac_lo;;
22042 '') if test "$ac_cv_type_long" = yes; then
22043 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22044 See \`config.log' for more details." >&5
22045 echo "$as_me: error: cannot compute sizeof (long)
22046 See \`config.log' for more details." >&2;}
22047 { (exit 77); exit 77; }; }
22048 else
22049 ac_cv_sizeof_long=0
22050 fi ;;
22051 esac
22052 else
22053 cat >conftest.$ac_ext <<_ACEOF
22054 /* confdefs.h. */
22055 _ACEOF
22056 cat confdefs.h >>conftest.$ac_ext
22057 cat >>conftest.$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22059 $ac_includes_default
22060 typedef long ac__type_sizeof_;
22061 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22062 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22063 #include <stdio.h>
22064 #include <stdlib.h>
22065 int
22066 main ()
22067 {
22068
22069 FILE *f = fopen ("conftest.val", "w");
22070 if (! f)
22071 return 1;
22072 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22073 {
22074 long int i = longval ();
22075 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22076 return 1;
22077 fprintf (f, "%ld\n", i);
22078 }
22079 else
22080 {
22081 unsigned long int i = ulongval ();
22082 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22083 return 1;
22084 fprintf (f, "%lu\n", i);
22085 }
22086 return ferror (f) || fclose (f) != 0;
22087
22088 ;
22089 return 0;
22090 }
22091 _ACEOF
22092 rm -f conftest$ac_exeext
22093 if { (ac_try="$ac_link"
22094 case "(($ac_try" in
22095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22096 *) ac_try_echo=$ac_try;;
22097 esac
22098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22099 (eval "$ac_link") 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22103 { (case "(($ac_try" in
22104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22105 *) ac_try_echo=$ac_try;;
22106 esac
22107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22108 (eval "$ac_try") 2>&5
22109 ac_status=$?
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); }; }; then
22112 ac_cv_sizeof_long=`cat conftest.val`
22113 else
22114 echo "$as_me: program exited with status $ac_status" >&5
22115 echo "$as_me: failed program was:" >&5
22116 sed 's/^/| /' conftest.$ac_ext >&5
22117
22118 ( exit $ac_status )
22119 if test "$ac_cv_type_long" = yes; then
22120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22121 See \`config.log' for more details." >&5
22122 echo "$as_me: error: cannot compute sizeof (long)
22123 See \`config.log' for more details." >&2;}
22124 { (exit 77); exit 77; }; }
22125 else
22126 ac_cv_sizeof_long=0
22127 fi
22128 fi
22129 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22130 fi
22131 rm -f conftest.val
22132 fi
22133 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22134 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22135
22136
22137
22138 cat >>confdefs.h <<_ACEOF
22139 #define SIZEOF_LONG $ac_cv_sizeof_long
22140 _ACEOF
22141
22142
22143 { echo "$as_me:$LINENO: checking for size_t" >&5
22144 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22145 if test "${ac_cv_type_size_t+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22147 else
22148 cat >conftest.$ac_ext <<_ACEOF
22149 /* confdefs.h. */
22150 _ACEOF
22151 cat confdefs.h >>conftest.$ac_ext
22152 cat >>conftest.$ac_ext <<_ACEOF
22153 /* end confdefs.h. */
22154 $ac_includes_default
22155 typedef size_t ac__type_new_;
22156 int
22157 main ()
22158 {
22159 if ((ac__type_new_ *) 0)
22160 return 0;
22161 if (sizeof (ac__type_new_))
22162 return 0;
22163 ;
22164 return 0;
22165 }
22166 _ACEOF
22167 rm -f conftest.$ac_objext
22168 if { (ac_try="$ac_compile"
22169 case "(($ac_try" in
22170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22171 *) ac_try_echo=$ac_try;;
22172 esac
22173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22174 (eval "$ac_compile") 2>conftest.er1
22175 ac_status=$?
22176 grep -v '^ *+' conftest.er1 >conftest.err
22177 rm -f conftest.er1
22178 cat conftest.err >&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } && {
22181 test -z "$ac_c_werror_flag" ||
22182 test ! -s conftest.err
22183 } && test -s conftest.$ac_objext; then
22184 ac_cv_type_size_t=yes
22185 else
22186 echo "$as_me: failed program was:" >&5
22187 sed 's/^/| /' conftest.$ac_ext >&5
22188
22189 ac_cv_type_size_t=no
22190 fi
22191
22192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22193 fi
22194 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22195 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22196
22197 # The cast to long int works around a bug in the HP C Compiler
22198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22200 # This bug is HP SR number 8606223364.
22201 { echo "$as_me:$LINENO: checking size of size_t" >&5
22202 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22203 if test "${ac_cv_sizeof_size_t+set}" = set; then
22204 echo $ECHO_N "(cached) $ECHO_C" >&6
22205 else
22206 if test "$cross_compiling" = yes; then
22207 # Depending upon the size, compute the lo and hi bounds.
22208 cat >conftest.$ac_ext <<_ACEOF
22209 /* confdefs.h. */
22210 _ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 $ac_includes_default
22215 typedef size_t ac__type_sizeof_;
22216 int
22217 main ()
22218 {
22219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22220 test_array [0] = 0
22221
22222 ;
22223 return 0;
22224 }
22225 _ACEOF
22226 rm -f conftest.$ac_objext
22227 if { (ac_try="$ac_compile"
22228 case "(($ac_try" in
22229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22230 *) ac_try_echo=$ac_try;;
22231 esac
22232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22233 (eval "$ac_compile") 2>conftest.er1
22234 ac_status=$?
22235 grep -v '^ *+' conftest.er1 >conftest.err
22236 rm -f conftest.er1
22237 cat conftest.err >&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } && {
22240 test -z "$ac_c_werror_flag" ||
22241 test ! -s conftest.err
22242 } && test -s conftest.$ac_objext; then
22243 ac_lo=0 ac_mid=0
22244 while :; do
22245 cat >conftest.$ac_ext <<_ACEOF
22246 /* confdefs.h. */
22247 _ACEOF
22248 cat confdefs.h >>conftest.$ac_ext
22249 cat >>conftest.$ac_ext <<_ACEOF
22250 /* end confdefs.h. */
22251 $ac_includes_default
22252 typedef size_t ac__type_sizeof_;
22253 int
22254 main ()
22255 {
22256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22257 test_array [0] = 0
22258
22259 ;
22260 return 0;
22261 }
22262 _ACEOF
22263 rm -f conftest.$ac_objext
22264 if { (ac_try="$ac_compile"
22265 case "(($ac_try" in
22266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22267 *) ac_try_echo=$ac_try;;
22268 esac
22269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22270 (eval "$ac_compile") 2>conftest.er1
22271 ac_status=$?
22272 grep -v '^ *+' conftest.er1 >conftest.err
22273 rm -f conftest.er1
22274 cat conftest.err >&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } && {
22277 test -z "$ac_c_werror_flag" ||
22278 test ! -s conftest.err
22279 } && test -s conftest.$ac_objext; then
22280 ac_hi=$ac_mid; break
22281 else
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.$ac_ext >&5
22284
22285 ac_lo=`expr $ac_mid + 1`
22286 if test $ac_lo -le $ac_mid; then
22287 ac_lo= ac_hi=
22288 break
22289 fi
22290 ac_mid=`expr 2 '*' $ac_mid + 1`
22291 fi
22292
22293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22294 done
22295 else
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22298
22299 cat >conftest.$ac_ext <<_ACEOF
22300 /* confdefs.h. */
22301 _ACEOF
22302 cat confdefs.h >>conftest.$ac_ext
22303 cat >>conftest.$ac_ext <<_ACEOF
22304 /* end confdefs.h. */
22305 $ac_includes_default
22306 typedef size_t ac__type_sizeof_;
22307 int
22308 main ()
22309 {
22310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22311 test_array [0] = 0
22312
22313 ;
22314 return 0;
22315 }
22316 _ACEOF
22317 rm -f conftest.$ac_objext
22318 if { (ac_try="$ac_compile"
22319 case "(($ac_try" in
22320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22321 *) ac_try_echo=$ac_try;;
22322 esac
22323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22324 (eval "$ac_compile") 2>conftest.er1
22325 ac_status=$?
22326 grep -v '^ *+' conftest.er1 >conftest.err
22327 rm -f conftest.er1
22328 cat conftest.err >&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } && {
22331 test -z "$ac_c_werror_flag" ||
22332 test ! -s conftest.err
22333 } && test -s conftest.$ac_objext; then
22334 ac_hi=-1 ac_mid=-1
22335 while :; do
22336 cat >conftest.$ac_ext <<_ACEOF
22337 /* confdefs.h. */
22338 _ACEOF
22339 cat confdefs.h >>conftest.$ac_ext
22340 cat >>conftest.$ac_ext <<_ACEOF
22341 /* end confdefs.h. */
22342 $ac_includes_default
22343 typedef size_t ac__type_sizeof_;
22344 int
22345 main ()
22346 {
22347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22348 test_array [0] = 0
22349
22350 ;
22351 return 0;
22352 }
22353 _ACEOF
22354 rm -f conftest.$ac_objext
22355 if { (ac_try="$ac_compile"
22356 case "(($ac_try" in
22357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22358 *) ac_try_echo=$ac_try;;
22359 esac
22360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22361 (eval "$ac_compile") 2>conftest.er1
22362 ac_status=$?
22363 grep -v '^ *+' conftest.er1 >conftest.err
22364 rm -f conftest.er1
22365 cat conftest.err >&5
22366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22367 (exit $ac_status); } && {
22368 test -z "$ac_c_werror_flag" ||
22369 test ! -s conftest.err
22370 } && test -s conftest.$ac_objext; then
22371 ac_lo=$ac_mid; break
22372 else
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22375
22376 ac_hi=`expr '(' $ac_mid ')' - 1`
22377 if test $ac_mid -le $ac_hi; then
22378 ac_lo= ac_hi=
22379 break
22380 fi
22381 ac_mid=`expr 2 '*' $ac_mid`
22382 fi
22383
22384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22385 done
22386 else
22387 echo "$as_me: failed program was:" >&5
22388 sed 's/^/| /' conftest.$ac_ext >&5
22389
22390 ac_lo= ac_hi=
22391 fi
22392
22393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22394 fi
22395
22396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22397 # Binary search between lo and hi bounds.
22398 while test "x$ac_lo" != "x$ac_hi"; do
22399 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22400 cat >conftest.$ac_ext <<_ACEOF
22401 /* confdefs.h. */
22402 _ACEOF
22403 cat confdefs.h >>conftest.$ac_ext
22404 cat >>conftest.$ac_ext <<_ACEOF
22405 /* end confdefs.h. */
22406 $ac_includes_default
22407 typedef size_t ac__type_sizeof_;
22408 int
22409 main ()
22410 {
22411 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22412 test_array [0] = 0
22413
22414 ;
22415 return 0;
22416 }
22417 _ACEOF
22418 rm -f conftest.$ac_objext
22419 if { (ac_try="$ac_compile"
22420 case "(($ac_try" in
22421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22422 *) ac_try_echo=$ac_try;;
22423 esac
22424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22425 (eval "$ac_compile") 2>conftest.er1
22426 ac_status=$?
22427 grep -v '^ *+' conftest.er1 >conftest.err
22428 rm -f conftest.er1
22429 cat conftest.err >&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); } && {
22432 test -z "$ac_c_werror_flag" ||
22433 test ! -s conftest.err
22434 } && test -s conftest.$ac_objext; then
22435 ac_hi=$ac_mid
22436 else
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22439
22440 ac_lo=`expr '(' $ac_mid ')' + 1`
22441 fi
22442
22443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22444 done
22445 case $ac_lo in
22446 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22447 '') if test "$ac_cv_type_size_t" = yes; then
22448 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22449 See \`config.log' for more details." >&5
22450 echo "$as_me: error: cannot compute sizeof (size_t)
22451 See \`config.log' for more details." >&2;}
22452 { (exit 77); exit 77; }; }
22453 else
22454 ac_cv_sizeof_size_t=0
22455 fi ;;
22456 esac
22457 else
22458 cat >conftest.$ac_ext <<_ACEOF
22459 /* confdefs.h. */
22460 _ACEOF
22461 cat confdefs.h >>conftest.$ac_ext
22462 cat >>conftest.$ac_ext <<_ACEOF
22463 /* end confdefs.h. */
22464 $ac_includes_default
22465 typedef size_t ac__type_sizeof_;
22466 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22467 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22468 #include <stdio.h>
22469 #include <stdlib.h>
22470 int
22471 main ()
22472 {
22473
22474 FILE *f = fopen ("conftest.val", "w");
22475 if (! f)
22476 return 1;
22477 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22478 {
22479 long int i = longval ();
22480 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22481 return 1;
22482 fprintf (f, "%ld\n", i);
22483 }
22484 else
22485 {
22486 unsigned long int i = ulongval ();
22487 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22488 return 1;
22489 fprintf (f, "%lu\n", i);
22490 }
22491 return ferror (f) || fclose (f) != 0;
22492
22493 ;
22494 return 0;
22495 }
22496 _ACEOF
22497 rm -f conftest$ac_exeext
22498 if { (ac_try="$ac_link"
22499 case "(($ac_try" in
22500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22502 esac
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_link") 2>&5
22505 ac_status=$?
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22508 { (case "(($ac_try" in
22509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22510 *) ac_try_echo=$ac_try;;
22511 esac
22512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22513 (eval "$ac_try") 2>&5
22514 ac_status=$?
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); }; }; then
22517 ac_cv_sizeof_size_t=`cat conftest.val`
22518 else
22519 echo "$as_me: program exited with status $ac_status" >&5
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22522
22523 ( exit $ac_status )
22524 if test "$ac_cv_type_size_t" = yes; then
22525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22526 See \`config.log' for more details." >&5
22527 echo "$as_me: error: cannot compute sizeof (size_t)
22528 See \`config.log' for more details." >&2;}
22529 { (exit 77); exit 77; }; }
22530 else
22531 ac_cv_sizeof_size_t=0
22532 fi
22533 fi
22534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22535 fi
22536 rm -f conftest.val
22537 fi
22538 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22539 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22540
22541
22542
22543 cat >>confdefs.h <<_ACEOF
22544 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22545 _ACEOF
22546
22547
22548
22549 case "${host}" in
22550 arm-*-linux* )
22551 { echo "$as_me:$LINENO: checking for long long" >&5
22552 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22553 if test "${ac_cv_type_long_long+set}" = set; then
22554 echo $ECHO_N "(cached) $ECHO_C" >&6
22555 else
22556 cat >conftest.$ac_ext <<_ACEOF
22557 /* confdefs.h. */
22558 _ACEOF
22559 cat confdefs.h >>conftest.$ac_ext
22560 cat >>conftest.$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22562 $ac_includes_default
22563 typedef long long ac__type_new_;
22564 int
22565 main ()
22566 {
22567 if ((ac__type_new_ *) 0)
22568 return 0;
22569 if (sizeof (ac__type_new_))
22570 return 0;
22571 ;
22572 return 0;
22573 }
22574 _ACEOF
22575 rm -f conftest.$ac_objext
22576 if { (ac_try="$ac_compile"
22577 case "(($ac_try" in
22578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22579 *) ac_try_echo=$ac_try;;
22580 esac
22581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22582 (eval "$ac_compile") 2>conftest.er1
22583 ac_status=$?
22584 grep -v '^ *+' conftest.er1 >conftest.err
22585 rm -f conftest.er1
22586 cat conftest.err >&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); } && {
22589 test -z "$ac_c_werror_flag" ||
22590 test ! -s conftest.err
22591 } && test -s conftest.$ac_objext; then
22592 ac_cv_type_long_long=yes
22593 else
22594 echo "$as_me: failed program was:" >&5
22595 sed 's/^/| /' conftest.$ac_ext >&5
22596
22597 ac_cv_type_long_long=no
22598 fi
22599
22600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22601 fi
22602 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22603 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22604
22605 # The cast to long int works around a bug in the HP C Compiler
22606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22608 # This bug is HP SR number 8606223364.
22609 { echo "$as_me:$LINENO: checking size of long long" >&5
22610 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22611 if test "${ac_cv_sizeof_long_long+set}" = set; then
22612 echo $ECHO_N "(cached) $ECHO_C" >&6
22613 else
22614 if test "$cross_compiling" = yes; then
22615 # Depending upon the size, compute the lo and hi bounds.
22616 cat >conftest.$ac_ext <<_ACEOF
22617 /* confdefs.h. */
22618 _ACEOF
22619 cat confdefs.h >>conftest.$ac_ext
22620 cat >>conftest.$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22622 $ac_includes_default
22623 typedef long long ac__type_sizeof_;
22624 int
22625 main ()
22626 {
22627 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22628 test_array [0] = 0
22629
22630 ;
22631 return 0;
22632 }
22633 _ACEOF
22634 rm -f conftest.$ac_objext
22635 if { (ac_try="$ac_compile"
22636 case "(($ac_try" in
22637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22638 *) ac_try_echo=$ac_try;;
22639 esac
22640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22641 (eval "$ac_compile") 2>conftest.er1
22642 ac_status=$?
22643 grep -v '^ *+' conftest.er1 >conftest.err
22644 rm -f conftest.er1
22645 cat conftest.err >&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); } && {
22648 test -z "$ac_c_werror_flag" ||
22649 test ! -s conftest.err
22650 } && test -s conftest.$ac_objext; then
22651 ac_lo=0 ac_mid=0
22652 while :; do
22653 cat >conftest.$ac_ext <<_ACEOF
22654 /* confdefs.h. */
22655 _ACEOF
22656 cat confdefs.h >>conftest.$ac_ext
22657 cat >>conftest.$ac_ext <<_ACEOF
22658 /* end confdefs.h. */
22659 $ac_includes_default
22660 typedef long long ac__type_sizeof_;
22661 int
22662 main ()
22663 {
22664 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22665 test_array [0] = 0
22666
22667 ;
22668 return 0;
22669 }
22670 _ACEOF
22671 rm -f conftest.$ac_objext
22672 if { (ac_try="$ac_compile"
22673 case "(($ac_try" in
22674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22675 *) ac_try_echo=$ac_try;;
22676 esac
22677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22678 (eval "$ac_compile") 2>conftest.er1
22679 ac_status=$?
22680 grep -v '^ *+' conftest.er1 >conftest.err
22681 rm -f conftest.er1
22682 cat conftest.err >&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } && {
22685 test -z "$ac_c_werror_flag" ||
22686 test ! -s conftest.err
22687 } && test -s conftest.$ac_objext; then
22688 ac_hi=$ac_mid; break
22689 else
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22692
22693 ac_lo=`expr $ac_mid + 1`
22694 if test $ac_lo -le $ac_mid; then
22695 ac_lo= ac_hi=
22696 break
22697 fi
22698 ac_mid=`expr 2 '*' $ac_mid + 1`
22699 fi
22700
22701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22702 done
22703 else
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.$ac_ext >&5
22706
22707 cat >conftest.$ac_ext <<_ACEOF
22708 /* confdefs.h. */
22709 _ACEOF
22710 cat confdefs.h >>conftest.$ac_ext
22711 cat >>conftest.$ac_ext <<_ACEOF
22712 /* end confdefs.h. */
22713 $ac_includes_default
22714 typedef long long ac__type_sizeof_;
22715 int
22716 main ()
22717 {
22718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22719 test_array [0] = 0
22720
22721 ;
22722 return 0;
22723 }
22724 _ACEOF
22725 rm -f conftest.$ac_objext
22726 if { (ac_try="$ac_compile"
22727 case "(($ac_try" in
22728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22729 *) ac_try_echo=$ac_try;;
22730 esac
22731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732 (eval "$ac_compile") 2>conftest.er1
22733 ac_status=$?
22734 grep -v '^ *+' conftest.er1 >conftest.err
22735 rm -f conftest.er1
22736 cat conftest.err >&5
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); } && {
22739 test -z "$ac_c_werror_flag" ||
22740 test ! -s conftest.err
22741 } && test -s conftest.$ac_objext; then
22742 ac_hi=-1 ac_mid=-1
22743 while :; do
22744 cat >conftest.$ac_ext <<_ACEOF
22745 /* confdefs.h. */
22746 _ACEOF
22747 cat confdefs.h >>conftest.$ac_ext
22748 cat >>conftest.$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22750 $ac_includes_default
22751 typedef long long ac__type_sizeof_;
22752 int
22753 main ()
22754 {
22755 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22756 test_array [0] = 0
22757
22758 ;
22759 return 0;
22760 }
22761 _ACEOF
22762 rm -f conftest.$ac_objext
22763 if { (ac_try="$ac_compile"
22764 case "(($ac_try" in
22765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22766 *) ac_try_echo=$ac_try;;
22767 esac
22768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22769 (eval "$ac_compile") 2>conftest.er1
22770 ac_status=$?
22771 grep -v '^ *+' conftest.er1 >conftest.err
22772 rm -f conftest.er1
22773 cat conftest.err >&5
22774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775 (exit $ac_status); } && {
22776 test -z "$ac_c_werror_flag" ||
22777 test ! -s conftest.err
22778 } && test -s conftest.$ac_objext; then
22779 ac_lo=$ac_mid; break
22780 else
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22783
22784 ac_hi=`expr '(' $ac_mid ')' - 1`
22785 if test $ac_mid -le $ac_hi; then
22786 ac_lo= ac_hi=
22787 break
22788 fi
22789 ac_mid=`expr 2 '*' $ac_mid`
22790 fi
22791
22792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22793 done
22794 else
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22797
22798 ac_lo= ac_hi=
22799 fi
22800
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22802 fi
22803
22804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805 # Binary search between lo and hi bounds.
22806 while test "x$ac_lo" != "x$ac_hi"; do
22807 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22808 cat >conftest.$ac_ext <<_ACEOF
22809 /* confdefs.h. */
22810 _ACEOF
22811 cat confdefs.h >>conftest.$ac_ext
22812 cat >>conftest.$ac_ext <<_ACEOF
22813 /* end confdefs.h. */
22814 $ac_includes_default
22815 typedef long long ac__type_sizeof_;
22816 int
22817 main ()
22818 {
22819 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22820 test_array [0] = 0
22821
22822 ;
22823 return 0;
22824 }
22825 _ACEOF
22826 rm -f conftest.$ac_objext
22827 if { (ac_try="$ac_compile"
22828 case "(($ac_try" in
22829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22830 *) ac_try_echo=$ac_try;;
22831 esac
22832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22833 (eval "$ac_compile") 2>conftest.er1
22834 ac_status=$?
22835 grep -v '^ *+' conftest.er1 >conftest.err
22836 rm -f conftest.er1
22837 cat conftest.err >&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } && {
22840 test -z "$ac_c_werror_flag" ||
22841 test ! -s conftest.err
22842 } && test -s conftest.$ac_objext; then
22843 ac_hi=$ac_mid
22844 else
22845 echo "$as_me: failed program was:" >&5
22846 sed 's/^/| /' conftest.$ac_ext >&5
22847
22848 ac_lo=`expr '(' $ac_mid ')' + 1`
22849 fi
22850
22851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22852 done
22853 case $ac_lo in
22854 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22855 '') if test "$ac_cv_type_long_long" = yes; then
22856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22857 See \`config.log' for more details." >&5
22858 echo "$as_me: error: cannot compute sizeof (long long)
22859 See \`config.log' for more details." >&2;}
22860 { (exit 77); exit 77; }; }
22861 else
22862 ac_cv_sizeof_long_long=0
22863 fi ;;
22864 esac
22865 else
22866 cat >conftest.$ac_ext <<_ACEOF
22867 /* confdefs.h. */
22868 _ACEOF
22869 cat confdefs.h >>conftest.$ac_ext
22870 cat >>conftest.$ac_ext <<_ACEOF
22871 /* end confdefs.h. */
22872 $ac_includes_default
22873 typedef long long ac__type_sizeof_;
22874 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22875 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22876 #include <stdio.h>
22877 #include <stdlib.h>
22878 int
22879 main ()
22880 {
22881
22882 FILE *f = fopen ("conftest.val", "w");
22883 if (! f)
22884 return 1;
22885 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22886 {
22887 long int i = longval ();
22888 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22889 return 1;
22890 fprintf (f, "%ld\n", i);
22891 }
22892 else
22893 {
22894 unsigned long int i = ulongval ();
22895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22896 return 1;
22897 fprintf (f, "%lu\n", i);
22898 }
22899 return ferror (f) || fclose (f) != 0;
22900
22901 ;
22902 return 0;
22903 }
22904 _ACEOF
22905 rm -f conftest$ac_exeext
22906 if { (ac_try="$ac_link"
22907 case "(($ac_try" in
22908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22909 *) ac_try_echo=$ac_try;;
22910 esac
22911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_link") 2>&5
22913 ac_status=$?
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22916 { (case "(($ac_try" in
22917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22918 *) ac_try_echo=$ac_try;;
22919 esac
22920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22921 (eval "$ac_try") 2>&5
22922 ac_status=$?
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); }; }; then
22925 ac_cv_sizeof_long_long=`cat conftest.val`
22926 else
22927 echo "$as_me: program exited with status $ac_status" >&5
22928 echo "$as_me: failed program was:" >&5
22929 sed 's/^/| /' conftest.$ac_ext >&5
22930
22931 ( exit $ac_status )
22932 if test "$ac_cv_type_long_long" = yes; then
22933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22934 See \`config.log' for more details." >&5
22935 echo "$as_me: error: cannot compute sizeof (long long)
22936 See \`config.log' for more details." >&2;}
22937 { (exit 77); exit 77; }; }
22938 else
22939 ac_cv_sizeof_long_long=0
22940 fi
22941 fi
22942 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22943 fi
22944 rm -f conftest.val
22945 fi
22946 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22947 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22948
22949
22950
22951 cat >>confdefs.h <<_ACEOF
22952 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22953 _ACEOF
22954
22955
22956 ;;
22957 *-hp-hpux* )
22958 { echo "$as_me:$LINENO: checking for long long" >&5
22959 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22960 if test "${ac_cv_type_long_long+set}" = set; then
22961 echo $ECHO_N "(cached) $ECHO_C" >&6
22962 else
22963 cat >conftest.$ac_ext <<_ACEOF
22964 /* confdefs.h. */
22965 _ACEOF
22966 cat confdefs.h >>conftest.$ac_ext
22967 cat >>conftest.$ac_ext <<_ACEOF
22968 /* end confdefs.h. */
22969 $ac_includes_default
22970 typedef long long ac__type_new_;
22971 int
22972 main ()
22973 {
22974 if ((ac__type_new_ *) 0)
22975 return 0;
22976 if (sizeof (ac__type_new_))
22977 return 0;
22978 ;
22979 return 0;
22980 }
22981 _ACEOF
22982 rm -f conftest.$ac_objext
22983 if { (ac_try="$ac_compile"
22984 case "(($ac_try" in
22985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22986 *) ac_try_echo=$ac_try;;
22987 esac
22988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22989 (eval "$ac_compile") 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } && {
22996 test -z "$ac_c_werror_flag" ||
22997 test ! -s conftest.err
22998 } && test -s conftest.$ac_objext; then
22999 ac_cv_type_long_long=yes
23000 else
23001 echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23003
23004 ac_cv_type_long_long=no
23005 fi
23006
23007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23008 fi
23009 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23010 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23011
23012 # The cast to long int works around a bug in the HP C Compiler
23013 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23014 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23015 # This bug is HP SR number 8606223364.
23016 { echo "$as_me:$LINENO: checking size of long long" >&5
23017 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23018 if test "${ac_cv_sizeof_long_long+set}" = set; then
23019 echo $ECHO_N "(cached) $ECHO_C" >&6
23020 else
23021 if test "$cross_compiling" = yes; then
23022 # Depending upon the size, compute the lo and hi bounds.
23023 cat >conftest.$ac_ext <<_ACEOF
23024 /* confdefs.h. */
23025 _ACEOF
23026 cat confdefs.h >>conftest.$ac_ext
23027 cat >>conftest.$ac_ext <<_ACEOF
23028 /* end confdefs.h. */
23029 $ac_includes_default
23030 typedef long long ac__type_sizeof_;
23031 int
23032 main ()
23033 {
23034 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23035 test_array [0] = 0
23036
23037 ;
23038 return 0;
23039 }
23040 _ACEOF
23041 rm -f conftest.$ac_objext
23042 if { (ac_try="$ac_compile"
23043 case "(($ac_try" in
23044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23045 *) ac_try_echo=$ac_try;;
23046 esac
23047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23048 (eval "$ac_compile") 2>conftest.er1
23049 ac_status=$?
23050 grep -v '^ *+' conftest.er1 >conftest.err
23051 rm -f conftest.er1
23052 cat conftest.err >&5
23053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23054 (exit $ac_status); } && {
23055 test -z "$ac_c_werror_flag" ||
23056 test ! -s conftest.err
23057 } && test -s conftest.$ac_objext; then
23058 ac_lo=0 ac_mid=0
23059 while :; do
23060 cat >conftest.$ac_ext <<_ACEOF
23061 /* confdefs.h. */
23062 _ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 $ac_includes_default
23067 typedef long long ac__type_sizeof_;
23068 int
23069 main ()
23070 {
23071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23072 test_array [0] = 0
23073
23074 ;
23075 return 0;
23076 }
23077 _ACEOF
23078 rm -f conftest.$ac_objext
23079 if { (ac_try="$ac_compile"
23080 case "(($ac_try" in
23081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23082 *) ac_try_echo=$ac_try;;
23083 esac
23084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23085 (eval "$ac_compile") 2>conftest.er1
23086 ac_status=$?
23087 grep -v '^ *+' conftest.er1 >conftest.err
23088 rm -f conftest.er1
23089 cat conftest.err >&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } && {
23092 test -z "$ac_c_werror_flag" ||
23093 test ! -s conftest.err
23094 } && test -s conftest.$ac_objext; then
23095 ac_hi=$ac_mid; break
23096 else
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.$ac_ext >&5
23099
23100 ac_lo=`expr $ac_mid + 1`
23101 if test $ac_lo -le $ac_mid; then
23102 ac_lo= ac_hi=
23103 break
23104 fi
23105 ac_mid=`expr 2 '*' $ac_mid + 1`
23106 fi
23107
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 done
23110 else
23111 echo "$as_me: failed program was:" >&5
23112 sed 's/^/| /' conftest.$ac_ext >&5
23113
23114 cat >conftest.$ac_ext <<_ACEOF
23115 /* confdefs.h. */
23116 _ACEOF
23117 cat confdefs.h >>conftest.$ac_ext
23118 cat >>conftest.$ac_ext <<_ACEOF
23119 /* end confdefs.h. */
23120 $ac_includes_default
23121 typedef long long ac__type_sizeof_;
23122 int
23123 main ()
23124 {
23125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23126 test_array [0] = 0
23127
23128 ;
23129 return 0;
23130 }
23131 _ACEOF
23132 rm -f conftest.$ac_objext
23133 if { (ac_try="$ac_compile"
23134 case "(($ac_try" in
23135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23136 *) ac_try_echo=$ac_try;;
23137 esac
23138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23139 (eval "$ac_compile") 2>conftest.er1
23140 ac_status=$?
23141 grep -v '^ *+' conftest.er1 >conftest.err
23142 rm -f conftest.er1
23143 cat conftest.err >&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); } && {
23146 test -z "$ac_c_werror_flag" ||
23147 test ! -s conftest.err
23148 } && test -s conftest.$ac_objext; then
23149 ac_hi=-1 ac_mid=-1
23150 while :; do
23151 cat >conftest.$ac_ext <<_ACEOF
23152 /* confdefs.h. */
23153 _ACEOF
23154 cat confdefs.h >>conftest.$ac_ext
23155 cat >>conftest.$ac_ext <<_ACEOF
23156 /* end confdefs.h. */
23157 $ac_includes_default
23158 typedef long long ac__type_sizeof_;
23159 int
23160 main ()
23161 {
23162 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23163 test_array [0] = 0
23164
23165 ;
23166 return 0;
23167 }
23168 _ACEOF
23169 rm -f conftest.$ac_objext
23170 if { (ac_try="$ac_compile"
23171 case "(($ac_try" in
23172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23173 *) ac_try_echo=$ac_try;;
23174 esac
23175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23176 (eval "$ac_compile") 2>conftest.er1
23177 ac_status=$?
23178 grep -v '^ *+' conftest.er1 >conftest.err
23179 rm -f conftest.er1
23180 cat conftest.err >&5
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); } && {
23183 test -z "$ac_c_werror_flag" ||
23184 test ! -s conftest.err
23185 } && test -s conftest.$ac_objext; then
23186 ac_lo=$ac_mid; break
23187 else
23188 echo "$as_me: failed program was:" >&5
23189 sed 's/^/| /' conftest.$ac_ext >&5
23190
23191 ac_hi=`expr '(' $ac_mid ')' - 1`
23192 if test $ac_mid -le $ac_hi; then
23193 ac_lo= ac_hi=
23194 break
23195 fi
23196 ac_mid=`expr 2 '*' $ac_mid`
23197 fi
23198
23199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23200 done
23201 else
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23204
23205 ac_lo= ac_hi=
23206 fi
23207
23208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23209 fi
23210
23211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23212 # Binary search between lo and hi bounds.
23213 while test "x$ac_lo" != "x$ac_hi"; do
23214 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23215 cat >conftest.$ac_ext <<_ACEOF
23216 /* confdefs.h. */
23217 _ACEOF
23218 cat confdefs.h >>conftest.$ac_ext
23219 cat >>conftest.$ac_ext <<_ACEOF
23220 /* end confdefs.h. */
23221 $ac_includes_default
23222 typedef long long ac__type_sizeof_;
23223 int
23224 main ()
23225 {
23226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23227 test_array [0] = 0
23228
23229 ;
23230 return 0;
23231 }
23232 _ACEOF
23233 rm -f conftest.$ac_objext
23234 if { (ac_try="$ac_compile"
23235 case "(($ac_try" in
23236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23237 *) ac_try_echo=$ac_try;;
23238 esac
23239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23240 (eval "$ac_compile") 2>conftest.er1
23241 ac_status=$?
23242 grep -v '^ *+' conftest.er1 >conftest.err
23243 rm -f conftest.er1
23244 cat conftest.err >&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } && {
23247 test -z "$ac_c_werror_flag" ||
23248 test ! -s conftest.err
23249 } && test -s conftest.$ac_objext; then
23250 ac_hi=$ac_mid
23251 else
23252 echo "$as_me: failed program was:" >&5
23253 sed 's/^/| /' conftest.$ac_ext >&5
23254
23255 ac_lo=`expr '(' $ac_mid ')' + 1`
23256 fi
23257
23258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23259 done
23260 case $ac_lo in
23261 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23262 '') if test "$ac_cv_type_long_long" = yes; then
23263 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23264 See \`config.log' for more details." >&5
23265 echo "$as_me: error: cannot compute sizeof (long long)
23266 See \`config.log' for more details." >&2;}
23267 { (exit 77); exit 77; }; }
23268 else
23269 ac_cv_sizeof_long_long=0
23270 fi ;;
23271 esac
23272 else
23273 cat >conftest.$ac_ext <<_ACEOF
23274 /* confdefs.h. */
23275 _ACEOF
23276 cat confdefs.h >>conftest.$ac_ext
23277 cat >>conftest.$ac_ext <<_ACEOF
23278 /* end confdefs.h. */
23279 $ac_includes_default
23280 typedef long long ac__type_sizeof_;
23281 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23282 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23283 #include <stdio.h>
23284 #include <stdlib.h>
23285 int
23286 main ()
23287 {
23288
23289 FILE *f = fopen ("conftest.val", "w");
23290 if (! f)
23291 return 1;
23292 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23293 {
23294 long int i = longval ();
23295 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23296 return 1;
23297 fprintf (f, "%ld\n", i);
23298 }
23299 else
23300 {
23301 unsigned long int i = ulongval ();
23302 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23303 return 1;
23304 fprintf (f, "%lu\n", i);
23305 }
23306 return ferror (f) || fclose (f) != 0;
23307
23308 ;
23309 return 0;
23310 }
23311 _ACEOF
23312 rm -f conftest$ac_exeext
23313 if { (ac_try="$ac_link"
23314 case "(($ac_try" in
23315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23316 *) ac_try_echo=$ac_try;;
23317 esac
23318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23319 (eval "$ac_link") 2>&5
23320 ac_status=$?
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23323 { (case "(($ac_try" in
23324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23325 *) ac_try_echo=$ac_try;;
23326 esac
23327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23328 (eval "$ac_try") 2>&5
23329 ac_status=$?
23330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23331 (exit $ac_status); }; }; then
23332 ac_cv_sizeof_long_long=`cat conftest.val`
23333 else
23334 echo "$as_me: program exited with status $ac_status" >&5
23335 echo "$as_me: failed program was:" >&5
23336 sed 's/^/| /' conftest.$ac_ext >&5
23337
23338 ( exit $ac_status )
23339 if test "$ac_cv_type_long_long" = yes; then
23340 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23341 See \`config.log' for more details." >&5
23342 echo "$as_me: error: cannot compute sizeof (long long)
23343 See \`config.log' for more details." >&2;}
23344 { (exit 77); exit 77; }; }
23345 else
23346 ac_cv_sizeof_long_long=0
23347 fi
23348 fi
23349 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23350 fi
23351 rm -f conftest.val
23352 fi
23353 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23354 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23355
23356
23357
23358 cat >>confdefs.h <<_ACEOF
23359 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23360 _ACEOF
23361
23362
23363 if test "$ac_cv_sizeof_long_long" != 0; then
23364 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23365 fi
23366 ;;
23367 * )
23368 { echo "$as_me:$LINENO: checking for long long" >&5
23369 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23370 if test "${ac_cv_type_long_long+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23372 else
23373 cat >conftest.$ac_ext <<_ACEOF
23374 /* confdefs.h. */
23375 _ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 $ac_includes_default
23380 typedef long long ac__type_new_;
23381 int
23382 main ()
23383 {
23384 if ((ac__type_new_ *) 0)
23385 return 0;
23386 if (sizeof (ac__type_new_))
23387 return 0;
23388 ;
23389 return 0;
23390 }
23391 _ACEOF
23392 rm -f conftest.$ac_objext
23393 if { (ac_try="$ac_compile"
23394 case "(($ac_try" in
23395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23396 *) ac_try_echo=$ac_try;;
23397 esac
23398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23399 (eval "$ac_compile") 2>conftest.er1
23400 ac_status=$?
23401 grep -v '^ *+' conftest.er1 >conftest.err
23402 rm -f conftest.er1
23403 cat conftest.err >&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); } && {
23406 test -z "$ac_c_werror_flag" ||
23407 test ! -s conftest.err
23408 } && test -s conftest.$ac_objext; then
23409 ac_cv_type_long_long=yes
23410 else
23411 echo "$as_me: failed program was:" >&5
23412 sed 's/^/| /' conftest.$ac_ext >&5
23413
23414 ac_cv_type_long_long=no
23415 fi
23416
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 fi
23419 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23420 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23421
23422 # The cast to long int works around a bug in the HP C Compiler
23423 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23424 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23425 # This bug is HP SR number 8606223364.
23426 { echo "$as_me:$LINENO: checking size of long long" >&5
23427 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23428 if test "${ac_cv_sizeof_long_long+set}" = set; then
23429 echo $ECHO_N "(cached) $ECHO_C" >&6
23430 else
23431 if test "$cross_compiling" = yes; then
23432 # Depending upon the size, compute the lo and hi bounds.
23433 cat >conftest.$ac_ext <<_ACEOF
23434 /* confdefs.h. */
23435 _ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 $ac_includes_default
23440 typedef long long ac__type_sizeof_;
23441 int
23442 main ()
23443 {
23444 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23445 test_array [0] = 0
23446
23447 ;
23448 return 0;
23449 }
23450 _ACEOF
23451 rm -f conftest.$ac_objext
23452 if { (ac_try="$ac_compile"
23453 case "(($ac_try" in
23454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23455 *) ac_try_echo=$ac_try;;
23456 esac
23457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23458 (eval "$ac_compile") 2>conftest.er1
23459 ac_status=$?
23460 grep -v '^ *+' conftest.er1 >conftest.err
23461 rm -f conftest.er1
23462 cat conftest.err >&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); } && {
23465 test -z "$ac_c_werror_flag" ||
23466 test ! -s conftest.err
23467 } && test -s conftest.$ac_objext; then
23468 ac_lo=0 ac_mid=0
23469 while :; do
23470 cat >conftest.$ac_ext <<_ACEOF
23471 /* confdefs.h. */
23472 _ACEOF
23473 cat confdefs.h >>conftest.$ac_ext
23474 cat >>conftest.$ac_ext <<_ACEOF
23475 /* end confdefs.h. */
23476 $ac_includes_default
23477 typedef long long ac__type_sizeof_;
23478 int
23479 main ()
23480 {
23481 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23482 test_array [0] = 0
23483
23484 ;
23485 return 0;
23486 }
23487 _ACEOF
23488 rm -f conftest.$ac_objext
23489 if { (ac_try="$ac_compile"
23490 case "(($ac_try" in
23491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23492 *) ac_try_echo=$ac_try;;
23493 esac
23494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23495 (eval "$ac_compile") 2>conftest.er1
23496 ac_status=$?
23497 grep -v '^ *+' conftest.er1 >conftest.err
23498 rm -f conftest.er1
23499 cat conftest.err >&5
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); } && {
23502 test -z "$ac_c_werror_flag" ||
23503 test ! -s conftest.err
23504 } && test -s conftest.$ac_objext; then
23505 ac_hi=$ac_mid; break
23506 else
23507 echo "$as_me: failed program was:" >&5
23508 sed 's/^/| /' conftest.$ac_ext >&5
23509
23510 ac_lo=`expr $ac_mid + 1`
23511 if test $ac_lo -le $ac_mid; then
23512 ac_lo= ac_hi=
23513 break
23514 fi
23515 ac_mid=`expr 2 '*' $ac_mid + 1`
23516 fi
23517
23518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23519 done
23520 else
23521 echo "$as_me: failed program was:" >&5
23522 sed 's/^/| /' conftest.$ac_ext >&5
23523
23524 cat >conftest.$ac_ext <<_ACEOF
23525 /* confdefs.h. */
23526 _ACEOF
23527 cat confdefs.h >>conftest.$ac_ext
23528 cat >>conftest.$ac_ext <<_ACEOF
23529 /* end confdefs.h. */
23530 $ac_includes_default
23531 typedef long long ac__type_sizeof_;
23532 int
23533 main ()
23534 {
23535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23536 test_array [0] = 0
23537
23538 ;
23539 return 0;
23540 }
23541 _ACEOF
23542 rm -f conftest.$ac_objext
23543 if { (ac_try="$ac_compile"
23544 case "(($ac_try" in
23545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23546 *) ac_try_echo=$ac_try;;
23547 esac
23548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23549 (eval "$ac_compile") 2>conftest.er1
23550 ac_status=$?
23551 grep -v '^ *+' conftest.er1 >conftest.err
23552 rm -f conftest.er1
23553 cat conftest.err >&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } && {
23556 test -z "$ac_c_werror_flag" ||
23557 test ! -s conftest.err
23558 } && test -s conftest.$ac_objext; then
23559 ac_hi=-1 ac_mid=-1
23560 while :; do
23561 cat >conftest.$ac_ext <<_ACEOF
23562 /* confdefs.h. */
23563 _ACEOF
23564 cat confdefs.h >>conftest.$ac_ext
23565 cat >>conftest.$ac_ext <<_ACEOF
23566 /* end confdefs.h. */
23567 $ac_includes_default
23568 typedef long long ac__type_sizeof_;
23569 int
23570 main ()
23571 {
23572 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23573 test_array [0] = 0
23574
23575 ;
23576 return 0;
23577 }
23578 _ACEOF
23579 rm -f conftest.$ac_objext
23580 if { (ac_try="$ac_compile"
23581 case "(($ac_try" in
23582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23583 *) ac_try_echo=$ac_try;;
23584 esac
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586 (eval "$ac_compile") 2>conftest.er1
23587 ac_status=$?
23588 grep -v '^ *+' conftest.er1 >conftest.err
23589 rm -f conftest.er1
23590 cat conftest.err >&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); } && {
23593 test -z "$ac_c_werror_flag" ||
23594 test ! -s conftest.err
23595 } && test -s conftest.$ac_objext; then
23596 ac_lo=$ac_mid; break
23597 else
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23600
23601 ac_hi=`expr '(' $ac_mid ')' - 1`
23602 if test $ac_mid -le $ac_hi; then
23603 ac_lo= ac_hi=
23604 break
23605 fi
23606 ac_mid=`expr 2 '*' $ac_mid`
23607 fi
23608
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 done
23611 else
23612 echo "$as_me: failed program was:" >&5
23613 sed 's/^/| /' conftest.$ac_ext >&5
23614
23615 ac_lo= ac_hi=
23616 fi
23617
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23619 fi
23620
23621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23622 # Binary search between lo and hi bounds.
23623 while test "x$ac_lo" != "x$ac_hi"; do
23624 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23625 cat >conftest.$ac_ext <<_ACEOF
23626 /* confdefs.h. */
23627 _ACEOF
23628 cat confdefs.h >>conftest.$ac_ext
23629 cat >>conftest.$ac_ext <<_ACEOF
23630 /* end confdefs.h. */
23631 $ac_includes_default
23632 typedef long long ac__type_sizeof_;
23633 int
23634 main ()
23635 {
23636 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23637 test_array [0] = 0
23638
23639 ;
23640 return 0;
23641 }
23642 _ACEOF
23643 rm -f conftest.$ac_objext
23644 if { (ac_try="$ac_compile"
23645 case "(($ac_try" in
23646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23647 *) ac_try_echo=$ac_try;;
23648 esac
23649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23650 (eval "$ac_compile") 2>conftest.er1
23651 ac_status=$?
23652 grep -v '^ *+' conftest.er1 >conftest.err
23653 rm -f conftest.er1
23654 cat conftest.err >&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); } && {
23657 test -z "$ac_c_werror_flag" ||
23658 test ! -s conftest.err
23659 } && test -s conftest.$ac_objext; then
23660 ac_hi=$ac_mid
23661 else
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23664
23665 ac_lo=`expr '(' $ac_mid ')' + 1`
23666 fi
23667
23668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23669 done
23670 case $ac_lo in
23671 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23672 '') if test "$ac_cv_type_long_long" = yes; then
23673 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23674 See \`config.log' for more details." >&5
23675 echo "$as_me: error: cannot compute sizeof (long long)
23676 See \`config.log' for more details." >&2;}
23677 { (exit 77); exit 77; }; }
23678 else
23679 ac_cv_sizeof_long_long=0
23680 fi ;;
23681 esac
23682 else
23683 cat >conftest.$ac_ext <<_ACEOF
23684 /* confdefs.h. */
23685 _ACEOF
23686 cat confdefs.h >>conftest.$ac_ext
23687 cat >>conftest.$ac_ext <<_ACEOF
23688 /* end confdefs.h. */
23689 $ac_includes_default
23690 typedef long long ac__type_sizeof_;
23691 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23692 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23693 #include <stdio.h>
23694 #include <stdlib.h>
23695 int
23696 main ()
23697 {
23698
23699 FILE *f = fopen ("conftest.val", "w");
23700 if (! f)
23701 return 1;
23702 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23703 {
23704 long int i = longval ();
23705 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23706 return 1;
23707 fprintf (f, "%ld\n", i);
23708 }
23709 else
23710 {
23711 unsigned long int i = ulongval ();
23712 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23713 return 1;
23714 fprintf (f, "%lu\n", i);
23715 }
23716 return ferror (f) || fclose (f) != 0;
23717
23718 ;
23719 return 0;
23720 }
23721 _ACEOF
23722 rm -f conftest$ac_exeext
23723 if { (ac_try="$ac_link"
23724 case "(($ac_try" in
23725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23726 *) ac_try_echo=$ac_try;;
23727 esac
23728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23729 (eval "$ac_link") 2>&5
23730 ac_status=$?
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23733 { (case "(($ac_try" in
23734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23735 *) ac_try_echo=$ac_try;;
23736 esac
23737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23738 (eval "$ac_try") 2>&5
23739 ac_status=$?
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); }; }; then
23742 ac_cv_sizeof_long_long=`cat conftest.val`
23743 else
23744 echo "$as_me: program exited with status $ac_status" >&5
23745 echo "$as_me: failed program was:" >&5
23746 sed 's/^/| /' conftest.$ac_ext >&5
23747
23748 ( exit $ac_status )
23749 if test "$ac_cv_type_long_long" = yes; then
23750 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23751 See \`config.log' for more details." >&5
23752 echo "$as_me: error: cannot compute sizeof (long long)
23753 See \`config.log' for more details." >&2;}
23754 { (exit 77); exit 77; }; }
23755 else
23756 ac_cv_sizeof_long_long=0
23757 fi
23758 fi
23759 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23760 fi
23761 rm -f conftest.val
23762 fi
23763 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23764 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23765
23766
23767
23768 cat >>confdefs.h <<_ACEOF
23769 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23770 _ACEOF
23771
23772
23773 esac
23774
23775 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23776 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23777 if test "${ac_cv_type_wchar_t+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23779 else
23780 cat >conftest.$ac_ext <<_ACEOF
23781 /* confdefs.h. */
23782 _ACEOF
23783 cat confdefs.h >>conftest.$ac_ext
23784 cat >>conftest.$ac_ext <<_ACEOF
23785 /* end confdefs.h. */
23786
23787 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23788 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23789 # error "fake wchar_t"
23790 #endif
23791 #ifdef HAVE_WCHAR_H
23792 # ifdef __CYGWIN__
23793 # include <stddef.h>
23794 # endif
23795 # include <wchar.h>
23796 #endif
23797 #ifdef HAVE_STDLIB_H
23798 # include <stdlib.h>
23799 #endif
23800 #include <stdio.h>
23801
23802
23803
23804 typedef wchar_t ac__type_new_;
23805 int
23806 main ()
23807 {
23808 if ((ac__type_new_ *) 0)
23809 return 0;
23810 if (sizeof (ac__type_new_))
23811 return 0;
23812 ;
23813 return 0;
23814 }
23815 _ACEOF
23816 rm -f conftest.$ac_objext
23817 if { (ac_try="$ac_compile"
23818 case "(($ac_try" in
23819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23820 *) ac_try_echo=$ac_try;;
23821 esac
23822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23823 (eval "$ac_compile") 2>conftest.er1
23824 ac_status=$?
23825 grep -v '^ *+' conftest.er1 >conftest.err
23826 rm -f conftest.er1
23827 cat conftest.err >&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } && {
23830 test -z "$ac_c_werror_flag" ||
23831 test ! -s conftest.err
23832 } && test -s conftest.$ac_objext; then
23833 ac_cv_type_wchar_t=yes
23834 else
23835 echo "$as_me: failed program was:" >&5
23836 sed 's/^/| /' conftest.$ac_ext >&5
23837
23838 ac_cv_type_wchar_t=no
23839 fi
23840
23841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23842 fi
23843 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23844 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23845
23846 # The cast to long int works around a bug in the HP C Compiler
23847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23849 # This bug is HP SR number 8606223364.
23850 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23851 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23852 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23853 echo $ECHO_N "(cached) $ECHO_C" >&6
23854 else
23855 if test "$cross_compiling" = yes; then
23856 # Depending upon the size, compute the lo and hi bounds.
23857 cat >conftest.$ac_ext <<_ACEOF
23858 /* confdefs.h. */
23859 _ACEOF
23860 cat confdefs.h >>conftest.$ac_ext
23861 cat >>conftest.$ac_ext <<_ACEOF
23862 /* end confdefs.h. */
23863
23864 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23865 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23866 # error "fake wchar_t"
23867 #endif
23868 #ifdef HAVE_WCHAR_H
23869 # ifdef __CYGWIN__
23870 # include <stddef.h>
23871 # endif
23872 # include <wchar.h>
23873 #endif
23874 #ifdef HAVE_STDLIB_H
23875 # include <stdlib.h>
23876 #endif
23877 #include <stdio.h>
23878
23879
23880
23881 typedef wchar_t ac__type_sizeof_;
23882 int
23883 main ()
23884 {
23885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23886 test_array [0] = 0
23887
23888 ;
23889 return 0;
23890 }
23891 _ACEOF
23892 rm -f conftest.$ac_objext
23893 if { (ac_try="$ac_compile"
23894 case "(($ac_try" in
23895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23896 *) ac_try_echo=$ac_try;;
23897 esac
23898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23899 (eval "$ac_compile") 2>conftest.er1
23900 ac_status=$?
23901 grep -v '^ *+' conftest.er1 >conftest.err
23902 rm -f conftest.er1
23903 cat conftest.err >&5
23904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23905 (exit $ac_status); } && {
23906 test -z "$ac_c_werror_flag" ||
23907 test ! -s conftest.err
23908 } && test -s conftest.$ac_objext; then
23909 ac_lo=0 ac_mid=0
23910 while :; do
23911 cat >conftest.$ac_ext <<_ACEOF
23912 /* confdefs.h. */
23913 _ACEOF
23914 cat confdefs.h >>conftest.$ac_ext
23915 cat >>conftest.$ac_ext <<_ACEOF
23916 /* end confdefs.h. */
23917
23918 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23919 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23920 # error "fake wchar_t"
23921 #endif
23922 #ifdef HAVE_WCHAR_H
23923 # ifdef __CYGWIN__
23924 # include <stddef.h>
23925 # endif
23926 # include <wchar.h>
23927 #endif
23928 #ifdef HAVE_STDLIB_H
23929 # include <stdlib.h>
23930 #endif
23931 #include <stdio.h>
23932
23933
23934
23935 typedef wchar_t ac__type_sizeof_;
23936 int
23937 main ()
23938 {
23939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23940 test_array [0] = 0
23941
23942 ;
23943 return 0;
23944 }
23945 _ACEOF
23946 rm -f conftest.$ac_objext
23947 if { (ac_try="$ac_compile"
23948 case "(($ac_try" in
23949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23950 *) ac_try_echo=$ac_try;;
23951 esac
23952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23953 (eval "$ac_compile") 2>conftest.er1
23954 ac_status=$?
23955 grep -v '^ *+' conftest.er1 >conftest.err
23956 rm -f conftest.er1
23957 cat conftest.err >&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); } && {
23960 test -z "$ac_c_werror_flag" ||
23961 test ! -s conftest.err
23962 } && test -s conftest.$ac_objext; then
23963 ac_hi=$ac_mid; break
23964 else
23965 echo "$as_me: failed program was:" >&5
23966 sed 's/^/| /' conftest.$ac_ext >&5
23967
23968 ac_lo=`expr $ac_mid + 1`
23969 if test $ac_lo -le $ac_mid; then
23970 ac_lo= ac_hi=
23971 break
23972 fi
23973 ac_mid=`expr 2 '*' $ac_mid + 1`
23974 fi
23975
23976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23977 done
23978 else
23979 echo "$as_me: failed program was:" >&5
23980 sed 's/^/| /' conftest.$ac_ext >&5
23981
23982 cat >conftest.$ac_ext <<_ACEOF
23983 /* confdefs.h. */
23984 _ACEOF
23985 cat confdefs.h >>conftest.$ac_ext
23986 cat >>conftest.$ac_ext <<_ACEOF
23987 /* end confdefs.h. */
23988
23989 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23990 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23991 # error "fake wchar_t"
23992 #endif
23993 #ifdef HAVE_WCHAR_H
23994 # ifdef __CYGWIN__
23995 # include <stddef.h>
23996 # endif
23997 # include <wchar.h>
23998 #endif
23999 #ifdef HAVE_STDLIB_H
24000 # include <stdlib.h>
24001 #endif
24002 #include <stdio.h>
24003
24004
24005
24006 typedef wchar_t ac__type_sizeof_;
24007 int
24008 main ()
24009 {
24010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24011 test_array [0] = 0
24012
24013 ;
24014 return 0;
24015 }
24016 _ACEOF
24017 rm -f conftest.$ac_objext
24018 if { (ac_try="$ac_compile"
24019 case "(($ac_try" in
24020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24021 *) ac_try_echo=$ac_try;;
24022 esac
24023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24024 (eval "$ac_compile") 2>conftest.er1
24025 ac_status=$?
24026 grep -v '^ *+' conftest.er1 >conftest.err
24027 rm -f conftest.er1
24028 cat conftest.err >&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); } && {
24031 test -z "$ac_c_werror_flag" ||
24032 test ! -s conftest.err
24033 } && test -s conftest.$ac_objext; then
24034 ac_hi=-1 ac_mid=-1
24035 while :; do
24036 cat >conftest.$ac_ext <<_ACEOF
24037 /* confdefs.h. */
24038 _ACEOF
24039 cat confdefs.h >>conftest.$ac_ext
24040 cat >>conftest.$ac_ext <<_ACEOF
24041 /* end confdefs.h. */
24042
24043 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24044 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24045 # error "fake wchar_t"
24046 #endif
24047 #ifdef HAVE_WCHAR_H
24048 # ifdef __CYGWIN__
24049 # include <stddef.h>
24050 # endif
24051 # include <wchar.h>
24052 #endif
24053 #ifdef HAVE_STDLIB_H
24054 # include <stdlib.h>
24055 #endif
24056 #include <stdio.h>
24057
24058
24059
24060 typedef wchar_t ac__type_sizeof_;
24061 int
24062 main ()
24063 {
24064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24065 test_array [0] = 0
24066
24067 ;
24068 return 0;
24069 }
24070 _ACEOF
24071 rm -f conftest.$ac_objext
24072 if { (ac_try="$ac_compile"
24073 case "(($ac_try" in
24074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24075 *) ac_try_echo=$ac_try;;
24076 esac
24077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24078 (eval "$ac_compile") 2>conftest.er1
24079 ac_status=$?
24080 grep -v '^ *+' conftest.er1 >conftest.err
24081 rm -f conftest.er1
24082 cat conftest.err >&5
24083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084 (exit $ac_status); } && {
24085 test -z "$ac_c_werror_flag" ||
24086 test ! -s conftest.err
24087 } && test -s conftest.$ac_objext; then
24088 ac_lo=$ac_mid; break
24089 else
24090 echo "$as_me: failed program was:" >&5
24091 sed 's/^/| /' conftest.$ac_ext >&5
24092
24093 ac_hi=`expr '(' $ac_mid ')' - 1`
24094 if test $ac_mid -le $ac_hi; then
24095 ac_lo= ac_hi=
24096 break
24097 fi
24098 ac_mid=`expr 2 '*' $ac_mid`
24099 fi
24100
24101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24102 done
24103 else
24104 echo "$as_me: failed program was:" >&5
24105 sed 's/^/| /' conftest.$ac_ext >&5
24106
24107 ac_lo= ac_hi=
24108 fi
24109
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111 fi
24112
24113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114 # Binary search between lo and hi bounds.
24115 while test "x$ac_lo" != "x$ac_hi"; do
24116 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24117 cat >conftest.$ac_ext <<_ACEOF
24118 /* confdefs.h. */
24119 _ACEOF
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24123
24124 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24125 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24126 # error "fake wchar_t"
24127 #endif
24128 #ifdef HAVE_WCHAR_H
24129 # ifdef __CYGWIN__
24130 # include <stddef.h>
24131 # endif
24132 # include <wchar.h>
24133 #endif
24134 #ifdef HAVE_STDLIB_H
24135 # include <stdlib.h>
24136 #endif
24137 #include <stdio.h>
24138
24139
24140
24141 typedef wchar_t ac__type_sizeof_;
24142 int
24143 main ()
24144 {
24145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24146 test_array [0] = 0
24147
24148 ;
24149 return 0;
24150 }
24151 _ACEOF
24152 rm -f conftest.$ac_objext
24153 if { (ac_try="$ac_compile"
24154 case "(($ac_try" in
24155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24156 *) ac_try_echo=$ac_try;;
24157 esac
24158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24159 (eval "$ac_compile") 2>conftest.er1
24160 ac_status=$?
24161 grep -v '^ *+' conftest.er1 >conftest.err
24162 rm -f conftest.er1
24163 cat conftest.err >&5
24164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24165 (exit $ac_status); } && {
24166 test -z "$ac_c_werror_flag" ||
24167 test ! -s conftest.err
24168 } && test -s conftest.$ac_objext; then
24169 ac_hi=$ac_mid
24170 else
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24173
24174 ac_lo=`expr '(' $ac_mid ')' + 1`
24175 fi
24176
24177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24178 done
24179 case $ac_lo in
24180 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24181 '') if test "$ac_cv_type_wchar_t" = yes; then
24182 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24183 See \`config.log' for more details." >&5
24184 echo "$as_me: error: cannot compute sizeof (wchar_t)
24185 See \`config.log' for more details." >&2;}
24186 { (exit 77); exit 77; }; }
24187 else
24188 ac_cv_sizeof_wchar_t=0
24189 fi ;;
24190 esac
24191 else
24192 cat >conftest.$ac_ext <<_ACEOF
24193 /* confdefs.h. */
24194 _ACEOF
24195 cat confdefs.h >>conftest.$ac_ext
24196 cat >>conftest.$ac_ext <<_ACEOF
24197 /* end confdefs.h. */
24198
24199 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24200 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24201 # error "fake wchar_t"
24202 #endif
24203 #ifdef HAVE_WCHAR_H
24204 # ifdef __CYGWIN__
24205 # include <stddef.h>
24206 # endif
24207 # include <wchar.h>
24208 #endif
24209 #ifdef HAVE_STDLIB_H
24210 # include <stdlib.h>
24211 #endif
24212 #include <stdio.h>
24213
24214
24215
24216 typedef wchar_t ac__type_sizeof_;
24217 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24218 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24219 #include <stdio.h>
24220 #include <stdlib.h>
24221 int
24222 main ()
24223 {
24224
24225 FILE *f = fopen ("conftest.val", "w");
24226 if (! f)
24227 return 1;
24228 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24229 {
24230 long int i = longval ();
24231 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24232 return 1;
24233 fprintf (f, "%ld\n", i);
24234 }
24235 else
24236 {
24237 unsigned long int i = ulongval ();
24238 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24239 return 1;
24240 fprintf (f, "%lu\n", i);
24241 }
24242 return ferror (f) || fclose (f) != 0;
24243
24244 ;
24245 return 0;
24246 }
24247 _ACEOF
24248 rm -f conftest$ac_exeext
24249 if { (ac_try="$ac_link"
24250 case "(($ac_try" in
24251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24252 *) ac_try_echo=$ac_try;;
24253 esac
24254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24255 (eval "$ac_link") 2>&5
24256 ac_status=$?
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24259 { (case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24262 esac
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_try") 2>&5
24265 ac_status=$?
24266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267 (exit $ac_status); }; }; then
24268 ac_cv_sizeof_wchar_t=`cat conftest.val`
24269 else
24270 echo "$as_me: program exited with status $ac_status" >&5
24271 echo "$as_me: failed program was:" >&5
24272 sed 's/^/| /' conftest.$ac_ext >&5
24273
24274 ( exit $ac_status )
24275 if test "$ac_cv_type_wchar_t" = yes; then
24276 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24277 See \`config.log' for more details." >&5
24278 echo "$as_me: error: cannot compute sizeof (wchar_t)
24279 See \`config.log' for more details." >&2;}
24280 { (exit 77); exit 77; }; }
24281 else
24282 ac_cv_sizeof_wchar_t=0
24283 fi
24284 fi
24285 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24286 fi
24287 rm -f conftest.val
24288 fi
24289 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24290 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24291
24292
24293
24294 cat >>confdefs.h <<_ACEOF
24295 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24296 _ACEOF
24297
24298
24299 if test "$ac_cv_sizeof_wchar_t" = 0; then
24300 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24301 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24302 { (exit 1); exit 1; }; }
24303 fi
24304 cat >>confdefs.h <<\_ACEOF
24305 #define wxUSE_WCHAR_T 1
24306 _ACEOF
24307
24308
24309 { echo "$as_me:$LINENO: checking for va_copy" >&5
24310 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24311 if test "${wx_cv_func_va_copy+set}" = set; then
24312 echo $ECHO_N "(cached) $ECHO_C" >&6
24313 else
24314
24315 ac_ext=cpp
24316 ac_cpp='$CXXCPP $CPPFLAGS'
24317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24320
24321 cat >conftest.$ac_ext <<_ACEOF
24322
24323 #include <stdarg.h>
24324 void foo(char *f, ...)
24325 {
24326 va_list ap1, ap2;
24327 va_start(ap1, f);
24328 va_copy(ap2, ap1);
24329 va_end(ap2);
24330 va_end(ap1);
24331 }
24332 int main()
24333 {
24334 foo("hi", 17);
24335 return 0;
24336 }
24337 _ACEOF
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (ac_try="$ac_link"
24340 case "(($ac_try" in
24341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24342 *) ac_try_echo=$ac_try;;
24343 esac
24344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24345 (eval "$ac_link") 2>conftest.er1
24346 ac_status=$?
24347 grep -v '^ *+' conftest.er1 >conftest.err
24348 rm -f conftest.er1
24349 cat conftest.err >&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } && {
24352 test -z "$ac_cxx_werror_flag" ||
24353 test ! -s conftest.err
24354 } && test -s conftest$ac_exeext &&
24355 $as_test_x conftest$ac_exeext; then
24356 wx_cv_func_va_copy=yes
24357 else
24358 echo "$as_me: failed program was:" >&5
24359 sed 's/^/| /' conftest.$ac_ext >&5
24360
24361 wx_cv_func_va_copy=no
24362
24363 fi
24364
24365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24366 conftest$ac_exeext conftest.$ac_ext
24367 ac_ext=c
24368 ac_cpp='$CPP $CPPFLAGS'
24369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24372
24373
24374
24375 fi
24376 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24377 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24378
24379 if test $wx_cv_func_va_copy = "yes"; then
24380 cat >>confdefs.h <<\_ACEOF
24381 #define HAVE_VA_COPY 1
24382 _ACEOF
24383
24384 else
24385 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24386 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24387 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24388 echo $ECHO_N "(cached) $ECHO_C" >&6
24389 else
24390
24391 if test "$cross_compiling" = yes; then
24392 wx_cv_type_va_list_lvalue=yes
24393
24394 else
24395 cat >conftest.$ac_ext <<_ACEOF
24396
24397 #include <stdarg.h>
24398 int foo(char *f, ...)
24399 {
24400 va_list ap1, ap2;
24401 va_start(ap1, f);
24402 ap2 = ap1;
24403 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24404 return 1;
24405 va_end(ap2);
24406 va_end(ap1);
24407 return 0;
24408 }
24409 int main()
24410 {
24411 return foo("hi", 17);
24412 }
24413 _ACEOF
24414 rm -f conftest$ac_exeext
24415 if { (ac_try="$ac_link"
24416 case "(($ac_try" in
24417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24418 *) ac_try_echo=$ac_try;;
24419 esac
24420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24421 (eval "$ac_link") 2>&5
24422 ac_status=$?
24423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24425 { (case "(($ac_try" in
24426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24427 *) ac_try_echo=$ac_try;;
24428 esac
24429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24430 (eval "$ac_try") 2>&5
24431 ac_status=$?
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; }; then
24434 wx_cv_type_va_list_lvalue=yes
24435 else
24436 echo "$as_me: program exited with status $ac_status" >&5
24437 echo "$as_me: failed program was:" >&5
24438 sed 's/^/| /' conftest.$ac_ext >&5
24439
24440 ( exit $ac_status )
24441 wx_cv_type_va_list_lvalue=no
24442 fi
24443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24444 fi
24445
24446
24447
24448
24449 fi
24450 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24451 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24452
24453 if test $wx_cv_type_va_list_lvalue != "yes"; then
24454 cat >>confdefs.h <<\_ACEOF
24455 #define VA_LIST_IS_ARRAY 1
24456 _ACEOF
24457
24458 fi
24459 fi
24460
24461 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24462
24463 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24464 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24465 if test "${wx_cv_have_variadic_macros+set}" = set; then
24466 echo $ECHO_N "(cached) $ECHO_C" >&6
24467 else
24468
24469 ac_ext=cpp
24470 ac_cpp='$CXXCPP $CPPFLAGS'
24471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24474
24475 cat >conftest.$ac_ext <<_ACEOF
24476 /* confdefs.h. */
24477 _ACEOF
24478 cat confdefs.h >>conftest.$ac_ext
24479 cat >>conftest.$ac_ext <<_ACEOF
24480 /* end confdefs.h. */
24481
24482 #include <stdio.h>
24483 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24484
24485 int
24486 main ()
24487 {
24488
24489 test("%s %d %p", "test", 1, 0);
24490
24491
24492 ;
24493 return 0;
24494 }
24495 _ACEOF
24496 rm -f conftest.$ac_objext
24497 if { (ac_try="$ac_compile"
24498 case "(($ac_try" in
24499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24500 *) ac_try_echo=$ac_try;;
24501 esac
24502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24503 (eval "$ac_compile") 2>conftest.er1
24504 ac_status=$?
24505 grep -v '^ *+' conftest.er1 >conftest.err
24506 rm -f conftest.er1
24507 cat conftest.err >&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); } && {
24510 test -z "$ac_cxx_werror_flag" ||
24511 test ! -s conftest.err
24512 } && test -s conftest.$ac_objext; then
24513 wx_cv_have_variadic_macros=yes
24514 else
24515 echo "$as_me: failed program was:" >&5
24516 sed 's/^/| /' conftest.$ac_ext >&5
24517
24518 wx_cv_have_variadic_macros=no
24519
24520 fi
24521
24522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24523 ac_ext=c
24524 ac_cpp='$CPP $CPPFLAGS'
24525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24528
24529
24530
24531 fi
24532 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24533 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24534
24535 if test $wx_cv_have_variadic_macros = "yes"; then
24536 cat >>confdefs.h <<\_ACEOF
24537 #define HAVE_VARIADIC_MACROS 1
24538 _ACEOF
24539
24540 fi
24541
24542 fi
24543
24544 LARGEFILE_CPPFLAGS=
24545 # Check whether --enable-largefile was given.
24546 if test "${enable_largefile+set}" = set; then
24547 enableval=$enable_largefile;
24548 fi
24549
24550 if test "$enable_largefile" != no; then
24551 wx_largefile=no
24552
24553 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24554 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24555 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24556 echo $ECHO_N "(cached) $ECHO_C" >&6
24557 else
24558
24559 cat >conftest.$ac_ext <<_ACEOF
24560 /* confdefs.h. */
24561 _ACEOF
24562 cat confdefs.h >>conftest.$ac_ext
24563 cat >>conftest.$ac_ext <<_ACEOF
24564 /* end confdefs.h. */
24565 #define _FILE_OFFSET_BITS 64
24566 #include <sys/types.h>
24567 int
24568 main ()
24569 {
24570 typedef struct {
24571 unsigned int field: sizeof(off_t) == 8;
24572 } wxlf;
24573
24574 ;
24575 return 0;
24576 }
24577 _ACEOF
24578 rm -f conftest.$ac_objext
24579 if { (ac_try="$ac_compile"
24580 case "(($ac_try" in
24581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24582 *) ac_try_echo=$ac_try;;
24583 esac
24584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24585 (eval "$ac_compile") 2>conftest.er1
24586 ac_status=$?
24587 grep -v '^ *+' conftest.er1 >conftest.err
24588 rm -f conftest.er1
24589 cat conftest.err >&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } && {
24592 test -z "$ac_c_werror_flag" ||
24593 test ! -s conftest.err
24594 } && test -s conftest.$ac_objext; then
24595 ac_cv_sys_file_offset_bits=64
24596 else
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24599
24600 ac_cv_sys_file_offset_bits=no
24601 fi
24602
24603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604
24605
24606 fi
24607 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24608 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24609
24610 if test "$ac_cv_sys_file_offset_bits" != no; then
24611 wx_largefile=yes
24612 cat >>confdefs.h <<_ACEOF
24613 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24614 _ACEOF
24615
24616 fi
24617
24618 if test "x$wx_largefile" != "xyes"; then
24619
24620 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24621 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24622 if test "${ac_cv_sys_large_files+set}" = set; then
24623 echo $ECHO_N "(cached) $ECHO_C" >&6
24624 else
24625
24626 cat >conftest.$ac_ext <<_ACEOF
24627 /* confdefs.h. */
24628 _ACEOF
24629 cat confdefs.h >>conftest.$ac_ext
24630 cat >>conftest.$ac_ext <<_ACEOF
24631 /* end confdefs.h. */
24632 #define _LARGE_FILES 1
24633 #include <sys/types.h>
24634 int
24635 main ()
24636 {
24637 typedef struct {
24638 unsigned int field: sizeof(off_t) == 8;
24639 } wxlf;
24640
24641 ;
24642 return 0;
24643 }
24644 _ACEOF
24645 rm -f conftest.$ac_objext
24646 if { (ac_try="$ac_compile"
24647 case "(($ac_try" in
24648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24649 *) ac_try_echo=$ac_try;;
24650 esac
24651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24652 (eval "$ac_compile") 2>conftest.er1
24653 ac_status=$?
24654 grep -v '^ *+' conftest.er1 >conftest.err
24655 rm -f conftest.er1
24656 cat conftest.err >&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } && {
24659 test -z "$ac_c_werror_flag" ||
24660 test ! -s conftest.err
24661 } && test -s conftest.$ac_objext; then
24662 ac_cv_sys_large_files=1
24663 else
24664 echo "$as_me: failed program was:" >&5
24665 sed 's/^/| /' conftest.$ac_ext >&5
24666
24667 ac_cv_sys_large_files=no
24668 fi
24669
24670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24671
24672
24673 fi
24674 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24675 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24676
24677 if test "$ac_cv_sys_large_files" != no; then
24678 wx_largefile=yes
24679 cat >>confdefs.h <<_ACEOF
24680 #define _LARGE_FILES $ac_cv_sys_large_files
24681 _ACEOF
24682
24683 fi
24684
24685 fi
24686
24687 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24688 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24689 if test "x$wx_largefile" = "xyes"; then
24690 cat >>confdefs.h <<\_ACEOF
24691 #define HAVE_LARGEFILE_SUPPORT 1
24692 _ACEOF
24693
24694 fi
24695 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24696 echo "${ECHO_T}$wx_largefile" >&6; }
24697 fi
24698
24699 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24700 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24701 elif test "$ac_cv_sys_large_files" = 1; then
24702 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24703 fi
24704
24705 if test -n "$LARGEFILE_CPPFLAGS"; then
24706 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24707
24708 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24709 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24710 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24711 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24713 else
24714
24715 ac_ext=cpp
24716 ac_cpp='$CXXCPP $CPPFLAGS'
24717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24720
24721 cat >conftest.$ac_ext <<_ACEOF
24722 /* confdefs.h. */
24723 _ACEOF
24724 cat confdefs.h >>conftest.$ac_ext
24725 cat >>conftest.$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24727
24728 int
24729 main ()
24730 {
24731
24732 #ifndef __STDC_EXT__
24733 choke me
24734 #endif
24735
24736 ;
24737 return 0;
24738 }
24739 _ACEOF
24740 rm -f conftest.$ac_objext
24741 if { (ac_try="$ac_compile"
24742 case "(($ac_try" in
24743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24744 *) ac_try_echo=$ac_try;;
24745 esac
24746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24747 (eval "$ac_compile") 2>conftest.er1
24748 ac_status=$?
24749 grep -v '^ *+' conftest.er1 >conftest.err
24750 rm -f conftest.er1
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } && {
24754 test -z "$ac_cxx_werror_flag" ||
24755 test ! -s conftest.err
24756 } && test -s conftest.$ac_objext; then
24757 wx_cv_STDC_EXT_required=no
24758 else
24759 echo "$as_me: failed program was:" >&5
24760 sed 's/^/| /' conftest.$ac_ext >&5
24761
24762 wx_cv_STDC_EXT_required=yes
24763
24764 fi
24765
24766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24767 ac_ext=c
24768 ac_cpp='$CPP $CPPFLAGS'
24769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24772
24773
24774
24775 fi
24776 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24777 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24778 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24779 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24780 fi
24781 fi
24782 fi
24783
24784 ac_ext=cpp
24785 ac_cpp='$CXXCPP $CPPFLAGS'
24786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24789
24790 old_CPPFLAGS="$CPPFLAGS"
24791 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24792 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24793 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24794 if test "${ac_cv_sys_largefile_source+set}" = set; then
24795 echo $ECHO_N "(cached) $ECHO_C" >&6
24796 else
24797 while :; do
24798 cat >conftest.$ac_ext <<_ACEOF
24799 /* confdefs.h. */
24800 _ACEOF
24801 cat confdefs.h >>conftest.$ac_ext
24802 cat >>conftest.$ac_ext <<_ACEOF
24803 /* end confdefs.h. */
24804 #include <sys/types.h> /* for off_t */
24805 #include <stdio.h>
24806 int
24807 main ()
24808 {
24809 int (*fp) (FILE *, off_t, int) = fseeko;
24810 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24811 ;
24812 return 0;
24813 }
24814 _ACEOF
24815 rm -f conftest.$ac_objext conftest$ac_exeext
24816 if { (ac_try="$ac_link"
24817 case "(($ac_try" in
24818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24819 *) ac_try_echo=$ac_try;;
24820 esac
24821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24822 (eval "$ac_link") 2>conftest.er1
24823 ac_status=$?
24824 grep -v '^ *+' conftest.er1 >conftest.err
24825 rm -f conftest.er1
24826 cat conftest.err >&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); } && {
24829 test -z "$ac_cxx_werror_flag" ||
24830 test ! -s conftest.err
24831 } && test -s conftest$ac_exeext &&
24832 $as_test_x conftest$ac_exeext; then
24833 ac_cv_sys_largefile_source=no; break
24834 else
24835 echo "$as_me: failed program was:" >&5
24836 sed 's/^/| /' conftest.$ac_ext >&5
24837
24838
24839 fi
24840
24841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24842 conftest$ac_exeext conftest.$ac_ext
24843 cat >conftest.$ac_ext <<_ACEOF
24844 /* confdefs.h. */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849 #define _LARGEFILE_SOURCE 1
24850 #include <sys/types.h> /* for off_t */
24851 #include <stdio.h>
24852 int
24853 main ()
24854 {
24855 int (*fp) (FILE *, off_t, int) = fseeko;
24856 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24857 ;
24858 return 0;
24859 }
24860 _ACEOF
24861 rm -f conftest.$ac_objext conftest$ac_exeext
24862 if { (ac_try="$ac_link"
24863 case "(($ac_try" in
24864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24865 *) ac_try_echo=$ac_try;;
24866 esac
24867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24868 (eval "$ac_link") 2>conftest.er1
24869 ac_status=$?
24870 grep -v '^ *+' conftest.er1 >conftest.err
24871 rm -f conftest.er1
24872 cat conftest.err >&5
24873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 (exit $ac_status); } && {
24875 test -z "$ac_cxx_werror_flag" ||
24876 test ! -s conftest.err
24877 } && test -s conftest$ac_exeext &&
24878 $as_test_x conftest$ac_exeext; then
24879 ac_cv_sys_largefile_source=1; break
24880 else
24881 echo "$as_me: failed program was:" >&5
24882 sed 's/^/| /' conftest.$ac_ext >&5
24883
24884
24885 fi
24886
24887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24888 conftest$ac_exeext conftest.$ac_ext
24889 ac_cv_sys_largefile_source=unknown
24890 break
24891 done
24892 fi
24893 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24894 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24895 case $ac_cv_sys_largefile_source in #(
24896 no | unknown) ;;
24897 *)
24898 cat >>confdefs.h <<_ACEOF
24899 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24900 _ACEOF
24901 ;;
24902 esac
24903 rm -f conftest*
24904
24905 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24906 # in glibc 2.1.3, but that breaks too many other things.
24907 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24908 if test $ac_cv_sys_largefile_source != unknown; then
24909
24910 cat >>confdefs.h <<\_ACEOF
24911 #define HAVE_FSEEKO 1
24912 _ACEOF
24913
24914 fi
24915
24916 CPPFLAGS="$old_CPPFLAGS"
24917 ac_ext=c
24918 ac_cpp='$CPP $CPPFLAGS'
24919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24922
24923 if test "$ac_cv_sys_largefile_source" != no; then
24924 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24925 fi
24926
24927 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24928 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24929 if test "${ac_cv_c_bigendian+set}" = set; then
24930 echo $ECHO_N "(cached) $ECHO_C" >&6
24931 else
24932 ac_cv_c_bigendian=unknown
24933 # See if sys/param.h defines the BYTE_ORDER macro.
24934 cat >conftest.$ac_ext <<_ACEOF
24935 /* confdefs.h. */
24936 _ACEOF
24937 cat confdefs.h >>conftest.$ac_ext
24938 cat >>conftest.$ac_ext <<_ACEOF
24939 /* end confdefs.h. */
24940 #include <sys/types.h>
24941 #include <sys/param.h>
24942 int
24943 main ()
24944 {
24945
24946 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24947 bogus endian macros
24948 #endif
24949 ;
24950 return 0;
24951 }
24952 _ACEOF
24953 rm -f conftest.$ac_objext
24954 if { (ac_try="$ac_compile"
24955 case "(($ac_try" in
24956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24957 *) ac_try_echo=$ac_try;;
24958 esac
24959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24960 (eval "$ac_compile") 2>conftest.er1
24961 ac_status=$?
24962 grep -v '^ *+' conftest.er1 >conftest.err
24963 rm -f conftest.er1
24964 cat conftest.err >&5
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); } && {
24967 test -z "$ac_c_werror_flag" ||
24968 test ! -s conftest.err
24969 } && test -s conftest.$ac_objext; then
24970 # It does; now see whether it defined to BIG_ENDIAN or not.
24971 cat >conftest.$ac_ext <<_ACEOF
24972 /* confdefs.h. */
24973 _ACEOF
24974 cat confdefs.h >>conftest.$ac_ext
24975 cat >>conftest.$ac_ext <<_ACEOF
24976 /* end confdefs.h. */
24977 #include <sys/types.h>
24978 #include <sys/param.h>
24979 int
24980 main ()
24981 {
24982
24983 #if BYTE_ORDER != BIG_ENDIAN
24984 not big endian
24985 #endif
24986 ;
24987 return 0;
24988 }
24989 _ACEOF
24990 rm -f conftest.$ac_objext
24991 if { (ac_try="$ac_compile"
24992 case "(($ac_try" in
24993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24994 *) ac_try_echo=$ac_try;;
24995 esac
24996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24997 (eval "$ac_compile") 2>conftest.er1
24998 ac_status=$?
24999 grep -v '^ *+' conftest.er1 >conftest.err
25000 rm -f conftest.er1
25001 cat conftest.err >&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); } && {
25004 test -z "$ac_c_werror_flag" ||
25005 test ! -s conftest.err
25006 } && test -s conftest.$ac_objext; then
25007 ac_cv_c_bigendian=yes
25008 else
25009 echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.$ac_ext >&5
25011
25012 ac_cv_c_bigendian=no
25013 fi
25014
25015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25016 else
25017 echo "$as_me: failed program was:" >&5
25018 sed 's/^/| /' conftest.$ac_ext >&5
25019
25020
25021 fi
25022
25023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25024 if test $ac_cv_c_bigendian = unknown; then
25025 if test "$cross_compiling" = yes; then
25026 ac_cv_c_bigendian=unknown
25027 else
25028 cat >conftest.$ac_ext <<_ACEOF
25029 /* confdefs.h. */
25030 _ACEOF
25031 cat confdefs.h >>conftest.$ac_ext
25032 cat >>conftest.$ac_ext <<_ACEOF
25033 /* end confdefs.h. */
25034 main () {
25035 /* Are we little or big endian? From Harbison&Steele. */
25036 union
25037 {
25038 long l;
25039 char c[sizeof (long)];
25040 } u;
25041 u.l = 1;
25042 exit (u.c[sizeof (long) - 1] == 1);
25043 }
25044 _ACEOF
25045 rm -f conftest$ac_exeext
25046 if { (ac_try="$ac_link"
25047 case "(($ac_try" in
25048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25049 *) ac_try_echo=$ac_try;;
25050 esac
25051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25052 (eval "$ac_link") 2>&5
25053 ac_status=$?
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25056 { (case "(($ac_try" in
25057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25058 *) ac_try_echo=$ac_try;;
25059 esac
25060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25061 (eval "$ac_try") 2>&5
25062 ac_status=$?
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); }; }; then
25065 ac_cv_c_bigendian=no
25066 else
25067 echo "$as_me: program exited with status $ac_status" >&5
25068 echo "$as_me: failed program was:" >&5
25069 sed 's/^/| /' conftest.$ac_ext >&5
25070
25071 ( exit $ac_status )
25072 ac_cv_c_bigendian=yes
25073 fi
25074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25075 fi
25076
25077
25078 fi
25079 fi
25080 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25081 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25082 if test $ac_cv_c_bigendian = unknown; then
25083 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25084 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25085 fi
25086 if test $ac_cv_c_bigendian = yes; then
25087 cat >>confdefs.h <<\_ACEOF
25088 #define WORDS_BIGENDIAN 1
25089 _ACEOF
25090
25091 fi
25092
25093
25094
25095
25096 ac_ext=cpp
25097 ac_cpp='$CXXCPP $CPPFLAGS'
25098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25101
25102
25103
25104 for ac_header in iostream
25105 do
25106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25110 echo $ECHO_N "(cached) $ECHO_C" >&6
25111 else
25112 cat >conftest.$ac_ext <<_ACEOF
25113 /* confdefs.h. */
25114 _ACEOF
25115 cat confdefs.h >>conftest.$ac_ext
25116 cat >>conftest.$ac_ext <<_ACEOF
25117 /* end confdefs.h. */
25118
25119
25120 #include <$ac_header>
25121 _ACEOF
25122 rm -f conftest.$ac_objext
25123 if { (ac_try="$ac_compile"
25124 case "(($ac_try" in
25125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25126 *) ac_try_echo=$ac_try;;
25127 esac
25128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25129 (eval "$ac_compile") 2>conftest.er1
25130 ac_status=$?
25131 grep -v '^ *+' conftest.er1 >conftest.err
25132 rm -f conftest.er1
25133 cat conftest.err >&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); } && {
25136 test -z "$ac_cxx_werror_flag" ||
25137 test ! -s conftest.err
25138 } && test -s conftest.$ac_objext; then
25139 eval "$as_ac_Header=yes"
25140 else
25141 echo "$as_me: failed program was:" >&5
25142 sed 's/^/| /' conftest.$ac_ext >&5
25143
25144 eval "$as_ac_Header=no"
25145 fi
25146
25147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25148 fi
25149 ac_res=`eval echo '${'$as_ac_Header'}'`
25150 { echo "$as_me:$LINENO: result: $ac_res" >&5
25151 echo "${ECHO_T}$ac_res" >&6; }
25152 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25153 cat >>confdefs.h <<_ACEOF
25154 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25155 _ACEOF
25156
25157 fi
25158
25159 done
25160
25161
25162 if test "$ac_cv_header_iostream" = "yes" ; then
25163 :
25164 else
25165 cat >>confdefs.h <<\_ACEOF
25166 #define wxUSE_IOSTREAMH 1
25167 _ACEOF
25168
25169 fi
25170
25171 ac_ext=c
25172 ac_cpp='$CPP $CPPFLAGS'
25173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25176
25177
25178
25179
25180 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25181 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25182 if test "${wx_cv_explicit+set}" = set; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 else
25185
25186
25187 ac_ext=cpp
25188 ac_cpp='$CXXCPP $CPPFLAGS'
25189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25192
25193
25194 cat >conftest.$ac_ext <<_ACEOF
25195 /* confdefs.h. */
25196 _ACEOF
25197 cat confdefs.h >>conftest.$ac_ext
25198 cat >>conftest.$ac_ext <<_ACEOF
25199 /* end confdefs.h. */
25200
25201 class Foo { public: explicit Foo(int) {} };
25202
25203 int
25204 main ()
25205 {
25206
25207 return 0;
25208
25209 ;
25210 return 0;
25211 }
25212 _ACEOF
25213 rm -f conftest.$ac_objext
25214 if { (ac_try="$ac_compile"
25215 case "(($ac_try" in
25216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25217 *) ac_try_echo=$ac_try;;
25218 esac
25219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25220 (eval "$ac_compile") 2>conftest.er1
25221 ac_status=$?
25222 grep -v '^ *+' conftest.er1 >conftest.err
25223 rm -f conftest.er1
25224 cat conftest.err >&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } && {
25227 test -z "$ac_cxx_werror_flag" ||
25228 test ! -s conftest.err
25229 } && test -s conftest.$ac_objext; then
25230
25231 cat >conftest.$ac_ext <<_ACEOF
25232 /* confdefs.h. */
25233 _ACEOF
25234 cat confdefs.h >>conftest.$ac_ext
25235 cat >>conftest.$ac_ext <<_ACEOF
25236 /* end confdefs.h. */
25237
25238 class Foo { public: explicit Foo(int) {} };
25239 static void TakeFoo(const Foo& foo) { }
25240
25241 int
25242 main ()
25243 {
25244
25245 TakeFoo(17);
25246 return 0;
25247
25248 ;
25249 return 0;
25250 }
25251 _ACEOF
25252 rm -f conftest.$ac_objext
25253 if { (ac_try="$ac_compile"
25254 case "(($ac_try" in
25255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25256 *) ac_try_echo=$ac_try;;
25257 esac
25258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25259 (eval "$ac_compile") 2>conftest.er1
25260 ac_status=$?
25261 grep -v '^ *+' conftest.er1 >conftest.err
25262 rm -f conftest.er1
25263 cat conftest.err >&5
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); } && {
25266 test -z "$ac_cxx_werror_flag" ||
25267 test ! -s conftest.err
25268 } && test -s conftest.$ac_objext; then
25269 wx_cv_explicit=no
25270 else
25271 echo "$as_me: failed program was:" >&5
25272 sed 's/^/| /' conftest.$ac_ext >&5
25273
25274 wx_cv_explicit=yes
25275
25276 fi
25277
25278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25279
25280 else
25281 echo "$as_me: failed program was:" >&5
25282 sed 's/^/| /' conftest.$ac_ext >&5
25283
25284 wx_cv_explicit=no
25285
25286 fi
25287
25288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25289
25290 ac_ext=c
25291 ac_cpp='$CPP $CPPFLAGS'
25292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25295
25296
25297 fi
25298 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25299 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25300
25301 if test "$wx_cv_explicit" = "yes"; then
25302 cat >>confdefs.h <<\_ACEOF
25303 #define HAVE_EXPLICIT 1
25304 _ACEOF
25305
25306 fi
25307
25308
25309 if test "x$SUNCXX" = xyes; then
25310 CXXFLAGS="-features=tmplife $CXXFLAGS"
25311 fi
25312
25313 if test "x$SUNCC" = xyes; then
25314 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25315 fi
25316
25317 if test "x$SGICC" = "xyes"; then
25318 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25319 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25320 if test "${wx_cv_prog_sgicc744+set}" = set; then
25321 echo $ECHO_N "(cached) $ECHO_C" >&6
25322 else
25323
25324 cat >conftest.$ac_ext <<_ACEOF
25325 /* confdefs.h. */
25326 _ACEOF
25327 cat confdefs.h >>conftest.$ac_ext
25328 cat >>conftest.$ac_ext <<_ACEOF
25329 /* end confdefs.h. */
25330
25331 int
25332 main ()
25333 {
25334
25335 #if _SGI_COMPILER_VERSION >= 744
25336 chock me: mipsPro is 7.4.4 or later
25337 #endif
25338
25339 ;
25340 return 0;
25341 }
25342 _ACEOF
25343 rm -f conftest.$ac_objext
25344 if { (ac_try="$ac_compile"
25345 case "(($ac_try" in
25346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25347 *) ac_try_echo=$ac_try;;
25348 esac
25349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25350 (eval "$ac_compile") 2>conftest.er1
25351 ac_status=$?
25352 grep -v '^ *+' conftest.er1 >conftest.err
25353 rm -f conftest.er1
25354 cat conftest.err >&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); } && {
25357 test -z "$ac_c_werror_flag" ||
25358 test ! -s conftest.err
25359 } && test -s conftest.$ac_objext; then
25360 wx_cv_prog_sgicc744=no
25361 else
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.$ac_ext >&5
25364
25365 wx_cv_prog_sgicc744=yes
25366
25367 fi
25368
25369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25370
25371
25372 fi
25373 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25374 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25375
25376 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25377 CFLAGS="-woff 3970 $CFLAGS"
25378 fi
25379 fi
25380 if test "x$SGICXX" = "xyes"; then
25381 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25382 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25383 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25385 else
25386
25387 ac_ext=cpp
25388 ac_cpp='$CXXCPP $CPPFLAGS'
25389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25392
25393 cat >conftest.$ac_ext <<_ACEOF
25394 /* confdefs.h. */
25395 _ACEOF
25396 cat confdefs.h >>conftest.$ac_ext
25397 cat >>conftest.$ac_ext <<_ACEOF
25398 /* end confdefs.h. */
25399
25400 int
25401 main ()
25402 {
25403
25404 #if _SGI_COMPILER_VERSION >= 744
25405 chock me: mipsPro is 7.4.4 or later
25406 #endif
25407
25408 ;
25409 return 0;
25410 }
25411 _ACEOF
25412 rm -f conftest.$ac_objext
25413 if { (ac_try="$ac_compile"
25414 case "(($ac_try" in
25415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25416 *) ac_try_echo=$ac_try;;
25417 esac
25418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25419 (eval "$ac_compile") 2>conftest.er1
25420 ac_status=$?
25421 grep -v '^ *+' conftest.er1 >conftest.err
25422 rm -f conftest.er1
25423 cat conftest.err >&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); } && {
25426 test -z "$ac_cxx_werror_flag" ||
25427 test ! -s conftest.err
25428 } && test -s conftest.$ac_objext; then
25429 wx_cv_prog_sgicxx744=no
25430 else
25431 echo "$as_me: failed program was:" >&5
25432 sed 's/^/| /' conftest.$ac_ext >&5
25433
25434 wx_cv_prog_sgicxx744=yes
25435
25436 fi
25437
25438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25439 ac_ext=c
25440 ac_cpp='$CPP $CPPFLAGS'
25441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25444
25445
25446
25447 fi
25448 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25449 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25450
25451 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25452 CXXFLAGS="-woff 3970 $CXXFLAGS"
25453 fi
25454 fi
25455
25456 if test "x$HPCC" = "xyes"; then
25457 CFLAGS="+W 2011,2450 $CFLAGS"
25458 fi
25459 if test "x$HPCXX" = "xyes"; then
25460 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25461 fi
25462
25463 if test "x$COMPAQCXX" = "xyes"; then
25464 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25465 fi
25466
25467 ac_ext=cpp
25468 ac_cpp='$CXXCPP $CPPFLAGS'
25469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25472
25473
25474 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25475 if test "$wxUSE_UNICODE" = "yes"; then
25476 std_string="std::wstring"
25477 char_type="wchar_t"
25478 else
25479 std_string="std::string"
25480 char_type="char"
25481 fi
25482
25483 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25484 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25485 if test "${wx_cv_class_stdstring+set}" = set; then
25486 echo $ECHO_N "(cached) $ECHO_C" >&6
25487 else
25488
25489 cat >conftest.$ac_ext <<_ACEOF
25490 /* confdefs.h. */
25491 _ACEOF
25492 cat confdefs.h >>conftest.$ac_ext
25493 cat >>conftest.$ac_ext <<_ACEOF
25494 /* end confdefs.h. */
25495 #include <string>
25496 int
25497 main ()
25498 {
25499 $std_string foo;
25500 ;
25501 return 0;
25502 }
25503 _ACEOF
25504 rm -f conftest.$ac_objext
25505 if { (ac_try="$ac_compile"
25506 case "(($ac_try" in
25507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25508 *) ac_try_echo=$ac_try;;
25509 esac
25510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25511 (eval "$ac_compile") 2>conftest.er1
25512 ac_status=$?
25513 grep -v '^ *+' conftest.er1 >conftest.err
25514 rm -f conftest.er1
25515 cat conftest.err >&5
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); } && {
25518 test -z "$ac_cxx_werror_flag" ||
25519 test ! -s conftest.err
25520 } && test -s conftest.$ac_objext; then
25521 wx_cv_class_stdstring=yes
25522 else
25523 echo "$as_me: failed program was:" >&5
25524 sed 's/^/| /' conftest.$ac_ext >&5
25525
25526 wx_cv_class_stdstring=no
25527
25528 fi
25529
25530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25531
25532
25533 fi
25534 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25535 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25536
25537 if test "$wx_cv_class_stdstring" = yes; then
25538 if test "$wxUSE_UNICODE" = "yes"; then
25539 cat >>confdefs.h <<\_ACEOF
25540 #define HAVE_STD_WSTRING 1
25541 _ACEOF
25542
25543 fi
25544 else
25545 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25546 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25547 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25548 echo $ECHO_N "(cached) $ECHO_C" >&6
25549 else
25550
25551 cat >conftest.$ac_ext <<_ACEOF
25552 /* confdefs.h. */
25553 _ACEOF
25554 cat confdefs.h >>conftest.$ac_ext
25555 cat >>conftest.$ac_ext <<_ACEOF
25556 /* end confdefs.h. */
25557
25558 #ifdef HAVE_WCHAR_H
25559 # ifdef __CYGWIN__
25560 # include <stddef.h>
25561 # endif
25562 # include <wchar.h>
25563 #endif
25564 #ifdef HAVE_STDLIB_H
25565 # include <stdlib.h>
25566 #endif
25567 #include <stdio.h>
25568 #include <string>
25569
25570 int
25571 main ()
25572 {
25573 std::basic_string<$char_type> foo;
25574 const $char_type* dummy = foo.c_str();
25575 ;
25576 return 0;
25577 }
25578 _ACEOF
25579 rm -f conftest.$ac_objext
25580 if { (ac_try="$ac_compile"
25581 case "(($ac_try" in
25582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25583 *) ac_try_echo=$ac_try;;
25584 esac
25585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25586 (eval "$ac_compile") 2>conftest.er1
25587 ac_status=$?
25588 grep -v '^ *+' conftest.er1 >conftest.err
25589 rm -f conftest.er1
25590 cat conftest.err >&5
25591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592 (exit $ac_status); } && {
25593 test -z "$ac_cxx_werror_flag" ||
25594 test ! -s conftest.err
25595 } && test -s conftest.$ac_objext; then
25596 wx_cv_class_stdbasicstring=yes
25597 else
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.$ac_ext >&5
25600
25601 wx_cv_class_stdbasicstring=no
25602
25603 fi
25604
25605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25606
25607
25608 fi
25609 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25610 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25611
25612 if test "$wx_cv_class_stdbasicstring" != yes; then
25613 if test "$wxUSE_STL" = "yes"; then
25614 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25615 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25616 { (exit 1); exit 1; }; }
25617 elif test "$wxUSE_STD_STRING" = "yes"; then
25618 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25619 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25620 { (exit 1); exit 1; }; }
25621 else
25622 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25623 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25624 wxUSE_STD_STRING=no
25625 fi
25626 fi
25627 fi
25628 fi
25629
25630 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25631 { echo "$as_me:$LINENO: checking for std::istream" >&5
25632 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25633 if test "${ac_cv_type_std__istream+set}" = set; then
25634 echo $ECHO_N "(cached) $ECHO_C" >&6
25635 else
25636 cat >conftest.$ac_ext <<_ACEOF
25637 /* confdefs.h. */
25638 _ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25642 #include <iostream>
25643
25644 typedef std::istream ac__type_new_;
25645 int
25646 main ()
25647 {
25648 if ((ac__type_new_ *) 0)
25649 return 0;
25650 if (sizeof (ac__type_new_))
25651 return 0;
25652 ;
25653 return 0;
25654 }
25655 _ACEOF
25656 rm -f conftest.$ac_objext
25657 if { (ac_try="$ac_compile"
25658 case "(($ac_try" in
25659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25660 *) ac_try_echo=$ac_try;;
25661 esac
25662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25663 (eval "$ac_compile") 2>conftest.er1
25664 ac_status=$?
25665 grep -v '^ *+' conftest.er1 >conftest.err
25666 rm -f conftest.er1
25667 cat conftest.err >&5
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); } && {
25670 test -z "$ac_cxx_werror_flag" ||
25671 test ! -s conftest.err
25672 } && test -s conftest.$ac_objext; then
25673 ac_cv_type_std__istream=yes
25674 else
25675 echo "$as_me: failed program was:" >&5
25676 sed 's/^/| /' conftest.$ac_ext >&5
25677
25678 ac_cv_type_std__istream=no
25679 fi
25680
25681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25682 fi
25683 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25684 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25685 if test $ac_cv_type_std__istream = yes; then
25686
25687 cat >>confdefs.h <<_ACEOF
25688 #define HAVE_STD__ISTREAM 1
25689 _ACEOF
25690
25691
25692 else
25693 wxUSE_STD_IOSTREAM=no
25694 fi
25695 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25696 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25697 if test "${ac_cv_type_std__ostream+set}" = set; then
25698 echo $ECHO_N "(cached) $ECHO_C" >&6
25699 else
25700 cat >conftest.$ac_ext <<_ACEOF
25701 /* confdefs.h. */
25702 _ACEOF
25703 cat confdefs.h >>conftest.$ac_ext
25704 cat >>conftest.$ac_ext <<_ACEOF
25705 /* end confdefs.h. */
25706 #include <iostream>
25707
25708 typedef std::ostream ac__type_new_;
25709 int
25710 main ()
25711 {
25712 if ((ac__type_new_ *) 0)
25713 return 0;
25714 if (sizeof (ac__type_new_))
25715 return 0;
25716 ;
25717 return 0;
25718 }
25719 _ACEOF
25720 rm -f conftest.$ac_objext
25721 if { (ac_try="$ac_compile"
25722 case "(($ac_try" in
25723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25724 *) ac_try_echo=$ac_try;;
25725 esac
25726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25727 (eval "$ac_compile") 2>conftest.er1
25728 ac_status=$?
25729 grep -v '^ *+' conftest.er1 >conftest.err
25730 rm -f conftest.er1
25731 cat conftest.err >&5
25732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25733 (exit $ac_status); } && {
25734 test -z "$ac_cxx_werror_flag" ||
25735 test ! -s conftest.err
25736 } && test -s conftest.$ac_objext; then
25737 ac_cv_type_std__ostream=yes
25738 else
25739 echo "$as_me: failed program was:" >&5
25740 sed 's/^/| /' conftest.$ac_ext >&5
25741
25742 ac_cv_type_std__ostream=no
25743 fi
25744
25745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25746 fi
25747 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25748 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25749 if test $ac_cv_type_std__ostream = yes; then
25750
25751 cat >>confdefs.h <<_ACEOF
25752 #define HAVE_STD__OSTREAM 1
25753 _ACEOF
25754
25755
25756 else
25757 wxUSE_STD_IOSTREAM=no
25758 fi
25759
25760
25761 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25762 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25763 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25764 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25765 { (exit 1); exit 1; }; }
25766 else
25767 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25768 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25769 fi
25770 fi
25771 fi
25772
25773 if test "$wxUSE_STL" = "yes"; then
25774 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25775 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25776 if test "${wx_cv_lib_stl+set}" = set; then
25777 echo $ECHO_N "(cached) $ECHO_C" >&6
25778 else
25779 cat >conftest.$ac_ext <<_ACEOF
25780 /* confdefs.h. */
25781 _ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25785 #include <string>
25786 #include <functional>
25787 #include <algorithm>
25788 #include <vector>
25789 #include <list>
25790 int
25791 main ()
25792 {
25793 std::vector<int> moo;
25794 std::list<int> foo;
25795 std::vector<int>::iterator it =
25796 std::find_if(moo.begin(), moo.end(),
25797 std::bind2nd(std::less<int>(), 3));
25798 ;
25799 return 0;
25800 }
25801 _ACEOF
25802 rm -f conftest.$ac_objext
25803 if { (ac_try="$ac_compile"
25804 case "(($ac_try" in
25805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25806 *) ac_try_echo=$ac_try;;
25807 esac
25808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25809 (eval "$ac_compile") 2>conftest.er1
25810 ac_status=$?
25811 grep -v '^ *+' conftest.er1 >conftest.err
25812 rm -f conftest.er1
25813 cat conftest.err >&5
25814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815 (exit $ac_status); } && {
25816 test -z "$ac_cxx_werror_flag" ||
25817 test ! -s conftest.err
25818 } && test -s conftest.$ac_objext; then
25819 wx_cv_lib_stl=yes
25820 else
25821 echo "$as_me: failed program was:" >&5
25822 sed 's/^/| /' conftest.$ac_ext >&5
25823
25824 wx_cv_lib_stl=no
25825
25826 fi
25827
25828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25829
25830 fi
25831 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25832 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
25833
25834 if test "$wx_cv_lib_stl" != yes; then
25835 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25836 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25837 { (exit 1); exit 1; }; }
25838 fi
25839
25840 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25841 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
25842 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25843 echo $ECHO_N "(cached) $ECHO_C" >&6
25844 else
25845 cat >conftest.$ac_ext <<_ACEOF
25846 /* confdefs.h. */
25847 _ACEOF
25848 cat confdefs.h >>conftest.$ac_ext
25849 cat >>conftest.$ac_ext <<_ACEOF
25850 /* end confdefs.h. */
25851 #include <string>
25852 int
25853 main ()
25854 {
25855 std::string foo, bar;
25856 foo.compare(bar);
25857 foo.compare(1, 1, bar);
25858 foo.compare(1, 1, bar, 1, 1);
25859 foo.compare("");
25860 foo.compare(1, 1, "");
25861 foo.compare(1, 1, "", 2);
25862 ;
25863 return 0;
25864 }
25865 _ACEOF
25866 rm -f conftest.$ac_objext
25867 if { (ac_try="$ac_compile"
25868 case "(($ac_try" in
25869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25870 *) ac_try_echo=$ac_try;;
25871 esac
25872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25873 (eval "$ac_compile") 2>conftest.er1
25874 ac_status=$?
25875 grep -v '^ *+' conftest.er1 >conftest.err
25876 rm -f conftest.er1
25877 cat conftest.err >&5
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); } && {
25880 test -z "$ac_cxx_werror_flag" ||
25881 test ! -s conftest.err
25882 } && test -s conftest.$ac_objext; then
25883 wx_cv_func_stdstring_compare=yes
25884 else
25885 echo "$as_me: failed program was:" >&5
25886 sed 's/^/| /' conftest.$ac_ext >&5
25887
25888 wx_cv_func_stdstring_compare=no
25889
25890 fi
25891
25892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25893
25894 fi
25895 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25896 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25897
25898 if test "$wx_cv_func_stdstring_compare" = yes; then
25899 cat >>confdefs.h <<\_ACEOF
25900 #define HAVE_STD_STRING_COMPARE 1
25901 _ACEOF
25902
25903 fi
25904
25905 if test "$wx_cv_class_gnuhashmapset" = yes; then
25906 cat >>confdefs.h <<\_ACEOF
25907 #define HAVE_EXT_HASH_MAP 1
25908 _ACEOF
25909
25910 cat >>confdefs.h <<\_ACEOF
25911 #define HAVE_GNU_CXX_HASH_MAP 1
25912 _ACEOF
25913
25914 fi
25915
25916 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25917 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25918 if test "${ac_cv_header_unordered_map+set}" = set; then
25919 echo $ECHO_N "(cached) $ECHO_C" >&6
25920 else
25921 cat >conftest.$ac_ext <<_ACEOF
25922 /* confdefs.h. */
25923 _ACEOF
25924 cat confdefs.h >>conftest.$ac_ext
25925 cat >>conftest.$ac_ext <<_ACEOF
25926 /* end confdefs.h. */
25927
25928
25929
25930 #include <unordered_map>
25931 _ACEOF
25932 rm -f conftest.$ac_objext
25933 if { (ac_try="$ac_compile"
25934 case "(($ac_try" in
25935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25936 *) ac_try_echo=$ac_try;;
25937 esac
25938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25939 (eval "$ac_compile") 2>conftest.er1
25940 ac_status=$?
25941 grep -v '^ *+' conftest.er1 >conftest.err
25942 rm -f conftest.er1
25943 cat conftest.err >&5
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); } && {
25946 test -z "$ac_cxx_werror_flag" ||
25947 test ! -s conftest.err
25948 } && test -s conftest.$ac_objext; then
25949 ac_cv_header_unordered_map=yes
25950 else
25951 echo "$as_me: failed program was:" >&5
25952 sed 's/^/| /' conftest.$ac_ext >&5
25953
25954 ac_cv_header_unordered_map=no
25955 fi
25956
25957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25958 fi
25959 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25960 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25961 if test $ac_cv_header_unordered_map = yes; then
25962 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25963 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25964 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25965 echo $ECHO_N "(cached) $ECHO_C" >&6
25966 else
25967 cat >conftest.$ac_ext <<_ACEOF
25968 /* confdefs.h. */
25969 _ACEOF
25970 cat confdefs.h >>conftest.$ac_ext
25971 cat >>conftest.$ac_ext <<_ACEOF
25972 /* end confdefs.h. */
25973 #include <unordered_map>
25974 #include <unordered_set>
25975 int
25976 main ()
25977 {
25978 std::unordered_map<double*, char*> test1;
25979 std::unordered_set<char*> test2;
25980 ;
25981 return 0;
25982 }
25983 _ACEOF
25984 rm -f conftest.$ac_objext
25985 if { (ac_try="$ac_compile"
25986 case "(($ac_try" in
25987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25988 *) ac_try_echo=$ac_try;;
25989 esac
25990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25991 (eval "$ac_compile") 2>conftest.er1
25992 ac_status=$?
25993 grep -v '^ *+' conftest.er1 >conftest.err
25994 rm -f conftest.er1
25995 cat conftest.err >&5
25996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25997 (exit $ac_status); } && {
25998 test -z "$ac_cxx_werror_flag" ||
25999 test ! -s conftest.err
26000 } && test -s conftest.$ac_objext; then
26001 wx_cv_class_stdunorderedmapset=yes
26002 else
26003 echo "$as_me: failed program was:" >&5
26004 sed 's/^/| /' conftest.$ac_ext >&5
26005
26006 wx_cv_class_stdunorderedmapset=no
26007 fi
26008
26009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26010
26011
26012 fi
26013 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26014 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26015 fi
26016
26017
26018
26019 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26020 cat >>confdefs.h <<\_ACEOF
26021 #define HAVE_STD_UNORDERED_MAP 1
26022 _ACEOF
26023
26024 cat >>confdefs.h <<\_ACEOF
26025 #define HAVE_STD_UNORDERED_SET 1
26026 _ACEOF
26027
26028 else
26029 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26030 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26031 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26032 echo $ECHO_N "(cached) $ECHO_C" >&6
26033 else
26034 cat >conftest.$ac_ext <<_ACEOF
26035 /* confdefs.h. */
26036 _ACEOF
26037 cat confdefs.h >>conftest.$ac_ext
26038 cat >>conftest.$ac_ext <<_ACEOF
26039 /* end confdefs.h. */
26040
26041
26042
26043 #include <tr1/unordered_map>
26044 _ACEOF
26045 rm -f conftest.$ac_objext
26046 if { (ac_try="$ac_compile"
26047 case "(($ac_try" in
26048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26049 *) ac_try_echo=$ac_try;;
26050 esac
26051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26052 (eval "$ac_compile") 2>conftest.er1
26053 ac_status=$?
26054 grep -v '^ *+' conftest.er1 >conftest.err
26055 rm -f conftest.er1
26056 cat conftest.err >&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } && {
26059 test -z "$ac_cxx_werror_flag" ||
26060 test ! -s conftest.err
26061 } && test -s conftest.$ac_objext; then
26062 ac_cv_header_tr1_unordered_map=yes
26063 else
26064 echo "$as_me: failed program was:" >&5
26065 sed 's/^/| /' conftest.$ac_ext >&5
26066
26067 ac_cv_header_tr1_unordered_map=no
26068 fi
26069
26070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26071 fi
26072 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26073 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26074 if test $ac_cv_header_tr1_unordered_map = yes; then
26075 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26076 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26077 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26078 echo $ECHO_N "(cached) $ECHO_C" >&6
26079 else
26080 cat >conftest.$ac_ext <<_ACEOF
26081 /* confdefs.h. */
26082 _ACEOF
26083 cat confdefs.h >>conftest.$ac_ext
26084 cat >>conftest.$ac_ext <<_ACEOF
26085 /* end confdefs.h. */
26086 #include <tr1/unordered_map>
26087 #include <tr1/unordered_set>
26088 int
26089 main ()
26090 {
26091 std::tr1::unordered_map<double*, char*> test1;
26092 std::tr1::unordered_set<char*> test2;
26093 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26094 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26095 #endif
26096 ;
26097 return 0;
26098 }
26099 _ACEOF
26100 rm -f conftest.$ac_objext
26101 if { (ac_try="$ac_compile"
26102 case "(($ac_try" in
26103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26104 *) ac_try_echo=$ac_try;;
26105 esac
26106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26107 (eval "$ac_compile") 2>conftest.er1
26108 ac_status=$?
26109 grep -v '^ *+' conftest.er1 >conftest.err
26110 rm -f conftest.er1
26111 cat conftest.err >&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); } && {
26114 test -z "$ac_cxx_werror_flag" ||
26115 test ! -s conftest.err
26116 } && test -s conftest.$ac_objext; then
26117 wx_cv_class_tr1unorderedmapset=yes
26118 else
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26121
26122 wx_cv_class_tr1unorderedmapset=no
26123 fi
26124
26125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26126
26127
26128 fi
26129 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26130 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26131 fi
26132
26133
26134
26135 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26136 cat >>confdefs.h <<\_ACEOF
26137 #define HAVE_TR1_UNORDERED_MAP 1
26138 _ACEOF
26139
26140 cat >>confdefs.h <<\_ACEOF
26141 #define HAVE_TR1_UNORDERED_SET 1
26142 _ACEOF
26143
26144 else
26145 { echo "$as_me:$LINENO: checking for hash_map" >&5
26146 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26147 if test "${ac_cv_header_hash_map+set}" = set; then
26148 echo $ECHO_N "(cached) $ECHO_C" >&6
26149 else
26150 cat >conftest.$ac_ext <<_ACEOF
26151 /* confdefs.h. */
26152 _ACEOF
26153 cat confdefs.h >>conftest.$ac_ext
26154 cat >>conftest.$ac_ext <<_ACEOF
26155 /* end confdefs.h. */
26156
26157
26158
26159 #include <hash_map>
26160 _ACEOF
26161 rm -f conftest.$ac_objext
26162 if { (ac_try="$ac_compile"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;;
26166 esac
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_compile") 2>conftest.er1
26169 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_cxx_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest.$ac_objext; then
26178 ac_cv_header_hash_map=yes
26179 else
26180 echo "$as_me: failed program was:" >&5
26181 sed 's/^/| /' conftest.$ac_ext >&5
26182
26183 ac_cv_header_hash_map=no
26184 fi
26185
26186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26187 fi
26188 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26189 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26190 if test $ac_cv_header_hash_map = yes; then
26191 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26192 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26193 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26194 echo $ECHO_N "(cached) $ECHO_C" >&6
26195 else
26196 cat >conftest.$ac_ext <<_ACEOF
26197 /* confdefs.h. */
26198 _ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26202 #include <hash_map>
26203 #include <hash_set>
26204 int
26205 main ()
26206 {
26207 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26208 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26209 ;
26210 return 0;
26211 }
26212 _ACEOF
26213 rm -f conftest.$ac_objext
26214 if { (ac_try="$ac_compile"
26215 case "(($ac_try" in
26216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26217 *) ac_try_echo=$ac_try;;
26218 esac
26219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26220 (eval "$ac_compile") 2>conftest.er1
26221 ac_status=$?
26222 grep -v '^ *+' conftest.er1 >conftest.err
26223 rm -f conftest.er1
26224 cat conftest.err >&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); } && {
26227 test -z "$ac_cxx_werror_flag" ||
26228 test ! -s conftest.err
26229 } && test -s conftest.$ac_objext; then
26230 wx_cv_class_stdhashmapset=yes
26231 else
26232 echo "$as_me: failed program was:" >&5
26233 sed 's/^/| /' conftest.$ac_ext >&5
26234
26235 wx_cv_class_stdhashmapset=no
26236 fi
26237
26238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26239
26240
26241 fi
26242 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26243 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26244 fi
26245
26246
26247
26248 if test "$wx_cv_class_stdhashmapset" = yes; then
26249 cat >>confdefs.h <<\_ACEOF
26250 #define HAVE_HASH_MAP 1
26251 _ACEOF
26252
26253 cat >>confdefs.h <<\_ACEOF
26254 #define HAVE_STD_HASH_MAP 1
26255 _ACEOF
26256
26257 fi
26258
26259 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26260 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26261 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26262 echo $ECHO_N "(cached) $ECHO_C" >&6
26263 else
26264 cat >conftest.$ac_ext <<_ACEOF
26265 /* confdefs.h. */
26266 _ACEOF
26267 cat confdefs.h >>conftest.$ac_ext
26268 cat >>conftest.$ac_ext <<_ACEOF
26269 /* end confdefs.h. */
26270
26271
26272
26273 #include <ext/hash_map>
26274 _ACEOF
26275 rm -f conftest.$ac_objext
26276 if { (ac_try="$ac_compile"
26277 case "(($ac_try" in
26278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26279 *) ac_try_echo=$ac_try;;
26280 esac
26281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26282 (eval "$ac_compile") 2>conftest.er1
26283 ac_status=$?
26284 grep -v '^ *+' conftest.er1 >conftest.err
26285 rm -f conftest.er1
26286 cat conftest.err >&5
26287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288 (exit $ac_status); } && {
26289 test -z "$ac_cxx_werror_flag" ||
26290 test ! -s conftest.err
26291 } && test -s conftest.$ac_objext; then
26292 ac_cv_header_ext_hash_map=yes
26293 else
26294 echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.$ac_ext >&5
26296
26297 ac_cv_header_ext_hash_map=no
26298 fi
26299
26300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26301 fi
26302 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26303 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26304 if test $ac_cv_header_ext_hash_map = yes; then
26305 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26306 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26307 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26308 echo $ECHO_N "(cached) $ECHO_C" >&6
26309 else
26310 cat >conftest.$ac_ext <<_ACEOF
26311 /* confdefs.h. */
26312 _ACEOF
26313 cat confdefs.h >>conftest.$ac_ext
26314 cat >>conftest.$ac_ext <<_ACEOF
26315 /* end confdefs.h. */
26316 #include <ext/hash_map>
26317 #include <ext/hash_set>
26318 int
26319 main ()
26320 {
26321 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26322 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26323 ;
26324 return 0;
26325 }
26326 _ACEOF
26327 rm -f conftest.$ac_objext
26328 if { (ac_try="$ac_compile"
26329 case "(($ac_try" in
26330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26331 *) ac_try_echo=$ac_try;;
26332 esac
26333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26334 (eval "$ac_compile") 2>conftest.er1
26335 ac_status=$?
26336 grep -v '^ *+' conftest.er1 >conftest.err
26337 rm -f conftest.er1
26338 cat conftest.err >&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); } && {
26341 test -z "$ac_cxx_werror_flag" ||
26342 test ! -s conftest.err
26343 } && test -s conftest.$ac_objext; then
26344 wx_cv_class_gnuhashmapset=yes
26345 else
26346 echo "$as_me: failed program was:" >&5
26347 sed 's/^/| /' conftest.$ac_ext >&5
26348
26349 wx_cv_class_gnuhashmapset=no
26350 fi
26351
26352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26353
26354
26355 fi
26356 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26357 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26358 fi
26359
26360
26361
26362 fi
26363 fi
26364 fi
26365
26366 ac_ext=cpp
26367 ac_cpp='$CXXCPP $CPPFLAGS'
26368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26371 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26372 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26373 if test -z "$CXXCPP"; then
26374 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26375 echo $ECHO_N "(cached) $ECHO_C" >&6
26376 else
26377 # Double quotes because CXXCPP needs to be expanded
26378 for CXXCPP in "$CXX -E" "/lib/cpp"
26379 do
26380 ac_preproc_ok=false
26381 for ac_cxx_preproc_warn_flag in '' yes
26382 do
26383 # Use a header file that comes with gcc, so configuring glibc
26384 # with a fresh cross-compiler works.
26385 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26386 # <limits.h> exists even on freestanding compilers.
26387 # On the NeXT, cc -E runs the code through the compiler's parser,
26388 # not just through cpp. "Syntax error" is here to catch this case.
26389 cat >conftest.$ac_ext <<_ACEOF
26390 /* confdefs.h. */
26391 _ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395 #ifdef __STDC__
26396 # include <limits.h>
26397 #else
26398 # include <assert.h>
26399 #endif
26400 Syntax error
26401 _ACEOF
26402 if { (ac_try="$ac_cpp conftest.$ac_ext"
26403 case "(($ac_try" in
26404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26405 *) ac_try_echo=$ac_try;;
26406 esac
26407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26408 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26409 ac_status=$?
26410 grep -v '^ *+' conftest.er1 >conftest.err
26411 rm -f conftest.er1
26412 cat conftest.err >&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); } >/dev/null && {
26415 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26416 test ! -s conftest.err
26417 }; then
26418 :
26419 else
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.$ac_ext >&5
26422
26423 # Broken: fails on valid input.
26424 continue
26425 fi
26426
26427 rm -f conftest.err conftest.$ac_ext
26428
26429 # OK, works on sane cases. Now check whether nonexistent headers
26430 # can be detected and how.
26431 cat >conftest.$ac_ext <<_ACEOF
26432 /* confdefs.h. */
26433 _ACEOF
26434 cat confdefs.h >>conftest.$ac_ext
26435 cat >>conftest.$ac_ext <<_ACEOF
26436 /* end confdefs.h. */
26437 #include <ac_nonexistent.h>
26438 _ACEOF
26439 if { (ac_try="$ac_cpp conftest.$ac_ext"
26440 case "(($ac_try" in
26441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26442 *) ac_try_echo=$ac_try;;
26443 esac
26444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26446 ac_status=$?
26447 grep -v '^ *+' conftest.er1 >conftest.err
26448 rm -f conftest.er1
26449 cat conftest.err >&5
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); } >/dev/null && {
26452 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26453 test ! -s conftest.err
26454 }; then
26455 # Broken: success on invalid input.
26456 continue
26457 else
26458 echo "$as_me: failed program was:" >&5
26459 sed 's/^/| /' conftest.$ac_ext >&5
26460
26461 # Passes both tests.
26462 ac_preproc_ok=:
26463 break
26464 fi
26465
26466 rm -f conftest.err conftest.$ac_ext
26467
26468 done
26469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26470 rm -f conftest.err conftest.$ac_ext
26471 if $ac_preproc_ok; then
26472 break
26473 fi
26474
26475 done
26476 ac_cv_prog_CXXCPP=$CXXCPP
26477
26478 fi
26479 CXXCPP=$ac_cv_prog_CXXCPP
26480 else
26481 ac_cv_prog_CXXCPP=$CXXCPP
26482 fi
26483 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26484 echo "${ECHO_T}$CXXCPP" >&6; }
26485 ac_preproc_ok=false
26486 for ac_cxx_preproc_warn_flag in '' yes
26487 do
26488 # Use a header file that comes with gcc, so configuring glibc
26489 # with a fresh cross-compiler works.
26490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26491 # <limits.h> exists even on freestanding compilers.
26492 # On the NeXT, cc -E runs the code through the compiler's parser,
26493 # not just through cpp. "Syntax error" is here to catch this case.
26494 cat >conftest.$ac_ext <<_ACEOF
26495 /* confdefs.h. */
26496 _ACEOF
26497 cat confdefs.h >>conftest.$ac_ext
26498 cat >>conftest.$ac_ext <<_ACEOF
26499 /* end confdefs.h. */
26500 #ifdef __STDC__
26501 # include <limits.h>
26502 #else
26503 # include <assert.h>
26504 #endif
26505 Syntax error
26506 _ACEOF
26507 if { (ac_try="$ac_cpp conftest.$ac_ext"
26508 case "(($ac_try" in
26509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26510 *) ac_try_echo=$ac_try;;
26511 esac
26512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26513 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26514 ac_status=$?
26515 grep -v '^ *+' conftest.er1 >conftest.err
26516 rm -f conftest.er1
26517 cat conftest.err >&5
26518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26519 (exit $ac_status); } >/dev/null && {
26520 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26521 test ! -s conftest.err
26522 }; then
26523 :
26524 else
26525 echo "$as_me: failed program was:" >&5
26526 sed 's/^/| /' conftest.$ac_ext >&5
26527
26528 # Broken: fails on valid input.
26529 continue
26530 fi
26531
26532 rm -f conftest.err conftest.$ac_ext
26533
26534 # OK, works on sane cases. Now check whether nonexistent headers
26535 # can be detected and how.
26536 cat >conftest.$ac_ext <<_ACEOF
26537 /* confdefs.h. */
26538 _ACEOF
26539 cat confdefs.h >>conftest.$ac_ext
26540 cat >>conftest.$ac_ext <<_ACEOF
26541 /* end confdefs.h. */
26542 #include <ac_nonexistent.h>
26543 _ACEOF
26544 if { (ac_try="$ac_cpp conftest.$ac_ext"
26545 case "(($ac_try" in
26546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26547 *) ac_try_echo=$ac_try;;
26548 esac
26549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26551 ac_status=$?
26552 grep -v '^ *+' conftest.er1 >conftest.err
26553 rm -f conftest.er1
26554 cat conftest.err >&5
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); } >/dev/null && {
26557 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26558 test ! -s conftest.err
26559 }; then
26560 # Broken: success on invalid input.
26561 continue
26562 else
26563 echo "$as_me: failed program was:" >&5
26564 sed 's/^/| /' conftest.$ac_ext >&5
26565
26566 # Passes both tests.
26567 ac_preproc_ok=:
26568 break
26569 fi
26570
26571 rm -f conftest.err conftest.$ac_ext
26572
26573 done
26574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26575 rm -f conftest.err conftest.$ac_ext
26576 if $ac_preproc_ok; then
26577 :
26578 else
26579 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26580 See \`config.log' for more details." >&5
26581 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26582 See \`config.log' for more details." >&2;}
26583 { (exit 1); exit 1; }; }
26584 fi
26585
26586 ac_ext=cpp
26587 ac_cpp='$CXXCPP $CPPFLAGS'
26588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26591
26592
26593
26594
26595 for ac_header in type_traits tr1/type_traits
26596 do
26597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26602 echo $ECHO_N "(cached) $ECHO_C" >&6
26603 fi
26604 ac_res=`eval echo '${'$as_ac_Header'}'`
26605 { echo "$as_me:$LINENO: result: $ac_res" >&5
26606 echo "${ECHO_T}$ac_res" >&6; }
26607 else
26608 # Is the header compilable?
26609 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26611 cat >conftest.$ac_ext <<_ACEOF
26612 /* confdefs.h. */
26613 _ACEOF
26614 cat confdefs.h >>conftest.$ac_ext
26615 cat >>conftest.$ac_ext <<_ACEOF
26616 /* end confdefs.h. */
26617 $ac_includes_default
26618 #include <$ac_header>
26619 _ACEOF
26620 rm -f conftest.$ac_objext
26621 if { (ac_try="$ac_compile"
26622 case "(($ac_try" in
26623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26624 *) ac_try_echo=$ac_try;;
26625 esac
26626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26627 (eval "$ac_compile") 2>conftest.er1
26628 ac_status=$?
26629 grep -v '^ *+' conftest.er1 >conftest.err
26630 rm -f conftest.er1
26631 cat conftest.err >&5
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); } && {
26634 test -z "$ac_cxx_werror_flag" ||
26635 test ! -s conftest.err
26636 } && test -s conftest.$ac_objext; then
26637 ac_header_compiler=yes
26638 else
26639 echo "$as_me: failed program was:" >&5
26640 sed 's/^/| /' conftest.$ac_ext >&5
26641
26642 ac_header_compiler=no
26643 fi
26644
26645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26646 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26647 echo "${ECHO_T}$ac_header_compiler" >&6; }
26648
26649 # Is the header present?
26650 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26652 cat >conftest.$ac_ext <<_ACEOF
26653 /* confdefs.h. */
26654 _ACEOF
26655 cat confdefs.h >>conftest.$ac_ext
26656 cat >>conftest.$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26658 #include <$ac_header>
26659 _ACEOF
26660 if { (ac_try="$ac_cpp conftest.$ac_ext"
26661 case "(($ac_try" in
26662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26663 *) ac_try_echo=$ac_try;;
26664 esac
26665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26667 ac_status=$?
26668 grep -v '^ *+' conftest.er1 >conftest.err
26669 rm -f conftest.er1
26670 cat conftest.err >&5
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); } >/dev/null && {
26673 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26674 test ! -s conftest.err
26675 }; then
26676 ac_header_preproc=yes
26677 else
26678 echo "$as_me: failed program was:" >&5
26679 sed 's/^/| /' conftest.$ac_ext >&5
26680
26681 ac_header_preproc=no
26682 fi
26683
26684 rm -f conftest.err conftest.$ac_ext
26685 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26686 echo "${ECHO_T}$ac_header_preproc" >&6; }
26687
26688 # So? What about this header?
26689 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26690 yes:no: )
26691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26695 ac_header_preproc=yes
26696 ;;
26697 no:yes:* )
26698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26710 ( cat <<\_ASBOX
26711 ## ----------------------------------------- ##
26712 ## Report this to wx-dev@lists.wxwidgets.org ##
26713 ## ----------------------------------------- ##
26714 _ASBOX
26715 ) | sed "s/^/$as_me: WARNING: /" >&2
26716 ;;
26717 esac
26718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26720 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26721 echo $ECHO_N "(cached) $ECHO_C" >&6
26722 else
26723 eval "$as_ac_Header=\$ac_header_preproc"
26724 fi
26725 ac_res=`eval echo '${'$as_ac_Header'}'`
26726 { echo "$as_me:$LINENO: result: $ac_res" >&5
26727 echo "${ECHO_T}$ac_res" >&6; }
26728
26729 fi
26730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26731 cat >>confdefs.h <<_ACEOF
26732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26733 _ACEOF
26734
26735 fi
26736
26737 done
26738
26739
26740
26741
26742 if test -n "$GCC"; then
26743 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26744 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26745 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26746 echo $ECHO_N "(cached) $ECHO_C" >&6
26747 else
26748
26749 cat >conftest.$ac_ext <<_ACEOF
26750 /* confdefs.h. */
26751 _ACEOF
26752 cat confdefs.h >>conftest.$ac_ext
26753 cat >>conftest.$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26755
26756 int
26757 main ()
26758 {
26759
26760 unsigned int value=0;
26761 /* wxAtomicInc doesn't use return value here */
26762 __sync_fetch_and_add(&value, 2);
26763 __sync_sub_and_fetch(&value, 1);
26764 /* but wxAtomicDec does, so mimic that: */
26765 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26766
26767 ;
26768 return 0;
26769 }
26770 _ACEOF
26771 rm -f conftest.$ac_objext conftest$ac_exeext
26772 if { (ac_try="$ac_link"
26773 case "(($ac_try" in
26774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26775 *) ac_try_echo=$ac_try;;
26776 esac
26777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26778 (eval "$ac_link") 2>conftest.er1
26779 ac_status=$?
26780 grep -v '^ *+' conftest.er1 >conftest.err
26781 rm -f conftest.er1
26782 cat conftest.err >&5
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); } && {
26785 test -z "$ac_cxx_werror_flag" ||
26786 test ! -s conftest.err
26787 } && test -s conftest$ac_exeext &&
26788 $as_test_x conftest$ac_exeext; then
26789 wx_cv_cc_gcc_atomic_builtins=yes
26790 else
26791 echo "$as_me: failed program was:" >&5
26792 sed 's/^/| /' conftest.$ac_ext >&5
26793
26794 wx_cv_cc_gcc_atomic_builtins=no
26795 fi
26796
26797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26798 conftest$ac_exeext conftest.$ac_ext
26799
26800 fi
26801
26802 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26803 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26804 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26805 cat >>confdefs.h <<\_ACEOF
26806 #define HAVE_GCC_ATOMIC_BUILTINS 1
26807 _ACEOF
26808
26809 fi
26810 fi
26811
26812
26813 ac_ext=c
26814 ac_cpp='$CPP $CPPFLAGS'
26815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26818
26819
26820
26821 SEARCH_INCLUDE="\
26822 /usr/local/include \
26823 /usr/local/X11/include \
26824 /usr/local/include/X11 \
26825 /usr/local/X11R7/include \
26826 /usr/local/X11R6/include \
26827 /usr/local/include/X11R7 \
26828 /usr/local/include/X11R6 \
26829 \
26830 /usr/Motif-2.1/include \
26831 /usr/Motif-1.2/include \
26832 /usr/include/Motif1.2 \
26833 \
26834 /usr/dt/include \
26835 /usr/openwin/include \
26836 \
26837 /usr/include/Xm \
26838 \
26839 /usr/X11R7/include \
26840 /usr/X11R6/include \
26841 /usr/X11R6.4/include \
26842 \
26843 /usr/include/X11R7 \
26844 /usr/include/X11R6 \
26845 \
26846 /usr/X11/include \
26847 /usr/include/X11 \
26848 \
26849 /usr/XFree86/include/X11 \
26850 /usr/pkg/include \
26851 \
26852 /usr/local/X1R5/include \
26853 /usr/local/include/X11R5 \
26854 /usr/X11R5/include \
26855 /usr/include/X11R5 \
26856 \
26857 /usr/local/X11R4/include \
26858 /usr/local/include/X11R4 \
26859 /usr/X11R4/include \
26860 /usr/include/X11R4 \
26861 \
26862 /usr/openwin/share/include"
26863
26864 { echo "$as_me:$LINENO: checking for libraries directory" >&5
26865 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
26866
26867 case "${host}" in
26868 *-*-irix6* )
26869 if test "${wx_cv_std_libpath+set}" = set; then
26870 echo $ECHO_N "(cached) $ECHO_C" >&6
26871 else
26872
26873 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26874 for e in a so sl dylib dll.a; do
26875 libc="$d/libc.$e"
26876 if test -f $libc; then
26877 save_LIBS="$LIBS"
26878 LIBS="$libc"
26879 cat >conftest.$ac_ext <<_ACEOF
26880 int main() { return 0; }
26881 _ACEOF
26882 rm -f conftest.$ac_objext conftest$ac_exeext
26883 if { (ac_try="$ac_link"
26884 case "(($ac_try" in
26885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26886 *) ac_try_echo=$ac_try;;
26887 esac
26888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26889 (eval "$ac_link") 2>conftest.er1
26890 ac_status=$?
26891 grep -v '^ *+' conftest.er1 >conftest.err
26892 rm -f conftest.er1
26893 cat conftest.err >&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && {
26896 test -z "$ac_c_werror_flag" ||
26897 test ! -s conftest.err
26898 } && test -s conftest$ac_exeext &&
26899 $as_test_x conftest$ac_exeext; then
26900 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905
26906 fi
26907
26908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26909 conftest$ac_exeext conftest.$ac_ext
26910 LIBS="$save_LIBS"
26911 if test "x$wx_cv_std_libpath" != "x"; then
26912 break 2
26913 fi
26914 fi
26915 done
26916 done
26917 if test "x$wx_cv_std_libpath" = "x"; then
26918 wx_cv_std_libpath="lib"
26919 fi
26920
26921
26922 fi
26923
26924 ;;
26925
26926 *-*-solaris2* )
26927 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26928 wx_cv_std_libpath="lib/64"
26929 else
26930 wx_cv_std_libpath="lib"
26931 fi
26932 ;;
26933
26934 *-*-linux* )
26935 if test "$ac_cv_sizeof_void_p" = 8 -a \
26936 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26937 wx_cv_std_libpath="lib64"
26938 else
26939 wx_cv_std_libpath="lib"
26940 fi
26941 ;;
26942
26943 *)
26944 wx_cv_std_libpath="lib";
26945 ;;
26946 esac
26947
26948 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26949 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
26950
26951 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26952
26953 if test "$build" != "$host" -a "$GCC" = yes; then
26954 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26955 cross_root=`dirname $cross_root`
26956 cross_root=`dirname $cross_root`
26957
26958 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26959 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26960 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26961
26962 if test -z "$PKG_CONFIG_PATH"; then
26963 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26964 export PKG_CONFIG_PATH
26965 fi
26966
26967 if test -z "$x_includes" -o "$x_includes" = NONE; then
26968
26969 ac_find_includes=
26970 for ac_dir in $SEARCH_INCLUDE /usr/include
26971 do
26972 if test -f "$ac_dir/X11/Intrinsic.h"; then
26973 ac_find_includes=$ac_dir
26974 break
26975 fi
26976 done
26977
26978 x_includes=$ac_find_includes
26979 fi
26980 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26981
26982 ac_find_libraries=
26983 for ac_dir in $SEARCH_LIB
26984 do
26985 for ac_extension in a so sl dylib dll.a; do
26986 if test -f "$ac_dir/libXt.$ac_extension"; then
26987 ac_find_libraries=$ac_dir
26988 break 2
26989 fi
26990 done
26991 done
26992
26993 x_libraries=$ac_find_libraries
26994 fi
26995 fi
26996 fi
26997
26998
26999 cat >confcache <<\_ACEOF
27000 # This file is a shell script that caches the results of configure
27001 # tests run on this system so they can be shared between configure
27002 # scripts and configure runs, see configure's option --config-cache.
27003 # It is not useful on other systems. If it contains results you don't
27004 # want to keep, you may remove or edit it.
27005 #
27006 # config.status only pays attention to the cache file if you give it
27007 # the --recheck option to rerun configure.
27008 #
27009 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27010 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27011 # following values.
27012
27013 _ACEOF
27014
27015 # The following way of writing the cache mishandles newlines in values,
27016 # but we know of no workaround that is simple, portable, and efficient.
27017 # So, we kill variables containing newlines.
27018 # Ultrix sh set writes to stderr and can't be redirected directly,
27019 # and sets the high bit in the cache file unless we assign to the vars.
27020 (
27021 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27022 eval ac_val=\$$ac_var
27023 case $ac_val in #(
27024 *${as_nl}*)
27025 case $ac_var in #(
27026 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27027 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27028 esac
27029 case $ac_var in #(
27030 _ | IFS | as_nl) ;; #(
27031 *) $as_unset $ac_var ;;
27032 esac ;;
27033 esac
27034 done
27035
27036 (set) 2>&1 |
27037 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27038 *${as_nl}ac_space=\ *)
27039 # `set' does not quote correctly, so add quotes (double-quote
27040 # substitution turns \\\\ into \\, and sed turns \\ into \).
27041 sed -n \
27042 "s/'/'\\\\''/g;
27043 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27044 ;; #(
27045 *)
27046 # `set' quotes correctly as required by POSIX, so do not add quotes.
27047 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27048 ;;
27049 esac |
27050 sort
27051 ) |
27052 sed '
27053 /^ac_cv_env_/b end
27054 t clear
27055 :clear
27056 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27057 t end
27058 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27059 :end' >>confcache
27060 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27061 if test -w "$cache_file"; then
27062 test "x$cache_file" != "x/dev/null" &&
27063 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27064 echo "$as_me: updating cache $cache_file" >&6;}
27065 cat confcache >$cache_file
27066 else
27067 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27068 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27069 fi
27070 fi
27071 rm -f confcache
27072
27073 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27074 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27075 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27076 if test "${wx_cv_lib_glibc21+set}" = set; then
27077 echo $ECHO_N "(cached) $ECHO_C" >&6
27078 else
27079
27080 cat >conftest.$ac_ext <<_ACEOF
27081 /* confdefs.h. */
27082 _ACEOF
27083 cat confdefs.h >>conftest.$ac_ext
27084 cat >>conftest.$ac_ext <<_ACEOF
27085 /* end confdefs.h. */
27086 #include <features.h>
27087 int
27088 main ()
27089 {
27090
27091 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27092 not glibc 2.1
27093 #endif
27094
27095 ;
27096 return 0;
27097 }
27098 _ACEOF
27099 rm -f conftest.$ac_objext
27100 if { (ac_try="$ac_compile"
27101 case "(($ac_try" in
27102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27103 *) ac_try_echo=$ac_try;;
27104 esac
27105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27106 (eval "$ac_compile") 2>conftest.er1
27107 ac_status=$?
27108 grep -v '^ *+' conftest.er1 >conftest.err
27109 rm -f conftest.er1
27110 cat conftest.err >&5
27111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112 (exit $ac_status); } && {
27113 test -z "$ac_c_werror_flag" ||
27114 test ! -s conftest.err
27115 } && test -s conftest.$ac_objext; then
27116
27117 wx_cv_lib_glibc21=yes
27118
27119 else
27120 echo "$as_me: failed program was:" >&5
27121 sed 's/^/| /' conftest.$ac_ext >&5
27122
27123
27124 wx_cv_lib_glibc21=no
27125
27126
27127 fi
27128
27129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27130
27131 fi
27132 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27133 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27134 if test "$wx_cv_lib_glibc21" = "yes"; then
27135 cat >>confdefs.h <<\_ACEOF
27136 #define wxHAVE_GLIBC2 1
27137 _ACEOF
27138
27139 fi
27140 fi
27141
27142 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27143 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27144 cat >>confdefs.h <<\_ACEOF
27145 #define _GNU_SOURCE 1
27146 _ACEOF
27147
27148 fi
27149 fi
27150
27151 have_cos=0
27152 have_floor=0
27153
27154 for ac_func in cos
27155 do
27156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27157 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27159 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27160 echo $ECHO_N "(cached) $ECHO_C" >&6
27161 else
27162 cat >conftest.$ac_ext <<_ACEOF
27163 /* confdefs.h. */
27164 _ACEOF
27165 cat confdefs.h >>conftest.$ac_ext
27166 cat >>conftest.$ac_ext <<_ACEOF
27167 /* end confdefs.h. */
27168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27169 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27170 #define $ac_func innocuous_$ac_func
27171
27172 /* System header to define __stub macros and hopefully few prototypes,
27173 which can conflict with char $ac_func (); below.
27174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27175 <limits.h> exists even on freestanding compilers. */
27176
27177 #ifdef __STDC__
27178 # include <limits.h>
27179 #else
27180 # include <assert.h>
27181 #endif
27182
27183 #undef $ac_func
27184
27185 /* Override any GCC internal prototype to avoid an error.
27186 Use char because int might match the return type of a GCC
27187 builtin and then its argument prototype would still apply. */
27188 #ifdef __cplusplus
27189 extern "C"
27190 #endif
27191 char $ac_func ();
27192 /* The GNU C library defines this for functions which it implements
27193 to always fail with ENOSYS. Some functions are actually named
27194 something starting with __ and the normal name is an alias. */
27195 #if defined __stub_$ac_func || defined __stub___$ac_func
27196 choke me
27197 #endif
27198
27199 int
27200 main ()
27201 {
27202 return $ac_func ();
27203 ;
27204 return 0;
27205 }
27206 _ACEOF
27207 rm -f conftest.$ac_objext conftest$ac_exeext
27208 if { (ac_try="$ac_link"
27209 case "(($ac_try" in
27210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27211 *) ac_try_echo=$ac_try;;
27212 esac
27213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27214 (eval "$ac_link") 2>conftest.er1
27215 ac_status=$?
27216 grep -v '^ *+' conftest.er1 >conftest.err
27217 rm -f conftest.er1
27218 cat conftest.err >&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } && {
27221 test -z "$ac_c_werror_flag" ||
27222 test ! -s conftest.err
27223 } && test -s conftest$ac_exeext &&
27224 $as_test_x conftest$ac_exeext; then
27225 eval "$as_ac_var=yes"
27226 else
27227 echo "$as_me: failed program was:" >&5
27228 sed 's/^/| /' conftest.$ac_ext >&5
27229
27230 eval "$as_ac_var=no"
27231 fi
27232
27233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27234 conftest$ac_exeext conftest.$ac_ext
27235 fi
27236 ac_res=`eval echo '${'$as_ac_var'}'`
27237 { echo "$as_me:$LINENO: result: $ac_res" >&5
27238 echo "${ECHO_T}$ac_res" >&6; }
27239 if test `eval echo '${'$as_ac_var'}'` = yes; then
27240 cat >>confdefs.h <<_ACEOF
27241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27242 _ACEOF
27243 have_cos=1
27244 fi
27245 done
27246
27247
27248 for ac_func in floor
27249 do
27250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27251 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27254 echo $ECHO_N "(cached) $ECHO_C" >&6
27255 else
27256 cat >conftest.$ac_ext <<_ACEOF
27257 /* confdefs.h. */
27258 _ACEOF
27259 cat confdefs.h >>conftest.$ac_ext
27260 cat >>conftest.$ac_ext <<_ACEOF
27261 /* end confdefs.h. */
27262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27264 #define $ac_func innocuous_$ac_func
27265
27266 /* System header to define __stub macros and hopefully few prototypes,
27267 which can conflict with char $ac_func (); below.
27268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27269 <limits.h> exists even on freestanding compilers. */
27270
27271 #ifdef __STDC__
27272 # include <limits.h>
27273 #else
27274 # include <assert.h>
27275 #endif
27276
27277 #undef $ac_func
27278
27279 /* Override any GCC internal prototype to avoid an error.
27280 Use char because int might match the return type of a GCC
27281 builtin and then its argument prototype would still apply. */
27282 #ifdef __cplusplus
27283 extern "C"
27284 #endif
27285 char $ac_func ();
27286 /* The GNU C library defines this for functions which it implements
27287 to always fail with ENOSYS. Some functions are actually named
27288 something starting with __ and the normal name is an alias. */
27289 #if defined __stub_$ac_func || defined __stub___$ac_func
27290 choke me
27291 #endif
27292
27293 int
27294 main ()
27295 {
27296 return $ac_func ();
27297 ;
27298 return 0;
27299 }
27300 _ACEOF
27301 rm -f conftest.$ac_objext conftest$ac_exeext
27302 if { (ac_try="$ac_link"
27303 case "(($ac_try" in
27304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27305 *) ac_try_echo=$ac_try;;
27306 esac
27307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27308 (eval "$ac_link") 2>conftest.er1
27309 ac_status=$?
27310 grep -v '^ *+' conftest.er1 >conftest.err
27311 rm -f conftest.er1
27312 cat conftest.err >&5
27313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27314 (exit $ac_status); } && {
27315 test -z "$ac_c_werror_flag" ||
27316 test ! -s conftest.err
27317 } && test -s conftest$ac_exeext &&
27318 $as_test_x conftest$ac_exeext; then
27319 eval "$as_ac_var=yes"
27320 else
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.$ac_ext >&5
27323
27324 eval "$as_ac_var=no"
27325 fi
27326
27327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27328 conftest$ac_exeext conftest.$ac_ext
27329 fi
27330 ac_res=`eval echo '${'$as_ac_var'}'`
27331 { echo "$as_me:$LINENO: result: $ac_res" >&5
27332 echo "${ECHO_T}$ac_res" >&6; }
27333 if test `eval echo '${'$as_ac_var'}'` = yes; then
27334 cat >>confdefs.h <<_ACEOF
27335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27336 _ACEOF
27337 have_floor=1
27338 fi
27339 done
27340
27341 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27342 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27343 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27344 { echo "$as_me:$LINENO: result: yes" >&5
27345 echo "${ECHO_T}yes" >&6; }
27346 else
27347 { echo "$as_me:$LINENO: result: no" >&5
27348 echo "${ECHO_T}no" >&6; }
27349 LIBS="$LIBS -lm"
27350 # use different functions to avoid configure caching
27351 have_sin=0
27352 have_ceil=0
27353
27354 for ac_func in sin
27355 do
27356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27360 echo $ECHO_N "(cached) $ECHO_C" >&6
27361 else
27362 cat >conftest.$ac_ext <<_ACEOF
27363 /* confdefs.h. */
27364 _ACEOF
27365 cat confdefs.h >>conftest.$ac_ext
27366 cat >>conftest.$ac_ext <<_ACEOF
27367 /* end confdefs.h. */
27368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27370 #define $ac_func innocuous_$ac_func
27371
27372 /* System header to define __stub macros and hopefully few prototypes,
27373 which can conflict with char $ac_func (); below.
27374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27375 <limits.h> exists even on freestanding compilers. */
27376
27377 #ifdef __STDC__
27378 # include <limits.h>
27379 #else
27380 # include <assert.h>
27381 #endif
27382
27383 #undef $ac_func
27384
27385 /* Override any GCC internal prototype to avoid an error.
27386 Use char because int might match the return type of a GCC
27387 builtin and then its argument prototype would still apply. */
27388 #ifdef __cplusplus
27389 extern "C"
27390 #endif
27391 char $ac_func ();
27392 /* The GNU C library defines this for functions which it implements
27393 to always fail with ENOSYS. Some functions are actually named
27394 something starting with __ and the normal name is an alias. */
27395 #if defined __stub_$ac_func || defined __stub___$ac_func
27396 choke me
27397 #endif
27398
27399 int
27400 main ()
27401 {
27402 return $ac_func ();
27403 ;
27404 return 0;
27405 }
27406 _ACEOF
27407 rm -f conftest.$ac_objext conftest$ac_exeext
27408 if { (ac_try="$ac_link"
27409 case "(($ac_try" in
27410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27411 *) ac_try_echo=$ac_try;;
27412 esac
27413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27414 (eval "$ac_link") 2>conftest.er1
27415 ac_status=$?
27416 grep -v '^ *+' conftest.er1 >conftest.err
27417 rm -f conftest.er1
27418 cat conftest.err >&5
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); } && {
27421 test -z "$ac_c_werror_flag" ||
27422 test ! -s conftest.err
27423 } && test -s conftest$ac_exeext &&
27424 $as_test_x conftest$ac_exeext; then
27425 eval "$as_ac_var=yes"
27426 else
27427 echo "$as_me: failed program was:" >&5
27428 sed 's/^/| /' conftest.$ac_ext >&5
27429
27430 eval "$as_ac_var=no"
27431 fi
27432
27433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27434 conftest$ac_exeext conftest.$ac_ext
27435 fi
27436 ac_res=`eval echo '${'$as_ac_var'}'`
27437 { echo "$as_me:$LINENO: result: $ac_res" >&5
27438 echo "${ECHO_T}$ac_res" >&6; }
27439 if test `eval echo '${'$as_ac_var'}'` = yes; then
27440 cat >>confdefs.h <<_ACEOF
27441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27442 _ACEOF
27443 have_sin=1
27444 fi
27445 done
27446
27447
27448 for ac_func in ceil
27449 do
27450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27454 echo $ECHO_N "(cached) $ECHO_C" >&6
27455 else
27456 cat >conftest.$ac_ext <<_ACEOF
27457 /* confdefs.h. */
27458 _ACEOF
27459 cat confdefs.h >>conftest.$ac_ext
27460 cat >>conftest.$ac_ext <<_ACEOF
27461 /* end confdefs.h. */
27462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27464 #define $ac_func innocuous_$ac_func
27465
27466 /* System header to define __stub macros and hopefully few prototypes,
27467 which can conflict with char $ac_func (); below.
27468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27469 <limits.h> exists even on freestanding compilers. */
27470
27471 #ifdef __STDC__
27472 # include <limits.h>
27473 #else
27474 # include <assert.h>
27475 #endif
27476
27477 #undef $ac_func
27478
27479 /* Override any GCC internal prototype to avoid an error.
27480 Use char because int might match the return type of a GCC
27481 builtin and then its argument prototype would still apply. */
27482 #ifdef __cplusplus
27483 extern "C"
27484 #endif
27485 char $ac_func ();
27486 /* The GNU C library defines this for functions which it implements
27487 to always fail with ENOSYS. Some functions are actually named
27488 something starting with __ and the normal name is an alias. */
27489 #if defined __stub_$ac_func || defined __stub___$ac_func
27490 choke me
27491 #endif
27492
27493 int
27494 main ()
27495 {
27496 return $ac_func ();
27497 ;
27498 return 0;
27499 }
27500 _ACEOF
27501 rm -f conftest.$ac_objext conftest$ac_exeext
27502 if { (ac_try="$ac_link"
27503 case "(($ac_try" in
27504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27505 *) ac_try_echo=$ac_try;;
27506 esac
27507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27508 (eval "$ac_link") 2>conftest.er1
27509 ac_status=$?
27510 grep -v '^ *+' conftest.er1 >conftest.err
27511 rm -f conftest.er1
27512 cat conftest.err >&5
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); } && {
27515 test -z "$ac_c_werror_flag" ||
27516 test ! -s conftest.err
27517 } && test -s conftest$ac_exeext &&
27518 $as_test_x conftest$ac_exeext; then
27519 eval "$as_ac_var=yes"
27520 else
27521 echo "$as_me: failed program was:" >&5
27522 sed 's/^/| /' conftest.$ac_ext >&5
27523
27524 eval "$as_ac_var=no"
27525 fi
27526
27527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27528 conftest$ac_exeext conftest.$ac_ext
27529 fi
27530 ac_res=`eval echo '${'$as_ac_var'}'`
27531 { echo "$as_me:$LINENO: result: $ac_res" >&5
27532 echo "${ECHO_T}$ac_res" >&6; }
27533 if test `eval echo '${'$as_ac_var'}'` = yes; then
27534 cat >>confdefs.h <<_ACEOF
27535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27536 _ACEOF
27537 have_ceil=1
27538 fi
27539 done
27540
27541 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27542 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27543 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27544 { echo "$as_me:$LINENO: result: yes" >&5
27545 echo "${ECHO_T}yes" >&6; }
27546 else
27547 { echo "$as_me:$LINENO: result: no" >&5
27548 echo "${ECHO_T}no" >&6; }
27549 # not sure we should warn the user, crash, etc.
27550 fi
27551 fi
27552
27553 ac_ext=cpp
27554 ac_cpp='$CXXCPP $CPPFLAGS'
27555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27558
27559 if test "wxUSE_UNICODE" = "yes"; then
27560
27561 for wx_func in wcstoull
27562 do
27563 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27564 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27565 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27566 echo $ECHO_N "(cached) $ECHO_C" >&6
27567 else
27568
27569 cat >conftest.$ac_ext <<_ACEOF
27570
27571 /* confdefs.h. */
27572 _ACEOF
27573 cat confdefs.h >>conftest.$ac_ext
27574 cat >>conftest.$ac_ext <<_ACEOF
27575 /* end confdefs.h. */
27576
27577
27578 $ac_includes_default
27579
27580 int
27581 main ()
27582 {
27583
27584 #ifndef $wx_func
27585 &$wx_func;
27586 #endif
27587
27588
27589 ;
27590 return 0;
27591 }
27592
27593 _ACEOF
27594 rm -f conftest.$ac_objext conftest$ac_exeext
27595 if { (ac_try="$ac_link"
27596 case "(($ac_try" in
27597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27598 *) ac_try_echo=$ac_try;;
27599 esac
27600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27601 (eval "$ac_link") 2>conftest.er1
27602 ac_status=$?
27603 grep -v '^ *+' conftest.er1 >conftest.err
27604 rm -f conftest.er1
27605 cat conftest.err >&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); } && {
27608 test -z "$ac_cxx_werror_flag" ||
27609 test ! -s conftest.err
27610 } && test -s conftest$ac_exeext &&
27611 $as_test_x conftest$ac_exeext; then
27612 eval wx_cv_func_$wx_func=yes
27613 else
27614 echo "$as_me: failed program was:" >&5
27615 sed 's/^/| /' conftest.$ac_ext >&5
27616
27617 eval wx_cv_func_$wx_func=no
27618 fi
27619
27620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27621 conftest$ac_exeext conftest.$ac_ext
27622
27623 fi
27624 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27625 { echo "$as_me:$LINENO: result: $ac_res" >&5
27626 echo "${ECHO_T}$ac_res" >&6; }
27627
27628 if eval test \$wx_cv_func_$wx_func = yes
27629 then
27630 cat >>confdefs.h <<_ACEOF
27631 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27632 _ACEOF
27633
27634
27635 else
27636 :
27637
27638 fi
27639 done
27640
27641 else
27642
27643 for wx_func in strtoull
27644 do
27645 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27646 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27647 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27648 echo $ECHO_N "(cached) $ECHO_C" >&6
27649 else
27650
27651 cat >conftest.$ac_ext <<_ACEOF
27652
27653 /* confdefs.h. */
27654 _ACEOF
27655 cat confdefs.h >>conftest.$ac_ext
27656 cat >>conftest.$ac_ext <<_ACEOF
27657 /* end confdefs.h. */
27658
27659
27660 $ac_includes_default
27661
27662 int
27663 main ()
27664 {
27665
27666 #ifndef $wx_func
27667 &$wx_func;
27668 #endif
27669
27670
27671 ;
27672 return 0;
27673 }
27674
27675 _ACEOF
27676 rm -f conftest.$ac_objext conftest$ac_exeext
27677 if { (ac_try="$ac_link"
27678 case "(($ac_try" in
27679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27680 *) ac_try_echo=$ac_try;;
27681 esac
27682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27683 (eval "$ac_link") 2>conftest.er1
27684 ac_status=$?
27685 grep -v '^ *+' conftest.er1 >conftest.err
27686 rm -f conftest.er1
27687 cat conftest.err >&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } && {
27690 test -z "$ac_cxx_werror_flag" ||
27691 test ! -s conftest.err
27692 } && test -s conftest$ac_exeext &&
27693 $as_test_x conftest$ac_exeext; then
27694 eval wx_cv_func_$wx_func=yes
27695 else
27696 echo "$as_me: failed program was:" >&5
27697 sed 's/^/| /' conftest.$ac_ext >&5
27698
27699 eval wx_cv_func_$wx_func=no
27700 fi
27701
27702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27703 conftest$ac_exeext conftest.$ac_ext
27704
27705 fi
27706 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27707 { echo "$as_me:$LINENO: result: $ac_res" >&5
27708 echo "${ECHO_T}$ac_res" >&6; }
27709
27710 if eval test \$wx_cv_func_$wx_func = yes
27711 then
27712 cat >>confdefs.h <<_ACEOF
27713 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27714 _ACEOF
27715
27716
27717 else
27718 :
27719
27720 fi
27721 done
27722
27723 fi
27724 ac_ext=c
27725 ac_cpp='$CPP $CPPFLAGS'
27726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27729
27730
27731
27732
27733 if test "$wxUSE_REGEX" != "no"; then
27734 cat >>confdefs.h <<\_ACEOF
27735 #define wxUSE_REGEX 1
27736 _ACEOF
27737
27738
27739 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27740 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27741 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27742 wxUSE_REGEX=builtin
27743 fi
27744
27745 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27746 { echo "$as_me:$LINENO: checking for regex.h" >&5
27747 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27748 if test "${ac_cv_header_regex_h+set}" = set; then
27749 echo $ECHO_N "(cached) $ECHO_C" >&6
27750 else
27751 cat >conftest.$ac_ext <<_ACEOF
27752 /* confdefs.h. */
27753 _ACEOF
27754 cat confdefs.h >>conftest.$ac_ext
27755 cat >>conftest.$ac_ext <<_ACEOF
27756 /* end confdefs.h. */
27757
27758
27759 #include <regex.h>
27760 _ACEOF
27761 rm -f conftest.$ac_objext
27762 if { (ac_try="$ac_compile"
27763 case "(($ac_try" in
27764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27765 *) ac_try_echo=$ac_try;;
27766 esac
27767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27768 (eval "$ac_compile") 2>conftest.er1
27769 ac_status=$?
27770 grep -v '^ *+' conftest.er1 >conftest.err
27771 rm -f conftest.er1
27772 cat conftest.err >&5
27773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774 (exit $ac_status); } && {
27775 test -z "$ac_c_werror_flag" ||
27776 test ! -s conftest.err
27777 } && test -s conftest.$ac_objext; then
27778 ac_cv_header_regex_h=yes
27779 else
27780 echo "$as_me: failed program was:" >&5
27781 sed 's/^/| /' conftest.$ac_ext >&5
27782
27783 ac_cv_header_regex_h=no
27784 fi
27785
27786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27787 fi
27788 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27789 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27790 if test $ac_cv_header_regex_h = yes; then
27791
27792
27793 for ac_func in regcomp re_search
27794 do
27795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27796 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27798 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27799 echo $ECHO_N "(cached) $ECHO_C" >&6
27800 else
27801 cat >conftest.$ac_ext <<_ACEOF
27802 /* confdefs.h. */
27803 _ACEOF
27804 cat confdefs.h >>conftest.$ac_ext
27805 cat >>conftest.$ac_ext <<_ACEOF
27806 /* end confdefs.h. */
27807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27809 #define $ac_func innocuous_$ac_func
27810
27811 /* System header to define __stub macros and hopefully few prototypes,
27812 which can conflict with char $ac_func (); below.
27813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27814 <limits.h> exists even on freestanding compilers. */
27815
27816 #ifdef __STDC__
27817 # include <limits.h>
27818 #else
27819 # include <assert.h>
27820 #endif
27821
27822 #undef $ac_func
27823
27824 /* Override any GCC internal prototype to avoid an error.
27825 Use char because int might match the return type of a GCC
27826 builtin and then its argument prototype would still apply. */
27827 #ifdef __cplusplus
27828 extern "C"
27829 #endif
27830 char $ac_func ();
27831 /* The GNU C library defines this for functions which it implements
27832 to always fail with ENOSYS. Some functions are actually named
27833 something starting with __ and the normal name is an alias. */
27834 #if defined __stub_$ac_func || defined __stub___$ac_func
27835 choke me
27836 #endif
27837
27838 int
27839 main ()
27840 {
27841 return $ac_func ();
27842 ;
27843 return 0;
27844 }
27845 _ACEOF
27846 rm -f conftest.$ac_objext conftest$ac_exeext
27847 if { (ac_try="$ac_link"
27848 case "(($ac_try" in
27849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27850 *) ac_try_echo=$ac_try;;
27851 esac
27852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27853 (eval "$ac_link") 2>conftest.er1
27854 ac_status=$?
27855 grep -v '^ *+' conftest.er1 >conftest.err
27856 rm -f conftest.er1
27857 cat conftest.err >&5
27858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27859 (exit $ac_status); } && {
27860 test -z "$ac_c_werror_flag" ||
27861 test ! -s conftest.err
27862 } && test -s conftest$ac_exeext &&
27863 $as_test_x conftest$ac_exeext; then
27864 eval "$as_ac_var=yes"
27865 else
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.$ac_ext >&5
27868
27869 eval "$as_ac_var=no"
27870 fi
27871
27872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27873 conftest$ac_exeext conftest.$ac_ext
27874 fi
27875 ac_res=`eval echo '${'$as_ac_var'}'`
27876 { echo "$as_me:$LINENO: result: $ac_res" >&5
27877 echo "${ECHO_T}$ac_res" >&6; }
27878 if test `eval echo '${'$as_ac_var'}'` = yes; then
27879 cat >>confdefs.h <<_ACEOF
27880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27881 _ACEOF
27882
27883 fi
27884 done
27885
27886 fi
27887
27888
27889
27890 if test "x$ac_cv_func_regcomp" != "xyes"; then
27891 if test "$wxUSE_REGEX" = "sys" ; then
27892 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27893 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27894 { (exit 1); exit 1; }; }
27895 else
27896 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27897 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27898 wxUSE_REGEX=builtin
27899 fi
27900 else
27901 wxUSE_REGEX=sys
27902 cat >>confdefs.h <<\_ACEOF
27903 #define WX_NO_REGEX_ADVANCED 1
27904 _ACEOF
27905
27906 fi
27907 fi
27908 fi
27909
27910
27911 ZLIB_LINK=
27912 if test "$wxUSE_ZLIB" != "no" ; then
27913 cat >>confdefs.h <<\_ACEOF
27914 #define wxUSE_ZLIB 1
27915 _ACEOF
27916
27917
27918 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27919 if test "$USE_DARWIN" = 1; then
27920 system_zlib_h_ok="yes"
27921 else
27922 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27923 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
27924 if test "${ac_cv_header_zlib_h+set}" = set; then
27925 echo $ECHO_N "(cached) $ECHO_C" >&6
27926 else
27927 if test "$cross_compiling" = yes; then
27928 unset ac_cv_header_zlib_h
27929
27930 else
27931 cat >conftest.$ac_ext <<_ACEOF
27932 /* confdefs.h. */
27933 _ACEOF
27934 cat confdefs.h >>conftest.$ac_ext
27935 cat >>conftest.$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27937
27938 #include <zlib.h>
27939 #include <stdio.h>
27940
27941 int main()
27942 {
27943 FILE *f=fopen("conftestval", "w");
27944 if (!f) exit(1);
27945 fprintf(f, "%s",
27946 ZLIB_VERSION[0] == '1' &&
27947 (ZLIB_VERSION[2] > '1' ||
27948 (ZLIB_VERSION[2] == '1' &&
27949 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27950 exit(0);
27951 }
27952
27953 _ACEOF
27954 rm -f conftest$ac_exeext
27955 if { (ac_try="$ac_link"
27956 case "(($ac_try" in
27957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27958 *) ac_try_echo=$ac_try;;
27959 esac
27960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27961 (eval "$ac_link") 2>&5
27962 ac_status=$?
27963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27965 { (case "(($ac_try" in
27966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27967 *) ac_try_echo=$ac_try;;
27968 esac
27969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27970 (eval "$ac_try") 2>&5
27971 ac_status=$?
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); }; }; then
27974 ac_cv_header_zlib_h=`cat conftestval`
27975 else
27976 echo "$as_me: program exited with status $ac_status" >&5
27977 echo "$as_me: failed program was:" >&5
27978 sed 's/^/| /' conftest.$ac_ext >&5
27979
27980 ( exit $ac_status )
27981 ac_cv_header_zlib_h=no
27982 fi
27983 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27984 fi
27985
27986
27987
27988 fi
27989 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27990 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
27991 { echo "$as_me:$LINENO: checking for zlib.h" >&5
27992 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
27993 if test "${ac_cv_header_zlib_h+set}" = set; then
27994 echo $ECHO_N "(cached) $ECHO_C" >&6
27995 else
27996 cat >conftest.$ac_ext <<_ACEOF
27997 /* confdefs.h. */
27998 _ACEOF
27999 cat confdefs.h >>conftest.$ac_ext
28000 cat >>conftest.$ac_ext <<_ACEOF
28001 /* end confdefs.h. */
28002
28003
28004 #include <zlib.h>
28005 _ACEOF
28006 rm -f conftest.$ac_objext
28007 if { (ac_try="$ac_compile"
28008 case "(($ac_try" in
28009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28010 *) ac_try_echo=$ac_try;;
28011 esac
28012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28013 (eval "$ac_compile") 2>conftest.er1
28014 ac_status=$?
28015 grep -v '^ *+' conftest.er1 >conftest.err
28016 rm -f conftest.er1
28017 cat conftest.err >&5
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); } && {
28020 test -z "$ac_c_werror_flag" ||
28021 test ! -s conftest.err
28022 } && test -s conftest.$ac_objext; then
28023 ac_cv_header_zlib_h=yes
28024 else
28025 echo "$as_me: failed program was:" >&5
28026 sed 's/^/| /' conftest.$ac_ext >&5
28027
28028 ac_cv_header_zlib_h=no
28029 fi
28030
28031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28032 fi
28033 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28034 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28035
28036
28037
28038 system_zlib_h_ok=$ac_cv_header_zlib_h
28039 fi
28040
28041 if test "$system_zlib_h_ok" = "yes"; then
28042 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28043 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28044 if test "${ac_cv_lib_z_deflate+set}" = set; then
28045 echo $ECHO_N "(cached) $ECHO_C" >&6
28046 else
28047 ac_check_lib_save_LIBS=$LIBS
28048 LIBS="-lz $LIBS"
28049 cat >conftest.$ac_ext <<_ACEOF
28050 /* confdefs.h. */
28051 _ACEOF
28052 cat confdefs.h >>conftest.$ac_ext
28053 cat >>conftest.$ac_ext <<_ACEOF
28054 /* end confdefs.h. */
28055
28056 /* Override any GCC internal prototype to avoid an error.
28057 Use char because int might match the return type of a GCC
28058 builtin and then its argument prototype would still apply. */
28059 #ifdef __cplusplus
28060 extern "C"
28061 #endif
28062 char deflate ();
28063 int
28064 main ()
28065 {
28066 return deflate ();
28067 ;
28068 return 0;
28069 }
28070 _ACEOF
28071 rm -f conftest.$ac_objext conftest$ac_exeext
28072 if { (ac_try="$ac_link"
28073 case "(($ac_try" in
28074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28075 *) ac_try_echo=$ac_try;;
28076 esac
28077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28078 (eval "$ac_link") 2>conftest.er1
28079 ac_status=$?
28080 grep -v '^ *+' conftest.er1 >conftest.err
28081 rm -f conftest.er1
28082 cat conftest.err >&5
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); } && {
28085 test -z "$ac_c_werror_flag" ||
28086 test ! -s conftest.err
28087 } && test -s conftest$ac_exeext &&
28088 $as_test_x conftest$ac_exeext; then
28089 ac_cv_lib_z_deflate=yes
28090 else
28091 echo "$as_me: failed program was:" >&5
28092 sed 's/^/| /' conftest.$ac_ext >&5
28093
28094 ac_cv_lib_z_deflate=no
28095 fi
28096
28097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28098 conftest$ac_exeext conftest.$ac_ext
28099 LIBS=$ac_check_lib_save_LIBS
28100 fi
28101 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28102 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28103 if test $ac_cv_lib_z_deflate = yes; then
28104 ZLIB_LINK=" -lz"
28105 fi
28106
28107 fi
28108
28109 if test "x$ZLIB_LINK" = "x" ; then
28110 if test "$wxUSE_ZLIB" = "sys" ; then
28111 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28112 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28113 { (exit 1); exit 1; }; }
28114 else
28115 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28116 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28117 wxUSE_ZLIB=builtin
28118 fi
28119 else
28120 wxUSE_ZLIB=sys
28121 fi
28122 fi
28123 fi
28124
28125
28126 PNG_LINK=
28127 if test "$wxUSE_LIBPNG" != "no" ; then
28128 cat >>confdefs.h <<\_ACEOF
28129 #define wxUSE_LIBPNG 1
28130 _ACEOF
28131
28132
28133 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28134 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28135 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28136 wxUSE_LIBPNG=sys
28137 fi
28138
28139 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28140 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28141 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28142 wxUSE_LIBPNG=builtin
28143 fi
28144
28145 if test "$wxUSE_MGL" != 1 ; then
28146 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28147 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28148 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28149 if test "${ac_cv_header_png_h+set}" = set; then
28150 echo $ECHO_N "(cached) $ECHO_C" >&6
28151 else
28152 if test "$cross_compiling" = yes; then
28153 unset ac_cv_header_png_h
28154
28155 else
28156 cat >conftest.$ac_ext <<_ACEOF
28157 /* confdefs.h. */
28158 _ACEOF
28159 cat confdefs.h >>conftest.$ac_ext
28160 cat >>conftest.$ac_ext <<_ACEOF
28161 /* end confdefs.h. */
28162
28163 #include <png.h>
28164 #include <stdio.h>
28165
28166 int main()
28167 {
28168 FILE *f=fopen("conftestval", "w");
28169 if (!f) exit(1);
28170 fprintf(f, "%s",
28171 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28172 exit(0);
28173 }
28174
28175 _ACEOF
28176 rm -f conftest$ac_exeext
28177 if { (ac_try="$ac_link"
28178 case "(($ac_try" in
28179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28180 *) ac_try_echo=$ac_try;;
28181 esac
28182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28183 (eval "$ac_link") 2>&5
28184 ac_status=$?
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28187 { (case "(($ac_try" in
28188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28189 *) ac_try_echo=$ac_try;;
28190 esac
28191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28192 (eval "$ac_try") 2>&5
28193 ac_status=$?
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); }; }; then
28196 ac_cv_header_png_h=`cat conftestval`
28197 else
28198 echo "$as_me: program exited with status $ac_status" >&5
28199 echo "$as_me: failed program was:" >&5
28200 sed 's/^/| /' conftest.$ac_ext >&5
28201
28202 ( exit $ac_status )
28203 ac_cv_header_png_h=no
28204 fi
28205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28206 fi
28207
28208
28209
28210 fi
28211 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28212 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28213 { echo "$as_me:$LINENO: checking for png.h" >&5
28214 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28215 if test "${ac_cv_header_png_h+set}" = set; then
28216 echo $ECHO_N "(cached) $ECHO_C" >&6
28217 else
28218 cat >conftest.$ac_ext <<_ACEOF
28219 /* confdefs.h. */
28220 _ACEOF
28221 cat confdefs.h >>conftest.$ac_ext
28222 cat >>conftest.$ac_ext <<_ACEOF
28223 /* end confdefs.h. */
28224
28225
28226 #include <png.h>
28227 _ACEOF
28228 rm -f conftest.$ac_objext
28229 if { (ac_try="$ac_compile"
28230 case "(($ac_try" in
28231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28232 *) ac_try_echo=$ac_try;;
28233 esac
28234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28235 (eval "$ac_compile") 2>conftest.er1
28236 ac_status=$?
28237 grep -v '^ *+' conftest.er1 >conftest.err
28238 rm -f conftest.er1
28239 cat conftest.err >&5
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); } && {
28242 test -z "$ac_c_werror_flag" ||
28243 test ! -s conftest.err
28244 } && test -s conftest.$ac_objext; then
28245 ac_cv_header_png_h=yes
28246 else
28247 echo "$as_me: failed program was:" >&5
28248 sed 's/^/| /' conftest.$ac_ext >&5
28249
28250 ac_cv_header_png_h=no
28251 fi
28252
28253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28254 fi
28255 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28256 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28257
28258
28259
28260 if test "$ac_cv_header_png_h" = "yes"; then
28261 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28262 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28263 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28265 else
28266 ac_check_lib_save_LIBS=$LIBS
28267 LIBS="-lpng -lz -lm $LIBS"
28268 cat >conftest.$ac_ext <<_ACEOF
28269 /* confdefs.h. */
28270 _ACEOF
28271 cat confdefs.h >>conftest.$ac_ext
28272 cat >>conftest.$ac_ext <<_ACEOF
28273 /* end confdefs.h. */
28274
28275 /* Override any GCC internal prototype to avoid an error.
28276 Use char because int might match the return type of a GCC
28277 builtin and then its argument prototype would still apply. */
28278 #ifdef __cplusplus
28279 extern "C"
28280 #endif
28281 char png_sig_cmp ();
28282 int
28283 main ()
28284 {
28285 return png_sig_cmp ();
28286 ;
28287 return 0;
28288 }
28289 _ACEOF
28290 rm -f conftest.$ac_objext conftest$ac_exeext
28291 if { (ac_try="$ac_link"
28292 case "(($ac_try" in
28293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28294 *) ac_try_echo=$ac_try;;
28295 esac
28296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28297 (eval "$ac_link") 2>conftest.er1
28298 ac_status=$?
28299 grep -v '^ *+' conftest.er1 >conftest.err
28300 rm -f conftest.er1
28301 cat conftest.err >&5
28302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 (exit $ac_status); } && {
28304 test -z "$ac_c_werror_flag" ||
28305 test ! -s conftest.err
28306 } && test -s conftest$ac_exeext &&
28307 $as_test_x conftest$ac_exeext; then
28308 ac_cv_lib_png_png_sig_cmp=yes
28309 else
28310 echo "$as_me: failed program was:" >&5
28311 sed 's/^/| /' conftest.$ac_ext >&5
28312
28313 ac_cv_lib_png_png_sig_cmp=no
28314 fi
28315
28316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28317 conftest$ac_exeext conftest.$ac_ext
28318 LIBS=$ac_check_lib_save_LIBS
28319 fi
28320 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28321 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28322 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28323 PNG_LINK=" -lpng -lz"
28324 fi
28325
28326 fi
28327
28328 if test "x$PNG_LINK" = "x" ; then
28329 if test "$wxUSE_LIBPNG" = "sys" ; then
28330 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28331 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28332 { (exit 1); exit 1; }; }
28333 else
28334 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28335 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28336 wxUSE_LIBPNG=builtin
28337 fi
28338 else
28339 wxUSE_LIBPNG=sys
28340 fi
28341 fi
28342 fi
28343 fi
28344
28345
28346 JPEG_LINK=
28347 if test "$wxUSE_LIBJPEG" != "no" ; then
28348 cat >>confdefs.h <<\_ACEOF
28349 #define wxUSE_LIBJPEG 1
28350 _ACEOF
28351
28352
28353 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28354 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28355 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28356 wxUSE_LIBJPEG=sys
28357 fi
28358
28359 if test "$wxUSE_MGL" != 1 ; then
28360 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28361 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28362 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28363 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28364 echo $ECHO_N "(cached) $ECHO_C" >&6
28365 else
28366 cat >conftest.$ac_ext <<_ACEOF
28367 /* confdefs.h. */
28368 _ACEOF
28369 cat confdefs.h >>conftest.$ac_ext
28370 cat >>conftest.$ac_ext <<_ACEOF
28371 /* end confdefs.h. */
28372
28373 #undef HAVE_STDLIB_H
28374 #include <stdio.h>
28375 #include <jpeglib.h>
28376
28377 int
28378 main ()
28379 {
28380
28381
28382 ;
28383 return 0;
28384 }
28385 _ACEOF
28386 rm -f conftest.$ac_objext
28387 if { (ac_try="$ac_compile"
28388 case "(($ac_try" in
28389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28390 *) ac_try_echo=$ac_try;;
28391 esac
28392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28393 (eval "$ac_compile") 2>conftest.er1
28394 ac_status=$?
28395 grep -v '^ *+' conftest.er1 >conftest.err
28396 rm -f conftest.er1
28397 cat conftest.err >&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); } && {
28400 test -z "$ac_c_werror_flag" ||
28401 test ! -s conftest.err
28402 } && test -s conftest.$ac_objext; then
28403 ac_cv_header_jpeglib_h=yes
28404 else
28405 echo "$as_me: failed program was:" >&5
28406 sed 's/^/| /' conftest.$ac_ext >&5
28407
28408 ac_cv_header_jpeglib_h=no
28409
28410 fi
28411
28412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28413
28414 fi
28415
28416 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28417 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28418
28419 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28420 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28421 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28422 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28423 echo $ECHO_N "(cached) $ECHO_C" >&6
28424 else
28425 ac_check_lib_save_LIBS=$LIBS
28426 LIBS="-ljpeg $LIBS"
28427 cat >conftest.$ac_ext <<_ACEOF
28428 /* confdefs.h. */
28429 _ACEOF
28430 cat confdefs.h >>conftest.$ac_ext
28431 cat >>conftest.$ac_ext <<_ACEOF
28432 /* end confdefs.h. */
28433
28434 /* Override any GCC internal prototype to avoid an error.
28435 Use char because int might match the return type of a GCC
28436 builtin and then its argument prototype would still apply. */
28437 #ifdef __cplusplus
28438 extern "C"
28439 #endif
28440 char jpeg_read_header ();
28441 int
28442 main ()
28443 {
28444 return jpeg_read_header ();
28445 ;
28446 return 0;
28447 }
28448 _ACEOF
28449 rm -f conftest.$ac_objext conftest$ac_exeext
28450 if { (ac_try="$ac_link"
28451 case "(($ac_try" in
28452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28453 *) ac_try_echo=$ac_try;;
28454 esac
28455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28456 (eval "$ac_link") 2>conftest.er1
28457 ac_status=$?
28458 grep -v '^ *+' conftest.er1 >conftest.err
28459 rm -f conftest.er1
28460 cat conftest.err >&5
28461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28462 (exit $ac_status); } && {
28463 test -z "$ac_c_werror_flag" ||
28464 test ! -s conftest.err
28465 } && test -s conftest$ac_exeext &&
28466 $as_test_x conftest$ac_exeext; then
28467 ac_cv_lib_jpeg_jpeg_read_header=yes
28468 else
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28471
28472 ac_cv_lib_jpeg_jpeg_read_header=no
28473 fi
28474
28475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28476 conftest$ac_exeext conftest.$ac_ext
28477 LIBS=$ac_check_lib_save_LIBS
28478 fi
28479 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28480 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28481 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28482 JPEG_LINK=" -ljpeg"
28483 fi
28484
28485 fi
28486
28487 if test "x$JPEG_LINK" = "x" ; then
28488 if test "$wxUSE_LIBJPEG" = "sys" ; then
28489 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28490 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28491 { (exit 1); exit 1; }; }
28492 else
28493 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28494 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28495 wxUSE_LIBJPEG=builtin
28496 fi
28497 else
28498 wxUSE_LIBJPEG=sys
28499
28500 if test "$wxUSE_MSW" = 1; then
28501 { echo "$as_me:$LINENO: checking for boolean" >&5
28502 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28503 if test "${ac_cv_type_boolean+set}" = set; then
28504 echo $ECHO_N "(cached) $ECHO_C" >&6
28505 else
28506 cat >conftest.$ac_ext <<_ACEOF
28507 /* confdefs.h. */
28508 _ACEOF
28509 cat confdefs.h >>conftest.$ac_ext
28510 cat >>conftest.$ac_ext <<_ACEOF
28511 /* end confdefs.h. */
28512 #include <windows.h>
28513
28514 typedef boolean ac__type_new_;
28515 int
28516 main ()
28517 {
28518 if ((ac__type_new_ *) 0)
28519 return 0;
28520 if (sizeof (ac__type_new_))
28521 return 0;
28522 ;
28523 return 0;
28524 }
28525 _ACEOF
28526 rm -f conftest.$ac_objext
28527 if { (ac_try="$ac_compile"
28528 case "(($ac_try" in
28529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28530 *) ac_try_echo=$ac_try;;
28531 esac
28532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28533 (eval "$ac_compile") 2>conftest.er1
28534 ac_status=$?
28535 grep -v '^ *+' conftest.er1 >conftest.err
28536 rm -f conftest.er1
28537 cat conftest.err >&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); } && {
28540 test -z "$ac_c_werror_flag" ||
28541 test ! -s conftest.err
28542 } && test -s conftest.$ac_objext; then
28543 ac_cv_type_boolean=yes
28544 else
28545 echo "$as_me: failed program was:" >&5
28546 sed 's/^/| /' conftest.$ac_ext >&5
28547
28548 ac_cv_type_boolean=no
28549 fi
28550
28551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28552 fi
28553 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28554 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28555 if test $ac_cv_type_boolean = yes; then
28556
28557 cat >>confdefs.h <<_ACEOF
28558 #define HAVE_BOOLEAN 1
28559 _ACEOF
28560
28561
28562 { echo "$as_me:$LINENO: checking for boolean" >&5
28563 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28564 if test "${ac_cv_type_boolean+set}" = set; then
28565 echo $ECHO_N "(cached) $ECHO_C" >&6
28566 else
28567 cat >conftest.$ac_ext <<_ACEOF
28568 /* confdefs.h. */
28569 _ACEOF
28570 cat confdefs.h >>conftest.$ac_ext
28571 cat >>conftest.$ac_ext <<_ACEOF
28572 /* end confdefs.h. */
28573
28574 #undef HAVE_BOOLEAN
28575 #include <stdio.h>
28576 #include <jpeglib.h>
28577
28578
28579 typedef boolean ac__type_new_;
28580 int
28581 main ()
28582 {
28583 if ((ac__type_new_ *) 0)
28584 return 0;
28585 if (sizeof (ac__type_new_))
28586 return 0;
28587 ;
28588 return 0;
28589 }
28590 _ACEOF
28591 rm -f conftest.$ac_objext
28592 if { (ac_try="$ac_compile"
28593 case "(($ac_try" in
28594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28595 *) ac_try_echo=$ac_try;;
28596 esac
28597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28598 (eval "$ac_compile") 2>conftest.er1
28599 ac_status=$?
28600 grep -v '^ *+' conftest.er1 >conftest.err
28601 rm -f conftest.er1
28602 cat conftest.err >&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); } && {
28605 test -z "$ac_c_werror_flag" ||
28606 test ! -s conftest.err
28607 } && test -s conftest.$ac_objext; then
28608 ac_cv_type_boolean=yes
28609 else
28610 echo "$as_me: failed program was:" >&5
28611 sed 's/^/| /' conftest.$ac_ext >&5
28612
28613 ac_cv_type_boolean=no
28614 fi
28615
28616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28617 fi
28618 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28619 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28620
28621 # The cast to long int works around a bug in the HP C Compiler
28622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28624 # This bug is HP SR number 8606223364.
28625 { echo "$as_me:$LINENO: checking size of boolean" >&5
28626 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28627 if test "${ac_cv_sizeof_boolean+set}" = set; then
28628 echo $ECHO_N "(cached) $ECHO_C" >&6
28629 else
28630 if test "$cross_compiling" = yes; then
28631 # Depending upon the size, compute the lo and hi bounds.
28632 cat >conftest.$ac_ext <<_ACEOF
28633 /* confdefs.h. */
28634 _ACEOF
28635 cat confdefs.h >>conftest.$ac_ext
28636 cat >>conftest.$ac_ext <<_ACEOF
28637 /* end confdefs.h. */
28638
28639 #undef HAVE_BOOLEAN
28640 #include <stdio.h>
28641 #include <jpeglib.h>
28642
28643
28644 typedef boolean ac__type_sizeof_;
28645 int
28646 main ()
28647 {
28648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28649 test_array [0] = 0
28650
28651 ;
28652 return 0;
28653 }
28654 _ACEOF
28655 rm -f conftest.$ac_objext
28656 if { (ac_try="$ac_compile"
28657 case "(($ac_try" in
28658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28659 *) ac_try_echo=$ac_try;;
28660 esac
28661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28662 (eval "$ac_compile") 2>conftest.er1
28663 ac_status=$?
28664 grep -v '^ *+' conftest.er1 >conftest.err
28665 rm -f conftest.er1
28666 cat conftest.err >&5
28667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28668 (exit $ac_status); } && {
28669 test -z "$ac_c_werror_flag" ||
28670 test ! -s conftest.err
28671 } && test -s conftest.$ac_objext; then
28672 ac_lo=0 ac_mid=0
28673 while :; do
28674 cat >conftest.$ac_ext <<_ACEOF
28675 /* confdefs.h. */
28676 _ACEOF
28677 cat confdefs.h >>conftest.$ac_ext
28678 cat >>conftest.$ac_ext <<_ACEOF
28679 /* end confdefs.h. */
28680
28681 #undef HAVE_BOOLEAN
28682 #include <stdio.h>
28683 #include <jpeglib.h>
28684
28685
28686 typedef boolean ac__type_sizeof_;
28687 int
28688 main ()
28689 {
28690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28691 test_array [0] = 0
28692
28693 ;
28694 return 0;
28695 }
28696 _ACEOF
28697 rm -f conftest.$ac_objext
28698 if { (ac_try="$ac_compile"
28699 case "(($ac_try" in
28700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28701 *) ac_try_echo=$ac_try;;
28702 esac
28703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28704 (eval "$ac_compile") 2>conftest.er1
28705 ac_status=$?
28706 grep -v '^ *+' conftest.er1 >conftest.err
28707 rm -f conftest.er1
28708 cat conftest.err >&5
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); } && {
28711 test -z "$ac_c_werror_flag" ||
28712 test ! -s conftest.err
28713 } && test -s conftest.$ac_objext; then
28714 ac_hi=$ac_mid; break
28715 else
28716 echo "$as_me: failed program was:" >&5
28717 sed 's/^/| /' conftest.$ac_ext >&5
28718
28719 ac_lo=`expr $ac_mid + 1`
28720 if test $ac_lo -le $ac_mid; then
28721 ac_lo= ac_hi=
28722 break
28723 fi
28724 ac_mid=`expr 2 '*' $ac_mid + 1`
28725 fi
28726
28727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28728 done
28729 else
28730 echo "$as_me: failed program was:" >&5
28731 sed 's/^/| /' conftest.$ac_ext >&5
28732
28733 cat >conftest.$ac_ext <<_ACEOF
28734 /* confdefs.h. */
28735 _ACEOF
28736 cat confdefs.h >>conftest.$ac_ext
28737 cat >>conftest.$ac_ext <<_ACEOF
28738 /* end confdefs.h. */
28739
28740 #undef HAVE_BOOLEAN
28741 #include <stdio.h>
28742 #include <jpeglib.h>
28743
28744
28745 typedef boolean ac__type_sizeof_;
28746 int
28747 main ()
28748 {
28749 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28750 test_array [0] = 0
28751
28752 ;
28753 return 0;
28754 }
28755 _ACEOF
28756 rm -f conftest.$ac_objext
28757 if { (ac_try="$ac_compile"
28758 case "(($ac_try" in
28759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28760 *) ac_try_echo=$ac_try;;
28761 esac
28762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28763 (eval "$ac_compile") 2>conftest.er1
28764 ac_status=$?
28765 grep -v '^ *+' conftest.er1 >conftest.err
28766 rm -f conftest.er1
28767 cat conftest.err >&5
28768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28769 (exit $ac_status); } && {
28770 test -z "$ac_c_werror_flag" ||
28771 test ! -s conftest.err
28772 } && test -s conftest.$ac_objext; then
28773 ac_hi=-1 ac_mid=-1
28774 while :; do
28775 cat >conftest.$ac_ext <<_ACEOF
28776 /* confdefs.h. */
28777 _ACEOF
28778 cat confdefs.h >>conftest.$ac_ext
28779 cat >>conftest.$ac_ext <<_ACEOF
28780 /* end confdefs.h. */
28781
28782 #undef HAVE_BOOLEAN
28783 #include <stdio.h>
28784 #include <jpeglib.h>
28785
28786
28787 typedef boolean ac__type_sizeof_;
28788 int
28789 main ()
28790 {
28791 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28792 test_array [0] = 0
28793
28794 ;
28795 return 0;
28796 }
28797 _ACEOF
28798 rm -f conftest.$ac_objext
28799 if { (ac_try="$ac_compile"
28800 case "(($ac_try" in
28801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28802 *) ac_try_echo=$ac_try;;
28803 esac
28804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28805 (eval "$ac_compile") 2>conftest.er1
28806 ac_status=$?
28807 grep -v '^ *+' conftest.er1 >conftest.err
28808 rm -f conftest.er1
28809 cat conftest.err >&5
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); } && {
28812 test -z "$ac_c_werror_flag" ||
28813 test ! -s conftest.err
28814 } && test -s conftest.$ac_objext; then
28815 ac_lo=$ac_mid; break
28816 else
28817 echo "$as_me: failed program was:" >&5
28818 sed 's/^/| /' conftest.$ac_ext >&5
28819
28820 ac_hi=`expr '(' $ac_mid ')' - 1`
28821 if test $ac_mid -le $ac_hi; then
28822 ac_lo= ac_hi=
28823 break
28824 fi
28825 ac_mid=`expr 2 '*' $ac_mid`
28826 fi
28827
28828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28829 done
28830 else
28831 echo "$as_me: failed program was:" >&5
28832 sed 's/^/| /' conftest.$ac_ext >&5
28833
28834 ac_lo= ac_hi=
28835 fi
28836
28837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28838 fi
28839
28840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28841 # Binary search between lo and hi bounds.
28842 while test "x$ac_lo" != "x$ac_hi"; do
28843 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28844 cat >conftest.$ac_ext <<_ACEOF
28845 /* confdefs.h. */
28846 _ACEOF
28847 cat confdefs.h >>conftest.$ac_ext
28848 cat >>conftest.$ac_ext <<_ACEOF
28849 /* end confdefs.h. */
28850
28851 #undef HAVE_BOOLEAN
28852 #include <stdio.h>
28853 #include <jpeglib.h>
28854
28855
28856 typedef boolean ac__type_sizeof_;
28857 int
28858 main ()
28859 {
28860 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28861 test_array [0] = 0
28862
28863 ;
28864 return 0;
28865 }
28866 _ACEOF
28867 rm -f conftest.$ac_objext
28868 if { (ac_try="$ac_compile"
28869 case "(($ac_try" in
28870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28871 *) ac_try_echo=$ac_try;;
28872 esac
28873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28874 (eval "$ac_compile") 2>conftest.er1
28875 ac_status=$?
28876 grep -v '^ *+' conftest.er1 >conftest.err
28877 rm -f conftest.er1
28878 cat conftest.err >&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); } && {
28881 test -z "$ac_c_werror_flag" ||
28882 test ! -s conftest.err
28883 } && test -s conftest.$ac_objext; then
28884 ac_hi=$ac_mid
28885 else
28886 echo "$as_me: failed program was:" >&5
28887 sed 's/^/| /' conftest.$ac_ext >&5
28888
28889 ac_lo=`expr '(' $ac_mid ')' + 1`
28890 fi
28891
28892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28893 done
28894 case $ac_lo in
28895 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28896 '') if test "$ac_cv_type_boolean" = yes; then
28897 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28898 See \`config.log' for more details." >&5
28899 echo "$as_me: error: cannot compute sizeof (boolean)
28900 See \`config.log' for more details." >&2;}
28901 { (exit 77); exit 77; }; }
28902 else
28903 ac_cv_sizeof_boolean=0
28904 fi ;;
28905 esac
28906 else
28907 cat >conftest.$ac_ext <<_ACEOF
28908 /* confdefs.h. */
28909 _ACEOF
28910 cat confdefs.h >>conftest.$ac_ext
28911 cat >>conftest.$ac_ext <<_ACEOF
28912 /* end confdefs.h. */
28913
28914 #undef HAVE_BOOLEAN
28915 #include <stdio.h>
28916 #include <jpeglib.h>
28917
28918
28919 typedef boolean ac__type_sizeof_;
28920 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
28921 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
28922 #include <stdio.h>
28923 #include <stdlib.h>
28924 int
28925 main ()
28926 {
28927
28928 FILE *f = fopen ("conftest.val", "w");
28929 if (! f)
28930 return 1;
28931 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
28932 {
28933 long int i = longval ();
28934 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28935 return 1;
28936 fprintf (f, "%ld\n", i);
28937 }
28938 else
28939 {
28940 unsigned long int i = ulongval ();
28941 if (i != ((long int) (sizeof (ac__type_sizeof_))))
28942 return 1;
28943 fprintf (f, "%lu\n", i);
28944 }
28945 return ferror (f) || fclose (f) != 0;
28946
28947 ;
28948 return 0;
28949 }
28950 _ACEOF
28951 rm -f conftest$ac_exeext
28952 if { (ac_try="$ac_link"
28953 case "(($ac_try" in
28954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28955 *) ac_try_echo=$ac_try;;
28956 esac
28957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28958 (eval "$ac_link") 2>&5
28959 ac_status=$?
28960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28962 { (case "(($ac_try" in
28963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28964 *) ac_try_echo=$ac_try;;
28965 esac
28966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28967 (eval "$ac_try") 2>&5
28968 ac_status=$?
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); }; }; then
28971 ac_cv_sizeof_boolean=`cat conftest.val`
28972 else
28973 echo "$as_me: program exited with status $ac_status" >&5
28974 echo "$as_me: failed program was:" >&5
28975 sed 's/^/| /' conftest.$ac_ext >&5
28976
28977 ( exit $ac_status )
28978 if test "$ac_cv_type_boolean" = yes; then
28979 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
28980 See \`config.log' for more details." >&5
28981 echo "$as_me: error: cannot compute sizeof (boolean)
28982 See \`config.log' for more details." >&2;}
28983 { (exit 77); exit 77; }; }
28984 else
28985 ac_cv_sizeof_boolean=0
28986 fi
28987 fi
28988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28989 fi
28990 rm -f conftest.val
28991 fi
28992 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28993 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
28994
28995
28996
28997 cat >>confdefs.h <<_ACEOF
28998 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28999 _ACEOF
29000
29001
29002 cat >>confdefs.h <<_ACEOF
29003 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29004 _ACEOF
29005
29006
29007 fi
29008
29009 fi
29010 fi
29011 fi
29012 fi
29013 fi
29014
29015
29016 TIFF_LINK=
29017 TIFF_PREREQ_LINKS=-lm
29018 if test "$wxUSE_LIBTIFF" != "no" ; then
29019 cat >>confdefs.h <<\_ACEOF
29020 #define wxUSE_LIBTIFF 1
29021 _ACEOF
29022
29023
29024 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29025 if test "$wxUSE_LIBJPEG" = "sys"; then
29026 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29027 fi
29028 if test "$wxUSE_ZLIB" = "sys"; then
29029 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29030 fi
29031 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29032 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29033 if test "${ac_cv_header_tiffio_h+set}" = set; then
29034 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 else
29036 cat >conftest.$ac_ext <<_ACEOF
29037 /* confdefs.h. */
29038 _ACEOF
29039 cat confdefs.h >>conftest.$ac_ext
29040 cat >>conftest.$ac_ext <<_ACEOF
29041 /* end confdefs.h. */
29042
29043
29044
29045 #include <tiffio.h>
29046 _ACEOF
29047 rm -f conftest.$ac_objext
29048 if { (ac_try="$ac_compile"
29049 case "(($ac_try" in
29050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29051 *) ac_try_echo=$ac_try;;
29052 esac
29053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29054 (eval "$ac_compile") 2>conftest.er1
29055 ac_status=$?
29056 grep -v '^ *+' conftest.er1 >conftest.err
29057 rm -f conftest.er1
29058 cat conftest.err >&5
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); } && {
29061 test -z "$ac_c_werror_flag" ||
29062 test ! -s conftest.err
29063 } && test -s conftest.$ac_objext; then
29064 ac_cv_header_tiffio_h=yes
29065 else
29066 echo "$as_me: failed program was:" >&5
29067 sed 's/^/| /' conftest.$ac_ext >&5
29068
29069 ac_cv_header_tiffio_h=no
29070 fi
29071
29072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29073 fi
29074 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29075 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29076 if test $ac_cv_header_tiffio_h = yes; then
29077
29078 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29079 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29080 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29081 echo $ECHO_N "(cached) $ECHO_C" >&6
29082 else
29083 ac_check_lib_save_LIBS=$LIBS
29084 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29085 cat >conftest.$ac_ext <<_ACEOF
29086 /* confdefs.h. */
29087 _ACEOF
29088 cat confdefs.h >>conftest.$ac_ext
29089 cat >>conftest.$ac_ext <<_ACEOF
29090 /* end confdefs.h. */
29091
29092 /* Override any GCC internal prototype to avoid an error.
29093 Use char because int might match the return type of a GCC
29094 builtin and then its argument prototype would still apply. */
29095 #ifdef __cplusplus
29096 extern "C"
29097 #endif
29098 char TIFFError ();
29099 int
29100 main ()
29101 {
29102 return TIFFError ();
29103 ;
29104 return 0;
29105 }
29106 _ACEOF
29107 rm -f conftest.$ac_objext conftest$ac_exeext
29108 if { (ac_try="$ac_link"
29109 case "(($ac_try" in
29110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29111 *) ac_try_echo=$ac_try;;
29112 esac
29113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29114 (eval "$ac_link") 2>conftest.er1
29115 ac_status=$?
29116 grep -v '^ *+' conftest.er1 >conftest.err
29117 rm -f conftest.er1
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } && {
29121 test -z "$ac_c_werror_flag" ||
29122 test ! -s conftest.err
29123 } && test -s conftest$ac_exeext &&
29124 $as_test_x conftest$ac_exeext; then
29125 ac_cv_lib_tiff_TIFFError=yes
29126 else
29127 echo "$as_me: failed program was:" >&5
29128 sed 's/^/| /' conftest.$ac_ext >&5
29129
29130 ac_cv_lib_tiff_TIFFError=no
29131 fi
29132
29133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29134 conftest$ac_exeext conftest.$ac_ext
29135 LIBS=$ac_check_lib_save_LIBS
29136 fi
29137 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29138 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29139 if test $ac_cv_lib_tiff_TIFFError = yes; then
29140 TIFF_LINK=" -ltiff"
29141 fi
29142
29143
29144 fi
29145
29146
29147
29148 if test "x$TIFF_LINK" = "x" ; then
29149 if test "$wxUSE_LIBTIFF" = "sys" ; then
29150 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29151 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29152 { (exit 1); exit 1; }; }
29153 else
29154 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29155 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29156 wxUSE_LIBTIFF=builtin
29157 fi
29158 else
29159 wxUSE_LIBTIFF=sys
29160 fi
29161 fi
29162 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29163 if test "$wxUSE_LIBJPEG" = "no"; then
29164 ac_configure_args="$ac_configure_args --disable-jpeg"
29165 fi
29166 subdirs="$subdirs src/tiff"
29167
29168 fi
29169 fi
29170
29171
29172 if test "$wxUSE_EXPAT" != "no"; then
29173 wxUSE_XML=yes
29174 cat >>confdefs.h <<\_ACEOF
29175 #define wxUSE_EXPAT 1
29176 _ACEOF
29177
29178 cat >>confdefs.h <<\_ACEOF
29179 #define wxUSE_XML 1
29180 _ACEOF
29181
29182
29183 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29184 { echo "$as_me:$LINENO: checking for expat.h" >&5
29185 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29186 if test "${ac_cv_header_expat_h+set}" = set; then
29187 echo $ECHO_N "(cached) $ECHO_C" >&6
29188 else
29189 cat >conftest.$ac_ext <<_ACEOF
29190 /* confdefs.h. */
29191 _ACEOF
29192 cat confdefs.h >>conftest.$ac_ext
29193 cat >>conftest.$ac_ext <<_ACEOF
29194 /* end confdefs.h. */
29195
29196
29197 #include <expat.h>
29198 _ACEOF
29199 rm -f conftest.$ac_objext
29200 if { (ac_try="$ac_compile"
29201 case "(($ac_try" in
29202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29203 *) ac_try_echo=$ac_try;;
29204 esac
29205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29206 (eval "$ac_compile") 2>conftest.er1
29207 ac_status=$?
29208 grep -v '^ *+' conftest.er1 >conftest.err
29209 rm -f conftest.er1
29210 cat conftest.err >&5
29211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212 (exit $ac_status); } && {
29213 test -z "$ac_c_werror_flag" ||
29214 test ! -s conftest.err
29215 } && test -s conftest.$ac_objext; then
29216 ac_cv_header_expat_h=yes
29217 else
29218 echo "$as_me: failed program was:" >&5
29219 sed 's/^/| /' conftest.$ac_ext >&5
29220
29221 ac_cv_header_expat_h=no
29222 fi
29223
29224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29225 fi
29226 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29227 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29228 if test $ac_cv_header_expat_h = yes; then
29229 found_expat_h=1
29230 fi
29231
29232
29233 if test "x$found_expat_h" = "x1"; then
29234 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29235 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29236 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29237 echo $ECHO_N "(cached) $ECHO_C" >&6
29238 else
29239
29240 ac_ext=cpp
29241 ac_cpp='$CXXCPP $CPPFLAGS'
29242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29245
29246 cat >conftest.$ac_ext <<_ACEOF
29247 /* confdefs.h. */
29248 _ACEOF
29249 cat confdefs.h >>conftest.$ac_ext
29250 cat >>conftest.$ac_ext <<_ACEOF
29251 /* end confdefs.h. */
29252 #include <expat.h>
29253 int
29254 main ()
29255 {
29256
29257 ;
29258 return 0;
29259 }
29260 _ACEOF
29261 rm -f conftest.$ac_objext
29262 if { (ac_try="$ac_compile"
29263 case "(($ac_try" in
29264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29265 *) ac_try_echo=$ac_try;;
29266 esac
29267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29268 (eval "$ac_compile") 2>conftest.er1
29269 ac_status=$?
29270 grep -v '^ *+' conftest.er1 >conftest.err
29271 rm -f conftest.er1
29272 cat conftest.err >&5
29273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29274 (exit $ac_status); } && {
29275 test -z "$ac_cxx_werror_flag" ||
29276 test ! -s conftest.err
29277 } && test -s conftest.$ac_objext; then
29278 wx_cv_expat_is_not_broken=yes
29279 else
29280 echo "$as_me: failed program was:" >&5
29281 sed 's/^/| /' conftest.$ac_ext >&5
29282
29283 wx_cv_expat_is_not_broken=no
29284
29285 fi
29286
29287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29288 ac_ext=c
29289 ac_cpp='$CPP $CPPFLAGS'
29290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29293
29294
29295
29296 fi
29297 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29298 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29299 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29300 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29301 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29302 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29303 echo $ECHO_N "(cached) $ECHO_C" >&6
29304 else
29305 ac_check_lib_save_LIBS=$LIBS
29306 LIBS="-lexpat $LIBS"
29307 cat >conftest.$ac_ext <<_ACEOF
29308 /* confdefs.h. */
29309 _ACEOF
29310 cat confdefs.h >>conftest.$ac_ext
29311 cat >>conftest.$ac_ext <<_ACEOF
29312 /* end confdefs.h. */
29313
29314 /* Override any GCC internal prototype to avoid an error.
29315 Use char because int might match the return type of a GCC
29316 builtin and then its argument prototype would still apply. */
29317 #ifdef __cplusplus
29318 extern "C"
29319 #endif
29320 char XML_ParserCreate ();
29321 int
29322 main ()
29323 {
29324 return XML_ParserCreate ();
29325 ;
29326 return 0;
29327 }
29328 _ACEOF
29329 rm -f conftest.$ac_objext conftest$ac_exeext
29330 if { (ac_try="$ac_link"
29331 case "(($ac_try" in
29332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29333 *) ac_try_echo=$ac_try;;
29334 esac
29335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29336 (eval "$ac_link") 2>conftest.er1
29337 ac_status=$?
29338 grep -v '^ *+' conftest.er1 >conftest.err
29339 rm -f conftest.er1
29340 cat conftest.err >&5
29341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29342 (exit $ac_status); } && {
29343 test -z "$ac_c_werror_flag" ||
29344 test ! -s conftest.err
29345 } && test -s conftest$ac_exeext &&
29346 $as_test_x conftest$ac_exeext; then
29347 ac_cv_lib_expat_XML_ParserCreate=yes
29348 else
29349 echo "$as_me: failed program was:" >&5
29350 sed 's/^/| /' conftest.$ac_ext >&5
29351
29352 ac_cv_lib_expat_XML_ParserCreate=no
29353 fi
29354
29355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29356 conftest$ac_exeext conftest.$ac_ext
29357 LIBS=$ac_check_lib_save_LIBS
29358 fi
29359 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29360 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29361 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29362 EXPAT_LINK=" -lexpat"
29363 fi
29364
29365 fi
29366 fi
29367 if test "x$EXPAT_LINK" = "x" ; then
29368 if test "$wxUSE_EXPAT" = "sys" ; then
29369 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29370 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29371 { (exit 1); exit 1; }; }
29372 else
29373 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29374 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29375 wxUSE_EXPAT=builtin
29376 fi
29377 else
29378 wxUSE_EXPAT=sys
29379 fi
29380 fi
29381 if test "$wxUSE_EXPAT" = "builtin" ; then
29382 subdirs="$subdirs src/expat"
29383
29384 fi
29385 fi
29386
29387
29388
29389 if test "$wxUSE_LIBMSPACK" != "no"; then
29390 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29391 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29392 if test "${ac_cv_header_mspack_h+set}" = set; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29394 else
29395 cat >conftest.$ac_ext <<_ACEOF
29396 /* confdefs.h. */
29397 _ACEOF
29398 cat confdefs.h >>conftest.$ac_ext
29399 cat >>conftest.$ac_ext <<_ACEOF
29400 /* end confdefs.h. */
29401
29402
29403 #include <mspack.h>
29404 _ACEOF
29405 rm -f conftest.$ac_objext
29406 if { (ac_try="$ac_compile"
29407 case "(($ac_try" in
29408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29409 *) ac_try_echo=$ac_try;;
29410 esac
29411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29412 (eval "$ac_compile") 2>conftest.er1
29413 ac_status=$?
29414 grep -v '^ *+' conftest.er1 >conftest.err
29415 rm -f conftest.er1
29416 cat conftest.err >&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); } && {
29419 test -z "$ac_c_werror_flag" ||
29420 test ! -s conftest.err
29421 } && test -s conftest.$ac_objext; then
29422 ac_cv_header_mspack_h=yes
29423 else
29424 echo "$as_me: failed program was:" >&5
29425 sed 's/^/| /' conftest.$ac_ext >&5
29426
29427 ac_cv_header_mspack_h=no
29428 fi
29429
29430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29431 fi
29432 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29433 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29434 if test $ac_cv_header_mspack_h = yes; then
29435 found_mspack_h=1
29436 fi
29437
29438
29439 if test "x$found_mspack_h" = "x1"; then
29440 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29441 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29442 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29443 echo $ECHO_N "(cached) $ECHO_C" >&6
29444 else
29445 ac_check_lib_save_LIBS=$LIBS
29446 LIBS="-lmspack $LIBS"
29447 cat >conftest.$ac_ext <<_ACEOF
29448 /* confdefs.h. */
29449 _ACEOF
29450 cat confdefs.h >>conftest.$ac_ext
29451 cat >>conftest.$ac_ext <<_ACEOF
29452 /* end confdefs.h. */
29453
29454 /* Override any GCC internal prototype to avoid an error.
29455 Use char because int might match the return type of a GCC
29456 builtin and then its argument prototype would still apply. */
29457 #ifdef __cplusplus
29458 extern "C"
29459 #endif
29460 char mspack_create_chm_decompressor ();
29461 int
29462 main ()
29463 {
29464 return mspack_create_chm_decompressor ();
29465 ;
29466 return 0;
29467 }
29468 _ACEOF
29469 rm -f conftest.$ac_objext conftest$ac_exeext
29470 if { (ac_try="$ac_link"
29471 case "(($ac_try" in
29472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29473 *) ac_try_echo=$ac_try;;
29474 esac
29475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29476 (eval "$ac_link") 2>conftest.er1
29477 ac_status=$?
29478 grep -v '^ *+' conftest.er1 >conftest.err
29479 rm -f conftest.er1
29480 cat conftest.err >&5
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); } && {
29483 test -z "$ac_c_werror_flag" ||
29484 test ! -s conftest.err
29485 } && test -s conftest$ac_exeext &&
29486 $as_test_x conftest$ac_exeext; then
29487 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29488 else
29489 echo "$as_me: failed program was:" >&5
29490 sed 's/^/| /' conftest.$ac_ext >&5
29491
29492 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29493 fi
29494
29495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29496 conftest$ac_exeext conftest.$ac_ext
29497 LIBS=$ac_check_lib_save_LIBS
29498 fi
29499 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29500 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29501 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29502 MSPACK_LINK=" -lmspack"
29503 fi
29504
29505 fi
29506 if test "x$MSPACK_LINK" = "x" ; then
29507 wxUSE_LIBMSPACK=no
29508 fi
29509 fi
29510
29511 if test "$wxUSE_LIBMSPACK" != "no"; then
29512 cat >>confdefs.h <<\_ACEOF
29513 #define wxUSE_LIBMSPACK 1
29514 _ACEOF
29515
29516 fi
29517
29518
29519
29520 AFMINSTALL=
29521 WIN32INSTALL=
29522
29523 TOOLKIT=
29524 TOOLKIT_INCLUDE=
29525 WIDGET_SET=
29526
29527 if test "$USE_WIN32" = 1 ; then
29528
29529 for ac_header in w32api.h
29530 do
29531 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29532 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29534 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29535 echo $ECHO_N "(cached) $ECHO_C" >&6
29536 else
29537 cat >conftest.$ac_ext <<_ACEOF
29538 /* confdefs.h. */
29539 _ACEOF
29540 cat confdefs.h >>conftest.$ac_ext
29541 cat >>conftest.$ac_ext <<_ACEOF
29542 /* end confdefs.h. */
29543
29544
29545 #include <$ac_header>
29546 _ACEOF
29547 rm -f conftest.$ac_objext
29548 if { (ac_try="$ac_compile"
29549 case "(($ac_try" in
29550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29551 *) ac_try_echo=$ac_try;;
29552 esac
29553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29554 (eval "$ac_compile") 2>conftest.er1
29555 ac_status=$?
29556 grep -v '^ *+' conftest.er1 >conftest.err
29557 rm -f conftest.er1
29558 cat conftest.err >&5
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); } && {
29561 test -z "$ac_c_werror_flag" ||
29562 test ! -s conftest.err
29563 } && test -s conftest.$ac_objext; then
29564 eval "$as_ac_Header=yes"
29565 else
29566 echo "$as_me: failed program was:" >&5
29567 sed 's/^/| /' conftest.$ac_ext >&5
29568
29569 eval "$as_ac_Header=no"
29570 fi
29571
29572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29573 fi
29574 ac_res=`eval echo '${'$as_ac_Header'}'`
29575 { echo "$as_me:$LINENO: result: $ac_res" >&5
29576 echo "${ECHO_T}$ac_res" >&6; }
29577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29578 cat >>confdefs.h <<_ACEOF
29579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29580 _ACEOF
29581
29582 fi
29583
29584 done
29585
29586 { echo "$as_me:$LINENO: checking for windows.h" >&5
29587 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29588 if test "${ac_cv_header_windows_h+set}" = set; then
29589 echo $ECHO_N "(cached) $ECHO_C" >&6
29590 else
29591 cat >conftest.$ac_ext <<_ACEOF
29592 /* confdefs.h. */
29593 _ACEOF
29594 cat confdefs.h >>conftest.$ac_ext
29595 cat >>conftest.$ac_ext <<_ACEOF
29596 /* end confdefs.h. */
29597
29598
29599 #include <windows.h>
29600 _ACEOF
29601 rm -f conftest.$ac_objext
29602 if { (ac_try="$ac_compile"
29603 case "(($ac_try" in
29604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29605 *) ac_try_echo=$ac_try;;
29606 esac
29607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29608 (eval "$ac_compile") 2>conftest.er1
29609 ac_status=$?
29610 grep -v '^ *+' conftest.er1 >conftest.err
29611 rm -f conftest.er1
29612 cat conftest.err >&5
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); } && {
29615 test -z "$ac_c_werror_flag" ||
29616 test ! -s conftest.err
29617 } && test -s conftest.$ac_objext; then
29618 ac_cv_header_windows_h=yes
29619 else
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.$ac_ext >&5
29622
29623 ac_cv_header_windows_h=no
29624 fi
29625
29626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29627 fi
29628 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29629 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29630 if test $ac_cv_header_windows_h = yes; then
29631 :
29632 else
29633
29634 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29635 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29636 { (exit 1); exit 1; }; }
29637
29638 fi
29639
29640
29641
29642 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29643 case "${host}" in
29644 x86_64-*-mingw32* )
29645 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29646 ;;
29647 esac
29648 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29649 LIBS="$LIBS -loleacc"
29650 fi
29651
29652 case "${host}" in
29653 *-*-cygwin* )
29654 LIBS="$LIBS -lkernel32 -luser32"
29655 esac
29656
29657 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29658 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29659
29660 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29661
29662 WIN32INSTALL=win32install
29663
29664 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29665 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29666 if test "${ac_cv_header_pbt_h+set}" = set; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29668 else
29669 cat >conftest.$ac_ext <<_ACEOF
29670 /* confdefs.h. */
29671 _ACEOF
29672 cat confdefs.h >>conftest.$ac_ext
29673 cat >>conftest.$ac_ext <<_ACEOF
29674 /* end confdefs.h. */
29675
29676
29677 #include <pbt.h>
29678 _ACEOF
29679 rm -f conftest.$ac_objext
29680 if { (ac_try="$ac_compile"
29681 case "(($ac_try" in
29682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29683 *) ac_try_echo=$ac_try;;
29684 esac
29685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29686 (eval "$ac_compile") 2>conftest.er1
29687 ac_status=$?
29688 grep -v '^ *+' conftest.er1 >conftest.err
29689 rm -f conftest.er1
29690 cat conftest.err >&5
29691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692 (exit $ac_status); } && {
29693 test -z "$ac_c_werror_flag" ||
29694 test ! -s conftest.err
29695 } && test -s conftest.$ac_objext; then
29696 ac_cv_header_pbt_h=yes
29697 else
29698 echo "$as_me: failed program was:" >&5
29699 sed 's/^/| /' conftest.$ac_ext >&5
29700
29701 ac_cv_header_pbt_h=no
29702 fi
29703
29704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29705 fi
29706 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29707 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29708 if test $ac_cv_header_pbt_h = yes; then
29709 :
29710 else
29711 cat >>confdefs.h <<\_ACEOF
29712 #define NEED_PBT_H 1
29713 _ACEOF
29714
29715 fi
29716
29717
29718 fi
29719
29720 if test "$wxUSE_GUI" = "yes"; then
29721 USE_GUI=1
29722
29723 GUI_TK_LIBRARY=
29724
29725 WXGTK12=
29726 WXGTK127=
29727 WXGTK2=
29728 WXGPE=
29729
29730 if test "$wxUSE_OLD_COCOA" = 1 ; then
29731 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29732 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29733 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29734 wxUSE_PRINTING_ARCHITECTURE=no
29735 fi
29736 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29737 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29738 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29739 wxUSE_DRAG_AND_DROP=no
29740 fi
29741 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29742 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29743 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29744 wxUSE_DRAGIMAGE=no
29745 fi
29746 fi
29747
29748 if test "$wxUSE_MSW" = 1 ; then
29749 TOOLKIT=MSW
29750 GUIDIST=MSW_DIST
29751
29752 case "${host}" in
29753 *-*-mingw32* )
29754 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29755 esac
29756 fi
29757
29758 if test "$wxUSE_GTK" = 1; then
29759 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29760 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29761
29762 gtk_version_cached=1
29763 if test "${wx_cv_lib_gtk+set}" = set; then
29764 echo $ECHO_N "(cached) $ECHO_C" >&6
29765 else
29766
29767 gtk_version_cached=0
29768 { echo "$as_me:$LINENO: result: " >&5
29769 echo "${ECHO_T}" >&6; }
29770
29771 GTK_MODULES=
29772 if test "$wxUSE_THREADS" = "yes"; then
29773 GTK_MODULES=gthread
29774 fi
29775
29776 wx_cv_lib_gtk=
29777 if test "x$wxGTK_VERSION" != "x1"
29778 then
29779 case "${host}" in
29780 *-*-solaris2* )
29781 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29782 enable_gtktest=no
29783 fi
29784 esac
29785
29786 # Check whether --enable-gtktest was given.
29787 if test "${enable_gtktest+set}" = set; then
29788 enableval=$enable_gtktest;
29789 else
29790 enable_gtktest=yes
29791 fi
29792
29793
29794 pkg_config_args=gtk+-2.0
29795 for module in . $GTK_MODULES
29796 do
29797 case "$module" in
29798 gthread)
29799 pkg_config_args="$pkg_config_args gthread-2.0"
29800 ;;
29801 esac
29802 done
29803
29804 no_gtk=""
29805
29806 # Extract the first word of "pkg-config", so it can be a program name with args.
29807 set dummy pkg-config; ac_word=$2
29808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29810 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29811 echo $ECHO_N "(cached) $ECHO_C" >&6
29812 else
29813 case $PKG_CONFIG in
29814 [\\/]* | ?:[\\/]*)
29815 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29816 ;;
29817 *)
29818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29819 for as_dir in $PATH
29820 do
29821 IFS=$as_save_IFS
29822 test -z "$as_dir" && as_dir=.
29823 for ac_exec_ext in '' $ac_executable_extensions; do
29824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29825 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29827 break 2
29828 fi
29829 done
29830 done
29831 IFS=$as_save_IFS
29832
29833 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29834 ;;
29835 esac
29836 fi
29837 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29838 if test -n "$PKG_CONFIG"; then
29839 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29840 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29841 else
29842 { echo "$as_me:$LINENO: result: no" >&5
29843 echo "${ECHO_T}no" >&6; }
29844 fi
29845
29846
29847
29848 if test x$PKG_CONFIG != xno ; then
29849 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29850 :
29851 else
29852 echo "*** pkg-config too old; version 0.7 or better required."
29853 no_gtk=yes
29854 PKG_CONFIG=no
29855 fi
29856 else
29857 no_gtk=yes
29858 fi
29859
29860 min_gtk_version=2.4.0
29861 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29862 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
29863
29864 if test x$PKG_CONFIG != xno ; then
29865 ## don't try to run the test against uninstalled libtool libs
29866 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29867 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29868 enable_gtktest=no
29869 fi
29870
29871 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29872 :
29873 else
29874 no_gtk=yes
29875 fi
29876 fi
29877
29878 if test x"$no_gtk" = x ; then
29879 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29880 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29881 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29883 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29885 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29886 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29887 if test "x$enable_gtktest" = "xyes" ; then
29888 ac_save_CFLAGS="$CFLAGS"
29889 ac_save_LIBS="$LIBS"
29890 CFLAGS="$CFLAGS $GTK_CFLAGS"
29891 LIBS="$GTK_LIBS $LIBS"
29892 rm -f conf.gtktest
29893 if test "$cross_compiling" = yes; then
29894 echo $ac_n "cross compiling; assumed OK... $ac_c"
29895 else
29896 cat >conftest.$ac_ext <<_ACEOF
29897 /* confdefs.h. */
29898 _ACEOF
29899 cat confdefs.h >>conftest.$ac_ext
29900 cat >>conftest.$ac_ext <<_ACEOF
29901 /* end confdefs.h. */
29902
29903 #include <gtk/gtk.h>
29904 #include <stdio.h>
29905 #include <stdlib.h>
29906
29907 int
29908 main ()
29909 {
29910 int major, minor, micro;
29911 char *tmp_version;
29912
29913 system ("touch conf.gtktest");
29914
29915 /* HP/UX 9 (%@#!) writes to sscanf strings */
29916 tmp_version = g_strdup("$min_gtk_version");
29917 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29918 printf("%s, bad version string\n", "$min_gtk_version");
29919 exit(1);
29920 }
29921
29922 if ((gtk_major_version != $gtk_config_major_version) ||
29923 (gtk_minor_version != $gtk_config_minor_version) ||
29924 (gtk_micro_version != $gtk_config_micro_version))
29925 {
29926 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29927 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29928 gtk_major_version, gtk_minor_version, gtk_micro_version);
29929 printf ("*** was found! If pkg-config was correct, then it is best\n");
29930 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29931 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29932 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29933 printf("*** required on your system.\n");
29934 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29935 printf("*** to point to the correct configuration files\n");
29936 }
29937 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29938 (gtk_minor_version != GTK_MINOR_VERSION) ||
29939 (gtk_micro_version != GTK_MICRO_VERSION))
29940 {
29941 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29942 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29943 printf("*** library (version %d.%d.%d)\n",
29944 gtk_major_version, gtk_minor_version, gtk_micro_version);
29945 }
29946 else
29947 {
29948 if ((gtk_major_version > major) ||
29949 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29950 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29951 {
29952 return 0;
29953 }
29954 else
29955 {
29956 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29957 gtk_major_version, gtk_minor_version, gtk_micro_version);
29958 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29959 major, minor, micro);
29960 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29961 printf("***\n");
29962 printf("*** If you have already installed a sufficiently new version, this error\n");
29963 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29964 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29965 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29966 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29967 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29968 printf("*** so that the correct libraries are found at run-time))\n");
29969 }
29970 }
29971 return 1;
29972 }
29973
29974 _ACEOF
29975 rm -f conftest$ac_exeext
29976 if { (ac_try="$ac_link"
29977 case "(($ac_try" in
29978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29979 *) ac_try_echo=$ac_try;;
29980 esac
29981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29982 (eval "$ac_link") 2>&5
29983 ac_status=$?
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29986 { (case "(($ac_try" in
29987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29988 *) ac_try_echo=$ac_try;;
29989 esac
29990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29991 (eval "$ac_try") 2>&5
29992 ac_status=$?
29993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29994 (exit $ac_status); }; }; then
29995 :
29996 else
29997 echo "$as_me: program exited with status $ac_status" >&5
29998 echo "$as_me: failed program was:" >&5
29999 sed 's/^/| /' conftest.$ac_ext >&5
30000
30001 ( exit $ac_status )
30002 no_gtk=yes
30003 fi
30004 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30005 fi
30006
30007
30008 CFLAGS="$ac_save_CFLAGS"
30009 LIBS="$ac_save_LIBS"
30010 fi
30011 fi
30012 if test "x$no_gtk" = x ; then
30013 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30014 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30015 wx_cv_lib_gtk=2.0
30016 else
30017 { echo "$as_me:$LINENO: result: no" >&5
30018 echo "${ECHO_T}no" >&6; }
30019 if test "$PKG_CONFIG" = "no" ; then
30020 echo "*** A new enough version of pkg-config was not found."
30021 echo "*** See http://pkgconfig.sourceforge.net"
30022 else
30023 if test -f conf.gtktest ; then
30024 :
30025 else
30026 echo "*** Could not run GTK+ test program, checking why..."
30027 ac_save_CFLAGS="$CFLAGS"
30028 ac_save_LIBS="$LIBS"
30029 CFLAGS="$CFLAGS $GTK_CFLAGS"
30030 LIBS="$LIBS $GTK_LIBS"
30031 cat >conftest.$ac_ext <<_ACEOF
30032 /* confdefs.h. */
30033 _ACEOF
30034 cat confdefs.h >>conftest.$ac_ext
30035 cat >>conftest.$ac_ext <<_ACEOF
30036 /* end confdefs.h. */
30037
30038 #include <gtk/gtk.h>
30039 #include <stdio.h>
30040
30041 int
30042 main ()
30043 {
30044 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30045 ;
30046 return 0;
30047 }
30048 _ACEOF
30049 rm -f conftest.$ac_objext conftest$ac_exeext
30050 if { (ac_try="$ac_link"
30051 case "(($ac_try" in
30052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30053 *) ac_try_echo=$ac_try;;
30054 esac
30055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30056 (eval "$ac_link") 2>conftest.er1
30057 ac_status=$?
30058 grep -v '^ *+' conftest.er1 >conftest.err
30059 rm -f conftest.er1
30060 cat conftest.err >&5
30061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062 (exit $ac_status); } && {
30063 test -z "$ac_c_werror_flag" ||
30064 test ! -s conftest.err
30065 } && test -s conftest$ac_exeext &&
30066 $as_test_x conftest$ac_exeext; then
30067 echo "*** The test program compiled, but did not run. This usually means"
30068 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30069 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30070 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30071 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30072 echo "*** is required on your system"
30073 echo "***"
30074 echo "*** If you have an old version installed, it is best to remove it, although"
30075 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30076 else
30077 echo "$as_me: failed program was:" >&5
30078 sed 's/^/| /' conftest.$ac_ext >&5
30079
30080 echo "*** The test program failed to compile or link. See the file config.log for the"
30081 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30082 fi
30083
30084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30085 conftest$ac_exeext conftest.$ac_ext
30086 CFLAGS="$ac_save_CFLAGS"
30087 LIBS="$ac_save_LIBS"
30088 fi
30089 fi
30090 GTK_CFLAGS=""
30091 GTK_LIBS=""
30092 :
30093 fi
30094
30095
30096 rm -f conf.gtktest
30097
30098
30099 GTK_LIBS="$GTK_LIBS -lX11"
30100 fi
30101
30102 if test -z "$wx_cv_lib_gtk"; then
30103 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30104
30105 # Check whether --with-gtk-prefix was given.
30106 if test "${with_gtk_prefix+set}" = set; then
30107 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30108 else
30109 gtk_config_prefix=""
30110 fi
30111
30112
30113 # Check whether --with-gtk-exec-prefix was given.
30114 if test "${with_gtk_exec_prefix+set}" = set; then
30115 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30116 else
30117 gtk_config_exec_prefix=""
30118 fi
30119
30120 # Check whether --enable-gtktest was given.
30121 if test "${enable_gtktest+set}" = set; then
30122 enableval=$enable_gtktest;
30123 else
30124 enable_gtktest=yes
30125 fi
30126
30127
30128 for module in . $GTK_MODULES
30129 do
30130 case "$module" in
30131 gthread)
30132 gtk_config_args="$gtk_config_args gthread"
30133 ;;
30134 esac
30135 done
30136
30137 if test x$gtk_config_exec_prefix != x ; then
30138 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30139 if test x${GTK_CONFIG+set} != xset ; then
30140 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30141 fi
30142 fi
30143 if test x$gtk_config_prefix != x ; then
30144 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30145 if test x${GTK_CONFIG+set} != xset ; then
30146 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30147 fi
30148 fi
30149
30150 # Extract the first word of "gtk-config", so it can be a program name with args.
30151 set dummy gtk-config; ac_word=$2
30152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30154 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30155 echo $ECHO_N "(cached) $ECHO_C" >&6
30156 else
30157 case $GTK_CONFIG in
30158 [\\/]* | ?:[\\/]*)
30159 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30160 ;;
30161 *)
30162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30163 for as_dir in $PATH
30164 do
30165 IFS=$as_save_IFS
30166 test -z "$as_dir" && as_dir=.
30167 for ac_exec_ext in '' $ac_executable_extensions; do
30168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30169 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30171 break 2
30172 fi
30173 done
30174 done
30175 IFS=$as_save_IFS
30176
30177 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30178 ;;
30179 esac
30180 fi
30181 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30182 if test -n "$GTK_CONFIG"; then
30183 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30184 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30185 else
30186 { echo "$as_me:$LINENO: result: no" >&5
30187 echo "${ECHO_T}no" >&6; }
30188 fi
30189
30190
30191 min_gtk_version=1.2.7
30192 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30193 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30194 no_gtk=""
30195 if test "$GTK_CONFIG" = "no" ; then
30196 no_gtk=yes
30197 else
30198 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30199 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30200 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30201 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30202 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30203 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30204 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30206 if test "x$enable_gtktest" = "xyes" ; then
30207 ac_save_CFLAGS="$CFLAGS"
30208 ac_save_LIBS="$LIBS"
30209 CFLAGS="$CFLAGS $GTK_CFLAGS"
30210 LIBS="$GTK_LIBS $LIBS"
30211 rm -f conf.gtktest
30212 if test "$cross_compiling" = yes; then
30213 echo $ac_n "cross compiling; assumed OK... $ac_c"
30214 else
30215 cat >conftest.$ac_ext <<_ACEOF
30216 /* confdefs.h. */
30217 _ACEOF
30218 cat confdefs.h >>conftest.$ac_ext
30219 cat >>conftest.$ac_ext <<_ACEOF
30220 /* end confdefs.h. */
30221
30222 #include <gtk/gtk.h>
30223 #include <stdio.h>
30224 #include <stdlib.h>
30225
30226 int
30227 main ()
30228 {
30229 int major, minor, micro;
30230 char *tmp_version;
30231
30232 system ("touch conf.gtktest");
30233
30234 /* HP/UX 9 (%@#!) writes to sscanf strings */
30235 tmp_version = g_strdup("$min_gtk_version");
30236 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30237 printf("%s, bad version string\n", "$min_gtk_version");
30238 exit(1);
30239 }
30240
30241 if ((gtk_major_version != $gtk_config_major_version) ||
30242 (gtk_minor_version != $gtk_config_minor_version) ||
30243 (gtk_micro_version != $gtk_config_micro_version))
30244 {
30245 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30246 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30247 gtk_major_version, gtk_minor_version, gtk_micro_version);
30248 printf ("*** was found! If gtk-config was correct, then it is best\n");
30249 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30250 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30251 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30252 printf("*** required on your system.\n");
30253 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30254 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30255 printf("*** before re-running configure\n");
30256 }
30257 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30258 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30259 (gtk_minor_version != GTK_MINOR_VERSION) ||
30260 (gtk_micro_version != GTK_MICRO_VERSION))
30261 {
30262 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30263 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30264 printf("*** library (version %d.%d.%d)\n",
30265 gtk_major_version, gtk_minor_version, gtk_micro_version);
30266 }
30267 #endif /* defined (GTK_MAJOR_VERSION) ... */
30268 else
30269 {
30270 if ((gtk_major_version > major) ||
30271 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30272 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30273 {
30274 return 0;
30275 }
30276 else
30277 {
30278 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30279 gtk_major_version, gtk_minor_version, gtk_micro_version);
30280 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30281 major, minor, micro);
30282 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30283 printf("***\n");
30284 printf("*** If you have already installed a sufficiently new version, this error\n");
30285 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30286 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30287 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30288 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30289 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30290 printf("*** so that the correct libraries are found at run-time))\n");
30291 }
30292 }
30293 return 1;
30294 }
30295
30296 _ACEOF
30297 rm -f conftest$ac_exeext
30298 if { (ac_try="$ac_link"
30299 case "(($ac_try" in
30300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30301 *) ac_try_echo=$ac_try;;
30302 esac
30303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30304 (eval "$ac_link") 2>&5
30305 ac_status=$?
30306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30308 { (case "(($ac_try" in
30309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30310 *) ac_try_echo=$ac_try;;
30311 esac
30312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30313 (eval "$ac_try") 2>&5
30314 ac_status=$?
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); }; }; then
30317 :
30318 else
30319 echo "$as_me: program exited with status $ac_status" >&5
30320 echo "$as_me: failed program was:" >&5
30321 sed 's/^/| /' conftest.$ac_ext >&5
30322
30323 ( exit $ac_status )
30324 no_gtk=yes
30325 fi
30326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30327 fi
30328
30329
30330 CFLAGS="$ac_save_CFLAGS"
30331 LIBS="$ac_save_LIBS"
30332 fi
30333 fi
30334 if test "x$no_gtk" = x ; then
30335 { echo "$as_me:$LINENO: result: yes" >&5
30336 echo "${ECHO_T}yes" >&6; }
30337 wx_cv_lib_gtk=1.2.7
30338 else
30339 { echo "$as_me:$LINENO: result: no" >&5
30340 echo "${ECHO_T}no" >&6; }
30341 if test "$GTK_CONFIG" = "no" ; then
30342 echo "*** The gtk-config script installed by GTK could not be found"
30343 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30344 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30345 echo "*** full path to gtk-config."
30346 else
30347 if test -f conf.gtktest ; then
30348 :
30349 else
30350 echo "*** Could not run GTK test program, checking why..."
30351 CFLAGS="$CFLAGS $GTK_CFLAGS"
30352 LIBS="$LIBS $GTK_LIBS"
30353 cat >conftest.$ac_ext <<_ACEOF
30354 /* confdefs.h. */
30355 _ACEOF
30356 cat confdefs.h >>conftest.$ac_ext
30357 cat >>conftest.$ac_ext <<_ACEOF
30358 /* end confdefs.h. */
30359
30360 #include <gtk/gtk.h>
30361 #include <stdio.h>
30362
30363 int
30364 main ()
30365 {
30366 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30367 ;
30368 return 0;
30369 }
30370 _ACEOF
30371 rm -f conftest.$ac_objext conftest$ac_exeext
30372 if { (ac_try="$ac_link"
30373 case "(($ac_try" in
30374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30375 *) ac_try_echo=$ac_try;;
30376 esac
30377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30378 (eval "$ac_link") 2>conftest.er1
30379 ac_status=$?
30380 grep -v '^ *+' conftest.er1 >conftest.err
30381 rm -f conftest.er1
30382 cat conftest.err >&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } && {
30385 test -z "$ac_c_werror_flag" ||
30386 test ! -s conftest.err
30387 } && test -s conftest$ac_exeext &&
30388 $as_test_x conftest$ac_exeext; then
30389 echo "*** The test program compiled, but did not run. This usually means"
30390 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30391 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30392 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30393 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30394 echo "*** is required on your system"
30395 echo "***"
30396 echo "*** If you have an old version installed, it is best to remove it, although"
30397 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30398 echo "***"
30399 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30400 echo "*** came with the system with the command"
30401 echo "***"
30402 echo "*** rpm --erase --nodeps gtk gtk-devel"
30403 else
30404 echo "$as_me: failed program was:" >&5
30405 sed 's/^/| /' conftest.$ac_ext >&5
30406
30407 echo "*** The test program failed to compile or link. See the file config.log for the"
30408 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30409 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30410 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30411 fi
30412
30413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30414 conftest$ac_exeext conftest.$ac_ext
30415 CFLAGS="$ac_save_CFLAGS"
30416 LIBS="$ac_save_LIBS"
30417 fi
30418 fi
30419 GTK_CFLAGS=""
30420 GTK_LIBS=""
30421 :
30422 fi
30423
30424
30425 rm -f conf.gtktest
30426
30427
30428 if test -z "$wx_cv_lib_gtk"; then
30429
30430 # Check whether --with-gtk-prefix was given.
30431 if test "${with_gtk_prefix+set}" = set; then
30432 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30433 else
30434 gtk_config_prefix=""
30435 fi
30436
30437
30438 # Check whether --with-gtk-exec-prefix was given.
30439 if test "${with_gtk_exec_prefix+set}" = set; then
30440 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30441 else
30442 gtk_config_exec_prefix=""
30443 fi
30444
30445 # Check whether --enable-gtktest was given.
30446 if test "${enable_gtktest+set}" = set; then
30447 enableval=$enable_gtktest;
30448 else
30449 enable_gtktest=yes
30450 fi
30451
30452
30453 for module in . $GTK_MODULES
30454 do
30455 case "$module" in
30456 gthread)
30457 gtk_config_args="$gtk_config_args gthread"
30458 ;;
30459 esac
30460 done
30461
30462 if test x$gtk_config_exec_prefix != x ; then
30463 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30464 if test x${GTK_CONFIG+set} != xset ; then
30465 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30466 fi
30467 fi
30468 if test x$gtk_config_prefix != x ; then
30469 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30470 if test x${GTK_CONFIG+set} != xset ; then
30471 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30472 fi
30473 fi
30474
30475 # Extract the first word of "gtk-config", so it can be a program name with args.
30476 set dummy gtk-config; ac_word=$2
30477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30479 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 else
30482 case $GTK_CONFIG in
30483 [\\/]* | ?:[\\/]*)
30484 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30485 ;;
30486 *)
30487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30488 for as_dir in $PATH
30489 do
30490 IFS=$as_save_IFS
30491 test -z "$as_dir" && as_dir=.
30492 for ac_exec_ext in '' $ac_executable_extensions; do
30493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30494 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30496 break 2
30497 fi
30498 done
30499 done
30500 IFS=$as_save_IFS
30501
30502 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30503 ;;
30504 esac
30505 fi
30506 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30507 if test -n "$GTK_CONFIG"; then
30508 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30509 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30510 else
30511 { echo "$as_me:$LINENO: result: no" >&5
30512 echo "${ECHO_T}no" >&6; }
30513 fi
30514
30515
30516 min_gtk_version=1.2.3
30517 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30518 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30519 no_gtk=""
30520 if test "$GTK_CONFIG" = "no" ; then
30521 no_gtk=yes
30522 else
30523 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30524 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30525 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30526 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30527 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30528 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30529 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30530 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30531 if test "x$enable_gtktest" = "xyes" ; then
30532 ac_save_CFLAGS="$CFLAGS"
30533 ac_save_LIBS="$LIBS"
30534 CFLAGS="$CFLAGS $GTK_CFLAGS"
30535 LIBS="$GTK_LIBS $LIBS"
30536 rm -f conf.gtktest
30537 if test "$cross_compiling" = yes; then
30538 echo $ac_n "cross compiling; assumed OK... $ac_c"
30539 else
30540 cat >conftest.$ac_ext <<_ACEOF
30541 /* confdefs.h. */
30542 _ACEOF
30543 cat confdefs.h >>conftest.$ac_ext
30544 cat >>conftest.$ac_ext <<_ACEOF
30545 /* end confdefs.h. */
30546
30547 #include <gtk/gtk.h>
30548 #include <stdio.h>
30549 #include <stdlib.h>
30550
30551 int
30552 main ()
30553 {
30554 int major, minor, micro;
30555 char *tmp_version;
30556
30557 system ("touch conf.gtktest");
30558
30559 /* HP/UX 9 (%@#!) writes to sscanf strings */
30560 tmp_version = g_strdup("$min_gtk_version");
30561 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30562 printf("%s, bad version string\n", "$min_gtk_version");
30563 exit(1);
30564 }
30565
30566 if ((gtk_major_version != $gtk_config_major_version) ||
30567 (gtk_minor_version != $gtk_config_minor_version) ||
30568 (gtk_micro_version != $gtk_config_micro_version))
30569 {
30570 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30571 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30572 gtk_major_version, gtk_minor_version, gtk_micro_version);
30573 printf ("*** was found! If gtk-config was correct, then it is best\n");
30574 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30575 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30576 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30577 printf("*** required on your system.\n");
30578 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30579 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30580 printf("*** before re-running configure\n");
30581 }
30582 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30583 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30584 (gtk_minor_version != GTK_MINOR_VERSION) ||
30585 (gtk_micro_version != GTK_MICRO_VERSION))
30586 {
30587 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30588 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30589 printf("*** library (version %d.%d.%d)\n",
30590 gtk_major_version, gtk_minor_version, gtk_micro_version);
30591 }
30592 #endif /* defined (GTK_MAJOR_VERSION) ... */
30593 else
30594 {
30595 if ((gtk_major_version > major) ||
30596 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30597 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30598 {
30599 return 0;
30600 }
30601 else
30602 {
30603 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30604 gtk_major_version, gtk_minor_version, gtk_micro_version);
30605 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30606 major, minor, micro);
30607 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30608 printf("***\n");
30609 printf("*** If you have already installed a sufficiently new version, this error\n");
30610 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30611 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30612 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30613 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30614 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30615 printf("*** so that the correct libraries are found at run-time))\n");
30616 }
30617 }
30618 return 1;
30619 }
30620
30621 _ACEOF
30622 rm -f conftest$ac_exeext
30623 if { (ac_try="$ac_link"
30624 case "(($ac_try" in
30625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30626 *) ac_try_echo=$ac_try;;
30627 esac
30628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30629 (eval "$ac_link") 2>&5
30630 ac_status=$?
30631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30633 { (case "(($ac_try" in
30634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30635 *) ac_try_echo=$ac_try;;
30636 esac
30637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30638 (eval "$ac_try") 2>&5
30639 ac_status=$?
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); }; }; then
30642 :
30643 else
30644 echo "$as_me: program exited with status $ac_status" >&5
30645 echo "$as_me: failed program was:" >&5
30646 sed 's/^/| /' conftest.$ac_ext >&5
30647
30648 ( exit $ac_status )
30649 no_gtk=yes
30650 fi
30651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30652 fi
30653
30654
30655 CFLAGS="$ac_save_CFLAGS"
30656 LIBS="$ac_save_LIBS"
30657 fi
30658 fi
30659 if test "x$no_gtk" = x ; then
30660 { echo "$as_me:$LINENO: result: yes" >&5
30661 echo "${ECHO_T}yes" >&6; }
30662 wx_cv_lib_gtk=1.2.3
30663 else
30664 { echo "$as_me:$LINENO: result: no" >&5
30665 echo "${ECHO_T}no" >&6; }
30666 if test "$GTK_CONFIG" = "no" ; then
30667 echo "*** The gtk-config script installed by GTK could not be found"
30668 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30669 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30670 echo "*** full path to gtk-config."
30671 else
30672 if test -f conf.gtktest ; then
30673 :
30674 else
30675 echo "*** Could not run GTK test program, checking why..."
30676 CFLAGS="$CFLAGS $GTK_CFLAGS"
30677 LIBS="$LIBS $GTK_LIBS"
30678 cat >conftest.$ac_ext <<_ACEOF
30679 /* confdefs.h. */
30680 _ACEOF
30681 cat confdefs.h >>conftest.$ac_ext
30682 cat >>conftest.$ac_ext <<_ACEOF
30683 /* end confdefs.h. */
30684
30685 #include <gtk/gtk.h>
30686 #include <stdio.h>
30687
30688 int
30689 main ()
30690 {
30691 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30692 ;
30693 return 0;
30694 }
30695 _ACEOF
30696 rm -f conftest.$ac_objext conftest$ac_exeext
30697 if { (ac_try="$ac_link"
30698 case "(($ac_try" in
30699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30700 *) ac_try_echo=$ac_try;;
30701 esac
30702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30703 (eval "$ac_link") 2>conftest.er1
30704 ac_status=$?
30705 grep -v '^ *+' conftest.er1 >conftest.err
30706 rm -f conftest.er1
30707 cat conftest.err >&5
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); } && {
30710 test -z "$ac_c_werror_flag" ||
30711 test ! -s conftest.err
30712 } && test -s conftest$ac_exeext &&
30713 $as_test_x conftest$ac_exeext; then
30714 echo "*** The test program compiled, but did not run. This usually means"
30715 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30716 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30717 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30718 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30719 echo "*** is required on your system"
30720 echo "***"
30721 echo "*** If you have an old version installed, it is best to remove it, although"
30722 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30723 echo "***"
30724 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30725 echo "*** came with the system with the command"
30726 echo "***"
30727 echo "*** rpm --erase --nodeps gtk gtk-devel"
30728 else
30729 echo "$as_me: failed program was:" >&5
30730 sed 's/^/| /' conftest.$ac_ext >&5
30731
30732 echo "*** The test program failed to compile or link. See the file config.log for the"
30733 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30734 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30735 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30736 fi
30737
30738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30739 conftest$ac_exeext conftest.$ac_ext
30740 CFLAGS="$ac_save_CFLAGS"
30741 LIBS="$ac_save_LIBS"
30742 fi
30743 fi
30744 GTK_CFLAGS=""
30745 GTK_LIBS=""
30746 :
30747 fi
30748
30749
30750 rm -f conf.gtktest
30751
30752 fi
30753 fi
30754 fi
30755
30756 if test -z "$wx_cv_lib_gtk"; then
30757 wx_cv_lib_gtk=none
30758 else
30759 wx_cv_cflags_gtk=$GTK_CFLAGS
30760 wx_cv_libs_gtk=$GTK_LIBS
30761 fi
30762
30763
30764 fi
30765
30766
30767 if test "$gtk_version_cached" = 1; then
30768 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30769 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30770 fi
30771
30772 case "$wx_cv_lib_gtk" in
30773 2.0) WXGTK2=1
30774 TOOLKIT_VERSION=2
30775 ;;
30776 1.2.7) WXGTK127=1
30777 WXGTK12=1
30778 ;;
30779 1.2.3) WXGTK12=1
30780 ;;
30781 *) { { echo "$as_me:$LINENO: error:
30782 The development files for GTK+ were not found. For GTK+ 2, please
30783 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30784 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30785 and that the version is 1.2.3 or above. Also check that the
30786 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30787 --libs' are in the LD_LIBRARY_PATH or equivalent.
30788 " >&5
30789 echo "$as_me: error:
30790 The development files for GTK+ were not found. For GTK+ 2, please
30791 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30792 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30793 and that the version is 1.2.3 or above. Also check that the
30794 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30795 --libs' are in the LD_LIBRARY_PATH or equivalent.
30796 " >&2;}
30797 { (exit 1); exit 1; }; }
30798 ;;
30799 esac
30800
30801 if test "$WXGTK2" = 1; then
30802 save_CFLAGS="$CFLAGS"
30803 save_LIBS="$LIBS"
30804 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30805 LIBS="$LIBS $wx_cv_libs_gtk"
30806
30807 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30808 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30809 cat >conftest.$ac_ext <<_ACEOF
30810 /* confdefs.h. */
30811 _ACEOF
30812 cat confdefs.h >>conftest.$ac_ext
30813 cat >>conftest.$ac_ext <<_ACEOF
30814 /* end confdefs.h. */
30815
30816 #include <gtk/gtk.h>
30817
30818 int
30819 main ()
30820 {
30821
30822 #if !GTK_CHECK_VERSION(2,18,0)
30823 Not GTK+ 2.18
30824 #endif
30825
30826 ;
30827 return 0;
30828 }
30829 _ACEOF
30830 rm -f conftest.$ac_objext
30831 if { (ac_try="$ac_compile"
30832 case "(($ac_try" in
30833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30834 *) ac_try_echo=$ac_try;;
30835 esac
30836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30837 (eval "$ac_compile") 2>conftest.er1
30838 ac_status=$?
30839 grep -v '^ *+' conftest.er1 >conftest.err
30840 rm -f conftest.er1
30841 cat conftest.err >&5
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); } && {
30844 test -z "$ac_c_werror_flag" ||
30845 test ! -s conftest.err
30846 } && test -s conftest.$ac_objext; then
30847
30848 cat >>confdefs.h <<\_ACEOF
30849 #define __WXGTK218__ 1
30850 _ACEOF
30851
30852 cat >>confdefs.h <<\_ACEOF
30853 #define __WXGTK210__ 1
30854 _ACEOF
30855
30856 cat >>confdefs.h <<\_ACEOF
30857 #define __WXGTK26__ 1
30858 _ACEOF
30859
30860 { echo "$as_me:$LINENO: result: yes" >&5
30861 echo "${ECHO_T}yes" >&6; }
30862 ac_wxgtk218=1
30863
30864 else
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.$ac_ext >&5
30867
30868
30869 { echo "$as_me:$LINENO: result: no" >&5
30870 echo "${ECHO_T}no" >&6; }
30871 ac_wxgtk218=0
30872
30873 fi
30874
30875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30876
30877 if test "$ac_wxgtk218" = 0; then
30878 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30879 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
30880 cat >conftest.$ac_ext <<_ACEOF
30881 /* confdefs.h. */
30882 _ACEOF
30883 cat confdefs.h >>conftest.$ac_ext
30884 cat >>conftest.$ac_ext <<_ACEOF
30885 /* end confdefs.h. */
30886
30887 #include <gtk/gtk.h>
30888
30889 int
30890 main ()
30891 {
30892
30893 #if !GTK_CHECK_VERSION(2,10,0)
30894 Not GTK+ 2.10
30895 #endif
30896
30897 ;
30898 return 0;
30899 }
30900 _ACEOF
30901 rm -f conftest.$ac_objext
30902 if { (ac_try="$ac_compile"
30903 case "(($ac_try" in
30904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30905 *) ac_try_echo=$ac_try;;
30906 esac
30907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30908 (eval "$ac_compile") 2>conftest.er1
30909 ac_status=$?
30910 grep -v '^ *+' conftest.er1 >conftest.err
30911 rm -f conftest.er1
30912 cat conftest.err >&5
30913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30914 (exit $ac_status); } && {
30915 test -z "$ac_c_werror_flag" ||
30916 test ! -s conftest.err
30917 } && test -s conftest.$ac_objext; then
30918
30919 cat >>confdefs.h <<\_ACEOF
30920 #define __WXGTK210__ 1
30921 _ACEOF
30922
30923 cat >>confdefs.h <<\_ACEOF
30924 #define __WXGTK26__ 1
30925 _ACEOF
30926
30927 { echo "$as_me:$LINENO: result: yes" >&5
30928 echo "${ECHO_T}yes" >&6; }
30929 ac_wxgtk210=1
30930
30931 else
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.$ac_ext >&5
30934
30935
30936 { echo "$as_me:$LINENO: result: no" >&5
30937 echo "${ECHO_T}no" >&6; }
30938 ac_wxgtk210=0
30939
30940 fi
30941
30942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30943
30944 if test "$ac_wxgtk210" = 0; then
30945 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30946 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
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 #include <gtk/gtk.h>
30955
30956 int
30957 main ()
30958 {
30959
30960 #if !GTK_CHECK_VERSION(2,6,0)
30961 Not GTK+ 2.6
30962 #endif
30963
30964 ;
30965 return 0;
30966 }
30967 _ACEOF
30968 rm -f conftest.$ac_objext
30969 if { (ac_try="$ac_compile"
30970 case "(($ac_try" in
30971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30972 *) ac_try_echo=$ac_try;;
30973 esac
30974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30975 (eval "$ac_compile") 2>conftest.er1
30976 ac_status=$?
30977 grep -v '^ *+' conftest.er1 >conftest.err
30978 rm -f conftest.er1
30979 cat conftest.err >&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); } && {
30982 test -z "$ac_c_werror_flag" ||
30983 test ! -s conftest.err
30984 } && test -s conftest.$ac_objext; then
30985
30986 cat >>confdefs.h <<\_ACEOF
30987 #define __WXGTK26__ 1
30988 _ACEOF
30989
30990 { echo "$as_me:$LINENO: result: yes" >&5
30991 echo "${ECHO_T}yes" >&6; }
30992 ac_wxgtk26=1
30993
30994 else
30995 echo "$as_me: failed program was:" >&5
30996 sed 's/^/| /' conftest.$ac_ext >&5
30997
30998
30999 { echo "$as_me:$LINENO: result: no" >&5
31000 echo "${ECHO_T}no" >&6; }
31001 ac_wxgtk26=0
31002
31003 fi
31004
31005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31006 fi
31007 fi
31008
31009 CFLAGS="$save_CFLAGS"
31010 LIBS="$save_LIBS"
31011 else
31012 if test "$wxUSE_UNICODE" = "yes"; then
31013 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31014 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31015 wxUSE_UNICODE=no
31016 fi
31017
31018 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31019 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31020 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31021 echo $ECHO_N "(cached) $ECHO_C" >&6
31022 else
31023 ac_check_lib_save_LIBS=$LIBS
31024 LIBS="-lgdk $LIBS"
31025 cat >conftest.$ac_ext <<_ACEOF
31026 /* confdefs.h. */
31027 _ACEOF
31028 cat confdefs.h >>conftest.$ac_ext
31029 cat >>conftest.$ac_ext <<_ACEOF
31030 /* end confdefs.h. */
31031
31032 /* Override any GCC internal prototype to avoid an error.
31033 Use char because int might match the return type of a GCC
31034 builtin and then its argument prototype would still apply. */
31035 #ifdef __cplusplus
31036 extern "C"
31037 #endif
31038 char gdk_im_open ();
31039 int
31040 main ()
31041 {
31042 return gdk_im_open ();
31043 ;
31044 return 0;
31045 }
31046 _ACEOF
31047 rm -f conftest.$ac_objext conftest$ac_exeext
31048 if { (ac_try="$ac_link"
31049 case "(($ac_try" in
31050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31051 *) ac_try_echo=$ac_try;;
31052 esac
31053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31054 (eval "$ac_link") 2>conftest.er1
31055 ac_status=$?
31056 grep -v '^ *+' conftest.er1 >conftest.err
31057 rm -f conftest.er1
31058 cat conftest.err >&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } && {
31061 test -z "$ac_c_werror_flag" ||
31062 test ! -s conftest.err
31063 } && test -s conftest$ac_exeext &&
31064 $as_test_x conftest$ac_exeext; then
31065 ac_cv_lib_gdk_gdk_im_open=yes
31066 else
31067 echo "$as_me: failed program was:" >&5
31068 sed 's/^/| /' conftest.$ac_ext >&5
31069
31070 ac_cv_lib_gdk_gdk_im_open=no
31071 fi
31072
31073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31074 conftest$ac_exeext conftest.$ac_ext
31075 LIBS=$ac_check_lib_save_LIBS
31076 fi
31077 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31078 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31079 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31080 cat >>confdefs.h <<\_ACEOF
31081 #define HAVE_XIM 1
31082 _ACEOF
31083
31084 fi
31085
31086
31087 if test "$USE_DARWIN" != 1; then
31088
31089 for ac_func in poll
31090 do
31091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31092 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31094 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31095 echo $ECHO_N "(cached) $ECHO_C" >&6
31096 else
31097 cat >conftest.$ac_ext <<_ACEOF
31098 /* confdefs.h. */
31099 _ACEOF
31100 cat confdefs.h >>conftest.$ac_ext
31101 cat >>conftest.$ac_ext <<_ACEOF
31102 /* end confdefs.h. */
31103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31105 #define $ac_func innocuous_$ac_func
31106
31107 /* System header to define __stub macros and hopefully few prototypes,
31108 which can conflict with char $ac_func (); below.
31109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31110 <limits.h> exists even on freestanding compilers. */
31111
31112 #ifdef __STDC__
31113 # include <limits.h>
31114 #else
31115 # include <assert.h>
31116 #endif
31117
31118 #undef $ac_func
31119
31120 /* Override any GCC internal prototype to avoid an error.
31121 Use char because int might match the return type of a GCC
31122 builtin and then its argument prototype would still apply. */
31123 #ifdef __cplusplus
31124 extern "C"
31125 #endif
31126 char $ac_func ();
31127 /* The GNU C library defines this for functions which it implements
31128 to always fail with ENOSYS. Some functions are actually named
31129 something starting with __ and the normal name is an alias. */
31130 #if defined __stub_$ac_func || defined __stub___$ac_func
31131 choke me
31132 #endif
31133
31134 int
31135 main ()
31136 {
31137 return $ac_func ();
31138 ;
31139 return 0;
31140 }
31141 _ACEOF
31142 rm -f conftest.$ac_objext conftest$ac_exeext
31143 if { (ac_try="$ac_link"
31144 case "(($ac_try" in
31145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31146 *) ac_try_echo=$ac_try;;
31147 esac
31148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31149 (eval "$ac_link") 2>conftest.er1
31150 ac_status=$?
31151 grep -v '^ *+' conftest.er1 >conftest.err
31152 rm -f conftest.er1
31153 cat conftest.err >&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); } && {
31156 test -z "$ac_c_werror_flag" ||
31157 test ! -s conftest.err
31158 } && test -s conftest$ac_exeext &&
31159 $as_test_x conftest$ac_exeext; then
31160 eval "$as_ac_var=yes"
31161 else
31162 echo "$as_me: failed program was:" >&5
31163 sed 's/^/| /' conftest.$ac_ext >&5
31164
31165 eval "$as_ac_var=no"
31166 fi
31167
31168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31169 conftest$ac_exeext conftest.$ac_ext
31170 fi
31171 ac_res=`eval echo '${'$as_ac_var'}'`
31172 { echo "$as_me:$LINENO: result: $ac_res" >&5
31173 echo "${ECHO_T}$ac_res" >&6; }
31174 if test `eval echo '${'$as_ac_var'}'` = yes; then
31175 cat >>confdefs.h <<_ACEOF
31176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31177 _ACEOF
31178
31179 fi
31180 done
31181
31182 fi
31183 fi
31184
31185 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31186 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31187
31188 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
31189
31190 AFMINSTALL=afminstall
31191 TOOLKIT=GTK
31192 GUIDIST=GTK_DIST
31193
31194 if test "$wxUSE_GPE" = "yes"; then
31195 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31196 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31197
31198 ac_find_libraries=
31199 for ac_dir in $SEARCH_LIB
31200 do
31201 for ac_extension in a so sl dylib dll.a; do
31202 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31203 ac_find_libraries=$ac_dir
31204 break 2
31205 fi
31206 done
31207 done
31208
31209 if test "$ac_find_libraries" != "" ; then
31210
31211 if test "$ac_find_libraries" = "default location"; then
31212 ac_path_to_link=""
31213 else
31214 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31215 result=$?
31216 if test $result = 0; then
31217 ac_path_to_link=""
31218 else
31219 ac_path_to_link=" -L$ac_find_libraries"
31220 fi
31221 fi
31222
31223 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31224 WXGPE=1
31225 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31226 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31227 else
31228 { echo "$as_me:$LINENO: result: not found" >&5
31229 echo "${ECHO_T}not found" >&6; }
31230 fi
31231
31232 fi
31233 fi
31234
31235 if test "$wxUSE_MGL" = 1; then
31236 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31237 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31238 if test "x$MGL_ROOT" = x ; then
31239 { echo "$as_me:$LINENO: result: not found" >&5
31240 echo "${ECHO_T}not found" >&6; }
31241 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31242 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31243 { (exit 1); exit 1; }; }
31244 else
31245 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31246 echo "${ECHO_T}$MGL_ROOT" >&6; }
31247 fi
31248
31249 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31250 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31251 case "${host}" in
31252 *-*-linux* )
31253 if test "x$wxUSE_SHARED" = xyes ; then
31254 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31255 else
31256 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31257 fi
31258 ;;
31259 *-pc-msdosdjgpp )
31260 mgl_os_candidates="dos32/dj2"
31261 ;;
31262 *)
31263 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31264 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31265 { (exit 1); exit 1; }; }
31266 esac
31267
31268 mgl_lib_type=""
31269 mgl_os=""
31270
31271 for mgl_os_i in $mgl_os_candidates ; do
31272 if test "x$mgl_os" = x ; then
31273 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31274 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31275 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31276 mgl_lib_type=debug
31277 mgl_os=$mgl_os_i
31278 fi
31279 fi
31280 if test "x$mgl_lib_type" = x ; then
31281 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31282 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31283 mgl_lib_type=release
31284 mgl_os=$mgl_os_i
31285 fi
31286 fi
31287 fi
31288 done
31289
31290 if test "x$mgl_os" = x ; then
31291 { echo "$as_me:$LINENO: result: not found" >&5
31292 echo "${ECHO_T}not found" >&6; }
31293 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31294 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31295 { (exit 1); exit 1; }; }
31296 fi
31297 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31298 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31299
31300 wxUSE_UNIVERSAL="yes"
31301
31302 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31303 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31304
31305 AFMINSTALL=afminstall
31306 TOOLKIT=MGL
31307 GUIDIST=MGL_DIST
31308 fi
31309
31310 if test "$wxUSE_DFB" = 1; then
31311
31312
31313 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31314 if test -n "$ac_tool_prefix"; then
31315 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31316 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31319 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31320 echo $ECHO_N "(cached) $ECHO_C" >&6
31321 else
31322 case $PKG_CONFIG in
31323 [\\/]* | ?:[\\/]*)
31324 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31325 ;;
31326 *)
31327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31328 for as_dir in $PATH
31329 do
31330 IFS=$as_save_IFS
31331 test -z "$as_dir" && as_dir=.
31332 for ac_exec_ext in '' $ac_executable_extensions; do
31333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31334 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31336 break 2
31337 fi
31338 done
31339 done
31340 IFS=$as_save_IFS
31341
31342 ;;
31343 esac
31344 fi
31345 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31346 if test -n "$PKG_CONFIG"; then
31347 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31348 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31349 else
31350 { echo "$as_me:$LINENO: result: no" >&5
31351 echo "${ECHO_T}no" >&6; }
31352 fi
31353
31354
31355 fi
31356 if test -z "$ac_cv_path_PKG_CONFIG"; then
31357 ac_pt_PKG_CONFIG=$PKG_CONFIG
31358 # Extract the first word of "pkg-config", so it can be a program name with args.
31359 set dummy pkg-config; ac_word=$2
31360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31362 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31363 echo $ECHO_N "(cached) $ECHO_C" >&6
31364 else
31365 case $ac_pt_PKG_CONFIG in
31366 [\\/]* | ?:[\\/]*)
31367 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31368 ;;
31369 *)
31370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31371 for as_dir in $PATH
31372 do
31373 IFS=$as_save_IFS
31374 test -z "$as_dir" && as_dir=.
31375 for ac_exec_ext in '' $ac_executable_extensions; do
31376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31377 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31379 break 2
31380 fi
31381 done
31382 done
31383 IFS=$as_save_IFS
31384
31385 ;;
31386 esac
31387 fi
31388 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31389 if test -n "$ac_pt_PKG_CONFIG"; then
31390 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31391 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31392 else
31393 { echo "$as_me:$LINENO: result: no" >&5
31394 echo "${ECHO_T}no" >&6; }
31395 fi
31396
31397 if test "x$ac_pt_PKG_CONFIG" = x; then
31398 PKG_CONFIG=""
31399 else
31400 case $cross_compiling:$ac_tool_warned in
31401 yes:)
31402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31403 whose name does not start with the host triplet. If you think this
31404 configuration is useful to you, please write to autoconf@gnu.org." >&5
31405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31406 whose name does not start with the host triplet. If you think this
31407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31408 ac_tool_warned=yes ;;
31409 esac
31410 PKG_CONFIG=$ac_pt_PKG_CONFIG
31411 fi
31412 else
31413 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31414 fi
31415
31416 fi
31417 if test -n "$PKG_CONFIG"; then
31418 _pkg_min_version=0.9.0
31419 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31420 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31421 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31422 { echo "$as_me:$LINENO: result: yes" >&5
31423 echo "${ECHO_T}yes" >&6; }
31424 else
31425 { echo "$as_me:$LINENO: result: no" >&5
31426 echo "${ECHO_T}no" >&6; }
31427 PKG_CONFIG=""
31428 fi
31429
31430 fi
31431
31432
31433 pkg_failed=no
31434 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31435 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31436
31437 if test -n "$PKG_CONFIG"; then
31438 if test -n "$DIRECTFB_CFLAGS"; then
31439 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31440 else
31441 if test -n "$PKG_CONFIG" && \
31442 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31443 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31444 ac_status=$?
31445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31446 (exit $ac_status); }; then
31447 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31448 else
31449 pkg_failed=yes
31450 fi
31451 fi
31452 else
31453 pkg_failed=untried
31454 fi
31455 if test -n "$PKG_CONFIG"; then
31456 if test -n "$DIRECTFB_LIBS"; then
31457 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31458 else
31459 if test -n "$PKG_CONFIG" && \
31460 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31461 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31462 ac_status=$?
31463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31464 (exit $ac_status); }; then
31465 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31466 else
31467 pkg_failed=yes
31468 fi
31469 fi
31470 else
31471 pkg_failed=untried
31472 fi
31473
31474
31475
31476 if test $pkg_failed = yes; then
31477
31478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31479 _pkg_short_errors_supported=yes
31480 else
31481 _pkg_short_errors_supported=no
31482 fi
31483 if test $_pkg_short_errors_supported = yes; then
31484 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31485 else
31486 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31487 fi
31488 # Put the nasty error message in config.log where it belongs
31489 echo "$DIRECTFB_PKG_ERRORS" >&5
31490
31491
31492 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31493 echo "$as_me: error: DirectFB not found." >&2;}
31494 { (exit 1); exit 1; }; }
31495
31496
31497 elif test $pkg_failed = untried; then
31498
31499 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31500 echo "$as_me: error: DirectFB not found." >&2;}
31501 { (exit 1); exit 1; }; }
31502
31503
31504 else
31505 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31506 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31507 { echo "$as_me:$LINENO: result: yes" >&5
31508 echo "${ECHO_T}yes" >&6; }
31509
31510 wxUSE_UNIVERSAL="yes"
31511 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31512 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31513 TOOLKIT=DFB
31514 GUIDIST=DFB_DIST
31515
31516 fi
31517 fi
31518
31519 if test "$wxUSE_MICROWIN" = 1; then
31520 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31521 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31522 if test "x$MICROWINDOWS" = x ; then
31523 { echo "$as_me:$LINENO: result: not found" >&5
31524 echo "${ECHO_T}not found" >&6; }
31525 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31526 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31527 { (exit 1); exit 1; }; }
31528 else
31529 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31530 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31531 fi
31532
31533 if test -f $MICROWINDOWS/lib/libmwin.a; then
31534 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31535 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31536 else
31537 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31538 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31539 { (exit 1); exit 1; }; }
31540 fi
31541
31542 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31543 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31544
31545 wxUSE_UNIVERSAL="yes"
31546
31547 AFMINSTALL=afminstall
31548 TOOLKIT=MICROWIN
31549 GUIDIST=MICROWIN_DIST
31550
31551 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31552 fi
31553
31554 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31555 { echo "$as_me:$LINENO: checking for X" >&5
31556 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31557
31558
31559 # Check whether --with-x was given.
31560 if test "${with_x+set}" = set; then
31561 withval=$with_x;
31562 fi
31563
31564 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31565 if test "x$with_x" = xno; then
31566 # The user explicitly disabled X.
31567 have_x=disabled
31568 else
31569 case $x_includes,$x_libraries in #(
31570 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31571 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31572 { (exit 1); exit 1; }; };; #(
31573 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31574 echo $ECHO_N "(cached) $ECHO_C" >&6
31575 else
31576 # One or both of the vars are not set, and there is no cached value.
31577 ac_x_includes=no ac_x_libraries=no
31578 rm -f -r conftest.dir
31579 if mkdir conftest.dir; then
31580 cd conftest.dir
31581 cat >Imakefile <<'_ACEOF'
31582 incroot:
31583 @echo incroot='${INCROOT}'
31584 usrlibdir:
31585 @echo usrlibdir='${USRLIBDIR}'
31586 libdir:
31587 @echo libdir='${LIBDIR}'
31588 _ACEOF
31589 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31590 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31591 for ac_var in incroot usrlibdir libdir; do
31592 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31593 done
31594 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31595 for ac_extension in a so sl; do
31596 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31597 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31598 ac_im_usrlibdir=$ac_im_libdir; break
31599 fi
31600 done
31601 # Screen out bogus values from the imake configuration. They are
31602 # bogus both because they are the default anyway, and because
31603 # using them would break gcc on systems where it needs fixed includes.
31604 case $ac_im_incroot in
31605 /usr/include) ac_x_includes= ;;
31606 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31607 esac
31608 case $ac_im_usrlibdir in
31609 /usr/lib | /lib) ;;
31610 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31611 esac
31612 fi
31613 cd ..
31614 rm -f -r conftest.dir
31615 fi
31616
31617 # Standard set of common directories for X headers.
31618 # Check X11 before X11Rn because it is often a symlink to the current release.
31619 ac_x_header_dirs='
31620 /usr/X11/include
31621 /usr/X11R6/include
31622 /usr/X11R5/include
31623 /usr/X11R4/include
31624
31625 /usr/include/X11
31626 /usr/include/X11R6
31627 /usr/include/X11R5
31628 /usr/include/X11R4
31629
31630 /usr/local/X11/include
31631 /usr/local/X11R6/include
31632 /usr/local/X11R5/include
31633 /usr/local/X11R4/include
31634
31635 /usr/local/include/X11
31636 /usr/local/include/X11R6
31637 /usr/local/include/X11R5
31638 /usr/local/include/X11R4
31639
31640 /usr/X386/include
31641 /usr/x386/include
31642 /usr/XFree86/include/X11
31643
31644 /usr/include
31645 /usr/local/include
31646 /usr/unsupported/include
31647 /usr/athena/include
31648 /usr/local/x11r5/include
31649 /usr/lpp/Xamples/include
31650
31651 /usr/openwin/include
31652 /usr/openwin/share/include'
31653
31654 if test "$ac_x_includes" = no; then
31655 # Guess where to find include files, by looking for Xlib.h.
31656 # First, try using that file with no special directory specified.
31657 cat >conftest.$ac_ext <<_ACEOF
31658 /* confdefs.h. */
31659 _ACEOF
31660 cat confdefs.h >>conftest.$ac_ext
31661 cat >>conftest.$ac_ext <<_ACEOF
31662 /* end confdefs.h. */
31663 #include <X11/Xlib.h>
31664 _ACEOF
31665 if { (ac_try="$ac_cpp conftest.$ac_ext"
31666 case "(($ac_try" in
31667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31668 *) ac_try_echo=$ac_try;;
31669 esac
31670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31672 ac_status=$?
31673 grep -v '^ *+' conftest.er1 >conftest.err
31674 rm -f conftest.er1
31675 cat conftest.err >&5
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); } >/dev/null && {
31678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31679 test ! -s conftest.err
31680 }; then
31681 # We can compile using X headers with no special include directory.
31682 ac_x_includes=
31683 else
31684 echo "$as_me: failed program was:" >&5
31685 sed 's/^/| /' conftest.$ac_ext >&5
31686
31687 for ac_dir in $ac_x_header_dirs; do
31688 if test -r "$ac_dir/X11/Xlib.h"; then
31689 ac_x_includes=$ac_dir
31690 break
31691 fi
31692 done
31693 fi
31694
31695 rm -f conftest.err conftest.$ac_ext
31696 fi # $ac_x_includes = no
31697
31698 if test "$ac_x_libraries" = no; then
31699 # Check for the libraries.
31700 # See if we find them without any special options.
31701 # Don't add to $LIBS permanently.
31702 ac_save_LIBS=$LIBS
31703 LIBS="-lX11 $LIBS"
31704 cat >conftest.$ac_ext <<_ACEOF
31705 /* confdefs.h. */
31706 _ACEOF
31707 cat confdefs.h >>conftest.$ac_ext
31708 cat >>conftest.$ac_ext <<_ACEOF
31709 /* end confdefs.h. */
31710 #include <X11/Xlib.h>
31711 int
31712 main ()
31713 {
31714 XrmInitialize ()
31715 ;
31716 return 0;
31717 }
31718 _ACEOF
31719 rm -f conftest.$ac_objext conftest$ac_exeext
31720 if { (ac_try="$ac_link"
31721 case "(($ac_try" in
31722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31723 *) ac_try_echo=$ac_try;;
31724 esac
31725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31726 (eval "$ac_link") 2>conftest.er1
31727 ac_status=$?
31728 grep -v '^ *+' conftest.er1 >conftest.err
31729 rm -f conftest.er1
31730 cat conftest.err >&5
31731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732 (exit $ac_status); } && {
31733 test -z "$ac_c_werror_flag" ||
31734 test ! -s conftest.err
31735 } && test -s conftest$ac_exeext &&
31736 $as_test_x conftest$ac_exeext; then
31737 LIBS=$ac_save_LIBS
31738 # We can link X programs with no special library path.
31739 ac_x_libraries=
31740 else
31741 echo "$as_me: failed program was:" >&5
31742 sed 's/^/| /' conftest.$ac_ext >&5
31743
31744 LIBS=$ac_save_LIBS
31745 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31746 do
31747 # Don't even attempt the hair of trying to link an X program!
31748 for ac_extension in a so sl; do
31749 if test -r "$ac_dir/libX11.$ac_extension"; then
31750 ac_x_libraries=$ac_dir
31751 break 2
31752 fi
31753 done
31754 done
31755 fi
31756
31757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31758 conftest$ac_exeext conftest.$ac_ext
31759 fi # $ac_x_libraries = no
31760
31761 case $ac_x_includes,$ac_x_libraries in #(
31762 no,* | *,no | *\'*)
31763 # Didn't find X, or a directory has "'" in its name.
31764 ac_cv_have_x="have_x=no";; #(
31765 *)
31766 # Record where we found X for the cache.
31767 ac_cv_have_x="have_x=yes\
31768 ac_x_includes='$ac_x_includes'\
31769 ac_x_libraries='$ac_x_libraries'"
31770 esac
31771 fi
31772 ;; #(
31773 *) have_x=yes;;
31774 esac
31775 eval "$ac_cv_have_x"
31776 fi # $with_x != no
31777
31778 if test "$have_x" != yes; then
31779 { echo "$as_me:$LINENO: result: $have_x" >&5
31780 echo "${ECHO_T}$have_x" >&6; }
31781 no_x=yes
31782 else
31783 # If each of the values was on the command line, it overrides each guess.
31784 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31785 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31786 # Update the cache value to reflect the command line values.
31787 ac_cv_have_x="have_x=yes\
31788 ac_x_includes='$x_includes'\
31789 ac_x_libraries='$x_libraries'"
31790 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31791 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31792 fi
31793
31794 if test "$no_x" = yes; then
31795 # Not all programs may use this symbol, but it does not hurt to define it.
31796
31797 cat >>confdefs.h <<\_ACEOF
31798 #define X_DISPLAY_MISSING 1
31799 _ACEOF
31800
31801 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31802 else
31803 if test -n "$x_includes"; then
31804 X_CFLAGS="$X_CFLAGS -I$x_includes"
31805 fi
31806
31807 # It would also be nice to do this for all -L options, not just this one.
31808 if test -n "$x_libraries"; then
31809 X_LIBS="$X_LIBS -L$x_libraries"
31810 # For Solaris; some versions of Sun CC require a space after -R and
31811 # others require no space. Words are not sufficient . . . .
31812 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31813 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31814 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31815 ac_xsave_c_werror_flag=$ac_c_werror_flag
31816 ac_c_werror_flag=yes
31817 cat >conftest.$ac_ext <<_ACEOF
31818 /* confdefs.h. */
31819 _ACEOF
31820 cat confdefs.h >>conftest.$ac_ext
31821 cat >>conftest.$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31823
31824 int
31825 main ()
31826 {
31827
31828 ;
31829 return 0;
31830 }
31831 _ACEOF
31832 rm -f conftest.$ac_objext conftest$ac_exeext
31833 if { (ac_try="$ac_link"
31834 case "(($ac_try" in
31835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31836 *) ac_try_echo=$ac_try;;
31837 esac
31838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31839 (eval "$ac_link") 2>conftest.er1
31840 ac_status=$?
31841 grep -v '^ *+' conftest.er1 >conftest.err
31842 rm -f conftest.er1
31843 cat conftest.err >&5
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); } && {
31846 test -z "$ac_c_werror_flag" ||
31847 test ! -s conftest.err
31848 } && test -s conftest$ac_exeext &&
31849 $as_test_x conftest$ac_exeext; then
31850 { echo "$as_me:$LINENO: result: no" >&5
31851 echo "${ECHO_T}no" >&6; }
31852 X_LIBS="$X_LIBS -R$x_libraries"
31853 else
31854 echo "$as_me: failed program was:" >&5
31855 sed 's/^/| /' conftest.$ac_ext >&5
31856
31857 LIBS="$ac_xsave_LIBS -R $x_libraries"
31858 cat >conftest.$ac_ext <<_ACEOF
31859 /* confdefs.h. */
31860 _ACEOF
31861 cat confdefs.h >>conftest.$ac_ext
31862 cat >>conftest.$ac_ext <<_ACEOF
31863 /* end confdefs.h. */
31864
31865 int
31866 main ()
31867 {
31868
31869 ;
31870 return 0;
31871 }
31872 _ACEOF
31873 rm -f conftest.$ac_objext conftest$ac_exeext
31874 if { (ac_try="$ac_link"
31875 case "(($ac_try" in
31876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31877 *) ac_try_echo=$ac_try;;
31878 esac
31879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31880 (eval "$ac_link") 2>conftest.er1
31881 ac_status=$?
31882 grep -v '^ *+' conftest.er1 >conftest.err
31883 rm -f conftest.er1
31884 cat conftest.err >&5
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); } && {
31887 test -z "$ac_c_werror_flag" ||
31888 test ! -s conftest.err
31889 } && test -s conftest$ac_exeext &&
31890 $as_test_x conftest$ac_exeext; then
31891 { echo "$as_me:$LINENO: result: yes" >&5
31892 echo "${ECHO_T}yes" >&6; }
31893 X_LIBS="$X_LIBS -R $x_libraries"
31894 else
31895 echo "$as_me: failed program was:" >&5
31896 sed 's/^/| /' conftest.$ac_ext >&5
31897
31898 { echo "$as_me:$LINENO: result: neither works" >&5
31899 echo "${ECHO_T}neither works" >&6; }
31900 fi
31901
31902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31903 conftest$ac_exeext conftest.$ac_ext
31904 fi
31905
31906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31907 conftest$ac_exeext conftest.$ac_ext
31908 ac_c_werror_flag=$ac_xsave_c_werror_flag
31909 LIBS=$ac_xsave_LIBS
31910 fi
31911
31912 # Check for system-dependent libraries X programs must link with.
31913 # Do this before checking for the system-independent R6 libraries
31914 # (-lICE), since we may need -lsocket or whatever for X linking.
31915
31916 if test "$ISC" = yes; then
31917 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31918 else
31919 # Martyn Johnson says this is needed for Ultrix, if the X
31920 # libraries were built with DECnet support. And Karl Berry says
31921 # the Alpha needs dnet_stub (dnet does not exist).
31922 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31923 cat >conftest.$ac_ext <<_ACEOF
31924 /* confdefs.h. */
31925 _ACEOF
31926 cat confdefs.h >>conftest.$ac_ext
31927 cat >>conftest.$ac_ext <<_ACEOF
31928 /* end confdefs.h. */
31929
31930 /* Override any GCC internal prototype to avoid an error.
31931 Use char because int might match the return type of a GCC
31932 builtin and then its argument prototype would still apply. */
31933 #ifdef __cplusplus
31934 extern "C"
31935 #endif
31936 char XOpenDisplay ();
31937 int
31938 main ()
31939 {
31940 return XOpenDisplay ();
31941 ;
31942 return 0;
31943 }
31944 _ACEOF
31945 rm -f conftest.$ac_objext conftest$ac_exeext
31946 if { (ac_try="$ac_link"
31947 case "(($ac_try" in
31948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31949 *) ac_try_echo=$ac_try;;
31950 esac
31951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31952 (eval "$ac_link") 2>conftest.er1
31953 ac_status=$?
31954 grep -v '^ *+' conftest.er1 >conftest.err
31955 rm -f conftest.er1
31956 cat conftest.err >&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); } && {
31959 test -z "$ac_c_werror_flag" ||
31960 test ! -s conftest.err
31961 } && test -s conftest$ac_exeext &&
31962 $as_test_x conftest$ac_exeext; then
31963 :
31964 else
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.$ac_ext >&5
31967
31968 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31969 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
31970 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31971 echo $ECHO_N "(cached) $ECHO_C" >&6
31972 else
31973 ac_check_lib_save_LIBS=$LIBS
31974 LIBS="-ldnet $LIBS"
31975 cat >conftest.$ac_ext <<_ACEOF
31976 /* confdefs.h. */
31977 _ACEOF
31978 cat confdefs.h >>conftest.$ac_ext
31979 cat >>conftest.$ac_ext <<_ACEOF
31980 /* end confdefs.h. */
31981
31982 /* Override any GCC internal prototype to avoid an error.
31983 Use char because int might match the return type of a GCC
31984 builtin and then its argument prototype would still apply. */
31985 #ifdef __cplusplus
31986 extern "C"
31987 #endif
31988 char dnet_ntoa ();
31989 int
31990 main ()
31991 {
31992 return dnet_ntoa ();
31993 ;
31994 return 0;
31995 }
31996 _ACEOF
31997 rm -f conftest.$ac_objext conftest$ac_exeext
31998 if { (ac_try="$ac_link"
31999 case "(($ac_try" in
32000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32001 *) ac_try_echo=$ac_try;;
32002 esac
32003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32004 (eval "$ac_link") 2>conftest.er1
32005 ac_status=$?
32006 grep -v '^ *+' conftest.er1 >conftest.err
32007 rm -f conftest.er1
32008 cat conftest.err >&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); } && {
32011 test -z "$ac_c_werror_flag" ||
32012 test ! -s conftest.err
32013 } && test -s conftest$ac_exeext &&
32014 $as_test_x conftest$ac_exeext; then
32015 ac_cv_lib_dnet_dnet_ntoa=yes
32016 else
32017 echo "$as_me: failed program was:" >&5
32018 sed 's/^/| /' conftest.$ac_ext >&5
32019
32020 ac_cv_lib_dnet_dnet_ntoa=no
32021 fi
32022
32023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32024 conftest$ac_exeext conftest.$ac_ext
32025 LIBS=$ac_check_lib_save_LIBS
32026 fi
32027 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32028 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32029 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32030 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32031 fi
32032
32033 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32034 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32035 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32036 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32037 echo $ECHO_N "(cached) $ECHO_C" >&6
32038 else
32039 ac_check_lib_save_LIBS=$LIBS
32040 LIBS="-ldnet_stub $LIBS"
32041 cat >conftest.$ac_ext <<_ACEOF
32042 /* confdefs.h. */
32043 _ACEOF
32044 cat confdefs.h >>conftest.$ac_ext
32045 cat >>conftest.$ac_ext <<_ACEOF
32046 /* end confdefs.h. */
32047
32048 /* Override any GCC internal prototype to avoid an error.
32049 Use char because int might match the return type of a GCC
32050 builtin and then its argument prototype would still apply. */
32051 #ifdef __cplusplus
32052 extern "C"
32053 #endif
32054 char dnet_ntoa ();
32055 int
32056 main ()
32057 {
32058 return dnet_ntoa ();
32059 ;
32060 return 0;
32061 }
32062 _ACEOF
32063 rm -f conftest.$ac_objext conftest$ac_exeext
32064 if { (ac_try="$ac_link"
32065 case "(($ac_try" in
32066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32067 *) ac_try_echo=$ac_try;;
32068 esac
32069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32070 (eval "$ac_link") 2>conftest.er1
32071 ac_status=$?
32072 grep -v '^ *+' conftest.er1 >conftest.err
32073 rm -f conftest.er1
32074 cat conftest.err >&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); } && {
32077 test -z "$ac_c_werror_flag" ||
32078 test ! -s conftest.err
32079 } && test -s conftest$ac_exeext &&
32080 $as_test_x conftest$ac_exeext; then
32081 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32082 else
32083 echo "$as_me: failed program was:" >&5
32084 sed 's/^/| /' conftest.$ac_ext >&5
32085
32086 ac_cv_lib_dnet_stub_dnet_ntoa=no
32087 fi
32088
32089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32090 conftest$ac_exeext conftest.$ac_ext
32091 LIBS=$ac_check_lib_save_LIBS
32092 fi
32093 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32094 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32095 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32096 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32097 fi
32098
32099 fi
32100 fi
32101
32102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32103 conftest$ac_exeext conftest.$ac_ext
32104 LIBS="$ac_xsave_LIBS"
32105
32106 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32107 # to get the SysV transport functions.
32108 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32109 # needs -lnsl.
32110 # The nsl library prevents programs from opening the X display
32111 # on Irix 5.2, according to T.E. Dickey.
32112 # The functions gethostbyname, getservbyname, and inet_addr are
32113 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32114 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32115 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32116 if test "${ac_cv_func_gethostbyname+set}" = set; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32118 else
32119 cat >conftest.$ac_ext <<_ACEOF
32120 /* confdefs.h. */
32121 _ACEOF
32122 cat confdefs.h >>conftest.$ac_ext
32123 cat >>conftest.$ac_ext <<_ACEOF
32124 /* end confdefs.h. */
32125 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32127 #define gethostbyname innocuous_gethostbyname
32128
32129 /* System header to define __stub macros and hopefully few prototypes,
32130 which can conflict with char gethostbyname (); below.
32131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32132 <limits.h> exists even on freestanding compilers. */
32133
32134 #ifdef __STDC__
32135 # include <limits.h>
32136 #else
32137 # include <assert.h>
32138 #endif
32139
32140 #undef gethostbyname
32141
32142 /* Override any GCC internal prototype to avoid an error.
32143 Use char because int might match the return type of a GCC
32144 builtin and then its argument prototype would still apply. */
32145 #ifdef __cplusplus
32146 extern "C"
32147 #endif
32148 char gethostbyname ();
32149 /* The GNU C library defines this for functions which it implements
32150 to always fail with ENOSYS. Some functions are actually named
32151 something starting with __ and the normal name is an alias. */
32152 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32153 choke me
32154 #endif
32155
32156 int
32157 main ()
32158 {
32159 return gethostbyname ();
32160 ;
32161 return 0;
32162 }
32163 _ACEOF
32164 rm -f conftest.$ac_objext conftest$ac_exeext
32165 if { (ac_try="$ac_link"
32166 case "(($ac_try" in
32167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32168 *) ac_try_echo=$ac_try;;
32169 esac
32170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32171 (eval "$ac_link") 2>conftest.er1
32172 ac_status=$?
32173 grep -v '^ *+' conftest.er1 >conftest.err
32174 rm -f conftest.er1
32175 cat conftest.err >&5
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); } && {
32178 test -z "$ac_c_werror_flag" ||
32179 test ! -s conftest.err
32180 } && test -s conftest$ac_exeext &&
32181 $as_test_x conftest$ac_exeext; then
32182 ac_cv_func_gethostbyname=yes
32183 else
32184 echo "$as_me: failed program was:" >&5
32185 sed 's/^/| /' conftest.$ac_ext >&5
32186
32187 ac_cv_func_gethostbyname=no
32188 fi
32189
32190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32191 conftest$ac_exeext conftest.$ac_ext
32192 fi
32193 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32194 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32195
32196 if test $ac_cv_func_gethostbyname = no; then
32197 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32198 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32199 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32200 echo $ECHO_N "(cached) $ECHO_C" >&6
32201 else
32202 ac_check_lib_save_LIBS=$LIBS
32203 LIBS="-lnsl $LIBS"
32204 cat >conftest.$ac_ext <<_ACEOF
32205 /* confdefs.h. */
32206 _ACEOF
32207 cat confdefs.h >>conftest.$ac_ext
32208 cat >>conftest.$ac_ext <<_ACEOF
32209 /* end confdefs.h. */
32210
32211 /* Override any GCC internal prototype to avoid an error.
32212 Use char because int might match the return type of a GCC
32213 builtin and then its argument prototype would still apply. */
32214 #ifdef __cplusplus
32215 extern "C"
32216 #endif
32217 char gethostbyname ();
32218 int
32219 main ()
32220 {
32221 return gethostbyname ();
32222 ;
32223 return 0;
32224 }
32225 _ACEOF
32226 rm -f conftest.$ac_objext conftest$ac_exeext
32227 if { (ac_try="$ac_link"
32228 case "(($ac_try" in
32229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32230 *) ac_try_echo=$ac_try;;
32231 esac
32232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32233 (eval "$ac_link") 2>conftest.er1
32234 ac_status=$?
32235 grep -v '^ *+' conftest.er1 >conftest.err
32236 rm -f conftest.er1
32237 cat conftest.err >&5
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); } && {
32240 test -z "$ac_c_werror_flag" ||
32241 test ! -s conftest.err
32242 } && test -s conftest$ac_exeext &&
32243 $as_test_x conftest$ac_exeext; then
32244 ac_cv_lib_nsl_gethostbyname=yes
32245 else
32246 echo "$as_me: failed program was:" >&5
32247 sed 's/^/| /' conftest.$ac_ext >&5
32248
32249 ac_cv_lib_nsl_gethostbyname=no
32250 fi
32251
32252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32253 conftest$ac_exeext conftest.$ac_ext
32254 LIBS=$ac_check_lib_save_LIBS
32255 fi
32256 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32257 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32258 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32259 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32260 fi
32261
32262 if test $ac_cv_lib_nsl_gethostbyname = no; then
32263 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32264 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32265 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32266 echo $ECHO_N "(cached) $ECHO_C" >&6
32267 else
32268 ac_check_lib_save_LIBS=$LIBS
32269 LIBS="-lbsd $LIBS"
32270 cat >conftest.$ac_ext <<_ACEOF
32271 /* confdefs.h. */
32272 _ACEOF
32273 cat confdefs.h >>conftest.$ac_ext
32274 cat >>conftest.$ac_ext <<_ACEOF
32275 /* end confdefs.h. */
32276
32277 /* Override any GCC internal prototype to avoid an error.
32278 Use char because int might match the return type of a GCC
32279 builtin and then its argument prototype would still apply. */
32280 #ifdef __cplusplus
32281 extern "C"
32282 #endif
32283 char gethostbyname ();
32284 int
32285 main ()
32286 {
32287 return gethostbyname ();
32288 ;
32289 return 0;
32290 }
32291 _ACEOF
32292 rm -f conftest.$ac_objext conftest$ac_exeext
32293 if { (ac_try="$ac_link"
32294 case "(($ac_try" in
32295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32296 *) ac_try_echo=$ac_try;;
32297 esac
32298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32299 (eval "$ac_link") 2>conftest.er1
32300 ac_status=$?
32301 grep -v '^ *+' conftest.er1 >conftest.err
32302 rm -f conftest.er1
32303 cat conftest.err >&5
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); } && {
32306 test -z "$ac_c_werror_flag" ||
32307 test ! -s conftest.err
32308 } && test -s conftest$ac_exeext &&
32309 $as_test_x conftest$ac_exeext; then
32310 ac_cv_lib_bsd_gethostbyname=yes
32311 else
32312 echo "$as_me: failed program was:" >&5
32313 sed 's/^/| /' conftest.$ac_ext >&5
32314
32315 ac_cv_lib_bsd_gethostbyname=no
32316 fi
32317
32318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32319 conftest$ac_exeext conftest.$ac_ext
32320 LIBS=$ac_check_lib_save_LIBS
32321 fi
32322 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32323 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32324 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32325 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32326 fi
32327
32328 fi
32329 fi
32330
32331 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32332 # socket/setsockopt and other routines are undefined under SCO ODT
32333 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32334 # on later versions), says Simon Leinen: it contains gethostby*
32335 # variants that don't use the name server (or something). -lsocket
32336 # must be given before -lnsl if both are needed. We assume that
32337 # if connect needs -lnsl, so does gethostbyname.
32338 { echo "$as_me:$LINENO: checking for connect" >&5
32339 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32340 if test "${ac_cv_func_connect+set}" = set; then
32341 echo $ECHO_N "(cached) $ECHO_C" >&6
32342 else
32343 cat >conftest.$ac_ext <<_ACEOF
32344 /* confdefs.h. */
32345 _ACEOF
32346 cat confdefs.h >>conftest.$ac_ext
32347 cat >>conftest.$ac_ext <<_ACEOF
32348 /* end confdefs.h. */
32349 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32351 #define connect innocuous_connect
32352
32353 /* System header to define __stub macros and hopefully few prototypes,
32354 which can conflict with char connect (); below.
32355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32356 <limits.h> exists even on freestanding compilers. */
32357
32358 #ifdef __STDC__
32359 # include <limits.h>
32360 #else
32361 # include <assert.h>
32362 #endif
32363
32364 #undef connect
32365
32366 /* Override any GCC internal prototype to avoid an error.
32367 Use char because int might match the return type of a GCC
32368 builtin and then its argument prototype would still apply. */
32369 #ifdef __cplusplus
32370 extern "C"
32371 #endif
32372 char connect ();
32373 /* The GNU C library defines this for functions which it implements
32374 to always fail with ENOSYS. Some functions are actually named
32375 something starting with __ and the normal name is an alias. */
32376 #if defined __stub_connect || defined __stub___connect
32377 choke me
32378 #endif
32379
32380 int
32381 main ()
32382 {
32383 return connect ();
32384 ;
32385 return 0;
32386 }
32387 _ACEOF
32388 rm -f conftest.$ac_objext conftest$ac_exeext
32389 if { (ac_try="$ac_link"
32390 case "(($ac_try" in
32391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32392 *) ac_try_echo=$ac_try;;
32393 esac
32394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32395 (eval "$ac_link") 2>conftest.er1
32396 ac_status=$?
32397 grep -v '^ *+' conftest.er1 >conftest.err
32398 rm -f conftest.er1
32399 cat conftest.err >&5
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); } && {
32402 test -z "$ac_c_werror_flag" ||
32403 test ! -s conftest.err
32404 } && test -s conftest$ac_exeext &&
32405 $as_test_x conftest$ac_exeext; then
32406 ac_cv_func_connect=yes
32407 else
32408 echo "$as_me: failed program was:" >&5
32409 sed 's/^/| /' conftest.$ac_ext >&5
32410
32411 ac_cv_func_connect=no
32412 fi
32413
32414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32415 conftest$ac_exeext conftest.$ac_ext
32416 fi
32417 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32418 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32419
32420 if test $ac_cv_func_connect = no; then
32421 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32422 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32423 if test "${ac_cv_lib_socket_connect+set}" = set; then
32424 echo $ECHO_N "(cached) $ECHO_C" >&6
32425 else
32426 ac_check_lib_save_LIBS=$LIBS
32427 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32428 cat >conftest.$ac_ext <<_ACEOF
32429 /* confdefs.h. */
32430 _ACEOF
32431 cat confdefs.h >>conftest.$ac_ext
32432 cat >>conftest.$ac_ext <<_ACEOF
32433 /* end confdefs.h. */
32434
32435 /* Override any GCC internal prototype to avoid an error.
32436 Use char because int might match the return type of a GCC
32437 builtin and then its argument prototype would still apply. */
32438 #ifdef __cplusplus
32439 extern "C"
32440 #endif
32441 char connect ();
32442 int
32443 main ()
32444 {
32445 return connect ();
32446 ;
32447 return 0;
32448 }
32449 _ACEOF
32450 rm -f conftest.$ac_objext conftest$ac_exeext
32451 if { (ac_try="$ac_link"
32452 case "(($ac_try" in
32453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32454 *) ac_try_echo=$ac_try;;
32455 esac
32456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32457 (eval "$ac_link") 2>conftest.er1
32458 ac_status=$?
32459 grep -v '^ *+' conftest.er1 >conftest.err
32460 rm -f conftest.er1
32461 cat conftest.err >&5
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); } && {
32464 test -z "$ac_c_werror_flag" ||
32465 test ! -s conftest.err
32466 } && test -s conftest$ac_exeext &&
32467 $as_test_x conftest$ac_exeext; then
32468 ac_cv_lib_socket_connect=yes
32469 else
32470 echo "$as_me: failed program was:" >&5
32471 sed 's/^/| /' conftest.$ac_ext >&5
32472
32473 ac_cv_lib_socket_connect=no
32474 fi
32475
32476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32477 conftest$ac_exeext conftest.$ac_ext
32478 LIBS=$ac_check_lib_save_LIBS
32479 fi
32480 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32481 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32482 if test $ac_cv_lib_socket_connect = yes; then
32483 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32484 fi
32485
32486 fi
32487
32488 # Guillermo Gomez says -lposix is necessary on A/UX.
32489 { echo "$as_me:$LINENO: checking for remove" >&5
32490 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32491 if test "${ac_cv_func_remove+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 else
32494 cat >conftest.$ac_ext <<_ACEOF
32495 /* confdefs.h. */
32496 _ACEOF
32497 cat confdefs.h >>conftest.$ac_ext
32498 cat >>conftest.$ac_ext <<_ACEOF
32499 /* end confdefs.h. */
32500 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32502 #define remove innocuous_remove
32503
32504 /* System header to define __stub macros and hopefully few prototypes,
32505 which can conflict with char remove (); below.
32506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32507 <limits.h> exists even on freestanding compilers. */
32508
32509 #ifdef __STDC__
32510 # include <limits.h>
32511 #else
32512 # include <assert.h>
32513 #endif
32514
32515 #undef remove
32516
32517 /* Override any GCC internal prototype to avoid an error.
32518 Use char because int might match the return type of a GCC
32519 builtin and then its argument prototype would still apply. */
32520 #ifdef __cplusplus
32521 extern "C"
32522 #endif
32523 char remove ();
32524 /* The GNU C library defines this for functions which it implements
32525 to always fail with ENOSYS. Some functions are actually named
32526 something starting with __ and the normal name is an alias. */
32527 #if defined __stub_remove || defined __stub___remove
32528 choke me
32529 #endif
32530
32531 int
32532 main ()
32533 {
32534 return remove ();
32535 ;
32536 return 0;
32537 }
32538 _ACEOF
32539 rm -f conftest.$ac_objext conftest$ac_exeext
32540 if { (ac_try="$ac_link"
32541 case "(($ac_try" in
32542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32543 *) ac_try_echo=$ac_try;;
32544 esac
32545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32546 (eval "$ac_link") 2>conftest.er1
32547 ac_status=$?
32548 grep -v '^ *+' conftest.er1 >conftest.err
32549 rm -f conftest.er1
32550 cat conftest.err >&5
32551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32552 (exit $ac_status); } && {
32553 test -z "$ac_c_werror_flag" ||
32554 test ! -s conftest.err
32555 } && test -s conftest$ac_exeext &&
32556 $as_test_x conftest$ac_exeext; then
32557 ac_cv_func_remove=yes
32558 else
32559 echo "$as_me: failed program was:" >&5
32560 sed 's/^/| /' conftest.$ac_ext >&5
32561
32562 ac_cv_func_remove=no
32563 fi
32564
32565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32566 conftest$ac_exeext conftest.$ac_ext
32567 fi
32568 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32569 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32570
32571 if test $ac_cv_func_remove = no; then
32572 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32573 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32574 if test "${ac_cv_lib_posix_remove+set}" = set; then
32575 echo $ECHO_N "(cached) $ECHO_C" >&6
32576 else
32577 ac_check_lib_save_LIBS=$LIBS
32578 LIBS="-lposix $LIBS"
32579 cat >conftest.$ac_ext <<_ACEOF
32580 /* confdefs.h. */
32581 _ACEOF
32582 cat confdefs.h >>conftest.$ac_ext
32583 cat >>conftest.$ac_ext <<_ACEOF
32584 /* end confdefs.h. */
32585
32586 /* Override any GCC internal prototype to avoid an error.
32587 Use char because int might match the return type of a GCC
32588 builtin and then its argument prototype would still apply. */
32589 #ifdef __cplusplus
32590 extern "C"
32591 #endif
32592 char remove ();
32593 int
32594 main ()
32595 {
32596 return remove ();
32597 ;
32598 return 0;
32599 }
32600 _ACEOF
32601 rm -f conftest.$ac_objext conftest$ac_exeext
32602 if { (ac_try="$ac_link"
32603 case "(($ac_try" in
32604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32605 *) ac_try_echo=$ac_try;;
32606 esac
32607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32608 (eval "$ac_link") 2>conftest.er1
32609 ac_status=$?
32610 grep -v '^ *+' conftest.er1 >conftest.err
32611 rm -f conftest.er1
32612 cat conftest.err >&5
32613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32614 (exit $ac_status); } && {
32615 test -z "$ac_c_werror_flag" ||
32616 test ! -s conftest.err
32617 } && test -s conftest$ac_exeext &&
32618 $as_test_x conftest$ac_exeext; then
32619 ac_cv_lib_posix_remove=yes
32620 else
32621 echo "$as_me: failed program was:" >&5
32622 sed 's/^/| /' conftest.$ac_ext >&5
32623
32624 ac_cv_lib_posix_remove=no
32625 fi
32626
32627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32628 conftest$ac_exeext conftest.$ac_ext
32629 LIBS=$ac_check_lib_save_LIBS
32630 fi
32631 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32632 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32633 if test $ac_cv_lib_posix_remove = yes; then
32634 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32635 fi
32636
32637 fi
32638
32639 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32640 { echo "$as_me:$LINENO: checking for shmat" >&5
32641 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32642 if test "${ac_cv_func_shmat+set}" = set; then
32643 echo $ECHO_N "(cached) $ECHO_C" >&6
32644 else
32645 cat >conftest.$ac_ext <<_ACEOF
32646 /* confdefs.h. */
32647 _ACEOF
32648 cat confdefs.h >>conftest.$ac_ext
32649 cat >>conftest.$ac_ext <<_ACEOF
32650 /* end confdefs.h. */
32651 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32653 #define shmat innocuous_shmat
32654
32655 /* System header to define __stub macros and hopefully few prototypes,
32656 which can conflict with char shmat (); below.
32657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32658 <limits.h> exists even on freestanding compilers. */
32659
32660 #ifdef __STDC__
32661 # include <limits.h>
32662 #else
32663 # include <assert.h>
32664 #endif
32665
32666 #undef shmat
32667
32668 /* Override any GCC internal prototype to avoid an error.
32669 Use char because int might match the return type of a GCC
32670 builtin and then its argument prototype would still apply. */
32671 #ifdef __cplusplus
32672 extern "C"
32673 #endif
32674 char shmat ();
32675 /* The GNU C library defines this for functions which it implements
32676 to always fail with ENOSYS. Some functions are actually named
32677 something starting with __ and the normal name is an alias. */
32678 #if defined __stub_shmat || defined __stub___shmat
32679 choke me
32680 #endif
32681
32682 int
32683 main ()
32684 {
32685 return shmat ();
32686 ;
32687 return 0;
32688 }
32689 _ACEOF
32690 rm -f conftest.$ac_objext conftest$ac_exeext
32691 if { (ac_try="$ac_link"
32692 case "(($ac_try" in
32693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32694 *) ac_try_echo=$ac_try;;
32695 esac
32696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32697 (eval "$ac_link") 2>conftest.er1
32698 ac_status=$?
32699 grep -v '^ *+' conftest.er1 >conftest.err
32700 rm -f conftest.er1
32701 cat conftest.err >&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } && {
32704 test -z "$ac_c_werror_flag" ||
32705 test ! -s conftest.err
32706 } && test -s conftest$ac_exeext &&
32707 $as_test_x conftest$ac_exeext; then
32708 ac_cv_func_shmat=yes
32709 else
32710 echo "$as_me: failed program was:" >&5
32711 sed 's/^/| /' conftest.$ac_ext >&5
32712
32713 ac_cv_func_shmat=no
32714 fi
32715
32716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32717 conftest$ac_exeext conftest.$ac_ext
32718 fi
32719 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32720 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32721
32722 if test $ac_cv_func_shmat = no; then
32723 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32724 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32725 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32726 echo $ECHO_N "(cached) $ECHO_C" >&6
32727 else
32728 ac_check_lib_save_LIBS=$LIBS
32729 LIBS="-lipc $LIBS"
32730 cat >conftest.$ac_ext <<_ACEOF
32731 /* confdefs.h. */
32732 _ACEOF
32733 cat confdefs.h >>conftest.$ac_ext
32734 cat >>conftest.$ac_ext <<_ACEOF
32735 /* end confdefs.h. */
32736
32737 /* Override any GCC internal prototype to avoid an error.
32738 Use char because int might match the return type of a GCC
32739 builtin and then its argument prototype would still apply. */
32740 #ifdef __cplusplus
32741 extern "C"
32742 #endif
32743 char shmat ();
32744 int
32745 main ()
32746 {
32747 return shmat ();
32748 ;
32749 return 0;
32750 }
32751 _ACEOF
32752 rm -f conftest.$ac_objext conftest$ac_exeext
32753 if { (ac_try="$ac_link"
32754 case "(($ac_try" in
32755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32756 *) ac_try_echo=$ac_try;;
32757 esac
32758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32759 (eval "$ac_link") 2>conftest.er1
32760 ac_status=$?
32761 grep -v '^ *+' conftest.er1 >conftest.err
32762 rm -f conftest.er1
32763 cat conftest.err >&5
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); } && {
32766 test -z "$ac_c_werror_flag" ||
32767 test ! -s conftest.err
32768 } && test -s conftest$ac_exeext &&
32769 $as_test_x conftest$ac_exeext; then
32770 ac_cv_lib_ipc_shmat=yes
32771 else
32772 echo "$as_me: failed program was:" >&5
32773 sed 's/^/| /' conftest.$ac_ext >&5
32774
32775 ac_cv_lib_ipc_shmat=no
32776 fi
32777
32778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32779 conftest$ac_exeext conftest.$ac_ext
32780 LIBS=$ac_check_lib_save_LIBS
32781 fi
32782 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32783 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32784 if test $ac_cv_lib_ipc_shmat = yes; then
32785 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32786 fi
32787
32788 fi
32789 fi
32790
32791 # Check for libraries that X11R6 Xt/Xaw programs need.
32792 ac_save_LDFLAGS=$LDFLAGS
32793 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32794 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32795 # check for ICE first), but we must link in the order -lSM -lICE or
32796 # we get undefined symbols. So assume we have SM if we have ICE.
32797 # These have to be linked with before -lX11, unlike the other
32798 # libraries we check for below, so use a different variable.
32799 # John Interrante, Karl Berry
32800 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32801 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32802 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32803 echo $ECHO_N "(cached) $ECHO_C" >&6
32804 else
32805 ac_check_lib_save_LIBS=$LIBS
32806 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32807 cat >conftest.$ac_ext <<_ACEOF
32808 /* confdefs.h. */
32809 _ACEOF
32810 cat confdefs.h >>conftest.$ac_ext
32811 cat >>conftest.$ac_ext <<_ACEOF
32812 /* end confdefs.h. */
32813
32814 /* Override any GCC internal prototype to avoid an error.
32815 Use char because int might match the return type of a GCC
32816 builtin and then its argument prototype would still apply. */
32817 #ifdef __cplusplus
32818 extern "C"
32819 #endif
32820 char IceConnectionNumber ();
32821 int
32822 main ()
32823 {
32824 return IceConnectionNumber ();
32825 ;
32826 return 0;
32827 }
32828 _ACEOF
32829 rm -f conftest.$ac_objext conftest$ac_exeext
32830 if { (ac_try="$ac_link"
32831 case "(($ac_try" in
32832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32833 *) ac_try_echo=$ac_try;;
32834 esac
32835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32836 (eval "$ac_link") 2>conftest.er1
32837 ac_status=$?
32838 grep -v '^ *+' conftest.er1 >conftest.err
32839 rm -f conftest.er1
32840 cat conftest.err >&5
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); } && {
32843 test -z "$ac_c_werror_flag" ||
32844 test ! -s conftest.err
32845 } && test -s conftest$ac_exeext &&
32846 $as_test_x conftest$ac_exeext; then
32847 ac_cv_lib_ICE_IceConnectionNumber=yes
32848 else
32849 echo "$as_me: failed program was:" >&5
32850 sed 's/^/| /' conftest.$ac_ext >&5
32851
32852 ac_cv_lib_ICE_IceConnectionNumber=no
32853 fi
32854
32855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32856 conftest$ac_exeext conftest.$ac_ext
32857 LIBS=$ac_check_lib_save_LIBS
32858 fi
32859 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32860 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32861 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32862 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32863 fi
32864
32865 LDFLAGS=$ac_save_LDFLAGS
32866
32867 fi
32868
32869
32870 if test "$no_x" = "yes"; then
32871 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32872 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32873 { (exit 1); exit 1; }; }
32874 fi
32875
32876 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32877 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32878 AFMINSTALL=afminstall
32879 COMPILED_X_PROGRAM=0
32880
32881 fi
32882
32883 if test "$wxUSE_X11" = 1; then
32884 if test "$wxUSE_NANOX" = "yes"; then
32885 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32886 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32887 if test "x$MICROWIN" = x ; then
32888 { echo "$as_me:$LINENO: result: not found" >&5
32889 echo "${ECHO_T}not found" >&6; }
32890 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32891 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32892 { (exit 1); exit 1; }; }
32893 else
32894 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32895 echo "${ECHO_T}$MICROWIN" >&6; }
32896 cat >>confdefs.h <<\_ACEOF
32897 #define wxUSE_NANOX 1
32898 _ACEOF
32899
32900 fi
32901 fi
32902
32903 if test "$wxUSE_UNICODE" = "yes"; then
32904
32905
32906 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32907 if test -n "$ac_tool_prefix"; then
32908 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32909 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32912 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32913 echo $ECHO_N "(cached) $ECHO_C" >&6
32914 else
32915 case $PKG_CONFIG in
32916 [\\/]* | ?:[\\/]*)
32917 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32918 ;;
32919 *)
32920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32921 for as_dir in $PATH
32922 do
32923 IFS=$as_save_IFS
32924 test -z "$as_dir" && as_dir=.
32925 for ac_exec_ext in '' $ac_executable_extensions; do
32926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32927 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32929 break 2
32930 fi
32931 done
32932 done
32933 IFS=$as_save_IFS
32934
32935 ;;
32936 esac
32937 fi
32938 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32939 if test -n "$PKG_CONFIG"; then
32940 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32941 echo "${ECHO_T}$PKG_CONFIG" >&6; }
32942 else
32943 { echo "$as_me:$LINENO: result: no" >&5
32944 echo "${ECHO_T}no" >&6; }
32945 fi
32946
32947
32948 fi
32949 if test -z "$ac_cv_path_PKG_CONFIG"; then
32950 ac_pt_PKG_CONFIG=$PKG_CONFIG
32951 # Extract the first word of "pkg-config", so it can be a program name with args.
32952 set dummy pkg-config; ac_word=$2
32953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32955 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32956 echo $ECHO_N "(cached) $ECHO_C" >&6
32957 else
32958 case $ac_pt_PKG_CONFIG in
32959 [\\/]* | ?:[\\/]*)
32960 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32961 ;;
32962 *)
32963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32964 for as_dir in $PATH
32965 do
32966 IFS=$as_save_IFS
32967 test -z "$as_dir" && as_dir=.
32968 for ac_exec_ext in '' $ac_executable_extensions; do
32969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32970 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32972 break 2
32973 fi
32974 done
32975 done
32976 IFS=$as_save_IFS
32977
32978 ;;
32979 esac
32980 fi
32981 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32982 if test -n "$ac_pt_PKG_CONFIG"; then
32983 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32984 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32985 else
32986 { echo "$as_me:$LINENO: result: no" >&5
32987 echo "${ECHO_T}no" >&6; }
32988 fi
32989
32990 if test "x$ac_pt_PKG_CONFIG" = x; then
32991 PKG_CONFIG=""
32992 else
32993 case $cross_compiling:$ac_tool_warned in
32994 yes:)
32995 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32996 whose name does not start with the host triplet. If you think this
32997 configuration is useful to you, please write to autoconf@gnu.org." >&5
32998 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32999 whose name does not start with the host triplet. If you think this
33000 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33001 ac_tool_warned=yes ;;
33002 esac
33003 PKG_CONFIG=$ac_pt_PKG_CONFIG
33004 fi
33005 else
33006 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33007 fi
33008
33009 fi
33010 if test -n "$PKG_CONFIG"; then
33011 _pkg_min_version=0.9.0
33012 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33013 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33014 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33015 { echo "$as_me:$LINENO: result: yes" >&5
33016 echo "${ECHO_T}yes" >&6; }
33017 else
33018 { echo "$as_me:$LINENO: result: no" >&5
33019 echo "${ECHO_T}no" >&6; }
33020 PKG_CONFIG=""
33021 fi
33022
33023 fi
33024
33025
33026 pkg_failed=no
33027 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33028 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33029
33030 if test -n "$PKG_CONFIG"; then
33031 if test -n "$PANGOX_CFLAGS"; then
33032 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33033 else
33034 if test -n "$PKG_CONFIG" && \
33035 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33036 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33037 ac_status=$?
33038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33039 (exit $ac_status); }; then
33040 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33041 else
33042 pkg_failed=yes
33043 fi
33044 fi
33045 else
33046 pkg_failed=untried
33047 fi
33048 if test -n "$PKG_CONFIG"; then
33049 if test -n "$PANGOX_LIBS"; then
33050 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33051 else
33052 if test -n "$PKG_CONFIG" && \
33053 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33054 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33055 ac_status=$?
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; then
33058 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33059 else
33060 pkg_failed=yes
33061 fi
33062 fi
33063 else
33064 pkg_failed=untried
33065 fi
33066
33067
33068
33069 if test $pkg_failed = yes; then
33070
33071 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33072 _pkg_short_errors_supported=yes
33073 else
33074 _pkg_short_errors_supported=no
33075 fi
33076 if test $_pkg_short_errors_supported = yes; then
33077 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33078 else
33079 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33080 fi
33081 # Put the nasty error message in config.log where it belongs
33082 echo "$PANGOX_PKG_ERRORS" >&5
33083
33084
33085 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33086 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33087 { (exit 1); exit 1; }; }
33088
33089
33090 elif test $pkg_failed = untried; then
33091
33092 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33093 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33094 { (exit 1); exit 1; }; }
33095
33096
33097 else
33098 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33099 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33100 { echo "$as_me:$LINENO: result: yes" >&5
33101 echo "${ECHO_T}yes" >&6; }
33102
33103 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33104 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33105 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33106
33107 fi
33108
33109 pkg_failed=no
33110 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33111 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33112
33113 if test -n "$PKG_CONFIG"; then
33114 if test -n "$PANGOFT2_CFLAGS"; then
33115 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33116 else
33117 if test -n "$PKG_CONFIG" && \
33118 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33119 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33120 ac_status=$?
33121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122 (exit $ac_status); }; then
33123 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33124 else
33125 pkg_failed=yes
33126 fi
33127 fi
33128 else
33129 pkg_failed=untried
33130 fi
33131 if test -n "$PKG_CONFIG"; then
33132 if test -n "$PANGOFT2_LIBS"; then
33133 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33134 else
33135 if test -n "$PKG_CONFIG" && \
33136 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33137 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33138 ac_status=$?
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); }; then
33141 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33142 else
33143 pkg_failed=yes
33144 fi
33145 fi
33146 else
33147 pkg_failed=untried
33148 fi
33149
33150
33151
33152 if test $pkg_failed = yes; then
33153
33154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33155 _pkg_short_errors_supported=yes
33156 else
33157 _pkg_short_errors_supported=no
33158 fi
33159 if test $_pkg_short_errors_supported = yes; then
33160 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33161 else
33162 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33163 fi
33164 # Put the nasty error message in config.log where it belongs
33165 echo "$PANGOFT2_PKG_ERRORS" >&5
33166
33167
33168 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33169 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33170 wxUSE_PRINTING_ARCHITECTURE="no"
33171
33172
33173 elif test $pkg_failed = untried; then
33174
33175 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33176 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33177 wxUSE_PRINTING_ARCHITECTURE="no"
33178
33179
33180 else
33181 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33182 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33183 { echo "$as_me:$LINENO: result: yes" >&5
33184 echo "${ECHO_T}yes" >&6; }
33185
33186 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33187 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33188 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33189
33190 fi
33191
33192 pkg_failed=no
33193 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33194 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33195
33196 if test -n "$PKG_CONFIG"; then
33197 if test -n "$PANGOXFT_CFLAGS"; then
33198 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33199 else
33200 if test -n "$PKG_CONFIG" && \
33201 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33202 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33203 ac_status=$?
33204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205 (exit $ac_status); }; then
33206 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33207 else
33208 pkg_failed=yes
33209 fi
33210 fi
33211 else
33212 pkg_failed=untried
33213 fi
33214 if test -n "$PKG_CONFIG"; then
33215 if test -n "$PANGOXFT_LIBS"; then
33216 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33217 else
33218 if test -n "$PKG_CONFIG" && \
33219 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33220 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33221 ac_status=$?
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; then
33224 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33225 else
33226 pkg_failed=yes
33227 fi
33228 fi
33229 else
33230 pkg_failed=untried
33231 fi
33232
33233
33234
33235 if test $pkg_failed = yes; then
33236
33237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33238 _pkg_short_errors_supported=yes
33239 else
33240 _pkg_short_errors_supported=no
33241 fi
33242 if test $_pkg_short_errors_supported = yes; then
33243 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33244 else
33245 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33246 fi
33247 # Put the nasty error message in config.log where it belongs
33248 echo "$PANGOXFT_PKG_ERRORS" >&5
33249
33250
33251 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33252 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33253
33254
33255 elif test $pkg_failed = untried; then
33256
33257 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33258 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33259
33260
33261 else
33262 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33263 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33264 { echo "$as_me:$LINENO: result: yes" >&5
33265 echo "${ECHO_T}yes" >&6; }
33266
33267 cat >>confdefs.h <<\_ACEOF
33268 #define HAVE_PANGO_XFT 1
33269 _ACEOF
33270
33271 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33272 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33273 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33274
33275 fi
33276 save_LIBS="$LIBS"
33277 LIBS="$LIBS $PANGOX_LIBS"
33278
33279 for ac_func in pango_font_family_is_monospace
33280 do
33281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33282 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33285 echo $ECHO_N "(cached) $ECHO_C" >&6
33286 else
33287 cat >conftest.$ac_ext <<_ACEOF
33288 /* confdefs.h. */
33289 _ACEOF
33290 cat confdefs.h >>conftest.$ac_ext
33291 cat >>conftest.$ac_ext <<_ACEOF
33292 /* end confdefs.h. */
33293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33295 #define $ac_func innocuous_$ac_func
33296
33297 /* System header to define __stub macros and hopefully few prototypes,
33298 which can conflict with char $ac_func (); below.
33299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33300 <limits.h> exists even on freestanding compilers. */
33301
33302 #ifdef __STDC__
33303 # include <limits.h>
33304 #else
33305 # include <assert.h>
33306 #endif
33307
33308 #undef $ac_func
33309
33310 /* Override any GCC internal prototype to avoid an error.
33311 Use char because int might match the return type of a GCC
33312 builtin and then its argument prototype would still apply. */
33313 #ifdef __cplusplus
33314 extern "C"
33315 #endif
33316 char $ac_func ();
33317 /* The GNU C library defines this for functions which it implements
33318 to always fail with ENOSYS. Some functions are actually named
33319 something starting with __ and the normal name is an alias. */
33320 #if defined __stub_$ac_func || defined __stub___$ac_func
33321 choke me
33322 #endif
33323
33324 int
33325 main ()
33326 {
33327 return $ac_func ();
33328 ;
33329 return 0;
33330 }
33331 _ACEOF
33332 rm -f conftest.$ac_objext conftest$ac_exeext
33333 if { (ac_try="$ac_link"
33334 case "(($ac_try" in
33335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33336 *) ac_try_echo=$ac_try;;
33337 esac
33338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33339 (eval "$ac_link") 2>conftest.er1
33340 ac_status=$?
33341 grep -v '^ *+' conftest.er1 >conftest.err
33342 rm -f conftest.er1
33343 cat conftest.err >&5
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); } && {
33346 test -z "$ac_c_werror_flag" ||
33347 test ! -s conftest.err
33348 } && test -s conftest$ac_exeext &&
33349 $as_test_x conftest$ac_exeext; then
33350 eval "$as_ac_var=yes"
33351 else
33352 echo "$as_me: failed program was:" >&5
33353 sed 's/^/| /' conftest.$ac_ext >&5
33354
33355 eval "$as_ac_var=no"
33356 fi
33357
33358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33359 conftest$ac_exeext conftest.$ac_ext
33360 fi
33361 ac_res=`eval echo '${'$as_ac_var'}'`
33362 { echo "$as_me:$LINENO: result: $ac_res" >&5
33363 echo "${ECHO_T}$ac_res" >&6; }
33364 if test `eval echo '${'$as_ac_var'}'` = yes; then
33365 cat >>confdefs.h <<_ACEOF
33366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33367 _ACEOF
33368
33369 fi
33370 done
33371
33372 LIBS="$save_LIBS"
33373 fi
33374
33375 wxUSE_UNIVERSAL="yes"
33376
33377 if test "$wxUSE_NANOX" = "yes"; then
33378 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33379 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"
33380 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33381 else
33382 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33383 fi
33384
33385 TOOLKIT=X11
33386 GUIDIST=X11_DIST
33387 fi
33388
33389 if test "$wxUSE_MOTIF" = 1; then
33390 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33391 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33392
33393 ac_find_includes=
33394 for ac_dir in $SEARCH_INCLUDE /usr/include
33395 do
33396 if test -f "$ac_dir/Xm/Xm.h"; then
33397 ac_find_includes=$ac_dir
33398 break
33399 fi
33400 done
33401
33402 if test "$ac_find_includes" != "" ; then
33403 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33404 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33405
33406 if test "x$ac_find_includes" = "x/usr/include"; then
33407 ac_path_to_include=""
33408 else
33409 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33410 result=$?
33411 if test $result = 0; then
33412 ac_path_to_include=""
33413 else
33414 ac_path_to_include=" -I$ac_find_includes"
33415 fi
33416 fi
33417
33418 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33419 else
33420 save_CFLAGS=$CFLAGS
33421 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33422
33423 cat >conftest.$ac_ext <<_ACEOF
33424 /* confdefs.h. */
33425 _ACEOF
33426 cat confdefs.h >>conftest.$ac_ext
33427 cat >>conftest.$ac_ext <<_ACEOF
33428 /* end confdefs.h. */
33429
33430 #include <Xm/Xm.h>
33431
33432 int
33433 main ()
33434 {
33435
33436 int version;
33437 version = xmUseVersion;
33438
33439 ;
33440 return 0;
33441 }
33442 _ACEOF
33443 rm -f conftest.$ac_objext
33444 if { (ac_try="$ac_compile"
33445 case "(($ac_try" in
33446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33447 *) ac_try_echo=$ac_try;;
33448 esac
33449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33450 (eval "$ac_compile") 2>conftest.er1
33451 ac_status=$?
33452 grep -v '^ *+' conftest.er1 >conftest.err
33453 rm -f conftest.er1
33454 cat conftest.err >&5
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); } && {
33457 test -z "$ac_c_werror_flag" ||
33458 test ! -s conftest.err
33459 } && test -s conftest.$ac_objext; then
33460
33461 { echo "$as_me:$LINENO: result: found in default search path" >&5
33462 echo "${ECHO_T}found in default search path" >&6; }
33463 COMPILED_X_PROGRAM=1
33464
33465 else
33466 echo "$as_me: failed program was:" >&5
33467 sed 's/^/| /' conftest.$ac_ext >&5
33468
33469
33470 { echo "$as_me:$LINENO: result: no" >&5
33471 echo "${ECHO_T}no" >&6; }
33472 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33473 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33474 { (exit 1); exit 1; }; }
33475
33476
33477 fi
33478
33479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33480
33481 CFLAGS=$save_CFLAGS
33482 fi
33483
33484
33485 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33486 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33487
33488 ac_find_libraries=
33489 for ac_dir in $SEARCH_LIB
33490 do
33491 for ac_extension in a so sl dylib dll.a; do
33492 if test -f "$ac_dir/libXm.$ac_extension"; then
33493 ac_find_libraries=$ac_dir
33494 break 2
33495 fi
33496 done
33497 done
33498
33499
33500 if test "x$ac_find_libraries" != "x" ; then
33501 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33502 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33503
33504
33505 if test "$ac_find_libraries" = "default location"; then
33506 ac_path_to_link=""
33507 else
33508 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33509 result=$?
33510 if test $result = 0; then
33511 ac_path_to_link=""
33512 else
33513 ac_path_to_link=" -L$ac_find_libraries"
33514 fi
33515 fi
33516
33517 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33518 else
33519 save_CFLAGS=$CFLAGS
33520 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33521 save_LIBS="$LIBS"
33522 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33523
33524 cat >conftest.$ac_ext <<_ACEOF
33525 /* confdefs.h. */
33526 _ACEOF
33527 cat confdefs.h >>conftest.$ac_ext
33528 cat >>conftest.$ac_ext <<_ACEOF
33529 /* end confdefs.h. */
33530
33531 #include <Xm/Xm.h>
33532
33533 int
33534 main ()
33535 {
33536
33537 int version;
33538 version = xmUseVersion;
33539
33540 ;
33541 return 0;
33542 }
33543 _ACEOF
33544 rm -f conftest.$ac_objext conftest$ac_exeext
33545 if { (ac_try="$ac_link"
33546 case "(($ac_try" in
33547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33548 *) ac_try_echo=$ac_try;;
33549 esac
33550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33551 (eval "$ac_link") 2>conftest.er1
33552 ac_status=$?
33553 grep -v '^ *+' conftest.er1 >conftest.err
33554 rm -f conftest.er1
33555 cat conftest.err >&5
33556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33557 (exit $ac_status); } && {
33558 test -z "$ac_c_werror_flag" ||
33559 test ! -s conftest.err
33560 } && test -s conftest$ac_exeext &&
33561 $as_test_x conftest$ac_exeext; then
33562
33563 { echo "$as_me:$LINENO: result: found in default search path" >&5
33564 echo "${ECHO_T}found in default search path" >&6; }
33565 COMPILED_X_PROGRAM=1
33566
33567 else
33568 echo "$as_me: failed program was:" >&5
33569 sed 's/^/| /' conftest.$ac_ext >&5
33570
33571
33572 { echo "$as_me:$LINENO: result: no" >&5
33573 echo "${ECHO_T}no" >&6; }
33574 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33575 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33576 { (exit 1); exit 1; }; }
33577
33578
33579 fi
33580
33581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33582 conftest$ac_exeext conftest.$ac_ext
33583
33584 CFLAGS=$save_CFLAGS
33585 LIBS="$save_LIBS"
33586 fi
33587
33588 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33589 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33590 libp_link=""
33591 libsm_ice_link=""
33592 libs_found=0
33593 for libp in "" " -lXp"; do
33594 if test "$libs_found" = 0; then
33595 for libsm_ice in "" " -lSM -lICE"; do
33596 if test "$libs_found" = 0; then
33597 save_LIBS="$LIBS"
33598 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33599 save_CFLAGS=$CFLAGS
33600 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33601
33602 cat >conftest.$ac_ext <<_ACEOF
33603 /* confdefs.h. */
33604 _ACEOF
33605 cat confdefs.h >>conftest.$ac_ext
33606 cat >>conftest.$ac_ext <<_ACEOF
33607 /* end confdefs.h. */
33608
33609 #include <Xm/Xm.h>
33610 #include <Xm/List.h>
33611
33612 int
33613 main ()
33614 {
33615
33616 XmString string = NULL;
33617 Widget w = NULL;
33618 int position = 0;
33619 XmListAddItem(w, string, position);
33620
33621 ;
33622 return 0;
33623 }
33624 _ACEOF
33625 rm -f conftest.$ac_objext conftest$ac_exeext
33626 if { (ac_try="$ac_link"
33627 case "(($ac_try" in
33628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33629 *) ac_try_echo=$ac_try;;
33630 esac
33631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33632 (eval "$ac_link") 2>conftest.er1
33633 ac_status=$?
33634 grep -v '^ *+' conftest.er1 >conftest.err
33635 rm -f conftest.er1
33636 cat conftest.err >&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } && {
33639 test -z "$ac_c_werror_flag" ||
33640 test ! -s conftest.err
33641 } && test -s conftest$ac_exeext &&
33642 $as_test_x conftest$ac_exeext; then
33643
33644 libp_link="$libp"
33645 libsm_ice_link="$libsm_ice"
33646 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33647 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33648 libs_found=1
33649
33650 else
33651 echo "$as_me: failed program was:" >&5
33652 sed 's/^/| /' conftest.$ac_ext >&5
33653
33654
33655
33656 fi
33657
33658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33659 conftest$ac_exeext conftest.$ac_ext
33660
33661 LIBS="$save_LIBS"
33662 CFLAGS=$save_CFLAGS
33663 fi
33664 done
33665 fi
33666 done
33667
33668 if test "$libs_found" = 0; then
33669 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33670 echo "${ECHO_T}can't find the right libraries" >&6; }
33671 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33672 echo "$as_me: error: can't link a simple motif program" >&2;}
33673 { (exit 1); exit 1; }; }
33674 fi
33675
33676 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33677 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33678 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33679 echo $ECHO_N "(cached) $ECHO_C" >&6
33680 else
33681 ac_check_lib_save_LIBS=$LIBS
33682 LIBS="-lSgm $LIBS"
33683 cat >conftest.$ac_ext <<_ACEOF
33684 /* confdefs.h. */
33685 _ACEOF
33686 cat confdefs.h >>conftest.$ac_ext
33687 cat >>conftest.$ac_ext <<_ACEOF
33688 /* end confdefs.h. */
33689
33690 /* Override any GCC internal prototype to avoid an error.
33691 Use char because int might match the return type of a GCC
33692 builtin and then its argument prototype would still apply. */
33693 #ifdef __cplusplus
33694 extern "C"
33695 #endif
33696 char SgCreateList ();
33697 int
33698 main ()
33699 {
33700 return SgCreateList ();
33701 ;
33702 return 0;
33703 }
33704 _ACEOF
33705 rm -f conftest.$ac_objext conftest$ac_exeext
33706 if { (ac_try="$ac_link"
33707 case "(($ac_try" in
33708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33709 *) ac_try_echo=$ac_try;;
33710 esac
33711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33712 (eval "$ac_link") 2>conftest.er1
33713 ac_status=$?
33714 grep -v '^ *+' conftest.er1 >conftest.err
33715 rm -f conftest.er1
33716 cat conftest.err >&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); } && {
33719 test -z "$ac_c_werror_flag" ||
33720 test ! -s conftest.err
33721 } && test -s conftest$ac_exeext &&
33722 $as_test_x conftest$ac_exeext; then
33723 ac_cv_lib_Sgm_SgCreateList=yes
33724 else
33725 echo "$as_me: failed program was:" >&5
33726 sed 's/^/| /' conftest.$ac_ext >&5
33727
33728 ac_cv_lib_Sgm_SgCreateList=no
33729 fi
33730
33731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33732 conftest$ac_exeext conftest.$ac_ext
33733 LIBS=$ac_check_lib_save_LIBS
33734 fi
33735 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33736 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33737 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33738 libsgm_link=" -lSgm"
33739 fi
33740
33741
33742 save_CFLAGS=$CFLAGS
33743 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33744
33745 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33746 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33747 if test "${wx_cv_lib_motif2+set}" = set; then
33748 echo $ECHO_N "(cached) $ECHO_C" >&6
33749 else
33750 cat >conftest.$ac_ext <<_ACEOF
33751 /* confdefs.h. */
33752 _ACEOF
33753 cat confdefs.h >>conftest.$ac_ext
33754 cat >>conftest.$ac_ext <<_ACEOF
33755 /* end confdefs.h. */
33756
33757 #include <Xm/Xm.h>
33758
33759 int
33760 main ()
33761 {
33762
33763 #if XmVersion < 2000
33764 Not Motif 2
33765 #endif
33766
33767 ;
33768 return 0;
33769 }
33770 _ACEOF
33771 rm -f conftest.$ac_objext
33772 if { (ac_try="$ac_compile"
33773 case "(($ac_try" in
33774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33775 *) ac_try_echo=$ac_try;;
33776 esac
33777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33778 (eval "$ac_compile") 2>conftest.er1
33779 ac_status=$?
33780 grep -v '^ *+' conftest.er1 >conftest.err
33781 rm -f conftest.er1
33782 cat conftest.err >&5
33783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784 (exit $ac_status); } && {
33785 test -z "$ac_c_werror_flag" ||
33786 test ! -s conftest.err
33787 } && test -s conftest.$ac_objext; then
33788 wx_cv_lib_motif2="yes"
33789 else
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.$ac_ext >&5
33792
33793 wx_cv_lib_motif2="no"
33794 fi
33795
33796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33797 fi
33798 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33799 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33800 if test "$wx_cv_lib_motif2" = "yes"; then
33801 cat >>confdefs.h <<\_ACEOF
33802 #define __WXMOTIF20__ 1
33803 _ACEOF
33804
33805 else
33806 cat >>confdefs.h <<\_ACEOF
33807 #define __WXMOTIF20__ 0
33808 _ACEOF
33809
33810 fi
33811
33812 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33813 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33814 if test "${wx_cv_lib_lesstif+set}" = set; then
33815 echo $ECHO_N "(cached) $ECHO_C" >&6
33816 else
33817 cat >conftest.$ac_ext <<_ACEOF
33818 /* confdefs.h. */
33819 _ACEOF
33820 cat confdefs.h >>conftest.$ac_ext
33821 cat >>conftest.$ac_ext <<_ACEOF
33822 /* end confdefs.h. */
33823
33824 #include <Xm/Xm.h>
33825
33826 int
33827 main ()
33828 {
33829
33830 #if !defined(LesstifVersion) || LesstifVersion <= 0
33831 Not Lesstif
33832 #endif
33833
33834 ;
33835 return 0;
33836 }
33837 _ACEOF
33838 rm -f conftest.$ac_objext
33839 if { (ac_try="$ac_compile"
33840 case "(($ac_try" in
33841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33842 *) ac_try_echo=$ac_try;;
33843 esac
33844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33845 (eval "$ac_compile") 2>conftest.er1
33846 ac_status=$?
33847 grep -v '^ *+' conftest.er1 >conftest.err
33848 rm -f conftest.er1
33849 cat conftest.err >&5
33850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33851 (exit $ac_status); } && {
33852 test -z "$ac_c_werror_flag" ||
33853 test ! -s conftest.err
33854 } && test -s conftest.$ac_objext; then
33855 wx_cv_lib_lesstif="yes"
33856 else
33857 echo "$as_me: failed program was:" >&5
33858 sed 's/^/| /' conftest.$ac_ext >&5
33859
33860 wx_cv_lib_lesstif="no"
33861 fi
33862
33863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33864
33865 fi
33866 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33867 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33868 if test "$wx_cv_lib_lesstif" = "yes"; then
33869 cat >>confdefs.h <<\_ACEOF
33870 #define __WXLESSTIF__ 1
33871 _ACEOF
33872
33873 else
33874 cat >>confdefs.h <<\_ACEOF
33875 #define __WXLESSTIF__ 0
33876 _ACEOF
33877
33878 fi
33879
33880 CFLAGS=$save_CFLAGS
33881
33882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33883 TOOLKIT=MOTIF
33884 GUIDIST=MOTIF_DIST
33885 fi
33886
33887 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33888 if test "$wxUSE_LIBXPM" = "sys"; then
33889 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33890 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33891
33892 ac_find_libraries=
33893 for ac_dir in $SEARCH_LIB
33894 do
33895 for ac_extension in a so sl dylib dll.a; do
33896 if test -f "$ac_dir/libXpm.$ac_extension"; then
33897 ac_find_libraries=$ac_dir
33898 break 2
33899 fi
33900 done
33901 done
33902
33903 if test "$ac_find_libraries" != "" ; then
33904
33905 if test "$ac_find_libraries" = "default location"; then
33906 ac_path_to_link=""
33907 else
33908 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33909 result=$?
33910 if test $result = 0; then
33911 ac_path_to_link=""
33912 else
33913 ac_path_to_link=" -L$ac_find_libraries"
33914 fi
33915 fi
33916
33917 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33918 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33919 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33920
33921 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33922 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33923 if test "${wx_cv_x11_xpm_h+set}" = set; then
33924 echo $ECHO_N "(cached) $ECHO_C" >&6
33925 else
33926
33927 save_CFLAGS=$CFLAGS
33928 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33929
33930 cat >conftest.$ac_ext <<_ACEOF
33931 /* confdefs.h. */
33932 _ACEOF
33933 cat confdefs.h >>conftest.$ac_ext
33934 cat >>conftest.$ac_ext <<_ACEOF
33935 /* end confdefs.h. */
33936
33937 #include <X11/xpm.h>
33938
33939 int
33940 main ()
33941 {
33942
33943 int version;
33944 version = XpmLibraryVersion();
33945
33946 ;
33947 return 0;
33948 }
33949 _ACEOF
33950 rm -f conftest.$ac_objext
33951 if { (ac_try="$ac_compile"
33952 case "(($ac_try" in
33953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33954 *) ac_try_echo=$ac_try;;
33955 esac
33956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33957 (eval "$ac_compile") 2>conftest.er1
33958 ac_status=$?
33959 grep -v '^ *+' conftest.er1 >conftest.err
33960 rm -f conftest.er1
33961 cat conftest.err >&5
33962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963 (exit $ac_status); } && {
33964 test -z "$ac_c_werror_flag" ||
33965 test ! -s conftest.err
33966 } && test -s conftest.$ac_objext; then
33967 wx_cv_x11_xpm_h=yes
33968 else
33969 echo "$as_me: failed program was:" >&5
33970 sed 's/^/| /' conftest.$ac_ext >&5
33971
33972 wx_cv_x11_xpm_h=no
33973
33974 fi
33975
33976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33977
33978 CFLAGS=$save_CFLAGS
33979
33980
33981 fi
33982 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33983 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
33984
33985 if test $wx_cv_x11_xpm_h = "yes"; then
33986 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33987 cat >>confdefs.h <<\_ACEOF
33988 #define wxHAVE_LIB_XPM 1
33989 _ACEOF
33990
33991 else
33992 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33993 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33994 fi
33995 fi
33996
33997 fi
33998
33999 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34000 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34001 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34002 echo $ECHO_N "(cached) $ECHO_C" >&6
34003 else
34004 ac_check_lib_save_LIBS=$LIBS
34005 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34006 cat >conftest.$ac_ext <<_ACEOF
34007 /* confdefs.h. */
34008 _ACEOF
34009 cat confdefs.h >>conftest.$ac_ext
34010 cat >>conftest.$ac_ext <<_ACEOF
34011 /* end confdefs.h. */
34012
34013 /* Override any GCC internal prototype to avoid an error.
34014 Use char because int might match the return type of a GCC
34015 builtin and then its argument prototype would still apply. */
34016 #ifdef __cplusplus
34017 extern "C"
34018 #endif
34019 char XShapeQueryExtension ();
34020 int
34021 main ()
34022 {
34023 return XShapeQueryExtension ();
34024 ;
34025 return 0;
34026 }
34027 _ACEOF
34028 rm -f conftest.$ac_objext conftest$ac_exeext
34029 if { (ac_try="$ac_link"
34030 case "(($ac_try" in
34031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34032 *) ac_try_echo=$ac_try;;
34033 esac
34034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34035 (eval "$ac_link") 2>conftest.er1
34036 ac_status=$?
34037 grep -v '^ *+' conftest.er1 >conftest.err
34038 rm -f conftest.er1
34039 cat conftest.err >&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); } && {
34042 test -z "$ac_c_werror_flag" ||
34043 test ! -s conftest.err
34044 } && test -s conftest$ac_exeext &&
34045 $as_test_x conftest$ac_exeext; then
34046 ac_cv_lib_Xext_XShapeQueryExtension=yes
34047 else
34048 echo "$as_me: failed program was:" >&5
34049 sed 's/^/| /' conftest.$ac_ext >&5
34050
34051 ac_cv_lib_Xext_XShapeQueryExtension=no
34052 fi
34053
34054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34055 conftest$ac_exeext conftest.$ac_ext
34056 LIBS=$ac_check_lib_save_LIBS
34057 fi
34058 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34059 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34060 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34061
34062 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34063 wxHAVE_XEXT_LIB=1
34064
34065 fi
34066
34067
34068 if test "$wxHAVE_XEXT_LIB" = 1; then
34069 save_CFLAGS="$CFLAGS"
34070 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34071
34072 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34073 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34074 cat >conftest.$ac_ext <<_ACEOF
34075 /* confdefs.h. */
34076 _ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34080
34081 #include <X11/Xlib.h>
34082 #include <X11/extensions/shape.h>
34083
34084 int
34085 main ()
34086 {
34087
34088 int dummy1, dummy2;
34089 XShapeQueryExtension((Display*)NULL,
34090 (int*)NULL, (int*)NULL);
34091
34092 ;
34093 return 0;
34094 }
34095 _ACEOF
34096 rm -f conftest.$ac_objext
34097 if { (ac_try="$ac_compile"
34098 case "(($ac_try" in
34099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34100 *) ac_try_echo=$ac_try;;
34101 esac
34102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34103 (eval "$ac_compile") 2>conftest.er1
34104 ac_status=$?
34105 grep -v '^ *+' conftest.er1 >conftest.err
34106 rm -f conftest.er1
34107 cat conftest.err >&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); } && {
34110 test -z "$ac_c_werror_flag" ||
34111 test ! -s conftest.err
34112 } && test -s conftest.$ac_objext; then
34113
34114 cat >>confdefs.h <<\_ACEOF
34115 #define HAVE_XSHAPE 1
34116 _ACEOF
34117
34118 { echo "$as_me:$LINENO: result: found" >&5
34119 echo "${ECHO_T}found" >&6; }
34120
34121 else
34122 echo "$as_me: failed program was:" >&5
34123 sed 's/^/| /' conftest.$ac_ext >&5
34124
34125
34126 { echo "$as_me:$LINENO: result: not found" >&5
34127 echo "${ECHO_T}not found" >&6; }
34128
34129 fi
34130
34131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34132 CFLAGS="$save_CFLAGS"
34133
34134 fi
34135 fi
34136
34137 if test "$wxUSE_OSX_CARBON" = 1; then
34138 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34139 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34140 if test "$GCC" = yes; then
34141 { echo "$as_me:$LINENO: result: gcc" >&5
34142 echo "${ECHO_T}gcc" >&6; }
34143 CPPFLAGS_PASCAL="-fpascal-strings"
34144 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34145 { echo "$as_me:$LINENO: result: xlc" >&5
34146 echo "${ECHO_T}xlc" >&6; }
34147 CPPFLAGS_PASCAL="-qmacpstr"
34148 else
34149 { echo "$as_me:$LINENO: result: none" >&5
34150 echo "${ECHO_T}none" >&6; }
34151 fi
34152
34153 if test "x$wxUSE_UNIX" = "xyes"; then
34154 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34155 else
34156 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34157 fi
34158
34159 TOOLKIT=OSX_CARBON
34160 GUIDIST=OSX_CARBON_DIST
34161 WXBASEPORT="_carbon"
34162
34163 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34164 fi
34165
34166 if test "$wxUSE_OSX_COCOA" = 1; then
34167 TOOLKIT=OSX_COCOA
34168 GUIDIST=OSX_COCOA_DIST
34169
34170 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34171 fi
34172
34173 if test "$wxUSE_OSX_IPHONE" = 1; then
34174 TOOLKIT=OSX_IPHONE
34175 fi
34176
34177 if test "$wxUSE_OLD_COCOA" = 1; then
34178 TOOLKIT=COCOA
34179 GUIDIST=COCOA_DIST
34180 fi
34181
34182 if test "$wxUSE_PM" = 1; then
34183 TOOLKIT=PM
34184 GUIDIST=PM_DIST
34185 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34186 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34187 if test "${wx_cv_spbcdata+set}" = set; then
34188 echo $ECHO_N "(cached) $ECHO_C" >&6
34189 else
34190
34191 cat >conftest.$ac_ext <<_ACEOF
34192 /* confdefs.h. */
34193 _ACEOF
34194 cat confdefs.h >>conftest.$ac_ext
34195 cat >>conftest.$ac_ext <<_ACEOF
34196 /* end confdefs.h. */
34197
34198 #define INCL_PM
34199 #include <os2.h>
34200
34201 int
34202 main ()
34203 {
34204
34205 SPBCDATA test;
34206
34207 ;
34208 return 0;
34209 }
34210 _ACEOF
34211 rm -f conftest.$ac_objext
34212 if { (ac_try="$ac_compile"
34213 case "(($ac_try" in
34214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34215 *) ac_try_echo=$ac_try;;
34216 esac
34217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34218 (eval "$ac_compile") 2>conftest.er1
34219 ac_status=$?
34220 grep -v '^ *+' conftest.er1 >conftest.err
34221 rm -f conftest.er1
34222 cat conftest.err >&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } && {
34225 test -z "$ac_c_werror_flag" ||
34226 test ! -s conftest.err
34227 } && test -s conftest.$ac_objext; then
34228 wx_cv_spbcdata=yes
34229 else
34230 echo "$as_me: failed program was:" >&5
34231 sed 's/^/| /' conftest.$ac_ext >&5
34232
34233 wx_cv_spbcdata=no
34234
34235 fi
34236
34237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34238
34239
34240 fi
34241 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34242 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34243
34244 if test $wx_cv_spbcdata = "yes"; then
34245 cat >>confdefs.h <<\_ACEOF
34246 #define HAVE_SPBCDATA 1
34247 _ACEOF
34248
34249 fi
34250 fi
34251
34252 if test "$TOOLKIT" = "PM" ; then
34253 TOOLKIT_DIR="os2"
34254 else
34255 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34256 fi
34257
34258 if test "$wxUSE_UNIVERSAL" = "yes"; then
34259 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34260 WIDGET_SET=univ
34261 fi
34262
34263 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34264 DISTDIR="wx\$(TOOLKIT)"
34265 else
34266 USE_GUI=0
34267
34268 TOOLKIT_DIR="base"
34269
34270 if test "$USE_WIN32" = 1 ; then
34271 TOOLKIT="MSW"
34272 fi
34273
34274 GUIDIST="BASE_DIST"
34275 DISTDIR="wxBase"
34276 fi
34277
34278
34279
34280 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34281 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34282 wxUSE_UNICODE_UTF8=yes
34283 elif test "$USE_OS2" = 1 ; then
34284 wxUSE_UNICODE_UTF8=yes
34285 else
34286 wxUSE_UNICODE_UTF8=no
34287 fi
34288 fi
34289
34290
34291 if test "$wxUSE_GUI" = "yes"; then
34292 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34293
34294 for ac_header in X11/Xlib.h
34295 do
34296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34297 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34299 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34300 echo $ECHO_N "(cached) $ECHO_C" >&6
34301 else
34302 cat >conftest.$ac_ext <<_ACEOF
34303 /* confdefs.h. */
34304 _ACEOF
34305 cat confdefs.h >>conftest.$ac_ext
34306 cat >>conftest.$ac_ext <<_ACEOF
34307 /* end confdefs.h. */
34308
34309
34310 #include <$ac_header>
34311 _ACEOF
34312 rm -f conftest.$ac_objext
34313 if { (ac_try="$ac_compile"
34314 case "(($ac_try" in
34315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34316 *) ac_try_echo=$ac_try;;
34317 esac
34318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34319 (eval "$ac_compile") 2>conftest.er1
34320 ac_status=$?
34321 grep -v '^ *+' conftest.er1 >conftest.err
34322 rm -f conftest.er1
34323 cat conftest.err >&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); } && {
34326 test -z "$ac_c_werror_flag" ||
34327 test ! -s conftest.err
34328 } && test -s conftest.$ac_objext; then
34329 eval "$as_ac_Header=yes"
34330 else
34331 echo "$as_me: failed program was:" >&5
34332 sed 's/^/| /' conftest.$ac_ext >&5
34333
34334 eval "$as_ac_Header=no"
34335 fi
34336
34337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34338 fi
34339 ac_res=`eval echo '${'$as_ac_Header'}'`
34340 { echo "$as_me:$LINENO: result: $ac_res" >&5
34341 echo "${ECHO_T}$ac_res" >&6; }
34342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34343 cat >>confdefs.h <<_ACEOF
34344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34345 _ACEOF
34346
34347 fi
34348
34349 done
34350
34351
34352 for ac_header in X11/XKBlib.h
34353 do
34354 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34355 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34357 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34358 echo $ECHO_N "(cached) $ECHO_C" >&6
34359 else
34360 cat >conftest.$ac_ext <<_ACEOF
34361 /* confdefs.h. */
34362 _ACEOF
34363 cat confdefs.h >>conftest.$ac_ext
34364 cat >>conftest.$ac_ext <<_ACEOF
34365 /* end confdefs.h. */
34366
34367 #if HAVE_X11_XLIB_H
34368 #include <X11/Xlib.h>
34369 #endif
34370
34371
34372 #include <$ac_header>
34373 _ACEOF
34374 rm -f conftest.$ac_objext
34375 if { (ac_try="$ac_compile"
34376 case "(($ac_try" in
34377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34378 *) ac_try_echo=$ac_try;;
34379 esac
34380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34381 (eval "$ac_compile") 2>conftest.er1
34382 ac_status=$?
34383 grep -v '^ *+' conftest.er1 >conftest.err
34384 rm -f conftest.er1
34385 cat conftest.err >&5
34386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34387 (exit $ac_status); } && {
34388 test -z "$ac_c_werror_flag" ||
34389 test ! -s conftest.err
34390 } && test -s conftest.$ac_objext; then
34391 eval "$as_ac_Header=yes"
34392 else
34393 echo "$as_me: failed program was:" >&5
34394 sed 's/^/| /' conftest.$ac_ext >&5
34395
34396 eval "$as_ac_Header=no"
34397 fi
34398
34399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34400 fi
34401 ac_res=`eval echo '${'$as_ac_Header'}'`
34402 { echo "$as_me:$LINENO: result: $ac_res" >&5
34403 echo "${ECHO_T}$ac_res" >&6; }
34404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34405 cat >>confdefs.h <<_ACEOF
34406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34407 _ACEOF
34408
34409 fi
34410
34411 done
34412
34413 fi
34414 fi
34415
34416
34417
34418 USE_XINERAMA=0
34419 if test "$wxUSE_DISPLAY" = "yes"; then
34420 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34421 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34422 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34423
34424 ac_find_libraries=
34425 for ac_dir in $SEARCH_LIB
34426 do
34427 for ac_extension in a so sl dylib dll.a; do
34428 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34429 ac_find_libraries=$ac_dir
34430 break 2
34431 fi
34432 done
34433 done
34434
34435 if test "$ac_find_libraries" != "" ; then
34436
34437 if test "$ac_find_libraries" = "default location"; then
34438 ac_path_to_link=""
34439 else
34440 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34441 result=$?
34442 if test $result = 0; then
34443 ac_path_to_link=""
34444 else
34445 ac_path_to_link=" -L$ac_find_libraries"
34446 fi
34447 fi
34448
34449 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34450 LDFLAGS="$LDFLAGS $ac_path_to_link"
34451 fi
34452 USE_XINERAMA=1
34453 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34454 { echo "$as_me:$LINENO: result: yes" >&5
34455 echo "${ECHO_T}yes" >&6; }
34456 else
34457 { echo "$as_me:$LINENO: result: no" >&5
34458 echo "${ECHO_T}no" >&6; }
34459 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34460 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34461 wxUSE_DISPLAY="no"
34462 fi
34463 elif test "$wxUSE_MSW" = 1; then
34464 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34465 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34466 if test "${ac_cv_header_ddraw_h+set}" = set; then
34467 echo $ECHO_N "(cached) $ECHO_C" >&6
34468 else
34469 cat >conftest.$ac_ext <<_ACEOF
34470 /* confdefs.h. */
34471 _ACEOF
34472 cat confdefs.h >>conftest.$ac_ext
34473 cat >>conftest.$ac_ext <<_ACEOF
34474 /* end confdefs.h. */
34475 #include <windows.h>
34476
34477 #include <ddraw.h>
34478 _ACEOF
34479 rm -f conftest.$ac_objext
34480 if { (ac_try="$ac_compile"
34481 case "(($ac_try" in
34482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34483 *) ac_try_echo=$ac_try;;
34484 esac
34485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34486 (eval "$ac_compile") 2>conftest.er1
34487 ac_status=$?
34488 grep -v '^ *+' conftest.er1 >conftest.err
34489 rm -f conftest.er1
34490 cat conftest.err >&5
34491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34492 (exit $ac_status); } && {
34493 test -z "$ac_c_werror_flag" ||
34494 test ! -s conftest.err
34495 } && test -s conftest.$ac_objext; then
34496 ac_cv_header_ddraw_h=yes
34497 else
34498 echo "$as_me: failed program was:" >&5
34499 sed 's/^/| /' conftest.$ac_ext >&5
34500
34501 ac_cv_header_ddraw_h=no
34502 fi
34503
34504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34505 fi
34506 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34507 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34508
34509
34510 fi
34511 fi
34512
34513 if test "$wxUSE_DISPLAY" = "yes"; then
34514 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34515 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34516 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34517
34518 ac_find_libraries=
34519 for ac_dir in $SEARCH_LIB
34520 do
34521 for ac_extension in a so sl dylib dll.a; do
34522 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34523 ac_find_libraries=$ac_dir
34524 break 2
34525 fi
34526 done
34527 done
34528
34529 if test "$ac_find_libraries" != "" ; then
34530 { echo "$as_me:$LINENO: result: yes" >&5
34531 echo "${ECHO_T}yes" >&6; }
34532
34533 for ac_header in X11/extensions/xf86vmode.h
34534 do
34535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34536 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34540 else
34541 cat >conftest.$ac_ext <<_ACEOF
34542 /* confdefs.h. */
34543 _ACEOF
34544 cat confdefs.h >>conftest.$ac_ext
34545 cat >>conftest.$ac_ext <<_ACEOF
34546 /* end confdefs.h. */
34547
34548 #if HAVE_X11_XLIB_H
34549 #include <X11/Xlib.h>
34550 #endif
34551
34552
34553 #include <$ac_header>
34554 _ACEOF
34555 rm -f conftest.$ac_objext
34556 if { (ac_try="$ac_compile"
34557 case "(($ac_try" in
34558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34559 *) ac_try_echo=$ac_try;;
34560 esac
34561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34562 (eval "$ac_compile") 2>conftest.er1
34563 ac_status=$?
34564 grep -v '^ *+' conftest.er1 >conftest.err
34565 rm -f conftest.er1
34566 cat conftest.err >&5
34567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34568 (exit $ac_status); } && {
34569 test -z "$ac_c_werror_flag" ||
34570 test ! -s conftest.err
34571 } && test -s conftest.$ac_objext; then
34572 eval "$as_ac_Header=yes"
34573 else
34574 echo "$as_me: failed program was:" >&5
34575 sed 's/^/| /' conftest.$ac_ext >&5
34576
34577 eval "$as_ac_Header=no"
34578 fi
34579
34580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34581 fi
34582 ac_res=`eval echo '${'$as_ac_Header'}'`
34583 { echo "$as_me:$LINENO: result: $ac_res" >&5
34584 echo "${ECHO_T}$ac_res" >&6; }
34585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34586 cat >>confdefs.h <<_ACEOF
34587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34588 _ACEOF
34589
34590 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34591
34592 fi
34593
34594 done
34595
34596 else
34597 { echo "$as_me:$LINENO: result: no" >&5
34598 echo "${ECHO_T}no" >&6; }
34599 fi
34600 fi
34601 fi
34602
34603 if test "$wxUSE_DETECT_SM" = "yes"; then
34604 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34605 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34606 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34607
34608 ac_find_libraries=
34609 for ac_dir in $SEARCH_LIB
34610 do
34611 for ac_extension in a so sl dylib dll.a; do
34612 if test -f "$ac_dir/libSM.$ac_extension"; then
34613 ac_find_libraries=$ac_dir
34614 break 2
34615 fi
34616 done
34617 done
34618
34619 if test "$ac_find_libraries" != "" ; then
34620
34621 if test "$ac_find_libraries" = "default location"; then
34622 ac_path_to_link=""
34623 else
34624 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34625 result=$?
34626 if test $result = 0; then
34627 ac_path_to_link=""
34628 else
34629 ac_path_to_link=" -L$ac_find_libraries"
34630 fi
34631 fi
34632
34633 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34634 LDFLAGS="$LDFLAGS $ac_path_to_link"
34635 fi
34636 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34637 { echo "$as_me:$LINENO: result: yes" >&5
34638 echo "${ECHO_T}yes" >&6; }
34639 else
34640 { echo "$as_me:$LINENO: result: no" >&5
34641 echo "${ECHO_T}no" >&6; }
34642 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34643 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34644 wxUSE_DETECT_SM="no"
34645 fi
34646 else
34647 wxUSE_DETECT_SM="no"
34648 fi
34649 fi
34650
34651
34652
34653 USE_OPENGL=0
34654 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34655
34656
34657 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34658 OPENGL_LIBS="-framework OpenGL -framework AGL"
34659 elif test "$wxUSE_MSW" = 1; then
34660 OPENGL_LIBS="-lopengl32 -lglu32"
34661 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34662
34663 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34664 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34665
34666 ac_find_includes=
34667 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34668 do
34669 if test -f "$ac_dir/GL/gl.h"; then
34670 ac_find_includes=$ac_dir
34671 break
34672 fi
34673 done
34674
34675 if test "$ac_find_includes" != "" ; then
34676 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34677 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34678
34679 if test "x$ac_find_includes" = "x/usr/include"; then
34680 ac_path_to_include=""
34681 else
34682 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34683 result=$?
34684 if test $result = 0; then
34685 ac_path_to_include=""
34686 else
34687 ac_path_to_include=" -I$ac_find_includes"
34688 fi
34689 fi
34690
34691 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34692 else
34693 { echo "$as_me:$LINENO: result: not found" >&5
34694 echo "${ECHO_T}not found" >&6; }
34695 fi
34696
34697 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34698 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34699 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34700 echo $ECHO_N "(cached) $ECHO_C" >&6
34701 else
34702 cat >conftest.$ac_ext <<_ACEOF
34703 /* confdefs.h. */
34704 _ACEOF
34705 cat confdefs.h >>conftest.$ac_ext
34706 cat >>conftest.$ac_ext <<_ACEOF
34707 /* end confdefs.h. */
34708
34709
34710 #include <GL/gl.h>
34711 _ACEOF
34712 rm -f conftest.$ac_objext
34713 if { (ac_try="$ac_compile"
34714 case "(($ac_try" in
34715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34716 *) ac_try_echo=$ac_try;;
34717 esac
34718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34719 (eval "$ac_compile") 2>conftest.er1
34720 ac_status=$?
34721 grep -v '^ *+' conftest.er1 >conftest.err
34722 rm -f conftest.er1
34723 cat conftest.err >&5
34724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725 (exit $ac_status); } && {
34726 test -z "$ac_c_werror_flag" ||
34727 test ! -s conftest.err
34728 } && test -s conftest.$ac_objext; then
34729 ac_cv_header_GL_gl_h=yes
34730 else
34731 echo "$as_me: failed program was:" >&5
34732 sed 's/^/| /' conftest.$ac_ext >&5
34733
34734 ac_cv_header_GL_gl_h=no
34735 fi
34736
34737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34738 fi
34739 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34740 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34741 if test $ac_cv_header_GL_gl_h = yes; then
34742
34743 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34744 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34745 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34746 echo $ECHO_N "(cached) $ECHO_C" >&6
34747 else
34748 cat >conftest.$ac_ext <<_ACEOF
34749 /* confdefs.h. */
34750 _ACEOF
34751 cat confdefs.h >>conftest.$ac_ext
34752 cat >>conftest.$ac_ext <<_ACEOF
34753 /* end confdefs.h. */
34754
34755
34756 #include <GL/glu.h>
34757 _ACEOF
34758 rm -f conftest.$ac_objext
34759 if { (ac_try="$ac_compile"
34760 case "(($ac_try" in
34761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34762 *) ac_try_echo=$ac_try;;
34763 esac
34764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34765 (eval "$ac_compile") 2>conftest.er1
34766 ac_status=$?
34767 grep -v '^ *+' conftest.er1 >conftest.err
34768 rm -f conftest.er1
34769 cat conftest.err >&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); } && {
34772 test -z "$ac_c_werror_flag" ||
34773 test ! -s conftest.err
34774 } && test -s conftest.$ac_objext; then
34775 ac_cv_header_GL_glu_h=yes
34776 else
34777 echo "$as_me: failed program was:" >&5
34778 sed 's/^/| /' conftest.$ac_ext >&5
34779
34780 ac_cv_header_GL_glu_h=no
34781 fi
34782
34783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784 fi
34785 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34786 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34787 if test $ac_cv_header_GL_glu_h = yes; then
34788
34789 found_gl=0
34790
34791 { echo "$as_me:$LINENO: checking for -lGL" >&5
34792 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34793
34794 ac_find_libraries=
34795 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34796 do
34797 for ac_extension in a so sl dylib dll.a; do
34798 if test -f "$ac_dir/libGL.$ac_extension"; then
34799 ac_find_libraries=$ac_dir
34800 break 2
34801 fi
34802 done
34803 done
34804
34805 if test "$ac_find_libraries" != "" ; then
34806 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34807 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34808
34809
34810 if test "$ac_find_libraries" = "default location"; then
34811 ac_path_to_link=""
34812 else
34813 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34814 result=$?
34815 if test $result = 0; then
34816 ac_path_to_link=""
34817 else
34818 ac_path_to_link=" -L$ac_find_libraries"
34819 fi
34820 fi
34821
34822 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34823 LDFLAGS_GL="$ac_path_to_link"
34824 fi
34825
34826 { echo "$as_me:$LINENO: checking for -lGLU" >&5
34827 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
34828
34829 ac_find_libraries=
34830 for ac_dir in $SEARCH_LIB
34831 do
34832 for ac_extension in a so sl dylib dll.a; do
34833 if test -f "$ac_dir/libGLU.$ac_extension"; then
34834 ac_find_libraries=$ac_dir
34835 break 2
34836 fi
34837 done
34838 done
34839
34840 if test "$ac_find_libraries" != "" ; then
34841
34842 if test "$ac_find_libraries" = "default location"; then
34843 ac_path_to_link=""
34844 else
34845 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34846 result=$?
34847 if test $result = 0; then
34848 ac_path_to_link=""
34849 else
34850 ac_path_to_link=" -L$ac_find_libraries"
34851 fi
34852 fi
34853
34854 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34855 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34856 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34857 fi
34858
34859 found_gl=1
34860 OPENGL_LIBS="-lGL -lGLU"
34861 { echo "$as_me:$LINENO: result: yes" >&5
34862 echo "${ECHO_T}yes" >&6; }
34863 else
34864 { echo "$as_me:$LINENO: result: no" >&5
34865 echo "${ECHO_T}no" >&6; }
34866 fi
34867 else
34868 { echo "$as_me:$LINENO: result: no" >&5
34869 echo "${ECHO_T}no" >&6; }
34870 fi
34871
34872 if test "$found_gl" != 1; then
34873 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34874 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
34875
34876 ac_find_libraries=
34877 for ac_dir in $SEARCH_LIB
34878 do
34879 for ac_extension in a so sl dylib dll.a; do
34880 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34881 ac_find_libraries=$ac_dir
34882 break 2
34883 fi
34884 done
34885 done
34886
34887 if test "$ac_find_libraries" != "" ; then
34888
34889 if test "$ac_find_libraries" = "default location"; then
34890 ac_path_to_link=""
34891 else
34892 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34893 result=$?
34894 if test $result = 0; then
34895 ac_path_to_link=""
34896 else
34897 ac_path_to_link=" -L$ac_find_libraries"
34898 fi
34899 fi
34900
34901 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34902 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34903 { echo "$as_me:$LINENO: result: yes" >&5
34904 echo "${ECHO_T}yes" >&6; }
34905 else
34906 { echo "$as_me:$LINENO: result: no" >&5
34907 echo "${ECHO_T}no" >&6; }
34908 fi
34909 fi
34910
34911 fi
34912
34913
34914
34915 fi
34916
34917
34918
34919 if test "x$OPENGL_LIBS" = "x"; then
34920 if test "$wxUSE_OPENGL" = "yes"; then
34921 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34922 echo "$as_me: error: OpenGL libraries not available" >&2;}
34923 { (exit 1); exit 1; }; }
34924 else
34925 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
34926 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
34927 wxUSE_OPENGL=no
34928 USE_OPENGL=0
34929 fi
34930 fi
34931 else
34932 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34933 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34934 wxUSE_OPENGL="no"
34935 fi
34936
34937 if test "$wxUSE_OPENGL" = "auto"; then
34938 wxUSE_OPENGL=yes
34939 fi
34940
34941 if test "$wxUSE_OPENGL" = "yes"; then
34942 USE_OPENGL=1
34943 cat >>confdefs.h <<\_ACEOF
34944 #define wxUSE_OPENGL 1
34945 _ACEOF
34946
34947 cat >>confdefs.h <<\_ACEOF
34948 #define wxUSE_GLCANVAS 1
34949 _ACEOF
34950
34951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34952 fi
34953 fi
34954
34955
34956 if test -n "$TOOLKIT" ; then
34957 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34958 fi
34959
34960
34961
34962 if test "$wxUSE_SHARED" = "yes"; then
34963 case "${host}" in
34964 *-pc-msdosdjgpp )
34965 wxUSE_SHARED=no
34966 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34967 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34968 ;;
34969 esac
34970 fi
34971
34972 if test "$wxUSE_SHARED" = "yes"; then
34973
34974
34975 case "${host}" in
34976 *-*-cygwin* | *-*-mingw* )
34977 wx_cv_version_script=no
34978 ;;
34979
34980 *)
34981 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34982 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
34983 if test "${wx_cv_version_script+set}" = set; then
34984 echo $ECHO_N "(cached) $ECHO_C" >&6
34985 else
34986
34987 echo "VER_1 { *; };" >conftest.sym
34988 echo "int main() { return 0; }" >conftest.cpp
34989
34990 if { ac_try='
34991 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34992 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34995 ac_status=$?
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; } ; then
34998 if test -s conftest.stderr ; then
34999 wx_cv_version_script=no
35000 else
35001 wx_cv_version_script=yes
35002 fi
35003 else
35004 wx_cv_version_script=no
35005 fi
35006
35007 if test $wx_cv_version_script = yes
35008 then
35009 echo "struct B { virtual ~B() { } }; \
35010 struct D : public B { }; \
35011 void F() { D d; }" > conftest.cpp
35012
35013 if { ac_try='
35014 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35015 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35017 (eval $ac_try) 2>&5
35018 ac_status=$?
35019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35020 (exit $ac_status); }; } &&
35021 { ac_try='
35022 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35023 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35025 (eval $ac_try) 2>&5
35026 ac_status=$?
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); }; }
35029 then
35030 if { ac_try='
35031 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35032 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35034 (eval $ac_try) 2>&5
35035 ac_status=$?
35036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35037 (exit $ac_status); }; }
35038 then
35039 wx_cv_version_script=yes
35040 else
35041 wx_cv_version_script=no
35042 fi
35043 fi
35044 fi
35045
35046 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35047 rm -f conftest1.output conftest2.output conftest3.output
35048
35049 fi
35050 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35051 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35052
35053 if test $wx_cv_version_script = yes ; then
35054 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35055 fi
35056 ;;
35057 esac
35058
35059
35060 if test "$wxUSE_VISIBILITY" != "no"; then
35061
35062
35063 if test -n "$GCC"; then
35064 CFLAGS_VISIBILITY="-fvisibility=hidden"
35065 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35066 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35067 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35068 if test "${wx_cv_cc_visibility+set}" = set; then
35069 echo $ECHO_N "(cached) $ECHO_C" >&6
35070 else
35071
35072 wx_save_CXXFLAGS="$CXXFLAGS"
35073 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35074 ac_ext=cpp
35075 ac_cpp='$CXXCPP $CPPFLAGS'
35076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35079
35080 cat >conftest.$ac_ext <<_ACEOF
35081 /* confdefs.h. */
35082 _ACEOF
35083 cat confdefs.h >>conftest.$ac_ext
35084 cat >>conftest.$ac_ext <<_ACEOF
35085 /* end confdefs.h. */
35086
35087 /* we need gcc >= 4.0, older versions with visibility support
35088 didn't have class visibility: */
35089 #if defined(__GNUC__) && __GNUC__ < 4
35090 error this gcc is too old;
35091 #endif
35092
35093 /* visibility only makes sense for ELF shared libs: */
35094 #if !defined(__ELF__) && !defined(__APPLE__)
35095 error this platform has no visibility;
35096 #endif
35097
35098 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35099 #if defined(__clang__)
35100 clang compiler is still broken w.r.t. visibility;
35101 #endif
35102
35103 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35104 extern __attribute__((__visibility__("default"))) int exportedvar;
35105 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35106 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35107 class __attribute__((__visibility__("default"))) Foo {
35108 Foo() {}
35109 };
35110
35111 int
35112 main ()
35113 {
35114
35115 ;
35116 return 0;
35117 }
35118 _ACEOF
35119 rm -f conftest.$ac_objext
35120 if { (ac_try="$ac_compile"
35121 case "(($ac_try" in
35122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35123 *) ac_try_echo=$ac_try;;
35124 esac
35125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35126 (eval "$ac_compile") 2>conftest.er1
35127 ac_status=$?
35128 grep -v '^ *+' conftest.er1 >conftest.err
35129 rm -f conftest.er1
35130 cat conftest.err >&5
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); } && {
35133 test -z "$ac_cxx_werror_flag" ||
35134 test ! -s conftest.err
35135 } && test -s conftest.$ac_objext; then
35136 wx_cv_cc_visibility=yes
35137 else
35138 echo "$as_me: failed program was:" >&5
35139 sed 's/^/| /' conftest.$ac_ext >&5
35140
35141 wx_cv_cc_visibility=no
35142 fi
35143
35144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35145 ac_ext=c
35146 ac_cpp='$CPP $CPPFLAGS'
35147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35150
35151 CXXFLAGS="$wx_save_CXXFLAGS"
35152 fi
35153
35154 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35155 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35156 if test $wx_cv_cc_visibility = yes; then
35157 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35158 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35159 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35160 echo $ECHO_N "(cached) $ECHO_C" >&6
35161 else
35162
35163 wx_save_CXXFLAGS="$CXXFLAGS"
35164 wx_save_LDFLAGS="$LDFLAGS"
35165 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35166 LDFLAGS="$LDFLAGS -shared -fPIC"
35167 ac_ext=cpp
35168 ac_cpp='$CXXCPP $CPPFLAGS'
35169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35172
35173 cat >conftest.$ac_ext <<_ACEOF
35174 /* confdefs.h. */
35175 _ACEOF
35176 cat confdefs.h >>conftest.$ac_ext
35177 cat >>conftest.$ac_ext <<_ACEOF
35178 /* end confdefs.h. */
35179
35180 #include <string>
35181
35182 int
35183 main ()
35184 {
35185
35186 std::string s("hello");
35187 return s.length();
35188
35189 ;
35190 return 0;
35191 }
35192 _ACEOF
35193 rm -f conftest.$ac_objext conftest$ac_exeext
35194 if { (ac_try="$ac_link"
35195 case "(($ac_try" in
35196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35197 *) ac_try_echo=$ac_try;;
35198 esac
35199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35200 (eval "$ac_link") 2>conftest.er1
35201 ac_status=$?
35202 grep -v '^ *+' conftest.er1 >conftest.err
35203 rm -f conftest.er1
35204 cat conftest.err >&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); } && {
35207 test -z "$ac_cxx_werror_flag" ||
35208 test ! -s conftest.err
35209 } && test -s conftest$ac_exeext &&
35210 $as_test_x conftest$ac_exeext; then
35211 wx_cv_cc_broken_libstdcxx_visibility=no
35212 else
35213 echo "$as_me: failed program was:" >&5
35214 sed 's/^/| /' conftest.$ac_ext >&5
35215
35216 wx_cv_cc_broken_libstdcxx_visibility=yes
35217 fi
35218
35219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35220 conftest$ac_exeext conftest.$ac_ext
35221 ac_ext=c
35222 ac_cpp='$CPP $CPPFLAGS'
35223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35226
35227 CXXFLAGS="$wx_save_CXXFLAGS"
35228 LDFLAGS="$wx_save_LDFLAGS"
35229 fi
35230
35231 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35232 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35233
35234 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35235 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35236 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35237 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35238 echo $ECHO_N "(cached) $ECHO_C" >&6
35239 else
35240
35241 ac_ext=cpp
35242 ac_cpp='$CXXCPP $CPPFLAGS'
35243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35246
35247 cat >conftest.$ac_ext <<_ACEOF
35248 /* confdefs.h. */
35249 _ACEOF
35250 cat confdefs.h >>conftest.$ac_ext
35251 cat >>conftest.$ac_ext <<_ACEOF
35252 /* end confdefs.h. */
35253
35254 #pragma GCC visibility push(default)
35255 #include <string>
35256 #pragma GCC visibility pop
35257
35258 int
35259 main ()
35260 {
35261
35262 std::string s("hello");
35263 return s.length();
35264
35265 ;
35266 return 0;
35267 }
35268 _ACEOF
35269 rm -f conftest.$ac_objext conftest$ac_exeext
35270 if { (ac_try="$ac_link"
35271 case "(($ac_try" in
35272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35273 *) ac_try_echo=$ac_try;;
35274 esac
35275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35276 (eval "$ac_link") 2>conftest.er1
35277 ac_status=$?
35278 grep -v '^ *+' conftest.er1 >conftest.err
35279 rm -f conftest.er1
35280 cat conftest.err >&5
35281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282 (exit $ac_status); } && {
35283 test -z "$ac_cxx_werror_flag" ||
35284 test ! -s conftest.err
35285 } && test -s conftest$ac_exeext &&
35286 $as_test_x conftest$ac_exeext; then
35287 wx_cv_cc_visibility_workaround=no
35288 else
35289 echo "$as_me: failed program was:" >&5
35290 sed 's/^/| /' conftest.$ac_ext >&5
35291
35292 wx_cv_cc_visibility_workaround=yes
35293 fi
35294
35295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35296 conftest$ac_exeext conftest.$ac_ext
35297 ac_ext=c
35298 ac_cpp='$CPP $CPPFLAGS'
35299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35302
35303
35304 fi
35305
35306 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35307 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35308
35309 if test $wx_cv_cc_visibility_workaround = no; then
35310 wx_cv_cc_visibility=no
35311 fi
35312 fi
35313 fi
35314
35315 if test $wx_cv_cc_visibility = yes; then
35316 cat >>confdefs.h <<\_ACEOF
35317 #define HAVE_VISIBILITY 1
35318 _ACEOF
35319
35320 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35321 cat >>confdefs.h <<\_ACEOF
35322 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35323 _ACEOF
35324
35325 fi
35326 else
35327 CFLAGS_VISIBILITY=""
35328 CXXFLAGS_VISIBILITY=""
35329 fi
35330
35331
35332 fi
35333
35334 fi
35335
35336 if test "x$SUNCXX" = xyes; then
35337 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35338 WXCONFIG_RPATH="-R\$libdir"
35339 else
35340 case "${host}" in
35341 *-*-linux* | *-*-gnu* )
35342 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35343 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35344 ;;
35345
35346 *-*-solaris2* )
35347
35348 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35349
35350 saveLdflags="$LDFLAGS"
35351 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35352 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35353 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35354 cat >conftest.$ac_ext <<_ACEOF
35355 /* confdefs.h. */
35356 _ACEOF
35357 cat confdefs.h >>conftest.$ac_ext
35358 cat >>conftest.$ac_ext <<_ACEOF
35359 /* end confdefs.h. */
35360
35361 int
35362 main ()
35363 {
35364
35365 ;
35366 return 0;
35367 }
35368 _ACEOF
35369 rm -f conftest.$ac_objext conftest$ac_exeext
35370 if { (ac_try="$ac_link"
35371 case "(($ac_try" in
35372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35373 *) ac_try_echo=$ac_try;;
35374 esac
35375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35376 (eval "$ac_link") 2>conftest.er1
35377 ac_status=$?
35378 grep -v '^ *+' conftest.er1 >conftest.err
35379 rm -f conftest.er1
35380 cat conftest.err >&5
35381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35382 (exit $ac_status); } && {
35383 test -z "$ac_c_werror_flag" ||
35384 test ! -s conftest.err
35385 } && test -s conftest$ac_exeext &&
35386 $as_test_x conftest$ac_exeext; then
35387
35388 { echo "$as_me:$LINENO: result: yes" >&5
35389 echo "${ECHO_T}yes" >&6; }
35390 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35391 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35392
35393 else
35394 echo "$as_me: failed program was:" >&5
35395 sed 's/^/| /' conftest.$ac_ext >&5
35396
35397
35398 { echo "$as_me:$LINENO: result: no" >&5
35399 echo "${ECHO_T}no" >&6; }
35400 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35401 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35402 LDFLAGS="$saveLdflags -Wl,-R,/"
35403 cat >conftest.$ac_ext <<_ACEOF
35404 /* confdefs.h. */
35405 _ACEOF
35406 cat confdefs.h >>conftest.$ac_ext
35407 cat >>conftest.$ac_ext <<_ACEOF
35408 /* end confdefs.h. */
35409
35410 int
35411 main ()
35412 {
35413
35414 ;
35415 return 0;
35416 }
35417 _ACEOF
35418 rm -f conftest.$ac_objext conftest$ac_exeext
35419 if { (ac_try="$ac_link"
35420 case "(($ac_try" in
35421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35422 *) ac_try_echo=$ac_try;;
35423 esac
35424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35425 (eval "$ac_link") 2>conftest.er1
35426 ac_status=$?
35427 grep -v '^ *+' conftest.er1 >conftest.err
35428 rm -f conftest.er1
35429 cat conftest.err >&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } && {
35432 test -z "$ac_c_werror_flag" ||
35433 test ! -s conftest.err
35434 } && test -s conftest$ac_exeext &&
35435 $as_test_x conftest$ac_exeext; then
35436
35437 { echo "$as_me:$LINENO: result: yes" >&5
35438 echo "${ECHO_T}yes" >&6; }
35439 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35440 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35441
35442 else
35443 echo "$as_me: failed program was:" >&5
35444 sed 's/^/| /' conftest.$ac_ext >&5
35445
35446
35447 { echo "$as_me:$LINENO: result: no" >&5
35448 echo "${ECHO_T}no" >&6; }
35449
35450 fi
35451
35452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35453 conftest$ac_exeext conftest.$ac_ext
35454
35455 fi
35456
35457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35458 conftest$ac_exeext conftest.$ac_ext
35459 LDFLAGS="$saveLdflags"
35460 ;;
35461
35462 *-*-darwin* )
35463 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
35464 if test "$install_name_tool" -a -x "$install_name_tool"; then
35465 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35466 cat <<EOF >change-install-names
35467 #!/bin/sh
35468 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35469 for i in \${libnames} ; do
35470 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35471 for dep in \${libnames} ; do
35472 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35473 done
35474 done
35475 EOF
35476 chmod +x change-install-names
35477 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35478 fi
35479
35480 HEADER_PAD_OPTION="-headerpad_max_install_names"
35481 ;;
35482
35483 *-*-cygwin* | *-*-mingw32* )
35484 ;;
35485
35486 *-*-hpux* )
35487 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35488 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35489 ;;
35490
35491 esac
35492 fi
35493
35494 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35495
35496 if test $wxUSE_RPATH = "no"; then
35497 SAMPLES_RPATH_FLAG=''
35498 DYLIB_PATH_POSTLINK=''
35499 WXCONFIG_RPATH=''
35500 fi
35501
35502 SHARED=1
35503
35504 else
35505
35506 config_linkage_component="-static"
35507 SHARED=0
35508
35509 fi
35510
35511
35512 UNICODE=0
35513 lib_unicode_suffix=
35514 WX_CHARTYPE="ansi"
35515 if test "$wxUSE_UNICODE" = "yes"; then
35516 lib_unicode_suffix=u
35517 WX_CHARTYPE="unicode"
35518 UNICODE=1
35519 fi
35520
35521 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35522 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35523
35524 DEBUG_INFO=0
35525 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35526 DEBUG_INFO=1
35527 fi
35528
35529 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35530
35531 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35532
35533 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35534
35535
35536 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35537 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35538 else
35539 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35540 fi
35541 if test "${TOOLKIT_DIR}" = "os2"; then
35542 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35543 else
35544 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35545 fi
35546
35547
35548
35549 if test "$wxUSE_OLD_COCOA" = 1; then
35550
35551 ac_ext=c
35552 ac_cpp='$CPP $CPPFLAGS'
35553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35556
35557 ac_ext=m
35558
35559 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35560 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35561 cat >conftest.$ac_ext <<_ACEOF
35562 /* confdefs.h. */
35563 _ACEOF
35564 cat confdefs.h >>conftest.$ac_ext
35565 cat >>conftest.$ac_ext <<_ACEOF
35566 /* end confdefs.h. */
35567 #include <AppKit/NSEvent.h>
35568 #include <CoreFoundation/CoreFoundation.h>
35569
35570 int
35571 main ()
35572 {
35573
35574 ;
35575 return 0;
35576 }
35577 _ACEOF
35578 rm -f conftest.$ac_objext
35579 if { (ac_try="$ac_compile"
35580 case "(($ac_try" in
35581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35582 *) ac_try_echo=$ac_try;;
35583 esac
35584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35585 (eval "$ac_compile") 2>conftest.er1
35586 ac_status=$?
35587 grep -v '^ *+' conftest.er1 >conftest.err
35588 rm -f conftest.er1
35589 cat conftest.err >&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); } && {
35592 test -z "$ac_c_werror_flag" ||
35593 test ! -s conftest.err
35594 } && test -s conftest.$ac_objext; then
35595 { echo "$as_me:$LINENO: result: no" >&5
35596 echo "${ECHO_T}no" >&6; }
35597 else
35598 echo "$as_me: failed program was:" >&5
35599 sed 's/^/| /' conftest.$ac_ext >&5
35600
35601 { echo "$as_me:$LINENO: result: yes" >&5
35602 echo "${ECHO_T}yes" >&6; }
35603 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35604 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35605 cat >conftest.$ac_ext <<_ACEOF
35606 /* confdefs.h. */
35607 _ACEOF
35608 cat confdefs.h >>conftest.$ac_ext
35609 cat >>conftest.$ac_ext <<_ACEOF
35610 /* end confdefs.h. */
35611 #define __Point__ 1
35612 #include <AppKit/NSEvent.h>
35613 #include <CoreFoundation/CoreFoundation.h>
35614
35615 int
35616 main ()
35617 {
35618
35619 ;
35620 return 0;
35621 }
35622 _ACEOF
35623 rm -f conftest.$ac_objext
35624 if { (ac_try="$ac_compile"
35625 case "(($ac_try" in
35626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35627 *) ac_try_echo=$ac_try;;
35628 esac
35629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35630 (eval "$ac_compile") 2>conftest.er1
35631 ac_status=$?
35632 grep -v '^ *+' conftest.er1 >conftest.err
35633 rm -f conftest.er1
35634 cat conftest.err >&5
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } && {
35637 test -z "$ac_c_werror_flag" ||
35638 test ! -s conftest.err
35639 } && test -s conftest.$ac_objext; then
35640 { echo "$as_me:$LINENO: result: yes" >&5
35641 echo "${ECHO_T}yes" >&6; }
35642 cat >>confdefs.h <<\_ACEOF
35643 #define __Point__ 1
35644 _ACEOF
35645
35646
35647 else
35648 echo "$as_me: failed program was:" >&5
35649 sed 's/^/| /' conftest.$ac_ext >&5
35650
35651 { { echo "$as_me:$LINENO: error: no
35652 See \`config.log' for more details." >&5
35653 echo "$as_me: error: no
35654 See \`config.log' for more details." >&2;}
35655 { (exit 1); exit 1; }; }
35656
35657 fi
35658
35659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35660
35661 fi
35662
35663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35664 ac_ext=c
35665 ac_cpp='$CPP $CPPFLAGS'
35666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35669
35670 fi
35671
35672
35673 { echo "$as_me:$LINENO: checking for mode_t" >&5
35674 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35675 if test "${ac_cv_type_mode_t+set}" = set; then
35676 echo $ECHO_N "(cached) $ECHO_C" >&6
35677 else
35678 cat >conftest.$ac_ext <<_ACEOF
35679 /* confdefs.h. */
35680 _ACEOF
35681 cat confdefs.h >>conftest.$ac_ext
35682 cat >>conftest.$ac_ext <<_ACEOF
35683 /* end confdefs.h. */
35684 $ac_includes_default
35685 typedef mode_t ac__type_new_;
35686 int
35687 main ()
35688 {
35689 if ((ac__type_new_ *) 0)
35690 return 0;
35691 if (sizeof (ac__type_new_))
35692 return 0;
35693 ;
35694 return 0;
35695 }
35696 _ACEOF
35697 rm -f conftest.$ac_objext
35698 if { (ac_try="$ac_compile"
35699 case "(($ac_try" in
35700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35701 *) ac_try_echo=$ac_try;;
35702 esac
35703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35704 (eval "$ac_compile") 2>conftest.er1
35705 ac_status=$?
35706 grep -v '^ *+' conftest.er1 >conftest.err
35707 rm -f conftest.er1
35708 cat conftest.err >&5
35709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35710 (exit $ac_status); } && {
35711 test -z "$ac_c_werror_flag" ||
35712 test ! -s conftest.err
35713 } && test -s conftest.$ac_objext; then
35714 ac_cv_type_mode_t=yes
35715 else
35716 echo "$as_me: failed program was:" >&5
35717 sed 's/^/| /' conftest.$ac_ext >&5
35718
35719 ac_cv_type_mode_t=no
35720 fi
35721
35722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35723 fi
35724 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35725 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35726 if test $ac_cv_type_mode_t = yes; then
35727 :
35728 else
35729
35730 cat >>confdefs.h <<_ACEOF
35731 #define mode_t int
35732 _ACEOF
35733
35734 fi
35735
35736 { echo "$as_me:$LINENO: checking for off_t" >&5
35737 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35738 if test "${ac_cv_type_off_t+set}" = set; then
35739 echo $ECHO_N "(cached) $ECHO_C" >&6
35740 else
35741 cat >conftest.$ac_ext <<_ACEOF
35742 /* confdefs.h. */
35743 _ACEOF
35744 cat confdefs.h >>conftest.$ac_ext
35745 cat >>conftest.$ac_ext <<_ACEOF
35746 /* end confdefs.h. */
35747 $ac_includes_default
35748 typedef off_t ac__type_new_;
35749 int
35750 main ()
35751 {
35752 if ((ac__type_new_ *) 0)
35753 return 0;
35754 if (sizeof (ac__type_new_))
35755 return 0;
35756 ;
35757 return 0;
35758 }
35759 _ACEOF
35760 rm -f conftest.$ac_objext
35761 if { (ac_try="$ac_compile"
35762 case "(($ac_try" in
35763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35764 *) ac_try_echo=$ac_try;;
35765 esac
35766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35767 (eval "$ac_compile") 2>conftest.er1
35768 ac_status=$?
35769 grep -v '^ *+' conftest.er1 >conftest.err
35770 rm -f conftest.er1
35771 cat conftest.err >&5
35772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773 (exit $ac_status); } && {
35774 test -z "$ac_c_werror_flag" ||
35775 test ! -s conftest.err
35776 } && test -s conftest.$ac_objext; then
35777 ac_cv_type_off_t=yes
35778 else
35779 echo "$as_me: failed program was:" >&5
35780 sed 's/^/| /' conftest.$ac_ext >&5
35781
35782 ac_cv_type_off_t=no
35783 fi
35784
35785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35786 fi
35787 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35788 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35789 if test $ac_cv_type_off_t = yes; then
35790 :
35791 else
35792
35793 cat >>confdefs.h <<_ACEOF
35794 #define off_t long int
35795 _ACEOF
35796
35797 fi
35798
35799 { echo "$as_me:$LINENO: checking for pid_t" >&5
35800 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35801 if test "${ac_cv_type_pid_t+set}" = set; then
35802 echo $ECHO_N "(cached) $ECHO_C" >&6
35803 else
35804 cat >conftest.$ac_ext <<_ACEOF
35805 /* confdefs.h. */
35806 _ACEOF
35807 cat confdefs.h >>conftest.$ac_ext
35808 cat >>conftest.$ac_ext <<_ACEOF
35809 /* end confdefs.h. */
35810 $ac_includes_default
35811 typedef pid_t ac__type_new_;
35812 int
35813 main ()
35814 {
35815 if ((ac__type_new_ *) 0)
35816 return 0;
35817 if (sizeof (ac__type_new_))
35818 return 0;
35819 ;
35820 return 0;
35821 }
35822 _ACEOF
35823 rm -f conftest.$ac_objext
35824 if { (ac_try="$ac_compile"
35825 case "(($ac_try" in
35826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35827 *) ac_try_echo=$ac_try;;
35828 esac
35829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35830 (eval "$ac_compile") 2>conftest.er1
35831 ac_status=$?
35832 grep -v '^ *+' conftest.er1 >conftest.err
35833 rm -f conftest.er1
35834 cat conftest.err >&5
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); } && {
35837 test -z "$ac_c_werror_flag" ||
35838 test ! -s conftest.err
35839 } && test -s conftest.$ac_objext; then
35840 ac_cv_type_pid_t=yes
35841 else
35842 echo "$as_me: failed program was:" >&5
35843 sed 's/^/| /' conftest.$ac_ext >&5
35844
35845 ac_cv_type_pid_t=no
35846 fi
35847
35848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35849 fi
35850 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35851 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
35852 if test $ac_cv_type_pid_t = yes; then
35853 :
35854 else
35855
35856 cat >>confdefs.h <<_ACEOF
35857 #define pid_t int
35858 _ACEOF
35859
35860 fi
35861
35862 { echo "$as_me:$LINENO: checking for size_t" >&5
35863 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
35864 if test "${ac_cv_type_size_t+set}" = set; then
35865 echo $ECHO_N "(cached) $ECHO_C" >&6
35866 else
35867 cat >conftest.$ac_ext <<_ACEOF
35868 /* confdefs.h. */
35869 _ACEOF
35870 cat confdefs.h >>conftest.$ac_ext
35871 cat >>conftest.$ac_ext <<_ACEOF
35872 /* end confdefs.h. */
35873 $ac_includes_default
35874 typedef size_t ac__type_new_;
35875 int
35876 main ()
35877 {
35878 if ((ac__type_new_ *) 0)
35879 return 0;
35880 if (sizeof (ac__type_new_))
35881 return 0;
35882 ;
35883 return 0;
35884 }
35885 _ACEOF
35886 rm -f conftest.$ac_objext
35887 if { (ac_try="$ac_compile"
35888 case "(($ac_try" in
35889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35890 *) ac_try_echo=$ac_try;;
35891 esac
35892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35893 (eval "$ac_compile") 2>conftest.er1
35894 ac_status=$?
35895 grep -v '^ *+' conftest.er1 >conftest.err
35896 rm -f conftest.er1
35897 cat conftest.err >&5
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); } && {
35900 test -z "$ac_c_werror_flag" ||
35901 test ! -s conftest.err
35902 } && test -s conftest.$ac_objext; then
35903 ac_cv_type_size_t=yes
35904 else
35905 echo "$as_me: failed program was:" >&5
35906 sed 's/^/| /' conftest.$ac_ext >&5
35907
35908 ac_cv_type_size_t=no
35909 fi
35910
35911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35912 fi
35913 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35914 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
35915 if test $ac_cv_type_size_t = yes; then
35916 :
35917 else
35918
35919 cat >>confdefs.h <<_ACEOF
35920 #define size_t unsigned int
35921 _ACEOF
35922
35923 fi
35924
35925
35926 { echo "$as_me:$LINENO: checking for ssize_t" >&5
35927 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
35928 if test "${ac_cv_type_ssize_t+set}" = set; then
35929 echo $ECHO_N "(cached) $ECHO_C" >&6
35930 else
35931 cat >conftest.$ac_ext <<_ACEOF
35932 /* confdefs.h. */
35933 _ACEOF
35934 cat confdefs.h >>conftest.$ac_ext
35935 cat >>conftest.$ac_ext <<_ACEOF
35936 /* end confdefs.h. */
35937 $ac_includes_default
35938 typedef ssize_t ac__type_new_;
35939 int
35940 main ()
35941 {
35942 if ((ac__type_new_ *) 0)
35943 return 0;
35944 if (sizeof (ac__type_new_))
35945 return 0;
35946 ;
35947 return 0;
35948 }
35949 _ACEOF
35950 rm -f conftest.$ac_objext
35951 if { (ac_try="$ac_compile"
35952 case "(($ac_try" in
35953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35954 *) ac_try_echo=$ac_try;;
35955 esac
35956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35957 (eval "$ac_compile") 2>conftest.er1
35958 ac_status=$?
35959 grep -v '^ *+' conftest.er1 >conftest.err
35960 rm -f conftest.er1
35961 cat conftest.err >&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } && {
35964 test -z "$ac_c_werror_flag" ||
35965 test ! -s conftest.err
35966 } && test -s conftest.$ac_objext; then
35967 ac_cv_type_ssize_t=yes
35968 else
35969 echo "$as_me: failed program was:" >&5
35970 sed 's/^/| /' conftest.$ac_ext >&5
35971
35972 ac_cv_type_ssize_t=no
35973 fi
35974
35975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35976 fi
35977 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35978 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
35979 if test $ac_cv_type_ssize_t = yes; then
35980
35981 cat >>confdefs.h <<_ACEOF
35982 #define HAVE_SSIZE_T 1
35983 _ACEOF
35984
35985
35986 fi
35987
35988
35989 ac_ext=cpp
35990 ac_cpp='$CXXCPP $CPPFLAGS'
35991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35994 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35995 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
35996 if test "${wx_cv_size_t_is_uint+set}" = set; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35998 else
35999
36000 cat >conftest.$ac_ext <<_ACEOF
36001 /* confdefs.h. */
36002 _ACEOF
36003 cat confdefs.h >>conftest.$ac_ext
36004 cat >>conftest.$ac_ext <<_ACEOF
36005 /* end confdefs.h. */
36006 #include <stddef.h>
36007 int
36008 main ()
36009 {
36010
36011 return 0; }
36012
36013 struct Foo { void foo(size_t); void foo(unsigned int); };
36014
36015 int bar() {
36016
36017 ;
36018 return 0;
36019 }
36020 _ACEOF
36021 rm -f conftest.$ac_objext
36022 if { (ac_try="$ac_compile"
36023 case "(($ac_try" in
36024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36025 *) ac_try_echo=$ac_try;;
36026 esac
36027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36028 (eval "$ac_compile") 2>conftest.er1
36029 ac_status=$?
36030 grep -v '^ *+' conftest.er1 >conftest.err
36031 rm -f conftest.er1
36032 cat conftest.err >&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); } && {
36035 test -z "$ac_cxx_werror_flag" ||
36036 test ! -s conftest.err
36037 } && test -s conftest.$ac_objext; then
36038 wx_cv_size_t_is_uint=no
36039 else
36040 echo "$as_me: failed program was:" >&5
36041 sed 's/^/| /' conftest.$ac_ext >&5
36042
36043 wx_cv_size_t_is_uint=yes
36044
36045 fi
36046
36047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36048
36049
36050 fi
36051 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36052 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36053
36054 if test "$wx_cv_size_t_is_uint" = "yes"; then
36055 cat >>confdefs.h <<\_ACEOF
36056 #define wxSIZE_T_IS_UINT 1
36057 _ACEOF
36058
36059 else
36060 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36061 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36062 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36063 echo $ECHO_N "(cached) $ECHO_C" >&6
36064 else
36065 cat >conftest.$ac_ext <<_ACEOF
36066 /* confdefs.h. */
36067 _ACEOF
36068 cat confdefs.h >>conftest.$ac_ext
36069 cat >>conftest.$ac_ext <<_ACEOF
36070 /* end confdefs.h. */
36071 #include <stddef.h>
36072 int
36073 main ()
36074 {
36075
36076 return 0; }
36077
36078 struct Foo { void foo(size_t); void foo(unsigned long); };
36079
36080 int bar() {
36081
36082 ;
36083 return 0;
36084 }
36085 _ACEOF
36086 rm -f conftest.$ac_objext
36087 if { (ac_try="$ac_compile"
36088 case "(($ac_try" in
36089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36090 *) ac_try_echo=$ac_try;;
36091 esac
36092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36093 (eval "$ac_compile") 2>conftest.er1
36094 ac_status=$?
36095 grep -v '^ *+' conftest.er1 >conftest.err
36096 rm -f conftest.er1
36097 cat conftest.err >&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); } && {
36100 test -z "$ac_cxx_werror_flag" ||
36101 test ! -s conftest.err
36102 } && test -s conftest.$ac_objext; then
36103 wx_cv_size_t_is_ulong=no
36104 else
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36107
36108 wx_cv_size_t_is_ulong=yes
36109
36110 fi
36111
36112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36113
36114 fi
36115 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36116 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36117
36118 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36119 cat >>confdefs.h <<\_ACEOF
36120 #define wxSIZE_T_IS_ULONG 1
36121 _ACEOF
36122
36123 fi
36124 fi
36125
36126 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36127 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36128 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36129 echo $ECHO_N "(cached) $ECHO_C" >&6
36130 else
36131 cat >conftest.$ac_ext <<_ACEOF
36132 /* confdefs.h. */
36133 _ACEOF
36134 cat confdefs.h >>conftest.$ac_ext
36135 cat >>conftest.$ac_ext <<_ACEOF
36136 /* end confdefs.h. */
36137 #include <wchar.h>
36138 int
36139 main ()
36140 {
36141
36142 return 0; }
36143
36144 struct Foo { void foo(wchar_t);
36145 void foo(unsigned short);
36146 void foo(unsigned int);
36147 void foo(unsigned long); };
36148
36149 int bar() {
36150
36151 ;
36152 return 0;
36153 }
36154 _ACEOF
36155 rm -f conftest.$ac_objext
36156 if { (ac_try="$ac_compile"
36157 case "(($ac_try" in
36158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36159 *) ac_try_echo=$ac_try;;
36160 esac
36161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36162 (eval "$ac_compile") 2>conftest.er1
36163 ac_status=$?
36164 grep -v '^ *+' conftest.er1 >conftest.err
36165 rm -f conftest.er1
36166 cat conftest.err >&5
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); } && {
36169 test -z "$ac_cxx_werror_flag" ||
36170 test ! -s conftest.err
36171 } && test -s conftest.$ac_objext; then
36172 wx_cv_wchar_t_is_separate_type=yes
36173 else
36174 echo "$as_me: failed program was:" >&5
36175 sed 's/^/| /' conftest.$ac_ext >&5
36176
36177 wx_cv_wchar_t_is_separate_type=no
36178
36179 fi
36180
36181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36182
36183 fi
36184 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36185 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36186
36187 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36188 cat >>confdefs.h <<\_ACEOF
36189 #define wxWCHAR_T_IS_REAL_TYPE 1
36190 _ACEOF
36191
36192 else
36193 cat >>confdefs.h <<\_ACEOF
36194 #define wxWCHAR_T_IS_REAL_TYPE 0
36195 _ACEOF
36196
36197 fi
36198
36199 ac_ext=c
36200 ac_cpp='$CPP $CPPFLAGS'
36201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36204
36205
36206 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36207 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36208 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36209 echo $ECHO_N "(cached) $ECHO_C" >&6
36210 else
36211
36212 cat >conftest.$ac_ext <<_ACEOF
36213 /* confdefs.h. */
36214 _ACEOF
36215 cat confdefs.h >>conftest.$ac_ext
36216 cat >>conftest.$ac_ext <<_ACEOF
36217 /* end confdefs.h. */
36218 #include <pwd.h>
36219 int
36220 main ()
36221 {
36222
36223 char *p;
36224 struct passwd *pw;
36225 p = pw->pw_gecos;
36226
36227 ;
36228 return 0;
36229 }
36230 _ACEOF
36231 rm -f conftest.$ac_objext
36232 if { (ac_try="$ac_compile"
36233 case "(($ac_try" in
36234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36235 *) ac_try_echo=$ac_try;;
36236 esac
36237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36238 (eval "$ac_compile") 2>conftest.er1
36239 ac_status=$?
36240 grep -v '^ *+' conftest.er1 >conftest.err
36241 rm -f conftest.er1
36242 cat conftest.err >&5
36243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36244 (exit $ac_status); } && {
36245 test -z "$ac_c_werror_flag" ||
36246 test ! -s conftest.err
36247 } && test -s conftest.$ac_objext; then
36248
36249 wx_cv_struct_pw_gecos=yes
36250
36251 else
36252 echo "$as_me: failed program was:" >&5
36253 sed 's/^/| /' conftest.$ac_ext >&5
36254
36255
36256 wx_cv_struct_pw_gecos=no
36257
36258
36259 fi
36260
36261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36262
36263
36264 fi
36265 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36266 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36267
36268 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36269 cat >>confdefs.h <<\_ACEOF
36270 #define HAVE_PW_GECOS 1
36271 _ACEOF
36272
36273 fi
36274
36275
36276 WCSLEN_FOUND=0
36277 WCHAR_LINK=
36278
36279 for ac_func in wcslen
36280 do
36281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36282 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36284 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36285 echo $ECHO_N "(cached) $ECHO_C" >&6
36286 else
36287 cat >conftest.$ac_ext <<_ACEOF
36288 /* confdefs.h. */
36289 _ACEOF
36290 cat confdefs.h >>conftest.$ac_ext
36291 cat >>conftest.$ac_ext <<_ACEOF
36292 /* end confdefs.h. */
36293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36295 #define $ac_func innocuous_$ac_func
36296
36297 /* System header to define __stub macros and hopefully few prototypes,
36298 which can conflict with char $ac_func (); below.
36299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36300 <limits.h> exists even on freestanding compilers. */
36301
36302 #ifdef __STDC__
36303 # include <limits.h>
36304 #else
36305 # include <assert.h>
36306 #endif
36307
36308 #undef $ac_func
36309
36310 /* Override any GCC internal prototype to avoid an error.
36311 Use char because int might match the return type of a GCC
36312 builtin and then its argument prototype would still apply. */
36313 #ifdef __cplusplus
36314 extern "C"
36315 #endif
36316 char $ac_func ();
36317 /* The GNU C library defines this for functions which it implements
36318 to always fail with ENOSYS. Some functions are actually named
36319 something starting with __ and the normal name is an alias. */
36320 #if defined __stub_$ac_func || defined __stub___$ac_func
36321 choke me
36322 #endif
36323
36324 int
36325 main ()
36326 {
36327 return $ac_func ();
36328 ;
36329 return 0;
36330 }
36331 _ACEOF
36332 rm -f conftest.$ac_objext conftest$ac_exeext
36333 if { (ac_try="$ac_link"
36334 case "(($ac_try" in
36335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36336 *) ac_try_echo=$ac_try;;
36337 esac
36338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36339 (eval "$ac_link") 2>conftest.er1
36340 ac_status=$?
36341 grep -v '^ *+' conftest.er1 >conftest.err
36342 rm -f conftest.er1
36343 cat conftest.err >&5
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); } && {
36346 test -z "$ac_c_werror_flag" ||
36347 test ! -s conftest.err
36348 } && test -s conftest$ac_exeext &&
36349 $as_test_x conftest$ac_exeext; then
36350 eval "$as_ac_var=yes"
36351 else
36352 echo "$as_me: failed program was:" >&5
36353 sed 's/^/| /' conftest.$ac_ext >&5
36354
36355 eval "$as_ac_var=no"
36356 fi
36357
36358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36359 conftest$ac_exeext conftest.$ac_ext
36360 fi
36361 ac_res=`eval echo '${'$as_ac_var'}'`
36362 { echo "$as_me:$LINENO: result: $ac_res" >&5
36363 echo "${ECHO_T}$ac_res" >&6; }
36364 if test `eval echo '${'$as_ac_var'}'` = yes; then
36365 cat >>confdefs.h <<_ACEOF
36366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36367 _ACEOF
36368 WCSLEN_FOUND=1
36369 fi
36370 done
36371
36372
36373 if test "$WCSLEN_FOUND" = 0; then
36374 if test "$TOOLKIT" = "MSW"; then
36375 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36376 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36377 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36378 echo $ECHO_N "(cached) $ECHO_C" >&6
36379 else
36380 ac_check_lib_save_LIBS=$LIBS
36381 LIBS="-lmsvcrt $LIBS"
36382 cat >conftest.$ac_ext <<_ACEOF
36383 /* confdefs.h. */
36384 _ACEOF
36385 cat confdefs.h >>conftest.$ac_ext
36386 cat >>conftest.$ac_ext <<_ACEOF
36387 /* end confdefs.h. */
36388
36389 /* Override any GCC internal prototype to avoid an error.
36390 Use char because int might match the return type of a GCC
36391 builtin and then its argument prototype would still apply. */
36392 #ifdef __cplusplus
36393 extern "C"
36394 #endif
36395 char wcslen ();
36396 int
36397 main ()
36398 {
36399 return wcslen ();
36400 ;
36401 return 0;
36402 }
36403 _ACEOF
36404 rm -f conftest.$ac_objext conftest$ac_exeext
36405 if { (ac_try="$ac_link"
36406 case "(($ac_try" in
36407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36408 *) ac_try_echo=$ac_try;;
36409 esac
36410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36411 (eval "$ac_link") 2>conftest.er1
36412 ac_status=$?
36413 grep -v '^ *+' conftest.er1 >conftest.err
36414 rm -f conftest.er1
36415 cat conftest.err >&5
36416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36417 (exit $ac_status); } && {
36418 test -z "$ac_c_werror_flag" ||
36419 test ! -s conftest.err
36420 } && test -s conftest$ac_exeext &&
36421 $as_test_x conftest$ac_exeext; then
36422 ac_cv_lib_msvcrt_wcslen=yes
36423 else
36424 echo "$as_me: failed program was:" >&5
36425 sed 's/^/| /' conftest.$ac_ext >&5
36426
36427 ac_cv_lib_msvcrt_wcslen=no
36428 fi
36429
36430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36431 conftest$ac_exeext conftest.$ac_ext
36432 LIBS=$ac_check_lib_save_LIBS
36433 fi
36434 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36435 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36436 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36437 WCHAR_OK=1
36438 fi
36439
36440 else
36441 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36442 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36443 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36444 echo $ECHO_N "(cached) $ECHO_C" >&6
36445 else
36446 ac_check_lib_save_LIBS=$LIBS
36447 LIBS="-lw $LIBS"
36448 cat >conftest.$ac_ext <<_ACEOF
36449 /* confdefs.h. */
36450 _ACEOF
36451 cat confdefs.h >>conftest.$ac_ext
36452 cat >>conftest.$ac_ext <<_ACEOF
36453 /* end confdefs.h. */
36454
36455 /* Override any GCC internal prototype to avoid an error.
36456 Use char because int might match the return type of a GCC
36457 builtin and then its argument prototype would still apply. */
36458 #ifdef __cplusplus
36459 extern "C"
36460 #endif
36461 char wcslen ();
36462 int
36463 main ()
36464 {
36465 return wcslen ();
36466 ;
36467 return 0;
36468 }
36469 _ACEOF
36470 rm -f conftest.$ac_objext conftest$ac_exeext
36471 if { (ac_try="$ac_link"
36472 case "(($ac_try" in
36473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36474 *) ac_try_echo=$ac_try;;
36475 esac
36476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36477 (eval "$ac_link") 2>conftest.er1
36478 ac_status=$?
36479 grep -v '^ *+' conftest.er1 >conftest.err
36480 rm -f conftest.er1
36481 cat conftest.err >&5
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); } && {
36484 test -z "$ac_c_werror_flag" ||
36485 test ! -s conftest.err
36486 } && test -s conftest$ac_exeext &&
36487 $as_test_x conftest$ac_exeext; then
36488 ac_cv_lib_w_wcslen=yes
36489 else
36490 echo "$as_me: failed program was:" >&5
36491 sed 's/^/| /' conftest.$ac_ext >&5
36492
36493 ac_cv_lib_w_wcslen=no
36494 fi
36495
36496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36497 conftest$ac_exeext conftest.$ac_ext
36498 LIBS=$ac_check_lib_save_LIBS
36499 fi
36500 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36501 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36502 if test $ac_cv_lib_w_wcslen = yes; then
36503
36504 WCHAR_LINK=" -lw"
36505 WCSLEN_FOUND=1
36506
36507 fi
36508
36509 fi
36510 fi
36511
36512 if test "$WCSLEN_FOUND" = 1; then
36513 cat >>confdefs.h <<\_ACEOF
36514 #define HAVE_WCSLEN 1
36515 _ACEOF
36516
36517 fi
36518
36519
36520
36521
36522
36523
36524
36525 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36526 do
36527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 else
36533 cat >conftest.$ac_ext <<_ACEOF
36534 /* confdefs.h. */
36535 _ACEOF
36536 cat confdefs.h >>conftest.$ac_ext
36537 cat >>conftest.$ac_ext <<_ACEOF
36538 /* end confdefs.h. */
36539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36541 #define $ac_func innocuous_$ac_func
36542
36543 /* System header to define __stub macros and hopefully few prototypes,
36544 which can conflict with char $ac_func (); below.
36545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36546 <limits.h> exists even on freestanding compilers. */
36547
36548 #ifdef __STDC__
36549 # include <limits.h>
36550 #else
36551 # include <assert.h>
36552 #endif
36553
36554 #undef $ac_func
36555
36556 /* Override any GCC internal prototype to avoid an error.
36557 Use char because int might match the return type of a GCC
36558 builtin and then its argument prototype would still apply. */
36559 #ifdef __cplusplus
36560 extern "C"
36561 #endif
36562 char $ac_func ();
36563 /* The GNU C library defines this for functions which it implements
36564 to always fail with ENOSYS. Some functions are actually named
36565 something starting with __ and the normal name is an alias. */
36566 #if defined __stub_$ac_func || defined __stub___$ac_func
36567 choke me
36568 #endif
36569
36570 int
36571 main ()
36572 {
36573 return $ac_func ();
36574 ;
36575 return 0;
36576 }
36577 _ACEOF
36578 rm -f conftest.$ac_objext conftest$ac_exeext
36579 if { (ac_try="$ac_link"
36580 case "(($ac_try" in
36581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36582 *) ac_try_echo=$ac_try;;
36583 esac
36584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36585 (eval "$ac_link") 2>conftest.er1
36586 ac_status=$?
36587 grep -v '^ *+' conftest.er1 >conftest.err
36588 rm -f conftest.er1
36589 cat conftest.err >&5
36590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36591 (exit $ac_status); } && {
36592 test -z "$ac_c_werror_flag" ||
36593 test ! -s conftest.err
36594 } && test -s conftest$ac_exeext &&
36595 $as_test_x conftest$ac_exeext; then
36596 eval "$as_ac_var=yes"
36597 else
36598 echo "$as_me: failed program was:" >&5
36599 sed 's/^/| /' conftest.$ac_ext >&5
36600
36601 eval "$as_ac_var=no"
36602 fi
36603
36604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36605 conftest$ac_exeext conftest.$ac_ext
36606 fi
36607 ac_res=`eval echo '${'$as_ac_var'}'`
36608 { echo "$as_me:$LINENO: result: $ac_res" >&5
36609 echo "${ECHO_T}$ac_res" >&6; }
36610 if test `eval echo '${'$as_ac_var'}'` = yes; then
36611 cat >>confdefs.h <<_ACEOF
36612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36613 _ACEOF
36614
36615 fi
36616 done
36617
36618
36619 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36620 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36621 fi
36622
36623 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36624 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36625 if test "${ac_cv_type_mbstate_t+set}" = set; then
36626 echo $ECHO_N "(cached) $ECHO_C" >&6
36627 else
36628 cat >conftest.$ac_ext <<_ACEOF
36629 /* confdefs.h. */
36630 _ACEOF
36631 cat confdefs.h >>conftest.$ac_ext
36632 cat >>conftest.$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 #include <wchar.h>
36635
36636 typedef mbstate_t ac__type_new_;
36637 int
36638 main ()
36639 {
36640 if ((ac__type_new_ *) 0)
36641 return 0;
36642 if (sizeof (ac__type_new_))
36643 return 0;
36644 ;
36645 return 0;
36646 }
36647 _ACEOF
36648 rm -f conftest.$ac_objext
36649 if { (ac_try="$ac_compile"
36650 case "(($ac_try" in
36651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36652 *) ac_try_echo=$ac_try;;
36653 esac
36654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36655 (eval "$ac_compile") 2>conftest.er1
36656 ac_status=$?
36657 grep -v '^ *+' conftest.er1 >conftest.err
36658 rm -f conftest.er1
36659 cat conftest.err >&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); } && {
36662 test -z "$ac_c_werror_flag" ||
36663 test ! -s conftest.err
36664 } && test -s conftest.$ac_objext; then
36665 ac_cv_type_mbstate_t=yes
36666 else
36667 echo "$as_me: failed program was:" >&5
36668 sed 's/^/| /' conftest.$ac_ext >&5
36669
36670 ac_cv_type_mbstate_t=no
36671 fi
36672
36673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36674 fi
36675 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36676 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36677 if test $ac_cv_type_mbstate_t = yes; then
36678
36679 cat >>confdefs.h <<_ACEOF
36680 #define HAVE_MBSTATE_T 1
36681 _ACEOF
36682
36683
36684 for ac_func in wcsrtombs
36685 do
36686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36690 echo $ECHO_N "(cached) $ECHO_C" >&6
36691 else
36692 cat >conftest.$ac_ext <<_ACEOF
36693 /* confdefs.h. */
36694 _ACEOF
36695 cat confdefs.h >>conftest.$ac_ext
36696 cat >>conftest.$ac_ext <<_ACEOF
36697 /* end confdefs.h. */
36698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36700 #define $ac_func innocuous_$ac_func
36701
36702 /* System header to define __stub macros and hopefully few prototypes,
36703 which can conflict with char $ac_func (); below.
36704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36705 <limits.h> exists even on freestanding compilers. */
36706
36707 #ifdef __STDC__
36708 # include <limits.h>
36709 #else
36710 # include <assert.h>
36711 #endif
36712
36713 #undef $ac_func
36714
36715 /* Override any GCC internal prototype to avoid an error.
36716 Use char because int might match the return type of a GCC
36717 builtin and then its argument prototype would still apply. */
36718 #ifdef __cplusplus
36719 extern "C"
36720 #endif
36721 char $ac_func ();
36722 /* The GNU C library defines this for functions which it implements
36723 to always fail with ENOSYS. Some functions are actually named
36724 something starting with __ and the normal name is an alias. */
36725 #if defined __stub_$ac_func || defined __stub___$ac_func
36726 choke me
36727 #endif
36728
36729 int
36730 main ()
36731 {
36732 return $ac_func ();
36733 ;
36734 return 0;
36735 }
36736 _ACEOF
36737 rm -f conftest.$ac_objext conftest$ac_exeext
36738 if { (ac_try="$ac_link"
36739 case "(($ac_try" in
36740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36741 *) ac_try_echo=$ac_try;;
36742 esac
36743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36744 (eval "$ac_link") 2>conftest.er1
36745 ac_status=$?
36746 grep -v '^ *+' conftest.er1 >conftest.err
36747 rm -f conftest.er1
36748 cat conftest.err >&5
36749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36750 (exit $ac_status); } && {
36751 test -z "$ac_c_werror_flag" ||
36752 test ! -s conftest.err
36753 } && test -s conftest$ac_exeext &&
36754 $as_test_x conftest$ac_exeext; then
36755 eval "$as_ac_var=yes"
36756 else
36757 echo "$as_me: failed program was:" >&5
36758 sed 's/^/| /' conftest.$ac_ext >&5
36759
36760 eval "$as_ac_var=no"
36761 fi
36762
36763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36764 conftest$ac_exeext conftest.$ac_ext
36765 fi
36766 ac_res=`eval echo '${'$as_ac_var'}'`
36767 { echo "$as_me:$LINENO: result: $ac_res" >&5
36768 echo "${ECHO_T}$ac_res" >&6; }
36769 if test `eval echo '${'$as_ac_var'}'` = yes; then
36770 cat >>confdefs.h <<_ACEOF
36771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36772 _ACEOF
36773
36774 fi
36775 done
36776
36777 fi
36778
36779
36780
36781
36782
36783 for ac_func in snprintf vsnprintf vsscanf
36784 do
36785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36786 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36788 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36789 echo $ECHO_N "(cached) $ECHO_C" >&6
36790 else
36791 cat >conftest.$ac_ext <<_ACEOF
36792 /* confdefs.h. */
36793 _ACEOF
36794 cat confdefs.h >>conftest.$ac_ext
36795 cat >>conftest.$ac_ext <<_ACEOF
36796 /* end confdefs.h. */
36797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36799 #define $ac_func innocuous_$ac_func
36800
36801 /* System header to define __stub macros and hopefully few prototypes,
36802 which can conflict with char $ac_func (); below.
36803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36804 <limits.h> exists even on freestanding compilers. */
36805
36806 #ifdef __STDC__
36807 # include <limits.h>
36808 #else
36809 # include <assert.h>
36810 #endif
36811
36812 #undef $ac_func
36813
36814 /* Override any GCC internal prototype to avoid an error.
36815 Use char because int might match the return type of a GCC
36816 builtin and then its argument prototype would still apply. */
36817 #ifdef __cplusplus
36818 extern "C"
36819 #endif
36820 char $ac_func ();
36821 /* The GNU C library defines this for functions which it implements
36822 to always fail with ENOSYS. Some functions are actually named
36823 something starting with __ and the normal name is an alias. */
36824 #if defined __stub_$ac_func || defined __stub___$ac_func
36825 choke me
36826 #endif
36827
36828 int
36829 main ()
36830 {
36831 return $ac_func ();
36832 ;
36833 return 0;
36834 }
36835 _ACEOF
36836 rm -f conftest.$ac_objext conftest$ac_exeext
36837 if { (ac_try="$ac_link"
36838 case "(($ac_try" in
36839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36840 *) ac_try_echo=$ac_try;;
36841 esac
36842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36843 (eval "$ac_link") 2>conftest.er1
36844 ac_status=$?
36845 grep -v '^ *+' conftest.er1 >conftest.err
36846 rm -f conftest.er1
36847 cat conftest.err >&5
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); } && {
36850 test -z "$ac_c_werror_flag" ||
36851 test ! -s conftest.err
36852 } && test -s conftest$ac_exeext &&
36853 $as_test_x conftest$ac_exeext; then
36854 eval "$as_ac_var=yes"
36855 else
36856 echo "$as_me: failed program was:" >&5
36857 sed 's/^/| /' conftest.$ac_ext >&5
36858
36859 eval "$as_ac_var=no"
36860 fi
36861
36862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36863 conftest$ac_exeext conftest.$ac_ext
36864 fi
36865 ac_res=`eval echo '${'$as_ac_var'}'`
36866 { echo "$as_me:$LINENO: result: $ac_res" >&5
36867 echo "${ECHO_T}$ac_res" >&6; }
36868 if test `eval echo '${'$as_ac_var'}'` = yes; then
36869 cat >>confdefs.h <<_ACEOF
36870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36871 _ACEOF
36872
36873 fi
36874 done
36875
36876
36877 ac_ext=cpp
36878 ac_cpp='$CXXCPP $CPPFLAGS'
36879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36882
36883 if test "$ac_cv_func_vsnprintf" = "yes"; then
36884 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36885 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
36886 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36887 echo $ECHO_N "(cached) $ECHO_C" >&6
36888 else
36889
36890 cat >conftest.$ac_ext <<_ACEOF
36891 /* confdefs.h. */
36892 _ACEOF
36893 cat confdefs.h >>conftest.$ac_ext
36894 cat >>conftest.$ac_ext <<_ACEOF
36895 /* end confdefs.h. */
36896
36897 #include <stdio.h>
36898 #include <stdarg.h>
36899 #ifdef __MSL__
36900 #if __MSL__ >= 0x6000
36901 namespace std {}
36902 using namespace std;
36903 #endif
36904 #endif
36905
36906 int
36907 main ()
36908 {
36909
36910 char *buf;
36911 va_list ap;
36912 vsnprintf(buf, 10u, "%s", ap);
36913
36914 ;
36915 return 0;
36916 }
36917 _ACEOF
36918 rm -f conftest.$ac_objext
36919 if { (ac_try="$ac_compile"
36920 case "(($ac_try" in
36921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36922 *) ac_try_echo=$ac_try;;
36923 esac
36924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36925 (eval "$ac_compile") 2>conftest.er1
36926 ac_status=$?
36927 grep -v '^ *+' conftest.er1 >conftest.err
36928 rm -f conftest.er1
36929 cat conftest.err >&5
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); } && {
36932 test -z "$ac_cxx_werror_flag" ||
36933 test ! -s conftest.err
36934 } && test -s conftest.$ac_objext; then
36935 wx_cv_func_vsnprintf_decl=yes
36936 else
36937 echo "$as_me: failed program was:" >&5
36938 sed 's/^/| /' conftest.$ac_ext >&5
36939
36940 wx_cv_func_vsnprintf_decl=no
36941
36942 fi
36943
36944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36945
36946
36947 fi
36948 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36949 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
36950
36951 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36952 cat >>confdefs.h <<\_ACEOF
36953 #define HAVE_VSNPRINTF_DECL 1
36954 _ACEOF
36955
36956
36957 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36958 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
36959 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36960 echo $ECHO_N "(cached) $ECHO_C" >&6
36961 else
36962
36963 cat >conftest.$ac_ext <<_ACEOF
36964 /* confdefs.h. */
36965 _ACEOF
36966 cat confdefs.h >>conftest.$ac_ext
36967 cat >>conftest.$ac_ext <<_ACEOF
36968 /* end confdefs.h. */
36969
36970 #include <stdio.h>
36971 #include <stdarg.h>
36972 #ifdef __MSL__
36973 #if __MSL__ >= 0x6000
36974 namespace std {}
36975 using namespace std;
36976 #endif
36977 #endif
36978
36979 int
36980 main ()
36981 {
36982
36983 char *buf;
36984 va_list ap;
36985 const char *fmt = "%s";
36986 vsnprintf(buf, 10u, fmt, ap);
36987
36988 ;
36989 return 0;
36990 }
36991 _ACEOF
36992 rm -f conftest.$ac_objext
36993 if { (ac_try="$ac_compile"
36994 case "(($ac_try" in
36995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36996 *) ac_try_echo=$ac_try;;
36997 esac
36998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36999 (eval "$ac_compile") 2>conftest.er1
37000 ac_status=$?
37001 grep -v '^ *+' conftest.er1 >conftest.err
37002 rm -f conftest.er1
37003 cat conftest.err >&5
37004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); } && {
37006 test -z "$ac_cxx_werror_flag" ||
37007 test ! -s conftest.err
37008 } && test -s conftest.$ac_objext; then
37009 wx_cv_func_broken_vsnprintf_decl=no
37010 else
37011 echo "$as_me: failed program was:" >&5
37012 sed 's/^/| /' conftest.$ac_ext >&5
37013
37014 wx_cv_func_broken_vsnprintf_decl=yes
37015
37016 fi
37017
37018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37019
37020
37021 fi
37022 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37023 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37024
37025 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37026 cat >>confdefs.h <<\_ACEOF
37027 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37028 _ACEOF
37029
37030 fi
37031 fi
37032 fi
37033
37034 if test "$ac_cv_func_snprintf" = "yes"; then
37035 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37036 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37037 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37038 echo $ECHO_N "(cached) $ECHO_C" >&6
37039 else
37040
37041 cat >conftest.$ac_ext <<_ACEOF
37042 /* confdefs.h. */
37043 _ACEOF
37044 cat confdefs.h >>conftest.$ac_ext
37045 cat >>conftest.$ac_ext <<_ACEOF
37046 /* end confdefs.h. */
37047
37048 #include <stdio.h>
37049 #include <stdarg.h>
37050 #ifdef __MSL__
37051 #if __MSL__ >= 0x6000
37052 namespace std {}
37053 using namespace std;
37054 #endif
37055 #endif
37056
37057 int
37058 main ()
37059 {
37060
37061 char *buf;
37062 snprintf(buf, 10u, "%s", "wx");
37063
37064 ;
37065 return 0;
37066 }
37067 _ACEOF
37068 rm -f conftest.$ac_objext
37069 if { (ac_try="$ac_compile"
37070 case "(($ac_try" in
37071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37072 *) ac_try_echo=$ac_try;;
37073 esac
37074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37075 (eval "$ac_compile") 2>conftest.er1
37076 ac_status=$?
37077 grep -v '^ *+' conftest.er1 >conftest.err
37078 rm -f conftest.er1
37079 cat conftest.err >&5
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); } && {
37082 test -z "$ac_cxx_werror_flag" ||
37083 test ! -s conftest.err
37084 } && test -s conftest.$ac_objext; then
37085 wx_cv_func_snprintf_decl=yes
37086 else
37087 echo "$as_me: failed program was:" >&5
37088 sed 's/^/| /' conftest.$ac_ext >&5
37089
37090 wx_cv_func_snprintf_decl=no
37091
37092 fi
37093
37094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37095
37096
37097 fi
37098 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37099 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37100
37101 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37102 cat >>confdefs.h <<\_ACEOF
37103 #define HAVE_SNPRINTF_DECL 1
37104 _ACEOF
37105
37106 fi
37107
37108 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37109
37110 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37111 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37112 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37114 else
37115
37116 if test "$cross_compiling" = yes; then
37117
37118 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37119 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37120 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37121 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37122 wx_cv_func_snprintf_pos_params=no
37123
37124
37125 else
37126 cat >conftest.$ac_ext <<_ACEOF
37127 /* confdefs.h. */
37128 _ACEOF
37129 cat confdefs.h >>conftest.$ac_ext
37130 cat >>conftest.$ac_ext <<_ACEOF
37131 /* end confdefs.h. */
37132
37133 #include <stdio.h>
37134
37135 int main (void)
37136 {
37137 char buffer[128];
37138 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37139 if (strcmp ("2 3 1", buffer) == 0)
37140 exit (0);
37141 exit (1);
37142 }
37143
37144 _ACEOF
37145 rm -f conftest$ac_exeext
37146 if { (ac_try="$ac_link"
37147 case "(($ac_try" in
37148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37149 *) ac_try_echo=$ac_try;;
37150 esac
37151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37152 (eval "$ac_link") 2>&5
37153 ac_status=$?
37154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37155 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37156 { (case "(($ac_try" in
37157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37158 *) ac_try_echo=$ac_try;;
37159 esac
37160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37161 (eval "$ac_try") 2>&5
37162 ac_status=$?
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); }; }; then
37165 wx_cv_func_snprintf_pos_params=no
37166 else
37167 echo "$as_me: program exited with status $ac_status" >&5
37168 echo "$as_me: failed program was:" >&5
37169 sed 's/^/| /' conftest.$ac_ext >&5
37170
37171 ( exit $ac_status )
37172 wx_cv_func_snprintf_pos_params=yes
37173 fi
37174 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37175 fi
37176
37177
37178
37179
37180 fi
37181 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37182 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37183
37184 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37185 cat >>confdefs.h <<\_ACEOF
37186 #define HAVE_UNIX98_PRINTF 1
37187 _ACEOF
37188
37189 fi
37190 fi
37191 fi
37192
37193 if test "$ac_cv_func_vsscanf" = "yes"; then
37194 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37195 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37196 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37197 echo $ECHO_N "(cached) $ECHO_C" >&6
37198 else
37199
37200 cat >conftest.$ac_ext <<_ACEOF
37201 /* confdefs.h. */
37202 _ACEOF
37203 cat confdefs.h >>conftest.$ac_ext
37204 cat >>conftest.$ac_ext <<_ACEOF
37205 /* end confdefs.h. */
37206
37207 #include <stdio.h>
37208 #include <stdarg.h>
37209 #ifdef __MSL__
37210 #if __MSL__ >= 0x6000
37211 namespace std {}
37212 using namespace std;
37213 #endif
37214 #endif
37215
37216 int
37217 main ()
37218 {
37219
37220 char *buf;
37221 va_list args;
37222 vsscanf(buf, "%s", args);
37223
37224 ;
37225 return 0;
37226 }
37227 _ACEOF
37228 rm -f conftest.$ac_objext
37229 if { (ac_try="$ac_compile"
37230 case "(($ac_try" in
37231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37232 *) ac_try_echo=$ac_try;;
37233 esac
37234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37235 (eval "$ac_compile") 2>conftest.er1
37236 ac_status=$?
37237 grep -v '^ *+' conftest.er1 >conftest.err
37238 rm -f conftest.er1
37239 cat conftest.err >&5
37240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37241 (exit $ac_status); } && {
37242 test -z "$ac_cxx_werror_flag" ||
37243 test ! -s conftest.err
37244 } && test -s conftest.$ac_objext; then
37245 wx_cv_func_vsscanf_decl=yes
37246 else
37247 echo "$as_me: failed program was:" >&5
37248 sed 's/^/| /' conftest.$ac_ext >&5
37249
37250 wx_cv_func_vsscanf_decl=no
37251
37252 fi
37253
37254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37255
37256
37257 fi
37258 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37259 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37260
37261 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37262 cat >>confdefs.h <<\_ACEOF
37263 #define HAVE_VSSCANF_DECL 1
37264 _ACEOF
37265
37266 fi
37267 fi
37268 ac_ext=c
37269 ac_cpp='$CPP $CPPFLAGS'
37270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37273
37274
37275 if test "$wxUSE_UNICODE" = yes; then
37276
37277 wchar_headers="#include <stdio.h>
37278 #include <wchar.h>"
37279 case "${host}" in
37280 *-*-solaris2* )
37281
37282 for ac_header in widec.h
37283 do
37284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37288 echo $ECHO_N "(cached) $ECHO_C" >&6
37289 else
37290 cat >conftest.$ac_ext <<_ACEOF
37291 /* confdefs.h. */
37292 _ACEOF
37293 cat confdefs.h >>conftest.$ac_ext
37294 cat >>conftest.$ac_ext <<_ACEOF
37295 /* end confdefs.h. */
37296 $ac_includes_default
37297
37298 #include <$ac_header>
37299 _ACEOF
37300 rm -f conftest.$ac_objext
37301 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
37317 eval "$as_ac_Header=yes"
37318 else
37319 echo "$as_me: failed program was:" >&5
37320 sed 's/^/| /' conftest.$ac_ext >&5
37321
37322 eval "$as_ac_Header=no"
37323 fi
37324
37325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37326 fi
37327 ac_res=`eval echo '${'$as_ac_Header'}'`
37328 { echo "$as_me:$LINENO: result: $ac_res" >&5
37329 echo "${ECHO_T}$ac_res" >&6; }
37330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37331 cat >>confdefs.h <<_ACEOF
37332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37333 _ACEOF
37334
37335 fi
37336
37337 done
37338
37339 if test "$ac_cv_header_widec_h" = "yes"; then
37340 wchar_headers="$wchar_headers
37341 #include <widec.h>"
37342 fi
37343 esac
37344
37345
37346 for wx_func in putws fputws wprintf vswprintf vswscanf
37347 do
37348 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37349 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37350 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37351 echo $ECHO_N "(cached) $ECHO_C" >&6
37352 else
37353
37354 cat >conftest.$ac_ext <<_ACEOF
37355
37356 /* confdefs.h. */
37357 _ACEOF
37358 cat confdefs.h >>conftest.$ac_ext
37359 cat >>conftest.$ac_ext <<_ACEOF
37360 /* end confdefs.h. */
37361
37362 $wchar_headers
37363 $ac_includes_default
37364
37365 int
37366 main ()
37367 {
37368
37369 #ifndef $wx_func
37370 &$wx_func;
37371 #endif
37372
37373
37374 ;
37375 return 0;
37376 }
37377
37378 _ACEOF
37379 rm -f conftest.$ac_objext conftest$ac_exeext
37380 if { (ac_try="$ac_link"
37381 case "(($ac_try" in
37382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37383 *) ac_try_echo=$ac_try;;
37384 esac
37385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37386 (eval "$ac_link") 2>conftest.er1
37387 ac_status=$?
37388 grep -v '^ *+' conftest.er1 >conftest.err
37389 rm -f conftest.er1
37390 cat conftest.err >&5
37391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392 (exit $ac_status); } && {
37393 test -z "$ac_c_werror_flag" ||
37394 test ! -s conftest.err
37395 } && test -s conftest$ac_exeext &&
37396 $as_test_x conftest$ac_exeext; then
37397 eval wx_cv_func_$wx_func=yes
37398 else
37399 echo "$as_me: failed program was:" >&5
37400 sed 's/^/| /' conftest.$ac_ext >&5
37401
37402 eval wx_cv_func_$wx_func=no
37403 fi
37404
37405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37406 conftest$ac_exeext conftest.$ac_ext
37407
37408 fi
37409 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37410 { echo "$as_me:$LINENO: result: $ac_res" >&5
37411 echo "${ECHO_T}$ac_res" >&6; }
37412
37413 if eval test \$wx_cv_func_$wx_func = yes
37414 then
37415 cat >>confdefs.h <<_ACEOF
37416 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37417 _ACEOF
37418
37419
37420 else
37421 :
37422
37423 fi
37424 done
37425
37426
37427 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37428 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37429 cat >conftest.$ac_ext <<_ACEOF
37430 /* confdefs.h. */
37431 _ACEOF
37432 cat confdefs.h >>conftest.$ac_ext
37433 cat >>conftest.$ac_ext <<_ACEOF
37434 /* end confdefs.h. */
37435 #include <wchar.h>
37436 int
37437 main ()
37438 {
37439 &_vsnwprintf;
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_c_werror_flag" ||
37459 test ! -s conftest.err
37460 } && test -s conftest.$ac_objext; then
37461 { echo "$as_me:$LINENO: result: yes" >&5
37462 echo "${ECHO_T}yes" >&6; }
37463 cat >>confdefs.h <<\_ACEOF
37464 #define HAVE__VSNWPRINTF 1
37465 _ACEOF
37466
37467 else
37468 echo "$as_me: failed program was:" >&5
37469 sed 's/^/| /' conftest.$ac_ext >&5
37470
37471 { echo "$as_me:$LINENO: result: no" >&5
37472 echo "${ECHO_T}no" >&6; }
37473 fi
37474
37475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37476 fi
37477
37478 if test "$wxUSE_FILE" = "yes"; then
37479
37480 for wx_func in fsync
37481 do
37482 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37483 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37484 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37485 echo $ECHO_N "(cached) $ECHO_C" >&6
37486 else
37487
37488 cat >conftest.$ac_ext <<_ACEOF
37489
37490 /* confdefs.h. */
37491 _ACEOF
37492 cat confdefs.h >>conftest.$ac_ext
37493 cat >>conftest.$ac_ext <<_ACEOF
37494 /* end confdefs.h. */
37495
37496
37497 $ac_includes_default
37498
37499 int
37500 main ()
37501 {
37502
37503 #ifndef $wx_func
37504 &$wx_func;
37505 #endif
37506
37507
37508 ;
37509 return 0;
37510 }
37511
37512 _ACEOF
37513 rm -f conftest.$ac_objext conftest$ac_exeext
37514 if { (ac_try="$ac_link"
37515 case "(($ac_try" in
37516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37517 *) ac_try_echo=$ac_try;;
37518 esac
37519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37520 (eval "$ac_link") 2>conftest.er1
37521 ac_status=$?
37522 grep -v '^ *+' conftest.er1 >conftest.err
37523 rm -f conftest.er1
37524 cat conftest.err >&5
37525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37526 (exit $ac_status); } && {
37527 test -z "$ac_c_werror_flag" ||
37528 test ! -s conftest.err
37529 } && test -s conftest$ac_exeext &&
37530 $as_test_x conftest$ac_exeext; then
37531 eval wx_cv_func_$wx_func=yes
37532 else
37533 echo "$as_me: failed program was:" >&5
37534 sed 's/^/| /' conftest.$ac_ext >&5
37535
37536 eval wx_cv_func_$wx_func=no
37537 fi
37538
37539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37540 conftest$ac_exeext conftest.$ac_ext
37541
37542 fi
37543 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37544 { echo "$as_me:$LINENO: result: $ac_res" >&5
37545 echo "${ECHO_T}$ac_res" >&6; }
37546
37547 if eval test \$wx_cv_func_$wx_func = yes
37548 then
37549 cat >>confdefs.h <<_ACEOF
37550 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37551 _ACEOF
37552
37553
37554 else
37555 :
37556
37557 fi
37558 done
37559
37560 fi
37561
37562 ac_ext=cpp
37563 ac_cpp='$CXXCPP $CPPFLAGS'
37564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37567
37568
37569 for wx_func in round
37570 do
37571 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37572 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37573 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37574 echo $ECHO_N "(cached) $ECHO_C" >&6
37575 else
37576
37577 cat >conftest.$ac_ext <<_ACEOF
37578
37579 /* confdefs.h. */
37580 _ACEOF
37581 cat confdefs.h >>conftest.$ac_ext
37582 cat >>conftest.$ac_ext <<_ACEOF
37583 /* end confdefs.h. */
37584
37585 #include <math.h>
37586 $ac_includes_default
37587
37588 int
37589 main ()
37590 {
37591
37592 #ifndef $wx_func
37593 &$wx_func;
37594 #endif
37595
37596
37597 ;
37598 return 0;
37599 }
37600
37601 _ACEOF
37602 rm -f conftest.$ac_objext conftest$ac_exeext
37603 if { (ac_try="$ac_link"
37604 case "(($ac_try" in
37605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37606 *) ac_try_echo=$ac_try;;
37607 esac
37608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37609 (eval "$ac_link") 2>conftest.er1
37610 ac_status=$?
37611 grep -v '^ *+' conftest.er1 >conftest.err
37612 rm -f conftest.er1
37613 cat conftest.err >&5
37614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37615 (exit $ac_status); } && {
37616 test -z "$ac_cxx_werror_flag" ||
37617 test ! -s conftest.err
37618 } && test -s conftest$ac_exeext &&
37619 $as_test_x conftest$ac_exeext; then
37620 eval wx_cv_func_$wx_func=yes
37621 else
37622 echo "$as_me: failed program was:" >&5
37623 sed 's/^/| /' conftest.$ac_ext >&5
37624
37625 eval wx_cv_func_$wx_func=no
37626 fi
37627
37628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37629 conftest$ac_exeext conftest.$ac_ext
37630
37631 fi
37632 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37633 { echo "$as_me:$LINENO: result: $ac_res" >&5
37634 echo "${ECHO_T}$ac_res" >&6; }
37635
37636 if eval test \$wx_cv_func_$wx_func = yes
37637 then
37638 cat >>confdefs.h <<_ACEOF
37639 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37640 _ACEOF
37641
37642
37643 else
37644 :
37645
37646 fi
37647 done
37648
37649 ac_ext=c
37650 ac_cpp='$CPP $CPPFLAGS'
37651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37654
37655
37656 if test "$TOOLKIT" != "MSW"; then
37657
37658 if test "$wxUSE_LIBICONV" != "no" ; then
37659
37660
37661
37662 # Check whether --with-libiconv-prefix was given.
37663 if test "${with_libiconv_prefix+set}" = set; then
37664 withval=$with_libiconv_prefix;
37665 for dir in `echo "$withval" | tr : ' '`; do
37666 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37667 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37668 done
37669
37670 fi
37671
37672
37673 { echo "$as_me:$LINENO: checking for iconv" >&5
37674 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37675 if test "${am_cv_func_iconv+set}" = set; then
37676 echo $ECHO_N "(cached) $ECHO_C" >&6
37677 else
37678
37679 am_cv_func_iconv="no, consider installing GNU libiconv"
37680 am_cv_lib_iconv=no
37681 cat >conftest.$ac_ext <<_ACEOF
37682 /* confdefs.h. */
37683 _ACEOF
37684 cat confdefs.h >>conftest.$ac_ext
37685 cat >>conftest.$ac_ext <<_ACEOF
37686 /* end confdefs.h. */
37687 #include <stdlib.h>
37688 #include <iconv.h>
37689 int
37690 main ()
37691 {
37692 iconv_t cd = iconv_open("","");
37693 iconv(cd,NULL,NULL,NULL,NULL);
37694 iconv_close(cd);
37695 ;
37696 return 0;
37697 }
37698 _ACEOF
37699 rm -f conftest.$ac_objext conftest$ac_exeext
37700 if { (ac_try="$ac_link"
37701 case "(($ac_try" in
37702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37703 *) ac_try_echo=$ac_try;;
37704 esac
37705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37706 (eval "$ac_link") 2>conftest.er1
37707 ac_status=$?
37708 grep -v '^ *+' conftest.er1 >conftest.err
37709 rm -f conftest.er1
37710 cat conftest.err >&5
37711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37712 (exit $ac_status); } && {
37713 test -z "$ac_c_werror_flag" ||
37714 test ! -s conftest.err
37715 } && test -s conftest$ac_exeext &&
37716 $as_test_x conftest$ac_exeext; then
37717 am_cv_func_iconv=yes
37718 else
37719 echo "$as_me: failed program was:" >&5
37720 sed 's/^/| /' conftest.$ac_ext >&5
37721
37722
37723 fi
37724
37725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37726 conftest$ac_exeext conftest.$ac_ext
37727 if test "$am_cv_func_iconv" != yes; then
37728 am_save_LIBS="$LIBS"
37729 LIBS="$LIBS -liconv"
37730 cat >conftest.$ac_ext <<_ACEOF
37731 /* confdefs.h. */
37732 _ACEOF
37733 cat confdefs.h >>conftest.$ac_ext
37734 cat >>conftest.$ac_ext <<_ACEOF
37735 /* end confdefs.h. */
37736 #include <stdlib.h>
37737 #include <iconv.h>
37738 int
37739 main ()
37740 {
37741 iconv_t cd = iconv_open("","");
37742 iconv(cd,NULL,NULL,NULL,NULL);
37743 iconv_close(cd);
37744 ;
37745 return 0;
37746 }
37747 _ACEOF
37748 rm -f conftest.$ac_objext conftest$ac_exeext
37749 if { (ac_try="$ac_link"
37750 case "(($ac_try" in
37751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37752 *) ac_try_echo=$ac_try;;
37753 esac
37754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37755 (eval "$ac_link") 2>conftest.er1
37756 ac_status=$?
37757 grep -v '^ *+' conftest.er1 >conftest.err
37758 rm -f conftest.er1
37759 cat conftest.err >&5
37760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761 (exit $ac_status); } && {
37762 test -z "$ac_c_werror_flag" ||
37763 test ! -s conftest.err
37764 } && test -s conftest$ac_exeext &&
37765 $as_test_x conftest$ac_exeext; then
37766 am_cv_lib_iconv=yes
37767 am_cv_func_iconv=yes
37768 else
37769 echo "$as_me: failed program was:" >&5
37770 sed 's/^/| /' conftest.$ac_ext >&5
37771
37772
37773 fi
37774
37775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37776 conftest$ac_exeext conftest.$ac_ext
37777 LIBS="$am_save_LIBS"
37778 fi
37779
37780 fi
37781 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37782 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37783 if test "$am_cv_func_iconv" = yes; then
37784
37785 cat >>confdefs.h <<\_ACEOF
37786 #define HAVE_ICONV 1
37787 _ACEOF
37788
37789 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37790 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37791 if test "${wx_cv_func_iconv_const+set}" = set; then
37792 echo $ECHO_N "(cached) $ECHO_C" >&6
37793 else
37794 cat >conftest.$ac_ext <<_ACEOF
37795 /* confdefs.h. */
37796 _ACEOF
37797 cat confdefs.h >>conftest.$ac_ext
37798 cat >>conftest.$ac_ext <<_ACEOF
37799 /* end confdefs.h. */
37800
37801 #include <stdlib.h>
37802 #include <iconv.h>
37803 extern
37804 #ifdef __cplusplus
37805 "C"
37806 #endif
37807 #if defined(__STDC__) || defined(__cplusplus)
37808 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37809 #else
37810 size_t iconv();
37811 #endif
37812
37813 int
37814 main ()
37815 {
37816
37817 ;
37818 return 0;
37819 }
37820 _ACEOF
37821 rm -f conftest.$ac_objext
37822 if { (ac_try="$ac_compile"
37823 case "(($ac_try" in
37824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37825 *) ac_try_echo=$ac_try;;
37826 esac
37827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37828 (eval "$ac_compile") 2>conftest.er1
37829 ac_status=$?
37830 grep -v '^ *+' conftest.er1 >conftest.err
37831 rm -f conftest.er1
37832 cat conftest.err >&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } && {
37835 test -z "$ac_c_werror_flag" ||
37836 test ! -s conftest.err
37837 } && test -s conftest.$ac_objext; then
37838 wx_cv_func_iconv_const="no"
37839 else
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37842
37843 wx_cv_func_iconv_const="yes"
37844
37845 fi
37846
37847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37848
37849 fi
37850 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37851 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
37852
37853 iconv_const=
37854 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37855 iconv_const="const"
37856 fi
37857
37858
37859 cat >>confdefs.h <<_ACEOF
37860 #define ICONV_CONST $iconv_const
37861 _ACEOF
37862
37863 fi
37864 LIBICONV=
37865 if test "$am_cv_lib_iconv" = yes; then
37866 LIBICONV="-liconv"
37867 fi
37868
37869
37870 LIBS="$LIBICONV $LIBS"
37871 fi
37872
37873 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37874
37875 for ac_func in sigaction
37876 do
37877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37878 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37880 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37881 echo $ECHO_N "(cached) $ECHO_C" >&6
37882 else
37883 cat >conftest.$ac_ext <<_ACEOF
37884 /* confdefs.h. */
37885 _ACEOF
37886 cat confdefs.h >>conftest.$ac_ext
37887 cat >>conftest.$ac_ext <<_ACEOF
37888 /* end confdefs.h. */
37889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37891 #define $ac_func innocuous_$ac_func
37892
37893 /* System header to define __stub macros and hopefully few prototypes,
37894 which can conflict with char $ac_func (); below.
37895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37896 <limits.h> exists even on freestanding compilers. */
37897
37898 #ifdef __STDC__
37899 # include <limits.h>
37900 #else
37901 # include <assert.h>
37902 #endif
37903
37904 #undef $ac_func
37905
37906 /* Override any GCC internal prototype to avoid an error.
37907 Use char because int might match the return type of a GCC
37908 builtin and then its argument prototype would still apply. */
37909 #ifdef __cplusplus
37910 extern "C"
37911 #endif
37912 char $ac_func ();
37913 /* The GNU C library defines this for functions which it implements
37914 to always fail with ENOSYS. Some functions are actually named
37915 something starting with __ and the normal name is an alias. */
37916 #if defined __stub_$ac_func || defined __stub___$ac_func
37917 choke me
37918 #endif
37919
37920 int
37921 main ()
37922 {
37923 return $ac_func ();
37924 ;
37925 return 0;
37926 }
37927 _ACEOF
37928 rm -f conftest.$ac_objext conftest$ac_exeext
37929 if { (ac_try="$ac_link"
37930 case "(($ac_try" in
37931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37932 *) ac_try_echo=$ac_try;;
37933 esac
37934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37935 (eval "$ac_link") 2>conftest.er1
37936 ac_status=$?
37937 grep -v '^ *+' conftest.er1 >conftest.err
37938 rm -f conftest.er1
37939 cat conftest.err >&5
37940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37941 (exit $ac_status); } && {
37942 test -z "$ac_c_werror_flag" ||
37943 test ! -s conftest.err
37944 } && test -s conftest$ac_exeext &&
37945 $as_test_x conftest$ac_exeext; then
37946 eval "$as_ac_var=yes"
37947 else
37948 echo "$as_me: failed program was:" >&5
37949 sed 's/^/| /' conftest.$ac_ext >&5
37950
37951 eval "$as_ac_var=no"
37952 fi
37953
37954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37955 conftest$ac_exeext conftest.$ac_ext
37956 fi
37957 ac_res=`eval echo '${'$as_ac_var'}'`
37958 { echo "$as_me:$LINENO: result: $ac_res" >&5
37959 echo "${ECHO_T}$ac_res" >&6; }
37960 if test `eval echo '${'$as_ac_var'}'` = yes; then
37961 cat >>confdefs.h <<_ACEOF
37962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37963 _ACEOF
37964
37965 fi
37966 done
37967
37968
37969 if test "$ac_cv_func_sigaction" = "no"; then
37970 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37971 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37972 wxUSE_ON_FATAL_EXCEPTION=no
37973 fi
37974
37975 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37976 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
37977 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
37978 if test "${wx_cv_type_sa_handler+set}" = set; then
37979 echo $ECHO_N "(cached) $ECHO_C" >&6
37980 else
37981
37982 ac_ext=cpp
37983 ac_cpp='$CXXCPP $CPPFLAGS'
37984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37987
37988 cat >conftest.$ac_ext <<_ACEOF
37989 /* confdefs.h. */
37990 _ACEOF
37991 cat confdefs.h >>conftest.$ac_ext
37992 cat >>conftest.$ac_ext <<_ACEOF
37993 /* end confdefs.h. */
37994 #include <signal.h>
37995 int
37996 main ()
37997 {
37998
37999 extern void testSigHandler(int);
38000
38001 struct sigaction sa;
38002 sa.sa_handler = testSigHandler;
38003
38004 ;
38005 return 0;
38006 }
38007 _ACEOF
38008 rm -f conftest.$ac_objext
38009 if { (ac_try="$ac_compile"
38010 case "(($ac_try" in
38011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38012 *) ac_try_echo=$ac_try;;
38013 esac
38014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38015 (eval "$ac_compile") 2>conftest.er1
38016 ac_status=$?
38017 grep -v '^ *+' conftest.er1 >conftest.err
38018 rm -f conftest.er1
38019 cat conftest.err >&5
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); } && {
38022 test -z "$ac_cxx_werror_flag" ||
38023 test ! -s conftest.err
38024 } && test -s conftest.$ac_objext; then
38025
38026 wx_cv_type_sa_handler=int
38027
38028 else
38029 echo "$as_me: failed program was:" >&5
38030 sed 's/^/| /' conftest.$ac_ext >&5
38031
38032
38033 wx_cv_type_sa_handler=void
38034
38035 fi
38036
38037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38038 ac_ext=c
38039 ac_cpp='$CPP $CPPFLAGS'
38040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38043
38044
38045 fi
38046 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38047 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38048
38049 cat >>confdefs.h <<_ACEOF
38050 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38051 _ACEOF
38052
38053 fi
38054 fi
38055
38056 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38057 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38058 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38059 if test "${wx_cv_func_backtrace+set}" = set; then
38060 echo $ECHO_N "(cached) $ECHO_C" >&6
38061 else
38062
38063 ac_ext=cpp
38064 ac_cpp='$CXXCPP $CPPFLAGS'
38065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38068
38069 cat >conftest.$ac_ext <<_ACEOF
38070 /* confdefs.h. */
38071 _ACEOF
38072 cat confdefs.h >>conftest.$ac_ext
38073 cat >>conftest.$ac_ext <<_ACEOF
38074 /* end confdefs.h. */
38075 #include <execinfo.h>
38076 int
38077 main ()
38078 {
38079
38080 void *trace[1];
38081 char **messages;
38082
38083 backtrace(trace, 1);
38084 messages = backtrace_symbols(trace, 1);
38085
38086 ;
38087 return 0;
38088 }
38089 _ACEOF
38090 rm -f conftest.$ac_objext
38091 if { (ac_try="$ac_compile"
38092 case "(($ac_try" in
38093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38094 *) ac_try_echo=$ac_try;;
38095 esac
38096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38097 (eval "$ac_compile") 2>conftest.er1
38098 ac_status=$?
38099 grep -v '^ *+' conftest.er1 >conftest.err
38100 rm -f conftest.er1
38101 cat conftest.err >&5
38102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38103 (exit $ac_status); } && {
38104 test -z "$ac_cxx_werror_flag" ||
38105 test ! -s conftest.err
38106 } && test -s conftest.$ac_objext; then
38107 wx_cv_func_backtrace=yes
38108 else
38109 echo "$as_me: failed program was:" >&5
38110 sed 's/^/| /' conftest.$ac_ext >&5
38111
38112 wx_cv_func_backtrace=no
38113
38114 fi
38115
38116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38117 ac_ext=c
38118 ac_cpp='$CPP $CPPFLAGS'
38119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38122
38123
38124
38125 fi
38126 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38127 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38128
38129
38130 if test "$wx_cv_func_backtrace" = "no"; then
38131 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38132 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38133 wxUSE_STACKWALKER=no
38134 else
38135 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38136 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38137 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38138 echo $ECHO_N "(cached) $ECHO_C" >&6
38139 else
38140
38141 ac_ext=cpp
38142 ac_cpp='$CXXCPP $CPPFLAGS'
38143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38146
38147 cat >conftest.$ac_ext <<_ACEOF
38148 /* confdefs.h. */
38149 _ACEOF
38150 cat confdefs.h >>conftest.$ac_ext
38151 cat >>conftest.$ac_ext <<_ACEOF
38152 /* end confdefs.h. */
38153 #include <cxxabi.h>
38154 int
38155 main ()
38156 {
38157
38158 int rc;
38159 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38160
38161 ;
38162 return 0;
38163 }
38164 _ACEOF
38165 rm -f conftest.$ac_objext conftest$ac_exeext
38166 if { (ac_try="$ac_link"
38167 case "(($ac_try" in
38168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38169 *) ac_try_echo=$ac_try;;
38170 esac
38171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38172 (eval "$ac_link") 2>conftest.er1
38173 ac_status=$?
38174 grep -v '^ *+' conftest.er1 >conftest.err
38175 rm -f conftest.er1
38176 cat conftest.err >&5
38177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38178 (exit $ac_status); } && {
38179 test -z "$ac_cxx_werror_flag" ||
38180 test ! -s conftest.err
38181 } && test -s conftest$ac_exeext &&
38182 $as_test_x conftest$ac_exeext; then
38183 wx_cv_func_cxa_demangle=yes
38184 else
38185 echo "$as_me: failed program was:" >&5
38186 sed 's/^/| /' conftest.$ac_ext >&5
38187
38188 wx_cv_func_cxa_demangle=no
38189
38190 fi
38191
38192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38193 conftest$ac_exeext conftest.$ac_ext
38194 ac_ext=c
38195 ac_cpp='$CPP $CPPFLAGS'
38196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38199
38200
38201
38202 fi
38203 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38204 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38205
38206 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38207 cat >>confdefs.h <<\_ACEOF
38208 #define HAVE_CXA_DEMANGLE 1
38209 _ACEOF
38210
38211 fi
38212 fi
38213 fi
38214
38215 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38216 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38217 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38218 wxUSE_STACKWALKER=no
38219 fi
38220
38221
38222
38223
38224 for ac_func in mkstemp mktemp
38225 do
38226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38227 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38229 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38230 echo $ECHO_N "(cached) $ECHO_C" >&6
38231 else
38232 cat >conftest.$ac_ext <<_ACEOF
38233 /* confdefs.h. */
38234 _ACEOF
38235 cat confdefs.h >>conftest.$ac_ext
38236 cat >>conftest.$ac_ext <<_ACEOF
38237 /* end confdefs.h. */
38238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38240 #define $ac_func innocuous_$ac_func
38241
38242 /* System header to define __stub macros and hopefully few prototypes,
38243 which can conflict with char $ac_func (); below.
38244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38245 <limits.h> exists even on freestanding compilers. */
38246
38247 #ifdef __STDC__
38248 # include <limits.h>
38249 #else
38250 # include <assert.h>
38251 #endif
38252
38253 #undef $ac_func
38254
38255 /* Override any GCC internal prototype to avoid an error.
38256 Use char because int might match the return type of a GCC
38257 builtin and then its argument prototype would still apply. */
38258 #ifdef __cplusplus
38259 extern "C"
38260 #endif
38261 char $ac_func ();
38262 /* The GNU C library defines this for functions which it implements
38263 to always fail with ENOSYS. Some functions are actually named
38264 something starting with __ and the normal name is an alias. */
38265 #if defined __stub_$ac_func || defined __stub___$ac_func
38266 choke me
38267 #endif
38268
38269 int
38270 main ()
38271 {
38272 return $ac_func ();
38273 ;
38274 return 0;
38275 }
38276 _ACEOF
38277 rm -f conftest.$ac_objext conftest$ac_exeext
38278 if { (ac_try="$ac_link"
38279 case "(($ac_try" in
38280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38281 *) ac_try_echo=$ac_try;;
38282 esac
38283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38284 (eval "$ac_link") 2>conftest.er1
38285 ac_status=$?
38286 grep -v '^ *+' conftest.er1 >conftest.err
38287 rm -f conftest.er1
38288 cat conftest.err >&5
38289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38290 (exit $ac_status); } && {
38291 test -z "$ac_c_werror_flag" ||
38292 test ! -s conftest.err
38293 } && test -s conftest$ac_exeext &&
38294 $as_test_x conftest$ac_exeext; then
38295 eval "$as_ac_var=yes"
38296 else
38297 echo "$as_me: failed program was:" >&5
38298 sed 's/^/| /' conftest.$ac_ext >&5
38299
38300 eval "$as_ac_var=no"
38301 fi
38302
38303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38304 conftest$ac_exeext conftest.$ac_ext
38305 fi
38306 ac_res=`eval echo '${'$as_ac_var'}'`
38307 { echo "$as_me:$LINENO: result: $ac_res" >&5
38308 echo "${ECHO_T}$ac_res" >&6; }
38309 if test `eval echo '${'$as_ac_var'}'` = yes; then
38310 cat >>confdefs.h <<_ACEOF
38311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38312 _ACEOF
38313 break
38314 fi
38315 done
38316
38317
38318 { echo "$as_me:$LINENO: checking for statfs" >&5
38319 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38320 if test "${wx_cv_func_statfs+set}" = set; then
38321 echo $ECHO_N "(cached) $ECHO_C" >&6
38322 else
38323 cat >conftest.$ac_ext <<_ACEOF
38324 /* confdefs.h. */
38325 _ACEOF
38326 cat confdefs.h >>conftest.$ac_ext
38327 cat >>conftest.$ac_ext <<_ACEOF
38328 /* end confdefs.h. */
38329
38330 #if defined(__BSD__)
38331 #include <sys/param.h>
38332 #include <sys/mount.h>
38333 #else
38334 #include <sys/vfs.h>
38335 #endif
38336
38337 int
38338 main ()
38339 {
38340
38341 long l;
38342 struct statfs fs;
38343 statfs("/", &fs);
38344 l = fs.f_bsize;
38345 l += fs.f_blocks;
38346 l += fs.f_bavail;
38347
38348 ;
38349 return 0;
38350 }
38351 _ACEOF
38352 rm -f conftest.$ac_objext
38353 if { (ac_try="$ac_compile"
38354 case "(($ac_try" in
38355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38356 *) ac_try_echo=$ac_try;;
38357 esac
38358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38359 (eval "$ac_compile") 2>conftest.er1
38360 ac_status=$?
38361 grep -v '^ *+' conftest.er1 >conftest.err
38362 rm -f conftest.er1
38363 cat conftest.err >&5
38364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365 (exit $ac_status); } && {
38366 test -z "$ac_c_werror_flag" ||
38367 test ! -s conftest.err
38368 } && test -s conftest.$ac_objext; then
38369 wx_cv_func_statfs=yes
38370 else
38371 echo "$as_me: failed program was:" >&5
38372 sed 's/^/| /' conftest.$ac_ext >&5
38373
38374 wx_cv_func_statfs=no
38375
38376 fi
38377
38378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38379
38380 fi
38381 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38382 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38383
38384 if test "$wx_cv_func_statfs" = "yes"; then
38385 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38386 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38387 if test "${wx_cv_func_statfs_decl+set}" = set; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 else
38390 ac_ext=cpp
38391 ac_cpp='$CXXCPP $CPPFLAGS'
38392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38395
38396 cat >conftest.$ac_ext <<_ACEOF
38397 /* confdefs.h. */
38398 _ACEOF
38399 cat confdefs.h >>conftest.$ac_ext
38400 cat >>conftest.$ac_ext <<_ACEOF
38401 /* end confdefs.h. */
38402
38403 #if defined(__BSD__)
38404 #include <sys/param.h>
38405 #include <sys/mount.h>
38406 #else
38407 #include <sys/vfs.h>
38408 #endif
38409
38410 int
38411 main ()
38412 {
38413
38414 struct statfs fs;
38415 statfs("", &fs);
38416
38417 ;
38418 return 0;
38419 }
38420 _ACEOF
38421 rm -f conftest.$ac_objext
38422 if { (ac_try="$ac_compile"
38423 case "(($ac_try" in
38424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38425 *) ac_try_echo=$ac_try;;
38426 esac
38427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38428 (eval "$ac_compile") 2>conftest.er1
38429 ac_status=$?
38430 grep -v '^ *+' conftest.er1 >conftest.err
38431 rm -f conftest.er1
38432 cat conftest.err >&5
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); } && {
38435 test -z "$ac_cxx_werror_flag" ||
38436 test ! -s conftest.err
38437 } && test -s conftest.$ac_objext; then
38438 wx_cv_func_statfs_decl=yes
38439 else
38440 echo "$as_me: failed program was:" >&5
38441 sed 's/^/| /' conftest.$ac_ext >&5
38442
38443 wx_cv_func_statfs_decl=no
38444
38445 fi
38446
38447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38448 ac_ext=c
38449 ac_cpp='$CPP $CPPFLAGS'
38450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38453
38454
38455 fi
38456 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38457 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38458
38459 if test "$wx_cv_func_statfs_decl" = "yes"; then
38460 cat >>confdefs.h <<\_ACEOF
38461 #define HAVE_STATFS_DECL 1
38462 _ACEOF
38463
38464 fi
38465
38466 wx_cv_type_statvfs_t="struct statfs"
38467 cat >>confdefs.h <<\_ACEOF
38468 #define HAVE_STATFS 1
38469 _ACEOF
38470
38471 else
38472 { echo "$as_me:$LINENO: checking for statvfs" >&5
38473 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38474 if test "${wx_cv_func_statvfs+set}" = set; then
38475 echo $ECHO_N "(cached) $ECHO_C" >&6
38476 else
38477 cat >conftest.$ac_ext <<_ACEOF
38478 /* confdefs.h. */
38479 _ACEOF
38480 cat confdefs.h >>conftest.$ac_ext
38481 cat >>conftest.$ac_ext <<_ACEOF
38482 /* end confdefs.h. */
38483
38484 #include <stddef.h>
38485 #include <sys/statvfs.h>
38486
38487 int
38488 main ()
38489 {
38490
38491 statvfs("/", NULL);
38492
38493 ;
38494 return 0;
38495 }
38496 _ACEOF
38497 rm -f conftest.$ac_objext
38498 if { (ac_try="$ac_compile"
38499 case "(($ac_try" in
38500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38501 *) ac_try_echo=$ac_try;;
38502 esac
38503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38504 (eval "$ac_compile") 2>conftest.er1
38505 ac_status=$?
38506 grep -v '^ *+' conftest.er1 >conftest.err
38507 rm -f conftest.er1
38508 cat conftest.err >&5
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); } && {
38511 test -z "$ac_c_werror_flag" ||
38512 test ! -s conftest.err
38513 } && test -s conftest.$ac_objext; then
38514 wx_cv_func_statvfs=yes
38515 else
38516 echo "$as_me: failed program was:" >&5
38517 sed 's/^/| /' conftest.$ac_ext >&5
38518
38519 wx_cv_func_statvfs=no
38520
38521 fi
38522
38523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38524
38525 fi
38526 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38527 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38528
38529 if test "$wx_cv_func_statvfs" = "yes"; then
38530 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38531 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38532 if test "${wx_cv_type_statvfs_t+set}" = set; then
38533 echo $ECHO_N "(cached) $ECHO_C" >&6
38534 else
38535 ac_ext=cpp
38536 ac_cpp='$CXXCPP $CPPFLAGS'
38537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38540
38541 cat >conftest.$ac_ext <<_ACEOF
38542 /* confdefs.h. */
38543 _ACEOF
38544 cat confdefs.h >>conftest.$ac_ext
38545 cat >>conftest.$ac_ext <<_ACEOF
38546 /* end confdefs.h. */
38547
38548 #include <sys/statvfs.h>
38549
38550 int
38551 main ()
38552 {
38553
38554 long l;
38555 statvfs_t fs;
38556 statvfs("/", &fs);
38557 l = fs.f_bsize;
38558 l += fs.f_blocks;
38559 l += fs.f_bavail;
38560
38561 ;
38562 return 0;
38563 }
38564 _ACEOF
38565 rm -f conftest.$ac_objext
38566 if { (ac_try="$ac_compile"
38567 case "(($ac_try" in
38568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38569 *) ac_try_echo=$ac_try;;
38570 esac
38571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38572 (eval "$ac_compile") 2>conftest.er1
38573 ac_status=$?
38574 grep -v '^ *+' conftest.er1 >conftest.err
38575 rm -f conftest.er1
38576 cat conftest.err >&5
38577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38578 (exit $ac_status); } && {
38579 test -z "$ac_cxx_werror_flag" ||
38580 test ! -s conftest.err
38581 } && test -s conftest.$ac_objext; then
38582 wx_cv_type_statvfs_t=statvfs_t
38583 else
38584 echo "$as_me: failed program was:" >&5
38585 sed 's/^/| /' conftest.$ac_ext >&5
38586
38587
38588 cat >conftest.$ac_ext <<_ACEOF
38589 /* confdefs.h. */
38590 _ACEOF
38591 cat confdefs.h >>conftest.$ac_ext
38592 cat >>conftest.$ac_ext <<_ACEOF
38593 /* end confdefs.h. */
38594
38595 #include <sys/statvfs.h>
38596
38597 int
38598 main ()
38599 {
38600
38601 long l;
38602 struct statvfs fs;
38603 statvfs("/", &fs);
38604 l = fs.f_bsize;
38605 l += fs.f_blocks;
38606 l += fs.f_bavail;
38607
38608 ;
38609 return 0;
38610 }
38611 _ACEOF
38612 rm -f conftest.$ac_objext
38613 if { (ac_try="$ac_compile"
38614 case "(($ac_try" in
38615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38616 *) ac_try_echo=$ac_try;;
38617 esac
38618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38619 (eval "$ac_compile") 2>conftest.er1
38620 ac_status=$?
38621 grep -v '^ *+' conftest.er1 >conftest.err
38622 rm -f conftest.er1
38623 cat conftest.err >&5
38624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625 (exit $ac_status); } && {
38626 test -z "$ac_cxx_werror_flag" ||
38627 test ! -s conftest.err
38628 } && test -s conftest.$ac_objext; then
38629 wx_cv_type_statvfs_t="struct statvfs"
38630 else
38631 echo "$as_me: failed program was:" >&5
38632 sed 's/^/| /' conftest.$ac_ext >&5
38633
38634 wx_cv_type_statvfs_t="unknown"
38635
38636 fi
38637
38638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38639
38640
38641 fi
38642
38643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38644 ac_ext=c
38645 ac_cpp='$CPP $CPPFLAGS'
38646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38649
38650
38651 fi
38652 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38653 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38654
38655 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38656 cat >>confdefs.h <<\_ACEOF
38657 #define HAVE_STATVFS 1
38658 _ACEOF
38659
38660 fi
38661 else
38662 wx_cv_type_statvfs_t="unknown"
38663 fi
38664 fi
38665
38666 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38667 cat >>confdefs.h <<_ACEOF
38668 #define WX_STATFS_T $wx_cv_type_statvfs_t
38669 _ACEOF
38670
38671 else
38672 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38673 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38674 fi
38675
38676 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38677
38678
38679 for ac_func in fcntl flock
38680 do
38681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38682 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38684 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38685 echo $ECHO_N "(cached) $ECHO_C" >&6
38686 else
38687 cat >conftest.$ac_ext <<_ACEOF
38688 /* confdefs.h. */
38689 _ACEOF
38690 cat confdefs.h >>conftest.$ac_ext
38691 cat >>conftest.$ac_ext <<_ACEOF
38692 /* end confdefs.h. */
38693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38695 #define $ac_func innocuous_$ac_func
38696
38697 /* System header to define __stub macros and hopefully few prototypes,
38698 which can conflict with char $ac_func (); below.
38699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38700 <limits.h> exists even on freestanding compilers. */
38701
38702 #ifdef __STDC__
38703 # include <limits.h>
38704 #else
38705 # include <assert.h>
38706 #endif
38707
38708 #undef $ac_func
38709
38710 /* Override any GCC internal prototype to avoid an error.
38711 Use char because int might match the return type of a GCC
38712 builtin and then its argument prototype would still apply. */
38713 #ifdef __cplusplus
38714 extern "C"
38715 #endif
38716 char $ac_func ();
38717 /* The GNU C library defines this for functions which it implements
38718 to always fail with ENOSYS. Some functions are actually named
38719 something starting with __ and the normal name is an alias. */
38720 #if defined __stub_$ac_func || defined __stub___$ac_func
38721 choke me
38722 #endif
38723
38724 int
38725 main ()
38726 {
38727 return $ac_func ();
38728 ;
38729 return 0;
38730 }
38731 _ACEOF
38732 rm -f conftest.$ac_objext conftest$ac_exeext
38733 if { (ac_try="$ac_link"
38734 case "(($ac_try" in
38735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38736 *) ac_try_echo=$ac_try;;
38737 esac
38738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38739 (eval "$ac_link") 2>conftest.er1
38740 ac_status=$?
38741 grep -v '^ *+' conftest.er1 >conftest.err
38742 rm -f conftest.er1
38743 cat conftest.err >&5
38744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38745 (exit $ac_status); } && {
38746 test -z "$ac_c_werror_flag" ||
38747 test ! -s conftest.err
38748 } && test -s conftest$ac_exeext &&
38749 $as_test_x conftest$ac_exeext; then
38750 eval "$as_ac_var=yes"
38751 else
38752 echo "$as_me: failed program was:" >&5
38753 sed 's/^/| /' conftest.$ac_ext >&5
38754
38755 eval "$as_ac_var=no"
38756 fi
38757
38758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38759 conftest$ac_exeext conftest.$ac_ext
38760 fi
38761 ac_res=`eval echo '${'$as_ac_var'}'`
38762 { echo "$as_me:$LINENO: result: $ac_res" >&5
38763 echo "${ECHO_T}$ac_res" >&6; }
38764 if test `eval echo '${'$as_ac_var'}'` = yes; then
38765 cat >>confdefs.h <<_ACEOF
38766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38767 _ACEOF
38768 break
38769 fi
38770 done
38771
38772
38773 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38774 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38775 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38776 wxUSE_SNGLINST_CHECKER=no
38777 fi
38778 fi
38779
38780
38781
38782 for ac_func in setenv putenv
38783 do
38784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38785 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38787 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38788 echo $ECHO_N "(cached) $ECHO_C" >&6
38789 else
38790 cat >conftest.$ac_ext <<_ACEOF
38791 /* confdefs.h. */
38792 _ACEOF
38793 cat confdefs.h >>conftest.$ac_ext
38794 cat >>conftest.$ac_ext <<_ACEOF
38795 /* end confdefs.h. */
38796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38798 #define $ac_func innocuous_$ac_func
38799
38800 /* System header to define __stub macros and hopefully few prototypes,
38801 which can conflict with char $ac_func (); below.
38802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38803 <limits.h> exists even on freestanding compilers. */
38804
38805 #ifdef __STDC__
38806 # include <limits.h>
38807 #else
38808 # include <assert.h>
38809 #endif
38810
38811 #undef $ac_func
38812
38813 /* Override any GCC internal prototype to avoid an error.
38814 Use char because int might match the return type of a GCC
38815 builtin and then its argument prototype would still apply. */
38816 #ifdef __cplusplus
38817 extern "C"
38818 #endif
38819 char $ac_func ();
38820 /* The GNU C library defines this for functions which it implements
38821 to always fail with ENOSYS. Some functions are actually named
38822 something starting with __ and the normal name is an alias. */
38823 #if defined __stub_$ac_func || defined __stub___$ac_func
38824 choke me
38825 #endif
38826
38827 int
38828 main ()
38829 {
38830 return $ac_func ();
38831 ;
38832 return 0;
38833 }
38834 _ACEOF
38835 rm -f conftest.$ac_objext conftest$ac_exeext
38836 if { (ac_try="$ac_link"
38837 case "(($ac_try" in
38838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38839 *) ac_try_echo=$ac_try;;
38840 esac
38841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38842 (eval "$ac_link") 2>conftest.er1
38843 ac_status=$?
38844 grep -v '^ *+' conftest.er1 >conftest.err
38845 rm -f conftest.er1
38846 cat conftest.err >&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); } && {
38849 test -z "$ac_c_werror_flag" ||
38850 test ! -s conftest.err
38851 } && test -s conftest$ac_exeext &&
38852 $as_test_x conftest$ac_exeext; then
38853 eval "$as_ac_var=yes"
38854 else
38855 echo "$as_me: failed program was:" >&5
38856 sed 's/^/| /' conftest.$ac_ext >&5
38857
38858 eval "$as_ac_var=no"
38859 fi
38860
38861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38862 conftest$ac_exeext conftest.$ac_ext
38863 fi
38864 ac_res=`eval echo '${'$as_ac_var'}'`
38865 { echo "$as_me:$LINENO: result: $ac_res" >&5
38866 echo "${ECHO_T}$ac_res" >&6; }
38867 if test `eval echo '${'$as_ac_var'}'` = yes; then
38868 cat >>confdefs.h <<_ACEOF
38869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38870 _ACEOF
38871 break
38872 fi
38873 done
38874
38875 if test "$ac_cv_func_setenv" = "yes"; then
38876
38877 for ac_func in unsetenv
38878 do
38879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38880 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38882 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38883 echo $ECHO_N "(cached) $ECHO_C" >&6
38884 else
38885 cat >conftest.$ac_ext <<_ACEOF
38886 /* confdefs.h. */
38887 _ACEOF
38888 cat confdefs.h >>conftest.$ac_ext
38889 cat >>conftest.$ac_ext <<_ACEOF
38890 /* end confdefs.h. */
38891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38893 #define $ac_func innocuous_$ac_func
38894
38895 /* System header to define __stub macros and hopefully few prototypes,
38896 which can conflict with char $ac_func (); below.
38897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38898 <limits.h> exists even on freestanding compilers. */
38899
38900 #ifdef __STDC__
38901 # include <limits.h>
38902 #else
38903 # include <assert.h>
38904 #endif
38905
38906 #undef $ac_func
38907
38908 /* Override any GCC internal prototype to avoid an error.
38909 Use char because int might match the return type of a GCC
38910 builtin and then its argument prototype would still apply. */
38911 #ifdef __cplusplus
38912 extern "C"
38913 #endif
38914 char $ac_func ();
38915 /* The GNU C library defines this for functions which it implements
38916 to always fail with ENOSYS. Some functions are actually named
38917 something starting with __ and the normal name is an alias. */
38918 #if defined __stub_$ac_func || defined __stub___$ac_func
38919 choke me
38920 #endif
38921
38922 int
38923 main ()
38924 {
38925 return $ac_func ();
38926 ;
38927 return 0;
38928 }
38929 _ACEOF
38930 rm -f conftest.$ac_objext conftest$ac_exeext
38931 if { (ac_try="$ac_link"
38932 case "(($ac_try" in
38933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38934 *) ac_try_echo=$ac_try;;
38935 esac
38936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38937 (eval "$ac_link") 2>conftest.er1
38938 ac_status=$?
38939 grep -v '^ *+' conftest.er1 >conftest.err
38940 rm -f conftest.er1
38941 cat conftest.err >&5
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); } && {
38944 test -z "$ac_c_werror_flag" ||
38945 test ! -s conftest.err
38946 } && test -s conftest$ac_exeext &&
38947 $as_test_x conftest$ac_exeext; then
38948 eval "$as_ac_var=yes"
38949 else
38950 echo "$as_me: failed program was:" >&5
38951 sed 's/^/| /' conftest.$ac_ext >&5
38952
38953 eval "$as_ac_var=no"
38954 fi
38955
38956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38957 conftest$ac_exeext conftest.$ac_ext
38958 fi
38959 ac_res=`eval echo '${'$as_ac_var'}'`
38960 { echo "$as_me:$LINENO: result: $ac_res" >&5
38961 echo "${ECHO_T}$ac_res" >&6; }
38962 if test `eval echo '${'$as_ac_var'}'` = yes; then
38963 cat >>confdefs.h <<_ACEOF
38964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38965 _ACEOF
38966
38967 fi
38968 done
38969
38970 fi
38971
38972 HAVE_SOME_SLEEP_FUNC=0
38973 if test "$USE_BEOS" = 1; then
38974 cat >>confdefs.h <<\_ACEOF
38975 #define HAVE_SLEEP 1
38976 _ACEOF
38977
38978 HAVE_SOME_SLEEP_FUNC=1
38979 fi
38980
38981 if test "$USE_DARWIN" = 1; then
38982 cat >>confdefs.h <<\_ACEOF
38983 #define HAVE_USLEEP 1
38984 _ACEOF
38985
38986 HAVE_SOME_SLEEP_FUNC=1
38987 fi
38988
38989 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38990 POSIX4_LINK=
38991
38992 for ac_func in nanosleep
38993 do
38994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38995 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38997 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38998 echo $ECHO_N "(cached) $ECHO_C" >&6
38999 else
39000 cat >conftest.$ac_ext <<_ACEOF
39001 /* confdefs.h. */
39002 _ACEOF
39003 cat confdefs.h >>conftest.$ac_ext
39004 cat >>conftest.$ac_ext <<_ACEOF
39005 /* end confdefs.h. */
39006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39008 #define $ac_func innocuous_$ac_func
39009
39010 /* System header to define __stub macros and hopefully few prototypes,
39011 which can conflict with char $ac_func (); below.
39012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39013 <limits.h> exists even on freestanding compilers. */
39014
39015 #ifdef __STDC__
39016 # include <limits.h>
39017 #else
39018 # include <assert.h>
39019 #endif
39020
39021 #undef $ac_func
39022
39023 /* Override any GCC internal prototype to avoid an error.
39024 Use char because int might match the return type of a GCC
39025 builtin and then its argument prototype would still apply. */
39026 #ifdef __cplusplus
39027 extern "C"
39028 #endif
39029 char $ac_func ();
39030 /* The GNU C library defines this for functions which it implements
39031 to always fail with ENOSYS. Some functions are actually named
39032 something starting with __ and the normal name is an alias. */
39033 #if defined __stub_$ac_func || defined __stub___$ac_func
39034 choke me
39035 #endif
39036
39037 int
39038 main ()
39039 {
39040 return $ac_func ();
39041 ;
39042 return 0;
39043 }
39044 _ACEOF
39045 rm -f conftest.$ac_objext conftest$ac_exeext
39046 if { (ac_try="$ac_link"
39047 case "(($ac_try" in
39048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39049 *) ac_try_echo=$ac_try;;
39050 esac
39051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39052 (eval "$ac_link") 2>conftest.er1
39053 ac_status=$?
39054 grep -v '^ *+' conftest.er1 >conftest.err
39055 rm -f conftest.er1
39056 cat conftest.err >&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); } && {
39059 test -z "$ac_c_werror_flag" ||
39060 test ! -s conftest.err
39061 } && test -s conftest$ac_exeext &&
39062 $as_test_x conftest$ac_exeext; then
39063 eval "$as_ac_var=yes"
39064 else
39065 echo "$as_me: failed program was:" >&5
39066 sed 's/^/| /' conftest.$ac_ext >&5
39067
39068 eval "$as_ac_var=no"
39069 fi
39070
39071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39072 conftest$ac_exeext conftest.$ac_ext
39073 fi
39074 ac_res=`eval echo '${'$as_ac_var'}'`
39075 { echo "$as_me:$LINENO: result: $ac_res" >&5
39076 echo "${ECHO_T}$ac_res" >&6; }
39077 if test `eval echo '${'$as_ac_var'}'` = yes; then
39078 cat >>confdefs.h <<_ACEOF
39079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39080 _ACEOF
39081 cat >>confdefs.h <<\_ACEOF
39082 #define HAVE_NANOSLEEP 1
39083 _ACEOF
39084
39085 else
39086
39087 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39088 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39089 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39090 echo $ECHO_N "(cached) $ECHO_C" >&6
39091 else
39092 ac_check_lib_save_LIBS=$LIBS
39093 LIBS="-lposix4 $LIBS"
39094 cat >conftest.$ac_ext <<_ACEOF
39095 /* confdefs.h. */
39096 _ACEOF
39097 cat confdefs.h >>conftest.$ac_ext
39098 cat >>conftest.$ac_ext <<_ACEOF
39099 /* end confdefs.h. */
39100
39101 /* Override any GCC internal prototype to avoid an error.
39102 Use char because int might match the return type of a GCC
39103 builtin and then its argument prototype would still apply. */
39104 #ifdef __cplusplus
39105 extern "C"
39106 #endif
39107 char nanosleep ();
39108 int
39109 main ()
39110 {
39111 return nanosleep ();
39112 ;
39113 return 0;
39114 }
39115 _ACEOF
39116 rm -f conftest.$ac_objext conftest$ac_exeext
39117 if { (ac_try="$ac_link"
39118 case "(($ac_try" in
39119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39120 *) ac_try_echo=$ac_try;;
39121 esac
39122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39123 (eval "$ac_link") 2>conftest.er1
39124 ac_status=$?
39125 grep -v '^ *+' conftest.er1 >conftest.err
39126 rm -f conftest.er1
39127 cat conftest.err >&5
39128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129 (exit $ac_status); } && {
39130 test -z "$ac_c_werror_flag" ||
39131 test ! -s conftest.err
39132 } && test -s conftest$ac_exeext &&
39133 $as_test_x conftest$ac_exeext; then
39134 ac_cv_lib_posix4_nanosleep=yes
39135 else
39136 echo "$as_me: failed program was:" >&5
39137 sed 's/^/| /' conftest.$ac_ext >&5
39138
39139 ac_cv_lib_posix4_nanosleep=no
39140 fi
39141
39142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39143 conftest$ac_exeext conftest.$ac_ext
39144 LIBS=$ac_check_lib_save_LIBS
39145 fi
39146 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39147 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39148 if test $ac_cv_lib_posix4_nanosleep = yes; then
39149
39150 cat >>confdefs.h <<\_ACEOF
39151 #define HAVE_NANOSLEEP 1
39152 _ACEOF
39153
39154 POSIX4_LINK=" -lposix4"
39155
39156 else
39157
39158
39159 for wx_func in usleep
39160 do
39161 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39162 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39163 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39164 echo $ECHO_N "(cached) $ECHO_C" >&6
39165 else
39166
39167 cat >conftest.$ac_ext <<_ACEOF
39168
39169 /* confdefs.h. */
39170 _ACEOF
39171 cat confdefs.h >>conftest.$ac_ext
39172 cat >>conftest.$ac_ext <<_ACEOF
39173 /* end confdefs.h. */
39174
39175
39176 $ac_includes_default
39177
39178 int
39179 main ()
39180 {
39181
39182 #ifndef $wx_func
39183 &$wx_func;
39184 #endif
39185
39186
39187 ;
39188 return 0;
39189 }
39190
39191 _ACEOF
39192 rm -f conftest.$ac_objext conftest$ac_exeext
39193 if { (ac_try="$ac_link"
39194 case "(($ac_try" in
39195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39196 *) ac_try_echo=$ac_try;;
39197 esac
39198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39199 (eval "$ac_link") 2>conftest.er1
39200 ac_status=$?
39201 grep -v '^ *+' conftest.er1 >conftest.err
39202 rm -f conftest.er1
39203 cat conftest.err >&5
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); } && {
39206 test -z "$ac_c_werror_flag" ||
39207 test ! -s conftest.err
39208 } && test -s conftest$ac_exeext &&
39209 $as_test_x conftest$ac_exeext; then
39210 eval wx_cv_func_$wx_func=yes
39211 else
39212 echo "$as_me: failed program was:" >&5
39213 sed 's/^/| /' conftest.$ac_ext >&5
39214
39215 eval wx_cv_func_$wx_func=no
39216 fi
39217
39218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39219 conftest$ac_exeext conftest.$ac_ext
39220
39221 fi
39222 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39223 { echo "$as_me:$LINENO: result: $ac_res" >&5
39224 echo "${ECHO_T}$ac_res" >&6; }
39225
39226 if eval test \$wx_cv_func_$wx_func = yes
39227 then
39228 cat >>confdefs.h <<_ACEOF
39229 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39230 _ACEOF
39231
39232
39233 else
39234 :
39235 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39236 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39237
39238 fi
39239 done
39240
39241
39242
39243 fi
39244
39245
39246
39247 fi
39248 done
39249
39250 fi
39251
39252
39253 for wx_func in uname
39254 do
39255 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39256 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39257 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39258 echo $ECHO_N "(cached) $ECHO_C" >&6
39259 else
39260
39261 cat >conftest.$ac_ext <<_ACEOF
39262
39263 /* confdefs.h. */
39264 _ACEOF
39265 cat confdefs.h >>conftest.$ac_ext
39266 cat >>conftest.$ac_ext <<_ACEOF
39267 /* end confdefs.h. */
39268
39269 #include <sys/utsname.h>
39270 $ac_includes_default
39271
39272 int
39273 main ()
39274 {
39275
39276 #ifndef $wx_func
39277 &$wx_func;
39278 #endif
39279
39280
39281 ;
39282 return 0;
39283 }
39284
39285 _ACEOF
39286 rm -f conftest.$ac_objext conftest$ac_exeext
39287 if { (ac_try="$ac_link"
39288 case "(($ac_try" in
39289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39290 *) ac_try_echo=$ac_try;;
39291 esac
39292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39293 (eval "$ac_link") 2>conftest.er1
39294 ac_status=$?
39295 grep -v '^ *+' conftest.er1 >conftest.err
39296 rm -f conftest.er1
39297 cat conftest.err >&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); } && {
39300 test -z "$ac_c_werror_flag" ||
39301 test ! -s conftest.err
39302 } && test -s conftest$ac_exeext &&
39303 $as_test_x conftest$ac_exeext; then
39304 eval wx_cv_func_$wx_func=yes
39305 else
39306 echo "$as_me: failed program was:" >&5
39307 sed 's/^/| /' conftest.$ac_ext >&5
39308
39309 eval wx_cv_func_$wx_func=no
39310 fi
39311
39312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39313 conftest$ac_exeext conftest.$ac_ext
39314
39315 fi
39316 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39317 { echo "$as_me:$LINENO: result: $ac_res" >&5
39318 echo "${ECHO_T}$ac_res" >&6; }
39319
39320 if eval test \$wx_cv_func_$wx_func = yes
39321 then
39322 cat >>confdefs.h <<_ACEOF
39323 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39324 _ACEOF
39325
39326
39327 else
39328 :
39329
39330 fi
39331 done
39332
39333 if test "$wx_cv_func_uname" != yes; then
39334
39335 for wx_func in gethostname
39336 do
39337 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39338 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39339 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39340 echo $ECHO_N "(cached) $ECHO_C" >&6
39341 else
39342
39343 cat >conftest.$ac_ext <<_ACEOF
39344
39345 /* confdefs.h. */
39346 _ACEOF
39347 cat confdefs.h >>conftest.$ac_ext
39348 cat >>conftest.$ac_ext <<_ACEOF
39349 /* end confdefs.h. */
39350
39351
39352 $ac_includes_default
39353
39354 int
39355 main ()
39356 {
39357
39358 #ifndef $wx_func
39359 &$wx_func;
39360 #endif
39361
39362
39363 ;
39364 return 0;
39365 }
39366
39367 _ACEOF
39368 rm -f conftest.$ac_objext conftest$ac_exeext
39369 if { (ac_try="$ac_link"
39370 case "(($ac_try" in
39371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39372 *) ac_try_echo=$ac_try;;
39373 esac
39374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39375 (eval "$ac_link") 2>conftest.er1
39376 ac_status=$?
39377 grep -v '^ *+' conftest.er1 >conftest.err
39378 rm -f conftest.er1
39379 cat conftest.err >&5
39380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39381 (exit $ac_status); } && {
39382 test -z "$ac_c_werror_flag" ||
39383 test ! -s conftest.err
39384 } && test -s conftest$ac_exeext &&
39385 $as_test_x conftest$ac_exeext; then
39386 eval wx_cv_func_$wx_func=yes
39387 else
39388 echo "$as_me: failed program was:" >&5
39389 sed 's/^/| /' conftest.$ac_ext >&5
39390
39391 eval wx_cv_func_$wx_func=no
39392 fi
39393
39394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39395 conftest$ac_exeext conftest.$ac_ext
39396
39397 fi
39398 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39399 { echo "$as_me:$LINENO: result: $ac_res" >&5
39400 echo "${ECHO_T}$ac_res" >&6; }
39401
39402 if eval test \$wx_cv_func_$wx_func = yes
39403 then
39404 cat >>confdefs.h <<_ACEOF
39405 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39406 _ACEOF
39407
39408
39409 else
39410 :
39411
39412 fi
39413 done
39414
39415 fi
39416
39417
39418 for wx_func in strtok_r
39419 do
39420 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39421 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39422 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39423 echo $ECHO_N "(cached) $ECHO_C" >&6
39424 else
39425
39426 cat >conftest.$ac_ext <<_ACEOF
39427
39428 /* confdefs.h. */
39429 _ACEOF
39430 cat confdefs.h >>conftest.$ac_ext
39431 cat >>conftest.$ac_ext <<_ACEOF
39432 /* end confdefs.h. */
39433
39434 #define _REENTRANT
39435 $ac_includes_default
39436
39437 int
39438 main ()
39439 {
39440
39441 #ifndef $wx_func
39442 &$wx_func;
39443 #endif
39444
39445
39446 ;
39447 return 0;
39448 }
39449
39450 _ACEOF
39451 rm -f conftest.$ac_objext conftest$ac_exeext
39452 if { (ac_try="$ac_link"
39453 case "(($ac_try" in
39454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39455 *) ac_try_echo=$ac_try;;
39456 esac
39457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39458 (eval "$ac_link") 2>conftest.er1
39459 ac_status=$?
39460 grep -v '^ *+' conftest.er1 >conftest.err
39461 rm -f conftest.er1
39462 cat conftest.err >&5
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); } && {
39465 test -z "$ac_c_werror_flag" ||
39466 test ! -s conftest.err
39467 } && test -s conftest$ac_exeext &&
39468 $as_test_x conftest$ac_exeext; then
39469 eval wx_cv_func_$wx_func=yes
39470 else
39471 echo "$as_me: failed program was:" >&5
39472 sed 's/^/| /' conftest.$ac_ext >&5
39473
39474 eval wx_cv_func_$wx_func=no
39475 fi
39476
39477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39478 conftest$ac_exeext conftest.$ac_ext
39479
39480 fi
39481 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39482 { echo "$as_me:$LINENO: result: $ac_res" >&5
39483 echo "${ECHO_T}$ac_res" >&6; }
39484
39485 if eval test \$wx_cv_func_$wx_func = yes
39486 then
39487 cat >>confdefs.h <<_ACEOF
39488 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39489 _ACEOF
39490
39491
39492 else
39493 :
39494
39495 fi
39496 done
39497
39498
39499 INET_LINK=
39500
39501 for ac_func in inet_addr
39502 do
39503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39504 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39506 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39507 echo $ECHO_N "(cached) $ECHO_C" >&6
39508 else
39509 cat >conftest.$ac_ext <<_ACEOF
39510 /* confdefs.h. */
39511 _ACEOF
39512 cat confdefs.h >>conftest.$ac_ext
39513 cat >>conftest.$ac_ext <<_ACEOF
39514 /* end confdefs.h. */
39515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39517 #define $ac_func innocuous_$ac_func
39518
39519 /* System header to define __stub macros and hopefully few prototypes,
39520 which can conflict with char $ac_func (); below.
39521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39522 <limits.h> exists even on freestanding compilers. */
39523
39524 #ifdef __STDC__
39525 # include <limits.h>
39526 #else
39527 # include <assert.h>
39528 #endif
39529
39530 #undef $ac_func
39531
39532 /* Override any GCC internal prototype to avoid an error.
39533 Use char because int might match the return type of a GCC
39534 builtin and then its argument prototype would still apply. */
39535 #ifdef __cplusplus
39536 extern "C"
39537 #endif
39538 char $ac_func ();
39539 /* The GNU C library defines this for functions which it implements
39540 to always fail with ENOSYS. Some functions are actually named
39541 something starting with __ and the normal name is an alias. */
39542 #if defined __stub_$ac_func || defined __stub___$ac_func
39543 choke me
39544 #endif
39545
39546 int
39547 main ()
39548 {
39549 return $ac_func ();
39550 ;
39551 return 0;
39552 }
39553 _ACEOF
39554 rm -f conftest.$ac_objext conftest$ac_exeext
39555 if { (ac_try="$ac_link"
39556 case "(($ac_try" in
39557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39558 *) ac_try_echo=$ac_try;;
39559 esac
39560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39561 (eval "$ac_link") 2>conftest.er1
39562 ac_status=$?
39563 grep -v '^ *+' conftest.er1 >conftest.err
39564 rm -f conftest.er1
39565 cat conftest.err >&5
39566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39567 (exit $ac_status); } && {
39568 test -z "$ac_c_werror_flag" ||
39569 test ! -s conftest.err
39570 } && test -s conftest$ac_exeext &&
39571 $as_test_x conftest$ac_exeext; then
39572 eval "$as_ac_var=yes"
39573 else
39574 echo "$as_me: failed program was:" >&5
39575 sed 's/^/| /' conftest.$ac_ext >&5
39576
39577 eval "$as_ac_var=no"
39578 fi
39579
39580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39581 conftest$ac_exeext conftest.$ac_ext
39582 fi
39583 ac_res=`eval echo '${'$as_ac_var'}'`
39584 { echo "$as_me:$LINENO: result: $ac_res" >&5
39585 echo "${ECHO_T}$ac_res" >&6; }
39586 if test `eval echo '${'$as_ac_var'}'` = yes; then
39587 cat >>confdefs.h <<_ACEOF
39588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39589 _ACEOF
39590 cat >>confdefs.h <<\_ACEOF
39591 #define HAVE_INET_ADDR 1
39592 _ACEOF
39593
39594 else
39595
39596 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39597 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39598 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39599 echo $ECHO_N "(cached) $ECHO_C" >&6
39600 else
39601 ac_check_lib_save_LIBS=$LIBS
39602 LIBS="-lnsl $LIBS"
39603 cat >conftest.$ac_ext <<_ACEOF
39604 /* confdefs.h. */
39605 _ACEOF
39606 cat confdefs.h >>conftest.$ac_ext
39607 cat >>conftest.$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39609
39610 /* Override any GCC internal prototype to avoid an error.
39611 Use char because int might match the return type of a GCC
39612 builtin and then its argument prototype would still apply. */
39613 #ifdef __cplusplus
39614 extern "C"
39615 #endif
39616 char inet_addr ();
39617 int
39618 main ()
39619 {
39620 return inet_addr ();
39621 ;
39622 return 0;
39623 }
39624 _ACEOF
39625 rm -f conftest.$ac_objext conftest$ac_exeext
39626 if { (ac_try="$ac_link"
39627 case "(($ac_try" in
39628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39629 *) ac_try_echo=$ac_try;;
39630 esac
39631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39632 (eval "$ac_link") 2>conftest.er1
39633 ac_status=$?
39634 grep -v '^ *+' conftest.er1 >conftest.err
39635 rm -f conftest.er1
39636 cat conftest.err >&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); } && {
39639 test -z "$ac_c_werror_flag" ||
39640 test ! -s conftest.err
39641 } && test -s conftest$ac_exeext &&
39642 $as_test_x conftest$ac_exeext; then
39643 ac_cv_lib_nsl_inet_addr=yes
39644 else
39645 echo "$as_me: failed program was:" >&5
39646 sed 's/^/| /' conftest.$ac_ext >&5
39647
39648 ac_cv_lib_nsl_inet_addr=no
39649 fi
39650
39651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39652 conftest$ac_exeext conftest.$ac_ext
39653 LIBS=$ac_check_lib_save_LIBS
39654 fi
39655 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39656 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39657 if test $ac_cv_lib_nsl_inet_addr = yes; then
39658 INET_LINK="nsl"
39659 else
39660
39661 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39662 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39663 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39665 else
39666 ac_check_lib_save_LIBS=$LIBS
39667 LIBS="-lresolv $LIBS"
39668 cat >conftest.$ac_ext <<_ACEOF
39669 /* confdefs.h. */
39670 _ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39674
39675 /* Override any GCC internal prototype to avoid an error.
39676 Use char because int might match the return type of a GCC
39677 builtin and then its argument prototype would still apply. */
39678 #ifdef __cplusplus
39679 extern "C"
39680 #endif
39681 char inet_addr ();
39682 int
39683 main ()
39684 {
39685 return inet_addr ();
39686 ;
39687 return 0;
39688 }
39689 _ACEOF
39690 rm -f conftest.$ac_objext conftest$ac_exeext
39691 if { (ac_try="$ac_link"
39692 case "(($ac_try" in
39693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39694 *) ac_try_echo=$ac_try;;
39695 esac
39696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39697 (eval "$ac_link") 2>conftest.er1
39698 ac_status=$?
39699 grep -v '^ *+' conftest.er1 >conftest.err
39700 rm -f conftest.er1
39701 cat conftest.err >&5
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); } && {
39704 test -z "$ac_c_werror_flag" ||
39705 test ! -s conftest.err
39706 } && test -s conftest$ac_exeext &&
39707 $as_test_x conftest$ac_exeext; then
39708 ac_cv_lib_resolv_inet_addr=yes
39709 else
39710 echo "$as_me: failed program was:" >&5
39711 sed 's/^/| /' conftest.$ac_ext >&5
39712
39713 ac_cv_lib_resolv_inet_addr=no
39714 fi
39715
39716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39717 conftest$ac_exeext conftest.$ac_ext
39718 LIBS=$ac_check_lib_save_LIBS
39719 fi
39720 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39721 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39722 if test $ac_cv_lib_resolv_inet_addr = yes; then
39723 INET_LINK="resolv"
39724 else
39725
39726 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39727 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39728 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39729 echo $ECHO_N "(cached) $ECHO_C" >&6
39730 else
39731 ac_check_lib_save_LIBS=$LIBS
39732 LIBS="-lsocket $LIBS"
39733 cat >conftest.$ac_ext <<_ACEOF
39734 /* confdefs.h. */
39735 _ACEOF
39736 cat confdefs.h >>conftest.$ac_ext
39737 cat >>conftest.$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739
39740 /* Override any GCC internal prototype to avoid an error.
39741 Use char because int might match the return type of a GCC
39742 builtin and then its argument prototype would still apply. */
39743 #ifdef __cplusplus
39744 extern "C"
39745 #endif
39746 char inet_addr ();
39747 int
39748 main ()
39749 {
39750 return inet_addr ();
39751 ;
39752 return 0;
39753 }
39754 _ACEOF
39755 rm -f conftest.$ac_objext conftest$ac_exeext
39756 if { (ac_try="$ac_link"
39757 case "(($ac_try" in
39758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39759 *) ac_try_echo=$ac_try;;
39760 esac
39761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39762 (eval "$ac_link") 2>conftest.er1
39763 ac_status=$?
39764 grep -v '^ *+' conftest.er1 >conftest.err
39765 rm -f conftest.er1
39766 cat conftest.err >&5
39767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39768 (exit $ac_status); } && {
39769 test -z "$ac_c_werror_flag" ||
39770 test ! -s conftest.err
39771 } && test -s conftest$ac_exeext &&
39772 $as_test_x conftest$ac_exeext; then
39773 ac_cv_lib_socket_inet_addr=yes
39774 else
39775 echo "$as_me: failed program was:" >&5
39776 sed 's/^/| /' conftest.$ac_ext >&5
39777
39778 ac_cv_lib_socket_inet_addr=no
39779 fi
39780
39781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39782 conftest$ac_exeext conftest.$ac_ext
39783 LIBS=$ac_check_lib_save_LIBS
39784 fi
39785 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39786 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39787 if test $ac_cv_lib_socket_inet_addr = yes; then
39788 INET_LINK="socket"
39789
39790 fi
39791
39792
39793
39794 fi
39795
39796
39797
39798 fi
39799
39800
39801
39802 fi
39803 done
39804
39805
39806
39807 for ac_func in inet_aton
39808 do
39809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39810 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39812 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39813 echo $ECHO_N "(cached) $ECHO_C" >&6
39814 else
39815 cat >conftest.$ac_ext <<_ACEOF
39816 /* confdefs.h. */
39817 _ACEOF
39818 cat confdefs.h >>conftest.$ac_ext
39819 cat >>conftest.$ac_ext <<_ACEOF
39820 /* end confdefs.h. */
39821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39823 #define $ac_func innocuous_$ac_func
39824
39825 /* System header to define __stub macros and hopefully few prototypes,
39826 which can conflict with char $ac_func (); below.
39827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39828 <limits.h> exists even on freestanding compilers. */
39829
39830 #ifdef __STDC__
39831 # include <limits.h>
39832 #else
39833 # include <assert.h>
39834 #endif
39835
39836 #undef $ac_func
39837
39838 /* Override any GCC internal prototype to avoid an error.
39839 Use char because int might match the return type of a GCC
39840 builtin and then its argument prototype would still apply. */
39841 #ifdef __cplusplus
39842 extern "C"
39843 #endif
39844 char $ac_func ();
39845 /* The GNU C library defines this for functions which it implements
39846 to always fail with ENOSYS. Some functions are actually named
39847 something starting with __ and the normal name is an alias. */
39848 #if defined __stub_$ac_func || defined __stub___$ac_func
39849 choke me
39850 #endif
39851
39852 int
39853 main ()
39854 {
39855 return $ac_func ();
39856 ;
39857 return 0;
39858 }
39859 _ACEOF
39860 rm -f conftest.$ac_objext conftest$ac_exeext
39861 if { (ac_try="$ac_link"
39862 case "(($ac_try" in
39863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39864 *) ac_try_echo=$ac_try;;
39865 esac
39866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39867 (eval "$ac_link") 2>conftest.er1
39868 ac_status=$?
39869 grep -v '^ *+' conftest.er1 >conftest.err
39870 rm -f conftest.er1
39871 cat conftest.err >&5
39872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39873 (exit $ac_status); } && {
39874 test -z "$ac_c_werror_flag" ||
39875 test ! -s conftest.err
39876 } && test -s conftest$ac_exeext &&
39877 $as_test_x conftest$ac_exeext; then
39878 eval "$as_ac_var=yes"
39879 else
39880 echo "$as_me: failed program was:" >&5
39881 sed 's/^/| /' conftest.$ac_ext >&5
39882
39883 eval "$as_ac_var=no"
39884 fi
39885
39886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39887 conftest$ac_exeext conftest.$ac_ext
39888 fi
39889 ac_res=`eval echo '${'$as_ac_var'}'`
39890 { echo "$as_me:$LINENO: result: $ac_res" >&5
39891 echo "${ECHO_T}$ac_res" >&6; }
39892 if test `eval echo '${'$as_ac_var'}'` = yes; then
39893 cat >>confdefs.h <<_ACEOF
39894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39895 _ACEOF
39896 cat >>confdefs.h <<\_ACEOF
39897 #define HAVE_INET_ATON 1
39898 _ACEOF
39899
39900 else
39901
39902 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39903 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39904 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
39905 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
39906 echo $ECHO_N "(cached) $ECHO_C" >&6
39907 else
39908 ac_check_lib_save_LIBS=$LIBS
39909 LIBS="-l$INET_LINK $LIBS"
39910 cat >conftest.$ac_ext <<_ACEOF
39911 /* confdefs.h. */
39912 _ACEOF
39913 cat confdefs.h >>conftest.$ac_ext
39914 cat >>conftest.$ac_ext <<_ACEOF
39915 /* end confdefs.h. */
39916
39917 /* Override any GCC internal prototype to avoid an error.
39918 Use char because int might match the return type of a GCC
39919 builtin and then its argument prototype would still apply. */
39920 #ifdef __cplusplus
39921 extern "C"
39922 #endif
39923 char inet_aton ();
39924 int
39925 main ()
39926 {
39927 return inet_aton ();
39928 ;
39929 return 0;
39930 }
39931 _ACEOF
39932 rm -f conftest.$ac_objext conftest$ac_exeext
39933 if { (ac_try="$ac_link"
39934 case "(($ac_try" in
39935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39936 *) ac_try_echo=$ac_try;;
39937 esac
39938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39939 (eval "$ac_link") 2>conftest.er1
39940 ac_status=$?
39941 grep -v '^ *+' conftest.er1 >conftest.err
39942 rm -f conftest.er1
39943 cat conftest.err >&5
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); } && {
39946 test -z "$ac_c_werror_flag" ||
39947 test ! -s conftest.err
39948 } && test -s conftest$ac_exeext &&
39949 $as_test_x conftest$ac_exeext; then
39950 eval "$as_ac_Lib=yes"
39951 else
39952 echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.$ac_ext >&5
39954
39955 eval "$as_ac_Lib=no"
39956 fi
39957
39958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39959 conftest$ac_exeext conftest.$ac_ext
39960 LIBS=$ac_check_lib_save_LIBS
39961 fi
39962 ac_res=`eval echo '${'$as_ac_Lib'}'`
39963 { echo "$as_me:$LINENO: result: $ac_res" >&5
39964 echo "${ECHO_T}$ac_res" >&6; }
39965 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39966 cat >>confdefs.h <<\_ACEOF
39967 #define HAVE_INET_ATON 1
39968 _ACEOF
39969
39970 fi
39971
39972
39973 fi
39974 done
39975
39976
39977 if test "x$INET_LINK" != "x"; then
39978 cat >>confdefs.h <<\_ACEOF
39979 #define HAVE_INET_ADDR 1
39980 _ACEOF
39981
39982 INET_LINK=" -l$INET_LINK"
39983 fi
39984
39985
39986 for wx_func in fdopen
39987 do
39988 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39989 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39990 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39991 echo $ECHO_N "(cached) $ECHO_C" >&6
39992 else
39993
39994 cat >conftest.$ac_ext <<_ACEOF
39995
39996 /* confdefs.h. */
39997 _ACEOF
39998 cat confdefs.h >>conftest.$ac_ext
39999 cat >>conftest.$ac_ext <<_ACEOF
40000 /* end confdefs.h. */
40001
40002
40003 $ac_includes_default
40004
40005 int
40006 main ()
40007 {
40008
40009 #ifndef $wx_func
40010 &$wx_func;
40011 #endif
40012
40013
40014 ;
40015 return 0;
40016 }
40017
40018 _ACEOF
40019 rm -f conftest.$ac_objext conftest$ac_exeext
40020 if { (ac_try="$ac_link"
40021 case "(($ac_try" in
40022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40023 *) ac_try_echo=$ac_try;;
40024 esac
40025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40026 (eval "$ac_link") 2>conftest.er1
40027 ac_status=$?
40028 grep -v '^ *+' conftest.er1 >conftest.err
40029 rm -f conftest.er1
40030 cat conftest.err >&5
40031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40032 (exit $ac_status); } && {
40033 test -z "$ac_c_werror_flag" ||
40034 test ! -s conftest.err
40035 } && test -s conftest$ac_exeext &&
40036 $as_test_x conftest$ac_exeext; then
40037 eval wx_cv_func_$wx_func=yes
40038 else
40039 echo "$as_me: failed program was:" >&5
40040 sed 's/^/| /' conftest.$ac_ext >&5
40041
40042 eval wx_cv_func_$wx_func=no
40043 fi
40044
40045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40046 conftest$ac_exeext conftest.$ac_ext
40047
40048 fi
40049 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40050 { echo "$as_me:$LINENO: result: $ac_res" >&5
40051 echo "${ECHO_T}$ac_res" >&6; }
40052
40053 if eval test \$wx_cv_func_$wx_func = yes
40054 then
40055 cat >>confdefs.h <<_ACEOF
40056 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40057 _ACEOF
40058
40059
40060 else
40061 :
40062
40063 fi
40064 done
40065
40066
40067 if test "$wxUSE_TARSTREAM" = "yes"; then
40068
40069 for wx_func in sysconf
40070 do
40071 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40072 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40073 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40074 echo $ECHO_N "(cached) $ECHO_C" >&6
40075 else
40076
40077 cat >conftest.$ac_ext <<_ACEOF
40078
40079 /* confdefs.h. */
40080 _ACEOF
40081 cat confdefs.h >>conftest.$ac_ext
40082 cat >>conftest.$ac_ext <<_ACEOF
40083 /* end confdefs.h. */
40084
40085
40086 $ac_includes_default
40087
40088 int
40089 main ()
40090 {
40091
40092 #ifndef $wx_func
40093 &$wx_func;
40094 #endif
40095
40096
40097 ;
40098 return 0;
40099 }
40100
40101 _ACEOF
40102 rm -f conftest.$ac_objext conftest$ac_exeext
40103 if { (ac_try="$ac_link"
40104 case "(($ac_try" in
40105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40106 *) ac_try_echo=$ac_try;;
40107 esac
40108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40109 (eval "$ac_link") 2>conftest.er1
40110 ac_status=$?
40111 grep -v '^ *+' conftest.er1 >conftest.err
40112 rm -f conftest.er1
40113 cat conftest.err >&5
40114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40115 (exit $ac_status); } && {
40116 test -z "$ac_c_werror_flag" ||
40117 test ! -s conftest.err
40118 } && test -s conftest$ac_exeext &&
40119 $as_test_x conftest$ac_exeext; then
40120 eval wx_cv_func_$wx_func=yes
40121 else
40122 echo "$as_me: failed program was:" >&5
40123 sed 's/^/| /' conftest.$ac_ext >&5
40124
40125 eval wx_cv_func_$wx_func=no
40126 fi
40127
40128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40129 conftest$ac_exeext conftest.$ac_ext
40130
40131 fi
40132 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40133 { echo "$as_me:$LINENO: result: $ac_res" >&5
40134 echo "${ECHO_T}$ac_res" >&6; }
40135
40136 if eval test \$wx_cv_func_$wx_func = yes
40137 then
40138 cat >>confdefs.h <<_ACEOF
40139 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40140 _ACEOF
40141
40142
40143 else
40144 :
40145
40146 fi
40147 done
40148
40149
40150
40151 for wx_func in getpwuid_r
40152 do
40153 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40154 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40155 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40156 echo $ECHO_N "(cached) $ECHO_C" >&6
40157 else
40158
40159 cat >conftest.$ac_ext <<_ACEOF
40160
40161 /* confdefs.h. */
40162 _ACEOF
40163 cat confdefs.h >>conftest.$ac_ext
40164 cat >>conftest.$ac_ext <<_ACEOF
40165 /* end confdefs.h. */
40166
40167
40168 #define _REENTRANT
40169 #include <pwd.h>
40170
40171 $ac_includes_default
40172
40173 int
40174 main ()
40175 {
40176
40177 #ifndef $wx_func
40178 &$wx_func;
40179 #endif
40180
40181 struct passwd pw, *ppw;
40182 char buf[1024];
40183 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40184
40185
40186 ;
40187 return 0;
40188 }
40189
40190 _ACEOF
40191 rm -f conftest.$ac_objext conftest$ac_exeext
40192 if { (ac_try="$ac_link"
40193 case "(($ac_try" in
40194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40195 *) ac_try_echo=$ac_try;;
40196 esac
40197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40198 (eval "$ac_link") 2>conftest.er1
40199 ac_status=$?
40200 grep -v '^ *+' conftest.er1 >conftest.err
40201 rm -f conftest.er1
40202 cat conftest.err >&5
40203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40204 (exit $ac_status); } && {
40205 test -z "$ac_c_werror_flag" ||
40206 test ! -s conftest.err
40207 } && test -s conftest$ac_exeext &&
40208 $as_test_x conftest$ac_exeext; then
40209 eval wx_cv_func_$wx_func=yes
40210 else
40211 echo "$as_me: failed program was:" >&5
40212 sed 's/^/| /' conftest.$ac_ext >&5
40213
40214 eval wx_cv_func_$wx_func=no
40215 fi
40216
40217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40218 conftest$ac_exeext conftest.$ac_ext
40219
40220 fi
40221 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40222 { echo "$as_me:$LINENO: result: $ac_res" >&5
40223 echo "${ECHO_T}$ac_res" >&6; }
40224
40225 if eval test \$wx_cv_func_$wx_func = yes
40226 then
40227 cat >>confdefs.h <<_ACEOF
40228 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40229 _ACEOF
40230
40231
40232 else
40233 :
40234
40235 fi
40236 done
40237
40238
40239
40240 for wx_func in getgrgid_r
40241 do
40242 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40243 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40244 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40245 echo $ECHO_N "(cached) $ECHO_C" >&6
40246 else
40247
40248 cat >conftest.$ac_ext <<_ACEOF
40249
40250 /* confdefs.h. */
40251 _ACEOF
40252 cat confdefs.h >>conftest.$ac_ext
40253 cat >>conftest.$ac_ext <<_ACEOF
40254 /* end confdefs.h. */
40255
40256
40257 #define _REENTRANT
40258 #include <grp.h>
40259
40260 $ac_includes_default
40261
40262 int
40263 main ()
40264 {
40265
40266 #ifndef $wx_func
40267 &$wx_func;
40268 #endif
40269
40270 struct group grp, *pgrp;
40271 char buf[1024];
40272 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40273
40274
40275 ;
40276 return 0;
40277 }
40278
40279 _ACEOF
40280 rm -f conftest.$ac_objext conftest$ac_exeext
40281 if { (ac_try="$ac_link"
40282 case "(($ac_try" in
40283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40284 *) ac_try_echo=$ac_try;;
40285 esac
40286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40287 (eval "$ac_link") 2>conftest.er1
40288 ac_status=$?
40289 grep -v '^ *+' conftest.er1 >conftest.err
40290 rm -f conftest.er1
40291 cat conftest.err >&5
40292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40293 (exit $ac_status); } && {
40294 test -z "$ac_c_werror_flag" ||
40295 test ! -s conftest.err
40296 } && test -s conftest$ac_exeext &&
40297 $as_test_x conftest$ac_exeext; then
40298 eval wx_cv_func_$wx_func=yes
40299 else
40300 echo "$as_me: failed program was:" >&5
40301 sed 's/^/| /' conftest.$ac_ext >&5
40302
40303 eval wx_cv_func_$wx_func=no
40304 fi
40305
40306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40307 conftest$ac_exeext conftest.$ac_ext
40308
40309 fi
40310 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40311 { echo "$as_me:$LINENO: result: $ac_res" >&5
40312 echo "${ECHO_T}$ac_res" >&6; }
40313
40314 if eval test \$wx_cv_func_$wx_func = yes
40315 then
40316 cat >>confdefs.h <<_ACEOF
40317 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40318 _ACEOF
40319
40320
40321 else
40322 :
40323
40324 fi
40325 done
40326
40327 fi
40328
40329 fi
40330
40331
40332
40333 cat >confcache <<\_ACEOF
40334 # This file is a shell script that caches the results of configure
40335 # tests run on this system so they can be shared between configure
40336 # scripts and configure runs, see configure's option --config-cache.
40337 # It is not useful on other systems. If it contains results you don't
40338 # want to keep, you may remove or edit it.
40339 #
40340 # config.status only pays attention to the cache file if you give it
40341 # the --recheck option to rerun configure.
40342 #
40343 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40344 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40345 # following values.
40346
40347 _ACEOF
40348
40349 # The following way of writing the cache mishandles newlines in values,
40350 # but we know of no workaround that is simple, portable, and efficient.
40351 # So, we kill variables containing newlines.
40352 # Ultrix sh set writes to stderr and can't be redirected directly,
40353 # and sets the high bit in the cache file unless we assign to the vars.
40354 (
40355 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40356 eval ac_val=\$$ac_var
40357 case $ac_val in #(
40358 *${as_nl}*)
40359 case $ac_var in #(
40360 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40361 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40362 esac
40363 case $ac_var in #(
40364 _ | IFS | as_nl) ;; #(
40365 *) $as_unset $ac_var ;;
40366 esac ;;
40367 esac
40368 done
40369
40370 (set) 2>&1 |
40371 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40372 *${as_nl}ac_space=\ *)
40373 # `set' does not quote correctly, so add quotes (double-quote
40374 # substitution turns \\\\ into \\, and sed turns \\ into \).
40375 sed -n \
40376 "s/'/'\\\\''/g;
40377 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40378 ;; #(
40379 *)
40380 # `set' quotes correctly as required by POSIX, so do not add quotes.
40381 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40382 ;;
40383 esac |
40384 sort
40385 ) |
40386 sed '
40387 /^ac_cv_env_/b end
40388 t clear
40389 :clear
40390 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40391 t end
40392 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40393 :end' >>confcache
40394 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40395 if test -w "$cache_file"; then
40396 test "x$cache_file" != "x/dev/null" &&
40397 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40398 echo "$as_me: updating cache $cache_file" >&6;}
40399 cat confcache >$cache_file
40400 else
40401 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40402 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40403 fi
40404 fi
40405 rm -f confcache
40406
40407
40408 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40409
40410
40411 THREADS_LINK=
40412 THREADS_CFLAGS=
40413
40414 if test "$wxUSE_THREADS" = "yes" ; then
40415 if test "$USE_BEOS" = 1; then
40416 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40417 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40418 wxUSE_THREADS="no"
40419 fi
40420 fi
40421
40422 if test "$wxUSE_THREADS" = "yes" ; then
40423
40424
40425 THREAD_OPTS="-pthread"
40426 if test "x$SUNCXX" = xyes; then
40427 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40428 fi
40429
40430 case "${host}" in
40431 *-*-solaris2* | *-*-sunos4* )
40432 if test "x$GCC" = "xyes"; then
40433 THREAD_OPTS="-pthreads $THREAD_OPTS"
40434 fi
40435 ;;
40436 *-*-freebsd*)
40437 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40438 ;;
40439 *-*-darwin* | *-*-cygwin* )
40440 THREAD_OPTS=""
40441 ;;
40442 *-*-aix*)
40443 THREAD_OPTS="pthreads"
40444 ;;
40445 *-hp-hpux* )
40446 if test "x$GCC" = "xyes"; then
40447 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40448 THREAD_OPTS=""
40449 else
40450 THREAD_OPTS="-mt"
40451 fi
40452 ;;
40453
40454 *-*-irix* )
40455 if test "x$GCC" = "xyes"; then
40456 THREAD_OPTS=""
40457 fi
40458 ;;
40459
40460 *-*-qnx*)
40461 THREAD_OPTS=""
40462 ;;
40463
40464 *-*-*UnixWare*)
40465 if test "x$GCC" != "xyes"; then
40466 THREAD_OPTS="-Ethread"
40467 fi
40468 ;;
40469 esac
40470
40471 case "${host}" in
40472 *-*-qnx*)
40473 THREAD_OPTS="none pthread"
40474 ;;
40475
40476 *)
40477 THREAD_OPTS="$THREAD_OPTS pthread none"
40478 ;;
40479 esac
40480
40481 THREADS_OK=no
40482 for flag in $THREAD_OPTS; do
40483 case $flag in
40484 none)
40485 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40486 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40487 ;;
40488
40489 -*)
40490 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40491 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40492 THREADS_CFLAGS="$flag"
40493 ;;
40494
40495 *)
40496 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40497 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40498 THREADS_LINK="-l$flag"
40499 ;;
40500 esac
40501
40502 save_LIBS="$LIBS"
40503 save_CFLAGS="$CFLAGS"
40504 LIBS="$THREADS_LINK $LIBS"
40505 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40506
40507 cat >conftest.$ac_ext <<_ACEOF
40508 /* confdefs.h. */
40509 _ACEOF
40510 cat confdefs.h >>conftest.$ac_ext
40511 cat >>conftest.$ac_ext <<_ACEOF
40512 /* end confdefs.h. */
40513 #include <pthread.h>
40514 int
40515 main ()
40516 {
40517 pthread_create(0,0,0,0);
40518 ;
40519 return 0;
40520 }
40521 _ACEOF
40522 rm -f conftest.$ac_objext conftest$ac_exeext
40523 if { (ac_try="$ac_link"
40524 case "(($ac_try" in
40525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40526 *) ac_try_echo=$ac_try;;
40527 esac
40528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40529 (eval "$ac_link") 2>conftest.er1
40530 ac_status=$?
40531 grep -v '^ *+' conftest.er1 >conftest.err
40532 rm -f conftest.er1
40533 cat conftest.err >&5
40534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40535 (exit $ac_status); } && {
40536 test -z "$ac_c_werror_flag" ||
40537 test ! -s conftest.err
40538 } && test -s conftest$ac_exeext &&
40539 $as_test_x conftest$ac_exeext; then
40540 THREADS_OK=yes
40541 else
40542 echo "$as_me: failed program was:" >&5
40543 sed 's/^/| /' conftest.$ac_ext >&5
40544
40545
40546 fi
40547
40548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40549 conftest$ac_exeext conftest.$ac_ext
40550
40551 LIBS="$save_LIBS"
40552 CFLAGS="$save_CFLAGS"
40553
40554 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40555 echo "${ECHO_T}$THREADS_OK" >&6; }
40556 if test "x$THREADS_OK" = "xyes"; then
40557 break;
40558 fi
40559
40560 THREADS_LINK=""
40561 THREADS_CFLAGS=""
40562 done
40563
40564 if test "x$THREADS_OK" != "xyes"; then
40565 wxUSE_THREADS=no
40566 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40567 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40568 else
40569 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40570 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40571 LIBS="$THREADS_LINK $LIBS"
40572
40573 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40574 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40575 flag=no
40576 case "${host}" in
40577 *-aix*)
40578 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40579 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40580 flag="-D_THREAD_SAFE"
40581 ;;
40582 *-freebsd*)
40583 flag="-D_THREAD_SAFE"
40584 ;;
40585 *-hp-hpux* )
40586 flag="-D_REENTRANT"
40587 if test "x$GCC" != "xyes"; then
40588 flag="$flag -D_RWSTD_MULTI_THREAD"
40589 fi
40590 ;;
40591 *solaris* | alpha*-osf*)
40592 flag="-D_REENTRANT"
40593 ;;
40594 esac
40595 { echo "$as_me:$LINENO: result: ${flag}" >&5
40596 echo "${ECHO_T}${flag}" >&6; }
40597 if test "x$flag" != xno; then
40598 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40599 fi
40600
40601 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40602 fi
40603 fi
40604
40605 if test "$wxUSE_THREADS" = "yes" ; then
40606
40607 for ac_func in thr_setconcurrency
40608 do
40609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40610 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40612 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40613 echo $ECHO_N "(cached) $ECHO_C" >&6
40614 else
40615 cat >conftest.$ac_ext <<_ACEOF
40616 /* confdefs.h. */
40617 _ACEOF
40618 cat confdefs.h >>conftest.$ac_ext
40619 cat >>conftest.$ac_ext <<_ACEOF
40620 /* end confdefs.h. */
40621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40623 #define $ac_func innocuous_$ac_func
40624
40625 /* System header to define __stub macros and hopefully few prototypes,
40626 which can conflict with char $ac_func (); below.
40627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40628 <limits.h> exists even on freestanding compilers. */
40629
40630 #ifdef __STDC__
40631 # include <limits.h>
40632 #else
40633 # include <assert.h>
40634 #endif
40635
40636 #undef $ac_func
40637
40638 /* Override any GCC internal prototype to avoid an error.
40639 Use char because int might match the return type of a GCC
40640 builtin and then its argument prototype would still apply. */
40641 #ifdef __cplusplus
40642 extern "C"
40643 #endif
40644 char $ac_func ();
40645 /* The GNU C library defines this for functions which it implements
40646 to always fail with ENOSYS. Some functions are actually named
40647 something starting with __ and the normal name is an alias. */
40648 #if defined __stub_$ac_func || defined __stub___$ac_func
40649 choke me
40650 #endif
40651
40652 int
40653 main ()
40654 {
40655 return $ac_func ();
40656 ;
40657 return 0;
40658 }
40659 _ACEOF
40660 rm -f conftest.$ac_objext conftest$ac_exeext
40661 if { (ac_try="$ac_link"
40662 case "(($ac_try" in
40663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40664 *) ac_try_echo=$ac_try;;
40665 esac
40666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40667 (eval "$ac_link") 2>conftest.er1
40668 ac_status=$?
40669 grep -v '^ *+' conftest.er1 >conftest.err
40670 rm -f conftest.er1
40671 cat conftest.err >&5
40672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673 (exit $ac_status); } && {
40674 test -z "$ac_c_werror_flag" ||
40675 test ! -s conftest.err
40676 } && test -s conftest$ac_exeext &&
40677 $as_test_x conftest$ac_exeext; then
40678 eval "$as_ac_var=yes"
40679 else
40680 echo "$as_me: failed program was:" >&5
40681 sed 's/^/| /' conftest.$ac_ext >&5
40682
40683 eval "$as_ac_var=no"
40684 fi
40685
40686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40687 conftest$ac_exeext conftest.$ac_ext
40688 fi
40689 ac_res=`eval echo '${'$as_ac_var'}'`
40690 { echo "$as_me:$LINENO: result: $ac_res" >&5
40691 echo "${ECHO_T}$ac_res" >&6; }
40692 if test `eval echo '${'$as_ac_var'}'` = yes; then
40693 cat >>confdefs.h <<_ACEOF
40694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40695 _ACEOF
40696
40697 fi
40698 done
40699
40700
40701 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40702 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40703 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40704 echo $ECHO_N "(cached) $ECHO_C" >&6
40705 else
40706
40707 ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712
40713 cat >conftest.$ac_ext <<_ACEOF
40714 /* confdefs.h. */
40715 _ACEOF
40716 cat confdefs.h >>conftest.$ac_ext
40717 cat >>conftest.$ac_ext <<_ACEOF
40718 /* end confdefs.h. */
40719 #include <pthread.h>
40720 void ThreadCleanupFunc(void *p);
40721
40722 int
40723 main ()
40724 {
40725
40726 void *p;
40727 pthread_cleanup_push(ThreadCleanupFunc, p);
40728 pthread_cleanup_pop(0);
40729
40730 ;
40731 return 0;
40732 }
40733 _ACEOF
40734 rm -f conftest.$ac_objext
40735 if { (ac_try="$ac_compile"
40736 case "(($ac_try" in
40737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40738 *) ac_try_echo=$ac_try;;
40739 esac
40740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40741 (eval "$ac_compile") 2>conftest.er1
40742 ac_status=$?
40743 grep -v '^ *+' conftest.er1 >conftest.err
40744 rm -f conftest.er1
40745 cat conftest.err >&5
40746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747 (exit $ac_status); } && {
40748 test -z "$ac_cxx_werror_flag" ||
40749 test ! -s conftest.err
40750 } && test -s conftest.$ac_objext; then
40751
40752 wx_cv_func_pthread_cleanup=yes
40753
40754 else
40755 echo "$as_me: failed program was:" >&5
40756 sed 's/^/| /' conftest.$ac_ext >&5
40757
40758
40759 wx_cv_func_pthread_cleanup=no
40760
40761
40762 fi
40763
40764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40765 ac_ext=c
40766 ac_cpp='$CPP $CPPFLAGS'
40767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40770
40771
40772 fi
40773 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40774 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40775 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40776 cat >>confdefs.h <<\_ACEOF
40777 #define wxHAVE_PTHREAD_CLEANUP 1
40778 _ACEOF
40779
40780 fi
40781
40782
40783 for ac_header in sched.h
40784 do
40785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40786 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40789 echo $ECHO_N "(cached) $ECHO_C" >&6
40790 else
40791 cat >conftest.$ac_ext <<_ACEOF
40792 /* confdefs.h. */
40793 _ACEOF
40794 cat confdefs.h >>conftest.$ac_ext
40795 cat >>conftest.$ac_ext <<_ACEOF
40796 /* end confdefs.h. */
40797 $ac_includes_default
40798
40799 #include <$ac_header>
40800 _ACEOF
40801 rm -f conftest.$ac_objext
40802 if { (ac_try="$ac_compile"
40803 case "(($ac_try" in
40804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40805 *) ac_try_echo=$ac_try;;
40806 esac
40807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40808 (eval "$ac_compile") 2>conftest.er1
40809 ac_status=$?
40810 grep -v '^ *+' conftest.er1 >conftest.err
40811 rm -f conftest.er1
40812 cat conftest.err >&5
40813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814 (exit $ac_status); } && {
40815 test -z "$ac_c_werror_flag" ||
40816 test ! -s conftest.err
40817 } && test -s conftest.$ac_objext; then
40818 eval "$as_ac_Header=yes"
40819 else
40820 echo "$as_me: failed program was:" >&5
40821 sed 's/^/| /' conftest.$ac_ext >&5
40822
40823 eval "$as_ac_Header=no"
40824 fi
40825
40826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40827 fi
40828 ac_res=`eval echo '${'$as_ac_Header'}'`
40829 { echo "$as_me:$LINENO: result: $ac_res" >&5
40830 echo "${ECHO_T}$ac_res" >&6; }
40831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40832 cat >>confdefs.h <<_ACEOF
40833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40834 _ACEOF
40835
40836 fi
40837
40838 done
40839
40840 if test "$ac_cv_header_sched_h" = "yes"; then
40841 { echo "$as_me:$LINENO: checking for sched_yield" >&5
40842 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
40843 if test "${ac_cv_func_sched_yield+set}" = set; then
40844 echo $ECHO_N "(cached) $ECHO_C" >&6
40845 else
40846 cat >conftest.$ac_ext <<_ACEOF
40847 /* confdefs.h. */
40848 _ACEOF
40849 cat confdefs.h >>conftest.$ac_ext
40850 cat >>conftest.$ac_ext <<_ACEOF
40851 /* end confdefs.h. */
40852 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40854 #define sched_yield innocuous_sched_yield
40855
40856 /* System header to define __stub macros and hopefully few prototypes,
40857 which can conflict with char sched_yield (); below.
40858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40859 <limits.h> exists even on freestanding compilers. */
40860
40861 #ifdef __STDC__
40862 # include <limits.h>
40863 #else
40864 # include <assert.h>
40865 #endif
40866
40867 #undef sched_yield
40868
40869 /* Override any GCC internal prototype to avoid an error.
40870 Use char because int might match the return type of a GCC
40871 builtin and then its argument prototype would still apply. */
40872 #ifdef __cplusplus
40873 extern "C"
40874 #endif
40875 char sched_yield ();
40876 /* The GNU C library defines this for functions which it implements
40877 to always fail with ENOSYS. Some functions are actually named
40878 something starting with __ and the normal name is an alias. */
40879 #if defined __stub_sched_yield || defined __stub___sched_yield
40880 choke me
40881 #endif
40882
40883 int
40884 main ()
40885 {
40886 return sched_yield ();
40887 ;
40888 return 0;
40889 }
40890 _ACEOF
40891 rm -f conftest.$ac_objext conftest$ac_exeext
40892 if { (ac_try="$ac_link"
40893 case "(($ac_try" in
40894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40895 *) ac_try_echo=$ac_try;;
40896 esac
40897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40898 (eval "$ac_link") 2>conftest.er1
40899 ac_status=$?
40900 grep -v '^ *+' conftest.er1 >conftest.err
40901 rm -f conftest.er1
40902 cat conftest.err >&5
40903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40904 (exit $ac_status); } && {
40905 test -z "$ac_c_werror_flag" ||
40906 test ! -s conftest.err
40907 } && test -s conftest$ac_exeext &&
40908 $as_test_x conftest$ac_exeext; then
40909 ac_cv_func_sched_yield=yes
40910 else
40911 echo "$as_me: failed program was:" >&5
40912 sed 's/^/| /' conftest.$ac_ext >&5
40913
40914 ac_cv_func_sched_yield=no
40915 fi
40916
40917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40918 conftest$ac_exeext conftest.$ac_ext
40919 fi
40920 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40921 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
40922 if test $ac_cv_func_sched_yield = yes; then
40923 cat >>confdefs.h <<\_ACEOF
40924 #define HAVE_SCHED_YIELD 1
40925 _ACEOF
40926
40927 else
40928
40929 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40930 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
40931 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40932 echo $ECHO_N "(cached) $ECHO_C" >&6
40933 else
40934 ac_check_lib_save_LIBS=$LIBS
40935 LIBS="-lposix4 $LIBS"
40936 cat >conftest.$ac_ext <<_ACEOF
40937 /* confdefs.h. */
40938 _ACEOF
40939 cat confdefs.h >>conftest.$ac_ext
40940 cat >>conftest.$ac_ext <<_ACEOF
40941 /* end confdefs.h. */
40942
40943 /* Override any GCC internal prototype to avoid an error.
40944 Use char because int might match the return type of a GCC
40945 builtin and then its argument prototype would still apply. */
40946 #ifdef __cplusplus
40947 extern "C"
40948 #endif
40949 char sched_yield ();
40950 int
40951 main ()
40952 {
40953 return sched_yield ();
40954 ;
40955 return 0;
40956 }
40957 _ACEOF
40958 rm -f conftest.$ac_objext conftest$ac_exeext
40959 if { (ac_try="$ac_link"
40960 case "(($ac_try" in
40961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40962 *) ac_try_echo=$ac_try;;
40963 esac
40964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40965 (eval "$ac_link") 2>conftest.er1
40966 ac_status=$?
40967 grep -v '^ *+' conftest.er1 >conftest.err
40968 rm -f conftest.er1
40969 cat conftest.err >&5
40970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971 (exit $ac_status); } && {
40972 test -z "$ac_c_werror_flag" ||
40973 test ! -s conftest.err
40974 } && test -s conftest$ac_exeext &&
40975 $as_test_x conftest$ac_exeext; then
40976 ac_cv_lib_posix4_sched_yield=yes
40977 else
40978 echo "$as_me: failed program was:" >&5
40979 sed 's/^/| /' conftest.$ac_ext >&5
40980
40981 ac_cv_lib_posix4_sched_yield=no
40982 fi
40983
40984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40985 conftest$ac_exeext conftest.$ac_ext
40986 LIBS=$ac_check_lib_save_LIBS
40987 fi
40988 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40989 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
40990 if test $ac_cv_lib_posix4_sched_yield = yes; then
40991 cat >>confdefs.h <<\_ACEOF
40992 #define HAVE_SCHED_YIELD 1
40993 _ACEOF
40994 POSIX4_LINK=" -lposix4"
40995 else
40996 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40997 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40998
40999 fi
41000
41001
41002
41003 fi
41004
41005 fi
41006
41007 HAVE_PRIOR_FUNCS=0
41008 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41009 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41010 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41011 echo $ECHO_N "(cached) $ECHO_C" >&6
41012 else
41013 cat >conftest.$ac_ext <<_ACEOF
41014 /* confdefs.h. */
41015 _ACEOF
41016 cat confdefs.h >>conftest.$ac_ext
41017 cat >>conftest.$ac_ext <<_ACEOF
41018 /* end confdefs.h. */
41019 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41021 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41022
41023 /* System header to define __stub macros and hopefully few prototypes,
41024 which can conflict with char pthread_attr_getschedpolicy (); below.
41025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41026 <limits.h> exists even on freestanding compilers. */
41027
41028 #ifdef __STDC__
41029 # include <limits.h>
41030 #else
41031 # include <assert.h>
41032 #endif
41033
41034 #undef pthread_attr_getschedpolicy
41035
41036 /* Override any GCC internal prototype to avoid an error.
41037 Use char because int might match the return type of a GCC
41038 builtin and then its argument prototype would still apply. */
41039 #ifdef __cplusplus
41040 extern "C"
41041 #endif
41042 char pthread_attr_getschedpolicy ();
41043 /* The GNU C library defines this for functions which it implements
41044 to always fail with ENOSYS. Some functions are actually named
41045 something starting with __ and the normal name is an alias. */
41046 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41047 choke me
41048 #endif
41049
41050 int
41051 main ()
41052 {
41053 return pthread_attr_getschedpolicy ();
41054 ;
41055 return 0;
41056 }
41057 _ACEOF
41058 rm -f conftest.$ac_objext conftest$ac_exeext
41059 if { (ac_try="$ac_link"
41060 case "(($ac_try" in
41061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41062 *) ac_try_echo=$ac_try;;
41063 esac
41064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41065 (eval "$ac_link") 2>conftest.er1
41066 ac_status=$?
41067 grep -v '^ *+' conftest.er1 >conftest.err
41068 rm -f conftest.er1
41069 cat conftest.err >&5
41070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41071 (exit $ac_status); } && {
41072 test -z "$ac_c_werror_flag" ||
41073 test ! -s conftest.err
41074 } && test -s conftest$ac_exeext &&
41075 $as_test_x conftest$ac_exeext; then
41076 ac_cv_func_pthread_attr_getschedpolicy=yes
41077 else
41078 echo "$as_me: failed program was:" >&5
41079 sed 's/^/| /' conftest.$ac_ext >&5
41080
41081 ac_cv_func_pthread_attr_getschedpolicy=no
41082 fi
41083
41084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41085 conftest$ac_exeext conftest.$ac_ext
41086 fi
41087 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41088 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41089 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41090 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41091 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41092 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41093 echo $ECHO_N "(cached) $ECHO_C" >&6
41094 else
41095 cat >conftest.$ac_ext <<_ACEOF
41096 /* confdefs.h. */
41097 _ACEOF
41098 cat confdefs.h >>conftest.$ac_ext
41099 cat >>conftest.$ac_ext <<_ACEOF
41100 /* end confdefs.h. */
41101 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41103 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41104
41105 /* System header to define __stub macros and hopefully few prototypes,
41106 which can conflict with char pthread_attr_setschedparam (); below.
41107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41108 <limits.h> exists even on freestanding compilers. */
41109
41110 #ifdef __STDC__
41111 # include <limits.h>
41112 #else
41113 # include <assert.h>
41114 #endif
41115
41116 #undef pthread_attr_setschedparam
41117
41118 /* Override any GCC internal prototype to avoid an error.
41119 Use char because int might match the return type of a GCC
41120 builtin and then its argument prototype would still apply. */
41121 #ifdef __cplusplus
41122 extern "C"
41123 #endif
41124 char pthread_attr_setschedparam ();
41125 /* The GNU C library defines this for functions which it implements
41126 to always fail with ENOSYS. Some functions are actually named
41127 something starting with __ and the normal name is an alias. */
41128 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41129 choke me
41130 #endif
41131
41132 int
41133 main ()
41134 {
41135 return pthread_attr_setschedparam ();
41136 ;
41137 return 0;
41138 }
41139 _ACEOF
41140 rm -f conftest.$ac_objext conftest$ac_exeext
41141 if { (ac_try="$ac_link"
41142 case "(($ac_try" in
41143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41144 *) ac_try_echo=$ac_try;;
41145 esac
41146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41147 (eval "$ac_link") 2>conftest.er1
41148 ac_status=$?
41149 grep -v '^ *+' conftest.er1 >conftest.err
41150 rm -f conftest.er1
41151 cat conftest.err >&5
41152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41153 (exit $ac_status); } && {
41154 test -z "$ac_c_werror_flag" ||
41155 test ! -s conftest.err
41156 } && test -s conftest$ac_exeext &&
41157 $as_test_x conftest$ac_exeext; then
41158 ac_cv_func_pthread_attr_setschedparam=yes
41159 else
41160 echo "$as_me: failed program was:" >&5
41161 sed 's/^/| /' conftest.$ac_ext >&5
41162
41163 ac_cv_func_pthread_attr_setschedparam=no
41164 fi
41165
41166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41167 conftest$ac_exeext conftest.$ac_ext
41168 fi
41169 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41170 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41171 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41172 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41173 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41174 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41175 echo $ECHO_N "(cached) $ECHO_C" >&6
41176 else
41177 cat >conftest.$ac_ext <<_ACEOF
41178 /* confdefs.h. */
41179 _ACEOF
41180 cat confdefs.h >>conftest.$ac_ext
41181 cat >>conftest.$ac_ext <<_ACEOF
41182 /* end confdefs.h. */
41183 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41185 #define sched_get_priority_max innocuous_sched_get_priority_max
41186
41187 /* System header to define __stub macros and hopefully few prototypes,
41188 which can conflict with char sched_get_priority_max (); below.
41189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41190 <limits.h> exists even on freestanding compilers. */
41191
41192 #ifdef __STDC__
41193 # include <limits.h>
41194 #else
41195 # include <assert.h>
41196 #endif
41197
41198 #undef sched_get_priority_max
41199
41200 /* Override any GCC internal prototype to avoid an error.
41201 Use char because int might match the return type of a GCC
41202 builtin and then its argument prototype would still apply. */
41203 #ifdef __cplusplus
41204 extern "C"
41205 #endif
41206 char sched_get_priority_max ();
41207 /* The GNU C library defines this for functions which it implements
41208 to always fail with ENOSYS. Some functions are actually named
41209 something starting with __ and the normal name is an alias. */
41210 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41211 choke me
41212 #endif
41213
41214 int
41215 main ()
41216 {
41217 return sched_get_priority_max ();
41218 ;
41219 return 0;
41220 }
41221 _ACEOF
41222 rm -f conftest.$ac_objext conftest$ac_exeext
41223 if { (ac_try="$ac_link"
41224 case "(($ac_try" in
41225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41226 *) ac_try_echo=$ac_try;;
41227 esac
41228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41229 (eval "$ac_link") 2>conftest.er1
41230 ac_status=$?
41231 grep -v '^ *+' conftest.er1 >conftest.err
41232 rm -f conftest.er1
41233 cat conftest.err >&5
41234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41235 (exit $ac_status); } && {
41236 test -z "$ac_c_werror_flag" ||
41237 test ! -s conftest.err
41238 } && test -s conftest$ac_exeext &&
41239 $as_test_x conftest$ac_exeext; then
41240 ac_cv_func_sched_get_priority_max=yes
41241 else
41242 echo "$as_me: failed program was:" >&5
41243 sed 's/^/| /' conftest.$ac_ext >&5
41244
41245 ac_cv_func_sched_get_priority_max=no
41246 fi
41247
41248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41249 conftest$ac_exeext conftest.$ac_ext
41250 fi
41251 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41252 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41253 if test $ac_cv_func_sched_get_priority_max = yes; then
41254 HAVE_PRIOR_FUNCS=1
41255 else
41256 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41257 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41258 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41259 echo $ECHO_N "(cached) $ECHO_C" >&6
41260 else
41261 ac_check_lib_save_LIBS=$LIBS
41262 LIBS="-lposix4 $LIBS"
41263 cat >conftest.$ac_ext <<_ACEOF
41264 /* confdefs.h. */
41265 _ACEOF
41266 cat confdefs.h >>conftest.$ac_ext
41267 cat >>conftest.$ac_ext <<_ACEOF
41268 /* end confdefs.h. */
41269
41270 /* Override any GCC internal prototype to avoid an error.
41271 Use char because int might match the return type of a GCC
41272 builtin and then its argument prototype would still apply. */
41273 #ifdef __cplusplus
41274 extern "C"
41275 #endif
41276 char sched_get_priority_max ();
41277 int
41278 main ()
41279 {
41280 return sched_get_priority_max ();
41281 ;
41282 return 0;
41283 }
41284 _ACEOF
41285 rm -f conftest.$ac_objext conftest$ac_exeext
41286 if { (ac_try="$ac_link"
41287 case "(($ac_try" in
41288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41289 *) ac_try_echo=$ac_try;;
41290 esac
41291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41292 (eval "$ac_link") 2>conftest.er1
41293 ac_status=$?
41294 grep -v '^ *+' conftest.er1 >conftest.err
41295 rm -f conftest.er1
41296 cat conftest.err >&5
41297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41298 (exit $ac_status); } && {
41299 test -z "$ac_c_werror_flag" ||
41300 test ! -s conftest.err
41301 } && test -s conftest$ac_exeext &&
41302 $as_test_x conftest$ac_exeext; then
41303 ac_cv_lib_posix4_sched_get_priority_max=yes
41304 else
41305 echo "$as_me: failed program was:" >&5
41306 sed 's/^/| /' conftest.$ac_ext >&5
41307
41308 ac_cv_lib_posix4_sched_get_priority_max=no
41309 fi
41310
41311 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41312 conftest$ac_exeext conftest.$ac_ext
41313 LIBS=$ac_check_lib_save_LIBS
41314 fi
41315 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41316 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41317 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41318
41319 HAVE_PRIOR_FUNCS=1
41320 POSIX4_LINK=" -lposix4"
41321
41322 fi
41323
41324
41325 fi
41326
41327
41328 fi
41329
41330
41331 fi
41332
41333
41334 if test "$HAVE_PRIOR_FUNCS" = 1; then
41335 cat >>confdefs.h <<\_ACEOF
41336 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41337 _ACEOF
41338
41339 else
41340 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41341 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41342 fi
41343
41344 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41345 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41346 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41347 echo $ECHO_N "(cached) $ECHO_C" >&6
41348 else
41349 cat >conftest.$ac_ext <<_ACEOF
41350 /* confdefs.h. */
41351 _ACEOF
41352 cat confdefs.h >>conftest.$ac_ext
41353 cat >>conftest.$ac_ext <<_ACEOF
41354 /* end confdefs.h. */
41355 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41357 #define pthread_cancel innocuous_pthread_cancel
41358
41359 /* System header to define __stub macros and hopefully few prototypes,
41360 which can conflict with char pthread_cancel (); below.
41361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41362 <limits.h> exists even on freestanding compilers. */
41363
41364 #ifdef __STDC__
41365 # include <limits.h>
41366 #else
41367 # include <assert.h>
41368 #endif
41369
41370 #undef pthread_cancel
41371
41372 /* Override any GCC internal prototype to avoid an error.
41373 Use char because int might match the return type of a GCC
41374 builtin and then its argument prototype would still apply. */
41375 #ifdef __cplusplus
41376 extern "C"
41377 #endif
41378 char pthread_cancel ();
41379 /* The GNU C library defines this for functions which it implements
41380 to always fail with ENOSYS. Some functions are actually named
41381 something starting with __ and the normal name is an alias. */
41382 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41383 choke me
41384 #endif
41385
41386 int
41387 main ()
41388 {
41389 return pthread_cancel ();
41390 ;
41391 return 0;
41392 }
41393 _ACEOF
41394 rm -f conftest.$ac_objext conftest$ac_exeext
41395 if { (ac_try="$ac_link"
41396 case "(($ac_try" in
41397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41398 *) ac_try_echo=$ac_try;;
41399 esac
41400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41401 (eval "$ac_link") 2>conftest.er1
41402 ac_status=$?
41403 grep -v '^ *+' conftest.er1 >conftest.err
41404 rm -f conftest.er1
41405 cat conftest.err >&5
41406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41407 (exit $ac_status); } && {
41408 test -z "$ac_c_werror_flag" ||
41409 test ! -s conftest.err
41410 } && test -s conftest$ac_exeext &&
41411 $as_test_x conftest$ac_exeext; then
41412 ac_cv_func_pthread_cancel=yes
41413 else
41414 echo "$as_me: failed program was:" >&5
41415 sed 's/^/| /' conftest.$ac_ext >&5
41416
41417 ac_cv_func_pthread_cancel=no
41418 fi
41419
41420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41421 conftest$ac_exeext conftest.$ac_ext
41422 fi
41423 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41424 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41425 if test $ac_cv_func_pthread_cancel = yes; then
41426 cat >>confdefs.h <<\_ACEOF
41427 #define HAVE_PTHREAD_CANCEL 1
41428 _ACEOF
41429
41430 else
41431 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41432 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41433 fi
41434
41435
41436 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41437 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41438 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41439 echo $ECHO_N "(cached) $ECHO_C" >&6
41440 else
41441 cat >conftest.$ac_ext <<_ACEOF
41442 /* confdefs.h. */
41443 _ACEOF
41444 cat confdefs.h >>conftest.$ac_ext
41445 cat >>conftest.$ac_ext <<_ACEOF
41446 /* end confdefs.h. */
41447 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41449 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41450
41451 /* System header to define __stub macros and hopefully few prototypes,
41452 which can conflict with char pthread_mutex_timedlock (); below.
41453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41454 <limits.h> exists even on freestanding compilers. */
41455
41456 #ifdef __STDC__
41457 # include <limits.h>
41458 #else
41459 # include <assert.h>
41460 #endif
41461
41462 #undef pthread_mutex_timedlock
41463
41464 /* Override any GCC internal prototype to avoid an error.
41465 Use char because int might match the return type of a GCC
41466 builtin and then its argument prototype would still apply. */
41467 #ifdef __cplusplus
41468 extern "C"
41469 #endif
41470 char pthread_mutex_timedlock ();
41471 /* The GNU C library defines this for functions which it implements
41472 to always fail with ENOSYS. Some functions are actually named
41473 something starting with __ and the normal name is an alias. */
41474 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41475 choke me
41476 #endif
41477
41478 int
41479 main ()
41480 {
41481 return pthread_mutex_timedlock ();
41482 ;
41483 return 0;
41484 }
41485 _ACEOF
41486 rm -f conftest.$ac_objext conftest$ac_exeext
41487 if { (ac_try="$ac_link"
41488 case "(($ac_try" in
41489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41490 *) ac_try_echo=$ac_try;;
41491 esac
41492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41493 (eval "$ac_link") 2>conftest.er1
41494 ac_status=$?
41495 grep -v '^ *+' conftest.er1 >conftest.err
41496 rm -f conftest.er1
41497 cat conftest.err >&5
41498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41499 (exit $ac_status); } && {
41500 test -z "$ac_c_werror_flag" ||
41501 test ! -s conftest.err
41502 } && test -s conftest$ac_exeext &&
41503 $as_test_x conftest$ac_exeext; then
41504 ac_cv_func_pthread_mutex_timedlock=yes
41505 else
41506 echo "$as_me: failed program was:" >&5
41507 sed 's/^/| /' conftest.$ac_ext >&5
41508
41509 ac_cv_func_pthread_mutex_timedlock=no
41510 fi
41511
41512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41513 conftest$ac_exeext conftest.$ac_ext
41514 fi
41515 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41516 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41517 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41518 cat >>confdefs.h <<\_ACEOF
41519 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41520 _ACEOF
41521
41522 else
41523 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41524 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41525 fi
41526
41527
41528 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41529 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41530 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41531 echo $ECHO_N "(cached) $ECHO_C" >&6
41532 else
41533 cat >conftest.$ac_ext <<_ACEOF
41534 /* confdefs.h. */
41535 _ACEOF
41536 cat confdefs.h >>conftest.$ac_ext
41537 cat >>conftest.$ac_ext <<_ACEOF
41538 /* end confdefs.h. */
41539 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41541 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41542
41543 /* System header to define __stub macros and hopefully few prototypes,
41544 which can conflict with char pthread_attr_setstacksize (); below.
41545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41546 <limits.h> exists even on freestanding compilers. */
41547
41548 #ifdef __STDC__
41549 # include <limits.h>
41550 #else
41551 # include <assert.h>
41552 #endif
41553
41554 #undef pthread_attr_setstacksize
41555
41556 /* Override any GCC internal prototype to avoid an error.
41557 Use char because int might match the return type of a GCC
41558 builtin and then its argument prototype would still apply. */
41559 #ifdef __cplusplus
41560 extern "C"
41561 #endif
41562 char pthread_attr_setstacksize ();
41563 /* The GNU C library defines this for functions which it implements
41564 to always fail with ENOSYS. Some functions are actually named
41565 something starting with __ and the normal name is an alias. */
41566 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41567 choke me
41568 #endif
41569
41570 int
41571 main ()
41572 {
41573 return pthread_attr_setstacksize ();
41574 ;
41575 return 0;
41576 }
41577 _ACEOF
41578 rm -f conftest.$ac_objext conftest$ac_exeext
41579 if { (ac_try="$ac_link"
41580 case "(($ac_try" in
41581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41582 *) ac_try_echo=$ac_try;;
41583 esac
41584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41585 (eval "$ac_link") 2>conftest.er1
41586 ac_status=$?
41587 grep -v '^ *+' conftest.er1 >conftest.err
41588 rm -f conftest.er1
41589 cat conftest.err >&5
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); } && {
41592 test -z "$ac_c_werror_flag" ||
41593 test ! -s conftest.err
41594 } && test -s conftest$ac_exeext &&
41595 $as_test_x conftest$ac_exeext; then
41596 ac_cv_func_pthread_attr_setstacksize=yes
41597 else
41598 echo "$as_me: failed program was:" >&5
41599 sed 's/^/| /' conftest.$ac_ext >&5
41600
41601 ac_cv_func_pthread_attr_setstacksize=no
41602 fi
41603
41604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41605 conftest$ac_exeext conftest.$ac_ext
41606 fi
41607 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41608 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41609 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41610 cat >>confdefs.h <<\_ACEOF
41611 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41612 _ACEOF
41613
41614 fi
41615
41616
41617
41618 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41619 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41620 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41621 echo $ECHO_N "(cached) $ECHO_C" >&6
41622 else
41623
41624 cat >conftest.$ac_ext <<_ACEOF
41625 /* confdefs.h. */
41626 _ACEOF
41627 cat confdefs.h >>conftest.$ac_ext
41628 cat >>conftest.$ac_ext <<_ACEOF
41629 /* end confdefs.h. */
41630 #include <pthread.h>
41631 int
41632 main ()
41633 {
41634
41635 pthread_mutexattr_t attr;
41636 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41637
41638 ;
41639 return 0;
41640 }
41641 _ACEOF
41642 rm -f conftest.$ac_objext
41643 if { (ac_try="$ac_compile"
41644 case "(($ac_try" in
41645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41646 *) ac_try_echo=$ac_try;;
41647 esac
41648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41649 (eval "$ac_compile") 2>conftest.er1
41650 ac_status=$?
41651 grep -v '^ *+' conftest.er1 >conftest.err
41652 rm -f conftest.er1
41653 cat conftest.err >&5
41654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655 (exit $ac_status); } && {
41656 test -z "$ac_c_werror_flag" ||
41657 test ! -s conftest.err
41658 } && test -s conftest.$ac_objext; then
41659 wx_cv_type_pthread_mutexattr_t=yes
41660 else
41661 echo "$as_me: failed program was:" >&5
41662 sed 's/^/| /' conftest.$ac_ext >&5
41663
41664 wx_cv_type_pthread_mutexattr_t=no
41665
41666 fi
41667
41668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41669
41670 fi
41671 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41672 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41673
41674 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41675 cat >>confdefs.h <<\_ACEOF
41676 #define HAVE_PTHREAD_MUTEXATTR_T 1
41677 _ACEOF
41678
41679
41680 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41681 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41682 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41683 echo $ECHO_N "(cached) $ECHO_C" >&6
41684 else
41685
41686 cat >conftest.$ac_ext <<_ACEOF
41687 /* confdefs.h. */
41688 _ACEOF
41689 cat confdefs.h >>conftest.$ac_ext
41690 cat >>conftest.$ac_ext <<_ACEOF
41691 /* end confdefs.h. */
41692 #include <pthread.h>
41693 int
41694 main ()
41695 {
41696
41697 pthread_mutexattr_t attr;
41698 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41699
41700 ;
41701 return 0;
41702 }
41703 _ACEOF
41704 rm -f conftest.$ac_objext
41705 if { (ac_try="$ac_compile"
41706 case "(($ac_try" in
41707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41708 *) ac_try_echo=$ac_try;;
41709 esac
41710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41711 (eval "$ac_compile") 2>conftest.er1
41712 ac_status=$?
41713 grep -v '^ *+' conftest.er1 >conftest.err
41714 rm -f conftest.er1
41715 cat conftest.err >&5
41716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41717 (exit $ac_status); } && {
41718 test -z "$ac_c_werror_flag" ||
41719 test ! -s conftest.err
41720 } && test -s conftest.$ac_objext; then
41721 wx_cv_func_pthread_mutexattr_settype_decl=yes
41722 else
41723 echo "$as_me: failed program was:" >&5
41724 sed 's/^/| /' conftest.$ac_ext >&5
41725
41726 wx_cv_func_pthread_mutexattr_settype_decl=no
41727
41728 fi
41729
41730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41731
41732 fi
41733 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41734 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41735 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41736 cat >>confdefs.h <<\_ACEOF
41737 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41738 _ACEOF
41739
41740 fi
41741 else
41742 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41743 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41744 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41745 echo $ECHO_N "(cached) $ECHO_C" >&6
41746 else
41747
41748 cat >conftest.$ac_ext <<_ACEOF
41749 /* confdefs.h. */
41750 _ACEOF
41751 cat confdefs.h >>conftest.$ac_ext
41752 cat >>conftest.$ac_ext <<_ACEOF
41753 /* end confdefs.h. */
41754 #include <pthread.h>
41755 int
41756 main ()
41757 {
41758
41759 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41760
41761 ;
41762 return 0;
41763 }
41764 _ACEOF
41765 rm -f conftest.$ac_objext
41766 if { (ac_try="$ac_compile"
41767 case "(($ac_try" in
41768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41769 *) ac_try_echo=$ac_try;;
41770 esac
41771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41772 (eval "$ac_compile") 2>conftest.er1
41773 ac_status=$?
41774 grep -v '^ *+' conftest.er1 >conftest.err
41775 rm -f conftest.er1
41776 cat conftest.err >&5
41777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41778 (exit $ac_status); } && {
41779 test -z "$ac_c_werror_flag" ||
41780 test ! -s conftest.err
41781 } && test -s conftest.$ac_objext; then
41782
41783 wx_cv_type_pthread_rec_mutex_init=yes
41784
41785 else
41786 echo "$as_me: failed program was:" >&5
41787 sed 's/^/| /' conftest.$ac_ext >&5
41788
41789
41790 wx_cv_type_pthread_rec_mutex_init=no
41791
41792
41793 fi
41794
41795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41796
41797 fi
41798 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41799 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41800 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41801 cat >>confdefs.h <<\_ACEOF
41802 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41803 _ACEOF
41804
41805 else
41806 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41807 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41808 fi
41809 fi
41810
41811 if test "$wxUSE_COMPILER_TLS" = "auto"; then
41812 if test "$USE_NETBSD" = 1; then
41813 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
41814 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
41815 wxUSE_COMPILER_TLS=no
41816 else
41817 wxUSE_COMPILER_TLS=yes
41818 fi
41819 fi
41820
41821 if test "$wxUSE_COMPILER_TLS" = "yes"; then
41822 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
41823 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
41824 if test "${wx_cv_cc___thread+set}" = set; then
41825 echo $ECHO_N "(cached) $ECHO_C" >&6
41826 else
41827
41828 cat >conftest.$ac_ext <<_ACEOF
41829 /* confdefs.h. */
41830 _ACEOF
41831 cat confdefs.h >>conftest.$ac_ext
41832 cat >>conftest.$ac_ext <<_ACEOF
41833 /* end confdefs.h. */
41834 #include <pthread.h>
41835 int
41836 main ()
41837 {
41838
41839 static __thread int n = 0;
41840 static __thread int *p = 0;
41841
41842 ;
41843 return 0;
41844 }
41845 _ACEOF
41846 rm -f conftest.$ac_objext
41847 if { (ac_try="$ac_compile"
41848 case "(($ac_try" in
41849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41850 *) ac_try_echo=$ac_try;;
41851 esac
41852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41853 (eval "$ac_compile") 2>conftest.er1
41854 ac_status=$?
41855 grep -v '^ *+' conftest.er1 >conftest.err
41856 rm -f conftest.er1
41857 cat conftest.err >&5
41858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41859 (exit $ac_status); } && {
41860 test -z "$ac_c_werror_flag" ||
41861 test ! -s conftest.err
41862 } && test -s conftest.$ac_objext; then
41863 wx_cv_cc___thread=yes
41864 else
41865 echo "$as_me: failed program was:" >&5
41866 sed 's/^/| /' conftest.$ac_ext >&5
41867
41868 wx_cv_cc___thread=no
41869
41870 fi
41871
41872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41873
41874
41875 fi
41876 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
41877 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
41878
41879 if test "$wx_cv_cc___thread" = "yes"; then
41880
41881 GXX_VERSION=""
41882
41883
41884
41885 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
41886 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
41887
41888 if test "x$GCC" = "xyes" ; then
41889
41890 if test -z "" ; then
41891
41892 ax_gcc_option_test="int main()
41893 {
41894 return 0;
41895 }"
41896
41897 else
41898
41899 ax_gcc_option_test=""
41900
41901 fi
41902
41903
41904 # Dump the test program to file
41905 cat <<EOF > conftest.c
41906 $ax_gcc_option_test
41907 EOF
41908
41909 # Dump back the file to the log, useful for debugging purposes
41910 { ac_try='cat conftest.c 1>&5'
41911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41912 (eval $ac_try) 2>&5
41913 ac_status=$?
41914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41915 (exit $ac_status); }; }
41916
41917 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
41918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41919 (eval $ac_try) 2>&5
41920 ac_status=$?
41921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922 (exit $ac_status); }; } ; then
41923
41924 { echo "$as_me:$LINENO: result: yes" >&5
41925 echo "${ECHO_T}yes" >&6; }
41926
41927 ax_gcc_version_option=yes
41928
41929
41930 else
41931
41932 { echo "$as_me:$LINENO: result: no" >&5
41933 echo "${ECHO_T}no" >&6; }
41934
41935 ax_gcc_version_option=no
41936
41937
41938 fi
41939
41940
41941 else
41942
41943 { echo "$as_me:$LINENO: result: no gcc available" >&5
41944 echo "${ECHO_T}no gcc available" >&6; }
41945
41946 fi
41947
41948
41949 if test "x$GXX" = "xyes"; then
41950
41951 if test "x$ax_gxx_version_option" != "no"; then
41952
41953 { echo "$as_me:$LINENO: checking gxx version" >&5
41954 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
41955 if test "${ax_cv_gxx_version+set}" = set; then
41956 echo $ECHO_N "(cached) $ECHO_C" >&6
41957 else
41958
41959 ax_cv_gxx_version="`$CXX -dumpversion`"
41960 if test "x$ax_cv_gxx_version" = "x"; then
41961
41962 ax_cv_gxx_version=""
41963
41964 fi
41965
41966
41967 fi
41968 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
41969 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
41970 GXX_VERSION=$ax_cv_gxx_version
41971
41972 fi
41973
41974
41975 fi
41976
41977
41978
41979 if test -n "$ax_cv_gxx_version"; then
41980 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
41981 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
41982 case "$ax_cv_gxx_version" in
41983 1.* | 2.* | 3.* )
41984 { echo "$as_me:$LINENO: result: no, it's broken" >&5
41985 echo "${ECHO_T}no, it's broken" >&6; }
41986 wx_cv_cc___thread=no
41987 ;;
41988 *)
41989 { echo "$as_me:$LINENO: result: yes, it works" >&5
41990 echo "${ECHO_T}yes, it works" >&6; }
41991 ;;
41992 esac
41993 fi
41994 fi
41995
41996 if test "$wx_cv_cc___thread" = "yes"; then
41997 cat >>confdefs.h <<\_ACEOF
41998 #define HAVE___THREAD_KEYWORD 1
41999 _ACEOF
42000
42001 fi
42002 fi
42003 fi
42004
42005 else
42006 if test "$wxUSE_THREADS" = "yes" ; then
42007 case "${host}" in
42008 x86_64-*-mingw32* )
42009 ;;
42010 *-*-mingw32* )
42011 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42012 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42013 if test "${wx_cv_cflags_mthread+set}" = set; then
42014 echo $ECHO_N "(cached) $ECHO_C" >&6
42015 else
42016
42017 CFLAGS_OLD="$CFLAGS"
42018 CFLAGS="-mthreads $CFLAGS"
42019 cat >conftest.$ac_ext <<_ACEOF
42020 /* confdefs.h. */
42021 _ACEOF
42022 cat confdefs.h >>conftest.$ac_ext
42023 cat >>conftest.$ac_ext <<_ACEOF
42024 /* end confdefs.h. */
42025
42026 int
42027 main ()
42028 {
42029
42030 ;
42031 return 0;
42032 }
42033 _ACEOF
42034 rm -f conftest.$ac_objext
42035 if { (ac_try="$ac_compile"
42036 case "(($ac_try" in
42037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42038 *) ac_try_echo=$ac_try;;
42039 esac
42040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42041 (eval "$ac_compile") 2>conftest.er1
42042 ac_status=$?
42043 grep -v '^ *+' conftest.er1 >conftest.err
42044 rm -f conftest.er1
42045 cat conftest.err >&5
42046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42047 (exit $ac_status); } && {
42048 test -z "$ac_c_werror_flag" ||
42049 test ! -s conftest.err
42050 } && test -s conftest.$ac_objext; then
42051 wx_cv_cflags_mthread=yes
42052 else
42053 echo "$as_me: failed program was:" >&5
42054 sed 's/^/| /' conftest.$ac_ext >&5
42055
42056 wx_cv_cflags_mthread=no
42057
42058 fi
42059
42060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42061
42062
42063 fi
42064 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42065 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42066
42067 if test "$wx_cv_cflags_mthread" = "yes"; then
42068 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42069 LDFLAGS="$LDFLAGS -mthreads"
42070 else
42071 CFLAGS="$CFLAGS_OLD"
42072 fi
42073 ;;
42074 *-pc-os2*emx )
42075 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42076 LDFLAGS="$LDFLAGS -Zmt"
42077 ;;
42078 esac
42079 fi
42080 fi
42081
42082 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42083 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42084 if test "${ac_cv_func_localtime_r+set}" = set; then
42085 echo $ECHO_N "(cached) $ECHO_C" >&6
42086 else
42087 cat >conftest.$ac_ext <<_ACEOF
42088 /* confdefs.h. */
42089 _ACEOF
42090 cat confdefs.h >>conftest.$ac_ext
42091 cat >>conftest.$ac_ext <<_ACEOF
42092 /* end confdefs.h. */
42093 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42095 #define localtime_r innocuous_localtime_r
42096
42097 /* System header to define __stub macros and hopefully few prototypes,
42098 which can conflict with char localtime_r (); below.
42099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42100 <limits.h> exists even on freestanding compilers. */
42101
42102 #ifdef __STDC__
42103 # include <limits.h>
42104 #else
42105 # include <assert.h>
42106 #endif
42107
42108 #undef localtime_r
42109
42110 /* Override any GCC internal prototype to avoid an error.
42111 Use char because int might match the return type of a GCC
42112 builtin and then its argument prototype would still apply. */
42113 #ifdef __cplusplus
42114 extern "C"
42115 #endif
42116 char localtime_r ();
42117 /* The GNU C library defines this for functions which it implements
42118 to always fail with ENOSYS. Some functions are actually named
42119 something starting with __ and the normal name is an alias. */
42120 #if defined __stub_localtime_r || defined __stub___localtime_r
42121 choke me
42122 #endif
42123
42124 int
42125 main ()
42126 {
42127 return localtime_r ();
42128 ;
42129 return 0;
42130 }
42131 _ACEOF
42132 rm -f conftest.$ac_objext conftest$ac_exeext
42133 if { (ac_try="$ac_link"
42134 case "(($ac_try" in
42135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42136 *) ac_try_echo=$ac_try;;
42137 esac
42138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42139 (eval "$ac_link") 2>conftest.er1
42140 ac_status=$?
42141 grep -v '^ *+' conftest.er1 >conftest.err
42142 rm -f conftest.er1
42143 cat conftest.err >&5
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); } && {
42146 test -z "$ac_c_werror_flag" ||
42147 test ! -s conftest.err
42148 } && test -s conftest$ac_exeext &&
42149 $as_test_x conftest$ac_exeext; then
42150 ac_cv_func_localtime_r=yes
42151 else
42152 echo "$as_me: failed program was:" >&5
42153 sed 's/^/| /' conftest.$ac_ext >&5
42154
42155 ac_cv_func_localtime_r=no
42156 fi
42157
42158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42159 conftest$ac_exeext conftest.$ac_ext
42160 fi
42161 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42162 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42163 if test $ac_cv_func_localtime_r = yes; then
42164 cat >>confdefs.h <<\_ACEOF
42165 #define HAVE_LOCALTIME_R 1
42166 _ACEOF
42167
42168 fi
42169
42170 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42171 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42172 if test "${ac_cv_func_gmtime_r+set}" = set; then
42173 echo $ECHO_N "(cached) $ECHO_C" >&6
42174 else
42175 cat >conftest.$ac_ext <<_ACEOF
42176 /* confdefs.h. */
42177 _ACEOF
42178 cat confdefs.h >>conftest.$ac_ext
42179 cat >>conftest.$ac_ext <<_ACEOF
42180 /* end confdefs.h. */
42181 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42183 #define gmtime_r innocuous_gmtime_r
42184
42185 /* System header to define __stub macros and hopefully few prototypes,
42186 which can conflict with char gmtime_r (); below.
42187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42188 <limits.h> exists even on freestanding compilers. */
42189
42190 #ifdef __STDC__
42191 # include <limits.h>
42192 #else
42193 # include <assert.h>
42194 #endif
42195
42196 #undef gmtime_r
42197
42198 /* Override any GCC internal prototype to avoid an error.
42199 Use char because int might match the return type of a GCC
42200 builtin and then its argument prototype would still apply. */
42201 #ifdef __cplusplus
42202 extern "C"
42203 #endif
42204 char gmtime_r ();
42205 /* The GNU C library defines this for functions which it implements
42206 to always fail with ENOSYS. Some functions are actually named
42207 something starting with __ and the normal name is an alias. */
42208 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42209 choke me
42210 #endif
42211
42212 int
42213 main ()
42214 {
42215 return gmtime_r ();
42216 ;
42217 return 0;
42218 }
42219 _ACEOF
42220 rm -f conftest.$ac_objext conftest$ac_exeext
42221 if { (ac_try="$ac_link"
42222 case "(($ac_try" in
42223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42224 *) ac_try_echo=$ac_try;;
42225 esac
42226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42227 (eval "$ac_link") 2>conftest.er1
42228 ac_status=$?
42229 grep -v '^ *+' conftest.er1 >conftest.err
42230 rm -f conftest.er1
42231 cat conftest.err >&5
42232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42233 (exit $ac_status); } && {
42234 test -z "$ac_c_werror_flag" ||
42235 test ! -s conftest.err
42236 } && test -s conftest$ac_exeext &&
42237 $as_test_x conftest$ac_exeext; then
42238 ac_cv_func_gmtime_r=yes
42239 else
42240 echo "$as_me: failed program was:" >&5
42241 sed 's/^/| /' conftest.$ac_ext >&5
42242
42243 ac_cv_func_gmtime_r=no
42244 fi
42245
42246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42247 conftest$ac_exeext conftest.$ac_ext
42248 fi
42249 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42250 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42251 if test $ac_cv_func_gmtime_r = yes; then
42252 cat >>confdefs.h <<\_ACEOF
42253 #define HAVE_GMTIME_R 1
42254 _ACEOF
42255
42256 fi
42257
42258
42259
42260
42261 ac_ext=c
42262 ac_cpp='$CPP $CPPFLAGS'
42263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42266
42267 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42268 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42269
42270 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42271 echo $ECHO_N "(cached) $ECHO_C" >&6
42272 else
42273
42274
42275 ################################################################
42276
42277 ac_cv_func_which_gethostbyname_r=unknown
42278
42279 #
42280 # ONE ARGUMENT (sanity check)
42281 #
42282
42283 # This should fail, as there is no variant of gethostbyname_r() that takes
42284 # a single argument. If it actually compiles, then we can assume that
42285 # netdb.h is not declaring the function, and the compiler is thereby
42286 # assuming an implicit prototype. In which case, we're out of luck.
42287 #
42288 cat >conftest.$ac_ext <<_ACEOF
42289 /* confdefs.h. */
42290 _ACEOF
42291 cat confdefs.h >>conftest.$ac_ext
42292 cat >>conftest.$ac_ext <<_ACEOF
42293 /* end confdefs.h. */
42294 #include <netdb.h>
42295 int
42296 main ()
42297 {
42298
42299 char *name = "www.gnu.org";
42300 (void)gethostbyname_r(name) /* ; */
42301
42302 ;
42303 return 0;
42304 }
42305 _ACEOF
42306 rm -f conftest.$ac_objext
42307 if { (ac_try="$ac_compile"
42308 case "(($ac_try" in
42309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42310 *) ac_try_echo=$ac_try;;
42311 esac
42312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42313 (eval "$ac_compile") 2>conftest.er1
42314 ac_status=$?
42315 grep -v '^ *+' conftest.er1 >conftest.err
42316 rm -f conftest.er1
42317 cat conftest.err >&5
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); } && {
42320 test -z "$ac_c_werror_flag" ||
42321 test ! -s conftest.err
42322 } && test -s conftest.$ac_objext; then
42323 ac_cv_func_which_gethostbyname_r=no
42324 else
42325 echo "$as_me: failed program was:" >&5
42326 sed 's/^/| /' conftest.$ac_ext >&5
42327
42328
42329 fi
42330
42331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42332
42333 #
42334 # SIX ARGUMENTS
42335 # (e.g. Linux)
42336 #
42337
42338 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42339
42340 cat >conftest.$ac_ext <<_ACEOF
42341 /* confdefs.h. */
42342 _ACEOF
42343 cat confdefs.h >>conftest.$ac_ext
42344 cat >>conftest.$ac_ext <<_ACEOF
42345 /* end confdefs.h. */
42346 #include <netdb.h>
42347 int
42348 main ()
42349 {
42350
42351 char *name = "www.gnu.org";
42352 struct hostent ret, *retp;
42353 char buf[1024];
42354 int buflen = 1024;
42355 int my_h_errno;
42356 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42357
42358 ;
42359 return 0;
42360 }
42361 _ACEOF
42362 rm -f conftest.$ac_objext
42363 if { (ac_try="$ac_compile"
42364 case "(($ac_try" in
42365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42366 *) ac_try_echo=$ac_try;;
42367 esac
42368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42369 (eval "$ac_compile") 2>conftest.er1
42370 ac_status=$?
42371 grep -v '^ *+' conftest.er1 >conftest.err
42372 rm -f conftest.er1
42373 cat conftest.err >&5
42374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42375 (exit $ac_status); } && {
42376 test -z "$ac_c_werror_flag" ||
42377 test ! -s conftest.err
42378 } && test -s conftest.$ac_objext; then
42379 ac_cv_func_which_gethostbyname_r=six
42380 else
42381 echo "$as_me: failed program was:" >&5
42382 sed 's/^/| /' conftest.$ac_ext >&5
42383
42384
42385 fi
42386
42387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42388
42389 fi
42390
42391 #
42392 # FIVE ARGUMENTS
42393 # (e.g. Solaris)
42394 #
42395
42396 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42397
42398 cat >conftest.$ac_ext <<_ACEOF
42399 /* confdefs.h. */
42400 _ACEOF
42401 cat confdefs.h >>conftest.$ac_ext
42402 cat >>conftest.$ac_ext <<_ACEOF
42403 /* end confdefs.h. */
42404 #include <netdb.h>
42405 int
42406 main ()
42407 {
42408
42409 char *name = "www.gnu.org";
42410 struct hostent ret;
42411 char buf[1024];
42412 int buflen = 1024;
42413 int my_h_errno;
42414 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42415
42416 ;
42417 return 0;
42418 }
42419 _ACEOF
42420 rm -f conftest.$ac_objext
42421 if { (ac_try="$ac_compile"
42422 case "(($ac_try" in
42423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42424 *) ac_try_echo=$ac_try;;
42425 esac
42426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42427 (eval "$ac_compile") 2>conftest.er1
42428 ac_status=$?
42429 grep -v '^ *+' conftest.er1 >conftest.err
42430 rm -f conftest.er1
42431 cat conftest.err >&5
42432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42433 (exit $ac_status); } && {
42434 test -z "$ac_c_werror_flag" ||
42435 test ! -s conftest.err
42436 } && test -s conftest.$ac_objext; then
42437 ac_cv_func_which_gethostbyname_r=five
42438 else
42439 echo "$as_me: failed program was:" >&5
42440 sed 's/^/| /' conftest.$ac_ext >&5
42441
42442
42443 fi
42444
42445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42446
42447 fi
42448
42449 #
42450 # THREE ARGUMENTS
42451 # (e.g. AIX, HP-UX, Tru64)
42452 #
42453
42454 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42455
42456 cat >conftest.$ac_ext <<_ACEOF
42457 /* confdefs.h. */
42458 _ACEOF
42459 cat confdefs.h >>conftest.$ac_ext
42460 cat >>conftest.$ac_ext <<_ACEOF
42461 /* end confdefs.h. */
42462 #include <netdb.h>
42463 int
42464 main ()
42465 {
42466
42467 char *name = "www.gnu.org";
42468 struct hostent ret;
42469 struct hostent_data data;
42470 (void)gethostbyname_r(name, &ret, &data) /* ; */
42471
42472 ;
42473 return 0;
42474 }
42475 _ACEOF
42476 rm -f conftest.$ac_objext
42477 if { (ac_try="$ac_compile"
42478 case "(($ac_try" in
42479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42480 *) ac_try_echo=$ac_try;;
42481 esac
42482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42483 (eval "$ac_compile") 2>conftest.er1
42484 ac_status=$?
42485 grep -v '^ *+' conftest.er1 >conftest.err
42486 rm -f conftest.er1
42487 cat conftest.err >&5
42488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42489 (exit $ac_status); } && {
42490 test -z "$ac_c_werror_flag" ||
42491 test ! -s conftest.err
42492 } && test -s conftest.$ac_objext; then
42493 ac_cv_func_which_gethostbyname_r=three
42494 else
42495 echo "$as_me: failed program was:" >&5
42496 sed 's/^/| /' conftest.$ac_ext >&5
42497
42498
42499 fi
42500
42501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42502
42503 fi
42504
42505 ################################################################
42506
42507
42508 fi
42509
42510 case "$ac_cv_func_which_gethostbyname_r" in
42511 three)
42512 { echo "$as_me:$LINENO: result: three" >&5
42513 echo "${ECHO_T}three" >&6; }
42514 cat >>confdefs.h <<\_ACEOF
42515 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42516 _ACEOF
42517
42518 ;;
42519
42520 five)
42521 { echo "$as_me:$LINENO: result: five" >&5
42522 echo "${ECHO_T}five" >&6; }
42523 cat >>confdefs.h <<\_ACEOF
42524 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42525 _ACEOF
42526
42527 ;;
42528
42529 six)
42530 { echo "$as_me:$LINENO: result: six" >&5
42531 echo "${ECHO_T}six" >&6; }
42532 cat >>confdefs.h <<\_ACEOF
42533 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42534 _ACEOF
42535
42536 ;;
42537
42538 no)
42539 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42540 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42541 ;;
42542
42543 unknown)
42544 { echo "$as_me:$LINENO: result: can't tell" >&5
42545 echo "${ECHO_T}can't tell" >&6; }
42546 ;;
42547
42548 *)
42549 { { echo "$as_me:$LINENO: error: internal error" >&5
42550 echo "$as_me: error: internal error" >&2;}
42551 { (exit 1); exit 1; }; }
42552 ;;
42553 esac
42554
42555 ac_ext=c
42556 ac_cpp='$CPP $CPPFLAGS'
42557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42560
42561
42562
42563 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42564 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42565 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42566 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42567 if test "${ac_cv_func_gethostbyname+set}" = set; then
42568 echo $ECHO_N "(cached) $ECHO_C" >&6
42569 else
42570 cat >conftest.$ac_ext <<_ACEOF
42571 /* confdefs.h. */
42572 _ACEOF
42573 cat confdefs.h >>conftest.$ac_ext
42574 cat >>conftest.$ac_ext <<_ACEOF
42575 /* end confdefs.h. */
42576 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42578 #define gethostbyname innocuous_gethostbyname
42579
42580 /* System header to define __stub macros and hopefully few prototypes,
42581 which can conflict with char gethostbyname (); below.
42582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42583 <limits.h> exists even on freestanding compilers. */
42584
42585 #ifdef __STDC__
42586 # include <limits.h>
42587 #else
42588 # include <assert.h>
42589 #endif
42590
42591 #undef gethostbyname
42592
42593 /* Override any GCC internal prototype to avoid an error.
42594 Use char because int might match the return type of a GCC
42595 builtin and then its argument prototype would still apply. */
42596 #ifdef __cplusplus
42597 extern "C"
42598 #endif
42599 char gethostbyname ();
42600 /* The GNU C library defines this for functions which it implements
42601 to always fail with ENOSYS. Some functions are actually named
42602 something starting with __ and the normal name is an alias. */
42603 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42604 choke me
42605 #endif
42606
42607 int
42608 main ()
42609 {
42610 return gethostbyname ();
42611 ;
42612 return 0;
42613 }
42614 _ACEOF
42615 rm -f conftest.$ac_objext conftest$ac_exeext
42616 if { (ac_try="$ac_link"
42617 case "(($ac_try" in
42618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42619 *) ac_try_echo=$ac_try;;
42620 esac
42621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42622 (eval "$ac_link") 2>conftest.er1
42623 ac_status=$?
42624 grep -v '^ *+' conftest.er1 >conftest.err
42625 rm -f conftest.er1
42626 cat conftest.err >&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); } && {
42629 test -z "$ac_c_werror_flag" ||
42630 test ! -s conftest.err
42631 } && test -s conftest$ac_exeext &&
42632 $as_test_x conftest$ac_exeext; then
42633 ac_cv_func_gethostbyname=yes
42634 else
42635 echo "$as_me: failed program was:" >&5
42636 sed 's/^/| /' conftest.$ac_ext >&5
42637
42638 ac_cv_func_gethostbyname=no
42639 fi
42640
42641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42642 conftest$ac_exeext conftest.$ac_ext
42643 fi
42644 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42645 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42646 if test $ac_cv_func_gethostbyname = yes; then
42647 cat >>confdefs.h <<\_ACEOF
42648 #define HAVE_GETHOSTBYNAME 1
42649 _ACEOF
42650
42651 fi
42652
42653 fi
42654
42655 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42656 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42657 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42658 echo $ECHO_N "(cached) $ECHO_C" >&6
42659 else
42660
42661 ac_ext=cpp
42662 ac_cpp='$CXXCPP $CPPFLAGS'
42663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42666
42667
42668 cat >conftest.$ac_ext <<_ACEOF
42669 /* confdefs.h. */
42670 _ACEOF
42671 cat confdefs.h >>conftest.$ac_ext
42672 cat >>conftest.$ac_ext <<_ACEOF
42673 /* end confdefs.h. */
42674 #include <netdb.h>
42675 int
42676 main ()
42677 {
42678
42679 char *name;
42680 char *proto;
42681 struct servent *se, *res;
42682 char buffer[2048];
42683 int buflen = 2048;
42684 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42685
42686 ;
42687 return 0;
42688 }
42689 _ACEOF
42690 rm -f conftest.$ac_objext
42691 if { (ac_try="$ac_compile"
42692 case "(($ac_try" in
42693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42694 *) ac_try_echo=$ac_try;;
42695 esac
42696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42697 (eval "$ac_compile") 2>conftest.er1
42698 ac_status=$?
42699 grep -v '^ *+' conftest.er1 >conftest.err
42700 rm -f conftest.er1
42701 cat conftest.err >&5
42702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42703 (exit $ac_status); } && {
42704 test -z "$ac_cxx_werror_flag" ||
42705 test ! -s conftest.err
42706 } && test -s conftest.$ac_objext; then
42707 ac_cv_func_which_getservbyname_r=six
42708 else
42709 echo "$as_me: failed program was:" >&5
42710 sed 's/^/| /' conftest.$ac_ext >&5
42711
42712
42713 cat >conftest.$ac_ext <<_ACEOF
42714 /* confdefs.h. */
42715 _ACEOF
42716 cat confdefs.h >>conftest.$ac_ext
42717 cat >>conftest.$ac_ext <<_ACEOF
42718 /* end confdefs.h. */
42719 #include <netdb.h>
42720 int
42721 main ()
42722 {
42723
42724 char *name;
42725 char *proto;
42726 struct servent *se;
42727 char buffer[2048];
42728 int buflen = 2048;
42729 (void) getservbyname_r(name, proto, se, buffer, buflen)
42730
42731 ;
42732 return 0;
42733 }
42734 _ACEOF
42735 rm -f conftest.$ac_objext
42736 if { (ac_try="$ac_compile"
42737 case "(($ac_try" in
42738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42739 *) ac_try_echo=$ac_try;;
42740 esac
42741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42742 (eval "$ac_compile") 2>conftest.er1
42743 ac_status=$?
42744 grep -v '^ *+' conftest.er1 >conftest.err
42745 rm -f conftest.er1
42746 cat conftest.err >&5
42747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42748 (exit $ac_status); } && {
42749 test -z "$ac_cxx_werror_flag" ||
42750 test ! -s conftest.err
42751 } && test -s conftest.$ac_objext; then
42752 ac_cv_func_which_getservbyname_r=five
42753 else
42754 echo "$as_me: failed program was:" >&5
42755 sed 's/^/| /' conftest.$ac_ext >&5
42756
42757
42758 cat >conftest.$ac_ext <<_ACEOF
42759 /* confdefs.h. */
42760 _ACEOF
42761 cat confdefs.h >>conftest.$ac_ext
42762 cat >>conftest.$ac_ext <<_ACEOF
42763 /* end confdefs.h. */
42764 #include <netdb.h>
42765 int
42766 main ()
42767 {
42768
42769 char *name;
42770 char *proto;
42771 struct servent *se;
42772 struct servent_data data;
42773 (void) getservbyname_r(name, proto, se, &data);
42774
42775 ;
42776 return 0;
42777 }
42778 _ACEOF
42779 rm -f conftest.$ac_objext
42780 if { (ac_try="$ac_compile"
42781 case "(($ac_try" in
42782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42783 *) ac_try_echo=$ac_try;;
42784 esac
42785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42786 (eval "$ac_compile") 2>conftest.er1
42787 ac_status=$?
42788 grep -v '^ *+' conftest.er1 >conftest.err
42789 rm -f conftest.er1
42790 cat conftest.err >&5
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); } && {
42793 test -z "$ac_cxx_werror_flag" ||
42794 test ! -s conftest.err
42795 } && test -s conftest.$ac_objext; then
42796 ac_cv_func_which_getservbyname_r=four
42797 else
42798 echo "$as_me: failed program was:" >&5
42799 sed 's/^/| /' conftest.$ac_ext >&5
42800
42801 ac_cv_func_which_getservbyname_r=no
42802
42803 fi
42804
42805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42806
42807
42808 fi
42809
42810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42811
42812
42813 fi
42814
42815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42816 ac_ext=c
42817 ac_cpp='$CPP $CPPFLAGS'
42818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42821
42822
42823
42824 fi
42825 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42826 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
42827
42828 if test $ac_cv_func_which_getservbyname_r = six; then
42829 cat >>confdefs.h <<\_ACEOF
42830 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42831 _ACEOF
42832
42833 elif test $ac_cv_func_which_getservbyname_r = five; then
42834 cat >>confdefs.h <<\_ACEOF
42835 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42836 _ACEOF
42837
42838 elif test $ac_cv_func_which_getservbyname_r = four; then
42839 cat >>confdefs.h <<\_ACEOF
42840 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42841 _ACEOF
42842
42843 fi
42844
42845
42846 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42847 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42848
42849 for ac_func in getservbyname
42850 do
42851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42852 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42854 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42855 echo $ECHO_N "(cached) $ECHO_C" >&6
42856 else
42857 cat >conftest.$ac_ext <<_ACEOF
42858 /* confdefs.h. */
42859 _ACEOF
42860 cat confdefs.h >>conftest.$ac_ext
42861 cat >>conftest.$ac_ext <<_ACEOF
42862 /* end confdefs.h. */
42863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42865 #define $ac_func innocuous_$ac_func
42866
42867 /* System header to define __stub macros and hopefully few prototypes,
42868 which can conflict with char $ac_func (); below.
42869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42870 <limits.h> exists even on freestanding compilers. */
42871
42872 #ifdef __STDC__
42873 # include <limits.h>
42874 #else
42875 # include <assert.h>
42876 #endif
42877
42878 #undef $ac_func
42879
42880 /* Override any GCC internal prototype to avoid an error.
42881 Use char because int might match the return type of a GCC
42882 builtin and then its argument prototype would still apply. */
42883 #ifdef __cplusplus
42884 extern "C"
42885 #endif
42886 char $ac_func ();
42887 /* The GNU C library defines this for functions which it implements
42888 to always fail with ENOSYS. Some functions are actually named
42889 something starting with __ and the normal name is an alias. */
42890 #if defined __stub_$ac_func || defined __stub___$ac_func
42891 choke me
42892 #endif
42893
42894 int
42895 main ()
42896 {
42897 return $ac_func ();
42898 ;
42899 return 0;
42900 }
42901 _ACEOF
42902 rm -f conftest.$ac_objext conftest$ac_exeext
42903 if { (ac_try="$ac_link"
42904 case "(($ac_try" in
42905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42906 *) ac_try_echo=$ac_try;;
42907 esac
42908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42909 (eval "$ac_link") 2>conftest.er1
42910 ac_status=$?
42911 grep -v '^ *+' conftest.er1 >conftest.err
42912 rm -f conftest.er1
42913 cat conftest.err >&5
42914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915 (exit $ac_status); } && {
42916 test -z "$ac_c_werror_flag" ||
42917 test ! -s conftest.err
42918 } && test -s conftest$ac_exeext &&
42919 $as_test_x conftest$ac_exeext; then
42920 eval "$as_ac_var=yes"
42921 else
42922 echo "$as_me: failed program was:" >&5
42923 sed 's/^/| /' conftest.$ac_ext >&5
42924
42925 eval "$as_ac_var=no"
42926 fi
42927
42928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42929 conftest$ac_exeext conftest.$ac_ext
42930 fi
42931 ac_res=`eval echo '${'$as_ac_var'}'`
42932 { echo "$as_me:$LINENO: result: $ac_res" >&5
42933 echo "${ECHO_T}$ac_res" >&6; }
42934 if test `eval echo '${'$as_ac_var'}'` = yes; then
42935 cat >>confdefs.h <<_ACEOF
42936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42937 _ACEOF
42938 cat >>confdefs.h <<\_ACEOF
42939 #define HAVE_GETSERVBYNAME 1
42940 _ACEOF
42941
42942 fi
42943 done
42944
42945 fi
42946
42947 if test "$wxUSE_THREADS" = "yes"; then
42948 cat >>confdefs.h <<\_ACEOF
42949 #define wxUSE_THREADS 1
42950 _ACEOF
42951
42952
42953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42954 else
42955 if test "$wx_cv_func_strtok_r" = "yes"; then
42956 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42957 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
42958 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42959 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42960 { echo "$as_me:$LINENO: result: yes" >&5
42961 echo "${ECHO_T}yes" >&6; }
42962 else
42963 { echo "$as_me:$LINENO: result: no" >&5
42964 echo "${ECHO_T}no" >&6; }
42965 fi
42966 fi
42967 fi
42968
42969 if test "$WXGTK2" = 1 ; then
42970 cat >>confdefs.h <<_ACEOF
42971 #define __WXGTK20__ $WXGTK2
42972 _ACEOF
42973
42974 WXGTK12=1
42975 fi
42976
42977 if test "$WXGTK12" = 1 ; then
42978 cat >>confdefs.h <<_ACEOF
42979 #define __WXGTK12__ $WXGTK12
42980 _ACEOF
42981
42982 fi
42983
42984 if test "$WXGTK127" = 1 ; then
42985 cat >>confdefs.h <<_ACEOF
42986 #define __WXGTK127__ $WXGTK127
42987 _ACEOF
42988
42989 fi
42990
42991 if test "$WXGPE" = 1 ; then
42992 cat >>confdefs.h <<_ACEOF
42993 #define __WXGPE__ $WXGPE
42994 _ACEOF
42995
42996 fi
42997
42998 DEBUG_CFLAGS=
42999 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
43000 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
43001 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
43002 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
43003 DEBUG_CFLAGS="-g"
43004 fi
43005
43006 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43007 wxUSE_DEBUG_INFO=yes
43008 if test "$GCC" = yes; then
43009 DEBUG_CFLAGS="-ggdb"
43010 fi
43011 fi
43012
43013 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
43014 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
43015
43016 if test "$wxUSE_GTK" = 1 ; then
43017 if test "x$wxGTK_VERSION" = "x1" ; then
43018 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43019 fi
43020 fi
43021 fi
43022
43023 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43024 cat >>confdefs.h <<\_ACEOF
43025 #define wxUSE_MEMORY_TRACING 1
43026 _ACEOF
43027
43028 cat >>confdefs.h <<\_ACEOF
43029 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43030 _ACEOF
43031
43032 cat >>confdefs.h <<\_ACEOF
43033 #define wxUSE_DEBUG_NEW_ALWAYS 1
43034 _ACEOF
43035
43036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43037 fi
43038
43039 if test "$wxUSE_DMALLOC" = "yes" ; then
43040 DMALLOC_LIBS="-ldmallocthcxx"
43041 fi
43042
43043 PROFILE_FLAGS=
43044 if test "$wxUSE_PROFILE" = "yes" ; then
43045 PROFILE_FLAGS=" -pg"
43046 fi
43047
43048 if test "$GCC" = "yes" ; then
43049 if test "$wxUSE_NO_RTTI" = "yes" ; then
43050 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43051 fi
43052 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43053 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43054 fi
43055 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43056 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43057 fi
43058
43059 case "${host}" in
43060 powerpc*-*-aix* )
43061 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43062 ;;
43063 *-hppa* )
43064 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43065 ;;
43066 esac
43067 fi
43068
43069 OPTIMISE_CFLAGS=
43070 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
43071 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43072 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43073 else
43074 if test "$wxUSE_OPTIMISE" = "no" ; then
43075 if test "$GCC" = yes ; then
43076 OPTIMISE_CFLAGS="-O0"
43077 fi
43078 else
43079 if test "$GCC" = yes ; then
43080 case "${host}" in
43081 *-pc-os2_emx | *-pc-os2-emx )
43082 OPTIMISE_CFLAGS="-O2"
43083 ;;
43084 *)
43085 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43086 ;;
43087 esac
43088 else
43089 OPTIMISE_CFLAGS="-O"
43090 fi
43091 fi
43092 fi
43093
43094
43095 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43096 cat >>confdefs.h <<\_ACEOF
43097 #define WXWIN_COMPATIBILITY_2_6 1
43098 _ACEOF
43099
43100
43101 WXWIN_COMPATIBILITY_2_8="yes"
43102 fi
43103
43104 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43105 cat >>confdefs.h <<\_ACEOF
43106 #define WXWIN_COMPATIBILITY_2_8 1
43107 _ACEOF
43108
43109 fi
43110
43111
43112 if test "$wxUSE_GUI" = "yes"; then
43113 cat >>confdefs.h <<\_ACEOF
43114 #define wxUSE_GUI 1
43115 _ACEOF
43116
43117
43118 fi
43119
43120
43121 if test "$wxUSE_UNIX" = "yes"; then
43122 cat >>confdefs.h <<\_ACEOF
43123 #define wxUSE_UNIX 1
43124 _ACEOF
43125
43126 fi
43127
43128
43129 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43130
43131 HAVE_DL_FUNCS=0
43132 HAVE_SHL_FUNCS=0
43133 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43134 if test "$USE_DOS" = 1; then
43135 HAVE_DL_FUNCS=0
43136 else
43137
43138 for ac_func in dlopen
43139 do
43140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43144 echo $ECHO_N "(cached) $ECHO_C" >&6
43145 else
43146 cat >conftest.$ac_ext <<_ACEOF
43147 /* confdefs.h. */
43148 _ACEOF
43149 cat confdefs.h >>conftest.$ac_ext
43150 cat >>conftest.$ac_ext <<_ACEOF
43151 /* end confdefs.h. */
43152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43154 #define $ac_func innocuous_$ac_func
43155
43156 /* System header to define __stub macros and hopefully few prototypes,
43157 which can conflict with char $ac_func (); below.
43158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43159 <limits.h> exists even on freestanding compilers. */
43160
43161 #ifdef __STDC__
43162 # include <limits.h>
43163 #else
43164 # include <assert.h>
43165 #endif
43166
43167 #undef $ac_func
43168
43169 /* Override any GCC internal prototype to avoid an error.
43170 Use char because int might match the return type of a GCC
43171 builtin and then its argument prototype would still apply. */
43172 #ifdef __cplusplus
43173 extern "C"
43174 #endif
43175 char $ac_func ();
43176 /* The GNU C library defines this for functions which it implements
43177 to always fail with ENOSYS. Some functions are actually named
43178 something starting with __ and the normal name is an alias. */
43179 #if defined __stub_$ac_func || defined __stub___$ac_func
43180 choke me
43181 #endif
43182
43183 int
43184 main ()
43185 {
43186 return $ac_func ();
43187 ;
43188 return 0;
43189 }
43190 _ACEOF
43191 rm -f conftest.$ac_objext conftest$ac_exeext
43192 if { (ac_try="$ac_link"
43193 case "(($ac_try" in
43194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43195 *) ac_try_echo=$ac_try;;
43196 esac
43197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43198 (eval "$ac_link") 2>conftest.er1
43199 ac_status=$?
43200 grep -v '^ *+' conftest.er1 >conftest.err
43201 rm -f conftest.er1
43202 cat conftest.err >&5
43203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43204 (exit $ac_status); } && {
43205 test -z "$ac_c_werror_flag" ||
43206 test ! -s conftest.err
43207 } && test -s conftest$ac_exeext &&
43208 $as_test_x conftest$ac_exeext; then
43209 eval "$as_ac_var=yes"
43210 else
43211 echo "$as_me: failed program was:" >&5
43212 sed 's/^/| /' conftest.$ac_ext >&5
43213
43214 eval "$as_ac_var=no"
43215 fi
43216
43217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43218 conftest$ac_exeext conftest.$ac_ext
43219 fi
43220 ac_res=`eval echo '${'$as_ac_var'}'`
43221 { echo "$as_me:$LINENO: result: $ac_res" >&5
43222 echo "${ECHO_T}$ac_res" >&6; }
43223 if test `eval echo '${'$as_ac_var'}'` = yes; then
43224 cat >>confdefs.h <<_ACEOF
43225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43226 _ACEOF
43227
43228 cat >>confdefs.h <<\_ACEOF
43229 #define HAVE_DLOPEN 1
43230 _ACEOF
43231
43232 HAVE_DL_FUNCS=1
43233
43234 else
43235
43236 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43237 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43238 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43239 echo $ECHO_N "(cached) $ECHO_C" >&6
43240 else
43241 ac_check_lib_save_LIBS=$LIBS
43242 LIBS="-ldl $LIBS"
43243 cat >conftest.$ac_ext <<_ACEOF
43244 /* confdefs.h. */
43245 _ACEOF
43246 cat confdefs.h >>conftest.$ac_ext
43247 cat >>conftest.$ac_ext <<_ACEOF
43248 /* end confdefs.h. */
43249
43250 /* Override any GCC internal prototype to avoid an error.
43251 Use char because int might match the return type of a GCC
43252 builtin and then its argument prototype would still apply. */
43253 #ifdef __cplusplus
43254 extern "C"
43255 #endif
43256 char dlopen ();
43257 int
43258 main ()
43259 {
43260 return dlopen ();
43261 ;
43262 return 0;
43263 }
43264 _ACEOF
43265 rm -f conftest.$ac_objext conftest$ac_exeext
43266 if { (ac_try="$ac_link"
43267 case "(($ac_try" in
43268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43269 *) ac_try_echo=$ac_try;;
43270 esac
43271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43272 (eval "$ac_link") 2>conftest.er1
43273 ac_status=$?
43274 grep -v '^ *+' conftest.er1 >conftest.err
43275 rm -f conftest.er1
43276 cat conftest.err >&5
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); } && {
43279 test -z "$ac_c_werror_flag" ||
43280 test ! -s conftest.err
43281 } && test -s conftest$ac_exeext &&
43282 $as_test_x conftest$ac_exeext; then
43283 ac_cv_lib_dl_dlopen=yes
43284 else
43285 echo "$as_me: failed program was:" >&5
43286 sed 's/^/| /' conftest.$ac_ext >&5
43287
43288 ac_cv_lib_dl_dlopen=no
43289 fi
43290
43291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43292 conftest$ac_exeext conftest.$ac_ext
43293 LIBS=$ac_check_lib_save_LIBS
43294 fi
43295 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43296 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43297 if test $ac_cv_lib_dl_dlopen = yes; then
43298
43299 cat >>confdefs.h <<\_ACEOF
43300 #define HAVE_DLOPEN 1
43301 _ACEOF
43302
43303 HAVE_DL_FUNCS=1
43304 DL_LINK=" -ldl$DL_LINK"
43305
43306 else
43307
43308
43309 for ac_func in shl_load
43310 do
43311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43312 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43314 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43315 echo $ECHO_N "(cached) $ECHO_C" >&6
43316 else
43317 cat >conftest.$ac_ext <<_ACEOF
43318 /* confdefs.h. */
43319 _ACEOF
43320 cat confdefs.h >>conftest.$ac_ext
43321 cat >>conftest.$ac_ext <<_ACEOF
43322 /* end confdefs.h. */
43323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43325 #define $ac_func innocuous_$ac_func
43326
43327 /* System header to define __stub macros and hopefully few prototypes,
43328 which can conflict with char $ac_func (); below.
43329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43330 <limits.h> exists even on freestanding compilers. */
43331
43332 #ifdef __STDC__
43333 # include <limits.h>
43334 #else
43335 # include <assert.h>
43336 #endif
43337
43338 #undef $ac_func
43339
43340 /* Override any GCC internal prototype to avoid an error.
43341 Use char because int might match the return type of a GCC
43342 builtin and then its argument prototype would still apply. */
43343 #ifdef __cplusplus
43344 extern "C"
43345 #endif
43346 char $ac_func ();
43347 /* The GNU C library defines this for functions which it implements
43348 to always fail with ENOSYS. Some functions are actually named
43349 something starting with __ and the normal name is an alias. */
43350 #if defined __stub_$ac_func || defined __stub___$ac_func
43351 choke me
43352 #endif
43353
43354 int
43355 main ()
43356 {
43357 return $ac_func ();
43358 ;
43359 return 0;
43360 }
43361 _ACEOF
43362 rm -f conftest.$ac_objext conftest$ac_exeext
43363 if { (ac_try="$ac_link"
43364 case "(($ac_try" in
43365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43366 *) ac_try_echo=$ac_try;;
43367 esac
43368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43369 (eval "$ac_link") 2>conftest.er1
43370 ac_status=$?
43371 grep -v '^ *+' conftest.er1 >conftest.err
43372 rm -f conftest.er1
43373 cat conftest.err >&5
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); } && {
43376 test -z "$ac_c_werror_flag" ||
43377 test ! -s conftest.err
43378 } && test -s conftest$ac_exeext &&
43379 $as_test_x conftest$ac_exeext; then
43380 eval "$as_ac_var=yes"
43381 else
43382 echo "$as_me: failed program was:" >&5
43383 sed 's/^/| /' conftest.$ac_ext >&5
43384
43385 eval "$as_ac_var=no"
43386 fi
43387
43388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43389 conftest$ac_exeext conftest.$ac_ext
43390 fi
43391 ac_res=`eval echo '${'$as_ac_var'}'`
43392 { echo "$as_me:$LINENO: result: $ac_res" >&5
43393 echo "${ECHO_T}$ac_res" >&6; }
43394 if test `eval echo '${'$as_ac_var'}'` = yes; then
43395 cat >>confdefs.h <<_ACEOF
43396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43397 _ACEOF
43398
43399 cat >>confdefs.h <<\_ACEOF
43400 #define HAVE_SHL_LOAD 1
43401 _ACEOF
43402
43403 HAVE_SHL_FUNCS=1
43404
43405 else
43406
43407 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43408 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43409 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43410 echo $ECHO_N "(cached) $ECHO_C" >&6
43411 else
43412 ac_check_lib_save_LIBS=$LIBS
43413 LIBS="-lshl_load $LIBS"
43414 cat >conftest.$ac_ext <<_ACEOF
43415 /* confdefs.h. */
43416 _ACEOF
43417 cat confdefs.h >>conftest.$ac_ext
43418 cat >>conftest.$ac_ext <<_ACEOF
43419 /* end confdefs.h. */
43420
43421 /* Override any GCC internal prototype to avoid an error.
43422 Use char because int might match the return type of a GCC
43423 builtin and then its argument prototype would still apply. */
43424 #ifdef __cplusplus
43425 extern "C"
43426 #endif
43427 char dld ();
43428 int
43429 main ()
43430 {
43431 return dld ();
43432 ;
43433 return 0;
43434 }
43435 _ACEOF
43436 rm -f conftest.$ac_objext conftest$ac_exeext
43437 if { (ac_try="$ac_link"
43438 case "(($ac_try" in
43439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43440 *) ac_try_echo=$ac_try;;
43441 esac
43442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43443 (eval "$ac_link") 2>conftest.er1
43444 ac_status=$?
43445 grep -v '^ *+' conftest.er1 >conftest.err
43446 rm -f conftest.er1
43447 cat conftest.err >&5
43448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43449 (exit $ac_status); } && {
43450 test -z "$ac_c_werror_flag" ||
43451 test ! -s conftest.err
43452 } && test -s conftest$ac_exeext &&
43453 $as_test_x conftest$ac_exeext; then
43454 ac_cv_lib_shl_load_dld=yes
43455 else
43456 echo "$as_me: failed program was:" >&5
43457 sed 's/^/| /' conftest.$ac_ext >&5
43458
43459 ac_cv_lib_shl_load_dld=no
43460 fi
43461
43462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43463 conftest$ac_exeext conftest.$ac_ext
43464 LIBS=$ac_check_lib_save_LIBS
43465 fi
43466 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43467 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43468 if test $ac_cv_lib_shl_load_dld = yes; then
43469
43470 HAVE_SHL_FUNCS=1
43471 DL_LINK=" -ldld$DL_LINK"
43472
43473 fi
43474
43475
43476 fi
43477 done
43478
43479
43480 fi
43481
43482
43483 fi
43484 done
43485
43486
43487 if test "$HAVE_DL_FUNCS" = 1; then
43488
43489 for ac_func in dlerror
43490 do
43491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43492 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43494 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43495 echo $ECHO_N "(cached) $ECHO_C" >&6
43496 else
43497 cat >conftest.$ac_ext <<_ACEOF
43498 /* confdefs.h. */
43499 _ACEOF
43500 cat confdefs.h >>conftest.$ac_ext
43501 cat >>conftest.$ac_ext <<_ACEOF
43502 /* end confdefs.h. */
43503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43505 #define $ac_func innocuous_$ac_func
43506
43507 /* System header to define __stub macros and hopefully few prototypes,
43508 which can conflict with char $ac_func (); below.
43509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43510 <limits.h> exists even on freestanding compilers. */
43511
43512 #ifdef __STDC__
43513 # include <limits.h>
43514 #else
43515 # include <assert.h>
43516 #endif
43517
43518 #undef $ac_func
43519
43520 /* Override any GCC internal prototype to avoid an error.
43521 Use char because int might match the return type of a GCC
43522 builtin and then its argument prototype would still apply. */
43523 #ifdef __cplusplus
43524 extern "C"
43525 #endif
43526 char $ac_func ();
43527 /* The GNU C library defines this for functions which it implements
43528 to always fail with ENOSYS. Some functions are actually named
43529 something starting with __ and the normal name is an alias. */
43530 #if defined __stub_$ac_func || defined __stub___$ac_func
43531 choke me
43532 #endif
43533
43534 int
43535 main ()
43536 {
43537 return $ac_func ();
43538 ;
43539 return 0;
43540 }
43541 _ACEOF
43542 rm -f conftest.$ac_objext conftest$ac_exeext
43543 if { (ac_try="$ac_link"
43544 case "(($ac_try" in
43545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43546 *) ac_try_echo=$ac_try;;
43547 esac
43548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43549 (eval "$ac_link") 2>conftest.er1
43550 ac_status=$?
43551 grep -v '^ *+' conftest.er1 >conftest.err
43552 rm -f conftest.er1
43553 cat conftest.err >&5
43554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43555 (exit $ac_status); } && {
43556 test -z "$ac_c_werror_flag" ||
43557 test ! -s conftest.err
43558 } && test -s conftest$ac_exeext &&
43559 $as_test_x conftest$ac_exeext; then
43560 eval "$as_ac_var=yes"
43561 else
43562 echo "$as_me: failed program was:" >&5
43563 sed 's/^/| /' conftest.$ac_ext >&5
43564
43565 eval "$as_ac_var=no"
43566 fi
43567
43568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43569 conftest$ac_exeext conftest.$ac_ext
43570 fi
43571 ac_res=`eval echo '${'$as_ac_var'}'`
43572 { echo "$as_me:$LINENO: result: $ac_res" >&5
43573 echo "${ECHO_T}$ac_res" >&6; }
43574 if test `eval echo '${'$as_ac_var'}'` = yes; then
43575 cat >>confdefs.h <<_ACEOF
43576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43577 _ACEOF
43578 cat >>confdefs.h <<\_ACEOF
43579 #define HAVE_DLERROR 1
43580 _ACEOF
43581
43582 else
43583
43584 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43585 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43586 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43587 echo $ECHO_N "(cached) $ECHO_C" >&6
43588 else
43589 ac_check_lib_save_LIBS=$LIBS
43590 LIBS="-ldl $LIBS"
43591 cat >conftest.$ac_ext <<_ACEOF
43592 /* confdefs.h. */
43593 _ACEOF
43594 cat confdefs.h >>conftest.$ac_ext
43595 cat >>conftest.$ac_ext <<_ACEOF
43596 /* end confdefs.h. */
43597
43598 /* Override any GCC internal prototype to avoid an error.
43599 Use char because int might match the return type of a GCC
43600 builtin and then its argument prototype would still apply. */
43601 #ifdef __cplusplus
43602 extern "C"
43603 #endif
43604 char dlerror ();
43605 int
43606 main ()
43607 {
43608 return dlerror ();
43609 ;
43610 return 0;
43611 }
43612 _ACEOF
43613 rm -f conftest.$ac_objext conftest$ac_exeext
43614 if { (ac_try="$ac_link"
43615 case "(($ac_try" in
43616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43617 *) ac_try_echo=$ac_try;;
43618 esac
43619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43620 (eval "$ac_link") 2>conftest.er1
43621 ac_status=$?
43622 grep -v '^ *+' conftest.er1 >conftest.err
43623 rm -f conftest.er1
43624 cat conftest.err >&5
43625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43626 (exit $ac_status); } && {
43627 test -z "$ac_c_werror_flag" ||
43628 test ! -s conftest.err
43629 } && test -s conftest$ac_exeext &&
43630 $as_test_x conftest$ac_exeext; then
43631 ac_cv_lib_dl_dlerror=yes
43632 else
43633 echo "$as_me: failed program was:" >&5
43634 sed 's/^/| /' conftest.$ac_ext >&5
43635
43636 ac_cv_lib_dl_dlerror=no
43637 fi
43638
43639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43640 conftest$ac_exeext conftest.$ac_ext
43641 LIBS=$ac_check_lib_save_LIBS
43642 fi
43643 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43644 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43645 if test $ac_cv_lib_dl_dlerror = yes; then
43646 cat >>confdefs.h <<\_ACEOF
43647 #define HAVE_DLERROR 1
43648 _ACEOF
43649
43650 fi
43651
43652
43653
43654 fi
43655 done
43656
43657 fi
43658 fi
43659
43660 if test "$USE_DARWIN" = 1; then
43661 HAVE_DL_FUNCS=1
43662 fi
43663
43664 if test "$HAVE_DL_FUNCS" = 0; then
43665 if test "$HAVE_SHL_FUNCS" = 0; then
43666 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43667 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43668 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43669 wxUSE_DYNAMIC_LOADER=no
43670 wxUSE_DYNLIB_CLASS=no
43671 else
43672 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43673 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43674 fi
43675 fi
43676 fi
43677 fi
43678 fi
43679
43680 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43681 cat >>confdefs.h <<\_ACEOF
43682 #define wxUSE_DYNAMIC_LOADER 1
43683 _ACEOF
43684
43685 fi
43686 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43687 cat >>confdefs.h <<\_ACEOF
43688 #define wxUSE_DYNLIB_CLASS 1
43689 _ACEOF
43690
43691 fi
43692
43693
43694
43695 if test "$wxUSE_PLUGINS" = "yes" ; then
43696 if test "$wxUSE_SHARED" = "no" ; then
43697 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43698 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43699 wxUSE_PLUGINS=no
43700 fi
43701 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43702 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43703 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43704 wxUSE_PLUGINS=no
43705 fi
43706 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43707 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43708 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43709 wxUSE_PLUGINS=no
43710 fi
43711 if test "$wxUSE_PLUGINS" = "yes" ; then
43712 cat >>confdefs.h <<\_ACEOF
43713 #define wxUSE_PLUGINS 1
43714 _ACEOF
43715
43716 fi
43717 fi
43718
43719
43720 if test "$wxUSE_FSWATCHER" = "yes"; then
43721 if test "$wxUSE_MSW" != "1"; then
43722 if test "$wxUSE_UNIX" = "yes"; then
43723
43724 for ac_header in sys/inotify.h
43725 do
43726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43727 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43730 echo $ECHO_N "(cached) $ECHO_C" >&6
43731 else
43732 cat >conftest.$ac_ext <<_ACEOF
43733 /* confdefs.h. */
43734 _ACEOF
43735 cat confdefs.h >>conftest.$ac_ext
43736 cat >>conftest.$ac_ext <<_ACEOF
43737 /* end confdefs.h. */
43738 $ac_includes_default
43739
43740 #include <$ac_header>
43741 _ACEOF
43742 rm -f conftest.$ac_objext
43743 if { (ac_try="$ac_compile"
43744 case "(($ac_try" in
43745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43746 *) ac_try_echo=$ac_try;;
43747 esac
43748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43749 (eval "$ac_compile") 2>conftest.er1
43750 ac_status=$?
43751 grep -v '^ *+' conftest.er1 >conftest.err
43752 rm -f conftest.er1
43753 cat conftest.err >&5
43754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43755 (exit $ac_status); } && {
43756 test -z "$ac_c_werror_flag" ||
43757 test ! -s conftest.err
43758 } && test -s conftest.$ac_objext; then
43759 eval "$as_ac_Header=yes"
43760 else
43761 echo "$as_me: failed program was:" >&5
43762 sed 's/^/| /' conftest.$ac_ext >&5
43763
43764 eval "$as_ac_Header=no"
43765 fi
43766
43767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43768 fi
43769 ac_res=`eval echo '${'$as_ac_Header'}'`
43770 { echo "$as_me:$LINENO: result: $ac_res" >&5
43771 echo "${ECHO_T}$ac_res" >&6; }
43772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43773 cat >>confdefs.h <<_ACEOF
43774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43775 _ACEOF
43776
43777 fi
43778
43779 done
43780
43781 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43782 cat >>confdefs.h <<\_ACEOF
43783 #define wxHAS_INOTIFY 1
43784 _ACEOF
43785
43786 else
43787
43788 for ac_header in sys/event.h
43789 do
43790 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43791 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43794 echo $ECHO_N "(cached) $ECHO_C" >&6
43795 else
43796 cat >conftest.$ac_ext <<_ACEOF
43797 /* confdefs.h. */
43798 _ACEOF
43799 cat confdefs.h >>conftest.$ac_ext
43800 cat >>conftest.$ac_ext <<_ACEOF
43801 /* end confdefs.h. */
43802 $ac_includes_default
43803
43804 #include <$ac_header>
43805 _ACEOF
43806 rm -f conftest.$ac_objext
43807 if { (ac_try="$ac_compile"
43808 case "(($ac_try" in
43809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43810 *) ac_try_echo=$ac_try;;
43811 esac
43812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43813 (eval "$ac_compile") 2>conftest.er1
43814 ac_status=$?
43815 grep -v '^ *+' conftest.er1 >conftest.err
43816 rm -f conftest.er1
43817 cat conftest.err >&5
43818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43819 (exit $ac_status); } && {
43820 test -z "$ac_c_werror_flag" ||
43821 test ! -s conftest.err
43822 } && test -s conftest.$ac_objext; then
43823 eval "$as_ac_Header=yes"
43824 else
43825 echo "$as_me: failed program was:" >&5
43826 sed 's/^/| /' conftest.$ac_ext >&5
43827
43828 eval "$as_ac_Header=no"
43829 fi
43830
43831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43832 fi
43833 ac_res=`eval echo '${'$as_ac_Header'}'`
43834 { echo "$as_me:$LINENO: result: $ac_res" >&5
43835 echo "${ECHO_T}$ac_res" >&6; }
43836 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43837 cat >>confdefs.h <<_ACEOF
43838 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43839 _ACEOF
43840
43841 fi
43842
43843 done
43844
43845 if test "$ac_cv_header_sys_event_h" = "yes"; then
43846 cat >>confdefs.h <<\_ACEOF
43847 #define wxHAS_KQUEUE 1
43848 _ACEOF
43849
43850 else
43851 wxUSE_FSWATCHER=no
43852 fi
43853 fi
43854 else
43855 wxUSE_FSWATCHER=no
43856 fi
43857 else
43858 if test "$wxUSE_THREADS" != "yes"; then
43859 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
43860 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
43861 wxUSE_FSWATCHER=no
43862 fi
43863 fi
43864
43865 if test "$wxUSE_FSWATCHER" = "yes"; then
43866 cat >>confdefs.h <<\_ACEOF
43867 #define wxUSE_FSWATCHER 1
43868 _ACEOF
43869
43870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
43871 else
43872 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
43873 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
43874 fi
43875 fi
43876
43877
43878 if test "$wxUSE_STL" = "yes"; then
43879 cat >>confdefs.h <<\_ACEOF
43880 #define wxUSE_STL 1
43881 _ACEOF
43882
43883 fi
43884
43885 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43886 cat >>confdefs.h <<\_ACEOF
43887 #define wxUSE_EXTENDED_RTTI 1
43888 _ACEOF
43889
43890 fi
43891
43892 if test "$wxUSE_ANY" = "yes"; then
43893 cat >>confdefs.h <<\_ACEOF
43894 #define wxUSE_ANY 1
43895 _ACEOF
43896
43897 fi
43898
43899 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43900 cat >>confdefs.h <<\_ACEOF
43901 #define wxUSE_APPLE_IEEE 1
43902 _ACEOF
43903
43904 fi
43905
43906 if test "$wxUSE_TIMER" = "yes"; then
43907 cat >>confdefs.h <<\_ACEOF
43908 #define wxUSE_TIMER 1
43909 _ACEOF
43910
43911 fi
43912
43913 if test "$USE_UNIX" = 1 ; then
43914 if test "$wxUSE_MGL" != 1; then
43915 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43916 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
43917 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43918 echo $ECHO_N "(cached) $ECHO_C" >&6
43919 else
43920
43921 cat >conftest.$ac_ext <<_ACEOF
43922 /* confdefs.h. */
43923 _ACEOF
43924 cat confdefs.h >>conftest.$ac_ext
43925 cat >>conftest.$ac_ext <<_ACEOF
43926 /* end confdefs.h. */
43927
43928 #include <sys/ioctl.h>
43929 #include <sys/soundcard.h>
43930
43931 int
43932 main ()
43933 {
43934
43935 ioctl(0, SNDCTL_DSP_SPEED, 0);
43936
43937 ;
43938 return 0;
43939 }
43940 _ACEOF
43941 rm -f conftest.$ac_objext conftest$ac_exeext
43942 if { (ac_try="$ac_link"
43943 case "(($ac_try" in
43944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43945 *) ac_try_echo=$ac_try;;
43946 esac
43947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43948 (eval "$ac_link") 2>conftest.er1
43949 ac_status=$?
43950 grep -v '^ *+' conftest.er1 >conftest.err
43951 rm -f conftest.er1
43952 cat conftest.err >&5
43953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43954 (exit $ac_status); } && {
43955 test -z "$ac_c_werror_flag" ||
43956 test ! -s conftest.err
43957 } && test -s conftest$ac_exeext &&
43958 $as_test_x conftest$ac_exeext; then
43959 ac_cv_header_sys_soundcard=yes
43960 else
43961 echo "$as_me: failed program was:" >&5
43962 sed 's/^/| /' conftest.$ac_ext >&5
43963
43964
43965 saveLibs="$LIBS"
43966 LIBS="$saveLibs -lossaudio"
43967 cat >conftest.$ac_ext <<_ACEOF
43968 /* confdefs.h. */
43969 _ACEOF
43970 cat confdefs.h >>conftest.$ac_ext
43971 cat >>conftest.$ac_ext <<_ACEOF
43972 /* end confdefs.h. */
43973
43974 #include <sys/ioctl.h>
43975 #include <sys/soundcard.h>
43976
43977 int
43978 main ()
43979 {
43980
43981 ioctl(0, SNDCTL_DSP_SPEED, 0);
43982
43983 ;
43984 return 0;
43985 }
43986 _ACEOF
43987 rm -f conftest.$ac_objext conftest$ac_exeext
43988 if { (ac_try="$ac_link"
43989 case "(($ac_try" in
43990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43991 *) ac_try_echo=$ac_try;;
43992 esac
43993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43994 (eval "$ac_link") 2>conftest.er1
43995 ac_status=$?
43996 grep -v '^ *+' conftest.er1 >conftest.err
43997 rm -f conftest.er1
43998 cat conftest.err >&5
43999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44000 (exit $ac_status); } && {
44001 test -z "$ac_c_werror_flag" ||
44002 test ! -s conftest.err
44003 } && test -s conftest$ac_exeext &&
44004 $as_test_x conftest$ac_exeext; then
44005 ac_cv_header_sys_soundcard=yes
44006 else
44007 echo "$as_me: failed program was:" >&5
44008 sed 's/^/| /' conftest.$ac_ext >&5
44009
44010
44011 LIBS="$saveLibs"
44012 ac_cv_header_sys_soundcard=no
44013
44014
44015 fi
44016
44017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44018 conftest$ac_exeext conftest.$ac_ext
44019
44020
44021 fi
44022
44023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44024 conftest$ac_exeext conftest.$ac_ext
44025
44026 fi
44027 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44028 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44029 fi
44030
44031 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44032 cat >>confdefs.h <<\_ACEOF
44033 #define HAVE_SYS_SOUNDCARD_H 1
44034 _ACEOF
44035
44036 fi
44037 fi
44038
44039 WITH_PLUGIN_SDL=0
44040 if test "$wxUSE_SOUND" = "yes"; then
44041 if test "$USE_UNIX" = 1 ; then
44042 if test "$wxUSE_LIBSDL" != "no"; then
44043
44044 # Check whether --with-sdl-prefix was given.
44045 if test "${with_sdl_prefix+set}" = set; then
44046 withval=$with_sdl_prefix; sdl_prefix="$withval"
44047 else
44048 sdl_prefix=""
44049 fi
44050
44051
44052 # Check whether --with-sdl-exec-prefix was given.
44053 if test "${with_sdl_exec_prefix+set}" = set; then
44054 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44055 else
44056 sdl_exec_prefix=""
44057 fi
44058
44059 # Check whether --enable-sdltest was given.
44060 if test "${enable_sdltest+set}" = set; then
44061 enableval=$enable_sdltest;
44062 else
44063 enable_sdltest=yes
44064 fi
44065
44066
44067 if test x$sdl_exec_prefix != x ; then
44068 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44069 if test x${SDL_CONFIG+set} != xset ; then
44070 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44071 fi
44072 fi
44073 if test x$sdl_prefix != x ; then
44074 sdl_args="$sdl_args --prefix=$sdl_prefix"
44075 if test x${SDL_CONFIG+set} != xset ; then
44076 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44077 fi
44078 fi
44079
44080 if test "x$prefix" != xNONE; then
44081 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44082 fi
44083 # Extract the first word of "sdl-config", so it can be a program name with args.
44084 set dummy sdl-config; ac_word=$2
44085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44087 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44088 echo $ECHO_N "(cached) $ECHO_C" >&6
44089 else
44090 case $SDL_CONFIG in
44091 [\\/]* | ?:[\\/]*)
44092 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44093 ;;
44094 *)
44095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44096 for as_dir in $PATH
44097 do
44098 IFS=$as_save_IFS
44099 test -z "$as_dir" && as_dir=.
44100 for ac_exec_ext in '' $ac_executable_extensions; do
44101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44102 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44104 break 2
44105 fi
44106 done
44107 done
44108 IFS=$as_save_IFS
44109
44110 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44111 ;;
44112 esac
44113 fi
44114 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44115 if test -n "$SDL_CONFIG"; then
44116 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44117 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44118 else
44119 { echo "$as_me:$LINENO: result: no" >&5
44120 echo "${ECHO_T}no" >&6; }
44121 fi
44122
44123
44124 min_sdl_version=1.2.0
44125 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44126 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44127 no_sdl=""
44128 if test "$SDL_CONFIG" = "no" ; then
44129 no_sdl=yes
44130 else
44131 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44132 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44133
44134 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44135 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44136 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44137 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44138 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44139 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44140 if test "x$enable_sdltest" = "xyes" ; then
44141 ac_save_CFLAGS="$CFLAGS"
44142 ac_save_CXXFLAGS="$CXXFLAGS"
44143 ac_save_LIBS="$LIBS"
44144 CFLAGS="$CFLAGS $SDL_CFLAGS"
44145 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44146 LIBS="$LIBS $SDL_LIBS"
44147 rm -f conf.sdltest
44148 if test "$cross_compiling" = yes; then
44149 echo $ac_n "cross compiling; assumed OK... $ac_c"
44150 else
44151 cat >conftest.$ac_ext <<_ACEOF
44152 /* confdefs.h. */
44153 _ACEOF
44154 cat confdefs.h >>conftest.$ac_ext
44155 cat >>conftest.$ac_ext <<_ACEOF
44156 /* end confdefs.h. */
44157
44158 #include <stdio.h>
44159 #include <stdlib.h>
44160 #include <string.h>
44161 #include "SDL.h"
44162
44163 char*
44164 my_strdup (char *str)
44165 {
44166 char *new_str;
44167
44168 if (str)
44169 {
44170 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44171 strcpy (new_str, str);
44172 }
44173 else
44174 new_str = NULL;
44175
44176 return new_str;
44177 }
44178
44179 int main (int argc, char *argv[])
44180 {
44181 int major, minor, micro;
44182 char *tmp_version;
44183
44184 /* This hangs on some systems (?)
44185 system ("touch conf.sdltest");
44186 */
44187 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44188
44189 /* HP/UX 9 (%@#!) writes to sscanf strings */
44190 tmp_version = my_strdup("$min_sdl_version");
44191 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44192 printf("%s, bad version string\n", "$min_sdl_version");
44193 exit(1);
44194 }
44195
44196 if (($sdl_major_version > major) ||
44197 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44198 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44199 {
44200 return 0;
44201 }
44202 else
44203 {
44204 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44205 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44206 printf("*** best to upgrade to the required version.\n");
44207 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44208 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44209 printf("*** config.cache before re-running configure\n");
44210 return 1;
44211 }
44212 }
44213
44214
44215 _ACEOF
44216 rm -f conftest$ac_exeext
44217 if { (ac_try="$ac_link"
44218 case "(($ac_try" in
44219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44220 *) ac_try_echo=$ac_try;;
44221 esac
44222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44223 (eval "$ac_link") 2>&5
44224 ac_status=$?
44225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44227 { (case "(($ac_try" in
44228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44229 *) ac_try_echo=$ac_try;;
44230 esac
44231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44232 (eval "$ac_try") 2>&5
44233 ac_status=$?
44234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44235 (exit $ac_status); }; }; then
44236 :
44237 else
44238 echo "$as_me: program exited with status $ac_status" >&5
44239 echo "$as_me: failed program was:" >&5
44240 sed 's/^/| /' conftest.$ac_ext >&5
44241
44242 ( exit $ac_status )
44243 no_sdl=yes
44244 fi
44245 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44246 fi
44247
44248
44249 CFLAGS="$ac_save_CFLAGS"
44250 CXXFLAGS="$ac_save_CXXFLAGS"
44251 LIBS="$ac_save_LIBS"
44252 fi
44253 fi
44254 if test "x$no_sdl" = x ; then
44255 { echo "$as_me:$LINENO: result: yes" >&5
44256 echo "${ECHO_T}yes" >&6; }
44257
44258 EXTRALIBS_SDL="$SDL_LIBS"
44259 CFLAGS="$SDL_CFLAGS $CFLAGS"
44260 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44261 cat >>confdefs.h <<\_ACEOF
44262 #define wxUSE_LIBSDL 1
44263 _ACEOF
44264
44265
44266 else
44267 { echo "$as_me:$LINENO: result: no" >&5
44268 echo "${ECHO_T}no" >&6; }
44269 if test "$SDL_CONFIG" = "no" ; then
44270 echo "*** The sdl-config script installed by SDL could not be found"
44271 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44272 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44273 echo "*** full path to sdl-config."
44274 else
44275 if test -f conf.sdltest ; then
44276 :
44277 else
44278 echo "*** Could not run SDL test program, checking why..."
44279 CFLAGS="$CFLAGS $SDL_CFLAGS"
44280 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44281 LIBS="$LIBS $SDL_LIBS"
44282 cat >conftest.$ac_ext <<_ACEOF
44283 /* confdefs.h. */
44284 _ACEOF
44285 cat confdefs.h >>conftest.$ac_ext
44286 cat >>conftest.$ac_ext <<_ACEOF
44287 /* end confdefs.h. */
44288
44289 #include <stdio.h>
44290 #include "SDL.h"
44291
44292 int main(int argc, char *argv[])
44293 { return 0; }
44294 #undef main
44295 #define main K_and_R_C_main
44296
44297 int
44298 main ()
44299 {
44300 return 0;
44301 ;
44302 return 0;
44303 }
44304 _ACEOF
44305 rm -f conftest.$ac_objext conftest$ac_exeext
44306 if { (ac_try="$ac_link"
44307 case "(($ac_try" in
44308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44309 *) ac_try_echo=$ac_try;;
44310 esac
44311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44312 (eval "$ac_link") 2>conftest.er1
44313 ac_status=$?
44314 grep -v '^ *+' conftest.er1 >conftest.err
44315 rm -f conftest.er1
44316 cat conftest.err >&5
44317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44318 (exit $ac_status); } && {
44319 test -z "$ac_c_werror_flag" ||
44320 test ! -s conftest.err
44321 } && test -s conftest$ac_exeext &&
44322 $as_test_x conftest$ac_exeext; then
44323 echo "*** The test program compiled, but did not run. This usually means"
44324 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44325 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44326 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44327 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44328 echo "*** is required on your system"
44329 echo "***"
44330 echo "*** If you have an old version installed, it is best to remove it, although"
44331 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44332 else
44333 echo "$as_me: failed program was:" >&5
44334 sed 's/^/| /' conftest.$ac_ext >&5
44335
44336 echo "*** The test program failed to compile or link. See the file config.log for the"
44337 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44338 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44339 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44340 fi
44341
44342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44343 conftest$ac_exeext conftest.$ac_ext
44344 CFLAGS="$ac_save_CFLAGS"
44345 CXXFLAGS="$ac_save_CXXFLAGS"
44346 LIBS="$ac_save_LIBS"
44347 fi
44348 fi
44349 SDL_CFLAGS=""
44350 SDL_LIBS=""
44351 wxUSE_LIBSDL="no"
44352 fi
44353
44354
44355 rm -f conf.sdltest
44356
44357 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44358 WITH_PLUGIN_SDL=1
44359 fi
44360 fi
44361 else
44362 if test "$wxUSE_MGL" = 1; then
44363 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44364 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44365 wxUSE_SOUND="no"
44366 fi
44367 fi
44368 fi
44369
44370 if test "$wxUSE_SOUND" = "yes"; then
44371 cat >>confdefs.h <<\_ACEOF
44372 #define wxUSE_SOUND 1
44373 _ACEOF
44374
44375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44376 fi
44377
44378 if test "$WXGTK2" = 1; then
44379
44380
44381 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44382 if test -n "$ac_tool_prefix"; then
44383 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44384 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44387 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44388 echo $ECHO_N "(cached) $ECHO_C" >&6
44389 else
44390 case $PKG_CONFIG in
44391 [\\/]* | ?:[\\/]*)
44392 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44393 ;;
44394 *)
44395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44396 for as_dir in $PATH
44397 do
44398 IFS=$as_save_IFS
44399 test -z "$as_dir" && as_dir=.
44400 for ac_exec_ext in '' $ac_executable_extensions; do
44401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44402 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44404 break 2
44405 fi
44406 done
44407 done
44408 IFS=$as_save_IFS
44409
44410 ;;
44411 esac
44412 fi
44413 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44414 if test -n "$PKG_CONFIG"; then
44415 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44416 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44417 else
44418 { echo "$as_me:$LINENO: result: no" >&5
44419 echo "${ECHO_T}no" >&6; }
44420 fi
44421
44422
44423 fi
44424 if test -z "$ac_cv_path_PKG_CONFIG"; then
44425 ac_pt_PKG_CONFIG=$PKG_CONFIG
44426 # Extract the first word of "pkg-config", so it can be a program name with args.
44427 set dummy pkg-config; ac_word=$2
44428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44430 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44431 echo $ECHO_N "(cached) $ECHO_C" >&6
44432 else
44433 case $ac_pt_PKG_CONFIG in
44434 [\\/]* | ?:[\\/]*)
44435 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44436 ;;
44437 *)
44438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44439 for as_dir in $PATH
44440 do
44441 IFS=$as_save_IFS
44442 test -z "$as_dir" && as_dir=.
44443 for ac_exec_ext in '' $ac_executable_extensions; do
44444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44445 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44447 break 2
44448 fi
44449 done
44450 done
44451 IFS=$as_save_IFS
44452
44453 ;;
44454 esac
44455 fi
44456 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44457 if test -n "$ac_pt_PKG_CONFIG"; then
44458 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44459 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44460 else
44461 { echo "$as_me:$LINENO: result: no" >&5
44462 echo "${ECHO_T}no" >&6; }
44463 fi
44464
44465 if test "x$ac_pt_PKG_CONFIG" = x; then
44466 PKG_CONFIG=""
44467 else
44468 case $cross_compiling:$ac_tool_warned in
44469 yes:)
44470 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44471 whose name does not start with the host triplet. If you think this
44472 configuration is useful to you, please write to autoconf@gnu.org." >&5
44473 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44474 whose name does not start with the host triplet. If you think this
44475 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44476 ac_tool_warned=yes ;;
44477 esac
44478 PKG_CONFIG=$ac_pt_PKG_CONFIG
44479 fi
44480 else
44481 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44482 fi
44483
44484 fi
44485 if test -n "$PKG_CONFIG"; then
44486 _pkg_min_version=0.9.0
44487 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44488 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44489 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44490 { echo "$as_me:$LINENO: result: yes" >&5
44491 echo "${ECHO_T}yes" >&6; }
44492 else
44493 { echo "$as_me:$LINENO: result: no" >&5
44494 echo "${ECHO_T}no" >&6; }
44495 PKG_CONFIG=""
44496 fi
44497
44498 fi
44499
44500 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44501
44502 if test "$wxUSE_GTKPRINT" = "yes" ; then
44503
44504
44505 pkg_failed=no
44506 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44507 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44508
44509 if test -n "$PKG_CONFIG"; then
44510 if test -n "$GTKPRINT_CFLAGS"; then
44511 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
44512 else
44513 if test -n "$PKG_CONFIG" && \
44514 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44515 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44516 ac_status=$?
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); }; then
44519 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44520 else
44521 pkg_failed=yes
44522 fi
44523 fi
44524 else
44525 pkg_failed=untried
44526 fi
44527 if test -n "$PKG_CONFIG"; then
44528 if test -n "$GTKPRINT_LIBS"; then
44529 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
44530 else
44531 if test -n "$PKG_CONFIG" && \
44532 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44533 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44534 ac_status=$?
44535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536 (exit $ac_status); }; then
44537 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44538 else
44539 pkg_failed=yes
44540 fi
44541 fi
44542 else
44543 pkg_failed=untried
44544 fi
44545
44546
44547
44548 if test $pkg_failed = yes; then
44549
44550 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44551 _pkg_short_errors_supported=yes
44552 else
44553 _pkg_short_errors_supported=no
44554 fi
44555 if test $_pkg_short_errors_supported = yes; then
44556 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44557 else
44558 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44559 fi
44560 # Put the nasty error message in config.log where it belongs
44561 echo "$GTKPRINT_PKG_ERRORS" >&5
44562
44563
44564 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44565 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44566 wxUSE_GTKPRINT="no"
44567
44568
44569 elif test $pkg_failed = untried; then
44570
44571 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44572 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44573 wxUSE_GTKPRINT="no"
44574
44575
44576 else
44577 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
44578 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
44579 { echo "$as_me:$LINENO: result: yes" >&5
44580 echo "${ECHO_T}yes" >&6; }
44581
44582 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
44583 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_GTKPRINT 1
44586 _ACEOF
44587
44588
44589 fi
44590 fi
44591
44592 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44593
44594
44595 pkg_failed=no
44596 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44597 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44598
44599 if test -n "$PKG_CONFIG"; then
44600 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44601 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44602 else
44603 if test -n "$PKG_CONFIG" && \
44604 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44605 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44606 ac_status=$?
44607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44608 (exit $ac_status); }; then
44609 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44610 else
44611 pkg_failed=yes
44612 fi
44613 fi
44614 else
44615 pkg_failed=untried
44616 fi
44617 if test -n "$PKG_CONFIG"; then
44618 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44619 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44620 else
44621 if test -n "$PKG_CONFIG" && \
44622 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44623 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44624 ac_status=$?
44625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44626 (exit $ac_status); }; then
44627 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44628 else
44629 pkg_failed=yes
44630 fi
44631 fi
44632 else
44633 pkg_failed=untried
44634 fi
44635
44636
44637
44638 if test $pkg_failed = yes; then
44639
44640 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44641 _pkg_short_errors_supported=yes
44642 else
44643 _pkg_short_errors_supported=no
44644 fi
44645 if test $_pkg_short_errors_supported = yes; then
44646 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44647 else
44648 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44649 fi
44650 # Put the nasty error message in config.log where it belongs
44651 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44652
44653
44654 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44655 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44656 wxUSE_LIBGNOMEPRINT="no"
44657
44658
44659 elif test $pkg_failed = untried; then
44660
44661 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44662 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44663 wxUSE_LIBGNOMEPRINT="no"
44664
44665
44666 else
44667 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44668 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44669 { echo "$as_me:$LINENO: result: yes" >&5
44670 echo "${ECHO_T}yes" >&6; }
44671
44672 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44673 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44674 cat >>confdefs.h <<\_ACEOF
44675 #define wxUSE_LIBGNOMEPRINT 1
44676 _ACEOF
44677
44678
44679 fi
44680 fi
44681 fi
44682
44683 if test "$wxUSE_MIMETYPE" = "yes" ; then
44684 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44685
44686
44687 pkg_failed=no
44688 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44689 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44690
44691 if test -n "$PKG_CONFIG"; then
44692 if test -n "$GNOMEVFS_CFLAGS"; then
44693 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44694 else
44695 if test -n "$PKG_CONFIG" && \
44696 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44697 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44698 ac_status=$?
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); }; then
44701 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44702 else
44703 pkg_failed=yes
44704 fi
44705 fi
44706 else
44707 pkg_failed=untried
44708 fi
44709 if test -n "$PKG_CONFIG"; then
44710 if test -n "$GNOMEVFS_LIBS"; then
44711 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44712 else
44713 if test -n "$PKG_CONFIG" && \
44714 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44715 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44716 ac_status=$?
44717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718 (exit $ac_status); }; then
44719 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44720 else
44721 pkg_failed=yes
44722 fi
44723 fi
44724 else
44725 pkg_failed=untried
44726 fi
44727
44728
44729
44730 if test $pkg_failed = yes; then
44731
44732 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44733 _pkg_short_errors_supported=yes
44734 else
44735 _pkg_short_errors_supported=no
44736 fi
44737 if test $_pkg_short_errors_supported = yes; then
44738 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44739 else
44740 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44741 fi
44742 # Put the nasty error message in config.log where it belongs
44743 echo "$GNOMEVFS_PKG_ERRORS" >&5
44744
44745
44746 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44747 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44748 wxUSE_LIBGNOMEVFS="no"
44749
44750
44751 elif test $pkg_failed = untried; then
44752
44753 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44754 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44755 wxUSE_LIBGNOMEVFS="no"
44756
44757
44758 else
44759 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44760 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44761 { echo "$as_me:$LINENO: result: yes" >&5
44762 echo "${ECHO_T}yes" >&6; }
44763
44764 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44765 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44766 cat >>confdefs.h <<\_ACEOF
44767 #define wxUSE_LIBGNOMEVFS 1
44768 _ACEOF
44769
44770
44771 fi
44772 fi
44773 fi
44774
44775 if test "$wxUSE_LIBHILDON" = "yes" ; then
44776
44777 pkg_failed=no
44778 { echo "$as_me:$LINENO: checking for HILDON" >&5
44779 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44780
44781 if test -n "$PKG_CONFIG"; then
44782 if test -n "$HILDON_CFLAGS"; then
44783 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44784 else
44785 if test -n "$PKG_CONFIG" && \
44786 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44787 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44788 ac_status=$?
44789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44790 (exit $ac_status); }; then
44791 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44792 else
44793 pkg_failed=yes
44794 fi
44795 fi
44796 else
44797 pkg_failed=untried
44798 fi
44799 if test -n "$PKG_CONFIG"; then
44800 if test -n "$HILDON_LIBS"; then
44801 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44802 else
44803 if test -n "$PKG_CONFIG" && \
44804 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44805 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44806 ac_status=$?
44807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44808 (exit $ac_status); }; then
44809 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44810 else
44811 pkg_failed=yes
44812 fi
44813 fi
44814 else
44815 pkg_failed=untried
44816 fi
44817
44818
44819
44820 if test $pkg_failed = yes; then
44821
44822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44823 _pkg_short_errors_supported=yes
44824 else
44825 _pkg_short_errors_supported=no
44826 fi
44827 if test $_pkg_short_errors_supported = yes; then
44828 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44829 else
44830 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44831 fi
44832 # Put the nasty error message in config.log where it belongs
44833 echo "$HILDON_PKG_ERRORS" >&5
44834
44835
44836 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44837 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44838 wxUSE_LIBHILDON="no"
44839 ac_hildon_lgpl=0
44840
44841
44842 elif test $pkg_failed = untried; then
44843
44844 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44845 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44846 wxUSE_LIBHILDON="no"
44847 ac_hildon_lgpl=0
44848
44849
44850 else
44851 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44852 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44853 { echo "$as_me:$LINENO: result: yes" >&5
44854 echo "${ECHO_T}yes" >&6; }
44855
44856 EXTRALIBS_HILDON="$HILDON_LIBS"
44857 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44858 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44859 cat >>confdefs.h <<\_ACEOF
44860 #define wxUSE_LIBHILDON 1
44861 _ACEOF
44862
44863 ac_hildon_lgpl=1
44864
44865 fi
44866
44867 if test "$ac_hildon_lgpl" = 0 ; then
44868
44869 pkg_failed=no
44870 { echo "$as_me:$LINENO: checking for HILDON2" >&5
44871 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
44872
44873 if test -n "$PKG_CONFIG"; then
44874 if test -n "$HILDON2_CFLAGS"; then
44875 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
44876 else
44877 if test -n "$PKG_CONFIG" && \
44878 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44879 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44880 ac_status=$?
44881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44882 (exit $ac_status); }; then
44883 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
44884 else
44885 pkg_failed=yes
44886 fi
44887 fi
44888 else
44889 pkg_failed=untried
44890 fi
44891 if test -n "$PKG_CONFIG"; then
44892 if test -n "$HILDON2_LIBS"; then
44893 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
44894 else
44895 if test -n "$PKG_CONFIG" && \
44896 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
44897 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
44898 ac_status=$?
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); }; then
44901 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
44902 else
44903 pkg_failed=yes
44904 fi
44905 fi
44906 else
44907 pkg_failed=untried
44908 fi
44909
44910
44911
44912 if test $pkg_failed = yes; then
44913
44914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44915 _pkg_short_errors_supported=yes
44916 else
44917 _pkg_short_errors_supported=no
44918 fi
44919 if test $_pkg_short_errors_supported = yes; then
44920 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44921 else
44922 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
44923 fi
44924 # Put the nasty error message in config.log where it belongs
44925 echo "$HILDON2_PKG_ERRORS" >&5
44926
44927
44928 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44929 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44930 wxUSE_LIBHILDON2="no"
44931
44932
44933 elif test $pkg_failed = untried; then
44934
44935 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
44936 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
44937 wxUSE_LIBHILDON2="no"
44938
44939
44940 else
44941 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
44942 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
44943 { echo "$as_me:$LINENO: result: yes" >&5
44944 echo "${ECHO_T}yes" >&6; }
44945
44946 EXTRALIBS_HILDON="$HILDON2_LIBS"
44947 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
44948 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
44949 cat >>confdefs.h <<\_ACEOF
44950 #define wxUSE_LIBHILDON2 1
44951 _ACEOF
44952
44953
44954 fi
44955 fi
44956 fi
44957 fi
44958
44959 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_CMDLINE_PARSER 1
44962 _ACEOF
44963
44964 fi
44965
44966 if test "$wxUSE_STOPWATCH" = "yes"; then
44967 cat >>confdefs.h <<\_ACEOF
44968 #define wxUSE_STOPWATCH 1
44969 _ACEOF
44970
44971 fi
44972
44973 if test "$wxUSE_DATETIME" = "yes"; then
44974 cat >>confdefs.h <<\_ACEOF
44975 #define wxUSE_DATETIME 1
44976 _ACEOF
44977
44978 fi
44979
44980 if test "$wxUSE_FILE" = "yes"; then
44981 cat >>confdefs.h <<\_ACEOF
44982 #define wxUSE_FILE 1
44983 _ACEOF
44984
44985 fi
44986
44987 if test "$wxUSE_FFILE" = "yes"; then
44988 cat >>confdefs.h <<\_ACEOF
44989 #define wxUSE_FFILE 1
44990 _ACEOF
44991
44992 fi
44993
44994 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44995 if test "$wxUSE_STREAMS" != yes; then
44996 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44997 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44998 wxUSE_ARCHIVE_STREAMS=no
44999 else
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_ARCHIVE_STREAMS 1
45002 _ACEOF
45003
45004 fi
45005 fi
45006
45007 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45008 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45009 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45010 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45011 elif test "$wxUSE_ZLIB" = "no"; then
45012 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45013 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45014 else
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_ZIPSTREAM 1
45017 _ACEOF
45018
45019 fi
45020 fi
45021
45022 if test "$wxUSE_TARSTREAM" = "yes"; then
45023 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45024 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45025 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45026 else
45027 cat >>confdefs.h <<\_ACEOF
45028 #define wxUSE_TARSTREAM 1
45029 _ACEOF
45030
45031 fi
45032 fi
45033
45034 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45035 cat >>confdefs.h <<\_ACEOF
45036 #define wxUSE_FILE_HISTORY 1
45037 _ACEOF
45038
45039 fi
45040
45041 if test "$wxUSE_FILESYSTEM" = "yes"; then
45042 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45043 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45044 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45045 wxUSE_FILESYSTEM=no
45046 else
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_FILESYSTEM 1
45049 _ACEOF
45050
45051 fi
45052 fi
45053
45054 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45055 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45056 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45057 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45058 else
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_FS_ARCHIVE 1
45061 _ACEOF
45062
45063 fi
45064 fi
45065
45066 if test "$wxUSE_FS_ZIP" = "yes"; then
45067 if test "$wxUSE_FS_ARCHIVE" != yes; then
45068 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45069 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45070 else
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_FS_ZIP 1
45073 _ACEOF
45074
45075 fi
45076 fi
45077
45078 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45079 if test "$USE_UNIX" != 1; then
45080 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45081 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45082 wxUSE_ON_FATAL_EXCEPTION=no
45083 else
45084 cat >>confdefs.h <<\_ACEOF
45085 #define wxUSE_ON_FATAL_EXCEPTION 1
45086 _ACEOF
45087
45088 fi
45089 fi
45090
45091 if test "$wxUSE_STACKWALKER" = "yes"; then
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_STACKWALKER 1
45094 _ACEOF
45095
45096 fi
45097
45098 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45099 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45100 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45101 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45102 wxUSE_DEBUGREPORT=no
45103 else
45104 cat >>confdefs.h <<\_ACEOF
45105 #define wxUSE_DEBUGREPORT 1
45106 _ACEOF
45107
45108 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45109 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45110 fi
45111 fi
45112 fi
45113
45114 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_SNGLINST_CHECKER 1
45117 _ACEOF
45118
45119 fi
45120
45121 if test "$wxUSE_BUSYINFO" = "yes"; then
45122 cat >>confdefs.h <<\_ACEOF
45123 #define wxUSE_BUSYINFO 1
45124 _ACEOF
45125
45126 fi
45127
45128 if test "$wxUSE_HOTKEY" = "yes"; then
45129 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
45130 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
45131 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
45132 wxUSE_HOTKEY=no
45133 fi
45134 elif test "$wxUSE_HOTKEY" = "auto"; then
45135 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
45136 wxUSE_HOTKEY=yes
45137 fi
45138 fi
45139 if test "$wxUSE_HOTKEY" = "yes"; then
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_HOTKEY 1
45142 _ACEOF
45143
45144 fi
45145
45146 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45147 cat >>confdefs.h <<\_ACEOF
45148 #define wxUSE_STD_CONTAINERS 1
45149 _ACEOF
45150
45151 fi
45152
45153 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45154 cat >>confdefs.h <<\_ACEOF
45155 #define wxUSE_STD_IOSTREAM 1
45156 _ACEOF
45157
45158 fi
45159
45160 if test "$wxUSE_STD_STRING" = "yes"; then
45161 cat >>confdefs.h <<\_ACEOF
45162 #define wxUSE_STD_STRING 1
45163 _ACEOF
45164
45165 fi
45166
45167 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45170 _ACEOF
45171
45172 fi
45173
45174 if test "$wxUSE_STDPATHS" = "yes"; then
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_STDPATHS 1
45177 _ACEOF
45178
45179 fi
45180
45181 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45182 cat >>confdefs.h <<\_ACEOF
45183 #define wxUSE_TEXTBUFFER 1
45184 _ACEOF
45185
45186 fi
45187
45188 if test "$wxUSE_TEXTFILE" = "yes"; then
45189 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45190 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45191 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45192 else
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_TEXTFILE 1
45195 _ACEOF
45196
45197 fi
45198 fi
45199
45200 if test "$wxUSE_CONFIG" = "yes" ; then
45201 if test "$wxUSE_TEXTFILE" != "yes"; then
45202 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45203 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45204 else
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_CONFIG 1
45207 _ACEOF
45208
45209 cat >>confdefs.h <<\_ACEOF
45210 #define wxUSE_CONFIG_NATIVE 1
45211 _ACEOF
45212
45213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45214 fi
45215 fi
45216
45217 if test "$wxUSE_INTL" = "yes" ; then
45218 if test "$wxUSE_FILE" != "yes"; then
45219 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45220 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45221 else
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_INTL 1
45224 _ACEOF
45225
45226 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45227 GUIDIST="$GUIDIST INTL_DIST"
45228 fi
45229 fi
45230
45231 if test "$wxUSE_XLOCALE" = "yes" ; then
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_XLOCALE 1
45234 _ACEOF
45235
45236 { echo "$as_me:$LINENO: checking for locale_t" >&5
45237 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45238 if test "${ac_cv_type_locale_t+set}" = set; then
45239 echo $ECHO_N "(cached) $ECHO_C" >&6
45240 else
45241 cat >conftest.$ac_ext <<_ACEOF
45242 /* confdefs.h. */
45243 _ACEOF
45244 cat confdefs.h >>conftest.$ac_ext
45245 cat >>conftest.$ac_ext <<_ACEOF
45246 /* end confdefs.h. */
45247 #include <xlocale.h>
45248 #include <locale.h>
45249
45250 typedef locale_t ac__type_new_;
45251 int
45252 main ()
45253 {
45254 if ((ac__type_new_ *) 0)
45255 return 0;
45256 if (sizeof (ac__type_new_))
45257 return 0;
45258 ;
45259 return 0;
45260 }
45261 _ACEOF
45262 rm -f conftest.$ac_objext
45263 if { (ac_try="$ac_compile"
45264 case "(($ac_try" in
45265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45266 *) ac_try_echo=$ac_try;;
45267 esac
45268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45269 (eval "$ac_compile") 2>conftest.er1
45270 ac_status=$?
45271 grep -v '^ *+' conftest.er1 >conftest.err
45272 rm -f conftest.er1
45273 cat conftest.err >&5
45274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45275 (exit $ac_status); } && {
45276 test -z "$ac_c_werror_flag" ||
45277 test ! -s conftest.err
45278 } && test -s conftest.$ac_objext; then
45279 ac_cv_type_locale_t=yes
45280 else
45281 echo "$as_me: failed program was:" >&5
45282 sed 's/^/| /' conftest.$ac_ext >&5
45283
45284 ac_cv_type_locale_t=no
45285 fi
45286
45287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45288 fi
45289 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45290 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45291 if test $ac_cv_type_locale_t = yes; then
45292
45293 cat >>confdefs.h <<_ACEOF
45294 #define HAVE_LOCALE_T 1
45295 _ACEOF
45296
45297
45298 fi
45299
45300 fi
45301
45302 if test "$wxUSE_LOG" = "yes"; then
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_LOG 1
45305 _ACEOF
45306
45307
45308 if test "$wxUSE_LOGGUI" = "yes"; then
45309 cat >>confdefs.h <<\_ACEOF
45310 #define wxUSE_LOGGUI 1
45311 _ACEOF
45312
45313 fi
45314
45315 if test "$wxUSE_LOGWINDOW" = "yes"; then
45316 cat >>confdefs.h <<\_ACEOF
45317 #define wxUSE_LOGWINDOW 1
45318 _ACEOF
45319
45320 fi
45321
45322 if test "$wxUSE_LOGDIALOG" = "yes"; then
45323 cat >>confdefs.h <<\_ACEOF
45324 #define wxUSE_LOG_DIALOG 1
45325 _ACEOF
45326
45327 fi
45328
45329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45330 fi
45331
45332 if test "$wxUSE_LONGLONG" = "yes"; then
45333 cat >>confdefs.h <<\_ACEOF
45334 #define wxUSE_LONGLONG 1
45335 _ACEOF
45336
45337 fi
45338
45339 if test "$wxUSE_GEOMETRY" = "yes"; then
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_GEOMETRY 1
45342 _ACEOF
45343
45344 fi
45345
45346 if test "$wxUSE_BASE64" = "yes"; then
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_BASE64 1
45349 _ACEOF
45350
45351 fi
45352
45353 if test "$wxUSE_STREAMS" = "yes" ; then
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_STREAMS 1
45356 _ACEOF
45357
45358 fi
45359
45360 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_PRINTF_POS_PARAMS 1
45363 _ACEOF
45364
45365 fi
45366
45367 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_OBJC_UNIQUIFYING 1
45370 _ACEOF
45371
45372 fi
45373
45374
45375 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45376 cat >>confdefs.h <<\_ACEOF
45377 #define wxUSE_CONSOLE_EVENTLOOP 1
45378 _ACEOF
45379
45380
45381 if test "$wxUSE_UNIX" = "yes"; then
45382 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45383 cat >>confdefs.h <<\_ACEOF
45384 #define wxUSE_SELECT_DISPATCHER 1
45385 _ACEOF
45386
45387 fi
45388
45389 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45390
45391 for ac_header in sys/epoll.h
45392 do
45393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45394 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45396 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45397 echo $ECHO_N "(cached) $ECHO_C" >&6
45398 else
45399 cat >conftest.$ac_ext <<_ACEOF
45400 /* confdefs.h. */
45401 _ACEOF
45402 cat confdefs.h >>conftest.$ac_ext
45403 cat >>conftest.$ac_ext <<_ACEOF
45404 /* end confdefs.h. */
45405 $ac_includes_default
45406
45407 #include <$ac_header>
45408 _ACEOF
45409 rm -f conftest.$ac_objext
45410 if { (ac_try="$ac_compile"
45411 case "(($ac_try" in
45412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45413 *) ac_try_echo=$ac_try;;
45414 esac
45415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45416 (eval "$ac_compile") 2>conftest.er1
45417 ac_status=$?
45418 grep -v '^ *+' conftest.er1 >conftest.err
45419 rm -f conftest.er1
45420 cat conftest.err >&5
45421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45422 (exit $ac_status); } && {
45423 test -z "$ac_c_werror_flag" ||
45424 test ! -s conftest.err
45425 } && test -s conftest.$ac_objext; then
45426 eval "$as_ac_Header=yes"
45427 else
45428 echo "$as_me: failed program was:" >&5
45429 sed 's/^/| /' conftest.$ac_ext >&5
45430
45431 eval "$as_ac_Header=no"
45432 fi
45433
45434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45435 fi
45436 ac_res=`eval echo '${'$as_ac_Header'}'`
45437 { echo "$as_me:$LINENO: result: $ac_res" >&5
45438 echo "${ECHO_T}$ac_res" >&6; }
45439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45440 cat >>confdefs.h <<_ACEOF
45441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45442 _ACEOF
45443
45444 fi
45445
45446 done
45447
45448 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_EPOLL_DISPATCHER 1
45451 _ACEOF
45452
45453 else
45454 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45455 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45456 fi
45457 fi
45458 fi
45459 fi
45460
45461
45462
45463
45464 for ac_func in gettimeofday ftime
45465 do
45466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45467 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45469 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45470 echo $ECHO_N "(cached) $ECHO_C" >&6
45471 else
45472 cat >conftest.$ac_ext <<_ACEOF
45473 /* confdefs.h. */
45474 _ACEOF
45475 cat confdefs.h >>conftest.$ac_ext
45476 cat >>conftest.$ac_ext <<_ACEOF
45477 /* end confdefs.h. */
45478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45480 #define $ac_func innocuous_$ac_func
45481
45482 /* System header to define __stub macros and hopefully few prototypes,
45483 which can conflict with char $ac_func (); below.
45484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45485 <limits.h> exists even on freestanding compilers. */
45486
45487 #ifdef __STDC__
45488 # include <limits.h>
45489 #else
45490 # include <assert.h>
45491 #endif
45492
45493 #undef $ac_func
45494
45495 /* Override any GCC internal prototype to avoid an error.
45496 Use char because int might match the return type of a GCC
45497 builtin and then its argument prototype would still apply. */
45498 #ifdef __cplusplus
45499 extern "C"
45500 #endif
45501 char $ac_func ();
45502 /* The GNU C library defines this for functions which it implements
45503 to always fail with ENOSYS. Some functions are actually named
45504 something starting with __ and the normal name is an alias. */
45505 #if defined __stub_$ac_func || defined __stub___$ac_func
45506 choke me
45507 #endif
45508
45509 int
45510 main ()
45511 {
45512 return $ac_func ();
45513 ;
45514 return 0;
45515 }
45516 _ACEOF
45517 rm -f conftest.$ac_objext conftest$ac_exeext
45518 if { (ac_try="$ac_link"
45519 case "(($ac_try" in
45520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45521 *) ac_try_echo=$ac_try;;
45522 esac
45523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45524 (eval "$ac_link") 2>conftest.er1
45525 ac_status=$?
45526 grep -v '^ *+' conftest.er1 >conftest.err
45527 rm -f conftest.er1
45528 cat conftest.err >&5
45529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45530 (exit $ac_status); } && {
45531 test -z "$ac_c_werror_flag" ||
45532 test ! -s conftest.err
45533 } && test -s conftest$ac_exeext &&
45534 $as_test_x conftest$ac_exeext; then
45535 eval "$as_ac_var=yes"
45536 else
45537 echo "$as_me: failed program was:" >&5
45538 sed 's/^/| /' conftest.$ac_ext >&5
45539
45540 eval "$as_ac_var=no"
45541 fi
45542
45543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45544 conftest$ac_exeext conftest.$ac_ext
45545 fi
45546 ac_res=`eval echo '${'$as_ac_var'}'`
45547 { echo "$as_me:$LINENO: result: $ac_res" >&5
45548 echo "${ECHO_T}$ac_res" >&6; }
45549 if test `eval echo '${'$as_ac_var'}'` = yes; then
45550 cat >>confdefs.h <<_ACEOF
45551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45552 _ACEOF
45553 break
45554 fi
45555 done
45556
45557
45558 if test "$ac_cv_func_gettimeofday" = "yes"; then
45559 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45560 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45561 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45562 echo $ECHO_N "(cached) $ECHO_C" >&6
45563 else
45564
45565 cat >conftest.$ac_ext <<_ACEOF
45566 /* confdefs.h. */
45567 _ACEOF
45568 cat confdefs.h >>conftest.$ac_ext
45569 cat >>conftest.$ac_ext <<_ACEOF
45570 /* end confdefs.h. */
45571
45572 #include <sys/time.h>
45573 #include <unistd.h>
45574
45575 int
45576 main ()
45577 {
45578
45579 struct timeval tv;
45580 gettimeofday(&tv, NULL);
45581
45582 ;
45583 return 0;
45584 }
45585 _ACEOF
45586 rm -f conftest.$ac_objext
45587 if { (ac_try="$ac_compile"
45588 case "(($ac_try" in
45589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45590 *) ac_try_echo=$ac_try;;
45591 esac
45592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45593 (eval "$ac_compile") 2>conftest.er1
45594 ac_status=$?
45595 grep -v '^ *+' conftest.er1 >conftest.err
45596 rm -f conftest.er1
45597 cat conftest.err >&5
45598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45599 (exit $ac_status); } && {
45600 test -z "$ac_c_werror_flag" ||
45601 test ! -s conftest.err
45602 } && test -s conftest.$ac_objext; then
45603 wx_cv_func_gettimeofday_has_2_args=yes
45604 else
45605 echo "$as_me: failed program was:" >&5
45606 sed 's/^/| /' conftest.$ac_ext >&5
45607
45608 cat >conftest.$ac_ext <<_ACEOF
45609 /* confdefs.h. */
45610 _ACEOF
45611 cat confdefs.h >>conftest.$ac_ext
45612 cat >>conftest.$ac_ext <<_ACEOF
45613 /* end confdefs.h. */
45614
45615 #include <sys/time.h>
45616 #include <unistd.h>
45617
45618 int
45619 main ()
45620 {
45621
45622 struct timeval tv;
45623 gettimeofday(&tv);
45624
45625 ;
45626 return 0;
45627 }
45628 _ACEOF
45629 rm -f conftest.$ac_objext
45630 if { (ac_try="$ac_compile"
45631 case "(($ac_try" in
45632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45633 *) ac_try_echo=$ac_try;;
45634 esac
45635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45636 (eval "$ac_compile") 2>conftest.er1
45637 ac_status=$?
45638 grep -v '^ *+' conftest.er1 >conftest.err
45639 rm -f conftest.er1
45640 cat conftest.err >&5
45641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45642 (exit $ac_status); } && {
45643 test -z "$ac_c_werror_flag" ||
45644 test ! -s conftest.err
45645 } && test -s conftest.$ac_objext; then
45646 wx_cv_func_gettimeofday_has_2_args=no
45647 else
45648 echo "$as_me: failed program was:" >&5
45649 sed 's/^/| /' conftest.$ac_ext >&5
45650
45651
45652 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45653 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45654 wx_cv_func_gettimeofday_has_2_args=unknown
45655
45656
45657 fi
45658
45659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45660
45661 fi
45662
45663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45664
45665 fi
45666 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45667 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45668
45669 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define WX_GETTIMEOFDAY_NO_TZ 1
45672 _ACEOF
45673
45674 fi
45675 fi
45676
45677 if test "$wxUSE_DATETIME" = "yes"; then
45678 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45679 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45680 if test "${wx_cv_var_timezone+set}" = set; then
45681 echo $ECHO_N "(cached) $ECHO_C" >&6
45682 else
45683
45684 ac_ext=cpp
45685 ac_cpp='$CXXCPP $CPPFLAGS'
45686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45689
45690 cat >conftest.$ac_ext <<_ACEOF
45691 /* confdefs.h. */
45692 _ACEOF
45693 cat confdefs.h >>conftest.$ac_ext
45694 cat >>conftest.$ac_ext <<_ACEOF
45695 /* end confdefs.h. */
45696
45697 #include <time.h>
45698
45699 int
45700 main ()
45701 {
45702
45703 int tz;
45704 tz = timezone;
45705
45706 ;
45707 return 0;
45708 }
45709 _ACEOF
45710 rm -f conftest.$ac_objext
45711 if { (ac_try="$ac_compile"
45712 case "(($ac_try" in
45713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45714 *) ac_try_echo=$ac_try;;
45715 esac
45716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45717 (eval "$ac_compile") 2>conftest.er1
45718 ac_status=$?
45719 grep -v '^ *+' conftest.er1 >conftest.err
45720 rm -f conftest.er1
45721 cat conftest.err >&5
45722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45723 (exit $ac_status); } && {
45724 test -z "$ac_cxx_werror_flag" ||
45725 test ! -s conftest.err
45726 } && test -s conftest.$ac_objext; then
45727
45728 wx_cv_var_timezone=timezone
45729
45730 else
45731 echo "$as_me: failed program was:" >&5
45732 sed 's/^/| /' conftest.$ac_ext >&5
45733
45734
45735 cat >conftest.$ac_ext <<_ACEOF
45736 /* confdefs.h. */
45737 _ACEOF
45738 cat confdefs.h >>conftest.$ac_ext
45739 cat >>conftest.$ac_ext <<_ACEOF
45740 /* end confdefs.h. */
45741
45742 #include <time.h>
45743
45744 int
45745 main ()
45746 {
45747
45748 int tz;
45749 tz = _timezone;
45750
45751 ;
45752 return 0;
45753 }
45754 _ACEOF
45755 rm -f conftest.$ac_objext
45756 if { (ac_try="$ac_compile"
45757 case "(($ac_try" in
45758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45759 *) ac_try_echo=$ac_try;;
45760 esac
45761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45762 (eval "$ac_compile") 2>conftest.er1
45763 ac_status=$?
45764 grep -v '^ *+' conftest.er1 >conftest.err
45765 rm -f conftest.er1
45766 cat conftest.err >&5
45767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45768 (exit $ac_status); } && {
45769 test -z "$ac_cxx_werror_flag" ||
45770 test ! -s conftest.err
45771 } && test -s conftest.$ac_objext; then
45772
45773 wx_cv_var_timezone=_timezone
45774
45775 else
45776 echo "$as_me: failed program was:" >&5
45777 sed 's/^/| /' conftest.$ac_ext >&5
45778
45779
45780 cat >conftest.$ac_ext <<_ACEOF
45781 /* confdefs.h. */
45782 _ACEOF
45783 cat confdefs.h >>conftest.$ac_ext
45784 cat >>conftest.$ac_ext <<_ACEOF
45785 /* end confdefs.h. */
45786
45787 #include <time.h>
45788
45789 int
45790 main ()
45791 {
45792
45793 int tz;
45794 tz = __timezone;
45795
45796 ;
45797 return 0;
45798 }
45799 _ACEOF
45800 rm -f conftest.$ac_objext
45801 if { (ac_try="$ac_compile"
45802 case "(($ac_try" in
45803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45804 *) ac_try_echo=$ac_try;;
45805 esac
45806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45807 (eval "$ac_compile") 2>conftest.er1
45808 ac_status=$?
45809 grep -v '^ *+' conftest.er1 >conftest.err
45810 rm -f conftest.er1
45811 cat conftest.err >&5
45812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45813 (exit $ac_status); } && {
45814 test -z "$ac_cxx_werror_flag" ||
45815 test ! -s conftest.err
45816 } && test -s conftest.$ac_objext; then
45817
45818 wx_cv_var_timezone=__timezone
45819
45820 else
45821 echo "$as_me: failed program was:" >&5
45822 sed 's/^/| /' conftest.$ac_ext >&5
45823
45824
45825 if test "$USE_DOS" = 0 ; then
45826 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45827 echo "$as_me: WARNING: no timezone variable" >&2;}
45828 fi
45829
45830
45831 fi
45832
45833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45834
45835
45836 fi
45837
45838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45839
45840
45841 fi
45842
45843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45844 ac_ext=c
45845 ac_cpp='$CPP $CPPFLAGS'
45846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45849
45850
45851
45852 fi
45853 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45854 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
45855
45856 if test "x$wx_cv_var_timezone" != x ; then
45857 cat >>confdefs.h <<_ACEOF
45858 #define WX_TIMEZONE $wx_cv_var_timezone
45859 _ACEOF
45860
45861 fi
45862
45863
45864 for ac_func in localtime
45865 do
45866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45867 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45869 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45870 echo $ECHO_N "(cached) $ECHO_C" >&6
45871 else
45872 cat >conftest.$ac_ext <<_ACEOF
45873 /* confdefs.h. */
45874 _ACEOF
45875 cat confdefs.h >>conftest.$ac_ext
45876 cat >>conftest.$ac_ext <<_ACEOF
45877 /* end confdefs.h. */
45878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45880 #define $ac_func innocuous_$ac_func
45881
45882 /* System header to define __stub macros and hopefully few prototypes,
45883 which can conflict with char $ac_func (); below.
45884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45885 <limits.h> exists even on freestanding compilers. */
45886
45887 #ifdef __STDC__
45888 # include <limits.h>
45889 #else
45890 # include <assert.h>
45891 #endif
45892
45893 #undef $ac_func
45894
45895 /* Override any GCC internal prototype to avoid an error.
45896 Use char because int might match the return type of a GCC
45897 builtin and then its argument prototype would still apply. */
45898 #ifdef __cplusplus
45899 extern "C"
45900 #endif
45901 char $ac_func ();
45902 /* The GNU C library defines this for functions which it implements
45903 to always fail with ENOSYS. Some functions are actually named
45904 something starting with __ and the normal name is an alias. */
45905 #if defined __stub_$ac_func || defined __stub___$ac_func
45906 choke me
45907 #endif
45908
45909 int
45910 main ()
45911 {
45912 return $ac_func ();
45913 ;
45914 return 0;
45915 }
45916 _ACEOF
45917 rm -f conftest.$ac_objext conftest$ac_exeext
45918 if { (ac_try="$ac_link"
45919 case "(($ac_try" in
45920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45921 *) ac_try_echo=$ac_try;;
45922 esac
45923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45924 (eval "$ac_link") 2>conftest.er1
45925 ac_status=$?
45926 grep -v '^ *+' conftest.er1 >conftest.err
45927 rm -f conftest.er1
45928 cat conftest.err >&5
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); } && {
45931 test -z "$ac_c_werror_flag" ||
45932 test ! -s conftest.err
45933 } && test -s conftest$ac_exeext &&
45934 $as_test_x conftest$ac_exeext; then
45935 eval "$as_ac_var=yes"
45936 else
45937 echo "$as_me: failed program was:" >&5
45938 sed 's/^/| /' conftest.$ac_ext >&5
45939
45940 eval "$as_ac_var=no"
45941 fi
45942
45943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45944 conftest$ac_exeext conftest.$ac_ext
45945 fi
45946 ac_res=`eval echo '${'$as_ac_var'}'`
45947 { echo "$as_me:$LINENO: result: $ac_res" >&5
45948 echo "${ECHO_T}$ac_res" >&6; }
45949 if test `eval echo '${'$as_ac_var'}'` = yes; then
45950 cat >>confdefs.h <<_ACEOF
45951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45952 _ACEOF
45953
45954 fi
45955 done
45956
45957
45958 if test "$ac_cv_func_localtime" = "yes"; then
45959 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45960 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
45961 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45962 echo $ECHO_N "(cached) $ECHO_C" >&6
45963 else
45964
45965 cat >conftest.$ac_ext <<_ACEOF
45966 /* confdefs.h. */
45967 _ACEOF
45968 cat confdefs.h >>conftest.$ac_ext
45969 cat >>conftest.$ac_ext <<_ACEOF
45970 /* end confdefs.h. */
45971
45972 #include <time.h>
45973
45974 int
45975 main ()
45976 {
45977
45978 struct tm tm;
45979 tm.tm_gmtoff++;
45980
45981 ;
45982 return 0;
45983 }
45984 _ACEOF
45985 rm -f conftest.$ac_objext
45986 if { (ac_try="$ac_compile"
45987 case "(($ac_try" in
45988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45989 *) ac_try_echo=$ac_try;;
45990 esac
45991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45992 (eval "$ac_compile") 2>conftest.er1
45993 ac_status=$?
45994 grep -v '^ *+' conftest.er1 >conftest.err
45995 rm -f conftest.er1
45996 cat conftest.err >&5
45997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45998 (exit $ac_status); } && {
45999 test -z "$ac_c_werror_flag" ||
46000 test ! -s conftest.err
46001 } && test -s conftest.$ac_objext; then
46002
46003 wx_cv_struct_tm_has_gmtoff=yes
46004
46005 else
46006 echo "$as_me: failed program was:" >&5
46007 sed 's/^/| /' conftest.$ac_ext >&5
46008
46009 wx_cv_struct_tm_has_gmtoff=no
46010
46011 fi
46012
46013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46014
46015 fi
46016 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46017 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46018 fi
46019
46020 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define WX_GMTOFF_IN_TM 1
46023 _ACEOF
46024
46025 fi
46026
46027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46028 fi
46029
46030
46031 if test "$wxUSE_SOCKETS" = "yes"; then
46032 if test "$wxUSE_MGL" = 1; then
46033 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46034 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46035 wxUSE_SOCKETS="no"
46036 fi
46037 fi
46038
46039 if test "$wxUSE_SOCKETS" = "yes"; then
46040 if test "$TOOLKIT" != "MSW"; then
46041 { echo "$as_me:$LINENO: checking for socket" >&5
46042 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46043 if test "${ac_cv_func_socket+set}" = set; then
46044 echo $ECHO_N "(cached) $ECHO_C" >&6
46045 else
46046 cat >conftest.$ac_ext <<_ACEOF
46047 /* confdefs.h. */
46048 _ACEOF
46049 cat confdefs.h >>conftest.$ac_ext
46050 cat >>conftest.$ac_ext <<_ACEOF
46051 /* end confdefs.h. */
46052 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46054 #define socket innocuous_socket
46055
46056 /* System header to define __stub macros and hopefully few prototypes,
46057 which can conflict with char socket (); below.
46058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46059 <limits.h> exists even on freestanding compilers. */
46060
46061 #ifdef __STDC__
46062 # include <limits.h>
46063 #else
46064 # include <assert.h>
46065 #endif
46066
46067 #undef socket
46068
46069 /* Override any GCC internal prototype to avoid an error.
46070 Use char because int might match the return type of a GCC
46071 builtin and then its argument prototype would still apply. */
46072 #ifdef __cplusplus
46073 extern "C"
46074 #endif
46075 char socket ();
46076 /* The GNU C library defines this for functions which it implements
46077 to always fail with ENOSYS. Some functions are actually named
46078 something starting with __ and the normal name is an alias. */
46079 #if defined __stub_socket || defined __stub___socket
46080 choke me
46081 #endif
46082
46083 int
46084 main ()
46085 {
46086 return socket ();
46087 ;
46088 return 0;
46089 }
46090 _ACEOF
46091 rm -f conftest.$ac_objext conftest$ac_exeext
46092 if { (ac_try="$ac_link"
46093 case "(($ac_try" in
46094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46095 *) ac_try_echo=$ac_try;;
46096 esac
46097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46098 (eval "$ac_link") 2>conftest.er1
46099 ac_status=$?
46100 grep -v '^ *+' conftest.er1 >conftest.err
46101 rm -f conftest.er1
46102 cat conftest.err >&5
46103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46104 (exit $ac_status); } && {
46105 test -z "$ac_c_werror_flag" ||
46106 test ! -s conftest.err
46107 } && test -s conftest$ac_exeext &&
46108 $as_test_x conftest$ac_exeext; then
46109 ac_cv_func_socket=yes
46110 else
46111 echo "$as_me: failed program was:" >&5
46112 sed 's/^/| /' conftest.$ac_ext >&5
46113
46114 ac_cv_func_socket=no
46115 fi
46116
46117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46118 conftest$ac_exeext conftest.$ac_ext
46119 fi
46120 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46121 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46122 if test $ac_cv_func_socket = yes; then
46123 :
46124 else
46125
46126 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46127 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46128 if test "${ac_cv_lib_socket_socket+set}" = set; then
46129 echo $ECHO_N "(cached) $ECHO_C" >&6
46130 else
46131 ac_check_lib_save_LIBS=$LIBS
46132 LIBS="-lsocket $LIBS"
46133 cat >conftest.$ac_ext <<_ACEOF
46134 /* confdefs.h. */
46135 _ACEOF
46136 cat confdefs.h >>conftest.$ac_ext
46137 cat >>conftest.$ac_ext <<_ACEOF
46138 /* end confdefs.h. */
46139
46140 /* Override any GCC internal prototype to avoid an error.
46141 Use char because int might match the return type of a GCC
46142 builtin and then its argument prototype would still apply. */
46143 #ifdef __cplusplus
46144 extern "C"
46145 #endif
46146 char socket ();
46147 int
46148 main ()
46149 {
46150 return socket ();
46151 ;
46152 return 0;
46153 }
46154 _ACEOF
46155 rm -f conftest.$ac_objext conftest$ac_exeext
46156 if { (ac_try="$ac_link"
46157 case "(($ac_try" in
46158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46159 *) ac_try_echo=$ac_try;;
46160 esac
46161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46162 (eval "$ac_link") 2>conftest.er1
46163 ac_status=$?
46164 grep -v '^ *+' conftest.er1 >conftest.err
46165 rm -f conftest.er1
46166 cat conftest.err >&5
46167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46168 (exit $ac_status); } && {
46169 test -z "$ac_c_werror_flag" ||
46170 test ! -s conftest.err
46171 } && test -s conftest$ac_exeext &&
46172 $as_test_x conftest$ac_exeext; then
46173 ac_cv_lib_socket_socket=yes
46174 else
46175 echo "$as_me: failed program was:" >&5
46176 sed 's/^/| /' conftest.$ac_ext >&5
46177
46178 ac_cv_lib_socket_socket=no
46179 fi
46180
46181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46182 conftest$ac_exeext conftest.$ac_ext
46183 LIBS=$ac_check_lib_save_LIBS
46184 fi
46185 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46186 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46187 if test $ac_cv_lib_socket_socket = yes; then
46188 if test "$INET_LINK" != " -lsocket"; then
46189 INET_LINK="$INET_LINK -lsocket"
46190 fi
46191 else
46192
46193 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46194 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46195 wxUSE_SOCKETS=no
46196
46197
46198 fi
46199
46200
46201
46202 fi
46203
46204 fi
46205 fi
46206
46207 if test "$wxUSE_SOCKETS" = "yes" ; then
46208 if test "$TOOLKIT" != "MSW"; then
46209 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46210 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46211 if test "${wx_cv_type_getsockname3+set}" = set; then
46212 echo $ECHO_N "(cached) $ECHO_C" >&6
46213 else
46214
46215 ac_ext=cpp
46216 ac_cpp='$CXXCPP $CPPFLAGS'
46217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46220
46221 cat >conftest.$ac_ext <<_ACEOF
46222 /* confdefs.h. */
46223 _ACEOF
46224 cat confdefs.h >>conftest.$ac_ext
46225 cat >>conftest.$ac_ext <<_ACEOF
46226 /* end confdefs.h. */
46227
46228 #include <sys/types.h>
46229 #include <sys/socket.h>
46230
46231 int
46232 main ()
46233 {
46234
46235 socklen_t len;
46236 getsockname(0, 0, &len);
46237
46238 ;
46239 return 0;
46240 }
46241 _ACEOF
46242 rm -f conftest.$ac_objext
46243 if { (ac_try="$ac_compile"
46244 case "(($ac_try" in
46245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46246 *) ac_try_echo=$ac_try;;
46247 esac
46248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46249 (eval "$ac_compile") 2>conftest.er1
46250 ac_status=$?
46251 grep -v '^ *+' conftest.er1 >conftest.err
46252 rm -f conftest.er1
46253 cat conftest.err >&5
46254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46255 (exit $ac_status); } && {
46256 test -z "$ac_cxx_werror_flag" ||
46257 test ! -s conftest.err
46258 } && test -s conftest.$ac_objext; then
46259 wx_cv_type_getsockname3=socklen_t
46260 else
46261 echo "$as_me: failed program was:" >&5
46262 sed 's/^/| /' conftest.$ac_ext >&5
46263
46264
46265 CFLAGS_OLD="$CFLAGS"
46266 if test "$GCC" = yes ; then
46267 CFLAGS="-Werror $CFLAGS"
46268 fi
46269
46270 cat >conftest.$ac_ext <<_ACEOF
46271 /* confdefs.h. */
46272 _ACEOF
46273 cat confdefs.h >>conftest.$ac_ext
46274 cat >>conftest.$ac_ext <<_ACEOF
46275 /* end confdefs.h. */
46276
46277 #include <sys/types.h>
46278 #include <sys/socket.h>
46279
46280 int
46281 main ()
46282 {
46283
46284 size_t len;
46285 getsockname(0, 0, &len);
46286
46287 ;
46288 return 0;
46289 }
46290 _ACEOF
46291 rm -f conftest.$ac_objext
46292 if { (ac_try="$ac_compile"
46293 case "(($ac_try" in
46294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46295 *) ac_try_echo=$ac_try;;
46296 esac
46297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46298 (eval "$ac_compile") 2>conftest.er1
46299 ac_status=$?
46300 grep -v '^ *+' conftest.er1 >conftest.err
46301 rm -f conftest.er1
46302 cat conftest.err >&5
46303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46304 (exit $ac_status); } && {
46305 test -z "$ac_cxx_werror_flag" ||
46306 test ! -s conftest.err
46307 } && test -s conftest.$ac_objext; then
46308 wx_cv_type_getsockname3=size_t
46309 else
46310 echo "$as_me: failed program was:" >&5
46311 sed 's/^/| /' conftest.$ac_ext >&5
46312
46313 cat >conftest.$ac_ext <<_ACEOF
46314 /* confdefs.h. */
46315 _ACEOF
46316 cat confdefs.h >>conftest.$ac_ext
46317 cat >>conftest.$ac_ext <<_ACEOF
46318 /* end confdefs.h. */
46319
46320 #include <sys/types.h>
46321 #include <sys/socket.h>
46322
46323 int
46324 main ()
46325 {
46326
46327 int len;
46328 getsockname(0, 0, &len);
46329
46330 ;
46331 return 0;
46332 }
46333 _ACEOF
46334 rm -f conftest.$ac_objext
46335 if { (ac_try="$ac_compile"
46336 case "(($ac_try" in
46337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46338 *) ac_try_echo=$ac_try;;
46339 esac
46340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46341 (eval "$ac_compile") 2>conftest.er1
46342 ac_status=$?
46343 grep -v '^ *+' conftest.er1 >conftest.err
46344 rm -f conftest.er1
46345 cat conftest.err >&5
46346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46347 (exit $ac_status); } && {
46348 test -z "$ac_cxx_werror_flag" ||
46349 test ! -s conftest.err
46350 } && test -s conftest.$ac_objext; then
46351 wx_cv_type_getsockname3=int
46352 else
46353 echo "$as_me: failed program was:" >&5
46354 sed 's/^/| /' conftest.$ac_ext >&5
46355
46356 wx_cv_type_getsockname3=unknown
46357
46358 fi
46359
46360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46361
46362 fi
46363
46364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46365
46366 CFLAGS="$CFLAGS_OLD"
46367
46368
46369 fi
46370
46371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46372 ac_ext=c
46373 ac_cpp='$CPP $CPPFLAGS'
46374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46377
46378
46379 fi
46380 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46381 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46382
46383 if test "$wx_cv_type_getsockname3" = "unknown"; then
46384 wxUSE_SOCKETS=no
46385 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46386 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46387 else
46388 cat >>confdefs.h <<_ACEOF
46389 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46390 _ACEOF
46391
46392 fi
46393 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46394 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46395 if test "${wx_cv_type_getsockopt5+set}" = set; then
46396 echo $ECHO_N "(cached) $ECHO_C" >&6
46397 else
46398
46399 ac_ext=cpp
46400 ac_cpp='$CXXCPP $CPPFLAGS'
46401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46404
46405 cat >conftest.$ac_ext <<_ACEOF
46406 /* confdefs.h. */
46407 _ACEOF
46408 cat confdefs.h >>conftest.$ac_ext
46409 cat >>conftest.$ac_ext <<_ACEOF
46410 /* end confdefs.h. */
46411
46412 #include <sys/types.h>
46413 #include <sys/socket.h>
46414
46415 int
46416 main ()
46417 {
46418
46419 socklen_t len;
46420 getsockopt(0, 0, 0, 0, &len);
46421
46422 ;
46423 return 0;
46424 }
46425 _ACEOF
46426 rm -f conftest.$ac_objext
46427 if { (ac_try="$ac_compile"
46428 case "(($ac_try" in
46429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46430 *) ac_try_echo=$ac_try;;
46431 esac
46432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46433 (eval "$ac_compile") 2>conftest.er1
46434 ac_status=$?
46435 grep -v '^ *+' conftest.er1 >conftest.err
46436 rm -f conftest.er1
46437 cat conftest.err >&5
46438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439 (exit $ac_status); } && {
46440 test -z "$ac_cxx_werror_flag" ||
46441 test ! -s conftest.err
46442 } && test -s conftest.$ac_objext; then
46443 wx_cv_type_getsockopt5=socklen_t
46444 else
46445 echo "$as_me: failed program was:" >&5
46446 sed 's/^/| /' conftest.$ac_ext >&5
46447
46448
46449 cat >conftest.$ac_ext <<_ACEOF
46450 /* confdefs.h. */
46451 _ACEOF
46452 cat confdefs.h >>conftest.$ac_ext
46453 cat >>conftest.$ac_ext <<_ACEOF
46454 /* end confdefs.h. */
46455
46456 #include <sys/types.h>
46457 #include <sys/socket.h>
46458
46459 int
46460 main ()
46461 {
46462
46463 size_t len;
46464 getsockopt(0, 0, 0, 0, &len);
46465
46466 ;
46467 return 0;
46468 }
46469 _ACEOF
46470 rm -f conftest.$ac_objext
46471 if { (ac_try="$ac_compile"
46472 case "(($ac_try" in
46473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46474 *) ac_try_echo=$ac_try;;
46475 esac
46476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46477 (eval "$ac_compile") 2>conftest.er1
46478 ac_status=$?
46479 grep -v '^ *+' conftest.er1 >conftest.err
46480 rm -f conftest.er1
46481 cat conftest.err >&5
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); } && {
46484 test -z "$ac_cxx_werror_flag" ||
46485 test ! -s conftest.err
46486 } && test -s conftest.$ac_objext; then
46487 wx_cv_type_getsockopt5=size_t
46488 else
46489 echo "$as_me: failed program was:" >&5
46490 sed 's/^/| /' conftest.$ac_ext >&5
46491
46492 cat >conftest.$ac_ext <<_ACEOF
46493 /* confdefs.h. */
46494 _ACEOF
46495 cat confdefs.h >>conftest.$ac_ext
46496 cat >>conftest.$ac_ext <<_ACEOF
46497 /* end confdefs.h. */
46498
46499 #include <sys/types.h>
46500 #include <sys/socket.h>
46501
46502 int
46503 main ()
46504 {
46505
46506 int len;
46507 getsockopt(0, 0, 0, 0, &len);
46508
46509 ;
46510 return 0;
46511 }
46512 _ACEOF
46513 rm -f conftest.$ac_objext
46514 if { (ac_try="$ac_compile"
46515 case "(($ac_try" in
46516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46517 *) ac_try_echo=$ac_try;;
46518 esac
46519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46520 (eval "$ac_compile") 2>conftest.er1
46521 ac_status=$?
46522 grep -v '^ *+' conftest.er1 >conftest.err
46523 rm -f conftest.er1
46524 cat conftest.err >&5
46525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46526 (exit $ac_status); } && {
46527 test -z "$ac_cxx_werror_flag" ||
46528 test ! -s conftest.err
46529 } && test -s conftest.$ac_objext; then
46530 wx_cv_type_getsockopt5=int
46531 else
46532 echo "$as_me: failed program was:" >&5
46533 sed 's/^/| /' conftest.$ac_ext >&5
46534
46535 wx_cv_type_getsockopt5=unknown
46536
46537 fi
46538
46539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46540
46541 fi
46542
46543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46544
46545
46546 fi
46547
46548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46549 ac_ext=c
46550 ac_cpp='$CPP $CPPFLAGS'
46551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46554
46555
46556 fi
46557 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46558 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46559
46560 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46561 wxUSE_SOCKETS=no
46562 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46563 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46564 else
46565 cat >>confdefs.h <<_ACEOF
46566 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46567 _ACEOF
46568
46569 fi
46570 fi
46571 fi
46572
46573 if test "$wxUSE_SOCKETS" = "yes" ; then
46574 if test "$wxUSE_IPV6" = "yes"; then
46575 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46576 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46577 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46578 echo $ECHO_N "(cached) $ECHO_C" >&6
46579 else
46580
46581 cat >conftest.$ac_ext <<_ACEOF
46582 /* confdefs.h. */
46583 _ACEOF
46584 cat confdefs.h >>conftest.$ac_ext
46585 cat >>conftest.$ac_ext <<_ACEOF
46586 /* end confdefs.h. */
46587
46588 #include <sys/types.h>
46589 #include <sys/socket.h>
46590 #include <netinet/in.h>
46591
46592 int
46593 main ()
46594 {
46595
46596 struct sockaddr_in6 sa6;
46597
46598 ;
46599 return 0;
46600 }
46601 _ACEOF
46602 rm -f conftest.$ac_objext
46603 if { (ac_try="$ac_compile"
46604 case "(($ac_try" in
46605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46606 *) ac_try_echo=$ac_try;;
46607 esac
46608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46609 (eval "$ac_compile") 2>conftest.er1
46610 ac_status=$?
46611 grep -v '^ *+' conftest.er1 >conftest.err
46612 rm -f conftest.er1
46613 cat conftest.err >&5
46614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46615 (exit $ac_status); } && {
46616 test -z "$ac_c_werror_flag" ||
46617 test ! -s conftest.err
46618 } && test -s conftest.$ac_objext; then
46619 wx_cv_type_sockaddr_in6=yes
46620 else
46621 echo "$as_me: failed program was:" >&5
46622 sed 's/^/| /' conftest.$ac_ext >&5
46623
46624 wx_cv_type_sockaddr_in6=no
46625
46626 fi
46627
46628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46629
46630
46631 fi
46632 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46633 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46634
46635 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46636 cat >>confdefs.h <<\_ACEOF
46637 #define wxUSE_IPV6 1
46638 _ACEOF
46639
46640 else
46641 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46642 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46643 fi
46644 fi
46645
46646 cat >>confdefs.h <<\_ACEOF
46647 #define wxUSE_SOCKETS 1
46648 _ACEOF
46649
46650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46651 fi
46652
46653 if test "$wxUSE_PROTOCOL" = "yes"; then
46654 if test "$wxUSE_SOCKETS" != "yes"; then
46655 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46656 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46657 wxUSE_PROTOCOL=no
46658 fi
46659 fi
46660
46661 if test "$wxUSE_PROTOCOL" = "yes"; then
46662 cat >>confdefs.h <<\_ACEOF
46663 #define wxUSE_PROTOCOL 1
46664 _ACEOF
46665
46666
46667 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46668 cat >>confdefs.h <<\_ACEOF
46669 #define wxUSE_PROTOCOL_HTTP 1
46670 _ACEOF
46671
46672 fi
46673 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46674 cat >>confdefs.h <<\_ACEOF
46675 #define wxUSE_PROTOCOL_FTP 1
46676 _ACEOF
46677
46678 fi
46679 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46680 cat >>confdefs.h <<\_ACEOF
46681 #define wxUSE_PROTOCOL_FILE 1
46682 _ACEOF
46683
46684 fi
46685 else
46686 if test "$wxUSE_FS_INET" = "yes"; then
46687 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46688 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46689 wxUSE_FS_INET="no"
46690 fi
46691 fi
46692
46693 if test "$wxUSE_URL" = "yes"; then
46694 if test "$wxUSE_PROTOCOL" != "yes"; then
46695 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46696 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46697 wxUSE_URL=no
46698 fi
46699 if test "$wxUSE_URL" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_URL 1
46702 _ACEOF
46703
46704 fi
46705 fi
46706
46707 if test "$wxUSE_VARIANT" = "yes"; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_VARIANT 1
46710 _ACEOF
46711
46712 fi
46713
46714 if test "$wxUSE_FS_INET" = "yes"; then
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_FS_INET 1
46717 _ACEOF
46718
46719 fi
46720
46721
46722 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46723 wxUSE_JOYSTICK=no
46724
46725 if test "$TOOLKIT" = "MSW"; then
46726 wxUSE_JOYSTICK=yes
46727
46728 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46729 if test "$USE_DARWIN" = 1; then
46730 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46731 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46732 ac_ext=cpp
46733 ac_cpp='$CXXCPP $CPPFLAGS'
46734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46737
46738 cat >conftest.$ac_ext <<_ACEOF
46739 /* confdefs.h. */
46740 _ACEOF
46741 cat confdefs.h >>conftest.$ac_ext
46742 cat >>conftest.$ac_ext <<_ACEOF
46743 /* end confdefs.h. */
46744 #include <IOKit/hid/IOHIDLib.h>
46745 int
46746 main ()
46747 {
46748 IOHIDQueueInterface *qi = NULL;
46749 IOHIDCallbackFunction cb = NULL;
46750 qi->setEventCallout(NULL, cb, NULL, NULL);
46751 ;
46752 return 0;
46753 }
46754 _ACEOF
46755 rm -f conftest.$ac_objext
46756 if { (ac_try="$ac_compile"
46757 case "(($ac_try" in
46758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46759 *) ac_try_echo=$ac_try;;
46760 esac
46761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46762 (eval "$ac_compile") 2>conftest.er1
46763 ac_status=$?
46764 grep -v '^ *+' conftest.er1 >conftest.err
46765 rm -f conftest.er1
46766 cat conftest.err >&5
46767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46768 (exit $ac_status); } && {
46769 test -z "$ac_cxx_werror_flag" ||
46770 test ! -s conftest.err
46771 } && test -s conftest.$ac_objext; then
46772 wxUSE_JOYSTICK=yes
46773
46774 else
46775 echo "$as_me: failed program was:" >&5
46776 sed 's/^/| /' conftest.$ac_ext >&5
46777
46778
46779 fi
46780
46781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46782 ac_ext=c
46783 ac_cpp='$CPP $CPPFLAGS'
46784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46787
46788 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46789 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46790 fi
46791
46792 else
46793 if test "$wxUSE_MGL" != 1; then
46794
46795 for ac_header in linux/joystick.h
46796 do
46797 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46798 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46800 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46801 echo $ECHO_N "(cached) $ECHO_C" >&6
46802 else
46803 cat >conftest.$ac_ext <<_ACEOF
46804 /* confdefs.h. */
46805 _ACEOF
46806 cat confdefs.h >>conftest.$ac_ext
46807 cat >>conftest.$ac_ext <<_ACEOF
46808 /* end confdefs.h. */
46809 $ac_includes_default
46810
46811 #include <$ac_header>
46812 _ACEOF
46813 rm -f conftest.$ac_objext
46814 if { (ac_try="$ac_compile"
46815 case "(($ac_try" in
46816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46817 *) ac_try_echo=$ac_try;;
46818 esac
46819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46820 (eval "$ac_compile") 2>conftest.er1
46821 ac_status=$?
46822 grep -v '^ *+' conftest.er1 >conftest.err
46823 rm -f conftest.er1
46824 cat conftest.err >&5
46825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46826 (exit $ac_status); } && {
46827 test -z "$ac_c_werror_flag" ||
46828 test ! -s conftest.err
46829 } && test -s conftest.$ac_objext; then
46830 eval "$as_ac_Header=yes"
46831 else
46832 echo "$as_me: failed program was:" >&5
46833 sed 's/^/| /' conftest.$ac_ext >&5
46834
46835 eval "$as_ac_Header=no"
46836 fi
46837
46838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46839 fi
46840 ac_res=`eval echo '${'$as_ac_Header'}'`
46841 { echo "$as_me:$LINENO: result: $ac_res" >&5
46842 echo "${ECHO_T}$ac_res" >&6; }
46843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46844 cat >>confdefs.h <<_ACEOF
46845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46846 _ACEOF
46847 wxUSE_JOYSTICK=yes
46848 fi
46849
46850 done
46851
46852 fi
46853 fi
46854
46855 if test "$wxUSE_JOYSTICK" = "yes"; then
46856 cat >>confdefs.h <<\_ACEOF
46857 #define wxUSE_JOYSTICK 1
46858 _ACEOF
46859
46860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46861 else
46862 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46863 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46864 fi
46865 fi
46866
46867
46868
46869 if test "$wxUSE_FONTENUM" = "yes" ; then
46870 cat >>confdefs.h <<\_ACEOF
46871 #define wxUSE_FONTENUM 1
46872 _ACEOF
46873
46874 fi
46875
46876 if test "$wxUSE_FONTMAP" = "yes" ; then
46877 cat >>confdefs.h <<\_ACEOF
46878 #define wxUSE_FONTMAP 1
46879 _ACEOF
46880
46881 fi
46882
46883 if test "$wxUSE_UNICODE" = "yes" ; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_UNICODE 1
46886 _ACEOF
46887
46888
46889 if test "$USE_WIN32" != 1; then
46890 wxUSE_UNICODE_MSLU=no
46891 fi
46892
46893 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46894 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46895 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
46896 if test "${ac_cv_lib_unicows_main+set}" = set; then
46897 echo $ECHO_N "(cached) $ECHO_C" >&6
46898 else
46899 ac_check_lib_save_LIBS=$LIBS
46900 LIBS="-lunicows $LIBS"
46901 cat >conftest.$ac_ext <<_ACEOF
46902 /* confdefs.h. */
46903 _ACEOF
46904 cat confdefs.h >>conftest.$ac_ext
46905 cat >>conftest.$ac_ext <<_ACEOF
46906 /* end confdefs.h. */
46907
46908
46909 int
46910 main ()
46911 {
46912 return main ();
46913 ;
46914 return 0;
46915 }
46916 _ACEOF
46917 rm -f conftest.$ac_objext conftest$ac_exeext
46918 if { (ac_try="$ac_link"
46919 case "(($ac_try" in
46920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46921 *) ac_try_echo=$ac_try;;
46922 esac
46923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46924 (eval "$ac_link") 2>conftest.er1
46925 ac_status=$?
46926 grep -v '^ *+' conftest.er1 >conftest.err
46927 rm -f conftest.er1
46928 cat conftest.err >&5
46929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46930 (exit $ac_status); } && {
46931 test -z "$ac_c_werror_flag" ||
46932 test ! -s conftest.err
46933 } && test -s conftest$ac_exeext &&
46934 $as_test_x conftest$ac_exeext; then
46935 ac_cv_lib_unicows_main=yes
46936 else
46937 echo "$as_me: failed program was:" >&5
46938 sed 's/^/| /' conftest.$ac_ext >&5
46939
46940 ac_cv_lib_unicows_main=no
46941 fi
46942
46943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46944 conftest$ac_exeext conftest.$ac_ext
46945 LIBS=$ac_check_lib_save_LIBS
46946 fi
46947 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46948 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
46949 if test $ac_cv_lib_unicows_main = yes; then
46950
46951 cat >>confdefs.h <<\_ACEOF
46952 #define wxUSE_UNICODE_MSLU 1
46953 _ACEOF
46954
46955
46956 else
46957
46958 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46959 Applications will only run on Windows NT/2000/XP!" >&5
46960 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46961 Applications will only run on Windows NT/2000/XP!" >&2;}
46962 wxUSE_UNICODE_MSLU=no
46963
46964 fi
46965
46966 fi
46967 fi
46968
46969 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46970 cat >>confdefs.h <<\_ACEOF
46971 #define wxUSE_UNICODE_UTF8 1
46972 _ACEOF
46973
46974
46975 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46976 cat >>confdefs.h <<\_ACEOF
46977 #define wxUSE_UTF8_LOCALE_ONLY 1
46978 _ACEOF
46979
46980 fi
46981 fi
46982
46983
46984 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46985 cat >>confdefs.h <<\_ACEOF
46986 #define wxUSE_CONSTRAINTS 1
46987 _ACEOF
46988
46989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46990 fi
46991
46992 if test "$wxUSE_MDI" = "yes"; then
46993 cat >>confdefs.h <<\_ACEOF
46994 #define wxUSE_MDI 1
46995 _ACEOF
46996
46997
46998 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46999 cat >>confdefs.h <<\_ACEOF
47000 #define wxUSE_MDI_ARCHITECTURE 1
47001 _ACEOF
47002
47003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47004 fi
47005 fi
47006
47007 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47008 cat >>confdefs.h <<\_ACEOF
47009 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47010 _ACEOF
47011
47012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47013 fi
47014
47015 if test "$wxUSE_HELP" = "yes"; then
47016 cat >>confdefs.h <<\_ACEOF
47017 #define wxUSE_HELP 1
47018 _ACEOF
47019
47020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47021
47022 if test "$wxUSE_MSW" = 1; then
47023 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47024 cat >>confdefs.h <<\_ACEOF
47025 #define wxUSE_MS_HTML_HELP 1
47026 _ACEOF
47027
47028 fi
47029 fi
47030
47031 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47032 if test "$wxUSE_HTML" = "yes"; then
47033 cat >>confdefs.h <<\_ACEOF
47034 #define wxUSE_WXHTML_HELP 1
47035 _ACEOF
47036
47037 else
47038 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47039 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47040 wxUSE_WXHTML_HELP=no
47041 fi
47042 fi
47043 fi
47044
47045 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47046 cat >>confdefs.h <<\_ACEOF
47047 #define wxUSE_PRINTING_ARCHITECTURE 1
47048 _ACEOF
47049
47050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47051 fi
47052
47053 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47054 cat >>confdefs.h <<\_ACEOF
47055 #define wxUSE_POSTSCRIPT 1
47056 _ACEOF
47057
47058 fi
47059
47060 cat >>confdefs.h <<\_ACEOF
47061 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47062 _ACEOF
47063
47064
47065 if test "$wxUSE_SVG" = "yes"; then
47066 cat >>confdefs.h <<\_ACEOF
47067 #define wxUSE_SVG 1
47068 _ACEOF
47069
47070 fi
47071
47072
47073 if test "$wxUSE_METAFILE" = "yes"; then
47074 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47075 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47076 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47077 wxUSE_METAFILE=no
47078 fi
47079 elif test "$wxUSE_METAFILE" = "auto"; then
47080 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
47081 wxUSE_METAFILE=yes
47082 fi
47083 fi
47084
47085 if test "$wxUSE_METAFILE" = "yes"; then
47086 cat >>confdefs.h <<\_ACEOF
47087 #define wxUSE_METAFILE 1
47088 _ACEOF
47089
47090 if test "$wxUSE_MSW" = 1; then
47091 cat >>confdefs.h <<\_ACEOF
47092 #define wxUSE_ENH_METAFILE 1
47093 _ACEOF
47094
47095 fi
47096 fi
47097
47098
47099 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47100 -o "$wxUSE_CLIPBOARD" = "yes" \
47101 -o "$wxUSE_OLE" = "yes" \
47102 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47103 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47104 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47105 if test "${ac_cv_header_ole2_h+set}" = set; then
47106 echo $ECHO_N "(cached) $ECHO_C" >&6
47107 else
47108 cat >conftest.$ac_ext <<_ACEOF
47109 /* confdefs.h. */
47110 _ACEOF
47111 cat confdefs.h >>conftest.$ac_ext
47112 cat >>conftest.$ac_ext <<_ACEOF
47113 /* end confdefs.h. */
47114
47115
47116 #include <ole2.h>
47117 _ACEOF
47118 rm -f conftest.$ac_objext
47119 if { (ac_try="$ac_compile"
47120 case "(($ac_try" in
47121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47122 *) ac_try_echo=$ac_try;;
47123 esac
47124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47125 (eval "$ac_compile") 2>conftest.er1
47126 ac_status=$?
47127 grep -v '^ *+' conftest.er1 >conftest.err
47128 rm -f conftest.er1
47129 cat conftest.err >&5
47130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47131 (exit $ac_status); } && {
47132 test -z "$ac_c_werror_flag" ||
47133 test ! -s conftest.err
47134 } && test -s conftest.$ac_objext; then
47135 ac_cv_header_ole2_h=yes
47136 else
47137 echo "$as_me: failed program was:" >&5
47138 sed 's/^/| /' conftest.$ac_ext >&5
47139
47140 ac_cv_header_ole2_h=no
47141 fi
47142
47143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47144 fi
47145 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47146 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47147
47148
47149
47150 if test "$ac_cv_header_ole2_h" = "yes" ; then
47151 if test "$GCC" = yes ; then
47152 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47153 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47154 cat >conftest.$ac_ext <<_ACEOF
47155 /* confdefs.h. */
47156 _ACEOF
47157 cat confdefs.h >>conftest.$ac_ext
47158 cat >>conftest.$ac_ext <<_ACEOF
47159 /* end confdefs.h. */
47160 #include <windows.h>
47161 #include <ole2.h>
47162 int
47163 main ()
47164 {
47165
47166 ;
47167 return 0;
47168 }
47169 _ACEOF
47170 rm -f conftest.$ac_objext
47171 if { (ac_try="$ac_compile"
47172 case "(($ac_try" in
47173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47174 *) ac_try_echo=$ac_try;;
47175 esac
47176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47177 (eval "$ac_compile") 2>conftest.er1
47178 ac_status=$?
47179 grep -v '^ *+' conftest.er1 >conftest.err
47180 rm -f conftest.er1
47181 cat conftest.err >&5
47182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47183 (exit $ac_status); } && {
47184 test -z "$ac_c_werror_flag" ||
47185 test ! -s conftest.err
47186 } && test -s conftest.$ac_objext; then
47187 { echo "$as_me:$LINENO: result: no" >&5
47188 echo "${ECHO_T}no" >&6; }
47189 else
47190 echo "$as_me: failed program was:" >&5
47191 sed 's/^/| /' conftest.$ac_ext >&5
47192
47193 { echo "$as_me:$LINENO: result: yes" >&5
47194 echo "${ECHO_T}yes" >&6; }
47195 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47196 fi
47197
47198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47199 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47200 if test "$wxUSE_OLE" = "yes" ; then
47201 cat >>confdefs.h <<\_ACEOF
47202 #define wxUSE_OLE 1
47203 _ACEOF
47204
47205 cat >>confdefs.h <<\_ACEOF
47206 #define wxUSE_OLE_AUTOMATION 1
47207 _ACEOF
47208
47209 cat >>confdefs.h <<\_ACEOF
47210 #define wxUSE_ACTIVEX 1
47211 _ACEOF
47212
47213 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47214 fi
47215 fi
47216
47217 if test "$wxUSE_DATAOBJ" = "yes" ; then
47218 cat >>confdefs.h <<\_ACEOF
47219 #define wxUSE_DATAOBJ 1
47220 _ACEOF
47221
47222 fi
47223 else
47224 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47225 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47226
47227 wxUSE_CLIPBOARD=no
47228 wxUSE_DRAG_AND_DROP=no
47229 wxUSE_DATAOBJ=no
47230 wxUSE_OLE=no
47231 fi
47232 fi
47233
47234 if test "$wxUSE_IPC" = "yes"; then
47235 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47236 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47237 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47238 wxUSE_IPC=no
47239 fi
47240
47241 if test "$wxUSE_IPC" = "yes"; then
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_IPC 1
47244 _ACEOF
47245
47246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47247 fi
47248 fi
47249
47250 if test "$wxUSE_DATAOBJ" = "yes"; then
47251 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47252 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47253 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47254 wxUSE_DATAOBJ=no
47255 else
47256 cat >>confdefs.h <<\_ACEOF
47257 #define wxUSE_DATAOBJ 1
47258 _ACEOF
47259
47260 fi
47261 else
47262 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47263 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47264 wxUSE_CLIPBOARD=no
47265 wxUSE_DRAG_AND_DROP=no
47266 fi
47267
47268 if test "$wxUSE_CLIPBOARD" = "yes"; then
47269 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47270 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47271 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47272 wxUSE_CLIPBOARD=no
47273 fi
47274
47275 if test "$wxUSE_CLIPBOARD" = "yes"; then
47276 cat >>confdefs.h <<\_ACEOF
47277 #define wxUSE_CLIPBOARD 1
47278 _ACEOF
47279
47280 fi
47281 fi
47282
47283 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47284 if test "$wxUSE_GTK" = 1; then
47285 if test "$WXGTK12" != 1; then
47286 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47287 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47288 wxUSE_DRAG_AND_DROP=no
47289 fi
47290 fi
47291
47292 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47293 "$wxUSE_DFB" = 1; then
47294 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47295 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47296 wxUSE_DRAG_AND_DROP=no
47297 fi
47298
47299 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47300 cat >>confdefs.h <<\_ACEOF
47301 #define wxUSE_DRAG_AND_DROP 1
47302 _ACEOF
47303
47304 fi
47305
47306 fi
47307
47308 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47310 fi
47311
47312 if test "$wxUSE_CLIPBOARD" = "yes"; then
47313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
47314 fi
47315
47316 if test "$wxUSE_SPLINES" = "yes" ; then
47317 cat >>confdefs.h <<\_ACEOF
47318 #define wxUSE_SPLINES 1
47319 _ACEOF
47320
47321 fi
47322
47323 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47324 cat >>confdefs.h <<\_ACEOF
47325 #define wxUSE_MOUSEWHEEL 1
47326 _ACEOF
47327
47328 fi
47329
47330 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47331 cat >>confdefs.h <<\_ACEOF
47332 #define wxUSE_UIACTIONSIMULATOR 1
47333 _ACEOF
47334
47335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
47336 fi
47337
47338 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_DC_TRANSFORM_MATRIX 1
47341 _ACEOF
47342
47343 fi
47344
47345
47346 USES_CONTROLS=0
47347 if test "$wxUSE_CONTROLS" = "yes"; then
47348 USES_CONTROLS=1
47349 fi
47350
47351 if test "$wxUSE_MARKUP" = "yes"; then
47352 cat >>confdefs.h <<\_ACEOF
47353 #define wxUSE_MARKUP 1
47354 _ACEOF
47355
47356 fi
47357
47358 if test "$wxUSE_ACCEL" = "yes"; then
47359 cat >>confdefs.h <<\_ACEOF
47360 #define wxUSE_ACCEL 1
47361 _ACEOF
47362
47363 USES_CONTROLS=1
47364 fi
47365
47366 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47367 cat >>confdefs.h <<\_ACEOF
47368 #define wxUSE_ANIMATIONCTRL 1
47369 _ACEOF
47370
47371 USES_CONTROLS=1
47372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47373 fi
47374
47375 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47376 cat >>confdefs.h <<\_ACEOF
47377 #define wxUSE_BANNERWINDOW 1
47378 _ACEOF
47379
47380 fi
47381
47382 if test "$wxUSE_BUTTON" = "yes"; then
47383 cat >>confdefs.h <<\_ACEOF
47384 #define wxUSE_BUTTON 1
47385 _ACEOF
47386
47387 USES_CONTROLS=1
47388 fi
47389
47390 if test "$wxUSE_BMPBUTTON" = "yes"; then
47391 cat >>confdefs.h <<\_ACEOF
47392 #define wxUSE_BMPBUTTON 1
47393 _ACEOF
47394
47395 USES_CONTROLS=1
47396 fi
47397
47398 if test "$wxUSE_CALCTRL" = "yes"; then
47399 cat >>confdefs.h <<\_ACEOF
47400 #define wxUSE_CALENDARCTRL 1
47401 _ACEOF
47402
47403 USES_CONTROLS=1
47404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47405 fi
47406
47407 if test "$wxUSE_CARET" = "yes"; then
47408 cat >>confdefs.h <<\_ACEOF
47409 #define wxUSE_CARET 1
47410 _ACEOF
47411
47412 USES_CONTROLS=1
47413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
47414 fi
47415
47416 if test "$wxUSE_COLLPANE" = "yes"; then
47417 cat >>confdefs.h <<\_ACEOF
47418 #define wxUSE_COLLPANE 1
47419 _ACEOF
47420
47421 USES_CONTROLS=1
47422 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
47423 fi
47424
47425 if test "$wxUSE_COMBOBOX" = "yes"; then
47426 cat >>confdefs.h <<\_ACEOF
47427 #define wxUSE_COMBOBOX 1
47428 _ACEOF
47429
47430 USES_CONTROLS=1
47431 fi
47432
47433 if test "$wxUSE_COMBOCTRL" = "yes"; then
47434 cat >>confdefs.h <<\_ACEOF
47435 #define wxUSE_COMBOCTRL 1
47436 _ACEOF
47437
47438 USES_CONTROLS=1
47439 fi
47440
47441 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47442 cat >>confdefs.h <<\_ACEOF
47443 #define wxUSE_COMMANDLINKBUTTON 1
47444 _ACEOF
47445
47446 USES_CONTROLS=1
47447 fi
47448
47449 if test "$wxUSE_CHOICE" = "yes"; then
47450 cat >>confdefs.h <<\_ACEOF
47451 #define wxUSE_CHOICE 1
47452 _ACEOF
47453
47454 USES_CONTROLS=1
47455 fi
47456
47457 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_CHOICEBOOK 1
47460 _ACEOF
47461
47462 USES_CONTROLS=1
47463 fi
47464
47465 if test "$wxUSE_CHECKBOX" = "yes"; then
47466 cat >>confdefs.h <<\_ACEOF
47467 #define wxUSE_CHECKBOX 1
47468 _ACEOF
47469
47470 USES_CONTROLS=1
47471 fi
47472
47473 if test "$wxUSE_CHECKLST" = "yes"; then
47474 cat >>confdefs.h <<\_ACEOF
47475 #define wxUSE_CHECKLISTBOX 1
47476 _ACEOF
47477
47478 USES_CONTROLS=1
47479 fi
47480
47481 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47482 cat >>confdefs.h <<\_ACEOF
47483 #define wxUSE_COLOURPICKERCTRL 1
47484 _ACEOF
47485
47486 USES_CONTROLS=1
47487 fi
47488
47489 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47490 cat >>confdefs.h <<\_ACEOF
47491 #define wxUSE_DATEPICKCTRL 1
47492 _ACEOF
47493
47494 USES_CONTROLS=1
47495 fi
47496
47497 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47498 cat >>confdefs.h <<\_ACEOF
47499 #define wxUSE_DIRPICKERCTRL 1
47500 _ACEOF
47501
47502 USES_CONTROLS=1
47503 fi
47504
47505 if test "$wxUSE_FILECTRL" = "yes"; then
47506 cat >>confdefs.h <<\_ACEOF
47507 #define wxUSE_FILECTRL 1
47508 _ACEOF
47509
47510 USES_CONTROLS=1
47511 fi
47512
47513 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47514 cat >>confdefs.h <<\_ACEOF
47515 #define wxUSE_FILEPICKERCTRL 1
47516 _ACEOF
47517
47518 USES_CONTROLS=1
47519 fi
47520
47521 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_FONTPICKERCTRL 1
47524 _ACEOF
47525
47526 USES_CONTROLS=1
47527 fi
47528
47529 if test "$wxUSE_DISPLAY" = "yes"; then
47530 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47531 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47532 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47533 wxUSE_DISPLAY=no
47534 else
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_DISPLAY 1
47537 _ACEOF
47538
47539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
47540 fi
47541 fi
47542
47543 if test "$wxUSE_DETECT_SM" = "yes"; then
47544 cat >>confdefs.h <<\_ACEOF
47545 #define wxUSE_DETECT_SM 1
47546 _ACEOF
47547
47548 fi
47549
47550 if test "$wxUSE_GAUGE" = "yes"; then
47551 cat >>confdefs.h <<\_ACEOF
47552 #define wxUSE_GAUGE 1
47553 _ACEOF
47554
47555 USES_CONTROLS=1
47556 fi
47557
47558 if test "$wxUSE_GRID" = "yes"; then
47559 cat >>confdefs.h <<\_ACEOF
47560 #define wxUSE_GRID 1
47561 _ACEOF
47562
47563 USES_CONTROLS=1
47564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47565 fi
47566
47567 if test "$wxUSE_HEADERCTRL" = "yes"; then
47568 cat >>confdefs.h <<\_ACEOF
47569 #define wxUSE_HEADERCTRL 1
47570 _ACEOF
47571
47572 USES_CONTROLS=1
47573 fi
47574
47575 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47576 cat >>confdefs.h <<\_ACEOF
47577 #define wxUSE_HYPERLINKCTRL 1
47578 _ACEOF
47579
47580 USES_CONTROLS=1
47581 fi
47582
47583 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47584 cat >>confdefs.h <<\_ACEOF
47585 #define wxUSE_BITMAPCOMBOBOX 1
47586 _ACEOF
47587
47588 USES_CONTROLS=1
47589 fi
47590
47591 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47592 cat >>confdefs.h <<\_ACEOF
47593 #define wxUSE_DATAVIEWCTRL 1
47594 _ACEOF
47595
47596 USES_CONTROLS=1
47597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47598 fi
47599
47600 if test "$wxUSE_IMAGLIST" = "yes"; then
47601 cat >>confdefs.h <<\_ACEOF
47602 #define wxUSE_IMAGLIST 1
47603 _ACEOF
47604
47605 fi
47606
47607 if test "$wxUSE_INFOBAR" = "yes"; then
47608 cat >>confdefs.h <<\_ACEOF
47609 #define wxUSE_INFOBAR 1
47610 _ACEOF
47611
47612 fi
47613
47614 if test "$wxUSE_LISTBOOK" = "yes"; then
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_LISTBOOK 1
47617 _ACEOF
47618
47619 USES_CONTROLS=1
47620 fi
47621
47622 if test "$wxUSE_LISTBOX" = "yes"; then
47623 cat >>confdefs.h <<\_ACEOF
47624 #define wxUSE_LISTBOX 1
47625 _ACEOF
47626
47627 USES_CONTROLS=1
47628 fi
47629
47630 if test "$wxUSE_LISTCTRL" = "yes"; then
47631 if test "$wxUSE_IMAGLIST" = "yes"; then
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_LISTCTRL 1
47634 _ACEOF
47635
47636 USES_CONTROLS=1
47637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47638 else
47639 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47640 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47641 fi
47642 fi
47643
47644 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_EDITABLELISTBOX 1
47647 _ACEOF
47648
47649 USES_CONTROLS=1
47650 fi
47651
47652 if test "$wxUSE_NOTEBOOK" = "yes"; then
47653 cat >>confdefs.h <<\_ACEOF
47654 #define wxUSE_NOTEBOOK 1
47655 _ACEOF
47656
47657 USES_CONTROLS=1
47658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47659 fi
47660
47661 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47662 cat >>confdefs.h <<\_ACEOF
47663 #define wxUSE_NOTIFICATION_MESSAGE 1
47664 _ACEOF
47665
47666 fi
47667
47668 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47669 cat >>confdefs.h <<\_ACEOF
47670 #define wxUSE_ODCOMBOBOX 1
47671 _ACEOF
47672
47673 USES_CONTROLS=1
47674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47675 fi
47676
47677 if test "$wxUSE_RADIOBOX" = "yes"; then
47678 cat >>confdefs.h <<\_ACEOF
47679 #define wxUSE_RADIOBOX 1
47680 _ACEOF
47681
47682 USES_CONTROLS=1
47683 fi
47684
47685 if test "$wxUSE_RADIOBTN" = "yes"; then
47686 cat >>confdefs.h <<\_ACEOF
47687 #define wxUSE_RADIOBTN 1
47688 _ACEOF
47689
47690 USES_CONTROLS=1
47691 fi
47692
47693 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47694 cat >>confdefs.h <<\_ACEOF
47695 #define wxUSE_REARRANGECTRL 1
47696 _ACEOF
47697
47698 fi
47699
47700 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47701 cat >>confdefs.h <<\_ACEOF
47702 #define wxUSE_RICHMSGDLG 1
47703 _ACEOF
47704
47705 fi
47706
47707 if test "$wxUSE_SASH" = "yes"; then
47708 cat >>confdefs.h <<\_ACEOF
47709 #define wxUSE_SASH 1
47710 _ACEOF
47711
47712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47713 fi
47714
47715 if test "$wxUSE_SCROLLBAR" = "yes"; then
47716 cat >>confdefs.h <<\_ACEOF
47717 #define wxUSE_SCROLLBAR 1
47718 _ACEOF
47719
47720 USES_CONTROLS=1
47721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
47722 fi
47723
47724 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47725 cat >>confdefs.h <<\_ACEOF
47726 #define wxUSE_SEARCHCTRL 1
47727 _ACEOF
47728
47729 USES_CONTROLS=1
47730 fi
47731
47732 if test "$wxUSE_SLIDER" = "yes"; then
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_SLIDER 1
47735 _ACEOF
47736
47737 USES_CONTROLS=1
47738 fi
47739
47740 if test "$wxUSE_SPINBTN" = "yes"; then
47741 cat >>confdefs.h <<\_ACEOF
47742 #define wxUSE_SPINBTN 1
47743 _ACEOF
47744
47745 USES_CONTROLS=1
47746 fi
47747
47748 if test "$wxUSE_SPINCTRL" = "yes"; then
47749 cat >>confdefs.h <<\_ACEOF
47750 #define wxUSE_SPINCTRL 1
47751 _ACEOF
47752
47753 USES_CONTROLS=1
47754 fi
47755
47756 if test "$wxUSE_SPLITTER" = "yes"; then
47757 cat >>confdefs.h <<\_ACEOF
47758 #define wxUSE_SPLITTER 1
47759 _ACEOF
47760
47761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47762 fi
47763
47764 if test "$wxUSE_STATBMP" = "yes"; then
47765 cat >>confdefs.h <<\_ACEOF
47766 #define wxUSE_STATBMP 1
47767 _ACEOF
47768
47769 USES_CONTROLS=1
47770 fi
47771
47772 if test "$wxUSE_STATBOX" = "yes"; then
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_STATBOX 1
47775 _ACEOF
47776
47777 USES_CONTROLS=1
47778 fi
47779
47780 if test "$wxUSE_STATTEXT" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_STATTEXT 1
47783 _ACEOF
47784
47785 USES_CONTROLS=1
47786 fi
47787
47788 if test "$wxUSE_STATLINE" = "yes"; then
47789 cat >>confdefs.h <<\_ACEOF
47790 #define wxUSE_STATLINE 1
47791 _ACEOF
47792
47793 USES_CONTROLS=1
47794 fi
47795
47796 if test "$wxUSE_STATUSBAR" = "yes"; then
47797 cat >>confdefs.h <<\_ACEOF
47798 #define wxUSE_NATIVE_STATUSBAR 1
47799 _ACEOF
47800
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_STATUSBAR 1
47803 _ACEOF
47804
47805 USES_CONTROLS=1
47806
47807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47808 fi
47809
47810 if test "$wxUSE_TEXTCTRL" = "yes"; then
47811 cat >>confdefs.h <<\_ACEOF
47812 #define wxUSE_TEXTCTRL 1
47813 _ACEOF
47814
47815 USES_CONTROLS=1
47816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47817
47818 cat >>confdefs.h <<\_ACEOF
47819 #define wxUSE_RICHEDIT 1
47820 _ACEOF
47821
47822 cat >>confdefs.h <<\_ACEOF
47823 #define wxUSE_RICHEDIT2 1
47824 _ACEOF
47825
47826 fi
47827
47828 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47829 if test "$wxUSE_OLD_COCOA" = 1 ; then
47830 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47831 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47832 wxUSE_TOGGLEBTN=no
47833 fi
47834
47835 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47836 cat >>confdefs.h <<\_ACEOF
47837 #define wxUSE_TOGGLEBTN 1
47838 _ACEOF
47839
47840 USES_CONTROLS=1
47841 fi
47842 fi
47843
47844 if test "$wxUSE_TOOLBAR" = "yes"; then
47845 cat >>confdefs.h <<\_ACEOF
47846 #define wxUSE_TOOLBAR 1
47847 _ACEOF
47848
47849 USES_CONTROLS=1
47850
47851 if test "$wxUSE_UNIVERSAL" = "yes"; then
47852 wxUSE_TOOLBAR_NATIVE="no"
47853 else
47854 wxUSE_TOOLBAR_NATIVE="yes"
47855 cat >>confdefs.h <<\_ACEOF
47856 #define wxUSE_TOOLBAR_NATIVE 1
47857 _ACEOF
47858
47859 fi
47860
47861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47862 fi
47863
47864 if test "$wxUSE_TOOLTIPS" = "yes"; then
47865 if test "$wxUSE_MOTIF" = 1; then
47866 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47867 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47868 else
47869 if test "$wxUSE_UNIVERSAL" = "yes"; then
47870 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47871 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47872 else
47873 cat >>confdefs.h <<\_ACEOF
47874 #define wxUSE_TOOLTIPS 1
47875 _ACEOF
47876
47877 fi
47878 fi
47879 fi
47880
47881 if test "$wxUSE_TREEBOOK" = "yes"; then
47882 cat >>confdefs.h <<\_ACEOF
47883 #define wxUSE_TREEBOOK 1
47884 _ACEOF
47885
47886 USES_CONTROLS=1
47887 fi
47888
47889 if test "$wxUSE_TOOLBOOK" = "yes"; then
47890 cat >>confdefs.h <<\_ACEOF
47891 #define wxUSE_TOOLBOOK 1
47892 _ACEOF
47893
47894 USES_CONTROLS=1
47895 fi
47896
47897 if test "$wxUSE_TREECTRL" = "yes"; then
47898 if test "$wxUSE_IMAGLIST" = "yes"; then
47899 cat >>confdefs.h <<\_ACEOF
47900 #define wxUSE_TREECTRL 1
47901 _ACEOF
47902
47903 USES_CONTROLS=1
47904 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47905 else
47906 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47907 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47908 fi
47909 fi
47910
47911 if test "$wxUSE_TREECTRL" = "yes"; then
47912 cat >>confdefs.h <<\_ACEOF
47913 #define wxUSE_TREELISTCTRL 1
47914 _ACEOF
47915
47916 USES_CONTROLS=1
47917 fi
47918
47919 if test "$wxUSE_POPUPWIN" = "yes"; then
47920 if test "$wxUSE_OLD_COCOA" = 1 ; then
47921 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47922 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47923 else
47924 if test "$wxUSE_PM" = 1; then
47925 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47926 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47927 else
47928 cat >>confdefs.h <<\_ACEOF
47929 #define wxUSE_POPUPWIN 1
47930 _ACEOF
47931
47932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47933
47934 USES_CONTROLS=1
47935 fi
47936 fi
47937 fi
47938
47939 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47940 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47941 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47942 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47943 else
47944 cat >>confdefs.h <<\_ACEOF
47945 #define wxUSE_DIALUP_MANAGER 1
47946 _ACEOF
47947
47948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47949 fi
47950 fi
47951
47952 if test "$wxUSE_TIPWINDOW" = "yes"; then
47953 if test "$wxUSE_PM" = 1; then
47954 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47955 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47956 else
47957 cat >>confdefs.h <<\_ACEOF
47958 #define wxUSE_TIPWINDOW 1
47959 _ACEOF
47960
47961 fi
47962 fi
47963
47964 if test "$USES_CONTROLS" = 1; then
47965 cat >>confdefs.h <<\_ACEOF
47966 #define wxUSE_CONTROLS 1
47967 _ACEOF
47968
47969 fi
47970
47971
47972 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47973 cat >>confdefs.h <<\_ACEOF
47974 #define wxUSE_ACCESSIBILITY 1
47975 _ACEOF
47976
47977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47978 fi
47979
47980 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
47981 cat >>confdefs.h <<\_ACEOF
47982 #define wxUSE_ARTPROVIDER_STD 1
47983 _ACEOF
47984
47985 fi
47986
47987 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
47988 if test "$wxUSE_GTK" != 1; then
47989 if test "$wxUSE_LIBPNG" != no -a \
47990 "$wxUSE_IMAGE" = yes -a \
47991 "$wxUSE_STREAMS" = yes; then
47992 wxUSE_ARTPROVIDER_TANGO="yes"
47993 fi
47994 fi
47995 fi
47996
47997 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
47998 cat >>confdefs.h <<\_ACEOF
47999 #define wxUSE_ARTPROVIDER_TANGO 1
48000 _ACEOF
48001
48002 fi
48003
48004 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define wxUSE_DRAGIMAGE 1
48007 _ACEOF
48008
48009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48010 fi
48011
48012 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48013 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48014 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48015 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48016 else
48017 cat >>confdefs.h <<\_ACEOF
48018 #define wxUSE_EXCEPTIONS 1
48019 _ACEOF
48020
48021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48022 fi
48023 fi
48024
48025 USE_HTML=0
48026 if test "$wxUSE_HTML" = "yes"; then
48027 cat >>confdefs.h <<\_ACEOF
48028 #define wxUSE_HTML 1
48029 _ACEOF
48030
48031 USE_HTML=1
48032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48033 fi
48034 if test "$wxUSE_WEBKIT" = "yes"; then
48035 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48036 old_CPPFLAGS="$CPPFLAGS"
48037 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48038 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48039 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48040 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48041 echo $ECHO_N "(cached) $ECHO_C" >&6
48042 else
48043 cat >conftest.$ac_ext <<_ACEOF
48044 /* confdefs.h. */
48045 _ACEOF
48046 cat confdefs.h >>conftest.$ac_ext
48047 cat >>conftest.$ac_ext <<_ACEOF
48048 /* end confdefs.h. */
48049
48050 #include <Carbon/Carbon.h>
48051 #include <WebKit/WebKit.h>
48052
48053
48054 #include <WebKit/HIWebView.h>
48055 _ACEOF
48056 rm -f conftest.$ac_objext
48057 if { (ac_try="$ac_compile"
48058 case "(($ac_try" in
48059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48060 *) ac_try_echo=$ac_try;;
48061 esac
48062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48063 (eval "$ac_compile") 2>conftest.er1
48064 ac_status=$?
48065 grep -v '^ *+' conftest.er1 >conftest.err
48066 rm -f conftest.er1
48067 cat conftest.err >&5
48068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48069 (exit $ac_status); } && {
48070 test -z "$ac_c_werror_flag" ||
48071 test ! -s conftest.err
48072 } && test -s conftest.$ac_objext; then
48073 ac_cv_header_WebKit_HIWebView_h=yes
48074 else
48075 echo "$as_me: failed program was:" >&5
48076 sed 's/^/| /' conftest.$ac_ext >&5
48077
48078 ac_cv_header_WebKit_HIWebView_h=no
48079 fi
48080
48081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48082 fi
48083 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48084 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48085 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48086
48087 cat >>confdefs.h <<\_ACEOF
48088 #define wxUSE_WEBKIT 1
48089 _ACEOF
48090
48091 WEBKIT_LINK="-framework WebKit"
48092
48093 else
48094
48095 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48096 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48097 wxUSE_WEBKIT=no
48098
48099 fi
48100
48101
48102 CPPFLAGS="$old_CPPFLAGS"
48103 elif test "$wxUSE_OLD_COCOA" = 1; then
48104 cat >>confdefs.h <<\_ACEOF
48105 #define wxUSE_WEBKIT 1
48106 _ACEOF
48107
48108 else
48109 wxUSE_WEBKIT=no
48110 fi
48111 if test "$wxUSE_WEBKIT" = "yes"; then
48112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48113 fi
48114 fi
48115
48116 USE_XRC=0
48117 if test "$wxUSE_XRC" = "yes"; then
48118 if test "$wxUSE_XML" != "yes"; then
48119 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48120 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48121 wxUSE_XRC=no
48122 else
48123 cat >>confdefs.h <<\_ACEOF
48124 #define wxUSE_XRC 1
48125 _ACEOF
48126
48127 USE_XRC=1
48128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48129 fi
48130 fi
48131
48132 USE_AUI=0
48133 if test "$wxUSE_AUI" = "yes"; then
48134 cat >>confdefs.h <<\_ACEOF
48135 #define wxUSE_AUI 1
48136 _ACEOF
48137
48138 USE_AUI=1
48139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48140 fi
48141
48142 USE_PROPGRID=0
48143 if test "$wxUSE_PROPGRID" = "yes"; then
48144 cat >>confdefs.h <<\_ACEOF
48145 #define wxUSE_PROPGRID 1
48146 _ACEOF
48147
48148 USE_PROPGRID=1
48149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48150 fi
48151
48152 USE_RIBBON=0
48153 if test "$wxUSE_RIBBON" = "yes"; then
48154 cat >>confdefs.h <<\_ACEOF
48155 #define wxUSE_RIBBON 1
48156 _ACEOF
48157
48158 USE_RIBBON=1
48159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48160 fi
48161
48162 USE_STC=0
48163 if test "$wxUSE_STC" = "yes"; then
48164 cat >>confdefs.h <<\_ACEOF
48165 #define wxUSE_STC 1
48166 _ACEOF
48167
48168 USE_STC=1
48169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48170
48171 # Extract the first word of "python", so it can be a program name with args.
48172 set dummy python; ac_word=$2
48173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48175 if test "${ac_cv_path_PYTHON+set}" = set; then
48176 echo $ECHO_N "(cached) $ECHO_C" >&6
48177 else
48178 case $PYTHON in
48179 [\\/]* | ?:[\\/]*)
48180 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48181 ;;
48182 *)
48183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48184 for as_dir in $PATH
48185 do
48186 IFS=$as_save_IFS
48187 test -z "$as_dir" && as_dir=.
48188 for ac_exec_ext in '' $ac_executable_extensions; do
48189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48190 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48192 break 2
48193 fi
48194 done
48195 done
48196 IFS=$as_save_IFS
48197
48198 ;;
48199 esac
48200 fi
48201 PYTHON=$ac_cv_path_PYTHON
48202 if test -n "$PYTHON"; then
48203 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48204 echo "${ECHO_T}$PYTHON" >&6; }
48205 else
48206 { echo "$as_me:$LINENO: result: no" >&5
48207 echo "${ECHO_T}no" >&6; }
48208 fi
48209
48210
48211 if test "x$PYTHON" = "x"; then
48212 COND_PYTHON="#"
48213 fi
48214
48215 fi
48216
48217 if test "$wxUSE_MENUS" = "yes"; then
48218 cat >>confdefs.h <<\_ACEOF
48219 #define wxUSE_MENUS 1
48220 _ACEOF
48221
48222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48223 fi
48224
48225 if test "$wxUSE_MIMETYPE" = "yes"; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_MIMETYPE 1
48228 _ACEOF
48229
48230 fi
48231
48232 if test "$wxUSE_MINIFRAME" = "yes"; then
48233 cat >>confdefs.h <<\_ACEOF
48234 #define wxUSE_MINIFRAME 1
48235 _ACEOF
48236
48237 fi
48238
48239 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48240 cat >>confdefs.h <<\_ACEOF
48241 #define wxUSE_SYSTEM_OPTIONS 1
48242 _ACEOF
48243
48244 fi
48245
48246 if test "$wxUSE_TASKBARICON" = "yes"; then
48247 cat >>confdefs.h <<\_ACEOF
48248 #define wxUSE_TASKBARICON 1
48249 _ACEOF
48250
48251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48252 fi
48253
48254
48255 if test "$wxUSE_VALIDATORS" = "yes"; then
48256 cat >>confdefs.h <<\_ACEOF
48257 #define wxUSE_VALIDATORS 1
48258 _ACEOF
48259
48260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48261 fi
48262
48263 if test "$wxUSE_PALETTE" = "yes" ; then
48264 if test "$wxUSE_DFB" = 1; then
48265 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48266 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48267 wxUSE_PALETTE=no
48268 else
48269 cat >>confdefs.h <<\_ACEOF
48270 #define wxUSE_PALETTE 1
48271 _ACEOF
48272
48273 fi
48274 fi
48275
48276 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48277 LIBS=" -lunicows $LIBS"
48278 fi
48279
48280 USE_RICHTEXT=0
48281 if test "$wxUSE_RICHTEXT" = "yes"; then
48282 cat >>confdefs.h <<\_ACEOF
48283 #define wxUSE_RICHTEXT 1
48284 _ACEOF
48285
48286 USE_RICHTEXT=1
48287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48288 fi
48289
48290
48291 if test "$wxUSE_IMAGE" = "yes" ; then
48292 cat >>confdefs.h <<\_ACEOF
48293 #define wxUSE_IMAGE 1
48294 _ACEOF
48295
48296
48297 if test "$wxUSE_GIF" = "yes" ; then
48298 cat >>confdefs.h <<\_ACEOF
48299 #define wxUSE_GIF 1
48300 _ACEOF
48301
48302 fi
48303
48304 if test "$wxUSE_PCX" = "yes" ; then
48305 cat >>confdefs.h <<\_ACEOF
48306 #define wxUSE_PCX 1
48307 _ACEOF
48308
48309 fi
48310
48311 if test "$wxUSE_TGA" = "yes" ; then
48312 cat >>confdefs.h <<\_ACEOF
48313 #define wxUSE_TGA 1
48314 _ACEOF
48315
48316 fi
48317
48318 if test "$wxUSE_IFF" = "yes" ; then
48319 cat >>confdefs.h <<\_ACEOF
48320 #define wxUSE_IFF 1
48321 _ACEOF
48322
48323 fi
48324
48325 if test "$wxUSE_PNM" = "yes" ; then
48326 cat >>confdefs.h <<\_ACEOF
48327 #define wxUSE_PNM 1
48328 _ACEOF
48329
48330 fi
48331
48332 if test "$wxUSE_XPM" = "yes" ; then
48333 cat >>confdefs.h <<\_ACEOF
48334 #define wxUSE_XPM 1
48335 _ACEOF
48336
48337 fi
48338
48339 if test "$wxUSE_ICO_CUR" = "yes" ; then
48340 cat >>confdefs.h <<\_ACEOF
48341 #define wxUSE_ICO_CUR 1
48342 _ACEOF
48343
48344 fi
48345 fi
48346
48347
48348 if test "$wxUSE_ABOUTDLG" = "yes"; then
48349 cat >>confdefs.h <<\_ACEOF
48350 #define wxUSE_ABOUTDLG 1
48351 _ACEOF
48352
48353 fi
48354
48355 if test "$wxUSE_CHOICEDLG" = "yes"; then
48356 cat >>confdefs.h <<\_ACEOF
48357 #define wxUSE_CHOICEDLG 1
48358 _ACEOF
48359
48360 fi
48361
48362 if test "$wxUSE_COLOURDLG" = "yes"; then
48363 cat >>confdefs.h <<\_ACEOF
48364 #define wxUSE_COLOURDLG 1
48365 _ACEOF
48366
48367 fi
48368
48369 if test "$wxUSE_FILEDLG" = "yes"; then
48370 cat >>confdefs.h <<\_ACEOF
48371 #define wxUSE_FILEDLG 1
48372 _ACEOF
48373
48374 fi
48375
48376 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48377 cat >>confdefs.h <<\_ACEOF
48378 #define wxUSE_FINDREPLDLG 1
48379 _ACEOF
48380
48381 fi
48382
48383 if test "$wxUSE_FONTDLG" = "yes"; then
48384 cat >>confdefs.h <<\_ACEOF
48385 #define wxUSE_FONTDLG 1
48386 _ACEOF
48387
48388 fi
48389
48390 if test "$wxUSE_DIRDLG" = "yes"; then
48391 if test "$wxUSE_TREECTRL" != "yes"; then
48392 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48393 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48394 else
48395 cat >>confdefs.h <<\_ACEOF
48396 #define wxUSE_DIRDLG 1
48397 _ACEOF
48398
48399 fi
48400 fi
48401
48402 if test "$wxUSE_MSGDLG" = "yes"; then
48403 cat >>confdefs.h <<\_ACEOF
48404 #define wxUSE_MSGDLG 1
48405 _ACEOF
48406
48407 fi
48408
48409 if test "$wxUSE_NUMBERDLG" = "yes"; then
48410 cat >>confdefs.h <<\_ACEOF
48411 #define wxUSE_NUMBERDLG 1
48412 _ACEOF
48413
48414 fi
48415
48416 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48417 cat >>confdefs.h <<\_ACEOF
48418 #define wxUSE_PROGRESSDLG 1
48419 _ACEOF
48420
48421 fi
48422
48423 if test "$wxUSE_SPLASH" = "yes"; then
48424 cat >>confdefs.h <<\_ACEOF
48425 #define wxUSE_SPLASH 1
48426 _ACEOF
48427
48428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48429 fi
48430
48431 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48432 cat >>confdefs.h <<\_ACEOF
48433 #define wxUSE_STARTUP_TIPS 1
48434 _ACEOF
48435
48436 fi
48437
48438 if test "$wxUSE_TEXTDLG" = "yes"; then
48439 cat >>confdefs.h <<\_ACEOF
48440 #define wxUSE_TEXTDLG 1
48441 _ACEOF
48442
48443 fi
48444
48445 if test "$wxUSE_WIZARDDLG" = "yes"; then
48446 cat >>confdefs.h <<\_ACEOF
48447 #define wxUSE_WIZARDDLG 1
48448 _ACEOF
48449
48450 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48451 fi
48452
48453
48454 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48455 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48456 cat >>confdefs.h <<\_ACEOF
48457 #define wxUSE_OWNER_DRAWN 1
48458 _ACEOF
48459
48460 fi
48461 fi
48462
48463
48464 if test "$wxUSE_MSW" = 1 ; then
48465
48466 if test "$wxUSE_DC_CACHEING" = "yes"; then
48467 cat >>confdefs.h <<\_ACEOF
48468 #define wxUSE_DC_CACHEING 1
48469 _ACEOF
48470
48471 fi
48472
48473 if test "$wxUSE_DIB" = "yes"; then
48474 cat >>confdefs.h <<\_ACEOF
48475 #define wxUSE_WXDIB 1
48476 _ACEOF
48477
48478 fi
48479
48480 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48481 cat >>confdefs.h <<\_ACEOF
48482 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48483 _ACEOF
48484
48485 fi
48486
48487 if test "$wxUSE_UXTHEME" = "yes"; then
48488 cat >>confdefs.h <<\_ACEOF
48489 #define wxUSE_UXTHEME 1
48490 _ACEOF
48491
48492 fi
48493
48494 fi
48495
48496 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48497 cat >>confdefs.h <<\_ACEOF
48498 #define wxUSE_AUTOID_MANAGEMENT 1
48499 _ACEOF
48500
48501 fi
48502
48503 if test "$USE_WIN32" = 1 ; then
48504 if test "$wxUSE_INICONF" = "yes"; then
48505 cat >>confdefs.h <<\_ACEOF
48506 #define wxUSE_INICONF 1
48507 _ACEOF
48508
48509 fi
48510
48511 if test "$wxUSE_REGKEY" = "yes"; then
48512 cat >>confdefs.h <<\_ACEOF
48513 #define wxUSE_REGKEY 1
48514 _ACEOF
48515
48516 fi
48517 fi
48518
48519
48520 if test "$wxUSE_MAC" = 1; then
48521 wxUSE_GRAPHICS_CONTEXT="yes"
48522 fi
48523
48524 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48525 wx_has_graphics=0
48526 if test "$wxUSE_MSW" = 1; then
48527 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48528 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48529 if test "${wx_cv_lib_gdiplus+set}" = set; then
48530 echo $ECHO_N "(cached) $ECHO_C" >&6
48531 else
48532
48533 ac_ext=cpp
48534 ac_cpp='$CXXCPP $CPPFLAGS'
48535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48538
48539 cat >conftest.$ac_ext <<_ACEOF
48540 /* confdefs.h. */
48541 _ACEOF
48542 cat confdefs.h >>conftest.$ac_ext
48543 cat >>conftest.$ac_ext <<_ACEOF
48544 /* end confdefs.h. */
48545 #include <windows.h>
48546 #include <gdiplus.h>
48547 int
48548 main ()
48549 {
48550
48551 using namespace Gdiplus;
48552
48553 ;
48554 return 0;
48555 }
48556 _ACEOF
48557 rm -f conftest.$ac_objext
48558 if { (ac_try="$ac_compile"
48559 case "(($ac_try" in
48560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48561 *) ac_try_echo=$ac_try;;
48562 esac
48563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48564 (eval "$ac_compile") 2>conftest.er1
48565 ac_status=$?
48566 grep -v '^ *+' conftest.er1 >conftest.err
48567 rm -f conftest.er1
48568 cat conftest.err >&5
48569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48570 (exit $ac_status); } && {
48571 test -z "$ac_cxx_werror_flag" ||
48572 test ! -s conftest.err
48573 } && test -s conftest.$ac_objext; then
48574 wx_cv_lib_gdiplus=yes
48575 else
48576 echo "$as_me: failed program was:" >&5
48577 sed 's/^/| /' conftest.$ac_ext >&5
48578
48579 wx_cv_lib_gdiplus=no
48580
48581 fi
48582
48583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48584 ac_ext=c
48585 ac_cpp='$CPP $CPPFLAGS'
48586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48589
48590
48591
48592 fi
48593 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48594 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48595 if test "$wx_cv_lib_gdiplus" = "yes"; then
48596 wx_has_graphics=1
48597 fi
48598 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
48599
48600 pkg_failed=no
48601 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48602 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48603
48604 if test -n "$PKG_CONFIG"; then
48605 if test -n "$CAIRO_CFLAGS"; then
48606 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48607 else
48608 if test -n "$PKG_CONFIG" && \
48609 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48610 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48611 ac_status=$?
48612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48613 (exit $ac_status); }; then
48614 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48615 else
48616 pkg_failed=yes
48617 fi
48618 fi
48619 else
48620 pkg_failed=untried
48621 fi
48622 if test -n "$PKG_CONFIG"; then
48623 if test -n "$CAIRO_LIBS"; then
48624 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48625 else
48626 if test -n "$PKG_CONFIG" && \
48627 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48628 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48629 ac_status=$?
48630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48631 (exit $ac_status); }; then
48632 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48633 else
48634 pkg_failed=yes
48635 fi
48636 fi
48637 else
48638 pkg_failed=untried
48639 fi
48640
48641
48642
48643 if test $pkg_failed = yes; then
48644
48645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48646 _pkg_short_errors_supported=yes
48647 else
48648 _pkg_short_errors_supported=no
48649 fi
48650 if test $_pkg_short_errors_supported = yes; then
48651 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
48652 else
48653 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
48654 fi
48655 # Put the nasty error message in config.log where it belongs
48656 echo "$CAIRO_PKG_ERRORS" >&5
48657
48658 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48659 echo "$as_me: WARNING: Cairo library not found" >&2;}
48660
48661 elif test $pkg_failed = untried; then
48662 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
48663 echo "$as_me: WARNING: Cairo library not found" >&2;}
48664
48665 else
48666 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
48667 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
48668 { echo "$as_me:$LINENO: result: yes" >&5
48669 echo "${ECHO_T}yes" >&6; }
48670 wx_has_graphics=1
48671 fi
48672 if test "$wx_has_graphics" = 1; then
48673 save_LIBS="$LIBS"
48674 LIBS="$LIBS $CAIRO_LIBS"
48675
48676 for ac_func in cairo_push_group
48677 do
48678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48679 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48681 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48682 echo $ECHO_N "(cached) $ECHO_C" >&6
48683 else
48684 cat >conftest.$ac_ext <<_ACEOF
48685 /* confdefs.h. */
48686 _ACEOF
48687 cat confdefs.h >>conftest.$ac_ext
48688 cat >>conftest.$ac_ext <<_ACEOF
48689 /* end confdefs.h. */
48690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48692 #define $ac_func innocuous_$ac_func
48693
48694 /* System header to define __stub macros and hopefully few prototypes,
48695 which can conflict with char $ac_func (); below.
48696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48697 <limits.h> exists even on freestanding compilers. */
48698
48699 #ifdef __STDC__
48700 # include <limits.h>
48701 #else
48702 # include <assert.h>
48703 #endif
48704
48705 #undef $ac_func
48706
48707 /* Override any GCC internal prototype to avoid an error.
48708 Use char because int might match the return type of a GCC
48709 builtin and then its argument prototype would still apply. */
48710 #ifdef __cplusplus
48711 extern "C"
48712 #endif
48713 char $ac_func ();
48714 /* The GNU C library defines this for functions which it implements
48715 to always fail with ENOSYS. Some functions are actually named
48716 something starting with __ and the normal name is an alias. */
48717 #if defined __stub_$ac_func || defined __stub___$ac_func
48718 choke me
48719 #endif
48720
48721 int
48722 main ()
48723 {
48724 return $ac_func ();
48725 ;
48726 return 0;
48727 }
48728 _ACEOF
48729 rm -f conftest.$ac_objext conftest$ac_exeext
48730 if { (ac_try="$ac_link"
48731 case "(($ac_try" in
48732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48733 *) ac_try_echo=$ac_try;;
48734 esac
48735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48736 (eval "$ac_link") 2>conftest.er1
48737 ac_status=$?
48738 grep -v '^ *+' conftest.er1 >conftest.err
48739 rm -f conftest.er1
48740 cat conftest.err >&5
48741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48742 (exit $ac_status); } && {
48743 test -z "$ac_c_werror_flag" ||
48744 test ! -s conftest.err
48745 } && test -s conftest$ac_exeext &&
48746 $as_test_x conftest$ac_exeext; then
48747 eval "$as_ac_var=yes"
48748 else
48749 echo "$as_me: failed program was:" >&5
48750 sed 's/^/| /' conftest.$ac_ext >&5
48751
48752 eval "$as_ac_var=no"
48753 fi
48754
48755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48756 conftest$ac_exeext conftest.$ac_ext
48757 fi
48758 ac_res=`eval echo '${'$as_ac_var'}'`
48759 { echo "$as_me:$LINENO: result: $ac_res" >&5
48760 echo "${ECHO_T}$ac_res" >&6; }
48761 if test `eval echo '${'$as_ac_var'}'` = yes; then
48762 cat >>confdefs.h <<_ACEOF
48763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48764 _ACEOF
48765
48766 fi
48767 done
48768
48769 LIBS="$save_LIBS"
48770 if test "$ac_cv_func_cairo_push_group" = "no"; then
48771 wx_has_graphics=0
48772 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
48773 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
48774 else
48775 cat >>confdefs.h <<\_ACEOF
48776 #define wxUSE_CAIRO 1
48777 _ACEOF
48778
48779
48780 if test "$wxUSE_GTK" != 1; then
48781 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
48782 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
48783 fi
48784 fi
48785 fi
48786 else
48787 wx_has_graphics=1
48788 fi
48789
48790 if test "$wx_has_graphics" = 1; then
48791 cat >>confdefs.h <<\_ACEOF
48792 #define wxUSE_GRAPHICS_CONTEXT 1
48793 _ACEOF
48794
48795 else
48796 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
48797 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
48798 fi
48799 fi
48800
48801
48802 USE_MEDIA=0
48803
48804 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
48805 USE_MEDIA=1
48806
48807 if test "$wxUSE_GTK" = 1; then
48808 wxUSE_GSTREAMER="no"
48809
48810 GST_VERSION_MAJOR=0
48811 GST_VERSION_MINOR=10
48812 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48813
48814 if test "$wxUSE_GSTREAMER8" = "no"; then
48815
48816 pkg_failed=no
48817 { echo "$as_me:$LINENO: checking for GST" >&5
48818 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48819
48820 if test -n "$PKG_CONFIG"; then
48821 if test -n "$GST_CFLAGS"; then
48822 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48823 else
48824 if test -n "$PKG_CONFIG" && \
48825 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48826 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48827 ac_status=$?
48828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48829 (exit $ac_status); }; then
48830 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48831 else
48832 pkg_failed=yes
48833 fi
48834 fi
48835 else
48836 pkg_failed=untried
48837 fi
48838 if test -n "$PKG_CONFIG"; then
48839 if test -n "$GST_LIBS"; then
48840 pkg_cv_GST_LIBS="$GST_LIBS"
48841 else
48842 if test -n "$PKG_CONFIG" && \
48843 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48844 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48845 ac_status=$?
48846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48847 (exit $ac_status); }; then
48848 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48849 else
48850 pkg_failed=yes
48851 fi
48852 fi
48853 else
48854 pkg_failed=untried
48855 fi
48856
48857
48858
48859 if test $pkg_failed = yes; then
48860
48861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48862 _pkg_short_errors_supported=yes
48863 else
48864 _pkg_short_errors_supported=no
48865 fi
48866 if test $_pkg_short_errors_supported = yes; then
48867 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48868 else
48869 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48870 fi
48871 # Put the nasty error message in config.log where it belongs
48872 echo "$GST_PKG_ERRORS" >&5
48873
48874
48875 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48876 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48877 GST_VERSION_MINOR=8
48878
48879
48880 elif test $pkg_failed = untried; then
48881
48882 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48883 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48884 GST_VERSION_MINOR=8
48885
48886
48887 else
48888 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48889 GST_LIBS=$pkg_cv_GST_LIBS
48890 { echo "$as_me:$LINENO: result: yes" >&5
48891 echo "${ECHO_T}yes" >&6; }
48892
48893 wxUSE_GSTREAMER="yes"
48894 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48895
48896 fi
48897 else
48898 GST_VERSION_MINOR=8
48899 fi
48900
48901 if test $GST_VERSION_MINOR = "8"; then
48902 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48903
48904 pkg_failed=no
48905 { echo "$as_me:$LINENO: checking for GST" >&5
48906 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
48907
48908 if test -n "$PKG_CONFIG"; then
48909 if test -n "$GST_CFLAGS"; then
48910 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48911 else
48912 if test -n "$PKG_CONFIG" && \
48913 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48914 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48915 ac_status=$?
48916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48917 (exit $ac_status); }; then
48918 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48919 else
48920 pkg_failed=yes
48921 fi
48922 fi
48923 else
48924 pkg_failed=untried
48925 fi
48926 if test -n "$PKG_CONFIG"; then
48927 if test -n "$GST_LIBS"; then
48928 pkg_cv_GST_LIBS="$GST_LIBS"
48929 else
48930 if test -n "$PKG_CONFIG" && \
48931 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48932 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48933 ac_status=$?
48934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48935 (exit $ac_status); }; then
48936 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48937 else
48938 pkg_failed=yes
48939 fi
48940 fi
48941 else
48942 pkg_failed=untried
48943 fi
48944
48945
48946
48947 if test $pkg_failed = yes; then
48948
48949 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48950 _pkg_short_errors_supported=yes
48951 else
48952 _pkg_short_errors_supported=no
48953 fi
48954 if test $_pkg_short_errors_supported = yes; then
48955 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48956 else
48957 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48958 fi
48959 # Put the nasty error message in config.log where it belongs
48960 echo "$GST_PKG_ERRORS" >&5
48961
48962
48963 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48964 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48965
48966 elif test $pkg_failed = untried; then
48967
48968 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48969 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48970
48971 else
48972 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48973 GST_LIBS=$pkg_cv_GST_LIBS
48974 { echo "$as_me:$LINENO: result: yes" >&5
48975 echo "${ECHO_T}yes" >&6; }
48976 wxUSE_GSTREAMER="yes"
48977 fi
48978 fi
48979
48980
48981 if test "$wxUSE_GSTREAMER" = "yes"; then
48982 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48983 EXTRALIBS_MEDIA="$GST_LIBS"
48984
48985 cat >>confdefs.h <<\_ACEOF
48986 #define wxUSE_GSTREAMER 1
48987 _ACEOF
48988
48989 else
48990 USE_MEDIA=0
48991 fi
48992 fi
48993
48994 if test $USE_MEDIA = 1; then
48995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48996 cat >>confdefs.h <<\_ACEOF
48997 #define wxUSE_MEDIACTRL 1
48998 _ACEOF
48999
49000 else
49001 if test "$wxUSE_MEDIACTRL" = "yes"; then
49002 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
49003 echo "$as_me: error: GStreamer not available" >&2;}
49004 { (exit 1); exit 1; }; }
49005 else
49006 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
49007 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
49008 fi
49009 fi
49010 fi
49011
49012
49013 if test "$cross_compiling" != "no"; then
49014 OSINFO="\"$host\""
49015 else
49016 OSINFO=`uname -s -r -m`
49017 OSINFO="\"$OSINFO\""
49018 fi
49019
49020 cat >>confdefs.h <<_ACEOF
49021 #define WXWIN_OS_DESCRIPTION $OSINFO
49022 _ACEOF
49023
49024
49025
49026 if test "x$prefix" != "xNONE"; then
49027 wxPREFIX=$prefix
49028 else
49029 wxPREFIX=$ac_default_prefix
49030 fi
49031
49032 cat >>confdefs.h <<_ACEOF
49033 #define wxINSTALL_PREFIX "$wxPREFIX"
49034 _ACEOF
49035
49036
49037
49038
49039 STD_BASE_LIBS="base"
49040 STD_GUI_LIBS=""
49041 BUILT_WX_LIBS="base"
49042 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
49043
49044 if test "$wxUSE_SOCKETS" = "yes" ; then
49045 STD_BASE_LIBS="net $STD_BASE_LIBS"
49046 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49047 fi
49048 if test "$wxUSE_XML" = "yes" ; then
49049 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49050 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49051 fi
49052
49053 if test "$wxUSE_GUI" = "yes"; then
49054 STD_GUI_LIBS="adv core"
49055 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49056
49057 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49058 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49059 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49060 fi
49061 if test "$wxUSE_HTML" = "yes" ; then
49062 STD_GUI_LIBS="html $STD_GUI_LIBS"
49063 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49064 fi
49065 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49066 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49067 fi
49068 if test "$wxUSE_OPENGL" = "yes" ; then
49069 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49070 fi
49071 if test "$wxUSE_AUI" = "yes" ; then
49072 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49073 fi
49074 if test "$wxUSE_PROPGRID" = "yes" ; then
49075 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
49076 fi
49077 if test "$wxUSE_RIBBON" = "yes" ; then
49078 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
49079 fi
49080 if test "$wxUSE_RICHTEXT" = "yes" ; then
49081 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
49082 fi
49083 if test "$wxUSE_STC" = "yes" ; then
49084 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49085 fi
49086 if test "$wxUSE_XRC" = "yes" ; then
49087 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49088 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49089 fi
49090 fi
49091
49092
49093
49094
49095
49096
49097
49098 EXTRA_FRAMEWORKS=
49099 if test "$wxUSE_MAC" = 1 ; then
49100 if test "$USE_DARWIN" = 1; then
49101 if test "$wxUSE_OSX_IPHONE" = 1; then
49102 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49103 else
49104 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49105 fi
49106 fi
49107 fi
49108 if test "$wxUSE_OLD_COCOA" = 1 ; then
49109 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
49110 if test "$wxUSE_MEDIACTRL" = "yes"; then
49111 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
49112 fi
49113 fi
49114 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49115 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49116 fi
49117
49118 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
49119 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49120
49121 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49122
49123 if test "$wxUSE_GUI" = "yes"; then
49124
49125
49126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49127 erase event exec font image minimal render \
49128 shaped svg taborder vscroll widgets wrapsizer"
49129
49130 if test "$wxUSE_MONOLITHIC" != "yes"; then
49131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49132 fi
49133 if test "$TOOLKIT" = "MSW"; then
49134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49135 if test "$wxUSE_UNIVERSAL" != "yes"; then
49136 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49137 fi
49138 fi
49139 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49141 fi
49142 else
49143 SAMPLES_SUBDIRS="console"
49144 if test "$wxUSE_SOCKETS" = "yes" ; then
49145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49146 fi
49147 if test "$wxUSE_IPC" = "yes" ; then
49148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49149 fi
49150 fi
49151
49152
49153 if test "x$INTELCC" = "xyes" ; then
49154 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
49155 elif test "$GCC" = yes ; then
49156 CWARNINGS="-Wall -Wundef"
49157 fi
49158
49159 if test "x$INTELCXX" = "xyes" ; then
49160 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49161 elif test "$GXX" = yes ; then
49162 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49163 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49164 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49165 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49166 echo $ECHO_N "(cached) $ECHO_C" >&6
49167 else
49168 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
49169
49170 ac_ext=cpp
49171 ac_cpp='$CXXCPP $CPPFLAGS'
49172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49175
49176 ac_save_CXXFLAGS="$CXXFLAGS"
49177 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49178 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49179 cat >conftest.$ac_ext <<_ACEOF
49180 /* confdefs.h. */
49181 _ACEOF
49182 cat confdefs.h >>conftest.$ac_ext
49183 cat >>conftest.$ac_ext <<_ACEOF
49184 /* end confdefs.h. */
49185
49186 int
49187 main ()
49188 {
49189 return 0;
49190 ;
49191 return 0;
49192 }
49193 _ACEOF
49194 rm -f conftest.$ac_objext
49195 if { (ac_try="$ac_compile"
49196 case "(($ac_try" in
49197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49198 *) ac_try_echo=$ac_try;;
49199 esac
49200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49201 (eval "$ac_compile") 2>conftest.er1
49202 ac_status=$?
49203 grep -v '^ *+' conftest.er1 >conftest.err
49204 rm -f conftest.er1
49205 cat conftest.err >&5
49206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49207 (exit $ac_status); } && {
49208 test -z "$ac_cxx_werror_flag" ||
49209 test ! -s conftest.err
49210 } && test -s conftest.$ac_objext; then
49211 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49212 else
49213 echo "$as_me: failed program was:" >&5
49214 sed 's/^/| /' conftest.$ac_ext >&5
49215
49216
49217 fi
49218
49219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49220 done
49221 CXXFLAGS="$ac_save_CXXFLAGS"
49222 ac_ext=c
49223 ac_cpp='$CPP $CPPFLAGS'
49224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49227
49228
49229 fi
49230 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49231 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49232 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49233 .ok|.ok,*) ;;
49234 .|.no|.no,*) ;;
49235 *)
49236 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49237 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49238 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49239 ac_status=$?
49240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49241 (exit $ac_status); }
49242 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49243 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49244 ac_status=$?
49245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49246 (exit $ac_status); }
49247 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49248 fi
49249 ;;
49250 esac
49251
49252
49253 if test "$wxUSE_MAC" = 1 ; then
49254 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49255 fi
49256 fi
49257
49258
49259 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49260 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49261
49262
49263 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49264 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49265 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49266 $CPPFLAGS `
49267
49268 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49269 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49270 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49271 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49272 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49273
49274 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49275
49276
49277 if test "x$MWCC" = "xyes"; then
49278
49279 CC="$CC -cwd source -I-"
49280 CXX="$CXX -cwd source -I-"
49281 fi
49282
49283
49284 LIBS=`echo $LIBS`
49285 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49286 EXTRALIBS_XML="$EXPAT_LINK"
49287 EXTRALIBS_HTML="$MSPACK_LINK"
49288 EXTRALIBS_MEDIA="$GST_LIBS"
49289 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49290 if test "$wxUSE_GUI" = "yes"; then
49291 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49292 fi
49293 if test "$wxUSE_OPENGL" = "yes"; then
49294 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49295 fi
49296
49297 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49298
49299 WXCONFIG_LIBS="$LIBS"
49300
49301 if test "$wxUSE_REGEX" = "builtin" ; then
49302 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49303 fi
49304 if test "$wxUSE_EXPAT" = "builtin" ; then
49305 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49306 fi
49307 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49308 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49309 fi
49310 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49311 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49312 fi
49313 if test "$wxUSE_LIBPNG" = "builtin" ; then
49314 wxconfig_3rdparty="png $wxconfig_3rdparty"
49315 fi
49316 if test "$wxUSE_ZLIB" = "builtin" ; then
49317 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49318 fi
49319
49320 for i in $wxconfig_3rdparty ; do
49321 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49322 done
49323
49324
49325 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49326 WXUNIV=1
49327
49328 case "$wxUNIV_THEMES" in
49329 ''|all)
49330 cat >>confdefs.h <<\_ACEOF
49331 #define wxUSE_ALL_THEMES 1
49332 _ACEOF
49333
49334 ;;
49335
49336 *)
49337 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49338 cat >>confdefs.h <<_ACEOF
49339 #define wxUSE_THEME_$t 1
49340 _ACEOF
49341
49342 done
49343 esac
49344 else
49345 WXUNIV=0
49346 fi
49347
49348
49349
49350
49351
49352
49353
49354
49355 if test $wxUSE_MONOLITHIC = "yes" ; then
49356 MONOLITHIC=1
49357 else
49358 MONOLITHIC=0
49359 fi
49360
49361 if test $wxUSE_PLUGINS = "yes" ; then
49362 USE_PLUGINS=1
49363 else
49364 USE_PLUGINS=0
49365 fi
49366
49367 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49368 USE_QA=1
49369 else
49370 USE_QA=0
49371 fi
49372
49373 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49374 OFFICIAL_BUILD=1
49375 else
49376 OFFICIAL_BUILD=0
49377 fi
49378
49379
49380
49381
49382
49383
49384
49385
49386
49387
49388
49389
49390
49391
49392
49393
49394
49395
49396
49397
49398
49399
49400
49401
49402
49403
49404
49405 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49406
49407
49408
49409
49410
49411
49412
49413
49414
49415
49416 case "$TOOLKIT" in
49417 GTK)
49418 TOOLKIT_DESC="GTK+"
49419 if test "$WXGTK2" = 1; then
49420 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49421 if test "$wxUSE_GTKPRINT" = "yes" ; then
49422 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49423 fi
49424 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49425 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49426 fi
49427 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49428 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49429 fi
49430 if test "$wxUSE_LIBHILDON" = "yes"; then
49431 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49432 fi
49433 if test "$wxUSE_LIBHILDON2" = "yes"; then
49434 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49435 fi
49436
49437 if test "$TOOLKIT_EXTRA" != ""; then
49438 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49439 fi
49440 fi
49441 ;;
49442
49443 ?*)
49444 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49445 ;;
49446
49447 *)
49448 TOOLKIT_DESC="base only"
49449 ;;
49450 esac
49451
49452 if test "$wxUSE_WINE" = "yes"; then
49453 BAKEFILE_FORCE_PLATFORM=win32
49454 fi
49455
49456 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49457 then
49458 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49459 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49460 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49461 echo $ECHO_N "(cached) $ECHO_C" >&6
49462 else
49463
49464 echo '#include <stdio.h>
49465 const wchar_t test_var[] = L"awidetest";' > conftest.h
49466
49467 echo '#include "conftest.h"
49468 int main()
49469 {
49470 printf("%ls", test_var);
49471 return 0;
49472 }' > conftest.cpp
49473
49474 wx_cv_gcc_pch_bug="pch not supported"
49475
49476 if $CXX conftest.h >/dev/null 2>&1
49477 then
49478 wx_cv_gcc_pch_bug=
49479
49480 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49481 then
49482 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49483 grep awidetest >/dev/null
49484 then
49485 wx_cv_gcc_pch_bug=no
49486 else
49487 wx_cv_gcc_pch_bug=yes
49488 fi
49489 fi
49490 fi
49491
49492 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49493
49494 fi
49495 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49496 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49497
49498 if test "$wx_cv_gcc_pch_bug" = yes; then
49499 bk_use_pch=no
49500 fi
49501 fi
49502
49503
49504
49505
49506
49507
49508
49509 if test "x$BAKEFILE_HOST" = "x"; then
49510 if test "x${host}" = "x" ; then
49511 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49512 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49513 { (exit 1); exit 1; }; }
49514 fi
49515
49516 BAKEFILE_HOST="${host}"
49517 fi
49518
49519 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49520
49521 if test -n "$ac_tool_prefix"; then
49522 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49523 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49526 if test "${ac_cv_prog_RANLIB+set}" = set; then
49527 echo $ECHO_N "(cached) $ECHO_C" >&6
49528 else
49529 if test -n "$RANLIB"; then
49530 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49531 else
49532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49533 for as_dir in $PATH
49534 do
49535 IFS=$as_save_IFS
49536 test -z "$as_dir" && as_dir=.
49537 for ac_exec_ext in '' $ac_executable_extensions; do
49538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49539 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49541 break 2
49542 fi
49543 done
49544 done
49545 IFS=$as_save_IFS
49546
49547 fi
49548 fi
49549 RANLIB=$ac_cv_prog_RANLIB
49550 if test -n "$RANLIB"; then
49551 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49552 echo "${ECHO_T}$RANLIB" >&6; }
49553 else
49554 { echo "$as_me:$LINENO: result: no" >&5
49555 echo "${ECHO_T}no" >&6; }
49556 fi
49557
49558
49559 fi
49560 if test -z "$ac_cv_prog_RANLIB"; then
49561 ac_ct_RANLIB=$RANLIB
49562 # Extract the first word of "ranlib", so it can be a program name with args.
49563 set dummy ranlib; ac_word=$2
49564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49566 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49567 echo $ECHO_N "(cached) $ECHO_C" >&6
49568 else
49569 if test -n "$ac_ct_RANLIB"; then
49570 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49571 else
49572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49573 for as_dir in $PATH
49574 do
49575 IFS=$as_save_IFS
49576 test -z "$as_dir" && as_dir=.
49577 for ac_exec_ext in '' $ac_executable_extensions; do
49578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49579 ac_cv_prog_ac_ct_RANLIB="ranlib"
49580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49581 break 2
49582 fi
49583 done
49584 done
49585 IFS=$as_save_IFS
49586
49587 fi
49588 fi
49589 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49590 if test -n "$ac_ct_RANLIB"; then
49591 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49592 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49593 else
49594 { echo "$as_me:$LINENO: result: no" >&5
49595 echo "${ECHO_T}no" >&6; }
49596 fi
49597
49598 if test "x$ac_ct_RANLIB" = x; then
49599 RANLIB=":"
49600 else
49601 case $cross_compiling:$ac_tool_warned in
49602 yes:)
49603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49604 whose name does not start with the host triplet. If you think this
49605 configuration is useful to you, please write to autoconf@gnu.org." >&5
49606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49607 whose name does not start with the host triplet. If you think this
49608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49609 ac_tool_warned=yes ;;
49610 esac
49611 RANLIB=$ac_ct_RANLIB
49612 fi
49613 else
49614 RANLIB="$ac_cv_prog_RANLIB"
49615 fi
49616
49617 # Find a good install program. We prefer a C program (faster),
49618 # so one script is as good as another. But avoid the broken or
49619 # incompatible versions:
49620 # SysV /etc/install, /usr/sbin/install
49621 # SunOS /usr/etc/install
49622 # IRIX /sbin/install
49623 # AIX /bin/install
49624 # AmigaOS /C/install, which installs bootblocks on floppy discs
49625 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49626 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49627 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49628 # OS/2's system install, which has a completely different semantic
49629 # ./install, which can be erroneously created by make from ./install.sh.
49630 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49631 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49632 if test -z "$INSTALL"; then
49633 if test "${ac_cv_path_install+set}" = set; then
49634 echo $ECHO_N "(cached) $ECHO_C" >&6
49635 else
49636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49637 for as_dir in $PATH
49638 do
49639 IFS=$as_save_IFS
49640 test -z "$as_dir" && as_dir=.
49641 # Account for people who put trailing slashes in PATH elements.
49642 case $as_dir/ in
49643 ./ | .// | /cC/* | \
49644 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49645 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49646 /usr/ucb/* ) ;;
49647 *)
49648 # OSF1 and SCO ODT 3.0 have their own names for install.
49649 # Don't use installbsd from OSF since it installs stuff as root
49650 # by default.
49651 for ac_prog in ginstall scoinst install; do
49652 for ac_exec_ext in '' $ac_executable_extensions; do
49653 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49654 if test $ac_prog = install &&
49655 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49656 # AIX install. It has an incompatible calling convention.
49657 :
49658 elif test $ac_prog = install &&
49659 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49660 # program-specific install script used by HP pwplus--don't use.
49661 :
49662 else
49663 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49664 break 3
49665 fi
49666 fi
49667 done
49668 done
49669 ;;
49670 esac
49671 done
49672 IFS=$as_save_IFS
49673
49674
49675 fi
49676 if test "${ac_cv_path_install+set}" = set; then
49677 INSTALL=$ac_cv_path_install
49678 else
49679 # As a last resort, use the slow shell script. Don't cache a
49680 # value for INSTALL within a source directory, because that will
49681 # break other packages using the cache if that directory is
49682 # removed, or if the value is a relative name.
49683 INSTALL=$ac_install_sh
49684 fi
49685 fi
49686 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49687 echo "${ECHO_T}$INSTALL" >&6; }
49688
49689 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49690 # It thinks the first close brace ends the variable substitution.
49691 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49692
49693 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49694
49695 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49696
49697 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49698 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49699 LN_S=$as_ln_s
49700 if test "$LN_S" = "ln -s"; then
49701 { echo "$as_me:$LINENO: result: yes" >&5
49702 echo "${ECHO_T}yes" >&6; }
49703 else
49704 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49705 echo "${ECHO_T}no, using $LN_S" >&6; }
49706 fi
49707
49708
49709 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49710 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49711 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49712 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49713 echo $ECHO_N "(cached) $ECHO_C" >&6
49714 else
49715 cat >conftest.make <<\_ACEOF
49716 SHELL = /bin/sh
49717 all:
49718 @echo '@@@%%%=$(MAKE)=@@@%%%'
49719 _ACEOF
49720 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49721 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49722 *@@@%%%=?*=@@@%%%*)
49723 eval ac_cv_prog_make_${ac_make}_set=yes;;
49724 *)
49725 eval ac_cv_prog_make_${ac_make}_set=no;;
49726 esac
49727 rm -f conftest.make
49728 fi
49729 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49730 { echo "$as_me:$LINENO: result: yes" >&5
49731 echo "${ECHO_T}yes" >&6; }
49732 SET_MAKE=
49733 else
49734 { echo "$as_me:$LINENO: result: no" >&5
49735 echo "${ECHO_T}no" >&6; }
49736 SET_MAKE="MAKE=${MAKE-make}"
49737 fi
49738
49739
49740
49741 if test "x$SUNCXX" = "xyes"; then
49742 AR=$CXX
49743 AROPTIONS="-xar -o"
49744
49745 elif test "x$SGICC" = "xyes"; then
49746 AR=$CXX
49747 AROPTIONS="-ar -o"
49748
49749 else
49750 if test -n "$ac_tool_prefix"; then
49751 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49752 set dummy ${ac_tool_prefix}ar; ac_word=$2
49753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49755 if test "${ac_cv_prog_AR+set}" = set; then
49756 echo $ECHO_N "(cached) $ECHO_C" >&6
49757 else
49758 if test -n "$AR"; then
49759 ac_cv_prog_AR="$AR" # Let the user override the test.
49760 else
49761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49762 for as_dir in $PATH
49763 do
49764 IFS=$as_save_IFS
49765 test -z "$as_dir" && as_dir=.
49766 for ac_exec_ext in '' $ac_executable_extensions; do
49767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49768 ac_cv_prog_AR="${ac_tool_prefix}ar"
49769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49770 break 2
49771 fi
49772 done
49773 done
49774 IFS=$as_save_IFS
49775
49776 fi
49777 fi
49778 AR=$ac_cv_prog_AR
49779 if test -n "$AR"; then
49780 { echo "$as_me:$LINENO: result: $AR" >&5
49781 echo "${ECHO_T}$AR" >&6; }
49782 else
49783 { echo "$as_me:$LINENO: result: no" >&5
49784 echo "${ECHO_T}no" >&6; }
49785 fi
49786
49787
49788 fi
49789 if test -z "$ac_cv_prog_AR"; then
49790 ac_ct_AR=$AR
49791 # Extract the first word of "ar", so it can be a program name with args.
49792 set dummy ar; ac_word=$2
49793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49795 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49796 echo $ECHO_N "(cached) $ECHO_C" >&6
49797 else
49798 if test -n "$ac_ct_AR"; then
49799 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49800 else
49801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49802 for as_dir in $PATH
49803 do
49804 IFS=$as_save_IFS
49805 test -z "$as_dir" && as_dir=.
49806 for ac_exec_ext in '' $ac_executable_extensions; do
49807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49808 ac_cv_prog_ac_ct_AR="ar"
49809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49810 break 2
49811 fi
49812 done
49813 done
49814 IFS=$as_save_IFS
49815
49816 fi
49817 fi
49818 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49819 if test -n "$ac_ct_AR"; then
49820 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49821 echo "${ECHO_T}$ac_ct_AR" >&6; }
49822 else
49823 { echo "$as_me:$LINENO: result: no" >&5
49824 echo "${ECHO_T}no" >&6; }
49825 fi
49826
49827 if test "x$ac_ct_AR" = x; then
49828 AR="ar"
49829 else
49830 case $cross_compiling:$ac_tool_warned in
49831 yes:)
49832 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49833 whose name does not start with the host triplet. If you think this
49834 configuration is useful to you, please write to autoconf@gnu.org." >&5
49835 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49836 whose name does not start with the host triplet. If you think this
49837 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49838 ac_tool_warned=yes ;;
49839 esac
49840 AR=$ac_ct_AR
49841 fi
49842 else
49843 AR="$ac_cv_prog_AR"
49844 fi
49845
49846 AROPTIONS=rcu
49847 fi
49848
49849
49850 if test -n "$ac_tool_prefix"; then
49851 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49852 set dummy ${ac_tool_prefix}strip; ac_word=$2
49853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49855 if test "${ac_cv_prog_STRIP+set}" = set; then
49856 echo $ECHO_N "(cached) $ECHO_C" >&6
49857 else
49858 if test -n "$STRIP"; then
49859 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49860 else
49861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49862 for as_dir in $PATH
49863 do
49864 IFS=$as_save_IFS
49865 test -z "$as_dir" && as_dir=.
49866 for ac_exec_ext in '' $ac_executable_extensions; do
49867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49868 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
49869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49870 break 2
49871 fi
49872 done
49873 done
49874 IFS=$as_save_IFS
49875
49876 fi
49877 fi
49878 STRIP=$ac_cv_prog_STRIP
49879 if test -n "$STRIP"; then
49880 { echo "$as_me:$LINENO: result: $STRIP" >&5
49881 echo "${ECHO_T}$STRIP" >&6; }
49882 else
49883 { echo "$as_me:$LINENO: result: no" >&5
49884 echo "${ECHO_T}no" >&6; }
49885 fi
49886
49887
49888 fi
49889 if test -z "$ac_cv_prog_STRIP"; then
49890 ac_ct_STRIP=$STRIP
49891 # Extract the first word of "strip", so it can be a program name with args.
49892 set dummy strip; ac_word=$2
49893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49895 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
49896 echo $ECHO_N "(cached) $ECHO_C" >&6
49897 else
49898 if test -n "$ac_ct_STRIP"; then
49899 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
49900 else
49901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49902 for as_dir in $PATH
49903 do
49904 IFS=$as_save_IFS
49905 test -z "$as_dir" && as_dir=.
49906 for ac_exec_ext in '' $ac_executable_extensions; do
49907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49908 ac_cv_prog_ac_ct_STRIP="strip"
49909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49910 break 2
49911 fi
49912 done
49913 done
49914 IFS=$as_save_IFS
49915
49916 fi
49917 fi
49918 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
49919 if test -n "$ac_ct_STRIP"; then
49920 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
49921 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
49922 else
49923 { echo "$as_me:$LINENO: result: no" >&5
49924 echo "${ECHO_T}no" >&6; }
49925 fi
49926
49927 if test "x$ac_ct_STRIP" = x; then
49928 STRIP=":"
49929 else
49930 case $cross_compiling:$ac_tool_warned in
49931 yes:)
49932 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49933 whose name does not start with the host triplet. If you think this
49934 configuration is useful to you, please write to autoconf@gnu.org." >&5
49935 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49936 whose name does not start with the host triplet. If you think this
49937 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49938 ac_tool_warned=yes ;;
49939 esac
49940 STRIP=$ac_ct_STRIP
49941 fi
49942 else
49943 STRIP="$ac_cv_prog_STRIP"
49944 fi
49945
49946 if test -n "$ac_tool_prefix"; then
49947 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
49948 set dummy ${ac_tool_prefix}nm; ac_word=$2
49949 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49951 if test "${ac_cv_prog_NM+set}" = set; then
49952 echo $ECHO_N "(cached) $ECHO_C" >&6
49953 else
49954 if test -n "$NM"; then
49955 ac_cv_prog_NM="$NM" # Let the user override the test.
49956 else
49957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49958 for as_dir in $PATH
49959 do
49960 IFS=$as_save_IFS
49961 test -z "$as_dir" && as_dir=.
49962 for ac_exec_ext in '' $ac_executable_extensions; do
49963 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49964 ac_cv_prog_NM="${ac_tool_prefix}nm"
49965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49966 break 2
49967 fi
49968 done
49969 done
49970 IFS=$as_save_IFS
49971
49972 fi
49973 fi
49974 NM=$ac_cv_prog_NM
49975 if test -n "$NM"; then
49976 { echo "$as_me:$LINENO: result: $NM" >&5
49977 echo "${ECHO_T}$NM" >&6; }
49978 else
49979 { echo "$as_me:$LINENO: result: no" >&5
49980 echo "${ECHO_T}no" >&6; }
49981 fi
49982
49983
49984 fi
49985 if test -z "$ac_cv_prog_NM"; then
49986 ac_ct_NM=$NM
49987 # Extract the first word of "nm", so it can be a program name with args.
49988 set dummy nm; ac_word=$2
49989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49991 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49992 echo $ECHO_N "(cached) $ECHO_C" >&6
49993 else
49994 if test -n "$ac_ct_NM"; then
49995 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49996 else
49997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49998 for as_dir in $PATH
49999 do
50000 IFS=$as_save_IFS
50001 test -z "$as_dir" && as_dir=.
50002 for ac_exec_ext in '' $ac_executable_extensions; do
50003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50004 ac_cv_prog_ac_ct_NM="nm"
50005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50006 break 2
50007 fi
50008 done
50009 done
50010 IFS=$as_save_IFS
50011
50012 fi
50013 fi
50014 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50015 if test -n "$ac_ct_NM"; then
50016 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50017 echo "${ECHO_T}$ac_ct_NM" >&6; }
50018 else
50019 { echo "$as_me:$LINENO: result: no" >&5
50020 echo "${ECHO_T}no" >&6; }
50021 fi
50022
50023 if test "x$ac_ct_NM" = x; then
50024 NM=":"
50025 else
50026 case $cross_compiling:$ac_tool_warned in
50027 yes:)
50028 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50029 whose name does not start with the host triplet. If you think this
50030 configuration is useful to you, please write to autoconf@gnu.org." >&5
50031 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50032 whose name does not start with the host triplet. If you think this
50033 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50034 ac_tool_warned=yes ;;
50035 esac
50036 NM=$ac_ct_NM
50037 fi
50038 else
50039 NM="$ac_cv_prog_NM"
50040 fi
50041
50042
50043 { echo "$as_me:$LINENO: checking for command to install directories" >&5
50044 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
50045 INSTALL_TEST_DIR=acbftest$$
50046 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
50047 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
50048 rmdir $INSTALL_TEST_DIR
50049 INSTALL_DIR='$(INSTALL) -d'
50050 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
50051 echo "${ECHO_T}$INSTALL -d" >&6; }
50052 else
50053 INSTALL_DIR="mkdir -p"
50054 { echo "$as_me:$LINENO: result: mkdir -p" >&5
50055 echo "${ECHO_T}mkdir -p" >&6; }
50056 fi
50057
50058
50059 LDFLAGS_GUI=
50060 case ${BAKEFILE_HOST} in
50061 *-*-cygwin* | *-*-mingw32* )
50062 LDFLAGS_GUI="-mwindows"
50063 esac
50064
50065
50066 fi
50067
50068 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50069 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50070 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50071 echo $ECHO_N "(cached) $ECHO_C" >&6
50072 else
50073
50074 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50075 egrep -s GNU > /dev/null); then
50076 bakefile_cv_prog_makeisgnu="yes"
50077 else
50078 bakefile_cv_prog_makeisgnu="no"
50079 fi
50080
50081 fi
50082 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50083 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50084
50085 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50086 IF_GNU_MAKE=""
50087 else
50088 IF_GNU_MAKE="#"
50089 fi
50090
50091
50092
50093 PLATFORM_UNIX=0
50094 PLATFORM_WIN32=0
50095 PLATFORM_MSDOS=0
50096 PLATFORM_MAC=0
50097 PLATFORM_MACOS=0
50098 PLATFORM_MACOSX=0
50099 PLATFORM_OS2=0
50100 PLATFORM_BEOS=0
50101
50102 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50103 case "${BAKEFILE_HOST}" in
50104 *-*-mingw32* )
50105 PLATFORM_WIN32=1
50106 ;;
50107 *-pc-msdosdjgpp )
50108 PLATFORM_MSDOS=1
50109 ;;
50110 *-pc-os2_emx | *-pc-os2-emx )
50111 PLATFORM_OS2=1
50112 ;;
50113 *-*-darwin* )
50114 PLATFORM_MAC=1
50115 PLATFORM_MACOSX=1
50116 ;;
50117 *-*-beos* )
50118 PLATFORM_BEOS=1
50119 ;;
50120 powerpc-apple-macos* )
50121 PLATFORM_MAC=1
50122 PLATFORM_MACOS=1
50123 ;;
50124 * )
50125 PLATFORM_UNIX=1
50126 ;;
50127 esac
50128 else
50129 case "$BAKEFILE_FORCE_PLATFORM" in
50130 win32 )
50131 PLATFORM_WIN32=1
50132 ;;
50133 msdos )
50134 PLATFORM_MSDOS=1
50135 ;;
50136 os2 )
50137 PLATFORM_OS2=1
50138 ;;
50139 darwin )
50140 PLATFORM_MAC=1
50141 PLATFORM_MACOSX=1
50142 ;;
50143 unix )
50144 PLATFORM_UNIX=1
50145 ;;
50146 beos )
50147 PLATFORM_BEOS=1
50148 ;;
50149 * )
50150 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50151 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50152 { (exit 1); exit 1; }; }
50153 ;;
50154 esac
50155 fi
50156
50157
50158
50159
50160
50161
50162
50163
50164
50165
50166
50167 # Check whether --enable-omf was given.
50168 if test "${enable_omf+set}" = set; then
50169 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50170 fi
50171
50172
50173 case "${BAKEFILE_HOST}" in
50174 *-*-darwin* )
50175 if test "x$GCC" = "xyes"; then
50176 CFLAGS="$CFLAGS -fno-common"
50177 CXXFLAGS="$CXXFLAGS -fno-common"
50178 fi
50179 if test "x$XLCC" = "xyes"; then
50180 CFLAGS="$CFLAGS -qnocommon"
50181 CXXFLAGS="$CXXFLAGS -qnocommon"
50182 fi
50183 ;;
50184
50185 *-pc-os2_emx | *-pc-os2-emx )
50186 if test "x$bk_os2_use_omf" = "xyes" ; then
50187 AR=emxomfar
50188 RANLIB=:
50189 LDFLAGS="-Zomf $LDFLAGS"
50190 CFLAGS="-Zomf $CFLAGS"
50191 CXXFLAGS="-Zomf $CXXFLAGS"
50192 OS2_LIBEXT="lib"
50193 else
50194 OS2_LIBEXT="a"
50195 fi
50196 ;;
50197
50198 i*86-*-beos* )
50199 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50200 ;;
50201 esac
50202
50203
50204 SO_SUFFIX="so"
50205 SO_SUFFIX_MODULE="so"
50206 EXEEXT=""
50207 LIBPREFIX="lib"
50208 LIBEXT=".a"
50209 DLLPREFIX="lib"
50210 DLLPREFIX_MODULE=""
50211 DLLIMP_SUFFIX=""
50212 dlldir="$libdir"
50213
50214 case "${BAKEFILE_HOST}" in
50215 ia64-hp-hpux* )
50216 ;;
50217 *-hp-hpux* )
50218 SO_SUFFIX="sl"
50219 SO_SUFFIX_MODULE="sl"
50220 ;;
50221 *-*-aix* )
50222 SO_SUFFIX="a"
50223 SO_SUFFIX_MODULE="a"
50224 ;;
50225 *-*-cygwin* )
50226 SO_SUFFIX="dll"
50227 SO_SUFFIX_MODULE="dll"
50228 DLLIMP_SUFFIX="dll.a"
50229 EXEEXT=".exe"
50230 DLLPREFIX="cyg"
50231 dlldir="$bindir"
50232 ;;
50233 *-*-mingw32* )
50234 SO_SUFFIX="dll"
50235 SO_SUFFIX_MODULE="dll"
50236 DLLIMP_SUFFIX="dll.a"
50237 EXEEXT=".exe"
50238 DLLPREFIX=""
50239 dlldir="$bindir"
50240 ;;
50241 *-pc-msdosdjgpp )
50242 EXEEXT=".exe"
50243 DLLPREFIX=""
50244 dlldir="$bindir"
50245 ;;
50246 *-pc-os2_emx | *-pc-os2-emx )
50247 SO_SUFFIX="dll"
50248 SO_SUFFIX_MODULE="dll"
50249 DLLIMP_SUFFIX=$OS2_LIBEXT
50250 EXEEXT=".exe"
50251 DLLPREFIX=""
50252 LIBPREFIX=""
50253 LIBEXT=".$OS2_LIBEXT"
50254 dlldir="$bindir"
50255 ;;
50256 *-*-darwin* )
50257 SO_SUFFIX="dylib"
50258 SO_SUFFIX_MODULE="bundle"
50259 ;;
50260 esac
50261
50262 if test "x$DLLIMP_SUFFIX" = "x" ; then
50263 DLLIMP_SUFFIX="$SO_SUFFIX"
50264 fi
50265
50266
50267
50268
50269
50270
50271
50272
50273
50274
50275
50276
50277 PIC_FLAG=""
50278 if test "x$GCC" = "xyes"; then
50279 PIC_FLAG="-fPIC"
50280 fi
50281
50282 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50283 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50284 WINDOWS_IMPLIB=0
50285
50286 case "${BAKEFILE_HOST}" in
50287 *-hp-hpux* )
50288 if test "x$GCC" != "xyes"; then
50289 LDFLAGS="$LDFLAGS -L/usr/lib"
50290
50291 SHARED_LD_CC="${CC} -b -o"
50292 SHARED_LD_CXX="${CXX} -b -o"
50293 PIC_FLAG="+Z"
50294 fi
50295 ;;
50296
50297 *-*-linux* )
50298 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50299 PIC_FLAG="-KPIC"
50300 elif test "x$SUNCXX" = "xyes"; then
50301 SHARED_LD_CC="${CC} -G -o"
50302 SHARED_LD_CXX="${CXX} -G -o"
50303 PIC_FLAG="-KPIC"
50304 fi
50305 ;;
50306
50307 *-*-solaris2* )
50308 if test "x$SUNCXX" = xyes ; then
50309 SHARED_LD_CC="${CC} -G -o"
50310 SHARED_LD_CXX="${CXX} -G -o"
50311 PIC_FLAG="-KPIC"
50312 fi
50313 ;;
50314
50315 *-*-darwin* )
50316
50317 D='$'
50318 cat <<EOF >shared-ld-sh
50319 #!/bin/sh
50320 #-----------------------------------------------------------------------------
50321 #-- Name: distrib/mac/shared-ld-sh
50322 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50323 #-- Author: Gilles Depeyrot
50324 #-- Copyright: (c) 2002 Gilles Depeyrot
50325 #-- Licence: any use permitted
50326 #-----------------------------------------------------------------------------
50327
50328 verbose=0
50329 args=""
50330 objects=""
50331 linking_flag="-dynamiclib"
50332 ldargs="-r -keep_private_externs -nostdlib"
50333
50334 if test "x${D}CXX" = "x"; then
50335 CXX="c++"
50336 fi
50337
50338 while test ${D}# -gt 0; do
50339 case ${D}1 in
50340
50341 -v)
50342 verbose=1
50343 ;;
50344
50345 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50346 # collect these options and values
50347 args="${D}{args} ${D}1 ${D}2"
50348 shift
50349 ;;
50350
50351 -arch|-isysroot)
50352 # collect these options and values
50353 ldargs="${D}{ldargs} ${D}1 ${D}2"
50354 shift
50355 ;;
50356
50357 -s|-Wl,*)
50358 # collect these load args
50359 ldargs="${D}{ldargs} ${D}1"
50360 ;;
50361
50362 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50363 # collect these options
50364 args="${D}{args} ${D}1"
50365 ;;
50366
50367 -dynamiclib|-bundle)
50368 linking_flag="${D}1"
50369 ;;
50370
50371 -*)
50372 echo "shared-ld: unhandled option '${D}1'"
50373 exit 1
50374 ;;
50375
50376 *.o | *.a | *.dylib)
50377 # collect object files
50378 objects="${D}{objects} ${D}1"
50379 ;;
50380
50381 *)
50382 echo "shared-ld: unhandled argument '${D}1'"
50383 exit 1
50384 ;;
50385
50386 esac
50387 shift
50388 done
50389
50390 status=0
50391
50392 #
50393 # Link one module containing all the others
50394 #
50395 if test ${D}{verbose} = 1; then
50396 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50397 fi
50398 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50399 status=${D}?
50400
50401 #
50402 # Link the shared library from the single module created, but only if the
50403 # previous command didn't fail:
50404 #
50405 if test ${D}{status} = 0; then
50406 if test ${D}{verbose} = 1; then
50407 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50408 fi
50409 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50410 status=${D}?
50411 fi
50412
50413 #
50414 # Remove intermediate module
50415 #
50416 rm -f master.${D}${D}.o
50417
50418 exit ${D}status
50419 EOF
50420
50421 chmod +x shared-ld-sh
50422
50423 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50424 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50425
50426
50427 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50428 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50429 if test "${bakefile_cv_gcc31+set}" = set; then
50430 echo $ECHO_N "(cached) $ECHO_C" >&6
50431 else
50432
50433 cat >conftest.$ac_ext <<_ACEOF
50434 /* confdefs.h. */
50435 _ACEOF
50436 cat confdefs.h >>conftest.$ac_ext
50437 cat >>conftest.$ac_ext <<_ACEOF
50438 /* end confdefs.h. */
50439
50440 int
50441 main ()
50442 {
50443
50444 #if (__GNUC__ < 3) || \
50445 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50446 This is old gcc
50447 #endif
50448
50449 ;
50450 return 0;
50451 }
50452 _ACEOF
50453 rm -f conftest.$ac_objext
50454 if { (ac_try="$ac_compile"
50455 case "(($ac_try" in
50456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50457 *) ac_try_echo=$ac_try;;
50458 esac
50459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50460 (eval "$ac_compile") 2>conftest.er1
50461 ac_status=$?
50462 grep -v '^ *+' conftest.er1 >conftest.err
50463 rm -f conftest.er1
50464 cat conftest.err >&5
50465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50466 (exit $ac_status); } && {
50467 test -z "$ac_c_werror_flag" ||
50468 test ! -s conftest.err
50469 } && test -s conftest.$ac_objext; then
50470
50471 bakefile_cv_gcc31=yes
50472
50473 else
50474 echo "$as_me: failed program was:" >&5
50475 sed 's/^/| /' conftest.$ac_ext >&5
50476
50477
50478 bakefile_cv_gcc31=no
50479
50480
50481 fi
50482
50483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50484
50485 fi
50486 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50487 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50488 if test "$bakefile_cv_gcc31" = "no"; then
50489 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50490 SHARED_LD_CXX="$SHARED_LD_CC"
50491 else
50492 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50493 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50494 fi
50495
50496 if test "x$GCC" == "xyes"; then
50497 PIC_FLAG="-dynamic -fPIC"
50498 fi
50499 if test "x$XLCC" = "xyes"; then
50500 PIC_FLAG="-dynamic -DPIC"
50501 fi
50502 ;;
50503
50504 *-*-aix* )
50505 if test "x$GCC" = "xyes"; then
50506 PIC_FLAG=""
50507
50508 case "${BAKEFILE_HOST}" in
50509 *-*-aix5* )
50510 LD_EXPFULL="-Wl,-bexpfull"
50511 ;;
50512 esac
50513
50514 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50515 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50516 else
50517 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50518 set dummy makeC++SharedLib; ac_word=$2
50519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50521 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50522 echo $ECHO_N "(cached) $ECHO_C" >&6
50523 else
50524 if test -n "$AIX_CXX_LD"; then
50525 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50526 else
50527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50528 for as_dir in $PATH
50529 do
50530 IFS=$as_save_IFS
50531 test -z "$as_dir" && as_dir=.
50532 for ac_exec_ext in '' $ac_executable_extensions; do
50533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50534 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50536 break 2
50537 fi
50538 done
50539 done
50540 IFS=$as_save_IFS
50541
50542 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50543 fi
50544 fi
50545 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50546 if test -n "$AIX_CXX_LD"; then
50547 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50548 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50549 else
50550 { echo "$as_me:$LINENO: result: no" >&5
50551 echo "${ECHO_T}no" >&6; }
50552 fi
50553
50554
50555 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50556 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50557 fi
50558 ;;
50559
50560 *-*-beos* )
50561 SHARED_LD_CC="${LD} -nostart -o"
50562 SHARED_LD_CXX="${LD} -nostart -o"
50563 ;;
50564
50565 *-*-irix* )
50566 if test "x$GCC" != "xyes"; then
50567 PIC_FLAG="-KPIC"
50568 fi
50569 ;;
50570
50571 *-*-cygwin* | *-*-mingw32* )
50572 PIC_FLAG=""
50573 SHARED_LD_CC="\$(CC) -shared -o"
50574 SHARED_LD_CXX="\$(CXX) -shared -o"
50575 WINDOWS_IMPLIB=1
50576 ;;
50577
50578 *-pc-os2_emx | *-pc-os2-emx )
50579 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50580 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50581 PIC_FLAG=""
50582
50583 D='$'
50584 cat <<EOF >dllar.sh
50585 #!/bin/sh
50586 #
50587 # dllar - a tool to build both a .dll and an .a file
50588 # from a set of object (.o) files for EMX/OS2.
50589 #
50590 # Written by Andrew Zabolotny, bit@freya.etu.ru
50591 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50592 #
50593 # This script will accept a set of files on the command line.
50594 # All the public symbols from the .o files will be exported into
50595 # a .DEF file, then linker will be run (through gcc) against them to
50596 # build a shared library consisting of all given .o files. All libraries
50597 # (.a) will be first decompressed into component .o files then act as
50598 # described above. You can optionally give a description (-d "description")
50599 # which will be put into .DLL. To see the list of accepted options (as well
50600 # as command-line format) simply run this program without options. The .DLL
50601 # is built to be imported by name (there is no guarantee that new versions
50602 # of the library you build will have same ordinals for same symbols).
50603 #
50604 # dllar is free software; you can redistribute it and/or modify
50605 # it under the terms of the GNU General Public License as published by
50606 # the Free Software Foundation; either version 2, or (at your option)
50607 # any later version.
50608 #
50609 # dllar is distributed in the hope that it will be useful,
50610 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50611 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50612 # GNU General Public License for more details.
50613 #
50614 # You should have received a copy of the GNU General Public License
50615 # along with dllar; see the file COPYING. If not, write to the Free
50616 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50617 # 02111-1307, USA.
50618
50619 # To successfuly run this program you will need:
50620 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50621 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50622 # - gcc
50623 # (used to build the .dll)
50624 # - emxexp
50625 # (used to create .def file from .o files)
50626 # - emximp
50627 # (used to create .a file from .def file)
50628 # - GNU text utilites (cat, sort, uniq)
50629 # used to process emxexp output
50630 # - GNU file utilities (mv, rm)
50631 # - GNU sed
50632 # - lxlite (optional, see flag below)
50633 # (used for general .dll cleanup)
50634 #
50635
50636 flag_USE_LXLITE=1;
50637
50638 #
50639 # helper functions
50640 # basnam, variant of basename, which does _not_ remove the path, _iff_
50641 # second argument (suffix to remove) is given
50642 basnam(){
50643 case ${D}# in
50644 1)
50645 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50646 ;;
50647 2)
50648 echo ${D}1 | sed 's/'${D}2'${D}//'
50649 ;;
50650 *)
50651 echo "error in basnam ${D}*"
50652 exit 8
50653 ;;
50654 esac
50655 }
50656
50657 # Cleanup temporary files and output
50658 CleanUp() {
50659 cd ${D}curDir
50660 for i in ${D}inputFiles ; do
50661 case ${D}i in
50662 *!)
50663 rm -rf \`basnam ${D}i !\`
50664 ;;
50665 *)
50666 ;;
50667 esac
50668 done
50669
50670 # Kill result in case of failure as there is just to many stupid make/nmake
50671 # things out there which doesn't do this.
50672 if [ ${D}# -eq 0 ]; then
50673 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50674 fi
50675 }
50676
50677 # Print usage and exit script with rc=1.
50678 PrintHelp() {
50679 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50680 echo ' [-name-mangler-script script.sh]'
50681 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50682 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50683 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50684 echo ' [*.o] [*.a]'
50685 echo '*> "output_file" should have no extension.'
50686 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50687 echo ' The import library name is derived from this and is set to "name".a,'
50688 echo ' unless overridden by -import'
50689 echo '*> "importlib_name" should have no extension.'
50690 echo ' If it has the .o, or .a extension, it is automatically removed.'
50691 echo ' This name is used as the import library name and may be longer and'
50692 echo ' more descriptive than the DLL name which has to follow the old '
50693 echo ' 8.3 convention of FAT.'
50694 echo '*> "script.sh may be given to override the output_file name by a'
50695 echo ' different name. It is mainly useful if the regular make process'
50696 echo ' of some package does not take into account OS/2 restriction of'
50697 echo ' DLL name lengths. It takes the importlib name as input and is'
50698 echo ' supposed to procude a shorter name as output. The script should'
50699 echo ' expect to get importlib_name without extension and should produce'
50700 echo ' a (max.) 8 letter name without extension.'
50701 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50702 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50703 echo ' These flags will be put at the start of GCC command line.'
50704 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50705 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50706 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50707 echo ' If the last character of a symbol is "*", all symbols beginning'
50708 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50709 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50710 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50711 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50712 echo ' C runtime DLLs.'
50713 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50714 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50715 echo ' unchanged to GCC at the end of command line.'
50716 echo '*> If you create a DLL from a library and you do not specify -o,'
50717 echo ' the basename for DLL and import library will be set to library name,'
50718 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50719 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50720 echo ' library will be renamed into gcc_s.a.'
50721 echo '--------'
50722 echo 'Example:'
50723 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50724 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50725 CleanUp
50726 exit 1
50727 }
50728
50729 # Execute a command.
50730 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50731 # @Uses Whatever CleanUp() uses.
50732 doCommand() {
50733 echo "${D}*"
50734 eval ${D}*
50735 rcCmd=${D}?
50736
50737 if [ ${D}rcCmd -ne 0 ]; then
50738 echo "command failed, exit code="${D}rcCmd
50739 CleanUp
50740 exit ${D}rcCmd
50741 fi
50742 }
50743
50744 # main routine
50745 # setup globals
50746 cmdLine=${D}*
50747 outFile=""
50748 outimpFile=""
50749 inputFiles=""
50750 renameScript=""
50751 description=""
50752 CC=gcc.exe
50753 CFLAGS="-s -Zcrtdll"
50754 EXTRA_CFLAGS=""
50755 EXPORT_BY_ORDINALS=0
50756 exclude_symbols=""
50757 library_flags=""
50758 curDir=\`pwd\`
50759 curDirS=curDir
50760 case ${D}curDirS in
50761 */)
50762 ;;
50763 *)
50764 curDirS=${D}{curDirS}"/"
50765 ;;
50766 esac
50767 # Parse commandline
50768 libsToLink=0
50769 omfLinking=0
50770 while [ ${D}1 ]; do
50771 case ${D}1 in
50772 -ord*)
50773 EXPORT_BY_ORDINALS=1;
50774 ;;
50775 -o*)
50776 shift
50777 outFile=${D}1
50778 ;;
50779 -i*)
50780 shift
50781 outimpFile=${D}1
50782 ;;
50783 -name-mangler-script)
50784 shift
50785 renameScript=${D}1
50786 ;;
50787 -d*)
50788 shift
50789 description=${D}1
50790 ;;
50791 -f*)
50792 shift
50793 CFLAGS=${D}1
50794 ;;
50795 -c*)
50796 shift
50797 CC=${D}1
50798 ;;
50799 -h*)
50800 PrintHelp
50801 ;;
50802 -ex*)
50803 shift
50804 exclude_symbols=${D}{exclude_symbols}${D}1" "
50805 ;;
50806 -libf*)
50807 shift
50808 library_flags=${D}{library_flags}${D}1" "
50809 ;;
50810 -nocrt*)
50811 CFLAGS="-s"
50812 ;;
50813 -nolxl*)
50814 flag_USE_LXLITE=0
50815 ;;
50816 -* | /*)
50817 case ${D}1 in
50818 -L* | -l*)
50819 libsToLink=1
50820 ;;
50821 -Zomf)
50822 omfLinking=1
50823 ;;
50824 *)
50825 ;;
50826 esac
50827 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50828 ;;
50829 *.dll)
50830 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50831 if [ ${D}omfLinking -eq 1 ]; then
50832 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50833 else
50834 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50835 fi
50836 ;;
50837 *)
50838 found=0;
50839 if [ ${D}libsToLink -ne 0 ]; then
50840 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50841 else
50842 for file in ${D}1 ; do
50843 if [ -f ${D}file ]; then
50844 inputFiles="${D}{inputFiles} ${D}file"
50845 found=1
50846 fi
50847 done
50848 if [ ${D}found -eq 0 ]; then
50849 echo "ERROR: No file(s) found: "${D}1
50850 exit 8
50851 fi
50852 fi
50853 ;;
50854 esac
50855 shift
50856 done # iterate cmdline words
50857
50858 #
50859 if [ -z "${D}inputFiles" ]; then
50860 echo "dllar: no input files"
50861 PrintHelp
50862 fi
50863
50864 # Now extract all .o files from .a files
50865 newInputFiles=""
50866 for file in ${D}inputFiles ; do
50867 case ${D}file in
50868 *.a | *.lib)
50869 case ${D}file in
50870 *.a)
50871 suffix=".a"
50872 AR="ar"
50873 ;;
50874 *.lib)
50875 suffix=".lib"
50876 AR="emxomfar"
50877 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50878 ;;
50879 *)
50880 ;;
50881 esac
50882 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50883 mkdir ${D}dirname
50884 if [ ${D}? -ne 0 ]; then
50885 echo "Failed to create subdirectory ./${D}dirname"
50886 CleanUp
50887 exit 8;
50888 fi
50889 # Append '!' to indicate archive
50890 newInputFiles="${D}newInputFiles ${D}{dirname}!"
50891 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
50892 cd ${D}curDir
50893 found=0;
50894 for subfile in ${D}dirname/*.o* ; do
50895 if [ -f ${D}subfile ]; then
50896 found=1
50897 if [ -s ${D}subfile ]; then
50898 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
50899 newInputFiles="${D}newInputFiles ${D}subfile"
50900 fi
50901 fi
50902 done
50903 if [ ${D}found -eq 0 ]; then
50904 echo "WARNING: there are no files in archive \\'${D}file\\'"
50905 fi
50906 ;;
50907 *)
50908 newInputFiles="${D}{newInputFiles} ${D}file"
50909 ;;
50910 esac
50911 done
50912 inputFiles="${D}newInputFiles"
50913
50914 # Output filename(s).
50915 do_backup=0;
50916 if [ -z ${D}outFile ]; then
50917 do_backup=1;
50918 set outFile ${D}inputFiles; outFile=${D}2
50919 fi
50920
50921 # If it is an archive, remove the '!' and the '_%' suffixes
50922 case ${D}outFile in
50923 *_%!)
50924 outFile=\`basnam ${D}outFile _%!\`
50925 ;;
50926 *)
50927 ;;
50928 esac
50929 case ${D}outFile in
50930 *.dll)
50931 outFile=\`basnam ${D}outFile .dll\`
50932 ;;
50933 *.DLL)
50934 outFile=\`basnam ${D}outFile .DLL\`
50935 ;;
50936 *.o)
50937 outFile=\`basnam ${D}outFile .o\`
50938 ;;
50939 *.obj)
50940 outFile=\`basnam ${D}outFile .obj\`
50941 ;;
50942 *.a)
50943 outFile=\`basnam ${D}outFile .a\`
50944 ;;
50945 *.lib)
50946 outFile=\`basnam ${D}outFile .lib\`
50947 ;;
50948 *)
50949 ;;
50950 esac
50951 case ${D}outimpFile in
50952 *.a)
50953 outimpFile=\`basnam ${D}outimpFile .a\`
50954 ;;
50955 *.lib)
50956 outimpFile=\`basnam ${D}outimpFile .lib\`
50957 ;;
50958 *)
50959 ;;
50960 esac
50961 if [ -z ${D}outimpFile ]; then
50962 outimpFile=${D}outFile
50963 fi
50964 defFile="${D}{outFile}.def"
50965 arcFile="${D}{outimpFile}.a"
50966 arcFile2="${D}{outimpFile}.lib"
50967
50968 #create ${D}dllFile as something matching 8.3 restrictions,
50969 if [ -z ${D}renameScript ] ; then
50970 dllFile="${D}outFile"
50971 else
50972 dllFile=\`${D}renameScript ${D}outimpFile\`
50973 fi
50974
50975 if [ ${D}do_backup -ne 0 ] ; then
50976 if [ -f ${D}arcFile ] ; then
50977 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
50978 fi
50979 if [ -f ${D}arcFile2 ] ; then
50980 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
50981 fi
50982 fi
50983
50984 # Extract public symbols from all the object files.
50985 tmpdefFile=${D}{defFile}_%
50986 rm -f ${D}tmpdefFile
50987 for file in ${D}inputFiles ; do
50988 case ${D}file in
50989 *!)
50990 ;;
50991 *)
50992 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50993 ;;
50994 esac
50995 done
50996
50997 # Create the def file.
50998 rm -f ${D}defFile
50999 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51000 dllFile="${D}{dllFile}.dll"
51001 if [ ! -z ${D}description ]; then
51002 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51003 fi
51004 echo "EXPORTS" >> ${D}defFile
51005
51006 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51007 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51008
51009 # Checks if the export is ok or not.
51010 for word in ${D}exclude_symbols; do
51011 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51012 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51013 done
51014
51015
51016 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51017 sed "=" < ${D}tmpdefFile | \\
51018 sed '
51019 N
51020 : loop
51021 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51022 t loop
51023 ' > ${D}{tmpdefFile}%
51024 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51025 else
51026 rm -f ${D}{tmpdefFile}%
51027 fi
51028 cat ${D}tmpdefFile >> ${D}defFile
51029 rm -f ${D}tmpdefFile
51030
51031 # Do linking, create implib, and apply lxlite.
51032 gccCmdl="";
51033 for file in ${D}inputFiles ; do
51034 case ${D}file in
51035 *!)
51036 ;;
51037 *)
51038 gccCmdl="${D}gccCmdl ${D}file"
51039 ;;
51040 esac
51041 done
51042 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51043 touch "${D}{outFile}.dll"
51044
51045 doCommand "emximp -o ${D}arcFile ${D}defFile"
51046 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51047 add_flags="";
51048 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51049 add_flags="-ynd"
51050 fi
51051 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51052 fi
51053 doCommand "emxomf -s -l ${D}arcFile"
51054
51055 # Successful exit.
51056 CleanUp 1
51057 exit 0
51058 EOF
51059
51060 chmod +x dllar.sh
51061 ;;
51062
51063 powerpc-apple-macos* | \
51064 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51065 *-*-mirbsd* | \
51066 *-*-sunos4* | \
51067 *-*-osf* | \
51068 *-*-dgux5* | \
51069 *-*-sysv5* | \
51070 *-pc-msdosdjgpp )
51071 ;;
51072
51073 *)
51074 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51075 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51076 { (exit 1); exit 1; }; }
51077 esac
51078
51079 if test "x$PIC_FLAG" != "x" ; then
51080 PIC_FLAG="$PIC_FLAG -DPIC"
51081 fi
51082
51083 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51084 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51085 fi
51086 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51087 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51088 fi
51089
51090
51091
51092
51093
51094
51095
51096
51097
51098 USE_SOVERSION=0
51099 USE_SOVERLINUX=0
51100 USE_SOVERSOLARIS=0
51101 USE_SOVERCYGWIN=0
51102 USE_SOTWOSYMLINKS=0
51103 USE_MACVERSION=0
51104 SONAME_FLAG=
51105
51106 case "${BAKEFILE_HOST}" in
51107 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51108 *-*-k*bsd*-gnu | *-*-mirbsd* )
51109 if test "x$SUNCXX" = "xyes"; then
51110 SONAME_FLAG="-h "
51111 else
51112 SONAME_FLAG="-Wl,-soname,"
51113 fi
51114 USE_SOVERSION=1
51115 USE_SOVERLINUX=1
51116 USE_SOTWOSYMLINKS=1
51117 ;;
51118
51119 *-*-solaris2* )
51120 SONAME_FLAG="-h "
51121 USE_SOVERSION=1
51122 USE_SOVERSOLARIS=1
51123 ;;
51124
51125 *-*-darwin* )
51126 USE_MACVERSION=1
51127 USE_SOVERSION=1
51128 USE_SOTWOSYMLINKS=1
51129 ;;
51130
51131 *-*-cygwin* )
51132 USE_SOVERSION=1
51133 USE_SOVERCYGWIN=1
51134 ;;
51135 esac
51136
51137
51138
51139
51140
51141
51142
51143
51144
51145
51146 # Check whether --enable-dependency-tracking was given.
51147 if test "${enable_dependency_tracking+set}" = set; then
51148 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51149 fi
51150
51151
51152 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51153 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51154
51155 BK_DEPS=""
51156 if test "x$bk_use_trackdeps" = "xno" ; then
51157 DEPS_TRACKING=0
51158 { echo "$as_me:$LINENO: result: disabled" >&5
51159 echo "${ECHO_T}disabled" >&6; }
51160 else
51161 DEPS_TRACKING=1
51162
51163 if test "x$GCC" = "xyes"; then
51164 DEPSMODE=gcc
51165 case "${BAKEFILE_HOST}" in
51166 *-*-darwin* )
51167 DEPSFLAG="-no-cpp-precomp -MMD"
51168 ;;
51169 * )
51170 DEPSFLAG="-MMD"
51171 ;;
51172 esac
51173 { echo "$as_me:$LINENO: result: gcc" >&5
51174 echo "${ECHO_T}gcc" >&6; }
51175 elif test "x$MWCC" = "xyes"; then
51176 DEPSMODE=mwcc
51177 DEPSFLAG="-MM"
51178 { echo "$as_me:$LINENO: result: mwcc" >&5
51179 echo "${ECHO_T}mwcc" >&6; }
51180 elif test "x$SUNCC" = "xyes"; then
51181 DEPSMODE=unixcc
51182 DEPSFLAG="-xM1"
51183 { echo "$as_me:$LINENO: result: Sun cc" >&5
51184 echo "${ECHO_T}Sun cc" >&6; }
51185 elif test "x$SGICC" = "xyes"; then
51186 DEPSMODE=unixcc
51187 DEPSFLAG="-M"
51188 { echo "$as_me:$LINENO: result: SGI cc" >&5
51189 echo "${ECHO_T}SGI cc" >&6; }
51190 elif test "x$HPCC" = "xyes"; then
51191 DEPSMODE=unixcc
51192 DEPSFLAG="+make"
51193 { echo "$as_me:$LINENO: result: HP cc" >&5
51194 echo "${ECHO_T}HP cc" >&6; }
51195 elif test "x$COMPAQCC" = "xyes"; then
51196 DEPSMODE=gcc
51197 DEPSFLAG="-MD"
51198 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51199 echo "${ECHO_T}Compaq cc" >&6; }
51200 else
51201 DEPS_TRACKING=0
51202 { echo "$as_me:$LINENO: result: none" >&5
51203 echo "${ECHO_T}none" >&6; }
51204 fi
51205
51206 if test $DEPS_TRACKING = 1 ; then
51207
51208 D='$'
51209 cat <<EOF >bk-deps
51210 #!/bin/sh
51211
51212 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51213 # script. It is used to track C/C++ files dependencies in portable way.
51214 #
51215 # Permission is given to use this file in any way.
51216
51217 DEPSMODE=${DEPSMODE}
51218 DEPSFLAG="${DEPSFLAG}"
51219 DEPSDIRBASE=.deps
51220
51221 if test ${D}DEPSMODE = gcc ; then
51222 ${D}* ${D}{DEPSFLAG}
51223 status=${D}?
51224
51225 # determine location of created files:
51226 while test ${D}# -gt 0; do
51227 case "${D}1" in
51228 -o )
51229 shift
51230 objfile=${D}1
51231 ;;
51232 -* )
51233 ;;
51234 * )
51235 srcfile=${D}1
51236 ;;
51237 esac
51238 shift
51239 done
51240 objfilebase=\`basename ${D}objfile\`
51241 builddir=\`dirname ${D}objfile\`
51242 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51243 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51244 depsdir=${D}builddir/${D}DEPSDIRBASE
51245 mkdir -p ${D}depsdir
51246
51247 # if the compiler failed, we're done:
51248 if test ${D}{status} != 0 ; then
51249 rm -f ${D}depfile
51250 exit ${D}{status}
51251 fi
51252
51253 # move created file to the location we want it in:
51254 if test -f ${D}depfile ; then
51255 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51256 rm -f ${D}depfile
51257 else
51258 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51259 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51260 if test ! -f ${D}depfile ; then
51261 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51262 depfile="${D}objfile.d"
51263 fi
51264 if test -f ${D}depfile ; then
51265 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51266 rm -f ${D}depfile
51267 fi
51268 fi
51269 exit 0
51270
51271 elif test ${D}DEPSMODE = mwcc ; then
51272 ${D}* || exit ${D}?
51273 # Run mwcc again with -MM and redirect into the dep file we want
51274 # NOTE: We can't use shift here because we need ${D}* to be valid
51275 prevarg=
51276 for arg in ${D}* ; do
51277 if test "${D}prevarg" = "-o"; then
51278 objfile=${D}arg
51279 else
51280 case "${D}arg" in
51281 -* )
51282 ;;
51283 * )
51284 srcfile=${D}arg
51285 ;;
51286 esac
51287 fi
51288 prevarg="${D}arg"
51289 done
51290
51291 objfilebase=\`basename ${D}objfile\`
51292 builddir=\`dirname ${D}objfile\`
51293 depsdir=${D}builddir/${D}DEPSDIRBASE
51294 mkdir -p ${D}depsdir
51295
51296 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51297 exit 0
51298
51299 elif test ${D}DEPSMODE = unixcc; then
51300 ${D}* || exit ${D}?
51301 # Run compiler again with deps flag and redirect into the dep file.
51302 # It doesn't work if the '-o FILE' option is used, but without it the
51303 # dependency file will contain the wrong name for the object. So it is
51304 # removed from the command line, and the dep file is fixed with sed.
51305 cmd=""
51306 while test ${D}# -gt 0; do
51307 case "${D}1" in
51308 -o )
51309 shift
51310 objfile=${D}1
51311 ;;
51312 * )
51313 eval arg${D}#=\\${D}1
51314 cmd="${D}cmd \\${D}arg${D}#"
51315 ;;
51316 esac
51317 shift
51318 done
51319
51320 objfilebase=\`basename ${D}objfile\`
51321 builddir=\`dirname ${D}objfile\`
51322 depsdir=${D}builddir/${D}DEPSDIRBASE
51323 mkdir -p ${D}depsdir
51324
51325 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51326 exit 0
51327
51328 else
51329 ${D}*
51330 exit ${D}?
51331 fi
51332 EOF
51333
51334 chmod +x bk-deps
51335 BK_DEPS="`pwd`/bk-deps"
51336 fi
51337 fi
51338
51339
51340
51341
51342
51343 case ${BAKEFILE_HOST} in
51344 *-*-cygwin* | *-*-mingw32* )
51345 if test -n "$ac_tool_prefix"; then
51346 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51347 set dummy ${ac_tool_prefix}windres; ac_word=$2
51348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51350 if test "${ac_cv_prog_WINDRES+set}" = set; then
51351 echo $ECHO_N "(cached) $ECHO_C" >&6
51352 else
51353 if test -n "$WINDRES"; then
51354 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51355 else
51356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51357 for as_dir in $PATH
51358 do
51359 IFS=$as_save_IFS
51360 test -z "$as_dir" && as_dir=.
51361 for ac_exec_ext in '' $ac_executable_extensions; do
51362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51363 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51365 break 2
51366 fi
51367 done
51368 done
51369 IFS=$as_save_IFS
51370
51371 fi
51372 fi
51373 WINDRES=$ac_cv_prog_WINDRES
51374 if test -n "$WINDRES"; then
51375 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51376 echo "${ECHO_T}$WINDRES" >&6; }
51377 else
51378 { echo "$as_me:$LINENO: result: no" >&5
51379 echo "${ECHO_T}no" >&6; }
51380 fi
51381
51382
51383 fi
51384 if test -z "$ac_cv_prog_WINDRES"; then
51385 ac_ct_WINDRES=$WINDRES
51386 # Extract the first word of "windres", so it can be a program name with args.
51387 set dummy windres; ac_word=$2
51388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51390 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51391 echo $ECHO_N "(cached) $ECHO_C" >&6
51392 else
51393 if test -n "$ac_ct_WINDRES"; then
51394 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51395 else
51396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51397 for as_dir in $PATH
51398 do
51399 IFS=$as_save_IFS
51400 test -z "$as_dir" && as_dir=.
51401 for ac_exec_ext in '' $ac_executable_extensions; do
51402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51403 ac_cv_prog_ac_ct_WINDRES="windres"
51404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51405 break 2
51406 fi
51407 done
51408 done
51409 IFS=$as_save_IFS
51410
51411 fi
51412 fi
51413 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51414 if test -n "$ac_ct_WINDRES"; then
51415 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51416 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51417 else
51418 { echo "$as_me:$LINENO: result: no" >&5
51419 echo "${ECHO_T}no" >&6; }
51420 fi
51421
51422 if test "x$ac_ct_WINDRES" = x; then
51423 WINDRES=""
51424 else
51425 case $cross_compiling:$ac_tool_warned in
51426 yes:)
51427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51428 whose name does not start with the host triplet. If you think this
51429 configuration is useful to you, please write to autoconf@gnu.org." >&5
51430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51431 whose name does not start with the host triplet. If you think this
51432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51433 ac_tool_warned=yes ;;
51434 esac
51435 WINDRES=$ac_ct_WINDRES
51436 fi
51437 else
51438 WINDRES="$ac_cv_prog_WINDRES"
51439 fi
51440
51441 ;;
51442
51443 *-*-darwin* | powerpc-apple-macos* )
51444 # Extract the first word of "Rez", so it can be a program name with args.
51445 set dummy Rez; ac_word=$2
51446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51448 if test "${ac_cv_prog_REZ+set}" = set; then
51449 echo $ECHO_N "(cached) $ECHO_C" >&6
51450 else
51451 if test -n "$REZ"; then
51452 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51453 else
51454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51455 for as_dir in $PATH
51456 do
51457 IFS=$as_save_IFS
51458 test -z "$as_dir" && as_dir=.
51459 for ac_exec_ext in '' $ac_executable_extensions; do
51460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51461 ac_cv_prog_REZ="Rez"
51462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51463 break 2
51464 fi
51465 done
51466 done
51467 IFS=$as_save_IFS
51468
51469 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51470 fi
51471 fi
51472 REZ=$ac_cv_prog_REZ
51473 if test -n "$REZ"; then
51474 { echo "$as_me:$LINENO: result: $REZ" >&5
51475 echo "${ECHO_T}$REZ" >&6; }
51476 else
51477 { echo "$as_me:$LINENO: result: no" >&5
51478 echo "${ECHO_T}no" >&6; }
51479 fi
51480
51481
51482 # Extract the first word of "SetFile", so it can be a program name with args.
51483 set dummy SetFile; ac_word=$2
51484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51486 if test "${ac_cv_prog_SETFILE+set}" = set; then
51487 echo $ECHO_N "(cached) $ECHO_C" >&6
51488 else
51489 if test -n "$SETFILE"; then
51490 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51491 else
51492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51493 for as_dir in $PATH
51494 do
51495 IFS=$as_save_IFS
51496 test -z "$as_dir" && as_dir=.
51497 for ac_exec_ext in '' $ac_executable_extensions; do
51498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51499 ac_cv_prog_SETFILE="SetFile"
51500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51501 break 2
51502 fi
51503 done
51504 done
51505 IFS=$as_save_IFS
51506
51507 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51508 fi
51509 fi
51510 SETFILE=$ac_cv_prog_SETFILE
51511 if test -n "$SETFILE"; then
51512 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51513 echo "${ECHO_T}$SETFILE" >&6; }
51514 else
51515 { echo "$as_me:$LINENO: result: no" >&5
51516 echo "${ECHO_T}no" >&6; }
51517 fi
51518
51519
51520 ;;
51521 esac
51522
51523
51524
51525
51526
51527
51528
51529
51530
51531 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
51532
51533
51534 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
51535
51536
51537
51538 # Check whether --enable-precomp-headers was given.
51539 if test "${enable_precomp_headers+set}" = set; then
51540 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51541 fi
51542
51543
51544 GCC_PCH=0
51545 ICC_PCH=0
51546 USE_PCH=0
51547 BK_MAKE_PCH=""
51548
51549 case ${BAKEFILE_HOST} in
51550 *-*-cygwin* )
51551 bk_use_pch="no"
51552 ;;
51553 esac
51554
51555 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51556 if test "x$GCC" = "xyes"; then
51557 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51558 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51559 cat >conftest.$ac_ext <<_ACEOF
51560 /* confdefs.h. */
51561 _ACEOF
51562 cat confdefs.h >>conftest.$ac_ext
51563 cat >>conftest.$ac_ext <<_ACEOF
51564 /* end confdefs.h. */
51565
51566 int
51567 main ()
51568 {
51569
51570 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51571 There is no PCH support
51572 #endif
51573 #if (__GNUC__ < 3)
51574 There is no PCH support
51575 #endif
51576 #if (__GNUC__ == 3) && \
51577 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51578 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51579 ( defined(__INTEL_COMPILER) )
51580 There is no PCH support
51581 #endif
51582
51583 ;
51584 return 0;
51585 }
51586 _ACEOF
51587 rm -f conftest.$ac_objext
51588 if { (ac_try="$ac_compile"
51589 case "(($ac_try" in
51590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51591 *) ac_try_echo=$ac_try;;
51592 esac
51593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51594 (eval "$ac_compile") 2>conftest.er1
51595 ac_status=$?
51596 grep -v '^ *+' conftest.er1 >conftest.err
51597 rm -f conftest.er1
51598 cat conftest.err >&5
51599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51600 (exit $ac_status); } && {
51601 test -z "$ac_c_werror_flag" ||
51602 test ! -s conftest.err
51603 } && test -s conftest.$ac_objext; then
51604
51605 { echo "$as_me:$LINENO: result: yes" >&5
51606 echo "${ECHO_T}yes" >&6; }
51607 GCC_PCH=1
51608
51609 else
51610 echo "$as_me: failed program was:" >&5
51611 sed 's/^/| /' conftest.$ac_ext >&5
51612
51613
51614 if test "$INTELCXX8" = "yes"; then
51615 { echo "$as_me:$LINENO: result: yes" >&5
51616 echo "${ECHO_T}yes" >&6; }
51617 ICC_PCH=1
51618 if test "$INTELCXX10" = "yes"; then
51619 ICC_PCH_CREATE_SWITCH="-pch-create"
51620 ICC_PCH_USE_SWITCH="-pch-use"
51621 else
51622 ICC_PCH_CREATE_SWITCH="-create-pch"
51623 ICC_PCH_USE_SWITCH="-use-pch"
51624 fi
51625 else
51626 { echo "$as_me:$LINENO: result: no" >&5
51627 echo "${ECHO_T}no" >&6; }
51628 fi
51629
51630 fi
51631
51632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51633 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51634 USE_PCH=1
51635
51636 D='$'
51637 cat <<EOF >bk-make-pch
51638 #!/bin/sh
51639
51640 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51641 # script. It is used to generated precompiled headers.
51642 #
51643 # Permission is given to use this file in any way.
51644
51645 outfile="${D}{1}"
51646 header="${D}{2}"
51647 shift
51648 shift
51649
51650 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
51651
51652 compiler=""
51653 headerfile=""
51654
51655 while test ${D}{#} -gt 0; do
51656 add_to_cmdline=1
51657 case "${D}{1}" in
51658 -I* )
51659 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51660 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51661 headerfile="${D}{incdir}/${D}{header}"
51662 fi
51663 ;;
51664 -use-pch|-use_pch|-pch-use )
51665 shift
51666 add_to_cmdline=0
51667 ;;
51668 esac
51669 if test ${D}add_to_cmdline = 1 ; then
51670 compiler="${D}{compiler} ${D}{1}"
51671 fi
51672 shift
51673 done
51674
51675 if test "x${D}{headerfile}" = "x" ; then
51676 echo "error: can't find header ${D}{header} in include paths" >&2
51677 else
51678 if test -f ${D}{outfile} ; then
51679 rm -f ${D}{outfile}
51680 else
51681 mkdir -p \`dirname ${D}{outfile}\`
51682 fi
51683 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51684 mkdir -p ${D}{builddir}/.deps
51685 if test "x${GCC_PCH}" = "x1" ; then
51686 # can do this because gcc is >= 3.4:
51687 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51688 elif test "x${ICC_PCH}" = "x1" ; then
51689 filename=pch_gen-${D}${D}
51690 file=${D}{filename}.c
51691 dfile=${D}{filename}.d
51692 cat > ${D}file <<EOT
51693 #include "${D}header"
51694 EOT
51695 # using -MF icc complains about differing command lines in creation/use
51696 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
51697 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51698 rm -f ${D}file ${D}dfile ${D}{filename}.o
51699 fi
51700 exit ${D}{?}
51701 fi
51702 EOF
51703
51704 chmod +x bk-make-pch
51705 BK_MAKE_PCH="`pwd`/bk-make-pch"
51706 fi
51707 fi
51708 fi
51709
51710
51711
51712
51713
51714
51715
51716 COND_BUILD_DEBUG="#"
51717 if test "x$BUILD" = "xdebug" ; then
51718 COND_BUILD_DEBUG=""
51719 fi
51720
51721 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51722 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51723 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51724 fi
51725
51726 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51727 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51728 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51729 fi
51730
51731 COND_BUILD_DEBUG_UNICODE_0="#"
51732 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51733 COND_BUILD_DEBUG_UNICODE_0=""
51734 fi
51735
51736 COND_BUILD_DEBUG_UNICODE_1="#"
51737 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51738 COND_BUILD_DEBUG_UNICODE_1=""
51739 fi
51740
51741 COND_BUILD_RELEASE="#"
51742 if test "x$BUILD" = "xrelease" ; then
51743 COND_BUILD_RELEASE=""
51744 fi
51745
51746 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51747 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51748 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51749 fi
51750
51751 COND_BUILD_RELEASE_UNICODE_0="#"
51752 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51753 COND_BUILD_RELEASE_UNICODE_0=""
51754 fi
51755
51756 COND_BUILD_RELEASE_UNICODE_1="#"
51757 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51758 COND_BUILD_RELEASE_UNICODE_1=""
51759 fi
51760
51761 COND_BUILD_debug="#"
51762 if test "x$BUILD" = "xdebug" ; then
51763 COND_BUILD_debug=""
51764 fi
51765
51766 COND_BUILD_debug_DEBUG_FLAG_default="#"
51767 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51768 COND_BUILD_debug_DEBUG_FLAG_default=""
51769 fi
51770
51771 COND_BUILD_debug_DEBUG_INFO_default="#"
51772 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51773 COND_BUILD_debug_DEBUG_INFO_default=""
51774 fi
51775
51776 COND_BUILD_debug_UNICODE_0="#"
51777 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51778 COND_BUILD_debug_UNICODE_0=""
51779 fi
51780
51781 COND_BUILD_debug_UNICODE_1="#"
51782 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51783 COND_BUILD_debug_UNICODE_1=""
51784 fi
51785
51786 COND_BUILD_release="#"
51787 if test "x$BUILD" = "xrelease" ; then
51788 COND_BUILD_release=""
51789 fi
51790
51791 COND_BUILD_release_DEBUG_INFO_default="#"
51792 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51793 COND_BUILD_release_DEBUG_INFO_default=""
51794 fi
51795
51796 COND_BUILD_release_UNICODE_0="#"
51797 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51798 COND_BUILD_release_UNICODE_0=""
51799 fi
51800
51801 COND_BUILD_release_UNICODE_1="#"
51802 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51803 COND_BUILD_release_UNICODE_1=""
51804 fi
51805
51806 COND_DEBUG_FLAG_0="#"
51807 if test "x$DEBUG_FLAG" = "x0" ; then
51808 COND_DEBUG_FLAG_0=""
51809 fi
51810
51811 COND_DEBUG_FLAG_1="#"
51812 if test "x$DEBUG_FLAG" = "x1" ; then
51813 COND_DEBUG_FLAG_1=""
51814 fi
51815
51816 COND_DEBUG_INFO_0="#"
51817 if test "x$DEBUG_INFO" = "x0" ; then
51818 COND_DEBUG_INFO_0=""
51819 fi
51820
51821 COND_DEBUG_INFO_1="#"
51822 if test "x$DEBUG_INFO" = "x1" ; then
51823 COND_DEBUG_INFO_1=""
51824 fi
51825
51826 COND_DEPS_TRACKING_0="#"
51827 if test "x$DEPS_TRACKING" = "x0" ; then
51828 COND_DEPS_TRACKING_0=""
51829 fi
51830
51831 COND_DEPS_TRACKING_1="#"
51832 if test "x$DEPS_TRACKING" = "x1" ; then
51833 COND_DEPS_TRACKING_1=""
51834 fi
51835
51836 COND_GCC_PCH_1="#"
51837 if test "x$GCC_PCH" = "x1" ; then
51838 COND_GCC_PCH_1=""
51839 fi
51840
51841 COND_ICC_PCH_1="#"
51842 if test "x$ICC_PCH" = "x1" ; then
51843 COND_ICC_PCH_1=""
51844 fi
51845
51846 COND_MONOLITHIC_0="#"
51847 if test "x$MONOLITHIC" = "x0" ; then
51848 COND_MONOLITHIC_0=""
51849 fi
51850
51851 COND_MONOLITHIC_0_SHARED_0="#"
51852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51853 COND_MONOLITHIC_0_SHARED_0=""
51854 fi
51855
51856 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51858 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51859 fi
51860
51861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51862 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51864 fi
51865
51866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51867 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51868 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51869 fi
51870
51871 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51872 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51873 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51874 fi
51875
51876 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51877 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51878 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51879 fi
51880
51881 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
51882 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51883 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
51884 fi
51885
51886 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
51887 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51888 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
51889 fi
51890
51891 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51893 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51894 fi
51895
51896 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51898 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51899 fi
51900
51901 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51903 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51904 fi
51905
51906 COND_MONOLITHIC_0_SHARED_1="#"
51907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51908 COND_MONOLITHIC_0_SHARED_1=""
51909 fi
51910
51911 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51913 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51914 fi
51915
51916 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51918 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51919 fi
51920
51921 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51923 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51924 fi
51925
51926 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51928 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51929 fi
51930
51931 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
51932 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51933 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
51934 fi
51935
51936 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
51937 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
51938 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
51939 fi
51940
51941 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
51942 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
51943 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
51944 fi
51945
51946 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
51947 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
51948 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
51949 fi
51950
51951 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
51952 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
51953 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
51954 fi
51955
51956 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
51957 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51958 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
51959 fi
51960
51961 COND_MONOLITHIC_0_USE_AUI_1="#"
51962 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
51963 COND_MONOLITHIC_0_USE_AUI_1=""
51964 fi
51965
51966 COND_MONOLITHIC_0_USE_GUI_1="#"
51967 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
51968 COND_MONOLITHIC_0_USE_GUI_1=""
51969 fi
51970
51971 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
51972 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51973 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
51974 fi
51975
51976 COND_MONOLITHIC_0_USE_HTML_1="#"
51977 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
51978 COND_MONOLITHIC_0_USE_HTML_1=""
51979 fi
51980
51981 COND_MONOLITHIC_0_USE_MEDIA_1="#"
51982 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
51983 COND_MONOLITHIC_0_USE_MEDIA_1=""
51984 fi
51985
51986 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
51987 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
51988 COND_MONOLITHIC_0_USE_PROPGRID_1=""
51989 fi
51990
51991 COND_MONOLITHIC_0_USE_QA_1="#"
51992 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
51993 COND_MONOLITHIC_0_USE_QA_1=""
51994 fi
51995
51996 COND_MONOLITHIC_0_USE_RIBBON_1="#"
51997 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
51998 COND_MONOLITHIC_0_USE_RIBBON_1=""
51999 fi
52000
52001 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52002 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52003 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52004 fi
52005
52006 COND_MONOLITHIC_0_USE_STC_1="#"
52007 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52008 COND_MONOLITHIC_0_USE_STC_1=""
52009 fi
52010
52011 COND_MONOLITHIC_0_USE_XRC_1="#"
52012 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52013 COND_MONOLITHIC_0_USE_XRC_1=""
52014 fi
52015
52016 COND_MONOLITHIC_1="#"
52017 if test "x$MONOLITHIC" = "x1" ; then
52018 COND_MONOLITHIC_1=""
52019 fi
52020
52021 COND_MONOLITHIC_1_SHARED_0="#"
52022 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52023 COND_MONOLITHIC_1_SHARED_0=""
52024 fi
52025
52026 COND_MONOLITHIC_1_SHARED_1="#"
52027 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52028 COND_MONOLITHIC_1_SHARED_1=""
52029 fi
52030
52031 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52032 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52033 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52034 fi
52035
52036 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52037 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52038 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52039 fi
52040
52041 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52042 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52043 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52044 fi
52045
52046 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52047 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52048 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52049 fi
52050
52051 COND_PLATFORM_MACOSX_1="#"
52052 if test "x$PLATFORM_MACOSX" = "x1" ; then
52053 COND_PLATFORM_MACOSX_1=""
52054 fi
52055
52056 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
52057 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52058 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
52059 fi
52060
52061 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
52062 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52063 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
52064 fi
52065
52066 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52067 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52068 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52069 fi
52070
52071 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52072 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52073 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52074 fi
52075
52076 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52077 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52078 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52079 fi
52080
52081 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52082 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52083 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52084 fi
52085
52086 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52087 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52088 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52089 fi
52090
52091 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52092 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52093 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52094 fi
52095
52096 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52097 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52098 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52099 fi
52100
52101 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52102 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52103 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52104 fi
52105
52106 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52107 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52108 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52109 fi
52110
52111 COND_PLATFORM_MACOS_1="#"
52112 if test "x$PLATFORM_MACOS" = "x1" ; then
52113 COND_PLATFORM_MACOS_1=""
52114 fi
52115
52116 COND_PLATFORM_MAC_0="#"
52117 if test "x$PLATFORM_MAC" = "x0" ; then
52118 COND_PLATFORM_MAC_0=""
52119 fi
52120
52121 COND_PLATFORM_MAC_1="#"
52122 if test "x$PLATFORM_MAC" = "x1" ; then
52123 COND_PLATFORM_MAC_1=""
52124 fi
52125
52126 COND_PLATFORM_MSDOS_0="#"
52127 if test "x$PLATFORM_MSDOS" = "x0" ; then
52128 COND_PLATFORM_MSDOS_0=""
52129 fi
52130
52131 COND_PLATFORM_MSDOS_1="#"
52132 if test "x$PLATFORM_MSDOS" = "x1" ; then
52133 COND_PLATFORM_MSDOS_1=""
52134 fi
52135
52136 COND_PLATFORM_OS2_1="#"
52137 if test "x$PLATFORM_OS2" = "x1" ; then
52138 COND_PLATFORM_OS2_1=""
52139 fi
52140
52141 COND_PLATFORM_UNIX_0="#"
52142 if test "x$PLATFORM_UNIX" = "x0" ; then
52143 COND_PLATFORM_UNIX_0=""
52144 fi
52145
52146 COND_PLATFORM_UNIX_1="#"
52147 if test "x$PLATFORM_UNIX" = "x1" ; then
52148 COND_PLATFORM_UNIX_1=""
52149 fi
52150
52151 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52152 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52153 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52154 fi
52155
52156 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52157 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52158 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52159 fi
52160
52161 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52162 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52163 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52164 fi
52165
52166 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52167 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52168 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52169 fi
52170
52171 COND_PLATFORM_WIN32_0="#"
52172 if test "x$PLATFORM_WIN32" = "x0" ; then
52173 COND_PLATFORM_WIN32_0=""
52174 fi
52175
52176 COND_PLATFORM_WIN32_1="#"
52177 if test "x$PLATFORM_WIN32" = "x1" ; then
52178 COND_PLATFORM_WIN32_1=""
52179 fi
52180
52181 COND_PLATFORM_WIN32_1_SHARED_0="#"
52182 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52183 COND_PLATFORM_WIN32_1_SHARED_0=""
52184 fi
52185
52186 COND_SHARED_0="#"
52187 if test "x$SHARED" = "x0" ; then
52188 COND_SHARED_0=""
52189 fi
52190
52191 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52192 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52193 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52194 fi
52195
52196 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52197 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52198 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52199 fi
52200
52201 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52202 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52203 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52204 fi
52205
52206 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52207 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52208 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52209 fi
52210
52211 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52212 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52213 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52214 fi
52215
52216 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52217 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52218 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52219 fi
52220
52221 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52222 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52223 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52224 fi
52225
52226 COND_SHARED_0_USE_STC_1="#"
52227 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52228 COND_SHARED_0_USE_STC_1=""
52229 fi
52230
52231 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52232 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52233 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52234 fi
52235
52236 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52237 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52238 COND_SHARED_0_wxUSE_REGEX_builtin=""
52239 fi
52240
52241 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52242 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52243 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52244 fi
52245
52246 COND_SHARED_1="#"
52247 if test "x$SHARED" = "x1" ; then
52248 COND_SHARED_1=""
52249 fi
52250
52251 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52252 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52253 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52254 fi
52255
52256 COND_TOOLKIT_="#"
52257 if test "x$TOOLKIT" = "x" ; then
52258 COND_TOOLKIT_=""
52259 fi
52260
52261 COND_TOOLKIT_COCOA="#"
52262 if test "x$TOOLKIT" = "xCOCOA" ; then
52263 COND_TOOLKIT_COCOA=""
52264 fi
52265
52266 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52267 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52268 COND_TOOLKIT_COCOA_USE_GUI_1=""
52269 fi
52270
52271 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52272 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52273 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52274 fi
52275
52276 COND_TOOLKIT_DFB="#"
52277 if test "x$TOOLKIT" = "xDFB" ; then
52278 COND_TOOLKIT_DFB=""
52279 fi
52280
52281 COND_TOOLKIT_DFB_USE_GUI_1="#"
52282 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52283 COND_TOOLKIT_DFB_USE_GUI_1=""
52284 fi
52285
52286 COND_TOOLKIT_GTK="#"
52287 if test "x$TOOLKIT" = "xGTK" ; then
52288 COND_TOOLKIT_GTK=""
52289 fi
52290
52291 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52292 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52293 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52294 fi
52295
52296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52297 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52298 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52299 fi
52300
52301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52302 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52303 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52304 fi
52305
52306 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52307 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52308 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52309 fi
52310
52311 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52312 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52313 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52314 fi
52315
52316 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52317 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52318 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52319 fi
52320
52321 COND_TOOLKIT_GTK_USE_GUI_1="#"
52322 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52323 COND_TOOLKIT_GTK_USE_GUI_1=""
52324 fi
52325
52326 COND_TOOLKIT_MAC="#"
52327 if test "x$TOOLKIT" = "xMAC" ; then
52328 COND_TOOLKIT_MAC=""
52329 fi
52330
52331 COND_TOOLKIT_MGL="#"
52332 if test "x$TOOLKIT" = "xMGL" ; then
52333 COND_TOOLKIT_MGL=""
52334 fi
52335
52336 COND_TOOLKIT_MGL_USE_GUI_1="#"
52337 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52338 COND_TOOLKIT_MGL_USE_GUI_1=""
52339 fi
52340
52341 COND_TOOLKIT_MOTIF="#"
52342 if test "x$TOOLKIT" = "xMOTIF" ; then
52343 COND_TOOLKIT_MOTIF=""
52344 fi
52345
52346 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52347 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52348 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52349 fi
52350
52351 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52352 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52353 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52354 fi
52355
52356 COND_TOOLKIT_MSW="#"
52357 if test "x$TOOLKIT" = "xMSW" ; then
52358 COND_TOOLKIT_MSW=""
52359 fi
52360
52361 COND_TOOLKIT_MSW_USE_GUI_1="#"
52362 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52363 COND_TOOLKIT_MSW_USE_GUI_1=""
52364 fi
52365
52366 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52367 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52368 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52369 fi
52370
52371 COND_TOOLKIT_MSW_WXUNIV_0="#"
52372 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52373 COND_TOOLKIT_MSW_WXUNIV_0=""
52374 fi
52375
52376 COND_TOOLKIT_OSX_CARBON="#"
52377 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52378 COND_TOOLKIT_OSX_CARBON=""
52379 fi
52380
52381 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52382 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52383 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52384 fi
52385
52386 COND_TOOLKIT_OSX_COCOA="#"
52387 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52388 COND_TOOLKIT_OSX_COCOA=""
52389 fi
52390
52391 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52392 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52393 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52394 fi
52395
52396 COND_TOOLKIT_OSX_IPHONE="#"
52397 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52398 COND_TOOLKIT_OSX_IPHONE=""
52399 fi
52400
52401 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52402 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52403 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52404 fi
52405
52406 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52407 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52408 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52409 fi
52410
52411 COND_TOOLKIT_PM="#"
52412 if test "x$TOOLKIT" = "xPM" ; then
52413 COND_TOOLKIT_PM=""
52414 fi
52415
52416 COND_TOOLKIT_PM_USE_GUI_1="#"
52417 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52418 COND_TOOLKIT_PM_USE_GUI_1=""
52419 fi
52420
52421 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52422 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52423 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52424 fi
52425
52426 COND_TOOLKIT_WINCE="#"
52427 if test "x$TOOLKIT" = "xWINCE" ; then
52428 COND_TOOLKIT_WINCE=""
52429 fi
52430
52431 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52432 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52433 COND_TOOLKIT_WINCE_USE_GUI_1=""
52434 fi
52435
52436 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52437 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52438 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52439 fi
52440
52441 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52442 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52443 COND_TOOLKIT_WINCE_WXUNIV_0=""
52444 fi
52445
52446 COND_TOOLKIT_X11="#"
52447 if test "x$TOOLKIT" = "xX11" ; then
52448 COND_TOOLKIT_X11=""
52449 fi
52450
52451 COND_TOOLKIT_X11_USE_GUI_1="#"
52452 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52453 COND_TOOLKIT_X11_USE_GUI_1=""
52454 fi
52455
52456 COND_UNICODE_1="#"
52457 if test "x$UNICODE" = "x1" ; then
52458 COND_UNICODE_1=""
52459 fi
52460
52461 COND_USE_CAIRO_1="#"
52462 if test "x$USE_CAIRO" = "x1" ; then
52463 COND_USE_CAIRO_1=""
52464 fi
52465
52466 COND_USE_EXCEPTIONS_0="#"
52467 if test "x$USE_EXCEPTIONS" = "x0" ; then
52468 COND_USE_EXCEPTIONS_0=""
52469 fi
52470
52471 COND_USE_EXCEPTIONS_1="#"
52472 if test "x$USE_EXCEPTIONS" = "x1" ; then
52473 COND_USE_EXCEPTIONS_1=""
52474 fi
52475
52476 COND_USE_GUI_0="#"
52477 if test "x$USE_GUI" = "x0" ; then
52478 COND_USE_GUI_0=""
52479 fi
52480
52481 COND_USE_GUI_1="#"
52482 if test "x$USE_GUI" = "x1" ; then
52483 COND_USE_GUI_1=""
52484 fi
52485
52486 COND_USE_GUI_1_USE_OPENGL_1="#"
52487 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52488 COND_USE_GUI_1_USE_OPENGL_1=""
52489 fi
52490
52491 COND_USE_GUI_1_WXUNIV_0="#"
52492 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52493 COND_USE_GUI_1_WXUNIV_0=""
52494 fi
52495
52496 COND_USE_GUI_1_WXUNIV_1="#"
52497 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52498 COND_USE_GUI_1_WXUNIV_1=""
52499 fi
52500
52501 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52502 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52503 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52504 fi
52505
52506 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52507 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52508 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52509 fi
52510
52511 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52512 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52513 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52514 fi
52515
52516 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52517 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52518 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52519 fi
52520
52521 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52522 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52523 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52524 fi
52525
52526 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52527 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52528 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52529 fi
52530
52531 COND_USE_OPENGL_1="#"
52532 if test "x$USE_OPENGL" = "x1" ; then
52533 COND_USE_OPENGL_1=""
52534 fi
52535
52536 COND_USE_PCH_1="#"
52537 if test "x$USE_PCH" = "x1" ; then
52538 COND_USE_PCH_1=""
52539 fi
52540
52541 COND_USE_PLUGINS_0="#"
52542 if test "x$USE_PLUGINS" = "x0" ; then
52543 COND_USE_PLUGINS_0=""
52544 fi
52545
52546 COND_USE_RTTI_0="#"
52547 if test "x$USE_RTTI" = "x0" ; then
52548 COND_USE_RTTI_0=""
52549 fi
52550
52551 COND_USE_RTTI_1="#"
52552 if test "x$USE_RTTI" = "x1" ; then
52553 COND_USE_RTTI_1=""
52554 fi
52555
52556 COND_USE_SOTWOSYMLINKS_1="#"
52557 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52558 COND_USE_SOTWOSYMLINKS_1=""
52559 fi
52560
52561 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52562 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52563 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52564 fi
52565
52566 COND_USE_SOVERLINUX_1="#"
52567 if test "x$USE_SOVERLINUX" = "x1" ; then
52568 COND_USE_SOVERLINUX_1=""
52569 fi
52570
52571 COND_USE_SOVERSION_0="#"
52572 if test "x$USE_SOVERSION" = "x0" ; then
52573 COND_USE_SOVERSION_0=""
52574 fi
52575
52576 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52577 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52578 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52579 fi
52580
52581 COND_USE_SOVERSOLARIS_1="#"
52582 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52583 COND_USE_SOVERSOLARIS_1=""
52584 fi
52585
52586 COND_USE_STC_1="#"
52587 if test "x$USE_STC" = "x1" ; then
52588 COND_USE_STC_1=""
52589 fi
52590
52591 COND_USE_THREADS_0="#"
52592 if test "x$USE_THREADS" = "x0" ; then
52593 COND_USE_THREADS_0=""
52594 fi
52595
52596 COND_USE_THREADS_1="#"
52597 if test "x$USE_THREADS" = "x1" ; then
52598 COND_USE_THREADS_1=""
52599 fi
52600
52601 COND_USE_XRC_1="#"
52602 if test "x$USE_XRC" = "x1" ; then
52603 COND_USE_XRC_1=""
52604 fi
52605
52606 COND_WINDOWS_IMPLIB_1="#"
52607 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52608 COND_WINDOWS_IMPLIB_1=""
52609 fi
52610
52611 COND_WITH_PLUGIN_SDL_1="#"
52612 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52613 COND_WITH_PLUGIN_SDL_1=""
52614 fi
52615
52616 COND_WXUNIV_0="#"
52617 if test "x$WXUNIV" = "x0" ; then
52618 COND_WXUNIV_0=""
52619 fi
52620
52621 COND_WXUNIV_1="#"
52622 if test "x$WXUNIV" = "x1" ; then
52623 COND_WXUNIV_1=""
52624 fi
52625
52626 COND_WXUSE_EXPAT_BUILTIN="#"
52627 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52628 COND_WXUSE_EXPAT_BUILTIN=""
52629 fi
52630
52631 COND_WXUSE_LIBJPEG_BUILTIN="#"
52632 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52633 COND_WXUSE_LIBJPEG_BUILTIN=""
52634 fi
52635
52636 COND_WXUSE_LIBPNG_BUILTIN="#"
52637 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52638 COND_WXUSE_LIBPNG_BUILTIN=""
52639 fi
52640
52641 COND_WXUSE_LIBTIFF_BUILTIN="#"
52642 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52643 COND_WXUSE_LIBTIFF_BUILTIN=""
52644 fi
52645
52646 COND_WXUSE_REGEX_BUILTIN="#"
52647 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52648 COND_WXUSE_REGEX_BUILTIN=""
52649 fi
52650
52651 COND_WXUSE_ZLIB_BUILTIN="#"
52652 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52653 COND_WXUSE_ZLIB_BUILTIN=""
52654 fi
52655
52656 COND_wxUSE_EXPAT_builtin="#"
52657 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52658 COND_wxUSE_EXPAT_builtin=""
52659 fi
52660
52661 COND_wxUSE_LIBJPEG_builtin="#"
52662 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52663 COND_wxUSE_LIBJPEG_builtin=""
52664 fi
52665
52666 COND_wxUSE_LIBPNG_builtin="#"
52667 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52668 COND_wxUSE_LIBPNG_builtin=""
52669 fi
52670
52671 COND_wxUSE_LIBTIFF_builtin="#"
52672 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52673 COND_wxUSE_LIBTIFF_builtin=""
52674 fi
52675
52676 COND_wxUSE_REGEX_builtin="#"
52677 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52678 COND_wxUSE_REGEX_builtin=""
52679 fi
52680
52681 COND_wxUSE_ZLIB_builtin="#"
52682 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52683 COND_wxUSE_ZLIB_builtin=""
52684 fi
52685
52686
52687
52688 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52689 { { 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
52690 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;}
52691 { (exit 1); exit 1; }; }
52692 fi
52693
52694 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52695 { { 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
52696 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;}
52697 { (exit 1); exit 1; }; }
52698 fi
52699
52700
52701 case ${INSTALL} in
52702 /* ) # Absolute
52703 ;;
52704 ?:* ) # Drive letter, considered as absolute.
52705 ;;
52706 *)
52707 INSTALL=`pwd`/${INSTALL} ;;
52708 esac
52709
52710 if test "$wxUSE_GUI" = "yes"; then
52711
52712 if test "$wxUSE_MSW" = 1 ; then
52713 if test "x$WINDRES" = "x"; then
52714 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52715 echo "$as_me: error: Required windres program not found" >&2;}
52716 { (exit 1); exit 1; }; }
52717 fi
52718
52719 RESCOMP="$WINDRES"
52720 fi
52721
52722 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
52723 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52724 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52725
52726 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52727
52728 # Extract the first word of "DeRez", so it can be a program name with args.
52729 set dummy DeRez; ac_word=$2
52730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52732 if test "${ac_cv_prog_DEREZ+set}" = set; then
52733 echo $ECHO_N "(cached) $ECHO_C" >&6
52734 else
52735 if test -n "$DEREZ"; then
52736 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52737 else
52738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52739 for as_dir in $PATH
52740 do
52741 IFS=$as_save_IFS
52742 test -z "$as_dir" && as_dir=.
52743 for ac_exec_ext in '' $ac_executable_extensions; do
52744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52745 ac_cv_prog_DEREZ="DeRez"
52746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52747 break 2
52748 fi
52749 done
52750 done
52751 IFS=$as_save_IFS
52752
52753 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52754 fi
52755 fi
52756 DEREZ=$ac_cv_prog_DEREZ
52757 if test -n "$DEREZ"; then
52758 { echo "$as_me:$LINENO: result: $DEREZ" >&5
52759 echo "${ECHO_T}$DEREZ" >&6; }
52760 else
52761 { echo "$as_me:$LINENO: result: no" >&5
52762 echo "${ECHO_T}no" >&6; }
52763 fi
52764
52765
52766
52767 MACSETFILE="\$(SETFILE)"
52768
52769 if test "$wxUSE_OSX_CARBON" = 1; then
52770 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52771 RESCOMP="$REZ"
52772 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52773 else
52774 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52775 RESCOMP="cat /dev/null \| $REZ"
52776 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52777 fi
52778
52779 else
52780 MACSETFILE="@true"
52781
52782 if test "$wxUSE_PM" = 1; then
52783 RESCOMP="emxbind"
52784 WXCONFIG_RESFLAGS="-ep"
52785
52786 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52787 else
52788 POSTLINK_COMMAND="@true"
52789 fi
52790 fi
52791
52792 fi
52793
52794
52795 if test $GCC_PCH = 1
52796 then
52797 if test "$wx_cv_gcc_pch_bug" = yes; then
52798 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52799 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52800 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52801 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52802 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52803 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52804 fi
52805
52806 # Our WX_PRECOMP flag does not make sense for any language except C++ because
52807 # the headers that benefit from precompilation are mostly C++ headers.
52808 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52809 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
52810 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
52811 fi
52812
52813
52814 if test "$wxUSE_MAC" = 1 ; then
52815 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52816 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52817 mv temp bk-deps
52818 chmod +x bk-deps
52819 fi
52820 fi
52821
52822 if test "$wxUSE_SHARED" = "yes"; then
52823 case "${host}" in
52824 *-pc-os2_emx | *-pc-os2-emx )
52825 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52826 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52827 cp -p ${srcdir}/src/os2/dllnames.sh .
52828 cp -p ${srcdir}/src/os2/dllar.sh .
52829 ;;
52830 esac
52831 fi
52832 if test "$wxUSE_OMF" = "yes"; then
52833 case "${host}" in
52834 *-pc-os2_emx | *-pc-os2-emx )
52835 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52836 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52837 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52838 ;;
52839 esac
52840 fi
52841
52842 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52843
52844
52845 case "${host}" in
52846 *-*-solaris2* )
52847 if test "$GCC" = yes; then
52848 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52849 LIBS=`echo $LIBS | sed 's/-mt//'`
52850 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52851 fi
52852 ;;
52853
52854 *-*-linux* )
52855 if test "x$SUNCXX" = xyes; then
52856 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52857 LIBS=`echo $LIBS | sed 's/-pthread//'`
52858 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52859 fi
52860 ;;
52861 esac
52862
52863 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52864 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52865 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
52866 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
52867
52868 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52869
52870
52871
52872
52873
52874
52875
52876
52877
52878
52879
52880
52881
52882
52883
52884
52885
52886
52887
52888
52889
52890
52891
52892
52893
52894
52895
52896
52897
52898
52899
52900
52901
52902
52903
52904
52905
52906
52907
52908
52909
52910
52911
52912
52913
52914
52915
52916
52917
52918
52919
52920
52921
52922
52923
52924
52925
52926
52927
52928
52929 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52930 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52931 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52932 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52933 echo $ECHO_N "(cached) $ECHO_C" >&6
52934 else
52935 cat >conftest.make <<\_ACEOF
52936 SHELL = /bin/sh
52937 all:
52938 @echo '@@@%%%=$(MAKE)=@@@%%%'
52939 _ACEOF
52940 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52941 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52942 *@@@%%%=?*=@@@%%%*)
52943 eval ac_cv_prog_make_${ac_make}_set=yes;;
52944 *)
52945 eval ac_cv_prog_make_${ac_make}_set=no;;
52946 esac
52947 rm -f conftest.make
52948 fi
52949 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52950 { echo "$as_me:$LINENO: result: yes" >&5
52951 echo "${ECHO_T}yes" >&6; }
52952 SET_MAKE=
52953 else
52954 { echo "$as_me:$LINENO: result: no" >&5
52955 echo "${ECHO_T}no" >&6; }
52956 SET_MAKE="MAKE=${MAKE-make}"
52957 fi
52958
52959
52960
52961 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52962
52963
52964 if test "$USE_WIN32" = 1; then
52965 ac_config_commands="$ac_config_commands rcdefs.h"
52966
52967 fi
52968
52969 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52970
52971
52972 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52973
52974
52975 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
52976
52977
52978 if test "$wx_cv_version_script" = "yes"; then
52979 ac_config_files="$ac_config_files version-script"
52980
52981 fi
52982 ac_config_files="$ac_config_files Makefile"
52983
52984
52985 ac_config_commands="$ac_config_commands wx-config"
52986
52987
52988
52989 if test "$wxWITH_SUBDIRS" != "no"; then
52990 if test "$wxUSE_GUI" = "yes"; then
52991 SUBDIRS="samples demos utils"
52992 else
52993 SUBDIRS="samples utils"
52994 fi
52995
52996
52997
52998 # Check whether --with-cppunit-prefix was given.
52999 if test "${with_cppunit_prefix+set}" = set; then
53000 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53001 else
53002 cppunit_config_prefix=""
53003 fi
53004
53005
53006 # Check whether --with-cppunit-exec-prefix was given.
53007 if test "${with_cppunit_exec_prefix+set}" = set; then
53008 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53009 else
53010 cppunit_config_exec_prefix=""
53011 fi
53012
53013
53014 if test x$cppunit_config_exec_prefix != x ; then
53015 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53016 if test x${CPPUNIT_CONFIG+set} != xset ; then
53017 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53018 fi
53019 fi
53020 if test x$cppunit_config_prefix != x ; then
53021 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53022 if test x${CPPUNIT_CONFIG+set} != xset ; then
53023 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53024 fi
53025 fi
53026
53027 # Extract the first word of "cppunit-config", so it can be a program name with args.
53028 set dummy cppunit-config; ac_word=$2
53029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53031 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53032 echo $ECHO_N "(cached) $ECHO_C" >&6
53033 else
53034 case $CPPUNIT_CONFIG in
53035 [\\/]* | ?:[\\/]*)
53036 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53037 ;;
53038 *)
53039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53040 for as_dir in $PATH
53041 do
53042 IFS=$as_save_IFS
53043 test -z "$as_dir" && as_dir=.
53044 for ac_exec_ext in '' $ac_executable_extensions; do
53045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53046 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53048 break 2
53049 fi
53050 done
53051 done
53052 IFS=$as_save_IFS
53053
53054 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53055 ;;
53056 esac
53057 fi
53058 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53059 if test -n "$CPPUNIT_CONFIG"; then
53060 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53061 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53062 else
53063 { echo "$as_me:$LINENO: result: no" >&5
53064 echo "${ECHO_T}no" >&6; }
53065 fi
53066
53067
53068 cppunit_version_min=1.8.0
53069
53070 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53071 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53072 no_cppunit=""
53073 if test "$CPPUNIT_CONFIG" = "no" ; then
53074 { echo "$as_me:$LINENO: result: no" >&5
53075 echo "${ECHO_T}no" >&6; }
53076 no_cppunit=yes
53077 else
53078 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53079 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53080 cppunit_version=`$CPPUNIT_CONFIG --version`
53081
53082 cppunit_major_version=`echo $cppunit_version | \
53083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53084 cppunit_minor_version=`echo $cppunit_version | \
53085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53086 cppunit_micro_version=`echo $cppunit_version | \
53087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53088
53089 cppunit_major_min=`echo $cppunit_version_min | \
53090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53091 cppunit_minor_min=`echo $cppunit_version_min | \
53092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53093 cppunit_micro_min=`echo $cppunit_version_min | \
53094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53095
53096 cppunit_version_proper=`expr \
53097 $cppunit_major_version \> $cppunit_major_min \| \
53098 $cppunit_major_version \= $cppunit_major_min \& \
53099 $cppunit_minor_version \> $cppunit_minor_min \| \
53100 $cppunit_major_version \= $cppunit_major_min \& \
53101 $cppunit_minor_version \= $cppunit_minor_min \& \
53102 $cppunit_micro_version \>= $cppunit_micro_min `
53103
53104 if test "$cppunit_version_proper" = "1" ; then
53105 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53106 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53107 else
53108 { echo "$as_me:$LINENO: result: no" >&5
53109 echo "${ECHO_T}no" >&6; }
53110 no_cppunit=yes
53111 fi
53112 fi
53113
53114 if test "x$no_cppunit" = x ; then
53115 SUBDIRS="$SUBDIRS tests"
53116 else
53117 CPPUNIT_CFLAGS=""
53118 CPPUNIT_LIBS=""
53119 :
53120 fi
53121
53122
53123
53124
53125
53126 for subdir in $SUBDIRS; do
53127 if test -d ${srcdir}/${subdir} ; then
53128 if test "$wxUSE_GUI" = "yes"; then
53129 if test ${subdir} = "samples"; then
53130 makefiles="samples/Makefile.in $makefiles"
53131 for sample in $SAMPLES_SUBDIRS; do
53132 if test -d $srcdir/samples/$sample; then
53133 makefiles="samples/$sample/Makefile.in $makefiles"
53134 fi
53135 done
53136 else
53137 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53138 eval "disabled=\$$disabled_var"
53139 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53140 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53141 fi
53142 else
53143 if test ${subdir} = "samples"; then
53144 makefiles="samples/Makefile.in $makefiles"
53145 for sample in `echo $SAMPLES_SUBDIRS`; do
53146 if test -d $srcdir/samples/$sample; then
53147 makefiles="samples/$sample/Makefile.in $makefiles"
53148 fi
53149 done
53150 elif test ${subdir} = "utils"; then
53151 makefiles=""
53152 for util in ifacecheck ; do
53153 if test -d $srcdir/utils/$util ; then
53154 makefiles="utils/$util/src/Makefile.in \
53155 $makefiles"
53156 fi
53157 done
53158 else
53159 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53160 fi
53161 fi
53162
53163 for mkin in $makefiles ; do
53164 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53165 ac_config_files="$ac_config_files $mk"
53166
53167 done
53168 fi
53169 done
53170 fi
53171 cat >confcache <<\_ACEOF
53172 # This file is a shell script that caches the results of configure
53173 # tests run on this system so they can be shared between configure
53174 # scripts and configure runs, see configure's option --config-cache.
53175 # It is not useful on other systems. If it contains results you don't
53176 # want to keep, you may remove or edit it.
53177 #
53178 # config.status only pays attention to the cache file if you give it
53179 # the --recheck option to rerun configure.
53180 #
53181 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53182 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53183 # following values.
53184
53185 _ACEOF
53186
53187 # The following way of writing the cache mishandles newlines in values,
53188 # but we know of no workaround that is simple, portable, and efficient.
53189 # So, we kill variables containing newlines.
53190 # Ultrix sh set writes to stderr and can't be redirected directly,
53191 # and sets the high bit in the cache file unless we assign to the vars.
53192 (
53193 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53194 eval ac_val=\$$ac_var
53195 case $ac_val in #(
53196 *${as_nl}*)
53197 case $ac_var in #(
53198 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53199 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53200 esac
53201 case $ac_var in #(
53202 _ | IFS | as_nl) ;; #(
53203 *) $as_unset $ac_var ;;
53204 esac ;;
53205 esac
53206 done
53207
53208 (set) 2>&1 |
53209 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53210 *${as_nl}ac_space=\ *)
53211 # `set' does not quote correctly, so add quotes (double-quote
53212 # substitution turns \\\\ into \\, and sed turns \\ into \).
53213 sed -n \
53214 "s/'/'\\\\''/g;
53215 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53216 ;; #(
53217 *)
53218 # `set' quotes correctly as required by POSIX, so do not add quotes.
53219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53220 ;;
53221 esac |
53222 sort
53223 ) |
53224 sed '
53225 /^ac_cv_env_/b end
53226 t clear
53227 :clear
53228 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53229 t end
53230 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53231 :end' >>confcache
53232 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53233 if test -w "$cache_file"; then
53234 test "x$cache_file" != "x/dev/null" &&
53235 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53236 echo "$as_me: updating cache $cache_file" >&6;}
53237 cat confcache >$cache_file
53238 else
53239 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53240 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53241 fi
53242 fi
53243 rm -f confcache
53244
53245 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53246 # Let make expand exec_prefix.
53247 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53248
53249 DEFS=-DHAVE_CONFIG_H
53250
53251 ac_libobjs=
53252 ac_ltlibobjs=
53253 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53254 # 1. Remove the extension, and $U if already installed.
53255 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53256 ac_i=`echo "$ac_i" | sed "$ac_script"`
53257 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53258 # will be set to the directory where LIBOBJS objects are built.
53259 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53260 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53261 done
53262 LIBOBJS=$ac_libobjs
53263
53264 LTLIBOBJS=$ac_ltlibobjs
53265
53266
53267
53268 : ${CONFIG_STATUS=./config.status}
53269 ac_clean_files_save=$ac_clean_files
53270 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53271 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53272 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53273 cat >$CONFIG_STATUS <<_ACEOF
53274 #! $SHELL
53275 # Generated by $as_me.
53276 # Run this file to recreate the current configuration.
53277 # Compiler output produced by configure, useful for debugging
53278 # configure, is in config.log if it exists.
53279
53280 debug=false
53281 ac_cs_recheck=false
53282 ac_cs_silent=false
53283 SHELL=\${CONFIG_SHELL-$SHELL}
53284 _ACEOF
53285
53286 cat >>$CONFIG_STATUS <<\_ACEOF
53287 ## --------------------- ##
53288 ## M4sh Initialization. ##
53289 ## --------------------- ##
53290
53291 # Be more Bourne compatible
53292 DUALCASE=1; export DUALCASE # for MKS sh
53293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53294 emulate sh
53295 NULLCMD=:
53296 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53297 # is contrary to our usage. Disable this feature.
53298 alias -g '${1+"$@"}'='"$@"'
53299 setopt NO_GLOB_SUBST
53300 else
53301 case `(set -o) 2>/dev/null` in
53302 *posix*) set -o posix ;;
53303 esac
53304
53305 fi
53306
53307
53308
53309
53310 # PATH needs CR
53311 # Avoid depending upon Character Ranges.
53312 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53313 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53314 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53315 as_cr_digits='0123456789'
53316 as_cr_alnum=$as_cr_Letters$as_cr_digits
53317
53318 # The user is always right.
53319 if test "${PATH_SEPARATOR+set}" != set; then
53320 echo "#! /bin/sh" >conf$$.sh
53321 echo "exit 0" >>conf$$.sh
53322 chmod +x conf$$.sh
53323 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53324 PATH_SEPARATOR=';'
53325 else
53326 PATH_SEPARATOR=:
53327 fi
53328 rm -f conf$$.sh
53329 fi
53330
53331 # Support unset when possible.
53332 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53333 as_unset=unset
53334 else
53335 as_unset=false
53336 fi
53337
53338
53339 # IFS
53340 # We need space, tab and new line, in precisely that order. Quoting is
53341 # there to prevent editors from complaining about space-tab.
53342 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53343 # splitting by setting IFS to empty value.)
53344 as_nl='
53345 '
53346 IFS=" "" $as_nl"
53347
53348 # Find who we are. Look in the path if we contain no directory separator.
53349 case $0 in
53350 *[\\/]* ) as_myself=$0 ;;
53351 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53352 for as_dir in $PATH
53353 do
53354 IFS=$as_save_IFS
53355 test -z "$as_dir" && as_dir=.
53356 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53357 done
53358 IFS=$as_save_IFS
53359
53360 ;;
53361 esac
53362 # We did not find ourselves, most probably we were run as `sh COMMAND'
53363 # in which case we are not to be found in the path.
53364 if test "x$as_myself" = x; then
53365 as_myself=$0
53366 fi
53367 if test ! -f "$as_myself"; then
53368 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53369 { (exit 1); exit 1; }
53370 fi
53371
53372 # Work around bugs in pre-3.0 UWIN ksh.
53373 for as_var in ENV MAIL MAILPATH
53374 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53375 done
53376 PS1='$ '
53377 PS2='> '
53378 PS4='+ '
53379
53380 # NLS nuisances.
53381 for as_var in \
53382 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53383 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53384 LC_TELEPHONE LC_TIME
53385 do
53386 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53387 eval $as_var=C; export $as_var
53388 else
53389 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53390 fi
53391 done
53392
53393 # Required to use basename.
53394 if expr a : '\(a\)' >/dev/null 2>&1 &&
53395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53396 as_expr=expr
53397 else
53398 as_expr=false
53399 fi
53400
53401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53402 as_basename=basename
53403 else
53404 as_basename=false
53405 fi
53406
53407
53408 # Name of the executable.
53409 as_me=`$as_basename -- "$0" ||
53410 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53411 X"$0" : 'X\(//\)$' \| \
53412 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53413 echo X/"$0" |
53414 sed '/^.*\/\([^/][^/]*\)\/*$/{
53415 s//\1/
53416 q
53417 }
53418 /^X\/\(\/\/\)$/{
53419 s//\1/
53420 q
53421 }
53422 /^X\/\(\/\).*/{
53423 s//\1/
53424 q
53425 }
53426 s/.*/./; q'`
53427
53428 # CDPATH.
53429 $as_unset CDPATH
53430
53431
53432
53433 as_lineno_1=$LINENO
53434 as_lineno_2=$LINENO
53435 test "x$as_lineno_1" != "x$as_lineno_2" &&
53436 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53437
53438 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53439 # uniformly replaced by the line number. The first 'sed' inserts a
53440 # line-number line after each line using $LINENO; the second 'sed'
53441 # does the real work. The second script uses 'N' to pair each
53442 # line-number line with the line containing $LINENO, and appends
53443 # trailing '-' during substitution so that $LINENO is not a special
53444 # case at line end.
53445 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53446 # scripts with optimization help from Paolo Bonzini. Blame Lee
53447 # E. McMahon (1931-1989) for sed's syntax. :-)
53448 sed -n '
53449 p
53450 /[$]LINENO/=
53451 ' <$as_myself |
53452 sed '
53453 s/[$]LINENO.*/&-/
53454 t lineno
53455 b
53456 :lineno
53457 N
53458 :loop
53459 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53460 t loop
53461 s/-\n.*//
53462 ' >$as_me.lineno &&
53463 chmod +x "$as_me.lineno" ||
53464 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53465 { (exit 1); exit 1; }; }
53466
53467 # Don't try to exec as it changes $[0], causing all sort of problems
53468 # (the dirname of $[0] is not the place where we might find the
53469 # original and so on. Autoconf is especially sensitive to this).
53470 . "./$as_me.lineno"
53471 # Exit status is that of the last command.
53472 exit
53473 }
53474
53475
53476 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53477 as_dirname=dirname
53478 else
53479 as_dirname=false
53480 fi
53481
53482 ECHO_C= ECHO_N= ECHO_T=
53483 case `echo -n x` in
53484 -n*)
53485 case `echo 'x\c'` in
53486 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53487 *) ECHO_C='\c';;
53488 esac;;
53489 *)
53490 ECHO_N='-n';;
53491 esac
53492
53493 if expr a : '\(a\)' >/dev/null 2>&1 &&
53494 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53495 as_expr=expr
53496 else
53497 as_expr=false
53498 fi
53499
53500 rm -f conf$$ conf$$.exe conf$$.file
53501 if test -d conf$$.dir; then
53502 rm -f conf$$.dir/conf$$.file
53503 else
53504 rm -f conf$$.dir
53505 mkdir conf$$.dir
53506 fi
53507 echo >conf$$.file
53508 if ln -s conf$$.file conf$$ 2>/dev/null; then
53509 as_ln_s='ln -s'
53510 # ... but there are two gotchas:
53511 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53512 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53513 # In both cases, we have to default to `cp -p'.
53514 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53515 as_ln_s='cp -p'
53516 elif ln conf$$.file conf$$ 2>/dev/null; then
53517 as_ln_s=ln
53518 else
53519 as_ln_s='cp -p'
53520 fi
53521 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53522 rmdir conf$$.dir 2>/dev/null
53523
53524 if mkdir -p . 2>/dev/null; then
53525 as_mkdir_p=:
53526 else
53527 test -d ./-p && rmdir ./-p
53528 as_mkdir_p=false
53529 fi
53530
53531 if test -x / >/dev/null 2>&1; then
53532 as_test_x='test -x'
53533 else
53534 if ls -dL / >/dev/null 2>&1; then
53535 as_ls_L_option=L
53536 else
53537 as_ls_L_option=
53538 fi
53539 as_test_x='
53540 eval sh -c '\''
53541 if test -d "$1"; then
53542 test -d "$1/.";
53543 else
53544 case $1 in
53545 -*)set "./$1";;
53546 esac;
53547 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53548 ???[sx]*):;;*)false;;esac;fi
53549 '\'' sh
53550 '
53551 fi
53552 as_executable_p=$as_test_x
53553
53554 # Sed expression to map a string onto a valid CPP name.
53555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53556
53557 # Sed expression to map a string onto a valid variable name.
53558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53559
53560
53561 exec 6>&1
53562
53563 # Save the log message, to keep $[0] and so on meaningful, and to
53564 # report actual input values of CONFIG_FILES etc. instead of their
53565 # values after options handling.
53566 ac_log="
53567 This file was extended by wxWidgets $as_me 2.9.3, which was
53568 generated by GNU Autoconf 2.61. Invocation command line was
53569
53570 CONFIG_FILES = $CONFIG_FILES
53571 CONFIG_HEADERS = $CONFIG_HEADERS
53572 CONFIG_LINKS = $CONFIG_LINKS
53573 CONFIG_COMMANDS = $CONFIG_COMMANDS
53574 $ $0 $@
53575
53576 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53577 "
53578
53579 _ACEOF
53580
53581 cat >>$CONFIG_STATUS <<_ACEOF
53582 # Files that config.status was made for.
53583 config_files="$ac_config_files"
53584 config_headers="$ac_config_headers"
53585 config_commands="$ac_config_commands"
53586
53587 _ACEOF
53588
53589 cat >>$CONFIG_STATUS <<\_ACEOF
53590 ac_cs_usage="\
53591 \`$as_me' instantiates files from templates according to the
53592 current configuration.
53593
53594 Usage: $0 [OPTIONS] [FILE]...
53595
53596 -h, --help print this help, then exit
53597 -V, --version print version number and configuration settings, then exit
53598 -q, --quiet do not print progress messages
53599 -d, --debug don't remove temporary files
53600 --recheck update $as_me by reconfiguring in the same conditions
53601 --file=FILE[:TEMPLATE]
53602 instantiate the configuration file FILE
53603 --header=FILE[:TEMPLATE]
53604 instantiate the configuration header FILE
53605
53606 Configuration files:
53607 $config_files
53608
53609 Configuration headers:
53610 $config_headers
53611
53612 Configuration commands:
53613 $config_commands
53614
53615 Report bugs to <bug-autoconf@gnu.org>."
53616
53617 _ACEOF
53618 cat >>$CONFIG_STATUS <<_ACEOF
53619 ac_cs_version="\\
53620 wxWidgets config.status 2.9.3
53621 configured by $0, generated by GNU Autoconf 2.61,
53622 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53623
53624 Copyright (C) 2006 Free Software Foundation, Inc.
53625 This config.status script is free software; the Free Software Foundation
53626 gives unlimited permission to copy, distribute and modify it."
53627
53628 ac_pwd='$ac_pwd'
53629 srcdir='$srcdir'
53630 INSTALL='$INSTALL'
53631 _ACEOF
53632
53633 cat >>$CONFIG_STATUS <<\_ACEOF
53634 # If no file are specified by the user, then we need to provide default
53635 # value. By we need to know if files were specified by the user.
53636 ac_need_defaults=:
53637 while test $# != 0
53638 do
53639 case $1 in
53640 --*=*)
53641 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53642 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53643 ac_shift=:
53644 ;;
53645 *)
53646 ac_option=$1
53647 ac_optarg=$2
53648 ac_shift=shift
53649 ;;
53650 esac
53651
53652 case $ac_option in
53653 # Handling of the options.
53654 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53655 ac_cs_recheck=: ;;
53656 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53657 echo "$ac_cs_version"; exit ;;
53658 --debug | --debu | --deb | --de | --d | -d )
53659 debug=: ;;
53660 --file | --fil | --fi | --f )
53661 $ac_shift
53662 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53663 ac_need_defaults=false;;
53664 --header | --heade | --head | --hea )
53665 $ac_shift
53666 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53667 ac_need_defaults=false;;
53668 --he | --h)
53669 # Conflict between --help and --header
53670 { echo "$as_me: error: ambiguous option: $1
53671 Try \`$0 --help' for more information." >&2
53672 { (exit 1); exit 1; }; };;
53673 --help | --hel | -h )
53674 echo "$ac_cs_usage"; exit ;;
53675 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53676 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53677 ac_cs_silent=: ;;
53678
53679 # This is an error.
53680 -*) { echo "$as_me: error: unrecognized option: $1
53681 Try \`$0 --help' for more information." >&2
53682 { (exit 1); exit 1; }; } ;;
53683
53684 *) ac_config_targets="$ac_config_targets $1"
53685 ac_need_defaults=false ;;
53686
53687 esac
53688 shift
53689 done
53690
53691 ac_configure_extra_args=
53692
53693 if $ac_cs_silent; then
53694 exec 6>/dev/null
53695 ac_configure_extra_args="$ac_configure_extra_args --silent"
53696 fi
53697
53698 _ACEOF
53699 cat >>$CONFIG_STATUS <<_ACEOF
53700 if \$ac_cs_recheck; then
53701 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53702 CONFIG_SHELL=$SHELL
53703 export CONFIG_SHELL
53704 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53705 fi
53706
53707 _ACEOF
53708 cat >>$CONFIG_STATUS <<\_ACEOF
53709 exec 5>>config.log
53710 {
53711 echo
53712 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53713 ## Running $as_me. ##
53714 _ASBOX
53715 echo "$ac_log"
53716 } >&5
53717
53718 _ACEOF
53719 cat >>$CONFIG_STATUS <<_ACEOF
53720 #
53721 # INIT-COMMANDS
53722 #
53723
53724 CPP="$CPP"
53725 infile="$srcdir/include/wx/msw/genrcdefs.h"
53726 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53727
53728
53729 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53730 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53731 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53732 LN_S="${LN_S}"
53733
53734
53735 _ACEOF
53736
53737 cat >>$CONFIG_STATUS <<\_ACEOF
53738
53739 # Handling of arguments.
53740 for ac_config_target in $ac_config_targets
53741 do
53742 case $ac_config_target in
53743 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53744 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53745 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53746 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53747 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
53748 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53749 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53750 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53751 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53752
53753 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53754 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53755 { (exit 1); exit 1; }; };;
53756 esac
53757 done
53758
53759
53760 # If the user did not use the arguments to specify the items to instantiate,
53761 # then the envvar interface is used. Set only those that are not.
53762 # We use the long form for the default assignment because of an extremely
53763 # bizarre bug on SunOS 4.1.3.
53764 if $ac_need_defaults; then
53765 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53766 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53767 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53768 fi
53769
53770 # Have a temporary directory for convenience. Make it in the build tree
53771 # simply because there is no reason against having it here, and in addition,
53772 # creating and moving files from /tmp can sometimes cause problems.
53773 # Hook for its removal unless debugging.
53774 # Note that there is a small window in which the directory will not be cleaned:
53775 # after its creation but before its name has been assigned to `$tmp'.
53776 $debug ||
53777 {
53778 tmp=
53779 trap 'exit_status=$?
53780 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53781 ' 0
53782 trap '{ (exit 1); exit 1; }' 1 2 13 15
53783 }
53784 # Create a (secure) tmp directory for tmp files.
53785
53786 {
53787 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53788 test -n "$tmp" && test -d "$tmp"
53789 } ||
53790 {
53791 tmp=./conf$$-$RANDOM
53792 (umask 077 && mkdir "$tmp")
53793 } ||
53794 {
53795 echo "$me: cannot create a temporary directory in ." >&2
53796 { (exit 1); exit 1; }
53797 }
53798
53799 #
53800 # Set up the sed scripts for CONFIG_FILES section.
53801 #
53802
53803 # No need to generate the scripts if there are no CONFIG_FILES.
53804 # This happens for instance when ./config.status config.h
53805 if test -n "$CONFIG_FILES"; then
53806
53807 _ACEOF
53808
53809
53810
53811 ac_delim='%!_!# '
53812 for ac_last_try in false false false false false :; do
53813 cat >conf$$subs.sed <<_ACEOF
53814 SHELL!$SHELL$ac_delim
53815 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53816 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53817 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53818 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53819 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53820 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53821 exec_prefix!$exec_prefix$ac_delim
53822 prefix!$prefix$ac_delim
53823 program_transform_name!$program_transform_name$ac_delim
53824 bindir!$bindir$ac_delim
53825 sbindir!$sbindir$ac_delim
53826 libexecdir!$libexecdir$ac_delim
53827 datarootdir!$datarootdir$ac_delim
53828 datadir!$datadir$ac_delim
53829 sysconfdir!$sysconfdir$ac_delim
53830 sharedstatedir!$sharedstatedir$ac_delim
53831 localstatedir!$localstatedir$ac_delim
53832 includedir!$includedir$ac_delim
53833 oldincludedir!$oldincludedir$ac_delim
53834 docdir!$docdir$ac_delim
53835 infodir!$infodir$ac_delim
53836 htmldir!$htmldir$ac_delim
53837 dvidir!$dvidir$ac_delim
53838 pdfdir!$pdfdir$ac_delim
53839 psdir!$psdir$ac_delim
53840 libdir!$libdir$ac_delim
53841 localedir!$localedir$ac_delim
53842 mandir!$mandir$ac_delim
53843 DEFS!$DEFS$ac_delim
53844 ECHO_C!$ECHO_C$ac_delim
53845 ECHO_N!$ECHO_N$ac_delim
53846 ECHO_T!$ECHO_T$ac_delim
53847 LIBS!$LIBS$ac_delim
53848 build_alias!$build_alias$ac_delim
53849 host_alias!$host_alias$ac_delim
53850 target_alias!$target_alias$ac_delim
53851 build!$build$ac_delim
53852 build_cpu!$build_cpu$ac_delim
53853 build_vendor!$build_vendor$ac_delim
53854 build_os!$build_os$ac_delim
53855 host!$host$ac_delim
53856 host_cpu!$host_cpu$ac_delim
53857 host_vendor!$host_vendor$ac_delim
53858 host_os!$host_os$ac_delim
53859 wx_top_builddir!$wx_top_builddir$ac_delim
53860 CC!$CC$ac_delim
53861 CFLAGS!$CFLAGS$ac_delim
53862 LDFLAGS!$LDFLAGS$ac_delim
53863 CPPFLAGS!$CPPFLAGS$ac_delim
53864 ac_ct_CC!$ac_ct_CC$ac_delim
53865 EXEEXT!$EXEEXT$ac_delim
53866 OBJEXT!$OBJEXT$ac_delim
53867 CPP!$CPP$ac_delim
53868 GREP!$GREP$ac_delim
53869 EGREP!$EGREP$ac_delim
53870 CXX!$CXX$ac_delim
53871 CXXFLAGS!$CXXFLAGS$ac_delim
53872 ac_ct_CXX!$ac_ct_CXX$ac_delim
53873 AR!$AR$ac_delim
53874 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
53875 CXXCPP!$CXXCPP$ac_delim
53876 subdirs!$subdirs$ac_delim
53877 PKG_CONFIG!$PKG_CONFIG$ac_delim
53878 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53879 GTK_LIBS!$GTK_LIBS$ac_delim
53880 GTK_CONFIG!$GTK_CONFIG$ac_delim
53881 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53882 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53883 XMKMF!$XMKMF$ac_delim
53884 X_CFLAGS!$X_CFLAGS$ac_delim
53885 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53886 X_LIBS!$X_LIBS$ac_delim
53887 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53888 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53889 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53890 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53891 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53892 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53893 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53894 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53895 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53896 LIBICONV!$LIBICONV$ac_delim
53897 GXX_VERSION!$GXX_VERSION$ac_delim
53898 SDL_CONFIG!$SDL_CONFIG$ac_delim
53899 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53900 SDL_LIBS!$SDL_LIBS$ac_delim
53901 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
53902 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
53903 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53904 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53905 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53906 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53907 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53908 HILDON_LIBS!$HILDON_LIBS$ac_delim
53909 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
53910 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
53911 _ACEOF
53912
53913 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53914 break
53915 elif $ac_last_try; then
53916 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53917 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53918 { (exit 1); exit 1; }; }
53919 else
53920 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53921 fi
53922 done
53923
53924 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53925 if test -n "$ac_eof"; then
53926 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53927 ac_eof=`expr $ac_eof + 1`
53928 fi
53929
53930 cat >>$CONFIG_STATUS <<_ACEOF
53931 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53932 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53933 _ACEOF
53934 sed '
53935 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53936 s/^/s,@/; s/!/@,|#_!!_#|/
53937 :n
53938 t n
53939 s/'"$ac_delim"'$/,g/; t
53940 s/$/\\/; p
53941 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53942 ' >>$CONFIG_STATUS <conf$$subs.sed
53943 rm -f conf$$subs.sed
53944 cat >>$CONFIG_STATUS <<_ACEOF
53945 CEOF$ac_eof
53946 _ACEOF
53947
53948
53949 ac_delim='%!_!# '
53950 for ac_last_try in false false false false false :; do
53951 cat >conf$$subs.sed <<_ACEOF
53952 PYTHON!$PYTHON$ac_delim
53953 COND_PYTHON!$COND_PYTHON$ac_delim
53954 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53955 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53956 GST_CFLAGS!$GST_CFLAGS$ac_delim
53957 GST_LIBS!$GST_LIBS$ac_delim
53958 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53959 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53960 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53961 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53962 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53963 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53964 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53965 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53966 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53967 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53968 VENDOR!$VENDOR$ac_delim
53969 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53970 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53971 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53972 WXUNIV!$WXUNIV$ac_delim
53973 MONOLITHIC!$MONOLITHIC$ac_delim
53974 USE_PLUGINS!$USE_PLUGINS$ac_delim
53975 CXXWARNINGS!$CXXWARNINGS$ac_delim
53976 EXTRALIBS!$EXTRALIBS$ac_delim
53977 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53978 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53979 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
53980 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53981 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53982 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53983 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
53984 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53985 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
53986 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53987 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53988 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53989 UNICODE!$UNICODE$ac_delim
53990 DEBUG_INFO!$DEBUG_INFO$ac_delim
53991 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53992 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53993 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53994 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
53995 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
53996 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53997 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
53998 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53999 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54000 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54001 RANLIB!$RANLIB$ac_delim
54002 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54003 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54004 INSTALL_DATA!$INSTALL_DATA$ac_delim
54005 LN_S!$LN_S$ac_delim
54006 SET_MAKE!$SET_MAKE$ac_delim
54007 MAKE_SET!$MAKE_SET$ac_delim
54008 AROPTIONS!$AROPTIONS$ac_delim
54009 STRIP!$STRIP$ac_delim
54010 NM!$NM$ac_delim
54011 INSTALL_DIR!$INSTALL_DIR$ac_delim
54012 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54013 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54014 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54015 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54016 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54017 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54018 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54019 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54020 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54021 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54022 SO_SUFFIX!$SO_SUFFIX$ac_delim
54023 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54024 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54025 LIBPREFIX!$LIBPREFIX$ac_delim
54026 LIBEXT!$LIBEXT$ac_delim
54027 DLLPREFIX!$DLLPREFIX$ac_delim
54028 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54029 dlldir!$dlldir$ac_delim
54030 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54031 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54032 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54033 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54034 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54035 PIC_FLAG!$PIC_FLAG$ac_delim
54036 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54037 USE_SOVERSION!$USE_SOVERSION$ac_delim
54038 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54039 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54040 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54041 USE_MACVERSION!$USE_MACVERSION$ac_delim
54042 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54043 SONAME_FLAG!$SONAME_FLAG$ac_delim
54044 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54045 BK_DEPS!$BK_DEPS$ac_delim
54046 WINDRES!$WINDRES$ac_delim
54047 REZ!$REZ$ac_delim
54048 SETFILE!$SETFILE$ac_delim
54049 _ACEOF
54050
54051 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54052 break
54053 elif $ac_last_try; then
54054 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54055 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54056 { (exit 1); exit 1; }; }
54057 else
54058 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54059 fi
54060 done
54061
54062 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54063 if test -n "$ac_eof"; then
54064 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54065 ac_eof=`expr $ac_eof + 1`
54066 fi
54067
54068 cat >>$CONFIG_STATUS <<_ACEOF
54069 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54070 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54071 _ACEOF
54072 sed '
54073 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54074 s/^/s,@/; s/!/@,|#_!!_#|/
54075 :n
54076 t n
54077 s/'"$ac_delim"'$/,g/; t
54078 s/$/\\/; p
54079 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54080 ' >>$CONFIG_STATUS <conf$$subs.sed
54081 rm -f conf$$subs.sed
54082 cat >>$CONFIG_STATUS <<_ACEOF
54083 CEOF$ac_eof
54084 _ACEOF
54085
54086
54087 ac_delim='%!_!# '
54088 for ac_last_try in false false false false false :; do
54089 cat >conf$$subs.sed <<_ACEOF
54090 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54091 GCC_PCH!$GCC_PCH$ac_delim
54092 ICC_PCH!$ICC_PCH$ac_delim
54093 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54094 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54095 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54096 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54097 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54098 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54099 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54100 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54101 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54102 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54103 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54104 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54105 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54106 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54107 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54108 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54109 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54110 COND_BUILD_release!$COND_BUILD_release$ac_delim
54111 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54112 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54113 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54114 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54115 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54116 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54117 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54118 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54119 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54120 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54121 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54122 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54123 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54124 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54125 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54126 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54127 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54128 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54129 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54130 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54131 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54132 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54133 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54134 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54135 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54136 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54137 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54138 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54139 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54140 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54141 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54142 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54143 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54144 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54145 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54146 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54147 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54148 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54149 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54150 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54151 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54152 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54153 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54154 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54155 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54156 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54157 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54158 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54159 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54160 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54161 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54162 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54163 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54164 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54165 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54166 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54167 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
54168 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54169 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
54170 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54171 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54172 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54173 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54174 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54175 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54176 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54177 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54178 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54179 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54180 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54181 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54182 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54183 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54184 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54185 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54186 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54187 _ACEOF
54188
54189 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54190 break
54191 elif $ac_last_try; then
54192 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54193 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54194 { (exit 1); exit 1; }; }
54195 else
54196 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54197 fi
54198 done
54199
54200 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54201 if test -n "$ac_eof"; then
54202 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54203 ac_eof=`expr $ac_eof + 1`
54204 fi
54205
54206 cat >>$CONFIG_STATUS <<_ACEOF
54207 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54208 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54209 _ACEOF
54210 sed '
54211 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54212 s/^/s,@/; s/!/@,|#_!!_#|/
54213 :n
54214 t n
54215 s/'"$ac_delim"'$/,g/; t
54216 s/$/\\/; p
54217 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54218 ' >>$CONFIG_STATUS <conf$$subs.sed
54219 rm -f conf$$subs.sed
54220 cat >>$CONFIG_STATUS <<_ACEOF
54221 CEOF$ac_eof
54222 _ACEOF
54223
54224
54225 ac_delim='%!_!# '
54226 for ac_last_try in false false false false false :; do
54227 cat >conf$$subs.sed <<_ACEOF
54228 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54229 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54230 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54231 COND_SHARED_0!$COND_SHARED_0$ac_delim
54232 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54233 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54234 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54235 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54236 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54237 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54238 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54239 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54240 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54241 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54242 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54243 COND_SHARED_1!$COND_SHARED_1$ac_delim
54244 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54245 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54246 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54247 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54248 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54249 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54250 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54251 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54253 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54254 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54255 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54256 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54257 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54258 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54259 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54260 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54261 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54262 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54263 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54264 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54265 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54266 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54267 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54268 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54269 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54270 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54271 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54272 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54273 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54274 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54275 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54276 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54277 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54278 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54279 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54280 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54281 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54282 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54283 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54284 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54285 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54286 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54287 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54288 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54289 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54290 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54291 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54292 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54293 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54294 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54295 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54296 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54297 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54298 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54299 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54300 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54301 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54302 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54303 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54304 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54305 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54306 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54307 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54308 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54309 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54310 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54311 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54312 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54313 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54314 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54315 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54316 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54317 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54318 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54319 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54320 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54321 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54322 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54323 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54324 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54325 _ACEOF
54326
54327 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54328 break
54329 elif $ac_last_try; then
54330 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54331 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54332 { (exit 1); exit 1; }; }
54333 else
54334 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54335 fi
54336 done
54337
54338 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54339 if test -n "$ac_eof"; then
54340 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54341 ac_eof=`expr $ac_eof + 1`
54342 fi
54343
54344 cat >>$CONFIG_STATUS <<_ACEOF
54345 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54346 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54347 _ACEOF
54348 sed '
54349 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54350 s/^/s,@/; s/!/@,|#_!!_#|/
54351 :n
54352 t n
54353 s/'"$ac_delim"'$/,g/; t
54354 s/$/\\/; p
54355 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54356 ' >>$CONFIG_STATUS <conf$$subs.sed
54357 rm -f conf$$subs.sed
54358 cat >>$CONFIG_STATUS <<_ACEOF
54359 CEOF$ac_eof
54360 _ACEOF
54361
54362
54363 ac_delim='%!_!# '
54364 for ac_last_try in false false false false false :; do
54365 cat >conf$$subs.sed <<_ACEOF
54366 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54367 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54368 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54369 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54370 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54371 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54372 DEREZ!$DEREZ$ac_delim
54373 SHARED!$SHARED$ac_delim
54374 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54375 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54376 USE_GUI!$USE_GUI$ac_delim
54377 AFMINSTALL!$AFMINSTALL$ac_delim
54378 WIN32INSTALL!$WIN32INSTALL$ac_delim
54379 TOOLKIT!$TOOLKIT$ac_delim
54380 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54381 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54382 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54383 cross_compiling!$cross_compiling$ac_delim
54384 WIDGET_SET!$WIDGET_SET$ac_delim
54385 WX_RELEASE!$WX_RELEASE$ac_delim
54386 WX_VERSION!$WX_VERSION$ac_delim
54387 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54388 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54389 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54390 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54391 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54392 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54393 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54394 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54395 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54396 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54397 GUIDIST!$GUIDIST$ac_delim
54398 DISTDIR!$DISTDIR$ac_delim
54399 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54400 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54401 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54402 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54403 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54404 RESCOMP!$RESCOMP$ac_delim
54405 RESFLAGS!$RESFLAGS$ac_delim
54406 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54407 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54408 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54409 LIBWXMACRES!$LIBWXMACRES$ac_delim
54410 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54411 MACSETFILE!$MACSETFILE$ac_delim
54412 GCC!$GCC$ac_delim
54413 DLLTOOL!$DLLTOOL$ac_delim
54414 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54415 LIBOBJS!$LIBOBJS$ac_delim
54416 LTLIBOBJS!$LTLIBOBJS$ac_delim
54417 _ACEOF
54418
54419 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 51; then
54420 break
54421 elif $ac_last_try; then
54422 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54423 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54424 { (exit 1); exit 1; }; }
54425 else
54426 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54427 fi
54428 done
54429
54430 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54431 if test -n "$ac_eof"; then
54432 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54433 ac_eof=`expr $ac_eof + 1`
54434 fi
54435
54436 cat >>$CONFIG_STATUS <<_ACEOF
54437 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54438 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54439 _ACEOF
54440 sed '
54441 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54442 s/^/s,@/; s/!/@,|#_!!_#|/
54443 :n
54444 t n
54445 s/'"$ac_delim"'$/,g/; t
54446 s/$/\\/; p
54447 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54448 ' >>$CONFIG_STATUS <conf$$subs.sed
54449 rm -f conf$$subs.sed
54450 cat >>$CONFIG_STATUS <<_ACEOF
54451 :end
54452 s/|#_!!_#|//g
54453 CEOF$ac_eof
54454 _ACEOF
54455
54456
54457 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54458 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54459 # trailing colons and then remove the whole line if VPATH becomes empty
54460 # (actually we leave an empty line to preserve line numbers).
54461 if test "x$srcdir" = x.; then
54462 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54463 s/:*\$(srcdir):*/:/
54464 s/:*\${srcdir}:*/:/
54465 s/:*@srcdir@:*/:/
54466 s/^\([^=]*=[ ]*\):*/\1/
54467 s/:*$//
54468 s/^[^=]*=[ ]*$//
54469 }'
54470 fi
54471
54472 cat >>$CONFIG_STATUS <<\_ACEOF
54473 fi # test -n "$CONFIG_FILES"
54474
54475
54476 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54477 do
54478 case $ac_tag in
54479 :[FHLC]) ac_mode=$ac_tag; continue;;
54480 esac
54481 case $ac_mode$ac_tag in
54482 :[FHL]*:*);;
54483 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54484 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54485 { (exit 1); exit 1; }; };;
54486 :[FH]-) ac_tag=-:-;;
54487 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54488 esac
54489 ac_save_IFS=$IFS
54490 IFS=:
54491 set x $ac_tag
54492 IFS=$ac_save_IFS
54493 shift
54494 ac_file=$1
54495 shift
54496
54497 case $ac_mode in
54498 :L) ac_source=$1;;
54499 :[FH])
54500 ac_file_inputs=
54501 for ac_f
54502 do
54503 case $ac_f in
54504 -) ac_f="$tmp/stdin";;
54505 *) # Look for the file first in the build tree, then in the source tree
54506 # (if the path is not absolute). The absolute path cannot be DOS-style,
54507 # because $ac_f cannot contain `:'.
54508 test -f "$ac_f" ||
54509 case $ac_f in
54510 [\\/$]*) false;;
54511 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54512 esac ||
54513 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54514 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54515 { (exit 1); exit 1; }; };;
54516 esac
54517 ac_file_inputs="$ac_file_inputs $ac_f"
54518 done
54519
54520 # Let's still pretend it is `configure' which instantiates (i.e., don't
54521 # use $as_me), people would be surprised to read:
54522 # /* config.h. Generated by config.status. */
54523 configure_input="Generated from "`IFS=:
54524 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54525 if test x"$ac_file" != x-; then
54526 configure_input="$ac_file. $configure_input"
54527 { echo "$as_me:$LINENO: creating $ac_file" >&5
54528 echo "$as_me: creating $ac_file" >&6;}
54529 fi
54530
54531 case $ac_tag in
54532 *:-:* | *:-) cat >"$tmp/stdin";;
54533 esac
54534 ;;
54535 esac
54536
54537 ac_dir=`$as_dirname -- "$ac_file" ||
54538 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54539 X"$ac_file" : 'X\(//\)[^/]' \| \
54540 X"$ac_file" : 'X\(//\)$' \| \
54541 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54542 echo X"$ac_file" |
54543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54544 s//\1/
54545 q
54546 }
54547 /^X\(\/\/\)[^/].*/{
54548 s//\1/
54549 q
54550 }
54551 /^X\(\/\/\)$/{
54552 s//\1/
54553 q
54554 }
54555 /^X\(\/\).*/{
54556 s//\1/
54557 q
54558 }
54559 s/.*/./; q'`
54560 { as_dir="$ac_dir"
54561 case $as_dir in #(
54562 -*) as_dir=./$as_dir;;
54563 esac
54564 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54565 as_dirs=
54566 while :; do
54567 case $as_dir in #(
54568 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54569 *) as_qdir=$as_dir;;
54570 esac
54571 as_dirs="'$as_qdir' $as_dirs"
54572 as_dir=`$as_dirname -- "$as_dir" ||
54573 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54574 X"$as_dir" : 'X\(//\)[^/]' \| \
54575 X"$as_dir" : 'X\(//\)$' \| \
54576 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54577 echo X"$as_dir" |
54578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54579 s//\1/
54580 q
54581 }
54582 /^X\(\/\/\)[^/].*/{
54583 s//\1/
54584 q
54585 }
54586 /^X\(\/\/\)$/{
54587 s//\1/
54588 q
54589 }
54590 /^X\(\/\).*/{
54591 s//\1/
54592 q
54593 }
54594 s/.*/./; q'`
54595 test -d "$as_dir" && break
54596 done
54597 test -z "$as_dirs" || eval "mkdir $as_dirs"
54598 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54599 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54600 { (exit 1); exit 1; }; }; }
54601 ac_builddir=.
54602
54603 case "$ac_dir" in
54604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54605 *)
54606 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54607 # A ".." for each directory in $ac_dir_suffix.
54608 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54609 case $ac_top_builddir_sub in
54610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54612 esac ;;
54613 esac
54614 ac_abs_top_builddir=$ac_pwd
54615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54616 # for backward compatibility:
54617 ac_top_builddir=$ac_top_build_prefix
54618
54619 case $srcdir in
54620 .) # We are building in place.
54621 ac_srcdir=.
54622 ac_top_srcdir=$ac_top_builddir_sub
54623 ac_abs_top_srcdir=$ac_pwd ;;
54624 [\\/]* | ?:[\\/]* ) # Absolute name.
54625 ac_srcdir=$srcdir$ac_dir_suffix;
54626 ac_top_srcdir=$srcdir
54627 ac_abs_top_srcdir=$srcdir ;;
54628 *) # Relative name.
54629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54630 ac_top_srcdir=$ac_top_build_prefix$srcdir
54631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54632 esac
54633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54634
54635
54636 case $ac_mode in
54637 :F)
54638 #
54639 # CONFIG_FILE
54640 #
54641
54642 case $INSTALL in
54643 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54644 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54645 esac
54646 _ACEOF
54647
54648 cat >>$CONFIG_STATUS <<\_ACEOF
54649 # If the template does not know about datarootdir, expand it.
54650 # FIXME: This hack should be removed a few years after 2.60.
54651 ac_datarootdir_hack=; ac_datarootdir_seen=
54652
54653 case `sed -n '/datarootdir/ {
54654 p
54655 q
54656 }
54657 /@datadir@/p
54658 /@docdir@/p
54659 /@infodir@/p
54660 /@localedir@/p
54661 /@mandir@/p
54662 ' $ac_file_inputs` in
54663 *datarootdir*) ac_datarootdir_seen=yes;;
54664 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54665 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54666 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54667 _ACEOF
54668 cat >>$CONFIG_STATUS <<_ACEOF
54669 ac_datarootdir_hack='
54670 s&@datadir@&$datadir&g
54671 s&@docdir@&$docdir&g
54672 s&@infodir@&$infodir&g
54673 s&@localedir@&$localedir&g
54674 s&@mandir@&$mandir&g
54675 s&\\\${datarootdir}&$datarootdir&g' ;;
54676 esac
54677 _ACEOF
54678
54679 # Neutralize VPATH when `$srcdir' = `.'.
54680 # Shell code in configure.ac might set extrasub.
54681 # FIXME: do we really want to maintain this feature?
54682 cat >>$CONFIG_STATUS <<_ACEOF
54683 sed "$ac_vpsub
54684 $extrasub
54685 _ACEOF
54686 cat >>$CONFIG_STATUS <<\_ACEOF
54687 :t
54688 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54689 s&@configure_input@&$configure_input&;t t
54690 s&@top_builddir@&$ac_top_builddir_sub&;t t
54691 s&@srcdir@&$ac_srcdir&;t t
54692 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54693 s&@top_srcdir@&$ac_top_srcdir&;t t
54694 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54695 s&@builddir@&$ac_builddir&;t t
54696 s&@abs_builddir@&$ac_abs_builddir&;t t
54697 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54698 s&@INSTALL@&$ac_INSTALL&;t t
54699 $ac_datarootdir_hack
54700 " $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
54701
54702 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54703 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54704 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54705 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54706 which seems to be undefined. Please make sure it is defined." >&5
54707 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54708 which seems to be undefined. Please make sure it is defined." >&2;}
54709
54710 rm -f "$tmp/stdin"
54711 case $ac_file in
54712 -) cat "$tmp/out"; rm -f "$tmp/out";;
54713 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54714 esac
54715 ;;
54716 :H)
54717 #
54718 # CONFIG_HEADER
54719 #
54720 _ACEOF
54721
54722 # Transform confdefs.h into a sed script `conftest.defines', that
54723 # substitutes the proper values into config.h.in to produce config.h.
54724 rm -f conftest.defines conftest.tail
54725 # First, append a space to every undef/define line, to ease matching.
54726 echo 's/$/ /' >conftest.defines
54727 # Then, protect against being on the right side of a sed subst, or in
54728 # an unquoted here document, in config.status. If some macros were
54729 # called several times there might be several #defines for the same
54730 # symbol, which is useless. But do not sort them, since the last
54731 # AC_DEFINE must be honored.
54732 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54733 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54734 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54735 # PARAMS is the parameter list in the macro definition--in most cases, it's
54736 # just an empty string.
54737 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54738 ac_dB='\\)[ (].*,\\1define\\2'
54739 ac_dC=' '
54740 ac_dD=' ,'
54741
54742 uniq confdefs.h |
54743 sed -n '
54744 t rset
54745 :rset
54746 s/^[ ]*#[ ]*define[ ][ ]*//
54747 t ok
54748 d
54749 :ok
54750 s/[\\&,]/\\&/g
54751 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54752 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54753 ' >>conftest.defines
54754
54755 # Remove the space that was appended to ease matching.
54756 # Then replace #undef with comments. This is necessary, for
54757 # example, in the case of _POSIX_SOURCE, which is predefined and required
54758 # on some systems where configure will not decide to define it.
54759 # (The regexp can be short, since the line contains either #define or #undef.)
54760 echo 's/ $//
54761 s,^[ #]*u.*,/* & */,' >>conftest.defines
54762
54763 # Break up conftest.defines:
54764 ac_max_sed_lines=50
54765
54766 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54767 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54768 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54769 # et cetera.
54770 ac_in='$ac_file_inputs'
54771 ac_out='"$tmp/out1"'
54772 ac_nxt='"$tmp/out2"'
54773
54774 while :
54775 do
54776 # Write a here document:
54777 cat >>$CONFIG_STATUS <<_ACEOF
54778 # First, check the format of the line:
54779 cat >"\$tmp/defines.sed" <<\\CEOF
54780 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54781 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54782 b
54783 :def
54784 _ACEOF
54785 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54786 echo 'CEOF
54787 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54788 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54789 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54790 grep . conftest.tail >/dev/null || break
54791 rm -f conftest.defines
54792 mv conftest.tail conftest.defines
54793 done
54794 rm -f conftest.defines conftest.tail
54795
54796 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54797 cat >>$CONFIG_STATUS <<\_ACEOF
54798 if test x"$ac_file" != x-; then
54799 echo "/* $configure_input */" >"$tmp/config.h"
54800 cat "$ac_result" >>"$tmp/config.h"
54801 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54802 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54803 echo "$as_me: $ac_file is unchanged" >&6;}
54804 else
54805 rm -f $ac_file
54806 mv "$tmp/config.h" $ac_file
54807 fi
54808 else
54809 echo "/* $configure_input */"
54810 cat "$ac_result"
54811 fi
54812 rm -f "$tmp/out12"
54813 ;;
54814
54815 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54816 echo "$as_me: executing $ac_file commands" >&6;}
54817 ;;
54818 esac
54819
54820
54821 case $ac_file$ac_mode in
54822 "rcdefs.h":C)
54823 mkdir -p $outdir &&
54824 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54825 ;;
54826 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54827 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54828 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
54829 "wx-config":C) rm -f wx-config
54830 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54831 ;;
54832
54833 esac
54834 done # for ac_tag
54835
54836
54837 { (exit 0); exit 0; }
54838 _ACEOF
54839 chmod +x $CONFIG_STATUS
54840 ac_clean_files=$ac_clean_files_save
54841
54842
54843 # configure is writing to config.log, and then calls config.status.
54844 # config.status does its own redirection, appending to config.log.
54845 # Unfortunately, on DOS this fails, as config.log is still kept open
54846 # by configure, so config.status won't be able to write to it; its
54847 # output is simply discarded. So we exec the FD to /dev/null,
54848 # effectively closing config.log, so it can be properly (re)opened and
54849 # appended to by config.status. When coming back to configure, we
54850 # need to make the FD available again.
54851 if test "$no_create" != yes; then
54852 ac_cs_success=:
54853 ac_config_status_args=
54854 test "$silent" = yes &&
54855 ac_config_status_args="$ac_config_status_args --quiet"
54856 exec 5>/dev/null
54857 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54858 exec 5>>config.log
54859 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54860 # would make configure fail if this is the last instruction.
54861 $ac_cs_success || { (exit 1); exit 1; }
54862 fi
54863
54864 #
54865 # CONFIG_SUBDIRS section.
54866 #
54867 if test "$no_recursion" != yes; then
54868
54869 # Remove --cache-file and --srcdir arguments so they do not pile up.
54870 ac_sub_configure_args=
54871 ac_prev=
54872 eval "set x $ac_configure_args"
54873 shift
54874 for ac_arg
54875 do
54876 if test -n "$ac_prev"; then
54877 ac_prev=
54878 continue
54879 fi
54880 case $ac_arg in
54881 -cache-file | --cache-file | --cache-fil | --cache-fi \
54882 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54883 ac_prev=cache_file ;;
54884 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54885 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54886 | --c=*)
54887 ;;
54888 --config-cache | -C)
54889 ;;
54890 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54891 ac_prev=srcdir ;;
54892 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54893 ;;
54894 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54895 ac_prev=prefix ;;
54896 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54897 ;;
54898 *)
54899 case $ac_arg in
54900 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54901 esac
54902 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54903 esac
54904 done
54905
54906 # Always prepend --prefix to ensure using the same prefix
54907 # in subdir configurations.
54908 ac_arg="--prefix=$prefix"
54909 case $ac_arg in
54910 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54911 esac
54912 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54913
54914 # Pass --silent
54915 if test "$silent" = yes; then
54916 ac_sub_configure_args="--silent $ac_sub_configure_args"
54917 fi
54918
54919 ac_popdir=`pwd`
54920 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54921
54922 # Do not complain, so a configure script can configure whichever
54923 # parts of a large source tree are present.
54924 test -d "$srcdir/$ac_dir" || continue
54925
54926 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54927 echo "$as_me:$LINENO: $ac_msg" >&5
54928 echo "$ac_msg" >&6
54929 { as_dir="$ac_dir"
54930 case $as_dir in #(
54931 -*) as_dir=./$as_dir;;
54932 esac
54933 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54934 as_dirs=
54935 while :; do
54936 case $as_dir in #(
54937 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54938 *) as_qdir=$as_dir;;
54939 esac
54940 as_dirs="'$as_qdir' $as_dirs"
54941 as_dir=`$as_dirname -- "$as_dir" ||
54942 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54943 X"$as_dir" : 'X\(//\)[^/]' \| \
54944 X"$as_dir" : 'X\(//\)$' \| \
54945 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54946 echo X"$as_dir" |
54947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54948 s//\1/
54949 q
54950 }
54951 /^X\(\/\/\)[^/].*/{
54952 s//\1/
54953 q
54954 }
54955 /^X\(\/\/\)$/{
54956 s//\1/
54957 q
54958 }
54959 /^X\(\/\).*/{
54960 s//\1/
54961 q
54962 }
54963 s/.*/./; q'`
54964 test -d "$as_dir" && break
54965 done
54966 test -z "$as_dirs" || eval "mkdir $as_dirs"
54967 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54968 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54969 { (exit 1); exit 1; }; }; }
54970 ac_builddir=.
54971
54972 case "$ac_dir" in
54973 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54974 *)
54975 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54976 # A ".." for each directory in $ac_dir_suffix.
54977 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54978 case $ac_top_builddir_sub in
54979 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54980 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54981 esac ;;
54982 esac
54983 ac_abs_top_builddir=$ac_pwd
54984 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54985 # for backward compatibility:
54986 ac_top_builddir=$ac_top_build_prefix
54987
54988 case $srcdir in
54989 .) # We are building in place.
54990 ac_srcdir=.
54991 ac_top_srcdir=$ac_top_builddir_sub
54992 ac_abs_top_srcdir=$ac_pwd ;;
54993 [\\/]* | ?:[\\/]* ) # Absolute name.
54994 ac_srcdir=$srcdir$ac_dir_suffix;
54995 ac_top_srcdir=$srcdir
54996 ac_abs_top_srcdir=$srcdir ;;
54997 *) # Relative name.
54998 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54999 ac_top_srcdir=$ac_top_build_prefix$srcdir
55000 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
55001 esac
55002 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
55003
55004
55005 cd "$ac_dir"
55006
55007 # Check for guested configure; otherwise get Cygnus style configure.
55008 if test -f "$ac_srcdir/configure.gnu"; then
55009 ac_sub_configure=$ac_srcdir/configure.gnu
55010 elif test -f "$ac_srcdir/configure"; then
55011 ac_sub_configure=$ac_srcdir/configure
55012 elif test -f "$ac_srcdir/configure.in"; then
55013 # This should be Cygnus configure.
55014 ac_sub_configure=$ac_aux_dir/configure
55015 else
55016 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55017 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55018 ac_sub_configure=
55019 fi
55020
55021 # The recursion is here.
55022 if test -n "$ac_sub_configure"; then
55023 # Make the cache file name correct relative to the subdirectory.
55024 case $cache_file in
55025 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55026 *) # Relative name.
55027 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
55028 esac
55029
55030 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55031 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55032 # The eval makes quoting arguments work.
55033 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55034 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55035 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55036 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55037 { (exit 1); exit 1; }; }
55038 fi
55039
55040 cd "$ac_popdir"
55041 done
55042 fi
55043
55044
55045 echo
55046 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55047 echo ""
55048 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55049 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55050 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55051 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55052 if test "$wxUSE_UNICODE" = "yes"; then
55053 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55054 echo " (using UTF-8)"
55055 else
55056 echo " (using wchar_t)"
55057 fi
55058 else
55059 echo
55060 fi
55061
55062 echo " What level of wxWidgets compatibility should be enabled?"
55063 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55064 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55065
55066 echo " Which libraries should wxWidgets use?"
55067 echo " STL ${wxUSE_STL}"
55068 echo " jpeg ${wxUSE_LIBJPEG-none}"
55069 echo " png ${wxUSE_LIBPNG-none}"
55070 echo " regex ${wxUSE_REGEX}"
55071 echo " tiff ${wxUSE_LIBTIFF-none}"
55072 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55073 echo " xpm ${wxUSE_LIBXPM-none}"
55074 fi
55075 echo " zlib ${wxUSE_ZLIB}"
55076 echo " expat ${wxUSE_EXPAT}"
55077 echo " libmspack ${wxUSE_LIBMSPACK}"
55078 echo " sdl ${wxUSE_LIBSDL}"
55079
55080 echo ""
55081