]> git.saurik.com Git - wxWidgets.git/blob - configure
return index of first added image in Add(), like MSW does, #10013
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 58007 2009-01-11 00:46:55Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 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 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 CAIRO_CFLAGS
713 CAIRO_LIBS
714 GST_CFLAGS
715 GST_LIBS
716 ALL_WX_LIBS
717 BUILT_WX_LIBS
718 STD_BASE_LIBS
719 STD_GUI_LIBS
720 wxUSE_ZLIB
721 wxUSE_REGEX
722 wxUSE_EXPAT
723 wxUSE_LIBJPEG
724 wxUSE_LIBPNG
725 wxUSE_LIBTIFF
726 VENDOR
727 OFFICIAL_BUILD
728 WX_FLAVOUR
729 WX_LIB_FLAVOUR
730 WXUNIV
731 MONOLITHIC
732 USE_PLUGINS
733 CXXWARNINGS
734 EXTRALIBS
735 EXTRALIBS_XML
736 EXTRALIBS_HTML
737 EXTRALIBS_MEDIA
738 EXTRALIBS_GUI
739 EXTRALIBS_OPENGL
740 EXTRALIBS_SDL
741 EXTRALIBS_STC
742 WITH_PLUGIN_SDL
743 EXTRALIBS_GTKPRINT
744 EXTRALIBS_GNOMEPRINT
745 EXTRALIBS_GNOMEVFS
746 EXTRALIBS_HILDON
747 UNICODE
748 BUILD
749 DEBUG_INFO
750 DEBUG_FLAG
751 TOOLKIT_LOWERCASE
752 TOOLKIT_VERSION
753 SAMPLES_RPATH_FLAG
754 SAMPLES_RPATH_POSTLINK
755 HEADER_PAD_OPTION
756 HOST_SUFFIX
757 CPPUNIT_CFLAGS
758 CPPUNIT_LIBS
759 RANLIB
760 INSTALL_PROGRAM
761 INSTALL_SCRIPT
762 INSTALL_DATA
763 LN_S
764 SET_MAKE
765 MAKE_SET
766 AROPTIONS
767 STRIP
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 IF_GNU_MAKE
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 WINDRES
805 REZ
806 SETFILE
807 OBJCXXFLAGS
808 GCC_PCH
809 ICC_PCH
810 ICC_PCH_CREATE_SWITCH
811 ICC_PCH_USE_SWITCH
812 BK_MAKE_PCH
813 COND_BUILD_DEBUG
814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
816 COND_BUILD_DEBUG_UNICODE_0
817 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE
819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
820 COND_BUILD_RELEASE_UNICODE_0
821 COND_BUILD_RELEASE_UNICODE_1
822 COND_BUILD_debug
823 COND_BUILD_debug_DEBUG_FLAG_default
824 COND_BUILD_debug_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_0
826 COND_BUILD_debug_UNICODE_1
827 COND_BUILD_release
828 COND_BUILD_release_DEBUG_INFO_default
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_UNICODE_1
831 COND_DEBUG_FLAG_1
832 COND_DEBUG_INFO_0
833 COND_DEBUG_INFO_1
834 COND_DEPS_TRACKING_0
835 COND_DEPS_TRACKING_1
836 COND_GCC_PCH_1
837 COND_ICC_PCH_1
838 COND_MONOLITHIC_0
839 COND_MONOLITHIC_0_SHARED_0
840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
849 COND_MONOLITHIC_0_SHARED_1
850 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
859 COND_MONOLITHIC_0_USE_AUI_1
860 COND_MONOLITHIC_0_USE_GUI_1
861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_USE_HTML_1
863 COND_MONOLITHIC_0_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_PROPGRID_1
865 COND_MONOLITHIC_0_USE_QA_1
866 COND_MONOLITHIC_0_USE_RICHTEXT_1
867 COND_MONOLITHIC_0_USE_STC_1
868 COND_MONOLITHIC_0_USE_XRC_1
869 COND_MONOLITHIC_1
870 COND_MONOLITHIC_1_SHARED_0
871 COND_MONOLITHIC_1_SHARED_1
872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_1
877 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
885 COND_PLATFORM_MACOS_1
886 COND_PLATFORM_MAC_0
887 COND_PLATFORM_MAC_1
888 COND_PLATFORM_MSDOS_0
889 COND_PLATFORM_MSDOS_1
890 COND_PLATFORM_OS2_1
891 COND_PLATFORM_UNIX_0
892 COND_PLATFORM_UNIX_1
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
897 COND_PLATFORM_WIN32_0
898 COND_PLATFORM_WIN32_1
899 COND_SHARED_0
900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
907 COND_SHARED_0_USE_STC_1
908 COND_SHARED_0_wxUSE_EXPAT_builtin
909 COND_SHARED_0_wxUSE_REGEX_builtin
910 COND_SHARED_0_wxUSE_ZLIB_builtin
911 COND_SHARED_1
912 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
913 COND_TOOLKIT_
914 COND_TOOLKIT_COCOA
915 COND_TOOLKIT_COCOA_USE_GUI_1
916 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_DFB
918 COND_TOOLKIT_DFB_USE_GUI_1
919 COND_TOOLKIT_GTK
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_USE_GUI_1
927 COND_TOOLKIT_MAC
928 COND_TOOLKIT_MGL
929 COND_TOOLKIT_MGL_USE_GUI_1
930 COND_TOOLKIT_MOTIF
931 COND_TOOLKIT_MOTIF_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW
934 COND_TOOLKIT_MSW_USE_GUI_1
935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW_WXUNIV_0
937 COND_TOOLKIT_OSX_CARBON
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_OSX_COCOA
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_IPHONE
944 COND_TOOLKIT_PM
945 COND_TOOLKIT_PM_USE_GUI_1
946 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_WINCE
948 COND_TOOLKIT_WINCE_USE_GUI_1
949 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE_WXUNIV_0
951 COND_TOOLKIT_X11
952 COND_TOOLKIT_X11_USE_GUI_1
953 COND_UNICODE_1
954 COND_USE_EXCEPTIONS_0
955 COND_USE_EXCEPTIONS_1
956 COND_USE_GUI_0
957 COND_USE_GUI_1
958 COND_USE_GUI_1_USE_OPENGL_1
959 COND_USE_GUI_1_WXUNIV_0
960 COND_USE_GUI_1_WXUNIV_1
961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
964 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
965 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
966 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
967 COND_USE_OPENGL_1
968 COND_USE_PCH_1
969 COND_USE_PLUGINS_0
970 COND_USE_RTTI_0
971 COND_USE_RTTI_1
972 COND_USE_SOSYMLINKS_1
973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
974 COND_USE_SOVERLINUX_1
975 COND_USE_SOVERSION_0
976 COND_USE_SOVERSOLARIS_1
977 COND_USE_STC_1
978 COND_USE_THREADS_0
979 COND_USE_THREADS_1
980 COND_USE_XRC_1
981 COND_WINDOWS_IMPLIB_1
982 COND_WITH_PLUGIN_SDL_1
983 COND_WXUNIV_0
984 COND_WXUNIV_1
985 COND_WXUSE_EXPAT_BUILTIN
986 COND_WXUSE_LIBJPEG_BUILTIN
987 COND_WXUSE_LIBPNG_BUILTIN
988 COND_WXUSE_LIBTIFF_BUILTIN
989 COND_WXUSE_REGEX_BUILTIN
990 COND_WXUSE_ZLIB_BUILTIN
991 COND_wxUSE_EXPAT_builtin
992 COND_wxUSE_LIBJPEG_builtin
993 COND_wxUSE_LIBPNG_builtin
994 COND_wxUSE_LIBTIFF_builtin
995 COND_wxUSE_REGEX_builtin
996 COND_wxUSE_ZLIB_builtin
997 DEREZ
998 SHARED
999 WX_LIBRARY_BASENAME_NOGUI
1000 WX_LIBRARY_BASENAME_GUI
1001 USE_GUI
1002 AFMINSTALL
1003 WIN32INSTALL
1004 TOOLKIT
1005 TOOLKIT_DIR
1006 TOOLCHAIN_NAME
1007 TOOLCHAIN_FULLNAME
1008 cross_compiling
1009 WIDGET_SET
1010 WX_RELEASE
1011 WX_VERSION
1012 WX_SUBVERSION
1013 WX_CHARTYPE
1014 WX_DEBUGTYPE
1015 WXCONFIG_CPPFLAGS
1016 WXCONFIG_CFLAGS
1017 WXCONFIG_CXXFLAGS
1018 WXCONFIG_LIBS
1019 WXCONFIG_RPATH
1020 WXCONFIG_LDFLAGS_GUI
1021 WXCONFIG_RESFLAGS
1022 GUIDIST
1023 DISTDIR
1024 SAMPLES_SUBDIRS
1025 LDFLAGS_GL
1026 OPENGL_LIBS
1027 DMALLOC_LIBS
1028 WX_VERSION_TAG
1029 RESCOMP
1030 RESFLAGS
1031 RESPROGRAMOBJ
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1034 LIBWXMACRES
1035 POSTLINK_COMMAND
1036 MACSETFILE
1037 GCC
1038 DLLTOOL
1039 CPPUNIT_CONFIG
1040 LIBOBJS
1041 LTLIBOBJS'
1042 ac_subst_files=''
1043 ac_precious_vars='build_alias
1044 host_alias
1045 target_alias
1046 CC
1047 CFLAGS
1048 LDFLAGS
1049 LIBS
1050 CPPFLAGS
1051 CPP
1052 CXX
1053 CXXFLAGS
1054 CCC
1055 PKG_CONFIG
1056 DIRECTFB_CFLAGS
1057 DIRECTFB_LIBS
1058 XMKMF
1059 PANGOX_CFLAGS
1060 PANGOX_LIBS
1061 PANGOFT2_CFLAGS
1062 PANGOFT2_LIBS
1063 PANGOXFT_CFLAGS
1064 PANGOXFT_LIBS
1065 GTKPRINT_CFLAGS
1066 GTKPRINT_LIBS
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1069 GNOMEVFS_CFLAGS
1070 GNOMEVFS_LIBS
1071 HILDON_CFLAGS
1072 HILDON_LIBS
1073 CAIRO_CFLAGS
1074 CAIRO_LIBS
1075 GST_CFLAGS
1076 GST_LIBS'
1077 ac_subdirs_all='src/tiff
1078 src/expat'
1079
1080 # Initialize some variables set by options.
1081 ac_init_help=
1082 ac_init_version=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file=/dev/null
1086 exec_prefix=NONE
1087 no_create=
1088 no_recursion=
1089 prefix=NONE
1090 program_prefix=NONE
1091 program_suffix=NONE
1092 program_transform_name=s,x,x,
1093 silent=
1094 site=
1095 srcdir=
1096 verbose=
1097 x_includes=NONE
1098 x_libraries=NONE
1099
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir='${exec_prefix}/bin'
1107 sbindir='${exec_prefix}/sbin'
1108 libexecdir='${exec_prefix}/libexec'
1109 datarootdir='${prefix}/share'
1110 datadir='${datarootdir}'
1111 sysconfdir='${prefix}/etc'
1112 sharedstatedir='${prefix}/com'
1113 localstatedir='${prefix}/var'
1114 includedir='${prefix}/include'
1115 oldincludedir='/usr/include'
1116 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir='${datarootdir}/info'
1118 htmldir='${docdir}'
1119 dvidir='${docdir}'
1120 pdfdir='${docdir}'
1121 psdir='${docdir}'
1122 libdir='${exec_prefix}/lib'
1123 localedir='${datarootdir}/locale'
1124 mandir='${datarootdir}/man'
1125
1126 ac_prev=
1127 ac_dashdash=
1128 for ac_option
1129 do
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\$ac_option
1133 ac_prev=
1134 continue
1135 fi
1136
1137 case $ac_option in
1138 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1139 *) ac_optarg=yes ;;
1140 esac
1141
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1143
1144 case $ac_dashdash$ac_option in
1145 --)
1146 ac_dashdash=yes ;;
1147
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1149 ac_prev=bindir ;;
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir=$ac_optarg ;;
1152
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev=build_alias ;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias=$ac_optarg ;;
1157
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev=cache_file ;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file=$ac_optarg ;;
1164
1165 --config-cache | -C)
1166 cache_file=config.cache ;;
1167
1168 -datadir | --datadir | --datadi | --datad)
1169 ac_prev=datadir ;;
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir=$ac_optarg ;;
1172
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev=datarootdir ;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir=$ac_optarg ;;
1179
1180 -disable-* | --disable-*)
1181 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_$ac_feature=no ;;
1188
1189 -docdir | --docdir | --docdi | --doc | --do)
1190 ac_prev=docdir ;;
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir=$ac_optarg ;;
1193
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1195 ac_prev=dvidir ;;
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir=$ac_optarg ;;
1198
1199 -enable-* | --enable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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=\$ac_optarg ;;
1207
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev=exec_prefix ;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix=$ac_optarg ;;
1216
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1219 with_gas=yes ;;
1220
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help=long ;;
1223 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1224 ac_init_help=recursive ;;
1225 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1226 ac_init_help=short ;;
1227
1228 -host | --host | --hos | --ho)
1229 ac_prev=host_alias ;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias=$ac_optarg ;;
1232
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1234 ac_prev=htmldir ;;
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1236 | --ht=*)
1237 htmldir=$ac_optarg ;;
1238
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev=includedir ;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir=$ac_optarg ;;
1245
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1247 ac_prev=infodir ;;
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir=$ac_optarg ;;
1250
1251 -libdir | --libdir | --libdi | --libd)
1252 ac_prev=libdir ;;
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir=$ac_optarg ;;
1255
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev=libexecdir ;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir=$ac_optarg ;;
1262
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev=localedir ;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir=$ac_optarg ;;
1267
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev=localstatedir ;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir=$ac_optarg ;;
1274
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1276 ac_prev=mandir ;;
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir=$ac_optarg ;;
1279
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1282 with_fp=no ;;
1283
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1286 no_create=yes ;;
1287
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1290 no_recursion=yes ;;
1291
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev=oldincludedir ;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir=$ac_optarg ;;
1300
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1302 ac_prev=prefix ;;
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix=$ac_optarg ;;
1305
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev=program_prefix ;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix=$ac_optarg ;;
1312
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev=program_suffix ;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix=$ac_optarg ;;
1319
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev=program_transform_name ;;
1328 -program-transform-name=* | --program-transform-name=* \
1329 | --program-transform-nam=* | --program-transform-na=* \
1330 | --program-transform-n=* | --program-transform-=* \
1331 | --program-transform=* | --program-transfor=* \
1332 | --program-transfo=* | --program-transf=* \
1333 | --program-trans=* | --program-tran=* \
1334 | --progr-tra=* | --program-tr=* | --program-t=*)
1335 program_transform_name=$ac_optarg ;;
1336
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1338 ac_prev=pdfdir ;;
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir=$ac_optarg ;;
1341
1342 -psdir | --psdir | --psdi | --psd | --ps)
1343 ac_prev=psdir ;;
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1345 psdir=$ac_optarg ;;
1346
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1349 silent=yes ;;
1350
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1352 ac_prev=sbindir ;;
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1354 | --sbi=* | --sb=*)
1355 sbindir=$ac_optarg ;;
1356
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1360 | --sha | --sh)
1361 ac_prev=sharedstatedir ;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1365 | --sha=* | --sh=*)
1366 sharedstatedir=$ac_optarg ;;
1367
1368 -site | --site | --sit)
1369 ac_prev=site ;;
1370 -site=* | --site=* | --sit=*)
1371 site=$ac_optarg ;;
1372
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1374 ac_prev=srcdir ;;
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir=$ac_optarg ;;
1377
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev=sysconfdir ;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir=$ac_optarg ;;
1384
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev=target_alias ;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias=$ac_optarg ;;
1389
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1391 verbose=yes ;;
1392
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version=: ;;
1395
1396 -with-* | --with-*)
1397 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_$ac_package=\$ac_optarg ;;
1404
1405 -without-* | --without-*)
1406 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_$ac_package=no ;;
1413
1414 --x)
1415 # Obsolete; use --with-x.
1416 with_x=yes ;;
1417
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev=x_includes ;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes=$ac_optarg ;;
1424
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev=x_libraries ;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries=$ac_optarg ;;
1431
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1435 ;;
1436
1437 *=*)
1438 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\$ac_optarg
1444 export $ac_envvar ;;
1445
1446 *)
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1452 ;;
1453
1454 esac
1455 done
1456
1457 if test -n "$ac_prev"; then
1458 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1461 fi
1462
1463 # Be sure to have absolute directory names.
1464 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1468 do
1469 eval ac_val=\$$ac_var
1470 case $ac_val in
1471 [\\/$]* | ?:[\\/]* ) continue;;
1472 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1473 esac
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1476 done
1477
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1481 build=$build_alias
1482 host=$host_alias
1483 target=$target_alias
1484
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x; then
1487 if test "x$build_alias" = x; then
1488 cross_compiling=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1492 cross_compiling=yes
1493 fi
1494 fi
1495
1496 ac_tool_prefix=
1497 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1498
1499 test "$silent" = yes && exec 6>/dev/null
1500
1501
1502 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di=`ls -di .` &&
1504 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1510
1511
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1521 echo X"$0" |
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1523 s//\1/
1524 q
1525 }
1526 /^X\(\/\/\)[^/].*/{
1527 s//\1/
1528 q
1529 }
1530 /^X\(\/\/\)$/{
1531 s//\1/
1532 q
1533 }
1534 /^X\(\/\).*/{
1535 s//\1/
1536 q
1537 }
1538 s/.*/./; q'`
1539 srcdir=$ac_confdir
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1541 srcdir=..
1542 fi
1543 else
1544 ac_srcdir_defaulted=no
1545 fi
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1550 fi
1551 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1552 ac_abs_confdir=`(
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1555 pwd)`
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1558 srcdir=.
1559 fi
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1563 case $srcdir in
1564 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1565 esac
1566 for ac_var in $ac_precious_vars; do
1567 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1568 eval ac_env_${ac_var}_value=\$${ac_var}
1569 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1570 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1571 done
1572
1573 #
1574 # Report the --help message.
1575 #
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1579 cat <<_ACEOF
1580 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1581
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1583
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1586
1587 Defaults for the options are specified in brackets.
1588
1589 Configuration:
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1599
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1604 [PREFIX]
1605
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1610
1611 For better control, use the options below.
1612
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1633 _ACEOF
1634
1635 cat <<\_ACEOF
1636
1637 X features:
1638 --x-includes=DIR X include files are in DIR
1639 --x-libraries=DIR X library files are in DIR
1640
1641 System types:
1642 --build=BUILD configure for building on BUILD [guessed]
1643 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1644 _ACEOF
1645 fi
1646
1647 if test -n "$ac_init_help"; then
1648 case $ac_init_help in
1649 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1650 esac
1651 cat <<\_ACEOF
1652
1653 Optional Features:
1654 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1655 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1656 --disable-gui don't build GUI parts of the library
1657 --enable-monolithic build wxWidgets as single library
1658 --enable-plugins build parts of wxWidgets as loadable components
1659 --enable-official_build official build of wxWidgets (win32 DLL only)
1660 --enable-vendor=VENDOR vendor name (win32 DLL only)
1661 --disable-all-features disable all optional features to build minimal library
1662 --enable-universal use wxWidgets GUI controls instead of native ones
1663 --enable-nanox use NanoX
1664 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1665 --enable-gpe use GNOME PDA Environment features if possible
1666 --disable-shared create static library instead of shared
1667 --enable-debug same as debug_flag and debug_info
1668 --enable-stl use STL for containers
1669 --enable-std_iostreams use standard C++ stream classes
1670 --enable-std_string use standard C++ string classes
1671 --disable-unicode compile without Unicode support
1672 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1673 --enable-utf8 use UTF-8 representation for strings (Unix only)
1674 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1675 --enable-extended_rtti use extended RTTI (XTI)
1676 --enable-omf use OMF object format
1677 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1678 --enable-debug_info create code with debugging information
1679 --disable-optimise compile without optimisations
1680 --enable-debug_gdb create code with extra GDB debugging information
1681 --enable-debug_cntxt use wxDebugContext
1682 --enable-mem_tracing create code with memory tracing
1683 --enable-profile create code with profiling information
1684 --enable-no_rtti create code without RTTI information
1685 --enable-no_exceptions create code without C++ exceptions handling
1686 --enable-permissive compile code disregarding strict ANSI
1687 --enable-no_deps create code without dependency information
1688 --disable-vararg_macros don't use vararg macros, even if they are supported
1689 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1690 --enable-compat26 enable wxWidgets 2.6 compatibility
1691 --disable-compat28 disable wxWidgets 2.8 compatibility
1692 --disable-rpath disable use of rpath for uninstalled builds
1693 --enable-objc_uniquifying enable Objective-C class name uniquifying
1694 --disable-visibility disable use of ELF symbols visibility even if supported
1695 --enable-intl use internationalization system
1696 --enable-xlocale use x-locale support (requires wxLocale)
1697 --enable-config use wxConfig (and derived) classes
1698 --enable-protocols use wxProtocol and derived classes
1699 --enable-ftp use wxFTP (requires wxProtocol
1700 --enable-http use wxHTTP (requires wxProtocol
1701 --enable-fileproto use wxFileProto class (requires wxProtocol
1702 --enable-sockets use socket/network classes
1703 --enable-ipv6 enable IPv6 support in wxSocket
1704 --enable-ole use OLE classes (Win32 only)
1705 --enable-dataobj use data object classes
1706 --enable-ipc use interprocess communication (wxSocket etc.)
1707 --enable-baseevtloop use event loop in console programs too
1708 --enable-epollloop use wxEpollDispatcher class (Linux only)
1709 --enable-selectloop use wxSelectDispatcher class
1710 --enable-apple_ieee use the Apple IEEE codec
1711 --enable-arcstream use wxArchive streams
1712 --enable-base64 use base64 encoding/decoding functions
1713 --enable-backtrace use wxStackWalker class for getting backtraces
1714 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1715 --enable-cmdline use wxCmdLineParser class
1716 --enable-datetime use wxDateTime class
1717 --enable-debugreport use wxDebugReport class
1718 --enable-dialupman use dialup network classes
1719 --enable-dynlib use wxLibrary class for DLL loading
1720 --enable-dynamicloader use (new) wxDynamicLibrary class
1721 --enable-exceptions build exception-safe library
1722 --enable-ffile use wxFFile class
1723 --enable-file use wxFile class
1724 --enable-filesystem use virtual file systems classes
1725 --enable-fontenum use wxFontEnumerator class
1726 --enable-fontmap use font encodings conversion classes
1727 --enable-fs_archive use virtual archive filesystems
1728 --enable-fs_inet use virtual HTTP/FTP filesystems
1729 --enable-fs_zip now replaced by fs_archive
1730 --enable-geometry use geometry class
1731 --enable-log use logging system
1732 --enable-longlong use wxLongLong class
1733 --enable-mimetype use wxMimeTypesManager
1734 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1735 --enable-snglinst use wxSingleInstanceChecker class
1736 --enable-sound use wxSound class
1737 --enable-stdpaths use wxStandardPaths class
1738 --enable-stopwatch use wxStopWatch class
1739 --enable-streams use wxStream etc classes
1740 --enable-sysoptions use wxSystemOptions
1741 --enable-tarstream use wxTar streams
1742 --enable-textbuf use wxTextBuffer class
1743 --enable-textfile use wxTextFile class
1744 --enable-timer use wxTimer class
1745 --enable-variant use wxVariant class
1746 --enable-zipstream use wxZip streams
1747 --enable-url use wxURL class
1748 --enable-protocol use wxProtocol class
1749 --enable-protocol-http HTTP support in wxProtocol
1750 --enable-protocol-ftp FTP support in wxProtocol
1751 --enable-protocol-file FILE support in wxProtocol
1752 --enable-threads use threads
1753 --enable-iniconf use wxIniConfig (Win32 only)
1754 --enable-regkey use wxRegKey class (Win32 only)
1755 --enable-docview use document view architecture
1756 --enable-help use help subsystem
1757 --enable-mshtmlhelp use MS HTML Help (win32)
1758 --enable-html use wxHTML sub-library
1759 --enable-htmlhelp use wxHTML-based help
1760 --enable-xrc use XRC resources sub-library
1761 --enable-aui use AUI docking library
1762 --enable-propgrid use wxPropertyGrid library
1763 --enable-stc use wxStyledTextCtrl library
1764 --enable-constraints use layout-constraints system
1765 --enable-loggui use standard GUI logger
1766 --enable-logwin use wxLogWindow
1767 --enable-logdialog use wxLogDialog
1768 --enable-mdi use multiple document interface architecture
1769 --enable-mdidoc use docview architecture with MDI
1770 --enable-mediactrl use wxMediaCtrl class
1771 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1772 --enable-webkit use wxWebKitCtrl (Mac)
1773 --enable-richtext use wxRichTextCtrl
1774 --enable-graphics_ctx use graphics context 2D drawing API
1775 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1776 --enable-printarch use printing architecture
1777 --enable-svg use wxSVGFileDC device context
1778 --enable-clipboard use wxClipboard class
1779 --enable-dnd use Drag'n'Drop classes
1780 --enable-metafile use win32 metafiles
1781 --disable-controls disable compilation of all standard controls
1782 --enable-accel use accelerators
1783 --enable-animatectrl use wxAnimationCtrl class
1784 --enable-bmpbutton use wxBitmapButton class
1785 --enable-bmpcombobox use wxBitmapComboBox class
1786 --enable-button use wxButton class
1787 --enable-calendar use wxCalendarCtrl class
1788 --enable-caret use wxCaret class
1789 --enable-checkbox use wxCheckBox class
1790 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1791 --enable-choice use wxChoice class
1792 --enable-choicebook use wxChoicebook class
1793 --enable-collpane use wxCollapsiblePane class
1794 --enable-colourpicker use wxColourPickerCtrl class
1795 --enable-combobox use wxComboBox class
1796 --enable-comboctrl use wxComboCtrl class
1797 --enable-dataviewctrl use wxDataViewCtrl class
1798 --enable-datepick use wxDatePickerCtrl class
1799 --enable-detect_sm use code to detect X11 session manager
1800 --enable-dirpicker use wxDirPickerCtrl class
1801 --enable-display use wxDisplay class
1802 --enable-editablebox use wxEditableListBox class
1803 --enable-filectrl use wxFileCtrl class
1804 --enable-filepicker use wxFilePickerCtrl class
1805 --enable-fontpicker use wxFontPickerCtrl class
1806 --enable-gauge use wxGauge class
1807 --enable-grid use wxGrid class
1808 --enable-headerctrl use wxHeaderCtrl class
1809 --enable-hyperlink use wxHyperlinkCtrl class
1810 --enable-imaglist use wxImageList class
1811 --enable-listbook use wxListbook class
1812 --enable-listbox use wxListBox class
1813 --enable-listctrl use wxListCtrl class
1814 --enable-notebook use wxNotebook class
1815 --enable-notifmsg use wxNotificationMessage class
1816 --enable-odcombobox use wxOwnerDrawnComboBox class
1817 --enable-popupwin use wxPopUpWindow class
1818 --enable-radiobox use wxRadioBox class
1819 --enable-radiobtn use wxRadioButton class
1820 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1821 --enable-sash use wxSashWindow class
1822 --enable-scrollbar use wxScrollBar class and scrollable windows
1823 --enable-searchctrl use wxSearchCtrl class
1824 --enable-slider use wxSlider class
1825 --enable-spinbtn use wxSpinButton class
1826 --enable-spinctrl use wxSpinCtrl class
1827 --enable-splitter use wxSplitterWindow class
1828 --enable-statbmp use wxStaticBitmap class
1829 --enable-statbox use wxStaticBox class
1830 --enable-statline use wxStaticLine class
1831 --enable-stattext use wxStaticText class
1832 --enable-statusbar use wxStatusBar class
1833 --enable-taskbaricon use wxTaskBarIcon class
1834 --enable-tbarnative use native wxToolBar class
1835 --enable-textctrl use wxTextCtrl class
1836 --enable-tipwindow use wxTipWindow class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-toolbook use wxToolbook class
1840 --enable-treebook use wxTreebook class
1841 --enable-treectrl use wxTreeCtrl class
1842 --enable-commondlg use all common dialogs
1843 --enable-aboutdlg use wxAboutBox
1844 --enable-choicedlg use wxChoiceDialog
1845 --enable-coldlg use wxColourDialog
1846 --enable-filedlg use wxFileDialog
1847 --enable-finddlg use wxFindReplaceDialog
1848 --enable-fontdlg use wxFontDialog
1849 --enable-dirdlg use wxDirDialog
1850 --enable-msgdlg use wxMessageDialog
1851 --enable-numberdlg use wxNumberEntryDialog
1852 --enable-splash use wxSplashScreen
1853 --enable-textdlg use wxTextDialog
1854 --enable-tipdlg use startup tips
1855 --enable-progressdlg use wxProgressDialog
1856 --enable-wizarddlg use wxWizard
1857 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1858 --enable-miniframe use wxMiniFrame class
1859 --enable-tooltips use wxToolTip class
1860 --enable-splines use spline drawing code
1861 --enable-mousewheel use mousewheel
1862 --enable-validators use wxValidator and derived classes
1863 --enable-busyinfo use wxBusyInfo
1864 --enable-joystick use wxJoystick
1865 --enable-metafiles use wxMetaFile (Win32 only)
1866 --enable-dragimage use wxDragImage
1867 --enable-accessibility enable accessibility support
1868 --enable-palette use wxPalette class
1869 --enable-image use wxImage class
1870 --enable-gif use gif images (GIF file format)
1871 --enable-pcx use pcx images (PCX file format)
1872 --enable-tga use tga images (TGA file format)
1873 --enable-iff use iff images (IFF file format)
1874 --enable-pnm use pnm images (PNM file format)
1875 --enable-xpm use xpm images (XPM file format)
1876 --enable-ico_cur use Windows ICO and CUR formats
1877 --enable-dccache cache temporary wxDC objects (Win32 only)
1878 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1879 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1880 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1881 --enable-wxdib use wxDIB class (Win32 only)
1882 --enable-autoidman use automatic ids management
1883 --disable-largefile omit support for large files
1884 --disable-gtktest do not try to compile and run a test GTK+ program
1885 --disable-gtktest Do not try to compile and run a test GTK program
1886 --disable-sdltest Do not try to compile and run a test SDL program
1887 --enable-omf use OMF object format (OS/2)
1888 --disable-dependency-tracking
1889 don't use dependency tracking even if the compiler
1890 can
1891 --disable-precomp-headers
1892 don't use precompiled headers even if compiler can
1893
1894 Optional Packages:
1895 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1896 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1897 --without-subdirs don't generate makefiles for samples/demos/...
1898 --with-flavour=NAME specify a name to identify this build
1899 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1900 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1901 --with-motif use Motif/Lesstif
1902 --with-osx_carbon use Mac OS X (Carbon)
1903 --with-osx_cocoa use Mac OS X (Cocoa)
1904 --with-mac use Mac OS X (Default)
1905 --with-cocoa use Cocoa
1906 --with-wine use Wine
1907 --with-msw use MS-Windows
1908 --with-pm use OS/2 Presentation Manager
1909 --with-mgl use SciTech MGL
1910 --with-directfb use DirectFB
1911 --with-microwin use MicroWindows
1912 --with-x11 use X11
1913 --with-libpng use libpng (PNG image format)
1914 --with-libjpeg use libjpeg (JPEG file format)
1915 --with-libtiff use libtiff (TIFF file format)
1916 --with-libxpm use libxpm (XPM file format)
1917 --with-libiconv use libiconv (character conversion)
1918 --with-libmspack use libmspack (CHM help files loading)
1919 --without-gtkprint don't use GTK printing support
1920 --without-gnomeprint don't use GNOME printing libraries
1921 --with-gnomevfs use GNOME VFS for associating MIME types
1922 --with-hildon use Hildon framework for Nokia 770
1923 --with-opengl use OpenGL (or Mesa)
1924 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1925 --with-sdl use SDL for audio on Unix
1926 --with-regex enable support for wxRegEx class
1927 --with-zlib use zlib for LZW compression
1928 --with-expat enable XML support using expat parser
1929 --with-macosx-sdk=PATH use an OS X SDK at PATH
1930 --with-macosx-version-min=VER build binaries which require at least this OS X version
1931 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1932 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1933 --with-x use the X Window System
1934 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1935 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1936 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1937 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1938 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1939
1940 Some influential environment variables:
1941 CC C compiler command
1942 CFLAGS C compiler flags
1943 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1944 nonstandard directory <lib dir>
1945 LIBS libraries to pass to the linker, e.g. -l<library>
1946 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1947 you have headers in a nonstandard directory <include dir>
1948 CPP C preprocessor
1949 CXX C++ compiler command
1950 CXXFLAGS C++ compiler flags
1951 PKG_CONFIG path to pkg-config utility
1952 DIRECTFB_CFLAGS
1953 C compiler flags for DIRECTFB, overriding pkg-config
1954 DIRECTFB_LIBS
1955 linker flags for DIRECTFB, overriding pkg-config
1956 XMKMF Path to xmkmf, Makefile generator for X Window System
1957 PANGOX_CFLAGS
1958 C compiler flags for PANGOX, overriding pkg-config
1959 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1960 PANGOFT2_CFLAGS
1961 C compiler flags for PANGOFT2, overriding pkg-config
1962 PANGOFT2_LIBS
1963 linker flags for PANGOFT2, overriding pkg-config
1964 PANGOXFT_CFLAGS
1965 C compiler flags for PANGOXFT, overriding pkg-config
1966 PANGOXFT_LIBS
1967 linker flags for PANGOXFT, overriding pkg-config
1968 GTKPRINT_CFLAGS
1969 C compiler flags for GTKPRINT, overriding pkg-config
1970 GTKPRINT_LIBS
1971 linker flags for GTKPRINT, overriding pkg-config
1972 LIBGNOMEPRINTUI_CFLAGS
1973 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1974 LIBGNOMEPRINTUI_LIBS
1975 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 GNOMEVFS_CFLAGS
1977 C compiler flags for GNOMEVFS, overriding pkg-config
1978 GNOMEVFS_LIBS
1979 linker flags for GNOMEVFS, overriding pkg-config
1980 HILDON_CFLAGS
1981 C compiler flags for HILDON, overriding pkg-config
1982 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1983 CAIRO_CFLAGS
1984 C compiler flags for CAIRO, overriding pkg-config
1985 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1986 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1987 GST_LIBS linker flags for GST, overriding pkg-config
1988
1989 Use these variables to override the choices made by `configure' or to help
1990 it to find libraries and programs with nonstandard names/locations.
1991
1992 Report bugs to <wx-dev@lists.wxwidgets.org>.
1993 _ACEOF
1994 ac_status=$?
1995 fi
1996
1997 if test "$ac_init_help" = "recursive"; then
1998 # If there are subdirs, report their specific --help.
1999 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2000 test -d "$ac_dir" || continue
2001 ac_builddir=.
2002
2003 case "$ac_dir" in
2004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2005 *)
2006 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2007 # A ".." for each directory in $ac_dir_suffix.
2008 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2009 case $ac_top_builddir_sub in
2010 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2011 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2012 esac ;;
2013 esac
2014 ac_abs_top_builddir=$ac_pwd
2015 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2016 # for backward compatibility:
2017 ac_top_builddir=$ac_top_build_prefix
2018
2019 case $srcdir in
2020 .) # We are building in place.
2021 ac_srcdir=.
2022 ac_top_srcdir=$ac_top_builddir_sub
2023 ac_abs_top_srcdir=$ac_pwd ;;
2024 [\\/]* | ?:[\\/]* ) # Absolute name.
2025 ac_srcdir=$srcdir$ac_dir_suffix;
2026 ac_top_srcdir=$srcdir
2027 ac_abs_top_srcdir=$srcdir ;;
2028 *) # Relative name.
2029 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2030 ac_top_srcdir=$ac_top_build_prefix$srcdir
2031 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2032 esac
2033 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2034
2035 cd "$ac_dir" || { ac_status=$?; continue; }
2036 # Check for guested configure.
2037 if test -f "$ac_srcdir/configure.gnu"; then
2038 echo &&
2039 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2040 elif test -f "$ac_srcdir/configure"; then
2041 echo &&
2042 $SHELL "$ac_srcdir/configure" --help=recursive
2043 else
2044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2045 fi || ac_status=$?
2046 cd "$ac_pwd" || { ac_status=$?; break; }
2047 done
2048 fi
2049
2050 test -n "$ac_init_help" && exit $ac_status
2051 if $ac_init_version; then
2052 cat <<\_ACEOF
2053 wxWidgets configure 2.9.0
2054 generated by GNU Autoconf 2.61
2055
2056 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2057 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2058 This configure script is free software; the Free Software Foundation
2059 gives unlimited permission to copy, distribute and modify it.
2060 _ACEOF
2061 exit
2062 fi
2063 cat >config.log <<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2066
2067 It was created by wxWidgets $as_me 2.9.0, which was
2068 generated by GNU Autoconf 2.61. Invocation command line was
2069
2070 $ $0 $@
2071
2072 _ACEOF
2073 exec 5>>config.log
2074 {
2075 cat <<_ASUNAME
2076 ## --------- ##
2077 ## Platform. ##
2078 ## --------- ##
2079
2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2085
2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2088
2089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2096
2097 _ASUNAME
2098
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 for as_dir in $PATH
2101 do
2102 IFS=$as_save_IFS
2103 test -z "$as_dir" && as_dir=.
2104 echo "PATH: $as_dir"
2105 done
2106 IFS=$as_save_IFS
2107
2108 } >&5
2109
2110 cat >&5 <<_ACEOF
2111
2112
2113 ## ----------- ##
2114 ## Core tests. ##
2115 ## ----------- ##
2116
2117 _ACEOF
2118
2119
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2125 ac_configure_args=
2126 ac_configure_args0=
2127 ac_configure_args1=
2128 ac_must_keep_next=false
2129 for ac_pass in 1 2
2130 do
2131 for ac_arg
2132 do
2133 case $ac_arg in
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2137 continue ;;
2138 *\'*)
2139 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2140 esac
2141 case $ac_pass in
2142 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2143 2)
2144 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2145 if test $ac_must_keep_next = true; then
2146 ac_must_keep_next=false # Got value, back to normal.
2147 else
2148 case $ac_arg in
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155 esac
2156 ;;
2157 -* ) ac_must_keep_next=true ;;
2158 esac
2159 fi
2160 ac_configure_args="$ac_configure_args '$ac_arg'"
2161 ;;
2162 esac
2163 done
2164 done
2165 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2166 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2167
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2175 {
2176 echo
2177
2178 cat <<\_ASBOX
2179 ## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##
2182 _ASBOX
2183 echo
2184 # The following way of writing the cache mishandles newlines in values,
2185 (
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2188 case $ac_val in #(
2189 *${as_nl}*)
2190 case $ac_var in #(
2191 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2192 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2193 esac
2194 case $ac_var in #(
2195 _ | IFS | as_nl) ;; #(
2196 *) $as_unset $ac_var ;;
2197 esac ;;
2198 esac
2199 done
2200 (set) 2>&1 |
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2203 sed -n \
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2206 ;; #(
2207 *)
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209 ;;
2210 esac |
2211 sort
2212 )
2213 echo
2214
2215 cat <<\_ASBOX
2216 ## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##
2219 _ASBOX
2220 echo
2221 for ac_var in $ac_subst_vars
2222 do
2223 eval ac_val=\$$ac_var
2224 case $ac_val in
2225 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 esac
2227 echo "$ac_var='\''$ac_val'\''"
2228 done | sort
2229 echo
2230
2231 if test -n "$ac_subst_files"; then
2232 cat <<\_ASBOX
2233 ## ------------------- ##
2234 ## File substitutions. ##
2235 ## ------------------- ##
2236 _ASBOX
2237 echo
2238 for ac_var in $ac_subst_files
2239 do
2240 eval ac_val=\$$ac_var
2241 case $ac_val in
2242 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 esac
2244 echo "$ac_var='\''$ac_val'\''"
2245 done | sort
2246 echo
2247 fi
2248
2249 if test -s confdefs.h; then
2250 cat <<\_ASBOX
2251 ## ----------- ##
2252 ## confdefs.h. ##
2253 ## ----------- ##
2254 _ASBOX
2255 echo
2256 cat confdefs.h
2257 echo
2258 fi
2259 test "$ac_signal" != 0 &&
2260 echo "$as_me: caught signal $ac_signal"
2261 echo "$as_me: exit $exit_status"
2262 } >&5
2263 rm -f core *.core core.conftest.* &&
2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2265 exit $exit_status
2266 ' 0
2267 for ac_signal in 1 2 13 15; do
2268 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2269 done
2270 ac_signal=0
2271
2272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2273 rm -f -r conftest* confdefs.h
2274
2275 # Predefined preprocessor variables.
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_NAME "$PACKAGE_NAME"
2279 _ACEOF
2280
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2284 _ACEOF
2285
2286
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2289 _ACEOF
2290
2291
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_STRING "$PACKAGE_STRING"
2294 _ACEOF
2295
2296
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2299 _ACEOF
2300
2301
2302 # Let the site file select an alternate cache file if it wants to.
2303 # Prefer explicitly selected file to automatically selected ones.
2304 if test -n "$CONFIG_SITE"; then
2305 set x "$CONFIG_SITE"
2306 elif test "x$prefix" != xNONE; then
2307 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2308 else
2309 set x "$ac_default_prefix/share/config.site" \
2310 "$ac_default_prefix/etc/config.site"
2311 fi
2312 shift
2313 for ac_site_file
2314 do
2315 if test -r "$ac_site_file"; then
2316 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2317 echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2319 . "$ac_site_file"
2320 fi
2321 done
2322
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special
2325 # files actually), so we avoid doing that.
2326 if test -f "$cache_file"; then
2327 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2328 echo "$as_me: loading cache $cache_file" >&6;}
2329 case $cache_file in
2330 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2331 *) . "./$cache_file";;
2332 esac
2333 fi
2334 else
2335 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2336 echo "$as_me: creating cache $cache_file" >&6;}
2337 >$cache_file
2338 fi
2339
2340 # Check that the precious variables saved in the cache have kept the same
2341 # value.
2342 ac_cache_corrupted=false
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2345 eval ac_new_set=\$ac_env_${ac_var}_set
2346 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2347 eval ac_new_val=\$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2349 set,)
2350 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted=: ;;
2353 ,set)
2354 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2357 ,);;
2358 *)
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2361 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2362 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2363 echo "$as_me: former value: $ac_old_val" >&2;}
2364 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2365 echo "$as_me: current value: $ac_new_val" >&2;}
2366 ac_cache_corrupted=:
2367 fi;;
2368 esac
2369 # Pass precious variables to config.status.
2370 if test "$ac_new_set" = set; then
2371 case $ac_new_val in
2372 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 *) ac_arg=$ac_var=$ac_new_val ;;
2374 esac
2375 case " $ac_configure_args " in
2376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2377 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2378 esac
2379 fi
2380 done
2381 if $ac_cache_corrupted; then
2382 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2383 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2385 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413 ac_ext=c
2414 ac_cpp='$CPP $CPPFLAGS'
2415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2418
2419
2420
2421
2422
2423 ac_aux_dir=
2424 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2425 if test -f "$ac_dir/install-sh"; then
2426 ac_aux_dir=$ac_dir
2427 ac_install_sh="$ac_aux_dir/install-sh -c"
2428 break
2429 elif test -f "$ac_dir/install.sh"; then
2430 ac_aux_dir=$ac_dir
2431 ac_install_sh="$ac_aux_dir/install.sh -c"
2432 break
2433 elif test -f "$ac_dir/shtool"; then
2434 ac_aux_dir=$ac_dir
2435 ac_install_sh="$ac_aux_dir/shtool install -c"
2436 break
2437 fi
2438 done
2439 if test -z "$ac_aux_dir"; then
2440 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2441 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2442 { (exit 1); exit 1; }; }
2443 fi
2444
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2452
2453
2454 # Make sure we can run config.sub.
2455 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2456 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2457 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2458 { (exit 1); exit 1; }; }
2459
2460 { echo "$as_me:$LINENO: checking build system type" >&5
2461 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_build+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 else
2465 ac_build_alias=$build_alias
2466 test "x$ac_build_alias" = x &&
2467 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2468 test "x$ac_build_alias" = x &&
2469 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2470 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2471 { (exit 1); exit 1; }; }
2472 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2476
2477 fi
2478 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2479 echo "${ECHO_T}$ac_cv_build" >&6; }
2480 case $ac_cv_build in
2481 *-*-*) ;;
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2483 echo "$as_me: error: invalid value of canonical build" >&2;}
2484 { (exit 1); exit 1; }; };;
2485 esac
2486 build=$ac_cv_build
2487 ac_save_IFS=$IFS; IFS='-'
2488 set x $ac_cv_build
2489 shift
2490 build_cpu=$1
2491 build_vendor=$2
2492 shift; shift
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2495 build_os=$*
2496 IFS=$ac_save_IFS
2497 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2498
2499
2500 { echo "$as_me:$LINENO: checking host system type" >&5
2501 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_host+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test "x$host_alias" = x; then
2506 ac_cv_host=$ac_cv_build
2507 else
2508 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512 fi
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2516 echo "${ECHO_T}$ac_cv_host" >&6; }
2517 case $ac_cv_host in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2520 echo "$as_me: error: invalid value of canonical host" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 host=$ac_cv_host
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_host
2526 shift
2527 host_cpu=$1
2528 host_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 host_os=$*
2533 IFS=$ac_save_IFS
2534 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2535
2536
2537
2538
2539
2540 wx_major_version_number=2
2541 wx_minor_version_number=9
2542 wx_release_number=0
2543 wx_subrelease_number=0
2544
2545 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2546 WX_VERSION=$WX_RELEASE.$wx_release_number
2547 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2548
2549 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2550
2551
2552 wx_top_builddir="`pwd`"
2553
2554
2555
2556
2557 USE_UNIX=1
2558 USE_OS2=0
2559 USE_WIN32=0
2560 USE_DOS=0
2561 USE_BEOS=0
2562 USE_MAC=0
2563
2564 USE_AIX=
2565 USE_BSD= USE_DARWIN= USE_FREEBSD=
2566 USE_GNU= USE_HPUX=
2567 USE_LINUX=
2568 USE_NETBSD=
2569 USE_OPENBSD=
2570 USE_OSF= USE_SGI=
2571 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2572 USE_ULTRIX=
2573 USE_UNIXWARE=
2574
2575 USE_ALPHA=
2576
2577 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2578
2579 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2580
2581 DEFAULT_wxUSE_COCOA=0
2582 DEFAULT_wxUSE_GTK=0
2583 DEFAULT_wxUSE_OSX_CARBON=0
2584 DEFAULT_wxUSE_OSX_COCOA=0
2585 DEFAULT_wxUSE_MGL=0
2586 DEFAULT_wxUSE_MICROWIN=0
2587 DEFAULT_wxUSE_MOTIF=0
2588 DEFAULT_wxUSE_MSW=0
2589 DEFAULT_wxUSE_PM=0
2590 DEFAULT_wxUSE_X11=0
2591 DEFAULT_wxUSE_DFB=0
2592
2593 DEFAULT_DEFAULT_wxUSE_COCOA=0
2594 DEFAULT_DEFAULT_wxUSE_GTK=0
2595 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2596 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2597 DEFAULT_DEFAULT_wxUSE_MGL=0
2598 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2599 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2600 DEFAULT_DEFAULT_wxUSE_MSW=0
2601 DEFAULT_DEFAULT_wxUSE_PM=0
2602 DEFAULT_DEFAULT_wxUSE_X11=0
2603 DEFAULT_DEFAULT_wxUSE_DFB=0
2604
2605 PROGRAM_EXT=
2606 SAMPLES_RPATH_FLAG=
2607 SAMPLES_RPATH_POSTLINK=
2608
2609 DEFAULT_STD_FLAG=yes
2610
2611 case "${host}" in
2612 *-hp-hpux* )
2613 USE_HPUX=1
2614 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2615 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2616 cat >>confdefs.h <<\_ACEOF
2617 #define __HPUX__ 1
2618 _ACEOF
2619
2620
2621 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2622 ;;
2623 *-*-linux* )
2624 USE_LINUX=1
2625 cat >>confdefs.h <<\_ACEOF
2626 #define __LINUX__ 1
2627 _ACEOF
2628
2629 TMP=`uname -m`
2630 if test "x$TMP" = "xalpha"; then
2631 USE_ALPHA=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __ALPHA__ 1
2634 _ACEOF
2635
2636 fi
2637 DEFAULT_DEFAULT_wxUSE_GTK=1
2638 ;;
2639 *-*-gnu* | *-*-k*bsd*-gnu )
2640 USE_GNU=1
2641 TMP=`uname -m`
2642 if test "x$TMP" = "xalpha"; then
2643 USE_ALPHA=1
2644 cat >>confdefs.h <<\_ACEOF
2645 #define __ALPHA__ 1
2646 _ACEOF
2647
2648 fi
2649 DEFAULT_DEFAULT_wxUSE_GTK=1
2650 ;;
2651 *-*-irix5* | *-*-irix6* )
2652 USE_SGI=1
2653 USE_SVR4=1
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __SGI__ 1
2656 _ACEOF
2657
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __SVR4__ 1
2660 _ACEOF
2661
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 ;;
2664 *-*-solaris2* )
2665 USE_SUN=1
2666 USE_SOLARIS=1
2667 USE_SVR4=1
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SUN__ 1
2670 _ACEOF
2671
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SOLARIS__ 1
2674 _ACEOF
2675
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SVR4__ 1
2678 _ACEOF
2679
2680 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2681 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2682 ;;
2683 *-*-sunos4* )
2684 USE_SUN=1
2685 USE_SUNOS=1
2686 USE_BSD=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SUN__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SUNOS__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __BSD__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2700 ;;
2701 *-*-freebsd*)
2702 USE_BSD=1
2703 USE_FREEBSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __FREEBSD__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __BSD__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2713 ;;
2714 *-*-openbsd*|*-*-mirbsd*)
2715 USE_BSD=1
2716 USE_OPENBSD=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __OPENBSD__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 ;;
2727 *-*-netbsd*)
2728 USE_BSD=1
2729 USE_NETBSD=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __NETBSD__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __BSD__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2740
2741 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2742 ;;
2743 *-*-osf* )
2744 USE_ALPHA=1
2745 USE_OSF=1
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __ALPHA__ 1
2748 _ACEOF
2749
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __OSF__ 1
2752 _ACEOF
2753
2754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2755 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2756 ;;
2757 *-*-dgux5* )
2758 USE_ALPHA=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __ALPHA__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-sysv5* )
2771 USE_SYSV=1
2772 USE_SVR4=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __SYSV__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __SVR4__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 ;;
2783 *-*-aix* )
2784 USE_AIX=1
2785 USE_SYSV=1
2786 USE_SVR4=1
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __AIX__ 1
2789 _ACEOF
2790
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __SYSV__ 1
2793 _ACEOF
2794
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __SVR4__ 1
2797 _ACEOF
2798
2799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2800 ;;
2801
2802 *-*-*UnixWare*)
2803 USE_SYSV=1
2804 USE_SVR4=1
2805 USE_UNIXWARE=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __UNIXWARE__ 1
2808 _ACEOF
2809
2810 ;;
2811
2812 *-*-cygwin* | *-*-mingw32* )
2813 PROGRAM_EXT=".exe"
2814 DEFAULT_DEFAULT_wxUSE_MSW=1
2815 ;;
2816
2817 *-pc-msdosdjgpp )
2818 USE_UNIX=0
2819 USE_DOS=1
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __DOS__ 1
2822 _ACEOF
2823
2824 PROGRAM_EXT=".exe"
2825 DEFAULT_DEFAULT_wxUSE_MGL=1
2826 ;;
2827
2828 *-pc-os2_emx | *-pc-os2-emx )
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __EMX__ 1
2831 _ACEOF
2832
2833 USE_OS2=1
2834 cat >>confdefs.h <<\_ACEOF
2835 #define __OS2__ 1
2836 _ACEOF
2837
2838 PROGRAM_EXT=".exe"
2839 DEFAULT_DEFAULT_wxUSE_PM=1
2840 CXX=gcc
2841 LDFLAGS="$LDFLAGS -Zcrtdll"
2842 ac_executable_extensions=".exe"
2843 export ac_executable_extensions
2844 ac_save_IFS="$IFS"
2845 IFS='\\'
2846 ac_TEMP_PATH=
2847 for ac_dir in $PATH; do
2848 IFS=$ac_save_IFS
2849 if test -z "$ac_TEMP_PATH"; then
2850 ac_TEMP_PATH="$ac_dir"
2851 else
2852 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2853 fi
2854 done
2855 export PATH="$ac_TEMP_PATH"
2856 unset ac_TEMP_PATH
2857 DEFAULT_STD_FLAG=no
2858 ;;
2859
2860 *-*-darwin* )
2861 USE_BSD=1
2862 USE_DARWIN=1
2863 cat >>confdefs.h <<\_ACEOF
2864 #define __BSD__ 1
2865 _ACEOF
2866
2867 cat >>confdefs.h <<\_ACEOF
2868 #define __DARWIN__ 1
2869 _ACEOF
2870
2871 cat >>confdefs.h <<\_ACEOF
2872 #define TARGET_CARBON 1
2873 _ACEOF
2874
2875 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2876 DEFAULT_STD_FLAG=no
2877 ;;
2878 powerpc-apple-macos* )
2879 USE_UNIX=0
2880 ac_cv_c_bigendian=yes
2881 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2882 DEFAULT_STD_FLAG=no
2883 ;;
2884
2885 *-*-beos* )
2886 USE_BEOS=1
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __BEOS__ 1
2889 _ACEOF
2890
2891 ;;
2892
2893 *)
2894 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2895 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2896 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2897 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2898
2899 DEFAULT_DEFAULT_wxUSE_X11=1
2900 DEFAULT_wxUSE_SHARED=no
2901 esac
2902
2903
2904
2905 DEFAULT_wxUSE_ALL_FEATURES=yes
2906
2907 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2908 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2909
2910 DEFAULT_wxUSE_DMALLOC=no
2911 DEFAULT_wxUSE_LIBGNOMEVFS=no
2912 DEFAULT_wxUSE_LIBHILDON=no
2913 DEFAULT_wxUSE_LIBMSPACK=no
2914 DEFAULT_wxUSE_LIBSDL=no
2915
2916 DEFAULT_wxUSE_ACCESSIBILITY=no
2917 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2918 DEFAULT_wxUSE_IPV6=no
2919 DEFAULT_wxUSE_GSTREAMER8=no
2920
2921 DEFAULT_wxUSE_UNICODE_UTF8=auto
2922 DEFAULT_wxUSE_OPENGL=auto
2923 DEFAULT_wxUSE_MEDIACTRL=auto
2924
2925 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2926
2927 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2928
2929 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2930
2931 DEFAULT_wxUSE_GTK2=yes
2932
2933 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2934
2935
2936
2937
2938
2939 enablestring=disable
2940 defaultval=
2941 if test -z "$defaultval"; then
2942 if test x"$enablestring" = xdisable; then
2943 defaultval=yes
2944 else
2945 defaultval=no
2946 fi
2947 fi
2948
2949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2950 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2951 # Check whether --enable-gui was given.
2952 if test "${enable_gui+set}" = set; then
2953 enableval=$enable_gui;
2954 if test "$enableval" = yes; then
2955 wx_cv_use_gui='wxUSE_GUI=yes'
2956 else
2957 wx_cv_use_gui='wxUSE_GUI=no'
2958 fi
2959
2960 else
2961
2962 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2963
2964 fi
2965
2966
2967 eval "$wx_cv_use_gui"
2968
2969 if test x"$enablestring" = xdisable; then
2970 if test $wxUSE_GUI = yes; then
2971 result=no
2972 else
2973 result=yes
2974 fi
2975 else
2976 result=$wxUSE_GUI
2977 fi
2978
2979 { echo "$as_me:$LINENO: result: $result" >&5
2980 echo "${ECHO_T}$result" >&6; }
2981
2982
2983 enablestring=
2984 defaultval=
2985 if test -z "$defaultval"; then
2986 if test x"$enablestring" = xdisable; then
2987 defaultval=yes
2988 else
2989 defaultval=no
2990 fi
2991 fi
2992
2993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2994 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2995 # Check whether --enable-monolithic was given.
2996 if test "${enable_monolithic+set}" = set; then
2997 enableval=$enable_monolithic;
2998 if test "$enableval" = yes; then
2999 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3000 else
3001 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3002 fi
3003
3004 else
3005
3006 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3007
3008 fi
3009
3010
3011 eval "$wx_cv_use_monolithic"
3012
3013 if test x"$enablestring" = xdisable; then
3014 if test $wxUSE_MONOLITHIC = yes; then
3015 result=no
3016 else
3017 result=yes
3018 fi
3019 else
3020 result=$wxUSE_MONOLITHIC
3021 fi
3022
3023 { echo "$as_me:$LINENO: result: $result" >&5
3024 echo "${ECHO_T}$result" >&6; }
3025
3026
3027 enablestring=
3028 defaultval=
3029 if test -z "$defaultval"; then
3030 if test x"$enablestring" = xdisable; then
3031 defaultval=yes
3032 else
3033 defaultval=no
3034 fi
3035 fi
3036
3037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3038 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3039 # Check whether --enable-plugins was given.
3040 if test "${enable_plugins+set}" = set; then
3041 enableval=$enable_plugins;
3042 if test "$enableval" = yes; then
3043 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3044 else
3045 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3046 fi
3047
3048 else
3049
3050 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3051
3052 fi
3053
3054
3055 eval "$wx_cv_use_plugins"
3056
3057 if test x"$enablestring" = xdisable; then
3058 if test $wxUSE_PLUGINS = yes; then
3059 result=no
3060 else
3061 result=yes
3062 fi
3063 else
3064 result=$wxUSE_PLUGINS
3065 fi
3066
3067 { echo "$as_me:$LINENO: result: $result" >&5
3068 echo "${ECHO_T}$result" >&6; }
3069
3070
3071 withstring=without
3072 defaultval=$wxUSE_ALL_FEATURES
3073 if test -z "$defaultval"; then
3074 if test x"$withstring" = xwithout; then
3075 defaultval=yes
3076 else
3077 defaultval=no
3078 fi
3079 fi
3080 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3081 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3082
3083 # Check whether --with-subdirs was given.
3084 if test "${with_subdirs+set}" = set; then
3085 withval=$with_subdirs;
3086 if test "$withval" = yes; then
3087 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3088 else
3089 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3090 fi
3091
3092 else
3093
3094 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3095
3096 fi
3097
3098
3099 eval "$wx_cv_use_subdirs"
3100
3101 if test x"$withstring" = xwithout; then
3102 if test $wxWITH_SUBDIRS = yes; then
3103 result=no
3104 else
3105 result=yes
3106 fi
3107 else
3108 result=$wxWITH_SUBDIRS
3109 fi
3110
3111 { echo "$as_me:$LINENO: result: $result" >&5
3112 echo "${ECHO_T}$result" >&6; }
3113
3114
3115 # Check whether --with-flavour was given.
3116 if test "${with_flavour+set}" = set; then
3117 withval=$with_flavour; WX_FLAVOUR="$withval"
3118 fi
3119
3120
3121 enablestring=
3122 defaultval=
3123 if test -z "$defaultval"; then
3124 if test x"$enablestring" = xdisable; then
3125 defaultval=yes
3126 else
3127 defaultval=no
3128 fi
3129 fi
3130
3131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3132 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3133 # Check whether --enable-official_build was given.
3134 if test "${enable_official_build+set}" = set; then
3135 enableval=$enable_official_build;
3136 if test "$enableval" = yes; then
3137 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3138 else
3139 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3140 fi
3141
3142 else
3143
3144 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3145
3146 fi
3147
3148
3149 eval "$wx_cv_use_official_build"
3150
3151 if test x"$enablestring" = xdisable; then
3152 if test $wxUSE_OFFICIAL_BUILD = yes; then
3153 result=no
3154 else
3155 result=yes
3156 fi
3157 else
3158 result=$wxUSE_OFFICIAL_BUILD
3159 fi
3160
3161 { echo "$as_me:$LINENO: result: $result" >&5
3162 echo "${ECHO_T}$result" >&6; }
3163
3164 # Check whether --enable-vendor was given.
3165 if test "${enable_vendor+set}" = set; then
3166 enableval=$enable_vendor; VENDOR="$enableval"
3167 fi
3168
3169 if test "x$VENDOR" = "x"; then
3170 VENDOR="custom"
3171 fi
3172
3173
3174 enablestring=disable
3175 defaultval=
3176 if test -z "$defaultval"; then
3177 if test x"$enablestring" = xdisable; then
3178 defaultval=yes
3179 else
3180 defaultval=no
3181 fi
3182 fi
3183
3184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3185 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3186 # Check whether --enable-all-features was given.
3187 if test "${enable_all_features+set}" = set; then
3188 enableval=$enable_all_features;
3189 if test "$enableval" = yes; then
3190 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3191 else
3192 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3193 fi
3194
3195 else
3196
3197 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3198
3199 fi
3200
3201
3202 eval "$wx_cv_use_all_features"
3203
3204 if test x"$enablestring" = xdisable; then
3205 if test $wxUSE_ALL_FEATURES = yes; then
3206 result=no
3207 else
3208 result=yes
3209 fi
3210 else
3211 result=$wxUSE_ALL_FEATURES
3212 fi
3213
3214 { echo "$as_me:$LINENO: result: $result" >&5
3215 echo "${ECHO_T}$result" >&6; }
3216
3217
3218
3219 if test "$wxUSE_GUI" = "yes"; then
3220
3221
3222 enablestring=
3223 defaultval=
3224 if test -z "$defaultval"; then
3225 if test x"$enablestring" = xdisable; then
3226 defaultval=yes
3227 else
3228 defaultval=no
3229 fi
3230 fi
3231
3232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3233 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3234 # Check whether --enable-universal was given.
3235 if test "${enable_universal+set}" = set; then
3236 enableval=$enable_universal;
3237 if test "$enableval" = yes; then
3238 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3239 else
3240 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3241 fi
3242
3243 else
3244
3245 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3246
3247 fi
3248
3249
3250 eval "$wx_cv_use_universal"
3251
3252 if test x"$enablestring" = xdisable; then
3253 if test $wxUSE_UNIVERSAL = yes; then
3254 result=no
3255 else
3256 result=yes
3257 fi
3258 else
3259 result=$wxUSE_UNIVERSAL
3260 fi
3261
3262 { echo "$as_me:$LINENO: result: $result" >&5
3263 echo "${ECHO_T}$result" >&6; }
3264
3265 if test "$wxUSE_UNIVERSAL" = "yes"; then
3266
3267 # Check whether --with-themes was given.
3268 if test "${with_themes+set}" = set; then
3269 withval=$with_themes; wxUNIV_THEMES="$withval"
3270 fi
3271
3272 fi
3273
3274
3275 # Check whether --with-gtk was given.
3276 if test "${with_gtk+set}" = set; then
3277 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3278 fi
3279
3280
3281 # Check whether --with-motif was given.
3282 if test "${with_motif+set}" = set; then
3283 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3284 fi
3285
3286
3287 # Check whether --with-osx_carbon was given.
3288 if test "${with_osx_carbon+set}" = set; then
3289 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3290 fi
3291
3292
3293 # Check whether --with-osx_cocoa was given.
3294 if test "${with_osx_cocoa+set}" = set; then
3295 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3296 fi
3297
3298
3299 # Check whether --with-mac was given.
3300 if test "${with_mac+set}" = set; then
3301 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3302 fi
3303
3304
3305 # Check whether --with-cocoa was given.
3306 if test "${with_cocoa+set}" = set; then
3307 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3308 fi
3309
3310
3311 # Check whether --with-wine was given.
3312 if test "${with_wine+set}" = set; then
3313 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3314 fi
3315
3316
3317 # Check whether --with-msw was given.
3318 if test "${with_msw+set}" = set; then
3319 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3320 fi
3321
3322
3323 # Check whether --with-pm was given.
3324 if test "${with_pm+set}" = set; then
3325 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3326 fi
3327
3328
3329 # Check whether --with-mgl was given.
3330 if test "${with_mgl+set}" = set; then
3331 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3332 fi
3333
3334
3335 # Check whether --with-directfb was given.
3336 if test "${with_directfb+set}" = set; then
3337 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3338 fi
3339
3340
3341 # Check whether --with-microwin was given.
3342 if test "${with_microwin+set}" = set; then
3343 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3344 fi
3345
3346
3347 # Check whether --with-x11 was given.
3348 if test "${with_x11+set}" = set; then
3349 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3350 fi
3351
3352
3353 enablestring=
3354 defaultval=
3355 if test -z "$defaultval"; then
3356 if test x"$enablestring" = xdisable; then
3357 defaultval=yes
3358 else
3359 defaultval=no
3360 fi
3361 fi
3362
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3365 # Check whether --enable-nanox was given.
3366 if test "${enable_nanox+set}" = set; then
3367 enableval=$enable_nanox;
3368 if test "$enableval" = yes; then
3369 wx_cv_use_nanox='wxUSE_NANOX=yes'
3370 else
3371 wx_cv_use_nanox='wxUSE_NANOX=no'
3372 fi
3373
3374 else
3375
3376 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3377
3378 fi
3379
3380
3381 eval "$wx_cv_use_nanox"
3382
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_NANOX = yes; then
3385 result=no
3386 else
3387 result=yes
3388 fi
3389 else
3390 result=$wxUSE_NANOX
3391 fi
3392
3393 { echo "$as_me:$LINENO: result: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3395
3396
3397 # Check whether --enable-gtk2 was given.
3398 if test "${enable_gtk2+set}" = set; then
3399 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3400 fi
3401
3402
3403 enablestring=
3404 defaultval=
3405 if test -z "$defaultval"; then
3406 if test x"$enablestring" = xdisable; then
3407 defaultval=yes
3408 else
3409 defaultval=no
3410 fi
3411 fi
3412
3413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3414 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3415 # Check whether --enable-gpe was given.
3416 if test "${enable_gpe+set}" = set; then
3417 enableval=$enable_gpe;
3418 if test "$enableval" = yes; then
3419 wx_cv_use_gpe='wxUSE_GPE=yes'
3420 else
3421 wx_cv_use_gpe='wxUSE_GPE=no'
3422 fi
3423
3424 else
3425
3426 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3427
3428 fi
3429
3430
3431 eval "$wx_cv_use_gpe"
3432
3433 if test x"$enablestring" = xdisable; then
3434 if test $wxUSE_GPE = yes; then
3435 result=no
3436 else
3437 result=yes
3438 fi
3439 else
3440 result=$wxUSE_GPE
3441 fi
3442
3443 { echo "$as_me:$LINENO: result: $result" >&5
3444 echo "${ECHO_T}$result" >&6; }
3445
3446
3447
3448 { echo "$as_me:$LINENO: checking for toolkit" >&5
3449 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3450
3451
3452
3453 # In Wine, we need to default to MSW, not GTK or MOTIF
3454 if test "$wxUSE_WINE" = "yes"; then
3455 DEFAULT_DEFAULT_wxUSE_GTK=0
3456 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3457 DEFAULT_DEFAULT_wxUSE_MSW=1
3458 wxUSE_SHARED=no
3459 CC=${CC:-winegcc}
3460 CXX=${CXX:-wineg++}
3461 fi
3462
3463
3464 if test "$wxUSE_GUI" = "yes"; then
3465
3466 if test "$USE_BEOS" = 1; then
3467 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3468 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3469 { (exit 1); exit 1; }; }
3470 fi
3471
3472 if test "$TOOLKIT_GIVEN" = 1; then
3473 for toolkit in $ALL_TOOLKITS; do
3474 var=wxUSE_$toolkit
3475 eval "value=\$${var}"
3476 if test "x$value" = "xno"; then
3477 eval "$var=0"
3478 elif test "x$value" != "x"; then
3479 eval "$var=1"
3480 fi
3481
3482 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3483 eval "wx${toolkit}_VERSION=$value"
3484 fi
3485 done
3486 else
3487 for toolkit in $ALL_TOOLKITS; do
3488 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3489 eval "wxUSE_$toolkit=\$${var}"
3490 done
3491 fi
3492
3493 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3494 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3495 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3496
3497 case "${host}" in
3498 *-pc-os2_emx | *-pc-os2-emx )
3499 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3500 esac
3501
3502 case "$NUM_TOOLKITS" in
3503 1)
3504 ;;
3505 0)
3506 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3507 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3508 { (exit 1); exit 1; }; }
3509 ;;
3510 *)
3511 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3512 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3513 { (exit 1); exit 1; }; }
3514 esac
3515
3516 # to be removed when --disable-gtk2 isn't needed
3517 if test "x$wxUSE_GTK2" = "xyes"; then
3518 wxGTK_VERSION=2
3519 elif test "x$wxUSE_GTK2" = "xno"; then
3520 wxGTK_VERSION=1
3521 fi
3522
3523 for toolkit in $ALL_TOOLKITS; do
3524 var=wxUSE_$toolkit
3525 eval "value=\$${var}"
3526 if test "$value" = 1; then
3527 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3528 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3529 echo "${ECHO_T}$toolkit_echo" >&6; }
3530 fi
3531 done
3532 else
3533 if test "x$host_alias" != "x"; then
3534 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3535 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3536 else
3537 { echo "$as_me:$LINENO: result: base only" >&5
3538 echo "${ECHO_T}base only" >&6; }
3539 fi
3540 fi
3541
3542 wxUSE_MAC=0
3543 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3544 wxUSE_MAC=1
3545 fi
3546
3547
3548
3549 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3550 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3551
3552 # Check whether --with-libpng was given.
3553 if test "${with_libpng+set}" = set; then
3554 withval=$with_libpng;
3555 if test "$withval" = yes; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3557 elif test "$withval" = no; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3559 elif test "$withval" = sys; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3561 elif test "$withval" = builtin; then
3562 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3563 else
3564 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3565 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3566 { (exit 1); exit 1; }; }
3567 fi
3568
3569 else
3570
3571 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3572
3573 fi
3574
3575
3576 eval "$wx_cv_use_libpng"
3577
3578 if test "$wxUSE_LIBPNG" = yes; then
3579 { echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6; }
3581 elif test "$wxUSE_LIBPNG" = no; then
3582 { echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6; }
3584 elif test "$wxUSE_LIBPNG" = sys; then
3585 { echo "$as_me:$LINENO: result: system version" >&5
3586 echo "${ECHO_T}system version" >&6; }
3587 elif test "$wxUSE_LIBPNG" = builtin; then
3588 { echo "$as_me:$LINENO: result: builtin version" >&5
3589 echo "${ECHO_T}builtin version" >&6; }
3590 else
3591 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3592 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3593 { (exit 1); exit 1; }; }
3594 fi
3595
3596
3597 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3598 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3599
3600 # Check whether --with-libjpeg was given.
3601 if test "${with_libjpeg+set}" = set; then
3602 withval=$with_libjpeg;
3603 if test "$withval" = yes; then
3604 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3605 elif test "$withval" = no; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3607 elif test "$withval" = sys; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3609 elif test "$withval" = builtin; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3611 else
3612 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3613 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3614 { (exit 1); exit 1; }; }
3615 fi
3616
3617 else
3618
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3620
3621 fi
3622
3623
3624 eval "$wx_cv_use_libjpeg"
3625
3626 if test "$wxUSE_LIBJPEG" = yes; then
3627 { echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6; }
3629 elif test "$wxUSE_LIBJPEG" = no; then
3630 { echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6; }
3632 elif test "$wxUSE_LIBJPEG" = sys; then
3633 { echo "$as_me:$LINENO: result: system version" >&5
3634 echo "${ECHO_T}system version" >&6; }
3635 elif test "$wxUSE_LIBJPEG" = builtin; then
3636 { echo "$as_me:$LINENO: result: builtin version" >&5
3637 echo "${ECHO_T}builtin version" >&6; }
3638 else
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3642 fi
3643
3644
3645 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3646 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3647
3648 # Check whether --with-libtiff was given.
3649 if test "${with_libtiff+set}" = set; then
3650 withval=$with_libtiff;
3651 if test "$withval" = yes; then
3652 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3653 elif test "$withval" = no; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3655 elif test "$withval" = sys; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3657 elif test "$withval" = builtin; then
3658 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3659 else
3660 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3661 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3662 { (exit 1); exit 1; }; }
3663 fi
3664
3665 else
3666
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3668
3669 fi
3670
3671
3672 eval "$wx_cv_use_libtiff"
3673
3674 if test "$wxUSE_LIBTIFF" = yes; then
3675 { echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6; }
3677 elif test "$wxUSE_LIBTIFF" = no; then
3678 { echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6; }
3680 elif test "$wxUSE_LIBTIFF" = sys; then
3681 { echo "$as_me:$LINENO: result: system version" >&5
3682 echo "${ECHO_T}system version" >&6; }
3683 elif test "$wxUSE_LIBTIFF" = builtin; then
3684 { echo "$as_me:$LINENO: result: builtin version" >&5
3685 echo "${ECHO_T}builtin version" >&6; }
3686 else
3687 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3688 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3689 { (exit 1); exit 1; }; }
3690 fi
3691
3692
3693 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3694 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3695
3696 # Check whether --with-libxpm was given.
3697 if test "${with_libxpm+set}" = set; then
3698 withval=$with_libxpm;
3699 if test "$withval" = yes; then
3700 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3701 elif test "$withval" = no; then
3702 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3703 elif test "$withval" = sys; then
3704 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3705 elif test "$withval" = builtin; then
3706 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3707 else
3708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3709 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3710 { (exit 1); exit 1; }; }
3711 fi
3712
3713 else
3714
3715 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3716
3717 fi
3718
3719
3720 eval "$wx_cv_use_libxpm"
3721
3722 if test "$wxUSE_LIBXPM" = yes; then
3723 { echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6; }
3725 elif test "$wxUSE_LIBXPM" = no; then
3726 { echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6; }
3728 elif test "$wxUSE_LIBXPM" = sys; then
3729 { echo "$as_me:$LINENO: result: system version" >&5
3730 echo "${ECHO_T}system version" >&6; }
3731 elif test "$wxUSE_LIBXPM" = builtin; then
3732 { echo "$as_me:$LINENO: result: builtin version" >&5
3733 echo "${ECHO_T}builtin version" >&6; }
3734 else
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3738 fi
3739
3740
3741 withstring=
3742 defaultval=$wxUSE_ALL_FEATURES
3743 if test -z "$defaultval"; then
3744 if test x"$withstring" = xwithout; then
3745 defaultval=yes
3746 else
3747 defaultval=no
3748 fi
3749 fi
3750 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3751 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3752
3753 # Check whether --with-libiconv was given.
3754 if test "${with_libiconv+set}" = set; then
3755 withval=$with_libiconv;
3756 if test "$withval" = yes; then
3757 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3758 else
3759 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3760 fi
3761
3762 else
3763
3764 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3765
3766 fi
3767
3768
3769 eval "$wx_cv_use_libiconv"
3770
3771 if test x"$withstring" = xwithout; then
3772 if test $wxUSE_LIBICONV = yes; then
3773 result=no
3774 else
3775 result=yes
3776 fi
3777 else
3778 result=$wxUSE_LIBICONV
3779 fi
3780
3781 { echo "$as_me:$LINENO: result: $result" >&5
3782 echo "${ECHO_T}$result" >&6; }
3783
3784
3785 withstring=
3786 defaultval=$wxUSE_ALL_FEATURES
3787 if test -z "$defaultval"; then
3788 if test x"$withstring" = xwithout; then
3789 defaultval=yes
3790 else
3791 defaultval=no
3792 fi
3793 fi
3794 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3795 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3796
3797 # Check whether --with-libmspack was given.
3798 if test "${with_libmspack+set}" = set; then
3799 withval=$with_libmspack;
3800 if test "$withval" = yes; then
3801 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3802 else
3803 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3804 fi
3805
3806 else
3807
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3809
3810 fi
3811
3812
3813 eval "$wx_cv_use_libmspack"
3814
3815 if test x"$withstring" = xwithout; then
3816 if test $wxUSE_LIBMSPACK = yes; then
3817 result=no
3818 else
3819 result=yes
3820 fi
3821 else
3822 result=$wxUSE_LIBMSPACK
3823 fi
3824
3825 { echo "$as_me:$LINENO: result: $result" >&5
3826 echo "${ECHO_T}$result" >&6; }
3827
3828
3829 withstring=without
3830 defaultval=$wxUSE_ALL_FEATURES
3831 if test -z "$defaultval"; then
3832 if test x"$withstring" = xwithout; then
3833 defaultval=yes
3834 else
3835 defaultval=no
3836 fi
3837 fi
3838 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3839 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3840
3841 # Check whether --with-gtkprint was given.
3842 if test "${with_gtkprint+set}" = set; then
3843 withval=$with_gtkprint;
3844 if test "$withval" = yes; then
3845 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3846 else
3847 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3848 fi
3849
3850 else
3851
3852 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3853
3854 fi
3855
3856
3857 eval "$wx_cv_use_gtkprint"
3858
3859 if test x"$withstring" = xwithout; then
3860 if test $wxUSE_GTKPRINT = yes; then
3861 result=no
3862 else
3863 result=yes
3864 fi
3865 else
3866 result=$wxUSE_GTKPRINT
3867 fi
3868
3869 { echo "$as_me:$LINENO: result: $result" >&5
3870 echo "${ECHO_T}$result" >&6; }
3871
3872
3873 withstring=without
3874 defaultval=$wxUSE_ALL_FEATURES
3875 if test -z "$defaultval"; then
3876 if test x"$withstring" = xwithout; then
3877 defaultval=yes
3878 else
3879 defaultval=no
3880 fi
3881 fi
3882 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3883 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3884
3885 # Check whether --with-gnomeprint was given.
3886 if test "${with_gnomeprint+set}" = set; then
3887 withval=$with_gnomeprint;
3888 if test "$withval" = yes; then
3889 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3890 else
3891 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3892 fi
3893
3894 else
3895
3896 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3897
3898 fi
3899
3900
3901 eval "$wx_cv_use_gnomeprint"
3902
3903 if test x"$withstring" = xwithout; then
3904 if test $wxUSE_LIBGNOMEPRINT = yes; then
3905 result=no
3906 else
3907 result=yes
3908 fi
3909 else
3910 result=$wxUSE_LIBGNOMEPRINT
3911 fi
3912
3913 { echo "$as_me:$LINENO: result: $result" >&5
3914 echo "${ECHO_T}$result" >&6; }
3915
3916
3917 withstring=
3918 defaultval=$wxUSE_ALL_FEATURES
3919 if test -z "$defaultval"; then
3920 if test x"$withstring" = xwithout; then
3921 defaultval=yes
3922 else
3923 defaultval=no
3924 fi
3925 fi
3926 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3927 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3928
3929 # Check whether --with-gnomevfs was given.
3930 if test "${with_gnomevfs+set}" = set; then
3931 withval=$with_gnomevfs;
3932 if test "$withval" = yes; then
3933 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3934 else
3935 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3936 fi
3937
3938 else
3939
3940 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3941
3942 fi
3943
3944
3945 eval "$wx_cv_use_gnomevfs"
3946
3947 if test x"$withstring" = xwithout; then
3948 if test $wxUSE_LIBGNOMEVFS = yes; then
3949 result=no
3950 else
3951 result=yes
3952 fi
3953 else
3954 result=$wxUSE_LIBGNOMEVFS
3955 fi
3956
3957 { echo "$as_me:$LINENO: result: $result" >&5
3958 echo "${ECHO_T}$result" >&6; }
3959
3960
3961 withstring=
3962 defaultval=$wxUSE_ALL_FEATURES
3963 if test -z "$defaultval"; then
3964 if test x"$withstring" = xwithout; then
3965 defaultval=yes
3966 else
3967 defaultval=no
3968 fi
3969 fi
3970 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3971 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3972
3973 # Check whether --with-hildon was given.
3974 if test "${with_hildon+set}" = set; then
3975 withval=$with_hildon;
3976 if test "$withval" = yes; then
3977 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3978 else
3979 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3980 fi
3981
3982 else
3983
3984 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3985
3986 fi
3987
3988
3989 eval "$wx_cv_use_hildon"
3990
3991 if test x"$withstring" = xwithout; then
3992 if test $wxUSE_LIBHILDON = yes; then
3993 result=no
3994 else
3995 result=yes
3996 fi
3997 else
3998 result=$wxUSE_LIBHILDON
3999 fi
4000
4001 { echo "$as_me:$LINENO: result: $result" >&5
4002 echo "${ECHO_T}$result" >&6; }
4003
4004
4005 withstring=
4006 defaultval=$wxUSE_ALL_FEATURES
4007 if test -z "$defaultval"; then
4008 if test x"$withstring" = xwithout; then
4009 defaultval=yes
4010 else
4011 defaultval=no
4012 fi
4013 fi
4014 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4015 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4016
4017 # Check whether --with-opengl was given.
4018 if test "${with_opengl+set}" = set; then
4019 withval=$with_opengl;
4020 if test "$withval" = yes; then
4021 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4022 else
4023 wx_cv_use_opengl='wxUSE_OPENGL=no'
4024 fi
4025
4026 else
4027
4028 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4029
4030 fi
4031
4032
4033 eval "$wx_cv_use_opengl"
4034
4035 if test x"$withstring" = xwithout; then
4036 if test $wxUSE_OPENGL = yes; then
4037 result=no
4038 else
4039 result=yes
4040 fi
4041 else
4042 result=$wxUSE_OPENGL
4043 fi
4044
4045 { echo "$as_me:$LINENO: result: $result" >&5
4046 echo "${ECHO_T}$result" >&6; }
4047
4048
4049 fi
4050
4051
4052 withstring=
4053 defaultval=$wxUSE_ALL_FEATURES
4054 if test -z "$defaultval"; then
4055 if test x"$withstring" = xwithout; then
4056 defaultval=yes
4057 else
4058 defaultval=no
4059 fi
4060 fi
4061 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4062 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4063
4064 # Check whether --with-dmalloc was given.
4065 if test "${with_dmalloc+set}" = set; then
4066 withval=$with_dmalloc;
4067 if test "$withval" = yes; then
4068 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4069 else
4070 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4071 fi
4072
4073 else
4074
4075 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4076
4077 fi
4078
4079
4080 eval "$wx_cv_use_dmalloc"
4081
4082 if test x"$withstring" = xwithout; then
4083 if test $wxUSE_DMALLOC = yes; then
4084 result=no
4085 else
4086 result=yes
4087 fi
4088 else
4089 result=$wxUSE_DMALLOC
4090 fi
4091
4092 { echo "$as_me:$LINENO: result: $result" >&5
4093 echo "${ECHO_T}$result" >&6; }
4094
4095
4096 withstring=
4097 defaultval=$wxUSE_ALL_FEATURES
4098 if test -z "$defaultval"; then
4099 if test x"$withstring" = xwithout; then
4100 defaultval=yes
4101 else
4102 defaultval=no
4103 fi
4104 fi
4105 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4106 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4107
4108 # Check whether --with-sdl was given.
4109 if test "${with_sdl+set}" = set; then
4110 withval=$with_sdl;
4111 if test "$withval" = yes; then
4112 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4113 else
4114 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4115 fi
4116
4117 else
4118
4119 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4120
4121 fi
4122
4123
4124 eval "$wx_cv_use_sdl"
4125
4126 if test x"$withstring" = xwithout; then
4127 if test $wxUSE_LIBSDL = yes; then
4128 result=no
4129 else
4130 result=yes
4131 fi
4132 else
4133 result=$wxUSE_LIBSDL
4134 fi
4135
4136 { echo "$as_me:$LINENO: result: $result" >&5
4137 echo "${ECHO_T}$result" >&6; }
4138
4139
4140 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4141 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4142
4143 # Check whether --with-regex was given.
4144 if test "${with_regex+set}" = set; then
4145 withval=$with_regex;
4146 if test "$withval" = yes; then
4147 wx_cv_use_regex='wxUSE_REGEX=yes'
4148 elif test "$withval" = no; then
4149 wx_cv_use_regex='wxUSE_REGEX=no'
4150 elif test "$withval" = sys; then
4151 wx_cv_use_regex='wxUSE_REGEX=sys'
4152 elif test "$withval" = builtin; then
4153 wx_cv_use_regex='wxUSE_REGEX=builtin'
4154 else
4155 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4156 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4157 { (exit 1); exit 1; }; }
4158 fi
4159
4160 else
4161
4162 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4163
4164 fi
4165
4166
4167 eval "$wx_cv_use_regex"
4168
4169 if test "$wxUSE_REGEX" = yes; then
4170 { echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4172 elif test "$wxUSE_REGEX" = no; then
4173 { echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6; }
4175 elif test "$wxUSE_REGEX" = sys; then
4176 { echo "$as_me:$LINENO: result: system version" >&5
4177 echo "${ECHO_T}system version" >&6; }
4178 elif test "$wxUSE_REGEX" = builtin; then
4179 { echo "$as_me:$LINENO: result: builtin version" >&5
4180 echo "${ECHO_T}builtin version" >&6; }
4181 else
4182 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4183 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4185 fi
4186
4187
4188 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4189 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4190
4191 # Check whether --with-zlib was given.
4192 if test "${with_zlib+set}" = set; then
4193 withval=$with_zlib;
4194 if test "$withval" = yes; then
4195 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4196 elif test "$withval" = no; then
4197 wx_cv_use_zlib='wxUSE_ZLIB=no'
4198 elif test "$withval" = sys; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4200 elif test "$withval" = builtin; then
4201 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4202 else
4203 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4204 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4206 fi
4207
4208 else
4209
4210 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4211
4212 fi
4213
4214
4215 eval "$wx_cv_use_zlib"
4216
4217 if test "$wxUSE_ZLIB" = yes; then
4218 { echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6; }
4220 elif test "$wxUSE_ZLIB" = no; then
4221 { echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6; }
4223 elif test "$wxUSE_ZLIB" = sys; then
4224 { echo "$as_me:$LINENO: result: system version" >&5
4225 echo "${ECHO_T}system version" >&6; }
4226 elif test "$wxUSE_ZLIB" = builtin; then
4227 { echo "$as_me:$LINENO: result: builtin version" >&5
4228 echo "${ECHO_T}builtin version" >&6; }
4229 else
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4233 fi
4234
4235
4236 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4237 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4238
4239 # Check whether --with-expat was given.
4240 if test "${with_expat+set}" = set; then
4241 withval=$with_expat;
4242 if test "$withval" = yes; then
4243 wx_cv_use_expat='wxUSE_EXPAT=yes'
4244 elif test "$withval" = no; then
4245 wx_cv_use_expat='wxUSE_EXPAT=no'
4246 elif test "$withval" = sys; then
4247 wx_cv_use_expat='wxUSE_EXPAT=sys'
4248 elif test "$withval" = builtin; then
4249 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4250 else
4251 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4252 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4253 { (exit 1); exit 1; }; }
4254 fi
4255
4256 else
4257
4258 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4259
4260 fi
4261
4262
4263 eval "$wx_cv_use_expat"
4264
4265 if test "$wxUSE_EXPAT" = yes; then
4266 { echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6; }
4268 elif test "$wxUSE_EXPAT" = no; then
4269 { echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6; }
4271 elif test "$wxUSE_EXPAT" = sys; then
4272 { echo "$as_me:$LINENO: result: system version" >&5
4273 echo "${ECHO_T}system version" >&6; }
4274 elif test "$wxUSE_EXPAT" = builtin; then
4275 { echo "$as_me:$LINENO: result: builtin version" >&5
4276 echo "${ECHO_T}builtin version" >&6; }
4277 else
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4281 fi
4282
4283
4284 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4285 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4286
4287 # Check whether --with-macosx-sdk was given.
4288 if test "${with_macosx_sdk+set}" = set; then
4289 withval=$with_macosx_sdk;
4290 wxUSE_MACOSX_SDK=$withval
4291 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4292
4293 fi
4294
4295 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4296 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4297
4298 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4299 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4300
4301 # Check whether --with-macosx-version-min was given.
4302 if test "${with_macosx_version_min+set}" = set; then
4303 withval=$with_macosx_version_min;
4304 wxUSE_MACOSX_VERSION_MIN=$withval
4305 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4306
4307 fi
4308
4309 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4310 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4311
4312
4313
4314 enablestring=disable
4315 defaultval=
4316 if test -z "$defaultval"; then
4317 if test x"$enablestring" = xdisable; then
4318 defaultval=yes
4319 else
4320 defaultval=no
4321 fi
4322 fi
4323
4324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4325 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4326 # Check whether --enable-shared was given.
4327 if test "${enable_shared+set}" = set; then
4328 enableval=$enable_shared;
4329 if test "$enableval" = yes; then
4330 wx_cv_use_shared='wxUSE_SHARED=yes'
4331 else
4332 wx_cv_use_shared='wxUSE_SHARED=no'
4333 fi
4334
4335 else
4336
4337 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4338
4339 fi
4340
4341
4342 eval "$wx_cv_use_shared"
4343
4344 if test x"$enablestring" = xdisable; then
4345 if test $wxUSE_SHARED = yes; then
4346 result=no
4347 else
4348 result=yes
4349 fi
4350 else
4351 result=$wxUSE_SHARED
4352 fi
4353
4354 { echo "$as_me:$LINENO: result: $result" >&5
4355 echo "${ECHO_T}$result" >&6; }
4356
4357
4358 enablestring=
4359 defaultval=
4360 if test -z "$defaultval"; then
4361 if test x"$enablestring" = xdisable; then
4362 defaultval=yes
4363 else
4364 defaultval=no
4365 fi
4366 fi
4367
4368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4369 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4370 # Check whether --enable-debug was given.
4371 if test "${enable_debug+set}" = set; then
4372 enableval=$enable_debug;
4373 if test "$enableval" = yes; then
4374 wx_cv_use_debug='wxUSE_DEBUG=yes'
4375 else
4376 wx_cv_use_debug='wxUSE_DEBUG=no'
4377 fi
4378
4379 else
4380
4381 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4382
4383 fi
4384
4385
4386 eval "$wx_cv_use_debug"
4387
4388 if test x"$enablestring" = xdisable; then
4389 if test $wxUSE_DEBUG = yes; then
4390 result=no
4391 else
4392 result=yes
4393 fi
4394 else
4395 result=$wxUSE_DEBUG
4396 fi
4397
4398 { echo "$as_me:$LINENO: result: $result" >&5
4399 echo "${ECHO_T}$result" >&6; }
4400
4401
4402 enablestring=
4403 defaultval=
4404 if test -z "$defaultval"; then
4405 if test x"$enablestring" = xdisable; then
4406 defaultval=yes
4407 else
4408 defaultval=no
4409 fi
4410 fi
4411
4412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4414 # Check whether --enable-stl was given.
4415 if test "${enable_stl+set}" = set; then
4416 enableval=$enable_stl;
4417 if test "$enableval" = yes; then
4418 wx_cv_use_stl='wxUSE_STL=yes'
4419 else
4420 wx_cv_use_stl='wxUSE_STL=no'
4421 fi
4422
4423 else
4424
4425 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4426
4427 fi
4428
4429
4430 eval "$wx_cv_use_stl"
4431
4432 if test x"$enablestring" = xdisable; then
4433 if test $wxUSE_STL = yes; then
4434 result=no
4435 else
4436 result=yes
4437 fi
4438 else
4439 result=$wxUSE_STL
4440 fi
4441
4442 { echo "$as_me:$LINENO: result: $result" >&5
4443 echo "${ECHO_T}$result" >&6; }
4444
4445
4446 enablestring=
4447 defaultval=
4448 if test -z "$defaultval"; then
4449 if test x"$enablestring" = xdisable; then
4450 defaultval=yes
4451 else
4452 defaultval=no
4453 fi
4454 fi
4455
4456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4457 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4458 # Check whether --enable-std_iostreams was given.
4459 if test "${enable_std_iostreams+set}" = set; then
4460 enableval=$enable_std_iostreams;
4461 if test "$enableval" = yes; then
4462 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4463 else
4464 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4465 fi
4466
4467 else
4468
4469 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4470
4471 fi
4472
4473
4474 eval "$wx_cv_use_std_iostreams"
4475
4476 if test x"$enablestring" = xdisable; then
4477 if test $wxUSE_STD_IOSTREAM = yes; then
4478 result=no
4479 else
4480 result=yes
4481 fi
4482 else
4483 result=$wxUSE_STD_IOSTREAM
4484 fi
4485
4486 { echo "$as_me:$LINENO: result: $result" >&5
4487 echo "${ECHO_T}$result" >&6; }
4488
4489
4490 enablestring=
4491 defaultval=
4492 if test -z "$defaultval"; then
4493 if test x"$enablestring" = xdisable; then
4494 defaultval=yes
4495 else
4496 defaultval=no
4497 fi
4498 fi
4499
4500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4501 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4502 # Check whether --enable-std_string was given.
4503 if test "${enable_std_string+set}" = set; then
4504 enableval=$enable_std_string;
4505 if test "$enableval" = yes; then
4506 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4507 else
4508 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4509 fi
4510
4511 else
4512
4513 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4514
4515 fi
4516
4517
4518 eval "$wx_cv_use_std_string"
4519
4520 if test x"$enablestring" = xdisable; then
4521 if test $wxUSE_STD_STRING = yes; then
4522 result=no
4523 else
4524 result=yes
4525 fi
4526 else
4527 result=$wxUSE_STD_STRING
4528 fi
4529
4530 { echo "$as_me:$LINENO: result: $result" >&5
4531 echo "${ECHO_T}$result" >&6; }
4532
4533
4534 enablestring=disable
4535 defaultval=
4536 if test -z "$defaultval"; then
4537 if test x"$enablestring" = xdisable; then
4538 defaultval=yes
4539 else
4540 defaultval=no
4541 fi
4542 fi
4543
4544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4545 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4546 # Check whether --enable-unicode was given.
4547 if test "${enable_unicode+set}" = set; then
4548 enableval=$enable_unicode;
4549 if test "$enableval" = yes; then
4550 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4551 else
4552 wx_cv_use_unicode='wxUSE_UNICODE=no'
4553 fi
4554
4555 else
4556
4557 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4558
4559 fi
4560
4561
4562 eval "$wx_cv_use_unicode"
4563
4564 if test x"$enablestring" = xdisable; then
4565 if test $wxUSE_UNICODE = yes; then
4566 result=no
4567 else
4568 result=yes
4569 fi
4570 else
4571 result=$wxUSE_UNICODE
4572 fi
4573
4574 { echo "$as_me:$LINENO: result: $result" >&5
4575 echo "${ECHO_T}$result" >&6; }
4576
4577
4578 enablestring=
4579 defaultval=
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4582 defaultval=yes
4583 else
4584 defaultval=no
4585 fi
4586 fi
4587
4588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4590 # Check whether --enable-mslu was given.
4591 if test "${enable_mslu+set}" = set; then
4592 enableval=$enable_mslu;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4595 else
4596 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4597 fi
4598
4599 else
4600
4601 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4602
4603 fi
4604
4605
4606 eval "$wx_cv_use_mslu"
4607
4608 if test x"$enablestring" = xdisable; then
4609 if test $wxUSE_UNICODE_MSLU = yes; then
4610 result=no
4611 else
4612 result=yes
4613 fi
4614 else
4615 result=$wxUSE_UNICODE_MSLU
4616 fi
4617
4618 { echo "$as_me:$LINENO: result: $result" >&5
4619 echo "${ECHO_T}$result" >&6; }
4620
4621
4622 enablestring=
4623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4625 # Check whether --enable-utf8 was given.
4626 if test "${enable_utf8+set}" = set; then
4627 enableval=$enable_utf8;
4628 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4629
4630 else
4631
4632 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4633
4634 fi
4635
4636
4637 eval "$wx_cv_use_utf8"
4638
4639 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4640 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4641
4642
4643 enablestring=
4644 defaultval=
4645 if test -z "$defaultval"; then
4646 if test x"$enablestring" = xdisable; then
4647 defaultval=yes
4648 else
4649 defaultval=no
4650 fi
4651 fi
4652
4653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4655 # Check whether --enable-utf8only was given.
4656 if test "${enable_utf8only+set}" = set; then
4657 enableval=$enable_utf8only;
4658 if test "$enableval" = yes; then
4659 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4660 else
4661 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4662 fi
4663
4664 else
4665
4666 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4667
4668 fi
4669
4670
4671 eval "$wx_cv_use_utf8only"
4672
4673 if test x"$enablestring" = xdisable; then
4674 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4675 result=no
4676 else
4677 result=yes
4678 fi
4679 else
4680 result=$wxUSE_UNICODE_UTF8_LOCALE
4681 fi
4682
4683 { echo "$as_me:$LINENO: result: $result" >&5
4684 echo "${ECHO_T}$result" >&6; }
4685
4686
4687 enablestring=
4688 defaultval=
4689 if test -z "$defaultval"; then
4690 if test x"$enablestring" = xdisable; then
4691 defaultval=yes
4692 else
4693 defaultval=no
4694 fi
4695 fi
4696
4697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4699 # Check whether --enable-extended_rtti was given.
4700 if test "${enable_extended_rtti+set}" = set; then
4701 enableval=$enable_extended_rtti;
4702 if test "$enableval" = yes; then
4703 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4704 else
4705 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4706 fi
4707
4708 else
4709
4710 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4711
4712 fi
4713
4714
4715 eval "$wx_cv_use_extended_rtti"
4716
4717 if test x"$enablestring" = xdisable; then
4718 if test $wxUSE_EXTENDED_RTTI = yes; then
4719 result=no
4720 else
4721 result=yes
4722 fi
4723 else
4724 result=$wxUSE_EXTENDED_RTTI
4725 fi
4726
4727 { echo "$as_me:$LINENO: result: $result" >&5
4728 echo "${ECHO_T}$result" >&6; }
4729
4730 if test "$USE_OS2" = 1; then
4731 DEFAULT_wxUSE_OMF=no
4732
4733 enablestring=
4734 defaultval=
4735 if test -z "$defaultval"; then
4736 if test x"$enablestring" = xdisable; then
4737 defaultval=yes
4738 else
4739 defaultval=no
4740 fi
4741 fi
4742
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4745 # Check whether --enable-omf was given.
4746 if test "${enable_omf+set}" = set; then
4747 enableval=$enable_omf;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_omf='wxUSE_OMF=yes'
4750 else
4751 wx_cv_use_omf='wxUSE_OMF=no'
4752 fi
4753
4754 else
4755
4756 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4757
4758 fi
4759
4760
4761 eval "$wx_cv_use_omf"
4762
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_OMF = yes; then
4765 result=no
4766 else
4767 result=yes
4768 fi
4769 else
4770 result=$wxUSE_OMF
4771 fi
4772
4773 { echo "$as_me:$LINENO: result: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4775
4776 fi
4777
4778 if test "$wxUSE_DEBUG" = "yes"; then
4779 DEFAULT_wxUSE_DEBUG_FLAG=yes
4780 DEFAULT_wxUSE_DEBUG_INFO=yes
4781 BUILD=debug
4782 elif test "$wxUSE_DEBUG" = "no"; then
4783 DEFAULT_wxUSE_DEBUG_FLAG=no
4784 DEFAULT_wxUSE_DEBUG_INFO=no
4785 BUILD=release
4786 fi
4787
4788
4789 enablestring=
4790 defaultval=
4791 if test -z "$defaultval"; then
4792 if test x"$enablestring" = xdisable; then
4793 defaultval=yes
4794 else
4795 defaultval=no
4796 fi
4797 fi
4798
4799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4800 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4801 # Check whether --enable-debug_flag was given.
4802 if test "${enable_debug_flag+set}" = set; then
4803 enableval=$enable_debug_flag;
4804 if test "$enableval" = yes; then
4805 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4806 else
4807 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4808 fi
4809
4810 else
4811
4812 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4813
4814 fi
4815
4816
4817 eval "$wx_cv_use_debug_flag"
4818
4819 if test x"$enablestring" = xdisable; then
4820 if test $wxUSE_DEBUG_FLAG = yes; then
4821 result=no
4822 else
4823 result=yes
4824 fi
4825 else
4826 result=$wxUSE_DEBUG_FLAG
4827 fi
4828
4829 { echo "$as_me:$LINENO: result: $result" >&5
4830 echo "${ECHO_T}$result" >&6; }
4831
4832
4833 enablestring=
4834 defaultval=
4835 if test -z "$defaultval"; then
4836 if test x"$enablestring" = xdisable; then
4837 defaultval=yes
4838 else
4839 defaultval=no
4840 fi
4841 fi
4842
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4845 # Check whether --enable-debug_info was given.
4846 if test "${enable_debug_info+set}" = set; then
4847 enableval=$enable_debug_info;
4848 if test "$enableval" = yes; then
4849 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4850 else
4851 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4852 fi
4853
4854 else
4855
4856 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4857
4858 fi
4859
4860
4861 eval "$wx_cv_use_debug_info"
4862
4863 if test x"$enablestring" = xdisable; then
4864 if test $wxUSE_DEBUG_INFO = yes; then
4865 result=no
4866 else
4867 result=yes
4868 fi
4869 else
4870 result=$wxUSE_DEBUG_INFO
4871 fi
4872
4873 { echo "$as_me:$LINENO: result: $result" >&5
4874 echo "${ECHO_T}$result" >&6; }
4875
4876
4877 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4878 wxUSE_DEBUG=yes
4879 BUILD=debug
4880 fi
4881
4882 if test "$wxUSE_DEBUG" = "yes"; then
4883 DEFAULT_wxUSE_OPTIMISE=no
4884 fi
4885
4886
4887 enablestring=disable
4888 defaultval=
4889 if test -z "$defaultval"; then
4890 if test x"$enablestring" = xdisable; then
4891 defaultval=yes
4892 else
4893 defaultval=no
4894 fi
4895 fi
4896
4897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4899 # Check whether --enable-optimise was given.
4900 if test "${enable_optimise+set}" = set; then
4901 enableval=$enable_optimise;
4902 if test "$enableval" = yes; then
4903 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4904 else
4905 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4906 fi
4907
4908 else
4909
4910 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4911
4912 fi
4913
4914
4915 eval "$wx_cv_use_optimise"
4916
4917 if test x"$enablestring" = xdisable; then
4918 if test $wxUSE_OPTIMISE = yes; then
4919 result=no
4920 else
4921 result=yes
4922 fi
4923 else
4924 result=$wxUSE_OPTIMISE
4925 fi
4926
4927 { echo "$as_me:$LINENO: result: $result" >&5
4928 echo "${ECHO_T}$result" >&6; }
4929
4930
4931
4932 enablestring=
4933 defaultval=
4934 if test -z "$defaultval"; then
4935 if test x"$enablestring" = xdisable; then
4936 defaultval=yes
4937 else
4938 defaultval=no
4939 fi
4940 fi
4941
4942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4944 # Check whether --enable-debug_gdb was given.
4945 if test "${enable_debug_gdb+set}" = set; then
4946 enableval=$enable_debug_gdb;
4947 if test "$enableval" = yes; then
4948 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4949 else
4950 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4951 fi
4952
4953 else
4954
4955 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4956
4957 fi
4958
4959
4960 eval "$wx_cv_use_debug_gdb"
4961
4962 if test x"$enablestring" = xdisable; then
4963 if test $wxUSE_DEBUG_GDB = yes; then
4964 result=no
4965 else
4966 result=yes
4967 fi
4968 else
4969 result=$wxUSE_DEBUG_GDB
4970 fi
4971
4972 { echo "$as_me:$LINENO: result: $result" >&5
4973 echo "${ECHO_T}$result" >&6; }
4974
4975
4976 enablestring=
4977 defaultval=
4978 if test -z "$defaultval"; then
4979 if test x"$enablestring" = xdisable; then
4980 defaultval=yes
4981 else
4982 defaultval=no
4983 fi
4984 fi
4985
4986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4988 # Check whether --enable-debug_cntxt was given.
4989 if test "${enable_debug_cntxt+set}" = set; then
4990 enableval=$enable_debug_cntxt;
4991 if test "$enableval" = yes; then
4992 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4993 else
4994 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4995 fi
4996
4997 else
4998
4999 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5000
5001 fi
5002
5003
5004 eval "$wx_cv_use_debug_cntxt"
5005
5006 if test x"$enablestring" = xdisable; then
5007 if test $wxUSE_DEBUG_CONTEXT = yes; then
5008 result=no
5009 else
5010 result=yes
5011 fi
5012 else
5013 result=$wxUSE_DEBUG_CONTEXT
5014 fi
5015
5016 { echo "$as_me:$LINENO: result: $result" >&5
5017 echo "${ECHO_T}$result" >&6; }
5018
5019
5020 enablestring=
5021 defaultval=
5022 if test -z "$defaultval"; then
5023 if test x"$enablestring" = xdisable; then
5024 defaultval=yes
5025 else
5026 defaultval=no
5027 fi
5028 fi
5029
5030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5031 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5032 # Check whether --enable-mem_tracing was given.
5033 if test "${enable_mem_tracing+set}" = set; then
5034 enableval=$enable_mem_tracing;
5035 if test "$enableval" = yes; then
5036 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5037 else
5038 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5039 fi
5040
5041 else
5042
5043 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5044
5045 fi
5046
5047
5048 eval "$wx_cv_use_mem_tracing"
5049
5050 if test x"$enablestring" = xdisable; then
5051 if test $wxUSE_MEM_TRACING = yes; then
5052 result=no
5053 else
5054 result=yes
5055 fi
5056 else
5057 result=$wxUSE_MEM_TRACING
5058 fi
5059
5060 { echo "$as_me:$LINENO: result: $result" >&5
5061 echo "${ECHO_T}$result" >&6; }
5062
5063
5064 enablestring=
5065 defaultval=
5066 if test -z "$defaultval"; then
5067 if test x"$enablestring" = xdisable; then
5068 defaultval=yes
5069 else
5070 defaultval=no
5071 fi
5072 fi
5073
5074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5076 # Check whether --enable-profile was given.
5077 if test "${enable_profile+set}" = set; then
5078 enableval=$enable_profile;
5079 if test "$enableval" = yes; then
5080 wx_cv_use_profile='wxUSE_PROFILE=yes'
5081 else
5082 wx_cv_use_profile='wxUSE_PROFILE=no'
5083 fi
5084
5085 else
5086
5087 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5088
5089 fi
5090
5091
5092 eval "$wx_cv_use_profile"
5093
5094 if test x"$enablestring" = xdisable; then
5095 if test $wxUSE_PROFILE = yes; then
5096 result=no
5097 else
5098 result=yes
5099 fi
5100 else
5101 result=$wxUSE_PROFILE
5102 fi
5103
5104 { echo "$as_me:$LINENO: result: $result" >&5
5105 echo "${ECHO_T}$result" >&6; }
5106
5107
5108 enablestring=
5109 defaultval=
5110 if test -z "$defaultval"; then
5111 if test x"$enablestring" = xdisable; then
5112 defaultval=yes
5113 else
5114 defaultval=no
5115 fi
5116 fi
5117
5118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5120 # Check whether --enable-no_rtti was given.
5121 if test "${enable_no_rtti+set}" = set; then
5122 enableval=$enable_no_rtti;
5123 if test "$enableval" = yes; then
5124 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5125 else
5126 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5127 fi
5128
5129 else
5130
5131 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5132
5133 fi
5134
5135
5136 eval "$wx_cv_use_no_rtti"
5137
5138 if test x"$enablestring" = xdisable; then
5139 if test $wxUSE_NO_RTTI = yes; then
5140 result=no
5141 else
5142 result=yes
5143 fi
5144 else
5145 result=$wxUSE_NO_RTTI
5146 fi
5147
5148 { echo "$as_me:$LINENO: result: $result" >&5
5149 echo "${ECHO_T}$result" >&6; }
5150
5151
5152 enablestring=
5153 defaultval=
5154 if test -z "$defaultval"; then
5155 if test x"$enablestring" = xdisable; then
5156 defaultval=yes
5157 else
5158 defaultval=no
5159 fi
5160 fi
5161
5162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5164 # Check whether --enable-no_exceptions was given.
5165 if test "${enable_no_exceptions+set}" = set; then
5166 enableval=$enable_no_exceptions;
5167 if test "$enableval" = yes; then
5168 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5169 else
5170 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5171 fi
5172
5173 else
5174
5175 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5176
5177 fi
5178
5179
5180 eval "$wx_cv_use_no_exceptions"
5181
5182 if test x"$enablestring" = xdisable; then
5183 if test $wxUSE_NO_EXCEPTIONS = yes; then
5184 result=no
5185 else
5186 result=yes
5187 fi
5188 else
5189 result=$wxUSE_NO_EXCEPTIONS
5190 fi
5191
5192 { echo "$as_me:$LINENO: result: $result" >&5
5193 echo "${ECHO_T}$result" >&6; }
5194
5195
5196 enablestring=
5197 defaultval=
5198 if test -z "$defaultval"; then
5199 if test x"$enablestring" = xdisable; then
5200 defaultval=yes
5201 else
5202 defaultval=no
5203 fi
5204 fi
5205
5206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5208 # Check whether --enable-permissive was given.
5209 if test "${enable_permissive+set}" = set; then
5210 enableval=$enable_permissive;
5211 if test "$enableval" = yes; then
5212 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5213 else
5214 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5215 fi
5216
5217 else
5218
5219 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5220
5221 fi
5222
5223
5224 eval "$wx_cv_use_permissive"
5225
5226 if test x"$enablestring" = xdisable; then
5227 if test $wxUSE_PERMISSIVE = yes; then
5228 result=no
5229 else
5230 result=yes
5231 fi
5232 else
5233 result=$wxUSE_PERMISSIVE
5234 fi
5235
5236 { echo "$as_me:$LINENO: result: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5238
5239
5240 enablestring=
5241 defaultval=
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5244 defaultval=yes
5245 else
5246 defaultval=no
5247 fi
5248 fi
5249
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5252 # Check whether --enable-no_deps was given.
5253 if test "${enable_no_deps+set}" = set; then
5254 enableval=$enable_no_deps;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5257 else
5258 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5259 fi
5260
5261 else
5262
5263 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5264
5265 fi
5266
5267
5268 eval "$wx_cv_use_no_deps"
5269
5270 if test x"$enablestring" = xdisable; then
5271 if test $wxUSE_NO_DEPS = yes; then
5272 result=no
5273 else
5274 result=yes
5275 fi
5276 else
5277 result=$wxUSE_NO_DEPS
5278 fi
5279
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5282
5283
5284 enablestring=disable
5285 defaultval=
5286 if test -z "$defaultval"; then
5287 if test x"$enablestring" = xdisable; then
5288 defaultval=yes
5289 else
5290 defaultval=no
5291 fi
5292 fi
5293
5294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5296 # Check whether --enable-vararg_macros was given.
5297 if test "${enable_vararg_macros+set}" = set; then
5298 enableval=$enable_vararg_macros;
5299 if test "$enableval" = yes; then
5300 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5301 else
5302 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5303 fi
5304
5305 else
5306
5307 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5308
5309 fi
5310
5311
5312 eval "$wx_cv_use_vararg_macros"
5313
5314 if test x"$enablestring" = xdisable; then
5315 if test $wxUSE_VARARG_MACROS = yes; then
5316 result=no
5317 else
5318 result=yes
5319 fi
5320 else
5321 result=$wxUSE_VARARG_MACROS
5322 fi
5323
5324 { echo "$as_me:$LINENO: result: $result" >&5
5325 echo "${ECHO_T}$result" >&6; }
5326
5327
5328 enablestring=
5329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5330 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5331 # Check whether --enable-universal_binary was given.
5332 if test "${enable_universal_binary+set}" = set; then
5333 enableval=$enable_universal_binary;
5334 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5335
5336 else
5337
5338 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5339
5340 fi
5341
5342
5343 eval "$wx_cv_use_universal_binary"
5344
5345 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5346 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5347
5348
5349
5350 enablestring=
5351 defaultval=
5352 if test -z "$defaultval"; then
5353 if test x"$enablestring" = xdisable; then
5354 defaultval=yes
5355 else
5356 defaultval=no
5357 fi
5358 fi
5359
5360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5361 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5362 # Check whether --enable-compat26 was given.
5363 if test "${enable_compat26+set}" = set; then
5364 enableval=$enable_compat26;
5365 if test "$enableval" = yes; then
5366 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5367 else
5368 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5369 fi
5370
5371 else
5372
5373 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5374
5375 fi
5376
5377
5378 eval "$wx_cv_use_compat26"
5379
5380 if test x"$enablestring" = xdisable; then
5381 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5382 result=no
5383 else
5384 result=yes
5385 fi
5386 else
5387 result=$WXWIN_COMPATIBILITY_2_6
5388 fi
5389
5390 { echo "$as_me:$LINENO: result: $result" >&5
5391 echo "${ECHO_T}$result" >&6; }
5392
5393
5394 enablestring=disable
5395 defaultval=
5396 if test -z "$defaultval"; then
5397 if test x"$enablestring" = xdisable; then
5398 defaultval=yes
5399 else
5400 defaultval=no
5401 fi
5402 fi
5403
5404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5405 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5406 # Check whether --enable-compat28 was given.
5407 if test "${enable_compat28+set}" = set; then
5408 enableval=$enable_compat28;
5409 if test "$enableval" = yes; then
5410 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5411 else
5412 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5413 fi
5414
5415 else
5416
5417 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5418
5419 fi
5420
5421
5422 eval "$wx_cv_use_compat28"
5423
5424 if test x"$enablestring" = xdisable; then
5425 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5426 result=no
5427 else
5428 result=yes
5429 fi
5430 else
5431 result=$WXWIN_COMPATIBILITY_2_8
5432 fi
5433
5434 { echo "$as_me:$LINENO: result: $result" >&5
5435 echo "${ECHO_T}$result" >&6; }
5436
5437
5438
5439 enablestring=disable
5440 defaultval=
5441 if test -z "$defaultval"; then
5442 if test x"$enablestring" = xdisable; then
5443 defaultval=yes
5444 else
5445 defaultval=no
5446 fi
5447 fi
5448
5449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5451 # Check whether --enable-rpath was given.
5452 if test "${enable_rpath+set}" = set; then
5453 enableval=$enable_rpath;
5454 if test "$enableval" = yes; then
5455 wx_cv_use_rpath='wxUSE_RPATH=yes'
5456 else
5457 wx_cv_use_rpath='wxUSE_RPATH=no'
5458 fi
5459
5460 else
5461
5462 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5463
5464 fi
5465
5466
5467 eval "$wx_cv_use_rpath"
5468
5469 if test x"$enablestring" = xdisable; then
5470 if test $wxUSE_RPATH = yes; then
5471 result=no
5472 else
5473 result=yes
5474 fi
5475 else
5476 result=$wxUSE_RPATH
5477 fi
5478
5479 { echo "$as_me:$LINENO: result: $result" >&5
5480 echo "${ECHO_T}$result" >&6; }
5481
5482
5483
5484 enablestring=
5485 defaultval=
5486 if test -z "$defaultval"; then
5487 if test x"$enablestring" = xdisable; then
5488 defaultval=yes
5489 else
5490 defaultval=no
5491 fi
5492 fi
5493
5494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5496 # Check whether --enable-objc_uniquifying was given.
5497 if test "${enable_objc_uniquifying+set}" = set; then
5498 enableval=$enable_objc_uniquifying;
5499 if test "$enableval" = yes; then
5500 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5501 else
5502 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5503 fi
5504
5505 else
5506
5507 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5508
5509 fi
5510
5511
5512 eval "$wx_cv_use_objc_uniquifying"
5513
5514 if test x"$enablestring" = xdisable; then
5515 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5516 result=no
5517 else
5518 result=yes
5519 fi
5520 else
5521 result=$wxUSE_OBJC_UNIQUIFYING
5522 fi
5523
5524 { echo "$as_me:$LINENO: result: $result" >&5
5525 echo "${ECHO_T}$result" >&6; }
5526
5527
5528
5529 enablestring=disable
5530 defaultval=
5531 if test -z "$defaultval"; then
5532 if test x"$enablestring" = xdisable; then
5533 defaultval=yes
5534 else
5535 defaultval=no
5536 fi
5537 fi
5538
5539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5541 # Check whether --enable-visibility was given.
5542 if test "${enable_visibility+set}" = set; then
5543 enableval=$enable_visibility;
5544 if test "$enableval" = yes; then
5545 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5546 else
5547 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5548 fi
5549
5550 else
5551
5552 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5553
5554 fi
5555
5556
5557 eval "$wx_cv_use_visibility"
5558
5559 if test x"$enablestring" = xdisable; then
5560 if test $wxUSE_VISIBILITY = yes; then
5561 result=no
5562 else
5563 result=yes
5564 fi
5565 else
5566 result=$wxUSE_VISIBILITY
5567 fi
5568
5569 { echo "$as_me:$LINENO: result: $result" >&5
5570 echo "${ECHO_T}$result" >&6; }
5571
5572
5573
5574
5575 enablestring=
5576 defaultval=$wxUSE_ALL_FEATURES
5577 if test -z "$defaultval"; then
5578 if test x"$enablestring" = xdisable; then
5579 defaultval=yes
5580 else
5581 defaultval=no
5582 fi
5583 fi
5584
5585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5586 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5587 # Check whether --enable-intl was given.
5588 if test "${enable_intl+set}" = set; then
5589 enableval=$enable_intl;
5590 if test "$enableval" = yes; then
5591 wx_cv_use_intl='wxUSE_INTL=yes'
5592 else
5593 wx_cv_use_intl='wxUSE_INTL=no'
5594 fi
5595
5596 else
5597
5598 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5599
5600 fi
5601
5602
5603 eval "$wx_cv_use_intl"
5604
5605 if test x"$enablestring" = xdisable; then
5606 if test $wxUSE_INTL = yes; then
5607 result=no
5608 else
5609 result=yes
5610 fi
5611 else
5612 result=$wxUSE_INTL
5613 fi
5614
5615 { echo "$as_me:$LINENO: result: $result" >&5
5616 echo "${ECHO_T}$result" >&6; }
5617
5618
5619 enablestring=
5620 defaultval=$wxUSE_ALL_FEATURES
5621 if test -z "$defaultval"; then
5622 if test x"$enablestring" = xdisable; then
5623 defaultval=yes
5624 else
5625 defaultval=no
5626 fi
5627 fi
5628
5629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5630 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5631 # Check whether --enable-xlocale was given.
5632 if test "${enable_xlocale+set}" = set; then
5633 enableval=$enable_xlocale;
5634 if test "$enableval" = yes; then
5635 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5636 else
5637 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5638 fi
5639
5640 else
5641
5642 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5643
5644 fi
5645
5646
5647 eval "$wx_cv_use_xlocale"
5648
5649 if test x"$enablestring" = xdisable; then
5650 if test $wxUSE_XLOCALE = yes; then
5651 result=no
5652 else
5653 result=yes
5654 fi
5655 else
5656 result=$wxUSE_XLOCALE
5657 fi
5658
5659 { echo "$as_me:$LINENO: result: $result" >&5
5660 echo "${ECHO_T}$result" >&6; }
5661
5662
5663 enablestring=
5664 defaultval=$wxUSE_ALL_FEATURES
5665 if test -z "$defaultval"; then
5666 if test x"$enablestring" = xdisable; then
5667 defaultval=yes
5668 else
5669 defaultval=no
5670 fi
5671 fi
5672
5673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5674 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5675 # Check whether --enable-config was given.
5676 if test "${enable_config+set}" = set; then
5677 enableval=$enable_config;
5678 if test "$enableval" = yes; then
5679 wx_cv_use_config='wxUSE_CONFIG=yes'
5680 else
5681 wx_cv_use_config='wxUSE_CONFIG=no'
5682 fi
5683
5684 else
5685
5686 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5687
5688 fi
5689
5690
5691 eval "$wx_cv_use_config"
5692
5693 if test x"$enablestring" = xdisable; then
5694 if test $wxUSE_CONFIG = yes; then
5695 result=no
5696 else
5697 result=yes
5698 fi
5699 else
5700 result=$wxUSE_CONFIG
5701 fi
5702
5703 { echo "$as_me:$LINENO: result: $result" >&5
5704 echo "${ECHO_T}$result" >&6; }
5705
5706
5707
5708 enablestring=
5709 defaultval=$wxUSE_ALL_FEATURES
5710 if test -z "$defaultval"; then
5711 if test x"$enablestring" = xdisable; then
5712 defaultval=yes
5713 else
5714 defaultval=no
5715 fi
5716 fi
5717
5718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5719 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5720 # Check whether --enable-protocols was given.
5721 if test "${enable_protocols+set}" = set; then
5722 enableval=$enable_protocols;
5723 if test "$enableval" = yes; then
5724 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5725 else
5726 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5727 fi
5728
5729 else
5730
5731 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5732
5733 fi
5734
5735
5736 eval "$wx_cv_use_protocols"
5737
5738 if test x"$enablestring" = xdisable; then
5739 if test $wxUSE_PROTOCOL = yes; then
5740 result=no
5741 else
5742 result=yes
5743 fi
5744 else
5745 result=$wxUSE_PROTOCOL
5746 fi
5747
5748 { echo "$as_me:$LINENO: result: $result" >&5
5749 echo "${ECHO_T}$result" >&6; }
5750
5751
5752 enablestring=
5753 defaultval=$wxUSE_ALL_FEATURES
5754 if test -z "$defaultval"; then
5755 if test x"$enablestring" = xdisable; then
5756 defaultval=yes
5757 else
5758 defaultval=no
5759 fi
5760 fi
5761
5762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5763 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5764 # Check whether --enable-ftp was given.
5765 if test "${enable_ftp+set}" = set; then
5766 enableval=$enable_ftp;
5767 if test "$enableval" = yes; then
5768 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5769 else
5770 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5771 fi
5772
5773 else
5774
5775 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5776
5777 fi
5778
5779
5780 eval "$wx_cv_use_ftp"
5781
5782 if test x"$enablestring" = xdisable; then
5783 if test $wxUSE_PROTOCOL_FTP = yes; then
5784 result=no
5785 else
5786 result=yes
5787 fi
5788 else
5789 result=$wxUSE_PROTOCOL_FTP
5790 fi
5791
5792 { echo "$as_me:$LINENO: result: $result" >&5
5793 echo "${ECHO_T}$result" >&6; }
5794
5795
5796 enablestring=
5797 defaultval=$wxUSE_ALL_FEATURES
5798 if test -z "$defaultval"; then
5799 if test x"$enablestring" = xdisable; then
5800 defaultval=yes
5801 else
5802 defaultval=no
5803 fi
5804 fi
5805
5806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5807 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5808 # Check whether --enable-http was given.
5809 if test "${enable_http+set}" = set; then
5810 enableval=$enable_http;
5811 if test "$enableval" = yes; then
5812 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5813 else
5814 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5815 fi
5816
5817 else
5818
5819 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5820
5821 fi
5822
5823
5824 eval "$wx_cv_use_http"
5825
5826 if test x"$enablestring" = xdisable; then
5827 if test $wxUSE_PROTOCOL_HTTP = yes; then
5828 result=no
5829 else
5830 result=yes
5831 fi
5832 else
5833 result=$wxUSE_PROTOCOL_HTTP
5834 fi
5835
5836 { echo "$as_me:$LINENO: result: $result" >&5
5837 echo "${ECHO_T}$result" >&6; }
5838
5839
5840 enablestring=
5841 defaultval=$wxUSE_ALL_FEATURES
5842 if test -z "$defaultval"; then
5843 if test x"$enablestring" = xdisable; then
5844 defaultval=yes
5845 else
5846 defaultval=no
5847 fi
5848 fi
5849
5850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5851 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5852 # Check whether --enable-fileproto was given.
5853 if test "${enable_fileproto+set}" = set; then
5854 enableval=$enable_fileproto;
5855 if test "$enableval" = yes; then
5856 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5857 else
5858 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5859 fi
5860
5861 else
5862
5863 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5864
5865 fi
5866
5867
5868 eval "$wx_cv_use_fileproto"
5869
5870 if test x"$enablestring" = xdisable; then
5871 if test $wxUSE_PROTOCOL_FILE = yes; then
5872 result=no
5873 else
5874 result=yes
5875 fi
5876 else
5877 result=$wxUSE_PROTOCOL_FILE
5878 fi
5879
5880 { echo "$as_me:$LINENO: result: $result" >&5
5881 echo "${ECHO_T}$result" >&6; }
5882
5883
5884 enablestring=
5885 defaultval=$wxUSE_ALL_FEATURES
5886 if test -z "$defaultval"; then
5887 if test x"$enablestring" = xdisable; then
5888 defaultval=yes
5889 else
5890 defaultval=no
5891 fi
5892 fi
5893
5894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5895 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5896 # Check whether --enable-sockets was given.
5897 if test "${enable_sockets+set}" = set; then
5898 enableval=$enable_sockets;
5899 if test "$enableval" = yes; then
5900 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5901 else
5902 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5903 fi
5904
5905 else
5906
5907 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5908
5909 fi
5910
5911
5912 eval "$wx_cv_use_sockets"
5913
5914 if test x"$enablestring" = xdisable; then
5915 if test $wxUSE_SOCKETS = yes; then
5916 result=no
5917 else
5918 result=yes
5919 fi
5920 else
5921 result=$wxUSE_SOCKETS
5922 fi
5923
5924 { echo "$as_me:$LINENO: result: $result" >&5
5925 echo "${ECHO_T}$result" >&6; }
5926
5927
5928 enablestring=
5929 defaultval=$wxUSE_ALL_FEATURES
5930 if test -z "$defaultval"; then
5931 if test x"$enablestring" = xdisable; then
5932 defaultval=yes
5933 else
5934 defaultval=no
5935 fi
5936 fi
5937
5938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5940 # Check whether --enable-ipv6 was given.
5941 if test "${enable_ipv6+set}" = set; then
5942 enableval=$enable_ipv6;
5943 if test "$enableval" = yes; then
5944 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5945 else
5946 wx_cv_use_ipv6='wxUSE_IPV6=no'
5947 fi
5948
5949 else
5950
5951 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5952
5953 fi
5954
5955
5956 eval "$wx_cv_use_ipv6"
5957
5958 if test x"$enablestring" = xdisable; then
5959 if test $wxUSE_IPV6 = yes; then
5960 result=no
5961 else
5962 result=yes
5963 fi
5964 else
5965 result=$wxUSE_IPV6
5966 fi
5967
5968 { echo "$as_me:$LINENO: result: $result" >&5
5969 echo "${ECHO_T}$result" >&6; }
5970
5971
5972 enablestring=
5973 defaultval=$wxUSE_ALL_FEATURES
5974 if test -z "$defaultval"; then
5975 if test x"$enablestring" = xdisable; then
5976 defaultval=yes
5977 else
5978 defaultval=no
5979 fi
5980 fi
5981
5982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5983 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5984 # Check whether --enable-ole was given.
5985 if test "${enable_ole+set}" = set; then
5986 enableval=$enable_ole;
5987 if test "$enableval" = yes; then
5988 wx_cv_use_ole='wxUSE_OLE=yes'
5989 else
5990 wx_cv_use_ole='wxUSE_OLE=no'
5991 fi
5992
5993 else
5994
5995 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5996
5997 fi
5998
5999
6000 eval "$wx_cv_use_ole"
6001
6002 if test x"$enablestring" = xdisable; then
6003 if test $wxUSE_OLE = yes; then
6004 result=no
6005 else
6006 result=yes
6007 fi
6008 else
6009 result=$wxUSE_OLE
6010 fi
6011
6012 { echo "$as_me:$LINENO: result: $result" >&5
6013 echo "${ECHO_T}$result" >&6; }
6014
6015
6016 enablestring=
6017 defaultval=$wxUSE_ALL_FEATURES
6018 if test -z "$defaultval"; then
6019 if test x"$enablestring" = xdisable; then
6020 defaultval=yes
6021 else
6022 defaultval=no
6023 fi
6024 fi
6025
6026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6028 # Check whether --enable-dataobj was given.
6029 if test "${enable_dataobj+set}" = set; then
6030 enableval=$enable_dataobj;
6031 if test "$enableval" = yes; then
6032 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6033 else
6034 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6035 fi
6036
6037 else
6038
6039 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6040
6041 fi
6042
6043
6044 eval "$wx_cv_use_dataobj"
6045
6046 if test x"$enablestring" = xdisable; then
6047 if test $wxUSE_DATAOBJ = yes; then
6048 result=no
6049 else
6050 result=yes
6051 fi
6052 else
6053 result=$wxUSE_DATAOBJ
6054 fi
6055
6056 { echo "$as_me:$LINENO: result: $result" >&5
6057 echo "${ECHO_T}$result" >&6; }
6058
6059
6060
6061 enablestring=
6062 defaultval=$wxUSE_ALL_FEATURES
6063 if test -z "$defaultval"; then
6064 if test x"$enablestring" = xdisable; then
6065 defaultval=yes
6066 else
6067 defaultval=no
6068 fi
6069 fi
6070
6071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6073 # Check whether --enable-ipc was given.
6074 if test "${enable_ipc+set}" = set; then
6075 enableval=$enable_ipc;
6076 if test "$enableval" = yes; then
6077 wx_cv_use_ipc='wxUSE_IPC=yes'
6078 else
6079 wx_cv_use_ipc='wxUSE_IPC=no'
6080 fi
6081
6082 else
6083
6084 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6085
6086 fi
6087
6088
6089 eval "$wx_cv_use_ipc"
6090
6091 if test x"$enablestring" = xdisable; then
6092 if test $wxUSE_IPC = yes; then
6093 result=no
6094 else
6095 result=yes
6096 fi
6097 else
6098 result=$wxUSE_IPC
6099 fi
6100
6101 { echo "$as_me:$LINENO: result: $result" >&5
6102 echo "${ECHO_T}$result" >&6; }
6103
6104
6105
6106 enablestring=
6107 defaultval=$wxUSE_ALL_FEATURES
6108 if test -z "$defaultval"; then
6109 if test x"$enablestring" = xdisable; then
6110 defaultval=yes
6111 else
6112 defaultval=no
6113 fi
6114 fi
6115
6116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6118 # Check whether --enable-baseevtloop was given.
6119 if test "${enable_baseevtloop+set}" = set; then
6120 enableval=$enable_baseevtloop;
6121 if test "$enableval" = yes; then
6122 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6123 else
6124 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6125 fi
6126
6127 else
6128
6129 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6130
6131 fi
6132
6133
6134 eval "$wx_cv_use_baseevtloop"
6135
6136 if test x"$enablestring" = xdisable; then
6137 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6138 result=no
6139 else
6140 result=yes
6141 fi
6142 else
6143 result=$wxUSE_CONSOLE_EVENTLOOP
6144 fi
6145
6146 { echo "$as_me:$LINENO: result: $result" >&5
6147 echo "${ECHO_T}$result" >&6; }
6148
6149
6150 enablestring=
6151 defaultval=$wxUSE_ALL_FEATURES
6152 if test -z "$defaultval"; then
6153 if test x"$enablestring" = xdisable; then
6154 defaultval=yes
6155 else
6156 defaultval=no
6157 fi
6158 fi
6159
6160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6161 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6162 # Check whether --enable-epollloop was given.
6163 if test "${enable_epollloop+set}" = set; then
6164 enableval=$enable_epollloop;
6165 if test "$enableval" = yes; then
6166 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6167 else
6168 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6169 fi
6170
6171 else
6172
6173 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6174
6175 fi
6176
6177
6178 eval "$wx_cv_use_epollloop"
6179
6180 if test x"$enablestring" = xdisable; then
6181 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6182 result=no
6183 else
6184 result=yes
6185 fi
6186 else
6187 result=$wxUSE_EPOLL_DISPATCHER
6188 fi
6189
6190 { echo "$as_me:$LINENO: result: $result" >&5
6191 echo "${ECHO_T}$result" >&6; }
6192
6193
6194 enablestring=
6195 defaultval=$wxUSE_ALL_FEATURES
6196 if test -z "$defaultval"; then
6197 if test x"$enablestring" = xdisable; then
6198 defaultval=yes
6199 else
6200 defaultval=no
6201 fi
6202 fi
6203
6204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6205 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6206 # Check whether --enable-selectloop was given.
6207 if test "${enable_selectloop+set}" = set; then
6208 enableval=$enable_selectloop;
6209 if test "$enableval" = yes; then
6210 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6211 else
6212 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6213 fi
6214
6215 else
6216
6217 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6218
6219 fi
6220
6221
6222 eval "$wx_cv_use_selectloop"
6223
6224 if test x"$enablestring" = xdisable; then
6225 if test $wxUSE_SELECT_DISPATCHER = yes; then
6226 result=no
6227 else
6228 result=yes
6229 fi
6230 else
6231 result=$wxUSE_SELECT_DISPATCHER
6232 fi
6233
6234 { echo "$as_me:$LINENO: result: $result" >&5
6235 echo "${ECHO_T}$result" >&6; }
6236
6237
6238
6239 enablestring=
6240 defaultval=$wxUSE_ALL_FEATURES
6241 if test -z "$defaultval"; then
6242 if test x"$enablestring" = xdisable; then
6243 defaultval=yes
6244 else
6245 defaultval=no
6246 fi
6247 fi
6248
6249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6251 # Check whether --enable-apple_ieee was given.
6252 if test "${enable_apple_ieee+set}" = set; then
6253 enableval=$enable_apple_ieee;
6254 if test "$enableval" = yes; then
6255 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6256 else
6257 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6258 fi
6259
6260 else
6261
6262 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6263
6264 fi
6265
6266
6267 eval "$wx_cv_use_apple_ieee"
6268
6269 if test x"$enablestring" = xdisable; then
6270 if test $wxUSE_APPLE_IEEE = yes; then
6271 result=no
6272 else
6273 result=yes
6274 fi
6275 else
6276 result=$wxUSE_APPLE_IEEE
6277 fi
6278
6279 { echo "$as_me:$LINENO: result: $result" >&5
6280 echo "${ECHO_T}$result" >&6; }
6281
6282
6283 enablestring=
6284 defaultval=$wxUSE_ALL_FEATURES
6285 if test -z "$defaultval"; then
6286 if test x"$enablestring" = xdisable; then
6287 defaultval=yes
6288 else
6289 defaultval=no
6290 fi
6291 fi
6292
6293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6294 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6295 # Check whether --enable-arcstream was given.
6296 if test "${enable_arcstream+set}" = set; then
6297 enableval=$enable_arcstream;
6298 if test "$enableval" = yes; then
6299 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6300 else
6301 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6302 fi
6303
6304 else
6305
6306 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6307
6308 fi
6309
6310
6311 eval "$wx_cv_use_arcstream"
6312
6313 if test x"$enablestring" = xdisable; then
6314 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6315 result=no
6316 else
6317 result=yes
6318 fi
6319 else
6320 result=$wxUSE_ARCHIVE_STREAMS
6321 fi
6322
6323 { echo "$as_me:$LINENO: result: $result" >&5
6324 echo "${ECHO_T}$result" >&6; }
6325
6326
6327 enablestring=
6328 defaultval=$wxUSE_ALL_FEATURES
6329 if test -z "$defaultval"; then
6330 if test x"$enablestring" = xdisable; then
6331 defaultval=yes
6332 else
6333 defaultval=no
6334 fi
6335 fi
6336
6337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6338 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6339 # Check whether --enable-base64 was given.
6340 if test "${enable_base64+set}" = set; then
6341 enableval=$enable_base64;
6342 if test "$enableval" = yes; then
6343 wx_cv_use_base64='wxUSE_BASE64=yes'
6344 else
6345 wx_cv_use_base64='wxUSE_BASE64=no'
6346 fi
6347
6348 else
6349
6350 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6351
6352 fi
6353
6354
6355 eval "$wx_cv_use_base64"
6356
6357 if test x"$enablestring" = xdisable; then
6358 if test $wxUSE_BASE64 = yes; then
6359 result=no
6360 else
6361 result=yes
6362 fi
6363 else
6364 result=$wxUSE_BASE64
6365 fi
6366
6367 { echo "$as_me:$LINENO: result: $result" >&5
6368 echo "${ECHO_T}$result" >&6; }
6369
6370
6371 enablestring=
6372 defaultval=$wxUSE_ALL_FEATURES
6373 if test -z "$defaultval"; then
6374 if test x"$enablestring" = xdisable; then
6375 defaultval=yes
6376 else
6377 defaultval=no
6378 fi
6379 fi
6380
6381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6383 # Check whether --enable-backtrace was given.
6384 if test "${enable_backtrace+set}" = set; then
6385 enableval=$enable_backtrace;
6386 if test "$enableval" = yes; then
6387 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6388 else
6389 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6390 fi
6391
6392 else
6393
6394 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6395
6396 fi
6397
6398
6399 eval "$wx_cv_use_backtrace"
6400
6401 if test x"$enablestring" = xdisable; then
6402 if test $wxUSE_STACKWALKER = yes; then
6403 result=no
6404 else
6405 result=yes
6406 fi
6407 else
6408 result=$wxUSE_STACKWALKER
6409 fi
6410
6411 { echo "$as_me:$LINENO: result: $result" >&5
6412 echo "${ECHO_T}$result" >&6; }
6413
6414
6415 enablestring=
6416 defaultval=$wxUSE_ALL_FEATURES
6417 if test -z "$defaultval"; then
6418 if test x"$enablestring" = xdisable; then
6419 defaultval=yes
6420 else
6421 defaultval=no
6422 fi
6423 fi
6424
6425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6427 # Check whether --enable-catch_segvs was given.
6428 if test "${enable_catch_segvs+set}" = set; then
6429 enableval=$enable_catch_segvs;
6430 if test "$enableval" = yes; then
6431 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6432 else
6433 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6434 fi
6435
6436 else
6437
6438 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6439
6440 fi
6441
6442
6443 eval "$wx_cv_use_catch_segvs"
6444
6445 if test x"$enablestring" = xdisable; then
6446 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6447 result=no
6448 else
6449 result=yes
6450 fi
6451 else
6452 result=$wxUSE_ON_FATAL_EXCEPTION
6453 fi
6454
6455 { echo "$as_me:$LINENO: result: $result" >&5
6456 echo "${ECHO_T}$result" >&6; }
6457
6458
6459 enablestring=
6460 defaultval=$wxUSE_ALL_FEATURES
6461 if test -z "$defaultval"; then
6462 if test x"$enablestring" = xdisable; then
6463 defaultval=yes
6464 else
6465 defaultval=no
6466 fi
6467 fi
6468
6469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6470 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6471 # Check whether --enable-cmdline was given.
6472 if test "${enable_cmdline+set}" = set; then
6473 enableval=$enable_cmdline;
6474 if test "$enableval" = yes; then
6475 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6476 else
6477 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6478 fi
6479
6480 else
6481
6482 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6483
6484 fi
6485
6486
6487 eval "$wx_cv_use_cmdline"
6488
6489 if test x"$enablestring" = xdisable; then
6490 if test $wxUSE_CMDLINE_PARSER = yes; then
6491 result=no
6492 else
6493 result=yes
6494 fi
6495 else
6496 result=$wxUSE_CMDLINE_PARSER
6497 fi
6498
6499 { echo "$as_me:$LINENO: result: $result" >&5
6500 echo "${ECHO_T}$result" >&6; }
6501
6502
6503 enablestring=
6504 defaultval=$wxUSE_ALL_FEATURES
6505 if test -z "$defaultval"; then
6506 if test x"$enablestring" = xdisable; then
6507 defaultval=yes
6508 else
6509 defaultval=no
6510 fi
6511 fi
6512
6513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6514 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6515 # Check whether --enable-datetime was given.
6516 if test "${enable_datetime+set}" = set; then
6517 enableval=$enable_datetime;
6518 if test "$enableval" = yes; then
6519 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6520 else
6521 wx_cv_use_datetime='wxUSE_DATETIME=no'
6522 fi
6523
6524 else
6525
6526 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6527
6528 fi
6529
6530
6531 eval "$wx_cv_use_datetime"
6532
6533 if test x"$enablestring" = xdisable; then
6534 if test $wxUSE_DATETIME = yes; then
6535 result=no
6536 else
6537 result=yes
6538 fi
6539 else
6540 result=$wxUSE_DATETIME
6541 fi
6542
6543 { echo "$as_me:$LINENO: result: $result" >&5
6544 echo "${ECHO_T}$result" >&6; }
6545
6546
6547 enablestring=
6548 defaultval=$wxUSE_ALL_FEATURES
6549 if test -z "$defaultval"; then
6550 if test x"$enablestring" = xdisable; then
6551 defaultval=yes
6552 else
6553 defaultval=no
6554 fi
6555 fi
6556
6557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6558 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6559 # Check whether --enable-debugreport was given.
6560 if test "${enable_debugreport+set}" = set; then
6561 enableval=$enable_debugreport;
6562 if test "$enableval" = yes; then
6563 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6564 else
6565 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6566 fi
6567
6568 else
6569
6570 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6571
6572 fi
6573
6574
6575 eval "$wx_cv_use_debugreport"
6576
6577 if test x"$enablestring" = xdisable; then
6578 if test $wxUSE_DEBUGREPORT = yes; then
6579 result=no
6580 else
6581 result=yes
6582 fi
6583 else
6584 result=$wxUSE_DEBUGREPORT
6585 fi
6586
6587 { echo "$as_me:$LINENO: result: $result" >&5
6588 echo "${ECHO_T}$result" >&6; }
6589
6590
6591 enablestring=
6592 defaultval=$wxUSE_ALL_FEATURES
6593 if test -z "$defaultval"; then
6594 if test x"$enablestring" = xdisable; then
6595 defaultval=yes
6596 else
6597 defaultval=no
6598 fi
6599 fi
6600
6601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6602 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6603 # Check whether --enable-dialupman was given.
6604 if test "${enable_dialupman+set}" = set; then
6605 enableval=$enable_dialupman;
6606 if test "$enableval" = yes; then
6607 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6608 else
6609 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6610 fi
6611
6612 else
6613
6614 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6615
6616 fi
6617
6618
6619 eval "$wx_cv_use_dialupman"
6620
6621 if test x"$enablestring" = xdisable; then
6622 if test $wxUSE_DIALUP_MANAGER = yes; then
6623 result=no
6624 else
6625 result=yes
6626 fi
6627 else
6628 result=$wxUSE_DIALUP_MANAGER
6629 fi
6630
6631 { echo "$as_me:$LINENO: result: $result" >&5
6632 echo "${ECHO_T}$result" >&6; }
6633
6634
6635 enablestring=
6636 defaultval=$wxUSE_ALL_FEATURES
6637 if test -z "$defaultval"; then
6638 if test x"$enablestring" = xdisable; then
6639 defaultval=yes
6640 else
6641 defaultval=no
6642 fi
6643 fi
6644
6645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6646 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6647 # Check whether --enable-dynlib was given.
6648 if test "${enable_dynlib+set}" = set; then
6649 enableval=$enable_dynlib;
6650 if test "$enableval" = yes; then
6651 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6652 else
6653 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6654 fi
6655
6656 else
6657
6658 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6659
6660 fi
6661
6662
6663 eval "$wx_cv_use_dynlib"
6664
6665 if test x"$enablestring" = xdisable; then
6666 if test $wxUSE_DYNLIB_CLASS = yes; then
6667 result=no
6668 else
6669 result=yes
6670 fi
6671 else
6672 result=$wxUSE_DYNLIB_CLASS
6673 fi
6674
6675 { echo "$as_me:$LINENO: result: $result" >&5
6676 echo "${ECHO_T}$result" >&6; }
6677
6678
6679 enablestring=
6680 defaultval=$wxUSE_ALL_FEATURES
6681 if test -z "$defaultval"; then
6682 if test x"$enablestring" = xdisable; then
6683 defaultval=yes
6684 else
6685 defaultval=no
6686 fi
6687 fi
6688
6689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6691 # Check whether --enable-dynamicloader was given.
6692 if test "${enable_dynamicloader+set}" = set; then
6693 enableval=$enable_dynamicloader;
6694 if test "$enableval" = yes; then
6695 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6696 else
6697 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6698 fi
6699
6700 else
6701
6702 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6703
6704 fi
6705
6706
6707 eval "$wx_cv_use_dynamicloader"
6708
6709 if test x"$enablestring" = xdisable; then
6710 if test $wxUSE_DYNAMIC_LOADER = yes; then
6711 result=no
6712 else
6713 result=yes
6714 fi
6715 else
6716 result=$wxUSE_DYNAMIC_LOADER
6717 fi
6718
6719 { echo "$as_me:$LINENO: result: $result" >&5
6720 echo "${ECHO_T}$result" >&6; }
6721
6722
6723 enablestring=
6724 defaultval=$wxUSE_ALL_FEATURES
6725 if test -z "$defaultval"; then
6726 if test x"$enablestring" = xdisable; then
6727 defaultval=yes
6728 else
6729 defaultval=no
6730 fi
6731 fi
6732
6733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6734 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6735 # Check whether --enable-exceptions was given.
6736 if test "${enable_exceptions+set}" = set; then
6737 enableval=$enable_exceptions;
6738 if test "$enableval" = yes; then
6739 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6740 else
6741 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6742 fi
6743
6744 else
6745
6746 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6747
6748 fi
6749
6750
6751 eval "$wx_cv_use_exceptions"
6752
6753 if test x"$enablestring" = xdisable; then
6754 if test $wxUSE_EXCEPTIONS = yes; then
6755 result=no
6756 else
6757 result=yes
6758 fi
6759 else
6760 result=$wxUSE_EXCEPTIONS
6761 fi
6762
6763 { echo "$as_me:$LINENO: result: $result" >&5
6764 echo "${ECHO_T}$result" >&6; }
6765
6766
6767 enablestring=
6768 defaultval=$wxUSE_ALL_FEATURES
6769 if test -z "$defaultval"; then
6770 if test x"$enablestring" = xdisable; then
6771 defaultval=yes
6772 else
6773 defaultval=no
6774 fi
6775 fi
6776
6777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6779 # Check whether --enable-ffile was given.
6780 if test "${enable_ffile+set}" = set; then
6781 enableval=$enable_ffile;
6782 if test "$enableval" = yes; then
6783 wx_cv_use_ffile='wxUSE_FFILE=yes'
6784 else
6785 wx_cv_use_ffile='wxUSE_FFILE=no'
6786 fi
6787
6788 else
6789
6790 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6791
6792 fi
6793
6794
6795 eval "$wx_cv_use_ffile"
6796
6797 if test x"$enablestring" = xdisable; then
6798 if test $wxUSE_FFILE = yes; then
6799 result=no
6800 else
6801 result=yes
6802 fi
6803 else
6804 result=$wxUSE_FFILE
6805 fi
6806
6807 { echo "$as_me:$LINENO: result: $result" >&5
6808 echo "${ECHO_T}$result" >&6; }
6809
6810
6811 enablestring=
6812 defaultval=$wxUSE_ALL_FEATURES
6813 if test -z "$defaultval"; then
6814 if test x"$enablestring" = xdisable; then
6815 defaultval=yes
6816 else
6817 defaultval=no
6818 fi
6819 fi
6820
6821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6823 # Check whether --enable-file was given.
6824 if test "${enable_file+set}" = set; then
6825 enableval=$enable_file;
6826 if test "$enableval" = yes; then
6827 wx_cv_use_file='wxUSE_FILE=yes'
6828 else
6829 wx_cv_use_file='wxUSE_FILE=no'
6830 fi
6831
6832 else
6833
6834 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6835
6836 fi
6837
6838
6839 eval "$wx_cv_use_file"
6840
6841 if test x"$enablestring" = xdisable; then
6842 if test $wxUSE_FILE = yes; then
6843 result=no
6844 else
6845 result=yes
6846 fi
6847 else
6848 result=$wxUSE_FILE
6849 fi
6850
6851 { echo "$as_me:$LINENO: result: $result" >&5
6852 echo "${ECHO_T}$result" >&6; }
6853
6854
6855 enablestring=
6856 defaultval=$wxUSE_ALL_FEATURES
6857 if test -z "$defaultval"; then
6858 if test x"$enablestring" = xdisable; then
6859 defaultval=yes
6860 else
6861 defaultval=no
6862 fi
6863 fi
6864
6865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6866 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6867 # Check whether --enable-filesystem was given.
6868 if test "${enable_filesystem+set}" = set; then
6869 enableval=$enable_filesystem;
6870 if test "$enableval" = yes; then
6871 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6872 else
6873 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6874 fi
6875
6876 else
6877
6878 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6879
6880 fi
6881
6882
6883 eval "$wx_cv_use_filesystem"
6884
6885 if test x"$enablestring" = xdisable; then
6886 if test $wxUSE_FILESYSTEM = yes; then
6887 result=no
6888 else
6889 result=yes
6890 fi
6891 else
6892 result=$wxUSE_FILESYSTEM
6893 fi
6894
6895 { echo "$as_me:$LINENO: result: $result" >&5
6896 echo "${ECHO_T}$result" >&6; }
6897
6898
6899 enablestring=
6900 defaultval=$wxUSE_ALL_FEATURES
6901 if test -z "$defaultval"; then
6902 if test x"$enablestring" = xdisable; then
6903 defaultval=yes
6904 else
6905 defaultval=no
6906 fi
6907 fi
6908
6909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6910 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6911 # Check whether --enable-fontenum was given.
6912 if test "${enable_fontenum+set}" = set; then
6913 enableval=$enable_fontenum;
6914 if test "$enableval" = yes; then
6915 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6916 else
6917 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6918 fi
6919
6920 else
6921
6922 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6923
6924 fi
6925
6926
6927 eval "$wx_cv_use_fontenum"
6928
6929 if test x"$enablestring" = xdisable; then
6930 if test $wxUSE_FONTENUM = yes; then
6931 result=no
6932 else
6933 result=yes
6934 fi
6935 else
6936 result=$wxUSE_FONTENUM
6937 fi
6938
6939 { echo "$as_me:$LINENO: result: $result" >&5
6940 echo "${ECHO_T}$result" >&6; }
6941
6942
6943 enablestring=
6944 defaultval=$wxUSE_ALL_FEATURES
6945 if test -z "$defaultval"; then
6946 if test x"$enablestring" = xdisable; then
6947 defaultval=yes
6948 else
6949 defaultval=no
6950 fi
6951 fi
6952
6953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6954 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6955 # Check whether --enable-fontmap was given.
6956 if test "${enable_fontmap+set}" = set; then
6957 enableval=$enable_fontmap;
6958 if test "$enableval" = yes; then
6959 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6960 else
6961 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6962 fi
6963
6964 else
6965
6966 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6967
6968 fi
6969
6970
6971 eval "$wx_cv_use_fontmap"
6972
6973 if test x"$enablestring" = xdisable; then
6974 if test $wxUSE_FONTMAP = yes; then
6975 result=no
6976 else
6977 result=yes
6978 fi
6979 else
6980 result=$wxUSE_FONTMAP
6981 fi
6982
6983 { echo "$as_me:$LINENO: result: $result" >&5
6984 echo "${ECHO_T}$result" >&6; }
6985
6986
6987 enablestring=
6988 defaultval=$wxUSE_ALL_FEATURES
6989 if test -z "$defaultval"; then
6990 if test x"$enablestring" = xdisable; then
6991 defaultval=yes
6992 else
6993 defaultval=no
6994 fi
6995 fi
6996
6997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6998 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6999 # Check whether --enable-fs_archive was given.
7000 if test "${enable_fs_archive+set}" = set; then
7001 enableval=$enable_fs_archive;
7002 if test "$enableval" = yes; then
7003 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7004 else
7005 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7006 fi
7007
7008 else
7009
7010 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7011
7012 fi
7013
7014
7015 eval "$wx_cv_use_fs_archive"
7016
7017 if test x"$enablestring" = xdisable; then
7018 if test $wxUSE_FS_ARCHIVE = yes; then
7019 result=no
7020 else
7021 result=yes
7022 fi
7023 else
7024 result=$wxUSE_FS_ARCHIVE
7025 fi
7026
7027 { echo "$as_me:$LINENO: result: $result" >&5
7028 echo "${ECHO_T}$result" >&6; }
7029
7030
7031 enablestring=
7032 defaultval=$wxUSE_ALL_FEATURES
7033 if test -z "$defaultval"; then
7034 if test x"$enablestring" = xdisable; then
7035 defaultval=yes
7036 else
7037 defaultval=no
7038 fi
7039 fi
7040
7041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7043 # Check whether --enable-fs_inet was given.
7044 if test "${enable_fs_inet+set}" = set; then
7045 enableval=$enable_fs_inet;
7046 if test "$enableval" = yes; then
7047 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7048 else
7049 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7050 fi
7051
7052 else
7053
7054 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7055
7056 fi
7057
7058
7059 eval "$wx_cv_use_fs_inet"
7060
7061 if test x"$enablestring" = xdisable; then
7062 if test $wxUSE_FS_INET = yes; then
7063 result=no
7064 else
7065 result=yes
7066 fi
7067 else
7068 result=$wxUSE_FS_INET
7069 fi
7070
7071 { echo "$as_me:$LINENO: result: $result" >&5
7072 echo "${ECHO_T}$result" >&6; }
7073
7074
7075 enablestring=
7076 defaultval=$wxUSE_ALL_FEATURES
7077 if test -z "$defaultval"; then
7078 if test x"$enablestring" = xdisable; then
7079 defaultval=yes
7080 else
7081 defaultval=no
7082 fi
7083 fi
7084
7085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7087 # Check whether --enable-fs_zip was given.
7088 if test "${enable_fs_zip+set}" = set; then
7089 enableval=$enable_fs_zip;
7090 if test "$enableval" = yes; then
7091 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7092 else
7093 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7094 fi
7095
7096 else
7097
7098 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7099
7100 fi
7101
7102
7103 eval "$wx_cv_use_fs_zip"
7104
7105 if test x"$enablestring" = xdisable; then
7106 if test $wxUSE_FS_ZIP = yes; then
7107 result=no
7108 else
7109 result=yes
7110 fi
7111 else
7112 result=$wxUSE_FS_ZIP
7113 fi
7114
7115 { echo "$as_me:$LINENO: result: $result" >&5
7116 echo "${ECHO_T}$result" >&6; }
7117
7118
7119 enablestring=
7120 defaultval=$wxUSE_ALL_FEATURES
7121 if test -z "$defaultval"; then
7122 if test x"$enablestring" = xdisable; then
7123 defaultval=yes
7124 else
7125 defaultval=no
7126 fi
7127 fi
7128
7129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7131 # Check whether --enable-geometry was given.
7132 if test "${enable_geometry+set}" = set; then
7133 enableval=$enable_geometry;
7134 if test "$enableval" = yes; then
7135 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7136 else
7137 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7138 fi
7139
7140 else
7141
7142 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7143
7144 fi
7145
7146
7147 eval "$wx_cv_use_geometry"
7148
7149 if test x"$enablestring" = xdisable; then
7150 if test $wxUSE_GEOMETRY = yes; then
7151 result=no
7152 else
7153 result=yes
7154 fi
7155 else
7156 result=$wxUSE_GEOMETRY
7157 fi
7158
7159 { echo "$as_me:$LINENO: result: $result" >&5
7160 echo "${ECHO_T}$result" >&6; }
7161
7162
7163 enablestring=
7164 defaultval=$wxUSE_ALL_FEATURES
7165 if test -z "$defaultval"; then
7166 if test x"$enablestring" = xdisable; then
7167 defaultval=yes
7168 else
7169 defaultval=no
7170 fi
7171 fi
7172
7173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7175 # Check whether --enable-log was given.
7176 if test "${enable_log+set}" = set; then
7177 enableval=$enable_log;
7178 if test "$enableval" = yes; then
7179 wx_cv_use_log='wxUSE_LOG=yes'
7180 else
7181 wx_cv_use_log='wxUSE_LOG=no'
7182 fi
7183
7184 else
7185
7186 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7187
7188 fi
7189
7190
7191 eval "$wx_cv_use_log"
7192
7193 if test x"$enablestring" = xdisable; then
7194 if test $wxUSE_LOG = yes; then
7195 result=no
7196 else
7197 result=yes
7198 fi
7199 else
7200 result=$wxUSE_LOG
7201 fi
7202
7203 { echo "$as_me:$LINENO: result: $result" >&5
7204 echo "${ECHO_T}$result" >&6; }
7205
7206
7207 enablestring=
7208 defaultval=$wxUSE_ALL_FEATURES
7209 if test -z "$defaultval"; then
7210 if test x"$enablestring" = xdisable; then
7211 defaultval=yes
7212 else
7213 defaultval=no
7214 fi
7215 fi
7216
7217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7219 # Check whether --enable-longlong was given.
7220 if test "${enable_longlong+set}" = set; then
7221 enableval=$enable_longlong;
7222 if test "$enableval" = yes; then
7223 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7224 else
7225 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7226 fi
7227
7228 else
7229
7230 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7231
7232 fi
7233
7234
7235 eval "$wx_cv_use_longlong"
7236
7237 if test x"$enablestring" = xdisable; then
7238 if test $wxUSE_LONGLONG = yes; then
7239 result=no
7240 else
7241 result=yes
7242 fi
7243 else
7244 result=$wxUSE_LONGLONG
7245 fi
7246
7247 { echo "$as_me:$LINENO: result: $result" >&5
7248 echo "${ECHO_T}$result" >&6; }
7249
7250
7251 enablestring=
7252 defaultval=$wxUSE_ALL_FEATURES
7253 if test -z "$defaultval"; then
7254 if test x"$enablestring" = xdisable; then
7255 defaultval=yes
7256 else
7257 defaultval=no
7258 fi
7259 fi
7260
7261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7263 # Check whether --enable-mimetype was given.
7264 if test "${enable_mimetype+set}" = set; then
7265 enableval=$enable_mimetype;
7266 if test "$enableval" = yes; then
7267 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7268 else
7269 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7270 fi
7271
7272 else
7273
7274 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7275
7276 fi
7277
7278
7279 eval "$wx_cv_use_mimetype"
7280
7281 if test x"$enablestring" = xdisable; then
7282 if test $wxUSE_MIMETYPE = yes; then
7283 result=no
7284 else
7285 result=yes
7286 fi
7287 else
7288 result=$wxUSE_MIMETYPE
7289 fi
7290
7291 { echo "$as_me:$LINENO: result: $result" >&5
7292 echo "${ECHO_T}$result" >&6; }
7293
7294
7295 enablestring=
7296 defaultval=$wxUSE_ALL_FEATURES
7297 if test -z "$defaultval"; then
7298 if test x"$enablestring" = xdisable; then
7299 defaultval=yes
7300 else
7301 defaultval=no
7302 fi
7303 fi
7304
7305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7307 # Check whether --enable-printfposparam was given.
7308 if test "${enable_printfposparam+set}" = set; then
7309 enableval=$enable_printfposparam;
7310 if test "$enableval" = yes; then
7311 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7312 else
7313 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7314 fi
7315
7316 else
7317
7318 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7319
7320 fi
7321
7322
7323 eval "$wx_cv_use_printfposparam"
7324
7325 if test x"$enablestring" = xdisable; then
7326 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7327 result=no
7328 else
7329 result=yes
7330 fi
7331 else
7332 result=$wxUSE_PRINTF_POS_PARAMS
7333 fi
7334
7335 { echo "$as_me:$LINENO: result: $result" >&5
7336 echo "${ECHO_T}$result" >&6; }
7337
7338
7339 enablestring=
7340 defaultval=$wxUSE_ALL_FEATURES
7341 if test -z "$defaultval"; then
7342 if test x"$enablestring" = xdisable; then
7343 defaultval=yes
7344 else
7345 defaultval=no
7346 fi
7347 fi
7348
7349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7351 # Check whether --enable-snglinst was given.
7352 if test "${enable_snglinst+set}" = set; then
7353 enableval=$enable_snglinst;
7354 if test "$enableval" = yes; then
7355 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7356 else
7357 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7358 fi
7359
7360 else
7361
7362 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7363
7364 fi
7365
7366
7367 eval "$wx_cv_use_snglinst"
7368
7369 if test x"$enablestring" = xdisable; then
7370 if test $wxUSE_SNGLINST_CHECKER = yes; then
7371 result=no
7372 else
7373 result=yes
7374 fi
7375 else
7376 result=$wxUSE_SNGLINST_CHECKER
7377 fi
7378
7379 { echo "$as_me:$LINENO: result: $result" >&5
7380 echo "${ECHO_T}$result" >&6; }
7381
7382
7383 enablestring=
7384 defaultval=$wxUSE_ALL_FEATURES
7385 if test -z "$defaultval"; then
7386 if test x"$enablestring" = xdisable; then
7387 defaultval=yes
7388 else
7389 defaultval=no
7390 fi
7391 fi
7392
7393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7394 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7395 # Check whether --enable-sound was given.
7396 if test "${enable_sound+set}" = set; then
7397 enableval=$enable_sound;
7398 if test "$enableval" = yes; then
7399 wx_cv_use_sound='wxUSE_SOUND=yes'
7400 else
7401 wx_cv_use_sound='wxUSE_SOUND=no'
7402 fi
7403
7404 else
7405
7406 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7407
7408 fi
7409
7410
7411 eval "$wx_cv_use_sound"
7412
7413 if test x"$enablestring" = xdisable; then
7414 if test $wxUSE_SOUND = yes; then
7415 result=no
7416 else
7417 result=yes
7418 fi
7419 else
7420 result=$wxUSE_SOUND
7421 fi
7422
7423 { echo "$as_me:$LINENO: result: $result" >&5
7424 echo "${ECHO_T}$result" >&6; }
7425
7426
7427 enablestring=
7428 defaultval=$wxUSE_ALL_FEATURES
7429 if test -z "$defaultval"; then
7430 if test x"$enablestring" = xdisable; then
7431 defaultval=yes
7432 else
7433 defaultval=no
7434 fi
7435 fi
7436
7437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7439 # Check whether --enable-stdpaths was given.
7440 if test "${enable_stdpaths+set}" = set; then
7441 enableval=$enable_stdpaths;
7442 if test "$enableval" = yes; then
7443 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7444 else
7445 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7446 fi
7447
7448 else
7449
7450 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7451
7452 fi
7453
7454
7455 eval "$wx_cv_use_stdpaths"
7456
7457 if test x"$enablestring" = xdisable; then
7458 if test $wxUSE_STDPATHS = yes; then
7459 result=no
7460 else
7461 result=yes
7462 fi
7463 else
7464 result=$wxUSE_STDPATHS
7465 fi
7466
7467 { echo "$as_me:$LINENO: result: $result" >&5
7468 echo "${ECHO_T}$result" >&6; }
7469
7470
7471 enablestring=
7472 defaultval=$wxUSE_ALL_FEATURES
7473 if test -z "$defaultval"; then
7474 if test x"$enablestring" = xdisable; then
7475 defaultval=yes
7476 else
7477 defaultval=no
7478 fi
7479 fi
7480
7481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7483 # Check whether --enable-stopwatch was given.
7484 if test "${enable_stopwatch+set}" = set; then
7485 enableval=$enable_stopwatch;
7486 if test "$enableval" = yes; then
7487 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7488 else
7489 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7490 fi
7491
7492 else
7493
7494 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7495
7496 fi
7497
7498
7499 eval "$wx_cv_use_stopwatch"
7500
7501 if test x"$enablestring" = xdisable; then
7502 if test $wxUSE_STOPWATCH = yes; then
7503 result=no
7504 else
7505 result=yes
7506 fi
7507 else
7508 result=$wxUSE_STOPWATCH
7509 fi
7510
7511 { echo "$as_me:$LINENO: result: $result" >&5
7512 echo "${ECHO_T}$result" >&6; }
7513
7514
7515 enablestring=
7516 defaultval=$wxUSE_ALL_FEATURES
7517 if test -z "$defaultval"; then
7518 if test x"$enablestring" = xdisable; then
7519 defaultval=yes
7520 else
7521 defaultval=no
7522 fi
7523 fi
7524
7525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7527 # Check whether --enable-streams was given.
7528 if test "${enable_streams+set}" = set; then
7529 enableval=$enable_streams;
7530 if test "$enableval" = yes; then
7531 wx_cv_use_streams='wxUSE_STREAMS=yes'
7532 else
7533 wx_cv_use_streams='wxUSE_STREAMS=no'
7534 fi
7535
7536 else
7537
7538 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7539
7540 fi
7541
7542
7543 eval "$wx_cv_use_streams"
7544
7545 if test x"$enablestring" = xdisable; then
7546 if test $wxUSE_STREAMS = yes; then
7547 result=no
7548 else
7549 result=yes
7550 fi
7551 else
7552 result=$wxUSE_STREAMS
7553 fi
7554
7555 { echo "$as_me:$LINENO: result: $result" >&5
7556 echo "${ECHO_T}$result" >&6; }
7557
7558
7559 enablestring=
7560 defaultval=$wxUSE_ALL_FEATURES
7561 if test -z "$defaultval"; then
7562 if test x"$enablestring" = xdisable; then
7563 defaultval=yes
7564 else
7565 defaultval=no
7566 fi
7567 fi
7568
7569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7570 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7571 # Check whether --enable-system_options was given.
7572 if test "${enable_system_options+set}" = set; then
7573 enableval=$enable_system_options;
7574 if test "$enableval" = yes; then
7575 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7576 else
7577 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7578 fi
7579
7580 else
7581
7582 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7583
7584 fi
7585
7586
7587 eval "$wx_cv_use_system_options"
7588
7589 if test x"$enablestring" = xdisable; then
7590 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7591 result=no
7592 else
7593 result=yes
7594 fi
7595 else
7596 result=$wxUSE_SYSTEM_OPTIONS
7597 fi
7598
7599 { echo "$as_me:$LINENO: result: $result" >&5
7600 echo "${ECHO_T}$result" >&6; }
7601
7602
7603 enablestring=
7604 defaultval=$wxUSE_ALL_FEATURES
7605 if test -z "$defaultval"; then
7606 if test x"$enablestring" = xdisable; then
7607 defaultval=yes
7608 else
7609 defaultval=no
7610 fi
7611 fi
7612
7613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7614 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7615 # Check whether --enable-tarstream was given.
7616 if test "${enable_tarstream+set}" = set; then
7617 enableval=$enable_tarstream;
7618 if test "$enableval" = yes; then
7619 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7620 else
7621 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7622 fi
7623
7624 else
7625
7626 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7627
7628 fi
7629
7630
7631 eval "$wx_cv_use_tarstream"
7632
7633 if test x"$enablestring" = xdisable; then
7634 if test $wxUSE_TARSTREAM = yes; then
7635 result=no
7636 else
7637 result=yes
7638 fi
7639 else
7640 result=$wxUSE_TARSTREAM
7641 fi
7642
7643 { echo "$as_me:$LINENO: result: $result" >&5
7644 echo "${ECHO_T}$result" >&6; }
7645
7646
7647 enablestring=
7648 defaultval=$wxUSE_ALL_FEATURES
7649 if test -z "$defaultval"; then
7650 if test x"$enablestring" = xdisable; then
7651 defaultval=yes
7652 else
7653 defaultval=no
7654 fi
7655 fi
7656
7657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7658 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7659 # Check whether --enable-textbuf was given.
7660 if test "${enable_textbuf+set}" = set; then
7661 enableval=$enable_textbuf;
7662 if test "$enableval" = yes; then
7663 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7664 else
7665 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7666 fi
7667
7668 else
7669
7670 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7671
7672 fi
7673
7674
7675 eval "$wx_cv_use_textbuf"
7676
7677 if test x"$enablestring" = xdisable; then
7678 if test $wxUSE_TEXTBUFFER = yes; then
7679 result=no
7680 else
7681 result=yes
7682 fi
7683 else
7684 result=$wxUSE_TEXTBUFFER
7685 fi
7686
7687 { echo "$as_me:$LINENO: result: $result" >&5
7688 echo "${ECHO_T}$result" >&6; }
7689
7690
7691 enablestring=
7692 defaultval=$wxUSE_ALL_FEATURES
7693 if test -z "$defaultval"; then
7694 if test x"$enablestring" = xdisable; then
7695 defaultval=yes
7696 else
7697 defaultval=no
7698 fi
7699 fi
7700
7701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7703 # Check whether --enable-textfile was given.
7704 if test "${enable_textfile+set}" = set; then
7705 enableval=$enable_textfile;
7706 if test "$enableval" = yes; then
7707 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7708 else
7709 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7710 fi
7711
7712 else
7713
7714 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7715
7716 fi
7717
7718
7719 eval "$wx_cv_use_textfile"
7720
7721 if test x"$enablestring" = xdisable; then
7722 if test $wxUSE_TEXTFILE = yes; then
7723 result=no
7724 else
7725 result=yes
7726 fi
7727 else
7728 result=$wxUSE_TEXTFILE
7729 fi
7730
7731 { echo "$as_me:$LINENO: result: $result" >&5
7732 echo "${ECHO_T}$result" >&6; }
7733
7734
7735 enablestring=
7736 defaultval=$wxUSE_ALL_FEATURES
7737 if test -z "$defaultval"; then
7738 if test x"$enablestring" = xdisable; then
7739 defaultval=yes
7740 else
7741 defaultval=no
7742 fi
7743 fi
7744
7745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7747 # Check whether --enable-timer was given.
7748 if test "${enable_timer+set}" = set; then
7749 enableval=$enable_timer;
7750 if test "$enableval" = yes; then
7751 wx_cv_use_timer='wxUSE_TIMER=yes'
7752 else
7753 wx_cv_use_timer='wxUSE_TIMER=no'
7754 fi
7755
7756 else
7757
7758 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7759
7760 fi
7761
7762
7763 eval "$wx_cv_use_timer"
7764
7765 if test x"$enablestring" = xdisable; then
7766 if test $wxUSE_TIMER = yes; then
7767 result=no
7768 else
7769 result=yes
7770 fi
7771 else
7772 result=$wxUSE_TIMER
7773 fi
7774
7775 { echo "$as_me:$LINENO: result: $result" >&5
7776 echo "${ECHO_T}$result" >&6; }
7777
7778
7779 enablestring=
7780 defaultval=$wxUSE_ALL_FEATURES
7781 if test -z "$defaultval"; then
7782 if test x"$enablestring" = xdisable; then
7783 defaultval=yes
7784 else
7785 defaultval=no
7786 fi
7787 fi
7788
7789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7791 # Check whether --enable-variant was given.
7792 if test "${enable_variant+set}" = set; then
7793 enableval=$enable_variant;
7794 if test "$enableval" = yes; then
7795 wx_cv_use_variant='wxUSE_VARIANT=yes'
7796 else
7797 wx_cv_use_variant='wxUSE_VARIANT=no'
7798 fi
7799
7800 else
7801
7802 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7803
7804 fi
7805
7806
7807 eval "$wx_cv_use_variant"
7808
7809 if test x"$enablestring" = xdisable; then
7810 if test $wxUSE_VARIANT = yes; then
7811 result=no
7812 else
7813 result=yes
7814 fi
7815 else
7816 result=$wxUSE_VARIANT
7817 fi
7818
7819 { echo "$as_me:$LINENO: result: $result" >&5
7820 echo "${ECHO_T}$result" >&6; }
7821
7822
7823 enablestring=
7824 defaultval=$wxUSE_ALL_FEATURES
7825 if test -z "$defaultval"; then
7826 if test x"$enablestring" = xdisable; then
7827 defaultval=yes
7828 else
7829 defaultval=no
7830 fi
7831 fi
7832
7833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7835 # Check whether --enable-zipstream was given.
7836 if test "${enable_zipstream+set}" = set; then
7837 enableval=$enable_zipstream;
7838 if test "$enableval" = yes; then
7839 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7840 else
7841 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7842 fi
7843
7844 else
7845
7846 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7847
7848 fi
7849
7850
7851 eval "$wx_cv_use_zipstream"
7852
7853 if test x"$enablestring" = xdisable; then
7854 if test $wxUSE_ZIPSTREAM = yes; then
7855 result=no
7856 else
7857 result=yes
7858 fi
7859 else
7860 result=$wxUSE_ZIPSTREAM
7861 fi
7862
7863 { echo "$as_me:$LINENO: result: $result" >&5
7864 echo "${ECHO_T}$result" >&6; }
7865
7866
7867
7868 enablestring=
7869 defaultval=$wxUSE_ALL_FEATURES
7870 if test -z "$defaultval"; then
7871 if test x"$enablestring" = xdisable; then
7872 defaultval=yes
7873 else
7874 defaultval=no
7875 fi
7876 fi
7877
7878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7880 # Check whether --enable-url was given.
7881 if test "${enable_url+set}" = set; then
7882 enableval=$enable_url;
7883 if test "$enableval" = yes; then
7884 wx_cv_use_url='wxUSE_URL=yes'
7885 else
7886 wx_cv_use_url='wxUSE_URL=no'
7887 fi
7888
7889 else
7890
7891 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7892
7893 fi
7894
7895
7896 eval "$wx_cv_use_url"
7897
7898 if test x"$enablestring" = xdisable; then
7899 if test $wxUSE_URL = yes; then
7900 result=no
7901 else
7902 result=yes
7903 fi
7904 else
7905 result=$wxUSE_URL
7906 fi
7907
7908 { echo "$as_me:$LINENO: result: $result" >&5
7909 echo "${ECHO_T}$result" >&6; }
7910
7911
7912 enablestring=
7913 defaultval=$wxUSE_ALL_FEATURES
7914 if test -z "$defaultval"; then
7915 if test x"$enablestring" = xdisable; then
7916 defaultval=yes
7917 else
7918 defaultval=no
7919 fi
7920 fi
7921
7922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7923 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7924 # Check whether --enable-protocol was given.
7925 if test "${enable_protocol+set}" = set; then
7926 enableval=$enable_protocol;
7927 if test "$enableval" = yes; then
7928 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7929 else
7930 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7931 fi
7932
7933 else
7934
7935 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7936
7937 fi
7938
7939
7940 eval "$wx_cv_use_protocol"
7941
7942 if test x"$enablestring" = xdisable; then
7943 if test $wxUSE_PROTOCOL = yes; then
7944 result=no
7945 else
7946 result=yes
7947 fi
7948 else
7949 result=$wxUSE_PROTOCOL
7950 fi
7951
7952 { echo "$as_me:$LINENO: result: $result" >&5
7953 echo "${ECHO_T}$result" >&6; }
7954
7955
7956 enablestring=
7957 defaultval=$wxUSE_ALL_FEATURES
7958 if test -z "$defaultval"; then
7959 if test x"$enablestring" = xdisable; then
7960 defaultval=yes
7961 else
7962 defaultval=no
7963 fi
7964 fi
7965
7966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7968 # Check whether --enable-protocol_http was given.
7969 if test "${enable_protocol_http+set}" = set; then
7970 enableval=$enable_protocol_http;
7971 if test "$enableval" = yes; then
7972 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7973 else
7974 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7975 fi
7976
7977 else
7978
7979 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7980
7981 fi
7982
7983
7984 eval "$wx_cv_use_protocol_http"
7985
7986 if test x"$enablestring" = xdisable; then
7987 if test $wxUSE_PROTOCOL_HTTP = yes; then
7988 result=no
7989 else
7990 result=yes
7991 fi
7992 else
7993 result=$wxUSE_PROTOCOL_HTTP
7994 fi
7995
7996 { echo "$as_me:$LINENO: result: $result" >&5
7997 echo "${ECHO_T}$result" >&6; }
7998
7999
8000 enablestring=
8001 defaultval=$wxUSE_ALL_FEATURES
8002 if test -z "$defaultval"; then
8003 if test x"$enablestring" = xdisable; then
8004 defaultval=yes
8005 else
8006 defaultval=no
8007 fi
8008 fi
8009
8010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8011 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8012 # Check whether --enable-protocol_ftp was given.
8013 if test "${enable_protocol_ftp+set}" = set; then
8014 enableval=$enable_protocol_ftp;
8015 if test "$enableval" = yes; then
8016 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8017 else
8018 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8019 fi
8020
8021 else
8022
8023 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8024
8025 fi
8026
8027
8028 eval "$wx_cv_use_protocol_ftp"
8029
8030 if test x"$enablestring" = xdisable; then
8031 if test $wxUSE_PROTOCOL_FTP = yes; then
8032 result=no
8033 else
8034 result=yes
8035 fi
8036 else
8037 result=$wxUSE_PROTOCOL_FTP
8038 fi
8039
8040 { echo "$as_me:$LINENO: result: $result" >&5
8041 echo "${ECHO_T}$result" >&6; }
8042
8043
8044 enablestring=
8045 defaultval=$wxUSE_ALL_FEATURES
8046 if test -z "$defaultval"; then
8047 if test x"$enablestring" = xdisable; then
8048 defaultval=yes
8049 else
8050 defaultval=no
8051 fi
8052 fi
8053
8054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8055 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8056 # Check whether --enable-protocol_file was given.
8057 if test "${enable_protocol_file+set}" = set; then
8058 enableval=$enable_protocol_file;
8059 if test "$enableval" = yes; then
8060 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8061 else
8062 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8063 fi
8064
8065 else
8066
8067 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8068
8069 fi
8070
8071
8072 eval "$wx_cv_use_protocol_file"
8073
8074 if test x"$enablestring" = xdisable; then
8075 if test $wxUSE_PROTOCOL_FILE = yes; then
8076 result=no
8077 else
8078 result=yes
8079 fi
8080 else
8081 result=$wxUSE_PROTOCOL_FILE
8082 fi
8083
8084 { echo "$as_me:$LINENO: result: $result" >&5
8085 echo "${ECHO_T}$result" >&6; }
8086
8087
8088
8089 enablestring=
8090 defaultval=$wxUSE_ALL_FEATURES
8091 if test -z "$defaultval"; then
8092 if test x"$enablestring" = xdisable; then
8093 defaultval=yes
8094 else
8095 defaultval=no
8096 fi
8097 fi
8098
8099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8101 # Check whether --enable-threads was given.
8102 if test "${enable_threads+set}" = set; then
8103 enableval=$enable_threads;
8104 if test "$enableval" = yes; then
8105 wx_cv_use_threads='wxUSE_THREADS=yes'
8106 else
8107 wx_cv_use_threads='wxUSE_THREADS=no'
8108 fi
8109
8110 else
8111
8112 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8113
8114 fi
8115
8116
8117 eval "$wx_cv_use_threads"
8118
8119 if test x"$enablestring" = xdisable; then
8120 if test $wxUSE_THREADS = yes; then
8121 result=no
8122 else
8123 result=yes
8124 fi
8125 else
8126 result=$wxUSE_THREADS
8127 fi
8128
8129 { echo "$as_me:$LINENO: result: $result" >&5
8130 echo "${ECHO_T}$result" >&6; }
8131
8132
8133
8134 enablestring=
8135 defaultval=
8136 if test -z "$defaultval"; then
8137 if test x"$enablestring" = xdisable; then
8138 defaultval=yes
8139 else
8140 defaultval=no
8141 fi
8142 fi
8143
8144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8145 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8146 # Check whether --enable-iniconf was given.
8147 if test "${enable_iniconf+set}" = set; then
8148 enableval=$enable_iniconf;
8149 if test "$enableval" = yes; then
8150 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8151 else
8152 wx_cv_use_iniconf='wxUSE_INICONF=no'
8153 fi
8154
8155 else
8156
8157 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8158
8159 fi
8160
8161
8162 eval "$wx_cv_use_iniconf"
8163
8164 if test x"$enablestring" = xdisable; then
8165 if test $wxUSE_INICONF = yes; then
8166 result=no
8167 else
8168 result=yes
8169 fi
8170 else
8171 result=$wxUSE_INICONF
8172 fi
8173
8174 { echo "$as_me:$LINENO: result: $result" >&5
8175 echo "${ECHO_T}$result" >&6; }
8176
8177
8178 enablestring=
8179 defaultval=$wxUSE_ALL_FEATURES
8180 if test -z "$defaultval"; then
8181 if test x"$enablestring" = xdisable; then
8182 defaultval=yes
8183 else
8184 defaultval=no
8185 fi
8186 fi
8187
8188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8189 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8190 # Check whether --enable-regkey was given.
8191 if test "${enable_regkey+set}" = set; then
8192 enableval=$enable_regkey;
8193 if test "$enableval" = yes; then
8194 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8195 else
8196 wx_cv_use_regkey='wxUSE_REGKEY=no'
8197 fi
8198
8199 else
8200
8201 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8202
8203 fi
8204
8205
8206 eval "$wx_cv_use_regkey"
8207
8208 if test x"$enablestring" = xdisable; then
8209 if test $wxUSE_REGKEY = yes; then
8210 result=no
8211 else
8212 result=yes
8213 fi
8214 else
8215 result=$wxUSE_REGKEY
8216 fi
8217
8218 { echo "$as_me:$LINENO: result: $result" >&5
8219 echo "${ECHO_T}$result" >&6; }
8220
8221
8222 if test "$wxUSE_GUI" = "yes"; then
8223
8224
8225
8226 enablestring=
8227 defaultval=$wxUSE_ALL_FEATURES
8228 if test -z "$defaultval"; then
8229 if test x"$enablestring" = xdisable; then
8230 defaultval=yes
8231 else
8232 defaultval=no
8233 fi
8234 fi
8235
8236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8237 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8238 # Check whether --enable-docview was given.
8239 if test "${enable_docview+set}" = set; then
8240 enableval=$enable_docview;
8241 if test "$enableval" = yes; then
8242 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8243 else
8244 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8245 fi
8246
8247 else
8248
8249 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8250
8251 fi
8252
8253
8254 eval "$wx_cv_use_docview"
8255
8256 if test x"$enablestring" = xdisable; then
8257 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8258 result=no
8259 else
8260 result=yes
8261 fi
8262 else
8263 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8264 fi
8265
8266 { echo "$as_me:$LINENO: result: $result" >&5
8267 echo "${ECHO_T}$result" >&6; }
8268
8269
8270 enablestring=
8271 defaultval=$wxUSE_ALL_FEATURES
8272 if test -z "$defaultval"; then
8273 if test x"$enablestring" = xdisable; then
8274 defaultval=yes
8275 else
8276 defaultval=no
8277 fi
8278 fi
8279
8280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8281 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8282 # Check whether --enable-help was given.
8283 if test "${enable_help+set}" = set; then
8284 enableval=$enable_help;
8285 if test "$enableval" = yes; then
8286 wx_cv_use_help='wxUSE_HELP=yes'
8287 else
8288 wx_cv_use_help='wxUSE_HELP=no'
8289 fi
8290
8291 else
8292
8293 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8294
8295 fi
8296
8297
8298 eval "$wx_cv_use_help"
8299
8300 if test x"$enablestring" = xdisable; then
8301 if test $wxUSE_HELP = yes; then
8302 result=no
8303 else
8304 result=yes
8305 fi
8306 else
8307 result=$wxUSE_HELP
8308 fi
8309
8310 { echo "$as_me:$LINENO: result: $result" >&5
8311 echo "${ECHO_T}$result" >&6; }
8312
8313
8314 enablestring=
8315 defaultval=$wxUSE_ALL_FEATURES
8316 if test -z "$defaultval"; then
8317 if test x"$enablestring" = xdisable; then
8318 defaultval=yes
8319 else
8320 defaultval=no
8321 fi
8322 fi
8323
8324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8325 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8326 # Check whether --enable-mshtmlhelp was given.
8327 if test "${enable_mshtmlhelp+set}" = set; then
8328 enableval=$enable_mshtmlhelp;
8329 if test "$enableval" = yes; then
8330 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8331 else
8332 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8333 fi
8334
8335 else
8336
8337 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8338
8339 fi
8340
8341
8342 eval "$wx_cv_use_mshtmlhelp"
8343
8344 if test x"$enablestring" = xdisable; then
8345 if test $wxUSE_MS_HTML_HELP = yes; then
8346 result=no
8347 else
8348 result=yes
8349 fi
8350 else
8351 result=$wxUSE_MS_HTML_HELP
8352 fi
8353
8354 { echo "$as_me:$LINENO: result: $result" >&5
8355 echo "${ECHO_T}$result" >&6; }
8356
8357
8358 enablestring=
8359 defaultval=$wxUSE_ALL_FEATURES
8360 if test -z "$defaultval"; then
8361 if test x"$enablestring" = xdisable; then
8362 defaultval=yes
8363 else
8364 defaultval=no
8365 fi
8366 fi
8367
8368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8370 # Check whether --enable-html was given.
8371 if test "${enable_html+set}" = set; then
8372 enableval=$enable_html;
8373 if test "$enableval" = yes; then
8374 wx_cv_use_html='wxUSE_HTML=yes'
8375 else
8376 wx_cv_use_html='wxUSE_HTML=no'
8377 fi
8378
8379 else
8380
8381 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8382
8383 fi
8384
8385
8386 eval "$wx_cv_use_html"
8387
8388 if test x"$enablestring" = xdisable; then
8389 if test $wxUSE_HTML = yes; then
8390 result=no
8391 else
8392 result=yes
8393 fi
8394 else
8395 result=$wxUSE_HTML
8396 fi
8397
8398 { echo "$as_me:$LINENO: result: $result" >&5
8399 echo "${ECHO_T}$result" >&6; }
8400
8401
8402 enablestring=
8403 defaultval=$wxUSE_ALL_FEATURES
8404 if test -z "$defaultval"; then
8405 if test x"$enablestring" = xdisable; then
8406 defaultval=yes
8407 else
8408 defaultval=no
8409 fi
8410 fi
8411
8412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8413 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8414 # Check whether --enable-htmlhelp was given.
8415 if test "${enable_htmlhelp+set}" = set; then
8416 enableval=$enable_htmlhelp;
8417 if test "$enableval" = yes; then
8418 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8419 else
8420 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8421 fi
8422
8423 else
8424
8425 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8426
8427 fi
8428
8429
8430 eval "$wx_cv_use_htmlhelp"
8431
8432 if test x"$enablestring" = xdisable; then
8433 if test $wxUSE_WXHTML_HELP = yes; then
8434 result=no
8435 else
8436 result=yes
8437 fi
8438 else
8439 result=$wxUSE_WXHTML_HELP
8440 fi
8441
8442 { echo "$as_me:$LINENO: result: $result" >&5
8443 echo "${ECHO_T}$result" >&6; }
8444
8445
8446 enablestring=
8447 defaultval=$wxUSE_ALL_FEATURES
8448 if test -z "$defaultval"; then
8449 if test x"$enablestring" = xdisable; then
8450 defaultval=yes
8451 else
8452 defaultval=no
8453 fi
8454 fi
8455
8456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8457 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8458 # Check whether --enable-xrc was given.
8459 if test "${enable_xrc+set}" = set; then
8460 enableval=$enable_xrc;
8461 if test "$enableval" = yes; then
8462 wx_cv_use_xrc='wxUSE_XRC=yes'
8463 else
8464 wx_cv_use_xrc='wxUSE_XRC=no'
8465 fi
8466
8467 else
8468
8469 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8470
8471 fi
8472
8473
8474 eval "$wx_cv_use_xrc"
8475
8476 if test x"$enablestring" = xdisable; then
8477 if test $wxUSE_XRC = yes; then
8478 result=no
8479 else
8480 result=yes
8481 fi
8482 else
8483 result=$wxUSE_XRC
8484 fi
8485
8486 { echo "$as_me:$LINENO: result: $result" >&5
8487 echo "${ECHO_T}$result" >&6; }
8488
8489
8490 enablestring=
8491 defaultval=$wxUSE_ALL_FEATURES
8492 if test -z "$defaultval"; then
8493 if test x"$enablestring" = xdisable; then
8494 defaultval=yes
8495 else
8496 defaultval=no
8497 fi
8498 fi
8499
8500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8501 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8502 # Check whether --enable-aui was given.
8503 if test "${enable_aui+set}" = set; then
8504 enableval=$enable_aui;
8505 if test "$enableval" = yes; then
8506 wx_cv_use_aui='wxUSE_AUI=yes'
8507 else
8508 wx_cv_use_aui='wxUSE_AUI=no'
8509 fi
8510
8511 else
8512
8513 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8514
8515 fi
8516
8517
8518 eval "$wx_cv_use_aui"
8519
8520 if test x"$enablestring" = xdisable; then
8521 if test $wxUSE_AUI = yes; then
8522 result=no
8523 else
8524 result=yes
8525 fi
8526 else
8527 result=$wxUSE_AUI
8528 fi
8529
8530 { echo "$as_me:$LINENO: result: $result" >&5
8531 echo "${ECHO_T}$result" >&6; }
8532
8533
8534 enablestring=
8535 defaultval=$wxUSE_ALL_FEATURES
8536 if test -z "$defaultval"; then
8537 if test x"$enablestring" = xdisable; then
8538 defaultval=yes
8539 else
8540 defaultval=no
8541 fi
8542 fi
8543
8544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8545 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8546 # Check whether --enable-propgrid was given.
8547 if test "${enable_propgrid+set}" = set; then
8548 enableval=$enable_propgrid;
8549 if test "$enableval" = yes; then
8550 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8551 else
8552 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8553 fi
8554
8555 else
8556
8557 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8558
8559 fi
8560
8561
8562 eval "$wx_cv_use_propgrid"
8563
8564 if test x"$enablestring" = xdisable; then
8565 if test $wxUSE_PROPGRID = yes; then
8566 result=no
8567 else
8568 result=yes
8569 fi
8570 else
8571 result=$wxUSE_PROPGRID
8572 fi
8573
8574 { echo "$as_me:$LINENO: result: $result" >&5
8575 echo "${ECHO_T}$result" >&6; }
8576
8577
8578 enablestring=
8579 defaultval=$wxUSE_ALL_FEATURES
8580 if test -z "$defaultval"; then
8581 if test x"$enablestring" = xdisable; then
8582 defaultval=yes
8583 else
8584 defaultval=no
8585 fi
8586 fi
8587
8588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8589 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8590 # Check whether --enable-stc was given.
8591 if test "${enable_stc+set}" = set; then
8592 enableval=$enable_stc;
8593 if test "$enableval" = yes; then
8594 wx_cv_use_stc='wxUSE_STC=yes'
8595 else
8596 wx_cv_use_stc='wxUSE_STC=no'
8597 fi
8598
8599 else
8600
8601 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8602
8603 fi
8604
8605
8606 eval "$wx_cv_use_stc"
8607
8608 if test x"$enablestring" = xdisable; then
8609 if test $wxUSE_STC = yes; then
8610 result=no
8611 else
8612 result=yes
8613 fi
8614 else
8615 result=$wxUSE_STC
8616 fi
8617
8618 { echo "$as_me:$LINENO: result: $result" >&5
8619 echo "${ECHO_T}$result" >&6; }
8620
8621
8622 enablestring=
8623 defaultval=$wxUSE_ALL_FEATURES
8624 if test -z "$defaultval"; then
8625 if test x"$enablestring" = xdisable; then
8626 defaultval=yes
8627 else
8628 defaultval=no
8629 fi
8630 fi
8631
8632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8633 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8634 # Check whether --enable-constraints was given.
8635 if test "${enable_constraints+set}" = set; then
8636 enableval=$enable_constraints;
8637 if test "$enableval" = yes; then
8638 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8639 else
8640 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8641 fi
8642
8643 else
8644
8645 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8646
8647 fi
8648
8649
8650 eval "$wx_cv_use_constraints"
8651
8652 if test x"$enablestring" = xdisable; then
8653 if test $wxUSE_CONSTRAINTS = yes; then
8654 result=no
8655 else
8656 result=yes
8657 fi
8658 else
8659 result=$wxUSE_CONSTRAINTS
8660 fi
8661
8662 { echo "$as_me:$LINENO: result: $result" >&5
8663 echo "${ECHO_T}$result" >&6; }
8664
8665
8666 enablestring=
8667 defaultval=$wxUSE_ALL_FEATURES
8668 if test -z "$defaultval"; then
8669 if test x"$enablestring" = xdisable; then
8670 defaultval=yes
8671 else
8672 defaultval=no
8673 fi
8674 fi
8675
8676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8678 # Check whether --enable-loggui was given.
8679 if test "${enable_loggui+set}" = set; then
8680 enableval=$enable_loggui;
8681 if test "$enableval" = yes; then
8682 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8683 else
8684 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8685 fi
8686
8687 else
8688
8689 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8690
8691 fi
8692
8693
8694 eval "$wx_cv_use_loggui"
8695
8696 if test x"$enablestring" = xdisable; then
8697 if test $wxUSE_LOGGUI = yes; then
8698 result=no
8699 else
8700 result=yes
8701 fi
8702 else
8703 result=$wxUSE_LOGGUI
8704 fi
8705
8706 { echo "$as_me:$LINENO: result: $result" >&5
8707 echo "${ECHO_T}$result" >&6; }
8708
8709
8710 enablestring=
8711 defaultval=$wxUSE_ALL_FEATURES
8712 if test -z "$defaultval"; then
8713 if test x"$enablestring" = xdisable; then
8714 defaultval=yes
8715 else
8716 defaultval=no
8717 fi
8718 fi
8719
8720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8721 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8722 # Check whether --enable-logwin was given.
8723 if test "${enable_logwin+set}" = set; then
8724 enableval=$enable_logwin;
8725 if test "$enableval" = yes; then
8726 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8727 else
8728 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8729 fi
8730
8731 else
8732
8733 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8734
8735 fi
8736
8737
8738 eval "$wx_cv_use_logwin"
8739
8740 if test x"$enablestring" = xdisable; then
8741 if test $wxUSE_LOGWINDOW = yes; then
8742 result=no
8743 else
8744 result=yes
8745 fi
8746 else
8747 result=$wxUSE_LOGWINDOW
8748 fi
8749
8750 { echo "$as_me:$LINENO: result: $result" >&5
8751 echo "${ECHO_T}$result" >&6; }
8752
8753
8754 enablestring=
8755 defaultval=$wxUSE_ALL_FEATURES
8756 if test -z "$defaultval"; then
8757 if test x"$enablestring" = xdisable; then
8758 defaultval=yes
8759 else
8760 defaultval=no
8761 fi
8762 fi
8763
8764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8765 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8766 # Check whether --enable-logdialog was given.
8767 if test "${enable_logdialog+set}" = set; then
8768 enableval=$enable_logdialog;
8769 if test "$enableval" = yes; then
8770 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8771 else
8772 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8773 fi
8774
8775 else
8776
8777 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8778
8779 fi
8780
8781
8782 eval "$wx_cv_use_logdialog"
8783
8784 if test x"$enablestring" = xdisable; then
8785 if test $wxUSE_LOGDIALOG = yes; then
8786 result=no
8787 else
8788 result=yes
8789 fi
8790 else
8791 result=$wxUSE_LOGDIALOG
8792 fi
8793
8794 { echo "$as_me:$LINENO: result: $result" >&5
8795 echo "${ECHO_T}$result" >&6; }
8796
8797
8798 enablestring=
8799 defaultval=$wxUSE_ALL_FEATURES
8800 if test -z "$defaultval"; then
8801 if test x"$enablestring" = xdisable; then
8802 defaultval=yes
8803 else
8804 defaultval=no
8805 fi
8806 fi
8807
8808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8809 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8810 # Check whether --enable-mdi was given.
8811 if test "${enable_mdi+set}" = set; then
8812 enableval=$enable_mdi;
8813 if test "$enableval" = yes; then
8814 wx_cv_use_mdi='wxUSE_MDI=yes'
8815 else
8816 wx_cv_use_mdi='wxUSE_MDI=no'
8817 fi
8818
8819 else
8820
8821 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8822
8823 fi
8824
8825
8826 eval "$wx_cv_use_mdi"
8827
8828 if test x"$enablestring" = xdisable; then
8829 if test $wxUSE_MDI = yes; then
8830 result=no
8831 else
8832 result=yes
8833 fi
8834 else
8835 result=$wxUSE_MDI
8836 fi
8837
8838 { echo "$as_me:$LINENO: result: $result" >&5
8839 echo "${ECHO_T}$result" >&6; }
8840
8841
8842 enablestring=
8843 defaultval=$wxUSE_ALL_FEATURES
8844 if test -z "$defaultval"; then
8845 if test x"$enablestring" = xdisable; then
8846 defaultval=yes
8847 else
8848 defaultval=no
8849 fi
8850 fi
8851
8852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8854 # Check whether --enable-mdidoc was given.
8855 if test "${enable_mdidoc+set}" = set; then
8856 enableval=$enable_mdidoc;
8857 if test "$enableval" = yes; then
8858 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8859 else
8860 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8861 fi
8862
8863 else
8864
8865 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8866
8867 fi
8868
8869
8870 eval "$wx_cv_use_mdidoc"
8871
8872 if test x"$enablestring" = xdisable; then
8873 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8874 result=no
8875 else
8876 result=yes
8877 fi
8878 else
8879 result=$wxUSE_MDI_ARCHITECTURE
8880 fi
8881
8882 { echo "$as_me:$LINENO: result: $result" >&5
8883 echo "${ECHO_T}$result" >&6; }
8884
8885
8886 enablestring=
8887 defaultval=$wxUSE_ALL_FEATURES
8888 if test -z "$defaultval"; then
8889 if test x"$enablestring" = xdisable; then
8890 defaultval=yes
8891 else
8892 defaultval=no
8893 fi
8894 fi
8895
8896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8898 # Check whether --enable-mediactrl was given.
8899 if test "${enable_mediactrl+set}" = set; then
8900 enableval=$enable_mediactrl;
8901 if test "$enableval" = yes; then
8902 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8903 else
8904 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8905 fi
8906
8907 else
8908
8909 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8910
8911 fi
8912
8913
8914 eval "$wx_cv_use_mediactrl"
8915
8916 if test x"$enablestring" = xdisable; then
8917 if test $wxUSE_MEDIACTRL = yes; then
8918 result=no
8919 else
8920 result=yes
8921 fi
8922 else
8923 result=$wxUSE_MEDIACTRL
8924 fi
8925
8926 { echo "$as_me:$LINENO: result: $result" >&5
8927 echo "${ECHO_T}$result" >&6; }
8928
8929
8930 enablestring=
8931 defaultval=$wxUSE_ALL_FEATURES
8932 if test -z "$defaultval"; then
8933 if test x"$enablestring" = xdisable; then
8934 defaultval=yes
8935 else
8936 defaultval=no
8937 fi
8938 fi
8939
8940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8942 # Check whether --enable-gstreamer8 was given.
8943 if test "${enable_gstreamer8+set}" = set; then
8944 enableval=$enable_gstreamer8;
8945 if test "$enableval" = yes; then
8946 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8947 else
8948 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8949 fi
8950
8951 else
8952
8953 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8954
8955 fi
8956
8957
8958 eval "$wx_cv_use_gstreamer8"
8959
8960 if test x"$enablestring" = xdisable; then
8961 if test $wxUSE_GSTREAMER8 = yes; then
8962 result=no
8963 else
8964 result=yes
8965 fi
8966 else
8967 result=$wxUSE_GSTREAMER8
8968 fi
8969
8970 { echo "$as_me:$LINENO: result: $result" >&5
8971 echo "${ECHO_T}$result" >&6; }
8972
8973
8974 enablestring=
8975 defaultval=$wxUSE_ALL_FEATURES
8976 if test -z "$defaultval"; then
8977 if test x"$enablestring" = xdisable; then
8978 defaultval=yes
8979 else
8980 defaultval=no
8981 fi
8982 fi
8983
8984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8986 # Check whether --enable-webkit was given.
8987 if test "${enable_webkit+set}" = set; then
8988 enableval=$enable_webkit;
8989 if test "$enableval" = yes; then
8990 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8991 else
8992 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8993 fi
8994
8995 else
8996
8997 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8998
8999 fi
9000
9001
9002 eval "$wx_cv_use_webkit"
9003
9004 if test x"$enablestring" = xdisable; then
9005 if test $wxUSE_WEBKIT = yes; then
9006 result=no
9007 else
9008 result=yes
9009 fi
9010 else
9011 result=$wxUSE_WEBKIT
9012 fi
9013
9014 { echo "$as_me:$LINENO: result: $result" >&5
9015 echo "${ECHO_T}$result" >&6; }
9016
9017
9018 enablestring=
9019 defaultval=$wxUSE_ALL_FEATURES
9020 if test -z "$defaultval"; then
9021 if test x"$enablestring" = xdisable; then
9022 defaultval=yes
9023 else
9024 defaultval=no
9025 fi
9026 fi
9027
9028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9029 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9030 # Check whether --enable-richtext was given.
9031 if test "${enable_richtext+set}" = set; then
9032 enableval=$enable_richtext;
9033 if test "$enableval" = yes; then
9034 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9035 else
9036 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9037 fi
9038
9039 else
9040
9041 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9042
9043 fi
9044
9045
9046 eval "$wx_cv_use_richtext"
9047
9048 if test x"$enablestring" = xdisable; then
9049 if test $wxUSE_RICHTEXT = yes; then
9050 result=no
9051 else
9052 result=yes
9053 fi
9054 else
9055 result=$wxUSE_RICHTEXT
9056 fi
9057
9058 { echo "$as_me:$LINENO: result: $result" >&5
9059 echo "${ECHO_T}$result" >&6; }
9060
9061
9062 enablestring=
9063 defaultval=$wxUSE_ALL_FEATURES
9064 if test -z "$defaultval"; then
9065 if test x"$enablestring" = xdisable; then
9066 defaultval=yes
9067 else
9068 defaultval=no
9069 fi
9070 fi
9071
9072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9074 # Check whether --enable-graphics_ctx was given.
9075 if test "${enable_graphics_ctx+set}" = set; then
9076 enableval=$enable_graphics_ctx;
9077 if test "$enableval" = yes; then
9078 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9079 else
9080 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9081 fi
9082
9083 else
9084
9085 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9086
9087 fi
9088
9089
9090 eval "$wx_cv_use_graphics_ctx"
9091
9092 if test x"$enablestring" = xdisable; then
9093 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9094 result=no
9095 else
9096 result=yes
9097 fi
9098 else
9099 result=$wxUSE_GRAPHICS_CONTEXT
9100 fi
9101
9102 { echo "$as_me:$LINENO: result: $result" >&5
9103 echo "${ECHO_T}$result" >&6; }
9104
9105
9106 enablestring=
9107 defaultval=$wxUSE_ALL_FEATURES
9108 if test -z "$defaultval"; then
9109 if test x"$enablestring" = xdisable; then
9110 defaultval=yes
9111 else
9112 defaultval=no
9113 fi
9114 fi
9115
9116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9118 # Check whether --enable-postscript was given.
9119 if test "${enable_postscript+set}" = set; then
9120 enableval=$enable_postscript;
9121 if test "$enableval" = yes; then
9122 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9123 else
9124 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9125 fi
9126
9127 else
9128
9129 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9130
9131 fi
9132
9133
9134 eval "$wx_cv_use_postscript"
9135
9136 if test x"$enablestring" = xdisable; then
9137 if test $wxUSE_POSTSCRIPT = yes; then
9138 result=no
9139 else
9140 result=yes
9141 fi
9142 else
9143 result=$wxUSE_POSTSCRIPT
9144 fi
9145
9146 { echo "$as_me:$LINENO: result: $result" >&5
9147 echo "${ECHO_T}$result" >&6; }
9148
9149
9150 enablestring=
9151 defaultval=$wxUSE_ALL_FEATURES
9152 if test -z "$defaultval"; then
9153 if test x"$enablestring" = xdisable; then
9154 defaultval=yes
9155 else
9156 defaultval=no
9157 fi
9158 fi
9159
9160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9161 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9162 # Check whether --enable-printarch was given.
9163 if test "${enable_printarch+set}" = set; then
9164 enableval=$enable_printarch;
9165 if test "$enableval" = yes; then
9166 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9167 else
9168 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9169 fi
9170
9171 else
9172
9173 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9174
9175 fi
9176
9177
9178 eval "$wx_cv_use_printarch"
9179
9180 if test x"$enablestring" = xdisable; then
9181 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9182 result=no
9183 else
9184 result=yes
9185 fi
9186 else
9187 result=$wxUSE_PRINTING_ARCHITECTURE
9188 fi
9189
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9192
9193
9194 enablestring=
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9198 defaultval=yes
9199 else
9200 defaultval=no
9201 fi
9202 fi
9203
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9206 # Check whether --enable-svg was given.
9207 if test "${enable_svg+set}" = set; then
9208 enableval=$enable_svg;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_svg='wxUSE_SVG=yes'
9211 else
9212 wx_cv_use_svg='wxUSE_SVG=no'
9213 fi
9214
9215 else
9216
9217 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9218
9219 fi
9220
9221
9222 eval "$wx_cv_use_svg"
9223
9224 if test x"$enablestring" = xdisable; then
9225 if test $wxUSE_SVG = yes; then
9226 result=no
9227 else
9228 result=yes
9229 fi
9230 else
9231 result=$wxUSE_SVG
9232 fi
9233
9234 { echo "$as_me:$LINENO: result: $result" >&5
9235 echo "${ECHO_T}$result" >&6; }
9236
9237
9238
9239
9240 enablestring=
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9244 defaultval=yes
9245 else
9246 defaultval=no
9247 fi
9248 fi
9249
9250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9252 # Check whether --enable-clipboard was given.
9253 if test "${enable_clipboard+set}" = set; then
9254 enableval=$enable_clipboard;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9257 else
9258 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9259 fi
9260
9261 else
9262
9263 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9264
9265 fi
9266
9267
9268 eval "$wx_cv_use_clipboard"
9269
9270 if test x"$enablestring" = xdisable; then
9271 if test $wxUSE_CLIPBOARD = yes; then
9272 result=no
9273 else
9274 result=yes
9275 fi
9276 else
9277 result=$wxUSE_CLIPBOARD
9278 fi
9279
9280 { echo "$as_me:$LINENO: result: $result" >&5
9281 echo "${ECHO_T}$result" >&6; }
9282
9283
9284 enablestring=
9285 defaultval=$wxUSE_ALL_FEATURES
9286 if test -z "$defaultval"; then
9287 if test x"$enablestring" = xdisable; then
9288 defaultval=yes
9289 else
9290 defaultval=no
9291 fi
9292 fi
9293
9294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9296 # Check whether --enable-dnd was given.
9297 if test "${enable_dnd+set}" = set; then
9298 enableval=$enable_dnd;
9299 if test "$enableval" = yes; then
9300 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9301 else
9302 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9303 fi
9304
9305 else
9306
9307 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9308
9309 fi
9310
9311
9312 eval "$wx_cv_use_dnd"
9313
9314 if test x"$enablestring" = xdisable; then
9315 if test $wxUSE_DRAG_AND_DROP = yes; then
9316 result=no
9317 else
9318 result=yes
9319 fi
9320 else
9321 result=$wxUSE_DRAG_AND_DROP
9322 fi
9323
9324 { echo "$as_me:$LINENO: result: $result" >&5
9325 echo "${ECHO_T}$result" >&6; }
9326
9327
9328 enablestring=
9329 defaultval=$wxUSE_ALL_FEATURES
9330 if test -z "$defaultval"; then
9331 if test x"$enablestring" = xdisable; then
9332 defaultval=yes
9333 else
9334 defaultval=no
9335 fi
9336 fi
9337
9338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9339 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9340 # Check whether --enable-metafile was given.
9341 if test "${enable_metafile+set}" = set; then
9342 enableval=$enable_metafile;
9343 if test "$enableval" = yes; then
9344 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9345 else
9346 wx_cv_use_metafile='wxUSE_METAFILE=no'
9347 fi
9348
9349 else
9350
9351 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9352
9353 fi
9354
9355
9356 eval "$wx_cv_use_metafile"
9357
9358 if test x"$enablestring" = xdisable; then
9359 if test $wxUSE_METAFILE = yes; then
9360 result=no
9361 else
9362 result=yes
9363 fi
9364 else
9365 result=$wxUSE_METAFILE
9366 fi
9367
9368 { echo "$as_me:$LINENO: result: $result" >&5
9369 echo "${ECHO_T}$result" >&6; }
9370
9371
9372
9373 DEFAULT_wxUSE_CONTROLS=none
9374
9375 enablestring=disable
9376 defaultval=
9377 if test -z "$defaultval"; then
9378 if test x"$enablestring" = xdisable; then
9379 defaultval=yes
9380 else
9381 defaultval=no
9382 fi
9383 fi
9384
9385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9386 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9387 # Check whether --enable-controls was given.
9388 if test "${enable_controls+set}" = set; then
9389 enableval=$enable_controls;
9390 if test "$enableval" = yes; then
9391 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9392 else
9393 wx_cv_use_controls='wxUSE_CONTROLS=no'
9394 fi
9395
9396 else
9397
9398 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9399
9400 fi
9401
9402
9403 eval "$wx_cv_use_controls"
9404
9405 if test x"$enablestring" = xdisable; then
9406 if test $wxUSE_CONTROLS = yes; then
9407 result=no
9408 else
9409 result=yes
9410 fi
9411 else
9412 result=$wxUSE_CONTROLS
9413 fi
9414
9415 { echo "$as_me:$LINENO: result: $result" >&5
9416 echo "${ECHO_T}$result" >&6; }
9417
9418
9419 if test "$wxUSE_CONTROLS" = "no"; then
9420 DEFAULT_wxUSE_ACCEL=no
9421 DEFAULT_wxUSE_ANIMATIONCTRL=no
9422 DEFAULT_wxUSE_BMPBUTTON=no
9423 DEFAULT_wxUSE_BUTTON=no
9424 DEFAULT_wxUSE_CALCTRL=no
9425 DEFAULT_wxUSE_CARET=no
9426 DEFAULT_wxUSE_CHECKBOX=no
9427 DEFAULT_wxUSE_CHECKLISTBOX=no
9428 DEFAULT_wxUSE_CHOICE=no
9429 DEFAULT_wxUSE_CHOICEBOOK=no
9430 DEFAULT_wxUSE_COLLPANE=no
9431 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9432 DEFAULT_wxUSE_COMBOBOX=no
9433 DEFAULT_wxUSE_COMBOBOX=no
9434 DEFAULT_wxUSE_DATAVIEWCTRL=no
9435 DEFAULT_wxUSE_DATEPICKCTRL=no
9436 DEFAULT_wxUSE_DETECT_SM=no
9437 DEFAULT_wxUSE_DIRPICKERCTRL=no
9438 DEFAULT_wxUSE_DISPLAY=no
9439 DEFAULT_wxUSE_FILECTRL=no
9440 DEFAULT_wxUSE_FILEPICKERCTRL=no
9441 DEFAULT_wxUSE_FONTPICKERCTRL=no
9442 DEFAULT_wxUSE_GAUGE=no
9443 DEFAULT_wxUSE_GRID=no
9444 DEFAULT_wxUSE_HEADERCTRL=no
9445 DEFAULT_wxUSE_HYPERLINKCTRL=no
9446 DEFAULT_wxUSE_IMAGLIST=no
9447 DEFAULT_wxUSE_LISTBOOK=no
9448 DEFAULT_wxUSE_LISTBOX=no
9449 DEFAULT_wxUSE_LISTCTRL=no
9450 DEFAULT_wxUSE_NOTEBOOK=no
9451 DEFAULT_wxUSE_POPUPWIN=no
9452 DEFAULT_wxUSE_RADIOBOX=no
9453 DEFAULT_wxUSE_RADIOBTN=no
9454 DEFAULT_wxUSE_REARRANGECTRL=no
9455 DEFAULT_wxUSE_SASH=no
9456 DEFAULT_wxUSE_SCROLLBAR=no
9457 DEFAULT_wxUSE_SEARCHCTRL=no
9458 DEFAULT_wxUSE_SLIDER=no
9459 DEFAULT_wxUSE_SPINBTN=no
9460 DEFAULT_wxUSE_SPINCTRL=no
9461 DEFAULT_wxUSE_SPLITTER=no
9462 DEFAULT_wxUSE_STATBMP=no
9463 DEFAULT_wxUSE_STATBOX=no
9464 DEFAULT_wxUSE_STATLINE=no
9465 DEFAULT_wxUSE_STATUSBAR=no
9466 DEFAULT_wxUSE_TIPWINDOW=no
9467 DEFAULT_wxUSE_TOGGLEBTN=no
9468 DEFAULT_wxUSE_TOOLBAR=no
9469 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9470 DEFAULT_wxUSE_TOOLBOOK=no
9471 DEFAULT_wxUSE_TOOLTIPS=no
9472 DEFAULT_wxUSE_TREEBOOK=no
9473 DEFAULT_wxUSE_TREECTRL=no
9474 fi
9475
9476
9477 enablestring=
9478 defaultval=$wxUSE_ALL_FEATURES
9479 if test -z "$defaultval"; then
9480 if test x"$enablestring" = xdisable; then
9481 defaultval=yes
9482 else
9483 defaultval=no
9484 fi
9485 fi
9486
9487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9489 # Check whether --enable-accel was given.
9490 if test "${enable_accel+set}" = set; then
9491 enableval=$enable_accel;
9492 if test "$enableval" = yes; then
9493 wx_cv_use_accel='wxUSE_ACCEL=yes'
9494 else
9495 wx_cv_use_accel='wxUSE_ACCEL=no'
9496 fi
9497
9498 else
9499
9500 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9501
9502 fi
9503
9504
9505 eval "$wx_cv_use_accel"
9506
9507 if test x"$enablestring" = xdisable; then
9508 if test $wxUSE_ACCEL = yes; then
9509 result=no
9510 else
9511 result=yes
9512 fi
9513 else
9514 result=$wxUSE_ACCEL
9515 fi
9516
9517 { echo "$as_me:$LINENO: result: $result" >&5
9518 echo "${ECHO_T}$result" >&6; }
9519
9520
9521 enablestring=
9522 defaultval=$wxUSE_ALL_FEATURES
9523 if test -z "$defaultval"; then
9524 if test x"$enablestring" = xdisable; then
9525 defaultval=yes
9526 else
9527 defaultval=no
9528 fi
9529 fi
9530
9531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9533 # Check whether --enable-animatectrl was given.
9534 if test "${enable_animatectrl+set}" = set; then
9535 enableval=$enable_animatectrl;
9536 if test "$enableval" = yes; then
9537 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9538 else
9539 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9540 fi
9541
9542 else
9543
9544 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9545
9546 fi
9547
9548
9549 eval "$wx_cv_use_animatectrl"
9550
9551 if test x"$enablestring" = xdisable; then
9552 if test $wxUSE_ANIMATIONCTRL = yes; then
9553 result=no
9554 else
9555 result=yes
9556 fi
9557 else
9558 result=$wxUSE_ANIMATIONCTRL
9559 fi
9560
9561 { echo "$as_me:$LINENO: result: $result" >&5
9562 echo "${ECHO_T}$result" >&6; }
9563
9564
9565 enablestring=
9566 defaultval=$wxUSE_ALL_FEATURES
9567 if test -z "$defaultval"; then
9568 if test x"$enablestring" = xdisable; then
9569 defaultval=yes
9570 else
9571 defaultval=no
9572 fi
9573 fi
9574
9575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9576 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9577 # Check whether --enable-bmpbutton was given.
9578 if test "${enable_bmpbutton+set}" = set; then
9579 enableval=$enable_bmpbutton;
9580 if test "$enableval" = yes; then
9581 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9582 else
9583 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9584 fi
9585
9586 else
9587
9588 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9589
9590 fi
9591
9592
9593 eval "$wx_cv_use_bmpbutton"
9594
9595 if test x"$enablestring" = xdisable; then
9596 if test $wxUSE_BMPBUTTON = yes; then
9597 result=no
9598 else
9599 result=yes
9600 fi
9601 else
9602 result=$wxUSE_BMPBUTTON
9603 fi
9604
9605 { echo "$as_me:$LINENO: result: $result" >&5
9606 echo "${ECHO_T}$result" >&6; }
9607
9608
9609 enablestring=
9610 defaultval=$wxUSE_ALL_FEATURES
9611 if test -z "$defaultval"; then
9612 if test x"$enablestring" = xdisable; then
9613 defaultval=yes
9614 else
9615 defaultval=no
9616 fi
9617 fi
9618
9619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9620 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9621 # Check whether --enable-bmpcombobox was given.
9622 if test "${enable_bmpcombobox+set}" = set; then
9623 enableval=$enable_bmpcombobox;
9624 if test "$enableval" = yes; then
9625 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9626 else
9627 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9628 fi
9629
9630 else
9631
9632 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9633
9634 fi
9635
9636
9637 eval "$wx_cv_use_bmpcombobox"
9638
9639 if test x"$enablestring" = xdisable; then
9640 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9641 result=no
9642 else
9643 result=yes
9644 fi
9645 else
9646 result=$wxUSE_BITMAPCOMBOBOX
9647 fi
9648
9649 { echo "$as_me:$LINENO: result: $result" >&5
9650 echo "${ECHO_T}$result" >&6; }
9651
9652
9653 enablestring=
9654 defaultval=$wxUSE_ALL_FEATURES
9655 if test -z "$defaultval"; then
9656 if test x"$enablestring" = xdisable; then
9657 defaultval=yes
9658 else
9659 defaultval=no
9660 fi
9661 fi
9662
9663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9664 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9665 # Check whether --enable-button was given.
9666 if test "${enable_button+set}" = set; then
9667 enableval=$enable_button;
9668 if test "$enableval" = yes; then
9669 wx_cv_use_button='wxUSE_BUTTON=yes'
9670 else
9671 wx_cv_use_button='wxUSE_BUTTON=no'
9672 fi
9673
9674 else
9675
9676 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9677
9678 fi
9679
9680
9681 eval "$wx_cv_use_button"
9682
9683 if test x"$enablestring" = xdisable; then
9684 if test $wxUSE_BUTTON = yes; then
9685 result=no
9686 else
9687 result=yes
9688 fi
9689 else
9690 result=$wxUSE_BUTTON
9691 fi
9692
9693 { echo "$as_me:$LINENO: result: $result" >&5
9694 echo "${ECHO_T}$result" >&6; }
9695
9696
9697 enablestring=
9698 defaultval=$wxUSE_ALL_FEATURES
9699 if test -z "$defaultval"; then
9700 if test x"$enablestring" = xdisable; then
9701 defaultval=yes
9702 else
9703 defaultval=no
9704 fi
9705 fi
9706
9707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9708 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9709 # Check whether --enable-calendar was given.
9710 if test "${enable_calendar+set}" = set; then
9711 enableval=$enable_calendar;
9712 if test "$enableval" = yes; then
9713 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9714 else
9715 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9716 fi
9717
9718 else
9719
9720 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9721
9722 fi
9723
9724
9725 eval "$wx_cv_use_calendar"
9726
9727 if test x"$enablestring" = xdisable; then
9728 if test $wxUSE_CALCTRL = yes; then
9729 result=no
9730 else
9731 result=yes
9732 fi
9733 else
9734 result=$wxUSE_CALCTRL
9735 fi
9736
9737 { echo "$as_me:$LINENO: result: $result" >&5
9738 echo "${ECHO_T}$result" >&6; }
9739
9740
9741 enablestring=
9742 defaultval=$wxUSE_ALL_FEATURES
9743 if test -z "$defaultval"; then
9744 if test x"$enablestring" = xdisable; then
9745 defaultval=yes
9746 else
9747 defaultval=no
9748 fi
9749 fi
9750
9751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9752 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9753 # Check whether --enable-caret was given.
9754 if test "${enable_caret+set}" = set; then
9755 enableval=$enable_caret;
9756 if test "$enableval" = yes; then
9757 wx_cv_use_caret='wxUSE_CARET=yes'
9758 else
9759 wx_cv_use_caret='wxUSE_CARET=no'
9760 fi
9761
9762 else
9763
9764 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9765
9766 fi
9767
9768
9769 eval "$wx_cv_use_caret"
9770
9771 if test x"$enablestring" = xdisable; then
9772 if test $wxUSE_CARET = yes; then
9773 result=no
9774 else
9775 result=yes
9776 fi
9777 else
9778 result=$wxUSE_CARET
9779 fi
9780
9781 { echo "$as_me:$LINENO: result: $result" >&5
9782 echo "${ECHO_T}$result" >&6; }
9783
9784
9785 enablestring=
9786 defaultval=$wxUSE_ALL_FEATURES
9787 if test -z "$defaultval"; then
9788 if test x"$enablestring" = xdisable; then
9789 defaultval=yes
9790 else
9791 defaultval=no
9792 fi
9793 fi
9794
9795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9796 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9797 # Check whether --enable-checkbox was given.
9798 if test "${enable_checkbox+set}" = set; then
9799 enableval=$enable_checkbox;
9800 if test "$enableval" = yes; then
9801 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9802 else
9803 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9804 fi
9805
9806 else
9807
9808 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9809
9810 fi
9811
9812
9813 eval "$wx_cv_use_checkbox"
9814
9815 if test x"$enablestring" = xdisable; then
9816 if test $wxUSE_CHECKBOX = yes; then
9817 result=no
9818 else
9819 result=yes
9820 fi
9821 else
9822 result=$wxUSE_CHECKBOX
9823 fi
9824
9825 { echo "$as_me:$LINENO: result: $result" >&5
9826 echo "${ECHO_T}$result" >&6; }
9827
9828
9829 enablestring=
9830 defaultval=$wxUSE_ALL_FEATURES
9831 if test -z "$defaultval"; then
9832 if test x"$enablestring" = xdisable; then
9833 defaultval=yes
9834 else
9835 defaultval=no
9836 fi
9837 fi
9838
9839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9841 # Check whether --enable-checklst was given.
9842 if test "${enable_checklst+set}" = set; then
9843 enableval=$enable_checklst;
9844 if test "$enableval" = yes; then
9845 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9846 else
9847 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9848 fi
9849
9850 else
9851
9852 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9853
9854 fi
9855
9856
9857 eval "$wx_cv_use_checklst"
9858
9859 if test x"$enablestring" = xdisable; then
9860 if test $wxUSE_CHECKLST = yes; then
9861 result=no
9862 else
9863 result=yes
9864 fi
9865 else
9866 result=$wxUSE_CHECKLST
9867 fi
9868
9869 { echo "$as_me:$LINENO: result: $result" >&5
9870 echo "${ECHO_T}$result" >&6; }
9871
9872
9873 enablestring=
9874 defaultval=$wxUSE_ALL_FEATURES
9875 if test -z "$defaultval"; then
9876 if test x"$enablestring" = xdisable; then
9877 defaultval=yes
9878 else
9879 defaultval=no
9880 fi
9881 fi
9882
9883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9884 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9885 # Check whether --enable-choice was given.
9886 if test "${enable_choice+set}" = set; then
9887 enableval=$enable_choice;
9888 if test "$enableval" = yes; then
9889 wx_cv_use_choice='wxUSE_CHOICE=yes'
9890 else
9891 wx_cv_use_choice='wxUSE_CHOICE=no'
9892 fi
9893
9894 else
9895
9896 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9897
9898 fi
9899
9900
9901 eval "$wx_cv_use_choice"
9902
9903 if test x"$enablestring" = xdisable; then
9904 if test $wxUSE_CHOICE = yes; then
9905 result=no
9906 else
9907 result=yes
9908 fi
9909 else
9910 result=$wxUSE_CHOICE
9911 fi
9912
9913 { echo "$as_me:$LINENO: result: $result" >&5
9914 echo "${ECHO_T}$result" >&6; }
9915
9916
9917 enablestring=
9918 defaultval=$wxUSE_ALL_FEATURES
9919 if test -z "$defaultval"; then
9920 if test x"$enablestring" = xdisable; then
9921 defaultval=yes
9922 else
9923 defaultval=no
9924 fi
9925 fi
9926
9927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9928 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9929 # Check whether --enable-choicebook was given.
9930 if test "${enable_choicebook+set}" = set; then
9931 enableval=$enable_choicebook;
9932 if test "$enableval" = yes; then
9933 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9934 else
9935 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9936 fi
9937
9938 else
9939
9940 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9941
9942 fi
9943
9944
9945 eval "$wx_cv_use_choicebook"
9946
9947 if test x"$enablestring" = xdisable; then
9948 if test $wxUSE_CHOICEBOOK = yes; then
9949 result=no
9950 else
9951 result=yes
9952 fi
9953 else
9954 result=$wxUSE_CHOICEBOOK
9955 fi
9956
9957 { echo "$as_me:$LINENO: result: $result" >&5
9958 echo "${ECHO_T}$result" >&6; }
9959
9960
9961 enablestring=
9962 defaultval=$wxUSE_ALL_FEATURES
9963 if test -z "$defaultval"; then
9964 if test x"$enablestring" = xdisable; then
9965 defaultval=yes
9966 else
9967 defaultval=no
9968 fi
9969 fi
9970
9971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9972 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9973 # Check whether --enable-collpane was given.
9974 if test "${enable_collpane+set}" = set; then
9975 enableval=$enable_collpane;
9976 if test "$enableval" = yes; then
9977 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9978 else
9979 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9980 fi
9981
9982 else
9983
9984 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9985
9986 fi
9987
9988
9989 eval "$wx_cv_use_collpane"
9990
9991 if test x"$enablestring" = xdisable; then
9992 if test $wxUSE_COLLPANE = yes; then
9993 result=no
9994 else
9995 result=yes
9996 fi
9997 else
9998 result=$wxUSE_COLLPANE
9999 fi
10000
10001 { echo "$as_me:$LINENO: result: $result" >&5
10002 echo "${ECHO_T}$result" >&6; }
10003
10004
10005 enablestring=
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10009 defaultval=yes
10010 else
10011 defaultval=no
10012 fi
10013 fi
10014
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10017 # Check whether --enable-colourpicker was given.
10018 if test "${enable_colourpicker+set}" = set; then
10019 enableval=$enable_colourpicker;
10020 if test "$enableval" = yes; then
10021 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10022 else
10023 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10024 fi
10025
10026 else
10027
10028 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10029
10030 fi
10031
10032
10033 eval "$wx_cv_use_colourpicker"
10034
10035 if test x"$enablestring" = xdisable; then
10036 if test $wxUSE_COLOURPICKERCTRL = yes; then
10037 result=no
10038 else
10039 result=yes
10040 fi
10041 else
10042 result=$wxUSE_COLOURPICKERCTRL
10043 fi
10044
10045 { echo "$as_me:$LINENO: result: $result" >&5
10046 echo "${ECHO_T}$result" >&6; }
10047
10048
10049 enablestring=
10050 defaultval=$wxUSE_ALL_FEATURES
10051 if test -z "$defaultval"; then
10052 if test x"$enablestring" = xdisable; then
10053 defaultval=yes
10054 else
10055 defaultval=no
10056 fi
10057 fi
10058
10059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10060 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10061 # Check whether --enable-combobox was given.
10062 if test "${enable_combobox+set}" = set; then
10063 enableval=$enable_combobox;
10064 if test "$enableval" = yes; then
10065 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10066 else
10067 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10068 fi
10069
10070 else
10071
10072 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10073
10074 fi
10075
10076
10077 eval "$wx_cv_use_combobox"
10078
10079 if test x"$enablestring" = xdisable; then
10080 if test $wxUSE_COMBOBOX = yes; then
10081 result=no
10082 else
10083 result=yes
10084 fi
10085 else
10086 result=$wxUSE_COMBOBOX
10087 fi
10088
10089 { echo "$as_me:$LINENO: result: $result" >&5
10090 echo "${ECHO_T}$result" >&6; }
10091
10092
10093 enablestring=
10094 defaultval=$wxUSE_ALL_FEATURES
10095 if test -z "$defaultval"; then
10096 if test x"$enablestring" = xdisable; then
10097 defaultval=yes
10098 else
10099 defaultval=no
10100 fi
10101 fi
10102
10103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10105 # Check whether --enable-comboctrl was given.
10106 if test "${enable_comboctrl+set}" = set; then
10107 enableval=$enable_comboctrl;
10108 if test "$enableval" = yes; then
10109 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10110 else
10111 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10112 fi
10113
10114 else
10115
10116 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10117
10118 fi
10119
10120
10121 eval "$wx_cv_use_comboctrl"
10122
10123 if test x"$enablestring" = xdisable; then
10124 if test $wxUSE_COMBOCTRL = yes; then
10125 result=no
10126 else
10127 result=yes
10128 fi
10129 else
10130 result=$wxUSE_COMBOCTRL
10131 fi
10132
10133 { echo "$as_me:$LINENO: result: $result" >&5
10134 echo "${ECHO_T}$result" >&6; }
10135
10136
10137 enablestring=
10138 defaultval=$wxUSE_ALL_FEATURES
10139 if test -z "$defaultval"; then
10140 if test x"$enablestring" = xdisable; then
10141 defaultval=yes
10142 else
10143 defaultval=no
10144 fi
10145 fi
10146
10147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10149 # Check whether --enable-dataviewctrl was given.
10150 if test "${enable_dataviewctrl+set}" = set; then
10151 enableval=$enable_dataviewctrl;
10152 if test "$enableval" = yes; then
10153 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10154 else
10155 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10156 fi
10157
10158 else
10159
10160 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10161
10162 fi
10163
10164
10165 eval "$wx_cv_use_dataviewctrl"
10166
10167 if test x"$enablestring" = xdisable; then
10168 if test $wxUSE_DATAVIEWCTRL = yes; then
10169 result=no
10170 else
10171 result=yes
10172 fi
10173 else
10174 result=$wxUSE_DATAVIEWCTRL
10175 fi
10176
10177 { echo "$as_me:$LINENO: result: $result" >&5
10178 echo "${ECHO_T}$result" >&6; }
10179
10180
10181 enablestring=
10182 defaultval=$wxUSE_ALL_FEATURES
10183 if test -z "$defaultval"; then
10184 if test x"$enablestring" = xdisable; then
10185 defaultval=yes
10186 else
10187 defaultval=no
10188 fi
10189 fi
10190
10191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10192 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10193 # Check whether --enable-datepick was given.
10194 if test "${enable_datepick+set}" = set; then
10195 enableval=$enable_datepick;
10196 if test "$enableval" = yes; then
10197 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10198 else
10199 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10200 fi
10201
10202 else
10203
10204 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10205
10206 fi
10207
10208
10209 eval "$wx_cv_use_datepick"
10210
10211 if test x"$enablestring" = xdisable; then
10212 if test $wxUSE_DATEPICKCTRL = yes; then
10213 result=no
10214 else
10215 result=yes
10216 fi
10217 else
10218 result=$wxUSE_DATEPICKCTRL
10219 fi
10220
10221 { echo "$as_me:$LINENO: result: $result" >&5
10222 echo "${ECHO_T}$result" >&6; }
10223
10224
10225 enablestring=
10226 defaultval=$wxUSE_ALL_FEATURES
10227 if test -z "$defaultval"; then
10228 if test x"$enablestring" = xdisable; then
10229 defaultval=yes
10230 else
10231 defaultval=no
10232 fi
10233 fi
10234
10235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10237 # Check whether --enable-detect_sm was given.
10238 if test "${enable_detect_sm+set}" = set; then
10239 enableval=$enable_detect_sm;
10240 if test "$enableval" = yes; then
10241 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10242 else
10243 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10244 fi
10245
10246 else
10247
10248 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10249
10250 fi
10251
10252
10253 eval "$wx_cv_use_detect_sm"
10254
10255 if test x"$enablestring" = xdisable; then
10256 if test $wxUSE_DETECT_SM = yes; then
10257 result=no
10258 else
10259 result=yes
10260 fi
10261 else
10262 result=$wxUSE_DETECT_SM
10263 fi
10264
10265 { echo "$as_me:$LINENO: result: $result" >&5
10266 echo "${ECHO_T}$result" >&6; }
10267
10268
10269 enablestring=
10270 defaultval=$wxUSE_ALL_FEATURES
10271 if test -z "$defaultval"; then
10272 if test x"$enablestring" = xdisable; then
10273 defaultval=yes
10274 else
10275 defaultval=no
10276 fi
10277 fi
10278
10279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10281 # Check whether --enable-dirpicker was given.
10282 if test "${enable_dirpicker+set}" = set; then
10283 enableval=$enable_dirpicker;
10284 if test "$enableval" = yes; then
10285 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10286 else
10287 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10288 fi
10289
10290 else
10291
10292 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10293
10294 fi
10295
10296
10297 eval "$wx_cv_use_dirpicker"
10298
10299 if test x"$enablestring" = xdisable; then
10300 if test $wxUSE_DIRPICKERCTRL = yes; then
10301 result=no
10302 else
10303 result=yes
10304 fi
10305 else
10306 result=$wxUSE_DIRPICKERCTRL
10307 fi
10308
10309 { echo "$as_me:$LINENO: result: $result" >&5
10310 echo "${ECHO_T}$result" >&6; }
10311
10312
10313 enablestring=
10314 defaultval=$wxUSE_ALL_FEATURES
10315 if test -z "$defaultval"; then
10316 if test x"$enablestring" = xdisable; then
10317 defaultval=yes
10318 else
10319 defaultval=no
10320 fi
10321 fi
10322
10323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10324 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10325 # Check whether --enable-display was given.
10326 if test "${enable_display+set}" = set; then
10327 enableval=$enable_display;
10328 if test "$enableval" = yes; then
10329 wx_cv_use_display='wxUSE_DISPLAY=yes'
10330 else
10331 wx_cv_use_display='wxUSE_DISPLAY=no'
10332 fi
10333
10334 else
10335
10336 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10337
10338 fi
10339
10340
10341 eval "$wx_cv_use_display"
10342
10343 if test x"$enablestring" = xdisable; then
10344 if test $wxUSE_DISPLAY = yes; then
10345 result=no
10346 else
10347 result=yes
10348 fi
10349 else
10350 result=$wxUSE_DISPLAY
10351 fi
10352
10353 { echo "$as_me:$LINENO: result: $result" >&5
10354 echo "${ECHO_T}$result" >&6; }
10355
10356
10357 enablestring=
10358 defaultval=$wxUSE_ALL_FEATURES
10359 if test -z "$defaultval"; then
10360 if test x"$enablestring" = xdisable; then
10361 defaultval=yes
10362 else
10363 defaultval=no
10364 fi
10365 fi
10366
10367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10368 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10369 # Check whether --enable-editablebox was given.
10370 if test "${enable_editablebox+set}" = set; then
10371 enableval=$enable_editablebox;
10372 if test "$enableval" = yes; then
10373 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10374 else
10375 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10376 fi
10377
10378 else
10379
10380 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10381
10382 fi
10383
10384
10385 eval "$wx_cv_use_editablebox"
10386
10387 if test x"$enablestring" = xdisable; then
10388 if test $wxUSE_EDITABLELISTBOX = yes; then
10389 result=no
10390 else
10391 result=yes
10392 fi
10393 else
10394 result=$wxUSE_EDITABLELISTBOX
10395 fi
10396
10397 { echo "$as_me:$LINENO: result: $result" >&5
10398 echo "${ECHO_T}$result" >&6; }
10399
10400
10401 enablestring=
10402 defaultval=$wxUSE_ALL_FEATURES
10403 if test -z "$defaultval"; then
10404 if test x"$enablestring" = xdisable; then
10405 defaultval=yes
10406 else
10407 defaultval=no
10408 fi
10409 fi
10410
10411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10413 # Check whether --enable-filectrl was given.
10414 if test "${enable_filectrl+set}" = set; then
10415 enableval=$enable_filectrl;
10416 if test "$enableval" = yes; then
10417 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10418 else
10419 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10420 fi
10421
10422 else
10423
10424 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10425
10426 fi
10427
10428
10429 eval "$wx_cv_use_filectrl"
10430
10431 if test x"$enablestring" = xdisable; then
10432 if test $wxUSE_FILECTRL = yes; then
10433 result=no
10434 else
10435 result=yes
10436 fi
10437 else
10438 result=$wxUSE_FILECTRL
10439 fi
10440
10441 { echo "$as_me:$LINENO: result: $result" >&5
10442 echo "${ECHO_T}$result" >&6; }
10443
10444
10445 enablestring=
10446 defaultval=$wxUSE_ALL_FEATURES
10447 if test -z "$defaultval"; then
10448 if test x"$enablestring" = xdisable; then
10449 defaultval=yes
10450 else
10451 defaultval=no
10452 fi
10453 fi
10454
10455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10456 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10457 # Check whether --enable-filepicker was given.
10458 if test "${enable_filepicker+set}" = set; then
10459 enableval=$enable_filepicker;
10460 if test "$enableval" = yes; then
10461 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10462 else
10463 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10464 fi
10465
10466 else
10467
10468 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10469
10470 fi
10471
10472
10473 eval "$wx_cv_use_filepicker"
10474
10475 if test x"$enablestring" = xdisable; then
10476 if test $wxUSE_FILEPICKERCTRL = yes; then
10477 result=no
10478 else
10479 result=yes
10480 fi
10481 else
10482 result=$wxUSE_FILEPICKERCTRL
10483 fi
10484
10485 { echo "$as_me:$LINENO: result: $result" >&5
10486 echo "${ECHO_T}$result" >&6; }
10487
10488
10489 enablestring=
10490 defaultval=$wxUSE_ALL_FEATURES
10491 if test -z "$defaultval"; then
10492 if test x"$enablestring" = xdisable; then
10493 defaultval=yes
10494 else
10495 defaultval=no
10496 fi
10497 fi
10498
10499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10501 # Check whether --enable-fontpicker was given.
10502 if test "${enable_fontpicker+set}" = set; then
10503 enableval=$enable_fontpicker;
10504 if test "$enableval" = yes; then
10505 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10506 else
10507 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10508 fi
10509
10510 else
10511
10512 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10513
10514 fi
10515
10516
10517 eval "$wx_cv_use_fontpicker"
10518
10519 if test x"$enablestring" = xdisable; then
10520 if test $wxUSE_FONTPICKERCTRL = yes; then
10521 result=no
10522 else
10523 result=yes
10524 fi
10525 else
10526 result=$wxUSE_FONTPICKERCTRL
10527 fi
10528
10529 { echo "$as_me:$LINENO: result: $result" >&5
10530 echo "${ECHO_T}$result" >&6; }
10531
10532
10533 enablestring=
10534 defaultval=$wxUSE_ALL_FEATURES
10535 if test -z "$defaultval"; then
10536 if test x"$enablestring" = xdisable; then
10537 defaultval=yes
10538 else
10539 defaultval=no
10540 fi
10541 fi
10542
10543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10545 # Check whether --enable-gauge was given.
10546 if test "${enable_gauge+set}" = set; then
10547 enableval=$enable_gauge;
10548 if test "$enableval" = yes; then
10549 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10550 else
10551 wx_cv_use_gauge='wxUSE_GAUGE=no'
10552 fi
10553
10554 else
10555
10556 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10557
10558 fi
10559
10560
10561 eval "$wx_cv_use_gauge"
10562
10563 if test x"$enablestring" = xdisable; then
10564 if test $wxUSE_GAUGE = yes; then
10565 result=no
10566 else
10567 result=yes
10568 fi
10569 else
10570 result=$wxUSE_GAUGE
10571 fi
10572
10573 { echo "$as_me:$LINENO: result: $result" >&5
10574 echo "${ECHO_T}$result" >&6; }
10575
10576
10577 enablestring=
10578 defaultval=$wxUSE_ALL_FEATURES
10579 if test -z "$defaultval"; then
10580 if test x"$enablestring" = xdisable; then
10581 defaultval=yes
10582 else
10583 defaultval=no
10584 fi
10585 fi
10586
10587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10588 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10589 # Check whether --enable-grid was given.
10590 if test "${enable_grid+set}" = set; then
10591 enableval=$enable_grid;
10592 if test "$enableval" = yes; then
10593 wx_cv_use_grid='wxUSE_GRID=yes'
10594 else
10595 wx_cv_use_grid='wxUSE_GRID=no'
10596 fi
10597
10598 else
10599
10600 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10601
10602 fi
10603
10604
10605 eval "$wx_cv_use_grid"
10606
10607 if test x"$enablestring" = xdisable; then
10608 if test $wxUSE_GRID = yes; then
10609 result=no
10610 else
10611 result=yes
10612 fi
10613 else
10614 result=$wxUSE_GRID
10615 fi
10616
10617 { echo "$as_me:$LINENO: result: $result" >&5
10618 echo "${ECHO_T}$result" >&6; }
10619
10620
10621 enablestring=
10622 defaultval=$wxUSE_ALL_FEATURES
10623 if test -z "$defaultval"; then
10624 if test x"$enablestring" = xdisable; then
10625 defaultval=yes
10626 else
10627 defaultval=no
10628 fi
10629 fi
10630
10631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10632 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10633 # Check whether --enable-headerctrl was given.
10634 if test "${enable_headerctrl+set}" = set; then
10635 enableval=$enable_headerctrl;
10636 if test "$enableval" = yes; then
10637 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10638 else
10639 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10640 fi
10641
10642 else
10643
10644 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10645
10646 fi
10647
10648
10649 eval "$wx_cv_use_headerctrl"
10650
10651 if test x"$enablestring" = xdisable; then
10652 if test $wxUSE_HEADERCTRL = yes; then
10653 result=no
10654 else
10655 result=yes
10656 fi
10657 else
10658 result=$wxUSE_HEADERCTRL
10659 fi
10660
10661 { echo "$as_me:$LINENO: result: $result" >&5
10662 echo "${ECHO_T}$result" >&6; }
10663
10664
10665 enablestring=
10666 defaultval=$wxUSE_ALL_FEATURES
10667 if test -z "$defaultval"; then
10668 if test x"$enablestring" = xdisable; then
10669 defaultval=yes
10670 else
10671 defaultval=no
10672 fi
10673 fi
10674
10675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10676 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10677 # Check whether --enable-hyperlink was given.
10678 if test "${enable_hyperlink+set}" = set; then
10679 enableval=$enable_hyperlink;
10680 if test "$enableval" = yes; then
10681 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10682 else
10683 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10684 fi
10685
10686 else
10687
10688 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10689
10690 fi
10691
10692
10693 eval "$wx_cv_use_hyperlink"
10694
10695 if test x"$enablestring" = xdisable; then
10696 if test $wxUSE_HYPERLINKCTRL = yes; then
10697 result=no
10698 else
10699 result=yes
10700 fi
10701 else
10702 result=$wxUSE_HYPERLINKCTRL
10703 fi
10704
10705 { echo "$as_me:$LINENO: result: $result" >&5
10706 echo "${ECHO_T}$result" >&6; }
10707
10708
10709 enablestring=
10710 defaultval=$wxUSE_ALL_FEATURES
10711 if test -z "$defaultval"; then
10712 if test x"$enablestring" = xdisable; then
10713 defaultval=yes
10714 else
10715 defaultval=no
10716 fi
10717 fi
10718
10719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10720 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10721 # Check whether --enable-imaglist was given.
10722 if test "${enable_imaglist+set}" = set; then
10723 enableval=$enable_imaglist;
10724 if test "$enableval" = yes; then
10725 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10726 else
10727 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10728 fi
10729
10730 else
10731
10732 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10733
10734 fi
10735
10736
10737 eval "$wx_cv_use_imaglist"
10738
10739 if test x"$enablestring" = xdisable; then
10740 if test $wxUSE_IMAGLIST = yes; then
10741 result=no
10742 else
10743 result=yes
10744 fi
10745 else
10746 result=$wxUSE_IMAGLIST
10747 fi
10748
10749 { echo "$as_me:$LINENO: result: $result" >&5
10750 echo "${ECHO_T}$result" >&6; }
10751
10752
10753 enablestring=
10754 defaultval=$wxUSE_ALL_FEATURES
10755 if test -z "$defaultval"; then
10756 if test x"$enablestring" = xdisable; then
10757 defaultval=yes
10758 else
10759 defaultval=no
10760 fi
10761 fi
10762
10763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10764 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10765 # Check whether --enable-listbook was given.
10766 if test "${enable_listbook+set}" = set; then
10767 enableval=$enable_listbook;
10768 if test "$enableval" = yes; then
10769 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10770 else
10771 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10772 fi
10773
10774 else
10775
10776 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10777
10778 fi
10779
10780
10781 eval "$wx_cv_use_listbook"
10782
10783 if test x"$enablestring" = xdisable; then
10784 if test $wxUSE_LISTBOOK = yes; then
10785 result=no
10786 else
10787 result=yes
10788 fi
10789 else
10790 result=$wxUSE_LISTBOOK
10791 fi
10792
10793 { echo "$as_me:$LINENO: result: $result" >&5
10794 echo "${ECHO_T}$result" >&6; }
10795
10796
10797 enablestring=
10798 defaultval=$wxUSE_ALL_FEATURES
10799 if test -z "$defaultval"; then
10800 if test x"$enablestring" = xdisable; then
10801 defaultval=yes
10802 else
10803 defaultval=no
10804 fi
10805 fi
10806
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10809 # Check whether --enable-listbox was given.
10810 if test "${enable_listbox+set}" = set; then
10811 enableval=$enable_listbox;
10812 if test "$enableval" = yes; then
10813 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10814 else
10815 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10816 fi
10817
10818 else
10819
10820 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10821
10822 fi
10823
10824
10825 eval "$wx_cv_use_listbox"
10826
10827 if test x"$enablestring" = xdisable; then
10828 if test $wxUSE_LISTBOX = yes; then
10829 result=no
10830 else
10831 result=yes
10832 fi
10833 else
10834 result=$wxUSE_LISTBOX
10835 fi
10836
10837 { echo "$as_me:$LINENO: result: $result" >&5
10838 echo "${ECHO_T}$result" >&6; }
10839
10840
10841 enablestring=
10842 defaultval=$wxUSE_ALL_FEATURES
10843 if test -z "$defaultval"; then
10844 if test x"$enablestring" = xdisable; then
10845 defaultval=yes
10846 else
10847 defaultval=no
10848 fi
10849 fi
10850
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10853 # Check whether --enable-listctrl was given.
10854 if test "${enable_listctrl+set}" = set; then
10855 enableval=$enable_listctrl;
10856 if test "$enableval" = yes; then
10857 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10858 else
10859 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10860 fi
10861
10862 else
10863
10864 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10865
10866 fi
10867
10868
10869 eval "$wx_cv_use_listctrl"
10870
10871 if test x"$enablestring" = xdisable; then
10872 if test $wxUSE_LISTCTRL = yes; then
10873 result=no
10874 else
10875 result=yes
10876 fi
10877 else
10878 result=$wxUSE_LISTCTRL
10879 fi
10880
10881 { echo "$as_me:$LINENO: result: $result" >&5
10882 echo "${ECHO_T}$result" >&6; }
10883
10884
10885 enablestring=
10886 defaultval=$wxUSE_ALL_FEATURES
10887 if test -z "$defaultval"; then
10888 if test x"$enablestring" = xdisable; then
10889 defaultval=yes
10890 else
10891 defaultval=no
10892 fi
10893 fi
10894
10895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10896 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10897 # Check whether --enable-notebook was given.
10898 if test "${enable_notebook+set}" = set; then
10899 enableval=$enable_notebook;
10900 if test "$enableval" = yes; then
10901 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10902 else
10903 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10904 fi
10905
10906 else
10907
10908 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10909
10910 fi
10911
10912
10913 eval "$wx_cv_use_notebook"
10914
10915 if test x"$enablestring" = xdisable; then
10916 if test $wxUSE_NOTEBOOK = yes; then
10917 result=no
10918 else
10919 result=yes
10920 fi
10921 else
10922 result=$wxUSE_NOTEBOOK
10923 fi
10924
10925 { echo "$as_me:$LINENO: result: $result" >&5
10926 echo "${ECHO_T}$result" >&6; }
10927
10928
10929 enablestring=
10930 defaultval=$wxUSE_ALL_FEATURES
10931 if test -z "$defaultval"; then
10932 if test x"$enablestring" = xdisable; then
10933 defaultval=yes
10934 else
10935 defaultval=no
10936 fi
10937 fi
10938
10939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10940 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10941 # Check whether --enable-notifmsg was given.
10942 if test "${enable_notifmsg+set}" = set; then
10943 enableval=$enable_notifmsg;
10944 if test "$enableval" = yes; then
10945 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10946 else
10947 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10948 fi
10949
10950 else
10951
10952 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10953
10954 fi
10955
10956
10957 eval "$wx_cv_use_notifmsg"
10958
10959 if test x"$enablestring" = xdisable; then
10960 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10961 result=no
10962 else
10963 result=yes
10964 fi
10965 else
10966 result=$wxUSE_NOTIFICATION_MESSAGE
10967 fi
10968
10969 { echo "$as_me:$LINENO: result: $result" >&5
10970 echo "${ECHO_T}$result" >&6; }
10971
10972
10973 enablestring=
10974 defaultval=$wxUSE_ALL_FEATURES
10975 if test -z "$defaultval"; then
10976 if test x"$enablestring" = xdisable; then
10977 defaultval=yes
10978 else
10979 defaultval=no
10980 fi
10981 fi
10982
10983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10985 # Check whether --enable-odcombobox was given.
10986 if test "${enable_odcombobox+set}" = set; then
10987 enableval=$enable_odcombobox;
10988 if test "$enableval" = yes; then
10989 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10990 else
10991 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10992 fi
10993
10994 else
10995
10996 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10997
10998 fi
10999
11000
11001 eval "$wx_cv_use_odcombobox"
11002
11003 if test x"$enablestring" = xdisable; then
11004 if test $wxUSE_ODCOMBOBOX = yes; then
11005 result=no
11006 else
11007 result=yes
11008 fi
11009 else
11010 result=$wxUSE_ODCOMBOBOX
11011 fi
11012
11013 { echo "$as_me:$LINENO: result: $result" >&5
11014 echo "${ECHO_T}$result" >&6; }
11015
11016
11017 enablestring=
11018 defaultval=$wxUSE_ALL_FEATURES
11019 if test -z "$defaultval"; then
11020 if test x"$enablestring" = xdisable; then
11021 defaultval=yes
11022 else
11023 defaultval=no
11024 fi
11025 fi
11026
11027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11029 # Check whether --enable-popupwin was given.
11030 if test "${enable_popupwin+set}" = set; then
11031 enableval=$enable_popupwin;
11032 if test "$enableval" = yes; then
11033 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11034 else
11035 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11036 fi
11037
11038 else
11039
11040 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11041
11042 fi
11043
11044
11045 eval "$wx_cv_use_popupwin"
11046
11047 if test x"$enablestring" = xdisable; then
11048 if test $wxUSE_POPUPWIN = yes; then
11049 result=no
11050 else
11051 result=yes
11052 fi
11053 else
11054 result=$wxUSE_POPUPWIN
11055 fi
11056
11057 { echo "$as_me:$LINENO: result: $result" >&5
11058 echo "${ECHO_T}$result" >&6; }
11059
11060
11061 enablestring=
11062 defaultval=$wxUSE_ALL_FEATURES
11063 if test -z "$defaultval"; then
11064 if test x"$enablestring" = xdisable; then
11065 defaultval=yes
11066 else
11067 defaultval=no
11068 fi
11069 fi
11070
11071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11073 # Check whether --enable-radiobox was given.
11074 if test "${enable_radiobox+set}" = set; then
11075 enableval=$enable_radiobox;
11076 if test "$enableval" = yes; then
11077 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11078 else
11079 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11080 fi
11081
11082 else
11083
11084 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11085
11086 fi
11087
11088
11089 eval "$wx_cv_use_radiobox"
11090
11091 if test x"$enablestring" = xdisable; then
11092 if test $wxUSE_RADIOBOX = yes; then
11093 result=no
11094 else
11095 result=yes
11096 fi
11097 else
11098 result=$wxUSE_RADIOBOX
11099 fi
11100
11101 { echo "$as_me:$LINENO: result: $result" >&5
11102 echo "${ECHO_T}$result" >&6; }
11103
11104
11105 enablestring=
11106 defaultval=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x"$enablestring" = xdisable; then
11109 defaultval=yes
11110 else
11111 defaultval=no
11112 fi
11113 fi
11114
11115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11116 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11117 # Check whether --enable-radiobtn was given.
11118 if test "${enable_radiobtn+set}" = set; then
11119 enableval=$enable_radiobtn;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11122 else
11123 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11124 fi
11125
11126 else
11127
11128 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11129
11130 fi
11131
11132
11133 eval "$wx_cv_use_radiobtn"
11134
11135 if test x"$enablestring" = xdisable; then
11136 if test $wxUSE_RADIOBTN = yes; then
11137 result=no
11138 else
11139 result=yes
11140 fi
11141 else
11142 result=$wxUSE_RADIOBTN
11143 fi
11144
11145 { echo "$as_me:$LINENO: result: $result" >&5
11146 echo "${ECHO_T}$result" >&6; }
11147
11148
11149 enablestring=
11150 defaultval=$wxUSE_ALL_FEATURES
11151 if test -z "$defaultval"; then
11152 if test x"$enablestring" = xdisable; then
11153 defaultval=yes
11154 else
11155 defaultval=no
11156 fi
11157 fi
11158
11159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11160 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11161 # Check whether --enable-rearrangectrl was given.
11162 if test "${enable_rearrangectrl+set}" = set; then
11163 enableval=$enable_rearrangectrl;
11164 if test "$enableval" = yes; then
11165 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11166 else
11167 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11168 fi
11169
11170 else
11171
11172 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11173
11174 fi
11175
11176
11177 eval "$wx_cv_use_rearrangectrl"
11178
11179 if test x"$enablestring" = xdisable; then
11180 if test $wxUSE_REARRANGECTRL = yes; then
11181 result=no
11182 else
11183 result=yes
11184 fi
11185 else
11186 result=$wxUSE_REARRANGECTRL
11187 fi
11188
11189 { echo "$as_me:$LINENO: result: $result" >&5
11190 echo "${ECHO_T}$result" >&6; }
11191
11192
11193 enablestring=
11194 defaultval=$wxUSE_ALL_FEATURES
11195 if test -z "$defaultval"; then
11196 if test x"$enablestring" = xdisable; then
11197 defaultval=yes
11198 else
11199 defaultval=no
11200 fi
11201 fi
11202
11203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11204 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11205 # Check whether --enable-sash was given.
11206 if test "${enable_sash+set}" = set; then
11207 enableval=$enable_sash;
11208 if test "$enableval" = yes; then
11209 wx_cv_use_sash='wxUSE_SASH=yes'
11210 else
11211 wx_cv_use_sash='wxUSE_SASH=no'
11212 fi
11213
11214 else
11215
11216 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11217
11218 fi
11219
11220
11221 eval "$wx_cv_use_sash"
11222
11223 if test x"$enablestring" = xdisable; then
11224 if test $wxUSE_SASH = yes; then
11225 result=no
11226 else
11227 result=yes
11228 fi
11229 else
11230 result=$wxUSE_SASH
11231 fi
11232
11233 { echo "$as_me:$LINENO: result: $result" >&5
11234 echo "${ECHO_T}$result" >&6; }
11235
11236
11237 enablestring=
11238 defaultval=$wxUSE_ALL_FEATURES
11239 if test -z "$defaultval"; then
11240 if test x"$enablestring" = xdisable; then
11241 defaultval=yes
11242 else
11243 defaultval=no
11244 fi
11245 fi
11246
11247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11248 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11249 # Check whether --enable-scrollbar was given.
11250 if test "${enable_scrollbar+set}" = set; then
11251 enableval=$enable_scrollbar;
11252 if test "$enableval" = yes; then
11253 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11254 else
11255 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11256 fi
11257
11258 else
11259
11260 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11261
11262 fi
11263
11264
11265 eval "$wx_cv_use_scrollbar"
11266
11267 if test x"$enablestring" = xdisable; then
11268 if test $wxUSE_SCROLLBAR = yes; then
11269 result=no
11270 else
11271 result=yes
11272 fi
11273 else
11274 result=$wxUSE_SCROLLBAR
11275 fi
11276
11277 { echo "$as_me:$LINENO: result: $result" >&5
11278 echo "${ECHO_T}$result" >&6; }
11279
11280
11281 enablestring=
11282 defaultval=$wxUSE_ALL_FEATURES
11283 if test -z "$defaultval"; then
11284 if test x"$enablestring" = xdisable; then
11285 defaultval=yes
11286 else
11287 defaultval=no
11288 fi
11289 fi
11290
11291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11292 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11293 # Check whether --enable-searchctrl was given.
11294 if test "${enable_searchctrl+set}" = set; then
11295 enableval=$enable_searchctrl;
11296 if test "$enableval" = yes; then
11297 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11298 else
11299 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11300 fi
11301
11302 else
11303
11304 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11305
11306 fi
11307
11308
11309 eval "$wx_cv_use_searchctrl"
11310
11311 if test x"$enablestring" = xdisable; then
11312 if test $wxUSE_SEARCHCTRL = yes; then
11313 result=no
11314 else
11315 result=yes
11316 fi
11317 else
11318 result=$wxUSE_SEARCHCTRL
11319 fi
11320
11321 { echo "$as_me:$LINENO: result: $result" >&5
11322 echo "${ECHO_T}$result" >&6; }
11323
11324
11325 enablestring=
11326 defaultval=$wxUSE_ALL_FEATURES
11327 if test -z "$defaultval"; then
11328 if test x"$enablestring" = xdisable; then
11329 defaultval=yes
11330 else
11331 defaultval=no
11332 fi
11333 fi
11334
11335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11336 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11337 # Check whether --enable-slider was given.
11338 if test "${enable_slider+set}" = set; then
11339 enableval=$enable_slider;
11340 if test "$enableval" = yes; then
11341 wx_cv_use_slider='wxUSE_SLIDER=yes'
11342 else
11343 wx_cv_use_slider='wxUSE_SLIDER=no'
11344 fi
11345
11346 else
11347
11348 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11349
11350 fi
11351
11352
11353 eval "$wx_cv_use_slider"
11354
11355 if test x"$enablestring" = xdisable; then
11356 if test $wxUSE_SLIDER = yes; then
11357 result=no
11358 else
11359 result=yes
11360 fi
11361 else
11362 result=$wxUSE_SLIDER
11363 fi
11364
11365 { echo "$as_me:$LINENO: result: $result" >&5
11366 echo "${ECHO_T}$result" >&6; }
11367
11368
11369 enablestring=
11370 defaultval=$wxUSE_ALL_FEATURES
11371 if test -z "$defaultval"; then
11372 if test x"$enablestring" = xdisable; then
11373 defaultval=yes
11374 else
11375 defaultval=no
11376 fi
11377 fi
11378
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11381 # Check whether --enable-spinbtn was given.
11382 if test "${enable_spinbtn+set}" = set; then
11383 enableval=$enable_spinbtn;
11384 if test "$enableval" = yes; then
11385 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11386 else
11387 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11388 fi
11389
11390 else
11391
11392 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11393
11394 fi
11395
11396
11397 eval "$wx_cv_use_spinbtn"
11398
11399 if test x"$enablestring" = xdisable; then
11400 if test $wxUSE_SPINBTN = yes; then
11401 result=no
11402 else
11403 result=yes
11404 fi
11405 else
11406 result=$wxUSE_SPINBTN
11407 fi
11408
11409 { echo "$as_me:$LINENO: result: $result" >&5
11410 echo "${ECHO_T}$result" >&6; }
11411
11412
11413 enablestring=
11414 defaultval=$wxUSE_ALL_FEATURES
11415 if test -z "$defaultval"; then
11416 if test x"$enablestring" = xdisable; then
11417 defaultval=yes
11418 else
11419 defaultval=no
11420 fi
11421 fi
11422
11423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11424 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11425 # Check whether --enable-spinctrl was given.
11426 if test "${enable_spinctrl+set}" = set; then
11427 enableval=$enable_spinctrl;
11428 if test "$enableval" = yes; then
11429 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11430 else
11431 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11432 fi
11433
11434 else
11435
11436 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11437
11438 fi
11439
11440
11441 eval "$wx_cv_use_spinctrl"
11442
11443 if test x"$enablestring" = xdisable; then
11444 if test $wxUSE_SPINCTRL = yes; then
11445 result=no
11446 else
11447 result=yes
11448 fi
11449 else
11450 result=$wxUSE_SPINCTRL
11451 fi
11452
11453 { echo "$as_me:$LINENO: result: $result" >&5
11454 echo "${ECHO_T}$result" >&6; }
11455
11456
11457 enablestring=
11458 defaultval=$wxUSE_ALL_FEATURES
11459 if test -z "$defaultval"; then
11460 if test x"$enablestring" = xdisable; then
11461 defaultval=yes
11462 else
11463 defaultval=no
11464 fi
11465 fi
11466
11467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11468 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11469 # Check whether --enable-splitter was given.
11470 if test "${enable_splitter+set}" = set; then
11471 enableval=$enable_splitter;
11472 if test "$enableval" = yes; then
11473 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11474 else
11475 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11476 fi
11477
11478 else
11479
11480 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11481
11482 fi
11483
11484
11485 eval "$wx_cv_use_splitter"
11486
11487 if test x"$enablestring" = xdisable; then
11488 if test $wxUSE_SPLITTER = yes; then
11489 result=no
11490 else
11491 result=yes
11492 fi
11493 else
11494 result=$wxUSE_SPLITTER
11495 fi
11496
11497 { echo "$as_me:$LINENO: result: $result" >&5
11498 echo "${ECHO_T}$result" >&6; }
11499
11500
11501 enablestring=
11502 defaultval=$wxUSE_ALL_FEATURES
11503 if test -z "$defaultval"; then
11504 if test x"$enablestring" = xdisable; then
11505 defaultval=yes
11506 else
11507 defaultval=no
11508 fi
11509 fi
11510
11511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11512 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11513 # Check whether --enable-statbmp was given.
11514 if test "${enable_statbmp+set}" = set; then
11515 enableval=$enable_statbmp;
11516 if test "$enableval" = yes; then
11517 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11518 else
11519 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11520 fi
11521
11522 else
11523
11524 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11525
11526 fi
11527
11528
11529 eval "$wx_cv_use_statbmp"
11530
11531 if test x"$enablestring" = xdisable; then
11532 if test $wxUSE_STATBMP = yes; then
11533 result=no
11534 else
11535 result=yes
11536 fi
11537 else
11538 result=$wxUSE_STATBMP
11539 fi
11540
11541 { echo "$as_me:$LINENO: result: $result" >&5
11542 echo "${ECHO_T}$result" >&6; }
11543
11544
11545 enablestring=
11546 defaultval=$wxUSE_ALL_FEATURES
11547 if test -z "$defaultval"; then
11548 if test x"$enablestring" = xdisable; then
11549 defaultval=yes
11550 else
11551 defaultval=no
11552 fi
11553 fi
11554
11555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11556 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11557 # Check whether --enable-statbox was given.
11558 if test "${enable_statbox+set}" = set; then
11559 enableval=$enable_statbox;
11560 if test "$enableval" = yes; then
11561 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11562 else
11563 wx_cv_use_statbox='wxUSE_STATBOX=no'
11564 fi
11565
11566 else
11567
11568 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11569
11570 fi
11571
11572
11573 eval "$wx_cv_use_statbox"
11574
11575 if test x"$enablestring" = xdisable; then
11576 if test $wxUSE_STATBOX = yes; then
11577 result=no
11578 else
11579 result=yes
11580 fi
11581 else
11582 result=$wxUSE_STATBOX
11583 fi
11584
11585 { echo "$as_me:$LINENO: result: $result" >&5
11586 echo "${ECHO_T}$result" >&6; }
11587
11588
11589 enablestring=
11590 defaultval=$wxUSE_ALL_FEATURES
11591 if test -z "$defaultval"; then
11592 if test x"$enablestring" = xdisable; then
11593 defaultval=yes
11594 else
11595 defaultval=no
11596 fi
11597 fi
11598
11599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11601 # Check whether --enable-statline was given.
11602 if test "${enable_statline+set}" = set; then
11603 enableval=$enable_statline;
11604 if test "$enableval" = yes; then
11605 wx_cv_use_statline='wxUSE_STATLINE=yes'
11606 else
11607 wx_cv_use_statline='wxUSE_STATLINE=no'
11608 fi
11609
11610 else
11611
11612 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11613
11614 fi
11615
11616
11617 eval "$wx_cv_use_statline"
11618
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_STATLINE = yes; then
11621 result=no
11622 else
11623 result=yes
11624 fi
11625 else
11626 result=$wxUSE_STATLINE
11627 fi
11628
11629 { echo "$as_me:$LINENO: result: $result" >&5
11630 echo "${ECHO_T}$result" >&6; }
11631
11632
11633 enablestring=
11634 defaultval=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x"$enablestring" = xdisable; then
11637 defaultval=yes
11638 else
11639 defaultval=no
11640 fi
11641 fi
11642
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11645 # Check whether --enable-stattext was given.
11646 if test "${enable_stattext+set}" = set; then
11647 enableval=$enable_stattext;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11650 else
11651 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11652 fi
11653
11654 else
11655
11656 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11657
11658 fi
11659
11660
11661 eval "$wx_cv_use_stattext"
11662
11663 if test x"$enablestring" = xdisable; then
11664 if test $wxUSE_STATTEXT = yes; then
11665 result=no
11666 else
11667 result=yes
11668 fi
11669 else
11670 result=$wxUSE_STATTEXT
11671 fi
11672
11673 { echo "$as_me:$LINENO: result: $result" >&5
11674 echo "${ECHO_T}$result" >&6; }
11675
11676
11677 enablestring=
11678 defaultval=$wxUSE_ALL_FEATURES
11679 if test -z "$defaultval"; then
11680 if test x"$enablestring" = xdisable; then
11681 defaultval=yes
11682 else
11683 defaultval=no
11684 fi
11685 fi
11686
11687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11688 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11689 # Check whether --enable-statusbar was given.
11690 if test "${enable_statusbar+set}" = set; then
11691 enableval=$enable_statusbar;
11692 if test "$enableval" = yes; then
11693 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11694 else
11695 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11696 fi
11697
11698 else
11699
11700 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11701
11702 fi
11703
11704
11705 eval "$wx_cv_use_statusbar"
11706
11707 if test x"$enablestring" = xdisable; then
11708 if test $wxUSE_STATUSBAR = yes; then
11709 result=no
11710 else
11711 result=yes
11712 fi
11713 else
11714 result=$wxUSE_STATUSBAR
11715 fi
11716
11717 { echo "$as_me:$LINENO: result: $result" >&5
11718 echo "${ECHO_T}$result" >&6; }
11719
11720
11721 enablestring=
11722 defaultval=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x"$enablestring" = xdisable; then
11725 defaultval=yes
11726 else
11727 defaultval=no
11728 fi
11729 fi
11730
11731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11732 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11733 # Check whether --enable-taskbaricon was given.
11734 if test "${enable_taskbaricon+set}" = set; then
11735 enableval=$enable_taskbaricon;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11738 else
11739 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11740 fi
11741
11742 else
11743
11744 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11745
11746 fi
11747
11748
11749 eval "$wx_cv_use_taskbaricon"
11750
11751 if test x"$enablestring" = xdisable; then
11752 if test $wxUSE_TASKBARICON = yes; then
11753 result=no
11754 else
11755 result=yes
11756 fi
11757 else
11758 result=$wxUSE_TASKBARICON
11759 fi
11760
11761 { echo "$as_me:$LINENO: result: $result" >&5
11762 echo "${ECHO_T}$result" >&6; }
11763
11764
11765 enablestring=
11766 defaultval=$wxUSE_ALL_FEATURES
11767 if test -z "$defaultval"; then
11768 if test x"$enablestring" = xdisable; then
11769 defaultval=yes
11770 else
11771 defaultval=no
11772 fi
11773 fi
11774
11775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11776 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11777 # Check whether --enable-tbarnative was given.
11778 if test "${enable_tbarnative+set}" = set; then
11779 enableval=$enable_tbarnative;
11780 if test "$enableval" = yes; then
11781 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11782 else
11783 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11784 fi
11785
11786 else
11787
11788 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11789
11790 fi
11791
11792
11793 eval "$wx_cv_use_tbarnative"
11794
11795 if test x"$enablestring" = xdisable; then
11796 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11797 result=no
11798 else
11799 result=yes
11800 fi
11801 else
11802 result=$wxUSE_TOOLBAR_NATIVE
11803 fi
11804
11805 { echo "$as_me:$LINENO: result: $result" >&5
11806 echo "${ECHO_T}$result" >&6; }
11807
11808
11809 enablestring=
11810 defaultval=$wxUSE_ALL_FEATURES
11811 if test -z "$defaultval"; then
11812 if test x"$enablestring" = xdisable; then
11813 defaultval=yes
11814 else
11815 defaultval=no
11816 fi
11817 fi
11818
11819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11820 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11821 # Check whether --enable-textctrl was given.
11822 if test "${enable_textctrl+set}" = set; then
11823 enableval=$enable_textctrl;
11824 if test "$enableval" = yes; then
11825 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11826 else
11827 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11828 fi
11829
11830 else
11831
11832 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11833
11834 fi
11835
11836
11837 eval "$wx_cv_use_textctrl"
11838
11839 if test x"$enablestring" = xdisable; then
11840 if test $wxUSE_TEXTCTRL = yes; then
11841 result=no
11842 else
11843 result=yes
11844 fi
11845 else
11846 result=$wxUSE_TEXTCTRL
11847 fi
11848
11849 { echo "$as_me:$LINENO: result: $result" >&5
11850 echo "${ECHO_T}$result" >&6; }
11851
11852
11853 enablestring=
11854 defaultval=$wxUSE_ALL_FEATURES
11855 if test -z "$defaultval"; then
11856 if test x"$enablestring" = xdisable; then
11857 defaultval=yes
11858 else
11859 defaultval=no
11860 fi
11861 fi
11862
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11865 # Check whether --enable-tipwindow was given.
11866 if test "${enable_tipwindow+set}" = set; then
11867 enableval=$enable_tipwindow;
11868 if test "$enableval" = yes; then
11869 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11870 else
11871 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11872 fi
11873
11874 else
11875
11876 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11877
11878 fi
11879
11880
11881 eval "$wx_cv_use_tipwindow"
11882
11883 if test x"$enablestring" = xdisable; then
11884 if test $wxUSE_TIPWINDOW = yes; then
11885 result=no
11886 else
11887 result=yes
11888 fi
11889 else
11890 result=$wxUSE_TIPWINDOW
11891 fi
11892
11893 { echo "$as_me:$LINENO: result: $result" >&5
11894 echo "${ECHO_T}$result" >&6; }
11895
11896
11897 enablestring=
11898 defaultval=$wxUSE_ALL_FEATURES
11899 if test -z "$defaultval"; then
11900 if test x"$enablestring" = xdisable; then
11901 defaultval=yes
11902 else
11903 defaultval=no
11904 fi
11905 fi
11906
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11909 # Check whether --enable-togglebtn was given.
11910 if test "${enable_togglebtn+set}" = set; then
11911 enableval=$enable_togglebtn;
11912 if test "$enableval" = yes; then
11913 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11914 else
11915 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11916 fi
11917
11918 else
11919
11920 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11921
11922 fi
11923
11924
11925 eval "$wx_cv_use_togglebtn"
11926
11927 if test x"$enablestring" = xdisable; then
11928 if test $wxUSE_TOGGLEBTN = yes; then
11929 result=no
11930 else
11931 result=yes
11932 fi
11933 else
11934 result=$wxUSE_TOGGLEBTN
11935 fi
11936
11937 { echo "$as_me:$LINENO: result: $result" >&5
11938 echo "${ECHO_T}$result" >&6; }
11939
11940
11941 enablestring=
11942 defaultval=$wxUSE_ALL_FEATURES
11943 if test -z "$defaultval"; then
11944 if test x"$enablestring" = xdisable; then
11945 defaultval=yes
11946 else
11947 defaultval=no
11948 fi
11949 fi
11950
11951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11952 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11953 # Check whether --enable-toolbar was given.
11954 if test "${enable_toolbar+set}" = set; then
11955 enableval=$enable_toolbar;
11956 if test "$enableval" = yes; then
11957 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11958 else
11959 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11960 fi
11961
11962 else
11963
11964 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11965
11966 fi
11967
11968
11969 eval "$wx_cv_use_toolbar"
11970
11971 if test x"$enablestring" = xdisable; then
11972 if test $wxUSE_TOOLBAR = yes; then
11973 result=no
11974 else
11975 result=yes
11976 fi
11977 else
11978 result=$wxUSE_TOOLBAR
11979 fi
11980
11981 { echo "$as_me:$LINENO: result: $result" >&5
11982 echo "${ECHO_T}$result" >&6; }
11983
11984
11985 enablestring=
11986 defaultval=$wxUSE_ALL_FEATURES
11987 if test -z "$defaultval"; then
11988 if test x"$enablestring" = xdisable; then
11989 defaultval=yes
11990 else
11991 defaultval=no
11992 fi
11993 fi
11994
11995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11996 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11997 # Check whether --enable-toolbook was given.
11998 if test "${enable_toolbook+set}" = set; then
11999 enableval=$enable_toolbook;
12000 if test "$enableval" = yes; then
12001 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12002 else
12003 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12004 fi
12005
12006 else
12007
12008 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12009
12010 fi
12011
12012
12013 eval "$wx_cv_use_toolbook"
12014
12015 if test x"$enablestring" = xdisable; then
12016 if test $wxUSE_TOOLBOOK = yes; then
12017 result=no
12018 else
12019 result=yes
12020 fi
12021 else
12022 result=$wxUSE_TOOLBOOK
12023 fi
12024
12025 { echo "$as_me:$LINENO: result: $result" >&5
12026 echo "${ECHO_T}$result" >&6; }
12027
12028
12029 enablestring=
12030 defaultval=$wxUSE_ALL_FEATURES
12031 if test -z "$defaultval"; then
12032 if test x"$enablestring" = xdisable; then
12033 defaultval=yes
12034 else
12035 defaultval=no
12036 fi
12037 fi
12038
12039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12040 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12041 # Check whether --enable-treebook was given.
12042 if test "${enable_treebook+set}" = set; then
12043 enableval=$enable_treebook;
12044 if test "$enableval" = yes; then
12045 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12046 else
12047 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12048 fi
12049
12050 else
12051
12052 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12053
12054 fi
12055
12056
12057 eval "$wx_cv_use_treebook"
12058
12059 if test x"$enablestring" = xdisable; then
12060 if test $wxUSE_TREEBOOK = yes; then
12061 result=no
12062 else
12063 result=yes
12064 fi
12065 else
12066 result=$wxUSE_TREEBOOK
12067 fi
12068
12069 { echo "$as_me:$LINENO: result: $result" >&5
12070 echo "${ECHO_T}$result" >&6; }
12071
12072
12073 enablestring=
12074 defaultval=$wxUSE_ALL_FEATURES
12075 if test -z "$defaultval"; then
12076 if test x"$enablestring" = xdisable; then
12077 defaultval=yes
12078 else
12079 defaultval=no
12080 fi
12081 fi
12082
12083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12084 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12085 # Check whether --enable-treectrl was given.
12086 if test "${enable_treectrl+set}" = set; then
12087 enableval=$enable_treectrl;
12088 if test "$enableval" = yes; then
12089 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12090 else
12091 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12092 fi
12093
12094 else
12095
12096 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12097
12098 fi
12099
12100
12101 eval "$wx_cv_use_treectrl"
12102
12103 if test x"$enablestring" = xdisable; then
12104 if test $wxUSE_TREECTRL = yes; then
12105 result=no
12106 else
12107 result=yes
12108 fi
12109 else
12110 result=$wxUSE_TREECTRL
12111 fi
12112
12113 { echo "$as_me:$LINENO: result: $result" >&5
12114 echo "${ECHO_T}$result" >&6; }
12115
12116
12117
12118
12119 enablestring=
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12123 defaultval=yes
12124 else
12125 defaultval=no
12126 fi
12127 fi
12128
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12131 # Check whether --enable-commondlg was given.
12132 if test "${enable_commondlg+set}" = set; then
12133 enableval=$enable_commondlg;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12136 else
12137 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12138 fi
12139
12140 else
12141
12142 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12143
12144 fi
12145
12146
12147 eval "$wx_cv_use_commondlg"
12148
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_COMMONDLGS = yes; then
12151 result=no
12152 else
12153 result=yes
12154 fi
12155 else
12156 result=$wxUSE_COMMONDLGS
12157 fi
12158
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12161
12162
12163 enablestring=
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12167 defaultval=yes
12168 else
12169 defaultval=no
12170 fi
12171 fi
12172
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12175 # Check whether --enable-aboutdlg was given.
12176 if test "${enable_aboutdlg+set}" = set; then
12177 enableval=$enable_aboutdlg;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12180 else
12181 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12182 fi
12183
12184 else
12185
12186 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12187
12188 fi
12189
12190
12191 eval "$wx_cv_use_aboutdlg"
12192
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_ABOUTDLG = yes; then
12195 result=no
12196 else
12197 result=yes
12198 fi
12199 else
12200 result=$wxUSE_ABOUTDLG
12201 fi
12202
12203 { echo "$as_me:$LINENO: result: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12205
12206
12207 enablestring=
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12211 defaultval=yes
12212 else
12213 defaultval=no
12214 fi
12215 fi
12216
12217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12218 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12219 # Check whether --enable-choicedlg was given.
12220 if test "${enable_choicedlg+set}" = set; then
12221 enableval=$enable_choicedlg;
12222 if test "$enableval" = yes; then
12223 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12224 else
12225 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12226 fi
12227
12228 else
12229
12230 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12231
12232 fi
12233
12234
12235 eval "$wx_cv_use_choicedlg"
12236
12237 if test x"$enablestring" = xdisable; then
12238 if test $wxUSE_CHOICEDLG = yes; then
12239 result=no
12240 else
12241 result=yes
12242 fi
12243 else
12244 result=$wxUSE_CHOICEDLG
12245 fi
12246
12247 { echo "$as_me:$LINENO: result: $result" >&5
12248 echo "${ECHO_T}$result" >&6; }
12249
12250
12251 enablestring=
12252 defaultval=$wxUSE_ALL_FEATURES
12253 if test -z "$defaultval"; then
12254 if test x"$enablestring" = xdisable; then
12255 defaultval=yes
12256 else
12257 defaultval=no
12258 fi
12259 fi
12260
12261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12262 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12263 # Check whether --enable-coldlg was given.
12264 if test "${enable_coldlg+set}" = set; then
12265 enableval=$enable_coldlg;
12266 if test "$enableval" = yes; then
12267 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12268 else
12269 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12270 fi
12271
12272 else
12273
12274 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12275
12276 fi
12277
12278
12279 eval "$wx_cv_use_coldlg"
12280
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_COLOURDLG = yes; then
12283 result=no
12284 else
12285 result=yes
12286 fi
12287 else
12288 result=$wxUSE_COLOURDLG
12289 fi
12290
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12293
12294
12295 enablestring=
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12299 defaultval=yes
12300 else
12301 defaultval=no
12302 fi
12303 fi
12304
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12307 # Check whether --enable-filedlg was given.
12308 if test "${enable_filedlg+set}" = set; then
12309 enableval=$enable_filedlg;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12312 else
12313 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12314 fi
12315
12316 else
12317
12318 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12319
12320 fi
12321
12322
12323 eval "$wx_cv_use_filedlg"
12324
12325 if test x"$enablestring" = xdisable; then
12326 if test $wxUSE_FILEDLG = yes; then
12327 result=no
12328 else
12329 result=yes
12330 fi
12331 else
12332 result=$wxUSE_FILEDLG
12333 fi
12334
12335 { echo "$as_me:$LINENO: result: $result" >&5
12336 echo "${ECHO_T}$result" >&6; }
12337
12338
12339 enablestring=
12340 defaultval=$wxUSE_ALL_FEATURES
12341 if test -z "$defaultval"; then
12342 if test x"$enablestring" = xdisable; then
12343 defaultval=yes
12344 else
12345 defaultval=no
12346 fi
12347 fi
12348
12349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12350 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12351 # Check whether --enable-finddlg was given.
12352 if test "${enable_finddlg+set}" = set; then
12353 enableval=$enable_finddlg;
12354 if test "$enableval" = yes; then
12355 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12356 else
12357 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12358 fi
12359
12360 else
12361
12362 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12363
12364 fi
12365
12366
12367 eval "$wx_cv_use_finddlg"
12368
12369 if test x"$enablestring" = xdisable; then
12370 if test $wxUSE_FINDREPLDLG = yes; then
12371 result=no
12372 else
12373 result=yes
12374 fi
12375 else
12376 result=$wxUSE_FINDREPLDLG
12377 fi
12378
12379 { echo "$as_me:$LINENO: result: $result" >&5
12380 echo "${ECHO_T}$result" >&6; }
12381
12382
12383 enablestring=
12384 defaultval=$wxUSE_ALL_FEATURES
12385 if test -z "$defaultval"; then
12386 if test x"$enablestring" = xdisable; then
12387 defaultval=yes
12388 else
12389 defaultval=no
12390 fi
12391 fi
12392
12393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12394 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12395 # Check whether --enable-fontdlg was given.
12396 if test "${enable_fontdlg+set}" = set; then
12397 enableval=$enable_fontdlg;
12398 if test "$enableval" = yes; then
12399 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12400 else
12401 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12402 fi
12403
12404 else
12405
12406 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12407
12408 fi
12409
12410
12411 eval "$wx_cv_use_fontdlg"
12412
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_FONTDLG = yes; then
12415 result=no
12416 else
12417 result=yes
12418 fi
12419 else
12420 result=$wxUSE_FONTDLG
12421 fi
12422
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12425
12426
12427 enablestring=
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12431 defaultval=yes
12432 else
12433 defaultval=no
12434 fi
12435 fi
12436
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12439 # Check whether --enable-dirdlg was given.
12440 if test "${enable_dirdlg+set}" = set; then
12441 enableval=$enable_dirdlg;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12444 else
12445 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12446 fi
12447
12448 else
12449
12450 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12451
12452 fi
12453
12454
12455 eval "$wx_cv_use_dirdlg"
12456
12457 if test x"$enablestring" = xdisable; then
12458 if test $wxUSE_DIRDLG = yes; then
12459 result=no
12460 else
12461 result=yes
12462 fi
12463 else
12464 result=$wxUSE_DIRDLG
12465 fi
12466
12467 { echo "$as_me:$LINENO: result: $result" >&5
12468 echo "${ECHO_T}$result" >&6; }
12469
12470
12471 enablestring=
12472 defaultval=$wxUSE_ALL_FEATURES
12473 if test -z "$defaultval"; then
12474 if test x"$enablestring" = xdisable; then
12475 defaultval=yes
12476 else
12477 defaultval=no
12478 fi
12479 fi
12480
12481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12482 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12483 # Check whether --enable-msgdlg was given.
12484 if test "${enable_msgdlg+set}" = set; then
12485 enableval=$enable_msgdlg;
12486 if test "$enableval" = yes; then
12487 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12488 else
12489 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12490 fi
12491
12492 else
12493
12494 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12495
12496 fi
12497
12498
12499 eval "$wx_cv_use_msgdlg"
12500
12501 if test x"$enablestring" = xdisable; then
12502 if test $wxUSE_MSGDLG = yes; then
12503 result=no
12504 else
12505 result=yes
12506 fi
12507 else
12508 result=$wxUSE_MSGDLG
12509 fi
12510
12511 { echo "$as_me:$LINENO: result: $result" >&5
12512 echo "${ECHO_T}$result" >&6; }
12513
12514
12515 enablestring=
12516 defaultval=$wxUSE_ALL_FEATURES
12517 if test -z "$defaultval"; then
12518 if test x"$enablestring" = xdisable; then
12519 defaultval=yes
12520 else
12521 defaultval=no
12522 fi
12523 fi
12524
12525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12526 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12527 # Check whether --enable-numberdlg was given.
12528 if test "${enable_numberdlg+set}" = set; then
12529 enableval=$enable_numberdlg;
12530 if test "$enableval" = yes; then
12531 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12532 else
12533 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12534 fi
12535
12536 else
12537
12538 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12539
12540 fi
12541
12542
12543 eval "$wx_cv_use_numberdlg"
12544
12545 if test x"$enablestring" = xdisable; then
12546 if test $wxUSE_NUMBERDLG = yes; then
12547 result=no
12548 else
12549 result=yes
12550 fi
12551 else
12552 result=$wxUSE_NUMBERDLG
12553 fi
12554
12555 { echo "$as_me:$LINENO: result: $result" >&5
12556 echo "${ECHO_T}$result" >&6; }
12557
12558
12559 enablestring=
12560 defaultval=$wxUSE_ALL_FEATURES
12561 if test -z "$defaultval"; then
12562 if test x"$enablestring" = xdisable; then
12563 defaultval=yes
12564 else
12565 defaultval=no
12566 fi
12567 fi
12568
12569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12570 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12571 # Check whether --enable-splash was given.
12572 if test "${enable_splash+set}" = set; then
12573 enableval=$enable_splash;
12574 if test "$enableval" = yes; then
12575 wx_cv_use_splash='wxUSE_SPLASH=yes'
12576 else
12577 wx_cv_use_splash='wxUSE_SPLASH=no'
12578 fi
12579
12580 else
12581
12582 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12583
12584 fi
12585
12586
12587 eval "$wx_cv_use_splash"
12588
12589 if test x"$enablestring" = xdisable; then
12590 if test $wxUSE_SPLASH = yes; then
12591 result=no
12592 else
12593 result=yes
12594 fi
12595 else
12596 result=$wxUSE_SPLASH
12597 fi
12598
12599 { echo "$as_me:$LINENO: result: $result" >&5
12600 echo "${ECHO_T}$result" >&6; }
12601
12602
12603 enablestring=
12604 defaultval=$wxUSE_ALL_FEATURES
12605 if test -z "$defaultval"; then
12606 if test x"$enablestring" = xdisable; then
12607 defaultval=yes
12608 else
12609 defaultval=no
12610 fi
12611 fi
12612
12613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12614 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12615 # Check whether --enable-textdlg was given.
12616 if test "${enable_textdlg+set}" = set; then
12617 enableval=$enable_textdlg;
12618 if test "$enableval" = yes; then
12619 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12620 else
12621 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12622 fi
12623
12624 else
12625
12626 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12627
12628 fi
12629
12630
12631 eval "$wx_cv_use_textdlg"
12632
12633 if test x"$enablestring" = xdisable; then
12634 if test $wxUSE_TEXTDLG = yes; then
12635 result=no
12636 else
12637 result=yes
12638 fi
12639 else
12640 result=$wxUSE_TEXTDLG
12641 fi
12642
12643 { echo "$as_me:$LINENO: result: $result" >&5
12644 echo "${ECHO_T}$result" >&6; }
12645
12646
12647 enablestring=
12648 defaultval=$wxUSE_ALL_FEATURES
12649 if test -z "$defaultval"; then
12650 if test x"$enablestring" = xdisable; then
12651 defaultval=yes
12652 else
12653 defaultval=no
12654 fi
12655 fi
12656
12657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12658 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12659 # Check whether --enable-tipdlg was given.
12660 if test "${enable_tipdlg+set}" = set; then
12661 enableval=$enable_tipdlg;
12662 if test "$enableval" = yes; then
12663 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12664 else
12665 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12666 fi
12667
12668 else
12669
12670 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12671
12672 fi
12673
12674
12675 eval "$wx_cv_use_tipdlg"
12676
12677 if test x"$enablestring" = xdisable; then
12678 if test $wxUSE_STARTUP_TIPS = yes; then
12679 result=no
12680 else
12681 result=yes
12682 fi
12683 else
12684 result=$wxUSE_STARTUP_TIPS
12685 fi
12686
12687 { echo "$as_me:$LINENO: result: $result" >&5
12688 echo "${ECHO_T}$result" >&6; }
12689
12690
12691 enablestring=
12692 defaultval=$wxUSE_ALL_FEATURES
12693 if test -z "$defaultval"; then
12694 if test x"$enablestring" = xdisable; then
12695 defaultval=yes
12696 else
12697 defaultval=no
12698 fi
12699 fi
12700
12701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12702 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12703 # Check whether --enable-progressdlg was given.
12704 if test "${enable_progressdlg+set}" = set; then
12705 enableval=$enable_progressdlg;
12706 if test "$enableval" = yes; then
12707 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12708 else
12709 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12710 fi
12711
12712 else
12713
12714 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12715
12716 fi
12717
12718
12719 eval "$wx_cv_use_progressdlg"
12720
12721 if test x"$enablestring" = xdisable; then
12722 if test $wxUSE_PROGRESSDLG = yes; then
12723 result=no
12724 else
12725 result=yes
12726 fi
12727 else
12728 result=$wxUSE_PROGRESSDLG
12729 fi
12730
12731 { echo "$as_me:$LINENO: result: $result" >&5
12732 echo "${ECHO_T}$result" >&6; }
12733
12734
12735 enablestring=
12736 defaultval=$wxUSE_ALL_FEATURES
12737 if test -z "$defaultval"; then
12738 if test x"$enablestring" = xdisable; then
12739 defaultval=yes
12740 else
12741 defaultval=no
12742 fi
12743 fi
12744
12745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12746 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12747 # Check whether --enable-wizarddlg was given.
12748 if test "${enable_wizarddlg+set}" = set; then
12749 enableval=$enable_wizarddlg;
12750 if test "$enableval" = yes; then
12751 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12752 else
12753 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12754 fi
12755
12756 else
12757
12758 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12759
12760 fi
12761
12762
12763 eval "$wx_cv_use_wizarddlg"
12764
12765 if test x"$enablestring" = xdisable; then
12766 if test $wxUSE_WIZARDDLG = yes; then
12767 result=no
12768 else
12769 result=yes
12770 fi
12771 else
12772 result=$wxUSE_WIZARDDLG
12773 fi
12774
12775 { echo "$as_me:$LINENO: result: $result" >&5
12776 echo "${ECHO_T}$result" >&6; }
12777
12778
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}-menus" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12793 # Check whether --enable-menus was given.
12794 if test "${enable_menus+set}" = set; then
12795 enableval=$enable_menus;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_menus='wxUSE_MENUS=yes'
12798 else
12799 wx_cv_use_menus='wxUSE_MENUS=no'
12800 fi
12801
12802 else
12803
12804 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12805
12806 fi
12807
12808
12809 eval "$wx_cv_use_menus"
12810
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_MENUS = yes; then
12813 result=no
12814 else
12815 result=yes
12816 fi
12817 else
12818 result=$wxUSE_MENUS
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}-miniframe" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12837 # Check whether --enable-miniframe was given.
12838 if test "${enable_miniframe+set}" = set; then
12839 enableval=$enable_miniframe;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12842 else
12843 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12844 fi
12845
12846 else
12847
12848 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12849
12850 fi
12851
12852
12853 eval "$wx_cv_use_miniframe"
12854
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_MINIFRAME = yes; then
12857 result=no
12858 else
12859 result=yes
12860 fi
12861 else
12862 result=$wxUSE_MINIFRAME
12863 fi
12864
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12867
12868
12869 enablestring=
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12873 defaultval=yes
12874 else
12875 defaultval=no
12876 fi
12877 fi
12878
12879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12880 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12881 # Check whether --enable-tooltips was given.
12882 if test "${enable_tooltips+set}" = set; then
12883 enableval=$enable_tooltips;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12886 else
12887 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12888 fi
12889
12890 else
12891
12892 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12893
12894 fi
12895
12896
12897 eval "$wx_cv_use_tooltips"
12898
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_TOOLTIPS = yes; then
12901 result=no
12902 else
12903 result=yes
12904 fi
12905 else
12906 result=$wxUSE_TOOLTIPS
12907 fi
12908
12909 { echo "$as_me:$LINENO: result: $result" >&5
12910 echo "${ECHO_T}$result" >&6; }
12911
12912
12913 enablestring=
12914 defaultval=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x"$enablestring" = xdisable; then
12917 defaultval=yes
12918 else
12919 defaultval=no
12920 fi
12921 fi
12922
12923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12924 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12925 # Check whether --enable-splines was given.
12926 if test "${enable_splines+set}" = set; then
12927 enableval=$enable_splines;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_splines='wxUSE_SPLINES=yes'
12930 else
12931 wx_cv_use_splines='wxUSE_SPLINES=no'
12932 fi
12933
12934 else
12935
12936 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12937
12938 fi
12939
12940
12941 eval "$wx_cv_use_splines"
12942
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_SPLINES = yes; then
12945 result=no
12946 else
12947 result=yes
12948 fi
12949 else
12950 result=$wxUSE_SPLINES
12951 fi
12952
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12955
12956
12957 enablestring=
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12961 defaultval=yes
12962 else
12963 defaultval=no
12964 fi
12965 fi
12966
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12969 # Check whether --enable-mousewheel was given.
12970 if test "${enable_mousewheel+set}" = set; then
12971 enableval=$enable_mousewheel;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12974 else
12975 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12976 fi
12977
12978 else
12979
12980 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12981
12982 fi
12983
12984
12985 eval "$wx_cv_use_mousewheel"
12986
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_MOUSEWHEEL = yes; then
12989 result=no
12990 else
12991 result=yes
12992 fi
12993 else
12994 result=$wxUSE_MOUSEWHEEL
12995 fi
12996
12997 { echo "$as_me:$LINENO: result: $result" >&5
12998 echo "${ECHO_T}$result" >&6; }
12999
13000
13001 enablestring=
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13005 defaultval=yes
13006 else
13007 defaultval=no
13008 fi
13009 fi
13010
13011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13012 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13013 # Check whether --enable-validators was given.
13014 if test "${enable_validators+set}" = set; then
13015 enableval=$enable_validators;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13018 else
13019 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13020 fi
13021
13022 else
13023
13024 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13025
13026 fi
13027
13028
13029 eval "$wx_cv_use_validators"
13030
13031 if test x"$enablestring" = xdisable; then
13032 if test $wxUSE_VALIDATORS = yes; then
13033 result=no
13034 else
13035 result=yes
13036 fi
13037 else
13038 result=$wxUSE_VALIDATORS
13039 fi
13040
13041 { echo "$as_me:$LINENO: result: $result" >&5
13042 echo "${ECHO_T}$result" >&6; }
13043
13044
13045 enablestring=
13046 defaultval=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x"$enablestring" = xdisable; then
13049 defaultval=yes
13050 else
13051 defaultval=no
13052 fi
13053 fi
13054
13055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13056 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13057 # Check whether --enable-busyinfo was given.
13058 if test "${enable_busyinfo+set}" = set; then
13059 enableval=$enable_busyinfo;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13062 else
13063 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13064 fi
13065
13066 else
13067
13068 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13069
13070 fi
13071
13072
13073 eval "$wx_cv_use_busyinfo"
13074
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_BUSYINFO = yes; then
13077 result=no
13078 else
13079 result=yes
13080 fi
13081 else
13082 result=$wxUSE_BUSYINFO
13083 fi
13084
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13087
13088
13089 enablestring=
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13093 defaultval=yes
13094 else
13095 defaultval=no
13096 fi
13097 fi
13098
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13101 # Check whether --enable-joystick was given.
13102 if test "${enable_joystick+set}" = set; then
13103 enableval=$enable_joystick;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13106 else
13107 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13108 fi
13109
13110 else
13111
13112 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13113
13114 fi
13115
13116
13117 eval "$wx_cv_use_joystick"
13118
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_JOYSTICK = yes; then
13121 result=no
13122 else
13123 result=yes
13124 fi
13125 else
13126 result=$wxUSE_JOYSTICK
13127 fi
13128
13129 { echo "$as_me:$LINENO: result: $result" >&5
13130 echo "${ECHO_T}$result" >&6; }
13131
13132
13133 enablestring=
13134 defaultval=$wxUSE_ALL_FEATURES
13135 if test -z "$defaultval"; then
13136 if test x"$enablestring" = xdisable; then
13137 defaultval=yes
13138 else
13139 defaultval=no
13140 fi
13141 fi
13142
13143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13144 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13145 # Check whether --enable-metafile was given.
13146 if test "${enable_metafile+set}" = set; then
13147 enableval=$enable_metafile;
13148 if test "$enableval" = yes; then
13149 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13150 else
13151 wx_cv_use_metafile='wxUSE_METAFILE=no'
13152 fi
13153
13154 else
13155
13156 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13157
13158 fi
13159
13160
13161 eval "$wx_cv_use_metafile"
13162
13163 if test x"$enablestring" = xdisable; then
13164 if test $wxUSE_METAFILE = yes; then
13165 result=no
13166 else
13167 result=yes
13168 fi
13169 else
13170 result=$wxUSE_METAFILE
13171 fi
13172
13173 { echo "$as_me:$LINENO: result: $result" >&5
13174 echo "${ECHO_T}$result" >&6; }
13175
13176
13177 enablestring=
13178 defaultval=$wxUSE_ALL_FEATURES
13179 if test -z "$defaultval"; then
13180 if test x"$enablestring" = xdisable; then
13181 defaultval=yes
13182 else
13183 defaultval=no
13184 fi
13185 fi
13186
13187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13188 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13189 # Check whether --enable-dragimage was given.
13190 if test "${enable_dragimage+set}" = set; then
13191 enableval=$enable_dragimage;
13192 if test "$enableval" = yes; then
13193 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13194 else
13195 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13196 fi
13197
13198 else
13199
13200 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13201
13202 fi
13203
13204
13205 eval "$wx_cv_use_dragimage"
13206
13207 if test x"$enablestring" = xdisable; then
13208 if test $wxUSE_DRAGIMAGE = yes; then
13209 result=no
13210 else
13211 result=yes
13212 fi
13213 else
13214 result=$wxUSE_DRAGIMAGE
13215 fi
13216
13217 { echo "$as_me:$LINENO: result: $result" >&5
13218 echo "${ECHO_T}$result" >&6; }
13219
13220
13221 enablestring=
13222 defaultval=$wxUSE_ALL_FEATURES
13223 if test -z "$defaultval"; then
13224 if test x"$enablestring" = xdisable; then
13225 defaultval=yes
13226 else
13227 defaultval=no
13228 fi
13229 fi
13230
13231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13232 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13233 # Check whether --enable-accessibility was given.
13234 if test "${enable_accessibility+set}" = set; then
13235 enableval=$enable_accessibility;
13236 if test "$enableval" = yes; then
13237 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13238 else
13239 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13240 fi
13241
13242 else
13243
13244 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13245
13246 fi
13247
13248
13249 eval "$wx_cv_use_accessibility"
13250
13251 if test x"$enablestring" = xdisable; then
13252 if test $wxUSE_ACCESSIBILITY = yes; then
13253 result=no
13254 else
13255 result=yes
13256 fi
13257 else
13258 result=$wxUSE_ACCESSIBILITY
13259 fi
13260
13261 { echo "$as_me:$LINENO: result: $result" >&5
13262 echo "${ECHO_T}$result" >&6; }
13263
13264
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}-palette" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13279 # Check whether --enable-palette was given.
13280 if test "${enable_palette+set}" = set; then
13281 enableval=$enable_palette;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_palette='wxUSE_PALETTE=yes'
13284 else
13285 wx_cv_use_palette='wxUSE_PALETTE=no'
13286 fi
13287
13288 else
13289
13290 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13291
13292 fi
13293
13294
13295 eval "$wx_cv_use_palette"
13296
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_PALETTE = yes; then
13299 result=no
13300 else
13301 result=yes
13302 fi
13303 else
13304 result=$wxUSE_PALETTE
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}-image" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13323 # Check whether --enable-image was given.
13324 if test "${enable_image+set}" = set; then
13325 enableval=$enable_image;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_image='wxUSE_IMAGE=yes'
13328 else
13329 wx_cv_use_image='wxUSE_IMAGE=no'
13330 fi
13331
13332 else
13333
13334 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13335
13336 fi
13337
13338
13339 eval "$wx_cv_use_image"
13340
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_IMAGE = yes; then
13343 result=no
13344 else
13345 result=yes
13346 fi
13347 else
13348 result=$wxUSE_IMAGE
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}-gif" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13367 # Check whether --enable-gif was given.
13368 if test "${enable_gif+set}" = set; then
13369 enableval=$enable_gif;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_gif='wxUSE_GIF=yes'
13372 else
13373 wx_cv_use_gif='wxUSE_GIF=no'
13374 fi
13375
13376 else
13377
13378 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13379
13380 fi
13381
13382
13383 eval "$wx_cv_use_gif"
13384
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_GIF = yes; then
13387 result=no
13388 else
13389 result=yes
13390 fi
13391 else
13392 result=$wxUSE_GIF
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}-pcx" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13411 # Check whether --enable-pcx was given.
13412 if test "${enable_pcx+set}" = set; then
13413 enableval=$enable_pcx;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_pcx='wxUSE_PCX=yes'
13416 else
13417 wx_cv_use_pcx='wxUSE_PCX=no'
13418 fi
13419
13420 else
13421
13422 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13423
13424 fi
13425
13426
13427 eval "$wx_cv_use_pcx"
13428
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_PCX = yes; then
13431 result=no
13432 else
13433 result=yes
13434 fi
13435 else
13436 result=$wxUSE_PCX
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}-tga" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13455 # Check whether --enable-tga was given.
13456 if test "${enable_tga+set}" = set; then
13457 enableval=$enable_tga;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_tga='wxUSE_TGA=yes'
13460 else
13461 wx_cv_use_tga='wxUSE_TGA=no'
13462 fi
13463
13464 else
13465
13466 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13467
13468 fi
13469
13470
13471 eval "$wx_cv_use_tga"
13472
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_TGA = yes; then
13475 result=no
13476 else
13477 result=yes
13478 fi
13479 else
13480 result=$wxUSE_TGA
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}-iff" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13499 # Check whether --enable-iff was given.
13500 if test "${enable_iff+set}" = set; then
13501 enableval=$enable_iff;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_iff='wxUSE_IFF=yes'
13504 else
13505 wx_cv_use_iff='wxUSE_IFF=no'
13506 fi
13507
13508 else
13509
13510 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13511
13512 fi
13513
13514
13515 eval "$wx_cv_use_iff"
13516
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_IFF = yes; then
13519 result=no
13520 else
13521 result=yes
13522 fi
13523 else
13524 result=$wxUSE_IFF
13525 fi
13526
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13529
13530
13531 enablestring=
13532 defaultval=$wxUSE_ALL_FEATURES
13533 if test -z "$defaultval"; then
13534 if test x"$enablestring" = xdisable; then
13535 defaultval=yes
13536 else
13537 defaultval=no
13538 fi
13539 fi
13540
13541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13542 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13543 # Check whether --enable-pnm was given.
13544 if test "${enable_pnm+set}" = set; then
13545 enableval=$enable_pnm;
13546 if test "$enableval" = yes; then
13547 wx_cv_use_pnm='wxUSE_PNM=yes'
13548 else
13549 wx_cv_use_pnm='wxUSE_PNM=no'
13550 fi
13551
13552 else
13553
13554 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13555
13556 fi
13557
13558
13559 eval "$wx_cv_use_pnm"
13560
13561 if test x"$enablestring" = xdisable; then
13562 if test $wxUSE_PNM = yes; then
13563 result=no
13564 else
13565 result=yes
13566 fi
13567 else
13568 result=$wxUSE_PNM
13569 fi
13570
13571 { echo "$as_me:$LINENO: result: $result" >&5
13572 echo "${ECHO_T}$result" >&6; }
13573
13574
13575 enablestring=
13576 defaultval=$wxUSE_ALL_FEATURES
13577 if test -z "$defaultval"; then
13578 if test x"$enablestring" = xdisable; then
13579 defaultval=yes
13580 else
13581 defaultval=no
13582 fi
13583 fi
13584
13585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13586 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13587 # Check whether --enable-xpm was given.
13588 if test "${enable_xpm+set}" = set; then
13589 enableval=$enable_xpm;
13590 if test "$enableval" = yes; then
13591 wx_cv_use_xpm='wxUSE_XPM=yes'
13592 else
13593 wx_cv_use_xpm='wxUSE_XPM=no'
13594 fi
13595
13596 else
13597
13598 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13599
13600 fi
13601
13602
13603 eval "$wx_cv_use_xpm"
13604
13605 if test x"$enablestring" = xdisable; then
13606 if test $wxUSE_XPM = yes; then
13607 result=no
13608 else
13609 result=yes
13610 fi
13611 else
13612 result=$wxUSE_XPM
13613 fi
13614
13615 { echo "$as_me:$LINENO: result: $result" >&5
13616 echo "${ECHO_T}$result" >&6; }
13617
13618
13619 enablestring=
13620 defaultval=$wxUSE_ALL_FEATURES
13621 if test -z "$defaultval"; then
13622 if test x"$enablestring" = xdisable; then
13623 defaultval=yes
13624 else
13625 defaultval=no
13626 fi
13627 fi
13628
13629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13630 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13631 # Check whether --enable-ico_cur was given.
13632 if test "${enable_ico_cur+set}" = set; then
13633 enableval=$enable_ico_cur;
13634 if test "$enableval" = yes; then
13635 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13636 else
13637 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13638 fi
13639
13640 else
13641
13642 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13643
13644 fi
13645
13646
13647 eval "$wx_cv_use_ico_cur"
13648
13649 if test x"$enablestring" = xdisable; then
13650 if test $wxUSE_ICO_CUR = yes; then
13651 result=no
13652 else
13653 result=yes
13654 fi
13655 else
13656 result=$wxUSE_ICO_CUR
13657 fi
13658
13659 { echo "$as_me:$LINENO: result: $result" >&5
13660 echo "${ECHO_T}$result" >&6; }
13661
13662
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}-dccache" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13677 # Check whether --enable-dccache was given.
13678 if test "${enable_dccache+set}" = set; then
13679 enableval=$enable_dccache;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13682 else
13683 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13684 fi
13685
13686 else
13687
13688 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13689
13690 fi
13691
13692
13693 eval "$wx_cv_use_dccache"
13694
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_DC_CACHEING = yes; then
13697 result=no
13698 else
13699 result=yes
13700 fi
13701 else
13702 result=$wxUSE_DC_CACHEING
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}-ps-in-msw" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13721 # Check whether --enable-ps-in-msw was given.
13722 if test "${enable_ps_in_msw+set}" = set; then
13723 enableval=$enable_ps_in_msw;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13726 else
13727 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13728 fi
13729
13730 else
13731
13732 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13733
13734 fi
13735
13736
13737 eval "$wx_cv_use_ps_in_msw"
13738
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13741 result=no
13742 else
13743 result=yes
13744 fi
13745 else
13746 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
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}-ownerdrawn" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13765 # Check whether --enable-ownerdrawn was given.
13766 if test "${enable_ownerdrawn+set}" = set; then
13767 enableval=$enable_ownerdrawn;
13768 if test "$enableval" = yes; then
13769 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13770 else
13771 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13772 fi
13773
13774 else
13775
13776 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13777
13778 fi
13779
13780
13781 eval "$wx_cv_use_ownerdrawn"
13782
13783 if test x"$enablestring" = xdisable; then
13784 if test $wxUSE_OWNER_DRAWN = yes; then
13785 result=no
13786 else
13787 result=yes
13788 fi
13789 else
13790 result=$wxUSE_OWNER_DRAWN
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}-uxtheme" >&5
13808 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13809 # Check whether --enable-uxtheme was given.
13810 if test "${enable_uxtheme+set}" = set; then
13811 enableval=$enable_uxtheme;
13812 if test "$enableval" = yes; then
13813 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13814 else
13815 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13816 fi
13817
13818 else
13819
13820 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13821
13822 fi
13823
13824
13825 eval "$wx_cv_use_uxtheme"
13826
13827 if test x"$enablestring" = xdisable; then
13828 if test $wxUSE_UXTHEME = yes; then
13829 result=no
13830 else
13831 result=yes
13832 fi
13833 else
13834 result=$wxUSE_UXTHEME
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}-wxdib" >&5
13852 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13853 # Check whether --enable-wxdib was given.
13854 if test "${enable_wxdib+set}" = set; then
13855 enableval=$enable_wxdib;
13856 if test "$enableval" = yes; then
13857 wx_cv_use_wxdib='wxUSE_DIB=yes'
13858 else
13859 wx_cv_use_wxdib='wxUSE_DIB=no'
13860 fi
13861
13862 else
13863
13864 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13865
13866 fi
13867
13868
13869 eval "$wx_cv_use_wxdib"
13870
13871 if test x"$enablestring" = xdisable; then
13872 if test $wxUSE_DIB = yes; then
13873 result=no
13874 else
13875 result=yes
13876 fi
13877 else
13878 result=$wxUSE_DIB
13879 fi
13880
13881 { echo "$as_me:$LINENO: result: $result" >&5
13882 echo "${ECHO_T}$result" >&6; }
13883
13884
13885 if test "$wxUSE_MSW" != 1; then
13886 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13887 fi
13888
13889
13890 enablestring=
13891 defaultval=$wxUSE_ALL_FEATURES
13892 if test -z "$defaultval"; then
13893 if test x"$enablestring" = xdisable; then
13894 defaultval=yes
13895 else
13896 defaultval=no
13897 fi
13898 fi
13899
13900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13901 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13902 # Check whether --enable-autoidman was given.
13903 if test "${enable_autoidman+set}" = set; then
13904 enableval=$enable_autoidman;
13905 if test "$enableval" = yes; then
13906 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13907 else
13908 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13909 fi
13910
13911 else
13912
13913 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13914
13915 fi
13916
13917
13918 eval "$wx_cv_use_autoidman"
13919
13920 if test x"$enablestring" = xdisable; then
13921 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13922 result=no
13923 else
13924 result=yes
13925 fi
13926 else
13927 result=$wxUSE_AUTOID_MANAGEMENT
13928 fi
13929
13930 { echo "$as_me:$LINENO: result: $result" >&5
13931 echo "${ECHO_T}$result" >&6; }
13932
13933
13934 fi
13935
13936
13937 cat >confcache <<\_ACEOF
13938 # This file is a shell script that caches the results of configure
13939 # tests run on this system so they can be shared between configure
13940 # scripts and configure runs, see configure's option --config-cache.
13941 # It is not useful on other systems. If it contains results you don't
13942 # want to keep, you may remove or edit it.
13943 #
13944 # config.status only pays attention to the cache file if you give it
13945 # the --recheck option to rerun configure.
13946 #
13947 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13948 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13949 # following values.
13950
13951 _ACEOF
13952
13953 # The following way of writing the cache mishandles newlines in values,
13954 # but we know of no workaround that is simple, portable, and efficient.
13955 # So, we kill variables containing newlines.
13956 # Ultrix sh set writes to stderr and can't be redirected directly,
13957 # and sets the high bit in the cache file unless we assign to the vars.
13958 (
13959 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13960 eval ac_val=\$$ac_var
13961 case $ac_val in #(
13962 *${as_nl}*)
13963 case $ac_var in #(
13964 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13965 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13966 esac
13967 case $ac_var in #(
13968 _ | IFS | as_nl) ;; #(
13969 *) $as_unset $ac_var ;;
13970 esac ;;
13971 esac
13972 done
13973
13974 (set) 2>&1 |
13975 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13976 *${as_nl}ac_space=\ *)
13977 # `set' does not quote correctly, so add quotes (double-quote
13978 # substitution turns \\\\ into \\, and sed turns \\ into \).
13979 sed -n \
13980 "s/'/'\\\\''/g;
13981 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13982 ;; #(
13983 *)
13984 # `set' quotes correctly as required by POSIX, so do not add quotes.
13985 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13986 ;;
13987 esac |
13988 sort
13989 ) |
13990 sed '
13991 /^ac_cv_env_/b end
13992 t clear
13993 :clear
13994 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13995 t end
13996 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13997 :end' >>confcache
13998 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13999 if test -w "$cache_file"; then
14000 test "x$cache_file" != "x/dev/null" &&
14001 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14002 echo "$as_me: updating cache $cache_file" >&6;}
14003 cat confcache >$cache_file
14004 else
14005 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14006 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14007 fi
14008 fi
14009 rm -f confcache
14010
14011 CFLAGS=${CFLAGS:=}
14012
14013
14014
14015 ac_ext=c
14016 ac_cpp='$CPP $CPPFLAGS'
14017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14020 if test -n "$ac_tool_prefix"; then
14021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14022 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14025 if test "${ac_cv_prog_CC+set}" = set; then
14026 echo $ECHO_N "(cached) $ECHO_C" >&6
14027 else
14028 if test -n "$CC"; then
14029 ac_cv_prog_CC="$CC" # Let the user override the test.
14030 else
14031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14032 for as_dir in $PATH
14033 do
14034 IFS=$as_save_IFS
14035 test -z "$as_dir" && as_dir=.
14036 for ac_exec_ext in '' $ac_executable_extensions; do
14037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14038 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14040 break 2
14041 fi
14042 done
14043 done
14044 IFS=$as_save_IFS
14045
14046 fi
14047 fi
14048 CC=$ac_cv_prog_CC
14049 if test -n "$CC"; then
14050 { echo "$as_me:$LINENO: result: $CC" >&5
14051 echo "${ECHO_T}$CC" >&6; }
14052 else
14053 { echo "$as_me:$LINENO: result: no" >&5
14054 echo "${ECHO_T}no" >&6; }
14055 fi
14056
14057
14058 fi
14059 if test -z "$ac_cv_prog_CC"; then
14060 ac_ct_CC=$CC
14061 # Extract the first word of "gcc", so it can be a program name with args.
14062 set dummy gcc; ac_word=$2
14063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14066 echo $ECHO_N "(cached) $ECHO_C" >&6
14067 else
14068 if test -n "$ac_ct_CC"; then
14069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14070 else
14071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14072 for as_dir in $PATH
14073 do
14074 IFS=$as_save_IFS
14075 test -z "$as_dir" && as_dir=.
14076 for ac_exec_ext in '' $ac_executable_extensions; do
14077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14078 ac_cv_prog_ac_ct_CC="gcc"
14079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14080 break 2
14081 fi
14082 done
14083 done
14084 IFS=$as_save_IFS
14085
14086 fi
14087 fi
14088 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14089 if test -n "$ac_ct_CC"; then
14090 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14091 echo "${ECHO_T}$ac_ct_CC" >&6; }
14092 else
14093 { echo "$as_me:$LINENO: result: no" >&5
14094 echo "${ECHO_T}no" >&6; }
14095 fi
14096
14097 if test "x$ac_ct_CC" = x; then
14098 CC=""
14099 else
14100 case $cross_compiling:$ac_tool_warned in
14101 yes:)
14102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14103 whose name does not start with the host triplet. If you think this
14104 configuration is useful to you, please write to autoconf@gnu.org." >&5
14105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14106 whose name does not start with the host triplet. If you think this
14107 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14108 ac_tool_warned=yes ;;
14109 esac
14110 CC=$ac_ct_CC
14111 fi
14112 else
14113 CC="$ac_cv_prog_CC"
14114 fi
14115
14116 if test -z "$CC"; then
14117 if test -n "$ac_tool_prefix"; then
14118 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14119 set dummy ${ac_tool_prefix}cc; ac_word=$2
14120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14122 if test "${ac_cv_prog_CC+set}" = set; then
14123 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 else
14125 if test -n "$CC"; then
14126 ac_cv_prog_CC="$CC" # Let the user override the test.
14127 else
14128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14129 for as_dir in $PATH
14130 do
14131 IFS=$as_save_IFS
14132 test -z "$as_dir" && as_dir=.
14133 for ac_exec_ext in '' $ac_executable_extensions; do
14134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14135 ac_cv_prog_CC="${ac_tool_prefix}cc"
14136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14137 break 2
14138 fi
14139 done
14140 done
14141 IFS=$as_save_IFS
14142
14143 fi
14144 fi
14145 CC=$ac_cv_prog_CC
14146 if test -n "$CC"; then
14147 { echo "$as_me:$LINENO: result: $CC" >&5
14148 echo "${ECHO_T}$CC" >&6; }
14149 else
14150 { echo "$as_me:$LINENO: result: no" >&5
14151 echo "${ECHO_T}no" >&6; }
14152 fi
14153
14154
14155 fi
14156 fi
14157 if test -z "$CC"; then
14158 # Extract the first word of "cc", so it can be a program name with args.
14159 set dummy cc; ac_word=$2
14160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14162 if test "${ac_cv_prog_CC+set}" = set; then
14163 echo $ECHO_N "(cached) $ECHO_C" >&6
14164 else
14165 if test -n "$CC"; then
14166 ac_cv_prog_CC="$CC" # Let the user override the test.
14167 else
14168 ac_prog_rejected=no
14169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14170 for as_dir in $PATH
14171 do
14172 IFS=$as_save_IFS
14173 test -z "$as_dir" && as_dir=.
14174 for ac_exec_ext in '' $ac_executable_extensions; do
14175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14176 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14177 ac_prog_rejected=yes
14178 continue
14179 fi
14180 ac_cv_prog_CC="cc"
14181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14182 break 2
14183 fi
14184 done
14185 done
14186 IFS=$as_save_IFS
14187
14188 if test $ac_prog_rejected = yes; then
14189 # We found a bogon in the path, so make sure we never use it.
14190 set dummy $ac_cv_prog_CC
14191 shift
14192 if test $# != 0; then
14193 # We chose a different compiler from the bogus one.
14194 # However, it has the same basename, so the bogon will be chosen
14195 # first if we set CC to just the basename; use the full file name.
14196 shift
14197 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14198 fi
14199 fi
14200 fi
14201 fi
14202 CC=$ac_cv_prog_CC
14203 if test -n "$CC"; then
14204 { echo "$as_me:$LINENO: result: $CC" >&5
14205 echo "${ECHO_T}$CC" >&6; }
14206 else
14207 { echo "$as_me:$LINENO: result: no" >&5
14208 echo "${ECHO_T}no" >&6; }
14209 fi
14210
14211
14212 fi
14213 if test -z "$CC"; then
14214 if test -n "$ac_tool_prefix"; then
14215 for ac_prog in cl.exe
14216 do
14217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14218 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14221 if test "${ac_cv_prog_CC+set}" = set; then
14222 echo $ECHO_N "(cached) $ECHO_C" >&6
14223 else
14224 if test -n "$CC"; then
14225 ac_cv_prog_CC="$CC" # Let the user override the test.
14226 else
14227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14228 for as_dir in $PATH
14229 do
14230 IFS=$as_save_IFS
14231 test -z "$as_dir" && as_dir=.
14232 for ac_exec_ext in '' $ac_executable_extensions; do
14233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14234 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14236 break 2
14237 fi
14238 done
14239 done
14240 IFS=$as_save_IFS
14241
14242 fi
14243 fi
14244 CC=$ac_cv_prog_CC
14245 if test -n "$CC"; then
14246 { echo "$as_me:$LINENO: result: $CC" >&5
14247 echo "${ECHO_T}$CC" >&6; }
14248 else
14249 { echo "$as_me:$LINENO: result: no" >&5
14250 echo "${ECHO_T}no" >&6; }
14251 fi
14252
14253
14254 test -n "$CC" && break
14255 done
14256 fi
14257 if test -z "$CC"; then
14258 ac_ct_CC=$CC
14259 for ac_prog in cl.exe
14260 do
14261 # Extract the first word of "$ac_prog", so it can be a program name with args.
14262 set dummy $ac_prog; ac_word=$2
14263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14265 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 else
14268 if test -n "$ac_ct_CC"; then
14269 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14270 else
14271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14272 for as_dir in $PATH
14273 do
14274 IFS=$as_save_IFS
14275 test -z "$as_dir" && as_dir=.
14276 for ac_exec_ext in '' $ac_executable_extensions; do
14277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14278 ac_cv_prog_ac_ct_CC="$ac_prog"
14279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14280 break 2
14281 fi
14282 done
14283 done
14284 IFS=$as_save_IFS
14285
14286 fi
14287 fi
14288 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14289 if test -n "$ac_ct_CC"; then
14290 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14291 echo "${ECHO_T}$ac_ct_CC" >&6; }
14292 else
14293 { echo "$as_me:$LINENO: result: no" >&5
14294 echo "${ECHO_T}no" >&6; }
14295 fi
14296
14297
14298 test -n "$ac_ct_CC" && break
14299 done
14300
14301 if test "x$ac_ct_CC" = x; then
14302 CC=""
14303 else
14304 case $cross_compiling:$ac_tool_warned in
14305 yes:)
14306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14307 whose name does not start with the host triplet. If you think this
14308 configuration is useful to you, please write to autoconf@gnu.org." >&5
14309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14310 whose name does not start with the host triplet. If you think this
14311 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14312 ac_tool_warned=yes ;;
14313 esac
14314 CC=$ac_ct_CC
14315 fi
14316 fi
14317
14318 fi
14319
14320
14321 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14322 See \`config.log' for more details." >&5
14323 echo "$as_me: error: no acceptable C compiler found in \$PATH
14324 See \`config.log' for more details." >&2;}
14325 { (exit 1); exit 1; }; }
14326
14327 # Provide some information about the compiler.
14328 echo "$as_me:$LINENO: checking for C compiler version" >&5
14329 ac_compiler=`set X $ac_compile; echo $2`
14330 { (ac_try="$ac_compiler --version >&5"
14331 case "(($ac_try" in
14332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14333 *) ac_try_echo=$ac_try;;
14334 esac
14335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14336 (eval "$ac_compiler --version >&5") 2>&5
14337 ac_status=$?
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); }
14340 { (ac_try="$ac_compiler -v >&5"
14341 case "(($ac_try" in
14342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14343 *) ac_try_echo=$ac_try;;
14344 esac
14345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14346 (eval "$ac_compiler -v >&5") 2>&5
14347 ac_status=$?
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }
14350 { (ac_try="$ac_compiler -V >&5"
14351 case "(($ac_try" in
14352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14353 *) ac_try_echo=$ac_try;;
14354 esac
14355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14356 (eval "$ac_compiler -V >&5") 2>&5
14357 ac_status=$?
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); }
14360
14361 cat >conftest.$ac_ext <<_ACEOF
14362 /* confdefs.h. */
14363 _ACEOF
14364 cat confdefs.h >>conftest.$ac_ext
14365 cat >>conftest.$ac_ext <<_ACEOF
14366 /* end confdefs.h. */
14367
14368 int
14369 main ()
14370 {
14371
14372 ;
14373 return 0;
14374 }
14375 _ACEOF
14376 ac_clean_files_save=$ac_clean_files
14377 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14378 # Try to create an executable without -o first, disregard a.out.
14379 # It will help us diagnose broken compilers, and finding out an intuition
14380 # of exeext.
14381 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14382 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14383 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14384 #
14385 # List of possible output files, starting from the most likely.
14386 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14387 # only as a last resort. b.out is created by i960 compilers.
14388 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14389 #
14390 # The IRIX 6 linker writes into existing files which may not be
14391 # executable, retaining their permissions. Remove them first so a
14392 # subsequent execution test works.
14393 ac_rmfiles=
14394 for ac_file in $ac_files
14395 do
14396 case $ac_file in
14397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14398 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14399 esac
14400 done
14401 rm -f $ac_rmfiles
14402
14403 if { (ac_try="$ac_link_default"
14404 case "(($ac_try" in
14405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14406 *) ac_try_echo=$ac_try;;
14407 esac
14408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14409 (eval "$ac_link_default") 2>&5
14410 ac_status=$?
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }; then
14413 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14414 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14415 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14416 # so that the user can short-circuit this test for compilers unknown to
14417 # Autoconf.
14418 for ac_file in $ac_files ''
14419 do
14420 test -f "$ac_file" || continue
14421 case $ac_file in
14422 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14423 ;;
14424 [ab].out )
14425 # We found the default executable, but exeext='' is most
14426 # certainly right.
14427 break;;
14428 *.* )
14429 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14430 then :; else
14431 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14432 fi
14433 # We set ac_cv_exeext here because the later test for it is not
14434 # safe: cross compilers may not add the suffix if given an `-o'
14435 # argument, so we may need to know it at that point already.
14436 # Even if this section looks crufty: it has the advantage of
14437 # actually working.
14438 break;;
14439 * )
14440 break;;
14441 esac
14442 done
14443 test "$ac_cv_exeext" = no && ac_cv_exeext=
14444
14445 else
14446 ac_file=''
14447 fi
14448
14449 { echo "$as_me:$LINENO: result: $ac_file" >&5
14450 echo "${ECHO_T}$ac_file" >&6; }
14451 if test -z "$ac_file"; then
14452 echo "$as_me: failed program was:" >&5
14453 sed 's/^/| /' conftest.$ac_ext >&5
14454
14455 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14456 See \`config.log' for more details." >&5
14457 echo "$as_me: error: C compiler cannot create executables
14458 See \`config.log' for more details." >&2;}
14459 { (exit 77); exit 77; }; }
14460 fi
14461
14462 ac_exeext=$ac_cv_exeext
14463
14464 # Check that the compiler produces executables we can run. If not, either
14465 # the compiler is broken, or we cross compile.
14466 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14467 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14468 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14469 # If not cross compiling, check that we can run a simple program.
14470 if test "$cross_compiling" != yes; then
14471 if { ac_try='./$ac_file'
14472 { (case "(($ac_try" in
14473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14474 *) ac_try_echo=$ac_try;;
14475 esac
14476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14477 (eval "$ac_try") 2>&5
14478 ac_status=$?
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); }; }; then
14481 cross_compiling=no
14482 else
14483 if test "$cross_compiling" = maybe; then
14484 cross_compiling=yes
14485 else
14486 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14487 If you meant to cross compile, use \`--host'.
14488 See \`config.log' for more details." >&5
14489 echo "$as_me: error: cannot run C compiled programs.
14490 If you meant to cross compile, use \`--host'.
14491 See \`config.log' for more details." >&2;}
14492 { (exit 1); exit 1; }; }
14493 fi
14494 fi
14495 fi
14496 { echo "$as_me:$LINENO: result: yes" >&5
14497 echo "${ECHO_T}yes" >&6; }
14498
14499 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14500 ac_clean_files=$ac_clean_files_save
14501 # Check that the compiler produces executables we can run. If not, either
14502 # the compiler is broken, or we cross compile.
14503 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14504 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14505 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14506 echo "${ECHO_T}$cross_compiling" >&6; }
14507
14508 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14509 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14510 if { (ac_try="$ac_link"
14511 case "(($ac_try" in
14512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14513 *) ac_try_echo=$ac_try;;
14514 esac
14515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14516 (eval "$ac_link") 2>&5
14517 ac_status=$?
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); }; then
14520 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14521 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14522 # work properly (i.e., refer to `conftest.exe'), while it won't with
14523 # `rm'.
14524 for ac_file in conftest.exe conftest conftest.*; do
14525 test -f "$ac_file" || continue
14526 case $ac_file in
14527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14528 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14529 break;;
14530 * ) break;;
14531 esac
14532 done
14533 else
14534 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14535 See \`config.log' for more details." >&5
14536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14537 See \`config.log' for more details." >&2;}
14538 { (exit 1); exit 1; }; }
14539 fi
14540
14541 rm -f conftest$ac_cv_exeext
14542 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14543 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14544
14545 rm -f conftest.$ac_ext
14546 EXEEXT=$ac_cv_exeext
14547 ac_exeext=$EXEEXT
14548 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14549 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14550 if test "${ac_cv_objext+set}" = set; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14552 else
14553 cat >conftest.$ac_ext <<_ACEOF
14554 /* confdefs.h. */
14555 _ACEOF
14556 cat confdefs.h >>conftest.$ac_ext
14557 cat >>conftest.$ac_ext <<_ACEOF
14558 /* end confdefs.h. */
14559
14560 int
14561 main ()
14562 {
14563
14564 ;
14565 return 0;
14566 }
14567 _ACEOF
14568 rm -f conftest.o conftest.obj
14569 if { (ac_try="$ac_compile"
14570 case "(($ac_try" in
14571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14572 *) ac_try_echo=$ac_try;;
14573 esac
14574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14575 (eval "$ac_compile") 2>&5
14576 ac_status=$?
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; then
14579 for ac_file in conftest.o conftest.obj conftest.*; do
14580 test -f "$ac_file" || continue;
14581 case $ac_file in
14582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14583 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14584 break;;
14585 esac
14586 done
14587 else
14588 echo "$as_me: failed program was:" >&5
14589 sed 's/^/| /' conftest.$ac_ext >&5
14590
14591 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14592 See \`config.log' for more details." >&5
14593 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14594 See \`config.log' for more details." >&2;}
14595 { (exit 1); exit 1; }; }
14596 fi
14597
14598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14599 fi
14600 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14601 echo "${ECHO_T}$ac_cv_objext" >&6; }
14602 OBJEXT=$ac_cv_objext
14603 ac_objext=$OBJEXT
14604 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14605 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14606 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 else
14609 cat >conftest.$ac_ext <<_ACEOF
14610 /* confdefs.h. */
14611 _ACEOF
14612 cat confdefs.h >>conftest.$ac_ext
14613 cat >>conftest.$ac_ext <<_ACEOF
14614 /* end confdefs.h. */
14615
14616 int
14617 main ()
14618 {
14619 #ifndef __GNUC__
14620 choke me
14621 #endif
14622
14623 ;
14624 return 0;
14625 }
14626 _ACEOF
14627 rm -f conftest.$ac_objext
14628 if { (ac_try="$ac_compile"
14629 case "(($ac_try" in
14630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14631 *) ac_try_echo=$ac_try;;
14632 esac
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14634 (eval "$ac_compile") 2>conftest.er1
14635 ac_status=$?
14636 grep -v '^ *+' conftest.er1 >conftest.err
14637 rm -f conftest.er1
14638 cat conftest.err >&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } && {
14641 test -z "$ac_c_werror_flag" ||
14642 test ! -s conftest.err
14643 } && test -s conftest.$ac_objext; then
14644 ac_compiler_gnu=yes
14645 else
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.$ac_ext >&5
14648
14649 ac_compiler_gnu=no
14650 fi
14651
14652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14653 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14654
14655 fi
14656 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14657 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14658 GCC=`test $ac_compiler_gnu = yes && echo yes`
14659 ac_test_CFLAGS=${CFLAGS+set}
14660 ac_save_CFLAGS=$CFLAGS
14661 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14662 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14663 if test "${ac_cv_prog_cc_g+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14665 else
14666 ac_save_c_werror_flag=$ac_c_werror_flag
14667 ac_c_werror_flag=yes
14668 ac_cv_prog_cc_g=no
14669 CFLAGS="-g"
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h. */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14676
14677 int
14678 main ()
14679 {
14680
14681 ;
14682 return 0;
14683 }
14684 _ACEOF
14685 rm -f conftest.$ac_objext
14686 if { (ac_try="$ac_compile"
14687 case "(($ac_try" in
14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14689 *) ac_try_echo=$ac_try;;
14690 esac
14691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14692 (eval "$ac_compile") 2>conftest.er1
14693 ac_status=$?
14694 grep -v '^ *+' conftest.er1 >conftest.err
14695 rm -f conftest.er1
14696 cat conftest.err >&5
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } && {
14699 test -z "$ac_c_werror_flag" ||
14700 test ! -s conftest.err
14701 } && test -s conftest.$ac_objext; then
14702 ac_cv_prog_cc_g=yes
14703 else
14704 echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14706
14707 CFLAGS=""
14708 cat >conftest.$ac_ext <<_ACEOF
14709 /* confdefs.h. */
14710 _ACEOF
14711 cat confdefs.h >>conftest.$ac_ext
14712 cat >>conftest.$ac_ext <<_ACEOF
14713 /* end confdefs.h. */
14714
14715 int
14716 main ()
14717 {
14718
14719 ;
14720 return 0;
14721 }
14722 _ACEOF
14723 rm -f conftest.$ac_objext
14724 if { (ac_try="$ac_compile"
14725 case "(($ac_try" in
14726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14727 *) ac_try_echo=$ac_try;;
14728 esac
14729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14730 (eval "$ac_compile") 2>conftest.er1
14731 ac_status=$?
14732 grep -v '^ *+' conftest.er1 >conftest.err
14733 rm -f conftest.er1
14734 cat conftest.err >&5
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } && {
14737 test -z "$ac_c_werror_flag" ||
14738 test ! -s conftest.err
14739 } && test -s conftest.$ac_objext; then
14740 :
14741 else
14742 echo "$as_me: failed program was:" >&5
14743 sed 's/^/| /' conftest.$ac_ext >&5
14744
14745 ac_c_werror_flag=$ac_save_c_werror_flag
14746 CFLAGS="-g"
14747 cat >conftest.$ac_ext <<_ACEOF
14748 /* confdefs.h. */
14749 _ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753
14754 int
14755 main ()
14756 {
14757
14758 ;
14759 return 0;
14760 }
14761 _ACEOF
14762 rm -f conftest.$ac_objext
14763 if { (ac_try="$ac_compile"
14764 case "(($ac_try" in
14765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14766 *) ac_try_echo=$ac_try;;
14767 esac
14768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14769 (eval "$ac_compile") 2>conftest.er1
14770 ac_status=$?
14771 grep -v '^ *+' conftest.er1 >conftest.err
14772 rm -f conftest.er1
14773 cat conftest.err >&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); } && {
14776 test -z "$ac_c_werror_flag" ||
14777 test ! -s conftest.err
14778 } && test -s conftest.$ac_objext; then
14779 ac_cv_prog_cc_g=yes
14780 else
14781 echo "$as_me: failed program was:" >&5
14782 sed 's/^/| /' conftest.$ac_ext >&5
14783
14784
14785 fi
14786
14787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14788 fi
14789
14790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14791 fi
14792
14793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14794 ac_c_werror_flag=$ac_save_c_werror_flag
14795 fi
14796 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14797 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14798 if test "$ac_test_CFLAGS" = set; then
14799 CFLAGS=$ac_save_CFLAGS
14800 elif test $ac_cv_prog_cc_g = yes; then
14801 if test "$GCC" = yes; then
14802 CFLAGS="-g -O2"
14803 else
14804 CFLAGS="-g"
14805 fi
14806 else
14807 if test "$GCC" = yes; then
14808 CFLAGS="-O2"
14809 else
14810 CFLAGS=
14811 fi
14812 fi
14813 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14814 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14815 if test "${ac_cv_prog_cc_c89+set}" = set; then
14816 echo $ECHO_N "(cached) $ECHO_C" >&6
14817 else
14818 ac_cv_prog_cc_c89=no
14819 ac_save_CC=$CC
14820 cat >conftest.$ac_ext <<_ACEOF
14821 /* confdefs.h. */
14822 _ACEOF
14823 cat confdefs.h >>conftest.$ac_ext
14824 cat >>conftest.$ac_ext <<_ACEOF
14825 /* end confdefs.h. */
14826 #include <stdarg.h>
14827 #include <stdio.h>
14828 #include <sys/types.h>
14829 #include <sys/stat.h>
14830 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14831 struct buf { int x; };
14832 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14833 static char *e (p, i)
14834 char **p;
14835 int i;
14836 {
14837 return p[i];
14838 }
14839 static char *f (char * (*g) (char **, int), char **p, ...)
14840 {
14841 char *s;
14842 va_list v;
14843 va_start (v,p);
14844 s = g (p, va_arg (v,int));
14845 va_end (v);
14846 return s;
14847 }
14848
14849 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14850 function prototypes and stuff, but not '\xHH' hex character constants.
14851 These don't provoke an error unfortunately, instead are silently treated
14852 as 'x'. The following induces an error, until -std is added to get
14853 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14854 array size at least. It's necessary to write '\x00'==0 to get something
14855 that's true only with -std. */
14856 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14857
14858 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14859 inside strings and character constants. */
14860 #define FOO(x) 'x'
14861 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14862
14863 int test (int i, double x);
14864 struct s1 {int (*f) (int a);};
14865 struct s2 {int (*f) (double a);};
14866 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14867 int argc;
14868 char **argv;
14869 int
14870 main ()
14871 {
14872 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14873 ;
14874 return 0;
14875 }
14876 _ACEOF
14877 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14878 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14879 do
14880 CC="$ac_save_CC $ac_arg"
14881 rm -f conftest.$ac_objext
14882 if { (ac_try="$ac_compile"
14883 case "(($ac_try" in
14884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14885 *) ac_try_echo=$ac_try;;
14886 esac
14887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14888 (eval "$ac_compile") 2>conftest.er1
14889 ac_status=$?
14890 grep -v '^ *+' conftest.er1 >conftest.err
14891 rm -f conftest.er1
14892 cat conftest.err >&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } && {
14895 test -z "$ac_c_werror_flag" ||
14896 test ! -s conftest.err
14897 } && test -s conftest.$ac_objext; then
14898 ac_cv_prog_cc_c89=$ac_arg
14899 else
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.$ac_ext >&5
14902
14903
14904 fi
14905
14906 rm -f core conftest.err conftest.$ac_objext
14907 test "x$ac_cv_prog_cc_c89" != "xno" && break
14908 done
14909 rm -f conftest.$ac_ext
14910 CC=$ac_save_CC
14911
14912 fi
14913 # AC_CACHE_VAL
14914 case "x$ac_cv_prog_cc_c89" in
14915 x)
14916 { echo "$as_me:$LINENO: result: none needed" >&5
14917 echo "${ECHO_T}none needed" >&6; } ;;
14918 xno)
14919 { echo "$as_me:$LINENO: result: unsupported" >&5
14920 echo "${ECHO_T}unsupported" >&6; } ;;
14921 *)
14922 CC="$CC $ac_cv_prog_cc_c89"
14923 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14924 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14925 esac
14926
14927
14928 ac_ext=c
14929 ac_cpp='$CPP $CPPFLAGS'
14930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14933
14934
14935
14936
14937 ac_ext=c
14938 ac_cpp='$CPP $CPPFLAGS'
14939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14942
14943 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14944 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14945 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14946 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 else
14948 cat >conftest.$ac_ext <<_ACEOF
14949 /* confdefs.h. */
14950 _ACEOF
14951 cat confdefs.h >>conftest.$ac_ext
14952 cat >>conftest.$ac_ext <<_ACEOF
14953 /* end confdefs.h. */
14954
14955 int
14956 main ()
14957 {
14958
14959 #ifndef __INTEL_COMPILER
14960 choke me
14961 #endif
14962
14963 ;
14964 return 0;
14965 }
14966 _ACEOF
14967 rm -f conftest.$ac_objext
14968 if { (ac_try="$ac_compile"
14969 case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14972 esac
14973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14974 (eval "$ac_compile") 2>conftest.er1
14975 ac_status=$?
14976 grep -v '^ *+' conftest.er1 >conftest.err
14977 rm -f conftest.er1
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } && {
14981 test -z "$ac_c_werror_flag" ||
14982 test ! -s conftest.err
14983 } && test -s conftest.$ac_objext; then
14984 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14985 else
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.$ac_ext >&5
14988
14989 bakefile_cv_c_compiler___INTEL_COMPILER=no
14990
14991 fi
14992
14993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14994
14995
14996 fi
14997 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14998 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14999 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15000 :; INTELCC=yes
15001 else
15002 :;
15003 fi
15004 ac_ext=c
15005 ac_cpp='$CPP $CPPFLAGS'
15006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15009
15010
15011
15012
15013 if test "$INTELCC" = "yes"; then
15014
15015
15016 ac_ext=c
15017 ac_cpp='$CPP $CPPFLAGS'
15018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15021
15022 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15023 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15024 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15025 echo $ECHO_N "(cached) $ECHO_C" >&6
15026 else
15027 cat >conftest.$ac_ext <<_ACEOF
15028 /* confdefs.h. */
15029 _ACEOF
15030 cat confdefs.h >>conftest.$ac_ext
15031 cat >>conftest.$ac_ext <<_ACEOF
15032 /* end confdefs.h. */
15033
15034 int
15035 main ()
15036 {
15037
15038 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15039 choke me
15040 #endif
15041
15042 ;
15043 return 0;
15044 }
15045 _ACEOF
15046 rm -f conftest.$ac_objext
15047 if { (ac_try="$ac_compile"
15048 case "(($ac_try" in
15049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15050 *) ac_try_echo=$ac_try;;
15051 esac
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_compile") 2>conftest.er1
15054 ac_status=$?
15055 grep -v '^ *+' conftest.er1 >conftest.err
15056 rm -f conftest.er1
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err
15062 } && test -s conftest.$ac_objext; then
15063 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15064 else
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15067
15068 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15069
15070 fi
15071
15072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15073
15074
15075 fi
15076 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15077 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15078 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15079 :; INTELCC8=yes
15080 else
15081 :;
15082 fi
15083 ac_ext=c
15084 ac_cpp='$CPP $CPPFLAGS'
15085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15088
15089
15090
15091
15092
15093 ac_ext=c
15094 ac_cpp='$CPP $CPPFLAGS'
15095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15098
15099 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15100 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15101 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15102 echo $ECHO_N "(cached) $ECHO_C" >&6
15103 else
15104 cat >conftest.$ac_ext <<_ACEOF
15105 /* confdefs.h. */
15106 _ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15110
15111 int
15112 main ()
15113 {
15114
15115 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15116 choke me
15117 #endif
15118
15119 ;
15120 return 0;
15121 }
15122 _ACEOF
15123 rm -f conftest.$ac_objext
15124 if { (ac_try="$ac_compile"
15125 case "(($ac_try" in
15126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15127 *) ac_try_echo=$ac_try;;
15128 esac
15129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15130 (eval "$ac_compile") 2>conftest.er1
15131 ac_status=$?
15132 grep -v '^ *+' conftest.er1 >conftest.err
15133 rm -f conftest.er1
15134 cat conftest.err >&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); } && {
15137 test -z "$ac_c_werror_flag" ||
15138 test ! -s conftest.err
15139 } && test -s conftest.$ac_objext; then
15140 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15141 else
15142 echo "$as_me: failed program was:" >&5
15143 sed 's/^/| /' conftest.$ac_ext >&5
15144
15145 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15146
15147 fi
15148
15149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15150
15151
15152 fi
15153 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15154 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15155 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15156 :; INTELCC10=yes
15157 else
15158 :;
15159 fi
15160 ac_ext=c
15161 ac_cpp='$CPP $CPPFLAGS'
15162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15165
15166
15167
15168 fi
15169
15170 if test "x$GCC" != "xyes"; then
15171 if test "xCC" = "xC"; then
15172 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15173 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15174 if test "${bakefile_cv_c_exto+set}" = set; then
15175 echo $ECHO_N "(cached) $ECHO_C" >&6
15176 else
15177 cat >conftest.$ac_ext <<_ACEOF
15178 /* confdefs.h. */
15179 _ACEOF
15180 cat confdefs.h >>conftest.$ac_ext
15181 cat >>conftest.$ac_ext <<_ACEOF
15182 /* end confdefs.h. */
15183
15184 int
15185 main ()
15186 {
15187
15188 ;
15189 return 0;
15190 }
15191 _ACEOF
15192 rm -f conftest.$ac_objext conftest.$ac_ext.o
15193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15194 (eval $ac_compile) 2>&5
15195 ac_status=$?
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; then
15198 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15199 case $ac_file in
15200 conftest.$ac_ext.o)
15201 bakefile_cv_c_exto="-ext o"
15202 ;;
15203 *)
15204 ;;
15205 esac
15206 done
15207 else
15208 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15209 See \`config.log' for more details." >&5
15210 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15211 See \`config.log' for more details." >&2;}
15212 { (exit 1); exit 1; }; }
15213
15214 fi
15215
15216 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15217
15218 fi
15219 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15220 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15221 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15222 if test "c" = "c"; then
15223 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15224 fi
15225 if test "c" = "cxx"; then
15226 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15227 fi
15228 fi
15229
15230 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15231 unset ac_cv_prog_cc_g
15232 ac_test_CFLAGS=${CFLAGS+set}
15233 ac_save_CFLAGS=$CFLAGS
15234 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15235 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15236 if test "${ac_cv_prog_cc_g+set}" = set; then
15237 echo $ECHO_N "(cached) $ECHO_C" >&6
15238 else
15239 ac_save_c_werror_flag=$ac_c_werror_flag
15240 ac_c_werror_flag=yes
15241 ac_cv_prog_cc_g=no
15242 CFLAGS="-g"
15243 cat >conftest.$ac_ext <<_ACEOF
15244 /* confdefs.h. */
15245 _ACEOF
15246 cat confdefs.h >>conftest.$ac_ext
15247 cat >>conftest.$ac_ext <<_ACEOF
15248 /* end confdefs.h. */
15249
15250 int
15251 main ()
15252 {
15253
15254 ;
15255 return 0;
15256 }
15257 _ACEOF
15258 rm -f conftest.$ac_objext
15259 if { (ac_try="$ac_compile"
15260 case "(($ac_try" in
15261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15262 *) ac_try_echo=$ac_try;;
15263 esac
15264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15265 (eval "$ac_compile") 2>conftest.er1
15266 ac_status=$?
15267 grep -v '^ *+' conftest.er1 >conftest.err
15268 rm -f conftest.er1
15269 cat conftest.err >&5
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); } && {
15272 test -z "$ac_c_werror_flag" ||
15273 test ! -s conftest.err
15274 } && test -s conftest.$ac_objext; then
15275 ac_cv_prog_cc_g=yes
15276 else
15277 echo "$as_me: failed program was:" >&5
15278 sed 's/^/| /' conftest.$ac_ext >&5
15279
15280 CFLAGS=""
15281 cat >conftest.$ac_ext <<_ACEOF
15282 /* confdefs.h. */
15283 _ACEOF
15284 cat confdefs.h >>conftest.$ac_ext
15285 cat >>conftest.$ac_ext <<_ACEOF
15286 /* end confdefs.h. */
15287
15288 int
15289 main ()
15290 {
15291
15292 ;
15293 return 0;
15294 }
15295 _ACEOF
15296 rm -f conftest.$ac_objext
15297 if { (ac_try="$ac_compile"
15298 case "(($ac_try" in
15299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15300 *) ac_try_echo=$ac_try;;
15301 esac
15302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15303 (eval "$ac_compile") 2>conftest.er1
15304 ac_status=$?
15305 grep -v '^ *+' conftest.er1 >conftest.err
15306 rm -f conftest.er1
15307 cat conftest.err >&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } && {
15310 test -z "$ac_c_werror_flag" ||
15311 test ! -s conftest.err
15312 } && test -s conftest.$ac_objext; then
15313 :
15314 else
15315 echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.$ac_ext >&5
15317
15318 ac_c_werror_flag=$ac_save_c_werror_flag
15319 CFLAGS="-g"
15320 cat >conftest.$ac_ext <<_ACEOF
15321 /* confdefs.h. */
15322 _ACEOF
15323 cat confdefs.h >>conftest.$ac_ext
15324 cat >>conftest.$ac_ext <<_ACEOF
15325 /* end confdefs.h. */
15326
15327 int
15328 main ()
15329 {
15330
15331 ;
15332 return 0;
15333 }
15334 _ACEOF
15335 rm -f conftest.$ac_objext
15336 if { (ac_try="$ac_compile"
15337 case "(($ac_try" in
15338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15339 *) ac_try_echo=$ac_try;;
15340 esac
15341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15342 (eval "$ac_compile") 2>conftest.er1
15343 ac_status=$?
15344 grep -v '^ *+' conftest.er1 >conftest.err
15345 rm -f conftest.er1
15346 cat conftest.err >&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); } && {
15349 test -z "$ac_c_werror_flag" ||
15350 test ! -s conftest.err
15351 } && test -s conftest.$ac_objext; then
15352 ac_cv_prog_cc_g=yes
15353 else
15354 echo "$as_me: failed program was:" >&5
15355 sed 's/^/| /' conftest.$ac_ext >&5
15356
15357
15358 fi
15359
15360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15361 fi
15362
15363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15364 fi
15365
15366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15367 ac_c_werror_flag=$ac_save_c_werror_flag
15368 fi
15369 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15370 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15371 if test "$ac_test_CFLAGS" = set; then
15372 CFLAGS=$ac_save_CFLAGS
15373 elif test $ac_cv_prog_cc_g = yes; then
15374 if test "$GCC" = yes; then
15375 CFLAGS="-g -O2"
15376 else
15377 CFLAGS="-g"
15378 fi
15379 else
15380 if test "$GCC" = yes; then
15381 CFLAGS="-O2"
15382 else
15383 CFLAGS=
15384 fi
15385 fi
15386 fi
15387 fi
15388
15389 case `uname -s` in
15390 AIX*)
15391
15392
15393 ac_ext=c
15394 ac_cpp='$CPP $CPPFLAGS'
15395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15398
15399 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15400 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15401 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15402 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 else
15404 cat >conftest.$ac_ext <<_ACEOF
15405 /* confdefs.h. */
15406 _ACEOF
15407 cat confdefs.h >>conftest.$ac_ext
15408 cat >>conftest.$ac_ext <<_ACEOF
15409 /* end confdefs.h. */
15410
15411 int
15412 main ()
15413 {
15414
15415 #ifndef __xlC__
15416 choke me
15417 #endif
15418
15419 ;
15420 return 0;
15421 }
15422 _ACEOF
15423 rm -f conftest.$ac_objext
15424 if { (ac_try="$ac_compile"
15425 case "(($ac_try" in
15426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15427 *) ac_try_echo=$ac_try;;
15428 esac
15429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15430 (eval "$ac_compile") 2>conftest.er1
15431 ac_status=$?
15432 grep -v '^ *+' conftest.er1 >conftest.err
15433 rm -f conftest.er1
15434 cat conftest.err >&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); } && {
15437 test -z "$ac_c_werror_flag" ||
15438 test ! -s conftest.err
15439 } && test -s conftest.$ac_objext; then
15440 bakefile_cv_c_compiler___xlC__=yes
15441 else
15442 echo "$as_me: failed program was:" >&5
15443 sed 's/^/| /' conftest.$ac_ext >&5
15444
15445 bakefile_cv_c_compiler___xlC__=no
15446
15447 fi
15448
15449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15450
15451
15452 fi
15453 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15454 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15455 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15456 :; XLCC=yes
15457 else
15458 :;
15459 fi
15460 ac_ext=c
15461 ac_cpp='$CPP $CPPFLAGS'
15462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15465
15466
15467
15468 ;;
15469
15470 Darwin)
15471
15472
15473 ac_ext=c
15474 ac_cpp='$CPP $CPPFLAGS'
15475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15478
15479 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15480 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15481 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6
15483 else
15484 cat >conftest.$ac_ext <<_ACEOF
15485 /* confdefs.h. */
15486 _ACEOF
15487 cat confdefs.h >>conftest.$ac_ext
15488 cat >>conftest.$ac_ext <<_ACEOF
15489 /* end confdefs.h. */
15490
15491 int
15492 main ()
15493 {
15494
15495 #ifndef __MWERKS__
15496 choke me
15497 #endif
15498
15499 ;
15500 return 0;
15501 }
15502 _ACEOF
15503 rm -f conftest.$ac_objext
15504 if { (ac_try="$ac_compile"
15505 case "(($ac_try" in
15506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15507 *) ac_try_echo=$ac_try;;
15508 esac
15509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15510 (eval "$ac_compile") 2>conftest.er1
15511 ac_status=$?
15512 grep -v '^ *+' conftest.er1 >conftest.err
15513 rm -f conftest.er1
15514 cat conftest.err >&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } && {
15517 test -z "$ac_c_werror_flag" ||
15518 test ! -s conftest.err
15519 } && test -s conftest.$ac_objext; then
15520 bakefile_cv_c_compiler___MWERKS__=yes
15521 else
15522 echo "$as_me: failed program was:" >&5
15523 sed 's/^/| /' conftest.$ac_ext >&5
15524
15525 bakefile_cv_c_compiler___MWERKS__=no
15526
15527 fi
15528
15529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15530
15531
15532 fi
15533 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15534 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15535 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15536 :; MWCC=yes
15537 else
15538 :;
15539 fi
15540 ac_ext=c
15541 ac_cpp='$CPP $CPPFLAGS'
15542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15545
15546
15547
15548 if test "$MWCC" != "yes"; then
15549
15550
15551 ac_ext=c
15552 ac_cpp='$CPP $CPPFLAGS'
15553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15556
15557 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15558 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15559 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15560 echo $ECHO_N "(cached) $ECHO_C" >&6
15561 else
15562 cat >conftest.$ac_ext <<_ACEOF
15563 /* confdefs.h. */
15564 _ACEOF
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h. */
15568
15569 int
15570 main ()
15571 {
15572
15573 #ifndef __xlC__
15574 choke me
15575 #endif
15576
15577 ;
15578 return 0;
15579 }
15580 _ACEOF
15581 rm -f conftest.$ac_objext
15582 if { (ac_try="$ac_compile"
15583 case "(($ac_try" in
15584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15585 *) ac_try_echo=$ac_try;;
15586 esac
15587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15588 (eval "$ac_compile") 2>conftest.er1
15589 ac_status=$?
15590 grep -v '^ *+' conftest.er1 >conftest.err
15591 rm -f conftest.er1
15592 cat conftest.err >&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); } && {
15595 test -z "$ac_c_werror_flag" ||
15596 test ! -s conftest.err
15597 } && test -s conftest.$ac_objext; then
15598 bakefile_cv_c_compiler___xlC__=yes
15599 else
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.$ac_ext >&5
15602
15603 bakefile_cv_c_compiler___xlC__=no
15604
15605 fi
15606
15607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15608
15609
15610 fi
15611 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15612 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15613 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15614 :; XLCC=yes
15615 else
15616 :;
15617 fi
15618 ac_ext=c
15619 ac_cpp='$CPP $CPPFLAGS'
15620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15623
15624
15625
15626 fi
15627 ;;
15628
15629 IRIX*)
15630
15631
15632 ac_ext=c
15633 ac_cpp='$CPP $CPPFLAGS'
15634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15637
15638 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15639 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15640 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15641 echo $ECHO_N "(cached) $ECHO_C" >&6
15642 else
15643 cat >conftest.$ac_ext <<_ACEOF
15644 /* confdefs.h. */
15645 _ACEOF
15646 cat confdefs.h >>conftest.$ac_ext
15647 cat >>conftest.$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15649
15650 int
15651 main ()
15652 {
15653
15654 #ifndef _SGI_COMPILER_VERSION
15655 choke me
15656 #endif
15657
15658 ;
15659 return 0;
15660 }
15661 _ACEOF
15662 rm -f conftest.$ac_objext
15663 if { (ac_try="$ac_compile"
15664 case "(($ac_try" in
15665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15666 *) ac_try_echo=$ac_try;;
15667 esac
15668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15669 (eval "$ac_compile") 2>conftest.er1
15670 ac_status=$?
15671 grep -v '^ *+' conftest.er1 >conftest.err
15672 rm -f conftest.er1
15673 cat conftest.err >&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } && {
15676 test -z "$ac_c_werror_flag" ||
15677 test ! -s conftest.err
15678 } && test -s conftest.$ac_objext; then
15679 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15680 else
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.$ac_ext >&5
15683
15684 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15685
15686 fi
15687
15688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15689
15690
15691 fi
15692 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15693 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15694 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15695 :; SGICC=yes
15696 else
15697 :;
15698 fi
15699 ac_ext=c
15700 ac_cpp='$CPP $CPPFLAGS'
15701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15704
15705
15706
15707 ;;
15708
15709 Linux*)
15710 if test "$INTELCC" != "yes"; then
15711
15712
15713 ac_ext=c
15714 ac_cpp='$CPP $CPPFLAGS'
15715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15718
15719 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15720 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15721 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15722 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 else
15724 cat >conftest.$ac_ext <<_ACEOF
15725 /* confdefs.h. */
15726 _ACEOF
15727 cat confdefs.h >>conftest.$ac_ext
15728 cat >>conftest.$ac_ext <<_ACEOF
15729 /* end confdefs.h. */
15730
15731 int
15732 main ()
15733 {
15734
15735 #ifndef __SUNPRO_C
15736 choke me
15737 #endif
15738
15739 ;
15740 return 0;
15741 }
15742 _ACEOF
15743 rm -f conftest.$ac_objext
15744 if { (ac_try="$ac_compile"
15745 case "(($ac_try" in
15746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15747 *) ac_try_echo=$ac_try;;
15748 esac
15749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15750 (eval "$ac_compile") 2>conftest.er1
15751 ac_status=$?
15752 grep -v '^ *+' conftest.er1 >conftest.err
15753 rm -f conftest.er1
15754 cat conftest.err >&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } && {
15757 test -z "$ac_c_werror_flag" ||
15758 test ! -s conftest.err
15759 } && test -s conftest.$ac_objext; then
15760 bakefile_cv_c_compiler___SUNPRO_C=yes
15761 else
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15764
15765 bakefile_cv_c_compiler___SUNPRO_C=no
15766
15767 fi
15768
15769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15770
15771
15772 fi
15773 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15774 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15775 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15776 :; SUNCC=yes
15777 else
15778 :;
15779 fi
15780 ac_ext=c
15781 ac_cpp='$CPP $CPPFLAGS'
15782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15785
15786
15787
15788 fi
15789 ;;
15790
15791 HP-UX*)
15792
15793
15794 ac_ext=c
15795 ac_cpp='$CPP $CPPFLAGS'
15796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15799
15800 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15801 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15802 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15803 echo $ECHO_N "(cached) $ECHO_C" >&6
15804 else
15805 cat >conftest.$ac_ext <<_ACEOF
15806 /* confdefs.h. */
15807 _ACEOF
15808 cat confdefs.h >>conftest.$ac_ext
15809 cat >>conftest.$ac_ext <<_ACEOF
15810 /* end confdefs.h. */
15811
15812 int
15813 main ()
15814 {
15815
15816 #ifndef __HP_cc
15817 choke me
15818 #endif
15819
15820 ;
15821 return 0;
15822 }
15823 _ACEOF
15824 rm -f conftest.$ac_objext
15825 if { (ac_try="$ac_compile"
15826 case "(($ac_try" in
15827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15828 *) ac_try_echo=$ac_try;;
15829 esac
15830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15831 (eval "$ac_compile") 2>conftest.er1
15832 ac_status=$?
15833 grep -v '^ *+' conftest.er1 >conftest.err
15834 rm -f conftest.er1
15835 cat conftest.err >&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); } && {
15838 test -z "$ac_c_werror_flag" ||
15839 test ! -s conftest.err
15840 } && test -s conftest.$ac_objext; then
15841 bakefile_cv_c_compiler___HP_cc=yes
15842 else
15843 echo "$as_me: failed program was:" >&5
15844 sed 's/^/| /' conftest.$ac_ext >&5
15845
15846 bakefile_cv_c_compiler___HP_cc=no
15847
15848 fi
15849
15850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15851
15852
15853 fi
15854 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15855 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15856 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15857 :; HPCC=yes
15858 else
15859 :;
15860 fi
15861 ac_ext=c
15862 ac_cpp='$CPP $CPPFLAGS'
15863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15866
15867
15868
15869 ;;
15870
15871 OSF1)
15872
15873
15874 ac_ext=c
15875 ac_cpp='$CPP $CPPFLAGS'
15876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15879
15880 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15881 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15882 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15883 echo $ECHO_N "(cached) $ECHO_C" >&6
15884 else
15885 cat >conftest.$ac_ext <<_ACEOF
15886 /* confdefs.h. */
15887 _ACEOF
15888 cat confdefs.h >>conftest.$ac_ext
15889 cat >>conftest.$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15891
15892 int
15893 main ()
15894 {
15895
15896 #ifndef __DECC
15897 choke me
15898 #endif
15899
15900 ;
15901 return 0;
15902 }
15903 _ACEOF
15904 rm -f conftest.$ac_objext
15905 if { (ac_try="$ac_compile"
15906 case "(($ac_try" in
15907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15908 *) ac_try_echo=$ac_try;;
15909 esac
15910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15911 (eval "$ac_compile") 2>conftest.er1
15912 ac_status=$?
15913 grep -v '^ *+' conftest.er1 >conftest.err
15914 rm -f conftest.er1
15915 cat conftest.err >&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); } && {
15918 test -z "$ac_c_werror_flag" ||
15919 test ! -s conftest.err
15920 } && test -s conftest.$ac_objext; then
15921 bakefile_cv_c_compiler___DECC=yes
15922 else
15923 echo "$as_me: failed program was:" >&5
15924 sed 's/^/| /' conftest.$ac_ext >&5
15925
15926 bakefile_cv_c_compiler___DECC=no
15927
15928 fi
15929
15930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15931
15932
15933 fi
15934 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15935 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15936 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15937 :; COMPAQCC=yes
15938 else
15939 :;
15940 fi
15941 ac_ext=c
15942 ac_cpp='$CPP $CPPFLAGS'
15943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15946
15947
15948
15949 ;;
15950
15951 SunOS)
15952
15953
15954 ac_ext=c
15955 ac_cpp='$CPP $CPPFLAGS'
15956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15959
15960 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15961 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15962 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15963 echo $ECHO_N "(cached) $ECHO_C" >&6
15964 else
15965 cat >conftest.$ac_ext <<_ACEOF
15966 /* confdefs.h. */
15967 _ACEOF
15968 cat confdefs.h >>conftest.$ac_ext
15969 cat >>conftest.$ac_ext <<_ACEOF
15970 /* end confdefs.h. */
15971
15972 int
15973 main ()
15974 {
15975
15976 #ifndef __SUNPRO_C
15977 choke me
15978 #endif
15979
15980 ;
15981 return 0;
15982 }
15983 _ACEOF
15984 rm -f conftest.$ac_objext
15985 if { (ac_try="$ac_compile"
15986 case "(($ac_try" in
15987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15988 *) ac_try_echo=$ac_try;;
15989 esac
15990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15991 (eval "$ac_compile") 2>conftest.er1
15992 ac_status=$?
15993 grep -v '^ *+' conftest.er1 >conftest.err
15994 rm -f conftest.er1
15995 cat conftest.err >&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); } && {
15998 test -z "$ac_c_werror_flag" ||
15999 test ! -s conftest.err
16000 } && test -s conftest.$ac_objext; then
16001 bakefile_cv_c_compiler___SUNPRO_C=yes
16002 else
16003 echo "$as_me: failed program was:" >&5
16004 sed 's/^/| /' conftest.$ac_ext >&5
16005
16006 bakefile_cv_c_compiler___SUNPRO_C=no
16007
16008 fi
16009
16010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16011
16012
16013 fi
16014 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16015 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16016 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16017 :; SUNCC=yes
16018 else
16019 :;
16020 fi
16021 ac_ext=c
16022 ac_cpp='$CPP $CPPFLAGS'
16023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16026
16027
16028
16029 ;;
16030 esac
16031 fi
16032
16033
16034
16035 ac_ext=c
16036 ac_cpp='$CPP $CPPFLAGS'
16037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16040 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16041 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16042 # On Suns, sometimes $CPP names a directory.
16043 if test -n "$CPP" && test -d "$CPP"; then
16044 CPP=
16045 fi
16046 if test -z "$CPP"; then
16047 if test "${ac_cv_prog_CPP+set}" = set; then
16048 echo $ECHO_N "(cached) $ECHO_C" >&6
16049 else
16050 # Double quotes because CPP needs to be expanded
16051 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16052 do
16053 ac_preproc_ok=false
16054 for ac_c_preproc_warn_flag in '' yes
16055 do
16056 # Use a header file that comes with gcc, so configuring glibc
16057 # with a fresh cross-compiler works.
16058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16059 # <limits.h> exists even on freestanding compilers.
16060 # On the NeXT, cc -E runs the code through the compiler's parser,
16061 # not just through cpp. "Syntax error" is here to catch this case.
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 #ifdef __STDC__
16069 # include <limits.h>
16070 #else
16071 # include <assert.h>
16072 #endif
16073 Syntax error
16074 _ACEOF
16075 if { (ac_try="$ac_cpp conftest.$ac_ext"
16076 case "(($ac_try" in
16077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16078 *) ac_try_echo=$ac_try;;
16079 esac
16080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16081 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16082 ac_status=$?
16083 grep -v '^ *+' conftest.er1 >conftest.err
16084 rm -f conftest.er1
16085 cat conftest.err >&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); } >/dev/null && {
16088 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16089 test ! -s conftest.err
16090 }; then
16091 :
16092 else
16093 echo "$as_me: failed program was:" >&5
16094 sed 's/^/| /' conftest.$ac_ext >&5
16095
16096 # Broken: fails on valid input.
16097 continue
16098 fi
16099
16100 rm -f conftest.err conftest.$ac_ext
16101
16102 # OK, works on sane cases. Now check whether nonexistent headers
16103 # can be detected and how.
16104 cat >conftest.$ac_ext <<_ACEOF
16105 /* confdefs.h. */
16106 _ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110 #include <ac_nonexistent.h>
16111 _ACEOF
16112 if { (ac_try="$ac_cpp conftest.$ac_ext"
16113 case "(($ac_try" in
16114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115 *) ac_try_echo=$ac_try;;
16116 esac
16117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16119 ac_status=$?
16120 grep -v '^ *+' conftest.er1 >conftest.err
16121 rm -f conftest.er1
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } >/dev/null && {
16125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16126 test ! -s conftest.err
16127 }; then
16128 # Broken: success on invalid input.
16129 continue
16130 else
16131 echo "$as_me: failed program was:" >&5
16132 sed 's/^/| /' conftest.$ac_ext >&5
16133
16134 # Passes both tests.
16135 ac_preproc_ok=:
16136 break
16137 fi
16138
16139 rm -f conftest.err conftest.$ac_ext
16140
16141 done
16142 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16143 rm -f conftest.err conftest.$ac_ext
16144 if $ac_preproc_ok; then
16145 break
16146 fi
16147
16148 done
16149 ac_cv_prog_CPP=$CPP
16150
16151 fi
16152 CPP=$ac_cv_prog_CPP
16153 else
16154 ac_cv_prog_CPP=$CPP
16155 fi
16156 { echo "$as_me:$LINENO: result: $CPP" >&5
16157 echo "${ECHO_T}$CPP" >&6; }
16158 ac_preproc_ok=false
16159 for ac_c_preproc_warn_flag in '' yes
16160 do
16161 # Use a header file that comes with gcc, so configuring glibc
16162 # with a fresh cross-compiler works.
16163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16164 # <limits.h> exists even on freestanding compilers.
16165 # On the NeXT, cc -E runs the code through the compiler's parser,
16166 # not just through cpp. "Syntax error" is here to catch this case.
16167 cat >conftest.$ac_ext <<_ACEOF
16168 /* confdefs.h. */
16169 _ACEOF
16170 cat confdefs.h >>conftest.$ac_ext
16171 cat >>conftest.$ac_ext <<_ACEOF
16172 /* end confdefs.h. */
16173 #ifdef __STDC__
16174 # include <limits.h>
16175 #else
16176 # include <assert.h>
16177 #endif
16178 Syntax error
16179 _ACEOF
16180 if { (ac_try="$ac_cpp conftest.$ac_ext"
16181 case "(($ac_try" in
16182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16183 *) ac_try_echo=$ac_try;;
16184 esac
16185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16186 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16187 ac_status=$?
16188 grep -v '^ *+' conftest.er1 >conftest.err
16189 rm -f conftest.er1
16190 cat conftest.err >&5
16191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16192 (exit $ac_status); } >/dev/null && {
16193 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16194 test ! -s conftest.err
16195 }; then
16196 :
16197 else
16198 echo "$as_me: failed program was:" >&5
16199 sed 's/^/| /' conftest.$ac_ext >&5
16200
16201 # Broken: fails on valid input.
16202 continue
16203 fi
16204
16205 rm -f conftest.err conftest.$ac_ext
16206
16207 # OK, works on sane cases. Now check whether nonexistent headers
16208 # can be detected and how.
16209 cat >conftest.$ac_ext <<_ACEOF
16210 /* confdefs.h. */
16211 _ACEOF
16212 cat confdefs.h >>conftest.$ac_ext
16213 cat >>conftest.$ac_ext <<_ACEOF
16214 /* end confdefs.h. */
16215 #include <ac_nonexistent.h>
16216 _ACEOF
16217 if { (ac_try="$ac_cpp conftest.$ac_ext"
16218 case "(($ac_try" in
16219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16220 *) ac_try_echo=$ac_try;;
16221 esac
16222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16224 ac_status=$?
16225 grep -v '^ *+' conftest.er1 >conftest.err
16226 rm -f conftest.er1
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } >/dev/null && {
16230 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16231 test ! -s conftest.err
16232 }; then
16233 # Broken: success on invalid input.
16234 continue
16235 else
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16238
16239 # Passes both tests.
16240 ac_preproc_ok=:
16241 break
16242 fi
16243
16244 rm -f conftest.err conftest.$ac_ext
16245
16246 done
16247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16248 rm -f conftest.err conftest.$ac_ext
16249 if $ac_preproc_ok; then
16250 :
16251 else
16252 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16253 See \`config.log' for more details." >&5
16254 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16255 See \`config.log' for more details." >&2;}
16256 { (exit 1); exit 1; }; }
16257 fi
16258
16259 ac_ext=c
16260 ac_cpp='$CPP $CPPFLAGS'
16261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16264
16265
16266 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16267 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16268 if test "${ac_cv_path_GREP+set}" = set; then
16269 echo $ECHO_N "(cached) $ECHO_C" >&6
16270 else
16271 # Extract the first word of "grep ggrep" to use in msg output
16272 if test -z "$GREP"; then
16273 set dummy grep ggrep; ac_prog_name=$2
16274 if test "${ac_cv_path_GREP+set}" = set; then
16275 echo $ECHO_N "(cached) $ECHO_C" >&6
16276 else
16277 ac_path_GREP_found=false
16278 # Loop through the user's path and test for each of PROGNAME-LIST
16279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16280 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16281 do
16282 IFS=$as_save_IFS
16283 test -z "$as_dir" && as_dir=.
16284 for ac_prog in grep ggrep; do
16285 for ac_exec_ext in '' $ac_executable_extensions; do
16286 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16287 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16288 # Check for GNU ac_path_GREP and select it if it is found.
16289 # Check for GNU $ac_path_GREP
16290 case `"$ac_path_GREP" --version 2>&1` in
16291 *GNU*)
16292 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16293 *)
16294 ac_count=0
16295 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16296 while :
16297 do
16298 cat "conftest.in" "conftest.in" >"conftest.tmp"
16299 mv "conftest.tmp" "conftest.in"
16300 cp "conftest.in" "conftest.nl"
16301 echo 'GREP' >> "conftest.nl"
16302 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16303 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16304 ac_count=`expr $ac_count + 1`
16305 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16306 # Best one so far, save it but keep looking for a better one
16307 ac_cv_path_GREP="$ac_path_GREP"
16308 ac_path_GREP_max=$ac_count
16309 fi
16310 # 10*(2^10) chars as input seems more than enough
16311 test $ac_count -gt 10 && break
16312 done
16313 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16314 esac
16315
16316
16317 $ac_path_GREP_found && break 3
16318 done
16319 done
16320
16321 done
16322 IFS=$as_save_IFS
16323
16324
16325 fi
16326
16327 GREP="$ac_cv_path_GREP"
16328 if test -z "$GREP"; then
16329 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16330 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16331 { (exit 1); exit 1; }; }
16332 fi
16333
16334 else
16335 ac_cv_path_GREP=$GREP
16336 fi
16337
16338
16339 fi
16340 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16341 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16342 GREP="$ac_cv_path_GREP"
16343
16344
16345 { echo "$as_me:$LINENO: checking for egrep" >&5
16346 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16347 if test "${ac_cv_path_EGREP+set}" = set; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6
16349 else
16350 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16351 then ac_cv_path_EGREP="$GREP -E"
16352 else
16353 # Extract the first word of "egrep" to use in msg output
16354 if test -z "$EGREP"; then
16355 set dummy egrep; ac_prog_name=$2
16356 if test "${ac_cv_path_EGREP+set}" = set; then
16357 echo $ECHO_N "(cached) $ECHO_C" >&6
16358 else
16359 ac_path_EGREP_found=false
16360 # Loop through the user's path and test for each of PROGNAME-LIST
16361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16362 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16363 do
16364 IFS=$as_save_IFS
16365 test -z "$as_dir" && as_dir=.
16366 for ac_prog in egrep; do
16367 for ac_exec_ext in '' $ac_executable_extensions; do
16368 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16369 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16370 # Check for GNU ac_path_EGREP and select it if it is found.
16371 # Check for GNU $ac_path_EGREP
16372 case `"$ac_path_EGREP" --version 2>&1` in
16373 *GNU*)
16374 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16375 *)
16376 ac_count=0
16377 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16378 while :
16379 do
16380 cat "conftest.in" "conftest.in" >"conftest.tmp"
16381 mv "conftest.tmp" "conftest.in"
16382 cp "conftest.in" "conftest.nl"
16383 echo 'EGREP' >> "conftest.nl"
16384 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16385 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16386 ac_count=`expr $ac_count + 1`
16387 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16388 # Best one so far, save it but keep looking for a better one
16389 ac_cv_path_EGREP="$ac_path_EGREP"
16390 ac_path_EGREP_max=$ac_count
16391 fi
16392 # 10*(2^10) chars as input seems more than enough
16393 test $ac_count -gt 10 && break
16394 done
16395 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16396 esac
16397
16398
16399 $ac_path_EGREP_found && break 3
16400 done
16401 done
16402
16403 done
16404 IFS=$as_save_IFS
16405
16406
16407 fi
16408
16409 EGREP="$ac_cv_path_EGREP"
16410 if test -z "$EGREP"; then
16411 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16412 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16413 { (exit 1); exit 1; }; }
16414 fi
16415
16416 else
16417 ac_cv_path_EGREP=$EGREP
16418 fi
16419
16420
16421 fi
16422 fi
16423 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16424 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16425 EGREP="$ac_cv_path_EGREP"
16426
16427
16428 if test $ac_cv_c_compiler_gnu = yes; then
16429 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16430 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16431 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16432 echo $ECHO_N "(cached) $ECHO_C" >&6
16433 else
16434 ac_pattern="Autoconf.*'x'"
16435 cat >conftest.$ac_ext <<_ACEOF
16436 /* confdefs.h. */
16437 _ACEOF
16438 cat confdefs.h >>conftest.$ac_ext
16439 cat >>conftest.$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16441 #include <sgtty.h>
16442 Autoconf TIOCGETP
16443 _ACEOF
16444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16445 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16446 ac_cv_prog_gcc_traditional=yes
16447 else
16448 ac_cv_prog_gcc_traditional=no
16449 fi
16450 rm -f conftest*
16451
16452
16453 if test $ac_cv_prog_gcc_traditional = no; then
16454 cat >conftest.$ac_ext <<_ACEOF
16455 /* confdefs.h. */
16456 _ACEOF
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 #include <termio.h>
16461 Autoconf TCGETA
16462 _ACEOF
16463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16464 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16465 ac_cv_prog_gcc_traditional=yes
16466 fi
16467 rm -f conftest*
16468
16469 fi
16470 fi
16471 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16472 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16473 if test $ac_cv_prog_gcc_traditional = yes; then
16474 CC="$CC -traditional"
16475 fi
16476 fi
16477
16478
16479 CXXFLAGS=${CXXFLAGS:=}
16480
16481
16482
16483 ac_ext=cpp
16484 ac_cpp='$CXXCPP $CPPFLAGS'
16485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16488 if test -z "$CXX"; then
16489 if test -n "$CCC"; then
16490 CXX=$CCC
16491 else
16492 if test -n "$ac_tool_prefix"; then
16493 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16494 do
16495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16499 if test "${ac_cv_prog_CXX+set}" = set; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16501 else
16502 if test -n "$CXX"; then
16503 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16504 else
16505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16506 for as_dir in $PATH
16507 do
16508 IFS=$as_save_IFS
16509 test -z "$as_dir" && as_dir=.
16510 for ac_exec_ext in '' $ac_executable_extensions; do
16511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16512 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16514 break 2
16515 fi
16516 done
16517 done
16518 IFS=$as_save_IFS
16519
16520 fi
16521 fi
16522 CXX=$ac_cv_prog_CXX
16523 if test -n "$CXX"; then
16524 { echo "$as_me:$LINENO: result: $CXX" >&5
16525 echo "${ECHO_T}$CXX" >&6; }
16526 else
16527 { echo "$as_me:$LINENO: result: no" >&5
16528 echo "${ECHO_T}no" >&6; }
16529 fi
16530
16531
16532 test -n "$CXX" && break
16533 done
16534 fi
16535 if test -z "$CXX"; then
16536 ac_ct_CXX=$CXX
16537 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16538 do
16539 # Extract the first word of "$ac_prog", so it can be a program name with args.
16540 set dummy $ac_prog; ac_word=$2
16541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16543 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16544 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 else
16546 if test -n "$ac_ct_CXX"; then
16547 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16548 else
16549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16550 for as_dir in $PATH
16551 do
16552 IFS=$as_save_IFS
16553 test -z "$as_dir" && as_dir=.
16554 for ac_exec_ext in '' $ac_executable_extensions; do
16555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16556 ac_cv_prog_ac_ct_CXX="$ac_prog"
16557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16558 break 2
16559 fi
16560 done
16561 done
16562 IFS=$as_save_IFS
16563
16564 fi
16565 fi
16566 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16567 if test -n "$ac_ct_CXX"; then
16568 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16569 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16570 else
16571 { echo "$as_me:$LINENO: result: no" >&5
16572 echo "${ECHO_T}no" >&6; }
16573 fi
16574
16575
16576 test -n "$ac_ct_CXX" && break
16577 done
16578
16579 if test "x$ac_ct_CXX" = x; then
16580 CXX="g++"
16581 else
16582 case $cross_compiling:$ac_tool_warned in
16583 yes:)
16584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16585 whose name does not start with the host triplet. If you think this
16586 configuration is useful to you, please write to autoconf@gnu.org." >&5
16587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16588 whose name does not start with the host triplet. If you think this
16589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16590 ac_tool_warned=yes ;;
16591 esac
16592 CXX=$ac_ct_CXX
16593 fi
16594 fi
16595
16596 fi
16597 fi
16598 # Provide some information about the compiler.
16599 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16600 ac_compiler=`set X $ac_compile; echo $2`
16601 { (ac_try="$ac_compiler --version >&5"
16602 case "(($ac_try" in
16603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16604 *) ac_try_echo=$ac_try;;
16605 esac
16606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16607 (eval "$ac_compiler --version >&5") 2>&5
16608 ac_status=$?
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); }
16611 { (ac_try="$ac_compiler -v >&5"
16612 case "(($ac_try" in
16613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16615 esac
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compiler -v >&5") 2>&5
16618 ac_status=$?
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }
16621 { (ac_try="$ac_compiler -V >&5"
16622 case "(($ac_try" in
16623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16624 *) ac_try_echo=$ac_try;;
16625 esac
16626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16627 (eval "$ac_compiler -V >&5") 2>&5
16628 ac_status=$?
16629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630 (exit $ac_status); }
16631
16632 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16633 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16634 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16635 echo $ECHO_N "(cached) $ECHO_C" >&6
16636 else
16637 cat >conftest.$ac_ext <<_ACEOF
16638 /* confdefs.h. */
16639 _ACEOF
16640 cat confdefs.h >>conftest.$ac_ext
16641 cat >>conftest.$ac_ext <<_ACEOF
16642 /* end confdefs.h. */
16643
16644 int
16645 main ()
16646 {
16647 #ifndef __GNUC__
16648 choke me
16649 #endif
16650
16651 ;
16652 return 0;
16653 }
16654 _ACEOF
16655 rm -f conftest.$ac_objext
16656 if { (ac_try="$ac_compile"
16657 case "(($ac_try" in
16658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16659 *) ac_try_echo=$ac_try;;
16660 esac
16661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16662 (eval "$ac_compile") 2>conftest.er1
16663 ac_status=$?
16664 grep -v '^ *+' conftest.er1 >conftest.err
16665 rm -f conftest.er1
16666 cat conftest.err >&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } && {
16669 test -z "$ac_cxx_werror_flag" ||
16670 test ! -s conftest.err
16671 } && test -s conftest.$ac_objext; then
16672 ac_compiler_gnu=yes
16673 else
16674 echo "$as_me: failed program was:" >&5
16675 sed 's/^/| /' conftest.$ac_ext >&5
16676
16677 ac_compiler_gnu=no
16678 fi
16679
16680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16681 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16682
16683 fi
16684 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16685 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16686 GXX=`test $ac_compiler_gnu = yes && echo yes`
16687 ac_test_CXXFLAGS=${CXXFLAGS+set}
16688 ac_save_CXXFLAGS=$CXXFLAGS
16689 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16690 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16691 if test "${ac_cv_prog_cxx_g+set}" = set; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 else
16694 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16695 ac_cxx_werror_flag=yes
16696 ac_cv_prog_cxx_g=no
16697 CXXFLAGS="-g"
16698 cat >conftest.$ac_ext <<_ACEOF
16699 /* confdefs.h. */
16700 _ACEOF
16701 cat confdefs.h >>conftest.$ac_ext
16702 cat >>conftest.$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704
16705 int
16706 main ()
16707 {
16708
16709 ;
16710 return 0;
16711 }
16712 _ACEOF
16713 rm -f conftest.$ac_objext
16714 if { (ac_try="$ac_compile"
16715 case "(($ac_try" in
16716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16717 *) ac_try_echo=$ac_try;;
16718 esac
16719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16720 (eval "$ac_compile") 2>conftest.er1
16721 ac_status=$?
16722 grep -v '^ *+' conftest.er1 >conftest.err
16723 rm -f conftest.er1
16724 cat conftest.err >&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); } && {
16727 test -z "$ac_cxx_werror_flag" ||
16728 test ! -s conftest.err
16729 } && test -s conftest.$ac_objext; then
16730 ac_cv_prog_cxx_g=yes
16731 else
16732 echo "$as_me: failed program was:" >&5
16733 sed 's/^/| /' conftest.$ac_ext >&5
16734
16735 CXXFLAGS=""
16736 cat >conftest.$ac_ext <<_ACEOF
16737 /* confdefs.h. */
16738 _ACEOF
16739 cat confdefs.h >>conftest.$ac_ext
16740 cat >>conftest.$ac_ext <<_ACEOF
16741 /* end confdefs.h. */
16742
16743 int
16744 main ()
16745 {
16746
16747 ;
16748 return 0;
16749 }
16750 _ACEOF
16751 rm -f conftest.$ac_objext
16752 if { (ac_try="$ac_compile"
16753 case "(($ac_try" in
16754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16755 *) ac_try_echo=$ac_try;;
16756 esac
16757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16758 (eval "$ac_compile") 2>conftest.er1
16759 ac_status=$?
16760 grep -v '^ *+' conftest.er1 >conftest.err
16761 rm -f conftest.er1
16762 cat conftest.err >&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); } && {
16765 test -z "$ac_cxx_werror_flag" ||
16766 test ! -s conftest.err
16767 } && test -s conftest.$ac_objext; then
16768 :
16769 else
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.$ac_ext >&5
16772
16773 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16774 CXXFLAGS="-g"
16775 cat >conftest.$ac_ext <<_ACEOF
16776 /* confdefs.h. */
16777 _ACEOF
16778 cat confdefs.h >>conftest.$ac_ext
16779 cat >>conftest.$ac_ext <<_ACEOF
16780 /* end confdefs.h. */
16781
16782 int
16783 main ()
16784 {
16785
16786 ;
16787 return 0;
16788 }
16789 _ACEOF
16790 rm -f conftest.$ac_objext
16791 if { (ac_try="$ac_compile"
16792 case "(($ac_try" in
16793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16794 *) ac_try_echo=$ac_try;;
16795 esac
16796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16797 (eval "$ac_compile") 2>conftest.er1
16798 ac_status=$?
16799 grep -v '^ *+' conftest.er1 >conftest.err
16800 rm -f conftest.er1
16801 cat conftest.err >&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); } && {
16804 test -z "$ac_cxx_werror_flag" ||
16805 test ! -s conftest.err
16806 } && test -s conftest.$ac_objext; then
16807 ac_cv_prog_cxx_g=yes
16808 else
16809 echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.$ac_ext >&5
16811
16812
16813 fi
16814
16815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16816 fi
16817
16818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16819 fi
16820
16821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16822 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16823 fi
16824 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16825 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16826 if test "$ac_test_CXXFLAGS" = set; then
16827 CXXFLAGS=$ac_save_CXXFLAGS
16828 elif test $ac_cv_prog_cxx_g = yes; then
16829 if test "$GXX" = yes; then
16830 CXXFLAGS="-g -O2"
16831 else
16832 CXXFLAGS="-g"
16833 fi
16834 else
16835 if test "$GXX" = yes; then
16836 CXXFLAGS="-O2"
16837 else
16838 CXXFLAGS=
16839 fi
16840 fi
16841 ac_ext=c
16842 ac_cpp='$CPP $CPPFLAGS'
16843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16846
16847
16848
16849
16850 ac_ext=cpp
16851 ac_cpp='$CXXCPP $CPPFLAGS'
16852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16855
16856 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16857 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16858 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16859 echo $ECHO_N "(cached) $ECHO_C" >&6
16860 else
16861 cat >conftest.$ac_ext <<_ACEOF
16862 /* confdefs.h. */
16863 _ACEOF
16864 cat confdefs.h >>conftest.$ac_ext
16865 cat >>conftest.$ac_ext <<_ACEOF
16866 /* end confdefs.h. */
16867
16868 int
16869 main ()
16870 {
16871
16872 #ifndef __INTEL_COMPILER
16873 choke me
16874 #endif
16875
16876 ;
16877 return 0;
16878 }
16879 _ACEOF
16880 rm -f conftest.$ac_objext
16881 if { (ac_try="$ac_compile"
16882 case "(($ac_try" in
16883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16884 *) ac_try_echo=$ac_try;;
16885 esac
16886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16887 (eval "$ac_compile") 2>conftest.er1
16888 ac_status=$?
16889 grep -v '^ *+' conftest.er1 >conftest.err
16890 rm -f conftest.er1
16891 cat conftest.err >&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } && {
16894 test -z "$ac_cxx_werror_flag" ||
16895 test ! -s conftest.err
16896 } && test -s conftest.$ac_objext; then
16897 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16898 else
16899 echo "$as_me: failed program was:" >&5
16900 sed 's/^/| /' conftest.$ac_ext >&5
16901
16902 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16903
16904 fi
16905
16906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16907
16908
16909 fi
16910 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16911 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16912 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16913 :; INTELCXX=yes
16914 else
16915 :;
16916 fi
16917 ac_ext=c
16918 ac_cpp='$CPP $CPPFLAGS'
16919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16922
16923
16924
16925
16926 if test "$INTELCXX" = "yes"; then
16927
16928
16929 ac_ext=cpp
16930 ac_cpp='$CXXCPP $CPPFLAGS'
16931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16934
16935 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16936 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16937 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16938 echo $ECHO_N "(cached) $ECHO_C" >&6
16939 else
16940 cat >conftest.$ac_ext <<_ACEOF
16941 /* confdefs.h. */
16942 _ACEOF
16943 cat confdefs.h >>conftest.$ac_ext
16944 cat >>conftest.$ac_ext <<_ACEOF
16945 /* end confdefs.h. */
16946
16947 int
16948 main ()
16949 {
16950
16951 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16952 choke me
16953 #endif
16954
16955 ;
16956 return 0;
16957 }
16958 _ACEOF
16959 rm -f conftest.$ac_objext
16960 if { (ac_try="$ac_compile"
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_compile") 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); } && {
16973 test -z "$ac_cxx_werror_flag" ||
16974 test ! -s conftest.err
16975 } && test -s conftest.$ac_objext; then
16976 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16977 else
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16980
16981 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16982
16983 fi
16984
16985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16986
16987
16988 fi
16989 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16990 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
16991 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16992 :; INTELCXX8=yes
16993 else
16994 :;
16995 fi
16996 ac_ext=c
16997 ac_cpp='$CPP $CPPFLAGS'
16998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17001
17002
17003
17004
17005
17006 ac_ext=cpp
17007 ac_cpp='$CXXCPP $CPPFLAGS'
17008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17011
17012 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17013 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17014 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17015 echo $ECHO_N "(cached) $ECHO_C" >&6
17016 else
17017 cat >conftest.$ac_ext <<_ACEOF
17018 /* confdefs.h. */
17019 _ACEOF
17020 cat confdefs.h >>conftest.$ac_ext
17021 cat >>conftest.$ac_ext <<_ACEOF
17022 /* end confdefs.h. */
17023
17024 int
17025 main ()
17026 {
17027
17028 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17029 choke me
17030 #endif
17031
17032 ;
17033 return 0;
17034 }
17035 _ACEOF
17036 rm -f conftest.$ac_objext
17037 if { (ac_try="$ac_compile"
17038 case "(($ac_try" in
17039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17040 *) ac_try_echo=$ac_try;;
17041 esac
17042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17043 (eval "$ac_compile") 2>conftest.er1
17044 ac_status=$?
17045 grep -v '^ *+' conftest.er1 >conftest.err
17046 rm -f conftest.er1
17047 cat conftest.err >&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); } && {
17050 test -z "$ac_cxx_werror_flag" ||
17051 test ! -s conftest.err
17052 } && test -s conftest.$ac_objext; then
17053 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17054 else
17055 echo "$as_me: failed program was:" >&5
17056 sed 's/^/| /' conftest.$ac_ext >&5
17057
17058 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17059
17060 fi
17061
17062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17063
17064
17065 fi
17066 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17067 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17068 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17069 :; INTELCXX10=yes
17070 else
17071 :;
17072 fi
17073 ac_ext=c
17074 ac_cpp='$CPP $CPPFLAGS'
17075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17078
17079
17080
17081 fi
17082
17083 if test "x$GCXX" != "xyes"; then
17084 if test "xCXX" = "xC"; then
17085 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17086 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17087 if test "${bakefile_cv_c_exto+set}" = set; then
17088 echo $ECHO_N "(cached) $ECHO_C" >&6
17089 else
17090 cat >conftest.$ac_ext <<_ACEOF
17091 /* confdefs.h. */
17092 _ACEOF
17093 cat confdefs.h >>conftest.$ac_ext
17094 cat >>conftest.$ac_ext <<_ACEOF
17095 /* end confdefs.h. */
17096
17097 int
17098 main ()
17099 {
17100
17101 ;
17102 return 0;
17103 }
17104 _ACEOF
17105 rm -f conftest.$ac_objext conftest.$ac_ext.o
17106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17107 (eval $ac_compile) 2>&5
17108 ac_status=$?
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); }; then
17111 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17112 case $ac_file in
17113 conftest.$ac_ext.o)
17114 bakefile_cv_c_exto="-ext o"
17115 ;;
17116 *)
17117 ;;
17118 esac
17119 done
17120 else
17121 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17122 See \`config.log' for more details." >&5
17123 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17124 See \`config.log' for more details." >&2;}
17125 { (exit 1); exit 1; }; }
17126
17127 fi
17128
17129 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17130
17131 fi
17132 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17133 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17134 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17135 if test "c" = "c"; then
17136 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17137 fi
17138 if test "c" = "cxx"; then
17139 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17140 fi
17141 fi
17142
17143 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17144 unset ac_cv_prog_cc_g
17145 ac_test_CFLAGS=${CFLAGS+set}
17146 ac_save_CFLAGS=$CFLAGS
17147 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17148 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17149 if test "${ac_cv_prog_cc_g+set}" = set; then
17150 echo $ECHO_N "(cached) $ECHO_C" >&6
17151 else
17152 ac_save_c_werror_flag=$ac_c_werror_flag
17153 ac_c_werror_flag=yes
17154 ac_cv_prog_cc_g=no
17155 CFLAGS="-g"
17156 cat >conftest.$ac_ext <<_ACEOF
17157 /* confdefs.h. */
17158 _ACEOF
17159 cat confdefs.h >>conftest.$ac_ext
17160 cat >>conftest.$ac_ext <<_ACEOF
17161 /* end confdefs.h. */
17162
17163 int
17164 main ()
17165 {
17166
17167 ;
17168 return 0;
17169 }
17170 _ACEOF
17171 rm -f conftest.$ac_objext
17172 if { (ac_try="$ac_compile"
17173 case "(($ac_try" in
17174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17175 *) ac_try_echo=$ac_try;;
17176 esac
17177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17178 (eval "$ac_compile") 2>conftest.er1
17179 ac_status=$?
17180 grep -v '^ *+' conftest.er1 >conftest.err
17181 rm -f conftest.er1
17182 cat conftest.err >&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); } && {
17185 test -z "$ac_c_werror_flag" ||
17186 test ! -s conftest.err
17187 } && test -s conftest.$ac_objext; then
17188 ac_cv_prog_cc_g=yes
17189 else
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17192
17193 CFLAGS=""
17194 cat >conftest.$ac_ext <<_ACEOF
17195 /* confdefs.h. */
17196 _ACEOF
17197 cat confdefs.h >>conftest.$ac_ext
17198 cat >>conftest.$ac_ext <<_ACEOF
17199 /* end confdefs.h. */
17200
17201 int
17202 main ()
17203 {
17204
17205 ;
17206 return 0;
17207 }
17208 _ACEOF
17209 rm -f conftest.$ac_objext
17210 if { (ac_try="$ac_compile"
17211 case "(($ac_try" in
17212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17213 *) ac_try_echo=$ac_try;;
17214 esac
17215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17216 (eval "$ac_compile") 2>conftest.er1
17217 ac_status=$?
17218 grep -v '^ *+' conftest.er1 >conftest.err
17219 rm -f conftest.er1
17220 cat conftest.err >&5
17221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17222 (exit $ac_status); } && {
17223 test -z "$ac_c_werror_flag" ||
17224 test ! -s conftest.err
17225 } && test -s conftest.$ac_objext; then
17226 :
17227 else
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17230
17231 ac_c_werror_flag=$ac_save_c_werror_flag
17232 CFLAGS="-g"
17233 cat >conftest.$ac_ext <<_ACEOF
17234 /* confdefs.h. */
17235 _ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h. */
17239
17240 int
17241 main ()
17242 {
17243
17244 ;
17245 return 0;
17246 }
17247 _ACEOF
17248 rm -f conftest.$ac_objext
17249 if { (ac_try="$ac_compile"
17250 case "(($ac_try" in
17251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17252 *) ac_try_echo=$ac_try;;
17253 esac
17254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17255 (eval "$ac_compile") 2>conftest.er1
17256 ac_status=$?
17257 grep -v '^ *+' conftest.er1 >conftest.err
17258 rm -f conftest.er1
17259 cat conftest.err >&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); } && {
17262 test -z "$ac_c_werror_flag" ||
17263 test ! -s conftest.err
17264 } && test -s conftest.$ac_objext; then
17265 ac_cv_prog_cc_g=yes
17266 else
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17269
17270
17271 fi
17272
17273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17274 fi
17275
17276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17277 fi
17278
17279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17280 ac_c_werror_flag=$ac_save_c_werror_flag
17281 fi
17282 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17283 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17284 if test "$ac_test_CFLAGS" = set; then
17285 CFLAGS=$ac_save_CFLAGS
17286 elif test $ac_cv_prog_cc_g = yes; then
17287 if test "$GCC" = yes; then
17288 CFLAGS="-g -O2"
17289 else
17290 CFLAGS="-g"
17291 fi
17292 else
17293 if test "$GCC" = yes; then
17294 CFLAGS="-O2"
17295 else
17296 CFLAGS=
17297 fi
17298 fi
17299 fi
17300 fi
17301
17302 case `uname -s` in
17303 AIX*)
17304
17305
17306 ac_ext=cpp
17307 ac_cpp='$CXXCPP $CPPFLAGS'
17308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17311
17312 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17313 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17314 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17315 echo $ECHO_N "(cached) $ECHO_C" >&6
17316 else
17317 cat >conftest.$ac_ext <<_ACEOF
17318 /* confdefs.h. */
17319 _ACEOF
17320 cat confdefs.h >>conftest.$ac_ext
17321 cat >>conftest.$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17323
17324 int
17325 main ()
17326 {
17327
17328 #ifndef __xlC__
17329 choke me
17330 #endif
17331
17332 ;
17333 return 0;
17334 }
17335 _ACEOF
17336 rm -f conftest.$ac_objext
17337 if { (ac_try="$ac_compile"
17338 case "(($ac_try" in
17339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17340 *) ac_try_echo=$ac_try;;
17341 esac
17342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17343 (eval "$ac_compile") 2>conftest.er1
17344 ac_status=$?
17345 grep -v '^ *+' conftest.er1 >conftest.err
17346 rm -f conftest.er1
17347 cat conftest.err >&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); } && {
17350 test -z "$ac_cxx_werror_flag" ||
17351 test ! -s conftest.err
17352 } && test -s conftest.$ac_objext; then
17353 bakefile_cv_cxx_compiler___xlC__=yes
17354 else
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17357
17358 bakefile_cv_cxx_compiler___xlC__=no
17359
17360 fi
17361
17362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17363
17364
17365 fi
17366 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17367 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17368 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17369 :; XLCXX=yes
17370 else
17371 :;
17372 fi
17373 ac_ext=c
17374 ac_cpp='$CPP $CPPFLAGS'
17375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17378
17379
17380
17381 ;;
17382
17383 Darwin)
17384
17385
17386 ac_ext=cpp
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17391
17392 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17393 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17394 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17395 echo $ECHO_N "(cached) $ECHO_C" >&6
17396 else
17397 cat >conftest.$ac_ext <<_ACEOF
17398 /* confdefs.h. */
17399 _ACEOF
17400 cat confdefs.h >>conftest.$ac_ext
17401 cat >>conftest.$ac_ext <<_ACEOF
17402 /* end confdefs.h. */
17403
17404 int
17405 main ()
17406 {
17407
17408 #ifndef __MWERKS__
17409 choke me
17410 #endif
17411
17412 ;
17413 return 0;
17414 }
17415 _ACEOF
17416 rm -f conftest.$ac_objext
17417 if { (ac_try="$ac_compile"
17418 case "(($ac_try" in
17419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17420 *) ac_try_echo=$ac_try;;
17421 esac
17422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17423 (eval "$ac_compile") 2>conftest.er1
17424 ac_status=$?
17425 grep -v '^ *+' conftest.er1 >conftest.err
17426 rm -f conftest.er1
17427 cat conftest.err >&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); } && {
17430 test -z "$ac_cxx_werror_flag" ||
17431 test ! -s conftest.err
17432 } && test -s conftest.$ac_objext; then
17433 bakefile_cv_cxx_compiler___MWERKS__=yes
17434 else
17435 echo "$as_me: failed program was:" >&5
17436 sed 's/^/| /' conftest.$ac_ext >&5
17437
17438 bakefile_cv_cxx_compiler___MWERKS__=no
17439
17440 fi
17441
17442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17443
17444
17445 fi
17446 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17447 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17448 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17449 :; MWCXX=yes
17450 else
17451 :;
17452 fi
17453 ac_ext=c
17454 ac_cpp='$CPP $CPPFLAGS'
17455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17458
17459
17460
17461 if test "$MWCXX" != "yes"; then
17462
17463
17464 ac_ext=cpp
17465 ac_cpp='$CXXCPP $CPPFLAGS'
17466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17469
17470 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17471 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17472 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17473 echo $ECHO_N "(cached) $ECHO_C" >&6
17474 else
17475 cat >conftest.$ac_ext <<_ACEOF
17476 /* confdefs.h. */
17477 _ACEOF
17478 cat confdefs.h >>conftest.$ac_ext
17479 cat >>conftest.$ac_ext <<_ACEOF
17480 /* end confdefs.h. */
17481
17482 int
17483 main ()
17484 {
17485
17486 #ifndef __xlC__
17487 choke me
17488 #endif
17489
17490 ;
17491 return 0;
17492 }
17493 _ACEOF
17494 rm -f conftest.$ac_objext
17495 if { (ac_try="$ac_compile"
17496 case "(($ac_try" in
17497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17498 *) ac_try_echo=$ac_try;;
17499 esac
17500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17501 (eval "$ac_compile") 2>conftest.er1
17502 ac_status=$?
17503 grep -v '^ *+' conftest.er1 >conftest.err
17504 rm -f conftest.er1
17505 cat conftest.err >&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } && {
17508 test -z "$ac_cxx_werror_flag" ||
17509 test ! -s conftest.err
17510 } && test -s conftest.$ac_objext; then
17511 bakefile_cv_cxx_compiler___xlC__=yes
17512 else
17513 echo "$as_me: failed program was:" >&5
17514 sed 's/^/| /' conftest.$ac_ext >&5
17515
17516 bakefile_cv_cxx_compiler___xlC__=no
17517
17518 fi
17519
17520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17521
17522
17523 fi
17524 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17525 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17526 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17527 :; XLCXX=yes
17528 else
17529 :;
17530 fi
17531 ac_ext=c
17532 ac_cpp='$CPP $CPPFLAGS'
17533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17536
17537
17538
17539 fi
17540 ;;
17541
17542 IRIX*)
17543
17544
17545 ac_ext=cpp
17546 ac_cpp='$CXXCPP $CPPFLAGS'
17547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17550
17551 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17552 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17553 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17554 echo $ECHO_N "(cached) $ECHO_C" >&6
17555 else
17556 cat >conftest.$ac_ext <<_ACEOF
17557 /* confdefs.h. */
17558 _ACEOF
17559 cat confdefs.h >>conftest.$ac_ext
17560 cat >>conftest.$ac_ext <<_ACEOF
17561 /* end confdefs.h. */
17562
17563 int
17564 main ()
17565 {
17566
17567 #ifndef _SGI_COMPILER_VERSION
17568 choke me
17569 #endif
17570
17571 ;
17572 return 0;
17573 }
17574 _ACEOF
17575 rm -f conftest.$ac_objext
17576 if { (ac_try="$ac_compile"
17577 case "(($ac_try" in
17578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17579 *) ac_try_echo=$ac_try;;
17580 esac
17581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17582 (eval "$ac_compile") 2>conftest.er1
17583 ac_status=$?
17584 grep -v '^ *+' conftest.er1 >conftest.err
17585 rm -f conftest.er1
17586 cat conftest.err >&5
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); } && {
17589 test -z "$ac_cxx_werror_flag" ||
17590 test ! -s conftest.err
17591 } && test -s conftest.$ac_objext; then
17592 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17593 else
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.$ac_ext >&5
17596
17597 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17598
17599 fi
17600
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602
17603
17604 fi
17605 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17606 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17607 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17608 :; SGICXX=yes
17609 else
17610 :;
17611 fi
17612 ac_ext=c
17613 ac_cpp='$CPP $CPPFLAGS'
17614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17617
17618
17619
17620 ;;
17621
17622 Linux*)
17623 if test "$INTELCXX" != "yes"; then
17624
17625
17626 ac_ext=cpp
17627 ac_cpp='$CXXCPP $CPPFLAGS'
17628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17631
17632 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17633 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17634 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17635 echo $ECHO_N "(cached) $ECHO_C" >&6
17636 else
17637 cat >conftest.$ac_ext <<_ACEOF
17638 /* confdefs.h. */
17639 _ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643
17644 int
17645 main ()
17646 {
17647
17648 #ifndef __SUNPRO_CC
17649 choke me
17650 #endif
17651
17652 ;
17653 return 0;
17654 }
17655 _ACEOF
17656 rm -f conftest.$ac_objext
17657 if { (ac_try="$ac_compile"
17658 case "(($ac_try" in
17659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17660 *) ac_try_echo=$ac_try;;
17661 esac
17662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17663 (eval "$ac_compile") 2>conftest.er1
17664 ac_status=$?
17665 grep -v '^ *+' conftest.er1 >conftest.err
17666 rm -f conftest.er1
17667 cat conftest.err >&5
17668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 (exit $ac_status); } && {
17670 test -z "$ac_cxx_werror_flag" ||
17671 test ! -s conftest.err
17672 } && test -s conftest.$ac_objext; then
17673 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17674 else
17675 echo "$as_me: failed program was:" >&5
17676 sed 's/^/| /' conftest.$ac_ext >&5
17677
17678 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17679
17680 fi
17681
17682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17683
17684
17685 fi
17686 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17687 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17688 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17689 :; SUNCXX=yes
17690 else
17691 :;
17692 fi
17693 ac_ext=c
17694 ac_cpp='$CPP $CPPFLAGS'
17695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17698
17699
17700
17701 fi
17702 ;;
17703
17704 HP-UX*)
17705
17706
17707 ac_ext=cpp
17708 ac_cpp='$CXXCPP $CPPFLAGS'
17709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17712
17713 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17714 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17715 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17716 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 else
17718 cat >conftest.$ac_ext <<_ACEOF
17719 /* confdefs.h. */
17720 _ACEOF
17721 cat confdefs.h >>conftest.$ac_ext
17722 cat >>conftest.$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17724
17725 int
17726 main ()
17727 {
17728
17729 #ifndef __HP_aCC
17730 choke me
17731 #endif
17732
17733 ;
17734 return 0;
17735 }
17736 _ACEOF
17737 rm -f conftest.$ac_objext
17738 if { (ac_try="$ac_compile"
17739 case "(($ac_try" in
17740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17741 *) ac_try_echo=$ac_try;;
17742 esac
17743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17744 (eval "$ac_compile") 2>conftest.er1
17745 ac_status=$?
17746 grep -v '^ *+' conftest.er1 >conftest.err
17747 rm -f conftest.er1
17748 cat conftest.err >&5
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); } && {
17751 test -z "$ac_cxx_werror_flag" ||
17752 test ! -s conftest.err
17753 } && test -s conftest.$ac_objext; then
17754 bakefile_cv_cxx_compiler___HP_aCC=yes
17755 else
17756 echo "$as_me: failed program was:" >&5
17757 sed 's/^/| /' conftest.$ac_ext >&5
17758
17759 bakefile_cv_cxx_compiler___HP_aCC=no
17760
17761 fi
17762
17763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17764
17765
17766 fi
17767 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17768 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17769 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17770 :; HPCXX=yes
17771 else
17772 :;
17773 fi
17774 ac_ext=c
17775 ac_cpp='$CPP $CPPFLAGS'
17776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17779
17780
17781
17782 ;;
17783
17784 OSF1)
17785
17786
17787 ac_ext=cpp
17788 ac_cpp='$CXXCPP $CPPFLAGS'
17789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17792
17793 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17794 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17795 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17796 echo $ECHO_N "(cached) $ECHO_C" >&6
17797 else
17798 cat >conftest.$ac_ext <<_ACEOF
17799 /* confdefs.h. */
17800 _ACEOF
17801 cat confdefs.h >>conftest.$ac_ext
17802 cat >>conftest.$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17804
17805 int
17806 main ()
17807 {
17808
17809 #ifndef __DECCXX
17810 choke me
17811 #endif
17812
17813 ;
17814 return 0;
17815 }
17816 _ACEOF
17817 rm -f conftest.$ac_objext
17818 if { (ac_try="$ac_compile"
17819 case "(($ac_try" in
17820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17821 *) ac_try_echo=$ac_try;;
17822 esac
17823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17824 (eval "$ac_compile") 2>conftest.er1
17825 ac_status=$?
17826 grep -v '^ *+' conftest.er1 >conftest.err
17827 rm -f conftest.er1
17828 cat conftest.err >&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); } && {
17831 test -z "$ac_cxx_werror_flag" ||
17832 test ! -s conftest.err
17833 } && test -s conftest.$ac_objext; then
17834 bakefile_cv_cxx_compiler___DECCXX=yes
17835 else
17836 echo "$as_me: failed program was:" >&5
17837 sed 's/^/| /' conftest.$ac_ext >&5
17838
17839 bakefile_cv_cxx_compiler___DECCXX=no
17840
17841 fi
17842
17843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17844
17845
17846 fi
17847 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17848 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17849 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17850 :; COMPAQCXX=yes
17851 else
17852 :;
17853 fi
17854 ac_ext=c
17855 ac_cpp='$CPP $CPPFLAGS'
17856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17859
17860
17861
17862 ;;
17863
17864 SunOS)
17865
17866
17867 ac_ext=cpp
17868 ac_cpp='$CXXCPP $CPPFLAGS'
17869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17872
17873 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17874 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17875 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17876 echo $ECHO_N "(cached) $ECHO_C" >&6
17877 else
17878 cat >conftest.$ac_ext <<_ACEOF
17879 /* confdefs.h. */
17880 _ACEOF
17881 cat confdefs.h >>conftest.$ac_ext
17882 cat >>conftest.$ac_ext <<_ACEOF
17883 /* end confdefs.h. */
17884
17885 int
17886 main ()
17887 {
17888
17889 #ifndef __SUNPRO_CC
17890 choke me
17891 #endif
17892
17893 ;
17894 return 0;
17895 }
17896 _ACEOF
17897 rm -f conftest.$ac_objext
17898 if { (ac_try="$ac_compile"
17899 case "(($ac_try" in
17900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17901 *) ac_try_echo=$ac_try;;
17902 esac
17903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17904 (eval "$ac_compile") 2>conftest.er1
17905 ac_status=$?
17906 grep -v '^ *+' conftest.er1 >conftest.err
17907 rm -f conftest.er1
17908 cat conftest.err >&5
17909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17910 (exit $ac_status); } && {
17911 test -z "$ac_cxx_werror_flag" ||
17912 test ! -s conftest.err
17913 } && test -s conftest.$ac_objext; then
17914 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17915 else
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17918
17919 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17920
17921 fi
17922
17923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17924
17925
17926 fi
17927 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17928 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17929 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17930 :; SUNCXX=yes
17931 else
17932 :;
17933 fi
17934 ac_ext=c
17935 ac_cpp='$CPP $CPPFLAGS'
17936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17939
17940
17941
17942 ;;
17943 esac
17944 fi
17945
17946
17947
17948 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17949 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17950 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17951 { (exit 1); exit 1; }; }
17952 fi
17953
17954 if test "x$SUNCXX" != xyes; then
17955 if test -n "$ac_tool_prefix"; then
17956 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17957 set dummy ${ac_tool_prefix}ar; ac_word=$2
17958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17960 if test "${ac_cv_prog_AR+set}" = set; then
17961 echo $ECHO_N "(cached) $ECHO_C" >&6
17962 else
17963 if test -n "$AR"; then
17964 ac_cv_prog_AR="$AR" # Let the user override the test.
17965 else
17966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17967 for as_dir in $PATH
17968 do
17969 IFS=$as_save_IFS
17970 test -z "$as_dir" && as_dir=.
17971 for ac_exec_ext in '' $ac_executable_extensions; do
17972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17973 ac_cv_prog_AR="${ac_tool_prefix}ar"
17974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17975 break 2
17976 fi
17977 done
17978 done
17979 IFS=$as_save_IFS
17980
17981 fi
17982 fi
17983 AR=$ac_cv_prog_AR
17984 if test -n "$AR"; then
17985 { echo "$as_me:$LINENO: result: $AR" >&5
17986 echo "${ECHO_T}$AR" >&6; }
17987 else
17988 { echo "$as_me:$LINENO: result: no" >&5
17989 echo "${ECHO_T}no" >&6; }
17990 fi
17991
17992
17993 fi
17994 if test -z "$ac_cv_prog_AR"; then
17995 ac_ct_AR=$AR
17996 # Extract the first word of "ar", so it can be a program name with args.
17997 set dummy ar; ac_word=$2
17998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18000 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18001 echo $ECHO_N "(cached) $ECHO_C" >&6
18002 else
18003 if test -n "$ac_ct_AR"; then
18004 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18005 else
18006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18007 for as_dir in $PATH
18008 do
18009 IFS=$as_save_IFS
18010 test -z "$as_dir" && as_dir=.
18011 for ac_exec_ext in '' $ac_executable_extensions; do
18012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18013 ac_cv_prog_ac_ct_AR="ar"
18014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18015 break 2
18016 fi
18017 done
18018 done
18019 IFS=$as_save_IFS
18020
18021 fi
18022 fi
18023 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18024 if test -n "$ac_ct_AR"; then
18025 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18026 echo "${ECHO_T}$ac_ct_AR" >&6; }
18027 else
18028 { echo "$as_me:$LINENO: result: no" >&5
18029 echo "${ECHO_T}no" >&6; }
18030 fi
18031
18032 if test "x$ac_ct_AR" = x; then
18033 AR=""
18034 else
18035 case $cross_compiling:$ac_tool_warned in
18036 yes:)
18037 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18038 whose name does not start with the host triplet. If you think this
18039 configuration is useful to you, please write to autoconf@gnu.org." >&5
18040 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18041 whose name does not start with the host triplet. If you think this
18042 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18043 ac_tool_warned=yes ;;
18044 esac
18045 AR=$ac_ct_AR
18046 fi
18047 else
18048 AR="$ac_cv_prog_AR"
18049 fi
18050
18051 if test "x$AR" = "x" ; then
18052 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18053 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18054 { (exit 1); exit 1; }; }
18055 fi
18056 fi
18057
18058 retest_macosx_linking=no
18059
18060 #if test "$wxUSE_MAC" = 1; then
18061 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18062 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18063 # Implicitly turn on the new --with-macosx-sdk using the default
18064 # SDK which provides the behavior this option has always had.
18065 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18066 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18067 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18068 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18069 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18070 wxUSE_MACOSX_SDK=yes
18071 fi
18072 else
18073 # Complain to user if he specified an argument to --enable-universal_binary
18074 # and also 1) specified --with-macosx-sdk using the default (yes) or
18075 # 2) specified --with-macosx-sdk using a path or 3) specified
18076 # --without-macosx-sdk (no).
18077 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18078 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18079 See \`config.log' for more details." >&5
18080 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18081 See \`config.log' for more details." >&2;}
18082 { (exit 1); exit 1; }; }
18083 else
18084 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18085 # special-case the empty string because the below test simply
18086 # converts "no" to the empty string anyway.
18087 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18088 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18089 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18090 fi
18091 fi
18092 OSX_UNIV_OPTS="-arch ppc -arch i386"
18093 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18094 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18095 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18096 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18097 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18098 retest_macosx_linking=yes
18099
18100 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18101 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18102 bk_use_pch=no
18103 fi
18104 #fi
18105
18106 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18107 wxUSE_MACOSX_SDK=
18108 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18109 # TODO: Search for most recent SDK and use it.
18110 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18111 fi
18112
18113
18114 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18115 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18116 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18117 if ! test -d "$wxUSE_MACOSX_SDK"; then
18118 { { echo "$as_me:$LINENO: error: not found
18119 See \`config.log' for more details." >&5
18120 echo "$as_me: error: not found
18121 See \`config.log' for more details." >&2;}
18122 { (exit 1); exit 1; }; }
18123 else
18124 { echo "$as_me:$LINENO: result: exists" >&5
18125 echo "${ECHO_T}exists" >&6; }
18126 fi
18127 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18128 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18129 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18130 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18131 retest_macosx_linking=yes
18132 fi
18133
18134 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18135 wxUSE_MACOSX_VERSION_MIN=
18136 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18137 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18138 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18139 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18140
18141 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/'`
18142
18143 # If that failed, try again with the new key
18144 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18145
18146 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/'`
18147
18148 fi
18149
18150 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18151 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18152 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18153 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18154 else
18155 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18156 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18157 wxUSE_MACOSX_VERSION_MIN=
18158 fi
18159 else
18160 wxUSE_MACOSX_VERSION_MIN=
18161 fi
18162 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18163 if test "$wxUSE_MAC" = 1; then
18164 # otherwise configure stops on leopard for universal_binary
18165 wxUSE_MACOSX_VERSION_MIN=10.4
18166 fi
18167 fi
18168
18169 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18170 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18171 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18172 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18173 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18174 retest_macosx_linking=yes
18175 fi
18176
18177 if test "x$retest_macosx_linking" = "xyes"; then
18178 ac_ext=c
18179 ac_cpp='$CPP $CPPFLAGS'
18180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18183
18184 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18185 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18186 cat >conftest.$ac_ext <<_ACEOF
18187 /* confdefs.h. */
18188 _ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192
18193 int
18194 main ()
18195 {
18196
18197 ;
18198 return 0;
18199 }
18200 _ACEOF
18201 rm -f conftest.$ac_objext conftest$ac_exeext
18202 if { (ac_try="$ac_link"
18203 case "(($ac_try" in
18204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18205 *) ac_try_echo=$ac_try;;
18206 esac
18207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18208 (eval "$ac_link") 2>conftest.er1
18209 ac_status=$?
18210 grep -v '^ *+' conftest.er1 >conftest.err
18211 rm -f conftest.er1
18212 cat conftest.err >&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } && {
18215 test -z "$ac_c_werror_flag" ||
18216 test ! -s conftest.err
18217 } && test -s conftest$ac_exeext &&
18218 $as_test_x conftest$ac_exeext; then
18219 { echo "$as_me:$LINENO: result: yes" >&5
18220 echo "${ECHO_T}yes" >&6; }
18221 else
18222 echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18224
18225 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18226 See \`config.log' for more details." >&5
18227 echo "$as_me: error: no. Try a different SDK
18228 See \`config.log' for more details." >&2;}
18229 { (exit 1); exit 1; }; }; exit 1
18230 fi
18231
18232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18233 conftest$ac_exeext conftest.$ac_ext
18234 ac_ext=c
18235 ac_cpp='$CPP $CPPFLAGS'
18236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18239
18240
18241 ac_ext=cpp
18242 ac_cpp='$CXXCPP $CPPFLAGS'
18243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18246
18247 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18248 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18249 cat >conftest.$ac_ext <<_ACEOF
18250 /* confdefs.h. */
18251 _ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255
18256 int
18257 main ()
18258 {
18259
18260 ;
18261 return 0;
18262 }
18263 _ACEOF
18264 rm -f conftest.$ac_objext conftest$ac_exeext
18265 if { (ac_try="$ac_link"
18266 case "(($ac_try" in
18267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18268 *) ac_try_echo=$ac_try;;
18269 esac
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_link") 2>conftest.er1
18272 ac_status=$?
18273 grep -v '^ *+' conftest.er1 >conftest.err
18274 rm -f conftest.er1
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } && {
18278 test -z "$ac_cxx_werror_flag" ||
18279 test ! -s conftest.err
18280 } && test -s conftest$ac_exeext &&
18281 $as_test_x conftest$ac_exeext; then
18282 { echo "$as_me:$LINENO: result: yes" >&5
18283 echo "${ECHO_T}yes" >&6; }
18284 else
18285 echo "$as_me: failed program was:" >&5
18286 sed 's/^/| /' conftest.$ac_ext >&5
18287
18288 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18289 See \`config.log' for more details." >&5
18290 echo "$as_me: error: no. Try a different SDK
18291 See \`config.log' for more details." >&2;}
18292 { (exit 1); exit 1; }; }; exit 1
18293 fi
18294
18295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18296 conftest$ac_exeext conftest.$ac_ext
18297 ac_ext=c
18298 ac_cpp='$CPP $CPPFLAGS'
18299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18302
18303 fi
18304
18305
18306 case "${host}" in
18307
18308 *-*-darwin* )
18309 INSTALL_PROGRAM="cp -fp"
18310 INSTALL_DATA="cp -fp"
18311 ;;
18312 *)
18313 ;;
18314 esac
18315
18316
18317 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18318 CXXFLAGS="-qunique $CXXFLAGS"
18319 fi
18320
18321 case "${host}" in
18322 powerpc-*-darwin* )
18323 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18324 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18325 cat >conftest.$ac_ext <<_ACEOF
18326 /* confdefs.h. */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18331
18332 int
18333 main ()
18334 {
18335 #ifndef __POWERPC__
18336 choke me for lack of PowerPC
18337 #endif
18338
18339 ;
18340 return 0;
18341 }
18342 _ACEOF
18343 rm -f conftest.$ac_objext
18344 if { (ac_try="$ac_compile"
18345 case "(($ac_try" in
18346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18347 *) ac_try_echo=$ac_try;;
18348 esac
18349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18350 (eval "$ac_compile") 2>conftest.er1
18351 ac_status=$?
18352 grep -v '^ *+' conftest.er1 >conftest.err
18353 rm -f conftest.er1
18354 cat conftest.err >&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); } && {
18357 test -z "$ac_c_werror_flag" ||
18358 test ! -s conftest.err
18359 } && test -s conftest.$ac_objext; then
18360 { echo "$as_me:$LINENO: result: yes" >&5
18361 echo "${ECHO_T}yes" >&6; }
18362 else
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.$ac_ext >&5
18365
18366 { echo "$as_me:$LINENO: result: no" >&5
18367 echo "${ECHO_T}no" >&6; }
18368 cat >>confdefs.h <<\_ACEOF
18369 #define __POWERPC__ 1
18370 _ACEOF
18371
18372
18373 fi
18374
18375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18376 ;;
18377 esac
18378
18379 case "${host}" in
18380 *-*-darwin* )
18381 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18382 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18383 cat >conftest.$ac_ext <<_ACEOF
18384 /* confdefs.h. */
18385 _ACEOF
18386 cat confdefs.h >>conftest.$ac_ext
18387 cat >>conftest.$ac_ext <<_ACEOF
18388 /* end confdefs.h. */
18389 #include <CoreFoundation/CFBase.h>
18390
18391 int
18392 main ()
18393 {
18394
18395 ;
18396 return 0;
18397 }
18398 _ACEOF
18399 rm -f conftest.$ac_objext
18400 if { (ac_try="$ac_compile"
18401 case "(($ac_try" in
18402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18403 *) ac_try_echo=$ac_try;;
18404 esac
18405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18406 (eval "$ac_compile") 2>conftest.er1
18407 ac_status=$?
18408 grep -v '^ *+' conftest.er1 >conftest.err
18409 rm -f conftest.er1
18410 cat conftest.err >&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } && {
18413 test -z "$ac_c_werror_flag" ||
18414 test ! -s conftest.err
18415 } && test -s conftest.$ac_objext; then
18416 { echo "$as_me:$LINENO: result: yes" >&5
18417 echo "${ECHO_T}yes" >&6; }
18418 else
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18421
18422 { echo "$as_me:$LINENO: result: no" >&5
18423 echo "${ECHO_T}no" >&6; }
18424 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18425 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18426 cat >conftest.$ac_ext <<_ACEOF
18427 /* confdefs.h. */
18428 _ACEOF
18429 cat confdefs.h >>conftest.$ac_ext
18430 cat >>conftest.$ac_ext <<_ACEOF
18431 /* end confdefs.h. */
18432 #define __CF_USE_FRAMEWORK_INCLUDES__
18433 #include <CoreFoundation/CFBase.h>
18434
18435 int
18436 main ()
18437 {
18438
18439 ;
18440 return 0;
18441 }
18442 _ACEOF
18443 rm -f conftest.$ac_objext
18444 if { (ac_try="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18448 esac
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 { echo "$as_me:$LINENO: result: yes" >&5
18461 echo "${ECHO_T}yes" >&6; }
18462 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18463 else
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.$ac_ext >&5
18466
18467 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18468 See \`config.log' for more details." >&5
18469 echo "$as_me: error: no. CoreFoundation not available.
18470 See \`config.log' for more details." >&2;}
18471 { (exit 1); exit 1; }; }
18472
18473 fi
18474
18475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18476
18477
18478 fi
18479
18480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18481 ;;
18482 esac
18483
18484 wants_win32=0
18485 doesnt_want_win32=0
18486 case "${host}" in
18487 *-*-cygwin*)
18488 if test "$wxUSE_MSW" = 1 ; then
18489 wants_win32=1
18490 else
18491 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18492 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18493 if test "${wx_cv_nocygwin+set}" = set; then
18494 echo $ECHO_N "(cached) $ECHO_C" >&6
18495 else
18496
18497 cat >conftest.$ac_ext <<_ACEOF
18498 /* confdefs.h. */
18499 _ACEOF
18500 cat confdefs.h >>conftest.$ac_ext
18501 cat >>conftest.$ac_ext <<_ACEOF
18502 /* end confdefs.h. */
18503
18504 int
18505 main ()
18506 {
18507
18508 #ifdef __MINGW32__
18509 choke me
18510 #endif
18511
18512 ;
18513 return 0;
18514 }
18515 _ACEOF
18516 rm -f conftest.$ac_objext
18517 if { (ac_try="$ac_compile"
18518 case "(($ac_try" in
18519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18520 *) ac_try_echo=$ac_try;;
18521 esac
18522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18523 (eval "$ac_compile") 2>conftest.er1
18524 ac_status=$?
18525 grep -v '^ *+' conftest.er1 >conftest.err
18526 rm -f conftest.er1
18527 cat conftest.err >&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); } && {
18530 test -z "$ac_c_werror_flag" ||
18531 test ! -s conftest.err
18532 } && test -s conftest.$ac_objext; then
18533 wx_cv_nocygwin=no
18534 else
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18537
18538 wx_cv_nocygwin=yes
18539
18540 fi
18541
18542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18543
18544
18545 fi
18546 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18547 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18548
18549 if test "$wx_cv_nocygwin" = "yes"; then
18550 wants_win32=1
18551 else
18552 doesnt_want_win32=1
18553 fi
18554 fi
18555 if test "$wants_win32" = 1 ; then
18556 BAKEFILE_FORCE_PLATFORM=win32
18557 fi
18558 ;;
18559 *-*-mingw*)
18560 wants_win32=1
18561 ;;
18562 esac
18563
18564 if test "$wxUSE_WINE" = "yes"; then
18565 wants_win32=1
18566 LDFLAGS_GUI="-mwindows"
18567 fi
18568
18569 if test "$wants_win32" = 1 ; then
18570 USE_UNIX=0
18571 USE_WIN32=1
18572 cat >>confdefs.h <<\_ACEOF
18573 #define __WIN32__ 1
18574 _ACEOF
18575
18576 cat >>confdefs.h <<\_ACEOF
18577 #define __WIN95__ 1
18578 _ACEOF
18579
18580 cat >>confdefs.h <<\_ACEOF
18581 #define __WINDOWS__ 1
18582 _ACEOF
18583
18584 cat >>confdefs.h <<\_ACEOF
18585 #define __GNUWIN32__ 1
18586 _ACEOF
18587
18588 cat >>confdefs.h <<\_ACEOF
18589 #define STRICT 1
18590 _ACEOF
18591
18592 fi
18593 if test "$doesnt_want_win32" = 1 ; then
18594 USE_UNIX=1
18595 USE_WIN32=0
18596 fi
18597
18598 if test "$USE_UNIX" = 1 ; then
18599 wxUSE_UNIX=yes
18600 cat >>confdefs.h <<\_ACEOF
18601 #define __UNIX__ 1
18602 _ACEOF
18603
18604 fi
18605
18606 case "${host}" in
18607 *-pc-os2_emx | *-pc-os2-emx )
18608 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18609 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18610 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18611 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18613 else
18614 ac_check_lib_save_LIBS=$LIBS
18615 LIBS="-lcExt $LIBS"
18616 cat >conftest.$ac_ext <<_ACEOF
18617 /* confdefs.h. */
18618 _ACEOF
18619 cat confdefs.h >>conftest.$ac_ext
18620 cat >>conftest.$ac_ext <<_ACEOF
18621 /* end confdefs.h. */
18622
18623 /* Override any GCC internal prototype to avoid an error.
18624 Use char because int might match the return type of a GCC
18625 builtin and then its argument prototype would still apply. */
18626 #ifdef __cplusplus
18627 extern "C"
18628 #endif
18629 char drand48 ();
18630 int
18631 main ()
18632 {
18633 return drand48 ();
18634 ;
18635 return 0;
18636 }
18637 _ACEOF
18638 rm -f conftest.$ac_objext conftest$ac_exeext
18639 if { (ac_try="$ac_link"
18640 case "(($ac_try" in
18641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18642 *) ac_try_echo=$ac_try;;
18643 esac
18644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18645 (eval "$ac_link") 2>conftest.er1
18646 ac_status=$?
18647 grep -v '^ *+' conftest.er1 >conftest.err
18648 rm -f conftest.er1
18649 cat conftest.err >&5
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); } && {
18652 test -z "$ac_c_werror_flag" ||
18653 test ! -s conftest.err
18654 } && test -s conftest$ac_exeext &&
18655 $as_test_x conftest$ac_exeext; then
18656 ac_cv_lib_cExt_drand48=yes
18657 else
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18660
18661 ac_cv_lib_cExt_drand48=no
18662 fi
18663
18664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18665 conftest$ac_exeext conftest.$ac_ext
18666 LIBS=$ac_check_lib_save_LIBS
18667 fi
18668 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18669 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18670 if test $ac_cv_lib_cExt_drand48 = yes; then
18671 LIBS="$LIBS -lcExt"
18672 fi
18673
18674 else
18675 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18676 fi
18677 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18678 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18679 if test "${wx_cv_gccversion+set}" = set; then
18680 echo $ECHO_N "(cached) $ECHO_C" >&6
18681 else
18682
18683 if test "$cross_compiling" = yes; then
18684 wx_cv_gccversion="EMX2"
18685
18686 else
18687 cat >conftest.$ac_ext <<_ACEOF
18688 /* confdefs.h. */
18689 _ACEOF
18690 cat confdefs.h >>conftest.$ac_ext
18691 cat >>conftest.$ac_ext <<_ACEOF
18692 /* end confdefs.h. */
18693
18694 #include <stdio.h>
18695
18696 int main()
18697 {
18698 FILE *f=fopen("conftestval", "w");
18699 if (!f) exit(1);
18700 fprintf(f,
18701 #if (__GNUC__ < 3)
18702 "EMX2"
18703 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18704 "EMX3"
18705 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18706 "Innotek5"
18707 #else
18708 "Innotek6"
18709 #endif
18710 );
18711 exit(0);
18712 }
18713
18714 _ACEOF
18715 rm -f conftest$ac_exeext
18716 if { (ac_try="$ac_link"
18717 case "(($ac_try" in
18718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18719 *) ac_try_echo=$ac_try;;
18720 esac
18721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18722 (eval "$ac_link") 2>&5
18723 ac_status=$?
18724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18725 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18726 { (case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_try") 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; }; then
18735 wx_cv_gccversion=`cat conftestval`
18736 else
18737 echo "$as_me: program exited with status $ac_status" >&5
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.$ac_ext >&5
18740
18741 ( exit $ac_status )
18742 wx_cv_gccversion="EMX2"
18743 fi
18744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18745 fi
18746
18747
18748
18749 fi
18750 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18751 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18752 if test "$wx_cv_gccversion" = "EMX2"; then
18753 LIBS="$LIBS -lstdcpp"
18754 LDFLAGS="$LDFLAGS -Zsysv-signals"
18755 else
18756 if test "$wx_cv_gccversion" = "EMX3"; then
18757 LIBS="$LIBS -lstdcxx -lgcc"
18758 LDFLAGS="$LDFLAGS -Zsysv-signals"
18759 else
18760 LIBS="$LIBS -lstdc++"
18761 fi
18762 fi
18763 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18764 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18765 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18766 wxUSE_OMF=yes
18767 enable_omf=yes
18768 fi
18769 ;;
18770 *)
18771
18772 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18773 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18774 if test "${ac_cv_string_strcasecmp+set}" = set; then
18775 echo $ECHO_N "(cached) $ECHO_C" >&6
18776 else
18777
18778 cat >conftest.$ac_ext <<_ACEOF
18779 /* confdefs.h. */
18780 _ACEOF
18781 cat confdefs.h >>conftest.$ac_ext
18782 cat >>conftest.$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784
18785 #include <string.h>
18786
18787 int
18788 main ()
18789 {
18790
18791 strcasecmp("foo", "bar");
18792
18793 ;
18794 return 0;
18795 }
18796 _ACEOF
18797 rm -f conftest.$ac_objext conftest$ac_exeext
18798 if { (ac_try="$ac_link"
18799 case "(($ac_try" in
18800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18801 *) ac_try_echo=$ac_try;;
18802 esac
18803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18804 (eval "$ac_link") 2>conftest.er1
18805 ac_status=$?
18806 grep -v '^ *+' conftest.er1 >conftest.err
18807 rm -f conftest.er1
18808 cat conftest.err >&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); } && {
18811 test -z "$ac_c_werror_flag" ||
18812 test ! -s conftest.err
18813 } && test -s conftest$ac_exeext &&
18814 $as_test_x conftest$ac_exeext; then
18815 ac_cv_string_strcasecmp=yes
18816 else
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.$ac_ext >&5
18819
18820 ac_cv_string_strcasecmp=no
18821
18822 fi
18823
18824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18825 conftest$ac_exeext conftest.$ac_ext
18826
18827 fi
18828 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18829 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18830
18831 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18832 cat >>confdefs.h <<\_ACEOF
18833 #define HAVE_STRCASECMP_IN_STRING_H 1
18834 _ACEOF
18835
18836 else
18837 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18838 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18839 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18840 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 else
18842
18843 cat >conftest.$ac_ext <<_ACEOF
18844 /* confdefs.h. */
18845 _ACEOF
18846 cat confdefs.h >>conftest.$ac_ext
18847 cat >>conftest.$ac_ext <<_ACEOF
18848 /* end confdefs.h. */
18849
18850 #include <strings.h>
18851
18852 int
18853 main ()
18854 {
18855
18856 strcasecmp("foo", "bar");
18857
18858 ;
18859 return 0;
18860 }
18861 _ACEOF
18862 rm -f conftest.$ac_objext conftest$ac_exeext
18863 if { (ac_try="$ac_link"
18864 case "(($ac_try" in
18865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18866 *) ac_try_echo=$ac_try;;
18867 esac
18868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18869 (eval "$ac_link") 2>conftest.er1
18870 ac_status=$?
18871 grep -v '^ *+' conftest.er1 >conftest.err
18872 rm -f conftest.er1
18873 cat conftest.err >&5
18874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18875 (exit $ac_status); } && {
18876 test -z "$ac_c_werror_flag" ||
18877 test ! -s conftest.err
18878 } && test -s conftest$ac_exeext &&
18879 $as_test_x conftest$ac_exeext; then
18880 ac_cv_strings_strcasecmp=yes
18881 else
18882 echo "$as_me: failed program was:" >&5
18883 sed 's/^/| /' conftest.$ac_ext >&5
18884
18885 ac_cv_strings_strcasecmp=no
18886
18887 fi
18888
18889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18890 conftest$ac_exeext conftest.$ac_ext
18891
18892 fi
18893 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18894 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18895
18896 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18897 cat >>confdefs.h <<\_ACEOF
18898 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18899 _ACEOF
18900
18901 else
18902 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18903 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18904 { (exit 1); exit 1; }; }
18905 fi
18906 fi
18907
18908 ;;
18909 esac
18910
18911
18912 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18913 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18914 if test "${ac_cv_header_stdc+set}" = set; then
18915 echo $ECHO_N "(cached) $ECHO_C" >&6
18916 else
18917 cat >conftest.$ac_ext <<_ACEOF
18918 /* confdefs.h. */
18919 _ACEOF
18920 cat confdefs.h >>conftest.$ac_ext
18921 cat >>conftest.$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18923 #include <stdlib.h>
18924 #include <stdarg.h>
18925 #include <string.h>
18926 #include <float.h>
18927
18928 int
18929 main ()
18930 {
18931
18932 ;
18933 return 0;
18934 }
18935 _ACEOF
18936 rm -f conftest.$ac_objext
18937 if { (ac_try="$ac_compile"
18938 case "(($ac_try" in
18939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18940 *) ac_try_echo=$ac_try;;
18941 esac
18942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18943 (eval "$ac_compile") 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } && {
18950 test -z "$ac_c_werror_flag" ||
18951 test ! -s conftest.err
18952 } && test -s conftest.$ac_objext; then
18953 ac_cv_header_stdc=yes
18954 else
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18957
18958 ac_cv_header_stdc=no
18959 fi
18960
18961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18962
18963 if test $ac_cv_header_stdc = yes; then
18964 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18965 cat >conftest.$ac_ext <<_ACEOF
18966 /* confdefs.h. */
18967 _ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18971 #include <string.h>
18972
18973 _ACEOF
18974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18975 $EGREP "memchr" >/dev/null 2>&1; then
18976 :
18977 else
18978 ac_cv_header_stdc=no
18979 fi
18980 rm -f conftest*
18981
18982 fi
18983
18984 if test $ac_cv_header_stdc = yes; then
18985 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18986 cat >conftest.$ac_ext <<_ACEOF
18987 /* confdefs.h. */
18988 _ACEOF
18989 cat confdefs.h >>conftest.$ac_ext
18990 cat >>conftest.$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992 #include <stdlib.h>
18993
18994 _ACEOF
18995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18996 $EGREP "free" >/dev/null 2>&1; then
18997 :
18998 else
18999 ac_cv_header_stdc=no
19000 fi
19001 rm -f conftest*
19002
19003 fi
19004
19005 if test $ac_cv_header_stdc = yes; then
19006 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19007 if test "$cross_compiling" = yes; then
19008 :
19009 else
19010 cat >conftest.$ac_ext <<_ACEOF
19011 /* confdefs.h. */
19012 _ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 #include <ctype.h>
19017 #include <stdlib.h>
19018 #if ((' ' & 0x0FF) == 0x020)
19019 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19020 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19021 #else
19022 # define ISLOWER(c) \
19023 (('a' <= (c) && (c) <= 'i') \
19024 || ('j' <= (c) && (c) <= 'r') \
19025 || ('s' <= (c) && (c) <= 'z'))
19026 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19027 #endif
19028
19029 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19030 int
19031 main ()
19032 {
19033 int i;
19034 for (i = 0; i < 256; i++)
19035 if (XOR (islower (i), ISLOWER (i))
19036 || toupper (i) != TOUPPER (i))
19037 return 2;
19038 return 0;
19039 }
19040 _ACEOF
19041 rm -f conftest$ac_exeext
19042 if { (ac_try="$ac_link"
19043 case "(($ac_try" in
19044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19045 *) ac_try_echo=$ac_try;;
19046 esac
19047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19048 (eval "$ac_link") 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19052 { (case "(($ac_try" in
19053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19054 *) ac_try_echo=$ac_try;;
19055 esac
19056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19057 (eval "$ac_try") 2>&5
19058 ac_status=$?
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); }; }; then
19061 :
19062 else
19063 echo "$as_me: program exited with status $ac_status" >&5
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19066
19067 ( exit $ac_status )
19068 ac_cv_header_stdc=no
19069 fi
19070 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19071 fi
19072
19073
19074 fi
19075 fi
19076 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19077 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19078 if test $ac_cv_header_stdc = yes; then
19079
19080 cat >>confdefs.h <<\_ACEOF
19081 #define STDC_HEADERS 1
19082 _ACEOF
19083
19084 fi
19085
19086 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19097 inttypes.h stdint.h unistd.h
19098 do
19099 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19100 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19102 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19103 echo $ECHO_N "(cached) $ECHO_C" >&6
19104 else
19105 cat >conftest.$ac_ext <<_ACEOF
19106 /* confdefs.h. */
19107 _ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h. */
19111 $ac_includes_default
19112
19113 #include <$ac_header>
19114 _ACEOF
19115 rm -f conftest.$ac_objext
19116 if { (ac_try="$ac_compile"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19120 esac
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_compile") 2>conftest.er1
19123 ac_status=$?
19124 grep -v '^ *+' conftest.er1 >conftest.err
19125 rm -f conftest.er1
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_c_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest.$ac_objext; then
19132 eval "$as_ac_Header=yes"
19133 else
19134 echo "$as_me: failed program was:" >&5
19135 sed 's/^/| /' conftest.$ac_ext >&5
19136
19137 eval "$as_ac_Header=no"
19138 fi
19139
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19141 fi
19142 ac_res=`eval echo '${'$as_ac_Header'}'`
19143 { echo "$as_me:$LINENO: result: $ac_res" >&5
19144 echo "${ECHO_T}$ac_res" >&6; }
19145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19146 cat >>confdefs.h <<_ACEOF
19147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19148 _ACEOF
19149
19150 fi
19151
19152 done
19153
19154
19155
19156
19157 for ac_header in langinfo.h wchar.h
19158 do
19159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19160 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19163 echo $ECHO_N "(cached) $ECHO_C" >&6
19164 else
19165 cat >conftest.$ac_ext <<_ACEOF
19166 /* confdefs.h. */
19167 _ACEOF
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19171 $ac_includes_default
19172
19173 #include <$ac_header>
19174 _ACEOF
19175 rm -f conftest.$ac_objext
19176 if { (ac_try="$ac_compile"
19177 case "(($ac_try" in
19178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19179 *) ac_try_echo=$ac_try;;
19180 esac
19181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19182 (eval "$ac_compile") 2>conftest.er1
19183 ac_status=$?
19184 grep -v '^ *+' conftest.er1 >conftest.err
19185 rm -f conftest.er1
19186 cat conftest.err >&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } && {
19189 test -z "$ac_c_werror_flag" ||
19190 test ! -s conftest.err
19191 } && test -s conftest.$ac_objext; then
19192 eval "$as_ac_Header=yes"
19193 else
19194 echo "$as_me: failed program was:" >&5
19195 sed 's/^/| /' conftest.$ac_ext >&5
19196
19197 eval "$as_ac_Header=no"
19198 fi
19199
19200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19201 fi
19202 ac_res=`eval echo '${'$as_ac_Header'}'`
19203 { echo "$as_me:$LINENO: result: $ac_res" >&5
19204 echo "${ECHO_T}$ac_res" >&6; }
19205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19206 cat >>confdefs.h <<_ACEOF
19207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19208 _ACEOF
19209
19210 fi
19211
19212 done
19213
19214
19215 if test "$ac_cv_header_wchar_h" != "yes"; then
19216
19217 for ac_header in wcstr.h
19218 do
19219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19223 echo $ECHO_N "(cached) $ECHO_C" >&6
19224 else
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 $ac_includes_default
19232
19233 #include <$ac_header>
19234 _ACEOF
19235 rm -f conftest.$ac_objext
19236 if { (ac_try="$ac_compile"
19237 case "(($ac_try" in
19238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19239 *) ac_try_echo=$ac_try;;
19240 esac
19241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_compile") 2>conftest.er1
19243 ac_status=$?
19244 grep -v '^ *+' conftest.er1 >conftest.err
19245 rm -f conftest.er1
19246 cat conftest.err >&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } && {
19249 test -z "$ac_c_werror_flag" ||
19250 test ! -s conftest.err
19251 } && test -s conftest.$ac_objext; then
19252 eval "$as_ac_Header=yes"
19253 else
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19256
19257 eval "$as_ac_Header=no"
19258 fi
19259
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261 fi
19262 ac_res=`eval echo '${'$as_ac_Header'}'`
19263 { echo "$as_me:$LINENO: result: $ac_res" >&5
19264 echo "${ECHO_T}$ac_res" >&6; }
19265 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19266 cat >>confdefs.h <<_ACEOF
19267 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19268 _ACEOF
19269
19270 fi
19271
19272 done
19273
19274 fi
19275
19276 case "${host}" in
19277 *-pc-os2_emx | *-pc-os2-emx )
19278 if test $ac_cv_header_langinfo_h = "yes" \
19279 -a \( "$wx_cv_gccversion" = "EMX2" \
19280 -o "$wx_cv_gccversion" = "EMX3" \
19281 -o "$wx_cv_gccversion" = "Innotek5" \); then
19282 LIBS="$LIBS -lintl"
19283 fi
19284 ;;
19285 esac
19286
19287 if test "$USE_UNIX" = 1 ; then
19288
19289 for ac_header in sys/select.h
19290 do
19291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 else
19297 cat >conftest.$ac_ext <<_ACEOF
19298 /* confdefs.h. */
19299 _ACEOF
19300 cat confdefs.h >>conftest.$ac_ext
19301 cat >>conftest.$ac_ext <<_ACEOF
19302 /* end confdefs.h. */
19303 $ac_includes_default
19304
19305 #include <$ac_header>
19306 _ACEOF
19307 rm -f conftest.$ac_objext
19308 if { (ac_try="$ac_compile"
19309 case "(($ac_try" in
19310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19311 *) ac_try_echo=$ac_try;;
19312 esac
19313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19314 (eval "$ac_compile") 2>conftest.er1
19315 ac_status=$?
19316 grep -v '^ *+' conftest.er1 >conftest.err
19317 rm -f conftest.er1
19318 cat conftest.err >&5
19319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19320 (exit $ac_status); } && {
19321 test -z "$ac_c_werror_flag" ||
19322 test ! -s conftest.err
19323 } && test -s conftest.$ac_objext; then
19324 eval "$as_ac_Header=yes"
19325 else
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.$ac_ext >&5
19328
19329 eval "$as_ac_Header=no"
19330 fi
19331
19332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19333 fi
19334 ac_res=`eval echo '${'$as_ac_Header'}'`
19335 { echo "$as_me:$LINENO: result: $ac_res" >&5
19336 echo "${ECHO_T}$ac_res" >&6; }
19337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19338 cat >>confdefs.h <<_ACEOF
19339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19340 _ACEOF
19341
19342 fi
19343
19344 done
19345
19346 fi
19347
19348
19349 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19350 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19351 if test "${ac_cv_c_const+set}" = set; then
19352 echo $ECHO_N "(cached) $ECHO_C" >&6
19353 else
19354 cat >conftest.$ac_ext <<_ACEOF
19355 /* confdefs.h. */
19356 _ACEOF
19357 cat confdefs.h >>conftest.$ac_ext
19358 cat >>conftest.$ac_ext <<_ACEOF
19359 /* end confdefs.h. */
19360
19361 int
19362 main ()
19363 {
19364 /* FIXME: Include the comments suggested by Paul. */
19365 #ifndef __cplusplus
19366 /* Ultrix mips cc rejects this. */
19367 typedef int charset[2];
19368 const charset cs;
19369 /* SunOS 4.1.1 cc rejects this. */
19370 char const *const *pcpcc;
19371 char **ppc;
19372 /* NEC SVR4.0.2 mips cc rejects this. */
19373 struct point {int x, y;};
19374 static struct point const zero = {0,0};
19375 /* AIX XL C 1.02.0.0 rejects this.
19376 It does not let you subtract one const X* pointer from another in
19377 an arm of an if-expression whose if-part is not a constant
19378 expression */
19379 const char *g = "string";
19380 pcpcc = &g + (g ? g-g : 0);
19381 /* HPUX 7.0 cc rejects these. */
19382 ++pcpcc;
19383 ppc = (char**) pcpcc;
19384 pcpcc = (char const *const *) ppc;
19385 { /* SCO 3.2v4 cc rejects this. */
19386 char *t;
19387 char const *s = 0 ? (char *) 0 : (char const *) 0;
19388
19389 *t++ = 0;
19390 if (s) return 0;
19391 }
19392 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19393 int x[] = {25, 17};
19394 const int *foo = &x[0];
19395 ++foo;
19396 }
19397 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19398 typedef const int *iptr;
19399 iptr p = 0;
19400 ++p;
19401 }
19402 { /* AIX XL C 1.02.0.0 rejects this saying
19403 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19404 struct s { int j; const int *ap[3]; };
19405 struct s *b; b->j = 5;
19406 }
19407 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19408 const int foo = 10;
19409 if (!foo) return 0;
19410 }
19411 return !cs[0] && !zero.x;
19412 #endif
19413
19414 ;
19415 return 0;
19416 }
19417 _ACEOF
19418 rm -f conftest.$ac_objext
19419 if { (ac_try="$ac_compile"
19420 case "(($ac_try" in
19421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19422 *) ac_try_echo=$ac_try;;
19423 esac
19424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19425 (eval "$ac_compile") 2>conftest.er1
19426 ac_status=$?
19427 grep -v '^ *+' conftest.er1 >conftest.err
19428 rm -f conftest.er1
19429 cat conftest.err >&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); } && {
19432 test -z "$ac_c_werror_flag" ||
19433 test ! -s conftest.err
19434 } && test -s conftest.$ac_objext; then
19435 ac_cv_c_const=yes
19436 else
19437 echo "$as_me: failed program was:" >&5
19438 sed 's/^/| /' conftest.$ac_ext >&5
19439
19440 ac_cv_c_const=no
19441 fi
19442
19443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19444 fi
19445 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19446 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19447 if test $ac_cv_c_const = no; then
19448
19449 cat >>confdefs.h <<\_ACEOF
19450 #define const
19451 _ACEOF
19452
19453 fi
19454
19455 { echo "$as_me:$LINENO: checking for inline" >&5
19456 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19457 if test "${ac_cv_c_inline+set}" = set; then
19458 echo $ECHO_N "(cached) $ECHO_C" >&6
19459 else
19460 ac_cv_c_inline=no
19461 for ac_kw in inline __inline__ __inline; do
19462 cat >conftest.$ac_ext <<_ACEOF
19463 /* confdefs.h. */
19464 _ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 #ifndef __cplusplus
19469 typedef int foo_t;
19470 static $ac_kw foo_t static_foo () {return 0; }
19471 $ac_kw foo_t foo () {return 0; }
19472 #endif
19473
19474 _ACEOF
19475 rm -f conftest.$ac_objext
19476 if { (ac_try="$ac_compile"
19477 case "(($ac_try" in
19478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19479 *) ac_try_echo=$ac_try;;
19480 esac
19481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19482 (eval "$ac_compile") 2>conftest.er1
19483 ac_status=$?
19484 grep -v '^ *+' conftest.er1 >conftest.err
19485 rm -f conftest.er1
19486 cat conftest.err >&5
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); } && {
19489 test -z "$ac_c_werror_flag" ||
19490 test ! -s conftest.err
19491 } && test -s conftest.$ac_objext; then
19492 ac_cv_c_inline=$ac_kw
19493 else
19494 echo "$as_me: failed program was:" >&5
19495 sed 's/^/| /' conftest.$ac_ext >&5
19496
19497
19498 fi
19499
19500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19501 test "$ac_cv_c_inline" != no && break
19502 done
19503
19504 fi
19505 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19506 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19507
19508
19509 case $ac_cv_c_inline in
19510 inline | yes) ;;
19511 *)
19512 case $ac_cv_c_inline in
19513 no) ac_val=;;
19514 *) ac_val=$ac_cv_c_inline;;
19515 esac
19516 cat >>confdefs.h <<_ACEOF
19517 #ifndef __cplusplus
19518 #define inline $ac_val
19519 #endif
19520 _ACEOF
19521 ;;
19522 esac
19523
19524
19525 { echo "$as_me:$LINENO: checking for short" >&5
19526 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19527 if test "${ac_cv_type_short+set}" = set; then
19528 echo $ECHO_N "(cached) $ECHO_C" >&6
19529 else
19530 cat >conftest.$ac_ext <<_ACEOF
19531 /* confdefs.h. */
19532 _ACEOF
19533 cat confdefs.h >>conftest.$ac_ext
19534 cat >>conftest.$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 $ac_includes_default
19537 typedef short ac__type_new_;
19538 int
19539 main ()
19540 {
19541 if ((ac__type_new_ *) 0)
19542 return 0;
19543 if (sizeof (ac__type_new_))
19544 return 0;
19545 ;
19546 return 0;
19547 }
19548 _ACEOF
19549 rm -f conftest.$ac_objext
19550 if { (ac_try="$ac_compile"
19551 case "(($ac_try" in
19552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19553 *) ac_try_echo=$ac_try;;
19554 esac
19555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19556 (eval "$ac_compile") 2>conftest.er1
19557 ac_status=$?
19558 grep -v '^ *+' conftest.er1 >conftest.err
19559 rm -f conftest.er1
19560 cat conftest.err >&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } && {
19563 test -z "$ac_c_werror_flag" ||
19564 test ! -s conftest.err
19565 } && test -s conftest.$ac_objext; then
19566 ac_cv_type_short=yes
19567 else
19568 echo "$as_me: failed program was:" >&5
19569 sed 's/^/| /' conftest.$ac_ext >&5
19570
19571 ac_cv_type_short=no
19572 fi
19573
19574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19575 fi
19576 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19577 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19578
19579 # The cast to long int works around a bug in the HP C Compiler
19580 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19581 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19582 # This bug is HP SR number 8606223364.
19583 { echo "$as_me:$LINENO: checking size of short" >&5
19584 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19585 if test "${ac_cv_sizeof_short+set}" = set; then
19586 echo $ECHO_N "(cached) $ECHO_C" >&6
19587 else
19588 if test "$cross_compiling" = yes; then
19589 # Depending upon the size, compute the lo and hi bounds.
19590 cat >conftest.$ac_ext <<_ACEOF
19591 /* confdefs.h. */
19592 _ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 typedef short ac__type_sizeof_;
19598 int
19599 main ()
19600 {
19601 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19602 test_array [0] = 0
19603
19604 ;
19605 return 0;
19606 }
19607 _ACEOF
19608 rm -f conftest.$ac_objext
19609 if { (ac_try="$ac_compile"
19610 case "(($ac_try" in
19611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19612 *) ac_try_echo=$ac_try;;
19613 esac
19614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19615 (eval "$ac_compile") 2>conftest.er1
19616 ac_status=$?
19617 grep -v '^ *+' conftest.er1 >conftest.err
19618 rm -f conftest.er1
19619 cat conftest.err >&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } && {
19622 test -z "$ac_c_werror_flag" ||
19623 test ! -s conftest.err
19624 } && test -s conftest.$ac_objext; then
19625 ac_lo=0 ac_mid=0
19626 while :; do
19627 cat >conftest.$ac_ext <<_ACEOF
19628 /* confdefs.h. */
19629 _ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 $ac_includes_default
19634 typedef short ac__type_sizeof_;
19635 int
19636 main ()
19637 {
19638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19639 test_array [0] = 0
19640
19641 ;
19642 return 0;
19643 }
19644 _ACEOF
19645 rm -f conftest.$ac_objext
19646 if { (ac_try="$ac_compile"
19647 case "(($ac_try" in
19648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19649 *) ac_try_echo=$ac_try;;
19650 esac
19651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19652 (eval "$ac_compile") 2>conftest.er1
19653 ac_status=$?
19654 grep -v '^ *+' conftest.er1 >conftest.err
19655 rm -f conftest.er1
19656 cat conftest.err >&5
19657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19658 (exit $ac_status); } && {
19659 test -z "$ac_c_werror_flag" ||
19660 test ! -s conftest.err
19661 } && test -s conftest.$ac_objext; then
19662 ac_hi=$ac_mid; break
19663 else
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.$ac_ext >&5
19666
19667 ac_lo=`expr $ac_mid + 1`
19668 if test $ac_lo -le $ac_mid; then
19669 ac_lo= ac_hi=
19670 break
19671 fi
19672 ac_mid=`expr 2 '*' $ac_mid + 1`
19673 fi
19674
19675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19676 done
19677 else
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19680
19681 cat >conftest.$ac_ext <<_ACEOF
19682 /* confdefs.h. */
19683 _ACEOF
19684 cat confdefs.h >>conftest.$ac_ext
19685 cat >>conftest.$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 $ac_includes_default
19688 typedef short ac__type_sizeof_;
19689 int
19690 main ()
19691 {
19692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19693 test_array [0] = 0
19694
19695 ;
19696 return 0;
19697 }
19698 _ACEOF
19699 rm -f conftest.$ac_objext
19700 if { (ac_try="$ac_compile"
19701 case "(($ac_try" in
19702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19703 *) ac_try_echo=$ac_try;;
19704 esac
19705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19706 (eval "$ac_compile") 2>conftest.er1
19707 ac_status=$?
19708 grep -v '^ *+' conftest.er1 >conftest.err
19709 rm -f conftest.er1
19710 cat conftest.err >&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } && {
19713 test -z "$ac_c_werror_flag" ||
19714 test ! -s conftest.err
19715 } && test -s conftest.$ac_objext; then
19716 ac_hi=-1 ac_mid=-1
19717 while :; do
19718 cat >conftest.$ac_ext <<_ACEOF
19719 /* confdefs.h. */
19720 _ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19724 $ac_includes_default
19725 typedef short ac__type_sizeof_;
19726 int
19727 main ()
19728 {
19729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19730 test_array [0] = 0
19731
19732 ;
19733 return 0;
19734 }
19735 _ACEOF
19736 rm -f conftest.$ac_objext
19737 if { (ac_try="$ac_compile"
19738 case "(($ac_try" in
19739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19740 *) ac_try_echo=$ac_try;;
19741 esac
19742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19743 (eval "$ac_compile") 2>conftest.er1
19744 ac_status=$?
19745 grep -v '^ *+' conftest.er1 >conftest.err
19746 rm -f conftest.er1
19747 cat conftest.err >&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); } && {
19750 test -z "$ac_c_werror_flag" ||
19751 test ! -s conftest.err
19752 } && test -s conftest.$ac_objext; then
19753 ac_lo=$ac_mid; break
19754 else
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.$ac_ext >&5
19757
19758 ac_hi=`expr '(' $ac_mid ')' - 1`
19759 if test $ac_mid -le $ac_hi; then
19760 ac_lo= ac_hi=
19761 break
19762 fi
19763 ac_mid=`expr 2 '*' $ac_mid`
19764 fi
19765
19766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19767 done
19768 else
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.$ac_ext >&5
19771
19772 ac_lo= ac_hi=
19773 fi
19774
19775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19776 fi
19777
19778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19779 # Binary search between lo and hi bounds.
19780 while test "x$ac_lo" != "x$ac_hi"; do
19781 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19782 cat >conftest.$ac_ext <<_ACEOF
19783 /* confdefs.h. */
19784 _ACEOF
19785 cat confdefs.h >>conftest.$ac_ext
19786 cat >>conftest.$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19788 $ac_includes_default
19789 typedef short ac__type_sizeof_;
19790 int
19791 main ()
19792 {
19793 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19794 test_array [0] = 0
19795
19796 ;
19797 return 0;
19798 }
19799 _ACEOF
19800 rm -f conftest.$ac_objext
19801 if { (ac_try="$ac_compile"
19802 case "(($ac_try" in
19803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19804 *) ac_try_echo=$ac_try;;
19805 esac
19806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19807 (eval "$ac_compile") 2>conftest.er1
19808 ac_status=$?
19809 grep -v '^ *+' conftest.er1 >conftest.err
19810 rm -f conftest.er1
19811 cat conftest.err >&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813 (exit $ac_status); } && {
19814 test -z "$ac_c_werror_flag" ||
19815 test ! -s conftest.err
19816 } && test -s conftest.$ac_objext; then
19817 ac_hi=$ac_mid
19818 else
19819 echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.$ac_ext >&5
19821
19822 ac_lo=`expr '(' $ac_mid ')' + 1`
19823 fi
19824
19825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19826 done
19827 case $ac_lo in
19828 ?*) ac_cv_sizeof_short=$ac_lo;;
19829 '') if test "$ac_cv_type_short" = yes; then
19830 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19831 See \`config.log' for more details." >&5
19832 echo "$as_me: error: cannot compute sizeof (short)
19833 See \`config.log' for more details." >&2;}
19834 { (exit 77); exit 77; }; }
19835 else
19836 ac_cv_sizeof_short=0
19837 fi ;;
19838 esac
19839 else
19840 cat >conftest.$ac_ext <<_ACEOF
19841 /* confdefs.h. */
19842 _ACEOF
19843 cat confdefs.h >>conftest.$ac_ext
19844 cat >>conftest.$ac_ext <<_ACEOF
19845 /* end confdefs.h. */
19846 $ac_includes_default
19847 typedef short ac__type_sizeof_;
19848 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19849 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19850 #include <stdio.h>
19851 #include <stdlib.h>
19852 int
19853 main ()
19854 {
19855
19856 FILE *f = fopen ("conftest.val", "w");
19857 if (! f)
19858 return 1;
19859 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19860 {
19861 long int i = longval ();
19862 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19863 return 1;
19864 fprintf (f, "%ld\n", i);
19865 }
19866 else
19867 {
19868 unsigned long int i = ulongval ();
19869 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19870 return 1;
19871 fprintf (f, "%lu\n", i);
19872 }
19873 return ferror (f) || fclose (f) != 0;
19874
19875 ;
19876 return 0;
19877 }
19878 _ACEOF
19879 rm -f conftest$ac_exeext
19880 if { (ac_try="$ac_link"
19881 case "(($ac_try" in
19882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19883 *) ac_try_echo=$ac_try;;
19884 esac
19885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19886 (eval "$ac_link") 2>&5
19887 ac_status=$?
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19890 { (case "(($ac_try" in
19891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19892 *) ac_try_echo=$ac_try;;
19893 esac
19894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19895 (eval "$ac_try") 2>&5
19896 ac_status=$?
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; }; then
19899 ac_cv_sizeof_short=`cat conftest.val`
19900 else
19901 echo "$as_me: program exited with status $ac_status" >&5
19902 echo "$as_me: failed program was:" >&5
19903 sed 's/^/| /' conftest.$ac_ext >&5
19904
19905 ( exit $ac_status )
19906 if test "$ac_cv_type_short" = yes; then
19907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19908 See \`config.log' for more details." >&5
19909 echo "$as_me: error: cannot compute sizeof (short)
19910 See \`config.log' for more details." >&2;}
19911 { (exit 77); exit 77; }; }
19912 else
19913 ac_cv_sizeof_short=0
19914 fi
19915 fi
19916 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19917 fi
19918 rm -f conftest.val
19919 fi
19920 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19921 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19922
19923
19924
19925 cat >>confdefs.h <<_ACEOF
19926 #define SIZEOF_SHORT $ac_cv_sizeof_short
19927 _ACEOF
19928
19929
19930 { echo "$as_me:$LINENO: checking for void *" >&5
19931 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19932 if test "${ac_cv_type_void_p+set}" = set; then
19933 echo $ECHO_N "(cached) $ECHO_C" >&6
19934 else
19935 cat >conftest.$ac_ext <<_ACEOF
19936 /* confdefs.h. */
19937 _ACEOF
19938 cat confdefs.h >>conftest.$ac_ext
19939 cat >>conftest.$ac_ext <<_ACEOF
19940 /* end confdefs.h. */
19941 $ac_includes_default
19942 typedef void * ac__type_new_;
19943 int
19944 main ()
19945 {
19946 if ((ac__type_new_ *) 0)
19947 return 0;
19948 if (sizeof (ac__type_new_))
19949 return 0;
19950 ;
19951 return 0;
19952 }
19953 _ACEOF
19954 rm -f conftest.$ac_objext
19955 if { (ac_try="$ac_compile"
19956 case "(($ac_try" in
19957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19958 *) ac_try_echo=$ac_try;;
19959 esac
19960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_compile") 2>conftest.er1
19962 ac_status=$?
19963 grep -v '^ *+' conftest.er1 >conftest.err
19964 rm -f conftest.er1
19965 cat conftest.err >&5
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); } && {
19968 test -z "$ac_c_werror_flag" ||
19969 test ! -s conftest.err
19970 } && test -s conftest.$ac_objext; then
19971 ac_cv_type_void_p=yes
19972 else
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.$ac_ext >&5
19975
19976 ac_cv_type_void_p=no
19977 fi
19978
19979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19980 fi
19981 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19982 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19983
19984 # The cast to long int works around a bug in the HP C Compiler
19985 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19986 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19987 # This bug is HP SR number 8606223364.
19988 { echo "$as_me:$LINENO: checking size of void *" >&5
19989 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19990 if test "${ac_cv_sizeof_void_p+set}" = set; then
19991 echo $ECHO_N "(cached) $ECHO_C" >&6
19992 else
19993 if test "$cross_compiling" = yes; then
19994 # Depending upon the size, compute the lo and hi bounds.
19995 cat >conftest.$ac_ext <<_ACEOF
19996 /* confdefs.h. */
19997 _ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20001 $ac_includes_default
20002 typedef void * ac__type_sizeof_;
20003 int
20004 main ()
20005 {
20006 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20007 test_array [0] = 0
20008
20009 ;
20010 return 0;
20011 }
20012 _ACEOF
20013 rm -f conftest.$ac_objext
20014 if { (ac_try="$ac_compile"
20015 case "(($ac_try" in
20016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20017 *) ac_try_echo=$ac_try;;
20018 esac
20019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20020 (eval "$ac_compile") 2>conftest.er1
20021 ac_status=$?
20022 grep -v '^ *+' conftest.er1 >conftest.err
20023 rm -f conftest.er1
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } && {
20027 test -z "$ac_c_werror_flag" ||
20028 test ! -s conftest.err
20029 } && test -s conftest.$ac_objext; then
20030 ac_lo=0 ac_mid=0
20031 while :; do
20032 cat >conftest.$ac_ext <<_ACEOF
20033 /* confdefs.h. */
20034 _ACEOF
20035 cat confdefs.h >>conftest.$ac_ext
20036 cat >>conftest.$ac_ext <<_ACEOF
20037 /* end confdefs.h. */
20038 $ac_includes_default
20039 typedef void * ac__type_sizeof_;
20040 int
20041 main ()
20042 {
20043 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20044 test_array [0] = 0
20045
20046 ;
20047 return 0;
20048 }
20049 _ACEOF
20050 rm -f conftest.$ac_objext
20051 if { (ac_try="$ac_compile"
20052 case "(($ac_try" in
20053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20054 *) ac_try_echo=$ac_try;;
20055 esac
20056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20057 (eval "$ac_compile") 2>conftest.er1
20058 ac_status=$?
20059 grep -v '^ *+' conftest.er1 >conftest.err
20060 rm -f conftest.er1
20061 cat conftest.err >&5
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); } && {
20064 test -z "$ac_c_werror_flag" ||
20065 test ! -s conftest.err
20066 } && test -s conftest.$ac_objext; then
20067 ac_hi=$ac_mid; break
20068 else
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20071
20072 ac_lo=`expr $ac_mid + 1`
20073 if test $ac_lo -le $ac_mid; then
20074 ac_lo= ac_hi=
20075 break
20076 fi
20077 ac_mid=`expr 2 '*' $ac_mid + 1`
20078 fi
20079
20080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20081 done
20082 else
20083 echo "$as_me: failed program was:" >&5
20084 sed 's/^/| /' conftest.$ac_ext >&5
20085
20086 cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h. */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20093 typedef void * ac__type_sizeof_;
20094 int
20095 main ()
20096 {
20097 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20098 test_array [0] = 0
20099
20100 ;
20101 return 0;
20102 }
20103 _ACEOF
20104 rm -f conftest.$ac_objext
20105 if { (ac_try="$ac_compile"
20106 case "(($ac_try" in
20107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20108 *) ac_try_echo=$ac_try;;
20109 esac
20110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20111 (eval "$ac_compile") 2>conftest.er1
20112 ac_status=$?
20113 grep -v '^ *+' conftest.er1 >conftest.err
20114 rm -f conftest.er1
20115 cat conftest.err >&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); } && {
20118 test -z "$ac_c_werror_flag" ||
20119 test ! -s conftest.err
20120 } && test -s conftest.$ac_objext; then
20121 ac_hi=-1 ac_mid=-1
20122 while :; do
20123 cat >conftest.$ac_ext <<_ACEOF
20124 /* confdefs.h. */
20125 _ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 $ac_includes_default
20130 typedef void * ac__type_sizeof_;
20131 int
20132 main ()
20133 {
20134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20135 test_array [0] = 0
20136
20137 ;
20138 return 0;
20139 }
20140 _ACEOF
20141 rm -f conftest.$ac_objext
20142 if { (ac_try="$ac_compile"
20143 case "(($ac_try" in
20144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20145 *) ac_try_echo=$ac_try;;
20146 esac
20147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20148 (eval "$ac_compile") 2>conftest.er1
20149 ac_status=$?
20150 grep -v '^ *+' conftest.er1 >conftest.err
20151 rm -f conftest.er1
20152 cat conftest.err >&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } && {
20155 test -z "$ac_c_werror_flag" ||
20156 test ! -s conftest.err
20157 } && test -s conftest.$ac_objext; then
20158 ac_lo=$ac_mid; break
20159 else
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.$ac_ext >&5
20162
20163 ac_hi=`expr '(' $ac_mid ')' - 1`
20164 if test $ac_mid -le $ac_hi; then
20165 ac_lo= ac_hi=
20166 break
20167 fi
20168 ac_mid=`expr 2 '*' $ac_mid`
20169 fi
20170
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20172 done
20173 else
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.$ac_ext >&5
20176
20177 ac_lo= ac_hi=
20178 fi
20179
20180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 fi
20182
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 # Binary search between lo and hi bounds.
20185 while test "x$ac_lo" != "x$ac_hi"; do
20186 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20187 cat >conftest.$ac_ext <<_ACEOF
20188 /* confdefs.h. */
20189 _ACEOF
20190 cat confdefs.h >>conftest.$ac_ext
20191 cat >>conftest.$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 $ac_includes_default
20194 typedef void * ac__type_sizeof_;
20195 int
20196 main ()
20197 {
20198 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20199 test_array [0] = 0
20200
20201 ;
20202 return 0;
20203 }
20204 _ACEOF
20205 rm -f conftest.$ac_objext
20206 if { (ac_try="$ac_compile"
20207 case "(($ac_try" in
20208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20209 *) ac_try_echo=$ac_try;;
20210 esac
20211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20212 (eval "$ac_compile") 2>conftest.er1
20213 ac_status=$?
20214 grep -v '^ *+' conftest.er1 >conftest.err
20215 rm -f conftest.er1
20216 cat conftest.err >&5
20217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20218 (exit $ac_status); } && {
20219 test -z "$ac_c_werror_flag" ||
20220 test ! -s conftest.err
20221 } && test -s conftest.$ac_objext; then
20222 ac_hi=$ac_mid
20223 else
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.$ac_ext >&5
20226
20227 ac_lo=`expr '(' $ac_mid ')' + 1`
20228 fi
20229
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20231 done
20232 case $ac_lo in
20233 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20234 '') if test "$ac_cv_type_void_p" = yes; then
20235 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20236 See \`config.log' for more details." >&5
20237 echo "$as_me: error: cannot compute sizeof (void *)
20238 See \`config.log' for more details." >&2;}
20239 { (exit 77); exit 77; }; }
20240 else
20241 ac_cv_sizeof_void_p=0
20242 fi ;;
20243 esac
20244 else
20245 cat >conftest.$ac_ext <<_ACEOF
20246 /* confdefs.h. */
20247 _ACEOF
20248 cat confdefs.h >>conftest.$ac_ext
20249 cat >>conftest.$ac_ext <<_ACEOF
20250 /* end confdefs.h. */
20251 $ac_includes_default
20252 typedef void * ac__type_sizeof_;
20253 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20254 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20255 #include <stdio.h>
20256 #include <stdlib.h>
20257 int
20258 main ()
20259 {
20260
20261 FILE *f = fopen ("conftest.val", "w");
20262 if (! f)
20263 return 1;
20264 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20265 {
20266 long int i = longval ();
20267 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20268 return 1;
20269 fprintf (f, "%ld\n", i);
20270 }
20271 else
20272 {
20273 unsigned long int i = ulongval ();
20274 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20275 return 1;
20276 fprintf (f, "%lu\n", i);
20277 }
20278 return ferror (f) || fclose (f) != 0;
20279
20280 ;
20281 return 0;
20282 }
20283 _ACEOF
20284 rm -f conftest$ac_exeext
20285 if { (ac_try="$ac_link"
20286 case "(($ac_try" in
20287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20288 *) ac_try_echo=$ac_try;;
20289 esac
20290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20291 (eval "$ac_link") 2>&5
20292 ac_status=$?
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20295 { (case "(($ac_try" in
20296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20298 esac
20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_try") 2>&5
20301 ac_status=$?
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); }; }; then
20304 ac_cv_sizeof_void_p=`cat conftest.val`
20305 else
20306 echo "$as_me: program exited with status $ac_status" >&5
20307 echo "$as_me: failed program was:" >&5
20308 sed 's/^/| /' conftest.$ac_ext >&5
20309
20310 ( exit $ac_status )
20311 if test "$ac_cv_type_void_p" = yes; then
20312 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20313 See \`config.log' for more details." >&5
20314 echo "$as_me: error: cannot compute sizeof (void *)
20315 See \`config.log' for more details." >&2;}
20316 { (exit 77); exit 77; }; }
20317 else
20318 ac_cv_sizeof_void_p=0
20319 fi
20320 fi
20321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20322 fi
20323 rm -f conftest.val
20324 fi
20325 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20326 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20327
20328
20329
20330 cat >>confdefs.h <<_ACEOF
20331 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20332 _ACEOF
20333
20334
20335 { echo "$as_me:$LINENO: checking for int" >&5
20336 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20337 if test "${ac_cv_type_int+set}" = set; then
20338 echo $ECHO_N "(cached) $ECHO_C" >&6
20339 else
20340 cat >conftest.$ac_ext <<_ACEOF
20341 /* confdefs.h. */
20342 _ACEOF
20343 cat confdefs.h >>conftest.$ac_ext
20344 cat >>conftest.$ac_ext <<_ACEOF
20345 /* end confdefs.h. */
20346 $ac_includes_default
20347 typedef int ac__type_new_;
20348 int
20349 main ()
20350 {
20351 if ((ac__type_new_ *) 0)
20352 return 0;
20353 if (sizeof (ac__type_new_))
20354 return 0;
20355 ;
20356 return 0;
20357 }
20358 _ACEOF
20359 rm -f conftest.$ac_objext
20360 if { (ac_try="$ac_compile"
20361 case "(($ac_try" in
20362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20363 *) ac_try_echo=$ac_try;;
20364 esac
20365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20366 (eval "$ac_compile") 2>conftest.er1
20367 ac_status=$?
20368 grep -v '^ *+' conftest.er1 >conftest.err
20369 rm -f conftest.er1
20370 cat conftest.err >&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } && {
20373 test -z "$ac_c_werror_flag" ||
20374 test ! -s conftest.err
20375 } && test -s conftest.$ac_objext; then
20376 ac_cv_type_int=yes
20377 else
20378 echo "$as_me: failed program was:" >&5
20379 sed 's/^/| /' conftest.$ac_ext >&5
20380
20381 ac_cv_type_int=no
20382 fi
20383
20384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20385 fi
20386 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20387 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20388
20389 # The cast to long int works around a bug in the HP C Compiler
20390 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20391 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20392 # This bug is HP SR number 8606223364.
20393 { echo "$as_me:$LINENO: checking size of int" >&5
20394 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20395 if test "${ac_cv_sizeof_int+set}" = set; then
20396 echo $ECHO_N "(cached) $ECHO_C" >&6
20397 else
20398 if test "$cross_compiling" = yes; then
20399 # Depending upon the size, compute the lo and hi bounds.
20400 cat >conftest.$ac_ext <<_ACEOF
20401 /* confdefs.h. */
20402 _ACEOF
20403 cat confdefs.h >>conftest.$ac_ext
20404 cat >>conftest.$ac_ext <<_ACEOF
20405 /* end confdefs.h. */
20406 $ac_includes_default
20407 typedef int ac__type_sizeof_;
20408 int
20409 main ()
20410 {
20411 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20412 test_array [0] = 0
20413
20414 ;
20415 return 0;
20416 }
20417 _ACEOF
20418 rm -f conftest.$ac_objext
20419 if { (ac_try="$ac_compile"
20420 case "(($ac_try" in
20421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20422 *) ac_try_echo=$ac_try;;
20423 esac
20424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20425 (eval "$ac_compile") 2>conftest.er1
20426 ac_status=$?
20427 grep -v '^ *+' conftest.er1 >conftest.err
20428 rm -f conftest.er1
20429 cat conftest.err >&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); } && {
20432 test -z "$ac_c_werror_flag" ||
20433 test ! -s conftest.err
20434 } && test -s conftest.$ac_objext; then
20435 ac_lo=0 ac_mid=0
20436 while :; do
20437 cat >conftest.$ac_ext <<_ACEOF
20438 /* confdefs.h. */
20439 _ACEOF
20440 cat confdefs.h >>conftest.$ac_ext
20441 cat >>conftest.$ac_ext <<_ACEOF
20442 /* end confdefs.h. */
20443 $ac_includes_default
20444 typedef int ac__type_sizeof_;
20445 int
20446 main ()
20447 {
20448 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20449 test_array [0] = 0
20450
20451 ;
20452 return 0;
20453 }
20454 _ACEOF
20455 rm -f conftest.$ac_objext
20456 if { (ac_try="$ac_compile"
20457 case "(($ac_try" in
20458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20459 *) ac_try_echo=$ac_try;;
20460 esac
20461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20462 (eval "$ac_compile") 2>conftest.er1
20463 ac_status=$?
20464 grep -v '^ *+' conftest.er1 >conftest.err
20465 rm -f conftest.er1
20466 cat conftest.err >&5
20467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); } && {
20469 test -z "$ac_c_werror_flag" ||
20470 test ! -s conftest.err
20471 } && test -s conftest.$ac_objext; then
20472 ac_hi=$ac_mid; break
20473 else
20474 echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.$ac_ext >&5
20476
20477 ac_lo=`expr $ac_mid + 1`
20478 if test $ac_lo -le $ac_mid; then
20479 ac_lo= ac_hi=
20480 break
20481 fi
20482 ac_mid=`expr 2 '*' $ac_mid + 1`
20483 fi
20484
20485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20486 done
20487 else
20488 echo "$as_me: failed program was:" >&5
20489 sed 's/^/| /' conftest.$ac_ext >&5
20490
20491 cat >conftest.$ac_ext <<_ACEOF
20492 /* confdefs.h. */
20493 _ACEOF
20494 cat confdefs.h >>conftest.$ac_ext
20495 cat >>conftest.$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497 $ac_includes_default
20498 typedef int ac__type_sizeof_;
20499 int
20500 main ()
20501 {
20502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20503 test_array [0] = 0
20504
20505 ;
20506 return 0;
20507 }
20508 _ACEOF
20509 rm -f conftest.$ac_objext
20510 if { (ac_try="$ac_compile"
20511 case "(($ac_try" in
20512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20513 *) ac_try_echo=$ac_try;;
20514 esac
20515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20516 (eval "$ac_compile") 2>conftest.er1
20517 ac_status=$?
20518 grep -v '^ *+' conftest.er1 >conftest.err
20519 rm -f conftest.er1
20520 cat conftest.err >&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); } && {
20523 test -z "$ac_c_werror_flag" ||
20524 test ! -s conftest.err
20525 } && test -s conftest.$ac_objext; then
20526 ac_hi=-1 ac_mid=-1
20527 while :; do
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 int ac__type_sizeof_;
20536 int
20537 main ()
20538 {
20539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20540 test_array [0] = 0
20541
20542 ;
20543 return 0;
20544 }
20545 _ACEOF
20546 rm -f conftest.$ac_objext
20547 if { (ac_try="$ac_compile"
20548 case "(($ac_try" in
20549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20550 *) ac_try_echo=$ac_try;;
20551 esac
20552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20553 (eval "$ac_compile") 2>conftest.er1
20554 ac_status=$?
20555 grep -v '^ *+' conftest.er1 >conftest.err
20556 rm -f conftest.er1
20557 cat conftest.err >&5
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); } && {
20560 test -z "$ac_c_werror_flag" ||
20561 test ! -s conftest.err
20562 } && test -s conftest.$ac_objext; then
20563 ac_lo=$ac_mid; break
20564 else
20565 echo "$as_me: failed program was:" >&5
20566 sed 's/^/| /' conftest.$ac_ext >&5
20567
20568 ac_hi=`expr '(' $ac_mid ')' - 1`
20569 if test $ac_mid -le $ac_hi; then
20570 ac_lo= ac_hi=
20571 break
20572 fi
20573 ac_mid=`expr 2 '*' $ac_mid`
20574 fi
20575
20576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20577 done
20578 else
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.$ac_ext >&5
20581
20582 ac_lo= ac_hi=
20583 fi
20584
20585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20586 fi
20587
20588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20589 # Binary search between lo and hi bounds.
20590 while test "x$ac_lo" != "x$ac_hi"; do
20591 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20592 cat >conftest.$ac_ext <<_ACEOF
20593 /* confdefs.h. */
20594 _ACEOF
20595 cat confdefs.h >>conftest.$ac_ext
20596 cat >>conftest.$ac_ext <<_ACEOF
20597 /* end confdefs.h. */
20598 $ac_includes_default
20599 typedef int ac__type_sizeof_;
20600 int
20601 main ()
20602 {
20603 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20604 test_array [0] = 0
20605
20606 ;
20607 return 0;
20608 }
20609 _ACEOF
20610 rm -f conftest.$ac_objext
20611 if { (ac_try="$ac_compile"
20612 case "(($ac_try" in
20613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20614 *) ac_try_echo=$ac_try;;
20615 esac
20616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20617 (eval "$ac_compile") 2>conftest.er1
20618 ac_status=$?
20619 grep -v '^ *+' conftest.er1 >conftest.err
20620 rm -f conftest.er1
20621 cat conftest.err >&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } && {
20624 test -z "$ac_c_werror_flag" ||
20625 test ! -s conftest.err
20626 } && test -s conftest.$ac_objext; then
20627 ac_hi=$ac_mid
20628 else
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20631
20632 ac_lo=`expr '(' $ac_mid ')' + 1`
20633 fi
20634
20635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20636 done
20637 case $ac_lo in
20638 ?*) ac_cv_sizeof_int=$ac_lo;;
20639 '') if test "$ac_cv_type_int" = yes; then
20640 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20641 See \`config.log' for more details." >&5
20642 echo "$as_me: error: cannot compute sizeof (int)
20643 See \`config.log' for more details." >&2;}
20644 { (exit 77); exit 77; }; }
20645 else
20646 ac_cv_sizeof_int=0
20647 fi ;;
20648 esac
20649 else
20650 cat >conftest.$ac_ext <<_ACEOF
20651 /* confdefs.h. */
20652 _ACEOF
20653 cat confdefs.h >>conftest.$ac_ext
20654 cat >>conftest.$ac_ext <<_ACEOF
20655 /* end confdefs.h. */
20656 $ac_includes_default
20657 typedef int ac__type_sizeof_;
20658 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20659 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20660 #include <stdio.h>
20661 #include <stdlib.h>
20662 int
20663 main ()
20664 {
20665
20666 FILE *f = fopen ("conftest.val", "w");
20667 if (! f)
20668 return 1;
20669 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20670 {
20671 long int i = longval ();
20672 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20673 return 1;
20674 fprintf (f, "%ld\n", i);
20675 }
20676 else
20677 {
20678 unsigned long int i = ulongval ();
20679 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20680 return 1;
20681 fprintf (f, "%lu\n", i);
20682 }
20683 return ferror (f) || fclose (f) != 0;
20684
20685 ;
20686 return 0;
20687 }
20688 _ACEOF
20689 rm -f conftest$ac_exeext
20690 if { (ac_try="$ac_link"
20691 case "(($ac_try" in
20692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20693 *) ac_try_echo=$ac_try;;
20694 esac
20695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20696 (eval "$ac_link") 2>&5
20697 ac_status=$?
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20700 { (case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20703 esac
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_try") 2>&5
20706 ac_status=$?
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; }; then
20709 ac_cv_sizeof_int=`cat conftest.val`
20710 else
20711 echo "$as_me: program exited with status $ac_status" >&5
20712 echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20714
20715 ( exit $ac_status )
20716 if test "$ac_cv_type_int" = yes; then
20717 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20718 See \`config.log' for more details." >&5
20719 echo "$as_me: error: cannot compute sizeof (int)
20720 See \`config.log' for more details." >&2;}
20721 { (exit 77); exit 77; }; }
20722 else
20723 ac_cv_sizeof_int=0
20724 fi
20725 fi
20726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20727 fi
20728 rm -f conftest.val
20729 fi
20730 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20731 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20732
20733
20734
20735 cat >>confdefs.h <<_ACEOF
20736 #define SIZEOF_INT $ac_cv_sizeof_int
20737 _ACEOF
20738
20739
20740 { echo "$as_me:$LINENO: checking for long" >&5
20741 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20742 if test "${ac_cv_type_long+set}" = set; then
20743 echo $ECHO_N "(cached) $ECHO_C" >&6
20744 else
20745 cat >conftest.$ac_ext <<_ACEOF
20746 /* confdefs.h. */
20747 _ACEOF
20748 cat confdefs.h >>conftest.$ac_ext
20749 cat >>conftest.$ac_ext <<_ACEOF
20750 /* end confdefs.h. */
20751 $ac_includes_default
20752 typedef long ac__type_new_;
20753 int
20754 main ()
20755 {
20756 if ((ac__type_new_ *) 0)
20757 return 0;
20758 if (sizeof (ac__type_new_))
20759 return 0;
20760 ;
20761 return 0;
20762 }
20763 _ACEOF
20764 rm -f conftest.$ac_objext
20765 if { (ac_try="$ac_compile"
20766 case "(($ac_try" in
20767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20768 *) ac_try_echo=$ac_try;;
20769 esac
20770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20771 (eval "$ac_compile") 2>conftest.er1
20772 ac_status=$?
20773 grep -v '^ *+' conftest.er1 >conftest.err
20774 rm -f conftest.er1
20775 cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } && {
20778 test -z "$ac_c_werror_flag" ||
20779 test ! -s conftest.err
20780 } && test -s conftest.$ac_objext; then
20781 ac_cv_type_long=yes
20782 else
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.$ac_ext >&5
20785
20786 ac_cv_type_long=no
20787 fi
20788
20789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20790 fi
20791 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20792 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20793
20794 # The cast to long int works around a bug in the HP C Compiler
20795 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20796 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20797 # This bug is HP SR number 8606223364.
20798 { echo "$as_me:$LINENO: checking size of long" >&5
20799 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20800 if test "${ac_cv_sizeof_long+set}" = set; then
20801 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 else
20803 if test "$cross_compiling" = yes; then
20804 # Depending upon the size, compute the lo and hi bounds.
20805 cat >conftest.$ac_ext <<_ACEOF
20806 /* confdefs.h. */
20807 _ACEOF
20808 cat confdefs.h >>conftest.$ac_ext
20809 cat >>conftest.$ac_ext <<_ACEOF
20810 /* end confdefs.h. */
20811 $ac_includes_default
20812 typedef long ac__type_sizeof_;
20813 int
20814 main ()
20815 {
20816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20817 test_array [0] = 0
20818
20819 ;
20820 return 0;
20821 }
20822 _ACEOF
20823 rm -f conftest.$ac_objext
20824 if { (ac_try="$ac_compile"
20825 case "(($ac_try" in
20826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20827 *) ac_try_echo=$ac_try;;
20828 esac
20829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20830 (eval "$ac_compile") 2>conftest.er1
20831 ac_status=$?
20832 grep -v '^ *+' conftest.er1 >conftest.err
20833 rm -f conftest.er1
20834 cat conftest.err >&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } && {
20837 test -z "$ac_c_werror_flag" ||
20838 test ! -s conftest.err
20839 } && test -s conftest.$ac_objext; then
20840 ac_lo=0 ac_mid=0
20841 while :; do
20842 cat >conftest.$ac_ext <<_ACEOF
20843 /* confdefs.h. */
20844 _ACEOF
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 $ac_includes_default
20849 typedef long ac__type_sizeof_;
20850 int
20851 main ()
20852 {
20853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20854 test_array [0] = 0
20855
20856 ;
20857 return 0;
20858 }
20859 _ACEOF
20860 rm -f conftest.$ac_objext
20861 if { (ac_try="$ac_compile"
20862 case "(($ac_try" in
20863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20864 *) ac_try_echo=$ac_try;;
20865 esac
20866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20867 (eval "$ac_compile") 2>conftest.er1
20868 ac_status=$?
20869 grep -v '^ *+' conftest.er1 >conftest.err
20870 rm -f conftest.er1
20871 cat conftest.err >&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } && {
20874 test -z "$ac_c_werror_flag" ||
20875 test ! -s conftest.err
20876 } && test -s conftest.$ac_objext; then
20877 ac_hi=$ac_mid; break
20878 else
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20881
20882 ac_lo=`expr $ac_mid + 1`
20883 if test $ac_lo -le $ac_mid; then
20884 ac_lo= ac_hi=
20885 break
20886 fi
20887 ac_mid=`expr 2 '*' $ac_mid + 1`
20888 fi
20889
20890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20891 done
20892 else
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20895
20896 cat >conftest.$ac_ext <<_ACEOF
20897 /* confdefs.h. */
20898 _ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 $ac_includes_default
20903 typedef long ac__type_sizeof_;
20904 int
20905 main ()
20906 {
20907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20908 test_array [0] = 0
20909
20910 ;
20911 return 0;
20912 }
20913 _ACEOF
20914 rm -f conftest.$ac_objext
20915 if { (ac_try="$ac_compile"
20916 case "(($ac_try" in
20917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20918 *) ac_try_echo=$ac_try;;
20919 esac
20920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20921 (eval "$ac_compile") 2>conftest.er1
20922 ac_status=$?
20923 grep -v '^ *+' conftest.er1 >conftest.err
20924 rm -f conftest.er1
20925 cat conftest.err >&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } && {
20928 test -z "$ac_c_werror_flag" ||
20929 test ! -s conftest.err
20930 } && test -s conftest.$ac_objext; then
20931 ac_hi=-1 ac_mid=-1
20932 while :; do
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 long ac__type_sizeof_;
20941 int
20942 main ()
20943 {
20944 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20945 test_array [0] = 0
20946
20947 ;
20948 return 0;
20949 }
20950 _ACEOF
20951 rm -f conftest.$ac_objext
20952 if { (ac_try="$ac_compile"
20953 case "(($ac_try" in
20954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 *) ac_try_echo=$ac_try;;
20956 esac
20957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 (eval "$ac_compile") 2>conftest.er1
20959 ac_status=$?
20960 grep -v '^ *+' conftest.er1 >conftest.err
20961 rm -f conftest.er1
20962 cat conftest.err >&5
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && {
20965 test -z "$ac_c_werror_flag" ||
20966 test ! -s conftest.err
20967 } && test -s conftest.$ac_objext; then
20968 ac_lo=$ac_mid; break
20969 else
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20972
20973 ac_hi=`expr '(' $ac_mid ')' - 1`
20974 if test $ac_mid -le $ac_hi; then
20975 ac_lo= ac_hi=
20976 break
20977 fi
20978 ac_mid=`expr 2 '*' $ac_mid`
20979 fi
20980
20981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20982 done
20983 else
20984 echo "$as_me: failed program was:" >&5
20985 sed 's/^/| /' conftest.$ac_ext >&5
20986
20987 ac_lo= ac_hi=
20988 fi
20989
20990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20991 fi
20992
20993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20994 # Binary search between lo and hi bounds.
20995 while test "x$ac_lo" != "x$ac_hi"; do
20996 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20997 cat >conftest.$ac_ext <<_ACEOF
20998 /* confdefs.h. */
20999 _ACEOF
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 $ac_includes_default
21004 typedef long ac__type_sizeof_;
21005 int
21006 main ()
21007 {
21008 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21009 test_array [0] = 0
21010
21011 ;
21012 return 0;
21013 }
21014 _ACEOF
21015 rm -f conftest.$ac_objext
21016 if { (ac_try="$ac_compile"
21017 case "(($ac_try" in
21018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21019 *) ac_try_echo=$ac_try;;
21020 esac
21021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21022 (eval "$ac_compile") 2>conftest.er1
21023 ac_status=$?
21024 grep -v '^ *+' conftest.er1 >conftest.err
21025 rm -f conftest.er1
21026 cat conftest.err >&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } && {
21029 test -z "$ac_c_werror_flag" ||
21030 test ! -s conftest.err
21031 } && test -s conftest.$ac_objext; then
21032 ac_hi=$ac_mid
21033 else
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.$ac_ext >&5
21036
21037 ac_lo=`expr '(' $ac_mid ')' + 1`
21038 fi
21039
21040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21041 done
21042 case $ac_lo in
21043 ?*) ac_cv_sizeof_long=$ac_lo;;
21044 '') if test "$ac_cv_type_long" = yes; then
21045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21046 See \`config.log' for more details." >&5
21047 echo "$as_me: error: cannot compute sizeof (long)
21048 See \`config.log' for more details." >&2;}
21049 { (exit 77); exit 77; }; }
21050 else
21051 ac_cv_sizeof_long=0
21052 fi ;;
21053 esac
21054 else
21055 cat >conftest.$ac_ext <<_ACEOF
21056 /* confdefs.h. */
21057 _ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 $ac_includes_default
21062 typedef long ac__type_sizeof_;
21063 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21064 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21065 #include <stdio.h>
21066 #include <stdlib.h>
21067 int
21068 main ()
21069 {
21070
21071 FILE *f = fopen ("conftest.val", "w");
21072 if (! f)
21073 return 1;
21074 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21075 {
21076 long int i = longval ();
21077 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21078 return 1;
21079 fprintf (f, "%ld\n", i);
21080 }
21081 else
21082 {
21083 unsigned long int i = ulongval ();
21084 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21085 return 1;
21086 fprintf (f, "%lu\n", i);
21087 }
21088 return ferror (f) || fclose (f) != 0;
21089
21090 ;
21091 return 0;
21092 }
21093 _ACEOF
21094 rm -f conftest$ac_exeext
21095 if { (ac_try="$ac_link"
21096 case "(($ac_try" in
21097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21098 *) ac_try_echo=$ac_try;;
21099 esac
21100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21101 (eval "$ac_link") 2>&5
21102 ac_status=$?
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21105 { (case "(($ac_try" in
21106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21107 *) ac_try_echo=$ac_try;;
21108 esac
21109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21110 (eval "$ac_try") 2>&5
21111 ac_status=$?
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; }; then
21114 ac_cv_sizeof_long=`cat conftest.val`
21115 else
21116 echo "$as_me: program exited with status $ac_status" >&5
21117 echo "$as_me: failed program was:" >&5
21118 sed 's/^/| /' conftest.$ac_ext >&5
21119
21120 ( exit $ac_status )
21121 if test "$ac_cv_type_long" = yes; then
21122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21123 See \`config.log' for more details." >&5
21124 echo "$as_me: error: cannot compute sizeof (long)
21125 See \`config.log' for more details." >&2;}
21126 { (exit 77); exit 77; }; }
21127 else
21128 ac_cv_sizeof_long=0
21129 fi
21130 fi
21131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21132 fi
21133 rm -f conftest.val
21134 fi
21135 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21136 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21137
21138
21139
21140 cat >>confdefs.h <<_ACEOF
21141 #define SIZEOF_LONG $ac_cv_sizeof_long
21142 _ACEOF
21143
21144
21145 { echo "$as_me:$LINENO: checking for size_t" >&5
21146 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21147 if test "${ac_cv_type_size_t+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21149 else
21150 cat >conftest.$ac_ext <<_ACEOF
21151 /* confdefs.h. */
21152 _ACEOF
21153 cat confdefs.h >>conftest.$ac_ext
21154 cat >>conftest.$ac_ext <<_ACEOF
21155 /* end confdefs.h. */
21156 $ac_includes_default
21157 typedef size_t ac__type_new_;
21158 int
21159 main ()
21160 {
21161 if ((ac__type_new_ *) 0)
21162 return 0;
21163 if (sizeof (ac__type_new_))
21164 return 0;
21165 ;
21166 return 0;
21167 }
21168 _ACEOF
21169 rm -f conftest.$ac_objext
21170 if { (ac_try="$ac_compile"
21171 case "(($ac_try" in
21172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21173 *) ac_try_echo=$ac_try;;
21174 esac
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_compile") 2>conftest.er1
21177 ac_status=$?
21178 grep -v '^ *+' conftest.er1 >conftest.err
21179 rm -f conftest.er1
21180 cat conftest.err >&5
21181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21182 (exit $ac_status); } && {
21183 test -z "$ac_c_werror_flag" ||
21184 test ! -s conftest.err
21185 } && test -s conftest.$ac_objext; then
21186 ac_cv_type_size_t=yes
21187 else
21188 echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.$ac_ext >&5
21190
21191 ac_cv_type_size_t=no
21192 fi
21193
21194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21195 fi
21196 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21197 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21198
21199 # The cast to long int works around a bug in the HP C Compiler
21200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21202 # This bug is HP SR number 8606223364.
21203 { echo "$as_me:$LINENO: checking size of size_t" >&5
21204 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21205 if test "${ac_cv_sizeof_size_t+set}" = set; then
21206 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 else
21208 if test "$cross_compiling" = yes; then
21209 # Depending upon the size, compute the lo and hi bounds.
21210 cat >conftest.$ac_ext <<_ACEOF
21211 /* confdefs.h. */
21212 _ACEOF
21213 cat confdefs.h >>conftest.$ac_ext
21214 cat >>conftest.$ac_ext <<_ACEOF
21215 /* end confdefs.h. */
21216 $ac_includes_default
21217 typedef size_t ac__type_sizeof_;
21218 int
21219 main ()
21220 {
21221 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21222 test_array [0] = 0
21223
21224 ;
21225 return 0;
21226 }
21227 _ACEOF
21228 rm -f conftest.$ac_objext
21229 if { (ac_try="$ac_compile"
21230 case "(($ac_try" in
21231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21232 *) ac_try_echo=$ac_try;;
21233 esac
21234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21235 (eval "$ac_compile") 2>conftest.er1
21236 ac_status=$?
21237 grep -v '^ *+' conftest.er1 >conftest.err
21238 rm -f conftest.er1
21239 cat conftest.err >&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } && {
21242 test -z "$ac_c_werror_flag" ||
21243 test ! -s conftest.err
21244 } && test -s conftest.$ac_objext; then
21245 ac_lo=0 ac_mid=0
21246 while :; do
21247 cat >conftest.$ac_ext <<_ACEOF
21248 /* confdefs.h. */
21249 _ACEOF
21250 cat confdefs.h >>conftest.$ac_ext
21251 cat >>conftest.$ac_ext <<_ACEOF
21252 /* end confdefs.h. */
21253 $ac_includes_default
21254 typedef size_t ac__type_sizeof_;
21255 int
21256 main ()
21257 {
21258 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21259 test_array [0] = 0
21260
21261 ;
21262 return 0;
21263 }
21264 _ACEOF
21265 rm -f conftest.$ac_objext
21266 if { (ac_try="$ac_compile"
21267 case "(($ac_try" in
21268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21269 *) ac_try_echo=$ac_try;;
21270 esac
21271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21272 (eval "$ac_compile") 2>conftest.er1
21273 ac_status=$?
21274 grep -v '^ *+' conftest.er1 >conftest.err
21275 rm -f conftest.er1
21276 cat conftest.err >&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); } && {
21279 test -z "$ac_c_werror_flag" ||
21280 test ! -s conftest.err
21281 } && test -s conftest.$ac_objext; then
21282 ac_hi=$ac_mid; break
21283 else
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21286
21287 ac_lo=`expr $ac_mid + 1`
21288 if test $ac_lo -le $ac_mid; then
21289 ac_lo= ac_hi=
21290 break
21291 fi
21292 ac_mid=`expr 2 '*' $ac_mid + 1`
21293 fi
21294
21295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21296 done
21297 else
21298 echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.$ac_ext >&5
21300
21301 cat >conftest.$ac_ext <<_ACEOF
21302 /* confdefs.h. */
21303 _ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 $ac_includes_default
21308 typedef size_t ac__type_sizeof_;
21309 int
21310 main ()
21311 {
21312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21313 test_array [0] = 0
21314
21315 ;
21316 return 0;
21317 }
21318 _ACEOF
21319 rm -f conftest.$ac_objext
21320 if { (ac_try="$ac_compile"
21321 case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21324 esac
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_compile") 2>conftest.er1
21327 ac_status=$?
21328 grep -v '^ *+' conftest.er1 >conftest.err
21329 rm -f conftest.er1
21330 cat conftest.err >&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } && {
21333 test -z "$ac_c_werror_flag" ||
21334 test ! -s conftest.err
21335 } && test -s conftest.$ac_objext; then
21336 ac_hi=-1 ac_mid=-1
21337 while :; do
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 size_t ac__type_sizeof_;
21346 int
21347 main ()
21348 {
21349 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21350 test_array [0] = 0
21351
21352 ;
21353 return 0;
21354 }
21355 _ACEOF
21356 rm -f conftest.$ac_objext
21357 if { (ac_try="$ac_compile"
21358 case "(($ac_try" in
21359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21360 *) ac_try_echo=$ac_try;;
21361 esac
21362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21363 (eval "$ac_compile") 2>conftest.er1
21364 ac_status=$?
21365 grep -v '^ *+' conftest.er1 >conftest.err
21366 rm -f conftest.er1
21367 cat conftest.err >&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); } && {
21370 test -z "$ac_c_werror_flag" ||
21371 test ! -s conftest.err
21372 } && test -s conftest.$ac_objext; then
21373 ac_lo=$ac_mid; break
21374 else
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.$ac_ext >&5
21377
21378 ac_hi=`expr '(' $ac_mid ')' - 1`
21379 if test $ac_mid -le $ac_hi; then
21380 ac_lo= ac_hi=
21381 break
21382 fi
21383 ac_mid=`expr 2 '*' $ac_mid`
21384 fi
21385
21386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21387 done
21388 else
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21391
21392 ac_lo= ac_hi=
21393 fi
21394
21395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21396 fi
21397
21398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21399 # Binary search between lo and hi bounds.
21400 while test "x$ac_lo" != "x$ac_hi"; do
21401 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21402 cat >conftest.$ac_ext <<_ACEOF
21403 /* confdefs.h. */
21404 _ACEOF
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 $ac_includes_default
21409 typedef size_t ac__type_sizeof_;
21410 int
21411 main ()
21412 {
21413 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21414 test_array [0] = 0
21415
21416 ;
21417 return 0;
21418 }
21419 _ACEOF
21420 rm -f conftest.$ac_objext
21421 if { (ac_try="$ac_compile"
21422 case "(($ac_try" in
21423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21424 *) ac_try_echo=$ac_try;;
21425 esac
21426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21427 (eval "$ac_compile") 2>conftest.er1
21428 ac_status=$?
21429 grep -v '^ *+' conftest.er1 >conftest.err
21430 rm -f conftest.er1
21431 cat conftest.err >&5
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); } && {
21434 test -z "$ac_c_werror_flag" ||
21435 test ! -s conftest.err
21436 } && test -s conftest.$ac_objext; then
21437 ac_hi=$ac_mid
21438 else
21439 echo "$as_me: failed program was:" >&5
21440 sed 's/^/| /' conftest.$ac_ext >&5
21441
21442 ac_lo=`expr '(' $ac_mid ')' + 1`
21443 fi
21444
21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446 done
21447 case $ac_lo in
21448 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21449 '') if test "$ac_cv_type_size_t" = yes; then
21450 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21451 See \`config.log' for more details." >&5
21452 echo "$as_me: error: cannot compute sizeof (size_t)
21453 See \`config.log' for more details." >&2;}
21454 { (exit 77); exit 77; }; }
21455 else
21456 ac_cv_sizeof_size_t=0
21457 fi ;;
21458 esac
21459 else
21460 cat >conftest.$ac_ext <<_ACEOF
21461 /* confdefs.h. */
21462 _ACEOF
21463 cat confdefs.h >>conftest.$ac_ext
21464 cat >>conftest.$ac_ext <<_ACEOF
21465 /* end confdefs.h. */
21466 $ac_includes_default
21467 typedef size_t ac__type_sizeof_;
21468 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21469 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21470 #include <stdio.h>
21471 #include <stdlib.h>
21472 int
21473 main ()
21474 {
21475
21476 FILE *f = fopen ("conftest.val", "w");
21477 if (! f)
21478 return 1;
21479 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21480 {
21481 long int i = longval ();
21482 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21483 return 1;
21484 fprintf (f, "%ld\n", i);
21485 }
21486 else
21487 {
21488 unsigned long int i = ulongval ();
21489 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21490 return 1;
21491 fprintf (f, "%lu\n", i);
21492 }
21493 return ferror (f) || fclose (f) != 0;
21494
21495 ;
21496 return 0;
21497 }
21498 _ACEOF
21499 rm -f conftest$ac_exeext
21500 if { (ac_try="$ac_link"
21501 case "(($ac_try" in
21502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21503 *) ac_try_echo=$ac_try;;
21504 esac
21505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21506 (eval "$ac_link") 2>&5
21507 ac_status=$?
21508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21510 { (case "(($ac_try" in
21511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21512 *) ac_try_echo=$ac_try;;
21513 esac
21514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21515 (eval "$ac_try") 2>&5
21516 ac_status=$?
21517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); }; }; then
21519 ac_cv_sizeof_size_t=`cat conftest.val`
21520 else
21521 echo "$as_me: program exited with status $ac_status" >&5
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.$ac_ext >&5
21524
21525 ( exit $ac_status )
21526 if test "$ac_cv_type_size_t" = yes; then
21527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21528 See \`config.log' for more details." >&5
21529 echo "$as_me: error: cannot compute sizeof (size_t)
21530 See \`config.log' for more details." >&2;}
21531 { (exit 77); exit 77; }; }
21532 else
21533 ac_cv_sizeof_size_t=0
21534 fi
21535 fi
21536 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21537 fi
21538 rm -f conftest.val
21539 fi
21540 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21541 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21542
21543
21544
21545 cat >>confdefs.h <<_ACEOF
21546 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21547 _ACEOF
21548
21549
21550
21551 case "${host}" in
21552 arm-*-linux* )
21553 { echo "$as_me:$LINENO: checking for long long" >&5
21554 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21555 if test "${ac_cv_type_long_long+set}" = set; then
21556 echo $ECHO_N "(cached) $ECHO_C" >&6
21557 else
21558 cat >conftest.$ac_ext <<_ACEOF
21559 /* confdefs.h. */
21560 _ACEOF
21561 cat confdefs.h >>conftest.$ac_ext
21562 cat >>conftest.$ac_ext <<_ACEOF
21563 /* end confdefs.h. */
21564 $ac_includes_default
21565 typedef long long ac__type_new_;
21566 int
21567 main ()
21568 {
21569 if ((ac__type_new_ *) 0)
21570 return 0;
21571 if (sizeof (ac__type_new_))
21572 return 0;
21573 ;
21574 return 0;
21575 }
21576 _ACEOF
21577 rm -f conftest.$ac_objext
21578 if { (ac_try="$ac_compile"
21579 case "(($ac_try" in
21580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21581 *) ac_try_echo=$ac_try;;
21582 esac
21583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_compile") 2>conftest.er1
21585 ac_status=$?
21586 grep -v '^ *+' conftest.er1 >conftest.err
21587 rm -f conftest.er1
21588 cat conftest.err >&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); } && {
21591 test -z "$ac_c_werror_flag" ||
21592 test ! -s conftest.err
21593 } && test -s conftest.$ac_objext; then
21594 ac_cv_type_long_long=yes
21595 else
21596 echo "$as_me: failed program was:" >&5
21597 sed 's/^/| /' conftest.$ac_ext >&5
21598
21599 ac_cv_type_long_long=no
21600 fi
21601
21602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21603 fi
21604 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21605 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21606
21607 # The cast to long int works around a bug in the HP C Compiler
21608 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21609 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21610 # This bug is HP SR number 8606223364.
21611 { echo "$as_me:$LINENO: checking size of long long" >&5
21612 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21613 if test "${ac_cv_sizeof_long_long+set}" = set; then
21614 echo $ECHO_N "(cached) $ECHO_C" >&6
21615 else
21616 if test "$cross_compiling" = yes; then
21617 # Depending upon the size, compute the lo and hi bounds.
21618 cat >conftest.$ac_ext <<_ACEOF
21619 /* confdefs.h. */
21620 _ACEOF
21621 cat confdefs.h >>conftest.$ac_ext
21622 cat >>conftest.$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 $ac_includes_default
21625 typedef long long ac__type_sizeof_;
21626 int
21627 main ()
21628 {
21629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21630 test_array [0] = 0
21631
21632 ;
21633 return 0;
21634 }
21635 _ACEOF
21636 rm -f conftest.$ac_objext
21637 if { (ac_try="$ac_compile"
21638 case "(($ac_try" in
21639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21640 *) ac_try_echo=$ac_try;;
21641 esac
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_compile") 2>conftest.er1
21644 ac_status=$?
21645 grep -v '^ *+' conftest.er1 >conftest.err
21646 rm -f conftest.er1
21647 cat conftest.err >&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } && {
21650 test -z "$ac_c_werror_flag" ||
21651 test ! -s conftest.err
21652 } && test -s conftest.$ac_objext; then
21653 ac_lo=0 ac_mid=0
21654 while :; do
21655 cat >conftest.$ac_ext <<_ACEOF
21656 /* confdefs.h. */
21657 _ACEOF
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21661 $ac_includes_default
21662 typedef long long ac__type_sizeof_;
21663 int
21664 main ()
21665 {
21666 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21667 test_array [0] = 0
21668
21669 ;
21670 return 0;
21671 }
21672 _ACEOF
21673 rm -f conftest.$ac_objext
21674 if { (ac_try="$ac_compile"
21675 case "(($ac_try" in
21676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21677 *) ac_try_echo=$ac_try;;
21678 esac
21679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21680 (eval "$ac_compile") 2>conftest.er1
21681 ac_status=$?
21682 grep -v '^ *+' conftest.er1 >conftest.err
21683 rm -f conftest.er1
21684 cat conftest.err >&5
21685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21686 (exit $ac_status); } && {
21687 test -z "$ac_c_werror_flag" ||
21688 test ! -s conftest.err
21689 } && test -s conftest.$ac_objext; then
21690 ac_hi=$ac_mid; break
21691 else
21692 echo "$as_me: failed program was:" >&5
21693 sed 's/^/| /' conftest.$ac_ext >&5
21694
21695 ac_lo=`expr $ac_mid + 1`
21696 if test $ac_lo -le $ac_mid; then
21697 ac_lo= ac_hi=
21698 break
21699 fi
21700 ac_mid=`expr 2 '*' $ac_mid + 1`
21701 fi
21702
21703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21704 done
21705 else
21706 echo "$as_me: failed program was:" >&5
21707 sed 's/^/| /' conftest.$ac_ext >&5
21708
21709 cat >conftest.$ac_ext <<_ACEOF
21710 /* confdefs.h. */
21711 _ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 $ac_includes_default
21716 typedef long long ac__type_sizeof_;
21717 int
21718 main ()
21719 {
21720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21721 test_array [0] = 0
21722
21723 ;
21724 return 0;
21725 }
21726 _ACEOF
21727 rm -f conftest.$ac_objext
21728 if { (ac_try="$ac_compile"
21729 case "(($ac_try" in
21730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21731 *) ac_try_echo=$ac_try;;
21732 esac
21733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21734 (eval "$ac_compile") 2>conftest.er1
21735 ac_status=$?
21736 grep -v '^ *+' conftest.er1 >conftest.err
21737 rm -f conftest.er1
21738 cat conftest.err >&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } && {
21741 test -z "$ac_c_werror_flag" ||
21742 test ! -s conftest.err
21743 } && test -s conftest.$ac_objext; then
21744 ac_hi=-1 ac_mid=-1
21745 while :; do
21746 cat >conftest.$ac_ext <<_ACEOF
21747 /* confdefs.h. */
21748 _ACEOF
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21752 $ac_includes_default
21753 typedef long long ac__type_sizeof_;
21754 int
21755 main ()
21756 {
21757 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21758 test_array [0] = 0
21759
21760 ;
21761 return 0;
21762 }
21763 _ACEOF
21764 rm -f conftest.$ac_objext
21765 if { (ac_try="$ac_compile"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21769 esac
21770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_compile") 2>conftest.er1
21772 ac_status=$?
21773 grep -v '^ *+' conftest.er1 >conftest.err
21774 rm -f conftest.er1
21775 cat conftest.err >&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); } && {
21778 test -z "$ac_c_werror_flag" ||
21779 test ! -s conftest.err
21780 } && test -s conftest.$ac_objext; then
21781 ac_lo=$ac_mid; break
21782 else
21783 echo "$as_me: failed program was:" >&5
21784 sed 's/^/| /' conftest.$ac_ext >&5
21785
21786 ac_hi=`expr '(' $ac_mid ')' - 1`
21787 if test $ac_mid -le $ac_hi; then
21788 ac_lo= ac_hi=
21789 break
21790 fi
21791 ac_mid=`expr 2 '*' $ac_mid`
21792 fi
21793
21794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21795 done
21796 else
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21799
21800 ac_lo= ac_hi=
21801 fi
21802
21803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21804 fi
21805
21806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21807 # Binary search between lo and hi bounds.
21808 while test "x$ac_lo" != "x$ac_hi"; do
21809 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21810 cat >conftest.$ac_ext <<_ACEOF
21811 /* confdefs.h. */
21812 _ACEOF
21813 cat confdefs.h >>conftest.$ac_ext
21814 cat >>conftest.$ac_ext <<_ACEOF
21815 /* end confdefs.h. */
21816 $ac_includes_default
21817 typedef long long ac__type_sizeof_;
21818 int
21819 main ()
21820 {
21821 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21822 test_array [0] = 0
21823
21824 ;
21825 return 0;
21826 }
21827 _ACEOF
21828 rm -f conftest.$ac_objext
21829 if { (ac_try="$ac_compile"
21830 case "(($ac_try" in
21831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21832 *) ac_try_echo=$ac_try;;
21833 esac
21834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21835 (eval "$ac_compile") 2>conftest.er1
21836 ac_status=$?
21837 grep -v '^ *+' conftest.er1 >conftest.err
21838 rm -f conftest.er1
21839 cat conftest.err >&5
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); } && {
21842 test -z "$ac_c_werror_flag" ||
21843 test ! -s conftest.err
21844 } && test -s conftest.$ac_objext; then
21845 ac_hi=$ac_mid
21846 else
21847 echo "$as_me: failed program was:" >&5
21848 sed 's/^/| /' conftest.$ac_ext >&5
21849
21850 ac_lo=`expr '(' $ac_mid ')' + 1`
21851 fi
21852
21853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21854 done
21855 case $ac_lo in
21856 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21857 '') if test "$ac_cv_type_long_long" = yes; then
21858 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21859 See \`config.log' for more details." >&5
21860 echo "$as_me: error: cannot compute sizeof (long long)
21861 See \`config.log' for more details." >&2;}
21862 { (exit 77); exit 77; }; }
21863 else
21864 ac_cv_sizeof_long_long=0
21865 fi ;;
21866 esac
21867 else
21868 cat >conftest.$ac_ext <<_ACEOF
21869 /* confdefs.h. */
21870 _ACEOF
21871 cat confdefs.h >>conftest.$ac_ext
21872 cat >>conftest.$ac_ext <<_ACEOF
21873 /* end confdefs.h. */
21874 $ac_includes_default
21875 typedef long long ac__type_sizeof_;
21876 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21877 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21878 #include <stdio.h>
21879 #include <stdlib.h>
21880 int
21881 main ()
21882 {
21883
21884 FILE *f = fopen ("conftest.val", "w");
21885 if (! f)
21886 return 1;
21887 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21888 {
21889 long int i = longval ();
21890 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21891 return 1;
21892 fprintf (f, "%ld\n", i);
21893 }
21894 else
21895 {
21896 unsigned long int i = ulongval ();
21897 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21898 return 1;
21899 fprintf (f, "%lu\n", i);
21900 }
21901 return ferror (f) || fclose (f) != 0;
21902
21903 ;
21904 return 0;
21905 }
21906 _ACEOF
21907 rm -f conftest$ac_exeext
21908 if { (ac_try="$ac_link"
21909 case "(($ac_try" in
21910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21911 *) ac_try_echo=$ac_try;;
21912 esac
21913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21914 (eval "$ac_link") 2>&5
21915 ac_status=$?
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21918 { (case "(($ac_try" in
21919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21920 *) ac_try_echo=$ac_try;;
21921 esac
21922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21923 (eval "$ac_try") 2>&5
21924 ac_status=$?
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); }; }; then
21927 ac_cv_sizeof_long_long=`cat conftest.val`
21928 else
21929 echo "$as_me: program exited with status $ac_status" >&5
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21932
21933 ( exit $ac_status )
21934 if test "$ac_cv_type_long_long" = yes; then
21935 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21936 See \`config.log' for more details." >&5
21937 echo "$as_me: error: cannot compute sizeof (long long)
21938 See \`config.log' for more details." >&2;}
21939 { (exit 77); exit 77; }; }
21940 else
21941 ac_cv_sizeof_long_long=0
21942 fi
21943 fi
21944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21945 fi
21946 rm -f conftest.val
21947 fi
21948 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21949 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21950
21951
21952
21953 cat >>confdefs.h <<_ACEOF
21954 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21955 _ACEOF
21956
21957
21958 ;;
21959 *-hp-hpux* )
21960 { echo "$as_me:$LINENO: checking for long long" >&5
21961 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21962 if test "${ac_cv_type_long_long+set}" = set; then
21963 echo $ECHO_N "(cached) $ECHO_C" >&6
21964 else
21965 cat >conftest.$ac_ext <<_ACEOF
21966 /* confdefs.h. */
21967 _ACEOF
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21971 $ac_includes_default
21972 typedef long long ac__type_new_;
21973 int
21974 main ()
21975 {
21976 if ((ac__type_new_ *) 0)
21977 return 0;
21978 if (sizeof (ac__type_new_))
21979 return 0;
21980 ;
21981 return 0;
21982 }
21983 _ACEOF
21984 rm -f conftest.$ac_objext
21985 if { (ac_try="$ac_compile"
21986 case "(($ac_try" in
21987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988 *) ac_try_echo=$ac_try;;
21989 esac
21990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991 (eval "$ac_compile") 2>conftest.er1
21992 ac_status=$?
21993 grep -v '^ *+' conftest.er1 >conftest.err
21994 rm -f conftest.er1
21995 cat conftest.err >&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); } && {
21998 test -z "$ac_c_werror_flag" ||
21999 test ! -s conftest.err
22000 } && test -s conftest.$ac_objext; then
22001 ac_cv_type_long_long=yes
22002 else
22003 echo "$as_me: failed program was:" >&5
22004 sed 's/^/| /' conftest.$ac_ext >&5
22005
22006 ac_cv_type_long_long=no
22007 fi
22008
22009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22010 fi
22011 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22012 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22013
22014 # The cast to long int works around a bug in the HP C Compiler
22015 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22016 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22017 # This bug is HP SR number 8606223364.
22018 { echo "$as_me:$LINENO: checking size of long long" >&5
22019 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22020 if test "${ac_cv_sizeof_long_long+set}" = set; then
22021 echo $ECHO_N "(cached) $ECHO_C" >&6
22022 else
22023 if test "$cross_compiling" = yes; then
22024 # Depending upon the size, compute the lo and hi bounds.
22025 cat >conftest.$ac_ext <<_ACEOF
22026 /* confdefs.h. */
22027 _ACEOF
22028 cat confdefs.h >>conftest.$ac_ext
22029 cat >>conftest.$ac_ext <<_ACEOF
22030 /* end confdefs.h. */
22031 $ac_includes_default
22032 typedef long long ac__type_sizeof_;
22033 int
22034 main ()
22035 {
22036 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22037 test_array [0] = 0
22038
22039 ;
22040 return 0;
22041 }
22042 _ACEOF
22043 rm -f conftest.$ac_objext
22044 if { (ac_try="$ac_compile"
22045 case "(($ac_try" in
22046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22047 *) ac_try_echo=$ac_try;;
22048 esac
22049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050 (eval "$ac_compile") 2>conftest.er1
22051 ac_status=$?
22052 grep -v '^ *+' conftest.er1 >conftest.err
22053 rm -f conftest.er1
22054 cat conftest.err >&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } && {
22057 test -z "$ac_c_werror_flag" ||
22058 test ! -s conftest.err
22059 } && test -s conftest.$ac_objext; then
22060 ac_lo=0 ac_mid=0
22061 while :; do
22062 cat >conftest.$ac_ext <<_ACEOF
22063 /* confdefs.h. */
22064 _ACEOF
22065 cat confdefs.h >>conftest.$ac_ext
22066 cat >>conftest.$ac_ext <<_ACEOF
22067 /* end confdefs.h. */
22068 $ac_includes_default
22069 typedef long long ac__type_sizeof_;
22070 int
22071 main ()
22072 {
22073 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22074 test_array [0] = 0
22075
22076 ;
22077 return 0;
22078 }
22079 _ACEOF
22080 rm -f conftest.$ac_objext
22081 if { (ac_try="$ac_compile"
22082 case "(($ac_try" in
22083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22084 *) ac_try_echo=$ac_try;;
22085 esac
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_compile") 2>conftest.er1
22088 ac_status=$?
22089 grep -v '^ *+' conftest.er1 >conftest.err
22090 rm -f conftest.er1
22091 cat conftest.err >&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); } && {
22094 test -z "$ac_c_werror_flag" ||
22095 test ! -s conftest.err
22096 } && test -s conftest.$ac_objext; then
22097 ac_hi=$ac_mid; break
22098 else
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22101
22102 ac_lo=`expr $ac_mid + 1`
22103 if test $ac_lo -le $ac_mid; then
22104 ac_lo= ac_hi=
22105 break
22106 fi
22107 ac_mid=`expr 2 '*' $ac_mid + 1`
22108 fi
22109
22110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22111 done
22112 else
22113 echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22115
22116 cat >conftest.$ac_ext <<_ACEOF
22117 /* confdefs.h. */
22118 _ACEOF
22119 cat confdefs.h >>conftest.$ac_ext
22120 cat >>conftest.$ac_ext <<_ACEOF
22121 /* end confdefs.h. */
22122 $ac_includes_default
22123 typedef long long ac__type_sizeof_;
22124 int
22125 main ()
22126 {
22127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22128 test_array [0] = 0
22129
22130 ;
22131 return 0;
22132 }
22133 _ACEOF
22134 rm -f conftest.$ac_objext
22135 if { (ac_try="$ac_compile"
22136 case "(($ac_try" in
22137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22138 *) ac_try_echo=$ac_try;;
22139 esac
22140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22141 (eval "$ac_compile") 2>conftest.er1
22142 ac_status=$?
22143 grep -v '^ *+' conftest.er1 >conftest.err
22144 rm -f conftest.er1
22145 cat conftest.err >&5
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); } && {
22148 test -z "$ac_c_werror_flag" ||
22149 test ! -s conftest.err
22150 } && test -s conftest.$ac_objext; then
22151 ac_hi=-1 ac_mid=-1
22152 while :; do
22153 cat >conftest.$ac_ext <<_ACEOF
22154 /* confdefs.h. */
22155 _ACEOF
22156 cat confdefs.h >>conftest.$ac_ext
22157 cat >>conftest.$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22159 $ac_includes_default
22160 typedef long long ac__type_sizeof_;
22161 int
22162 main ()
22163 {
22164 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22165 test_array [0] = 0
22166
22167 ;
22168 return 0;
22169 }
22170 _ACEOF
22171 rm -f conftest.$ac_objext
22172 if { (ac_try="$ac_compile"
22173 case "(($ac_try" in
22174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22175 *) ac_try_echo=$ac_try;;
22176 esac
22177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22178 (eval "$ac_compile") 2>conftest.er1
22179 ac_status=$?
22180 grep -v '^ *+' conftest.er1 >conftest.err
22181 rm -f conftest.er1
22182 cat conftest.err >&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && {
22185 test -z "$ac_c_werror_flag" ||
22186 test ! -s conftest.err
22187 } && test -s conftest.$ac_objext; then
22188 ac_lo=$ac_mid; break
22189 else
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.$ac_ext >&5
22192
22193 ac_hi=`expr '(' $ac_mid ')' - 1`
22194 if test $ac_mid -le $ac_hi; then
22195 ac_lo= ac_hi=
22196 break
22197 fi
22198 ac_mid=`expr 2 '*' $ac_mid`
22199 fi
22200
22201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22202 done
22203 else
22204 echo "$as_me: failed program was:" >&5
22205 sed 's/^/| /' conftest.$ac_ext >&5
22206
22207 ac_lo= ac_hi=
22208 fi
22209
22210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22211 fi
22212
22213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22214 # Binary search between lo and hi bounds.
22215 while test "x$ac_lo" != "x$ac_hi"; do
22216 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22217 cat >conftest.$ac_ext <<_ACEOF
22218 /* confdefs.h. */
22219 _ACEOF
22220 cat confdefs.h >>conftest.$ac_ext
22221 cat >>conftest.$ac_ext <<_ACEOF
22222 /* end confdefs.h. */
22223 $ac_includes_default
22224 typedef long long ac__type_sizeof_;
22225 int
22226 main ()
22227 {
22228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22229 test_array [0] = 0
22230
22231 ;
22232 return 0;
22233 }
22234 _ACEOF
22235 rm -f conftest.$ac_objext
22236 if { (ac_try="$ac_compile"
22237 case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22240 esac
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_compile") 2>conftest.er1
22243 ac_status=$?
22244 grep -v '^ *+' conftest.er1 >conftest.err
22245 rm -f conftest.er1
22246 cat conftest.err >&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && {
22249 test -z "$ac_c_werror_flag" ||
22250 test ! -s conftest.err
22251 } && test -s conftest.$ac_objext; then
22252 ac_hi=$ac_mid
22253 else
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22256
22257 ac_lo=`expr '(' $ac_mid ')' + 1`
22258 fi
22259
22260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22261 done
22262 case $ac_lo in
22263 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22264 '') if test "$ac_cv_type_long_long" = yes; then
22265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22266 See \`config.log' for more details." >&5
22267 echo "$as_me: error: cannot compute sizeof (long long)
22268 See \`config.log' for more details." >&2;}
22269 { (exit 77); exit 77; }; }
22270 else
22271 ac_cv_sizeof_long_long=0
22272 fi ;;
22273 esac
22274 else
22275 cat >conftest.$ac_ext <<_ACEOF
22276 /* confdefs.h. */
22277 _ACEOF
22278 cat confdefs.h >>conftest.$ac_ext
22279 cat >>conftest.$ac_ext <<_ACEOF
22280 /* end confdefs.h. */
22281 $ac_includes_default
22282 typedef long long ac__type_sizeof_;
22283 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22284 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22285 #include <stdio.h>
22286 #include <stdlib.h>
22287 int
22288 main ()
22289 {
22290
22291 FILE *f = fopen ("conftest.val", "w");
22292 if (! f)
22293 return 1;
22294 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22295 {
22296 long int i = longval ();
22297 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22298 return 1;
22299 fprintf (f, "%ld\n", i);
22300 }
22301 else
22302 {
22303 unsigned long int i = ulongval ();
22304 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22305 return 1;
22306 fprintf (f, "%lu\n", i);
22307 }
22308 return ferror (f) || fclose (f) != 0;
22309
22310 ;
22311 return 0;
22312 }
22313 _ACEOF
22314 rm -f conftest$ac_exeext
22315 if { (ac_try="$ac_link"
22316 case "(($ac_try" in
22317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22318 *) ac_try_echo=$ac_try;;
22319 esac
22320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22321 (eval "$ac_link") 2>&5
22322 ac_status=$?
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22325 { (case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22328 esac
22329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_try") 2>&5
22331 ac_status=$?
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); }; }; then
22334 ac_cv_sizeof_long_long=`cat conftest.val`
22335 else
22336 echo "$as_me: program exited with status $ac_status" >&5
22337 echo "$as_me: failed program was:" >&5
22338 sed 's/^/| /' conftest.$ac_ext >&5
22339
22340 ( exit $ac_status )
22341 if test "$ac_cv_type_long_long" = yes; then
22342 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22343 See \`config.log' for more details." >&5
22344 echo "$as_me: error: cannot compute sizeof (long long)
22345 See \`config.log' for more details." >&2;}
22346 { (exit 77); exit 77; }; }
22347 else
22348 ac_cv_sizeof_long_long=0
22349 fi
22350 fi
22351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22352 fi
22353 rm -f conftest.val
22354 fi
22355 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22356 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22357
22358
22359
22360 cat >>confdefs.h <<_ACEOF
22361 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22362 _ACEOF
22363
22364
22365 if test "$ac_cv_sizeof_long_long" != 0; then
22366 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22367 fi
22368 ;;
22369 * )
22370 { echo "$as_me:$LINENO: checking for long long" >&5
22371 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22372 if test "${ac_cv_type_long_long+set}" = set; then
22373 echo $ECHO_N "(cached) $ECHO_C" >&6
22374 else
22375 cat >conftest.$ac_ext <<_ACEOF
22376 /* confdefs.h. */
22377 _ACEOF
22378 cat confdefs.h >>conftest.$ac_ext
22379 cat >>conftest.$ac_ext <<_ACEOF
22380 /* end confdefs.h. */
22381 $ac_includes_default
22382 typedef long long ac__type_new_;
22383 int
22384 main ()
22385 {
22386 if ((ac__type_new_ *) 0)
22387 return 0;
22388 if (sizeof (ac__type_new_))
22389 return 0;
22390 ;
22391 return 0;
22392 }
22393 _ACEOF
22394 rm -f conftest.$ac_objext
22395 if { (ac_try="$ac_compile"
22396 case "(($ac_try" in
22397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22398 *) ac_try_echo=$ac_try;;
22399 esac
22400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22401 (eval "$ac_compile") 2>conftest.er1
22402 ac_status=$?
22403 grep -v '^ *+' conftest.er1 >conftest.err
22404 rm -f conftest.er1
22405 cat conftest.err >&5
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); } && {
22408 test -z "$ac_c_werror_flag" ||
22409 test ! -s conftest.err
22410 } && test -s conftest.$ac_objext; then
22411 ac_cv_type_long_long=yes
22412 else
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22415
22416 ac_cv_type_long_long=no
22417 fi
22418
22419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22420 fi
22421 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22422 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22423
22424 # The cast to long int works around a bug in the HP C Compiler
22425 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22426 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22427 # This bug is HP SR number 8606223364.
22428 { echo "$as_me:$LINENO: checking size of long long" >&5
22429 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22430 if test "${ac_cv_sizeof_long_long+set}" = set; then
22431 echo $ECHO_N "(cached) $ECHO_C" >&6
22432 else
22433 if test "$cross_compiling" = yes; then
22434 # Depending upon the size, compute the lo and hi bounds.
22435 cat >conftest.$ac_ext <<_ACEOF
22436 /* confdefs.h. */
22437 _ACEOF
22438 cat confdefs.h >>conftest.$ac_ext
22439 cat >>conftest.$ac_ext <<_ACEOF
22440 /* end confdefs.h. */
22441 $ac_includes_default
22442 typedef long long ac__type_sizeof_;
22443 int
22444 main ()
22445 {
22446 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22447 test_array [0] = 0
22448
22449 ;
22450 return 0;
22451 }
22452 _ACEOF
22453 rm -f conftest.$ac_objext
22454 if { (ac_try="$ac_compile"
22455 case "(($ac_try" in
22456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22457 *) ac_try_echo=$ac_try;;
22458 esac
22459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22460 (eval "$ac_compile") 2>conftest.er1
22461 ac_status=$?
22462 grep -v '^ *+' conftest.er1 >conftest.err
22463 rm -f conftest.er1
22464 cat conftest.err >&5
22465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466 (exit $ac_status); } && {
22467 test -z "$ac_c_werror_flag" ||
22468 test ! -s conftest.err
22469 } && test -s conftest.$ac_objext; then
22470 ac_lo=0 ac_mid=0
22471 while :; do
22472 cat >conftest.$ac_ext <<_ACEOF
22473 /* confdefs.h. */
22474 _ACEOF
22475 cat confdefs.h >>conftest.$ac_ext
22476 cat >>conftest.$ac_ext <<_ACEOF
22477 /* end confdefs.h. */
22478 $ac_includes_default
22479 typedef long long ac__type_sizeof_;
22480 int
22481 main ()
22482 {
22483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22484 test_array [0] = 0
22485
22486 ;
22487 return 0;
22488 }
22489 _ACEOF
22490 rm -f conftest.$ac_objext
22491 if { (ac_try="$ac_compile"
22492 case "(($ac_try" in
22493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22494 *) ac_try_echo=$ac_try;;
22495 esac
22496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497 (eval "$ac_compile") 2>conftest.er1
22498 ac_status=$?
22499 grep -v '^ *+' conftest.er1 >conftest.err
22500 rm -f conftest.er1
22501 cat conftest.err >&5
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); } && {
22504 test -z "$ac_c_werror_flag" ||
22505 test ! -s conftest.err
22506 } && test -s conftest.$ac_objext; then
22507 ac_hi=$ac_mid; break
22508 else
22509 echo "$as_me: failed program was:" >&5
22510 sed 's/^/| /' conftest.$ac_ext >&5
22511
22512 ac_lo=`expr $ac_mid + 1`
22513 if test $ac_lo -le $ac_mid; then
22514 ac_lo= ac_hi=
22515 break
22516 fi
22517 ac_mid=`expr 2 '*' $ac_mid + 1`
22518 fi
22519
22520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22521 done
22522 else
22523 echo "$as_me: failed program was:" >&5
22524 sed 's/^/| /' conftest.$ac_ext >&5
22525
22526 cat >conftest.$ac_ext <<_ACEOF
22527 /* confdefs.h. */
22528 _ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22532 $ac_includes_default
22533 typedef long long ac__type_sizeof_;
22534 int
22535 main ()
22536 {
22537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22538 test_array [0] = 0
22539
22540 ;
22541 return 0;
22542 }
22543 _ACEOF
22544 rm -f conftest.$ac_objext
22545 if { (ac_try="$ac_compile"
22546 case "(($ac_try" in
22547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22548 *) ac_try_echo=$ac_try;;
22549 esac
22550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22551 (eval "$ac_compile") 2>conftest.er1
22552 ac_status=$?
22553 grep -v '^ *+' conftest.er1 >conftest.err
22554 rm -f conftest.er1
22555 cat conftest.err >&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } && {
22558 test -z "$ac_c_werror_flag" ||
22559 test ! -s conftest.err
22560 } && test -s conftest.$ac_objext; then
22561 ac_hi=-1 ac_mid=-1
22562 while :; do
22563 cat >conftest.$ac_ext <<_ACEOF
22564 /* confdefs.h. */
22565 _ACEOF
22566 cat confdefs.h >>conftest.$ac_ext
22567 cat >>conftest.$ac_ext <<_ACEOF
22568 /* end confdefs.h. */
22569 $ac_includes_default
22570 typedef long long ac__type_sizeof_;
22571 int
22572 main ()
22573 {
22574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22575 test_array [0] = 0
22576
22577 ;
22578 return 0;
22579 }
22580 _ACEOF
22581 rm -f conftest.$ac_objext
22582 if { (ac_try="$ac_compile"
22583 case "(($ac_try" in
22584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22585 *) ac_try_echo=$ac_try;;
22586 esac
22587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22588 (eval "$ac_compile") 2>conftest.er1
22589 ac_status=$?
22590 grep -v '^ *+' conftest.er1 >conftest.err
22591 rm -f conftest.er1
22592 cat conftest.err >&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); } && {
22595 test -z "$ac_c_werror_flag" ||
22596 test ! -s conftest.err
22597 } && test -s conftest.$ac_objext; then
22598 ac_lo=$ac_mid; break
22599 else
22600 echo "$as_me: failed program was:" >&5
22601 sed 's/^/| /' conftest.$ac_ext >&5
22602
22603 ac_hi=`expr '(' $ac_mid ')' - 1`
22604 if test $ac_mid -le $ac_hi; then
22605 ac_lo= ac_hi=
22606 break
22607 fi
22608 ac_mid=`expr 2 '*' $ac_mid`
22609 fi
22610
22611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22612 done
22613 else
22614 echo "$as_me: failed program was:" >&5
22615 sed 's/^/| /' conftest.$ac_ext >&5
22616
22617 ac_lo= ac_hi=
22618 fi
22619
22620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22621 fi
22622
22623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22624 # Binary search between lo and hi bounds.
22625 while test "x$ac_lo" != "x$ac_hi"; do
22626 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22627 cat >conftest.$ac_ext <<_ACEOF
22628 /* confdefs.h. */
22629 _ACEOF
22630 cat confdefs.h >>conftest.$ac_ext
22631 cat >>conftest.$ac_ext <<_ACEOF
22632 /* end confdefs.h. */
22633 $ac_includes_default
22634 typedef long long ac__type_sizeof_;
22635 int
22636 main ()
22637 {
22638 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22639 test_array [0] = 0
22640
22641 ;
22642 return 0;
22643 }
22644 _ACEOF
22645 rm -f conftest.$ac_objext
22646 if { (ac_try="$ac_compile"
22647 case "(($ac_try" in
22648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22649 *) ac_try_echo=$ac_try;;
22650 esac
22651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22652 (eval "$ac_compile") 2>conftest.er1
22653 ac_status=$?
22654 grep -v '^ *+' conftest.er1 >conftest.err
22655 rm -f conftest.er1
22656 cat conftest.err >&5
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); } && {
22659 test -z "$ac_c_werror_flag" ||
22660 test ! -s conftest.err
22661 } && test -s conftest.$ac_objext; then
22662 ac_hi=$ac_mid
22663 else
22664 echo "$as_me: failed program was:" >&5
22665 sed 's/^/| /' conftest.$ac_ext >&5
22666
22667 ac_lo=`expr '(' $ac_mid ')' + 1`
22668 fi
22669
22670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22671 done
22672 case $ac_lo in
22673 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22674 '') if test "$ac_cv_type_long_long" = yes; then
22675 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22676 See \`config.log' for more details." >&5
22677 echo "$as_me: error: cannot compute sizeof (long long)
22678 See \`config.log' for more details." >&2;}
22679 { (exit 77); exit 77; }; }
22680 else
22681 ac_cv_sizeof_long_long=0
22682 fi ;;
22683 esac
22684 else
22685 cat >conftest.$ac_ext <<_ACEOF
22686 /* confdefs.h. */
22687 _ACEOF
22688 cat confdefs.h >>conftest.$ac_ext
22689 cat >>conftest.$ac_ext <<_ACEOF
22690 /* end confdefs.h. */
22691 $ac_includes_default
22692 typedef long long ac__type_sizeof_;
22693 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22694 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22695 #include <stdio.h>
22696 #include <stdlib.h>
22697 int
22698 main ()
22699 {
22700
22701 FILE *f = fopen ("conftest.val", "w");
22702 if (! f)
22703 return 1;
22704 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22705 {
22706 long int i = longval ();
22707 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22708 return 1;
22709 fprintf (f, "%ld\n", i);
22710 }
22711 else
22712 {
22713 unsigned long int i = ulongval ();
22714 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22715 return 1;
22716 fprintf (f, "%lu\n", i);
22717 }
22718 return ferror (f) || fclose (f) != 0;
22719
22720 ;
22721 return 0;
22722 }
22723 _ACEOF
22724 rm -f conftest$ac_exeext
22725 if { (ac_try="$ac_link"
22726 case "(($ac_try" in
22727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22728 *) ac_try_echo=$ac_try;;
22729 esac
22730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22731 (eval "$ac_link") 2>&5
22732 ac_status=$?
22733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22735 { (case "(($ac_try" in
22736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22737 *) ac_try_echo=$ac_try;;
22738 esac
22739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22740 (eval "$ac_try") 2>&5
22741 ac_status=$?
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); }; }; then
22744 ac_cv_sizeof_long_long=`cat conftest.val`
22745 else
22746 echo "$as_me: program exited with status $ac_status" >&5
22747 echo "$as_me: failed program was:" >&5
22748 sed 's/^/| /' conftest.$ac_ext >&5
22749
22750 ( exit $ac_status )
22751 if test "$ac_cv_type_long_long" = yes; then
22752 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22753 See \`config.log' for more details." >&5
22754 echo "$as_me: error: cannot compute sizeof (long long)
22755 See \`config.log' for more details." >&2;}
22756 { (exit 77); exit 77; }; }
22757 else
22758 ac_cv_sizeof_long_long=0
22759 fi
22760 fi
22761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22762 fi
22763 rm -f conftest.val
22764 fi
22765 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22766 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22767
22768
22769
22770 cat >>confdefs.h <<_ACEOF
22771 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22772 _ACEOF
22773
22774
22775 esac
22776
22777 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22778 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22779 if test "${ac_cv_type_wchar_t+set}" = set; then
22780 echo $ECHO_N "(cached) $ECHO_C" >&6
22781 else
22782 cat >conftest.$ac_ext <<_ACEOF
22783 /* confdefs.h. */
22784 _ACEOF
22785 cat confdefs.h >>conftest.$ac_ext
22786 cat >>conftest.$ac_ext <<_ACEOF
22787 /* end confdefs.h. */
22788
22789 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22790 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22791 # error "fake wchar_t"
22792 #endif
22793 #ifdef HAVE_WCHAR_H
22794 # ifdef __CYGWIN__
22795 # include <stddef.h>
22796 # endif
22797 # include <wchar.h>
22798 #endif
22799 #ifdef HAVE_STDLIB_H
22800 # include <stdlib.h>
22801 #endif
22802 #include <stdio.h>
22803
22804
22805
22806 typedef wchar_t ac__type_new_;
22807 int
22808 main ()
22809 {
22810 if ((ac__type_new_ *) 0)
22811 return 0;
22812 if (sizeof (ac__type_new_))
22813 return 0;
22814 ;
22815 return 0;
22816 }
22817 _ACEOF
22818 rm -f conftest.$ac_objext
22819 if { (ac_try="$ac_compile"
22820 case "(($ac_try" in
22821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22823 esac
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_compile") 2>conftest.er1
22826 ac_status=$?
22827 grep -v '^ *+' conftest.er1 >conftest.err
22828 rm -f conftest.er1
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_c_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest.$ac_objext; then
22835 ac_cv_type_wchar_t=yes
22836 else
22837 echo "$as_me: failed program was:" >&5
22838 sed 's/^/| /' conftest.$ac_ext >&5
22839
22840 ac_cv_type_wchar_t=no
22841 fi
22842
22843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22844 fi
22845 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22846 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22847
22848 # The cast to long int works around a bug in the HP C Compiler
22849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22851 # This bug is HP SR number 8606223364.
22852 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22853 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22854 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6
22856 else
22857 if test "$cross_compiling" = yes; then
22858 # Depending upon the size, compute the lo and hi bounds.
22859 cat >conftest.$ac_ext <<_ACEOF
22860 /* confdefs.h. */
22861 _ACEOF
22862 cat confdefs.h >>conftest.$ac_ext
22863 cat >>conftest.$ac_ext <<_ACEOF
22864 /* end confdefs.h. */
22865
22866 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22867 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22868 # error "fake wchar_t"
22869 #endif
22870 #ifdef HAVE_WCHAR_H
22871 # ifdef __CYGWIN__
22872 # include <stddef.h>
22873 # endif
22874 # include <wchar.h>
22875 #endif
22876 #ifdef HAVE_STDLIB_H
22877 # include <stdlib.h>
22878 #endif
22879 #include <stdio.h>
22880
22881
22882
22883 typedef wchar_t ac__type_sizeof_;
22884 int
22885 main ()
22886 {
22887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22888 test_array [0] = 0
22889
22890 ;
22891 return 0;
22892 }
22893 _ACEOF
22894 rm -f conftest.$ac_objext
22895 if { (ac_try="$ac_compile"
22896 case "(($ac_try" in
22897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22898 *) ac_try_echo=$ac_try;;
22899 esac
22900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22901 (eval "$ac_compile") 2>conftest.er1
22902 ac_status=$?
22903 grep -v '^ *+' conftest.er1 >conftest.err
22904 rm -f conftest.er1
22905 cat conftest.err >&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); } && {
22908 test -z "$ac_c_werror_flag" ||
22909 test ! -s conftest.err
22910 } && test -s conftest.$ac_objext; then
22911 ac_lo=0 ac_mid=0
22912 while :; do
22913 cat >conftest.$ac_ext <<_ACEOF
22914 /* confdefs.h. */
22915 _ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919
22920 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22921 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22922 # error "fake wchar_t"
22923 #endif
22924 #ifdef HAVE_WCHAR_H
22925 # ifdef __CYGWIN__
22926 # include <stddef.h>
22927 # endif
22928 # include <wchar.h>
22929 #endif
22930 #ifdef HAVE_STDLIB_H
22931 # include <stdlib.h>
22932 #endif
22933 #include <stdio.h>
22934
22935
22936
22937 typedef wchar_t ac__type_sizeof_;
22938 int
22939 main ()
22940 {
22941 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22942 test_array [0] = 0
22943
22944 ;
22945 return 0;
22946 }
22947 _ACEOF
22948 rm -f conftest.$ac_objext
22949 if { (ac_try="$ac_compile"
22950 case "(($ac_try" in
22951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22952 *) ac_try_echo=$ac_try;;
22953 esac
22954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22955 (eval "$ac_compile") 2>conftest.er1
22956 ac_status=$?
22957 grep -v '^ *+' conftest.er1 >conftest.err
22958 rm -f conftest.er1
22959 cat conftest.err >&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); } && {
22962 test -z "$ac_c_werror_flag" ||
22963 test ! -s conftest.err
22964 } && test -s conftest.$ac_objext; then
22965 ac_hi=$ac_mid; break
22966 else
22967 echo "$as_me: failed program was:" >&5
22968 sed 's/^/| /' conftest.$ac_ext >&5
22969
22970 ac_lo=`expr $ac_mid + 1`
22971 if test $ac_lo -le $ac_mid; then
22972 ac_lo= ac_hi=
22973 break
22974 fi
22975 ac_mid=`expr 2 '*' $ac_mid + 1`
22976 fi
22977
22978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22979 done
22980 else
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.$ac_ext >&5
22983
22984 cat >conftest.$ac_ext <<_ACEOF
22985 /* confdefs.h. */
22986 _ACEOF
22987 cat confdefs.h >>conftest.$ac_ext
22988 cat >>conftest.$ac_ext <<_ACEOF
22989 /* end confdefs.h. */
22990
22991 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22992 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22993 # error "fake wchar_t"
22994 #endif
22995 #ifdef HAVE_WCHAR_H
22996 # ifdef __CYGWIN__
22997 # include <stddef.h>
22998 # endif
22999 # include <wchar.h>
23000 #endif
23001 #ifdef HAVE_STDLIB_H
23002 # include <stdlib.h>
23003 #endif
23004 #include <stdio.h>
23005
23006
23007
23008 typedef wchar_t ac__type_sizeof_;
23009 int
23010 main ()
23011 {
23012 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23013 test_array [0] = 0
23014
23015 ;
23016 return 0;
23017 }
23018 _ACEOF
23019 rm -f conftest.$ac_objext
23020 if { (ac_try="$ac_compile"
23021 case "(($ac_try" in
23022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23023 *) ac_try_echo=$ac_try;;
23024 esac
23025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23026 (eval "$ac_compile") 2>conftest.er1
23027 ac_status=$?
23028 grep -v '^ *+' conftest.er1 >conftest.err
23029 rm -f conftest.er1
23030 cat conftest.err >&5
23031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23032 (exit $ac_status); } && {
23033 test -z "$ac_c_werror_flag" ||
23034 test ! -s conftest.err
23035 } && test -s conftest.$ac_objext; then
23036 ac_hi=-1 ac_mid=-1
23037 while :; do
23038 cat >conftest.$ac_ext <<_ACEOF
23039 /* confdefs.h. */
23040 _ACEOF
23041 cat confdefs.h >>conftest.$ac_ext
23042 cat >>conftest.$ac_ext <<_ACEOF
23043 /* end confdefs.h. */
23044
23045 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23046 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23047 # error "fake wchar_t"
23048 #endif
23049 #ifdef HAVE_WCHAR_H
23050 # ifdef __CYGWIN__
23051 # include <stddef.h>
23052 # endif
23053 # include <wchar.h>
23054 #endif
23055 #ifdef HAVE_STDLIB_H
23056 # include <stdlib.h>
23057 #endif
23058 #include <stdio.h>
23059
23060
23061
23062 typedef wchar_t ac__type_sizeof_;
23063 int
23064 main ()
23065 {
23066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23067 test_array [0] = 0
23068
23069 ;
23070 return 0;
23071 }
23072 _ACEOF
23073 rm -f conftest.$ac_objext
23074 if { (ac_try="$ac_compile"
23075 case "(($ac_try" in
23076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23077 *) ac_try_echo=$ac_try;;
23078 esac
23079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23080 (eval "$ac_compile") 2>conftest.er1
23081 ac_status=$?
23082 grep -v '^ *+' conftest.er1 >conftest.err
23083 rm -f conftest.er1
23084 cat conftest.err >&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } && {
23087 test -z "$ac_c_werror_flag" ||
23088 test ! -s conftest.err
23089 } && test -s conftest.$ac_objext; then
23090 ac_lo=$ac_mid; break
23091 else
23092 echo "$as_me: failed program was:" >&5
23093 sed 's/^/| /' conftest.$ac_ext >&5
23094
23095 ac_hi=`expr '(' $ac_mid ')' - 1`
23096 if test $ac_mid -le $ac_hi; then
23097 ac_lo= ac_hi=
23098 break
23099 fi
23100 ac_mid=`expr 2 '*' $ac_mid`
23101 fi
23102
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23104 done
23105 else
23106 echo "$as_me: failed program was:" >&5
23107 sed 's/^/| /' conftest.$ac_ext >&5
23108
23109 ac_lo= ac_hi=
23110 fi
23111
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 fi
23114
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116 # Binary search between lo and hi bounds.
23117 while test "x$ac_lo" != "x$ac_hi"; do
23118 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23119 cat >conftest.$ac_ext <<_ACEOF
23120 /* confdefs.h. */
23121 _ACEOF
23122 cat confdefs.h >>conftest.$ac_ext
23123 cat >>conftest.$ac_ext <<_ACEOF
23124 /* end confdefs.h. */
23125
23126 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23127 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23128 # error "fake wchar_t"
23129 #endif
23130 #ifdef HAVE_WCHAR_H
23131 # ifdef __CYGWIN__
23132 # include <stddef.h>
23133 # endif
23134 # include <wchar.h>
23135 #endif
23136 #ifdef HAVE_STDLIB_H
23137 # include <stdlib.h>
23138 #endif
23139 #include <stdio.h>
23140
23141
23142
23143 typedef wchar_t ac__type_sizeof_;
23144 int
23145 main ()
23146 {
23147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23148 test_array [0] = 0
23149
23150 ;
23151 return 0;
23152 }
23153 _ACEOF
23154 rm -f conftest.$ac_objext
23155 if { (ac_try="$ac_compile"
23156 case "(($ac_try" in
23157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23158 *) ac_try_echo=$ac_try;;
23159 esac
23160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23161 (eval "$ac_compile") 2>conftest.er1
23162 ac_status=$?
23163 grep -v '^ *+' conftest.er1 >conftest.err
23164 rm -f conftest.er1
23165 cat conftest.err >&5
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); } && {
23168 test -z "$ac_c_werror_flag" ||
23169 test ! -s conftest.err
23170 } && test -s conftest.$ac_objext; then
23171 ac_hi=$ac_mid
23172 else
23173 echo "$as_me: failed program was:" >&5
23174 sed 's/^/| /' conftest.$ac_ext >&5
23175
23176 ac_lo=`expr '(' $ac_mid ')' + 1`
23177 fi
23178
23179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23180 done
23181 case $ac_lo in
23182 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23183 '') if test "$ac_cv_type_wchar_t" = yes; then
23184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23185 See \`config.log' for more details." >&5
23186 echo "$as_me: error: cannot compute sizeof (wchar_t)
23187 See \`config.log' for more details." >&2;}
23188 { (exit 77); exit 77; }; }
23189 else
23190 ac_cv_sizeof_wchar_t=0
23191 fi ;;
23192 esac
23193 else
23194 cat >conftest.$ac_ext <<_ACEOF
23195 /* confdefs.h. */
23196 _ACEOF
23197 cat confdefs.h >>conftest.$ac_ext
23198 cat >>conftest.$ac_ext <<_ACEOF
23199 /* end confdefs.h. */
23200
23201 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23202 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23203 # error "fake wchar_t"
23204 #endif
23205 #ifdef HAVE_WCHAR_H
23206 # ifdef __CYGWIN__
23207 # include <stddef.h>
23208 # endif
23209 # include <wchar.h>
23210 #endif
23211 #ifdef HAVE_STDLIB_H
23212 # include <stdlib.h>
23213 #endif
23214 #include <stdio.h>
23215
23216
23217
23218 typedef wchar_t ac__type_sizeof_;
23219 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23220 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23221 #include <stdio.h>
23222 #include <stdlib.h>
23223 int
23224 main ()
23225 {
23226
23227 FILE *f = fopen ("conftest.val", "w");
23228 if (! f)
23229 return 1;
23230 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23231 {
23232 long int i = longval ();
23233 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23234 return 1;
23235 fprintf (f, "%ld\n", i);
23236 }
23237 else
23238 {
23239 unsigned long int i = ulongval ();
23240 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23241 return 1;
23242 fprintf (f, "%lu\n", i);
23243 }
23244 return ferror (f) || fclose (f) != 0;
23245
23246 ;
23247 return 0;
23248 }
23249 _ACEOF
23250 rm -f conftest$ac_exeext
23251 if { (ac_try="$ac_link"
23252 case "(($ac_try" in
23253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23254 *) ac_try_echo=$ac_try;;
23255 esac
23256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23257 (eval "$ac_link") 2>&5
23258 ac_status=$?
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23261 { (case "(($ac_try" in
23262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23263 *) ac_try_echo=$ac_try;;
23264 esac
23265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23266 (eval "$ac_try") 2>&5
23267 ac_status=$?
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); }; }; then
23270 ac_cv_sizeof_wchar_t=`cat conftest.val`
23271 else
23272 echo "$as_me: program exited with status $ac_status" >&5
23273 echo "$as_me: failed program was:" >&5
23274 sed 's/^/| /' conftest.$ac_ext >&5
23275
23276 ( exit $ac_status )
23277 if test "$ac_cv_type_wchar_t" = yes; then
23278 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23279 See \`config.log' for more details." >&5
23280 echo "$as_me: error: cannot compute sizeof (wchar_t)
23281 See \`config.log' for more details." >&2;}
23282 { (exit 77); exit 77; }; }
23283 else
23284 ac_cv_sizeof_wchar_t=0
23285 fi
23286 fi
23287 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23288 fi
23289 rm -f conftest.val
23290 fi
23291 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23292 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23293
23294
23295
23296 cat >>confdefs.h <<_ACEOF
23297 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23298 _ACEOF
23299
23300
23301 if test "$ac_cv_sizeof_wchar_t" != 0; then
23302 wxUSE_WCHAR_T=yes
23303 else
23304 wxUSE_WCHAR_T=no
23305 fi
23306
23307 { echo "$as_me:$LINENO: checking for va_copy" >&5
23308 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23309 if test "${wx_cv_func_va_copy+set}" = set; then
23310 echo $ECHO_N "(cached) $ECHO_C" >&6
23311 else
23312
23313 ac_ext=cpp
23314 ac_cpp='$CXXCPP $CPPFLAGS'
23315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23318
23319 cat >conftest.$ac_ext <<_ACEOF
23320
23321 #include <stdarg.h>
23322 void foo(char *f, ...)
23323 {
23324 va_list ap1, ap2;
23325 va_start(ap1, f);
23326 va_copy(ap2, ap1);
23327 va_end(ap2);
23328 va_end(ap1);
23329 }
23330 int main()
23331 {
23332 foo("hi", 17);
23333 return 0;
23334 }
23335 _ACEOF
23336 rm -f conftest.$ac_objext conftest$ac_exeext
23337 if { (ac_try="$ac_link"
23338 case "(($ac_try" in
23339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23340 *) ac_try_echo=$ac_try;;
23341 esac
23342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23343 (eval "$ac_link") 2>conftest.er1
23344 ac_status=$?
23345 grep -v '^ *+' conftest.er1 >conftest.err
23346 rm -f conftest.er1
23347 cat conftest.err >&5
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); } && {
23350 test -z "$ac_cxx_werror_flag" ||
23351 test ! -s conftest.err
23352 } && test -s conftest$ac_exeext &&
23353 $as_test_x conftest$ac_exeext; then
23354 wx_cv_func_va_copy=yes
23355 else
23356 echo "$as_me: failed program was:" >&5
23357 sed 's/^/| /' conftest.$ac_ext >&5
23358
23359 wx_cv_func_va_copy=no
23360
23361 fi
23362
23363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23364 conftest$ac_exeext conftest.$ac_ext
23365 ac_ext=c
23366 ac_cpp='$CPP $CPPFLAGS'
23367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23370
23371
23372
23373 fi
23374 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23375 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23376
23377 if test $wx_cv_func_va_copy = "yes"; then
23378 cat >>confdefs.h <<\_ACEOF
23379 #define HAVE_VA_COPY 1
23380 _ACEOF
23381
23382 else
23383 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23384 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23385 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23386 echo $ECHO_N "(cached) $ECHO_C" >&6
23387 else
23388
23389 if test "$cross_compiling" = yes; then
23390 wx_cv_type_va_list_lvalue=yes
23391
23392 else
23393 cat >conftest.$ac_ext <<_ACEOF
23394
23395 #include <stdarg.h>
23396 int foo(char *f, ...)
23397 {
23398 va_list ap1, ap2;
23399 va_start(ap1, f);
23400 ap2 = ap1;
23401 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23402 return 1;
23403 va_end(ap2);
23404 va_end(ap1);
23405 return 0;
23406 }
23407 int main()
23408 {
23409 return foo("hi", 17);
23410 }
23411 _ACEOF
23412 rm -f conftest$ac_exeext
23413 if { (ac_try="$ac_link"
23414 case "(($ac_try" in
23415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23416 *) ac_try_echo=$ac_try;;
23417 esac
23418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23419 (eval "$ac_link") 2>&5
23420 ac_status=$?
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23423 { (case "(($ac_try" in
23424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23425 *) ac_try_echo=$ac_try;;
23426 esac
23427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23428 (eval "$ac_try") 2>&5
23429 ac_status=$?
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); }; }; then
23432 wx_cv_type_va_list_lvalue=yes
23433 else
23434 echo "$as_me: program exited with status $ac_status" >&5
23435 echo "$as_me: failed program was:" >&5
23436 sed 's/^/| /' conftest.$ac_ext >&5
23437
23438 ( exit $ac_status )
23439 wx_cv_type_va_list_lvalue=no
23440 fi
23441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23442 fi
23443
23444
23445
23446
23447 fi
23448 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23449 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23450
23451 if test $wx_cv_type_va_list_lvalue != "yes"; then
23452 cat >>confdefs.h <<\_ACEOF
23453 #define VA_LIST_IS_ARRAY 1
23454 _ACEOF
23455
23456 fi
23457 fi
23458
23459 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23460
23461 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23462 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23463 if test "${wx_cv_have_variadic_macros+set}" = set; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23465 else
23466
23467 ac_ext=cpp
23468 ac_cpp='$CXXCPP $CPPFLAGS'
23469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23472
23473 cat >conftest.$ac_ext <<_ACEOF
23474 /* confdefs.h. */
23475 _ACEOF
23476 cat confdefs.h >>conftest.$ac_ext
23477 cat >>conftest.$ac_ext <<_ACEOF
23478 /* end confdefs.h. */
23479
23480 #include <stdio.h>
23481 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23482
23483 int
23484 main ()
23485 {
23486
23487 test("%s %d %p", "test", 1, 0);
23488
23489
23490 ;
23491 return 0;
23492 }
23493 _ACEOF
23494 rm -f conftest.$ac_objext
23495 if { (ac_try="$ac_compile"
23496 case "(($ac_try" in
23497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23498 *) ac_try_echo=$ac_try;;
23499 esac
23500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23501 (eval "$ac_compile") 2>conftest.er1
23502 ac_status=$?
23503 grep -v '^ *+' conftest.er1 >conftest.err
23504 rm -f conftest.er1
23505 cat conftest.err >&5
23506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23507 (exit $ac_status); } && {
23508 test -z "$ac_cxx_werror_flag" ||
23509 test ! -s conftest.err
23510 } && test -s conftest.$ac_objext; then
23511 wx_cv_have_variadic_macros=yes
23512 else
23513 echo "$as_me: failed program was:" >&5
23514 sed 's/^/| /' conftest.$ac_ext >&5
23515
23516 wx_cv_have_variadic_macros=no
23517
23518 fi
23519
23520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23521 ac_ext=c
23522 ac_cpp='$CPP $CPPFLAGS'
23523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23526
23527
23528
23529 fi
23530 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23531 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23532
23533 if test $wx_cv_have_variadic_macros = "yes"; then
23534 cat >>confdefs.h <<\_ACEOF
23535 #define HAVE_VARIADIC_MACROS 1
23536 _ACEOF
23537
23538 fi
23539
23540 fi
23541
23542 LARGEFILE_CPPFLAGS=
23543 # Check whether --enable-largefile was given.
23544 if test "${enable_largefile+set}" = set; then
23545 enableval=$enable_largefile;
23546 fi
23547
23548 if test "$enable_largefile" != no; then
23549 wx_largefile=no
23550
23551 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23552 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23553 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23554 echo $ECHO_N "(cached) $ECHO_C" >&6
23555 else
23556
23557 cat >conftest.$ac_ext <<_ACEOF
23558 /* confdefs.h. */
23559 _ACEOF
23560 cat confdefs.h >>conftest.$ac_ext
23561 cat >>conftest.$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23563 #define _FILE_OFFSET_BITS 64
23564 #include <sys/types.h>
23565 int
23566 main ()
23567 {
23568 typedef struct {
23569 unsigned int field: sizeof(off_t) == 8;
23570 } wxlf;
23571
23572 ;
23573 return 0;
23574 }
23575 _ACEOF
23576 rm -f conftest.$ac_objext
23577 if { (ac_try="$ac_compile"
23578 case "(($ac_try" in
23579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23580 *) ac_try_echo=$ac_try;;
23581 esac
23582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23583 (eval "$ac_compile") 2>conftest.er1
23584 ac_status=$?
23585 grep -v '^ *+' conftest.er1 >conftest.err
23586 rm -f conftest.er1
23587 cat conftest.err >&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); } && {
23590 test -z "$ac_c_werror_flag" ||
23591 test ! -s conftest.err
23592 } && test -s conftest.$ac_objext; then
23593 ac_cv_sys_file_offset_bits=64
23594 else
23595 echo "$as_me: failed program was:" >&5
23596 sed 's/^/| /' conftest.$ac_ext >&5
23597
23598 ac_cv_sys_file_offset_bits=no
23599 fi
23600
23601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23602
23603
23604 fi
23605 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23606 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23607
23608 if test "$ac_cv_sys_file_offset_bits" != no; then
23609 wx_largefile=yes
23610 cat >>confdefs.h <<_ACEOF
23611 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23612 _ACEOF
23613
23614 fi
23615
23616 if test "x$wx_largefile" != "xyes"; then
23617
23618 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23619 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23620 if test "${ac_cv_sys_large_files+set}" = set; then
23621 echo $ECHO_N "(cached) $ECHO_C" >&6
23622 else
23623
23624 cat >conftest.$ac_ext <<_ACEOF
23625 /* confdefs.h. */
23626 _ACEOF
23627 cat confdefs.h >>conftest.$ac_ext
23628 cat >>conftest.$ac_ext <<_ACEOF
23629 /* end confdefs.h. */
23630 #define _LARGE_FILES 1
23631 #include <sys/types.h>
23632 int
23633 main ()
23634 {
23635 typedef struct {
23636 unsigned int field: sizeof(off_t) == 8;
23637 } wxlf;
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_cv_sys_large_files=1
23661 else
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23664
23665 ac_cv_sys_large_files=no
23666 fi
23667
23668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23669
23670
23671 fi
23672 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23673 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23674
23675 if test "$ac_cv_sys_large_files" != no; then
23676 wx_largefile=yes
23677 cat >>confdefs.h <<_ACEOF
23678 #define _LARGE_FILES $ac_cv_sys_large_files
23679 _ACEOF
23680
23681 fi
23682
23683 fi
23684
23685 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23686 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23687 if test "x$wx_largefile" = "xyes"; then
23688 cat >>confdefs.h <<\_ACEOF
23689 #define HAVE_LARGEFILE_SUPPORT 1
23690 _ACEOF
23691
23692 fi
23693 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23694 echo "${ECHO_T}$wx_largefile" >&6; }
23695 fi
23696
23697 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23698 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23699 elif test "$ac_cv_sys_large_files" = 1; then
23700 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23701 fi
23702
23703 if test -n "$LARGEFILE_CPPFLAGS"; then
23704 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23705
23706 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23707 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23708 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23709 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23710 echo $ECHO_N "(cached) $ECHO_C" >&6
23711 else
23712
23713 ac_ext=cpp
23714 ac_cpp='$CXXCPP $CPPFLAGS'
23715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23718
23719 cat >conftest.$ac_ext <<_ACEOF
23720 /* confdefs.h. */
23721 _ACEOF
23722 cat confdefs.h >>conftest.$ac_ext
23723 cat >>conftest.$ac_ext <<_ACEOF
23724 /* end confdefs.h. */
23725
23726 int
23727 main ()
23728 {
23729
23730 #ifndef __STDC_EXT__
23731 choke me
23732 #endif
23733
23734 ;
23735 return 0;
23736 }
23737 _ACEOF
23738 rm -f conftest.$ac_objext
23739 if { (ac_try="$ac_compile"
23740 case "(($ac_try" in
23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23742 *) ac_try_echo=$ac_try;;
23743 esac
23744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23745 (eval "$ac_compile") 2>conftest.er1
23746 ac_status=$?
23747 grep -v '^ *+' conftest.er1 >conftest.err
23748 rm -f conftest.er1
23749 cat conftest.err >&5
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); } && {
23752 test -z "$ac_cxx_werror_flag" ||
23753 test ! -s conftest.err
23754 } && test -s conftest.$ac_objext; then
23755 wx_cv_STDC_EXT_required=no
23756 else
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.$ac_ext >&5
23759
23760 wx_cv_STDC_EXT_required=yes
23761
23762 fi
23763
23764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23765 ac_ext=c
23766 ac_cpp='$CPP $CPPFLAGS'
23767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23770
23771
23772
23773 fi
23774 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23775 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23776 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23777 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23778 fi
23779 fi
23780 fi
23781
23782 ac_ext=cpp
23783 ac_cpp='$CXXCPP $CPPFLAGS'
23784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23787
23788 old_CPPFLAGS="$CPPFLAGS"
23789 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23790 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23791 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23792 if test "${ac_cv_sys_largefile_source+set}" = set; then
23793 echo $ECHO_N "(cached) $ECHO_C" >&6
23794 else
23795 while :; do
23796 cat >conftest.$ac_ext <<_ACEOF
23797 /* confdefs.h. */
23798 _ACEOF
23799 cat confdefs.h >>conftest.$ac_ext
23800 cat >>conftest.$ac_ext <<_ACEOF
23801 /* end confdefs.h. */
23802 #include <sys/types.h> /* for off_t */
23803 #include <stdio.h>
23804 int
23805 main ()
23806 {
23807 int (*fp) (FILE *, off_t, int) = fseeko;
23808 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23809 ;
23810 return 0;
23811 }
23812 _ACEOF
23813 rm -f conftest.$ac_objext conftest$ac_exeext
23814 if { (ac_try="$ac_link"
23815 case "(($ac_try" in
23816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23817 *) ac_try_echo=$ac_try;;
23818 esac
23819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23820 (eval "$ac_link") 2>conftest.er1
23821 ac_status=$?
23822 grep -v '^ *+' conftest.er1 >conftest.err
23823 rm -f conftest.er1
23824 cat conftest.err >&5
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); } && {
23827 test -z "$ac_cxx_werror_flag" ||
23828 test ! -s conftest.err
23829 } && test -s conftest$ac_exeext &&
23830 $as_test_x conftest$ac_exeext; then
23831 ac_cv_sys_largefile_source=no; break
23832 else
23833 echo "$as_me: failed program was:" >&5
23834 sed 's/^/| /' conftest.$ac_ext >&5
23835
23836
23837 fi
23838
23839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23840 conftest$ac_exeext conftest.$ac_ext
23841 cat >conftest.$ac_ext <<_ACEOF
23842 /* confdefs.h. */
23843 _ACEOF
23844 cat confdefs.h >>conftest.$ac_ext
23845 cat >>conftest.$ac_ext <<_ACEOF
23846 /* end confdefs.h. */
23847 #define _LARGEFILE_SOURCE 1
23848 #include <sys/types.h> /* for off_t */
23849 #include <stdio.h>
23850 int
23851 main ()
23852 {
23853 int (*fp) (FILE *, off_t, int) = fseeko;
23854 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23855 ;
23856 return 0;
23857 }
23858 _ACEOF
23859 rm -f conftest.$ac_objext conftest$ac_exeext
23860 if { (ac_try="$ac_link"
23861 case "(($ac_try" in
23862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23863 *) ac_try_echo=$ac_try;;
23864 esac
23865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23866 (eval "$ac_link") 2>conftest.er1
23867 ac_status=$?
23868 grep -v '^ *+' conftest.er1 >conftest.err
23869 rm -f conftest.er1
23870 cat conftest.err >&5
23871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23872 (exit $ac_status); } && {
23873 test -z "$ac_cxx_werror_flag" ||
23874 test ! -s conftest.err
23875 } && test -s conftest$ac_exeext &&
23876 $as_test_x conftest$ac_exeext; then
23877 ac_cv_sys_largefile_source=1; break
23878 else
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.$ac_ext >&5
23881
23882
23883 fi
23884
23885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23886 conftest$ac_exeext conftest.$ac_ext
23887 ac_cv_sys_largefile_source=unknown
23888 break
23889 done
23890 fi
23891 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23892 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23893 case $ac_cv_sys_largefile_source in #(
23894 no | unknown) ;;
23895 *)
23896 cat >>confdefs.h <<_ACEOF
23897 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23898 _ACEOF
23899 ;;
23900 esac
23901 rm -f conftest*
23902
23903 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23904 # in glibc 2.1.3, but that breaks too many other things.
23905 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23906 if test $ac_cv_sys_largefile_source != unknown; then
23907
23908 cat >>confdefs.h <<\_ACEOF
23909 #define HAVE_FSEEKO 1
23910 _ACEOF
23911
23912 fi
23913
23914 CPPFLAGS="$old_CPPFLAGS"
23915 ac_ext=c
23916 ac_cpp='$CPP $CPPFLAGS'
23917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23920
23921 if test "$ac_cv_sys_largefile_source" != no; then
23922 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23923 fi
23924
23925 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23926 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23927 if test "${ac_cv_c_bigendian+set}" = set; then
23928 echo $ECHO_N "(cached) $ECHO_C" >&6
23929 else
23930 ac_cv_c_bigendian=unknown
23931 # See if sys/param.h defines the BYTE_ORDER macro.
23932 cat >conftest.$ac_ext <<_ACEOF
23933 /* confdefs.h. */
23934 _ACEOF
23935 cat confdefs.h >>conftest.$ac_ext
23936 cat >>conftest.$ac_ext <<_ACEOF
23937 /* end confdefs.h. */
23938 #include <sys/types.h>
23939 #include <sys/param.h>
23940 int
23941 main ()
23942 {
23943
23944 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23945 bogus endian macros
23946 #endif
23947 ;
23948 return 0;
23949 }
23950 _ACEOF
23951 rm -f conftest.$ac_objext
23952 if { (ac_try="$ac_compile"
23953 case "(($ac_try" in
23954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23955 *) ac_try_echo=$ac_try;;
23956 esac
23957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23958 (eval "$ac_compile") 2>conftest.er1
23959 ac_status=$?
23960 grep -v '^ *+' conftest.er1 >conftest.err
23961 rm -f conftest.er1
23962 cat conftest.err >&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } && {
23965 test -z "$ac_c_werror_flag" ||
23966 test ! -s conftest.err
23967 } && test -s conftest.$ac_objext; then
23968 # It does; now see whether it defined to BIG_ENDIAN or not.
23969 cat >conftest.$ac_ext <<_ACEOF
23970 /* confdefs.h. */
23971 _ACEOF
23972 cat confdefs.h >>conftest.$ac_ext
23973 cat >>conftest.$ac_ext <<_ACEOF
23974 /* end confdefs.h. */
23975 #include <sys/types.h>
23976 #include <sys/param.h>
23977 int
23978 main ()
23979 {
23980
23981 #if BYTE_ORDER != BIG_ENDIAN
23982 not big endian
23983 #endif
23984 ;
23985 return 0;
23986 }
23987 _ACEOF
23988 rm -f conftest.$ac_objext
23989 if { (ac_try="$ac_compile"
23990 case "(($ac_try" in
23991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23992 *) ac_try_echo=$ac_try;;
23993 esac
23994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23995 (eval "$ac_compile") 2>conftest.er1
23996 ac_status=$?
23997 grep -v '^ *+' conftest.er1 >conftest.err
23998 rm -f conftest.er1
23999 cat conftest.err >&5
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); } && {
24002 test -z "$ac_c_werror_flag" ||
24003 test ! -s conftest.err
24004 } && test -s conftest.$ac_objext; then
24005 ac_cv_c_bigendian=yes
24006 else
24007 echo "$as_me: failed program was:" >&5
24008 sed 's/^/| /' conftest.$ac_ext >&5
24009
24010 ac_cv_c_bigendian=no
24011 fi
24012
24013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24014 else
24015 echo "$as_me: failed program was:" >&5
24016 sed 's/^/| /' conftest.$ac_ext >&5
24017
24018
24019 fi
24020
24021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24022 if test $ac_cv_c_bigendian = unknown; then
24023 if test "$cross_compiling" = yes; then
24024 ac_cv_c_bigendian=unknown
24025 else
24026 cat >conftest.$ac_ext <<_ACEOF
24027 /* confdefs.h. */
24028 _ACEOF
24029 cat confdefs.h >>conftest.$ac_ext
24030 cat >>conftest.$ac_ext <<_ACEOF
24031 /* end confdefs.h. */
24032 main () {
24033 /* Are we little or big endian? From Harbison&Steele. */
24034 union
24035 {
24036 long l;
24037 char c[sizeof (long)];
24038 } u;
24039 u.l = 1;
24040 exit (u.c[sizeof (long) - 1] == 1);
24041 }
24042 _ACEOF
24043 rm -f conftest$ac_exeext
24044 if { (ac_try="$ac_link"
24045 case "(($ac_try" in
24046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24047 *) ac_try_echo=$ac_try;;
24048 esac
24049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24050 (eval "$ac_link") 2>&5
24051 ac_status=$?
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24054 { (case "(($ac_try" in
24055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24056 *) ac_try_echo=$ac_try;;
24057 esac
24058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24059 (eval "$ac_try") 2>&5
24060 ac_status=$?
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); }; }; then
24063 ac_cv_c_bigendian=no
24064 else
24065 echo "$as_me: program exited with status $ac_status" >&5
24066 echo "$as_me: failed program was:" >&5
24067 sed 's/^/| /' conftest.$ac_ext >&5
24068
24069 ( exit $ac_status )
24070 ac_cv_c_bigendian=yes
24071 fi
24072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24073 fi
24074
24075
24076 fi
24077 fi
24078 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24079 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24080 if test $ac_cv_c_bigendian = unknown; then
24081 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
24082 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
24083 fi
24084 if test $ac_cv_c_bigendian = yes; then
24085 cat >>confdefs.h <<\_ACEOF
24086 #define WORDS_BIGENDIAN 1
24087 _ACEOF
24088
24089 fi
24090
24091
24092
24093
24094 ac_ext=cpp
24095 ac_cpp='$CXXCPP $CPPFLAGS'
24096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24099
24100
24101
24102 for ac_header in iostream
24103 do
24104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24108 echo $ECHO_N "(cached) $ECHO_C" >&6
24109 else
24110 cat >conftest.$ac_ext <<_ACEOF
24111 /* confdefs.h. */
24112 _ACEOF
24113 cat confdefs.h >>conftest.$ac_ext
24114 cat >>conftest.$ac_ext <<_ACEOF
24115 /* end confdefs.h. */
24116
24117
24118 #include <$ac_header>
24119 _ACEOF
24120 rm -f conftest.$ac_objext
24121 if { (ac_try="$ac_compile"
24122 case "(($ac_try" in
24123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24124 *) ac_try_echo=$ac_try;;
24125 esac
24126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24127 (eval "$ac_compile") 2>conftest.er1
24128 ac_status=$?
24129 grep -v '^ *+' conftest.er1 >conftest.err
24130 rm -f conftest.er1
24131 cat conftest.err >&5
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); } && {
24134 test -z "$ac_cxx_werror_flag" ||
24135 test ! -s conftest.err
24136 } && test -s conftest.$ac_objext; then
24137 eval "$as_ac_Header=yes"
24138 else
24139 echo "$as_me: failed program was:" >&5
24140 sed 's/^/| /' conftest.$ac_ext >&5
24141
24142 eval "$as_ac_Header=no"
24143 fi
24144
24145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24146 fi
24147 ac_res=`eval echo '${'$as_ac_Header'}'`
24148 { echo "$as_me:$LINENO: result: $ac_res" >&5
24149 echo "${ECHO_T}$ac_res" >&6; }
24150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24151 cat >>confdefs.h <<_ACEOF
24152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24153 _ACEOF
24154
24155 fi
24156
24157 done
24158
24159
24160 if test "$ac_cv_header_iostream" = "yes" ; then
24161 :
24162 else
24163 cat >>confdefs.h <<\_ACEOF
24164 #define wxUSE_IOSTREAMH 1
24165 _ACEOF
24166
24167 fi
24168
24169 ac_ext=c
24170 ac_cpp='$CPP $CPPFLAGS'
24171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24174
24175
24176
24177
24178 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24179 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24180 if test "${wx_cv_explicit+set}" = set; then
24181 echo $ECHO_N "(cached) $ECHO_C" >&6
24182 else
24183
24184
24185 ac_ext=cpp
24186 ac_cpp='$CXXCPP $CPPFLAGS'
24187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24190
24191
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 class Foo { public: explicit Foo(int) {} };
24200
24201 int
24202 main ()
24203 {
24204
24205 return 0;
24206
24207 ;
24208 return 0;
24209 }
24210 _ACEOF
24211 rm -f conftest.$ac_objext
24212 if { (ac_try="$ac_compile"
24213 case "(($ac_try" in
24214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24215 *) ac_try_echo=$ac_try;;
24216 esac
24217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24218 (eval "$ac_compile") 2>conftest.er1
24219 ac_status=$?
24220 grep -v '^ *+' conftest.er1 >conftest.err
24221 rm -f conftest.er1
24222 cat conftest.err >&5
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); } && {
24225 test -z "$ac_cxx_werror_flag" ||
24226 test ! -s conftest.err
24227 } && test -s conftest.$ac_objext; then
24228
24229 cat >conftest.$ac_ext <<_ACEOF
24230 /* confdefs.h. */
24231 _ACEOF
24232 cat confdefs.h >>conftest.$ac_ext
24233 cat >>conftest.$ac_ext <<_ACEOF
24234 /* end confdefs.h. */
24235
24236 class Foo { public: explicit Foo(int) {} };
24237 static void TakeFoo(const Foo& foo) { }
24238
24239 int
24240 main ()
24241 {
24242
24243 TakeFoo(17);
24244 return 0;
24245
24246 ;
24247 return 0;
24248 }
24249 _ACEOF
24250 rm -f conftest.$ac_objext
24251 if { (ac_try="$ac_compile"
24252 case "(($ac_try" in
24253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24254 *) ac_try_echo=$ac_try;;
24255 esac
24256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24257 (eval "$ac_compile") 2>conftest.er1
24258 ac_status=$?
24259 grep -v '^ *+' conftest.er1 >conftest.err
24260 rm -f conftest.er1
24261 cat conftest.err >&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } && {
24264 test -z "$ac_cxx_werror_flag" ||
24265 test ! -s conftest.err
24266 } && test -s conftest.$ac_objext; then
24267 wx_cv_explicit=no
24268 else
24269 echo "$as_me: failed program was:" >&5
24270 sed 's/^/| /' conftest.$ac_ext >&5
24271
24272 wx_cv_explicit=yes
24273
24274 fi
24275
24276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24277
24278 else
24279 echo "$as_me: failed program was:" >&5
24280 sed 's/^/| /' conftest.$ac_ext >&5
24281
24282 wx_cv_explicit=no
24283
24284 fi
24285
24286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24287
24288 ac_ext=c
24289 ac_cpp='$CPP $CPPFLAGS'
24290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24293
24294
24295 fi
24296 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24297 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24298
24299 if test "$wx_cv_explicit" = "yes"; then
24300 cat >>confdefs.h <<\_ACEOF
24301 #define HAVE_EXPLICIT 1
24302 _ACEOF
24303
24304 fi
24305
24306
24307 if test "x$SUNCXX" = xyes; then
24308 CXXFLAGS="-features=tmplife $CXXFLAGS"
24309 fi
24310
24311 if test "x$SUNCC" = xyes; then
24312 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24313 fi
24314
24315 if test "x$SGICC" = "xyes"; then
24316 CFLAGS="-woff 3970 $CFLAGS"
24317 fi
24318 if test "x$SGICXX" = "xyes"; then
24319 CXXFLAGS="-woff 3970 $CXXFLAGS"
24320 fi
24321
24322 if test "x$HPCC" = "xyes"; then
24323 CFLAGS="+W 2011,2450 $CFLAGS"
24324 fi
24325 if test "x$HPCXX" = "xyes"; then
24326 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24327 fi
24328
24329 if test "x$COMPAQCXX" = "xyes"; then
24330 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24331 fi
24332
24333 ac_ext=cpp
24334 ac_cpp='$CXXCPP $CPPFLAGS'
24335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24338
24339
24340 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24341 if test "$wxUSE_UNICODE" = "yes"; then
24342 std_string="std::wstring"
24343 char_type="wchar_t"
24344 else
24345 std_string="std::string"
24346 char_type="char"
24347 fi
24348
24349 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24350 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24351 if test "${wx_cv_class_stdstring+set}" = set; then
24352 echo $ECHO_N "(cached) $ECHO_C" >&6
24353 else
24354
24355 cat >conftest.$ac_ext <<_ACEOF
24356 /* confdefs.h. */
24357 _ACEOF
24358 cat confdefs.h >>conftest.$ac_ext
24359 cat >>conftest.$ac_ext <<_ACEOF
24360 /* end confdefs.h. */
24361 #include <string>
24362 int
24363 main ()
24364 {
24365 $std_string foo;
24366 ;
24367 return 0;
24368 }
24369 _ACEOF
24370 rm -f conftest.$ac_objext
24371 if { (ac_try="$ac_compile"
24372 case "(($ac_try" in
24373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24374 *) ac_try_echo=$ac_try;;
24375 esac
24376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24377 (eval "$ac_compile") 2>conftest.er1
24378 ac_status=$?
24379 grep -v '^ *+' conftest.er1 >conftest.err
24380 rm -f conftest.er1
24381 cat conftest.err >&5
24382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383 (exit $ac_status); } && {
24384 test -z "$ac_cxx_werror_flag" ||
24385 test ! -s conftest.err
24386 } && test -s conftest.$ac_objext; then
24387 wx_cv_class_stdstring=yes
24388 else
24389 echo "$as_me: failed program was:" >&5
24390 sed 's/^/| /' conftest.$ac_ext >&5
24391
24392 wx_cv_class_stdstring=no
24393
24394 fi
24395
24396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24397
24398
24399 fi
24400 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24401 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24402
24403 if test "$wx_cv_class_stdstring" = yes; then
24404 if test "$wxUSE_UNICODE" = "yes"; then
24405 cat >>confdefs.h <<\_ACEOF
24406 #define HAVE_STD_WSTRING 1
24407 _ACEOF
24408
24409 fi
24410 else
24411 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24412 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24413 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24414 echo $ECHO_N "(cached) $ECHO_C" >&6
24415 else
24416
24417 cat >conftest.$ac_ext <<_ACEOF
24418 /* confdefs.h. */
24419 _ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24423
24424 #ifdef HAVE_WCHAR_H
24425 # ifdef __CYGWIN__
24426 # include <stddef.h>
24427 # endif
24428 # include <wchar.h>
24429 #endif
24430 #ifdef HAVE_STDLIB_H
24431 # include <stdlib.h>
24432 #endif
24433 #include <stdio.h>
24434 #include <string>
24435
24436 int
24437 main ()
24438 {
24439 std::basic_string<$char_type> foo;
24440 const $char_type* dummy = foo.c_str();
24441 ;
24442 return 0;
24443 }
24444 _ACEOF
24445 rm -f conftest.$ac_objext
24446 if { (ac_try="$ac_compile"
24447 case "(($ac_try" in
24448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24449 *) ac_try_echo=$ac_try;;
24450 esac
24451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24452 (eval "$ac_compile") 2>conftest.er1
24453 ac_status=$?
24454 grep -v '^ *+' conftest.er1 >conftest.err
24455 rm -f conftest.er1
24456 cat conftest.err >&5
24457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24458 (exit $ac_status); } && {
24459 test -z "$ac_cxx_werror_flag" ||
24460 test ! -s conftest.err
24461 } && test -s conftest.$ac_objext; then
24462 wx_cv_class_stdbasicstring=yes
24463 else
24464 echo "$as_me: failed program was:" >&5
24465 sed 's/^/| /' conftest.$ac_ext >&5
24466
24467 wx_cv_class_stdbasicstring=no
24468
24469 fi
24470
24471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24472
24473
24474 fi
24475 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24476 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24477
24478 if test "$wx_cv_class_stdbasicstring" != yes; then
24479 if test "$wxUSE_STL" = "yes"; then
24480 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24481 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24482 { (exit 1); exit 1; }; }
24483 elif test "$wxUSE_STD_STRING" = "yes"; then
24484 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24485 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24486 { (exit 1); exit 1; }; }
24487 else
24488 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24489 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24490 wxUSE_STD_STRING=no
24491 fi
24492 fi
24493 fi
24494 fi
24495
24496 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24497 { echo "$as_me:$LINENO: checking for std::istream" >&5
24498 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24499 if test "${ac_cv_type_std__istream+set}" = set; then
24500 echo $ECHO_N "(cached) $ECHO_C" >&6
24501 else
24502 cat >conftest.$ac_ext <<_ACEOF
24503 /* confdefs.h. */
24504 _ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24508 #include <iostream>
24509
24510 typedef std::istream ac__type_new_;
24511 int
24512 main ()
24513 {
24514 if ((ac__type_new_ *) 0)
24515 return 0;
24516 if (sizeof (ac__type_new_))
24517 return 0;
24518 ;
24519 return 0;
24520 }
24521 _ACEOF
24522 rm -f conftest.$ac_objext
24523 if { (ac_try="$ac_compile"
24524 case "(($ac_try" in
24525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24526 *) ac_try_echo=$ac_try;;
24527 esac
24528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24529 (eval "$ac_compile") 2>conftest.er1
24530 ac_status=$?
24531 grep -v '^ *+' conftest.er1 >conftest.err
24532 rm -f conftest.er1
24533 cat conftest.err >&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } && {
24536 test -z "$ac_cxx_werror_flag" ||
24537 test ! -s conftest.err
24538 } && test -s conftest.$ac_objext; then
24539 ac_cv_type_std__istream=yes
24540 else
24541 echo "$as_me: failed program was:" >&5
24542 sed 's/^/| /' conftest.$ac_ext >&5
24543
24544 ac_cv_type_std__istream=no
24545 fi
24546
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548 fi
24549 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24550 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24551 if test $ac_cv_type_std__istream = yes; then
24552
24553 cat >>confdefs.h <<_ACEOF
24554 #define HAVE_STD__ISTREAM 1
24555 _ACEOF
24556
24557
24558 else
24559 wxUSE_STD_IOSTREAM=no
24560 fi
24561 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24562 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24563 if test "${ac_cv_type_std__ostream+set}" = set; then
24564 echo $ECHO_N "(cached) $ECHO_C" >&6
24565 else
24566 cat >conftest.$ac_ext <<_ACEOF
24567 /* confdefs.h. */
24568 _ACEOF
24569 cat confdefs.h >>conftest.$ac_ext
24570 cat >>conftest.$ac_ext <<_ACEOF
24571 /* end confdefs.h. */
24572 #include <iostream>
24573
24574 typedef std::ostream ac__type_new_;
24575 int
24576 main ()
24577 {
24578 if ((ac__type_new_ *) 0)
24579 return 0;
24580 if (sizeof (ac__type_new_))
24581 return 0;
24582 ;
24583 return 0;
24584 }
24585 _ACEOF
24586 rm -f conftest.$ac_objext
24587 if { (ac_try="$ac_compile"
24588 case "(($ac_try" in
24589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24590 *) ac_try_echo=$ac_try;;
24591 esac
24592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24593 (eval "$ac_compile") 2>conftest.er1
24594 ac_status=$?
24595 grep -v '^ *+' conftest.er1 >conftest.err
24596 rm -f conftest.er1
24597 cat conftest.err >&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } && {
24600 test -z "$ac_cxx_werror_flag" ||
24601 test ! -s conftest.err
24602 } && test -s conftest.$ac_objext; then
24603 ac_cv_type_std__ostream=yes
24604 else
24605 echo "$as_me: failed program was:" >&5
24606 sed 's/^/| /' conftest.$ac_ext >&5
24607
24608 ac_cv_type_std__ostream=no
24609 fi
24610
24611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24612 fi
24613 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24614 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24615 if test $ac_cv_type_std__ostream = yes; then
24616
24617 cat >>confdefs.h <<_ACEOF
24618 #define HAVE_STD__OSTREAM 1
24619 _ACEOF
24620
24621
24622 else
24623 wxUSE_STD_IOSTREAM=no
24624 fi
24625
24626
24627 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24628 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24629 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24630 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24631 { (exit 1); exit 1; }; }
24632 else
24633 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24634 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24635 fi
24636 fi
24637 fi
24638
24639 if test "$wxUSE_STL" = "yes"; then
24640 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24641 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24642 if test "${wx_cv_lib_stl+set}" = set; then
24643 echo $ECHO_N "(cached) $ECHO_C" >&6
24644 else
24645 cat >conftest.$ac_ext <<_ACEOF
24646 /* confdefs.h. */
24647 _ACEOF
24648 cat confdefs.h >>conftest.$ac_ext
24649 cat >>conftest.$ac_ext <<_ACEOF
24650 /* end confdefs.h. */
24651 #include <string>
24652 #include <functional>
24653 #include <algorithm>
24654 #include <vector>
24655 #include <list>
24656 int
24657 main ()
24658 {
24659 std::vector<int> moo;
24660 std::list<int> foo;
24661 std::vector<int>::iterator it =
24662 std::find_if(moo.begin(), moo.end(),
24663 std::bind2nd(std::less<int>(), 3));
24664 ;
24665 return 0;
24666 }
24667 _ACEOF
24668 rm -f conftest.$ac_objext
24669 if { (ac_try="$ac_compile"
24670 case "(($ac_try" in
24671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24672 *) ac_try_echo=$ac_try;;
24673 esac
24674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24675 (eval "$ac_compile") 2>conftest.er1
24676 ac_status=$?
24677 grep -v '^ *+' conftest.er1 >conftest.err
24678 rm -f conftest.er1
24679 cat conftest.err >&5
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); } && {
24682 test -z "$ac_cxx_werror_flag" ||
24683 test ! -s conftest.err
24684 } && test -s conftest.$ac_objext; then
24685 wx_cv_lib_stl=yes
24686 else
24687 echo "$as_me: failed program was:" >&5
24688 sed 's/^/| /' conftest.$ac_ext >&5
24689
24690 wx_cv_lib_stl=no
24691
24692 fi
24693
24694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24695
24696 fi
24697 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24698 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24699
24700 if test "$wx_cv_lib_stl" != yes; then
24701 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24702 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24703 { (exit 1); exit 1; }; }
24704 fi
24705
24706 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24707 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24708 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24709 echo $ECHO_N "(cached) $ECHO_C" >&6
24710 else
24711 cat >conftest.$ac_ext <<_ACEOF
24712 /* confdefs.h. */
24713 _ACEOF
24714 cat confdefs.h >>conftest.$ac_ext
24715 cat >>conftest.$ac_ext <<_ACEOF
24716 /* end confdefs.h. */
24717 #include <string>
24718 int
24719 main ()
24720 {
24721 std::string foo, bar;
24722 foo.compare(bar);
24723 foo.compare(1, 1, bar);
24724 foo.compare(1, 1, bar, 1, 1);
24725 foo.compare("");
24726 foo.compare(1, 1, "");
24727 foo.compare(1, 1, "", 2);
24728 ;
24729 return 0;
24730 }
24731 _ACEOF
24732 rm -f conftest.$ac_objext
24733 if { (ac_try="$ac_compile"
24734 case "(($ac_try" in
24735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24736 *) ac_try_echo=$ac_try;;
24737 esac
24738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24739 (eval "$ac_compile") 2>conftest.er1
24740 ac_status=$?
24741 grep -v '^ *+' conftest.er1 >conftest.err
24742 rm -f conftest.er1
24743 cat conftest.err >&5
24744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745 (exit $ac_status); } && {
24746 test -z "$ac_cxx_werror_flag" ||
24747 test ! -s conftest.err
24748 } && test -s conftest.$ac_objext; then
24749 wx_cv_func_stdstring_compare=yes
24750 else
24751 echo "$as_me: failed program was:" >&5
24752 sed 's/^/| /' conftest.$ac_ext >&5
24753
24754 wx_cv_func_stdstring_compare=no
24755
24756 fi
24757
24758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24759
24760 fi
24761 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24762 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24763
24764 if test "$wx_cv_func_stdstring_compare" = yes; then
24765 cat >>confdefs.h <<\_ACEOF
24766 #define HAVE_STD_STRING_COMPARE 1
24767 _ACEOF
24768
24769 fi
24770
24771 if test "$wx_cv_class_gnuhashmapset" = yes; then
24772 cat >>confdefs.h <<\_ACEOF
24773 #define HAVE_EXT_HASH_MAP 1
24774 _ACEOF
24775
24776 cat >>confdefs.h <<\_ACEOF
24777 #define HAVE_GNU_CXX_HASH_MAP 1
24778 _ACEOF
24779
24780 fi
24781
24782 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24783 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24784 if test "${ac_cv_header_unordered_map+set}" = set; then
24785 echo $ECHO_N "(cached) $ECHO_C" >&6
24786 else
24787 cat >conftest.$ac_ext <<_ACEOF
24788 /* confdefs.h. */
24789 _ACEOF
24790 cat confdefs.h >>conftest.$ac_ext
24791 cat >>conftest.$ac_ext <<_ACEOF
24792 /* end confdefs.h. */
24793
24794
24795
24796 #include <unordered_map>
24797 _ACEOF
24798 rm -f conftest.$ac_objext
24799 if { (ac_try="$ac_compile"
24800 case "(($ac_try" in
24801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24802 *) ac_try_echo=$ac_try;;
24803 esac
24804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24805 (eval "$ac_compile") 2>conftest.er1
24806 ac_status=$?
24807 grep -v '^ *+' conftest.er1 >conftest.err
24808 rm -f conftest.er1
24809 cat conftest.err >&5
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); } && {
24812 test -z "$ac_cxx_werror_flag" ||
24813 test ! -s conftest.err
24814 } && test -s conftest.$ac_objext; then
24815 ac_cv_header_unordered_map=yes
24816 else
24817 echo "$as_me: failed program was:" >&5
24818 sed 's/^/| /' conftest.$ac_ext >&5
24819
24820 ac_cv_header_unordered_map=no
24821 fi
24822
24823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24824 fi
24825 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24826 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24827 if test $ac_cv_header_unordered_map = yes; then
24828 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24829 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24830 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24831 echo $ECHO_N "(cached) $ECHO_C" >&6
24832 else
24833 cat >conftest.$ac_ext <<_ACEOF
24834 /* confdefs.h. */
24835 _ACEOF
24836 cat confdefs.h >>conftest.$ac_ext
24837 cat >>conftest.$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839 #include <unordered_map>
24840 #include <unordered_set>
24841 int
24842 main ()
24843 {
24844 std::unordered_map<double*, char*> test1;
24845 std::unordered_set<char*> test2;
24846 ;
24847 return 0;
24848 }
24849 _ACEOF
24850 rm -f conftest.$ac_objext
24851 if { (ac_try="$ac_compile"
24852 case "(($ac_try" in
24853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24854 *) ac_try_echo=$ac_try;;
24855 esac
24856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24857 (eval "$ac_compile") 2>conftest.er1
24858 ac_status=$?
24859 grep -v '^ *+' conftest.er1 >conftest.err
24860 rm -f conftest.er1
24861 cat conftest.err >&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); } && {
24864 test -z "$ac_cxx_werror_flag" ||
24865 test ! -s conftest.err
24866 } && test -s conftest.$ac_objext; then
24867 wx_cv_class_stdunorderedmapset=yes
24868 else
24869 echo "$as_me: failed program was:" >&5
24870 sed 's/^/| /' conftest.$ac_ext >&5
24871
24872 wx_cv_class_stdunorderedmapset=no
24873 fi
24874
24875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24876
24877
24878 fi
24879 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24880 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24881 fi
24882
24883
24884
24885 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24886 cat >>confdefs.h <<\_ACEOF
24887 #define HAVE_STD_UNORDERED_MAP 1
24888 _ACEOF
24889
24890 cat >>confdefs.h <<\_ACEOF
24891 #define HAVE_STD_UNORDERED_SET 1
24892 _ACEOF
24893
24894 else
24895 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24896 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24897 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24898 echo $ECHO_N "(cached) $ECHO_C" >&6
24899 else
24900 cat >conftest.$ac_ext <<_ACEOF
24901 /* confdefs.h. */
24902 _ACEOF
24903 cat confdefs.h >>conftest.$ac_ext
24904 cat >>conftest.$ac_ext <<_ACEOF
24905 /* end confdefs.h. */
24906
24907
24908
24909 #include <tr1/unordered_map>
24910 _ACEOF
24911 rm -f conftest.$ac_objext
24912 if { (ac_try="$ac_compile"
24913 case "(($ac_try" in
24914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24915 *) ac_try_echo=$ac_try;;
24916 esac
24917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24918 (eval "$ac_compile") 2>conftest.er1
24919 ac_status=$?
24920 grep -v '^ *+' conftest.er1 >conftest.err
24921 rm -f conftest.er1
24922 cat conftest.err >&5
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); } && {
24925 test -z "$ac_cxx_werror_flag" ||
24926 test ! -s conftest.err
24927 } && test -s conftest.$ac_objext; then
24928 ac_cv_header_tr1_unordered_map=yes
24929 else
24930 echo "$as_me: failed program was:" >&5
24931 sed 's/^/| /' conftest.$ac_ext >&5
24932
24933 ac_cv_header_tr1_unordered_map=no
24934 fi
24935
24936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24937 fi
24938 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24939 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24940 if test $ac_cv_header_tr1_unordered_map = yes; then
24941 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24942 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24943 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24944 echo $ECHO_N "(cached) $ECHO_C" >&6
24945 else
24946 cat >conftest.$ac_ext <<_ACEOF
24947 /* confdefs.h. */
24948 _ACEOF
24949 cat confdefs.h >>conftest.$ac_ext
24950 cat >>conftest.$ac_ext <<_ACEOF
24951 /* end confdefs.h. */
24952 #include <tr1/unordered_map>
24953 #include <tr1/unordered_set>
24954 int
24955 main ()
24956 {
24957 std::tr1::unordered_map<double*, char*> test1;
24958 std::tr1::unordered_set<char*> test2;
24959 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24960 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24961 #endif
24962 ;
24963 return 0;
24964 }
24965 _ACEOF
24966 rm -f conftest.$ac_objext
24967 if { (ac_try="$ac_compile"
24968 case "(($ac_try" in
24969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24970 *) ac_try_echo=$ac_try;;
24971 esac
24972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24973 (eval "$ac_compile") 2>conftest.er1
24974 ac_status=$?
24975 grep -v '^ *+' conftest.er1 >conftest.err
24976 rm -f conftest.er1
24977 cat conftest.err >&5
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); } && {
24980 test -z "$ac_cxx_werror_flag" ||
24981 test ! -s conftest.err
24982 } && test -s conftest.$ac_objext; then
24983 wx_cv_class_tr1unorderedmapset=yes
24984 else
24985 echo "$as_me: failed program was:" >&5
24986 sed 's/^/| /' conftest.$ac_ext >&5
24987
24988 wx_cv_class_tr1unorderedmapset=no
24989 fi
24990
24991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24992
24993
24994 fi
24995 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24996 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24997 fi
24998
24999
25000
25001 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25002 cat >>confdefs.h <<\_ACEOF
25003 #define HAVE_TR1_UNORDERED_MAP 1
25004 _ACEOF
25005
25006 cat >>confdefs.h <<\_ACEOF
25007 #define HAVE_TR1_UNORDERED_SET 1
25008 _ACEOF
25009
25010 else
25011 { echo "$as_me:$LINENO: checking for hash_map" >&5
25012 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25013 if test "${ac_cv_header_hash_map+set}" = set; then
25014 echo $ECHO_N "(cached) $ECHO_C" >&6
25015 else
25016 cat >conftest.$ac_ext <<_ACEOF
25017 /* confdefs.h. */
25018 _ACEOF
25019 cat confdefs.h >>conftest.$ac_ext
25020 cat >>conftest.$ac_ext <<_ACEOF
25021 /* end confdefs.h. */
25022
25023
25024
25025 #include <hash_map>
25026 _ACEOF
25027 rm -f conftest.$ac_objext
25028 if { (ac_try="$ac_compile"
25029 case "(($ac_try" in
25030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25031 *) ac_try_echo=$ac_try;;
25032 esac
25033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25034 (eval "$ac_compile") 2>conftest.er1
25035 ac_status=$?
25036 grep -v '^ *+' conftest.er1 >conftest.err
25037 rm -f conftest.er1
25038 cat conftest.err >&5
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); } && {
25041 test -z "$ac_cxx_werror_flag" ||
25042 test ! -s conftest.err
25043 } && test -s conftest.$ac_objext; then
25044 ac_cv_header_hash_map=yes
25045 else
25046 echo "$as_me: failed program was:" >&5
25047 sed 's/^/| /' conftest.$ac_ext >&5
25048
25049 ac_cv_header_hash_map=no
25050 fi
25051
25052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25053 fi
25054 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25055 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25056 if test $ac_cv_header_hash_map = yes; then
25057 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25058 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25059 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25060 echo $ECHO_N "(cached) $ECHO_C" >&6
25061 else
25062 cat >conftest.$ac_ext <<_ACEOF
25063 /* confdefs.h. */
25064 _ACEOF
25065 cat confdefs.h >>conftest.$ac_ext
25066 cat >>conftest.$ac_ext <<_ACEOF
25067 /* end confdefs.h. */
25068 #include <hash_map>
25069 #include <hash_set>
25070 int
25071 main ()
25072 {
25073 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25074 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25075 ;
25076 return 0;
25077 }
25078 _ACEOF
25079 rm -f conftest.$ac_objext
25080 if { (ac_try="$ac_compile"
25081 case "(($ac_try" in
25082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25083 *) ac_try_echo=$ac_try;;
25084 esac
25085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25086 (eval "$ac_compile") 2>conftest.er1
25087 ac_status=$?
25088 grep -v '^ *+' conftest.er1 >conftest.err
25089 rm -f conftest.er1
25090 cat conftest.err >&5
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); } && {
25093 test -z "$ac_cxx_werror_flag" ||
25094 test ! -s conftest.err
25095 } && test -s conftest.$ac_objext; then
25096 wx_cv_class_stdhashmapset=yes
25097 else
25098 echo "$as_me: failed program was:" >&5
25099 sed 's/^/| /' conftest.$ac_ext >&5
25100
25101 wx_cv_class_stdhashmapset=no
25102 fi
25103
25104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25105
25106
25107 fi
25108 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25109 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25110 fi
25111
25112
25113
25114 if test "$wx_cv_class_stdhashmapset" = yes; then
25115 cat >>confdefs.h <<\_ACEOF
25116 #define HAVE_HASH_MAP 1
25117 _ACEOF
25118
25119 cat >>confdefs.h <<\_ACEOF
25120 #define HAVE_STD_HASH_MAP 1
25121 _ACEOF
25122
25123 fi
25124
25125 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25126 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25127 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25129 else
25130 cat >conftest.$ac_ext <<_ACEOF
25131 /* confdefs.h. */
25132 _ACEOF
25133 cat confdefs.h >>conftest.$ac_ext
25134 cat >>conftest.$ac_ext <<_ACEOF
25135 /* end confdefs.h. */
25136
25137
25138
25139 #include <ext/hash_map>
25140 _ACEOF
25141 rm -f conftest.$ac_objext
25142 if { (ac_try="$ac_compile"
25143 case "(($ac_try" in
25144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25145 *) ac_try_echo=$ac_try;;
25146 esac
25147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25148 (eval "$ac_compile") 2>conftest.er1
25149 ac_status=$?
25150 grep -v '^ *+' conftest.er1 >conftest.err
25151 rm -f conftest.er1
25152 cat conftest.err >&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } && {
25155 test -z "$ac_cxx_werror_flag" ||
25156 test ! -s conftest.err
25157 } && test -s conftest.$ac_objext; then
25158 ac_cv_header_ext_hash_map=yes
25159 else
25160 echo "$as_me: failed program was:" >&5
25161 sed 's/^/| /' conftest.$ac_ext >&5
25162
25163 ac_cv_header_ext_hash_map=no
25164 fi
25165
25166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25167 fi
25168 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25169 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25170 if test $ac_cv_header_ext_hash_map = yes; then
25171 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25172 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25173 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 else
25176 cat >conftest.$ac_ext <<_ACEOF
25177 /* confdefs.h. */
25178 _ACEOF
25179 cat confdefs.h >>conftest.$ac_ext
25180 cat >>conftest.$ac_ext <<_ACEOF
25181 /* end confdefs.h. */
25182 #include <ext/hash_map>
25183 #include <ext/hash_set>
25184 int
25185 main ()
25186 {
25187 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25188 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25189 ;
25190 return 0;
25191 }
25192 _ACEOF
25193 rm -f conftest.$ac_objext
25194 if { (ac_try="$ac_compile"
25195 case "(($ac_try" in
25196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25197 *) ac_try_echo=$ac_try;;
25198 esac
25199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25200 (eval "$ac_compile") 2>conftest.er1
25201 ac_status=$?
25202 grep -v '^ *+' conftest.er1 >conftest.err
25203 rm -f conftest.er1
25204 cat conftest.err >&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } && {
25207 test -z "$ac_cxx_werror_flag" ||
25208 test ! -s conftest.err
25209 } && test -s conftest.$ac_objext; then
25210 wx_cv_class_gnuhashmapset=yes
25211 else
25212 echo "$as_me: failed program was:" >&5
25213 sed 's/^/| /' conftest.$ac_ext >&5
25214
25215 wx_cv_class_gnuhashmapset=no
25216 fi
25217
25218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25219
25220
25221 fi
25222 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25223 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25224 fi
25225
25226
25227
25228 fi
25229 fi
25230 fi
25231
25232
25233
25234 if test -n "$GCC"; then
25235 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25236 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25237 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25238 echo $ECHO_N "(cached) $ECHO_C" >&6
25239 else
25240
25241 cat >conftest.$ac_ext <<_ACEOF
25242 /* confdefs.h. */
25243 _ACEOF
25244 cat confdefs.h >>conftest.$ac_ext
25245 cat >>conftest.$ac_ext <<_ACEOF
25246 /* end confdefs.h. */
25247
25248 int
25249 main ()
25250 {
25251
25252 unsigned int value=0;
25253 /* wxAtomicInc doesn't use return value here */
25254 __sync_fetch_and_add(&value, 2);
25255 __sync_sub_and_fetch(&value, 1);
25256 /* but wxAtomicDec does, so mimic that: */
25257 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25258
25259 ;
25260 return 0;
25261 }
25262 _ACEOF
25263 rm -f conftest.$ac_objext conftest$ac_exeext
25264 if { (ac_try="$ac_link"
25265 case "(($ac_try" in
25266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25267 *) ac_try_echo=$ac_try;;
25268 esac
25269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25270 (eval "$ac_link") 2>conftest.er1
25271 ac_status=$?
25272 grep -v '^ *+' conftest.er1 >conftest.err
25273 rm -f conftest.er1
25274 cat conftest.err >&5
25275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25276 (exit $ac_status); } && {
25277 test -z "$ac_cxx_werror_flag" ||
25278 test ! -s conftest.err
25279 } && test -s conftest$ac_exeext &&
25280 $as_test_x conftest$ac_exeext; then
25281 wx_cv_cc_gcc_atomic_builtins=yes
25282 else
25283 echo "$as_me: failed program was:" >&5
25284 sed 's/^/| /' conftest.$ac_ext >&5
25285
25286 wx_cv_cc_gcc_atomic_builtins=no
25287 fi
25288
25289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25290 conftest$ac_exeext conftest.$ac_ext
25291
25292 fi
25293
25294 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25295 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25296 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25297 cat >>confdefs.h <<\_ACEOF
25298 #define HAVE_GCC_ATOMIC_BUILTINS 1
25299 _ACEOF
25300
25301 fi
25302 fi
25303
25304
25305 ac_ext=c
25306 ac_cpp='$CPP $CPPFLAGS'
25307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25310
25311
25312
25313 SEARCH_INCLUDE="\
25314 /usr/local/include \
25315 /usr/local/X11/include \
25316 /usr/local/include/X11 \
25317 /usr/local/X11R6/include \
25318 /usr/local/include/X11R6 \
25319 \
25320 /usr/Motif-2.1/include \
25321 /usr/Motif-1.2/include \
25322 /usr/include/Motif1.2 \
25323 \
25324 /usr/dt/include \
25325 /usr/openwin/include \
25326 \
25327 /usr/include/Xm \
25328 \
25329 /usr/X11R6/include \
25330 /usr/X11R6.4/include \
25331 \
25332 /usr/include/X11R6 \
25333 \
25334 /usr/X11/include \
25335 /usr/include/X11 \
25336 \
25337 /usr/XFree86/include/X11 \
25338 /usr/pkg/include \
25339 \
25340 /usr/local/X1R5/include \
25341 /usr/local/include/X11R5 \
25342 /usr/X11R5/include \
25343 /usr/include/X11R5 \
25344 \
25345 /usr/local/X11R4/include \
25346 /usr/local/include/X11R4 \
25347 /usr/X11R4/include \
25348 /usr/include/X11R4 \
25349 \
25350 /usr/openwin/share/include"
25351
25352 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25353 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25354
25355 case "${host}" in
25356 *-*-irix6* )
25357 if test "${wx_cv_std_libpath+set}" = set; then
25358 echo $ECHO_N "(cached) $ECHO_C" >&6
25359 else
25360
25361 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25362 for e in a so sl dylib dll.a; do
25363 libc="$d/libc.$e"
25364 if test -f $libc; then
25365 save_LIBS="$LIBS"
25366 LIBS="$libc"
25367 cat >conftest.$ac_ext <<_ACEOF
25368 int main() { return 0; }
25369 _ACEOF
25370 rm -f conftest.$ac_objext conftest$ac_exeext
25371 if { (ac_try="$ac_link"
25372 case "(($ac_try" in
25373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25374 *) ac_try_echo=$ac_try;;
25375 esac
25376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25377 (eval "$ac_link") 2>conftest.er1
25378 ac_status=$?
25379 grep -v '^ *+' conftest.er1 >conftest.err
25380 rm -f conftest.er1
25381 cat conftest.err >&5
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); } && {
25384 test -z "$ac_c_werror_flag" ||
25385 test ! -s conftest.err
25386 } && test -s conftest$ac_exeext &&
25387 $as_test_x conftest$ac_exeext; then
25388 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25389 else
25390 echo "$as_me: failed program was:" >&5
25391 sed 's/^/| /' conftest.$ac_ext >&5
25392
25393
25394 fi
25395
25396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25397 conftest$ac_exeext conftest.$ac_ext
25398 LIBS="$save_LIBS"
25399 if test "x$wx_cv_std_libpath" != "x"; then
25400 break 2
25401 fi
25402 fi
25403 done
25404 done
25405 if test "x$wx_cv_std_libpath" = "x"; then
25406 wx_cv_std_libpath="lib"
25407 fi
25408
25409
25410 fi
25411
25412 ;;
25413
25414 *-*-solaris2* )
25415 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25416 wx_cv_std_libpath="lib/64"
25417 else
25418 wx_cv_std_libpath="lib"
25419 fi
25420 ;;
25421
25422 *-*-linux* )
25423 if test "$ac_cv_sizeof_void_p" = 8 -a \
25424 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25425 wx_cv_std_libpath="lib64"
25426 else
25427 wx_cv_std_libpath="lib"
25428 fi
25429 ;;
25430
25431 *)
25432 wx_cv_std_libpath="lib";
25433 ;;
25434 esac
25435
25436 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25437 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25438
25439 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25440
25441 if test "$build" != "$host" -a "$GCC" = yes; then
25442 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25443 cross_root=`dirname $cross_root`
25444 cross_root=`dirname $cross_root`
25445
25446 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25447 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25448 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25449
25450 if test -z "$PKG_CONFIG_PATH"; then
25451 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25452 export PKG_CONFIG_PATH
25453 fi
25454
25455 if test -z "$x_includes" -o "$x_includes" = NONE; then
25456
25457 ac_find_includes=
25458 for ac_dir in $SEARCH_INCLUDE /usr/include;
25459 do
25460 if test -f "$ac_dir/X11/Intrinsic.h"; then
25461 ac_find_includes=$ac_dir
25462 break
25463 fi
25464 done
25465
25466 x_includes=$ac_find_includes
25467 fi
25468 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25469
25470 ac_find_libraries=
25471 for ac_dir in $SEARCH_LIB;
25472 do
25473 for ac_extension in a so sl dylib dll.a; do
25474 if test -f "$ac_dir/libXt.$ac_extension"; then
25475 ac_find_libraries=$ac_dir
25476 break 2
25477 fi
25478 done
25479 done
25480
25481 x_libraries=$ac_find_libraries
25482 fi
25483 fi
25484 fi
25485
25486
25487 cat >confcache <<\_ACEOF
25488 # This file is a shell script that caches the results of configure
25489 # tests run on this system so they can be shared between configure
25490 # scripts and configure runs, see configure's option --config-cache.
25491 # It is not useful on other systems. If it contains results you don't
25492 # want to keep, you may remove or edit it.
25493 #
25494 # config.status only pays attention to the cache file if you give it
25495 # the --recheck option to rerun configure.
25496 #
25497 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25498 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25499 # following values.
25500
25501 _ACEOF
25502
25503 # The following way of writing the cache mishandles newlines in values,
25504 # but we know of no workaround that is simple, portable, and efficient.
25505 # So, we kill variables containing newlines.
25506 # Ultrix sh set writes to stderr and can't be redirected directly,
25507 # and sets the high bit in the cache file unless we assign to the vars.
25508 (
25509 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25510 eval ac_val=\$$ac_var
25511 case $ac_val in #(
25512 *${as_nl}*)
25513 case $ac_var in #(
25514 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25515 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25516 esac
25517 case $ac_var in #(
25518 _ | IFS | as_nl) ;; #(
25519 *) $as_unset $ac_var ;;
25520 esac ;;
25521 esac
25522 done
25523
25524 (set) 2>&1 |
25525 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25526 *${as_nl}ac_space=\ *)
25527 # `set' does not quote correctly, so add quotes (double-quote
25528 # substitution turns \\\\ into \\, and sed turns \\ into \).
25529 sed -n \
25530 "s/'/'\\\\''/g;
25531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25532 ;; #(
25533 *)
25534 # `set' quotes correctly as required by POSIX, so do not add quotes.
25535 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25536 ;;
25537 esac |
25538 sort
25539 ) |
25540 sed '
25541 /^ac_cv_env_/b end
25542 t clear
25543 :clear
25544 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25545 t end
25546 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25547 :end' >>confcache
25548 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25549 if test -w "$cache_file"; then
25550 test "x$cache_file" != "x/dev/null" &&
25551 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25552 echo "$as_me: updating cache $cache_file" >&6;}
25553 cat confcache >$cache_file
25554 else
25555 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25556 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25557 fi
25558 fi
25559 rm -f confcache
25560
25561 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25562 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25563 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25564 if test "${wx_cv_lib_glibc21+set}" = set; then
25565 echo $ECHO_N "(cached) $ECHO_C" >&6
25566 else
25567
25568 cat >conftest.$ac_ext <<_ACEOF
25569 /* confdefs.h. */
25570 _ACEOF
25571 cat confdefs.h >>conftest.$ac_ext
25572 cat >>conftest.$ac_ext <<_ACEOF
25573 /* end confdefs.h. */
25574 #include <features.h>
25575 int
25576 main ()
25577 {
25578
25579 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25580 not glibc 2.1
25581 #endif
25582
25583 ;
25584 return 0;
25585 }
25586 _ACEOF
25587 rm -f conftest.$ac_objext
25588 if { (ac_try="$ac_compile"
25589 case "(($ac_try" in
25590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25591 *) ac_try_echo=$ac_try;;
25592 esac
25593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25594 (eval "$ac_compile") 2>conftest.er1
25595 ac_status=$?
25596 grep -v '^ *+' conftest.er1 >conftest.err
25597 rm -f conftest.er1
25598 cat conftest.err >&5
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); } && {
25601 test -z "$ac_c_werror_flag" ||
25602 test ! -s conftest.err
25603 } && test -s conftest.$ac_objext; then
25604
25605 wx_cv_lib_glibc21=yes
25606
25607 else
25608 echo "$as_me: failed program was:" >&5
25609 sed 's/^/| /' conftest.$ac_ext >&5
25610
25611
25612 wx_cv_lib_glibc21=no
25613
25614
25615 fi
25616
25617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25618
25619 fi
25620 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25621 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25622 if test "$wx_cv_lib_glibc21" = "yes"; then
25623 cat >>confdefs.h <<\_ACEOF
25624 #define wxHAVE_GLIBC2 1
25625 _ACEOF
25626
25627 fi
25628 fi
25629
25630 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25631 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25632 cat >>confdefs.h <<\_ACEOF
25633 #define _GNU_SOURCE 1
25634 _ACEOF
25635
25636 fi
25637 fi
25638
25639 have_cos=0
25640 have_floor=0
25641
25642 for ac_func in cos
25643 do
25644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25645 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25647 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25648 echo $ECHO_N "(cached) $ECHO_C" >&6
25649 else
25650 cat >conftest.$ac_ext <<_ACEOF
25651 /* confdefs.h. */
25652 _ACEOF
25653 cat confdefs.h >>conftest.$ac_ext
25654 cat >>conftest.$ac_ext <<_ACEOF
25655 /* end confdefs.h. */
25656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25658 #define $ac_func innocuous_$ac_func
25659
25660 /* System header to define __stub macros and hopefully few prototypes,
25661 which can conflict with char $ac_func (); below.
25662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25663 <limits.h> exists even on freestanding compilers. */
25664
25665 #ifdef __STDC__
25666 # include <limits.h>
25667 #else
25668 # include <assert.h>
25669 #endif
25670
25671 #undef $ac_func
25672
25673 /* Override any GCC internal prototype to avoid an error.
25674 Use char because int might match the return type of a GCC
25675 builtin and then its argument prototype would still apply. */
25676 #ifdef __cplusplus
25677 extern "C"
25678 #endif
25679 char $ac_func ();
25680 /* The GNU C library defines this for functions which it implements
25681 to always fail with ENOSYS. Some functions are actually named
25682 something starting with __ and the normal name is an alias. */
25683 #if defined __stub_$ac_func || defined __stub___$ac_func
25684 choke me
25685 #endif
25686
25687 int
25688 main ()
25689 {
25690 return $ac_func ();
25691 ;
25692 return 0;
25693 }
25694 _ACEOF
25695 rm -f conftest.$ac_objext conftest$ac_exeext
25696 if { (ac_try="$ac_link"
25697 case "(($ac_try" in
25698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25699 *) ac_try_echo=$ac_try;;
25700 esac
25701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25702 (eval "$ac_link") 2>conftest.er1
25703 ac_status=$?
25704 grep -v '^ *+' conftest.er1 >conftest.err
25705 rm -f conftest.er1
25706 cat conftest.err >&5
25707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25708 (exit $ac_status); } && {
25709 test -z "$ac_c_werror_flag" ||
25710 test ! -s conftest.err
25711 } && test -s conftest$ac_exeext &&
25712 $as_test_x conftest$ac_exeext; then
25713 eval "$as_ac_var=yes"
25714 else
25715 echo "$as_me: failed program was:" >&5
25716 sed 's/^/| /' conftest.$ac_ext >&5
25717
25718 eval "$as_ac_var=no"
25719 fi
25720
25721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25722 conftest$ac_exeext conftest.$ac_ext
25723 fi
25724 ac_res=`eval echo '${'$as_ac_var'}'`
25725 { echo "$as_me:$LINENO: result: $ac_res" >&5
25726 echo "${ECHO_T}$ac_res" >&6; }
25727 if test `eval echo '${'$as_ac_var'}'` = yes; then
25728 cat >>confdefs.h <<_ACEOF
25729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25730 _ACEOF
25731 have_cos=1
25732 fi
25733 done
25734
25735
25736 for ac_func in floor
25737 do
25738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25742 echo $ECHO_N "(cached) $ECHO_C" >&6
25743 else
25744 cat >conftest.$ac_ext <<_ACEOF
25745 /* confdefs.h. */
25746 _ACEOF
25747 cat confdefs.h >>conftest.$ac_ext
25748 cat >>conftest.$ac_ext <<_ACEOF
25749 /* end confdefs.h. */
25750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25752 #define $ac_func innocuous_$ac_func
25753
25754 /* System header to define __stub macros and hopefully few prototypes,
25755 which can conflict with char $ac_func (); below.
25756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25757 <limits.h> exists even on freestanding compilers. */
25758
25759 #ifdef __STDC__
25760 # include <limits.h>
25761 #else
25762 # include <assert.h>
25763 #endif
25764
25765 #undef $ac_func
25766
25767 /* Override any GCC internal prototype to avoid an error.
25768 Use char because int might match the return type of a GCC
25769 builtin and then its argument prototype would still apply. */
25770 #ifdef __cplusplus
25771 extern "C"
25772 #endif
25773 char $ac_func ();
25774 /* The GNU C library defines this for functions which it implements
25775 to always fail with ENOSYS. Some functions are actually named
25776 something starting with __ and the normal name is an alias. */
25777 #if defined __stub_$ac_func || defined __stub___$ac_func
25778 choke me
25779 #endif
25780
25781 int
25782 main ()
25783 {
25784 return $ac_func ();
25785 ;
25786 return 0;
25787 }
25788 _ACEOF
25789 rm -f conftest.$ac_objext conftest$ac_exeext
25790 if { (ac_try="$ac_link"
25791 case "(($ac_try" in
25792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25793 *) ac_try_echo=$ac_try;;
25794 esac
25795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25796 (eval "$ac_link") 2>conftest.er1
25797 ac_status=$?
25798 grep -v '^ *+' conftest.er1 >conftest.err
25799 rm -f conftest.er1
25800 cat conftest.err >&5
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); } && {
25803 test -z "$ac_c_werror_flag" ||
25804 test ! -s conftest.err
25805 } && test -s conftest$ac_exeext &&
25806 $as_test_x conftest$ac_exeext; then
25807 eval "$as_ac_var=yes"
25808 else
25809 echo "$as_me: failed program was:" >&5
25810 sed 's/^/| /' conftest.$ac_ext >&5
25811
25812 eval "$as_ac_var=no"
25813 fi
25814
25815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25816 conftest$ac_exeext conftest.$ac_ext
25817 fi
25818 ac_res=`eval echo '${'$as_ac_var'}'`
25819 { echo "$as_me:$LINENO: result: $ac_res" >&5
25820 echo "${ECHO_T}$ac_res" >&6; }
25821 if test `eval echo '${'$as_ac_var'}'` = yes; then
25822 cat >>confdefs.h <<_ACEOF
25823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25824 _ACEOF
25825 have_floor=1
25826 fi
25827 done
25828
25829 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25830 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25831 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25832 { echo "$as_me:$LINENO: result: yes" >&5
25833 echo "${ECHO_T}yes" >&6; }
25834 else
25835 { echo "$as_me:$LINENO: result: no" >&5
25836 echo "${ECHO_T}no" >&6; }
25837 LIBS="$LIBS -lm"
25838 # use different functions to avoid configure caching
25839 have_sin=0
25840 have_ceil=0
25841
25842 for ac_func in sin
25843 do
25844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25848 echo $ECHO_N "(cached) $ECHO_C" >&6
25849 else
25850 cat >conftest.$ac_ext <<_ACEOF
25851 /* confdefs.h. */
25852 _ACEOF
25853 cat confdefs.h >>conftest.$ac_ext
25854 cat >>conftest.$ac_ext <<_ACEOF
25855 /* end confdefs.h. */
25856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25858 #define $ac_func innocuous_$ac_func
25859
25860 /* System header to define __stub macros and hopefully few prototypes,
25861 which can conflict with char $ac_func (); below.
25862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25863 <limits.h> exists even on freestanding compilers. */
25864
25865 #ifdef __STDC__
25866 # include <limits.h>
25867 #else
25868 # include <assert.h>
25869 #endif
25870
25871 #undef $ac_func
25872
25873 /* Override any GCC internal prototype to avoid an error.
25874 Use char because int might match the return type of a GCC
25875 builtin and then its argument prototype would still apply. */
25876 #ifdef __cplusplus
25877 extern "C"
25878 #endif
25879 char $ac_func ();
25880 /* The GNU C library defines this for functions which it implements
25881 to always fail with ENOSYS. Some functions are actually named
25882 something starting with __ and the normal name is an alias. */
25883 #if defined __stub_$ac_func || defined __stub___$ac_func
25884 choke me
25885 #endif
25886
25887 int
25888 main ()
25889 {
25890 return $ac_func ();
25891 ;
25892 return 0;
25893 }
25894 _ACEOF
25895 rm -f conftest.$ac_objext conftest$ac_exeext
25896 if { (ac_try="$ac_link"
25897 case "(($ac_try" in
25898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25899 *) ac_try_echo=$ac_try;;
25900 esac
25901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25902 (eval "$ac_link") 2>conftest.er1
25903 ac_status=$?
25904 grep -v '^ *+' conftest.er1 >conftest.err
25905 rm -f conftest.er1
25906 cat conftest.err >&5
25907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25908 (exit $ac_status); } && {
25909 test -z "$ac_c_werror_flag" ||
25910 test ! -s conftest.err
25911 } && test -s conftest$ac_exeext &&
25912 $as_test_x conftest$ac_exeext; then
25913 eval "$as_ac_var=yes"
25914 else
25915 echo "$as_me: failed program was:" >&5
25916 sed 's/^/| /' conftest.$ac_ext >&5
25917
25918 eval "$as_ac_var=no"
25919 fi
25920
25921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25922 conftest$ac_exeext conftest.$ac_ext
25923 fi
25924 ac_res=`eval echo '${'$as_ac_var'}'`
25925 { echo "$as_me:$LINENO: result: $ac_res" >&5
25926 echo "${ECHO_T}$ac_res" >&6; }
25927 if test `eval echo '${'$as_ac_var'}'` = yes; then
25928 cat >>confdefs.h <<_ACEOF
25929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25930 _ACEOF
25931 have_sin=1
25932 fi
25933 done
25934
25935
25936 for ac_func in ceil
25937 do
25938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25942 echo $ECHO_N "(cached) $ECHO_C" >&6
25943 else
25944 cat >conftest.$ac_ext <<_ACEOF
25945 /* confdefs.h. */
25946 _ACEOF
25947 cat confdefs.h >>conftest.$ac_ext
25948 cat >>conftest.$ac_ext <<_ACEOF
25949 /* end confdefs.h. */
25950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25952 #define $ac_func innocuous_$ac_func
25953
25954 /* System header to define __stub macros and hopefully few prototypes,
25955 which can conflict with char $ac_func (); below.
25956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25957 <limits.h> exists even on freestanding compilers. */
25958
25959 #ifdef __STDC__
25960 # include <limits.h>
25961 #else
25962 # include <assert.h>
25963 #endif
25964
25965 #undef $ac_func
25966
25967 /* Override any GCC internal prototype to avoid an error.
25968 Use char because int might match the return type of a GCC
25969 builtin and then its argument prototype would still apply. */
25970 #ifdef __cplusplus
25971 extern "C"
25972 #endif
25973 char $ac_func ();
25974 /* The GNU C library defines this for functions which it implements
25975 to always fail with ENOSYS. Some functions are actually named
25976 something starting with __ and the normal name is an alias. */
25977 #if defined __stub_$ac_func || defined __stub___$ac_func
25978 choke me
25979 #endif
25980
25981 int
25982 main ()
25983 {
25984 return $ac_func ();
25985 ;
25986 return 0;
25987 }
25988 _ACEOF
25989 rm -f conftest.$ac_objext conftest$ac_exeext
25990 if { (ac_try="$ac_link"
25991 case "(($ac_try" in
25992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25993 *) ac_try_echo=$ac_try;;
25994 esac
25995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25996 (eval "$ac_link") 2>conftest.er1
25997 ac_status=$?
25998 grep -v '^ *+' conftest.er1 >conftest.err
25999 rm -f conftest.er1
26000 cat conftest.err >&5
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); } && {
26003 test -z "$ac_c_werror_flag" ||
26004 test ! -s conftest.err
26005 } && test -s conftest$ac_exeext &&
26006 $as_test_x conftest$ac_exeext; then
26007 eval "$as_ac_var=yes"
26008 else
26009 echo "$as_me: failed program was:" >&5
26010 sed 's/^/| /' conftest.$ac_ext >&5
26011
26012 eval "$as_ac_var=no"
26013 fi
26014
26015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26016 conftest$ac_exeext conftest.$ac_ext
26017 fi
26018 ac_res=`eval echo '${'$as_ac_var'}'`
26019 { echo "$as_me:$LINENO: result: $ac_res" >&5
26020 echo "${ECHO_T}$ac_res" >&6; }
26021 if test `eval echo '${'$as_ac_var'}'` = yes; then
26022 cat >>confdefs.h <<_ACEOF
26023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26024 _ACEOF
26025 have_ceil=1
26026 fi
26027 done
26028
26029 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26030 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26031 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26032 { echo "$as_me:$LINENO: result: yes" >&5
26033 echo "${ECHO_T}yes" >&6; }
26034 else
26035 { echo "$as_me:$LINENO: result: no" >&5
26036 echo "${ECHO_T}no" >&6; }
26037 # not sure we should warn the user, crash, etc.
26038 fi
26039 fi
26040
26041 ac_ext=cpp
26042 ac_cpp='$CXXCPP $CPPFLAGS'
26043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26046
26047 if test "wxUSE_UNICODE" = "yes"; then
26048
26049 for wx_func in wcstoull
26050 do
26051 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26052 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26053 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26054 echo $ECHO_N "(cached) $ECHO_C" >&6
26055 else
26056
26057 cat >conftest.$ac_ext <<_ACEOF
26058
26059 /* confdefs.h. */
26060 _ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26064
26065
26066 $ac_includes_default
26067
26068 int
26069 main ()
26070 {
26071
26072 #ifndef $wx_func
26073 &$wx_func;
26074 #endif
26075
26076
26077 ;
26078 return 0;
26079 }
26080
26081 _ACEOF
26082 rm -f conftest.$ac_objext conftest$ac_exeext
26083 if { (ac_try="$ac_link"
26084 case "(($ac_try" in
26085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26086 *) ac_try_echo=$ac_try;;
26087 esac
26088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26089 (eval "$ac_link") 2>conftest.er1
26090 ac_status=$?
26091 grep -v '^ *+' conftest.er1 >conftest.err
26092 rm -f conftest.er1
26093 cat conftest.err >&5
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); } && {
26096 test -z "$ac_cxx_werror_flag" ||
26097 test ! -s conftest.err
26098 } && test -s conftest$ac_exeext &&
26099 $as_test_x conftest$ac_exeext; then
26100 eval wx_cv_func_$wx_func=yes
26101 else
26102 echo "$as_me: failed program was:" >&5
26103 sed 's/^/| /' conftest.$ac_ext >&5
26104
26105 eval wx_cv_func_$wx_func=no
26106 fi
26107
26108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26109 conftest$ac_exeext conftest.$ac_ext
26110
26111 fi
26112 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26113 { echo "$as_me:$LINENO: result: $ac_res" >&5
26114 echo "${ECHO_T}$ac_res" >&6; }
26115
26116 if eval test \$wx_cv_func_$wx_func = yes
26117 then
26118 cat >>confdefs.h <<_ACEOF
26119 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26120 _ACEOF
26121
26122
26123 else
26124 :
26125
26126 fi
26127 done
26128
26129 else
26130
26131 for wx_func in strtoull
26132 do
26133 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26134 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26135 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26136 echo $ECHO_N "(cached) $ECHO_C" >&6
26137 else
26138
26139 cat >conftest.$ac_ext <<_ACEOF
26140
26141 /* confdefs.h. */
26142 _ACEOF
26143 cat confdefs.h >>conftest.$ac_ext
26144 cat >>conftest.$ac_ext <<_ACEOF
26145 /* end confdefs.h. */
26146
26147
26148 $ac_includes_default
26149
26150 int
26151 main ()
26152 {
26153
26154 #ifndef $wx_func
26155 &$wx_func;
26156 #endif
26157
26158
26159 ;
26160 return 0;
26161 }
26162
26163 _ACEOF
26164 rm -f conftest.$ac_objext conftest$ac_exeext
26165 if { (ac_try="$ac_link"
26166 case "(($ac_try" in
26167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26168 *) ac_try_echo=$ac_try;;
26169 esac
26170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26171 (eval "$ac_link") 2>conftest.er1
26172 ac_status=$?
26173 grep -v '^ *+' conftest.er1 >conftest.err
26174 rm -f conftest.er1
26175 cat conftest.err >&5
26176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177 (exit $ac_status); } && {
26178 test -z "$ac_cxx_werror_flag" ||
26179 test ! -s conftest.err
26180 } && test -s conftest$ac_exeext &&
26181 $as_test_x conftest$ac_exeext; then
26182 eval wx_cv_func_$wx_func=yes
26183 else
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.$ac_ext >&5
26186
26187 eval wx_cv_func_$wx_func=no
26188 fi
26189
26190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26191 conftest$ac_exeext conftest.$ac_ext
26192
26193 fi
26194 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26195 { echo "$as_me:$LINENO: result: $ac_res" >&5
26196 echo "${ECHO_T}$ac_res" >&6; }
26197
26198 if eval test \$wx_cv_func_$wx_func = yes
26199 then
26200 cat >>confdefs.h <<_ACEOF
26201 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26202 _ACEOF
26203
26204
26205 else
26206 :
26207
26208 fi
26209 done
26210
26211 fi
26212 ac_ext=c
26213 ac_cpp='$CPP $CPPFLAGS'
26214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26217
26218
26219
26220
26221 if test "$wxUSE_REGEX" != "no"; then
26222 cat >>confdefs.h <<\_ACEOF
26223 #define wxUSE_REGEX 1
26224 _ACEOF
26225
26226
26227 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26228 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26229 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26230 wxUSE_REGEX=builtin
26231 fi
26232
26233 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26234 { echo "$as_me:$LINENO: checking for regex.h" >&5
26235 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26236 if test "${ac_cv_header_regex_h+set}" = set; then
26237 echo $ECHO_N "(cached) $ECHO_C" >&6
26238 else
26239 cat >conftest.$ac_ext <<_ACEOF
26240 /* confdefs.h. */
26241 _ACEOF
26242 cat confdefs.h >>conftest.$ac_ext
26243 cat >>conftest.$ac_ext <<_ACEOF
26244 /* end confdefs.h. */
26245
26246
26247 #include <regex.h>
26248 _ACEOF
26249 rm -f conftest.$ac_objext
26250 if { (ac_try="$ac_compile"
26251 case "(($ac_try" in
26252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26253 *) ac_try_echo=$ac_try;;
26254 esac
26255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26256 (eval "$ac_compile") 2>conftest.er1
26257 ac_status=$?
26258 grep -v '^ *+' conftest.er1 >conftest.err
26259 rm -f conftest.er1
26260 cat conftest.err >&5
26261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26262 (exit $ac_status); } && {
26263 test -z "$ac_c_werror_flag" ||
26264 test ! -s conftest.err
26265 } && test -s conftest.$ac_objext; then
26266 ac_cv_header_regex_h=yes
26267 else
26268 echo "$as_me: failed program was:" >&5
26269 sed 's/^/| /' conftest.$ac_ext >&5
26270
26271 ac_cv_header_regex_h=no
26272 fi
26273
26274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26275 fi
26276 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26277 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26278 if test $ac_cv_header_regex_h = yes; then
26279
26280
26281 for ac_func in regcomp re_search
26282 do
26283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26284 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26286 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26287 echo $ECHO_N "(cached) $ECHO_C" >&6
26288 else
26289 cat >conftest.$ac_ext <<_ACEOF
26290 /* confdefs.h. */
26291 _ACEOF
26292 cat confdefs.h >>conftest.$ac_ext
26293 cat >>conftest.$ac_ext <<_ACEOF
26294 /* end confdefs.h. */
26295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26297 #define $ac_func innocuous_$ac_func
26298
26299 /* System header to define __stub macros and hopefully few prototypes,
26300 which can conflict with char $ac_func (); below.
26301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26302 <limits.h> exists even on freestanding compilers. */
26303
26304 #ifdef __STDC__
26305 # include <limits.h>
26306 #else
26307 # include <assert.h>
26308 #endif
26309
26310 #undef $ac_func
26311
26312 /* Override any GCC internal prototype to avoid an error.
26313 Use char because int might match the return type of a GCC
26314 builtin and then its argument prototype would still apply. */
26315 #ifdef __cplusplus
26316 extern "C"
26317 #endif
26318 char $ac_func ();
26319 /* The GNU C library defines this for functions which it implements
26320 to always fail with ENOSYS. Some functions are actually named
26321 something starting with __ and the normal name is an alias. */
26322 #if defined __stub_$ac_func || defined __stub___$ac_func
26323 choke me
26324 #endif
26325
26326 int
26327 main ()
26328 {
26329 return $ac_func ();
26330 ;
26331 return 0;
26332 }
26333 _ACEOF
26334 rm -f conftest.$ac_objext conftest$ac_exeext
26335 if { (ac_try="$ac_link"
26336 case "(($ac_try" in
26337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26338 *) ac_try_echo=$ac_try;;
26339 esac
26340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26341 (eval "$ac_link") 2>conftest.er1
26342 ac_status=$?
26343 grep -v '^ *+' conftest.er1 >conftest.err
26344 rm -f conftest.er1
26345 cat conftest.err >&5
26346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347 (exit $ac_status); } && {
26348 test -z "$ac_c_werror_flag" ||
26349 test ! -s conftest.err
26350 } && test -s conftest$ac_exeext &&
26351 $as_test_x conftest$ac_exeext; then
26352 eval "$as_ac_var=yes"
26353 else
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26356
26357 eval "$as_ac_var=no"
26358 fi
26359
26360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26361 conftest$ac_exeext conftest.$ac_ext
26362 fi
26363 ac_res=`eval echo '${'$as_ac_var'}'`
26364 { echo "$as_me:$LINENO: result: $ac_res" >&5
26365 echo "${ECHO_T}$ac_res" >&6; }
26366 if test `eval echo '${'$as_ac_var'}'` = yes; then
26367 cat >>confdefs.h <<_ACEOF
26368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26369 _ACEOF
26370
26371 fi
26372 done
26373
26374 fi
26375
26376
26377
26378 if test "x$ac_cv_func_regcomp" != "xyes"; then
26379 if test "$wxUSE_REGEX" = "sys" ; then
26380 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26381 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26382 { (exit 1); exit 1; }; }
26383 else
26384 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26385 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26386 wxUSE_REGEX=builtin
26387 fi
26388 else
26389 wxUSE_REGEX=sys
26390 cat >>confdefs.h <<\_ACEOF
26391 #define WX_NO_REGEX_ADVANCED 1
26392 _ACEOF
26393
26394 fi
26395 fi
26396 fi
26397
26398
26399 ZLIB_LINK=
26400 if test "$wxUSE_ZLIB" != "no" ; then
26401 cat >>confdefs.h <<\_ACEOF
26402 #define wxUSE_ZLIB 1
26403 _ACEOF
26404
26405
26406 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26407 if test "$USE_DARWIN" = 1; then
26408 system_zlib_h_ok="yes"
26409 else
26410 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26411 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26412 if test "${ac_cv_header_zlib_h+set}" = set; then
26413 echo $ECHO_N "(cached) $ECHO_C" >&6
26414 else
26415 if test "$cross_compiling" = yes; then
26416 unset ac_cv_header_zlib_h
26417
26418 else
26419 cat >conftest.$ac_ext <<_ACEOF
26420 /* confdefs.h. */
26421 _ACEOF
26422 cat confdefs.h >>conftest.$ac_ext
26423 cat >>conftest.$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26425
26426 #include <zlib.h>
26427 #include <stdio.h>
26428
26429 int main()
26430 {
26431 FILE *f=fopen("conftestval", "w");
26432 if (!f) exit(1);
26433 fprintf(f, "%s",
26434 ZLIB_VERSION[0] == '1' &&
26435 (ZLIB_VERSION[2] > '1' ||
26436 (ZLIB_VERSION[2] == '1' &&
26437 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26438 exit(0);
26439 }
26440
26441 _ACEOF
26442 rm -f conftest$ac_exeext
26443 if { (ac_try="$ac_link"
26444 case "(($ac_try" in
26445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26446 *) ac_try_echo=$ac_try;;
26447 esac
26448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26449 (eval "$ac_link") 2>&5
26450 ac_status=$?
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26453 { (case "(($ac_try" in
26454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26455 *) ac_try_echo=$ac_try;;
26456 esac
26457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26458 (eval "$ac_try") 2>&5
26459 ac_status=$?
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); }; }; then
26462 ac_cv_header_zlib_h=`cat conftestval`
26463 else
26464 echo "$as_me: program exited with status $ac_status" >&5
26465 echo "$as_me: failed program was:" >&5
26466 sed 's/^/| /' conftest.$ac_ext >&5
26467
26468 ( exit $ac_status )
26469 ac_cv_header_zlib_h=no
26470 fi
26471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26472 fi
26473
26474
26475
26476 fi
26477 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26478 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26479 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26480 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26481 if test "${ac_cv_header_zlib_h+set}" = set; then
26482 echo $ECHO_N "(cached) $ECHO_C" >&6
26483 else
26484 cat >conftest.$ac_ext <<_ACEOF
26485 /* confdefs.h. */
26486 _ACEOF
26487 cat confdefs.h >>conftest.$ac_ext
26488 cat >>conftest.$ac_ext <<_ACEOF
26489 /* end confdefs.h. */
26490
26491
26492 #include <zlib.h>
26493 _ACEOF
26494 rm -f conftest.$ac_objext
26495 if { (ac_try="$ac_compile"
26496 case "(($ac_try" in
26497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26498 *) ac_try_echo=$ac_try;;
26499 esac
26500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26501 (eval "$ac_compile") 2>conftest.er1
26502 ac_status=$?
26503 grep -v '^ *+' conftest.er1 >conftest.err
26504 rm -f conftest.er1
26505 cat conftest.err >&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); } && {
26508 test -z "$ac_c_werror_flag" ||
26509 test ! -s conftest.err
26510 } && test -s conftest.$ac_objext; then
26511 ac_cv_header_zlib_h=yes
26512 else
26513 echo "$as_me: failed program was:" >&5
26514 sed 's/^/| /' conftest.$ac_ext >&5
26515
26516 ac_cv_header_zlib_h=no
26517 fi
26518
26519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26520 fi
26521 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26522 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26523
26524
26525
26526 system_zlib_h_ok=$ac_cv_header_zlib_h
26527 fi
26528
26529 if test "$system_zlib_h_ok" = "yes"; then
26530 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26531 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26532 if test "${ac_cv_lib_z_deflate+set}" = set; then
26533 echo $ECHO_N "(cached) $ECHO_C" >&6
26534 else
26535 ac_check_lib_save_LIBS=$LIBS
26536 LIBS="-lz $LIBS"
26537 cat >conftest.$ac_ext <<_ACEOF
26538 /* confdefs.h. */
26539 _ACEOF
26540 cat confdefs.h >>conftest.$ac_ext
26541 cat >>conftest.$ac_ext <<_ACEOF
26542 /* end confdefs.h. */
26543
26544 /* Override any GCC internal prototype to avoid an error.
26545 Use char because int might match the return type of a GCC
26546 builtin and then its argument prototype would still apply. */
26547 #ifdef __cplusplus
26548 extern "C"
26549 #endif
26550 char deflate ();
26551 int
26552 main ()
26553 {
26554 return deflate ();
26555 ;
26556 return 0;
26557 }
26558 _ACEOF
26559 rm -f conftest.$ac_objext conftest$ac_exeext
26560 if { (ac_try="$ac_link"
26561 case "(($ac_try" in
26562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26563 *) ac_try_echo=$ac_try;;
26564 esac
26565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26566 (eval "$ac_link") 2>conftest.er1
26567 ac_status=$?
26568 grep -v '^ *+' conftest.er1 >conftest.err
26569 rm -f conftest.er1
26570 cat conftest.err >&5
26571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26572 (exit $ac_status); } && {
26573 test -z "$ac_c_werror_flag" ||
26574 test ! -s conftest.err
26575 } && test -s conftest$ac_exeext &&
26576 $as_test_x conftest$ac_exeext; then
26577 ac_cv_lib_z_deflate=yes
26578 else
26579 echo "$as_me: failed program was:" >&5
26580 sed 's/^/| /' conftest.$ac_ext >&5
26581
26582 ac_cv_lib_z_deflate=no
26583 fi
26584
26585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26586 conftest$ac_exeext conftest.$ac_ext
26587 LIBS=$ac_check_lib_save_LIBS
26588 fi
26589 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26590 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26591 if test $ac_cv_lib_z_deflate = yes; then
26592 ZLIB_LINK=" -lz"
26593 fi
26594
26595 fi
26596
26597 if test "x$ZLIB_LINK" = "x" ; then
26598 if test "$wxUSE_ZLIB" = "sys" ; then
26599 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26600 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26601 { (exit 1); exit 1; }; }
26602 else
26603 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26604 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26605 wxUSE_ZLIB=builtin
26606 fi
26607 else
26608 wxUSE_ZLIB=sys
26609 fi
26610 fi
26611 fi
26612
26613
26614 PNG_LINK=
26615 if test "$wxUSE_LIBPNG" != "no" ; then
26616 cat >>confdefs.h <<\_ACEOF
26617 #define wxUSE_LIBPNG 1
26618 _ACEOF
26619
26620
26621 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26622 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26623 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26624 wxUSE_LIBPNG=sys
26625 fi
26626
26627 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26628 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26629 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26630 wxUSE_LIBPNG=builtin
26631 fi
26632
26633 if test "$wxUSE_MGL" != 1 ; then
26634 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26635 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26636 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26637 if test "${ac_cv_header_png_h+set}" = set; then
26638 echo $ECHO_N "(cached) $ECHO_C" >&6
26639 else
26640 if test "$cross_compiling" = yes; then
26641 unset ac_cv_header_png_h
26642
26643 else
26644 cat >conftest.$ac_ext <<_ACEOF
26645 /* confdefs.h. */
26646 _ACEOF
26647 cat confdefs.h >>conftest.$ac_ext
26648 cat >>conftest.$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26650
26651 #include <png.h>
26652 #include <stdio.h>
26653
26654 int main()
26655 {
26656 FILE *f=fopen("conftestval", "w");
26657 if (!f) exit(1);
26658 fprintf(f, "%s",
26659 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26660 exit(0);
26661 }
26662
26663 _ACEOF
26664 rm -f conftest$ac_exeext
26665 if { (ac_try="$ac_link"
26666 case "(($ac_try" in
26667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26668 *) ac_try_echo=$ac_try;;
26669 esac
26670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26671 (eval "$ac_link") 2>&5
26672 ac_status=$?
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26675 { (case "(($ac_try" in
26676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26677 *) ac_try_echo=$ac_try;;
26678 esac
26679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26680 (eval "$ac_try") 2>&5
26681 ac_status=$?
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); }; }; then
26684 ac_cv_header_png_h=`cat conftestval`
26685 else
26686 echo "$as_me: program exited with status $ac_status" >&5
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.$ac_ext >&5
26689
26690 ( exit $ac_status )
26691 ac_cv_header_png_h=no
26692 fi
26693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26694 fi
26695
26696
26697
26698 fi
26699 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26700 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26701 { echo "$as_me:$LINENO: checking for png.h" >&5
26702 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26703 if test "${ac_cv_header_png_h+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 else
26706 cat >conftest.$ac_ext <<_ACEOF
26707 /* confdefs.h. */
26708 _ACEOF
26709 cat confdefs.h >>conftest.$ac_ext
26710 cat >>conftest.$ac_ext <<_ACEOF
26711 /* end confdefs.h. */
26712
26713
26714 #include <png.h>
26715 _ACEOF
26716 rm -f conftest.$ac_objext
26717 if { (ac_try="$ac_compile"
26718 case "(($ac_try" in
26719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26720 *) ac_try_echo=$ac_try;;
26721 esac
26722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26723 (eval "$ac_compile") 2>conftest.er1
26724 ac_status=$?
26725 grep -v '^ *+' conftest.er1 >conftest.err
26726 rm -f conftest.er1
26727 cat conftest.err >&5
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); } && {
26730 test -z "$ac_c_werror_flag" ||
26731 test ! -s conftest.err
26732 } && test -s conftest.$ac_objext; then
26733 ac_cv_header_png_h=yes
26734 else
26735 echo "$as_me: failed program was:" >&5
26736 sed 's/^/| /' conftest.$ac_ext >&5
26737
26738 ac_cv_header_png_h=no
26739 fi
26740
26741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26742 fi
26743 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26744 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26745
26746
26747
26748 if test "$ac_cv_header_png_h" = "yes"; then
26749 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26750 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26751 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26752 echo $ECHO_N "(cached) $ECHO_C" >&6
26753 else
26754 ac_check_lib_save_LIBS=$LIBS
26755 LIBS="-lpng -lz -lm $LIBS"
26756 cat >conftest.$ac_ext <<_ACEOF
26757 /* confdefs.h. */
26758 _ACEOF
26759 cat confdefs.h >>conftest.$ac_ext
26760 cat >>conftest.$ac_ext <<_ACEOF
26761 /* end confdefs.h. */
26762
26763 /* Override any GCC internal prototype to avoid an error.
26764 Use char because int might match the return type of a GCC
26765 builtin and then its argument prototype would still apply. */
26766 #ifdef __cplusplus
26767 extern "C"
26768 #endif
26769 char png_check_sig ();
26770 int
26771 main ()
26772 {
26773 return png_check_sig ();
26774 ;
26775 return 0;
26776 }
26777 _ACEOF
26778 rm -f conftest.$ac_objext conftest$ac_exeext
26779 if { (ac_try="$ac_link"
26780 case "(($ac_try" in
26781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26782 *) ac_try_echo=$ac_try;;
26783 esac
26784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26785 (eval "$ac_link") 2>conftest.er1
26786 ac_status=$?
26787 grep -v '^ *+' conftest.er1 >conftest.err
26788 rm -f conftest.er1
26789 cat conftest.err >&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); } && {
26792 test -z "$ac_c_werror_flag" ||
26793 test ! -s conftest.err
26794 } && test -s conftest$ac_exeext &&
26795 $as_test_x conftest$ac_exeext; then
26796 ac_cv_lib_png_png_check_sig=yes
26797 else
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.$ac_ext >&5
26800
26801 ac_cv_lib_png_png_check_sig=no
26802 fi
26803
26804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26805 conftest$ac_exeext conftest.$ac_ext
26806 LIBS=$ac_check_lib_save_LIBS
26807 fi
26808 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26809 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26810 if test $ac_cv_lib_png_png_check_sig = yes; then
26811 PNG_LINK=" -lpng -lz"
26812 fi
26813
26814 fi
26815
26816 if test "x$PNG_LINK" = "x" ; then
26817 if test "$wxUSE_LIBPNG" = "sys" ; then
26818 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26819 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26820 { (exit 1); exit 1; }; }
26821 else
26822 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26823 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26824 wxUSE_LIBPNG=builtin
26825 fi
26826 else
26827 wxUSE_LIBPNG=sys
26828 fi
26829 fi
26830 fi
26831 fi
26832
26833
26834 JPEG_LINK=
26835 if test "$wxUSE_LIBJPEG" != "no" ; then
26836 cat >>confdefs.h <<\_ACEOF
26837 #define wxUSE_LIBJPEG 1
26838 _ACEOF
26839
26840
26841 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26842 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26843 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26844 wxUSE_LIBJPEG=sys
26845 fi
26846
26847 if test "$wxUSE_MGL" != 1 ; then
26848 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26849 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26850 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26851 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26853 else
26854 cat >conftest.$ac_ext <<_ACEOF
26855 /* confdefs.h. */
26856 _ACEOF
26857 cat confdefs.h >>conftest.$ac_ext
26858 cat >>conftest.$ac_ext <<_ACEOF
26859 /* end confdefs.h. */
26860
26861 #undef HAVE_STDLIB_H
26862 #include <stdio.h>
26863 #include <jpeglib.h>
26864
26865 int
26866 main ()
26867 {
26868
26869
26870 ;
26871 return 0;
26872 }
26873 _ACEOF
26874 rm -f conftest.$ac_objext
26875 if { (ac_try="$ac_compile"
26876 case "(($ac_try" in
26877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26878 *) ac_try_echo=$ac_try;;
26879 esac
26880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26881 (eval "$ac_compile") 2>conftest.er1
26882 ac_status=$?
26883 grep -v '^ *+' conftest.er1 >conftest.err
26884 rm -f conftest.er1
26885 cat conftest.err >&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } && {
26888 test -z "$ac_c_werror_flag" ||
26889 test ! -s conftest.err
26890 } && test -s conftest.$ac_objext; then
26891 ac_cv_header_jpeglib_h=yes
26892 else
26893 echo "$as_me: failed program was:" >&5
26894 sed 's/^/| /' conftest.$ac_ext >&5
26895
26896 ac_cv_header_jpeglib_h=no
26897
26898 fi
26899
26900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26901
26902 fi
26903
26904 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26905 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26906
26907 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26908 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26909 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26910 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26911 echo $ECHO_N "(cached) $ECHO_C" >&6
26912 else
26913 ac_check_lib_save_LIBS=$LIBS
26914 LIBS="-ljpeg $LIBS"
26915 cat >conftest.$ac_ext <<_ACEOF
26916 /* confdefs.h. */
26917 _ACEOF
26918 cat confdefs.h >>conftest.$ac_ext
26919 cat >>conftest.$ac_ext <<_ACEOF
26920 /* end confdefs.h. */
26921
26922 /* Override any GCC internal prototype to avoid an error.
26923 Use char because int might match the return type of a GCC
26924 builtin and then its argument prototype would still apply. */
26925 #ifdef __cplusplus
26926 extern "C"
26927 #endif
26928 char jpeg_read_header ();
26929 int
26930 main ()
26931 {
26932 return jpeg_read_header ();
26933 ;
26934 return 0;
26935 }
26936 _ACEOF
26937 rm -f conftest.$ac_objext conftest$ac_exeext
26938 if { (ac_try="$ac_link"
26939 case "(($ac_try" in
26940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26941 *) ac_try_echo=$ac_try;;
26942 esac
26943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26944 (eval "$ac_link") 2>conftest.er1
26945 ac_status=$?
26946 grep -v '^ *+' conftest.er1 >conftest.err
26947 rm -f conftest.er1
26948 cat conftest.err >&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } && {
26951 test -z "$ac_c_werror_flag" ||
26952 test ! -s conftest.err
26953 } && test -s conftest$ac_exeext &&
26954 $as_test_x conftest$ac_exeext; then
26955 ac_cv_lib_jpeg_jpeg_read_header=yes
26956 else
26957 echo "$as_me: failed program was:" >&5
26958 sed 's/^/| /' conftest.$ac_ext >&5
26959
26960 ac_cv_lib_jpeg_jpeg_read_header=no
26961 fi
26962
26963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26964 conftest$ac_exeext conftest.$ac_ext
26965 LIBS=$ac_check_lib_save_LIBS
26966 fi
26967 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26968 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26969 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26970 JPEG_LINK=" -ljpeg"
26971 fi
26972
26973 fi
26974
26975 if test "x$JPEG_LINK" = "x" ; then
26976 if test "$wxUSE_LIBJPEG" = "sys" ; then
26977 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26978 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26979 { (exit 1); exit 1; }; }
26980 else
26981 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26982 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26983 wxUSE_LIBJPEG=builtin
26984 fi
26985 else
26986 wxUSE_LIBJPEG=sys
26987
26988 if test "$wxUSE_MSW" = 1; then
26989 { echo "$as_me:$LINENO: checking for boolean" >&5
26990 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26991 if test "${ac_cv_type_boolean+set}" = set; then
26992 echo $ECHO_N "(cached) $ECHO_C" >&6
26993 else
26994 cat >conftest.$ac_ext <<_ACEOF
26995 /* confdefs.h. */
26996 _ACEOF
26997 cat confdefs.h >>conftest.$ac_ext
26998 cat >>conftest.$ac_ext <<_ACEOF
26999 /* end confdefs.h. */
27000 #include <windows.h>
27001
27002 typedef boolean ac__type_new_;
27003 int
27004 main ()
27005 {
27006 if ((ac__type_new_ *) 0)
27007 return 0;
27008 if (sizeof (ac__type_new_))
27009 return 0;
27010 ;
27011 return 0;
27012 }
27013 _ACEOF
27014 rm -f conftest.$ac_objext
27015 if { (ac_try="$ac_compile"
27016 case "(($ac_try" in
27017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27018 *) ac_try_echo=$ac_try;;
27019 esac
27020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27021 (eval "$ac_compile") 2>conftest.er1
27022 ac_status=$?
27023 grep -v '^ *+' conftest.er1 >conftest.err
27024 rm -f conftest.er1
27025 cat conftest.err >&5
27026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); } && {
27028 test -z "$ac_c_werror_flag" ||
27029 test ! -s conftest.err
27030 } && test -s conftest.$ac_objext; then
27031 ac_cv_type_boolean=yes
27032 else
27033 echo "$as_me: failed program was:" >&5
27034 sed 's/^/| /' conftest.$ac_ext >&5
27035
27036 ac_cv_type_boolean=no
27037 fi
27038
27039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27040 fi
27041 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27042 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27043 if test $ac_cv_type_boolean = yes; then
27044
27045 cat >>confdefs.h <<_ACEOF
27046 #define HAVE_BOOLEAN 1
27047 _ACEOF
27048
27049
27050 { echo "$as_me:$LINENO: checking for boolean" >&5
27051 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27052 if test "${ac_cv_type_boolean+set}" = set; then
27053 echo $ECHO_N "(cached) $ECHO_C" >&6
27054 else
27055 cat >conftest.$ac_ext <<_ACEOF
27056 /* confdefs.h. */
27057 _ACEOF
27058 cat confdefs.h >>conftest.$ac_ext
27059 cat >>conftest.$ac_ext <<_ACEOF
27060 /* end confdefs.h. */
27061
27062 #undef HAVE_BOOLEAN
27063 #include <stdio.h>
27064 #include <jpeglib.h>
27065
27066
27067 typedef boolean ac__type_new_;
27068 int
27069 main ()
27070 {
27071 if ((ac__type_new_ *) 0)
27072 return 0;
27073 if (sizeof (ac__type_new_))
27074 return 0;
27075 ;
27076 return 0;
27077 }
27078 _ACEOF
27079 rm -f conftest.$ac_objext
27080 if { (ac_try="$ac_compile"
27081 case "(($ac_try" in
27082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27083 *) ac_try_echo=$ac_try;;
27084 esac
27085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27086 (eval "$ac_compile") 2>conftest.er1
27087 ac_status=$?
27088 grep -v '^ *+' conftest.er1 >conftest.err
27089 rm -f conftest.er1
27090 cat conftest.err >&5
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); } && {
27093 test -z "$ac_c_werror_flag" ||
27094 test ! -s conftest.err
27095 } && test -s conftest.$ac_objext; then
27096 ac_cv_type_boolean=yes
27097 else
27098 echo "$as_me: failed program was:" >&5
27099 sed 's/^/| /' conftest.$ac_ext >&5
27100
27101 ac_cv_type_boolean=no
27102 fi
27103
27104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27105 fi
27106 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27107 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27108
27109 # The cast to long int works around a bug in the HP C Compiler
27110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27111 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27112 # This bug is HP SR number 8606223364.
27113 { echo "$as_me:$LINENO: checking size of boolean" >&5
27114 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27115 if test "${ac_cv_sizeof_boolean+set}" = set; then
27116 echo $ECHO_N "(cached) $ECHO_C" >&6
27117 else
27118 if test "$cross_compiling" = yes; then
27119 # Depending upon the size, compute the lo and hi bounds.
27120 cat >conftest.$ac_ext <<_ACEOF
27121 /* confdefs.h. */
27122 _ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27126
27127 #undef HAVE_BOOLEAN
27128 #include <stdio.h>
27129 #include <jpeglib.h>
27130
27131
27132 typedef boolean ac__type_sizeof_;
27133 int
27134 main ()
27135 {
27136 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27137 test_array [0] = 0
27138
27139 ;
27140 return 0;
27141 }
27142 _ACEOF
27143 rm -f conftest.$ac_objext
27144 if { (ac_try="$ac_compile"
27145 case "(($ac_try" in
27146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27147 *) ac_try_echo=$ac_try;;
27148 esac
27149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27150 (eval "$ac_compile") 2>conftest.er1
27151 ac_status=$?
27152 grep -v '^ *+' conftest.er1 >conftest.err
27153 rm -f conftest.er1
27154 cat conftest.err >&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } && {
27157 test -z "$ac_c_werror_flag" ||
27158 test ! -s conftest.err
27159 } && test -s conftest.$ac_objext; then
27160 ac_lo=0 ac_mid=0
27161 while :; do
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
27169 #undef HAVE_BOOLEAN
27170 #include <stdio.h>
27171 #include <jpeglib.h>
27172
27173
27174 typedef boolean ac__type_sizeof_;
27175 int
27176 main ()
27177 {
27178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27179 test_array [0] = 0
27180
27181 ;
27182 return 0;
27183 }
27184 _ACEOF
27185 rm -f conftest.$ac_objext
27186 if { (ac_try="$ac_compile"
27187 case "(($ac_try" in
27188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27189 *) ac_try_echo=$ac_try;;
27190 esac
27191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27192 (eval "$ac_compile") 2>conftest.er1
27193 ac_status=$?
27194 grep -v '^ *+' conftest.er1 >conftest.err
27195 rm -f conftest.er1
27196 cat conftest.err >&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); } && {
27199 test -z "$ac_c_werror_flag" ||
27200 test ! -s conftest.err
27201 } && test -s conftest.$ac_objext; then
27202 ac_hi=$ac_mid; break
27203 else
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27206
27207 ac_lo=`expr $ac_mid + 1`
27208 if test $ac_lo -le $ac_mid; then
27209 ac_lo= ac_hi=
27210 break
27211 fi
27212 ac_mid=`expr 2 '*' $ac_mid + 1`
27213 fi
27214
27215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27216 done
27217 else
27218 echo "$as_me: failed program was:" >&5
27219 sed 's/^/| /' conftest.$ac_ext >&5
27220
27221 cat >conftest.$ac_ext <<_ACEOF
27222 /* confdefs.h. */
27223 _ACEOF
27224 cat confdefs.h >>conftest.$ac_ext
27225 cat >>conftest.$ac_ext <<_ACEOF
27226 /* end confdefs.h. */
27227
27228 #undef HAVE_BOOLEAN
27229 #include <stdio.h>
27230 #include <jpeglib.h>
27231
27232
27233 typedef boolean ac__type_sizeof_;
27234 int
27235 main ()
27236 {
27237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27238 test_array [0] = 0
27239
27240 ;
27241 return 0;
27242 }
27243 _ACEOF
27244 rm -f conftest.$ac_objext
27245 if { (ac_try="$ac_compile"
27246 case "(($ac_try" in
27247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27248 *) ac_try_echo=$ac_try;;
27249 esac
27250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27251 (eval "$ac_compile") 2>conftest.er1
27252 ac_status=$?
27253 grep -v '^ *+' conftest.er1 >conftest.err
27254 rm -f conftest.er1
27255 cat conftest.err >&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } && {
27258 test -z "$ac_c_werror_flag" ||
27259 test ! -s conftest.err
27260 } && test -s conftest.$ac_objext; then
27261 ac_hi=-1 ac_mid=-1
27262 while :; do
27263 cat >conftest.$ac_ext <<_ACEOF
27264 /* confdefs.h. */
27265 _ACEOF
27266 cat confdefs.h >>conftest.$ac_ext
27267 cat >>conftest.$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27269
27270 #undef HAVE_BOOLEAN
27271 #include <stdio.h>
27272 #include <jpeglib.h>
27273
27274
27275 typedef boolean ac__type_sizeof_;
27276 int
27277 main ()
27278 {
27279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27280 test_array [0] = 0
27281
27282 ;
27283 return 0;
27284 }
27285 _ACEOF
27286 rm -f conftest.$ac_objext
27287 if { (ac_try="$ac_compile"
27288 case "(($ac_try" in
27289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27290 *) ac_try_echo=$ac_try;;
27291 esac
27292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27293 (eval "$ac_compile") 2>conftest.er1
27294 ac_status=$?
27295 grep -v '^ *+' conftest.er1 >conftest.err
27296 rm -f conftest.er1
27297 cat conftest.err >&5
27298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27299 (exit $ac_status); } && {
27300 test -z "$ac_c_werror_flag" ||
27301 test ! -s conftest.err
27302 } && test -s conftest.$ac_objext; then
27303 ac_lo=$ac_mid; break
27304 else
27305 echo "$as_me: failed program was:" >&5
27306 sed 's/^/| /' conftest.$ac_ext >&5
27307
27308 ac_hi=`expr '(' $ac_mid ')' - 1`
27309 if test $ac_mid -le $ac_hi; then
27310 ac_lo= ac_hi=
27311 break
27312 fi
27313 ac_mid=`expr 2 '*' $ac_mid`
27314 fi
27315
27316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27317 done
27318 else
27319 echo "$as_me: failed program was:" >&5
27320 sed 's/^/| /' conftest.$ac_ext >&5
27321
27322 ac_lo= ac_hi=
27323 fi
27324
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27326 fi
27327
27328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27329 # Binary search between lo and hi bounds.
27330 while test "x$ac_lo" != "x$ac_hi"; do
27331 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27332 cat >conftest.$ac_ext <<_ACEOF
27333 /* confdefs.h. */
27334 _ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27338
27339 #undef HAVE_BOOLEAN
27340 #include <stdio.h>
27341 #include <jpeglib.h>
27342
27343
27344 typedef boolean ac__type_sizeof_;
27345 int
27346 main ()
27347 {
27348 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27349 test_array [0] = 0
27350
27351 ;
27352 return 0;
27353 }
27354 _ACEOF
27355 rm -f conftest.$ac_objext
27356 if { (ac_try="$ac_compile"
27357 case "(($ac_try" in
27358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27359 *) ac_try_echo=$ac_try;;
27360 esac
27361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27362 (eval "$ac_compile") 2>conftest.er1
27363 ac_status=$?
27364 grep -v '^ *+' conftest.er1 >conftest.err
27365 rm -f conftest.er1
27366 cat conftest.err >&5
27367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27368 (exit $ac_status); } && {
27369 test -z "$ac_c_werror_flag" ||
27370 test ! -s conftest.err
27371 } && test -s conftest.$ac_objext; then
27372 ac_hi=$ac_mid
27373 else
27374 echo "$as_me: failed program was:" >&5
27375 sed 's/^/| /' conftest.$ac_ext >&5
27376
27377 ac_lo=`expr '(' $ac_mid ')' + 1`
27378 fi
27379
27380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27381 done
27382 case $ac_lo in
27383 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27384 '') if test "$ac_cv_type_boolean" = yes; then
27385 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27386 See \`config.log' for more details." >&5
27387 echo "$as_me: error: cannot compute sizeof (boolean)
27388 See \`config.log' for more details." >&2;}
27389 { (exit 77); exit 77; }; }
27390 else
27391 ac_cv_sizeof_boolean=0
27392 fi ;;
27393 esac
27394 else
27395 cat >conftest.$ac_ext <<_ACEOF
27396 /* confdefs.h. */
27397 _ACEOF
27398 cat confdefs.h >>conftest.$ac_ext
27399 cat >>conftest.$ac_ext <<_ACEOF
27400 /* end confdefs.h. */
27401
27402 #undef HAVE_BOOLEAN
27403 #include <stdio.h>
27404 #include <jpeglib.h>
27405
27406
27407 typedef boolean ac__type_sizeof_;
27408 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27409 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27410 #include <stdio.h>
27411 #include <stdlib.h>
27412 int
27413 main ()
27414 {
27415
27416 FILE *f = fopen ("conftest.val", "w");
27417 if (! f)
27418 return 1;
27419 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27420 {
27421 long int i = longval ();
27422 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27423 return 1;
27424 fprintf (f, "%ld\n", i);
27425 }
27426 else
27427 {
27428 unsigned long int i = ulongval ();
27429 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27430 return 1;
27431 fprintf (f, "%lu\n", i);
27432 }
27433 return ferror (f) || fclose (f) != 0;
27434
27435 ;
27436 return 0;
27437 }
27438 _ACEOF
27439 rm -f conftest$ac_exeext
27440 if { (ac_try="$ac_link"
27441 case "(($ac_try" in
27442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27443 *) ac_try_echo=$ac_try;;
27444 esac
27445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27446 (eval "$ac_link") 2>&5
27447 ac_status=$?
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27450 { (case "(($ac_try" in
27451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27452 *) ac_try_echo=$ac_try;;
27453 esac
27454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27455 (eval "$ac_try") 2>&5
27456 ac_status=$?
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); }; }; then
27459 ac_cv_sizeof_boolean=`cat conftest.val`
27460 else
27461 echo "$as_me: program exited with status $ac_status" >&5
27462 echo "$as_me: failed program was:" >&5
27463 sed 's/^/| /' conftest.$ac_ext >&5
27464
27465 ( exit $ac_status )
27466 if test "$ac_cv_type_boolean" = yes; then
27467 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27468 See \`config.log' for more details." >&5
27469 echo "$as_me: error: cannot compute sizeof (boolean)
27470 See \`config.log' for more details." >&2;}
27471 { (exit 77); exit 77; }; }
27472 else
27473 ac_cv_sizeof_boolean=0
27474 fi
27475 fi
27476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27477 fi
27478 rm -f conftest.val
27479 fi
27480 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27481 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27482
27483
27484
27485 cat >>confdefs.h <<_ACEOF
27486 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27487 _ACEOF
27488
27489
27490 cat >>confdefs.h <<_ACEOF
27491 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27492 _ACEOF
27493
27494
27495 fi
27496
27497 fi
27498 fi
27499 fi
27500 fi
27501 fi
27502
27503
27504 TIFF_LINK=
27505 TIFF_PREREQ_LINKS=-lm
27506 if test "$wxUSE_LIBTIFF" != "no" ; then
27507 cat >>confdefs.h <<\_ACEOF
27508 #define wxUSE_LIBTIFF 1
27509 _ACEOF
27510
27511
27512 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27513 if test "$wxUSE_LIBJPEG" = "sys"; then
27514 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27515 fi
27516 if test "$wxUSE_ZLIB" = "sys"; then
27517 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27518 fi
27519 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27520 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27521 if test "${ac_cv_header_tiffio_h+set}" = set; then
27522 echo $ECHO_N "(cached) $ECHO_C" >&6
27523 else
27524 cat >conftest.$ac_ext <<_ACEOF
27525 /* confdefs.h. */
27526 _ACEOF
27527 cat confdefs.h >>conftest.$ac_ext
27528 cat >>conftest.$ac_ext <<_ACEOF
27529 /* end confdefs.h. */
27530
27531
27532
27533 #include <tiffio.h>
27534 _ACEOF
27535 rm -f conftest.$ac_objext
27536 if { (ac_try="$ac_compile"
27537 case "(($ac_try" in
27538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27539 *) ac_try_echo=$ac_try;;
27540 esac
27541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27542 (eval "$ac_compile") 2>conftest.er1
27543 ac_status=$?
27544 grep -v '^ *+' conftest.er1 >conftest.err
27545 rm -f conftest.er1
27546 cat conftest.err >&5
27547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548 (exit $ac_status); } && {
27549 test -z "$ac_c_werror_flag" ||
27550 test ! -s conftest.err
27551 } && test -s conftest.$ac_objext; then
27552 ac_cv_header_tiffio_h=yes
27553 else
27554 echo "$as_me: failed program was:" >&5
27555 sed 's/^/| /' conftest.$ac_ext >&5
27556
27557 ac_cv_header_tiffio_h=no
27558 fi
27559
27560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27561 fi
27562 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27563 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27564 if test $ac_cv_header_tiffio_h = yes; then
27565
27566 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27567 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27568 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27569 echo $ECHO_N "(cached) $ECHO_C" >&6
27570 else
27571 ac_check_lib_save_LIBS=$LIBS
27572 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27573 cat >conftest.$ac_ext <<_ACEOF
27574 /* confdefs.h. */
27575 _ACEOF
27576 cat confdefs.h >>conftest.$ac_ext
27577 cat >>conftest.$ac_ext <<_ACEOF
27578 /* end confdefs.h. */
27579
27580 /* Override any GCC internal prototype to avoid an error.
27581 Use char because int might match the return type of a GCC
27582 builtin and then its argument prototype would still apply. */
27583 #ifdef __cplusplus
27584 extern "C"
27585 #endif
27586 char TIFFError ();
27587 int
27588 main ()
27589 {
27590 return TIFFError ();
27591 ;
27592 return 0;
27593 }
27594 _ACEOF
27595 rm -f conftest.$ac_objext conftest$ac_exeext
27596 if { (ac_try="$ac_link"
27597 case "(($ac_try" in
27598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27599 *) ac_try_echo=$ac_try;;
27600 esac
27601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27602 (eval "$ac_link") 2>conftest.er1
27603 ac_status=$?
27604 grep -v '^ *+' conftest.er1 >conftest.err
27605 rm -f conftest.er1
27606 cat conftest.err >&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); } && {
27609 test -z "$ac_c_werror_flag" ||
27610 test ! -s conftest.err
27611 } && test -s conftest$ac_exeext &&
27612 $as_test_x conftest$ac_exeext; then
27613 ac_cv_lib_tiff_TIFFError=yes
27614 else
27615 echo "$as_me: failed program was:" >&5
27616 sed 's/^/| /' conftest.$ac_ext >&5
27617
27618 ac_cv_lib_tiff_TIFFError=no
27619 fi
27620
27621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27622 conftest$ac_exeext conftest.$ac_ext
27623 LIBS=$ac_check_lib_save_LIBS
27624 fi
27625 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27626 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27627 if test $ac_cv_lib_tiff_TIFFError = yes; then
27628 TIFF_LINK=" -ltiff"
27629 fi
27630
27631
27632 fi
27633
27634
27635
27636 if test "x$TIFF_LINK" = "x" ; then
27637 if test "$wxUSE_LIBTIFF" = "sys" ; then
27638 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27639 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27640 { (exit 1); exit 1; }; }
27641 else
27642 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27643 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27644 wxUSE_LIBTIFF=builtin
27645 fi
27646 else
27647 wxUSE_LIBTIFF=sys
27648 fi
27649 fi
27650 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27651 if test "$wxUSE_LIBJPEG" = "no"; then
27652 ac_configure_args="$ac_configure_args --disable-jpeg"
27653 fi
27654 subdirs="$subdirs src/tiff"
27655
27656 fi
27657 fi
27658
27659
27660 if test "$wxUSE_WCHAR_T" != "yes"; then
27661 if test "$wxUSE_EXPAT" != "no"; then
27662 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27663 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27664 wxUSE_EXPAT=no
27665 fi
27666 if test "$wxUSE_XML" != "no"; then
27667 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27668 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27669 wxUSE_XML=no
27670 fi
27671 fi
27672
27673 if test "$wxUSE_EXPAT" != "no"; then
27674 wxUSE_XML=yes
27675 cat >>confdefs.h <<\_ACEOF
27676 #define wxUSE_EXPAT 1
27677 _ACEOF
27678
27679 cat >>confdefs.h <<\_ACEOF
27680 #define wxUSE_XML 1
27681 _ACEOF
27682
27683
27684 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27685 { echo "$as_me:$LINENO: checking for expat.h" >&5
27686 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27687 if test "${ac_cv_header_expat_h+set}" = set; then
27688 echo $ECHO_N "(cached) $ECHO_C" >&6
27689 else
27690 cat >conftest.$ac_ext <<_ACEOF
27691 /* confdefs.h. */
27692 _ACEOF
27693 cat confdefs.h >>conftest.$ac_ext
27694 cat >>conftest.$ac_ext <<_ACEOF
27695 /* end confdefs.h. */
27696
27697
27698 #include <expat.h>
27699 _ACEOF
27700 rm -f conftest.$ac_objext
27701 if { (ac_try="$ac_compile"
27702 case "(($ac_try" in
27703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27704 *) ac_try_echo=$ac_try;;
27705 esac
27706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27707 (eval "$ac_compile") 2>conftest.er1
27708 ac_status=$?
27709 grep -v '^ *+' conftest.er1 >conftest.err
27710 rm -f conftest.er1
27711 cat conftest.err >&5
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); } && {
27714 test -z "$ac_c_werror_flag" ||
27715 test ! -s conftest.err
27716 } && test -s conftest.$ac_objext; then
27717 ac_cv_header_expat_h=yes
27718 else
27719 echo "$as_me: failed program was:" >&5
27720 sed 's/^/| /' conftest.$ac_ext >&5
27721
27722 ac_cv_header_expat_h=no
27723 fi
27724
27725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27726 fi
27727 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27728 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27729 if test $ac_cv_header_expat_h = yes; then
27730 found_expat_h=1
27731 fi
27732
27733
27734 if test "x$found_expat_h" = "x1"; then
27735 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27736 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27737 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27738 echo $ECHO_N "(cached) $ECHO_C" >&6
27739 else
27740
27741 ac_ext=cpp
27742 ac_cpp='$CXXCPP $CPPFLAGS'
27743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27746
27747 cat >conftest.$ac_ext <<_ACEOF
27748 /* confdefs.h. */
27749 _ACEOF
27750 cat confdefs.h >>conftest.$ac_ext
27751 cat >>conftest.$ac_ext <<_ACEOF
27752 /* end confdefs.h. */
27753 #include <expat.h>
27754 int
27755 main ()
27756 {
27757
27758 ;
27759 return 0;
27760 }
27761 _ACEOF
27762 rm -f conftest.$ac_objext
27763 if { (ac_try="$ac_compile"
27764 case "(($ac_try" in
27765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27766 *) ac_try_echo=$ac_try;;
27767 esac
27768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27769 (eval "$ac_compile") 2>conftest.er1
27770 ac_status=$?
27771 grep -v '^ *+' conftest.er1 >conftest.err
27772 rm -f conftest.er1
27773 cat conftest.err >&5
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); } && {
27776 test -z "$ac_cxx_werror_flag" ||
27777 test ! -s conftest.err
27778 } && test -s conftest.$ac_objext; then
27779 wx_cv_expat_is_not_broken=yes
27780 else
27781 echo "$as_me: failed program was:" >&5
27782 sed 's/^/| /' conftest.$ac_ext >&5
27783
27784 wx_cv_expat_is_not_broken=no
27785
27786 fi
27787
27788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27789 ac_ext=c
27790 ac_cpp='$CPP $CPPFLAGS'
27791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27794
27795
27796
27797 fi
27798 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27799 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27800 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27801 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27802 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27803 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27804 echo $ECHO_N "(cached) $ECHO_C" >&6
27805 else
27806 ac_check_lib_save_LIBS=$LIBS
27807 LIBS="-lexpat $LIBS"
27808 cat >conftest.$ac_ext <<_ACEOF
27809 /* confdefs.h. */
27810 _ACEOF
27811 cat confdefs.h >>conftest.$ac_ext
27812 cat >>conftest.$ac_ext <<_ACEOF
27813 /* end confdefs.h. */
27814
27815 /* Override any GCC internal prototype to avoid an error.
27816 Use char because int might match the return type of a GCC
27817 builtin and then its argument prototype would still apply. */
27818 #ifdef __cplusplus
27819 extern "C"
27820 #endif
27821 char XML_ParserCreate ();
27822 int
27823 main ()
27824 {
27825 return XML_ParserCreate ();
27826 ;
27827 return 0;
27828 }
27829 _ACEOF
27830 rm -f conftest.$ac_objext conftest$ac_exeext
27831 if { (ac_try="$ac_link"
27832 case "(($ac_try" in
27833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27834 *) ac_try_echo=$ac_try;;
27835 esac
27836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27837 (eval "$ac_link") 2>conftest.er1
27838 ac_status=$?
27839 grep -v '^ *+' conftest.er1 >conftest.err
27840 rm -f conftest.er1
27841 cat conftest.err >&5
27842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843 (exit $ac_status); } && {
27844 test -z "$ac_c_werror_flag" ||
27845 test ! -s conftest.err
27846 } && test -s conftest$ac_exeext &&
27847 $as_test_x conftest$ac_exeext; then
27848 ac_cv_lib_expat_XML_ParserCreate=yes
27849 else
27850 echo "$as_me: failed program was:" >&5
27851 sed 's/^/| /' conftest.$ac_ext >&5
27852
27853 ac_cv_lib_expat_XML_ParserCreate=no
27854 fi
27855
27856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27857 conftest$ac_exeext conftest.$ac_ext
27858 LIBS=$ac_check_lib_save_LIBS
27859 fi
27860 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27861 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27862 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27863 EXPAT_LINK=" -lexpat"
27864 fi
27865
27866 fi
27867 fi
27868 if test "x$EXPAT_LINK" = "x" ; then
27869 if test "$wxUSE_EXPAT" = "sys" ; then
27870 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27871 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27872 { (exit 1); exit 1; }; }
27873 else
27874 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27875 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27876 wxUSE_EXPAT=builtin
27877 fi
27878 else
27879 wxUSE_EXPAT=sys
27880 fi
27881 fi
27882 if test "$wxUSE_EXPAT" = "builtin" ; then
27883 subdirs="$subdirs src/expat"
27884
27885 fi
27886 fi
27887
27888
27889
27890 if test "$wxUSE_LIBMSPACK" != "no"; then
27891 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27892 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27893 if test "${ac_cv_header_mspack_h+set}" = set; then
27894 echo $ECHO_N "(cached) $ECHO_C" >&6
27895 else
27896 cat >conftest.$ac_ext <<_ACEOF
27897 /* confdefs.h. */
27898 _ACEOF
27899 cat confdefs.h >>conftest.$ac_ext
27900 cat >>conftest.$ac_ext <<_ACEOF
27901 /* end confdefs.h. */
27902
27903
27904 #include <mspack.h>
27905 _ACEOF
27906 rm -f conftest.$ac_objext
27907 if { (ac_try="$ac_compile"
27908 case "(($ac_try" in
27909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27910 *) ac_try_echo=$ac_try;;
27911 esac
27912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27913 (eval "$ac_compile") 2>conftest.er1
27914 ac_status=$?
27915 grep -v '^ *+' conftest.er1 >conftest.err
27916 rm -f conftest.er1
27917 cat conftest.err >&5
27918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27919 (exit $ac_status); } && {
27920 test -z "$ac_c_werror_flag" ||
27921 test ! -s conftest.err
27922 } && test -s conftest.$ac_objext; then
27923 ac_cv_header_mspack_h=yes
27924 else
27925 echo "$as_me: failed program was:" >&5
27926 sed 's/^/| /' conftest.$ac_ext >&5
27927
27928 ac_cv_header_mspack_h=no
27929 fi
27930
27931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27932 fi
27933 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27934 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27935 if test $ac_cv_header_mspack_h = yes; then
27936 found_mspack_h=1
27937 fi
27938
27939
27940 if test "x$found_mspack_h" = "x1"; then
27941 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27942 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27943 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27944 echo $ECHO_N "(cached) $ECHO_C" >&6
27945 else
27946 ac_check_lib_save_LIBS=$LIBS
27947 LIBS="-lmspack $LIBS"
27948 cat >conftest.$ac_ext <<_ACEOF
27949 /* confdefs.h. */
27950 _ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27954
27955 /* Override any GCC internal prototype to avoid an error.
27956 Use char because int might match the return type of a GCC
27957 builtin and then its argument prototype would still apply. */
27958 #ifdef __cplusplus
27959 extern "C"
27960 #endif
27961 char mspack_create_chm_decompressor ();
27962 int
27963 main ()
27964 {
27965 return mspack_create_chm_decompressor ();
27966 ;
27967 return 0;
27968 }
27969 _ACEOF
27970 rm -f conftest.$ac_objext conftest$ac_exeext
27971 if { (ac_try="$ac_link"
27972 case "(($ac_try" in
27973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27974 *) ac_try_echo=$ac_try;;
27975 esac
27976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27977 (eval "$ac_link") 2>conftest.er1
27978 ac_status=$?
27979 grep -v '^ *+' conftest.er1 >conftest.err
27980 rm -f conftest.er1
27981 cat conftest.err >&5
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); } && {
27984 test -z "$ac_c_werror_flag" ||
27985 test ! -s conftest.err
27986 } && test -s conftest$ac_exeext &&
27987 $as_test_x conftest$ac_exeext; then
27988 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27989 else
27990 echo "$as_me: failed program was:" >&5
27991 sed 's/^/| /' conftest.$ac_ext >&5
27992
27993 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27994 fi
27995
27996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27997 conftest$ac_exeext conftest.$ac_ext
27998 LIBS=$ac_check_lib_save_LIBS
27999 fi
28000 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28001 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28002 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28003 MSPACK_LINK=" -lmspack"
28004 fi
28005
28006 fi
28007 if test "x$MSPACK_LINK" = "x" ; then
28008 wxUSE_LIBMSPACK=no
28009 fi
28010 fi
28011
28012 if test "$wxUSE_LIBMSPACK" != "no"; then
28013 cat >>confdefs.h <<\_ACEOF
28014 #define wxUSE_LIBMSPACK 1
28015 _ACEOF
28016
28017 fi
28018
28019
28020
28021 AFMINSTALL=
28022 WIN32INSTALL=
28023
28024 TOOLKIT=
28025 TOOLKIT_INCLUDE=
28026 WIDGET_SET=
28027
28028 if test "$USE_WIN32" = 1 ; then
28029
28030 for ac_header in w32api.h
28031 do
28032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28033 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28036 echo $ECHO_N "(cached) $ECHO_C" >&6
28037 else
28038 cat >conftest.$ac_ext <<_ACEOF
28039 /* confdefs.h. */
28040 _ACEOF
28041 cat confdefs.h >>conftest.$ac_ext
28042 cat >>conftest.$ac_ext <<_ACEOF
28043 /* end confdefs.h. */
28044
28045
28046 #include <$ac_header>
28047 _ACEOF
28048 rm -f conftest.$ac_objext
28049 if { (ac_try="$ac_compile"
28050 case "(($ac_try" in
28051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28052 *) ac_try_echo=$ac_try;;
28053 esac
28054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28055 (eval "$ac_compile") 2>conftest.er1
28056 ac_status=$?
28057 grep -v '^ *+' conftest.er1 >conftest.err
28058 rm -f conftest.er1
28059 cat conftest.err >&5
28060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061 (exit $ac_status); } && {
28062 test -z "$ac_c_werror_flag" ||
28063 test ! -s conftest.err
28064 } && test -s conftest.$ac_objext; then
28065 eval "$as_ac_Header=yes"
28066 else
28067 echo "$as_me: failed program was:" >&5
28068 sed 's/^/| /' conftest.$ac_ext >&5
28069
28070 eval "$as_ac_Header=no"
28071 fi
28072
28073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28074 fi
28075 ac_res=`eval echo '${'$as_ac_Header'}'`
28076 { echo "$as_me:$LINENO: result: $ac_res" >&5
28077 echo "${ECHO_T}$ac_res" >&6; }
28078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28079 cat >>confdefs.h <<_ACEOF
28080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28081 _ACEOF
28082
28083 fi
28084
28085 done
28086
28087 { echo "$as_me:$LINENO: checking for windows.h" >&5
28088 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28089 if test "${ac_cv_header_windows_h+set}" = set; then
28090 echo $ECHO_N "(cached) $ECHO_C" >&6
28091 else
28092 cat >conftest.$ac_ext <<_ACEOF
28093 /* confdefs.h. */
28094 _ACEOF
28095 cat confdefs.h >>conftest.$ac_ext
28096 cat >>conftest.$ac_ext <<_ACEOF
28097 /* end confdefs.h. */
28098
28099
28100 #include <windows.h>
28101 _ACEOF
28102 rm -f conftest.$ac_objext
28103 if { (ac_try="$ac_compile"
28104 case "(($ac_try" in
28105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28106 *) ac_try_echo=$ac_try;;
28107 esac
28108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28109 (eval "$ac_compile") 2>conftest.er1
28110 ac_status=$?
28111 grep -v '^ *+' conftest.er1 >conftest.err
28112 rm -f conftest.er1
28113 cat conftest.err >&5
28114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115 (exit $ac_status); } && {
28116 test -z "$ac_c_werror_flag" ||
28117 test ! -s conftest.err
28118 } && test -s conftest.$ac_objext; then
28119 ac_cv_header_windows_h=yes
28120 else
28121 echo "$as_me: failed program was:" >&5
28122 sed 's/^/| /' conftest.$ac_ext >&5
28123
28124 ac_cv_header_windows_h=no
28125 fi
28126
28127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28128 fi
28129 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28130 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28131 if test $ac_cv_header_windows_h = yes; then
28132 :
28133 else
28134
28135 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28136 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28137 { (exit 1); exit 1; }; }
28138
28139 fi
28140
28141
28142
28143 case "${host}" in
28144 x86_64-*-mingw32* )
28145 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28146 ;;
28147 * )
28148 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28149 ;;
28150 esac
28151 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28152 LIBS="$LIBS -loleacc"
28153 fi
28154
28155 case "${host}" in
28156 *-*-cygwin* )
28157 LIBS="$LIBS -lkernel32 -luser32"
28158 esac
28159
28160 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28161 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28162
28163 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28164
28165 WIN32INSTALL=win32install
28166
28167 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28168 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28169 if test "${ac_cv_header_pbt_h+set}" = set; then
28170 echo $ECHO_N "(cached) $ECHO_C" >&6
28171 else
28172 cat >conftest.$ac_ext <<_ACEOF
28173 /* confdefs.h. */
28174 _ACEOF
28175 cat confdefs.h >>conftest.$ac_ext
28176 cat >>conftest.$ac_ext <<_ACEOF
28177 /* end confdefs.h. */
28178
28179
28180 #include <pbt.h>
28181 _ACEOF
28182 rm -f conftest.$ac_objext
28183 if { (ac_try="$ac_compile"
28184 case "(($ac_try" in
28185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28186 *) ac_try_echo=$ac_try;;
28187 esac
28188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28189 (eval "$ac_compile") 2>conftest.er1
28190 ac_status=$?
28191 grep -v '^ *+' conftest.er1 >conftest.err
28192 rm -f conftest.er1
28193 cat conftest.err >&5
28194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28195 (exit $ac_status); } && {
28196 test -z "$ac_c_werror_flag" ||
28197 test ! -s conftest.err
28198 } && test -s conftest.$ac_objext; then
28199 ac_cv_header_pbt_h=yes
28200 else
28201 echo "$as_me: failed program was:" >&5
28202 sed 's/^/| /' conftest.$ac_ext >&5
28203
28204 ac_cv_header_pbt_h=no
28205 fi
28206
28207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28208 fi
28209 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28210 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28211 if test $ac_cv_header_pbt_h = yes; then
28212 :
28213 else
28214 cat >>confdefs.h <<\_ACEOF
28215 #define NEED_PBT_H 1
28216 _ACEOF
28217
28218 fi
28219
28220
28221 fi
28222
28223 if test "$wxUSE_GUI" = "yes"; then
28224 USE_GUI=1
28225
28226 GUI_TK_LIBRARY=
28227
28228 WXGTK12=
28229 WXGTK127=
28230 WXGTK2=
28231 WXGPE=
28232
28233 if test "$wxUSE_COCOA" = 1 ; then
28234 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28235 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28236 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28237 wxUSE_PRINTING_ARCHITECTURE=no
28238 fi
28239 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28240 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28241 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28242 wxUSE_DRAG_AND_DROP=no
28243 fi
28244 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28245 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28246 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28247 wxUSE_DRAGIMAGE=no
28248 fi
28249 fi
28250
28251 if test "$wxUSE_MSW" = 1 ; then
28252 TOOLKIT=MSW
28253 GUIDIST=MSW_DIST
28254
28255 case "${host}" in
28256 *-*-mingw32* )
28257 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28258 esac
28259 fi
28260
28261 if test "$wxUSE_GTK" = 1; then
28262 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28263 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28264
28265 gtk_version_cached=1
28266 if test "${wx_cv_lib_gtk+set}" = set; then
28267 echo $ECHO_N "(cached) $ECHO_C" >&6
28268 else
28269
28270 gtk_version_cached=0
28271 { echo "$as_me:$LINENO: result: " >&5
28272 echo "${ECHO_T}" >&6; }
28273
28274 GTK_MODULES=
28275 if test "$wxUSE_THREADS" = "yes"; then
28276 GTK_MODULES=gthread
28277 fi
28278
28279 wx_cv_lib_gtk=
28280 if test "x$wxGTK_VERSION" != "x1"
28281 then
28282 case "${host}" in
28283 *-*-solaris2* )
28284 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28285 enable_gtktest=no
28286 fi
28287 esac
28288
28289 # Check whether --enable-gtktest was given.
28290 if test "${enable_gtktest+set}" = set; then
28291 enableval=$enable_gtktest;
28292 else
28293 enable_gtktest=yes
28294 fi
28295
28296
28297 pkg_config_args=gtk+-2.0
28298 for module in . $GTK_MODULES
28299 do
28300 case "$module" in
28301 gthread)
28302 pkg_config_args="$pkg_config_args gthread-2.0"
28303 ;;
28304 esac
28305 done
28306
28307 no_gtk=""
28308
28309 # Extract the first word of "pkg-config", so it can be a program name with args.
28310 set dummy pkg-config; ac_word=$2
28311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28313 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28314 echo $ECHO_N "(cached) $ECHO_C" >&6
28315 else
28316 case $PKG_CONFIG in
28317 [\\/]* | ?:[\\/]*)
28318 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28319 ;;
28320 *)
28321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28322 for as_dir in $PATH
28323 do
28324 IFS=$as_save_IFS
28325 test -z "$as_dir" && as_dir=.
28326 for ac_exec_ext in '' $ac_executable_extensions; do
28327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28328 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28330 break 2
28331 fi
28332 done
28333 done
28334 IFS=$as_save_IFS
28335
28336 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28337 ;;
28338 esac
28339 fi
28340 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28341 if test -n "$PKG_CONFIG"; then
28342 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28343 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28344 else
28345 { echo "$as_me:$LINENO: result: no" >&5
28346 echo "${ECHO_T}no" >&6; }
28347 fi
28348
28349
28350
28351 if test x$PKG_CONFIG != xno ; then
28352 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28353 :
28354 else
28355 echo "*** pkg-config too old; version 0.7 or better required."
28356 no_gtk=yes
28357 PKG_CONFIG=no
28358 fi
28359 else
28360 no_gtk=yes
28361 fi
28362
28363 min_gtk_version=2.4.0
28364 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28365 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28366
28367 if test x$PKG_CONFIG != xno ; then
28368 ## don't try to run the test against uninstalled libtool libs
28369 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28370 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28371 enable_gtktest=no
28372 fi
28373
28374 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28375 :
28376 else
28377 no_gtk=yes
28378 fi
28379 fi
28380
28381 if test x"$no_gtk" = x ; then
28382 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28383 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28384 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28385 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28386 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28387 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28388 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28389 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28390 if test "x$enable_gtktest" = "xyes" ; then
28391 ac_save_CFLAGS="$CFLAGS"
28392 ac_save_LIBS="$LIBS"
28393 CFLAGS="$CFLAGS $GTK_CFLAGS"
28394 LIBS="$GTK_LIBS $LIBS"
28395 rm -f conf.gtktest
28396 if test "$cross_compiling" = yes; then
28397 echo $ac_n "cross compiling; assumed OK... $ac_c"
28398 else
28399 cat >conftest.$ac_ext <<_ACEOF
28400 /* confdefs.h. */
28401 _ACEOF
28402 cat confdefs.h >>conftest.$ac_ext
28403 cat >>conftest.$ac_ext <<_ACEOF
28404 /* end confdefs.h. */
28405
28406 #include <gtk/gtk.h>
28407 #include <stdio.h>
28408 #include <stdlib.h>
28409
28410 int
28411 main ()
28412 {
28413 int major, minor, micro;
28414 char *tmp_version;
28415
28416 system ("touch conf.gtktest");
28417
28418 /* HP/UX 9 (%@#!) writes to sscanf strings */
28419 tmp_version = g_strdup("$min_gtk_version");
28420 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28421 printf("%s, bad version string\n", "$min_gtk_version");
28422 exit(1);
28423 }
28424
28425 if ((gtk_major_version != $gtk_config_major_version) ||
28426 (gtk_minor_version != $gtk_config_minor_version) ||
28427 (gtk_micro_version != $gtk_config_micro_version))
28428 {
28429 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28430 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28431 gtk_major_version, gtk_minor_version, gtk_micro_version);
28432 printf ("*** was found! If pkg-config was correct, then it is best\n");
28433 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28434 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28435 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28436 printf("*** required on your system.\n");
28437 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28438 printf("*** to point to the correct configuration files\n");
28439 }
28440 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28441 (gtk_minor_version != GTK_MINOR_VERSION) ||
28442 (gtk_micro_version != GTK_MICRO_VERSION))
28443 {
28444 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28445 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28446 printf("*** library (version %d.%d.%d)\n",
28447 gtk_major_version, gtk_minor_version, gtk_micro_version);
28448 }
28449 else
28450 {
28451 if ((gtk_major_version > major) ||
28452 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28453 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28454 {
28455 return 0;
28456 }
28457 else
28458 {
28459 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28460 gtk_major_version, gtk_minor_version, gtk_micro_version);
28461 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28462 major, minor, micro);
28463 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28464 printf("***\n");
28465 printf("*** If you have already installed a sufficiently new version, this error\n");
28466 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28467 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28468 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28469 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28470 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28471 printf("*** so that the correct libraries are found at run-time))\n");
28472 }
28473 }
28474 return 1;
28475 }
28476
28477 _ACEOF
28478 rm -f conftest$ac_exeext
28479 if { (ac_try="$ac_link"
28480 case "(($ac_try" in
28481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28482 *) ac_try_echo=$ac_try;;
28483 esac
28484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28485 (eval "$ac_link") 2>&5
28486 ac_status=$?
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28489 { (case "(($ac_try" in
28490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28491 *) ac_try_echo=$ac_try;;
28492 esac
28493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28494 (eval "$ac_try") 2>&5
28495 ac_status=$?
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; }; then
28498 :
28499 else
28500 echo "$as_me: program exited with status $ac_status" >&5
28501 echo "$as_me: failed program was:" >&5
28502 sed 's/^/| /' conftest.$ac_ext >&5
28503
28504 ( exit $ac_status )
28505 no_gtk=yes
28506 fi
28507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28508 fi
28509
28510
28511 CFLAGS="$ac_save_CFLAGS"
28512 LIBS="$ac_save_LIBS"
28513 fi
28514 fi
28515 if test "x$no_gtk" = x ; then
28516 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28517 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28518 wx_cv_lib_gtk=2.0
28519 else
28520 { echo "$as_me:$LINENO: result: no" >&5
28521 echo "${ECHO_T}no" >&6; }
28522 if test "$PKG_CONFIG" = "no" ; then
28523 echo "*** A new enough version of pkg-config was not found."
28524 echo "*** See http://pkgconfig.sourceforge.net"
28525 else
28526 if test -f conf.gtktest ; then
28527 :
28528 else
28529 echo "*** Could not run GTK+ test program, checking why..."
28530 ac_save_CFLAGS="$CFLAGS"
28531 ac_save_LIBS="$LIBS"
28532 CFLAGS="$CFLAGS $GTK_CFLAGS"
28533 LIBS="$LIBS $GTK_LIBS"
28534 cat >conftest.$ac_ext <<_ACEOF
28535 /* confdefs.h. */
28536 _ACEOF
28537 cat confdefs.h >>conftest.$ac_ext
28538 cat >>conftest.$ac_ext <<_ACEOF
28539 /* end confdefs.h. */
28540
28541 #include <gtk/gtk.h>
28542 #include <stdio.h>
28543
28544 int
28545 main ()
28546 {
28547 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28548 ;
28549 return 0;
28550 }
28551 _ACEOF
28552 rm -f conftest.$ac_objext conftest$ac_exeext
28553 if { (ac_try="$ac_link"
28554 case "(($ac_try" in
28555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28556 *) ac_try_echo=$ac_try;;
28557 esac
28558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28559 (eval "$ac_link") 2>conftest.er1
28560 ac_status=$?
28561 grep -v '^ *+' conftest.er1 >conftest.err
28562 rm -f conftest.er1
28563 cat conftest.err >&5
28564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28565 (exit $ac_status); } && {
28566 test -z "$ac_c_werror_flag" ||
28567 test ! -s conftest.err
28568 } && test -s conftest$ac_exeext &&
28569 $as_test_x conftest$ac_exeext; then
28570 echo "*** The test program compiled, but did not run. This usually means"
28571 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28572 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28573 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28574 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28575 echo "*** is required on your system"
28576 echo "***"
28577 echo "*** If you have an old version installed, it is best to remove it, although"
28578 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28579 else
28580 echo "$as_me: failed program was:" >&5
28581 sed 's/^/| /' conftest.$ac_ext >&5
28582
28583 echo "*** The test program failed to compile or link. See the file config.log for the"
28584 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28585 fi
28586
28587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28588 conftest$ac_exeext conftest.$ac_ext
28589 CFLAGS="$ac_save_CFLAGS"
28590 LIBS="$ac_save_LIBS"
28591 fi
28592 fi
28593 GTK_CFLAGS=""
28594 GTK_LIBS=""
28595 :
28596 fi
28597
28598
28599 rm -f conf.gtktest
28600
28601
28602 case "${host}" in
28603 *-*-solaris2* )
28604 if test "$wxUSE_SHARED" != "yes"; then
28605 GTK_LIBS="$GTK_LIBS -lX11"
28606 fi
28607 esac
28608 fi
28609
28610 if test -z "$wx_cv_lib_gtk"; then
28611 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28612
28613 # Check whether --with-gtk-prefix was given.
28614 if test "${with_gtk_prefix+set}" = set; then
28615 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28616 else
28617 gtk_config_prefix=""
28618 fi
28619
28620
28621 # Check whether --with-gtk-exec-prefix was given.
28622 if test "${with_gtk_exec_prefix+set}" = set; then
28623 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28624 else
28625 gtk_config_exec_prefix=""
28626 fi
28627
28628 # Check whether --enable-gtktest was given.
28629 if test "${enable_gtktest+set}" = set; then
28630 enableval=$enable_gtktest;
28631 else
28632 enable_gtktest=yes
28633 fi
28634
28635
28636 for module in . $GTK_MODULES
28637 do
28638 case "$module" in
28639 gthread)
28640 gtk_config_args="$gtk_config_args gthread"
28641 ;;
28642 esac
28643 done
28644
28645 if test x$gtk_config_exec_prefix != x ; then
28646 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28647 if test x${GTK_CONFIG+set} != xset ; then
28648 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28649 fi
28650 fi
28651 if test x$gtk_config_prefix != x ; then
28652 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28653 if test x${GTK_CONFIG+set} != xset ; then
28654 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28655 fi
28656 fi
28657
28658 # Extract the first word of "gtk-config", so it can be a program name with args.
28659 set dummy gtk-config; ac_word=$2
28660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28662 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28663 echo $ECHO_N "(cached) $ECHO_C" >&6
28664 else
28665 case $GTK_CONFIG in
28666 [\\/]* | ?:[\\/]*)
28667 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28668 ;;
28669 *)
28670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28671 for as_dir in $PATH
28672 do
28673 IFS=$as_save_IFS
28674 test -z "$as_dir" && as_dir=.
28675 for ac_exec_ext in '' $ac_executable_extensions; do
28676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28677 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28679 break 2
28680 fi
28681 done
28682 done
28683 IFS=$as_save_IFS
28684
28685 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28686 ;;
28687 esac
28688 fi
28689 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28690 if test -n "$GTK_CONFIG"; then
28691 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28692 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28693 else
28694 { echo "$as_me:$LINENO: result: no" >&5
28695 echo "${ECHO_T}no" >&6; }
28696 fi
28697
28698
28699 min_gtk_version=1.2.7
28700 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28701 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28702 no_gtk=""
28703 if test "$GTK_CONFIG" = "no" ; then
28704 no_gtk=yes
28705 else
28706 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28707 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28708 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28710 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28712 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28714 if test "x$enable_gtktest" = "xyes" ; then
28715 ac_save_CFLAGS="$CFLAGS"
28716 ac_save_LIBS="$LIBS"
28717 CFLAGS="$CFLAGS $GTK_CFLAGS"
28718 LIBS="$GTK_LIBS $LIBS"
28719 rm -f conf.gtktest
28720 if test "$cross_compiling" = yes; then
28721 echo $ac_n "cross compiling; assumed OK... $ac_c"
28722 else
28723 cat >conftest.$ac_ext <<_ACEOF
28724 /* confdefs.h. */
28725 _ACEOF
28726 cat confdefs.h >>conftest.$ac_ext
28727 cat >>conftest.$ac_ext <<_ACEOF
28728 /* end confdefs.h. */
28729
28730 #include <gtk/gtk.h>
28731 #include <stdio.h>
28732 #include <stdlib.h>
28733
28734 int
28735 main ()
28736 {
28737 int major, minor, micro;
28738 char *tmp_version;
28739
28740 system ("touch conf.gtktest");
28741
28742 /* HP/UX 9 (%@#!) writes to sscanf strings */
28743 tmp_version = g_strdup("$min_gtk_version");
28744 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28745 printf("%s, bad version string\n", "$min_gtk_version");
28746 exit(1);
28747 }
28748
28749 if ((gtk_major_version != $gtk_config_major_version) ||
28750 (gtk_minor_version != $gtk_config_minor_version) ||
28751 (gtk_micro_version != $gtk_config_micro_version))
28752 {
28753 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28754 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28755 gtk_major_version, gtk_minor_version, gtk_micro_version);
28756 printf ("*** was found! If gtk-config was correct, then it is best\n");
28757 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28758 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28759 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28760 printf("*** required on your system.\n");
28761 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28762 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28763 printf("*** before re-running configure\n");
28764 }
28765 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28766 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28767 (gtk_minor_version != GTK_MINOR_VERSION) ||
28768 (gtk_micro_version != GTK_MICRO_VERSION))
28769 {
28770 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28771 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28772 printf("*** library (version %d.%d.%d)\n",
28773 gtk_major_version, gtk_minor_version, gtk_micro_version);
28774 }
28775 #endif /* defined (GTK_MAJOR_VERSION) ... */
28776 else
28777 {
28778 if ((gtk_major_version > major) ||
28779 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28780 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28781 {
28782 return 0;
28783 }
28784 else
28785 {
28786 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28787 gtk_major_version, gtk_minor_version, gtk_micro_version);
28788 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28789 major, minor, micro);
28790 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28791 printf("***\n");
28792 printf("*** If you have already installed a sufficiently new version, this error\n");
28793 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28794 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28795 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28796 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28797 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28798 printf("*** so that the correct libraries are found at run-time))\n");
28799 }
28800 }
28801 return 1;
28802 }
28803
28804 _ACEOF
28805 rm -f conftest$ac_exeext
28806 if { (ac_try="$ac_link"
28807 case "(($ac_try" in
28808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28809 *) ac_try_echo=$ac_try;;
28810 esac
28811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28812 (eval "$ac_link") 2>&5
28813 ac_status=$?
28814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28816 { (case "(($ac_try" in
28817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28818 *) ac_try_echo=$ac_try;;
28819 esac
28820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28821 (eval "$ac_try") 2>&5
28822 ac_status=$?
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); }; }; then
28825 :
28826 else
28827 echo "$as_me: program exited with status $ac_status" >&5
28828 echo "$as_me: failed program was:" >&5
28829 sed 's/^/| /' conftest.$ac_ext >&5
28830
28831 ( exit $ac_status )
28832 no_gtk=yes
28833 fi
28834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28835 fi
28836
28837
28838 CFLAGS="$ac_save_CFLAGS"
28839 LIBS="$ac_save_LIBS"
28840 fi
28841 fi
28842 if test "x$no_gtk" = x ; then
28843 { echo "$as_me:$LINENO: result: yes" >&5
28844 echo "${ECHO_T}yes" >&6; }
28845 wx_cv_lib_gtk=1.2.7
28846 else
28847 { echo "$as_me:$LINENO: result: no" >&5
28848 echo "${ECHO_T}no" >&6; }
28849 if test "$GTK_CONFIG" = "no" ; then
28850 echo "*** The gtk-config script installed by GTK could not be found"
28851 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28852 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28853 echo "*** full path to gtk-config."
28854 else
28855 if test -f conf.gtktest ; then
28856 :
28857 else
28858 echo "*** Could not run GTK test program, checking why..."
28859 CFLAGS="$CFLAGS $GTK_CFLAGS"
28860 LIBS="$LIBS $GTK_LIBS"
28861 cat >conftest.$ac_ext <<_ACEOF
28862 /* confdefs.h. */
28863 _ACEOF
28864 cat confdefs.h >>conftest.$ac_ext
28865 cat >>conftest.$ac_ext <<_ACEOF
28866 /* end confdefs.h. */
28867
28868 #include <gtk/gtk.h>
28869 #include <stdio.h>
28870
28871 int
28872 main ()
28873 {
28874 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28875 ;
28876 return 0;
28877 }
28878 _ACEOF
28879 rm -f conftest.$ac_objext conftest$ac_exeext
28880 if { (ac_try="$ac_link"
28881 case "(($ac_try" in
28882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28883 *) ac_try_echo=$ac_try;;
28884 esac
28885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28886 (eval "$ac_link") 2>conftest.er1
28887 ac_status=$?
28888 grep -v '^ *+' conftest.er1 >conftest.err
28889 rm -f conftest.er1
28890 cat conftest.err >&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); } && {
28893 test -z "$ac_c_werror_flag" ||
28894 test ! -s conftest.err
28895 } && test -s conftest$ac_exeext &&
28896 $as_test_x conftest$ac_exeext; then
28897 echo "*** The test program compiled, but did not run. This usually means"
28898 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28899 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28900 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28901 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28902 echo "*** is required on your system"
28903 echo "***"
28904 echo "*** If you have an old version installed, it is best to remove it, although"
28905 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28906 echo "***"
28907 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28908 echo "*** came with the system with the command"
28909 echo "***"
28910 echo "*** rpm --erase --nodeps gtk gtk-devel"
28911 else
28912 echo "$as_me: failed program was:" >&5
28913 sed 's/^/| /' conftest.$ac_ext >&5
28914
28915 echo "*** The test program failed to compile or link. See the file config.log for the"
28916 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28917 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28918 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28919 fi
28920
28921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28922 conftest$ac_exeext conftest.$ac_ext
28923 CFLAGS="$ac_save_CFLAGS"
28924 LIBS="$ac_save_LIBS"
28925 fi
28926 fi
28927 GTK_CFLAGS=""
28928 GTK_LIBS=""
28929 :
28930 fi
28931
28932
28933 rm -f conf.gtktest
28934
28935
28936 if test -z "$wx_cv_lib_gtk"; then
28937
28938 # Check whether --with-gtk-prefix was given.
28939 if test "${with_gtk_prefix+set}" = set; then
28940 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28941 else
28942 gtk_config_prefix=""
28943 fi
28944
28945
28946 # Check whether --with-gtk-exec-prefix was given.
28947 if test "${with_gtk_exec_prefix+set}" = set; then
28948 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28949 else
28950 gtk_config_exec_prefix=""
28951 fi
28952
28953 # Check whether --enable-gtktest was given.
28954 if test "${enable_gtktest+set}" = set; then
28955 enableval=$enable_gtktest;
28956 else
28957 enable_gtktest=yes
28958 fi
28959
28960
28961 for module in . $GTK_MODULES
28962 do
28963 case "$module" in
28964 gthread)
28965 gtk_config_args="$gtk_config_args gthread"
28966 ;;
28967 esac
28968 done
28969
28970 if test x$gtk_config_exec_prefix != x ; then
28971 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28972 if test x${GTK_CONFIG+set} != xset ; then
28973 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28974 fi
28975 fi
28976 if test x$gtk_config_prefix != x ; then
28977 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28978 if test x${GTK_CONFIG+set} != xset ; then
28979 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28980 fi
28981 fi
28982
28983 # Extract the first word of "gtk-config", so it can be a program name with args.
28984 set dummy gtk-config; ac_word=$2
28985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28987 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28988 echo $ECHO_N "(cached) $ECHO_C" >&6
28989 else
28990 case $GTK_CONFIG in
28991 [\\/]* | ?:[\\/]*)
28992 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28993 ;;
28994 *)
28995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28996 for as_dir in $PATH
28997 do
28998 IFS=$as_save_IFS
28999 test -z "$as_dir" && as_dir=.
29000 for ac_exec_ext in '' $ac_executable_extensions; do
29001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29002 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29004 break 2
29005 fi
29006 done
29007 done
29008 IFS=$as_save_IFS
29009
29010 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29011 ;;
29012 esac
29013 fi
29014 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29015 if test -n "$GTK_CONFIG"; then
29016 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29017 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29018 else
29019 { echo "$as_me:$LINENO: result: no" >&5
29020 echo "${ECHO_T}no" >&6; }
29021 fi
29022
29023
29024 min_gtk_version=1.2.3
29025 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29026 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29027 no_gtk=""
29028 if test "$GTK_CONFIG" = "no" ; then
29029 no_gtk=yes
29030 else
29031 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29032 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29033 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29035 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29037 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29039 if test "x$enable_gtktest" = "xyes" ; then
29040 ac_save_CFLAGS="$CFLAGS"
29041 ac_save_LIBS="$LIBS"
29042 CFLAGS="$CFLAGS $GTK_CFLAGS"
29043 LIBS="$GTK_LIBS $LIBS"
29044 rm -f conf.gtktest
29045 if test "$cross_compiling" = yes; then
29046 echo $ac_n "cross compiling; assumed OK... $ac_c"
29047 else
29048 cat >conftest.$ac_ext <<_ACEOF
29049 /* confdefs.h. */
29050 _ACEOF
29051 cat confdefs.h >>conftest.$ac_ext
29052 cat >>conftest.$ac_ext <<_ACEOF
29053 /* end confdefs.h. */
29054
29055 #include <gtk/gtk.h>
29056 #include <stdio.h>
29057 #include <stdlib.h>
29058
29059 int
29060 main ()
29061 {
29062 int major, minor, micro;
29063 char *tmp_version;
29064
29065 system ("touch conf.gtktest");
29066
29067 /* HP/UX 9 (%@#!) writes to sscanf strings */
29068 tmp_version = g_strdup("$min_gtk_version");
29069 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29070 printf("%s, bad version string\n", "$min_gtk_version");
29071 exit(1);
29072 }
29073
29074 if ((gtk_major_version != $gtk_config_major_version) ||
29075 (gtk_minor_version != $gtk_config_minor_version) ||
29076 (gtk_micro_version != $gtk_config_micro_version))
29077 {
29078 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29079 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29080 gtk_major_version, gtk_minor_version, gtk_micro_version);
29081 printf ("*** was found! If gtk-config was correct, then it is best\n");
29082 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29083 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29084 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29085 printf("*** required on your system.\n");
29086 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29087 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29088 printf("*** before re-running configure\n");
29089 }
29090 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29091 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29092 (gtk_minor_version != GTK_MINOR_VERSION) ||
29093 (gtk_micro_version != GTK_MICRO_VERSION))
29094 {
29095 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29096 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29097 printf("*** library (version %d.%d.%d)\n",
29098 gtk_major_version, gtk_minor_version, gtk_micro_version);
29099 }
29100 #endif /* defined (GTK_MAJOR_VERSION) ... */
29101 else
29102 {
29103 if ((gtk_major_version > major) ||
29104 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29105 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29106 {
29107 return 0;
29108 }
29109 else
29110 {
29111 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29112 gtk_major_version, gtk_minor_version, gtk_micro_version);
29113 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29114 major, minor, micro);
29115 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29116 printf("***\n");
29117 printf("*** If you have already installed a sufficiently new version, this error\n");
29118 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29119 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29120 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29121 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29122 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29123 printf("*** so that the correct libraries are found at run-time))\n");
29124 }
29125 }
29126 return 1;
29127 }
29128
29129 _ACEOF
29130 rm -f conftest$ac_exeext
29131 if { (ac_try="$ac_link"
29132 case "(($ac_try" in
29133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29134 *) ac_try_echo=$ac_try;;
29135 esac
29136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29137 (eval "$ac_link") 2>&5
29138 ac_status=$?
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29141 { (case "(($ac_try" in
29142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29143 *) ac_try_echo=$ac_try;;
29144 esac
29145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29146 (eval "$ac_try") 2>&5
29147 ac_status=$?
29148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29149 (exit $ac_status); }; }; then
29150 :
29151 else
29152 echo "$as_me: program exited with status $ac_status" >&5
29153 echo "$as_me: failed program was:" >&5
29154 sed 's/^/| /' conftest.$ac_ext >&5
29155
29156 ( exit $ac_status )
29157 no_gtk=yes
29158 fi
29159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29160 fi
29161
29162
29163 CFLAGS="$ac_save_CFLAGS"
29164 LIBS="$ac_save_LIBS"
29165 fi
29166 fi
29167 if test "x$no_gtk" = x ; then
29168 { echo "$as_me:$LINENO: result: yes" >&5
29169 echo "${ECHO_T}yes" >&6; }
29170 wx_cv_lib_gtk=1.2.3
29171 else
29172 { echo "$as_me:$LINENO: result: no" >&5
29173 echo "${ECHO_T}no" >&6; }
29174 if test "$GTK_CONFIG" = "no" ; then
29175 echo "*** The gtk-config script installed by GTK could not be found"
29176 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29177 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29178 echo "*** full path to gtk-config."
29179 else
29180 if test -f conf.gtktest ; then
29181 :
29182 else
29183 echo "*** Could not run GTK test program, checking why..."
29184 CFLAGS="$CFLAGS $GTK_CFLAGS"
29185 LIBS="$LIBS $GTK_LIBS"
29186 cat >conftest.$ac_ext <<_ACEOF
29187 /* confdefs.h. */
29188 _ACEOF
29189 cat confdefs.h >>conftest.$ac_ext
29190 cat >>conftest.$ac_ext <<_ACEOF
29191 /* end confdefs.h. */
29192
29193 #include <gtk/gtk.h>
29194 #include <stdio.h>
29195
29196 int
29197 main ()
29198 {
29199 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29200 ;
29201 return 0;
29202 }
29203 _ACEOF
29204 rm -f conftest.$ac_objext conftest$ac_exeext
29205 if { (ac_try="$ac_link"
29206 case "(($ac_try" in
29207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29208 *) ac_try_echo=$ac_try;;
29209 esac
29210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29211 (eval "$ac_link") 2>conftest.er1
29212 ac_status=$?
29213 grep -v '^ *+' conftest.er1 >conftest.err
29214 rm -f conftest.er1
29215 cat conftest.err >&5
29216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29217 (exit $ac_status); } && {
29218 test -z "$ac_c_werror_flag" ||
29219 test ! -s conftest.err
29220 } && test -s conftest$ac_exeext &&
29221 $as_test_x conftest$ac_exeext; then
29222 echo "*** The test program compiled, but did not run. This usually means"
29223 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29224 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29225 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29226 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29227 echo "*** is required on your system"
29228 echo "***"
29229 echo "*** If you have an old version installed, it is best to remove it, although"
29230 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29231 echo "***"
29232 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29233 echo "*** came with the system with the command"
29234 echo "***"
29235 echo "*** rpm --erase --nodeps gtk gtk-devel"
29236 else
29237 echo "$as_me: failed program was:" >&5
29238 sed 's/^/| /' conftest.$ac_ext >&5
29239
29240 echo "*** The test program failed to compile or link. See the file config.log for the"
29241 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29242 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29243 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29244 fi
29245
29246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29247 conftest$ac_exeext conftest.$ac_ext
29248 CFLAGS="$ac_save_CFLAGS"
29249 LIBS="$ac_save_LIBS"
29250 fi
29251 fi
29252 GTK_CFLAGS=""
29253 GTK_LIBS=""
29254 :
29255 fi
29256
29257
29258 rm -f conf.gtktest
29259
29260 fi
29261 fi
29262 fi
29263
29264 if test -z "$wx_cv_lib_gtk"; then
29265 wx_cv_lib_gtk=none
29266 else
29267 wx_cv_cflags_gtk=$GTK_CFLAGS
29268 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29269 fi
29270
29271
29272 fi
29273
29274
29275 if test "$gtk_version_cached" = 1; then
29276 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29277 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29278 fi
29279
29280 case "$wx_cv_lib_gtk" in
29281 2.0) WXGTK2=1
29282 TOOLKIT_VERSION=2
29283 ;;
29284 1.2.7) WXGTK127=1
29285 WXGTK12=1
29286 ;;
29287 1.2.3) WXGTK12=1
29288 ;;
29289 *) { { echo "$as_me:$LINENO: error:
29290 The development files for GTK+ were not found. For GTK+ 2, please
29291 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29292 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29293 and that the version is 1.2.3 or above. Also check that the
29294 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29295 --libs' are in the LD_LIBRARY_PATH or equivalent.
29296 " >&5
29297 echo "$as_me: error:
29298 The development files for GTK+ were not found. For GTK+ 2, please
29299 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29300 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29301 and that the version is 1.2.3 or above. Also check that the
29302 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29303 --libs' are in the LD_LIBRARY_PATH or equivalent.
29304 " >&2;}
29305 { (exit 1); exit 1; }; }
29306 ;;
29307 esac
29308
29309 if test "$WXGTK2" = 1; then
29310 save_CFLAGS="$CFLAGS"
29311 save_LIBS="$LIBS"
29312 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29313 LIBS="$LIBS $wx_cv_libs_gtk"
29314
29315 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29316 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29317 cat >conftest.$ac_ext <<_ACEOF
29318 /* confdefs.h. */
29319 _ACEOF
29320 cat confdefs.h >>conftest.$ac_ext
29321 cat >>conftest.$ac_ext <<_ACEOF
29322 /* end confdefs.h. */
29323
29324 #include <gtk/gtk.h>
29325
29326 int
29327 main ()
29328 {
29329
29330 #if !GTK_CHECK_VERSION(2,10,0)
29331 Not GTK+ 2.10
29332 #endif
29333
29334 ;
29335 return 0;
29336 }
29337 _ACEOF
29338 rm -f conftest.$ac_objext
29339 if { (ac_try="$ac_compile"
29340 case "(($ac_try" in
29341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29342 *) ac_try_echo=$ac_try;;
29343 esac
29344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29345 (eval "$ac_compile") 2>conftest.er1
29346 ac_status=$?
29347 grep -v '^ *+' conftest.er1 >conftest.err
29348 rm -f conftest.er1
29349 cat conftest.err >&5
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); } && {
29352 test -z "$ac_c_werror_flag" ||
29353 test ! -s conftest.err
29354 } && test -s conftest.$ac_objext; then
29355
29356 cat >>confdefs.h <<\_ACEOF
29357 #define __WXGTK210__ 1
29358 _ACEOF
29359
29360 cat >>confdefs.h <<\_ACEOF
29361 #define __WXGTK26__ 1
29362 _ACEOF
29363
29364 { echo "$as_me:$LINENO: result: yes" >&5
29365 echo "${ECHO_T}yes" >&6; }
29366 ac_wxgtk210=1
29367
29368 else
29369 echo "$as_me: failed program was:" >&5
29370 sed 's/^/| /' conftest.$ac_ext >&5
29371
29372
29373 { echo "$as_me:$LINENO: result: no" >&5
29374 echo "${ECHO_T}no" >&6; }
29375 ac_wxgtk210=0
29376
29377 fi
29378
29379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29380
29381 if test "$ac_wxgtk210" = 0; then
29382 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29383 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29384 cat >conftest.$ac_ext <<_ACEOF
29385 /* confdefs.h. */
29386 _ACEOF
29387 cat confdefs.h >>conftest.$ac_ext
29388 cat >>conftest.$ac_ext <<_ACEOF
29389 /* end confdefs.h. */
29390
29391 #include <gtk/gtk.h>
29392
29393 int
29394 main ()
29395 {
29396
29397 #if !GTK_CHECK_VERSION(2,6,0)
29398 Not GTK+ 2.6
29399 #endif
29400
29401 ;
29402 return 0;
29403 }
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
29423 cat >>confdefs.h <<\_ACEOF
29424 #define __WXGTK26__ 1
29425 _ACEOF
29426
29427 { echo "$as_me:$LINENO: result: yes" >&5
29428 echo "${ECHO_T}yes" >&6; }
29429 ac_wxgtk26=1
29430
29431 else
29432 echo "$as_me: failed program was:" >&5
29433 sed 's/^/| /' conftest.$ac_ext >&5
29434
29435
29436 { echo "$as_me:$LINENO: result: no" >&5
29437 echo "${ECHO_T}no" >&6; }
29438 ac_wxgtk26=0
29439
29440 fi
29441
29442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29443 fi
29444
29445 CFLAGS="$save_CFLAGS"
29446 LIBS="$save_LIBS"
29447 else
29448 if test "$wxUSE_UNICODE" = "yes"; then
29449 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29450 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29451 wxUSE_UNICODE=no
29452 fi
29453
29454 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29455 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29456 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29457 echo $ECHO_N "(cached) $ECHO_C" >&6
29458 else
29459 ac_check_lib_save_LIBS=$LIBS
29460 LIBS="-lgdk $LIBS"
29461 cat >conftest.$ac_ext <<_ACEOF
29462 /* confdefs.h. */
29463 _ACEOF
29464 cat confdefs.h >>conftest.$ac_ext
29465 cat >>conftest.$ac_ext <<_ACEOF
29466 /* end confdefs.h. */
29467
29468 /* Override any GCC internal prototype to avoid an error.
29469 Use char because int might match the return type of a GCC
29470 builtin and then its argument prototype would still apply. */
29471 #ifdef __cplusplus
29472 extern "C"
29473 #endif
29474 char gdk_im_open ();
29475 int
29476 main ()
29477 {
29478 return gdk_im_open ();
29479 ;
29480 return 0;
29481 }
29482 _ACEOF
29483 rm -f conftest.$ac_objext conftest$ac_exeext
29484 if { (ac_try="$ac_link"
29485 case "(($ac_try" in
29486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29487 *) ac_try_echo=$ac_try;;
29488 esac
29489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29490 (eval "$ac_link") 2>conftest.er1
29491 ac_status=$?
29492 grep -v '^ *+' conftest.er1 >conftest.err
29493 rm -f conftest.er1
29494 cat conftest.err >&5
29495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29496 (exit $ac_status); } && {
29497 test -z "$ac_c_werror_flag" ||
29498 test ! -s conftest.err
29499 } && test -s conftest$ac_exeext &&
29500 $as_test_x conftest$ac_exeext; then
29501 ac_cv_lib_gdk_gdk_im_open=yes
29502 else
29503 echo "$as_me: failed program was:" >&5
29504 sed 's/^/| /' conftest.$ac_ext >&5
29505
29506 ac_cv_lib_gdk_gdk_im_open=no
29507 fi
29508
29509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29510 conftest$ac_exeext conftest.$ac_ext
29511 LIBS=$ac_check_lib_save_LIBS
29512 fi
29513 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29514 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29515 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29516 cat >>confdefs.h <<\_ACEOF
29517 #define HAVE_XIM 1
29518 _ACEOF
29519
29520 fi
29521
29522
29523 if test "$USE_DARWIN" != 1; then
29524
29525 for ac_func in poll
29526 do
29527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29531 echo $ECHO_N "(cached) $ECHO_C" >&6
29532 else
29533 cat >conftest.$ac_ext <<_ACEOF
29534 /* confdefs.h. */
29535 _ACEOF
29536 cat confdefs.h >>conftest.$ac_ext
29537 cat >>conftest.$ac_ext <<_ACEOF
29538 /* end confdefs.h. */
29539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29541 #define $ac_func innocuous_$ac_func
29542
29543 /* System header to define __stub macros and hopefully few prototypes,
29544 which can conflict with char $ac_func (); below.
29545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29546 <limits.h> exists even on freestanding compilers. */
29547
29548 #ifdef __STDC__
29549 # include <limits.h>
29550 #else
29551 # include <assert.h>
29552 #endif
29553
29554 #undef $ac_func
29555
29556 /* Override any GCC internal prototype to avoid an error.
29557 Use char because int might match the return type of a GCC
29558 builtin and then its argument prototype would still apply. */
29559 #ifdef __cplusplus
29560 extern "C"
29561 #endif
29562 char $ac_func ();
29563 /* The GNU C library defines this for functions which it implements
29564 to always fail with ENOSYS. Some functions are actually named
29565 something starting with __ and the normal name is an alias. */
29566 #if defined __stub_$ac_func || defined __stub___$ac_func
29567 choke me
29568 #endif
29569
29570 int
29571 main ()
29572 {
29573 return $ac_func ();
29574 ;
29575 return 0;
29576 }
29577 _ACEOF
29578 rm -f conftest.$ac_objext conftest$ac_exeext
29579 if { (ac_try="$ac_link"
29580 case "(($ac_try" in
29581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29582 *) ac_try_echo=$ac_try;;
29583 esac
29584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29585 (eval "$ac_link") 2>conftest.er1
29586 ac_status=$?
29587 grep -v '^ *+' conftest.er1 >conftest.err
29588 rm -f conftest.er1
29589 cat conftest.err >&5
29590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591 (exit $ac_status); } && {
29592 test -z "$ac_c_werror_flag" ||
29593 test ! -s conftest.err
29594 } && test -s conftest$ac_exeext &&
29595 $as_test_x conftest$ac_exeext; then
29596 eval "$as_ac_var=yes"
29597 else
29598 echo "$as_me: failed program was:" >&5
29599 sed 's/^/| /' conftest.$ac_ext >&5
29600
29601 eval "$as_ac_var=no"
29602 fi
29603
29604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29605 conftest$ac_exeext conftest.$ac_ext
29606 fi
29607 ac_res=`eval echo '${'$as_ac_var'}'`
29608 { echo "$as_me:$LINENO: result: $ac_res" >&5
29609 echo "${ECHO_T}$ac_res" >&6; }
29610 if test `eval echo '${'$as_ac_var'}'` = yes; then
29611 cat >>confdefs.h <<_ACEOF
29612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29613 _ACEOF
29614
29615 fi
29616 done
29617
29618 fi
29619 fi
29620
29621 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29622 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29623
29624 AFMINSTALL=afminstall
29625 TOOLKIT=GTK
29626 GUIDIST=GTK_DIST
29627
29628 if test "$wxUSE_GPE" = "yes"; then
29629 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29630 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29631
29632 ac_find_libraries=
29633 for ac_dir in $SEARCH_LIB;
29634 do
29635 for ac_extension in a so sl dylib dll.a; do
29636 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29637 ac_find_libraries=$ac_dir
29638 break 2
29639 fi
29640 done
29641 done
29642
29643 if test "$ac_find_libraries" != "" ; then
29644
29645 if test "$ac_find_libraries" = "default location"; then
29646 ac_path_to_link=""
29647 else
29648 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29649 result=$?
29650 if test $result = 0; then
29651 ac_path_to_link=""
29652 else
29653 ac_path_to_link=" -L$ac_find_libraries"
29654 fi
29655 fi
29656
29657 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29658 WXGPE=1
29659 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29660 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29661 else
29662 { echo "$as_me:$LINENO: result: not found" >&5
29663 echo "${ECHO_T}not found" >&6; }
29664 fi
29665
29666 fi
29667 fi
29668
29669 if test "$wxUSE_MGL" = 1; then
29670 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29671 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29672 if test "x$MGL_ROOT" = x ; then
29673 { echo "$as_me:$LINENO: result: not found" >&5
29674 echo "${ECHO_T}not found" >&6; }
29675 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29676 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29677 { (exit 1); exit 1; }; }
29678 else
29679 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29680 echo "${ECHO_T}$MGL_ROOT" >&6; }
29681 fi
29682
29683 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29684 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29685 case "${host}" in
29686 *-*-linux* )
29687 if test "x$wxUSE_SHARED" = xyes ; then
29688 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29689 else
29690 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29691 fi
29692 ;;
29693 *-pc-msdosdjgpp )
29694 mgl_os_candidates="dos32/dj2"
29695 ;;
29696 *)
29697 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29698 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29699 { (exit 1); exit 1; }; }
29700 esac
29701
29702 mgl_lib_type=""
29703 mgl_os=""
29704
29705 for mgl_os_i in $mgl_os_candidates ; do
29706 if test "x$mgl_os" = x ; then
29707 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29708 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29709 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29710 mgl_lib_type=debug
29711 mgl_os=$mgl_os_i
29712 fi
29713 fi
29714 if test "x$mgl_lib_type" = x ; then
29715 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29716 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29717 mgl_lib_type=release
29718 mgl_os=$mgl_os_i
29719 fi
29720 fi
29721 fi
29722 done
29723
29724 if test "x$mgl_os" = x ; then
29725 { echo "$as_me:$LINENO: result: not found" >&5
29726 echo "${ECHO_T}not found" >&6; }
29727 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29728 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29729 { (exit 1); exit 1; }; }
29730 fi
29731 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29732 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29733
29734 wxUSE_UNIVERSAL="yes"
29735
29736 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29737 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29738
29739 AFMINSTALL=afminstall
29740 TOOLKIT=MGL
29741 GUIDIST=MGL_DIST
29742 fi
29743
29744 if test "$wxUSE_DFB" = 1; then
29745
29746
29747 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29748 if test -n "$ac_tool_prefix"; then
29749 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29750 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29753 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29754 echo $ECHO_N "(cached) $ECHO_C" >&6
29755 else
29756 case $PKG_CONFIG in
29757 [\\/]* | ?:[\\/]*)
29758 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29759 ;;
29760 *)
29761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29762 for as_dir in $PATH
29763 do
29764 IFS=$as_save_IFS
29765 test -z "$as_dir" && as_dir=.
29766 for ac_exec_ext in '' $ac_executable_extensions; do
29767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29768 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29770 break 2
29771 fi
29772 done
29773 done
29774 IFS=$as_save_IFS
29775
29776 ;;
29777 esac
29778 fi
29779 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29780 if test -n "$PKG_CONFIG"; then
29781 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29782 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29783 else
29784 { echo "$as_me:$LINENO: result: no" >&5
29785 echo "${ECHO_T}no" >&6; }
29786 fi
29787
29788
29789 fi
29790 if test -z "$ac_cv_path_PKG_CONFIG"; then
29791 ac_pt_PKG_CONFIG=$PKG_CONFIG
29792 # Extract the first word of "pkg-config", so it can be a program name with args.
29793 set dummy pkg-config; ac_word=$2
29794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29796 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29797 echo $ECHO_N "(cached) $ECHO_C" >&6
29798 else
29799 case $ac_pt_PKG_CONFIG in
29800 [\\/]* | ?:[\\/]*)
29801 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29802 ;;
29803 *)
29804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29805 for as_dir in $PATH
29806 do
29807 IFS=$as_save_IFS
29808 test -z "$as_dir" && as_dir=.
29809 for ac_exec_ext in '' $ac_executable_extensions; do
29810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29811 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29813 break 2
29814 fi
29815 done
29816 done
29817 IFS=$as_save_IFS
29818
29819 ;;
29820 esac
29821 fi
29822 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29823 if test -n "$ac_pt_PKG_CONFIG"; then
29824 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29825 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29826 else
29827 { echo "$as_me:$LINENO: result: no" >&5
29828 echo "${ECHO_T}no" >&6; }
29829 fi
29830
29831 if test "x$ac_pt_PKG_CONFIG" = x; then
29832 PKG_CONFIG=""
29833 else
29834 case $cross_compiling:$ac_tool_warned in
29835 yes:)
29836 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29837 whose name does not start with the host triplet. If you think this
29838 configuration is useful to you, please write to autoconf@gnu.org." >&5
29839 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29840 whose name does not start with the host triplet. If you think this
29841 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29842 ac_tool_warned=yes ;;
29843 esac
29844 PKG_CONFIG=$ac_pt_PKG_CONFIG
29845 fi
29846 else
29847 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29848 fi
29849
29850 fi
29851 if test -n "$PKG_CONFIG"; then
29852 _pkg_min_version=0.9.0
29853 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29854 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29855 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29856 { echo "$as_me:$LINENO: result: yes" >&5
29857 echo "${ECHO_T}yes" >&6; }
29858 else
29859 { echo "$as_me:$LINENO: result: no" >&5
29860 echo "${ECHO_T}no" >&6; }
29861 PKG_CONFIG=""
29862 fi
29863
29864 fi
29865
29866
29867 pkg_failed=no
29868 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29869 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29870
29871 if test -n "$PKG_CONFIG"; then
29872 if test -n "$DIRECTFB_CFLAGS"; then
29873 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29874 else
29875 if test -n "$PKG_CONFIG" && \
29876 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29877 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29878 ac_status=$?
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); }; then
29881 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29882 else
29883 pkg_failed=yes
29884 fi
29885 fi
29886 else
29887 pkg_failed=untried
29888 fi
29889 if test -n "$PKG_CONFIG"; then
29890 if test -n "$DIRECTFB_LIBS"; then
29891 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29892 else
29893 if test -n "$PKG_CONFIG" && \
29894 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29895 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29896 ac_status=$?
29897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898 (exit $ac_status); }; then
29899 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29900 else
29901 pkg_failed=yes
29902 fi
29903 fi
29904 else
29905 pkg_failed=untried
29906 fi
29907
29908
29909
29910 if test $pkg_failed = yes; then
29911
29912 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29913 _pkg_short_errors_supported=yes
29914 else
29915 _pkg_short_errors_supported=no
29916 fi
29917 if test $_pkg_short_errors_supported = yes; then
29918 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29919 else
29920 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29921 fi
29922 # Put the nasty error message in config.log where it belongs
29923 echo "$DIRECTFB_PKG_ERRORS" >&5
29924
29925
29926 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29927 echo "$as_me: error: DirectFB not found." >&2;}
29928 { (exit 1); exit 1; }; }
29929
29930
29931 elif test $pkg_failed = untried; then
29932
29933 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29934 echo "$as_me: error: DirectFB not found." >&2;}
29935 { (exit 1); exit 1; }; }
29936
29937
29938 else
29939 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29940 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29941 { echo "$as_me:$LINENO: result: yes" >&5
29942 echo "${ECHO_T}yes" >&6; }
29943
29944 wxUSE_UNIVERSAL="yes"
29945 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29946 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29947 TOOLKIT=DFB
29948 GUIDIST=DFB_DIST
29949
29950 fi
29951 fi
29952
29953 if test "$wxUSE_MICROWIN" = 1; then
29954 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29955 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29956 if test "x$MICROWINDOWS" = x ; then
29957 { echo "$as_me:$LINENO: result: not found" >&5
29958 echo "${ECHO_T}not found" >&6; }
29959 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29960 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29961 { (exit 1); exit 1; }; }
29962 else
29963 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29964 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29965 fi
29966
29967 if test -f $MICROWINDOWS/lib/libmwin.a; then
29968 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29969 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29970 else
29971 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29972 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29973 { (exit 1); exit 1; }; }
29974 fi
29975
29976 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29977 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29978
29979 wxUSE_UNIVERSAL="yes"
29980
29981 AFMINSTALL=afminstall
29982 TOOLKIT=MICROWIN
29983 GUIDIST=MICROWIN_DIST
29984
29985 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29986 fi
29987
29988 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29989 { echo "$as_me:$LINENO: checking for X" >&5
29990 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29991
29992
29993 # Check whether --with-x was given.
29994 if test "${with_x+set}" = set; then
29995 withval=$with_x;
29996 fi
29997
29998 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29999 if test "x$with_x" = xno; then
30000 # The user explicitly disabled X.
30001 have_x=disabled
30002 else
30003 case $x_includes,$x_libraries in #(
30004 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30005 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30006 { (exit 1); exit 1; }; };; #(
30007 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30008 echo $ECHO_N "(cached) $ECHO_C" >&6
30009 else
30010 # One or both of the vars are not set, and there is no cached value.
30011 ac_x_includes=no ac_x_libraries=no
30012 rm -f -r conftest.dir
30013 if mkdir conftest.dir; then
30014 cd conftest.dir
30015 cat >Imakefile <<'_ACEOF'
30016 incroot:
30017 @echo incroot='${INCROOT}'
30018 usrlibdir:
30019 @echo usrlibdir='${USRLIBDIR}'
30020 libdir:
30021 @echo libdir='${LIBDIR}'
30022 _ACEOF
30023 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30024 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30025 for ac_var in incroot usrlibdir libdir; do
30026 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30027 done
30028 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30029 for ac_extension in a so sl; do
30030 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30031 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30032 ac_im_usrlibdir=$ac_im_libdir; break
30033 fi
30034 done
30035 # Screen out bogus values from the imake configuration. They are
30036 # bogus both because they are the default anyway, and because
30037 # using them would break gcc on systems where it needs fixed includes.
30038 case $ac_im_incroot in
30039 /usr/include) ac_x_includes= ;;
30040 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30041 esac
30042 case $ac_im_usrlibdir in
30043 /usr/lib | /lib) ;;
30044 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30045 esac
30046 fi
30047 cd ..
30048 rm -f -r conftest.dir
30049 fi
30050
30051 # Standard set of common directories for X headers.
30052 # Check X11 before X11Rn because it is often a symlink to the current release.
30053 ac_x_header_dirs='
30054 /usr/X11/include
30055 /usr/X11R6/include
30056 /usr/X11R5/include
30057 /usr/X11R4/include
30058
30059 /usr/include/X11
30060 /usr/include/X11R6
30061 /usr/include/X11R5
30062 /usr/include/X11R4
30063
30064 /usr/local/X11/include
30065 /usr/local/X11R6/include
30066 /usr/local/X11R5/include
30067 /usr/local/X11R4/include
30068
30069 /usr/local/include/X11
30070 /usr/local/include/X11R6
30071 /usr/local/include/X11R5
30072 /usr/local/include/X11R4
30073
30074 /usr/X386/include
30075 /usr/x386/include
30076 /usr/XFree86/include/X11
30077
30078 /usr/include
30079 /usr/local/include
30080 /usr/unsupported/include
30081 /usr/athena/include
30082 /usr/local/x11r5/include
30083 /usr/lpp/Xamples/include
30084
30085 /usr/openwin/include
30086 /usr/openwin/share/include'
30087
30088 if test "$ac_x_includes" = no; then
30089 # Guess where to find include files, by looking for Xlib.h.
30090 # First, try using that file with no special directory specified.
30091 cat >conftest.$ac_ext <<_ACEOF
30092 /* confdefs.h. */
30093 _ACEOF
30094 cat confdefs.h >>conftest.$ac_ext
30095 cat >>conftest.$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30097 #include <X11/Xlib.h>
30098 _ACEOF
30099 if { (ac_try="$ac_cpp conftest.$ac_ext"
30100 case "(($ac_try" in
30101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30102 *) ac_try_echo=$ac_try;;
30103 esac
30104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30106 ac_status=$?
30107 grep -v '^ *+' conftest.er1 >conftest.err
30108 rm -f conftest.er1
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } >/dev/null && {
30112 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30113 test ! -s conftest.err
30114 }; then
30115 # We can compile using X headers with no special include directory.
30116 ac_x_includes=
30117 else
30118 echo "$as_me: failed program was:" >&5
30119 sed 's/^/| /' conftest.$ac_ext >&5
30120
30121 for ac_dir in $ac_x_header_dirs; do
30122 if test -r "$ac_dir/X11/Xlib.h"; then
30123 ac_x_includes=$ac_dir
30124 break
30125 fi
30126 done
30127 fi
30128
30129 rm -f conftest.err conftest.$ac_ext
30130 fi # $ac_x_includes = no
30131
30132 if test "$ac_x_libraries" = no; then
30133 # Check for the libraries.
30134 # See if we find them without any special options.
30135 # Don't add to $LIBS permanently.
30136 ac_save_LIBS=$LIBS
30137 LIBS="-lX11 $LIBS"
30138 cat >conftest.$ac_ext <<_ACEOF
30139 /* confdefs.h. */
30140 _ACEOF
30141 cat confdefs.h >>conftest.$ac_ext
30142 cat >>conftest.$ac_ext <<_ACEOF
30143 /* end confdefs.h. */
30144 #include <X11/Xlib.h>
30145 int
30146 main ()
30147 {
30148 XrmInitialize ()
30149 ;
30150 return 0;
30151 }
30152 _ACEOF
30153 rm -f conftest.$ac_objext conftest$ac_exeext
30154 if { (ac_try="$ac_link"
30155 case "(($ac_try" in
30156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30157 *) ac_try_echo=$ac_try;;
30158 esac
30159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30160 (eval "$ac_link") 2>conftest.er1
30161 ac_status=$?
30162 grep -v '^ *+' conftest.er1 >conftest.err
30163 rm -f conftest.er1
30164 cat conftest.err >&5
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); } && {
30167 test -z "$ac_c_werror_flag" ||
30168 test ! -s conftest.err
30169 } && test -s conftest$ac_exeext &&
30170 $as_test_x conftest$ac_exeext; then
30171 LIBS=$ac_save_LIBS
30172 # We can link X programs with no special library path.
30173 ac_x_libraries=
30174 else
30175 echo "$as_me: failed program was:" >&5
30176 sed 's/^/| /' conftest.$ac_ext >&5
30177
30178 LIBS=$ac_save_LIBS
30179 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30180 do
30181 # Don't even attempt the hair of trying to link an X program!
30182 for ac_extension in a so sl; do
30183 if test -r "$ac_dir/libX11.$ac_extension"; then
30184 ac_x_libraries=$ac_dir
30185 break 2
30186 fi
30187 done
30188 done
30189 fi
30190
30191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30192 conftest$ac_exeext conftest.$ac_ext
30193 fi # $ac_x_libraries = no
30194
30195 case $ac_x_includes,$ac_x_libraries in #(
30196 no,* | *,no | *\'*)
30197 # Didn't find X, or a directory has "'" in its name.
30198 ac_cv_have_x="have_x=no";; #(
30199 *)
30200 # Record where we found X for the cache.
30201 ac_cv_have_x="have_x=yes\
30202 ac_x_includes='$ac_x_includes'\
30203 ac_x_libraries='$ac_x_libraries'"
30204 esac
30205 fi
30206 ;; #(
30207 *) have_x=yes;;
30208 esac
30209 eval "$ac_cv_have_x"
30210 fi # $with_x != no
30211
30212 if test "$have_x" != yes; then
30213 { echo "$as_me:$LINENO: result: $have_x" >&5
30214 echo "${ECHO_T}$have_x" >&6; }
30215 no_x=yes
30216 else
30217 # If each of the values was on the command line, it overrides each guess.
30218 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30219 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30220 # Update the cache value to reflect the command line values.
30221 ac_cv_have_x="have_x=yes\
30222 ac_x_includes='$x_includes'\
30223 ac_x_libraries='$x_libraries'"
30224 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30225 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30226 fi
30227
30228 if test "$no_x" = yes; then
30229 # Not all programs may use this symbol, but it does not hurt to define it.
30230
30231 cat >>confdefs.h <<\_ACEOF
30232 #define X_DISPLAY_MISSING 1
30233 _ACEOF
30234
30235 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30236 else
30237 if test -n "$x_includes"; then
30238 X_CFLAGS="$X_CFLAGS -I$x_includes"
30239 fi
30240
30241 # It would also be nice to do this for all -L options, not just this one.
30242 if test -n "$x_libraries"; then
30243 X_LIBS="$X_LIBS -L$x_libraries"
30244 # For Solaris; some versions of Sun CC require a space after -R and
30245 # others require no space. Words are not sufficient . . . .
30246 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30247 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30248 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30249 ac_xsave_c_werror_flag=$ac_c_werror_flag
30250 ac_c_werror_flag=yes
30251 cat >conftest.$ac_ext <<_ACEOF
30252 /* confdefs.h. */
30253 _ACEOF
30254 cat confdefs.h >>conftest.$ac_ext
30255 cat >>conftest.$ac_ext <<_ACEOF
30256 /* end confdefs.h. */
30257
30258 int
30259 main ()
30260 {
30261
30262 ;
30263 return 0;
30264 }
30265 _ACEOF
30266 rm -f conftest.$ac_objext conftest$ac_exeext
30267 if { (ac_try="$ac_link"
30268 case "(($ac_try" in
30269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30270 *) ac_try_echo=$ac_try;;
30271 esac
30272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30273 (eval "$ac_link") 2>conftest.er1
30274 ac_status=$?
30275 grep -v '^ *+' conftest.er1 >conftest.err
30276 rm -f conftest.er1
30277 cat conftest.err >&5
30278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30279 (exit $ac_status); } && {
30280 test -z "$ac_c_werror_flag" ||
30281 test ! -s conftest.err
30282 } && test -s conftest$ac_exeext &&
30283 $as_test_x conftest$ac_exeext; then
30284 { echo "$as_me:$LINENO: result: no" >&5
30285 echo "${ECHO_T}no" >&6; }
30286 X_LIBS="$X_LIBS -R$x_libraries"
30287 else
30288 echo "$as_me: failed program was:" >&5
30289 sed 's/^/| /' conftest.$ac_ext >&5
30290
30291 LIBS="$ac_xsave_LIBS -R $x_libraries"
30292 cat >conftest.$ac_ext <<_ACEOF
30293 /* confdefs.h. */
30294 _ACEOF
30295 cat confdefs.h >>conftest.$ac_ext
30296 cat >>conftest.$ac_ext <<_ACEOF
30297 /* end confdefs.h. */
30298
30299 int
30300 main ()
30301 {
30302
30303 ;
30304 return 0;
30305 }
30306 _ACEOF
30307 rm -f conftest.$ac_objext conftest$ac_exeext
30308 if { (ac_try="$ac_link"
30309 case "(($ac_try" in
30310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30311 *) ac_try_echo=$ac_try;;
30312 esac
30313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30314 (eval "$ac_link") 2>conftest.er1
30315 ac_status=$?
30316 grep -v '^ *+' conftest.er1 >conftest.err
30317 rm -f conftest.er1
30318 cat conftest.err >&5
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 (exit $ac_status); } && {
30321 test -z "$ac_c_werror_flag" ||
30322 test ! -s conftest.err
30323 } && test -s conftest$ac_exeext &&
30324 $as_test_x conftest$ac_exeext; then
30325 { echo "$as_me:$LINENO: result: yes" >&5
30326 echo "${ECHO_T}yes" >&6; }
30327 X_LIBS="$X_LIBS -R $x_libraries"
30328 else
30329 echo "$as_me: failed program was:" >&5
30330 sed 's/^/| /' conftest.$ac_ext >&5
30331
30332 { echo "$as_me:$LINENO: result: neither works" >&5
30333 echo "${ECHO_T}neither works" >&6; }
30334 fi
30335
30336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30337 conftest$ac_exeext conftest.$ac_ext
30338 fi
30339
30340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30341 conftest$ac_exeext conftest.$ac_ext
30342 ac_c_werror_flag=$ac_xsave_c_werror_flag
30343 LIBS=$ac_xsave_LIBS
30344 fi
30345
30346 # Check for system-dependent libraries X programs must link with.
30347 # Do this before checking for the system-independent R6 libraries
30348 # (-lICE), since we may need -lsocket or whatever for X linking.
30349
30350 if test "$ISC" = yes; then
30351 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30352 else
30353 # Martyn Johnson says this is needed for Ultrix, if the X
30354 # libraries were built with DECnet support. And Karl Berry says
30355 # the Alpha needs dnet_stub (dnet does not exist).
30356 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30357 cat >conftest.$ac_ext <<_ACEOF
30358 /* confdefs.h. */
30359 _ACEOF
30360 cat confdefs.h >>conftest.$ac_ext
30361 cat >>conftest.$ac_ext <<_ACEOF
30362 /* end confdefs.h. */
30363
30364 /* Override any GCC internal prototype to avoid an error.
30365 Use char because int might match the return type of a GCC
30366 builtin and then its argument prototype would still apply. */
30367 #ifdef __cplusplus
30368 extern "C"
30369 #endif
30370 char XOpenDisplay ();
30371 int
30372 main ()
30373 {
30374 return XOpenDisplay ();
30375 ;
30376 return 0;
30377 }
30378 _ACEOF
30379 rm -f conftest.$ac_objext conftest$ac_exeext
30380 if { (ac_try="$ac_link"
30381 case "(($ac_try" in
30382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30383 *) ac_try_echo=$ac_try;;
30384 esac
30385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30386 (eval "$ac_link") 2>conftest.er1
30387 ac_status=$?
30388 grep -v '^ *+' conftest.er1 >conftest.err
30389 rm -f conftest.er1
30390 cat conftest.err >&5
30391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30392 (exit $ac_status); } && {
30393 test -z "$ac_c_werror_flag" ||
30394 test ! -s conftest.err
30395 } && test -s conftest$ac_exeext &&
30396 $as_test_x conftest$ac_exeext; then
30397 :
30398 else
30399 echo "$as_me: failed program was:" >&5
30400 sed 's/^/| /' conftest.$ac_ext >&5
30401
30402 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30403 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30404 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30405 echo $ECHO_N "(cached) $ECHO_C" >&6
30406 else
30407 ac_check_lib_save_LIBS=$LIBS
30408 LIBS="-ldnet $LIBS"
30409 cat >conftest.$ac_ext <<_ACEOF
30410 /* confdefs.h. */
30411 _ACEOF
30412 cat confdefs.h >>conftest.$ac_ext
30413 cat >>conftest.$ac_ext <<_ACEOF
30414 /* end confdefs.h. */
30415
30416 /* Override any GCC internal prototype to avoid an error.
30417 Use char because int might match the return type of a GCC
30418 builtin and then its argument prototype would still apply. */
30419 #ifdef __cplusplus
30420 extern "C"
30421 #endif
30422 char dnet_ntoa ();
30423 int
30424 main ()
30425 {
30426 return dnet_ntoa ();
30427 ;
30428 return 0;
30429 }
30430 _ACEOF
30431 rm -f conftest.$ac_objext conftest$ac_exeext
30432 if { (ac_try="$ac_link"
30433 case "(($ac_try" in
30434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30435 *) ac_try_echo=$ac_try;;
30436 esac
30437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30438 (eval "$ac_link") 2>conftest.er1
30439 ac_status=$?
30440 grep -v '^ *+' conftest.er1 >conftest.err
30441 rm -f conftest.er1
30442 cat conftest.err >&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } && {
30445 test -z "$ac_c_werror_flag" ||
30446 test ! -s conftest.err
30447 } && test -s conftest$ac_exeext &&
30448 $as_test_x conftest$ac_exeext; then
30449 ac_cv_lib_dnet_dnet_ntoa=yes
30450 else
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.$ac_ext >&5
30453
30454 ac_cv_lib_dnet_dnet_ntoa=no
30455 fi
30456
30457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30458 conftest$ac_exeext conftest.$ac_ext
30459 LIBS=$ac_check_lib_save_LIBS
30460 fi
30461 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30462 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30463 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30464 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30465 fi
30466
30467 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30468 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30469 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30470 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30471 echo $ECHO_N "(cached) $ECHO_C" >&6
30472 else
30473 ac_check_lib_save_LIBS=$LIBS
30474 LIBS="-ldnet_stub $LIBS"
30475 cat >conftest.$ac_ext <<_ACEOF
30476 /* confdefs.h. */
30477 _ACEOF
30478 cat confdefs.h >>conftest.$ac_ext
30479 cat >>conftest.$ac_ext <<_ACEOF
30480 /* end confdefs.h. */
30481
30482 /* Override any GCC internal prototype to avoid an error.
30483 Use char because int might match the return type of a GCC
30484 builtin and then its argument prototype would still apply. */
30485 #ifdef __cplusplus
30486 extern "C"
30487 #endif
30488 char dnet_ntoa ();
30489 int
30490 main ()
30491 {
30492 return dnet_ntoa ();
30493 ;
30494 return 0;
30495 }
30496 _ACEOF
30497 rm -f conftest.$ac_objext conftest$ac_exeext
30498 if { (ac_try="$ac_link"
30499 case "(($ac_try" in
30500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30501 *) ac_try_echo=$ac_try;;
30502 esac
30503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30504 (eval "$ac_link") 2>conftest.er1
30505 ac_status=$?
30506 grep -v '^ *+' conftest.er1 >conftest.err
30507 rm -f conftest.er1
30508 cat conftest.err >&5
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); } && {
30511 test -z "$ac_c_werror_flag" ||
30512 test ! -s conftest.err
30513 } && test -s conftest$ac_exeext &&
30514 $as_test_x conftest$ac_exeext; then
30515 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30516 else
30517 echo "$as_me: failed program was:" >&5
30518 sed 's/^/| /' conftest.$ac_ext >&5
30519
30520 ac_cv_lib_dnet_stub_dnet_ntoa=no
30521 fi
30522
30523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30524 conftest$ac_exeext conftest.$ac_ext
30525 LIBS=$ac_check_lib_save_LIBS
30526 fi
30527 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30528 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30529 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30530 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30531 fi
30532
30533 fi
30534 fi
30535
30536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30537 conftest$ac_exeext conftest.$ac_ext
30538 LIBS="$ac_xsave_LIBS"
30539
30540 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30541 # to get the SysV transport functions.
30542 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30543 # needs -lnsl.
30544 # The nsl library prevents programs from opening the X display
30545 # on Irix 5.2, according to T.E. Dickey.
30546 # The functions gethostbyname, getservbyname, and inet_addr are
30547 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30548 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30549 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30550 if test "${ac_cv_func_gethostbyname+set}" = set; then
30551 echo $ECHO_N "(cached) $ECHO_C" >&6
30552 else
30553 cat >conftest.$ac_ext <<_ACEOF
30554 /* confdefs.h. */
30555 _ACEOF
30556 cat confdefs.h >>conftest.$ac_ext
30557 cat >>conftest.$ac_ext <<_ACEOF
30558 /* end confdefs.h. */
30559 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30561 #define gethostbyname innocuous_gethostbyname
30562
30563 /* System header to define __stub macros and hopefully few prototypes,
30564 which can conflict with char gethostbyname (); below.
30565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30566 <limits.h> exists even on freestanding compilers. */
30567
30568 #ifdef __STDC__
30569 # include <limits.h>
30570 #else
30571 # include <assert.h>
30572 #endif
30573
30574 #undef gethostbyname
30575
30576 /* Override any GCC internal prototype to avoid an error.
30577 Use char because int might match the return type of a GCC
30578 builtin and then its argument prototype would still apply. */
30579 #ifdef __cplusplus
30580 extern "C"
30581 #endif
30582 char gethostbyname ();
30583 /* The GNU C library defines this for functions which it implements
30584 to always fail with ENOSYS. Some functions are actually named
30585 something starting with __ and the normal name is an alias. */
30586 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30587 choke me
30588 #endif
30589
30590 int
30591 main ()
30592 {
30593 return gethostbyname ();
30594 ;
30595 return 0;
30596 }
30597 _ACEOF
30598 rm -f conftest.$ac_objext conftest$ac_exeext
30599 if { (ac_try="$ac_link"
30600 case "(($ac_try" in
30601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30602 *) ac_try_echo=$ac_try;;
30603 esac
30604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30605 (eval "$ac_link") 2>conftest.er1
30606 ac_status=$?
30607 grep -v '^ *+' conftest.er1 >conftest.err
30608 rm -f conftest.er1
30609 cat conftest.err >&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); } && {
30612 test -z "$ac_c_werror_flag" ||
30613 test ! -s conftest.err
30614 } && test -s conftest$ac_exeext &&
30615 $as_test_x conftest$ac_exeext; then
30616 ac_cv_func_gethostbyname=yes
30617 else
30618 echo "$as_me: failed program was:" >&5
30619 sed 's/^/| /' conftest.$ac_ext >&5
30620
30621 ac_cv_func_gethostbyname=no
30622 fi
30623
30624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30625 conftest$ac_exeext conftest.$ac_ext
30626 fi
30627 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30628 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30629
30630 if test $ac_cv_func_gethostbyname = no; then
30631 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30632 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30633 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30635 else
30636 ac_check_lib_save_LIBS=$LIBS
30637 LIBS="-lnsl $LIBS"
30638 cat >conftest.$ac_ext <<_ACEOF
30639 /* confdefs.h. */
30640 _ACEOF
30641 cat confdefs.h >>conftest.$ac_ext
30642 cat >>conftest.$ac_ext <<_ACEOF
30643 /* end confdefs.h. */
30644
30645 /* Override any GCC internal prototype to avoid an error.
30646 Use char because int might match the return type of a GCC
30647 builtin and then its argument prototype would still apply. */
30648 #ifdef __cplusplus
30649 extern "C"
30650 #endif
30651 char gethostbyname ();
30652 int
30653 main ()
30654 {
30655 return gethostbyname ();
30656 ;
30657 return 0;
30658 }
30659 _ACEOF
30660 rm -f conftest.$ac_objext conftest$ac_exeext
30661 if { (ac_try="$ac_link"
30662 case "(($ac_try" in
30663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30664 *) ac_try_echo=$ac_try;;
30665 esac
30666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30667 (eval "$ac_link") 2>conftest.er1
30668 ac_status=$?
30669 grep -v '^ *+' conftest.er1 >conftest.err
30670 rm -f conftest.er1
30671 cat conftest.err >&5
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); } && {
30674 test -z "$ac_c_werror_flag" ||
30675 test ! -s conftest.err
30676 } && test -s conftest$ac_exeext &&
30677 $as_test_x conftest$ac_exeext; then
30678 ac_cv_lib_nsl_gethostbyname=yes
30679 else
30680 echo "$as_me: failed program was:" >&5
30681 sed 's/^/| /' conftest.$ac_ext >&5
30682
30683 ac_cv_lib_nsl_gethostbyname=no
30684 fi
30685
30686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30687 conftest$ac_exeext conftest.$ac_ext
30688 LIBS=$ac_check_lib_save_LIBS
30689 fi
30690 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30691 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30692 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30693 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30694 fi
30695
30696 if test $ac_cv_lib_nsl_gethostbyname = no; then
30697 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30698 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30699 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30700 echo $ECHO_N "(cached) $ECHO_C" >&6
30701 else
30702 ac_check_lib_save_LIBS=$LIBS
30703 LIBS="-lbsd $LIBS"
30704 cat >conftest.$ac_ext <<_ACEOF
30705 /* confdefs.h. */
30706 _ACEOF
30707 cat confdefs.h >>conftest.$ac_ext
30708 cat >>conftest.$ac_ext <<_ACEOF
30709 /* end confdefs.h. */
30710
30711 /* Override any GCC internal prototype to avoid an error.
30712 Use char because int might match the return type of a GCC
30713 builtin and then its argument prototype would still apply. */
30714 #ifdef __cplusplus
30715 extern "C"
30716 #endif
30717 char gethostbyname ();
30718 int
30719 main ()
30720 {
30721 return gethostbyname ();
30722 ;
30723 return 0;
30724 }
30725 _ACEOF
30726 rm -f conftest.$ac_objext conftest$ac_exeext
30727 if { (ac_try="$ac_link"
30728 case "(($ac_try" in
30729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30730 *) ac_try_echo=$ac_try;;
30731 esac
30732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30733 (eval "$ac_link") 2>conftest.er1
30734 ac_status=$?
30735 grep -v '^ *+' conftest.er1 >conftest.err
30736 rm -f conftest.er1
30737 cat conftest.err >&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); } && {
30740 test -z "$ac_c_werror_flag" ||
30741 test ! -s conftest.err
30742 } && test -s conftest$ac_exeext &&
30743 $as_test_x conftest$ac_exeext; then
30744 ac_cv_lib_bsd_gethostbyname=yes
30745 else
30746 echo "$as_me: failed program was:" >&5
30747 sed 's/^/| /' conftest.$ac_ext >&5
30748
30749 ac_cv_lib_bsd_gethostbyname=no
30750 fi
30751
30752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30753 conftest$ac_exeext conftest.$ac_ext
30754 LIBS=$ac_check_lib_save_LIBS
30755 fi
30756 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30757 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30758 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30760 fi
30761
30762 fi
30763 fi
30764
30765 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30766 # socket/setsockopt and other routines are undefined under SCO ODT
30767 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30768 # on later versions), says Simon Leinen: it contains gethostby*
30769 # variants that don't use the name server (or something). -lsocket
30770 # must be given before -lnsl if both are needed. We assume that
30771 # if connect needs -lnsl, so does gethostbyname.
30772 { echo "$as_me:$LINENO: checking for connect" >&5
30773 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30774 if test "${ac_cv_func_connect+set}" = set; then
30775 echo $ECHO_N "(cached) $ECHO_C" >&6
30776 else
30777 cat >conftest.$ac_ext <<_ACEOF
30778 /* confdefs.h. */
30779 _ACEOF
30780 cat confdefs.h >>conftest.$ac_ext
30781 cat >>conftest.$ac_ext <<_ACEOF
30782 /* end confdefs.h. */
30783 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30785 #define connect innocuous_connect
30786
30787 /* System header to define __stub macros and hopefully few prototypes,
30788 which can conflict with char connect (); below.
30789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30790 <limits.h> exists even on freestanding compilers. */
30791
30792 #ifdef __STDC__
30793 # include <limits.h>
30794 #else
30795 # include <assert.h>
30796 #endif
30797
30798 #undef connect
30799
30800 /* Override any GCC internal prototype to avoid an error.
30801 Use char because int might match the return type of a GCC
30802 builtin and then its argument prototype would still apply. */
30803 #ifdef __cplusplus
30804 extern "C"
30805 #endif
30806 char connect ();
30807 /* The GNU C library defines this for functions which it implements
30808 to always fail with ENOSYS. Some functions are actually named
30809 something starting with __ and the normal name is an alias. */
30810 #if defined __stub_connect || defined __stub___connect
30811 choke me
30812 #endif
30813
30814 int
30815 main ()
30816 {
30817 return connect ();
30818 ;
30819 return 0;
30820 }
30821 _ACEOF
30822 rm -f conftest.$ac_objext conftest$ac_exeext
30823 if { (ac_try="$ac_link"
30824 case "(($ac_try" in
30825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30826 *) ac_try_echo=$ac_try;;
30827 esac
30828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30829 (eval "$ac_link") 2>conftest.er1
30830 ac_status=$?
30831 grep -v '^ *+' conftest.er1 >conftest.err
30832 rm -f conftest.er1
30833 cat conftest.err >&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); } && {
30836 test -z "$ac_c_werror_flag" ||
30837 test ! -s conftest.err
30838 } && test -s conftest$ac_exeext &&
30839 $as_test_x conftest$ac_exeext; then
30840 ac_cv_func_connect=yes
30841 else
30842 echo "$as_me: failed program was:" >&5
30843 sed 's/^/| /' conftest.$ac_ext >&5
30844
30845 ac_cv_func_connect=no
30846 fi
30847
30848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30849 conftest$ac_exeext conftest.$ac_ext
30850 fi
30851 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30852 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30853
30854 if test $ac_cv_func_connect = no; then
30855 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30856 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30857 if test "${ac_cv_lib_socket_connect+set}" = set; then
30858 echo $ECHO_N "(cached) $ECHO_C" >&6
30859 else
30860 ac_check_lib_save_LIBS=$LIBS
30861 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30862 cat >conftest.$ac_ext <<_ACEOF
30863 /* confdefs.h. */
30864 _ACEOF
30865 cat confdefs.h >>conftest.$ac_ext
30866 cat >>conftest.$ac_ext <<_ACEOF
30867 /* end confdefs.h. */
30868
30869 /* Override any GCC internal prototype to avoid an error.
30870 Use char because int might match the return type of a GCC
30871 builtin and then its argument prototype would still apply. */
30872 #ifdef __cplusplus
30873 extern "C"
30874 #endif
30875 char connect ();
30876 int
30877 main ()
30878 {
30879 return connect ();
30880 ;
30881 return 0;
30882 }
30883 _ACEOF
30884 rm -f conftest.$ac_objext conftest$ac_exeext
30885 if { (ac_try="$ac_link"
30886 case "(($ac_try" in
30887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30888 *) ac_try_echo=$ac_try;;
30889 esac
30890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30891 (eval "$ac_link") 2>conftest.er1
30892 ac_status=$?
30893 grep -v '^ *+' conftest.er1 >conftest.err
30894 rm -f conftest.er1
30895 cat conftest.err >&5
30896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30897 (exit $ac_status); } && {
30898 test -z "$ac_c_werror_flag" ||
30899 test ! -s conftest.err
30900 } && test -s conftest$ac_exeext &&
30901 $as_test_x conftest$ac_exeext; then
30902 ac_cv_lib_socket_connect=yes
30903 else
30904 echo "$as_me: failed program was:" >&5
30905 sed 's/^/| /' conftest.$ac_ext >&5
30906
30907 ac_cv_lib_socket_connect=no
30908 fi
30909
30910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30911 conftest$ac_exeext conftest.$ac_ext
30912 LIBS=$ac_check_lib_save_LIBS
30913 fi
30914 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30915 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30916 if test $ac_cv_lib_socket_connect = yes; then
30917 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30918 fi
30919
30920 fi
30921
30922 # Guillermo Gomez says -lposix is necessary on A/UX.
30923 { echo "$as_me:$LINENO: checking for remove" >&5
30924 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30925 if test "${ac_cv_func_remove+set}" = set; then
30926 echo $ECHO_N "(cached) $ECHO_C" >&6
30927 else
30928 cat >conftest.$ac_ext <<_ACEOF
30929 /* confdefs.h. */
30930 _ACEOF
30931 cat confdefs.h >>conftest.$ac_ext
30932 cat >>conftest.$ac_ext <<_ACEOF
30933 /* end confdefs.h. */
30934 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30936 #define remove innocuous_remove
30937
30938 /* System header to define __stub macros and hopefully few prototypes,
30939 which can conflict with char remove (); below.
30940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30941 <limits.h> exists even on freestanding compilers. */
30942
30943 #ifdef __STDC__
30944 # include <limits.h>
30945 #else
30946 # include <assert.h>
30947 #endif
30948
30949 #undef remove
30950
30951 /* Override any GCC internal prototype to avoid an error.
30952 Use char because int might match the return type of a GCC
30953 builtin and then its argument prototype would still apply. */
30954 #ifdef __cplusplus
30955 extern "C"
30956 #endif
30957 char remove ();
30958 /* The GNU C library defines this for functions which it implements
30959 to always fail with ENOSYS. Some functions are actually named
30960 something starting with __ and the normal name is an alias. */
30961 #if defined __stub_remove || defined __stub___remove
30962 choke me
30963 #endif
30964
30965 int
30966 main ()
30967 {
30968 return remove ();
30969 ;
30970 return 0;
30971 }
30972 _ACEOF
30973 rm -f conftest.$ac_objext conftest$ac_exeext
30974 if { (ac_try="$ac_link"
30975 case "(($ac_try" in
30976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30977 *) ac_try_echo=$ac_try;;
30978 esac
30979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30980 (eval "$ac_link") 2>conftest.er1
30981 ac_status=$?
30982 grep -v '^ *+' conftest.er1 >conftest.err
30983 rm -f conftest.er1
30984 cat conftest.err >&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); } && {
30987 test -z "$ac_c_werror_flag" ||
30988 test ! -s conftest.err
30989 } && test -s conftest$ac_exeext &&
30990 $as_test_x conftest$ac_exeext; then
30991 ac_cv_func_remove=yes
30992 else
30993 echo "$as_me: failed program was:" >&5
30994 sed 's/^/| /' conftest.$ac_ext >&5
30995
30996 ac_cv_func_remove=no
30997 fi
30998
30999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31000 conftest$ac_exeext conftest.$ac_ext
31001 fi
31002 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31003 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31004
31005 if test $ac_cv_func_remove = no; then
31006 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31007 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31008 if test "${ac_cv_lib_posix_remove+set}" = set; then
31009 echo $ECHO_N "(cached) $ECHO_C" >&6
31010 else
31011 ac_check_lib_save_LIBS=$LIBS
31012 LIBS="-lposix $LIBS"
31013 cat >conftest.$ac_ext <<_ACEOF
31014 /* confdefs.h. */
31015 _ACEOF
31016 cat confdefs.h >>conftest.$ac_ext
31017 cat >>conftest.$ac_ext <<_ACEOF
31018 /* end confdefs.h. */
31019
31020 /* Override any GCC internal prototype to avoid an error.
31021 Use char because int might match the return type of a GCC
31022 builtin and then its argument prototype would still apply. */
31023 #ifdef __cplusplus
31024 extern "C"
31025 #endif
31026 char remove ();
31027 int
31028 main ()
31029 {
31030 return remove ();
31031 ;
31032 return 0;
31033 }
31034 _ACEOF
31035 rm -f conftest.$ac_objext conftest$ac_exeext
31036 if { (ac_try="$ac_link"
31037 case "(($ac_try" in
31038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31039 *) ac_try_echo=$ac_try;;
31040 esac
31041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31042 (eval "$ac_link") 2>conftest.er1
31043 ac_status=$?
31044 grep -v '^ *+' conftest.er1 >conftest.err
31045 rm -f conftest.er1
31046 cat conftest.err >&5
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); } && {
31049 test -z "$ac_c_werror_flag" ||
31050 test ! -s conftest.err
31051 } && test -s conftest$ac_exeext &&
31052 $as_test_x conftest$ac_exeext; then
31053 ac_cv_lib_posix_remove=yes
31054 else
31055 echo "$as_me: failed program was:" >&5
31056 sed 's/^/| /' conftest.$ac_ext >&5
31057
31058 ac_cv_lib_posix_remove=no
31059 fi
31060
31061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31062 conftest$ac_exeext conftest.$ac_ext
31063 LIBS=$ac_check_lib_save_LIBS
31064 fi
31065 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31066 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31067 if test $ac_cv_lib_posix_remove = yes; then
31068 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31069 fi
31070
31071 fi
31072
31073 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31074 { echo "$as_me:$LINENO: checking for shmat" >&5
31075 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31076 if test "${ac_cv_func_shmat+set}" = set; then
31077 echo $ECHO_N "(cached) $ECHO_C" >&6
31078 else
31079 cat >conftest.$ac_ext <<_ACEOF
31080 /* confdefs.h. */
31081 _ACEOF
31082 cat confdefs.h >>conftest.$ac_ext
31083 cat >>conftest.$ac_ext <<_ACEOF
31084 /* end confdefs.h. */
31085 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31087 #define shmat innocuous_shmat
31088
31089 /* System header to define __stub macros and hopefully few prototypes,
31090 which can conflict with char shmat (); below.
31091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31092 <limits.h> exists even on freestanding compilers. */
31093
31094 #ifdef __STDC__
31095 # include <limits.h>
31096 #else
31097 # include <assert.h>
31098 #endif
31099
31100 #undef shmat
31101
31102 /* Override any GCC internal prototype to avoid an error.
31103 Use char because int might match the return type of a GCC
31104 builtin and then its argument prototype would still apply. */
31105 #ifdef __cplusplus
31106 extern "C"
31107 #endif
31108 char shmat ();
31109 /* The GNU C library defines this for functions which it implements
31110 to always fail with ENOSYS. Some functions are actually named
31111 something starting with __ and the normal name is an alias. */
31112 #if defined __stub_shmat || defined __stub___shmat
31113 choke me
31114 #endif
31115
31116 int
31117 main ()
31118 {
31119 return shmat ();
31120 ;
31121 return 0;
31122 }
31123 _ACEOF
31124 rm -f conftest.$ac_objext conftest$ac_exeext
31125 if { (ac_try="$ac_link"
31126 case "(($ac_try" in
31127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31128 *) ac_try_echo=$ac_try;;
31129 esac
31130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31131 (eval "$ac_link") 2>conftest.er1
31132 ac_status=$?
31133 grep -v '^ *+' conftest.er1 >conftest.err
31134 rm -f conftest.er1
31135 cat conftest.err >&5
31136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31137 (exit $ac_status); } && {
31138 test -z "$ac_c_werror_flag" ||
31139 test ! -s conftest.err
31140 } && test -s conftest$ac_exeext &&
31141 $as_test_x conftest$ac_exeext; then
31142 ac_cv_func_shmat=yes
31143 else
31144 echo "$as_me: failed program was:" >&5
31145 sed 's/^/| /' conftest.$ac_ext >&5
31146
31147 ac_cv_func_shmat=no
31148 fi
31149
31150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31151 conftest$ac_exeext conftest.$ac_ext
31152 fi
31153 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31154 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31155
31156 if test $ac_cv_func_shmat = no; then
31157 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31158 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31159 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31160 echo $ECHO_N "(cached) $ECHO_C" >&6
31161 else
31162 ac_check_lib_save_LIBS=$LIBS
31163 LIBS="-lipc $LIBS"
31164 cat >conftest.$ac_ext <<_ACEOF
31165 /* confdefs.h. */
31166 _ACEOF
31167 cat confdefs.h >>conftest.$ac_ext
31168 cat >>conftest.$ac_ext <<_ACEOF
31169 /* end confdefs.h. */
31170
31171 /* Override any GCC internal prototype to avoid an error.
31172 Use char because int might match the return type of a GCC
31173 builtin and then its argument prototype would still apply. */
31174 #ifdef __cplusplus
31175 extern "C"
31176 #endif
31177 char shmat ();
31178 int
31179 main ()
31180 {
31181 return shmat ();
31182 ;
31183 return 0;
31184 }
31185 _ACEOF
31186 rm -f conftest.$ac_objext conftest$ac_exeext
31187 if { (ac_try="$ac_link"
31188 case "(($ac_try" in
31189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31190 *) ac_try_echo=$ac_try;;
31191 esac
31192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31193 (eval "$ac_link") 2>conftest.er1
31194 ac_status=$?
31195 grep -v '^ *+' conftest.er1 >conftest.err
31196 rm -f conftest.er1
31197 cat conftest.err >&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } && {
31200 test -z "$ac_c_werror_flag" ||
31201 test ! -s conftest.err
31202 } && test -s conftest$ac_exeext &&
31203 $as_test_x conftest$ac_exeext; then
31204 ac_cv_lib_ipc_shmat=yes
31205 else
31206 echo "$as_me: failed program was:" >&5
31207 sed 's/^/| /' conftest.$ac_ext >&5
31208
31209 ac_cv_lib_ipc_shmat=no
31210 fi
31211
31212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31213 conftest$ac_exeext conftest.$ac_ext
31214 LIBS=$ac_check_lib_save_LIBS
31215 fi
31216 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31217 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31218 if test $ac_cv_lib_ipc_shmat = yes; then
31219 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31220 fi
31221
31222 fi
31223 fi
31224
31225 # Check for libraries that X11R6 Xt/Xaw programs need.
31226 ac_save_LDFLAGS=$LDFLAGS
31227 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31228 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31229 # check for ICE first), but we must link in the order -lSM -lICE or
31230 # we get undefined symbols. So assume we have SM if we have ICE.
31231 # These have to be linked with before -lX11, unlike the other
31232 # libraries we check for below, so use a different variable.
31233 # John Interrante, Karl Berry
31234 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31235 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31236 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31237 echo $ECHO_N "(cached) $ECHO_C" >&6
31238 else
31239 ac_check_lib_save_LIBS=$LIBS
31240 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31241 cat >conftest.$ac_ext <<_ACEOF
31242 /* confdefs.h. */
31243 _ACEOF
31244 cat confdefs.h >>conftest.$ac_ext
31245 cat >>conftest.$ac_ext <<_ACEOF
31246 /* end confdefs.h. */
31247
31248 /* Override any GCC internal prototype to avoid an error.
31249 Use char because int might match the return type of a GCC
31250 builtin and then its argument prototype would still apply. */
31251 #ifdef __cplusplus
31252 extern "C"
31253 #endif
31254 char IceConnectionNumber ();
31255 int
31256 main ()
31257 {
31258 return IceConnectionNumber ();
31259 ;
31260 return 0;
31261 }
31262 _ACEOF
31263 rm -f conftest.$ac_objext conftest$ac_exeext
31264 if { (ac_try="$ac_link"
31265 case "(($ac_try" in
31266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31267 *) ac_try_echo=$ac_try;;
31268 esac
31269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31270 (eval "$ac_link") 2>conftest.er1
31271 ac_status=$?
31272 grep -v '^ *+' conftest.er1 >conftest.err
31273 rm -f conftest.er1
31274 cat conftest.err >&5
31275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276 (exit $ac_status); } && {
31277 test -z "$ac_c_werror_flag" ||
31278 test ! -s conftest.err
31279 } && test -s conftest$ac_exeext &&
31280 $as_test_x conftest$ac_exeext; then
31281 ac_cv_lib_ICE_IceConnectionNumber=yes
31282 else
31283 echo "$as_me: failed program was:" >&5
31284 sed 's/^/| /' conftest.$ac_ext >&5
31285
31286 ac_cv_lib_ICE_IceConnectionNumber=no
31287 fi
31288
31289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31290 conftest$ac_exeext conftest.$ac_ext
31291 LIBS=$ac_check_lib_save_LIBS
31292 fi
31293 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31294 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31295 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31296 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31297 fi
31298
31299 LDFLAGS=$ac_save_LDFLAGS
31300
31301 fi
31302
31303
31304 if test "$no_x" = "yes"; then
31305 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31306 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31307 { (exit 1); exit 1; }; }
31308 fi
31309
31310 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31311 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31312 AFMINSTALL=afminstall
31313 COMPILED_X_PROGRAM=0
31314
31315 fi
31316
31317 if test "$wxUSE_X11" = 1; then
31318 if test "$wxUSE_NANOX" = "yes"; then
31319 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31320 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31321 if test "x$MICROWIN" = x ; then
31322 { echo "$as_me:$LINENO: result: not found" >&5
31323 echo "${ECHO_T}not found" >&6; }
31324 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31325 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31326 { (exit 1); exit 1; }; }
31327 else
31328 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31329 echo "${ECHO_T}$MICROWIN" >&6; }
31330 cat >>confdefs.h <<\_ACEOF
31331 #define wxUSE_NANOX 1
31332 _ACEOF
31333
31334 fi
31335 fi
31336
31337 if test "$wxUSE_UNICODE" = "yes"; then
31338
31339
31340 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31341 if test -n "$ac_tool_prefix"; then
31342 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31343 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31346 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31347 echo $ECHO_N "(cached) $ECHO_C" >&6
31348 else
31349 case $PKG_CONFIG in
31350 [\\/]* | ?:[\\/]*)
31351 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31352 ;;
31353 *)
31354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31355 for as_dir in $PATH
31356 do
31357 IFS=$as_save_IFS
31358 test -z "$as_dir" && as_dir=.
31359 for ac_exec_ext in '' $ac_executable_extensions; do
31360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31361 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31363 break 2
31364 fi
31365 done
31366 done
31367 IFS=$as_save_IFS
31368
31369 ;;
31370 esac
31371 fi
31372 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31373 if test -n "$PKG_CONFIG"; then
31374 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31375 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31376 else
31377 { echo "$as_me:$LINENO: result: no" >&5
31378 echo "${ECHO_T}no" >&6; }
31379 fi
31380
31381
31382 fi
31383 if test -z "$ac_cv_path_PKG_CONFIG"; then
31384 ac_pt_PKG_CONFIG=$PKG_CONFIG
31385 # Extract the first word of "pkg-config", so it can be a program name with args.
31386 set dummy pkg-config; ac_word=$2
31387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31389 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31390 echo $ECHO_N "(cached) $ECHO_C" >&6
31391 else
31392 case $ac_pt_PKG_CONFIG in
31393 [\\/]* | ?:[\\/]*)
31394 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31395 ;;
31396 *)
31397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31398 for as_dir in $PATH
31399 do
31400 IFS=$as_save_IFS
31401 test -z "$as_dir" && as_dir=.
31402 for ac_exec_ext in '' $ac_executable_extensions; do
31403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31404 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31406 break 2
31407 fi
31408 done
31409 done
31410 IFS=$as_save_IFS
31411
31412 ;;
31413 esac
31414 fi
31415 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31416 if test -n "$ac_pt_PKG_CONFIG"; then
31417 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31418 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31419 else
31420 { echo "$as_me:$LINENO: result: no" >&5
31421 echo "${ECHO_T}no" >&6; }
31422 fi
31423
31424 if test "x$ac_pt_PKG_CONFIG" = x; then
31425 PKG_CONFIG=""
31426 else
31427 case $cross_compiling:$ac_tool_warned in
31428 yes:)
31429 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31430 whose name does not start with the host triplet. If you think this
31431 configuration is useful to you, please write to autoconf@gnu.org." >&5
31432 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31433 whose name does not start with the host triplet. If you think this
31434 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31435 ac_tool_warned=yes ;;
31436 esac
31437 PKG_CONFIG=$ac_pt_PKG_CONFIG
31438 fi
31439 else
31440 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31441 fi
31442
31443 fi
31444 if test -n "$PKG_CONFIG"; then
31445 _pkg_min_version=0.9.0
31446 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31447 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31448 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31449 { echo "$as_me:$LINENO: result: yes" >&5
31450 echo "${ECHO_T}yes" >&6; }
31451 else
31452 { echo "$as_me:$LINENO: result: no" >&5
31453 echo "${ECHO_T}no" >&6; }
31454 PKG_CONFIG=""
31455 fi
31456
31457 fi
31458
31459
31460 pkg_failed=no
31461 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31462 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31463
31464 if test -n "$PKG_CONFIG"; then
31465 if test -n "$PANGOX_CFLAGS"; then
31466 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31467 else
31468 if test -n "$PKG_CONFIG" && \
31469 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31470 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31471 ac_status=$?
31472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473 (exit $ac_status); }; then
31474 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31475 else
31476 pkg_failed=yes
31477 fi
31478 fi
31479 else
31480 pkg_failed=untried
31481 fi
31482 if test -n "$PKG_CONFIG"; then
31483 if test -n "$PANGOX_LIBS"; then
31484 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31485 else
31486 if test -n "$PKG_CONFIG" && \
31487 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31488 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31489 ac_status=$?
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); }; then
31492 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31493 else
31494 pkg_failed=yes
31495 fi
31496 fi
31497 else
31498 pkg_failed=untried
31499 fi
31500
31501
31502
31503 if test $pkg_failed = yes; then
31504
31505 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31506 _pkg_short_errors_supported=yes
31507 else
31508 _pkg_short_errors_supported=no
31509 fi
31510 if test $_pkg_short_errors_supported = yes; then
31511 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31512 else
31513 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31514 fi
31515 # Put the nasty error message in config.log where it belongs
31516 echo "$PANGOX_PKG_ERRORS" >&5
31517
31518
31519 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31520 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31521 { (exit 1); exit 1; }; }
31522
31523
31524 elif test $pkg_failed = untried; then
31525
31526 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31527 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31528 { (exit 1); exit 1; }; }
31529
31530
31531 else
31532 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31533 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31534 { echo "$as_me:$LINENO: result: yes" >&5
31535 echo "${ECHO_T}yes" >&6; }
31536
31537 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31538 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31539 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31540
31541 fi
31542
31543 pkg_failed=no
31544 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31545 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31546
31547 if test -n "$PKG_CONFIG"; then
31548 if test -n "$PANGOFT2_CFLAGS"; then
31549 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31550 else
31551 if test -n "$PKG_CONFIG" && \
31552 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31553 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31554 ac_status=$?
31555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31556 (exit $ac_status); }; then
31557 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31558 else
31559 pkg_failed=yes
31560 fi
31561 fi
31562 else
31563 pkg_failed=untried
31564 fi
31565 if test -n "$PKG_CONFIG"; then
31566 if test -n "$PANGOFT2_LIBS"; then
31567 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31568 else
31569 if test -n "$PKG_CONFIG" && \
31570 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31571 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31572 ac_status=$?
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); }; then
31575 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31576 else
31577 pkg_failed=yes
31578 fi
31579 fi
31580 else
31581 pkg_failed=untried
31582 fi
31583
31584
31585
31586 if test $pkg_failed = yes; then
31587
31588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31589 _pkg_short_errors_supported=yes
31590 else
31591 _pkg_short_errors_supported=no
31592 fi
31593 if test $_pkg_short_errors_supported = yes; then
31594 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31595 else
31596 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31597 fi
31598 # Put the nasty error message in config.log where it belongs
31599 echo "$PANGOFT2_PKG_ERRORS" >&5
31600
31601
31602 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31603 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31604 wxUSE_PRINTING_ARCHITECTURE="no"
31605
31606
31607 elif test $pkg_failed = untried; then
31608
31609 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31610 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31611 wxUSE_PRINTING_ARCHITECTURE="no"
31612
31613
31614 else
31615 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31616 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31617 { echo "$as_me:$LINENO: result: yes" >&5
31618 echo "${ECHO_T}yes" >&6; }
31619
31620 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31621 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31622 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31623
31624 fi
31625
31626 pkg_failed=no
31627 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31628 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31629
31630 if test -n "$PKG_CONFIG"; then
31631 if test -n "$PANGOXFT_CFLAGS"; then
31632 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31633 else
31634 if test -n "$PKG_CONFIG" && \
31635 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31636 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31637 ac_status=$?
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); }; then
31640 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31641 else
31642 pkg_failed=yes
31643 fi
31644 fi
31645 else
31646 pkg_failed=untried
31647 fi
31648 if test -n "$PKG_CONFIG"; then
31649 if test -n "$PANGOXFT_LIBS"; then
31650 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31651 else
31652 if test -n "$PKG_CONFIG" && \
31653 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31654 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31655 ac_status=$?
31656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31657 (exit $ac_status); }; then
31658 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31659 else
31660 pkg_failed=yes
31661 fi
31662 fi
31663 else
31664 pkg_failed=untried
31665 fi
31666
31667
31668
31669 if test $pkg_failed = yes; then
31670
31671 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31672 _pkg_short_errors_supported=yes
31673 else
31674 _pkg_short_errors_supported=no
31675 fi
31676 if test $_pkg_short_errors_supported = yes; then
31677 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31678 else
31679 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31680 fi
31681 # Put the nasty error message in config.log where it belongs
31682 echo "$PANGOXFT_PKG_ERRORS" >&5
31683
31684
31685 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31686 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31687
31688
31689 elif test $pkg_failed = untried; then
31690
31691 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31692 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31693
31694
31695 else
31696 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31697 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31698 { echo "$as_me:$LINENO: result: yes" >&5
31699 echo "${ECHO_T}yes" >&6; }
31700
31701 cat >>confdefs.h <<\_ACEOF
31702 #define HAVE_PANGO_XFT 1
31703 _ACEOF
31704
31705 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31706 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31707 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31708
31709 fi
31710 save_LIBS="$LIBS"
31711 LIBS="$LIBS $PANGOX_LIBS"
31712
31713 for ac_func in pango_font_family_is_monospace
31714 do
31715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31716 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31718 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31719 echo $ECHO_N "(cached) $ECHO_C" >&6
31720 else
31721 cat >conftest.$ac_ext <<_ACEOF
31722 /* confdefs.h. */
31723 _ACEOF
31724 cat confdefs.h >>conftest.$ac_ext
31725 cat >>conftest.$ac_ext <<_ACEOF
31726 /* end confdefs.h. */
31727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31729 #define $ac_func innocuous_$ac_func
31730
31731 /* System header to define __stub macros and hopefully few prototypes,
31732 which can conflict with char $ac_func (); below.
31733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31734 <limits.h> exists even on freestanding compilers. */
31735
31736 #ifdef __STDC__
31737 # include <limits.h>
31738 #else
31739 # include <assert.h>
31740 #endif
31741
31742 #undef $ac_func
31743
31744 /* Override any GCC internal prototype to avoid an error.
31745 Use char because int might match the return type of a GCC
31746 builtin and then its argument prototype would still apply. */
31747 #ifdef __cplusplus
31748 extern "C"
31749 #endif
31750 char $ac_func ();
31751 /* The GNU C library defines this for functions which it implements
31752 to always fail with ENOSYS. Some functions are actually named
31753 something starting with __ and the normal name is an alias. */
31754 #if defined __stub_$ac_func || defined __stub___$ac_func
31755 choke me
31756 #endif
31757
31758 int
31759 main ()
31760 {
31761 return $ac_func ();
31762 ;
31763 return 0;
31764 }
31765 _ACEOF
31766 rm -f conftest.$ac_objext conftest$ac_exeext
31767 if { (ac_try="$ac_link"
31768 case "(($ac_try" in
31769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31770 *) ac_try_echo=$ac_try;;
31771 esac
31772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31773 (eval "$ac_link") 2>conftest.er1
31774 ac_status=$?
31775 grep -v '^ *+' conftest.er1 >conftest.err
31776 rm -f conftest.er1
31777 cat conftest.err >&5
31778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779 (exit $ac_status); } && {
31780 test -z "$ac_c_werror_flag" ||
31781 test ! -s conftest.err
31782 } && test -s conftest$ac_exeext &&
31783 $as_test_x conftest$ac_exeext; then
31784 eval "$as_ac_var=yes"
31785 else
31786 echo "$as_me: failed program was:" >&5
31787 sed 's/^/| /' conftest.$ac_ext >&5
31788
31789 eval "$as_ac_var=no"
31790 fi
31791
31792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31793 conftest$ac_exeext conftest.$ac_ext
31794 fi
31795 ac_res=`eval echo '${'$as_ac_var'}'`
31796 { echo "$as_me:$LINENO: result: $ac_res" >&5
31797 echo "${ECHO_T}$ac_res" >&6; }
31798 if test `eval echo '${'$as_ac_var'}'` = yes; then
31799 cat >>confdefs.h <<_ACEOF
31800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31801 _ACEOF
31802
31803 fi
31804 done
31805
31806 LIBS="$save_LIBS"
31807 fi
31808
31809 wxUSE_UNIVERSAL="yes"
31810
31811 if test "$wxUSE_NANOX" = "yes"; then
31812 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31813 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"
31814 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31815 else
31816 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31817 fi
31818
31819 TOOLKIT=X11
31820 GUIDIST=X11_DIST
31821 fi
31822
31823 if test "$wxUSE_MOTIF" = 1; then
31824 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31825 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31826
31827 ac_find_includes=
31828 for ac_dir in $SEARCH_INCLUDE /usr/include;
31829 do
31830 if test -f "$ac_dir/Xm/Xm.h"; then
31831 ac_find_includes=$ac_dir
31832 break
31833 fi
31834 done
31835
31836 if test "$ac_find_includes" != "" ; then
31837 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31838 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31839
31840 if test "x$ac_find_includes" = "x/usr/include"; then
31841 ac_path_to_include=""
31842 else
31843 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31844 result=$?
31845 if test $result = 0; then
31846 ac_path_to_include=""
31847 else
31848 ac_path_to_include=" -I$ac_find_includes"
31849 fi
31850 fi
31851
31852 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31853 else
31854 save_CFLAGS=$CFLAGS
31855 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31856
31857 cat >conftest.$ac_ext <<_ACEOF
31858 /* confdefs.h. */
31859 _ACEOF
31860 cat confdefs.h >>conftest.$ac_ext
31861 cat >>conftest.$ac_ext <<_ACEOF
31862 /* end confdefs.h. */
31863
31864 #include <Xm/Xm.h>
31865
31866 int
31867 main ()
31868 {
31869
31870 int version;
31871 version = xmUseVersion;
31872
31873 ;
31874 return 0;
31875 }
31876 _ACEOF
31877 rm -f conftest.$ac_objext
31878 if { (ac_try="$ac_compile"
31879 case "(($ac_try" in
31880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31881 *) ac_try_echo=$ac_try;;
31882 esac
31883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31884 (eval "$ac_compile") 2>conftest.er1
31885 ac_status=$?
31886 grep -v '^ *+' conftest.er1 >conftest.err
31887 rm -f conftest.er1
31888 cat conftest.err >&5
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); } && {
31891 test -z "$ac_c_werror_flag" ||
31892 test ! -s conftest.err
31893 } && test -s conftest.$ac_objext; then
31894
31895 { echo "$as_me:$LINENO: result: found in default search path" >&5
31896 echo "${ECHO_T}found in default search path" >&6; }
31897 COMPILED_X_PROGRAM=1
31898
31899 else
31900 echo "$as_me: failed program was:" >&5
31901 sed 's/^/| /' conftest.$ac_ext >&5
31902
31903
31904 { echo "$as_me:$LINENO: result: no" >&5
31905 echo "${ECHO_T}no" >&6; }
31906 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31907 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31908 { (exit 1); exit 1; }; }
31909
31910
31911 fi
31912
31913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31914
31915 CFLAGS=$save_CFLAGS
31916 fi
31917
31918
31919 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31920 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31921
31922 ac_find_libraries=
31923 for ac_dir in $SEARCH_LIB;
31924 do
31925 for ac_extension in a so sl dylib dll.a; do
31926 if test -f "$ac_dir/libXm.$ac_extension"; then
31927 ac_find_libraries=$ac_dir
31928 break 2
31929 fi
31930 done
31931 done
31932
31933
31934 if test "x$ac_find_libraries" != "x" ; then
31935 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31936 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31937
31938
31939 if test "$ac_find_libraries" = "default location"; then
31940 ac_path_to_link=""
31941 else
31942 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31943 result=$?
31944 if test $result = 0; then
31945 ac_path_to_link=""
31946 else
31947 ac_path_to_link=" -L$ac_find_libraries"
31948 fi
31949 fi
31950
31951 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31952 else
31953 save_CFLAGS=$CFLAGS
31954 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31955 save_LIBS="$LIBS"
31956 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31957
31958 cat >conftest.$ac_ext <<_ACEOF
31959 /* confdefs.h. */
31960 _ACEOF
31961 cat confdefs.h >>conftest.$ac_ext
31962 cat >>conftest.$ac_ext <<_ACEOF
31963 /* end confdefs.h. */
31964
31965 #include <Xm/Xm.h>
31966
31967 int
31968 main ()
31969 {
31970
31971 int version;
31972 version = xmUseVersion;
31973
31974 ;
31975 return 0;
31976 }
31977 _ACEOF
31978 rm -f conftest.$ac_objext conftest$ac_exeext
31979 if { (ac_try="$ac_link"
31980 case "(($ac_try" in
31981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31982 *) ac_try_echo=$ac_try;;
31983 esac
31984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31985 (eval "$ac_link") 2>conftest.er1
31986 ac_status=$?
31987 grep -v '^ *+' conftest.er1 >conftest.err
31988 rm -f conftest.er1
31989 cat conftest.err >&5
31990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 (exit $ac_status); } && {
31992 test -z "$ac_c_werror_flag" ||
31993 test ! -s conftest.err
31994 } && test -s conftest$ac_exeext &&
31995 $as_test_x conftest$ac_exeext; then
31996
31997 { echo "$as_me:$LINENO: result: found in default search path" >&5
31998 echo "${ECHO_T}found in default search path" >&6; }
31999 COMPILED_X_PROGRAM=1
32000
32001 else
32002 echo "$as_me: failed program was:" >&5
32003 sed 's/^/| /' conftest.$ac_ext >&5
32004
32005
32006 { echo "$as_me:$LINENO: result: no" >&5
32007 echo "${ECHO_T}no" >&6; }
32008 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32009 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32010 { (exit 1); exit 1; }; }
32011
32012
32013 fi
32014
32015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32016 conftest$ac_exeext conftest.$ac_ext
32017
32018 CFLAGS=$save_CFLAGS
32019 LIBS="$save_LIBS"
32020 fi
32021
32022 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32023 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32024 libp_link=""
32025 libsm_ice_link=""
32026 libs_found=0
32027 for libp in "" " -lXp"; do
32028 if test "$libs_found" = 0; then
32029 for libsm_ice in "" " -lSM -lICE"; do
32030 if test "$libs_found" = 0; then
32031 save_LIBS="$LIBS"
32032 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32033 save_CFLAGS=$CFLAGS
32034 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32035
32036 cat >conftest.$ac_ext <<_ACEOF
32037 /* confdefs.h. */
32038 _ACEOF
32039 cat confdefs.h >>conftest.$ac_ext
32040 cat >>conftest.$ac_ext <<_ACEOF
32041 /* end confdefs.h. */
32042
32043 #include <Xm/Xm.h>
32044 #include <Xm/List.h>
32045
32046 int
32047 main ()
32048 {
32049
32050 XmString string = NULL;
32051 Widget w = NULL;
32052 int position = 0;
32053 XmListAddItem(w, string, position);
32054
32055 ;
32056 return 0;
32057 }
32058 _ACEOF
32059 rm -f conftest.$ac_objext conftest$ac_exeext
32060 if { (ac_try="$ac_link"
32061 case "(($ac_try" in
32062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32063 *) ac_try_echo=$ac_try;;
32064 esac
32065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32066 (eval "$ac_link") 2>conftest.er1
32067 ac_status=$?
32068 grep -v '^ *+' conftest.er1 >conftest.err
32069 rm -f conftest.er1
32070 cat conftest.err >&5
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); } && {
32073 test -z "$ac_c_werror_flag" ||
32074 test ! -s conftest.err
32075 } && test -s conftest$ac_exeext &&
32076 $as_test_x conftest$ac_exeext; then
32077
32078 libp_link="$libp"
32079 libsm_ice_link="$libsm_ice"
32080 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32081 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32082 libs_found=1
32083
32084 else
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.$ac_ext >&5
32087
32088
32089
32090 fi
32091
32092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32093 conftest$ac_exeext conftest.$ac_ext
32094
32095 LIBS="$save_LIBS"
32096 CFLAGS=$save_CFLAGS
32097 fi
32098 done
32099 fi
32100 done
32101
32102 if test "$libs_found" = 0; then
32103 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32104 echo "${ECHO_T}can't find the right libraries" >&6; }
32105 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32106 echo "$as_me: error: can't link a simple motif program" >&2;}
32107 { (exit 1); exit 1; }; }
32108 fi
32109
32110 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32111 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32112 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32113 echo $ECHO_N "(cached) $ECHO_C" >&6
32114 else
32115 ac_check_lib_save_LIBS=$LIBS
32116 LIBS="-lSgm $LIBS"
32117 cat >conftest.$ac_ext <<_ACEOF
32118 /* confdefs.h. */
32119 _ACEOF
32120 cat confdefs.h >>conftest.$ac_ext
32121 cat >>conftest.$ac_ext <<_ACEOF
32122 /* end confdefs.h. */
32123
32124 /* Override any GCC internal prototype to avoid an error.
32125 Use char because int might match the return type of a GCC
32126 builtin and then its argument prototype would still apply. */
32127 #ifdef __cplusplus
32128 extern "C"
32129 #endif
32130 char SgCreateList ();
32131 int
32132 main ()
32133 {
32134 return SgCreateList ();
32135 ;
32136 return 0;
32137 }
32138 _ACEOF
32139 rm -f conftest.$ac_objext conftest$ac_exeext
32140 if { (ac_try="$ac_link"
32141 case "(($ac_try" in
32142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32143 *) ac_try_echo=$ac_try;;
32144 esac
32145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32146 (eval "$ac_link") 2>conftest.er1
32147 ac_status=$?
32148 grep -v '^ *+' conftest.er1 >conftest.err
32149 rm -f conftest.er1
32150 cat conftest.err >&5
32151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32152 (exit $ac_status); } && {
32153 test -z "$ac_c_werror_flag" ||
32154 test ! -s conftest.err
32155 } && test -s conftest$ac_exeext &&
32156 $as_test_x conftest$ac_exeext; then
32157 ac_cv_lib_Sgm_SgCreateList=yes
32158 else
32159 echo "$as_me: failed program was:" >&5
32160 sed 's/^/| /' conftest.$ac_ext >&5
32161
32162 ac_cv_lib_Sgm_SgCreateList=no
32163 fi
32164
32165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32166 conftest$ac_exeext conftest.$ac_ext
32167 LIBS=$ac_check_lib_save_LIBS
32168 fi
32169 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32170 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32171 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32172 libsgm_link=" -lSgm"
32173 fi
32174
32175
32176 save_CFLAGS=$CFLAGS
32177 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32178
32179 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32180 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32181 if test "${wx_cv_lib_motif2+set}" = set; then
32182 echo $ECHO_N "(cached) $ECHO_C" >&6
32183 else
32184 cat >conftest.$ac_ext <<_ACEOF
32185 /* confdefs.h. */
32186 _ACEOF
32187 cat confdefs.h >>conftest.$ac_ext
32188 cat >>conftest.$ac_ext <<_ACEOF
32189 /* end confdefs.h. */
32190
32191 #include <Xm/Xm.h>
32192
32193 int
32194 main ()
32195 {
32196
32197 #if XmVersion < 2000
32198 Not Motif 2
32199 #endif
32200
32201 ;
32202 return 0;
32203 }
32204 _ACEOF
32205 rm -f conftest.$ac_objext
32206 if { (ac_try="$ac_compile"
32207 case "(($ac_try" in
32208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32209 *) ac_try_echo=$ac_try;;
32210 esac
32211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32212 (eval "$ac_compile") 2>conftest.er1
32213 ac_status=$?
32214 grep -v '^ *+' conftest.er1 >conftest.err
32215 rm -f conftest.er1
32216 cat conftest.err >&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } && {
32219 test -z "$ac_c_werror_flag" ||
32220 test ! -s conftest.err
32221 } && test -s conftest.$ac_objext; then
32222 wx_cv_lib_motif2="yes"
32223 else
32224 echo "$as_me: failed program was:" >&5
32225 sed 's/^/| /' conftest.$ac_ext >&5
32226
32227 wx_cv_lib_motif2="no"
32228 fi
32229
32230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32231 fi
32232 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32233 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32234 if test "$wx_cv_lib_motif2" = "yes"; then
32235 cat >>confdefs.h <<\_ACEOF
32236 #define __WXMOTIF20__ 1
32237 _ACEOF
32238
32239 else
32240 cat >>confdefs.h <<\_ACEOF
32241 #define __WXMOTIF20__ 0
32242 _ACEOF
32243
32244 fi
32245
32246 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32247 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32248 if test "${wx_cv_lib_lesstif+set}" = set; then
32249 echo $ECHO_N "(cached) $ECHO_C" >&6
32250 else
32251 cat >conftest.$ac_ext <<_ACEOF
32252 /* confdefs.h. */
32253 _ACEOF
32254 cat confdefs.h >>conftest.$ac_ext
32255 cat >>conftest.$ac_ext <<_ACEOF
32256 /* end confdefs.h. */
32257
32258 #include <Xm/Xm.h>
32259
32260 int
32261 main ()
32262 {
32263
32264 #if !defined(LesstifVersion) || LesstifVersion <= 0
32265 Not Lesstif
32266 #endif
32267
32268 ;
32269 return 0;
32270 }
32271 _ACEOF
32272 rm -f conftest.$ac_objext
32273 if { (ac_try="$ac_compile"
32274 case "(($ac_try" in
32275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32276 *) ac_try_echo=$ac_try;;
32277 esac
32278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32279 (eval "$ac_compile") 2>conftest.er1
32280 ac_status=$?
32281 grep -v '^ *+' conftest.er1 >conftest.err
32282 rm -f conftest.er1
32283 cat conftest.err >&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } && {
32286 test -z "$ac_c_werror_flag" ||
32287 test ! -s conftest.err
32288 } && test -s conftest.$ac_objext; then
32289 wx_cv_lib_lesstif="yes"
32290 else
32291 echo "$as_me: failed program was:" >&5
32292 sed 's/^/| /' conftest.$ac_ext >&5
32293
32294 wx_cv_lib_lesstif="no"
32295 fi
32296
32297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32298
32299 fi
32300 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32301 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32302 if test "$wx_cv_lib_lesstif" = "yes"; then
32303 cat >>confdefs.h <<\_ACEOF
32304 #define __WXLESSTIF__ 1
32305 _ACEOF
32306
32307 else
32308 cat >>confdefs.h <<\_ACEOF
32309 #define __WXLESSTIF__ 0
32310 _ACEOF
32311
32312 fi
32313
32314 CFLAGS=$save_CFLAGS
32315
32316 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32317 TOOLKIT=MOTIF
32318 GUIDIST=MOTIF_DIST
32319 fi
32320
32321 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32322 if test "$wxUSE_LIBXPM" = "sys"; then
32323 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32324 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32325
32326 ac_find_libraries=
32327 for ac_dir in $SEARCH_LIB;
32328 do
32329 for ac_extension in a so sl dylib dll.a; do
32330 if test -f "$ac_dir/libXpm.$ac_extension"; then
32331 ac_find_libraries=$ac_dir
32332 break 2
32333 fi
32334 done
32335 done
32336
32337 if test "$ac_find_libraries" != "" ; then
32338
32339 if test "$ac_find_libraries" = "default location"; then
32340 ac_path_to_link=""
32341 else
32342 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32343 result=$?
32344 if test $result = 0; then
32345 ac_path_to_link=""
32346 else
32347 ac_path_to_link=" -L$ac_find_libraries"
32348 fi
32349 fi
32350
32351 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32352 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32353 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32354
32355 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32356 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32357 if test "${wx_cv_x11_xpm_h+set}" = set; then
32358 echo $ECHO_N "(cached) $ECHO_C" >&6
32359 else
32360
32361 save_CFLAGS=$CFLAGS
32362 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32363
32364 cat >conftest.$ac_ext <<_ACEOF
32365 /* confdefs.h. */
32366 _ACEOF
32367 cat confdefs.h >>conftest.$ac_ext
32368 cat >>conftest.$ac_ext <<_ACEOF
32369 /* end confdefs.h. */
32370
32371 #include <X11/xpm.h>
32372
32373 int
32374 main ()
32375 {
32376
32377 int version;
32378 version = XpmLibraryVersion();
32379
32380 ;
32381 return 0;
32382 }
32383 _ACEOF
32384 rm -f conftest.$ac_objext
32385 if { (ac_try="$ac_compile"
32386 case "(($ac_try" in
32387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32388 *) ac_try_echo=$ac_try;;
32389 esac
32390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32391 (eval "$ac_compile") 2>conftest.er1
32392 ac_status=$?
32393 grep -v '^ *+' conftest.er1 >conftest.err
32394 rm -f conftest.er1
32395 cat conftest.err >&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); } && {
32398 test -z "$ac_c_werror_flag" ||
32399 test ! -s conftest.err
32400 } && test -s conftest.$ac_objext; then
32401 wx_cv_x11_xpm_h=yes
32402 else
32403 echo "$as_me: failed program was:" >&5
32404 sed 's/^/| /' conftest.$ac_ext >&5
32405
32406 wx_cv_x11_xpm_h=no
32407
32408 fi
32409
32410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32411
32412 CFLAGS=$save_CFLAGS
32413
32414
32415 fi
32416 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32417 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32418
32419 if test $wx_cv_x11_xpm_h = "yes"; then
32420 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32421 cat >>confdefs.h <<\_ACEOF
32422 #define wxHAVE_LIB_XPM 1
32423 _ACEOF
32424
32425 else
32426 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32427 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32428 fi
32429 fi
32430
32431 fi
32432
32433 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32434 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32435 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32437 else
32438 ac_check_lib_save_LIBS=$LIBS
32439 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32440 cat >conftest.$ac_ext <<_ACEOF
32441 /* confdefs.h. */
32442 _ACEOF
32443 cat confdefs.h >>conftest.$ac_ext
32444 cat >>conftest.$ac_ext <<_ACEOF
32445 /* end confdefs.h. */
32446
32447 /* Override any GCC internal prototype to avoid an error.
32448 Use char because int might match the return type of a GCC
32449 builtin and then its argument prototype would still apply. */
32450 #ifdef __cplusplus
32451 extern "C"
32452 #endif
32453 char XShapeQueryExtension ();
32454 int
32455 main ()
32456 {
32457 return XShapeQueryExtension ();
32458 ;
32459 return 0;
32460 }
32461 _ACEOF
32462 rm -f conftest.$ac_objext conftest$ac_exeext
32463 if { (ac_try="$ac_link"
32464 case "(($ac_try" in
32465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32466 *) ac_try_echo=$ac_try;;
32467 esac
32468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32469 (eval "$ac_link") 2>conftest.er1
32470 ac_status=$?
32471 grep -v '^ *+' conftest.er1 >conftest.err
32472 rm -f conftest.er1
32473 cat conftest.err >&5
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); } && {
32476 test -z "$ac_c_werror_flag" ||
32477 test ! -s conftest.err
32478 } && test -s conftest$ac_exeext &&
32479 $as_test_x conftest$ac_exeext; then
32480 ac_cv_lib_Xext_XShapeQueryExtension=yes
32481 else
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32484
32485 ac_cv_lib_Xext_XShapeQueryExtension=no
32486 fi
32487
32488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32489 conftest$ac_exeext conftest.$ac_ext
32490 LIBS=$ac_check_lib_save_LIBS
32491 fi
32492 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32493 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32494 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32495
32496 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32497 wxHAVE_XEXT_LIB=1
32498
32499 fi
32500
32501
32502 if test "$wxHAVE_XEXT_LIB" = 1; then
32503 save_CFLAGS="$CFLAGS"
32504 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32505
32506 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32507 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32508 cat >conftest.$ac_ext <<_ACEOF
32509 /* confdefs.h. */
32510 _ACEOF
32511 cat confdefs.h >>conftest.$ac_ext
32512 cat >>conftest.$ac_ext <<_ACEOF
32513 /* end confdefs.h. */
32514
32515 #include <X11/Xlib.h>
32516 #include <X11/extensions/shape.h>
32517
32518 int
32519 main ()
32520 {
32521
32522 int dummy1, dummy2;
32523 XShapeQueryExtension((Display*)NULL,
32524 (int*)NULL, (int*)NULL);
32525
32526 ;
32527 return 0;
32528 }
32529 _ACEOF
32530 rm -f conftest.$ac_objext
32531 if { (ac_try="$ac_compile"
32532 case "(($ac_try" in
32533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32534 *) ac_try_echo=$ac_try;;
32535 esac
32536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32537 (eval "$ac_compile") 2>conftest.er1
32538 ac_status=$?
32539 grep -v '^ *+' conftest.er1 >conftest.err
32540 rm -f conftest.er1
32541 cat conftest.err >&5
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); } && {
32544 test -z "$ac_c_werror_flag" ||
32545 test ! -s conftest.err
32546 } && test -s conftest.$ac_objext; then
32547
32548 cat >>confdefs.h <<\_ACEOF
32549 #define HAVE_XSHAPE 1
32550 _ACEOF
32551
32552 { echo "$as_me:$LINENO: result: found" >&5
32553 echo "${ECHO_T}found" >&6; }
32554
32555 else
32556 echo "$as_me: failed program was:" >&5
32557 sed 's/^/| /' conftest.$ac_ext >&5
32558
32559
32560 { echo "$as_me:$LINENO: result: not found" >&5
32561 echo "${ECHO_T}not found" >&6; }
32562
32563 fi
32564
32565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32566 CFLAGS="$save_CFLAGS"
32567
32568 fi
32569 fi
32570
32571 if test "$wxUSE_OSX_CARBON" = 1; then
32572 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32573 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32574 if test "$GCC" = yes; then
32575 { echo "$as_me:$LINENO: result: gcc" >&5
32576 echo "${ECHO_T}gcc" >&6; }
32577 CPPFLAGS_PASCAL="-fpascal-strings"
32578 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32579 { echo "$as_me:$LINENO: result: xlc" >&5
32580 echo "${ECHO_T}xlc" >&6; }
32581 CPPFLAGS_PASCAL="-qmacpstr"
32582 else
32583 { echo "$as_me:$LINENO: result: none" >&5
32584 echo "${ECHO_T}none" >&6; }
32585 fi
32586
32587 if test "x$wxUSE_UNIX" = "xyes"; then
32588 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32589 else
32590 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32591 fi
32592
32593 TOOLKIT=OSX_CARBON
32594 GUIDIST=OSX_CARBON_DIST
32595 WXBASEPORT="_carbon"
32596 fi
32597
32598 if test "$wxUSE_OSX_COCOA" = 1; then
32599 TOOLKIT=OSX_COCOA
32600 GUIDIST=OSX_COCOA_DIST
32601 fi
32602
32603 if test "$wxUSE_COCOA" = 1; then
32604 TOOLKIT=COCOA
32605 GUIDIST=COCOA_DIST
32606 fi
32607
32608 if test "$wxUSE_PM" = 1; then
32609 TOOLKIT=PM
32610 GUIDIST=PM_DIST
32611 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32612 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32613 if test "${wx_cv_spbcdata+set}" = set; then
32614 echo $ECHO_N "(cached) $ECHO_C" >&6
32615 else
32616
32617 cat >conftest.$ac_ext <<_ACEOF
32618 /* confdefs.h. */
32619 _ACEOF
32620 cat confdefs.h >>conftest.$ac_ext
32621 cat >>conftest.$ac_ext <<_ACEOF
32622 /* end confdefs.h. */
32623
32624 #define INCL_PM
32625 #include <os2.h>
32626
32627 int
32628 main ()
32629 {
32630
32631 SPBCDATA test;
32632
32633 ;
32634 return 0;
32635 }
32636 _ACEOF
32637 rm -f conftest.$ac_objext
32638 if { (ac_try="$ac_compile"
32639 case "(($ac_try" in
32640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32641 *) ac_try_echo=$ac_try;;
32642 esac
32643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32644 (eval "$ac_compile") 2>conftest.er1
32645 ac_status=$?
32646 grep -v '^ *+' conftest.er1 >conftest.err
32647 rm -f conftest.er1
32648 cat conftest.err >&5
32649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32650 (exit $ac_status); } && {
32651 test -z "$ac_c_werror_flag" ||
32652 test ! -s conftest.err
32653 } && test -s conftest.$ac_objext; then
32654 wx_cv_spbcdata=yes
32655 else
32656 echo "$as_me: failed program was:" >&5
32657 sed 's/^/| /' conftest.$ac_ext >&5
32658
32659 wx_cv_spbcdata=no
32660
32661 fi
32662
32663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32664
32665
32666 fi
32667 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32668 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32669
32670 if test $wx_cv_spbcdata = "yes"; then
32671 cat >>confdefs.h <<\_ACEOF
32672 #define HAVE_SPBCDATA 1
32673 _ACEOF
32674
32675 fi
32676 fi
32677
32678 if test "$TOOLKIT" = "PM" ; then
32679 TOOLKIT_DIR="os2"
32680 else
32681 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32682 fi
32683
32684 if test "$wxUSE_UNIVERSAL" = "yes"; then
32685 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32686 WIDGET_SET=univ
32687 fi
32688
32689 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32690 DISTDIR="wx\$(TOOLKIT)"
32691 else
32692 USE_GUI=0
32693
32694 TOOLKIT_DIR="base"
32695
32696 if test "$USE_WIN32" = 1 ; then
32697 TOOLKIT="MSW"
32698 fi
32699
32700 GUIDIST="BASE_DIST"
32701 DISTDIR="wxBase"
32702 fi
32703
32704
32705
32706 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32707 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32708 wxUSE_UNICODE_UTF8=yes
32709 elif test "$USE_OS2" = 1 ; then
32710 wxUSE_UNICODE_UTF8=yes
32711 else
32712 wxUSE_UNICODE_UTF8=no
32713 fi
32714 fi
32715
32716
32717 if test "$wxUSE_GUI" = "yes"; then
32718 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32719
32720 for ac_header in X11/Xlib.h
32721 do
32722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32723 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32726 echo $ECHO_N "(cached) $ECHO_C" >&6
32727 else
32728 cat >conftest.$ac_ext <<_ACEOF
32729 /* confdefs.h. */
32730 _ACEOF
32731 cat confdefs.h >>conftest.$ac_ext
32732 cat >>conftest.$ac_ext <<_ACEOF
32733 /* end confdefs.h. */
32734
32735
32736 #include <$ac_header>
32737 _ACEOF
32738 rm -f conftest.$ac_objext
32739 if { (ac_try="$ac_compile"
32740 case "(($ac_try" in
32741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32742 *) ac_try_echo=$ac_try;;
32743 esac
32744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32745 (eval "$ac_compile") 2>conftest.er1
32746 ac_status=$?
32747 grep -v '^ *+' conftest.er1 >conftest.err
32748 rm -f conftest.er1
32749 cat conftest.err >&5
32750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32751 (exit $ac_status); } && {
32752 test -z "$ac_c_werror_flag" ||
32753 test ! -s conftest.err
32754 } && test -s conftest.$ac_objext; then
32755 eval "$as_ac_Header=yes"
32756 else
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.$ac_ext >&5
32759
32760 eval "$as_ac_Header=no"
32761 fi
32762
32763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32764 fi
32765 ac_res=`eval echo '${'$as_ac_Header'}'`
32766 { echo "$as_me:$LINENO: result: $ac_res" >&5
32767 echo "${ECHO_T}$ac_res" >&6; }
32768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32769 cat >>confdefs.h <<_ACEOF
32770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32771 _ACEOF
32772
32773 fi
32774
32775 done
32776
32777
32778 for ac_header in X11/XKBlib.h
32779 do
32780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32781 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32783 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32784 echo $ECHO_N "(cached) $ECHO_C" >&6
32785 else
32786 cat >conftest.$ac_ext <<_ACEOF
32787 /* confdefs.h. */
32788 _ACEOF
32789 cat confdefs.h >>conftest.$ac_ext
32790 cat >>conftest.$ac_ext <<_ACEOF
32791 /* end confdefs.h. */
32792
32793 #if HAVE_X11_XLIB_H
32794 #include <X11/Xlib.h>
32795 #endif
32796
32797
32798 #include <$ac_header>
32799 _ACEOF
32800 rm -f conftest.$ac_objext
32801 if { (ac_try="$ac_compile"
32802 case "(($ac_try" in
32803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32804 *) ac_try_echo=$ac_try;;
32805 esac
32806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32807 (eval "$ac_compile") 2>conftest.er1
32808 ac_status=$?
32809 grep -v '^ *+' conftest.er1 >conftest.err
32810 rm -f conftest.er1
32811 cat conftest.err >&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); } && {
32814 test -z "$ac_c_werror_flag" ||
32815 test ! -s conftest.err
32816 } && test -s conftest.$ac_objext; then
32817 eval "$as_ac_Header=yes"
32818 else
32819 echo "$as_me: failed program was:" >&5
32820 sed 's/^/| /' conftest.$ac_ext >&5
32821
32822 eval "$as_ac_Header=no"
32823 fi
32824
32825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32826 fi
32827 ac_res=`eval echo '${'$as_ac_Header'}'`
32828 { echo "$as_me:$LINENO: result: $ac_res" >&5
32829 echo "${ECHO_T}$ac_res" >&6; }
32830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32831 cat >>confdefs.h <<_ACEOF
32832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32833 _ACEOF
32834
32835 fi
32836
32837 done
32838
32839 fi
32840 fi
32841
32842
32843
32844 if test "$wxUSE_DISPLAY" = "yes"; then
32845 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32846 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32847 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32848
32849 ac_find_libraries=
32850 for ac_dir in $SEARCH_LIB;
32851 do
32852 for ac_extension in a so sl dylib dll.a; do
32853 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32854 ac_find_libraries=$ac_dir
32855 break 2
32856 fi
32857 done
32858 done
32859
32860 if test "$ac_find_libraries" != "" ; then
32861
32862 if test "$ac_find_libraries" = "default location"; then
32863 ac_path_to_link=""
32864 else
32865 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32866 result=$?
32867 if test $result = 0; then
32868 ac_path_to_link=""
32869 else
32870 ac_path_to_link=" -L$ac_find_libraries"
32871 fi
32872 fi
32873
32874 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32875 LDFLAGS="$LDFLAGS $ac_path_to_link"
32876 fi
32877 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32878 { echo "$as_me:$LINENO: result: yes" >&5
32879 echo "${ECHO_T}yes" >&6; }
32880
32881 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32882 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32883
32884 ac_find_libraries=
32885 for ac_dir in $SEARCH_LIB;
32886 do
32887 for ac_extension in a so sl dylib dll.a; do
32888 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32889 ac_find_libraries=$ac_dir
32890 break 2
32891 fi
32892 done
32893 done
32894
32895 if test "$ac_find_libraries" != "" ; then
32896 { echo "$as_me:$LINENO: result: yes" >&5
32897 echo "${ECHO_T}yes" >&6; }
32898
32899 for ac_header in X11/extensions/xf86vmode.h
32900 do
32901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32905 echo $ECHO_N "(cached) $ECHO_C" >&6
32906 else
32907 cat >conftest.$ac_ext <<_ACEOF
32908 /* confdefs.h. */
32909 _ACEOF
32910 cat confdefs.h >>conftest.$ac_ext
32911 cat >>conftest.$ac_ext <<_ACEOF
32912 /* end confdefs.h. */
32913
32914 #if HAVE_X11_XLIB_H
32915 #include <X11/Xlib.h>
32916 #endif
32917
32918
32919 #include <$ac_header>
32920 _ACEOF
32921 rm -f conftest.$ac_objext
32922 if { (ac_try="$ac_compile"
32923 case "(($ac_try" in
32924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32925 *) ac_try_echo=$ac_try;;
32926 esac
32927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32928 (eval "$ac_compile") 2>conftest.er1
32929 ac_status=$?
32930 grep -v '^ *+' conftest.er1 >conftest.err
32931 rm -f conftest.er1
32932 cat conftest.err >&5
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); } && {
32935 test -z "$ac_c_werror_flag" ||
32936 test ! -s conftest.err
32937 } && test -s conftest.$ac_objext; then
32938 eval "$as_ac_Header=yes"
32939 else
32940 echo "$as_me: failed program was:" >&5
32941 sed 's/^/| /' conftest.$ac_ext >&5
32942
32943 eval "$as_ac_Header=no"
32944 fi
32945
32946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32947 fi
32948 ac_res=`eval echo '${'$as_ac_Header'}'`
32949 { echo "$as_me:$LINENO: result: $ac_res" >&5
32950 echo "${ECHO_T}$ac_res" >&6; }
32951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32952 cat >>confdefs.h <<_ACEOF
32953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32954 _ACEOF
32955
32956 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32957
32958 fi
32959
32960 done
32961
32962 else
32963 { echo "$as_me:$LINENO: result: no" >&5
32964 echo "${ECHO_T}no" >&6; }
32965 fi
32966
32967 else
32968 { echo "$as_me:$LINENO: result: no" >&5
32969 echo "${ECHO_T}no" >&6; }
32970 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32971 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32972 wxUSE_DISPLAY="no"
32973 fi
32974 elif test "$wxUSE_MSW" = 1; then
32975 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32976 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32977 if test "${ac_cv_header_ddraw_h+set}" = set; then
32978 echo $ECHO_N "(cached) $ECHO_C" >&6
32979 else
32980 cat >conftest.$ac_ext <<_ACEOF
32981 /* confdefs.h. */
32982 _ACEOF
32983 cat confdefs.h >>conftest.$ac_ext
32984 cat >>conftest.$ac_ext <<_ACEOF
32985 /* end confdefs.h. */
32986 #include <windows.h>
32987
32988 #include <ddraw.h>
32989 _ACEOF
32990 rm -f conftest.$ac_objext
32991 if { (ac_try="$ac_compile"
32992 case "(($ac_try" in
32993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32994 *) ac_try_echo=$ac_try;;
32995 esac
32996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32997 (eval "$ac_compile") 2>conftest.er1
32998 ac_status=$?
32999 grep -v '^ *+' conftest.er1 >conftest.err
33000 rm -f conftest.er1
33001 cat conftest.err >&5
33002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33003 (exit $ac_status); } && {
33004 test -z "$ac_c_werror_flag" ||
33005 test ! -s conftest.err
33006 } && test -s conftest.$ac_objext; then
33007 ac_cv_header_ddraw_h=yes
33008 else
33009 echo "$as_me: failed program was:" >&5
33010 sed 's/^/| /' conftest.$ac_ext >&5
33011
33012 ac_cv_header_ddraw_h=no
33013 fi
33014
33015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33016 fi
33017 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33018 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33019
33020
33021 fi
33022 fi
33023
33024 if test "$wxUSE_DETECT_SM" = "yes"; then
33025 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33026 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33027 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33028
33029 ac_find_libraries=
33030 for ac_dir in $SEARCH_LIB;
33031 do
33032 for ac_extension in a so sl dylib dll.a; do
33033 if test -f "$ac_dir/libSM.$ac_extension"; then
33034 ac_find_libraries=$ac_dir
33035 break 2
33036 fi
33037 done
33038 done
33039
33040 if test "$ac_find_libraries" != "" ; then
33041
33042 if test "$ac_find_libraries" = "default location"; then
33043 ac_path_to_link=""
33044 else
33045 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33046 result=$?
33047 if test $result = 0; then
33048 ac_path_to_link=""
33049 else
33050 ac_path_to_link=" -L$ac_find_libraries"
33051 fi
33052 fi
33053
33054 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33055 LDFLAGS="$LDFLAGS $ac_path_to_link"
33056 fi
33057 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33058 { echo "$as_me:$LINENO: result: yes" >&5
33059 echo "${ECHO_T}yes" >&6; }
33060 else
33061 { echo "$as_me:$LINENO: result: no" >&5
33062 echo "${ECHO_T}no" >&6; }
33063 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33064 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33065 wxUSE_DETECT_SM="no"
33066 fi
33067 else
33068 wxUSE_DETECT_SM="no"
33069 fi
33070 fi
33071
33072
33073
33074 USE_OPENGL=0
33075 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33076
33077
33078 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33079 OPENGL_LIBS="-framework OpenGL -framework AGL"
33080 elif test "$wxUSE_MSW" = 1; then
33081 OPENGL_LIBS="-lopengl32 -lglu32"
33082 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33083
33084 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33085 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33086
33087 ac_find_includes=
33088 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33089 do
33090 if test -f "$ac_dir/GL/gl.h"; then
33091 ac_find_includes=$ac_dir
33092 break
33093 fi
33094 done
33095
33096 if test "$ac_find_includes" != "" ; then
33097 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33098 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33099
33100 if test "x$ac_find_includes" = "x/usr/include"; then
33101 ac_path_to_include=""
33102 else
33103 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33104 result=$?
33105 if test $result = 0; then
33106 ac_path_to_include=""
33107 else
33108 ac_path_to_include=" -I$ac_find_includes"
33109 fi
33110 fi
33111
33112 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33113 else
33114 { echo "$as_me:$LINENO: result: not found" >&5
33115 echo "${ECHO_T}not found" >&6; }
33116 fi
33117
33118 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33119 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33120 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33122 else
33123 cat >conftest.$ac_ext <<_ACEOF
33124 /* confdefs.h. */
33125 _ACEOF
33126 cat confdefs.h >>conftest.$ac_ext
33127 cat >>conftest.$ac_ext <<_ACEOF
33128 /* end confdefs.h. */
33129
33130
33131 #include <GL/gl.h>
33132 _ACEOF
33133 rm -f conftest.$ac_objext
33134 if { (ac_try="$ac_compile"
33135 case "(($ac_try" in
33136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33137 *) ac_try_echo=$ac_try;;
33138 esac
33139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33140 (eval "$ac_compile") 2>conftest.er1
33141 ac_status=$?
33142 grep -v '^ *+' conftest.er1 >conftest.err
33143 rm -f conftest.er1
33144 cat conftest.err >&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); } && {
33147 test -z "$ac_c_werror_flag" ||
33148 test ! -s conftest.err
33149 } && test -s conftest.$ac_objext; then
33150 ac_cv_header_GL_gl_h=yes
33151 else
33152 echo "$as_me: failed program was:" >&5
33153 sed 's/^/| /' conftest.$ac_ext >&5
33154
33155 ac_cv_header_GL_gl_h=no
33156 fi
33157
33158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33159 fi
33160 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33161 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33162 if test $ac_cv_header_GL_gl_h = yes; then
33163
33164 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33165 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33166 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33167 echo $ECHO_N "(cached) $ECHO_C" >&6
33168 else
33169 cat >conftest.$ac_ext <<_ACEOF
33170 /* confdefs.h. */
33171 _ACEOF
33172 cat confdefs.h >>conftest.$ac_ext
33173 cat >>conftest.$ac_ext <<_ACEOF
33174 /* end confdefs.h. */
33175
33176
33177 #include <GL/glu.h>
33178 _ACEOF
33179 rm -f conftest.$ac_objext
33180 if { (ac_try="$ac_compile"
33181 case "(($ac_try" in
33182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33183 *) ac_try_echo=$ac_try;;
33184 esac
33185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33186 (eval "$ac_compile") 2>conftest.er1
33187 ac_status=$?
33188 grep -v '^ *+' conftest.er1 >conftest.err
33189 rm -f conftest.er1
33190 cat conftest.err >&5
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); } && {
33193 test -z "$ac_c_werror_flag" ||
33194 test ! -s conftest.err
33195 } && test -s conftest.$ac_objext; then
33196 ac_cv_header_GL_glu_h=yes
33197 else
33198 echo "$as_me: failed program was:" >&5
33199 sed 's/^/| /' conftest.$ac_ext >&5
33200
33201 ac_cv_header_GL_glu_h=no
33202 fi
33203
33204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33205 fi
33206 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33207 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33208 if test $ac_cv_header_GL_glu_h = yes; then
33209
33210 found_gl=0
33211
33212 { echo "$as_me:$LINENO: checking for -lGL" >&5
33213 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33214
33215 ac_find_libraries=
33216 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33217 do
33218 for ac_extension in a so sl dylib dll.a; do
33219 if test -f "$ac_dir/libGL.$ac_extension"; then
33220 ac_find_libraries=$ac_dir
33221 break 2
33222 fi
33223 done
33224 done
33225
33226 if test "$ac_find_libraries" != "" ; then
33227 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33228 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33229
33230
33231 if test "$ac_find_libraries" = "default location"; then
33232 ac_path_to_link=""
33233 else
33234 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33235 result=$?
33236 if test $result = 0; then
33237 ac_path_to_link=""
33238 else
33239 ac_path_to_link=" -L$ac_find_libraries"
33240 fi
33241 fi
33242
33243 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33244 LDFLAGS_GL="$ac_path_to_link"
33245 fi
33246
33247 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33248 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33249
33250 ac_find_libraries=
33251 for ac_dir in $SEARCH_LIB;
33252 do
33253 for ac_extension in a so sl dylib dll.a; do
33254 if test -f "$ac_dir/libGLU.$ac_extension"; then
33255 ac_find_libraries=$ac_dir
33256 break 2
33257 fi
33258 done
33259 done
33260
33261 if test "$ac_find_libraries" != "" ; then
33262
33263 if test "$ac_find_libraries" = "default location"; then
33264 ac_path_to_link=""
33265 else
33266 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33267 result=$?
33268 if test $result = 0; then
33269 ac_path_to_link=""
33270 else
33271 ac_path_to_link=" -L$ac_find_libraries"
33272 fi
33273 fi
33274
33275 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33276 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33277 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33278 fi
33279
33280 found_gl=1
33281 OPENGL_LIBS="-lGL -lGLU"
33282 { echo "$as_me:$LINENO: result: yes" >&5
33283 echo "${ECHO_T}yes" >&6; }
33284 else
33285 { echo "$as_me:$LINENO: result: no" >&5
33286 echo "${ECHO_T}no" >&6; }
33287 fi
33288 else
33289 { echo "$as_me:$LINENO: result: no" >&5
33290 echo "${ECHO_T}no" >&6; }
33291 fi
33292
33293 if test "$found_gl" != 1; then
33294 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33295 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33296
33297 ac_find_libraries=
33298 for ac_dir in $SEARCH_LIB;
33299 do
33300 for ac_extension in a so sl dylib dll.a; do
33301 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33302 ac_find_libraries=$ac_dir
33303 break 2
33304 fi
33305 done
33306 done
33307
33308 if test "$ac_find_libraries" != "" ; then
33309
33310 if test "$ac_find_libraries" = "default location"; then
33311 ac_path_to_link=""
33312 else
33313 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33314 result=$?
33315 if test $result = 0; then
33316 ac_path_to_link=""
33317 else
33318 ac_path_to_link=" -L$ac_find_libraries"
33319 fi
33320 fi
33321
33322 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33323 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33324 { echo "$as_me:$LINENO: result: yes" >&5
33325 echo "${ECHO_T}yes" >&6; }
33326 else
33327 { echo "$as_me:$LINENO: result: no" >&5
33328 echo "${ECHO_T}no" >&6; }
33329 fi
33330 fi
33331
33332 fi
33333
33334
33335
33336 fi
33337
33338
33339
33340 if test "x$OPENGL_LIBS" = "x"; then
33341 if test "$wxUSE_OPENGL" = "yes"; then
33342 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33343 echo "$as_me: error: OpenGL libraries not available" >&2;}
33344 { (exit 1); exit 1; }; }
33345 else
33346 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33347 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33348 wxUSE_OPENGL=no
33349 USE_OPENGL=0
33350 fi
33351 else
33352 wxUSE_OPENGL=yes
33353 fi
33354 else
33355 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33356 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33357 wxUSE_OPENGL="no"
33358 fi
33359
33360 if test "$wxUSE_OPENGL" = "yes"; then
33361 USE_OPENGL=1
33362 cat >>confdefs.h <<\_ACEOF
33363 #define wxUSE_OPENGL 1
33364 _ACEOF
33365
33366 cat >>confdefs.h <<\_ACEOF
33367 #define wxUSE_GLCANVAS 1
33368 _ACEOF
33369
33370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33371 fi
33372 fi
33373
33374
33375 if test -n "$TOOLKIT" ; then
33376 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33377 fi
33378
33379
33380
33381 if test "$wxUSE_SHARED" = "yes"; then
33382 case "${host}" in
33383 *-pc-msdosdjgpp )
33384 wxUSE_SHARED=no
33385 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33386 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33387 ;;
33388 esac
33389 fi
33390
33391 if test "$wxUSE_SHARED" = "yes"; then
33392
33393
33394 case "${host}" in
33395 *-*-cygwin* | *-*-mingw* )
33396 wx_cv_version_script=no
33397 ;;
33398
33399 *)
33400 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33401 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33402 if test "${wx_cv_version_script+set}" = set; then
33403 echo $ECHO_N "(cached) $ECHO_C" >&6
33404 else
33405
33406 echo "VER_1 { *; };" >conftest.sym
33407 echo "int main() { return 0; }" >conftest.cpp
33408
33409 if { ac_try='
33410 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33411 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33413 (eval $ac_try) 2>&5
33414 ac_status=$?
33415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33416 (exit $ac_status); }; } ; then
33417 if test -s conftest.stderr ; then
33418 wx_cv_version_script=no
33419 else
33420 wx_cv_version_script=yes
33421 fi
33422 else
33423 wx_cv_version_script=no
33424 fi
33425
33426 if test $wx_cv_version_script = yes
33427 then
33428 echo "struct B { virtual ~B() { } }; \
33429 struct D : public B { }; \
33430 void F() { D d; }" > conftest.cpp
33431
33432 if { ac_try='
33433 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33434 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33436 (eval $ac_try) 2>&5
33437 ac_status=$?
33438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439 (exit $ac_status); }; } &&
33440 { ac_try='
33441 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33442 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33444 (eval $ac_try) 2>&5
33445 ac_status=$?
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; }
33448 then
33449 if { ac_try='
33450 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33451 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33454 ac_status=$?
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; }
33457 then
33458 wx_cv_version_script=yes
33459 else
33460 wx_cv_version_script=no
33461 fi
33462 fi
33463 fi
33464
33465 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33466 rm -f conftest1.output conftest2.output conftest3.output
33467
33468 fi
33469 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33470 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33471
33472 if test $wx_cv_version_script = yes ; then
33473 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33474 fi
33475 ;;
33476 esac
33477
33478
33479 if test "$wxUSE_VISIBILITY" != "no"; then
33480
33481
33482 if test -n "$GCC"; then
33483 CFLAGS_VISIBILITY="-fvisibility=hidden"
33484 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33485 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33486 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33487 if test "${wx_cv_cc_visibility+set}" = set; then
33488 echo $ECHO_N "(cached) $ECHO_C" >&6
33489 else
33490
33491 wx_save_CXXFLAGS="$CXXFLAGS"
33492 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33493 ac_ext=cpp
33494 ac_cpp='$CXXCPP $CPPFLAGS'
33495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33498
33499 cat >conftest.$ac_ext <<_ACEOF
33500 /* confdefs.h. */
33501 _ACEOF
33502 cat confdefs.h >>conftest.$ac_ext
33503 cat >>conftest.$ac_ext <<_ACEOF
33504 /* end confdefs.h. */
33505
33506 /* we need gcc >= 4.0, older versions with visibility support
33507 didn't have class visibility: */
33508 #if defined(__GNUC__) && __GNUC__ < 4
33509 error this gcc is too old;
33510 #endif
33511
33512 /* visibility only makes sense for ELF shared libs: */
33513 #if !defined(__ELF__) && !defined(__APPLE__)
33514 error this platform has no visibility;
33515 #endif
33516
33517 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33518 extern __attribute__((__visibility__("default"))) int exportedvar;
33519 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33520 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33521 class __attribute__((__visibility__("default"))) Foo {
33522 Foo() {}
33523 };
33524
33525 int
33526 main ()
33527 {
33528
33529 ;
33530 return 0;
33531 }
33532 _ACEOF
33533 rm -f conftest.$ac_objext
33534 if { (ac_try="$ac_compile"
33535 case "(($ac_try" in
33536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33537 *) ac_try_echo=$ac_try;;
33538 esac
33539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33540 (eval "$ac_compile") 2>conftest.er1
33541 ac_status=$?
33542 grep -v '^ *+' conftest.er1 >conftest.err
33543 rm -f conftest.er1
33544 cat conftest.err >&5
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); } && {
33547 test -z "$ac_cxx_werror_flag" ||
33548 test ! -s conftest.err
33549 } && test -s conftest.$ac_objext; then
33550 wx_cv_cc_visibility=yes
33551 else
33552 echo "$as_me: failed program was:" >&5
33553 sed 's/^/| /' conftest.$ac_ext >&5
33554
33555 wx_cv_cc_visibility=no
33556 fi
33557
33558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33559 ac_ext=c
33560 ac_cpp='$CPP $CPPFLAGS'
33561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33564
33565 CXXFLAGS="$wx_save_CXXFLAGS"
33566 fi
33567
33568 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33569 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33570 if test $wx_cv_cc_visibility = yes; then
33571 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33572 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33573 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33574 echo $ECHO_N "(cached) $ECHO_C" >&6
33575 else
33576
33577 wx_save_CXXFLAGS="$CXXFLAGS"
33578 wx_save_LDFLAGS="$LDFLAGS"
33579 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33580 LDFLAGS="$LDFLAGS -shared -fPIC"
33581 ac_ext=cpp
33582 ac_cpp='$CXXCPP $CPPFLAGS'
33583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33586
33587 cat >conftest.$ac_ext <<_ACEOF
33588 /* confdefs.h. */
33589 _ACEOF
33590 cat confdefs.h >>conftest.$ac_ext
33591 cat >>conftest.$ac_ext <<_ACEOF
33592 /* end confdefs.h. */
33593
33594 #include <string>
33595
33596 int
33597 main ()
33598 {
33599
33600 std::string s("hello");
33601 return s.length();
33602
33603 ;
33604 return 0;
33605 }
33606 _ACEOF
33607 rm -f conftest.$ac_objext conftest$ac_exeext
33608 if { (ac_try="$ac_link"
33609 case "(($ac_try" in
33610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33611 *) ac_try_echo=$ac_try;;
33612 esac
33613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33614 (eval "$ac_link") 2>conftest.er1
33615 ac_status=$?
33616 grep -v '^ *+' conftest.er1 >conftest.err
33617 rm -f conftest.er1
33618 cat conftest.err >&5
33619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33620 (exit $ac_status); } && {
33621 test -z "$ac_cxx_werror_flag" ||
33622 test ! -s conftest.err
33623 } && test -s conftest$ac_exeext &&
33624 $as_test_x conftest$ac_exeext; then
33625 wx_cv_cc_broken_libstdcxx_visibility=no
33626 else
33627 echo "$as_me: failed program was:" >&5
33628 sed 's/^/| /' conftest.$ac_ext >&5
33629
33630 wx_cv_cc_broken_libstdcxx_visibility=yes
33631 fi
33632
33633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33634 conftest$ac_exeext conftest.$ac_ext
33635 ac_ext=c
33636 ac_cpp='$CPP $CPPFLAGS'
33637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33640
33641 CXXFLAGS="$wx_save_CXXFLAGS"
33642 LDFLAGS="$wx_save_LDFLAGS"
33643 fi
33644
33645 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33646 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33647
33648 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33649 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33650 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33651 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33652 echo $ECHO_N "(cached) $ECHO_C" >&6
33653 else
33654
33655 ac_ext=cpp
33656 ac_cpp='$CXXCPP $CPPFLAGS'
33657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33660
33661 cat >conftest.$ac_ext <<_ACEOF
33662 /* confdefs.h. */
33663 _ACEOF
33664 cat confdefs.h >>conftest.$ac_ext
33665 cat >>conftest.$ac_ext <<_ACEOF
33666 /* end confdefs.h. */
33667
33668 #pragma GCC visibility push(default)
33669 #include <string>
33670 #pragma GCC visibility pop
33671
33672 int
33673 main ()
33674 {
33675
33676 std::string s("hello");
33677 return s.length();
33678
33679 ;
33680 return 0;
33681 }
33682 _ACEOF
33683 rm -f conftest.$ac_objext conftest$ac_exeext
33684 if { (ac_try="$ac_link"
33685 case "(($ac_try" in
33686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33687 *) ac_try_echo=$ac_try;;
33688 esac
33689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33690 (eval "$ac_link") 2>conftest.er1
33691 ac_status=$?
33692 grep -v '^ *+' conftest.er1 >conftest.err
33693 rm -f conftest.er1
33694 cat conftest.err >&5
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); } && {
33697 test -z "$ac_cxx_werror_flag" ||
33698 test ! -s conftest.err
33699 } && test -s conftest$ac_exeext &&
33700 $as_test_x conftest$ac_exeext; then
33701 wx_cv_cc_visibility_workaround=no
33702 else
33703 echo "$as_me: failed program was:" >&5
33704 sed 's/^/| /' conftest.$ac_ext >&5
33705
33706 wx_cv_cc_visibility_workaround=yes
33707 fi
33708
33709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33710 conftest$ac_exeext conftest.$ac_ext
33711 ac_ext=c
33712 ac_cpp='$CPP $CPPFLAGS'
33713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33716
33717
33718 fi
33719
33720 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33721 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33722
33723 if test $wx_cv_cc_visibility_workaround = no; then
33724 wx_cv_cc_visibility=no
33725 fi
33726 fi
33727 fi
33728
33729 if test $wx_cv_cc_visibility = yes; then
33730 cat >>confdefs.h <<\_ACEOF
33731 #define HAVE_VISIBILITY 1
33732 _ACEOF
33733
33734 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33735 cat >>confdefs.h <<\_ACEOF
33736 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33737 _ACEOF
33738
33739 fi
33740 else
33741 CFLAGS_VISIBILITY=""
33742 CXXFLAGS_VISIBILITY=""
33743 fi
33744
33745
33746 fi
33747
33748 fi
33749
33750 if test "x$SUNCXX" = xyes; then
33751 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33752 WXCONFIG_RPATH="-R\$libdir"
33753 else
33754 case "${host}" in
33755 *-*-linux* | *-*-gnu* )
33756 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33757 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33758 ;;
33759
33760 *-*-solaris2* )
33761
33762 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33763
33764 saveLdflags="$LDFLAGS"
33765 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33766 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33767 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33768 cat >conftest.$ac_ext <<_ACEOF
33769 /* confdefs.h. */
33770 _ACEOF
33771 cat confdefs.h >>conftest.$ac_ext
33772 cat >>conftest.$ac_ext <<_ACEOF
33773 /* end confdefs.h. */
33774
33775 int
33776 main ()
33777 {
33778
33779 ;
33780 return 0;
33781 }
33782 _ACEOF
33783 rm -f conftest.$ac_objext conftest$ac_exeext
33784 if { (ac_try="$ac_link"
33785 case "(($ac_try" in
33786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33787 *) ac_try_echo=$ac_try;;
33788 esac
33789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33790 (eval "$ac_link") 2>conftest.er1
33791 ac_status=$?
33792 grep -v '^ *+' conftest.er1 >conftest.err
33793 rm -f conftest.er1
33794 cat conftest.err >&5
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); } && {
33797 test -z "$ac_c_werror_flag" ||
33798 test ! -s conftest.err
33799 } && test -s conftest$ac_exeext &&
33800 $as_test_x conftest$ac_exeext; then
33801
33802 { echo "$as_me:$LINENO: result: yes" >&5
33803 echo "${ECHO_T}yes" >&6; }
33804 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33805 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33806
33807 else
33808 echo "$as_me: failed program was:" >&5
33809 sed 's/^/| /' conftest.$ac_ext >&5
33810
33811
33812 { echo "$as_me:$LINENO: result: no" >&5
33813 echo "${ECHO_T}no" >&6; }
33814 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33815 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33816 LDFLAGS="$saveLdflags -Wl,-R,/"
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 int
33825 main ()
33826 {
33827
33828 ;
33829 return 0;
33830 }
33831 _ACEOF
33832 rm -f conftest.$ac_objext conftest$ac_exeext
33833 if { (ac_try="$ac_link"
33834 case "(($ac_try" in
33835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33836 *) ac_try_echo=$ac_try;;
33837 esac
33838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33839 (eval "$ac_link") 2>conftest.er1
33840 ac_status=$?
33841 grep -v '^ *+' conftest.er1 >conftest.err
33842 rm -f conftest.er1
33843 cat conftest.err >&5
33844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33845 (exit $ac_status); } && {
33846 test -z "$ac_c_werror_flag" ||
33847 test ! -s conftest.err
33848 } && test -s conftest$ac_exeext &&
33849 $as_test_x conftest$ac_exeext; then
33850
33851 { echo "$as_me:$LINENO: result: yes" >&5
33852 echo "${ECHO_T}yes" >&6; }
33853 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33854 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33855
33856 else
33857 echo "$as_me: failed program was:" >&5
33858 sed 's/^/| /' conftest.$ac_ext >&5
33859
33860
33861 { echo "$as_me:$LINENO: result: no" >&5
33862 echo "${ECHO_T}no" >&6; }
33863
33864 fi
33865
33866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33867 conftest$ac_exeext conftest.$ac_ext
33868
33869 fi
33870
33871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33872 conftest$ac_exeext conftest.$ac_ext
33873 LDFLAGS="$saveLdflags"
33874 ;;
33875
33876 *-*-darwin* )
33877 install_name_tool=`which install_name_tool`
33878 if test "$install_name_tool" -a -x "$install_name_tool"; then
33879 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33880 cat <<EOF >change-install-names
33881 #!/bin/sh
33882 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33883 inst_cmd="install_name_tool "
33884 for i in \${libnames} ; do
33885 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33886 done
33887 \${inst_cmd} \${3}
33888 EOF
33889 chmod +x change-install-names
33890 fi
33891
33892 HEADER_PAD_OPTION="-headerpad_max_install_names"
33893 ;;
33894
33895 *-*-cygwin* | *-*-mingw32* )
33896 ;;
33897
33898 *-*-hpux* )
33899 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33900 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33901 ;;
33902
33903 esac
33904 fi
33905
33906 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33907
33908 if test $wxUSE_RPATH = "no"; then
33909 SAMPLES_RPATH_FLAG=''
33910 SAMPLES_RPATH_POSTLINK=''
33911 WXCONFIG_RPATH=''
33912 fi
33913
33914 SHARED=1
33915
33916 else
33917
33918 config_linkage_component="-static"
33919 SHARED=0
33920
33921 fi
33922
33923
33924 UNICODE=0
33925 lib_unicode_suffix=
33926 WX_CHARTYPE="ansi"
33927 if test "$wxUSE_UNICODE" = "yes"; then
33928 lib_unicode_suffix=u
33929 WX_CHARTYPE="unicode"
33930 UNICODE=1
33931 fi
33932
33933 lib_debug_suffix=
33934 WX_DEBUGTYPE="release"
33935 DEBUG_FLAG=0
33936 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33937 lib_debug_suffix=d
33938 WX_DEBUGTYPE="debug"
33939 DEBUG_FLAG=1
33940 fi
33941
33942 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33943 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33944
33945 DEBUG_INFO=0
33946 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33947 DEBUG_INFO=1
33948 fi
33949
33950 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33951
33952 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33953
33954 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33955
33956 if test "$cross_compiling" = "yes"; then
33957 HOST_SUFFIX="-$host_alias"
33958 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33959 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33960 fi
33961
33962
33963 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33964 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33965 else
33966 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33967 fi
33968 if test "${TOOLKIT_DIR}" = "os2"; then
33969 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33970 else
33971 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33972 fi
33973
33974
33975
33976 if test "$wxUSE_COCOA" = 1; then
33977
33978 ac_ext=c
33979 ac_cpp='$CPP $CPPFLAGS'
33980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33983
33984 ac_ext=m
33985
33986 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33987 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33988 cat >conftest.$ac_ext <<_ACEOF
33989 /* confdefs.h. */
33990 _ACEOF
33991 cat confdefs.h >>conftest.$ac_ext
33992 cat >>conftest.$ac_ext <<_ACEOF
33993 /* end confdefs.h. */
33994 #include <AppKit/NSEvent.h>
33995 #include <CoreFoundation/CoreFoundation.h>
33996
33997 int
33998 main ()
33999 {
34000
34001 ;
34002 return 0;
34003 }
34004 _ACEOF
34005 rm -f conftest.$ac_objext
34006 if { (ac_try="$ac_compile"
34007 case "(($ac_try" in
34008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34009 *) ac_try_echo=$ac_try;;
34010 esac
34011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34012 (eval "$ac_compile") 2>conftest.er1
34013 ac_status=$?
34014 grep -v '^ *+' conftest.er1 >conftest.err
34015 rm -f conftest.er1
34016 cat conftest.err >&5
34017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34018 (exit $ac_status); } && {
34019 test -z "$ac_c_werror_flag" ||
34020 test ! -s conftest.err
34021 } && test -s conftest.$ac_objext; then
34022 { echo "$as_me:$LINENO: result: no" >&5
34023 echo "${ECHO_T}no" >&6; }
34024 else
34025 echo "$as_me: failed program was:" >&5
34026 sed 's/^/| /' conftest.$ac_ext >&5
34027
34028 { echo "$as_me:$LINENO: result: yes" >&5
34029 echo "${ECHO_T}yes" >&6; }
34030 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34031 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34032 cat >conftest.$ac_ext <<_ACEOF
34033 /* confdefs.h. */
34034 _ACEOF
34035 cat confdefs.h >>conftest.$ac_ext
34036 cat >>conftest.$ac_ext <<_ACEOF
34037 /* end confdefs.h. */
34038 #define __Point__ 1
34039 #include <AppKit/NSEvent.h>
34040 #include <CoreFoundation/CoreFoundation.h>
34041
34042 int
34043 main ()
34044 {
34045
34046 ;
34047 return 0;
34048 }
34049 _ACEOF
34050 rm -f conftest.$ac_objext
34051 if { (ac_try="$ac_compile"
34052 case "(($ac_try" in
34053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34054 *) ac_try_echo=$ac_try;;
34055 esac
34056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34057 (eval "$ac_compile") 2>conftest.er1
34058 ac_status=$?
34059 grep -v '^ *+' conftest.er1 >conftest.err
34060 rm -f conftest.er1
34061 cat conftest.err >&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); } && {
34064 test -z "$ac_c_werror_flag" ||
34065 test ! -s conftest.err
34066 } && test -s conftest.$ac_objext; then
34067 { echo "$as_me:$LINENO: result: yes" >&5
34068 echo "${ECHO_T}yes" >&6; }
34069 cat >>confdefs.h <<\_ACEOF
34070 #define __Point__ 1
34071 _ACEOF
34072
34073
34074 else
34075 echo "$as_me: failed program was:" >&5
34076 sed 's/^/| /' conftest.$ac_ext >&5
34077
34078 { { echo "$as_me:$LINENO: error: no
34079 See \`config.log' for more details." >&5
34080 echo "$as_me: error: no
34081 See \`config.log' for more details." >&2;}
34082 { (exit 1); exit 1; }; }
34083
34084 fi
34085
34086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34087
34088 fi
34089
34090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34091 ac_ext=c
34092 ac_cpp='$CPP $CPPFLAGS'
34093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34096
34097 fi
34098
34099
34100 { echo "$as_me:$LINENO: checking for mode_t" >&5
34101 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34102 if test "${ac_cv_type_mode_t+set}" = set; then
34103 echo $ECHO_N "(cached) $ECHO_C" >&6
34104 else
34105 cat >conftest.$ac_ext <<_ACEOF
34106 /* confdefs.h. */
34107 _ACEOF
34108 cat confdefs.h >>conftest.$ac_ext
34109 cat >>conftest.$ac_ext <<_ACEOF
34110 /* end confdefs.h. */
34111 $ac_includes_default
34112 typedef mode_t ac__type_new_;
34113 int
34114 main ()
34115 {
34116 if ((ac__type_new_ *) 0)
34117 return 0;
34118 if (sizeof (ac__type_new_))
34119 return 0;
34120 ;
34121 return 0;
34122 }
34123 _ACEOF
34124 rm -f conftest.$ac_objext
34125 if { (ac_try="$ac_compile"
34126 case "(($ac_try" in
34127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34128 *) ac_try_echo=$ac_try;;
34129 esac
34130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34131 (eval "$ac_compile") 2>conftest.er1
34132 ac_status=$?
34133 grep -v '^ *+' conftest.er1 >conftest.err
34134 rm -f conftest.er1
34135 cat conftest.err >&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); } && {
34138 test -z "$ac_c_werror_flag" ||
34139 test ! -s conftest.err
34140 } && test -s conftest.$ac_objext; then
34141 ac_cv_type_mode_t=yes
34142 else
34143 echo "$as_me: failed program was:" >&5
34144 sed 's/^/| /' conftest.$ac_ext >&5
34145
34146 ac_cv_type_mode_t=no
34147 fi
34148
34149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34150 fi
34151 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34152 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34153 if test $ac_cv_type_mode_t = yes; then
34154 :
34155 else
34156
34157 cat >>confdefs.h <<_ACEOF
34158 #define mode_t int
34159 _ACEOF
34160
34161 fi
34162
34163 { echo "$as_me:$LINENO: checking for off_t" >&5
34164 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34165 if test "${ac_cv_type_off_t+set}" = set; then
34166 echo $ECHO_N "(cached) $ECHO_C" >&6
34167 else
34168 cat >conftest.$ac_ext <<_ACEOF
34169 /* confdefs.h. */
34170 _ACEOF
34171 cat confdefs.h >>conftest.$ac_ext
34172 cat >>conftest.$ac_ext <<_ACEOF
34173 /* end confdefs.h. */
34174 $ac_includes_default
34175 typedef off_t ac__type_new_;
34176 int
34177 main ()
34178 {
34179 if ((ac__type_new_ *) 0)
34180 return 0;
34181 if (sizeof (ac__type_new_))
34182 return 0;
34183 ;
34184 return 0;
34185 }
34186 _ACEOF
34187 rm -f conftest.$ac_objext
34188 if { (ac_try="$ac_compile"
34189 case "(($ac_try" in
34190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34191 *) ac_try_echo=$ac_try;;
34192 esac
34193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34194 (eval "$ac_compile") 2>conftest.er1
34195 ac_status=$?
34196 grep -v '^ *+' conftest.er1 >conftest.err
34197 rm -f conftest.er1
34198 cat conftest.err >&5
34199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34200 (exit $ac_status); } && {
34201 test -z "$ac_c_werror_flag" ||
34202 test ! -s conftest.err
34203 } && test -s conftest.$ac_objext; then
34204 ac_cv_type_off_t=yes
34205 else
34206 echo "$as_me: failed program was:" >&5
34207 sed 's/^/| /' conftest.$ac_ext >&5
34208
34209 ac_cv_type_off_t=no
34210 fi
34211
34212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34213 fi
34214 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34215 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34216 if test $ac_cv_type_off_t = yes; then
34217 :
34218 else
34219
34220 cat >>confdefs.h <<_ACEOF
34221 #define off_t long int
34222 _ACEOF
34223
34224 fi
34225
34226 { echo "$as_me:$LINENO: checking for pid_t" >&5
34227 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34228 if test "${ac_cv_type_pid_t+set}" = set; then
34229 echo $ECHO_N "(cached) $ECHO_C" >&6
34230 else
34231 cat >conftest.$ac_ext <<_ACEOF
34232 /* confdefs.h. */
34233 _ACEOF
34234 cat confdefs.h >>conftest.$ac_ext
34235 cat >>conftest.$ac_ext <<_ACEOF
34236 /* end confdefs.h. */
34237 $ac_includes_default
34238 typedef pid_t ac__type_new_;
34239 int
34240 main ()
34241 {
34242 if ((ac__type_new_ *) 0)
34243 return 0;
34244 if (sizeof (ac__type_new_))
34245 return 0;
34246 ;
34247 return 0;
34248 }
34249 _ACEOF
34250 rm -f conftest.$ac_objext
34251 if { (ac_try="$ac_compile"
34252 case "(($ac_try" in
34253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34254 *) ac_try_echo=$ac_try;;
34255 esac
34256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34257 (eval "$ac_compile") 2>conftest.er1
34258 ac_status=$?
34259 grep -v '^ *+' conftest.er1 >conftest.err
34260 rm -f conftest.er1
34261 cat conftest.err >&5
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); } && {
34264 test -z "$ac_c_werror_flag" ||
34265 test ! -s conftest.err
34266 } && test -s conftest.$ac_objext; then
34267 ac_cv_type_pid_t=yes
34268 else
34269 echo "$as_me: failed program was:" >&5
34270 sed 's/^/| /' conftest.$ac_ext >&5
34271
34272 ac_cv_type_pid_t=no
34273 fi
34274
34275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34276 fi
34277 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34278 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34279 if test $ac_cv_type_pid_t = yes; then
34280 :
34281 else
34282
34283 cat >>confdefs.h <<_ACEOF
34284 #define pid_t int
34285 _ACEOF
34286
34287 fi
34288
34289 { echo "$as_me:$LINENO: checking for size_t" >&5
34290 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34291 if test "${ac_cv_type_size_t+set}" = set; then
34292 echo $ECHO_N "(cached) $ECHO_C" >&6
34293 else
34294 cat >conftest.$ac_ext <<_ACEOF
34295 /* confdefs.h. */
34296 _ACEOF
34297 cat confdefs.h >>conftest.$ac_ext
34298 cat >>conftest.$ac_ext <<_ACEOF
34299 /* end confdefs.h. */
34300 $ac_includes_default
34301 typedef size_t ac__type_new_;
34302 int
34303 main ()
34304 {
34305 if ((ac__type_new_ *) 0)
34306 return 0;
34307 if (sizeof (ac__type_new_))
34308 return 0;
34309 ;
34310 return 0;
34311 }
34312 _ACEOF
34313 rm -f conftest.$ac_objext
34314 if { (ac_try="$ac_compile"
34315 case "(($ac_try" in
34316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34317 *) ac_try_echo=$ac_try;;
34318 esac
34319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34320 (eval "$ac_compile") 2>conftest.er1
34321 ac_status=$?
34322 grep -v '^ *+' conftest.er1 >conftest.err
34323 rm -f conftest.er1
34324 cat conftest.err >&5
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); } && {
34327 test -z "$ac_c_werror_flag" ||
34328 test ! -s conftest.err
34329 } && test -s conftest.$ac_objext; then
34330 ac_cv_type_size_t=yes
34331 else
34332 echo "$as_me: failed program was:" >&5
34333 sed 's/^/| /' conftest.$ac_ext >&5
34334
34335 ac_cv_type_size_t=no
34336 fi
34337
34338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34339 fi
34340 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34341 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34342 if test $ac_cv_type_size_t = yes; then
34343 :
34344 else
34345
34346 cat >>confdefs.h <<_ACEOF
34347 #define size_t unsigned int
34348 _ACEOF
34349
34350 fi
34351
34352
34353 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34354 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34355 if test "${ac_cv_type_ssize_t+set}" = set; then
34356 echo $ECHO_N "(cached) $ECHO_C" >&6
34357 else
34358 cat >conftest.$ac_ext <<_ACEOF
34359 /* confdefs.h. */
34360 _ACEOF
34361 cat confdefs.h >>conftest.$ac_ext
34362 cat >>conftest.$ac_ext <<_ACEOF
34363 /* end confdefs.h. */
34364 $ac_includes_default
34365 typedef ssize_t ac__type_new_;
34366 int
34367 main ()
34368 {
34369 if ((ac__type_new_ *) 0)
34370 return 0;
34371 if (sizeof (ac__type_new_))
34372 return 0;
34373 ;
34374 return 0;
34375 }
34376 _ACEOF
34377 rm -f conftest.$ac_objext
34378 if { (ac_try="$ac_compile"
34379 case "(($ac_try" in
34380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34381 *) ac_try_echo=$ac_try;;
34382 esac
34383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34384 (eval "$ac_compile") 2>conftest.er1
34385 ac_status=$?
34386 grep -v '^ *+' conftest.er1 >conftest.err
34387 rm -f conftest.er1
34388 cat conftest.err >&5
34389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34390 (exit $ac_status); } && {
34391 test -z "$ac_c_werror_flag" ||
34392 test ! -s conftest.err
34393 } && test -s conftest.$ac_objext; then
34394 ac_cv_type_ssize_t=yes
34395 else
34396 echo "$as_me: failed program was:" >&5
34397 sed 's/^/| /' conftest.$ac_ext >&5
34398
34399 ac_cv_type_ssize_t=no
34400 fi
34401
34402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34403 fi
34404 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34405 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34406 if test $ac_cv_type_ssize_t = yes; then
34407
34408 cat >>confdefs.h <<_ACEOF
34409 #define HAVE_SSIZE_T 1
34410 _ACEOF
34411
34412
34413 fi
34414
34415
34416 ac_ext=cpp
34417 ac_cpp='$CXXCPP $CPPFLAGS'
34418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34421 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34422 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34423 if test "${wx_cv_size_t_is_uint+set}" = set; then
34424 echo $ECHO_N "(cached) $ECHO_C" >&6
34425 else
34426
34427 cat >conftest.$ac_ext <<_ACEOF
34428 /* confdefs.h. */
34429 _ACEOF
34430 cat confdefs.h >>conftest.$ac_ext
34431 cat >>conftest.$ac_ext <<_ACEOF
34432 /* end confdefs.h. */
34433 #include <stddef.h>
34434 int
34435 main ()
34436 {
34437
34438 return 0; }
34439
34440 struct Foo { void foo(size_t); void foo(unsigned int); };
34441
34442 int bar() {
34443
34444 ;
34445 return 0;
34446 }
34447 _ACEOF
34448 rm -f conftest.$ac_objext
34449 if { (ac_try="$ac_compile"
34450 case "(($ac_try" in
34451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34452 *) ac_try_echo=$ac_try;;
34453 esac
34454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34455 (eval "$ac_compile") 2>conftest.er1
34456 ac_status=$?
34457 grep -v '^ *+' conftest.er1 >conftest.err
34458 rm -f conftest.er1
34459 cat conftest.err >&5
34460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34461 (exit $ac_status); } && {
34462 test -z "$ac_cxx_werror_flag" ||
34463 test ! -s conftest.err
34464 } && test -s conftest.$ac_objext; then
34465 wx_cv_size_t_is_uint=no
34466 else
34467 echo "$as_me: failed program was:" >&5
34468 sed 's/^/| /' conftest.$ac_ext >&5
34469
34470 wx_cv_size_t_is_uint=yes
34471
34472 fi
34473
34474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34475
34476
34477 fi
34478 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34479 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34480
34481 if test "$wx_cv_size_t_is_uint" = "yes"; then
34482 cat >>confdefs.h <<\_ACEOF
34483 #define wxSIZE_T_IS_UINT 1
34484 _ACEOF
34485
34486 else
34487 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34488 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34489 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34490 echo $ECHO_N "(cached) $ECHO_C" >&6
34491 else
34492 cat >conftest.$ac_ext <<_ACEOF
34493 /* confdefs.h. */
34494 _ACEOF
34495 cat confdefs.h >>conftest.$ac_ext
34496 cat >>conftest.$ac_ext <<_ACEOF
34497 /* end confdefs.h. */
34498 #include <stddef.h>
34499 int
34500 main ()
34501 {
34502
34503 return 0; }
34504
34505 struct Foo { void foo(size_t); void foo(unsigned long); };
34506
34507 int bar() {
34508
34509 ;
34510 return 0;
34511 }
34512 _ACEOF
34513 rm -f conftest.$ac_objext
34514 if { (ac_try="$ac_compile"
34515 case "(($ac_try" in
34516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34517 *) ac_try_echo=$ac_try;;
34518 esac
34519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34520 (eval "$ac_compile") 2>conftest.er1
34521 ac_status=$?
34522 grep -v '^ *+' conftest.er1 >conftest.err
34523 rm -f conftest.er1
34524 cat conftest.err >&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); } && {
34527 test -z "$ac_cxx_werror_flag" ||
34528 test ! -s conftest.err
34529 } && test -s conftest.$ac_objext; then
34530 wx_cv_size_t_is_ulong=no
34531 else
34532 echo "$as_me: failed program was:" >&5
34533 sed 's/^/| /' conftest.$ac_ext >&5
34534
34535 wx_cv_size_t_is_ulong=yes
34536
34537 fi
34538
34539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34540
34541 fi
34542 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34543 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34544
34545 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34546 cat >>confdefs.h <<\_ACEOF
34547 #define wxSIZE_T_IS_ULONG 1
34548 _ACEOF
34549
34550 fi
34551 fi
34552
34553 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34554 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34555 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34556 echo $ECHO_N "(cached) $ECHO_C" >&6
34557 else
34558 cat >conftest.$ac_ext <<_ACEOF
34559 /* confdefs.h. */
34560 _ACEOF
34561 cat confdefs.h >>conftest.$ac_ext
34562 cat >>conftest.$ac_ext <<_ACEOF
34563 /* end confdefs.h. */
34564 #include <wchar.h>
34565 int
34566 main ()
34567 {
34568
34569 return 0; }
34570
34571 struct Foo { void foo(wchar_t);
34572 void foo(unsigned short);
34573 void foo(unsigned int);
34574 void foo(unsigned long); };
34575
34576 int bar() {
34577
34578 ;
34579 return 0;
34580 }
34581 _ACEOF
34582 rm -f conftest.$ac_objext
34583 if { (ac_try="$ac_compile"
34584 case "(($ac_try" in
34585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34586 *) ac_try_echo=$ac_try;;
34587 esac
34588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34589 (eval "$ac_compile") 2>conftest.er1
34590 ac_status=$?
34591 grep -v '^ *+' conftest.er1 >conftest.err
34592 rm -f conftest.er1
34593 cat conftest.err >&5
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); } && {
34596 test -z "$ac_cxx_werror_flag" ||
34597 test ! -s conftest.err
34598 } && test -s conftest.$ac_objext; then
34599 wx_cv_wchar_t_is_separate_type=yes
34600 else
34601 echo "$as_me: failed program was:" >&5
34602 sed 's/^/| /' conftest.$ac_ext >&5
34603
34604 wx_cv_wchar_t_is_separate_type=no
34605
34606 fi
34607
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34609
34610 fi
34611 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34612 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34613
34614 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34615 cat >>confdefs.h <<\_ACEOF
34616 #define wxWCHAR_T_IS_REAL_TYPE 1
34617 _ACEOF
34618
34619 else
34620 cat >>confdefs.h <<\_ACEOF
34621 #define wxWCHAR_T_IS_REAL_TYPE 0
34622 _ACEOF
34623
34624 fi
34625
34626 ac_ext=c
34627 ac_cpp='$CPP $CPPFLAGS'
34628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34631
34632
34633 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34634 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34635 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34636 echo $ECHO_N "(cached) $ECHO_C" >&6
34637 else
34638
34639 cat >conftest.$ac_ext <<_ACEOF
34640 /* confdefs.h. */
34641 _ACEOF
34642 cat confdefs.h >>conftest.$ac_ext
34643 cat >>conftest.$ac_ext <<_ACEOF
34644 /* end confdefs.h. */
34645 #include <pwd.h>
34646 int
34647 main ()
34648 {
34649
34650 char *p;
34651 struct passwd *pw;
34652 p = pw->pw_gecos;
34653
34654 ;
34655 return 0;
34656 }
34657 _ACEOF
34658 rm -f conftest.$ac_objext
34659 if { (ac_try="$ac_compile"
34660 case "(($ac_try" in
34661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34662 *) ac_try_echo=$ac_try;;
34663 esac
34664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34665 (eval "$ac_compile") 2>conftest.er1
34666 ac_status=$?
34667 grep -v '^ *+' conftest.er1 >conftest.err
34668 rm -f conftest.er1
34669 cat conftest.err >&5
34670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34671 (exit $ac_status); } && {
34672 test -z "$ac_c_werror_flag" ||
34673 test ! -s conftest.err
34674 } && test -s conftest.$ac_objext; then
34675
34676 wx_cv_struct_pw_gecos=yes
34677
34678 else
34679 echo "$as_me: failed program was:" >&5
34680 sed 's/^/| /' conftest.$ac_ext >&5
34681
34682
34683 wx_cv_struct_pw_gecos=no
34684
34685
34686 fi
34687
34688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34689
34690
34691 fi
34692 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34693 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34694
34695 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34696 cat >>confdefs.h <<\_ACEOF
34697 #define HAVE_PW_GECOS 1
34698 _ACEOF
34699
34700 fi
34701
34702
34703 if test "$wxUSE_WCHAR_T" = "yes"; then
34704 cat >>confdefs.h <<\_ACEOF
34705 #define wxUSE_WCHAR_T 1
34706 _ACEOF
34707
34708
34709 WCSLEN_FOUND=0
34710 WCHAR_LINK=
34711
34712 for ac_func in wcslen
34713 do
34714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34715 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34717 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34718 echo $ECHO_N "(cached) $ECHO_C" >&6
34719 else
34720 cat >conftest.$ac_ext <<_ACEOF
34721 /* confdefs.h. */
34722 _ACEOF
34723 cat confdefs.h >>conftest.$ac_ext
34724 cat >>conftest.$ac_ext <<_ACEOF
34725 /* end confdefs.h. */
34726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34728 #define $ac_func innocuous_$ac_func
34729
34730 /* System header to define __stub macros and hopefully few prototypes,
34731 which can conflict with char $ac_func (); below.
34732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34733 <limits.h> exists even on freestanding compilers. */
34734
34735 #ifdef __STDC__
34736 # include <limits.h>
34737 #else
34738 # include <assert.h>
34739 #endif
34740
34741 #undef $ac_func
34742
34743 /* Override any GCC internal prototype to avoid an error.
34744 Use char because int might match the return type of a GCC
34745 builtin and then its argument prototype would still apply. */
34746 #ifdef __cplusplus
34747 extern "C"
34748 #endif
34749 char $ac_func ();
34750 /* The GNU C library defines this for functions which it implements
34751 to always fail with ENOSYS. Some functions are actually named
34752 something starting with __ and the normal name is an alias. */
34753 #if defined __stub_$ac_func || defined __stub___$ac_func
34754 choke me
34755 #endif
34756
34757 int
34758 main ()
34759 {
34760 return $ac_func ();
34761 ;
34762 return 0;
34763 }
34764 _ACEOF
34765 rm -f conftest.$ac_objext conftest$ac_exeext
34766 if { (ac_try="$ac_link"
34767 case "(($ac_try" in
34768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34769 *) ac_try_echo=$ac_try;;
34770 esac
34771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34772 (eval "$ac_link") 2>conftest.er1
34773 ac_status=$?
34774 grep -v '^ *+' conftest.er1 >conftest.err
34775 rm -f conftest.er1
34776 cat conftest.err >&5
34777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34778 (exit $ac_status); } && {
34779 test -z "$ac_c_werror_flag" ||
34780 test ! -s conftest.err
34781 } && test -s conftest$ac_exeext &&
34782 $as_test_x conftest$ac_exeext; then
34783 eval "$as_ac_var=yes"
34784 else
34785 echo "$as_me: failed program was:" >&5
34786 sed 's/^/| /' conftest.$ac_ext >&5
34787
34788 eval "$as_ac_var=no"
34789 fi
34790
34791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34792 conftest$ac_exeext conftest.$ac_ext
34793 fi
34794 ac_res=`eval echo '${'$as_ac_var'}'`
34795 { echo "$as_me:$LINENO: result: $ac_res" >&5
34796 echo "${ECHO_T}$ac_res" >&6; }
34797 if test `eval echo '${'$as_ac_var'}'` = yes; then
34798 cat >>confdefs.h <<_ACEOF
34799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34800 _ACEOF
34801 WCSLEN_FOUND=1
34802 fi
34803 done
34804
34805
34806 if test "$WCSLEN_FOUND" = 0; then
34807 if test "$TOOLKIT" = "MSW"; then
34808 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34809 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34810 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34811 echo $ECHO_N "(cached) $ECHO_C" >&6
34812 else
34813 ac_check_lib_save_LIBS=$LIBS
34814 LIBS="-lmsvcrt $LIBS"
34815 cat >conftest.$ac_ext <<_ACEOF
34816 /* confdefs.h. */
34817 _ACEOF
34818 cat confdefs.h >>conftest.$ac_ext
34819 cat >>conftest.$ac_ext <<_ACEOF
34820 /* end confdefs.h. */
34821
34822 /* Override any GCC internal prototype to avoid an error.
34823 Use char because int might match the return type of a GCC
34824 builtin and then its argument prototype would still apply. */
34825 #ifdef __cplusplus
34826 extern "C"
34827 #endif
34828 char wcslen ();
34829 int
34830 main ()
34831 {
34832 return wcslen ();
34833 ;
34834 return 0;
34835 }
34836 _ACEOF
34837 rm -f conftest.$ac_objext conftest$ac_exeext
34838 if { (ac_try="$ac_link"
34839 case "(($ac_try" in
34840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34841 *) ac_try_echo=$ac_try;;
34842 esac
34843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34844 (eval "$ac_link") 2>conftest.er1
34845 ac_status=$?
34846 grep -v '^ *+' conftest.er1 >conftest.err
34847 rm -f conftest.er1
34848 cat conftest.err >&5
34849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34850 (exit $ac_status); } && {
34851 test -z "$ac_c_werror_flag" ||
34852 test ! -s conftest.err
34853 } && test -s conftest$ac_exeext &&
34854 $as_test_x conftest$ac_exeext; then
34855 ac_cv_lib_msvcrt_wcslen=yes
34856 else
34857 echo "$as_me: failed program was:" >&5
34858 sed 's/^/| /' conftest.$ac_ext >&5
34859
34860 ac_cv_lib_msvcrt_wcslen=no
34861 fi
34862
34863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34864 conftest$ac_exeext conftest.$ac_ext
34865 LIBS=$ac_check_lib_save_LIBS
34866 fi
34867 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34868 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34869 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34870 WCHAR_OK=1
34871 fi
34872
34873 else
34874 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34875 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34876 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34877 echo $ECHO_N "(cached) $ECHO_C" >&6
34878 else
34879 ac_check_lib_save_LIBS=$LIBS
34880 LIBS="-lw $LIBS"
34881 cat >conftest.$ac_ext <<_ACEOF
34882 /* confdefs.h. */
34883 _ACEOF
34884 cat confdefs.h >>conftest.$ac_ext
34885 cat >>conftest.$ac_ext <<_ACEOF
34886 /* end confdefs.h. */
34887
34888 /* Override any GCC internal prototype to avoid an error.
34889 Use char because int might match the return type of a GCC
34890 builtin and then its argument prototype would still apply. */
34891 #ifdef __cplusplus
34892 extern "C"
34893 #endif
34894 char wcslen ();
34895 int
34896 main ()
34897 {
34898 return wcslen ();
34899 ;
34900 return 0;
34901 }
34902 _ACEOF
34903 rm -f conftest.$ac_objext conftest$ac_exeext
34904 if { (ac_try="$ac_link"
34905 case "(($ac_try" in
34906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34907 *) ac_try_echo=$ac_try;;
34908 esac
34909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34910 (eval "$ac_link") 2>conftest.er1
34911 ac_status=$?
34912 grep -v '^ *+' conftest.er1 >conftest.err
34913 rm -f conftest.er1
34914 cat conftest.err >&5
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); } && {
34917 test -z "$ac_c_werror_flag" ||
34918 test ! -s conftest.err
34919 } && test -s conftest$ac_exeext &&
34920 $as_test_x conftest$ac_exeext; then
34921 ac_cv_lib_w_wcslen=yes
34922 else
34923 echo "$as_me: failed program was:" >&5
34924 sed 's/^/| /' conftest.$ac_ext >&5
34925
34926 ac_cv_lib_w_wcslen=no
34927 fi
34928
34929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34930 conftest$ac_exeext conftest.$ac_ext
34931 LIBS=$ac_check_lib_save_LIBS
34932 fi
34933 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34934 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34935 if test $ac_cv_lib_w_wcslen = yes; then
34936
34937 WCHAR_LINK=" -lw"
34938 WCSLEN_FOUND=1
34939
34940 fi
34941
34942 fi
34943 fi
34944
34945 if test "$WCSLEN_FOUND" = 1; then
34946 cat >>confdefs.h <<\_ACEOF
34947 #define HAVE_WCSLEN 1
34948 _ACEOF
34949
34950 fi
34951
34952
34953 for ac_func in wcsdup
34954 do
34955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34958 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34959 echo $ECHO_N "(cached) $ECHO_C" >&6
34960 else
34961 cat >conftest.$ac_ext <<_ACEOF
34962 /* confdefs.h. */
34963 _ACEOF
34964 cat confdefs.h >>conftest.$ac_ext
34965 cat >>conftest.$ac_ext <<_ACEOF
34966 /* end confdefs.h. */
34967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34969 #define $ac_func innocuous_$ac_func
34970
34971 /* System header to define __stub macros and hopefully few prototypes,
34972 which can conflict with char $ac_func (); below.
34973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34974 <limits.h> exists even on freestanding compilers. */
34975
34976 #ifdef __STDC__
34977 # include <limits.h>
34978 #else
34979 # include <assert.h>
34980 #endif
34981
34982 #undef $ac_func
34983
34984 /* Override any GCC internal prototype to avoid an error.
34985 Use char because int might match the return type of a GCC
34986 builtin and then its argument prototype would still apply. */
34987 #ifdef __cplusplus
34988 extern "C"
34989 #endif
34990 char $ac_func ();
34991 /* The GNU C library defines this for functions which it implements
34992 to always fail with ENOSYS. Some functions are actually named
34993 something starting with __ and the normal name is an alias. */
34994 #if defined __stub_$ac_func || defined __stub___$ac_func
34995 choke me
34996 #endif
34997
34998 int
34999 main ()
35000 {
35001 return $ac_func ();
35002 ;
35003 return 0;
35004 }
35005 _ACEOF
35006 rm -f conftest.$ac_objext conftest$ac_exeext
35007 if { (ac_try="$ac_link"
35008 case "(($ac_try" in
35009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35010 *) ac_try_echo=$ac_try;;
35011 esac
35012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35013 (eval "$ac_link") 2>conftest.er1
35014 ac_status=$?
35015 grep -v '^ *+' conftest.er1 >conftest.err
35016 rm -f conftest.er1
35017 cat conftest.err >&5
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); } && {
35020 test -z "$ac_c_werror_flag" ||
35021 test ! -s conftest.err
35022 } && test -s conftest$ac_exeext &&
35023 $as_test_x conftest$ac_exeext; then
35024 eval "$as_ac_var=yes"
35025 else
35026 echo "$as_me: failed program was:" >&5
35027 sed 's/^/| /' conftest.$ac_ext >&5
35028
35029 eval "$as_ac_var=no"
35030 fi
35031
35032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35033 conftest$ac_exeext conftest.$ac_ext
35034 fi
35035 ac_res=`eval echo '${'$as_ac_var'}'`
35036 { echo "$as_me:$LINENO: result: $ac_res" >&5
35037 echo "${ECHO_T}$ac_res" >&6; }
35038 if test `eval echo '${'$as_ac_var'}'` = yes; then
35039 cat >>confdefs.h <<_ACEOF
35040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35041 _ACEOF
35042
35043 fi
35044 done
35045
35046
35047 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35048 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35049 fi
35050
35051 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35052 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35053 if test "${ac_cv_type_mbstate_t+set}" = set; then
35054 echo $ECHO_N "(cached) $ECHO_C" >&6
35055 else
35056 cat >conftest.$ac_ext <<_ACEOF
35057 /* confdefs.h. */
35058 _ACEOF
35059 cat confdefs.h >>conftest.$ac_ext
35060 cat >>conftest.$ac_ext <<_ACEOF
35061 /* end confdefs.h. */
35062 #include <wchar.h>
35063
35064 typedef mbstate_t ac__type_new_;
35065 int
35066 main ()
35067 {
35068 if ((ac__type_new_ *) 0)
35069 return 0;
35070 if (sizeof (ac__type_new_))
35071 return 0;
35072 ;
35073 return 0;
35074 }
35075 _ACEOF
35076 rm -f conftest.$ac_objext
35077 if { (ac_try="$ac_compile"
35078 case "(($ac_try" in
35079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35080 *) ac_try_echo=$ac_try;;
35081 esac
35082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35083 (eval "$ac_compile") 2>conftest.er1
35084 ac_status=$?
35085 grep -v '^ *+' conftest.er1 >conftest.err
35086 rm -f conftest.er1
35087 cat conftest.err >&5
35088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35089 (exit $ac_status); } && {
35090 test -z "$ac_c_werror_flag" ||
35091 test ! -s conftest.err
35092 } && test -s conftest.$ac_objext; then
35093 ac_cv_type_mbstate_t=yes
35094 else
35095 echo "$as_me: failed program was:" >&5
35096 sed 's/^/| /' conftest.$ac_ext >&5
35097
35098 ac_cv_type_mbstate_t=no
35099 fi
35100
35101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35102 fi
35103 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35104 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35105 if test $ac_cv_type_mbstate_t = yes; then
35106
35107 cat >>confdefs.h <<_ACEOF
35108 #define HAVE_MBSTATE_T 1
35109 _ACEOF
35110
35111
35112 for ac_func in wcsrtombs
35113 do
35114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35115 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35118 echo $ECHO_N "(cached) $ECHO_C" >&6
35119 else
35120 cat >conftest.$ac_ext <<_ACEOF
35121 /* confdefs.h. */
35122 _ACEOF
35123 cat confdefs.h >>conftest.$ac_ext
35124 cat >>conftest.$ac_ext <<_ACEOF
35125 /* end confdefs.h. */
35126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35128 #define $ac_func innocuous_$ac_func
35129
35130 /* System header to define __stub macros and hopefully few prototypes,
35131 which can conflict with char $ac_func (); below.
35132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35133 <limits.h> exists even on freestanding compilers. */
35134
35135 #ifdef __STDC__
35136 # include <limits.h>
35137 #else
35138 # include <assert.h>
35139 #endif
35140
35141 #undef $ac_func
35142
35143 /* Override any GCC internal prototype to avoid an error.
35144 Use char because int might match the return type of a GCC
35145 builtin and then its argument prototype would still apply. */
35146 #ifdef __cplusplus
35147 extern "C"
35148 #endif
35149 char $ac_func ();
35150 /* The GNU C library defines this for functions which it implements
35151 to always fail with ENOSYS. Some functions are actually named
35152 something starting with __ and the normal name is an alias. */
35153 #if defined __stub_$ac_func || defined __stub___$ac_func
35154 choke me
35155 #endif
35156
35157 int
35158 main ()
35159 {
35160 return $ac_func ();
35161 ;
35162 return 0;
35163 }
35164 _ACEOF
35165 rm -f conftest.$ac_objext conftest$ac_exeext
35166 if { (ac_try="$ac_link"
35167 case "(($ac_try" in
35168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35169 *) ac_try_echo=$ac_try;;
35170 esac
35171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35172 (eval "$ac_link") 2>conftest.er1
35173 ac_status=$?
35174 grep -v '^ *+' conftest.er1 >conftest.err
35175 rm -f conftest.er1
35176 cat conftest.err >&5
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); } && {
35179 test -z "$ac_c_werror_flag" ||
35180 test ! -s conftest.err
35181 } && test -s conftest$ac_exeext &&
35182 $as_test_x conftest$ac_exeext; then
35183 eval "$as_ac_var=yes"
35184 else
35185 echo "$as_me: failed program was:" >&5
35186 sed 's/^/| /' conftest.$ac_ext >&5
35187
35188 eval "$as_ac_var=no"
35189 fi
35190
35191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35192 conftest$ac_exeext conftest.$ac_ext
35193 fi
35194 ac_res=`eval echo '${'$as_ac_var'}'`
35195 { echo "$as_me:$LINENO: result: $ac_res" >&5
35196 echo "${ECHO_T}$ac_res" >&6; }
35197 if test `eval echo '${'$as_ac_var'}'` = yes; then
35198 cat >>confdefs.h <<_ACEOF
35199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35200 _ACEOF
35201
35202 fi
35203 done
35204
35205 fi
35206
35207 else
35208 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35209 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35210 fi
35211
35212
35213
35214
35215 for ac_func in snprintf vsnprintf vsscanf
35216 do
35217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35221 echo $ECHO_N "(cached) $ECHO_C" >&6
35222 else
35223 cat >conftest.$ac_ext <<_ACEOF
35224 /* confdefs.h. */
35225 _ACEOF
35226 cat confdefs.h >>conftest.$ac_ext
35227 cat >>conftest.$ac_ext <<_ACEOF
35228 /* end confdefs.h. */
35229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35231 #define $ac_func innocuous_$ac_func
35232
35233 /* System header to define __stub macros and hopefully few prototypes,
35234 which can conflict with char $ac_func (); below.
35235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35236 <limits.h> exists even on freestanding compilers. */
35237
35238 #ifdef __STDC__
35239 # include <limits.h>
35240 #else
35241 # include <assert.h>
35242 #endif
35243
35244 #undef $ac_func
35245
35246 /* Override any GCC internal prototype to avoid an error.
35247 Use char because int might match the return type of a GCC
35248 builtin and then its argument prototype would still apply. */
35249 #ifdef __cplusplus
35250 extern "C"
35251 #endif
35252 char $ac_func ();
35253 /* The GNU C library defines this for functions which it implements
35254 to always fail with ENOSYS. Some functions are actually named
35255 something starting with __ and the normal name is an alias. */
35256 #if defined __stub_$ac_func || defined __stub___$ac_func
35257 choke me
35258 #endif
35259
35260 int
35261 main ()
35262 {
35263 return $ac_func ();
35264 ;
35265 return 0;
35266 }
35267 _ACEOF
35268 rm -f conftest.$ac_objext conftest$ac_exeext
35269 if { (ac_try="$ac_link"
35270 case "(($ac_try" in
35271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35272 *) ac_try_echo=$ac_try;;
35273 esac
35274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35275 (eval "$ac_link") 2>conftest.er1
35276 ac_status=$?
35277 grep -v '^ *+' conftest.er1 >conftest.err
35278 rm -f conftest.er1
35279 cat conftest.err >&5
35280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281 (exit $ac_status); } && {
35282 test -z "$ac_c_werror_flag" ||
35283 test ! -s conftest.err
35284 } && test -s conftest$ac_exeext &&
35285 $as_test_x conftest$ac_exeext; then
35286 eval "$as_ac_var=yes"
35287 else
35288 echo "$as_me: failed program was:" >&5
35289 sed 's/^/| /' conftest.$ac_ext >&5
35290
35291 eval "$as_ac_var=no"
35292 fi
35293
35294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35295 conftest$ac_exeext conftest.$ac_ext
35296 fi
35297 ac_res=`eval echo '${'$as_ac_var'}'`
35298 { echo "$as_me:$LINENO: result: $ac_res" >&5
35299 echo "${ECHO_T}$ac_res" >&6; }
35300 if test `eval echo '${'$as_ac_var'}'` = yes; then
35301 cat >>confdefs.h <<_ACEOF
35302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35303 _ACEOF
35304
35305 fi
35306 done
35307
35308
35309 ac_ext=cpp
35310 ac_cpp='$CXXCPP $CPPFLAGS'
35311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35314
35315 if test "$ac_cv_func_vsnprintf" = "yes"; then
35316 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35317 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35318 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35319 echo $ECHO_N "(cached) $ECHO_C" >&6
35320 else
35321
35322 cat >conftest.$ac_ext <<_ACEOF
35323 /* confdefs.h. */
35324 _ACEOF
35325 cat confdefs.h >>conftest.$ac_ext
35326 cat >>conftest.$ac_ext <<_ACEOF
35327 /* end confdefs.h. */
35328
35329 #include <stdio.h>
35330 #include <stdarg.h>
35331 #ifdef __MSL__
35332 #if __MSL__ >= 0x6000
35333 namespace std {}
35334 using namespace std;
35335 #endif
35336 #endif
35337
35338 int
35339 main ()
35340 {
35341
35342 char *buf;
35343 va_list ap;
35344 vsnprintf(buf, 10u, "%s", ap);
35345
35346 ;
35347 return 0;
35348 }
35349 _ACEOF
35350 rm -f conftest.$ac_objext
35351 if { (ac_try="$ac_compile"
35352 case "(($ac_try" in
35353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35354 *) ac_try_echo=$ac_try;;
35355 esac
35356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35357 (eval "$ac_compile") 2>conftest.er1
35358 ac_status=$?
35359 grep -v '^ *+' conftest.er1 >conftest.err
35360 rm -f conftest.er1
35361 cat conftest.err >&5
35362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35363 (exit $ac_status); } && {
35364 test -z "$ac_cxx_werror_flag" ||
35365 test ! -s conftest.err
35366 } && test -s conftest.$ac_objext; then
35367 wx_cv_func_vsnprintf_decl=yes
35368 else
35369 echo "$as_me: failed program was:" >&5
35370 sed 's/^/| /' conftest.$ac_ext >&5
35371
35372 wx_cv_func_vsnprintf_decl=no
35373
35374 fi
35375
35376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35377
35378
35379 fi
35380 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35381 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35382
35383 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35384 cat >>confdefs.h <<\_ACEOF
35385 #define HAVE_VSNPRINTF_DECL 1
35386 _ACEOF
35387
35388
35389 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35390 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35391 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35392 echo $ECHO_N "(cached) $ECHO_C" >&6
35393 else
35394
35395 cat >conftest.$ac_ext <<_ACEOF
35396 /* confdefs.h. */
35397 _ACEOF
35398 cat confdefs.h >>conftest.$ac_ext
35399 cat >>conftest.$ac_ext <<_ACEOF
35400 /* end confdefs.h. */
35401
35402 #include <stdio.h>
35403 #include <stdarg.h>
35404 #ifdef __MSL__
35405 #if __MSL__ >= 0x6000
35406 namespace std {}
35407 using namespace std;
35408 #endif
35409 #endif
35410
35411 int
35412 main ()
35413 {
35414
35415 char *buf;
35416 va_list ap;
35417 const char *fmt = "%s";
35418 vsnprintf(buf, 10u, fmt, ap);
35419
35420 ;
35421 return 0;
35422 }
35423 _ACEOF
35424 rm -f conftest.$ac_objext
35425 if { (ac_try="$ac_compile"
35426 case "(($ac_try" in
35427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35428 *) ac_try_echo=$ac_try;;
35429 esac
35430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35431 (eval "$ac_compile") 2>conftest.er1
35432 ac_status=$?
35433 grep -v '^ *+' conftest.er1 >conftest.err
35434 rm -f conftest.er1
35435 cat conftest.err >&5
35436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35437 (exit $ac_status); } && {
35438 test -z "$ac_cxx_werror_flag" ||
35439 test ! -s conftest.err
35440 } && test -s conftest.$ac_objext; then
35441 wx_cv_func_broken_vsnprintf_decl=no
35442 else
35443 echo "$as_me: failed program was:" >&5
35444 sed 's/^/| /' conftest.$ac_ext >&5
35445
35446 wx_cv_func_broken_vsnprintf_decl=yes
35447
35448 fi
35449
35450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35451
35452
35453 fi
35454 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35455 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35456
35457 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35458 cat >>confdefs.h <<\_ACEOF
35459 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35460 _ACEOF
35461
35462 fi
35463 fi
35464 fi
35465
35466 if test "$ac_cv_func_snprintf" = "yes"; then
35467 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35468 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35469 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35470 echo $ECHO_N "(cached) $ECHO_C" >&6
35471 else
35472
35473 cat >conftest.$ac_ext <<_ACEOF
35474 /* confdefs.h. */
35475 _ACEOF
35476 cat confdefs.h >>conftest.$ac_ext
35477 cat >>conftest.$ac_ext <<_ACEOF
35478 /* end confdefs.h. */
35479
35480 #include <stdio.h>
35481 #include <stdarg.h>
35482 #ifdef __MSL__
35483 #if __MSL__ >= 0x6000
35484 namespace std {}
35485 using namespace std;
35486 #endif
35487 #endif
35488
35489 int
35490 main ()
35491 {
35492
35493 char *buf;
35494 snprintf(buf, 10u, "%s", "wx");
35495
35496 ;
35497 return 0;
35498 }
35499 _ACEOF
35500 rm -f conftest.$ac_objext
35501 if { (ac_try="$ac_compile"
35502 case "(($ac_try" in
35503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35504 *) ac_try_echo=$ac_try;;
35505 esac
35506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35507 (eval "$ac_compile") 2>conftest.er1
35508 ac_status=$?
35509 grep -v '^ *+' conftest.er1 >conftest.err
35510 rm -f conftest.er1
35511 cat conftest.err >&5
35512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35513 (exit $ac_status); } && {
35514 test -z "$ac_cxx_werror_flag" ||
35515 test ! -s conftest.err
35516 } && test -s conftest.$ac_objext; then
35517 wx_cv_func_snprintf_decl=yes
35518 else
35519 echo "$as_me: failed program was:" >&5
35520 sed 's/^/| /' conftest.$ac_ext >&5
35521
35522 wx_cv_func_snprintf_decl=no
35523
35524 fi
35525
35526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35527
35528
35529 fi
35530 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35531 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35532
35533 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35534 cat >>confdefs.h <<\_ACEOF
35535 #define HAVE_SNPRINTF_DECL 1
35536 _ACEOF
35537
35538 fi
35539
35540 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35541
35542 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35543 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35544 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35545 echo $ECHO_N "(cached) $ECHO_C" >&6
35546 else
35547
35548 if test "$cross_compiling" = yes; then
35549
35550 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35551 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35552 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35553 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35554 wx_cv_func_snprintf_pos_params=no
35555
35556
35557 else
35558 cat >conftest.$ac_ext <<_ACEOF
35559 /* confdefs.h. */
35560 _ACEOF
35561 cat confdefs.h >>conftest.$ac_ext
35562 cat >>conftest.$ac_ext <<_ACEOF
35563 /* end confdefs.h. */
35564
35565 #include <stdio.h>
35566
35567 int main (void)
35568 {
35569 char buffer[128];
35570 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35571 if (strcmp ("2 3 1", buffer) == 0)
35572 exit (0);
35573 exit (1);
35574 }
35575
35576 _ACEOF
35577 rm -f conftest$ac_exeext
35578 if { (ac_try="$ac_link"
35579 case "(($ac_try" in
35580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35581 *) ac_try_echo=$ac_try;;
35582 esac
35583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35584 (eval "$ac_link") 2>&5
35585 ac_status=$?
35586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35588 { (case "(($ac_try" in
35589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35590 *) ac_try_echo=$ac_try;;
35591 esac
35592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35593 (eval "$ac_try") 2>&5
35594 ac_status=$?
35595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35596 (exit $ac_status); }; }; then
35597 wx_cv_func_snprintf_pos_params=no
35598 else
35599 echo "$as_me: program exited with status $ac_status" >&5
35600 echo "$as_me: failed program was:" >&5
35601 sed 's/^/| /' conftest.$ac_ext >&5
35602
35603 ( exit $ac_status )
35604 wx_cv_func_snprintf_pos_params=yes
35605 fi
35606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35607 fi
35608
35609
35610
35611
35612 fi
35613 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35614 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35615
35616 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35617 cat >>confdefs.h <<\_ACEOF
35618 #define HAVE_UNIX98_PRINTF 1
35619 _ACEOF
35620
35621 fi
35622 fi
35623 fi
35624
35625 if test "$ac_cv_func_vsscanf" = "yes"; then
35626 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35627 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35628 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35629 echo $ECHO_N "(cached) $ECHO_C" >&6
35630 else
35631
35632 cat >conftest.$ac_ext <<_ACEOF
35633 /* confdefs.h. */
35634 _ACEOF
35635 cat confdefs.h >>conftest.$ac_ext
35636 cat >>conftest.$ac_ext <<_ACEOF
35637 /* end confdefs.h. */
35638
35639 #include <stdio.h>
35640 #include <stdarg.h>
35641 #ifdef __MSL__
35642 #if __MSL__ >= 0x6000
35643 namespace std {}
35644 using namespace std;
35645 #endif
35646 #endif
35647
35648 int
35649 main ()
35650 {
35651
35652 char *buf;
35653 va_list args;
35654 vsscanf(buf, "%s", args);
35655
35656 ;
35657 return 0;
35658 }
35659 _ACEOF
35660 rm -f conftest.$ac_objext
35661 if { (ac_try="$ac_compile"
35662 case "(($ac_try" in
35663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35664 *) ac_try_echo=$ac_try;;
35665 esac
35666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35667 (eval "$ac_compile") 2>conftest.er1
35668 ac_status=$?
35669 grep -v '^ *+' conftest.er1 >conftest.err
35670 rm -f conftest.er1
35671 cat conftest.err >&5
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); } && {
35674 test -z "$ac_cxx_werror_flag" ||
35675 test ! -s conftest.err
35676 } && test -s conftest.$ac_objext; then
35677 wx_cv_func_vsscanf_decl=yes
35678 else
35679 echo "$as_me: failed program was:" >&5
35680 sed 's/^/| /' conftest.$ac_ext >&5
35681
35682 wx_cv_func_vsscanf_decl=no
35683
35684 fi
35685
35686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35687
35688
35689 fi
35690 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35691 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35692
35693 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35694 cat >>confdefs.h <<\_ACEOF
35695 #define HAVE_VSSCANF_DECL 1
35696 _ACEOF
35697
35698 fi
35699 fi
35700 ac_ext=c
35701 ac_cpp='$CPP $CPPFLAGS'
35702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35705
35706
35707 if test "$wxUSE_UNICODE" = yes; then
35708
35709 wchar_headers="#include <stdio.h>
35710 #include <wchar.h>"
35711 case "${host}" in
35712 *-*-solaris2* )
35713
35714 for ac_header in widec.h
35715 do
35716 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35717 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35719 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35720 echo $ECHO_N "(cached) $ECHO_C" >&6
35721 else
35722 cat >conftest.$ac_ext <<_ACEOF
35723 /* confdefs.h. */
35724 _ACEOF
35725 cat confdefs.h >>conftest.$ac_ext
35726 cat >>conftest.$ac_ext <<_ACEOF
35727 /* end confdefs.h. */
35728 $ac_includes_default
35729
35730 #include <$ac_header>
35731 _ACEOF
35732 rm -f conftest.$ac_objext
35733 if { (ac_try="$ac_compile"
35734 case "(($ac_try" in
35735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35736 *) ac_try_echo=$ac_try;;
35737 esac
35738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35739 (eval "$ac_compile") 2>conftest.er1
35740 ac_status=$?
35741 grep -v '^ *+' conftest.er1 >conftest.err
35742 rm -f conftest.er1
35743 cat conftest.err >&5
35744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745 (exit $ac_status); } && {
35746 test -z "$ac_c_werror_flag" ||
35747 test ! -s conftest.err
35748 } && test -s conftest.$ac_objext; then
35749 eval "$as_ac_Header=yes"
35750 else
35751 echo "$as_me: failed program was:" >&5
35752 sed 's/^/| /' conftest.$ac_ext >&5
35753
35754 eval "$as_ac_Header=no"
35755 fi
35756
35757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35758 fi
35759 ac_res=`eval echo '${'$as_ac_Header'}'`
35760 { echo "$as_me:$LINENO: result: $ac_res" >&5
35761 echo "${ECHO_T}$ac_res" >&6; }
35762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35763 cat >>confdefs.h <<_ACEOF
35764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35765 _ACEOF
35766
35767 fi
35768
35769 done
35770
35771 if test "$ac_cv_header_widec_h" = "yes"; then
35772 wchar_headers="$wchar_headers
35773 #include <widec.h>"
35774 fi
35775 esac
35776
35777
35778 for wx_func in putws fputws wprintf vswprintf vswscanf
35779 do
35780 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35781 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35782 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35783 echo $ECHO_N "(cached) $ECHO_C" >&6
35784 else
35785
35786 cat >conftest.$ac_ext <<_ACEOF
35787
35788 /* confdefs.h. */
35789 _ACEOF
35790 cat confdefs.h >>conftest.$ac_ext
35791 cat >>conftest.$ac_ext <<_ACEOF
35792 /* end confdefs.h. */
35793
35794 $wchar_headers
35795 $ac_includes_default
35796
35797 int
35798 main ()
35799 {
35800
35801 #ifndef $wx_func
35802 &$wx_func;
35803 #endif
35804
35805
35806 ;
35807 return 0;
35808 }
35809
35810 _ACEOF
35811 rm -f conftest.$ac_objext conftest$ac_exeext
35812 if { (ac_try="$ac_link"
35813 case "(($ac_try" in
35814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35815 *) ac_try_echo=$ac_try;;
35816 esac
35817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35818 (eval "$ac_link") 2>conftest.er1
35819 ac_status=$?
35820 grep -v '^ *+' conftest.er1 >conftest.err
35821 rm -f conftest.er1
35822 cat conftest.err >&5
35823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35824 (exit $ac_status); } && {
35825 test -z "$ac_c_werror_flag" ||
35826 test ! -s conftest.err
35827 } && test -s conftest$ac_exeext &&
35828 $as_test_x conftest$ac_exeext; then
35829 eval wx_cv_func_$wx_func=yes
35830 else
35831 echo "$as_me: failed program was:" >&5
35832 sed 's/^/| /' conftest.$ac_ext >&5
35833
35834 eval wx_cv_func_$wx_func=no
35835 fi
35836
35837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35838 conftest$ac_exeext conftest.$ac_ext
35839
35840 fi
35841 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35842 { echo "$as_me:$LINENO: result: $ac_res" >&5
35843 echo "${ECHO_T}$ac_res" >&6; }
35844
35845 if eval test \$wx_cv_func_$wx_func = yes
35846 then
35847 cat >>confdefs.h <<_ACEOF
35848 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35849 _ACEOF
35850
35851
35852 else
35853 :
35854
35855 fi
35856 done
35857
35858
35859 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35860 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35861 cat >conftest.$ac_ext <<_ACEOF
35862 /* confdefs.h. */
35863 _ACEOF
35864 cat confdefs.h >>conftest.$ac_ext
35865 cat >>conftest.$ac_ext <<_ACEOF
35866 /* end confdefs.h. */
35867 #include <wchar.h>
35868 int
35869 main ()
35870 {
35871 &_vsnwprintf;
35872 ;
35873 return 0;
35874 }
35875 _ACEOF
35876 rm -f conftest.$ac_objext
35877 if { (ac_try="$ac_compile"
35878 case "(($ac_try" in
35879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35880 *) ac_try_echo=$ac_try;;
35881 esac
35882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35883 (eval "$ac_compile") 2>conftest.er1
35884 ac_status=$?
35885 grep -v '^ *+' conftest.er1 >conftest.err
35886 rm -f conftest.er1
35887 cat conftest.err >&5
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); } && {
35890 test -z "$ac_c_werror_flag" ||
35891 test ! -s conftest.err
35892 } && test -s conftest.$ac_objext; then
35893 { echo "$as_me:$LINENO: result: yes" >&5
35894 echo "${ECHO_T}yes" >&6; }
35895 cat >>confdefs.h <<\_ACEOF
35896 #define HAVE__VSNWPRINTF 1
35897 _ACEOF
35898
35899 else
35900 echo "$as_me: failed program was:" >&5
35901 sed 's/^/| /' conftest.$ac_ext >&5
35902
35903 { echo "$as_me:$LINENO: result: no" >&5
35904 echo "${ECHO_T}no" >&6; }
35905 fi
35906
35907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35908 fi
35909
35910 if test "$wxUSE_FILE" = "yes"; then
35911
35912 for wx_func in fsync
35913 do
35914 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35915 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35916 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35917 echo $ECHO_N "(cached) $ECHO_C" >&6
35918 else
35919
35920 cat >conftest.$ac_ext <<_ACEOF
35921
35922 /* confdefs.h. */
35923 _ACEOF
35924 cat confdefs.h >>conftest.$ac_ext
35925 cat >>conftest.$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35927
35928
35929 $ac_includes_default
35930
35931 int
35932 main ()
35933 {
35934
35935 #ifndef $wx_func
35936 &$wx_func;
35937 #endif
35938
35939
35940 ;
35941 return 0;
35942 }
35943
35944 _ACEOF
35945 rm -f conftest.$ac_objext conftest$ac_exeext
35946 if { (ac_try="$ac_link"
35947 case "(($ac_try" in
35948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35949 *) ac_try_echo=$ac_try;;
35950 esac
35951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35952 (eval "$ac_link") 2>conftest.er1
35953 ac_status=$?
35954 grep -v '^ *+' conftest.er1 >conftest.err
35955 rm -f conftest.er1
35956 cat conftest.err >&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); } && {
35959 test -z "$ac_c_werror_flag" ||
35960 test ! -s conftest.err
35961 } && test -s conftest$ac_exeext &&
35962 $as_test_x conftest$ac_exeext; then
35963 eval wx_cv_func_$wx_func=yes
35964 else
35965 echo "$as_me: failed program was:" >&5
35966 sed 's/^/| /' conftest.$ac_ext >&5
35967
35968 eval wx_cv_func_$wx_func=no
35969 fi
35970
35971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35972 conftest$ac_exeext conftest.$ac_ext
35973
35974 fi
35975 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35976 { echo "$as_me:$LINENO: result: $ac_res" >&5
35977 echo "${ECHO_T}$ac_res" >&6; }
35978
35979 if eval test \$wx_cv_func_$wx_func = yes
35980 then
35981 cat >>confdefs.h <<_ACEOF
35982 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35983 _ACEOF
35984
35985
35986 else
35987 :
35988
35989 fi
35990 done
35991
35992 fi
35993
35994 ac_ext=cpp
35995 ac_cpp='$CXXCPP $CPPFLAGS'
35996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35999
36000
36001 for wx_func in round
36002 do
36003 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36004 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36005 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36006 echo $ECHO_N "(cached) $ECHO_C" >&6
36007 else
36008
36009 cat >conftest.$ac_ext <<_ACEOF
36010
36011 /* confdefs.h. */
36012 _ACEOF
36013 cat confdefs.h >>conftest.$ac_ext
36014 cat >>conftest.$ac_ext <<_ACEOF
36015 /* end confdefs.h. */
36016
36017 #include <math.h>
36018 $ac_includes_default
36019
36020 int
36021 main ()
36022 {
36023
36024 #ifndef $wx_func
36025 &$wx_func;
36026 #endif
36027
36028
36029 ;
36030 return 0;
36031 }
36032
36033 _ACEOF
36034 rm -f conftest.$ac_objext conftest$ac_exeext
36035 if { (ac_try="$ac_link"
36036 case "(($ac_try" in
36037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36038 *) ac_try_echo=$ac_try;;
36039 esac
36040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36041 (eval "$ac_link") 2>conftest.er1
36042 ac_status=$?
36043 grep -v '^ *+' conftest.er1 >conftest.err
36044 rm -f conftest.er1
36045 cat conftest.err >&5
36046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36047 (exit $ac_status); } && {
36048 test -z "$ac_cxx_werror_flag" ||
36049 test ! -s conftest.err
36050 } && test -s conftest$ac_exeext &&
36051 $as_test_x conftest$ac_exeext; then
36052 eval wx_cv_func_$wx_func=yes
36053 else
36054 echo "$as_me: failed program was:" >&5
36055 sed 's/^/| /' conftest.$ac_ext >&5
36056
36057 eval wx_cv_func_$wx_func=no
36058 fi
36059
36060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36061 conftest$ac_exeext conftest.$ac_ext
36062
36063 fi
36064 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36065 { echo "$as_me:$LINENO: result: $ac_res" >&5
36066 echo "${ECHO_T}$ac_res" >&6; }
36067
36068 if eval test \$wx_cv_func_$wx_func = yes
36069 then
36070 cat >>confdefs.h <<_ACEOF
36071 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36072 _ACEOF
36073
36074
36075 else
36076 :
36077
36078 fi
36079 done
36080
36081 ac_ext=c
36082 ac_cpp='$CPP $CPPFLAGS'
36083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36086
36087
36088 if test "$TOOLKIT" != "MSW"; then
36089
36090 if test "$wxUSE_LIBICONV" != "no" ; then
36091
36092
36093
36094 # Check whether --with-libiconv-prefix was given.
36095 if test "${with_libiconv_prefix+set}" = set; then
36096 withval=$with_libiconv_prefix;
36097 for dir in `echo "$withval" | tr : ' '`; do
36098 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36099 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36100 done
36101
36102 fi
36103
36104
36105 { echo "$as_me:$LINENO: checking for iconv" >&5
36106 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36107 if test "${am_cv_func_iconv+set}" = set; then
36108 echo $ECHO_N "(cached) $ECHO_C" >&6
36109 else
36110
36111 am_cv_func_iconv="no, consider installing GNU libiconv"
36112 am_cv_lib_iconv=no
36113 cat >conftest.$ac_ext <<_ACEOF
36114 /* confdefs.h. */
36115 _ACEOF
36116 cat confdefs.h >>conftest.$ac_ext
36117 cat >>conftest.$ac_ext <<_ACEOF
36118 /* end confdefs.h. */
36119 #include <stdlib.h>
36120 #include <iconv.h>
36121 int
36122 main ()
36123 {
36124 iconv_t cd = iconv_open("","");
36125 iconv(cd,NULL,NULL,NULL,NULL);
36126 iconv_close(cd);
36127 ;
36128 return 0;
36129 }
36130 _ACEOF
36131 rm -f conftest.$ac_objext conftest$ac_exeext
36132 if { (ac_try="$ac_link"
36133 case "(($ac_try" in
36134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36135 *) ac_try_echo=$ac_try;;
36136 esac
36137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36138 (eval "$ac_link") 2>conftest.er1
36139 ac_status=$?
36140 grep -v '^ *+' conftest.er1 >conftest.err
36141 rm -f conftest.er1
36142 cat conftest.err >&5
36143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36144 (exit $ac_status); } && {
36145 test -z "$ac_c_werror_flag" ||
36146 test ! -s conftest.err
36147 } && test -s conftest$ac_exeext &&
36148 $as_test_x conftest$ac_exeext; then
36149 am_cv_func_iconv=yes
36150 else
36151 echo "$as_me: failed program was:" >&5
36152 sed 's/^/| /' conftest.$ac_ext >&5
36153
36154
36155 fi
36156
36157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36158 conftest$ac_exeext conftest.$ac_ext
36159 if test "$am_cv_func_iconv" != yes; then
36160 am_save_LIBS="$LIBS"
36161 LIBS="$LIBS -liconv"
36162 cat >conftest.$ac_ext <<_ACEOF
36163 /* confdefs.h. */
36164 _ACEOF
36165 cat confdefs.h >>conftest.$ac_ext
36166 cat >>conftest.$ac_ext <<_ACEOF
36167 /* end confdefs.h. */
36168 #include <stdlib.h>
36169 #include <iconv.h>
36170 int
36171 main ()
36172 {
36173 iconv_t cd = iconv_open("","");
36174 iconv(cd,NULL,NULL,NULL,NULL);
36175 iconv_close(cd);
36176 ;
36177 return 0;
36178 }
36179 _ACEOF
36180 rm -f conftest.$ac_objext conftest$ac_exeext
36181 if { (ac_try="$ac_link"
36182 case "(($ac_try" in
36183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36184 *) ac_try_echo=$ac_try;;
36185 esac
36186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36187 (eval "$ac_link") 2>conftest.er1
36188 ac_status=$?
36189 grep -v '^ *+' conftest.er1 >conftest.err
36190 rm -f conftest.er1
36191 cat conftest.err >&5
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); } && {
36194 test -z "$ac_c_werror_flag" ||
36195 test ! -s conftest.err
36196 } && test -s conftest$ac_exeext &&
36197 $as_test_x conftest$ac_exeext; then
36198 am_cv_lib_iconv=yes
36199 am_cv_func_iconv=yes
36200 else
36201 echo "$as_me: failed program was:" >&5
36202 sed 's/^/| /' conftest.$ac_ext >&5
36203
36204
36205 fi
36206
36207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36208 conftest$ac_exeext conftest.$ac_ext
36209 LIBS="$am_save_LIBS"
36210 fi
36211
36212 fi
36213 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36214 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36215 if test "$am_cv_func_iconv" = yes; then
36216
36217 cat >>confdefs.h <<\_ACEOF
36218 #define HAVE_ICONV 1
36219 _ACEOF
36220
36221 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36222 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36223 if test "${wx_cv_func_iconv_const+set}" = set; then
36224 echo $ECHO_N "(cached) $ECHO_C" >&6
36225 else
36226 cat >conftest.$ac_ext <<_ACEOF
36227 /* confdefs.h. */
36228 _ACEOF
36229 cat confdefs.h >>conftest.$ac_ext
36230 cat >>conftest.$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232
36233 #include <stdlib.h>
36234 #include <iconv.h>
36235 extern
36236 #ifdef __cplusplus
36237 "C"
36238 #endif
36239 #if defined(__STDC__) || defined(__cplusplus)
36240 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36241 #else
36242 size_t iconv();
36243 #endif
36244
36245 int
36246 main ()
36247 {
36248
36249 ;
36250 return 0;
36251 }
36252 _ACEOF
36253 rm -f conftest.$ac_objext
36254 if { (ac_try="$ac_compile"
36255 case "(($ac_try" in
36256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36257 *) ac_try_echo=$ac_try;;
36258 esac
36259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36260 (eval "$ac_compile") 2>conftest.er1
36261 ac_status=$?
36262 grep -v '^ *+' conftest.er1 >conftest.err
36263 rm -f conftest.er1
36264 cat conftest.err >&5
36265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36266 (exit $ac_status); } && {
36267 test -z "$ac_c_werror_flag" ||
36268 test ! -s conftest.err
36269 } && test -s conftest.$ac_objext; then
36270 wx_cv_func_iconv_const="no"
36271 else
36272 echo "$as_me: failed program was:" >&5
36273 sed 's/^/| /' conftest.$ac_ext >&5
36274
36275 wx_cv_func_iconv_const="yes"
36276
36277 fi
36278
36279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36280
36281 fi
36282 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36283 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36284
36285 iconv_const=
36286 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36287 iconv_const="const"
36288 fi
36289
36290
36291 cat >>confdefs.h <<_ACEOF
36292 #define ICONV_CONST $iconv_const
36293 _ACEOF
36294
36295 fi
36296 LIBICONV=
36297 if test "$am_cv_lib_iconv" = yes; then
36298 LIBICONV="-liconv"
36299 fi
36300
36301
36302 LIBS="$LIBICONV $LIBS"
36303 fi
36304
36305 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36306
36307 for ac_func in sigaction
36308 do
36309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36310 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36312 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36313 echo $ECHO_N "(cached) $ECHO_C" >&6
36314 else
36315 cat >conftest.$ac_ext <<_ACEOF
36316 /* confdefs.h. */
36317 _ACEOF
36318 cat confdefs.h >>conftest.$ac_ext
36319 cat >>conftest.$ac_ext <<_ACEOF
36320 /* end confdefs.h. */
36321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36323 #define $ac_func innocuous_$ac_func
36324
36325 /* System header to define __stub macros and hopefully few prototypes,
36326 which can conflict with char $ac_func (); below.
36327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36328 <limits.h> exists even on freestanding compilers. */
36329
36330 #ifdef __STDC__
36331 # include <limits.h>
36332 #else
36333 # include <assert.h>
36334 #endif
36335
36336 #undef $ac_func
36337
36338 /* Override any GCC internal prototype to avoid an error.
36339 Use char because int might match the return type of a GCC
36340 builtin and then its argument prototype would still apply. */
36341 #ifdef __cplusplus
36342 extern "C"
36343 #endif
36344 char $ac_func ();
36345 /* The GNU C library defines this for functions which it implements
36346 to always fail with ENOSYS. Some functions are actually named
36347 something starting with __ and the normal name is an alias. */
36348 #if defined __stub_$ac_func || defined __stub___$ac_func
36349 choke me
36350 #endif
36351
36352 int
36353 main ()
36354 {
36355 return $ac_func ();
36356 ;
36357 return 0;
36358 }
36359 _ACEOF
36360 rm -f conftest.$ac_objext conftest$ac_exeext
36361 if { (ac_try="$ac_link"
36362 case "(($ac_try" in
36363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36364 *) ac_try_echo=$ac_try;;
36365 esac
36366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36367 (eval "$ac_link") 2>conftest.er1
36368 ac_status=$?
36369 grep -v '^ *+' conftest.er1 >conftest.err
36370 rm -f conftest.er1
36371 cat conftest.err >&5
36372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36373 (exit $ac_status); } && {
36374 test -z "$ac_c_werror_flag" ||
36375 test ! -s conftest.err
36376 } && test -s conftest$ac_exeext &&
36377 $as_test_x conftest$ac_exeext; then
36378 eval "$as_ac_var=yes"
36379 else
36380 echo "$as_me: failed program was:" >&5
36381 sed 's/^/| /' conftest.$ac_ext >&5
36382
36383 eval "$as_ac_var=no"
36384 fi
36385
36386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36387 conftest$ac_exeext conftest.$ac_ext
36388 fi
36389 ac_res=`eval echo '${'$as_ac_var'}'`
36390 { echo "$as_me:$LINENO: result: $ac_res" >&5
36391 echo "${ECHO_T}$ac_res" >&6; }
36392 if test `eval echo '${'$as_ac_var'}'` = yes; then
36393 cat >>confdefs.h <<_ACEOF
36394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36395 _ACEOF
36396
36397 fi
36398 done
36399
36400
36401 if test "$ac_cv_func_sigaction" = "no"; then
36402 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36403 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36404 wxUSE_ON_FATAL_EXCEPTION=no
36405 fi
36406
36407 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36408 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36409 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36410 if test "${wx_cv_type_sa_handler+set}" = set; then
36411 echo $ECHO_N "(cached) $ECHO_C" >&6
36412 else
36413
36414 ac_ext=cpp
36415 ac_cpp='$CXXCPP $CPPFLAGS'
36416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36419
36420 cat >conftest.$ac_ext <<_ACEOF
36421 /* confdefs.h. */
36422 _ACEOF
36423 cat confdefs.h >>conftest.$ac_ext
36424 cat >>conftest.$ac_ext <<_ACEOF
36425 /* end confdefs.h. */
36426 #include <signal.h>
36427 int
36428 main ()
36429 {
36430
36431 extern void testSigHandler(int);
36432
36433 struct sigaction sa;
36434 sa.sa_handler = testSigHandler;
36435
36436 ;
36437 return 0;
36438 }
36439 _ACEOF
36440 rm -f conftest.$ac_objext
36441 if { (ac_try="$ac_compile"
36442 case "(($ac_try" in
36443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36444 *) ac_try_echo=$ac_try;;
36445 esac
36446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36447 (eval "$ac_compile") 2>conftest.er1
36448 ac_status=$?
36449 grep -v '^ *+' conftest.er1 >conftest.err
36450 rm -f conftest.er1
36451 cat conftest.err >&5
36452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36453 (exit $ac_status); } && {
36454 test -z "$ac_cxx_werror_flag" ||
36455 test ! -s conftest.err
36456 } && test -s conftest.$ac_objext; then
36457
36458 wx_cv_type_sa_handler=int
36459
36460 else
36461 echo "$as_me: failed program was:" >&5
36462 sed 's/^/| /' conftest.$ac_ext >&5
36463
36464
36465 wx_cv_type_sa_handler=void
36466
36467 fi
36468
36469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36470 ac_ext=c
36471 ac_cpp='$CPP $CPPFLAGS'
36472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36475
36476
36477 fi
36478 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36479 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36480
36481 cat >>confdefs.h <<_ACEOF
36482 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36483 _ACEOF
36484
36485 fi
36486 fi
36487
36488 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36489 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36490 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36491 if test "${wx_cv_func_backtrace+set}" = set; then
36492 echo $ECHO_N "(cached) $ECHO_C" >&6
36493 else
36494
36495 ac_ext=cpp
36496 ac_cpp='$CXXCPP $CPPFLAGS'
36497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36500
36501 cat >conftest.$ac_ext <<_ACEOF
36502 /* confdefs.h. */
36503 _ACEOF
36504 cat confdefs.h >>conftest.$ac_ext
36505 cat >>conftest.$ac_ext <<_ACEOF
36506 /* end confdefs.h. */
36507 #include <execinfo.h>
36508 int
36509 main ()
36510 {
36511
36512 void *trace[1];
36513 char **messages;
36514
36515 backtrace(trace, 1);
36516 messages = backtrace_symbols(trace, 1);
36517
36518 ;
36519 return 0;
36520 }
36521 _ACEOF
36522 rm -f conftest.$ac_objext
36523 if { (ac_try="$ac_compile"
36524 case "(($ac_try" in
36525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36526 *) ac_try_echo=$ac_try;;
36527 esac
36528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36529 (eval "$ac_compile") 2>conftest.er1
36530 ac_status=$?
36531 grep -v '^ *+' conftest.er1 >conftest.err
36532 rm -f conftest.er1
36533 cat conftest.err >&5
36534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535 (exit $ac_status); } && {
36536 test -z "$ac_cxx_werror_flag" ||
36537 test ! -s conftest.err
36538 } && test -s conftest.$ac_objext; then
36539 wx_cv_func_backtrace=yes
36540 else
36541 echo "$as_me: failed program was:" >&5
36542 sed 's/^/| /' conftest.$ac_ext >&5
36543
36544 wx_cv_func_backtrace=no
36545
36546 fi
36547
36548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36549 ac_ext=c
36550 ac_cpp='$CPP $CPPFLAGS'
36551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36554
36555
36556
36557 fi
36558 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36559 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36560
36561
36562 if test "$wx_cv_func_backtrace" = "no"; then
36563 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36564 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36565 wxUSE_STACKWALKER=no
36566 else
36567 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36568 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36569 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36570 echo $ECHO_N "(cached) $ECHO_C" >&6
36571 else
36572
36573 ac_ext=cpp
36574 ac_cpp='$CXXCPP $CPPFLAGS'
36575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36578
36579 cat >conftest.$ac_ext <<_ACEOF
36580 /* confdefs.h. */
36581 _ACEOF
36582 cat confdefs.h >>conftest.$ac_ext
36583 cat >>conftest.$ac_ext <<_ACEOF
36584 /* end confdefs.h. */
36585 #include <cxxabi.h>
36586 int
36587 main ()
36588 {
36589
36590 int rc;
36591 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36592
36593 ;
36594 return 0;
36595 }
36596 _ACEOF
36597 rm -f conftest.$ac_objext conftest$ac_exeext
36598 if { (ac_try="$ac_link"
36599 case "(($ac_try" in
36600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36601 *) ac_try_echo=$ac_try;;
36602 esac
36603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36604 (eval "$ac_link") 2>conftest.er1
36605 ac_status=$?
36606 grep -v '^ *+' conftest.er1 >conftest.err
36607 rm -f conftest.er1
36608 cat conftest.err >&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); } && {
36611 test -z "$ac_cxx_werror_flag" ||
36612 test ! -s conftest.err
36613 } && test -s conftest$ac_exeext &&
36614 $as_test_x conftest$ac_exeext; then
36615 wx_cv_func_cxa_demangle=yes
36616 else
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.$ac_ext >&5
36619
36620 wx_cv_func_cxa_demangle=no
36621
36622 fi
36623
36624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36625 conftest$ac_exeext conftest.$ac_ext
36626 ac_ext=c
36627 ac_cpp='$CPP $CPPFLAGS'
36628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36631
36632
36633
36634 fi
36635 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36636 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36637
36638 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36639 cat >>confdefs.h <<\_ACEOF
36640 #define HAVE_CXA_DEMANGLE 1
36641 _ACEOF
36642
36643 fi
36644 fi
36645 fi
36646
36647 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36648 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36649 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36650 wxUSE_STACKWALKER=no
36651 fi
36652
36653
36654
36655
36656 for ac_func in mkstemp mktemp
36657 do
36658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36659 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36661 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36662 echo $ECHO_N "(cached) $ECHO_C" >&6
36663 else
36664 cat >conftest.$ac_ext <<_ACEOF
36665 /* confdefs.h. */
36666 _ACEOF
36667 cat confdefs.h >>conftest.$ac_ext
36668 cat >>conftest.$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36672 #define $ac_func innocuous_$ac_func
36673
36674 /* System header to define __stub macros and hopefully few prototypes,
36675 which can conflict with char $ac_func (); below.
36676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36677 <limits.h> exists even on freestanding compilers. */
36678
36679 #ifdef __STDC__
36680 # include <limits.h>
36681 #else
36682 # include <assert.h>
36683 #endif
36684
36685 #undef $ac_func
36686
36687 /* Override any GCC internal prototype to avoid an error.
36688 Use char because int might match the return type of a GCC
36689 builtin and then its argument prototype would still apply. */
36690 #ifdef __cplusplus
36691 extern "C"
36692 #endif
36693 char $ac_func ();
36694 /* The GNU C library defines this for functions which it implements
36695 to always fail with ENOSYS. Some functions are actually named
36696 something starting with __ and the normal name is an alias. */
36697 #if defined __stub_$ac_func || defined __stub___$ac_func
36698 choke me
36699 #endif
36700
36701 int
36702 main ()
36703 {
36704 return $ac_func ();
36705 ;
36706 return 0;
36707 }
36708 _ACEOF
36709 rm -f conftest.$ac_objext conftest$ac_exeext
36710 if { (ac_try="$ac_link"
36711 case "(($ac_try" in
36712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36713 *) ac_try_echo=$ac_try;;
36714 esac
36715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36716 (eval "$ac_link") 2>conftest.er1
36717 ac_status=$?
36718 grep -v '^ *+' conftest.er1 >conftest.err
36719 rm -f conftest.er1
36720 cat conftest.err >&5
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); } && {
36723 test -z "$ac_c_werror_flag" ||
36724 test ! -s conftest.err
36725 } && test -s conftest$ac_exeext &&
36726 $as_test_x conftest$ac_exeext; then
36727 eval "$as_ac_var=yes"
36728 else
36729 echo "$as_me: failed program was:" >&5
36730 sed 's/^/| /' conftest.$ac_ext >&5
36731
36732 eval "$as_ac_var=no"
36733 fi
36734
36735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36736 conftest$ac_exeext conftest.$ac_ext
36737 fi
36738 ac_res=`eval echo '${'$as_ac_var'}'`
36739 { echo "$as_me:$LINENO: result: $ac_res" >&5
36740 echo "${ECHO_T}$ac_res" >&6; }
36741 if test `eval echo '${'$as_ac_var'}'` = yes; then
36742 cat >>confdefs.h <<_ACEOF
36743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36744 _ACEOF
36745 break
36746 fi
36747 done
36748
36749
36750 { echo "$as_me:$LINENO: checking for statfs" >&5
36751 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36752 if test "${wx_cv_func_statfs+set}" = set; then
36753 echo $ECHO_N "(cached) $ECHO_C" >&6
36754 else
36755 cat >conftest.$ac_ext <<_ACEOF
36756 /* confdefs.h. */
36757 _ACEOF
36758 cat confdefs.h >>conftest.$ac_ext
36759 cat >>conftest.$ac_ext <<_ACEOF
36760 /* end confdefs.h. */
36761
36762 #if defined(__BSD__)
36763 #include <sys/param.h>
36764 #include <sys/mount.h>
36765 #else
36766 #include <sys/vfs.h>
36767 #endif
36768
36769 int
36770 main ()
36771 {
36772
36773 long l;
36774 struct statfs fs;
36775 statfs("/", &fs);
36776 l = fs.f_bsize;
36777 l += fs.f_blocks;
36778 l += fs.f_bavail;
36779
36780 ;
36781 return 0;
36782 }
36783 _ACEOF
36784 rm -f conftest.$ac_objext
36785 if { (ac_try="$ac_compile"
36786 case "(($ac_try" in
36787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36788 *) ac_try_echo=$ac_try;;
36789 esac
36790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36791 (eval "$ac_compile") 2>conftest.er1
36792 ac_status=$?
36793 grep -v '^ *+' conftest.er1 >conftest.err
36794 rm -f conftest.er1
36795 cat conftest.err >&5
36796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36797 (exit $ac_status); } && {
36798 test -z "$ac_c_werror_flag" ||
36799 test ! -s conftest.err
36800 } && test -s conftest.$ac_objext; then
36801 wx_cv_func_statfs=yes
36802 else
36803 echo "$as_me: failed program was:" >&5
36804 sed 's/^/| /' conftest.$ac_ext >&5
36805
36806 wx_cv_func_statfs=no
36807
36808 fi
36809
36810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36811
36812 fi
36813 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36814 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36815
36816 if test "$wx_cv_func_statfs" = "yes"; then
36817 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36818 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36819 if test "${wx_cv_func_statfs_decl+set}" = set; then
36820 echo $ECHO_N "(cached) $ECHO_C" >&6
36821 else
36822 ac_ext=cpp
36823 ac_cpp='$CXXCPP $CPPFLAGS'
36824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36827
36828 cat >conftest.$ac_ext <<_ACEOF
36829 /* confdefs.h. */
36830 _ACEOF
36831 cat confdefs.h >>conftest.$ac_ext
36832 cat >>conftest.$ac_ext <<_ACEOF
36833 /* end confdefs.h. */
36834
36835 #if defined(__BSD__)
36836 #include <sys/param.h>
36837 #include <sys/mount.h>
36838 #else
36839 #include <sys/vfs.h>
36840 #endif
36841
36842 int
36843 main ()
36844 {
36845
36846 struct statfs fs;
36847 statfs("", &fs);
36848
36849 ;
36850 return 0;
36851 }
36852 _ACEOF
36853 rm -f conftest.$ac_objext
36854 if { (ac_try="$ac_compile"
36855 case "(($ac_try" in
36856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36857 *) ac_try_echo=$ac_try;;
36858 esac
36859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36860 (eval "$ac_compile") 2>conftest.er1
36861 ac_status=$?
36862 grep -v '^ *+' conftest.er1 >conftest.err
36863 rm -f conftest.er1
36864 cat conftest.err >&5
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); } && {
36867 test -z "$ac_cxx_werror_flag" ||
36868 test ! -s conftest.err
36869 } && test -s conftest.$ac_objext; then
36870 wx_cv_func_statfs_decl=yes
36871 else
36872 echo "$as_me: failed program was:" >&5
36873 sed 's/^/| /' conftest.$ac_ext >&5
36874
36875 wx_cv_func_statfs_decl=no
36876
36877 fi
36878
36879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36880 ac_ext=c
36881 ac_cpp='$CPP $CPPFLAGS'
36882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36885
36886
36887 fi
36888 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36889 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36890
36891 if test "$wx_cv_func_statfs_decl" = "yes"; then
36892 cat >>confdefs.h <<\_ACEOF
36893 #define HAVE_STATFS_DECL 1
36894 _ACEOF
36895
36896 fi
36897
36898 wx_cv_type_statvfs_t="struct statfs"
36899 cat >>confdefs.h <<\_ACEOF
36900 #define HAVE_STATFS 1
36901 _ACEOF
36902
36903 else
36904 { echo "$as_me:$LINENO: checking for statvfs" >&5
36905 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36906 if test "${wx_cv_func_statvfs+set}" = set; then
36907 echo $ECHO_N "(cached) $ECHO_C" >&6
36908 else
36909 cat >conftest.$ac_ext <<_ACEOF
36910 /* confdefs.h. */
36911 _ACEOF
36912 cat confdefs.h >>conftest.$ac_ext
36913 cat >>conftest.$ac_ext <<_ACEOF
36914 /* end confdefs.h. */
36915
36916 #include <stddef.h>
36917 #include <sys/statvfs.h>
36918
36919 int
36920 main ()
36921 {
36922
36923 statvfs("/", NULL);
36924
36925 ;
36926 return 0;
36927 }
36928 _ACEOF
36929 rm -f conftest.$ac_objext
36930 if { (ac_try="$ac_compile"
36931 case "(($ac_try" in
36932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36933 *) ac_try_echo=$ac_try;;
36934 esac
36935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36936 (eval "$ac_compile") 2>conftest.er1
36937 ac_status=$?
36938 grep -v '^ *+' conftest.er1 >conftest.err
36939 rm -f conftest.er1
36940 cat conftest.err >&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); } && {
36943 test -z "$ac_c_werror_flag" ||
36944 test ! -s conftest.err
36945 } && test -s conftest.$ac_objext; then
36946 wx_cv_func_statvfs=yes
36947 else
36948 echo "$as_me: failed program was:" >&5
36949 sed 's/^/| /' conftest.$ac_ext >&5
36950
36951 wx_cv_func_statvfs=no
36952
36953 fi
36954
36955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36956
36957 fi
36958 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36959 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36960
36961 if test "$wx_cv_func_statvfs" = "yes"; then
36962 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36963 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36964 if test "${wx_cv_type_statvfs_t+set}" = set; then
36965 echo $ECHO_N "(cached) $ECHO_C" >&6
36966 else
36967 ac_ext=cpp
36968 ac_cpp='$CXXCPP $CPPFLAGS'
36969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36972
36973 cat >conftest.$ac_ext <<_ACEOF
36974 /* confdefs.h. */
36975 _ACEOF
36976 cat confdefs.h >>conftest.$ac_ext
36977 cat >>conftest.$ac_ext <<_ACEOF
36978 /* end confdefs.h. */
36979
36980 #include <sys/statvfs.h>
36981
36982 int
36983 main ()
36984 {
36985
36986 long l;
36987 statvfs_t fs;
36988 statvfs("/", &fs);
36989 l = fs.f_bsize;
36990 l += fs.f_blocks;
36991 l += fs.f_bavail;
36992
36993 ;
36994 return 0;
36995 }
36996 _ACEOF
36997 rm -f conftest.$ac_objext
36998 if { (ac_try="$ac_compile"
36999 case "(($ac_try" in
37000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37001 *) ac_try_echo=$ac_try;;
37002 esac
37003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37004 (eval "$ac_compile") 2>conftest.er1
37005 ac_status=$?
37006 grep -v '^ *+' conftest.er1 >conftest.err
37007 rm -f conftest.er1
37008 cat conftest.err >&5
37009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010 (exit $ac_status); } && {
37011 test -z "$ac_cxx_werror_flag" ||
37012 test ! -s conftest.err
37013 } && test -s conftest.$ac_objext; then
37014 wx_cv_type_statvfs_t=statvfs_t
37015 else
37016 echo "$as_me: failed program was:" >&5
37017 sed 's/^/| /' conftest.$ac_ext >&5
37018
37019
37020 cat >conftest.$ac_ext <<_ACEOF
37021 /* confdefs.h. */
37022 _ACEOF
37023 cat confdefs.h >>conftest.$ac_ext
37024 cat >>conftest.$ac_ext <<_ACEOF
37025 /* end confdefs.h. */
37026
37027 #include <sys/statvfs.h>
37028
37029 int
37030 main ()
37031 {
37032
37033 long l;
37034 struct statvfs fs;
37035 statvfs("/", &fs);
37036 l = fs.f_bsize;
37037 l += fs.f_blocks;
37038 l += fs.f_bavail;
37039
37040 ;
37041 return 0;
37042 }
37043 _ACEOF
37044 rm -f conftest.$ac_objext
37045 if { (ac_try="$ac_compile"
37046 case "(($ac_try" in
37047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37048 *) ac_try_echo=$ac_try;;
37049 esac
37050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37051 (eval "$ac_compile") 2>conftest.er1
37052 ac_status=$?
37053 grep -v '^ *+' conftest.er1 >conftest.err
37054 rm -f conftest.er1
37055 cat conftest.err >&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } && {
37058 test -z "$ac_cxx_werror_flag" ||
37059 test ! -s conftest.err
37060 } && test -s conftest.$ac_objext; then
37061 wx_cv_type_statvfs_t="struct statvfs"
37062 else
37063 echo "$as_me: failed program was:" >&5
37064 sed 's/^/| /' conftest.$ac_ext >&5
37065
37066 wx_cv_type_statvfs_t="unknown"
37067
37068 fi
37069
37070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37071
37072
37073 fi
37074
37075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37076 ac_ext=c
37077 ac_cpp='$CPP $CPPFLAGS'
37078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37081
37082
37083 fi
37084 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37085 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37086
37087 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37088 cat >>confdefs.h <<\_ACEOF
37089 #define HAVE_STATVFS 1
37090 _ACEOF
37091
37092 fi
37093 else
37094 wx_cv_type_statvfs_t="unknown"
37095 fi
37096 fi
37097
37098 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37099 cat >>confdefs.h <<_ACEOF
37100 #define WX_STATFS_T $wx_cv_type_statvfs_t
37101 _ACEOF
37102
37103 else
37104 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37105 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37106 fi
37107
37108 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37109
37110
37111 for ac_func in fcntl flock
37112 do
37113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37114 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37116 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37117 echo $ECHO_N "(cached) $ECHO_C" >&6
37118 else
37119 cat >conftest.$ac_ext <<_ACEOF
37120 /* confdefs.h. */
37121 _ACEOF
37122 cat confdefs.h >>conftest.$ac_ext
37123 cat >>conftest.$ac_ext <<_ACEOF
37124 /* end confdefs.h. */
37125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37127 #define $ac_func innocuous_$ac_func
37128
37129 /* System header to define __stub macros and hopefully few prototypes,
37130 which can conflict with char $ac_func (); below.
37131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37132 <limits.h> exists even on freestanding compilers. */
37133
37134 #ifdef __STDC__
37135 # include <limits.h>
37136 #else
37137 # include <assert.h>
37138 #endif
37139
37140 #undef $ac_func
37141
37142 /* Override any GCC internal prototype to avoid an error.
37143 Use char because int might match the return type of a GCC
37144 builtin and then its argument prototype would still apply. */
37145 #ifdef __cplusplus
37146 extern "C"
37147 #endif
37148 char $ac_func ();
37149 /* The GNU C library defines this for functions which it implements
37150 to always fail with ENOSYS. Some functions are actually named
37151 something starting with __ and the normal name is an alias. */
37152 #if defined __stub_$ac_func || defined __stub___$ac_func
37153 choke me
37154 #endif
37155
37156 int
37157 main ()
37158 {
37159 return $ac_func ();
37160 ;
37161 return 0;
37162 }
37163 _ACEOF
37164 rm -f conftest.$ac_objext conftest$ac_exeext
37165 if { (ac_try="$ac_link"
37166 case "(($ac_try" in
37167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37168 *) ac_try_echo=$ac_try;;
37169 esac
37170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37171 (eval "$ac_link") 2>conftest.er1
37172 ac_status=$?
37173 grep -v '^ *+' conftest.er1 >conftest.err
37174 rm -f conftest.er1
37175 cat conftest.err >&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } && {
37178 test -z "$ac_c_werror_flag" ||
37179 test ! -s conftest.err
37180 } && test -s conftest$ac_exeext &&
37181 $as_test_x conftest$ac_exeext; then
37182 eval "$as_ac_var=yes"
37183 else
37184 echo "$as_me: failed program was:" >&5
37185 sed 's/^/| /' conftest.$ac_ext >&5
37186
37187 eval "$as_ac_var=no"
37188 fi
37189
37190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37191 conftest$ac_exeext conftest.$ac_ext
37192 fi
37193 ac_res=`eval echo '${'$as_ac_var'}'`
37194 { echo "$as_me:$LINENO: result: $ac_res" >&5
37195 echo "${ECHO_T}$ac_res" >&6; }
37196 if test `eval echo '${'$as_ac_var'}'` = yes; then
37197 cat >>confdefs.h <<_ACEOF
37198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37199 _ACEOF
37200 break
37201 fi
37202 done
37203
37204
37205 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37206 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37207 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37208 wxUSE_SNGLINST_CHECKER=no
37209 fi
37210 fi
37211
37212
37213
37214 for ac_func in setenv putenv
37215 do
37216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37217 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37219 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37222 cat >conftest.$ac_ext <<_ACEOF
37223 /* confdefs.h. */
37224 _ACEOF
37225 cat confdefs.h >>conftest.$ac_ext
37226 cat >>conftest.$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37230 #define $ac_func innocuous_$ac_func
37231
37232 /* System header to define __stub macros and hopefully few prototypes,
37233 which can conflict with char $ac_func (); below.
37234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37235 <limits.h> exists even on freestanding compilers. */
37236
37237 #ifdef __STDC__
37238 # include <limits.h>
37239 #else
37240 # include <assert.h>
37241 #endif
37242
37243 #undef $ac_func
37244
37245 /* Override any GCC internal prototype to avoid an error.
37246 Use char because int might match the return type of a GCC
37247 builtin and then its argument prototype would still apply. */
37248 #ifdef __cplusplus
37249 extern "C"
37250 #endif
37251 char $ac_func ();
37252 /* The GNU C library defines this for functions which it implements
37253 to always fail with ENOSYS. Some functions are actually named
37254 something starting with __ and the normal name is an alias. */
37255 #if defined __stub_$ac_func || defined __stub___$ac_func
37256 choke me
37257 #endif
37258
37259 int
37260 main ()
37261 {
37262 return $ac_func ();
37263 ;
37264 return 0;
37265 }
37266 _ACEOF
37267 rm -f conftest.$ac_objext conftest$ac_exeext
37268 if { (ac_try="$ac_link"
37269 case "(($ac_try" in
37270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37271 *) ac_try_echo=$ac_try;;
37272 esac
37273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37274 (eval "$ac_link") 2>conftest.er1
37275 ac_status=$?
37276 grep -v '^ *+' conftest.er1 >conftest.err
37277 rm -f conftest.er1
37278 cat conftest.err >&5
37279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37280 (exit $ac_status); } && {
37281 test -z "$ac_c_werror_flag" ||
37282 test ! -s conftest.err
37283 } && test -s conftest$ac_exeext &&
37284 $as_test_x conftest$ac_exeext; then
37285 eval "$as_ac_var=yes"
37286 else
37287 echo "$as_me: failed program was:" >&5
37288 sed 's/^/| /' conftest.$ac_ext >&5
37289
37290 eval "$as_ac_var=no"
37291 fi
37292
37293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37294 conftest$ac_exeext conftest.$ac_ext
37295 fi
37296 ac_res=`eval echo '${'$as_ac_var'}'`
37297 { echo "$as_me:$LINENO: result: $ac_res" >&5
37298 echo "${ECHO_T}$ac_res" >&6; }
37299 if test `eval echo '${'$as_ac_var'}'` = yes; then
37300 cat >>confdefs.h <<_ACEOF
37301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37302 _ACEOF
37303 break
37304 fi
37305 done
37306
37307 if test "$ac_cv_func_setenv" = "yes"; then
37308
37309 for ac_func in unsetenv
37310 do
37311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37312 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37314 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37315 echo $ECHO_N "(cached) $ECHO_C" >&6
37316 else
37317 cat >conftest.$ac_ext <<_ACEOF
37318 /* confdefs.h. */
37319 _ACEOF
37320 cat confdefs.h >>conftest.$ac_ext
37321 cat >>conftest.$ac_ext <<_ACEOF
37322 /* end confdefs.h. */
37323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37325 #define $ac_func innocuous_$ac_func
37326
37327 /* System header to define __stub macros and hopefully few prototypes,
37328 which can conflict with char $ac_func (); below.
37329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37330 <limits.h> exists even on freestanding compilers. */
37331
37332 #ifdef __STDC__
37333 # include <limits.h>
37334 #else
37335 # include <assert.h>
37336 #endif
37337
37338 #undef $ac_func
37339
37340 /* Override any GCC internal prototype to avoid an error.
37341 Use char because int might match the return type of a GCC
37342 builtin and then its argument prototype would still apply. */
37343 #ifdef __cplusplus
37344 extern "C"
37345 #endif
37346 char $ac_func ();
37347 /* The GNU C library defines this for functions which it implements
37348 to always fail with ENOSYS. Some functions are actually named
37349 something starting with __ and the normal name is an alias. */
37350 #if defined __stub_$ac_func || defined __stub___$ac_func
37351 choke me
37352 #endif
37353
37354 int
37355 main ()
37356 {
37357 return $ac_func ();
37358 ;
37359 return 0;
37360 }
37361 _ACEOF
37362 rm -f conftest.$ac_objext conftest$ac_exeext
37363 if { (ac_try="$ac_link"
37364 case "(($ac_try" in
37365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37366 *) ac_try_echo=$ac_try;;
37367 esac
37368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37369 (eval "$ac_link") 2>conftest.er1
37370 ac_status=$?
37371 grep -v '^ *+' conftest.er1 >conftest.err
37372 rm -f conftest.er1
37373 cat conftest.err >&5
37374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37375 (exit $ac_status); } && {
37376 test -z "$ac_c_werror_flag" ||
37377 test ! -s conftest.err
37378 } && test -s conftest$ac_exeext &&
37379 $as_test_x conftest$ac_exeext; then
37380 eval "$as_ac_var=yes"
37381 else
37382 echo "$as_me: failed program was:" >&5
37383 sed 's/^/| /' conftest.$ac_ext >&5
37384
37385 eval "$as_ac_var=no"
37386 fi
37387
37388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37389 conftest$ac_exeext conftest.$ac_ext
37390 fi
37391 ac_res=`eval echo '${'$as_ac_var'}'`
37392 { echo "$as_me:$LINENO: result: $ac_res" >&5
37393 echo "${ECHO_T}$ac_res" >&6; }
37394 if test `eval echo '${'$as_ac_var'}'` = yes; then
37395 cat >>confdefs.h <<_ACEOF
37396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37397 _ACEOF
37398
37399 fi
37400 done
37401
37402 fi
37403
37404 HAVE_SOME_SLEEP_FUNC=0
37405 if test "$USE_BEOS" = 1; then
37406 cat >>confdefs.h <<\_ACEOF
37407 #define HAVE_SLEEP 1
37408 _ACEOF
37409
37410 HAVE_SOME_SLEEP_FUNC=1
37411 fi
37412
37413 if test "$USE_DARWIN" = 1; then
37414 cat >>confdefs.h <<\_ACEOF
37415 #define HAVE_USLEEP 1
37416 _ACEOF
37417
37418 HAVE_SOME_SLEEP_FUNC=1
37419 fi
37420
37421 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37422 POSIX4_LINK=
37423
37424 for ac_func in nanosleep
37425 do
37426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37427 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37429 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37430 echo $ECHO_N "(cached) $ECHO_C" >&6
37431 else
37432 cat >conftest.$ac_ext <<_ACEOF
37433 /* confdefs.h. */
37434 _ACEOF
37435 cat confdefs.h >>conftest.$ac_ext
37436 cat >>conftest.$ac_ext <<_ACEOF
37437 /* end confdefs.h. */
37438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37440 #define $ac_func innocuous_$ac_func
37441
37442 /* System header to define __stub macros and hopefully few prototypes,
37443 which can conflict with char $ac_func (); below.
37444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37445 <limits.h> exists even on freestanding compilers. */
37446
37447 #ifdef __STDC__
37448 # include <limits.h>
37449 #else
37450 # include <assert.h>
37451 #endif
37452
37453 #undef $ac_func
37454
37455 /* Override any GCC internal prototype to avoid an error.
37456 Use char because int might match the return type of a GCC
37457 builtin and then its argument prototype would still apply. */
37458 #ifdef __cplusplus
37459 extern "C"
37460 #endif
37461 char $ac_func ();
37462 /* The GNU C library defines this for functions which it implements
37463 to always fail with ENOSYS. Some functions are actually named
37464 something starting with __ and the normal name is an alias. */
37465 #if defined __stub_$ac_func || defined __stub___$ac_func
37466 choke me
37467 #endif
37468
37469 int
37470 main ()
37471 {
37472 return $ac_func ();
37473 ;
37474 return 0;
37475 }
37476 _ACEOF
37477 rm -f conftest.$ac_objext conftest$ac_exeext
37478 if { (ac_try="$ac_link"
37479 case "(($ac_try" in
37480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37481 *) ac_try_echo=$ac_try;;
37482 esac
37483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37484 (eval "$ac_link") 2>conftest.er1
37485 ac_status=$?
37486 grep -v '^ *+' conftest.er1 >conftest.err
37487 rm -f conftest.er1
37488 cat conftest.err >&5
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); } && {
37491 test -z "$ac_c_werror_flag" ||
37492 test ! -s conftest.err
37493 } && test -s conftest$ac_exeext &&
37494 $as_test_x conftest$ac_exeext; then
37495 eval "$as_ac_var=yes"
37496 else
37497 echo "$as_me: failed program was:" >&5
37498 sed 's/^/| /' conftest.$ac_ext >&5
37499
37500 eval "$as_ac_var=no"
37501 fi
37502
37503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37504 conftest$ac_exeext conftest.$ac_ext
37505 fi
37506 ac_res=`eval echo '${'$as_ac_var'}'`
37507 { echo "$as_me:$LINENO: result: $ac_res" >&5
37508 echo "${ECHO_T}$ac_res" >&6; }
37509 if test `eval echo '${'$as_ac_var'}'` = yes; then
37510 cat >>confdefs.h <<_ACEOF
37511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37512 _ACEOF
37513 cat >>confdefs.h <<\_ACEOF
37514 #define HAVE_NANOSLEEP 1
37515 _ACEOF
37516
37517 else
37518
37519 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37520 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37521 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37523 else
37524 ac_check_lib_save_LIBS=$LIBS
37525 LIBS="-lposix4 $LIBS"
37526 cat >conftest.$ac_ext <<_ACEOF
37527 /* confdefs.h. */
37528 _ACEOF
37529 cat confdefs.h >>conftest.$ac_ext
37530 cat >>conftest.$ac_ext <<_ACEOF
37531 /* end confdefs.h. */
37532
37533 /* Override any GCC internal prototype to avoid an error.
37534 Use char because int might match the return type of a GCC
37535 builtin and then its argument prototype would still apply. */
37536 #ifdef __cplusplus
37537 extern "C"
37538 #endif
37539 char nanosleep ();
37540 int
37541 main ()
37542 {
37543 return nanosleep ();
37544 ;
37545 return 0;
37546 }
37547 _ACEOF
37548 rm -f conftest.$ac_objext conftest$ac_exeext
37549 if { (ac_try="$ac_link"
37550 case "(($ac_try" in
37551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37552 *) ac_try_echo=$ac_try;;
37553 esac
37554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37555 (eval "$ac_link") 2>conftest.er1
37556 ac_status=$?
37557 grep -v '^ *+' conftest.er1 >conftest.err
37558 rm -f conftest.er1
37559 cat conftest.err >&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); } && {
37562 test -z "$ac_c_werror_flag" ||
37563 test ! -s conftest.err
37564 } && test -s conftest$ac_exeext &&
37565 $as_test_x conftest$ac_exeext; then
37566 ac_cv_lib_posix4_nanosleep=yes
37567 else
37568 echo "$as_me: failed program was:" >&5
37569 sed 's/^/| /' conftest.$ac_ext >&5
37570
37571 ac_cv_lib_posix4_nanosleep=no
37572 fi
37573
37574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37575 conftest$ac_exeext conftest.$ac_ext
37576 LIBS=$ac_check_lib_save_LIBS
37577 fi
37578 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37579 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37580 if test $ac_cv_lib_posix4_nanosleep = yes; then
37581
37582 cat >>confdefs.h <<\_ACEOF
37583 #define HAVE_NANOSLEEP 1
37584 _ACEOF
37585
37586 POSIX4_LINK=" -lposix4"
37587
37588 else
37589
37590
37591 for wx_func in usleep
37592 do
37593 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37594 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37595 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37596 echo $ECHO_N "(cached) $ECHO_C" >&6
37597 else
37598
37599 cat >conftest.$ac_ext <<_ACEOF
37600
37601 /* confdefs.h. */
37602 _ACEOF
37603 cat confdefs.h >>conftest.$ac_ext
37604 cat >>conftest.$ac_ext <<_ACEOF
37605 /* end confdefs.h. */
37606
37607
37608 $ac_includes_default
37609
37610 int
37611 main ()
37612 {
37613
37614 #ifndef $wx_func
37615 &$wx_func;
37616 #endif
37617
37618
37619 ;
37620 return 0;
37621 }
37622
37623 _ACEOF
37624 rm -f conftest.$ac_objext conftest$ac_exeext
37625 if { (ac_try="$ac_link"
37626 case "(($ac_try" in
37627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37628 *) ac_try_echo=$ac_try;;
37629 esac
37630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37631 (eval "$ac_link") 2>conftest.er1
37632 ac_status=$?
37633 grep -v '^ *+' conftest.er1 >conftest.err
37634 rm -f conftest.er1
37635 cat conftest.err >&5
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); } && {
37638 test -z "$ac_c_werror_flag" ||
37639 test ! -s conftest.err
37640 } && test -s conftest$ac_exeext &&
37641 $as_test_x conftest$ac_exeext; then
37642 eval wx_cv_func_$wx_func=yes
37643 else
37644 echo "$as_me: failed program was:" >&5
37645 sed 's/^/| /' conftest.$ac_ext >&5
37646
37647 eval wx_cv_func_$wx_func=no
37648 fi
37649
37650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37651 conftest$ac_exeext conftest.$ac_ext
37652
37653 fi
37654 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37655 { echo "$as_me:$LINENO: result: $ac_res" >&5
37656 echo "${ECHO_T}$ac_res" >&6; }
37657
37658 if eval test \$wx_cv_func_$wx_func = yes
37659 then
37660 cat >>confdefs.h <<_ACEOF
37661 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37662 _ACEOF
37663
37664
37665 else
37666 :
37667 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37668 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37669
37670 fi
37671 done
37672
37673
37674
37675 fi
37676
37677
37678
37679 fi
37680 done
37681
37682 fi
37683
37684
37685 for wx_func in uname
37686 do
37687 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37688 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37689 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37690 echo $ECHO_N "(cached) $ECHO_C" >&6
37691 else
37692
37693 cat >conftest.$ac_ext <<_ACEOF
37694
37695 /* confdefs.h. */
37696 _ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37700
37701 #include <sys/utsname.h>
37702 $ac_includes_default
37703
37704 int
37705 main ()
37706 {
37707
37708 #ifndef $wx_func
37709 &$wx_func;
37710 #endif
37711
37712
37713 ;
37714 return 0;
37715 }
37716
37717 _ACEOF
37718 rm -f conftest.$ac_objext conftest$ac_exeext
37719 if { (ac_try="$ac_link"
37720 case "(($ac_try" in
37721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37722 *) ac_try_echo=$ac_try;;
37723 esac
37724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37725 (eval "$ac_link") 2>conftest.er1
37726 ac_status=$?
37727 grep -v '^ *+' conftest.er1 >conftest.err
37728 rm -f conftest.er1
37729 cat conftest.err >&5
37730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37731 (exit $ac_status); } && {
37732 test -z "$ac_c_werror_flag" ||
37733 test ! -s conftest.err
37734 } && test -s conftest$ac_exeext &&
37735 $as_test_x conftest$ac_exeext; then
37736 eval wx_cv_func_$wx_func=yes
37737 else
37738 echo "$as_me: failed program was:" >&5
37739 sed 's/^/| /' conftest.$ac_ext >&5
37740
37741 eval wx_cv_func_$wx_func=no
37742 fi
37743
37744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37745 conftest$ac_exeext conftest.$ac_ext
37746
37747 fi
37748 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37749 { echo "$as_me:$LINENO: result: $ac_res" >&5
37750 echo "${ECHO_T}$ac_res" >&6; }
37751
37752 if eval test \$wx_cv_func_$wx_func = yes
37753 then
37754 cat >>confdefs.h <<_ACEOF
37755 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37756 _ACEOF
37757
37758
37759 else
37760 :
37761
37762 fi
37763 done
37764
37765 if test "$wx_cv_func_uname" != yes; then
37766
37767 for wx_func in gethostname
37768 do
37769 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37770 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37771 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37772 echo $ECHO_N "(cached) $ECHO_C" >&6
37773 else
37774
37775 cat >conftest.$ac_ext <<_ACEOF
37776
37777 /* confdefs.h. */
37778 _ACEOF
37779 cat confdefs.h >>conftest.$ac_ext
37780 cat >>conftest.$ac_ext <<_ACEOF
37781 /* end confdefs.h. */
37782
37783
37784 $ac_includes_default
37785
37786 int
37787 main ()
37788 {
37789
37790 #ifndef $wx_func
37791 &$wx_func;
37792 #endif
37793
37794
37795 ;
37796 return 0;
37797 }
37798
37799 _ACEOF
37800 rm -f conftest.$ac_objext conftest$ac_exeext
37801 if { (ac_try="$ac_link"
37802 case "(($ac_try" in
37803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37804 *) ac_try_echo=$ac_try;;
37805 esac
37806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37807 (eval "$ac_link") 2>conftest.er1
37808 ac_status=$?
37809 grep -v '^ *+' conftest.er1 >conftest.err
37810 rm -f conftest.er1
37811 cat conftest.err >&5
37812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813 (exit $ac_status); } && {
37814 test -z "$ac_c_werror_flag" ||
37815 test ! -s conftest.err
37816 } && test -s conftest$ac_exeext &&
37817 $as_test_x conftest$ac_exeext; then
37818 eval wx_cv_func_$wx_func=yes
37819 else
37820 echo "$as_me: failed program was:" >&5
37821 sed 's/^/| /' conftest.$ac_ext >&5
37822
37823 eval wx_cv_func_$wx_func=no
37824 fi
37825
37826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37827 conftest$ac_exeext conftest.$ac_ext
37828
37829 fi
37830 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37831 { echo "$as_me:$LINENO: result: $ac_res" >&5
37832 echo "${ECHO_T}$ac_res" >&6; }
37833
37834 if eval test \$wx_cv_func_$wx_func = yes
37835 then
37836 cat >>confdefs.h <<_ACEOF
37837 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37838 _ACEOF
37839
37840
37841 else
37842 :
37843
37844 fi
37845 done
37846
37847 fi
37848
37849
37850 for wx_func in strtok_r
37851 do
37852 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37853 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37854 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37855 echo $ECHO_N "(cached) $ECHO_C" >&6
37856 else
37857
37858 cat >conftest.$ac_ext <<_ACEOF
37859
37860 /* confdefs.h. */
37861 _ACEOF
37862 cat confdefs.h >>conftest.$ac_ext
37863 cat >>conftest.$ac_ext <<_ACEOF
37864 /* end confdefs.h. */
37865
37866 #define _REENTRANT
37867 $ac_includes_default
37868
37869 int
37870 main ()
37871 {
37872
37873 #ifndef $wx_func
37874 &$wx_func;
37875 #endif
37876
37877
37878 ;
37879 return 0;
37880 }
37881
37882 _ACEOF
37883 rm -f conftest.$ac_objext conftest$ac_exeext
37884 if { (ac_try="$ac_link"
37885 case "(($ac_try" in
37886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37887 *) ac_try_echo=$ac_try;;
37888 esac
37889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37890 (eval "$ac_link") 2>conftest.er1
37891 ac_status=$?
37892 grep -v '^ *+' conftest.er1 >conftest.err
37893 rm -f conftest.er1
37894 cat conftest.err >&5
37895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37896 (exit $ac_status); } && {
37897 test -z "$ac_c_werror_flag" ||
37898 test ! -s conftest.err
37899 } && test -s conftest$ac_exeext &&
37900 $as_test_x conftest$ac_exeext; then
37901 eval wx_cv_func_$wx_func=yes
37902 else
37903 echo "$as_me: failed program was:" >&5
37904 sed 's/^/| /' conftest.$ac_ext >&5
37905
37906 eval wx_cv_func_$wx_func=no
37907 fi
37908
37909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37910 conftest$ac_exeext conftest.$ac_ext
37911
37912 fi
37913 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37914 { echo "$as_me:$LINENO: result: $ac_res" >&5
37915 echo "${ECHO_T}$ac_res" >&6; }
37916
37917 if eval test \$wx_cv_func_$wx_func = yes
37918 then
37919 cat >>confdefs.h <<_ACEOF
37920 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37921 _ACEOF
37922
37923
37924 else
37925 :
37926
37927 fi
37928 done
37929
37930
37931 INET_LINK=
37932
37933 for ac_func in inet_addr
37934 do
37935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37936 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37938 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37939 echo $ECHO_N "(cached) $ECHO_C" >&6
37940 else
37941 cat >conftest.$ac_ext <<_ACEOF
37942 /* confdefs.h. */
37943 _ACEOF
37944 cat confdefs.h >>conftest.$ac_ext
37945 cat >>conftest.$ac_ext <<_ACEOF
37946 /* end confdefs.h. */
37947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37949 #define $ac_func innocuous_$ac_func
37950
37951 /* System header to define __stub macros and hopefully few prototypes,
37952 which can conflict with char $ac_func (); below.
37953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37954 <limits.h> exists even on freestanding compilers. */
37955
37956 #ifdef __STDC__
37957 # include <limits.h>
37958 #else
37959 # include <assert.h>
37960 #endif
37961
37962 #undef $ac_func
37963
37964 /* Override any GCC internal prototype to avoid an error.
37965 Use char because int might match the return type of a GCC
37966 builtin and then its argument prototype would still apply. */
37967 #ifdef __cplusplus
37968 extern "C"
37969 #endif
37970 char $ac_func ();
37971 /* The GNU C library defines this for functions which it implements
37972 to always fail with ENOSYS. Some functions are actually named
37973 something starting with __ and the normal name is an alias. */
37974 #if defined __stub_$ac_func || defined __stub___$ac_func
37975 choke me
37976 #endif
37977
37978 int
37979 main ()
37980 {
37981 return $ac_func ();
37982 ;
37983 return 0;
37984 }
37985 _ACEOF
37986 rm -f conftest.$ac_objext conftest$ac_exeext
37987 if { (ac_try="$ac_link"
37988 case "(($ac_try" in
37989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37990 *) ac_try_echo=$ac_try;;
37991 esac
37992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37993 (eval "$ac_link") 2>conftest.er1
37994 ac_status=$?
37995 grep -v '^ *+' conftest.er1 >conftest.err
37996 rm -f conftest.er1
37997 cat conftest.err >&5
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); } && {
38000 test -z "$ac_c_werror_flag" ||
38001 test ! -s conftest.err
38002 } && test -s conftest$ac_exeext &&
38003 $as_test_x conftest$ac_exeext; then
38004 eval "$as_ac_var=yes"
38005 else
38006 echo "$as_me: failed program was:" >&5
38007 sed 's/^/| /' conftest.$ac_ext >&5
38008
38009 eval "$as_ac_var=no"
38010 fi
38011
38012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38013 conftest$ac_exeext conftest.$ac_ext
38014 fi
38015 ac_res=`eval echo '${'$as_ac_var'}'`
38016 { echo "$as_me:$LINENO: result: $ac_res" >&5
38017 echo "${ECHO_T}$ac_res" >&6; }
38018 if test `eval echo '${'$as_ac_var'}'` = yes; then
38019 cat >>confdefs.h <<_ACEOF
38020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38021 _ACEOF
38022 cat >>confdefs.h <<\_ACEOF
38023 #define HAVE_INET_ADDR 1
38024 _ACEOF
38025
38026 else
38027
38028 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38029 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38030 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38032 else
38033 ac_check_lib_save_LIBS=$LIBS
38034 LIBS="-lnsl $LIBS"
38035 cat >conftest.$ac_ext <<_ACEOF
38036 /* confdefs.h. */
38037 _ACEOF
38038 cat confdefs.h >>conftest.$ac_ext
38039 cat >>conftest.$ac_ext <<_ACEOF
38040 /* end confdefs.h. */
38041
38042 /* Override any GCC internal prototype to avoid an error.
38043 Use char because int might match the return type of a GCC
38044 builtin and then its argument prototype would still apply. */
38045 #ifdef __cplusplus
38046 extern "C"
38047 #endif
38048 char inet_addr ();
38049 int
38050 main ()
38051 {
38052 return inet_addr ();
38053 ;
38054 return 0;
38055 }
38056 _ACEOF
38057 rm -f conftest.$ac_objext conftest$ac_exeext
38058 if { (ac_try="$ac_link"
38059 case "(($ac_try" in
38060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38061 *) ac_try_echo=$ac_try;;
38062 esac
38063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38064 (eval "$ac_link") 2>conftest.er1
38065 ac_status=$?
38066 grep -v '^ *+' conftest.er1 >conftest.err
38067 rm -f conftest.er1
38068 cat conftest.err >&5
38069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070 (exit $ac_status); } && {
38071 test -z "$ac_c_werror_flag" ||
38072 test ! -s conftest.err
38073 } && test -s conftest$ac_exeext &&
38074 $as_test_x conftest$ac_exeext; then
38075 ac_cv_lib_nsl_inet_addr=yes
38076 else
38077 echo "$as_me: failed program was:" >&5
38078 sed 's/^/| /' conftest.$ac_ext >&5
38079
38080 ac_cv_lib_nsl_inet_addr=no
38081 fi
38082
38083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38084 conftest$ac_exeext conftest.$ac_ext
38085 LIBS=$ac_check_lib_save_LIBS
38086 fi
38087 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38088 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38089 if test $ac_cv_lib_nsl_inet_addr = yes; then
38090 INET_LINK="nsl"
38091 else
38092
38093 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38094 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38095 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38096 echo $ECHO_N "(cached) $ECHO_C" >&6
38097 else
38098 ac_check_lib_save_LIBS=$LIBS
38099 LIBS="-lresolv $LIBS"
38100 cat >conftest.$ac_ext <<_ACEOF
38101 /* confdefs.h. */
38102 _ACEOF
38103 cat confdefs.h >>conftest.$ac_ext
38104 cat >>conftest.$ac_ext <<_ACEOF
38105 /* end confdefs.h. */
38106
38107 /* Override any GCC internal prototype to avoid an error.
38108 Use char because int might match the return type of a GCC
38109 builtin and then its argument prototype would still apply. */
38110 #ifdef __cplusplus
38111 extern "C"
38112 #endif
38113 char inet_addr ();
38114 int
38115 main ()
38116 {
38117 return inet_addr ();
38118 ;
38119 return 0;
38120 }
38121 _ACEOF
38122 rm -f conftest.$ac_objext conftest$ac_exeext
38123 if { (ac_try="$ac_link"
38124 case "(($ac_try" in
38125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38126 *) ac_try_echo=$ac_try;;
38127 esac
38128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38129 (eval "$ac_link") 2>conftest.er1
38130 ac_status=$?
38131 grep -v '^ *+' conftest.er1 >conftest.err
38132 rm -f conftest.er1
38133 cat conftest.err >&5
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); } && {
38136 test -z "$ac_c_werror_flag" ||
38137 test ! -s conftest.err
38138 } && test -s conftest$ac_exeext &&
38139 $as_test_x conftest$ac_exeext; then
38140 ac_cv_lib_resolv_inet_addr=yes
38141 else
38142 echo "$as_me: failed program was:" >&5
38143 sed 's/^/| /' conftest.$ac_ext >&5
38144
38145 ac_cv_lib_resolv_inet_addr=no
38146 fi
38147
38148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38149 conftest$ac_exeext conftest.$ac_ext
38150 LIBS=$ac_check_lib_save_LIBS
38151 fi
38152 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38153 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38154 if test $ac_cv_lib_resolv_inet_addr = yes; then
38155 INET_LINK="resolv"
38156 else
38157
38158 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38159 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38160 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38161 echo $ECHO_N "(cached) $ECHO_C" >&6
38162 else
38163 ac_check_lib_save_LIBS=$LIBS
38164 LIBS="-lsocket $LIBS"
38165 cat >conftest.$ac_ext <<_ACEOF
38166 /* confdefs.h. */
38167 _ACEOF
38168 cat confdefs.h >>conftest.$ac_ext
38169 cat >>conftest.$ac_ext <<_ACEOF
38170 /* end confdefs.h. */
38171
38172 /* Override any GCC internal prototype to avoid an error.
38173 Use char because int might match the return type of a GCC
38174 builtin and then its argument prototype would still apply. */
38175 #ifdef __cplusplus
38176 extern "C"
38177 #endif
38178 char inet_addr ();
38179 int
38180 main ()
38181 {
38182 return inet_addr ();
38183 ;
38184 return 0;
38185 }
38186 _ACEOF
38187 rm -f conftest.$ac_objext conftest$ac_exeext
38188 if { (ac_try="$ac_link"
38189 case "(($ac_try" in
38190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38191 *) ac_try_echo=$ac_try;;
38192 esac
38193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38194 (eval "$ac_link") 2>conftest.er1
38195 ac_status=$?
38196 grep -v '^ *+' conftest.er1 >conftest.err
38197 rm -f conftest.er1
38198 cat conftest.err >&5
38199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38200 (exit $ac_status); } && {
38201 test -z "$ac_c_werror_flag" ||
38202 test ! -s conftest.err
38203 } && test -s conftest$ac_exeext &&
38204 $as_test_x conftest$ac_exeext; then
38205 ac_cv_lib_socket_inet_addr=yes
38206 else
38207 echo "$as_me: failed program was:" >&5
38208 sed 's/^/| /' conftest.$ac_ext >&5
38209
38210 ac_cv_lib_socket_inet_addr=no
38211 fi
38212
38213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38214 conftest$ac_exeext conftest.$ac_ext
38215 LIBS=$ac_check_lib_save_LIBS
38216 fi
38217 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38218 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38219 if test $ac_cv_lib_socket_inet_addr = yes; then
38220 INET_LINK="socket"
38221
38222 fi
38223
38224
38225
38226 fi
38227
38228
38229
38230 fi
38231
38232
38233
38234 fi
38235 done
38236
38237
38238
38239 for ac_func in inet_aton
38240 do
38241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38242 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38244 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38245 echo $ECHO_N "(cached) $ECHO_C" >&6
38246 else
38247 cat >conftest.$ac_ext <<_ACEOF
38248 /* confdefs.h. */
38249 _ACEOF
38250 cat confdefs.h >>conftest.$ac_ext
38251 cat >>conftest.$ac_ext <<_ACEOF
38252 /* end confdefs.h. */
38253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38255 #define $ac_func innocuous_$ac_func
38256
38257 /* System header to define __stub macros and hopefully few prototypes,
38258 which can conflict with char $ac_func (); below.
38259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38260 <limits.h> exists even on freestanding compilers. */
38261
38262 #ifdef __STDC__
38263 # include <limits.h>
38264 #else
38265 # include <assert.h>
38266 #endif
38267
38268 #undef $ac_func
38269
38270 /* Override any GCC internal prototype to avoid an error.
38271 Use char because int might match the return type of a GCC
38272 builtin and then its argument prototype would still apply. */
38273 #ifdef __cplusplus
38274 extern "C"
38275 #endif
38276 char $ac_func ();
38277 /* The GNU C library defines this for functions which it implements
38278 to always fail with ENOSYS. Some functions are actually named
38279 something starting with __ and the normal name is an alias. */
38280 #if defined __stub_$ac_func || defined __stub___$ac_func
38281 choke me
38282 #endif
38283
38284 int
38285 main ()
38286 {
38287 return $ac_func ();
38288 ;
38289 return 0;
38290 }
38291 _ACEOF
38292 rm -f conftest.$ac_objext conftest$ac_exeext
38293 if { (ac_try="$ac_link"
38294 case "(($ac_try" in
38295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38296 *) ac_try_echo=$ac_try;;
38297 esac
38298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38299 (eval "$ac_link") 2>conftest.er1
38300 ac_status=$?
38301 grep -v '^ *+' conftest.er1 >conftest.err
38302 rm -f conftest.er1
38303 cat conftest.err >&5
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); } && {
38306 test -z "$ac_c_werror_flag" ||
38307 test ! -s conftest.err
38308 } && test -s conftest$ac_exeext &&
38309 $as_test_x conftest$ac_exeext; then
38310 eval "$as_ac_var=yes"
38311 else
38312 echo "$as_me: failed program was:" >&5
38313 sed 's/^/| /' conftest.$ac_ext >&5
38314
38315 eval "$as_ac_var=no"
38316 fi
38317
38318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38319 conftest$ac_exeext conftest.$ac_ext
38320 fi
38321 ac_res=`eval echo '${'$as_ac_var'}'`
38322 { echo "$as_me:$LINENO: result: $ac_res" >&5
38323 echo "${ECHO_T}$ac_res" >&6; }
38324 if test `eval echo '${'$as_ac_var'}'` = yes; then
38325 cat >>confdefs.h <<_ACEOF
38326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38327 _ACEOF
38328 cat >>confdefs.h <<\_ACEOF
38329 #define HAVE_INET_ATON 1
38330 _ACEOF
38331
38332 else
38333
38334 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38335 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38336 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38337 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38338 echo $ECHO_N "(cached) $ECHO_C" >&6
38339 else
38340 ac_check_lib_save_LIBS=$LIBS
38341 LIBS="-l$INET_LINK $LIBS"
38342 cat >conftest.$ac_ext <<_ACEOF
38343 /* confdefs.h. */
38344 _ACEOF
38345 cat confdefs.h >>conftest.$ac_ext
38346 cat >>conftest.$ac_ext <<_ACEOF
38347 /* end confdefs.h. */
38348
38349 /* Override any GCC internal prototype to avoid an error.
38350 Use char because int might match the return type of a GCC
38351 builtin and then its argument prototype would still apply. */
38352 #ifdef __cplusplus
38353 extern "C"
38354 #endif
38355 char inet_aton ();
38356 int
38357 main ()
38358 {
38359 return inet_aton ();
38360 ;
38361 return 0;
38362 }
38363 _ACEOF
38364 rm -f conftest.$ac_objext conftest$ac_exeext
38365 if { (ac_try="$ac_link"
38366 case "(($ac_try" in
38367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38368 *) ac_try_echo=$ac_try;;
38369 esac
38370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38371 (eval "$ac_link") 2>conftest.er1
38372 ac_status=$?
38373 grep -v '^ *+' conftest.er1 >conftest.err
38374 rm -f conftest.er1
38375 cat conftest.err >&5
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); } && {
38378 test -z "$ac_c_werror_flag" ||
38379 test ! -s conftest.err
38380 } && test -s conftest$ac_exeext &&
38381 $as_test_x conftest$ac_exeext; then
38382 eval "$as_ac_Lib=yes"
38383 else
38384 echo "$as_me: failed program was:" >&5
38385 sed 's/^/| /' conftest.$ac_ext >&5
38386
38387 eval "$as_ac_Lib=no"
38388 fi
38389
38390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38391 conftest$ac_exeext conftest.$ac_ext
38392 LIBS=$ac_check_lib_save_LIBS
38393 fi
38394 ac_res=`eval echo '${'$as_ac_Lib'}'`
38395 { echo "$as_me:$LINENO: result: $ac_res" >&5
38396 echo "${ECHO_T}$ac_res" >&6; }
38397 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38398 cat >>confdefs.h <<\_ACEOF
38399 #define HAVE_INET_ATON 1
38400 _ACEOF
38401
38402 fi
38403
38404
38405 fi
38406 done
38407
38408
38409 if test "x$INET_LINK" != "x"; then
38410 cat >>confdefs.h <<\_ACEOF
38411 #define HAVE_INET_ADDR 1
38412 _ACEOF
38413
38414 INET_LINK=" -l$INET_LINK"
38415 fi
38416
38417
38418 for wx_func in fdopen
38419 do
38420 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38421 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38422 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38423 echo $ECHO_N "(cached) $ECHO_C" >&6
38424 else
38425
38426 cat >conftest.$ac_ext <<_ACEOF
38427
38428 /* confdefs.h. */
38429 _ACEOF
38430 cat confdefs.h >>conftest.$ac_ext
38431 cat >>conftest.$ac_ext <<_ACEOF
38432 /* end confdefs.h. */
38433
38434
38435 $ac_includes_default
38436
38437 int
38438 main ()
38439 {
38440
38441 #ifndef $wx_func
38442 &$wx_func;
38443 #endif
38444
38445
38446 ;
38447 return 0;
38448 }
38449
38450 _ACEOF
38451 rm -f conftest.$ac_objext conftest$ac_exeext
38452 if { (ac_try="$ac_link"
38453 case "(($ac_try" in
38454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38455 *) ac_try_echo=$ac_try;;
38456 esac
38457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38458 (eval "$ac_link") 2>conftest.er1
38459 ac_status=$?
38460 grep -v '^ *+' conftest.er1 >conftest.err
38461 rm -f conftest.er1
38462 cat conftest.err >&5
38463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38464 (exit $ac_status); } && {
38465 test -z "$ac_c_werror_flag" ||
38466 test ! -s conftest.err
38467 } && test -s conftest$ac_exeext &&
38468 $as_test_x conftest$ac_exeext; then
38469 eval wx_cv_func_$wx_func=yes
38470 else
38471 echo "$as_me: failed program was:" >&5
38472 sed 's/^/| /' conftest.$ac_ext >&5
38473
38474 eval wx_cv_func_$wx_func=no
38475 fi
38476
38477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38478 conftest$ac_exeext conftest.$ac_ext
38479
38480 fi
38481 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38482 { echo "$as_me:$LINENO: result: $ac_res" >&5
38483 echo "${ECHO_T}$ac_res" >&6; }
38484
38485 if eval test \$wx_cv_func_$wx_func = yes
38486 then
38487 cat >>confdefs.h <<_ACEOF
38488 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38489 _ACEOF
38490
38491
38492 else
38493 :
38494
38495 fi
38496 done
38497
38498
38499 if test "$wxUSE_TARSTREAM" = "yes"; then
38500
38501 for wx_func in sysconf
38502 do
38503 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38504 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38505 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38506 echo $ECHO_N "(cached) $ECHO_C" >&6
38507 else
38508
38509 cat >conftest.$ac_ext <<_ACEOF
38510
38511 /* confdefs.h. */
38512 _ACEOF
38513 cat confdefs.h >>conftest.$ac_ext
38514 cat >>conftest.$ac_ext <<_ACEOF
38515 /* end confdefs.h. */
38516
38517
38518 $ac_includes_default
38519
38520 int
38521 main ()
38522 {
38523
38524 #ifndef $wx_func
38525 &$wx_func;
38526 #endif
38527
38528
38529 ;
38530 return 0;
38531 }
38532
38533 _ACEOF
38534 rm -f conftest.$ac_objext conftest$ac_exeext
38535 if { (ac_try="$ac_link"
38536 case "(($ac_try" in
38537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38538 *) ac_try_echo=$ac_try;;
38539 esac
38540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38541 (eval "$ac_link") 2>conftest.er1
38542 ac_status=$?
38543 grep -v '^ *+' conftest.er1 >conftest.err
38544 rm -f conftest.er1
38545 cat conftest.err >&5
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); } && {
38548 test -z "$ac_c_werror_flag" ||
38549 test ! -s conftest.err
38550 } && test -s conftest$ac_exeext &&
38551 $as_test_x conftest$ac_exeext; then
38552 eval wx_cv_func_$wx_func=yes
38553 else
38554 echo "$as_me: failed program was:" >&5
38555 sed 's/^/| /' conftest.$ac_ext >&5
38556
38557 eval wx_cv_func_$wx_func=no
38558 fi
38559
38560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38561 conftest$ac_exeext conftest.$ac_ext
38562
38563 fi
38564 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38565 { echo "$as_me:$LINENO: result: $ac_res" >&5
38566 echo "${ECHO_T}$ac_res" >&6; }
38567
38568 if eval test \$wx_cv_func_$wx_func = yes
38569 then
38570 cat >>confdefs.h <<_ACEOF
38571 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38572 _ACEOF
38573
38574
38575 else
38576 :
38577
38578 fi
38579 done
38580
38581
38582
38583 for wx_func in getpwuid_r
38584 do
38585 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38586 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38587 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38588 echo $ECHO_N "(cached) $ECHO_C" >&6
38589 else
38590
38591 cat >conftest.$ac_ext <<_ACEOF
38592
38593 /* confdefs.h. */
38594 _ACEOF
38595 cat confdefs.h >>conftest.$ac_ext
38596 cat >>conftest.$ac_ext <<_ACEOF
38597 /* end confdefs.h. */
38598
38599
38600 #define _REENTRANT
38601 #include <pwd.h>
38602
38603 $ac_includes_default
38604
38605 int
38606 main ()
38607 {
38608
38609 #ifndef $wx_func
38610 &$wx_func;
38611 #endif
38612
38613 struct passwd pw, *ppw;
38614 char buf[1024];
38615 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38616
38617
38618 ;
38619 return 0;
38620 }
38621
38622 _ACEOF
38623 rm -f conftest.$ac_objext conftest$ac_exeext
38624 if { (ac_try="$ac_link"
38625 case "(($ac_try" in
38626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38627 *) ac_try_echo=$ac_try;;
38628 esac
38629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38630 (eval "$ac_link") 2>conftest.er1
38631 ac_status=$?
38632 grep -v '^ *+' conftest.er1 >conftest.err
38633 rm -f conftest.er1
38634 cat conftest.err >&5
38635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38636 (exit $ac_status); } && {
38637 test -z "$ac_c_werror_flag" ||
38638 test ! -s conftest.err
38639 } && test -s conftest$ac_exeext &&
38640 $as_test_x conftest$ac_exeext; then
38641 eval wx_cv_func_$wx_func=yes
38642 else
38643 echo "$as_me: failed program was:" >&5
38644 sed 's/^/| /' conftest.$ac_ext >&5
38645
38646 eval wx_cv_func_$wx_func=no
38647 fi
38648
38649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38650 conftest$ac_exeext conftest.$ac_ext
38651
38652 fi
38653 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38654 { echo "$as_me:$LINENO: result: $ac_res" >&5
38655 echo "${ECHO_T}$ac_res" >&6; }
38656
38657 if eval test \$wx_cv_func_$wx_func = yes
38658 then
38659 cat >>confdefs.h <<_ACEOF
38660 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38661 _ACEOF
38662
38663
38664 else
38665 :
38666
38667 fi
38668 done
38669
38670
38671
38672 for wx_func in getgrgid_r
38673 do
38674 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38675 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38676 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38677 echo $ECHO_N "(cached) $ECHO_C" >&6
38678 else
38679
38680 cat >conftest.$ac_ext <<_ACEOF
38681
38682 /* confdefs.h. */
38683 _ACEOF
38684 cat confdefs.h >>conftest.$ac_ext
38685 cat >>conftest.$ac_ext <<_ACEOF
38686 /* end confdefs.h. */
38687
38688
38689 #define _REENTRANT
38690 #include <grp.h>
38691
38692 $ac_includes_default
38693
38694 int
38695 main ()
38696 {
38697
38698 #ifndef $wx_func
38699 &$wx_func;
38700 #endif
38701
38702 struct group grp, *pgrp;
38703 char buf[1024];
38704 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38705
38706
38707 ;
38708 return 0;
38709 }
38710
38711 _ACEOF
38712 rm -f conftest.$ac_objext conftest$ac_exeext
38713 if { (ac_try="$ac_link"
38714 case "(($ac_try" in
38715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38716 *) ac_try_echo=$ac_try;;
38717 esac
38718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38719 (eval "$ac_link") 2>conftest.er1
38720 ac_status=$?
38721 grep -v '^ *+' conftest.er1 >conftest.err
38722 rm -f conftest.er1
38723 cat conftest.err >&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); } && {
38726 test -z "$ac_c_werror_flag" ||
38727 test ! -s conftest.err
38728 } && test -s conftest$ac_exeext &&
38729 $as_test_x conftest$ac_exeext; then
38730 eval wx_cv_func_$wx_func=yes
38731 else
38732 echo "$as_me: failed program was:" >&5
38733 sed 's/^/| /' conftest.$ac_ext >&5
38734
38735 eval wx_cv_func_$wx_func=no
38736 fi
38737
38738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38739 conftest$ac_exeext conftest.$ac_ext
38740
38741 fi
38742 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38743 { echo "$as_me:$LINENO: result: $ac_res" >&5
38744 echo "${ECHO_T}$ac_res" >&6; }
38745
38746 if eval test \$wx_cv_func_$wx_func = yes
38747 then
38748 cat >>confdefs.h <<_ACEOF
38749 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38750 _ACEOF
38751
38752
38753 else
38754 :
38755
38756 fi
38757 done
38758
38759 fi
38760
38761 fi
38762
38763
38764
38765 cat >confcache <<\_ACEOF
38766 # This file is a shell script that caches the results of configure
38767 # tests run on this system so they can be shared between configure
38768 # scripts and configure runs, see configure's option --config-cache.
38769 # It is not useful on other systems. If it contains results you don't
38770 # want to keep, you may remove or edit it.
38771 #
38772 # config.status only pays attention to the cache file if you give it
38773 # the --recheck option to rerun configure.
38774 #
38775 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38776 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38777 # following values.
38778
38779 _ACEOF
38780
38781 # The following way of writing the cache mishandles newlines in values,
38782 # but we know of no workaround that is simple, portable, and efficient.
38783 # So, we kill variables containing newlines.
38784 # Ultrix sh set writes to stderr and can't be redirected directly,
38785 # and sets the high bit in the cache file unless we assign to the vars.
38786 (
38787 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38788 eval ac_val=\$$ac_var
38789 case $ac_val in #(
38790 *${as_nl}*)
38791 case $ac_var in #(
38792 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38793 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38794 esac
38795 case $ac_var in #(
38796 _ | IFS | as_nl) ;; #(
38797 *) $as_unset $ac_var ;;
38798 esac ;;
38799 esac
38800 done
38801
38802 (set) 2>&1 |
38803 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38804 *${as_nl}ac_space=\ *)
38805 # `set' does not quote correctly, so add quotes (double-quote
38806 # substitution turns \\\\ into \\, and sed turns \\ into \).
38807 sed -n \
38808 "s/'/'\\\\''/g;
38809 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38810 ;; #(
38811 *)
38812 # `set' quotes correctly as required by POSIX, so do not add quotes.
38813 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38814 ;;
38815 esac |
38816 sort
38817 ) |
38818 sed '
38819 /^ac_cv_env_/b end
38820 t clear
38821 :clear
38822 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38823 t end
38824 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38825 :end' >>confcache
38826 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38827 if test -w "$cache_file"; then
38828 test "x$cache_file" != "x/dev/null" &&
38829 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38830 echo "$as_me: updating cache $cache_file" >&6;}
38831 cat confcache >$cache_file
38832 else
38833 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38834 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38835 fi
38836 fi
38837 rm -f confcache
38838
38839
38840 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38841
38842
38843 THREADS_LINK=
38844 THREADS_CFLAGS=
38845
38846 if test "$wxUSE_THREADS" = "yes" ; then
38847 if test "$USE_BEOS" = 1; then
38848 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38849 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38850 wxUSE_THREADS="no"
38851 fi
38852 fi
38853
38854 if test "$wxUSE_THREADS" = "yes" ; then
38855
38856
38857 THREAD_OPTS="-pthread"
38858 if test "x$SUNCXX" = xyes; then
38859 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38860 fi
38861
38862 case "${host}" in
38863 *-*-solaris2* | *-*-sunos4* )
38864 if test "x$GCC" = "xyes"; then
38865 THREAD_OPTS="-pthreads $THREAD_OPTS"
38866 fi
38867 ;;
38868 *-*-freebsd*)
38869 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38870 ;;
38871 *-*-darwin* | *-*-cygwin* )
38872 THREAD_OPTS=""
38873 ;;
38874 *-*-aix*)
38875 THREAD_OPTS="pthreads"
38876 ;;
38877 *-hp-hpux* )
38878 if test "x$GCC" = "xyes"; then
38879 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38880 THREAD_OPTS=""
38881 else
38882 THREAD_OPTS="-mt"
38883 fi
38884 ;;
38885
38886 *-*-irix* )
38887 if test "x$GCC" = "xyes"; then
38888 THREAD_OPTS=""
38889 fi
38890 ;;
38891
38892 *-*-*UnixWare*)
38893 if test "x$GCC" != "xyes"; then
38894 THREAD_OPTS="-Ethread"
38895 fi
38896 ;;
38897 esac
38898
38899 THREAD_OPTS="$THREAD_OPTS pthread none"
38900
38901 THREADS_OK=no
38902 for flag in $THREAD_OPTS; do
38903 case $flag in
38904 none)
38905 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38906 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38907 ;;
38908
38909 -*)
38910 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38911 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38912 THREADS_CFLAGS="$flag"
38913 ;;
38914
38915 *)
38916 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38917 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38918 THREADS_LINK="-l$flag"
38919 ;;
38920 esac
38921
38922 save_LIBS="$LIBS"
38923 save_CFLAGS="$CFLAGS"
38924 LIBS="$THREADS_LINK $LIBS"
38925 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38926
38927 cat >conftest.$ac_ext <<_ACEOF
38928 /* confdefs.h. */
38929 _ACEOF
38930 cat confdefs.h >>conftest.$ac_ext
38931 cat >>conftest.$ac_ext <<_ACEOF
38932 /* end confdefs.h. */
38933 #include <pthread.h>
38934 int
38935 main ()
38936 {
38937 pthread_create(0,0,0,0);
38938 ;
38939 return 0;
38940 }
38941 _ACEOF
38942 rm -f conftest.$ac_objext conftest$ac_exeext
38943 if { (ac_try="$ac_link"
38944 case "(($ac_try" in
38945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38946 *) ac_try_echo=$ac_try;;
38947 esac
38948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38949 (eval "$ac_link") 2>conftest.er1
38950 ac_status=$?
38951 grep -v '^ *+' conftest.er1 >conftest.err
38952 rm -f conftest.er1
38953 cat conftest.err >&5
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); } && {
38956 test -z "$ac_c_werror_flag" ||
38957 test ! -s conftest.err
38958 } && test -s conftest$ac_exeext &&
38959 $as_test_x conftest$ac_exeext; then
38960 THREADS_OK=yes
38961 else
38962 echo "$as_me: failed program was:" >&5
38963 sed 's/^/| /' conftest.$ac_ext >&5
38964
38965
38966 fi
38967
38968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38969 conftest$ac_exeext conftest.$ac_ext
38970
38971 LIBS="$save_LIBS"
38972 CFLAGS="$save_CFLAGS"
38973
38974 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38975 echo "${ECHO_T}$THREADS_OK" >&6; }
38976 if test "x$THREADS_OK" = "xyes"; then
38977 break;
38978 fi
38979
38980 THREADS_LINK=""
38981 THREADS_CFLAGS=""
38982 done
38983
38984 if test "x$THREADS_OK" != "xyes"; then
38985 wxUSE_THREADS=no
38986 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38987 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38988 else
38989 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38990 LIBS="$THREADS_LINK $LIBS"
38991
38992 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38993 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38994 flag=no
38995 case "${host}" in
38996 *-aix*)
38997 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38998 flag="-D_THREAD_SAFE"
38999 ;;
39000 *-freebsd*)
39001 flag="-D_THREAD_SAFE"
39002 ;;
39003 *-hp-hpux* )
39004 flag="-D_REENTRANT"
39005 if test "x$GCC" != "xyes"; then
39006 flag="$flag -D_RWSTD_MULTI_THREAD"
39007 fi
39008 ;;
39009 *solaris* | alpha*-osf*)
39010 flag="-D_REENTRANT"
39011 ;;
39012 esac
39013 { echo "$as_me:$LINENO: result: ${flag}" >&5
39014 echo "${ECHO_T}${flag}" >&6; }
39015 if test "x$flag" != xno; then
39016 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39017 fi
39018
39019 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39020 fi
39021 fi
39022
39023 if test "$wxUSE_THREADS" = "yes" ; then
39024
39025 for ac_func in thr_setconcurrency
39026 do
39027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39028 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39030 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39031 echo $ECHO_N "(cached) $ECHO_C" >&6
39032 else
39033 cat >conftest.$ac_ext <<_ACEOF
39034 /* confdefs.h. */
39035 _ACEOF
39036 cat confdefs.h >>conftest.$ac_ext
39037 cat >>conftest.$ac_ext <<_ACEOF
39038 /* end confdefs.h. */
39039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39041 #define $ac_func innocuous_$ac_func
39042
39043 /* System header to define __stub macros and hopefully few prototypes,
39044 which can conflict with char $ac_func (); below.
39045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39046 <limits.h> exists even on freestanding compilers. */
39047
39048 #ifdef __STDC__
39049 # include <limits.h>
39050 #else
39051 # include <assert.h>
39052 #endif
39053
39054 #undef $ac_func
39055
39056 /* Override any GCC internal prototype to avoid an error.
39057 Use char because int might match the return type of a GCC
39058 builtin and then its argument prototype would still apply. */
39059 #ifdef __cplusplus
39060 extern "C"
39061 #endif
39062 char $ac_func ();
39063 /* The GNU C library defines this for functions which it implements
39064 to always fail with ENOSYS. Some functions are actually named
39065 something starting with __ and the normal name is an alias. */
39066 #if defined __stub_$ac_func || defined __stub___$ac_func
39067 choke me
39068 #endif
39069
39070 int
39071 main ()
39072 {
39073 return $ac_func ();
39074 ;
39075 return 0;
39076 }
39077 _ACEOF
39078 rm -f conftest.$ac_objext conftest$ac_exeext
39079 if { (ac_try="$ac_link"
39080 case "(($ac_try" in
39081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39082 *) ac_try_echo=$ac_try;;
39083 esac
39084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39085 (eval "$ac_link") 2>conftest.er1
39086 ac_status=$?
39087 grep -v '^ *+' conftest.er1 >conftest.err
39088 rm -f conftest.er1
39089 cat conftest.err >&5
39090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39091 (exit $ac_status); } && {
39092 test -z "$ac_c_werror_flag" ||
39093 test ! -s conftest.err
39094 } && test -s conftest$ac_exeext &&
39095 $as_test_x conftest$ac_exeext; then
39096 eval "$as_ac_var=yes"
39097 else
39098 echo "$as_me: failed program was:" >&5
39099 sed 's/^/| /' conftest.$ac_ext >&5
39100
39101 eval "$as_ac_var=no"
39102 fi
39103
39104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39105 conftest$ac_exeext conftest.$ac_ext
39106 fi
39107 ac_res=`eval echo '${'$as_ac_var'}'`
39108 { echo "$as_me:$LINENO: result: $ac_res" >&5
39109 echo "${ECHO_T}$ac_res" >&6; }
39110 if test `eval echo '${'$as_ac_var'}'` = yes; then
39111 cat >>confdefs.h <<_ACEOF
39112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39113 _ACEOF
39114
39115 fi
39116 done
39117
39118
39119 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39120 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39121 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39122 echo $ECHO_N "(cached) $ECHO_C" >&6
39123 else
39124
39125 ac_ext=cpp
39126 ac_cpp='$CXXCPP $CPPFLAGS'
39127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39130
39131 cat >conftest.$ac_ext <<_ACEOF
39132 /* confdefs.h. */
39133 _ACEOF
39134 cat confdefs.h >>conftest.$ac_ext
39135 cat >>conftest.$ac_ext <<_ACEOF
39136 /* end confdefs.h. */
39137 #include <pthread.h>
39138 void ThreadCleanupFunc(void *p);
39139
39140 int
39141 main ()
39142 {
39143
39144 void *p;
39145 pthread_cleanup_push(ThreadCleanupFunc, p);
39146 pthread_cleanup_pop(0);
39147
39148 ;
39149 return 0;
39150 }
39151 _ACEOF
39152 rm -f conftest.$ac_objext
39153 if { (ac_try="$ac_compile"
39154 case "(($ac_try" in
39155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39156 *) ac_try_echo=$ac_try;;
39157 esac
39158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39159 (eval "$ac_compile") 2>conftest.er1
39160 ac_status=$?
39161 grep -v '^ *+' conftest.er1 >conftest.err
39162 rm -f conftest.er1
39163 cat conftest.err >&5
39164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39165 (exit $ac_status); } && {
39166 test -z "$ac_cxx_werror_flag" ||
39167 test ! -s conftest.err
39168 } && test -s conftest.$ac_objext; then
39169
39170 wx_cv_func_pthread_cleanup=yes
39171
39172 else
39173 echo "$as_me: failed program was:" >&5
39174 sed 's/^/| /' conftest.$ac_ext >&5
39175
39176
39177 wx_cv_func_pthread_cleanup=no
39178
39179
39180 fi
39181
39182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39183 ac_ext=c
39184 ac_cpp='$CPP $CPPFLAGS'
39185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39188
39189
39190 fi
39191 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39192 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39193 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39194 cat >>confdefs.h <<\_ACEOF
39195 #define wxHAVE_PTHREAD_CLEANUP 1
39196 _ACEOF
39197
39198 fi
39199
39200
39201 for ac_header in sched.h
39202 do
39203 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39204 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39206 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39207 echo $ECHO_N "(cached) $ECHO_C" >&6
39208 else
39209 cat >conftest.$ac_ext <<_ACEOF
39210 /* confdefs.h. */
39211 _ACEOF
39212 cat confdefs.h >>conftest.$ac_ext
39213 cat >>conftest.$ac_ext <<_ACEOF
39214 /* end confdefs.h. */
39215 $ac_includes_default
39216
39217 #include <$ac_header>
39218 _ACEOF
39219 rm -f conftest.$ac_objext
39220 if { (ac_try="$ac_compile"
39221 case "(($ac_try" in
39222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39223 *) ac_try_echo=$ac_try;;
39224 esac
39225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39226 (eval "$ac_compile") 2>conftest.er1
39227 ac_status=$?
39228 grep -v '^ *+' conftest.er1 >conftest.err
39229 rm -f conftest.er1
39230 cat conftest.err >&5
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); } && {
39233 test -z "$ac_c_werror_flag" ||
39234 test ! -s conftest.err
39235 } && test -s conftest.$ac_objext; then
39236 eval "$as_ac_Header=yes"
39237 else
39238 echo "$as_me: failed program was:" >&5
39239 sed 's/^/| /' conftest.$ac_ext >&5
39240
39241 eval "$as_ac_Header=no"
39242 fi
39243
39244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39245 fi
39246 ac_res=`eval echo '${'$as_ac_Header'}'`
39247 { echo "$as_me:$LINENO: result: $ac_res" >&5
39248 echo "${ECHO_T}$ac_res" >&6; }
39249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39250 cat >>confdefs.h <<_ACEOF
39251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39252 _ACEOF
39253
39254 fi
39255
39256 done
39257
39258 if test "$ac_cv_header_sched_h" = "yes"; then
39259 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39260 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39261 if test "${ac_cv_func_sched_yield+set}" = set; then
39262 echo $ECHO_N "(cached) $ECHO_C" >&6
39263 else
39264 cat >conftest.$ac_ext <<_ACEOF
39265 /* confdefs.h. */
39266 _ACEOF
39267 cat confdefs.h >>conftest.$ac_ext
39268 cat >>conftest.$ac_ext <<_ACEOF
39269 /* end confdefs.h. */
39270 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39272 #define sched_yield innocuous_sched_yield
39273
39274 /* System header to define __stub macros and hopefully few prototypes,
39275 which can conflict with char sched_yield (); below.
39276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39277 <limits.h> exists even on freestanding compilers. */
39278
39279 #ifdef __STDC__
39280 # include <limits.h>
39281 #else
39282 # include <assert.h>
39283 #endif
39284
39285 #undef sched_yield
39286
39287 /* Override any GCC internal prototype to avoid an error.
39288 Use char because int might match the return type of a GCC
39289 builtin and then its argument prototype would still apply. */
39290 #ifdef __cplusplus
39291 extern "C"
39292 #endif
39293 char sched_yield ();
39294 /* The GNU C library defines this for functions which it implements
39295 to always fail with ENOSYS. Some functions are actually named
39296 something starting with __ and the normal name is an alias. */
39297 #if defined __stub_sched_yield || defined __stub___sched_yield
39298 choke me
39299 #endif
39300
39301 int
39302 main ()
39303 {
39304 return sched_yield ();
39305 ;
39306 return 0;
39307 }
39308 _ACEOF
39309 rm -f conftest.$ac_objext conftest$ac_exeext
39310 if { (ac_try="$ac_link"
39311 case "(($ac_try" in
39312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39313 *) ac_try_echo=$ac_try;;
39314 esac
39315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39316 (eval "$ac_link") 2>conftest.er1
39317 ac_status=$?
39318 grep -v '^ *+' conftest.er1 >conftest.err
39319 rm -f conftest.er1
39320 cat conftest.err >&5
39321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39322 (exit $ac_status); } && {
39323 test -z "$ac_c_werror_flag" ||
39324 test ! -s conftest.err
39325 } && test -s conftest$ac_exeext &&
39326 $as_test_x conftest$ac_exeext; then
39327 ac_cv_func_sched_yield=yes
39328 else
39329 echo "$as_me: failed program was:" >&5
39330 sed 's/^/| /' conftest.$ac_ext >&5
39331
39332 ac_cv_func_sched_yield=no
39333 fi
39334
39335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39336 conftest$ac_exeext conftest.$ac_ext
39337 fi
39338 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39339 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39340 if test $ac_cv_func_sched_yield = yes; then
39341 cat >>confdefs.h <<\_ACEOF
39342 #define HAVE_SCHED_YIELD 1
39343 _ACEOF
39344
39345 else
39346
39347 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39348 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39349 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39350 echo $ECHO_N "(cached) $ECHO_C" >&6
39351 else
39352 ac_check_lib_save_LIBS=$LIBS
39353 LIBS="-lposix4 $LIBS"
39354 cat >conftest.$ac_ext <<_ACEOF
39355 /* confdefs.h. */
39356 _ACEOF
39357 cat confdefs.h >>conftest.$ac_ext
39358 cat >>conftest.$ac_ext <<_ACEOF
39359 /* end confdefs.h. */
39360
39361 /* Override any GCC internal prototype to avoid an error.
39362 Use char because int might match the return type of a GCC
39363 builtin and then its argument prototype would still apply. */
39364 #ifdef __cplusplus
39365 extern "C"
39366 #endif
39367 char sched_yield ();
39368 int
39369 main ()
39370 {
39371 return sched_yield ();
39372 ;
39373 return 0;
39374 }
39375 _ACEOF
39376 rm -f conftest.$ac_objext conftest$ac_exeext
39377 if { (ac_try="$ac_link"
39378 case "(($ac_try" in
39379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39380 *) ac_try_echo=$ac_try;;
39381 esac
39382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39383 (eval "$ac_link") 2>conftest.er1
39384 ac_status=$?
39385 grep -v '^ *+' conftest.er1 >conftest.err
39386 rm -f conftest.er1
39387 cat conftest.err >&5
39388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389 (exit $ac_status); } && {
39390 test -z "$ac_c_werror_flag" ||
39391 test ! -s conftest.err
39392 } && test -s conftest$ac_exeext &&
39393 $as_test_x conftest$ac_exeext; then
39394 ac_cv_lib_posix4_sched_yield=yes
39395 else
39396 echo "$as_me: failed program was:" >&5
39397 sed 's/^/| /' conftest.$ac_ext >&5
39398
39399 ac_cv_lib_posix4_sched_yield=no
39400 fi
39401
39402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39403 conftest$ac_exeext conftest.$ac_ext
39404 LIBS=$ac_check_lib_save_LIBS
39405 fi
39406 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39407 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39408 if test $ac_cv_lib_posix4_sched_yield = yes; then
39409 cat >>confdefs.h <<\_ACEOF
39410 #define HAVE_SCHED_YIELD 1
39411 _ACEOF
39412 POSIX4_LINK=" -lposix4"
39413 else
39414 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39415 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39416
39417 fi
39418
39419
39420
39421 fi
39422
39423 fi
39424
39425 HAVE_PRIOR_FUNCS=0
39426 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39427 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39428 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39429 echo $ECHO_N "(cached) $ECHO_C" >&6
39430 else
39431 cat >conftest.$ac_ext <<_ACEOF
39432 /* confdefs.h. */
39433 _ACEOF
39434 cat confdefs.h >>conftest.$ac_ext
39435 cat >>conftest.$ac_ext <<_ACEOF
39436 /* end confdefs.h. */
39437 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39439 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39440
39441 /* System header to define __stub macros and hopefully few prototypes,
39442 which can conflict with char pthread_attr_getschedpolicy (); below.
39443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39444 <limits.h> exists even on freestanding compilers. */
39445
39446 #ifdef __STDC__
39447 # include <limits.h>
39448 #else
39449 # include <assert.h>
39450 #endif
39451
39452 #undef pthread_attr_getschedpolicy
39453
39454 /* Override any GCC internal prototype to avoid an error.
39455 Use char because int might match the return type of a GCC
39456 builtin and then its argument prototype would still apply. */
39457 #ifdef __cplusplus
39458 extern "C"
39459 #endif
39460 char pthread_attr_getschedpolicy ();
39461 /* The GNU C library defines this for functions which it implements
39462 to always fail with ENOSYS. Some functions are actually named
39463 something starting with __ and the normal name is an alias. */
39464 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39465 choke me
39466 #endif
39467
39468 int
39469 main ()
39470 {
39471 return pthread_attr_getschedpolicy ();
39472 ;
39473 return 0;
39474 }
39475 _ACEOF
39476 rm -f conftest.$ac_objext conftest$ac_exeext
39477 if { (ac_try="$ac_link"
39478 case "(($ac_try" in
39479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39480 *) ac_try_echo=$ac_try;;
39481 esac
39482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39483 (eval "$ac_link") 2>conftest.er1
39484 ac_status=$?
39485 grep -v '^ *+' conftest.er1 >conftest.err
39486 rm -f conftest.er1
39487 cat conftest.err >&5
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); } && {
39490 test -z "$ac_c_werror_flag" ||
39491 test ! -s conftest.err
39492 } && test -s conftest$ac_exeext &&
39493 $as_test_x conftest$ac_exeext; then
39494 ac_cv_func_pthread_attr_getschedpolicy=yes
39495 else
39496 echo "$as_me: failed program was:" >&5
39497 sed 's/^/| /' conftest.$ac_ext >&5
39498
39499 ac_cv_func_pthread_attr_getschedpolicy=no
39500 fi
39501
39502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39503 conftest$ac_exeext conftest.$ac_ext
39504 fi
39505 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39506 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39507 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39508 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39509 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39510 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39511 echo $ECHO_N "(cached) $ECHO_C" >&6
39512 else
39513 cat >conftest.$ac_ext <<_ACEOF
39514 /* confdefs.h. */
39515 _ACEOF
39516 cat confdefs.h >>conftest.$ac_ext
39517 cat >>conftest.$ac_ext <<_ACEOF
39518 /* end confdefs.h. */
39519 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39521 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39522
39523 /* System header to define __stub macros and hopefully few prototypes,
39524 which can conflict with char pthread_attr_setschedparam (); below.
39525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39526 <limits.h> exists even on freestanding compilers. */
39527
39528 #ifdef __STDC__
39529 # include <limits.h>
39530 #else
39531 # include <assert.h>
39532 #endif
39533
39534 #undef pthread_attr_setschedparam
39535
39536 /* Override any GCC internal prototype to avoid an error.
39537 Use char because int might match the return type of a GCC
39538 builtin and then its argument prototype would still apply. */
39539 #ifdef __cplusplus
39540 extern "C"
39541 #endif
39542 char pthread_attr_setschedparam ();
39543 /* The GNU C library defines this for functions which it implements
39544 to always fail with ENOSYS. Some functions are actually named
39545 something starting with __ and the normal name is an alias. */
39546 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39547 choke me
39548 #endif
39549
39550 int
39551 main ()
39552 {
39553 return pthread_attr_setschedparam ();
39554 ;
39555 return 0;
39556 }
39557 _ACEOF
39558 rm -f conftest.$ac_objext conftest$ac_exeext
39559 if { (ac_try="$ac_link"
39560 case "(($ac_try" in
39561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39562 *) ac_try_echo=$ac_try;;
39563 esac
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_link") 2>conftest.er1
39566 ac_status=$?
39567 grep -v '^ *+' conftest.er1 >conftest.err
39568 rm -f conftest.er1
39569 cat conftest.err >&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_c_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest$ac_exeext &&
39575 $as_test_x conftest$ac_exeext; then
39576 ac_cv_func_pthread_attr_setschedparam=yes
39577 else
39578 echo "$as_me: failed program was:" >&5
39579 sed 's/^/| /' conftest.$ac_ext >&5
39580
39581 ac_cv_func_pthread_attr_setschedparam=no
39582 fi
39583
39584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39585 conftest$ac_exeext conftest.$ac_ext
39586 fi
39587 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39588 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39589 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39590 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39591 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39592 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39593 echo $ECHO_N "(cached) $ECHO_C" >&6
39594 else
39595 cat >conftest.$ac_ext <<_ACEOF
39596 /* confdefs.h. */
39597 _ACEOF
39598 cat confdefs.h >>conftest.$ac_ext
39599 cat >>conftest.$ac_ext <<_ACEOF
39600 /* end confdefs.h. */
39601 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39603 #define sched_get_priority_max innocuous_sched_get_priority_max
39604
39605 /* System header to define __stub macros and hopefully few prototypes,
39606 which can conflict with char sched_get_priority_max (); below.
39607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39608 <limits.h> exists even on freestanding compilers. */
39609
39610 #ifdef __STDC__
39611 # include <limits.h>
39612 #else
39613 # include <assert.h>
39614 #endif
39615
39616 #undef sched_get_priority_max
39617
39618 /* Override any GCC internal prototype to avoid an error.
39619 Use char because int might match the return type of a GCC
39620 builtin and then its argument prototype would still apply. */
39621 #ifdef __cplusplus
39622 extern "C"
39623 #endif
39624 char sched_get_priority_max ();
39625 /* The GNU C library defines this for functions which it implements
39626 to always fail with ENOSYS. Some functions are actually named
39627 something starting with __ and the normal name is an alias. */
39628 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39629 choke me
39630 #endif
39631
39632 int
39633 main ()
39634 {
39635 return sched_get_priority_max ();
39636 ;
39637 return 0;
39638 }
39639 _ACEOF
39640 rm -f conftest.$ac_objext conftest$ac_exeext
39641 if { (ac_try="$ac_link"
39642 case "(($ac_try" in
39643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39644 *) ac_try_echo=$ac_try;;
39645 esac
39646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39647 (eval "$ac_link") 2>conftest.er1
39648 ac_status=$?
39649 grep -v '^ *+' conftest.er1 >conftest.err
39650 rm -f conftest.er1
39651 cat conftest.err >&5
39652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39653 (exit $ac_status); } && {
39654 test -z "$ac_c_werror_flag" ||
39655 test ! -s conftest.err
39656 } && test -s conftest$ac_exeext &&
39657 $as_test_x conftest$ac_exeext; then
39658 ac_cv_func_sched_get_priority_max=yes
39659 else
39660 echo "$as_me: failed program was:" >&5
39661 sed 's/^/| /' conftest.$ac_ext >&5
39662
39663 ac_cv_func_sched_get_priority_max=no
39664 fi
39665
39666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39667 conftest$ac_exeext conftest.$ac_ext
39668 fi
39669 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39670 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39671 if test $ac_cv_func_sched_get_priority_max = yes; then
39672 HAVE_PRIOR_FUNCS=1
39673 else
39674 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39675 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39676 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39677 echo $ECHO_N "(cached) $ECHO_C" >&6
39678 else
39679 ac_check_lib_save_LIBS=$LIBS
39680 LIBS="-lposix4 $LIBS"
39681 cat >conftest.$ac_ext <<_ACEOF
39682 /* confdefs.h. */
39683 _ACEOF
39684 cat confdefs.h >>conftest.$ac_ext
39685 cat >>conftest.$ac_ext <<_ACEOF
39686 /* end confdefs.h. */
39687
39688 /* Override any GCC internal prototype to avoid an error.
39689 Use char because int might match the return type of a GCC
39690 builtin and then its argument prototype would still apply. */
39691 #ifdef __cplusplus
39692 extern "C"
39693 #endif
39694 char sched_get_priority_max ();
39695 int
39696 main ()
39697 {
39698 return sched_get_priority_max ();
39699 ;
39700 return 0;
39701 }
39702 _ACEOF
39703 rm -f conftest.$ac_objext conftest$ac_exeext
39704 if { (ac_try="$ac_link"
39705 case "(($ac_try" in
39706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39707 *) ac_try_echo=$ac_try;;
39708 esac
39709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39710 (eval "$ac_link") 2>conftest.er1
39711 ac_status=$?
39712 grep -v '^ *+' conftest.er1 >conftest.err
39713 rm -f conftest.er1
39714 cat conftest.err >&5
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); } && {
39717 test -z "$ac_c_werror_flag" ||
39718 test ! -s conftest.err
39719 } && test -s conftest$ac_exeext &&
39720 $as_test_x conftest$ac_exeext; then
39721 ac_cv_lib_posix4_sched_get_priority_max=yes
39722 else
39723 echo "$as_me: failed program was:" >&5
39724 sed 's/^/| /' conftest.$ac_ext >&5
39725
39726 ac_cv_lib_posix4_sched_get_priority_max=no
39727 fi
39728
39729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39730 conftest$ac_exeext conftest.$ac_ext
39731 LIBS=$ac_check_lib_save_LIBS
39732 fi
39733 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39734 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39735 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39736
39737 HAVE_PRIOR_FUNCS=1
39738 POSIX4_LINK=" -lposix4"
39739
39740 fi
39741
39742
39743 fi
39744
39745
39746 fi
39747
39748
39749 fi
39750
39751
39752 if test "$HAVE_PRIOR_FUNCS" = 1; then
39753 cat >>confdefs.h <<\_ACEOF
39754 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39755 _ACEOF
39756
39757 else
39758 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39759 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39760 fi
39761
39762 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39763 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39764 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39765 echo $ECHO_N "(cached) $ECHO_C" >&6
39766 else
39767 cat >conftest.$ac_ext <<_ACEOF
39768 /* confdefs.h. */
39769 _ACEOF
39770 cat confdefs.h >>conftest.$ac_ext
39771 cat >>conftest.$ac_ext <<_ACEOF
39772 /* end confdefs.h. */
39773 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39775 #define pthread_cancel innocuous_pthread_cancel
39776
39777 /* System header to define __stub macros and hopefully few prototypes,
39778 which can conflict with char pthread_cancel (); below.
39779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39780 <limits.h> exists even on freestanding compilers. */
39781
39782 #ifdef __STDC__
39783 # include <limits.h>
39784 #else
39785 # include <assert.h>
39786 #endif
39787
39788 #undef pthread_cancel
39789
39790 /* Override any GCC internal prototype to avoid an error.
39791 Use char because int might match the return type of a GCC
39792 builtin and then its argument prototype would still apply. */
39793 #ifdef __cplusplus
39794 extern "C"
39795 #endif
39796 char pthread_cancel ();
39797 /* The GNU C library defines this for functions which it implements
39798 to always fail with ENOSYS. Some functions are actually named
39799 something starting with __ and the normal name is an alias. */
39800 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39801 choke me
39802 #endif
39803
39804 int
39805 main ()
39806 {
39807 return pthread_cancel ();
39808 ;
39809 return 0;
39810 }
39811 _ACEOF
39812 rm -f conftest.$ac_objext conftest$ac_exeext
39813 if { (ac_try="$ac_link"
39814 case "(($ac_try" in
39815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39816 *) ac_try_echo=$ac_try;;
39817 esac
39818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39819 (eval "$ac_link") 2>conftest.er1
39820 ac_status=$?
39821 grep -v '^ *+' conftest.er1 >conftest.err
39822 rm -f conftest.er1
39823 cat conftest.err >&5
39824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39825 (exit $ac_status); } && {
39826 test -z "$ac_c_werror_flag" ||
39827 test ! -s conftest.err
39828 } && test -s conftest$ac_exeext &&
39829 $as_test_x conftest$ac_exeext; then
39830 ac_cv_func_pthread_cancel=yes
39831 else
39832 echo "$as_me: failed program was:" >&5
39833 sed 's/^/| /' conftest.$ac_ext >&5
39834
39835 ac_cv_func_pthread_cancel=no
39836 fi
39837
39838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39839 conftest$ac_exeext conftest.$ac_ext
39840 fi
39841 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39842 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39843 if test $ac_cv_func_pthread_cancel = yes; then
39844 cat >>confdefs.h <<\_ACEOF
39845 #define HAVE_PTHREAD_CANCEL 1
39846 _ACEOF
39847
39848 else
39849 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39850 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39851 fi
39852
39853
39854 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39855 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39856 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39858 else
39859 cat >conftest.$ac_ext <<_ACEOF
39860 /* confdefs.h. */
39861 _ACEOF
39862 cat confdefs.h >>conftest.$ac_ext
39863 cat >>conftest.$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39867 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39868
39869 /* System header to define __stub macros and hopefully few prototypes,
39870 which can conflict with char pthread_mutex_timedlock (); below.
39871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39872 <limits.h> exists even on freestanding compilers. */
39873
39874 #ifdef __STDC__
39875 # include <limits.h>
39876 #else
39877 # include <assert.h>
39878 #endif
39879
39880 #undef pthread_mutex_timedlock
39881
39882 /* Override any GCC internal prototype to avoid an error.
39883 Use char because int might match the return type of a GCC
39884 builtin and then its argument prototype would still apply. */
39885 #ifdef __cplusplus
39886 extern "C"
39887 #endif
39888 char pthread_mutex_timedlock ();
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39893 choke me
39894 #endif
39895
39896 int
39897 main ()
39898 {
39899 return pthread_mutex_timedlock ();
39900 ;
39901 return 0;
39902 }
39903 _ACEOF
39904 rm -f conftest.$ac_objext conftest$ac_exeext
39905 if { (ac_try="$ac_link"
39906 case "(($ac_try" in
39907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39908 *) ac_try_echo=$ac_try;;
39909 esac
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_link") 2>conftest.er1
39912 ac_status=$?
39913 grep -v '^ *+' conftest.er1 >conftest.err
39914 rm -f conftest.er1
39915 cat conftest.err >&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_c_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest$ac_exeext &&
39921 $as_test_x conftest$ac_exeext; then
39922 ac_cv_func_pthread_mutex_timedlock=yes
39923 else
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39926
39927 ac_cv_func_pthread_mutex_timedlock=no
39928 fi
39929
39930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39931 conftest$ac_exeext conftest.$ac_ext
39932 fi
39933 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39934 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39935 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39936 cat >>confdefs.h <<\_ACEOF
39937 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39938 _ACEOF
39939
39940 else
39941 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39942 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39943 fi
39944
39945
39946 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39947 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39948 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39949 echo $ECHO_N "(cached) $ECHO_C" >&6
39950 else
39951 cat >conftest.$ac_ext <<_ACEOF
39952 /* confdefs.h. */
39953 _ACEOF
39954 cat confdefs.h >>conftest.$ac_ext
39955 cat >>conftest.$ac_ext <<_ACEOF
39956 /* end confdefs.h. */
39957 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39959 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39960
39961 /* System header to define __stub macros and hopefully few prototypes,
39962 which can conflict with char pthread_attr_setstacksize (); below.
39963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39964 <limits.h> exists even on freestanding compilers. */
39965
39966 #ifdef __STDC__
39967 # include <limits.h>
39968 #else
39969 # include <assert.h>
39970 #endif
39971
39972 #undef pthread_attr_setstacksize
39973
39974 /* Override any GCC internal prototype to avoid an error.
39975 Use char because int might match the return type of a GCC
39976 builtin and then its argument prototype would still apply. */
39977 #ifdef __cplusplus
39978 extern "C"
39979 #endif
39980 char pthread_attr_setstacksize ();
39981 /* The GNU C library defines this for functions which it implements
39982 to always fail with ENOSYS. Some functions are actually named
39983 something starting with __ and the normal name is an alias. */
39984 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39985 choke me
39986 #endif
39987
39988 int
39989 main ()
39990 {
39991 return pthread_attr_setstacksize ();
39992 ;
39993 return 0;
39994 }
39995 _ACEOF
39996 rm -f conftest.$ac_objext conftest$ac_exeext
39997 if { (ac_try="$ac_link"
39998 case "(($ac_try" in
39999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40000 *) ac_try_echo=$ac_try;;
40001 esac
40002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40003 (eval "$ac_link") 2>conftest.er1
40004 ac_status=$?
40005 grep -v '^ *+' conftest.er1 >conftest.err
40006 rm -f conftest.er1
40007 cat conftest.err >&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); } && {
40010 test -z "$ac_c_werror_flag" ||
40011 test ! -s conftest.err
40012 } && test -s conftest$ac_exeext &&
40013 $as_test_x conftest$ac_exeext; then
40014 ac_cv_func_pthread_attr_setstacksize=yes
40015 else
40016 echo "$as_me: failed program was:" >&5
40017 sed 's/^/| /' conftest.$ac_ext >&5
40018
40019 ac_cv_func_pthread_attr_setstacksize=no
40020 fi
40021
40022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40023 conftest$ac_exeext conftest.$ac_ext
40024 fi
40025 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40026 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40027 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40028 cat >>confdefs.h <<\_ACEOF
40029 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40030 _ACEOF
40031
40032 fi
40033
40034
40035
40036 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40037 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40038 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40039 echo $ECHO_N "(cached) $ECHO_C" >&6
40040 else
40041
40042 cat >conftest.$ac_ext <<_ACEOF
40043 /* confdefs.h. */
40044 _ACEOF
40045 cat confdefs.h >>conftest.$ac_ext
40046 cat >>conftest.$ac_ext <<_ACEOF
40047 /* end confdefs.h. */
40048 #include <pthread.h>
40049 int
40050 main ()
40051 {
40052
40053 pthread_mutexattr_t attr;
40054 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40055
40056 ;
40057 return 0;
40058 }
40059 _ACEOF
40060 rm -f conftest.$ac_objext
40061 if { (ac_try="$ac_compile"
40062 case "(($ac_try" in
40063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40064 *) ac_try_echo=$ac_try;;
40065 esac
40066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40067 (eval "$ac_compile") 2>conftest.er1
40068 ac_status=$?
40069 grep -v '^ *+' conftest.er1 >conftest.err
40070 rm -f conftest.er1
40071 cat conftest.err >&5
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); } && {
40074 test -z "$ac_c_werror_flag" ||
40075 test ! -s conftest.err
40076 } && test -s conftest.$ac_objext; then
40077 wx_cv_type_pthread_mutexattr_t=yes
40078 else
40079 echo "$as_me: failed program was:" >&5
40080 sed 's/^/| /' conftest.$ac_ext >&5
40081
40082 wx_cv_type_pthread_mutexattr_t=no
40083
40084 fi
40085
40086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40087
40088 fi
40089 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40090 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40091
40092 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40093 cat >>confdefs.h <<\_ACEOF
40094 #define HAVE_PTHREAD_MUTEXATTR_T 1
40095 _ACEOF
40096
40097
40098 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40099 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40100 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40101 echo $ECHO_N "(cached) $ECHO_C" >&6
40102 else
40103
40104 cat >conftest.$ac_ext <<_ACEOF
40105 /* confdefs.h. */
40106 _ACEOF
40107 cat confdefs.h >>conftest.$ac_ext
40108 cat >>conftest.$ac_ext <<_ACEOF
40109 /* end confdefs.h. */
40110 #include <pthread.h>
40111 int
40112 main ()
40113 {
40114
40115 pthread_mutexattr_t attr;
40116 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40117
40118 ;
40119 return 0;
40120 }
40121 _ACEOF
40122 rm -f conftest.$ac_objext
40123 if { (ac_try="$ac_compile"
40124 case "(($ac_try" in
40125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40126 *) ac_try_echo=$ac_try;;
40127 esac
40128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40129 (eval "$ac_compile") 2>conftest.er1
40130 ac_status=$?
40131 grep -v '^ *+' conftest.er1 >conftest.err
40132 rm -f conftest.er1
40133 cat conftest.err >&5
40134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40135 (exit $ac_status); } && {
40136 test -z "$ac_c_werror_flag" ||
40137 test ! -s conftest.err
40138 } && test -s conftest.$ac_objext; then
40139 wx_cv_func_pthread_mutexattr_settype_decl=yes
40140 else
40141 echo "$as_me: failed program was:" >&5
40142 sed 's/^/| /' conftest.$ac_ext >&5
40143
40144 wx_cv_func_pthread_mutexattr_settype_decl=no
40145
40146 fi
40147
40148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40149
40150 fi
40151 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40152 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40153 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40154 cat >>confdefs.h <<\_ACEOF
40155 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40156 _ACEOF
40157
40158 fi
40159 else
40160 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40161 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40162 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40163 echo $ECHO_N "(cached) $ECHO_C" >&6
40164 else
40165
40166 cat >conftest.$ac_ext <<_ACEOF
40167 /* confdefs.h. */
40168 _ACEOF
40169 cat confdefs.h >>conftest.$ac_ext
40170 cat >>conftest.$ac_ext <<_ACEOF
40171 /* end confdefs.h. */
40172 #include <pthread.h>
40173 int
40174 main ()
40175 {
40176
40177 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40178
40179 ;
40180 return 0;
40181 }
40182 _ACEOF
40183 rm -f conftest.$ac_objext
40184 if { (ac_try="$ac_compile"
40185 case "(($ac_try" in
40186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40187 *) ac_try_echo=$ac_try;;
40188 esac
40189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40190 (eval "$ac_compile") 2>conftest.er1
40191 ac_status=$?
40192 grep -v '^ *+' conftest.er1 >conftest.err
40193 rm -f conftest.er1
40194 cat conftest.err >&5
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); } && {
40197 test -z "$ac_c_werror_flag" ||
40198 test ! -s conftest.err
40199 } && test -s conftest.$ac_objext; then
40200
40201 wx_cv_type_pthread_rec_mutex_init=yes
40202
40203 else
40204 echo "$as_me: failed program was:" >&5
40205 sed 's/^/| /' conftest.$ac_ext >&5
40206
40207
40208 wx_cv_type_pthread_rec_mutex_init=no
40209
40210
40211 fi
40212
40213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40214
40215 fi
40216 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40217 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40218 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40219 cat >>confdefs.h <<\_ACEOF
40220 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40221 _ACEOF
40222
40223 else
40224 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40225 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40226 fi
40227 fi
40228
40229 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40230 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40231 if test "${wx_cv_cc___thread+set}" = set; then
40232 echo $ECHO_N "(cached) $ECHO_C" >&6
40233 else
40234
40235 cat >conftest.$ac_ext <<_ACEOF
40236 /* confdefs.h. */
40237 _ACEOF
40238 cat confdefs.h >>conftest.$ac_ext
40239 cat >>conftest.$ac_ext <<_ACEOF
40240 /* end confdefs.h. */
40241 #include <pthread.h>
40242 int
40243 main ()
40244 {
40245
40246 static __thread int n = 0;
40247 static __thread int *p = 0;
40248
40249 ;
40250 return 0;
40251 }
40252 _ACEOF
40253 rm -f conftest.$ac_objext
40254 if { (ac_try="$ac_compile"
40255 case "(($ac_try" in
40256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40257 *) ac_try_echo=$ac_try;;
40258 esac
40259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40260 (eval "$ac_compile") 2>conftest.er1
40261 ac_status=$?
40262 grep -v '^ *+' conftest.er1 >conftest.err
40263 rm -f conftest.er1
40264 cat conftest.err >&5
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); } && {
40267 test -z "$ac_c_werror_flag" ||
40268 test ! -s conftest.err
40269 } && test -s conftest.$ac_objext; then
40270 wx_cv_cc___thread=yes
40271 else
40272 echo "$as_me: failed program was:" >&5
40273 sed 's/^/| /' conftest.$ac_ext >&5
40274
40275 wx_cv_cc___thread=no
40276
40277 fi
40278
40279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40280
40281
40282 fi
40283 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40284 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40285
40286 if test "$wx_cv_cc___thread" = "yes"; then
40287
40288 GXX_VERSION=""
40289
40290
40291
40292 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40293 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40294
40295 if test "x$GCC" = "xyes" ; then
40296
40297 if test -z "" ; then
40298
40299 ax_gcc_option_test="int main()
40300 {
40301 return 0;
40302 }"
40303
40304 else
40305
40306 ax_gcc_option_test=""
40307
40308 fi
40309
40310
40311 # Dump the test program to file
40312 cat <<EOF > conftest.c
40313 $ax_gcc_option_test
40314 EOF
40315
40316 # Dump back the file to the log, useful for debugging purposes
40317 { ac_try='cat conftest.c 1>&5'
40318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40319 (eval $ac_try) 2>&5
40320 ac_status=$?
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); }; }
40323
40324 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40326 (eval $ac_try) 2>&5
40327 ac_status=$?
40328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40329 (exit $ac_status); }; } ; then
40330
40331 { echo "$as_me:$LINENO: result: yes" >&5
40332 echo "${ECHO_T}yes" >&6; }
40333
40334 ax_gcc_version_option=yes
40335
40336
40337 else
40338
40339 { echo "$as_me:$LINENO: result: no" >&5
40340 echo "${ECHO_T}no" >&6; }
40341
40342 ax_gcc_version_option=no
40343
40344
40345 fi
40346
40347
40348 else
40349
40350 { echo "$as_me:$LINENO: result: no gcc available" >&5
40351 echo "${ECHO_T}no gcc available" >&6; }
40352
40353 fi
40354
40355
40356 if test "x$GXX" = "xyes"; then
40357
40358 if test "x$ax_gxx_version_option" != "no"; then
40359
40360 { echo "$as_me:$LINENO: checking gxx version" >&5
40361 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40362 if test "${ax_cv_gxx_version+set}" = set; then
40363 echo $ECHO_N "(cached) $ECHO_C" >&6
40364 else
40365
40366 ax_cv_gxx_version="`$CXX -dumpversion`"
40367 if test "x$ax_cv_gxx_version" = "x"; then
40368
40369 ax_cv_gxx_version=""
40370
40371 fi
40372
40373
40374 fi
40375 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40376 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40377 GXX_VERSION=$ax_cv_gxx_version
40378
40379 fi
40380
40381
40382 fi
40383
40384
40385
40386 if test -n "$ax_cv_gxx_version"; then
40387 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40388 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40389 case "$ax_cv_gxx_version" in
40390 1.* | 2.* | 3.* )
40391 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40392 echo "${ECHO_T}no, it's broken" >&6; }
40393 wx_cv_cc___thread=no
40394 ;;
40395 *)
40396 { echo "$as_me:$LINENO: result: yes, it works" >&5
40397 echo "${ECHO_T}yes, it works" >&6; }
40398 ;;
40399 esac
40400 fi
40401 fi
40402
40403 if test "$wx_cv_cc___thread" = "yes"; then
40404 cat >>confdefs.h <<\_ACEOF
40405 #define HAVE___THREAD_KEYWORD 1
40406 _ACEOF
40407
40408 fi
40409 fi
40410
40411 else
40412 if test "$wxUSE_THREADS" = "yes" ; then
40413 case "${host}" in
40414 x86_64-*-mingw32* )
40415 ;;
40416 *-*-mingw32* )
40417 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40418 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40419 if test "${wx_cv_cflags_mthread+set}" = set; then
40420 echo $ECHO_N "(cached) $ECHO_C" >&6
40421 else
40422
40423 CFLAGS_OLD="$CFLAGS"
40424 CFLAGS="-mthreads $CFLAGS"
40425 cat >conftest.$ac_ext <<_ACEOF
40426 /* confdefs.h. */
40427 _ACEOF
40428 cat confdefs.h >>conftest.$ac_ext
40429 cat >>conftest.$ac_ext <<_ACEOF
40430 /* end confdefs.h. */
40431
40432 int
40433 main ()
40434 {
40435
40436 ;
40437 return 0;
40438 }
40439 _ACEOF
40440 rm -f conftest.$ac_objext
40441 if { (ac_try="$ac_compile"
40442 case "(($ac_try" in
40443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40444 *) ac_try_echo=$ac_try;;
40445 esac
40446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40447 (eval "$ac_compile") 2>conftest.er1
40448 ac_status=$?
40449 grep -v '^ *+' conftest.er1 >conftest.err
40450 rm -f conftest.er1
40451 cat conftest.err >&5
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); } && {
40454 test -z "$ac_c_werror_flag" ||
40455 test ! -s conftest.err
40456 } && test -s conftest.$ac_objext; then
40457 wx_cv_cflags_mthread=yes
40458 else
40459 echo "$as_me: failed program was:" >&5
40460 sed 's/^/| /' conftest.$ac_ext >&5
40461
40462 wx_cv_cflags_mthread=no
40463
40464 fi
40465
40466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40467
40468
40469 fi
40470 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40471 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40472
40473 if test "$wx_cv_cflags_mthread" = "yes"; then
40474 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40475 LDFLAGS="$LDFLAGS -mthreads"
40476 else
40477 CFLAGS="$CFLAGS_OLD"
40478 fi
40479 ;;
40480 *-pc-os2*emx )
40481 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40482 LDFLAGS="$LDFLAGS -Zmt"
40483 ;;
40484 esac
40485 fi
40486 fi
40487
40488 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40489 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40490 if test "${ac_cv_func_localtime_r+set}" = set; then
40491 echo $ECHO_N "(cached) $ECHO_C" >&6
40492 else
40493 cat >conftest.$ac_ext <<_ACEOF
40494 /* confdefs.h. */
40495 _ACEOF
40496 cat confdefs.h >>conftest.$ac_ext
40497 cat >>conftest.$ac_ext <<_ACEOF
40498 /* end confdefs.h. */
40499 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40501 #define localtime_r innocuous_localtime_r
40502
40503 /* System header to define __stub macros and hopefully few prototypes,
40504 which can conflict with char localtime_r (); below.
40505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40506 <limits.h> exists even on freestanding compilers. */
40507
40508 #ifdef __STDC__
40509 # include <limits.h>
40510 #else
40511 # include <assert.h>
40512 #endif
40513
40514 #undef localtime_r
40515
40516 /* Override any GCC internal prototype to avoid an error.
40517 Use char because int might match the return type of a GCC
40518 builtin and then its argument prototype would still apply. */
40519 #ifdef __cplusplus
40520 extern "C"
40521 #endif
40522 char localtime_r ();
40523 /* The GNU C library defines this for functions which it implements
40524 to always fail with ENOSYS. Some functions are actually named
40525 something starting with __ and the normal name is an alias. */
40526 #if defined __stub_localtime_r || defined __stub___localtime_r
40527 choke me
40528 #endif
40529
40530 int
40531 main ()
40532 {
40533 return localtime_r ();
40534 ;
40535 return 0;
40536 }
40537 _ACEOF
40538 rm -f conftest.$ac_objext conftest$ac_exeext
40539 if { (ac_try="$ac_link"
40540 case "(($ac_try" in
40541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40542 *) ac_try_echo=$ac_try;;
40543 esac
40544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40545 (eval "$ac_link") 2>conftest.er1
40546 ac_status=$?
40547 grep -v '^ *+' conftest.er1 >conftest.err
40548 rm -f conftest.er1
40549 cat conftest.err >&5
40550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40551 (exit $ac_status); } && {
40552 test -z "$ac_c_werror_flag" ||
40553 test ! -s conftest.err
40554 } && test -s conftest$ac_exeext &&
40555 $as_test_x conftest$ac_exeext; then
40556 ac_cv_func_localtime_r=yes
40557 else
40558 echo "$as_me: failed program was:" >&5
40559 sed 's/^/| /' conftest.$ac_ext >&5
40560
40561 ac_cv_func_localtime_r=no
40562 fi
40563
40564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40565 conftest$ac_exeext conftest.$ac_ext
40566 fi
40567 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40568 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40569 if test $ac_cv_func_localtime_r = yes; then
40570 cat >>confdefs.h <<\_ACEOF
40571 #define HAVE_LOCALTIME_R 1
40572 _ACEOF
40573
40574 fi
40575
40576 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40577 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40578 if test "${ac_cv_func_gmtime_r+set}" = set; then
40579 echo $ECHO_N "(cached) $ECHO_C" >&6
40580 else
40581 cat >conftest.$ac_ext <<_ACEOF
40582 /* confdefs.h. */
40583 _ACEOF
40584 cat confdefs.h >>conftest.$ac_ext
40585 cat >>conftest.$ac_ext <<_ACEOF
40586 /* end confdefs.h. */
40587 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40589 #define gmtime_r innocuous_gmtime_r
40590
40591 /* System header to define __stub macros and hopefully few prototypes,
40592 which can conflict with char gmtime_r (); below.
40593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40594 <limits.h> exists even on freestanding compilers. */
40595
40596 #ifdef __STDC__
40597 # include <limits.h>
40598 #else
40599 # include <assert.h>
40600 #endif
40601
40602 #undef gmtime_r
40603
40604 /* Override any GCC internal prototype to avoid an error.
40605 Use char because int might match the return type of a GCC
40606 builtin and then its argument prototype would still apply. */
40607 #ifdef __cplusplus
40608 extern "C"
40609 #endif
40610 char gmtime_r ();
40611 /* The GNU C library defines this for functions which it implements
40612 to always fail with ENOSYS. Some functions are actually named
40613 something starting with __ and the normal name is an alias. */
40614 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40615 choke me
40616 #endif
40617
40618 int
40619 main ()
40620 {
40621 return gmtime_r ();
40622 ;
40623 return 0;
40624 }
40625 _ACEOF
40626 rm -f conftest.$ac_objext conftest$ac_exeext
40627 if { (ac_try="$ac_link"
40628 case "(($ac_try" in
40629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40630 *) ac_try_echo=$ac_try;;
40631 esac
40632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40633 (eval "$ac_link") 2>conftest.er1
40634 ac_status=$?
40635 grep -v '^ *+' conftest.er1 >conftest.err
40636 rm -f conftest.er1
40637 cat conftest.err >&5
40638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40639 (exit $ac_status); } && {
40640 test -z "$ac_c_werror_flag" ||
40641 test ! -s conftest.err
40642 } && test -s conftest$ac_exeext &&
40643 $as_test_x conftest$ac_exeext; then
40644 ac_cv_func_gmtime_r=yes
40645 else
40646 echo "$as_me: failed program was:" >&5
40647 sed 's/^/| /' conftest.$ac_ext >&5
40648
40649 ac_cv_func_gmtime_r=no
40650 fi
40651
40652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40653 conftest$ac_exeext conftest.$ac_ext
40654 fi
40655 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40656 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40657 if test $ac_cv_func_gmtime_r = yes; then
40658 cat >>confdefs.h <<\_ACEOF
40659 #define HAVE_GMTIME_R 1
40660 _ACEOF
40661
40662 fi
40663
40664
40665
40666
40667 ac_ext=c
40668 ac_cpp='$CPP $CPPFLAGS'
40669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40672
40673 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40674 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40675
40676 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40677 echo $ECHO_N "(cached) $ECHO_C" >&6
40678 else
40679
40680
40681 ################################################################
40682
40683 ac_cv_func_which_gethostbyname_r=unknown
40684
40685 #
40686 # ONE ARGUMENT (sanity check)
40687 #
40688
40689 # This should fail, as there is no variant of gethostbyname_r() that takes
40690 # a single argument. If it actually compiles, then we can assume that
40691 # netdb.h is not declaring the function, and the compiler is thereby
40692 # assuming an implicit prototype. In which case, we're out of luck.
40693 #
40694 cat >conftest.$ac_ext <<_ACEOF
40695 /* confdefs.h. */
40696 _ACEOF
40697 cat confdefs.h >>conftest.$ac_ext
40698 cat >>conftest.$ac_ext <<_ACEOF
40699 /* end confdefs.h. */
40700 #include <netdb.h>
40701 int
40702 main ()
40703 {
40704
40705 char *name = "www.gnu.org";
40706 (void)gethostbyname_r(name) /* ; */
40707
40708 ;
40709 return 0;
40710 }
40711 _ACEOF
40712 rm -f conftest.$ac_objext
40713 if { (ac_try="$ac_compile"
40714 case "(($ac_try" in
40715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40716 *) ac_try_echo=$ac_try;;
40717 esac
40718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40719 (eval "$ac_compile") 2>conftest.er1
40720 ac_status=$?
40721 grep -v '^ *+' conftest.er1 >conftest.err
40722 rm -f conftest.er1
40723 cat conftest.err >&5
40724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40725 (exit $ac_status); } && {
40726 test -z "$ac_c_werror_flag" ||
40727 test ! -s conftest.err
40728 } && test -s conftest.$ac_objext; then
40729 ac_cv_func_which_gethostbyname_r=no
40730 else
40731 echo "$as_me: failed program was:" >&5
40732 sed 's/^/| /' conftest.$ac_ext >&5
40733
40734
40735 fi
40736
40737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40738
40739 #
40740 # SIX ARGUMENTS
40741 # (e.g. Linux)
40742 #
40743
40744 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40745
40746 cat >conftest.$ac_ext <<_ACEOF
40747 /* confdefs.h. */
40748 _ACEOF
40749 cat confdefs.h >>conftest.$ac_ext
40750 cat >>conftest.$ac_ext <<_ACEOF
40751 /* end confdefs.h. */
40752 #include <netdb.h>
40753 int
40754 main ()
40755 {
40756
40757 char *name = "www.gnu.org";
40758 struct hostent ret, *retp;
40759 char buf[1024];
40760 int buflen = 1024;
40761 int my_h_errno;
40762 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40763
40764 ;
40765 return 0;
40766 }
40767 _ACEOF
40768 rm -f conftest.$ac_objext
40769 if { (ac_try="$ac_compile"
40770 case "(($ac_try" in
40771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40772 *) ac_try_echo=$ac_try;;
40773 esac
40774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40775 (eval "$ac_compile") 2>conftest.er1
40776 ac_status=$?
40777 grep -v '^ *+' conftest.er1 >conftest.err
40778 rm -f conftest.er1
40779 cat conftest.err >&5
40780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781 (exit $ac_status); } && {
40782 test -z "$ac_c_werror_flag" ||
40783 test ! -s conftest.err
40784 } && test -s conftest.$ac_objext; then
40785 ac_cv_func_which_gethostbyname_r=six
40786 else
40787 echo "$as_me: failed program was:" >&5
40788 sed 's/^/| /' conftest.$ac_ext >&5
40789
40790
40791 fi
40792
40793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40794
40795 fi
40796
40797 #
40798 # FIVE ARGUMENTS
40799 # (e.g. Solaris)
40800 #
40801
40802 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40803
40804 cat >conftest.$ac_ext <<_ACEOF
40805 /* confdefs.h. */
40806 _ACEOF
40807 cat confdefs.h >>conftest.$ac_ext
40808 cat >>conftest.$ac_ext <<_ACEOF
40809 /* end confdefs.h. */
40810 #include <netdb.h>
40811 int
40812 main ()
40813 {
40814
40815 char *name = "www.gnu.org";
40816 struct hostent ret;
40817 char buf[1024];
40818 int buflen = 1024;
40819 int my_h_errno;
40820 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40821
40822 ;
40823 return 0;
40824 }
40825 _ACEOF
40826 rm -f conftest.$ac_objext
40827 if { (ac_try="$ac_compile"
40828 case "(($ac_try" in
40829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40830 *) ac_try_echo=$ac_try;;
40831 esac
40832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40833 (eval "$ac_compile") 2>conftest.er1
40834 ac_status=$?
40835 grep -v '^ *+' conftest.er1 >conftest.err
40836 rm -f conftest.er1
40837 cat conftest.err >&5
40838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40839 (exit $ac_status); } && {
40840 test -z "$ac_c_werror_flag" ||
40841 test ! -s conftest.err
40842 } && test -s conftest.$ac_objext; then
40843 ac_cv_func_which_gethostbyname_r=five
40844 else
40845 echo "$as_me: failed program was:" >&5
40846 sed 's/^/| /' conftest.$ac_ext >&5
40847
40848
40849 fi
40850
40851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40852
40853 fi
40854
40855 #
40856 # THREE ARGUMENTS
40857 # (e.g. AIX, HP-UX, Tru64)
40858 #
40859
40860 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40861
40862 cat >conftest.$ac_ext <<_ACEOF
40863 /* confdefs.h. */
40864 _ACEOF
40865 cat confdefs.h >>conftest.$ac_ext
40866 cat >>conftest.$ac_ext <<_ACEOF
40867 /* end confdefs.h. */
40868 #include <netdb.h>
40869 int
40870 main ()
40871 {
40872
40873 char *name = "www.gnu.org";
40874 struct hostent ret;
40875 struct hostent_data data;
40876 (void)gethostbyname_r(name, &ret, &data) /* ; */
40877
40878 ;
40879 return 0;
40880 }
40881 _ACEOF
40882 rm -f conftest.$ac_objext
40883 if { (ac_try="$ac_compile"
40884 case "(($ac_try" in
40885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40886 *) ac_try_echo=$ac_try;;
40887 esac
40888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40889 (eval "$ac_compile") 2>conftest.er1
40890 ac_status=$?
40891 grep -v '^ *+' conftest.er1 >conftest.err
40892 rm -f conftest.er1
40893 cat conftest.err >&5
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); } && {
40896 test -z "$ac_c_werror_flag" ||
40897 test ! -s conftest.err
40898 } && test -s conftest.$ac_objext; then
40899 ac_cv_func_which_gethostbyname_r=three
40900 else
40901 echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.$ac_ext >&5
40903
40904
40905 fi
40906
40907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40908
40909 fi
40910
40911 ################################################################
40912
40913
40914 fi
40915
40916 case "$ac_cv_func_which_gethostbyname_r" in
40917 three)
40918 { echo "$as_me:$LINENO: result: three" >&5
40919 echo "${ECHO_T}three" >&6; }
40920 cat >>confdefs.h <<\_ACEOF
40921 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40922 _ACEOF
40923
40924 ;;
40925
40926 five)
40927 { echo "$as_me:$LINENO: result: five" >&5
40928 echo "${ECHO_T}five" >&6; }
40929 cat >>confdefs.h <<\_ACEOF
40930 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40931 _ACEOF
40932
40933 ;;
40934
40935 six)
40936 { echo "$as_me:$LINENO: result: six" >&5
40937 echo "${ECHO_T}six" >&6; }
40938 cat >>confdefs.h <<\_ACEOF
40939 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40940 _ACEOF
40941
40942 ;;
40943
40944 no)
40945 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40946 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40947 ;;
40948
40949 unknown)
40950 { echo "$as_me:$LINENO: result: can't tell" >&5
40951 echo "${ECHO_T}can't tell" >&6; }
40952 ;;
40953
40954 *)
40955 { { echo "$as_me:$LINENO: error: internal error" >&5
40956 echo "$as_me: error: internal error" >&2;}
40957 { (exit 1); exit 1; }; }
40958 ;;
40959 esac
40960
40961 ac_ext=c
40962 ac_cpp='$CPP $CPPFLAGS'
40963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40966
40967
40968
40969 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40970 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40971 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40972 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40973 if test "${ac_cv_func_gethostbyname+set}" = set; then
40974 echo $ECHO_N "(cached) $ECHO_C" >&6
40975 else
40976 cat >conftest.$ac_ext <<_ACEOF
40977 /* confdefs.h. */
40978 _ACEOF
40979 cat confdefs.h >>conftest.$ac_ext
40980 cat >>conftest.$ac_ext <<_ACEOF
40981 /* end confdefs.h. */
40982 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40984 #define gethostbyname innocuous_gethostbyname
40985
40986 /* System header to define __stub macros and hopefully few prototypes,
40987 which can conflict with char gethostbyname (); below.
40988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40989 <limits.h> exists even on freestanding compilers. */
40990
40991 #ifdef __STDC__
40992 # include <limits.h>
40993 #else
40994 # include <assert.h>
40995 #endif
40996
40997 #undef gethostbyname
40998
40999 /* Override any GCC internal prototype to avoid an error.
41000 Use char because int might match the return type of a GCC
41001 builtin and then its argument prototype would still apply. */
41002 #ifdef __cplusplus
41003 extern "C"
41004 #endif
41005 char gethostbyname ();
41006 /* The GNU C library defines this for functions which it implements
41007 to always fail with ENOSYS. Some functions are actually named
41008 something starting with __ and the normal name is an alias. */
41009 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41010 choke me
41011 #endif
41012
41013 int
41014 main ()
41015 {
41016 return gethostbyname ();
41017 ;
41018 return 0;
41019 }
41020 _ACEOF
41021 rm -f conftest.$ac_objext conftest$ac_exeext
41022 if { (ac_try="$ac_link"
41023 case "(($ac_try" in
41024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41025 *) ac_try_echo=$ac_try;;
41026 esac
41027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41028 (eval "$ac_link") 2>conftest.er1
41029 ac_status=$?
41030 grep -v '^ *+' conftest.er1 >conftest.err
41031 rm -f conftest.er1
41032 cat conftest.err >&5
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); } && {
41035 test -z "$ac_c_werror_flag" ||
41036 test ! -s conftest.err
41037 } && test -s conftest$ac_exeext &&
41038 $as_test_x conftest$ac_exeext; then
41039 ac_cv_func_gethostbyname=yes
41040 else
41041 echo "$as_me: failed program was:" >&5
41042 sed 's/^/| /' conftest.$ac_ext >&5
41043
41044 ac_cv_func_gethostbyname=no
41045 fi
41046
41047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41048 conftest$ac_exeext conftest.$ac_ext
41049 fi
41050 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41051 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41052 if test $ac_cv_func_gethostbyname = yes; then
41053 cat >>confdefs.h <<\_ACEOF
41054 #define HAVE_GETHOSTBYNAME 1
41055 _ACEOF
41056
41057 fi
41058
41059 fi
41060
41061 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41062 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41063 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41064 echo $ECHO_N "(cached) $ECHO_C" >&6
41065 else
41066
41067 ac_ext=cpp
41068 ac_cpp='$CXXCPP $CPPFLAGS'
41069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41072
41073
41074 cat >conftest.$ac_ext <<_ACEOF
41075 /* confdefs.h. */
41076 _ACEOF
41077 cat confdefs.h >>conftest.$ac_ext
41078 cat >>conftest.$ac_ext <<_ACEOF
41079 /* end confdefs.h. */
41080 #include <netdb.h>
41081 int
41082 main ()
41083 {
41084
41085 char *name;
41086 char *proto;
41087 struct servent *se, *res;
41088 char buffer[2048];
41089 int buflen = 2048;
41090 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41091
41092 ;
41093 return 0;
41094 }
41095 _ACEOF
41096 rm -f conftest.$ac_objext
41097 if { (ac_try="$ac_compile"
41098 case "(($ac_try" in
41099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41100 *) ac_try_echo=$ac_try;;
41101 esac
41102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41103 (eval "$ac_compile") 2>conftest.er1
41104 ac_status=$?
41105 grep -v '^ *+' conftest.er1 >conftest.err
41106 rm -f conftest.er1
41107 cat conftest.err >&5
41108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41109 (exit $ac_status); } && {
41110 test -z "$ac_cxx_werror_flag" ||
41111 test ! -s conftest.err
41112 } && test -s conftest.$ac_objext; then
41113 ac_cv_func_which_getservbyname_r=six
41114 else
41115 echo "$as_me: failed program was:" >&5
41116 sed 's/^/| /' conftest.$ac_ext >&5
41117
41118
41119 cat >conftest.$ac_ext <<_ACEOF
41120 /* confdefs.h. */
41121 _ACEOF
41122 cat confdefs.h >>conftest.$ac_ext
41123 cat >>conftest.$ac_ext <<_ACEOF
41124 /* end confdefs.h. */
41125 #include <netdb.h>
41126 int
41127 main ()
41128 {
41129
41130 char *name;
41131 char *proto;
41132 struct servent *se;
41133 char buffer[2048];
41134 int buflen = 2048;
41135 (void) getservbyname_r(name, proto, se, buffer, buflen)
41136
41137 ;
41138 return 0;
41139 }
41140 _ACEOF
41141 rm -f conftest.$ac_objext
41142 if { (ac_try="$ac_compile"
41143 case "(($ac_try" in
41144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41145 *) ac_try_echo=$ac_try;;
41146 esac
41147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41148 (eval "$ac_compile") 2>conftest.er1
41149 ac_status=$?
41150 grep -v '^ *+' conftest.er1 >conftest.err
41151 rm -f conftest.er1
41152 cat conftest.err >&5
41153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41154 (exit $ac_status); } && {
41155 test -z "$ac_cxx_werror_flag" ||
41156 test ! -s conftest.err
41157 } && test -s conftest.$ac_objext; then
41158 ac_cv_func_which_getservbyname_r=five
41159 else
41160 echo "$as_me: failed program was:" >&5
41161 sed 's/^/| /' conftest.$ac_ext >&5
41162
41163
41164 cat >conftest.$ac_ext <<_ACEOF
41165 /* confdefs.h. */
41166 _ACEOF
41167 cat confdefs.h >>conftest.$ac_ext
41168 cat >>conftest.$ac_ext <<_ACEOF
41169 /* end confdefs.h. */
41170 #include <netdb.h>
41171 int
41172 main ()
41173 {
41174
41175 char *name;
41176 char *proto;
41177 struct servent *se;
41178 struct servent_data data;
41179 (void) getservbyname_r(name, proto, se, &data);
41180
41181 ;
41182 return 0;
41183 }
41184 _ACEOF
41185 rm -f conftest.$ac_objext
41186 if { (ac_try="$ac_compile"
41187 case "(($ac_try" in
41188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41189 *) ac_try_echo=$ac_try;;
41190 esac
41191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41192 (eval "$ac_compile") 2>conftest.er1
41193 ac_status=$?
41194 grep -v '^ *+' conftest.er1 >conftest.err
41195 rm -f conftest.er1
41196 cat conftest.err >&5
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); } && {
41199 test -z "$ac_cxx_werror_flag" ||
41200 test ! -s conftest.err
41201 } && test -s conftest.$ac_objext; then
41202 ac_cv_func_which_getservbyname_r=four
41203 else
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.$ac_ext >&5
41206
41207 ac_cv_func_which_getservbyname_r=no
41208
41209 fi
41210
41211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41212
41213
41214 fi
41215
41216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41217
41218
41219 fi
41220
41221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41222 ac_ext=c
41223 ac_cpp='$CPP $CPPFLAGS'
41224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41227
41228
41229
41230 fi
41231 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41232 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41233
41234 if test $ac_cv_func_which_getservbyname_r = six; then
41235 cat >>confdefs.h <<\_ACEOF
41236 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41237 _ACEOF
41238
41239 elif test $ac_cv_func_which_getservbyname_r = five; then
41240 cat >>confdefs.h <<\_ACEOF
41241 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41242 _ACEOF
41243
41244 elif test $ac_cv_func_which_getservbyname_r = four; then
41245 cat >>confdefs.h <<\_ACEOF
41246 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41247 _ACEOF
41248
41249 fi
41250
41251
41252 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41253 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41254
41255 for ac_func in getservbyname
41256 do
41257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41258 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41260 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41261 echo $ECHO_N "(cached) $ECHO_C" >&6
41262 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41271 #define $ac_func innocuous_$ac_func
41272
41273 /* System header to define __stub macros and hopefully few prototypes,
41274 which can conflict with char $ac_func (); below.
41275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41276 <limits.h> exists even on freestanding compilers. */
41277
41278 #ifdef __STDC__
41279 # include <limits.h>
41280 #else
41281 # include <assert.h>
41282 #endif
41283
41284 #undef $ac_func
41285
41286 /* Override any GCC internal prototype to avoid an error.
41287 Use char because int might match the return type of a GCC
41288 builtin and then its argument prototype would still apply. */
41289 #ifdef __cplusplus
41290 extern "C"
41291 #endif
41292 char $ac_func ();
41293 /* The GNU C library defines this for functions which it implements
41294 to always fail with ENOSYS. Some functions are actually named
41295 something starting with __ and the normal name is an alias. */
41296 #if defined __stub_$ac_func || defined __stub___$ac_func
41297 choke me
41298 #endif
41299
41300 int
41301 main ()
41302 {
41303 return $ac_func ();
41304 ;
41305 return 0;
41306 }
41307 _ACEOF
41308 rm -f conftest.$ac_objext conftest$ac_exeext
41309 if { (ac_try="$ac_link"
41310 case "(($ac_try" in
41311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41312 *) ac_try_echo=$ac_try;;
41313 esac
41314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41315 (eval "$ac_link") 2>conftest.er1
41316 ac_status=$?
41317 grep -v '^ *+' conftest.er1 >conftest.err
41318 rm -f conftest.er1
41319 cat conftest.err >&5
41320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41321 (exit $ac_status); } && {
41322 test -z "$ac_c_werror_flag" ||
41323 test ! -s conftest.err
41324 } && test -s conftest$ac_exeext &&
41325 $as_test_x conftest$ac_exeext; then
41326 eval "$as_ac_var=yes"
41327 else
41328 echo "$as_me: failed program was:" >&5
41329 sed 's/^/| /' conftest.$ac_ext >&5
41330
41331 eval "$as_ac_var=no"
41332 fi
41333
41334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41335 conftest$ac_exeext conftest.$ac_ext
41336 fi
41337 ac_res=`eval echo '${'$as_ac_var'}'`
41338 { echo "$as_me:$LINENO: result: $ac_res" >&5
41339 echo "${ECHO_T}$ac_res" >&6; }
41340 if test `eval echo '${'$as_ac_var'}'` = yes; then
41341 cat >>confdefs.h <<_ACEOF
41342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41343 _ACEOF
41344 cat >>confdefs.h <<\_ACEOF
41345 #define HAVE_GETSERVBYNAME 1
41346 _ACEOF
41347
41348 fi
41349 done
41350
41351 fi
41352
41353 if test "$wxUSE_THREADS" = "yes"; then
41354 cat >>confdefs.h <<\_ACEOF
41355 #define wxUSE_THREADS 1
41356 _ACEOF
41357
41358
41359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41360 else
41361 if test "$wx_cv_func_strtok_r" = "yes"; then
41362 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41363 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41364 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41365 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41366 { echo "$as_me:$LINENO: result: yes" >&5
41367 echo "${ECHO_T}yes" >&6; }
41368 else
41369 { echo "$as_me:$LINENO: result: no" >&5
41370 echo "${ECHO_T}no" >&6; }
41371 fi
41372 fi
41373 fi
41374
41375 if test "$WXGTK2" = 1 ; then
41376 cat >>confdefs.h <<_ACEOF
41377 #define __WXGTK20__ $WXGTK2
41378 _ACEOF
41379
41380 WXGTK12=1
41381 fi
41382
41383 if test "$WXGTK12" = 1 ; then
41384 cat >>confdefs.h <<_ACEOF
41385 #define __WXGTK12__ $WXGTK12
41386 _ACEOF
41387
41388 fi
41389
41390 if test "$WXGTK127" = 1 ; then
41391 cat >>confdefs.h <<_ACEOF
41392 #define __WXGTK127__ $WXGTK127
41393 _ACEOF
41394
41395 fi
41396
41397 if test "$WXGPE" = 1 ; then
41398 cat >>confdefs.h <<_ACEOF
41399 #define __WXGPE__ $WXGPE
41400 _ACEOF
41401
41402 fi
41403
41404 DEBUG_CFLAGS=
41405 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41406 DEBUG_CFLAGS="-g"
41407 fi
41408
41409 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41410 wxUSE_DEBUG_INFO=yes
41411 if test "$GCC" = yes; then
41412 DEBUG_CFLAGS="-ggdb"
41413 fi
41414 fi
41415
41416 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41417 cat >>confdefs.h <<\_ACEOF
41418 #define WXDEBUG 1
41419 _ACEOF
41420
41421 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41422 else
41423 if test "$wxUSE_GTK" = 1 ; then
41424 if test "x$wxGTK_VERSION" = "x1" ; then
41425 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41426 fi
41427 fi
41428 fi
41429
41430 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41431 cat >>confdefs.h <<\_ACEOF
41432 #define wxUSE_MEMORY_TRACING 1
41433 _ACEOF
41434
41435 cat >>confdefs.h <<\_ACEOF
41436 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41437 _ACEOF
41438
41439 cat >>confdefs.h <<\_ACEOF
41440 #define wxUSE_DEBUG_NEW_ALWAYS 1
41441 _ACEOF
41442
41443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41444 fi
41445
41446 if test "$wxUSE_DMALLOC" = "yes" ; then
41447 DMALLOC_LIBS="-ldmallocthcxx"
41448 fi
41449
41450 PROFILE_FLAGS=
41451 if test "$wxUSE_PROFILE" = "yes" ; then
41452 PROFILE_FLAGS=" -pg"
41453 fi
41454
41455 if test "$GCC" = "yes" ; then
41456 if test "$wxUSE_NO_RTTI" = "yes" ; then
41457 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41458 fi
41459 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41460 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41461 fi
41462 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41463 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41464 fi
41465
41466 case "${host}" in
41467 powerpc*-*-aix* )
41468 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41469 ;;
41470 *-hppa* )
41471 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41472 ;;
41473 esac
41474 fi
41475
41476 OPTIMISE_CFLAGS=
41477 if test "$wxUSE_OPTIMISE" = "no" ; then
41478 if test "$GCC" = yes ; then
41479 OPTIMISE_CFLAGS="-O0"
41480 fi
41481 else
41482 if test "$GCC" = yes ; then
41483 case "${host}" in
41484 *-pc-os2_emx | *-pc-os2-emx )
41485 OPTIMISE_CFLAGS="-O2"
41486 ;;
41487 *)
41488 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41489 ;;
41490 esac
41491 else
41492 OPTIMISE_CFLAGS="-O"
41493 fi
41494 fi
41495
41496
41497 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41498 cat >>confdefs.h <<\_ACEOF
41499 #define WXWIN_COMPATIBILITY_2_6 1
41500 _ACEOF
41501
41502
41503 WXWIN_COMPATIBILITY_2_8="yes"
41504 fi
41505
41506 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41507 cat >>confdefs.h <<\_ACEOF
41508 #define WXWIN_COMPATIBILITY_2_8 1
41509 _ACEOF
41510
41511 fi
41512
41513
41514 if test "$wxUSE_GUI" = "yes"; then
41515 cat >>confdefs.h <<\_ACEOF
41516 #define wxUSE_GUI 1
41517 _ACEOF
41518
41519
41520 fi
41521
41522
41523 if test "$wxUSE_UNIX" = "yes"; then
41524 cat >>confdefs.h <<\_ACEOF
41525 #define wxUSE_UNIX 1
41526 _ACEOF
41527
41528 fi
41529
41530
41531 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41532
41533 HAVE_DL_FUNCS=0
41534 HAVE_SHL_FUNCS=0
41535 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41536 if test "$USE_DOS" = 1; then
41537 HAVE_DL_FUNCS=0
41538 else
41539
41540 for ac_func in dlopen
41541 do
41542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41543 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41545 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41546 echo $ECHO_N "(cached) $ECHO_C" >&6
41547 else
41548 cat >conftest.$ac_ext <<_ACEOF
41549 /* confdefs.h. */
41550 _ACEOF
41551 cat confdefs.h >>conftest.$ac_ext
41552 cat >>conftest.$ac_ext <<_ACEOF
41553 /* end confdefs.h. */
41554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41556 #define $ac_func innocuous_$ac_func
41557
41558 /* System header to define __stub macros and hopefully few prototypes,
41559 which can conflict with char $ac_func (); below.
41560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41561 <limits.h> exists even on freestanding compilers. */
41562
41563 #ifdef __STDC__
41564 # include <limits.h>
41565 #else
41566 # include <assert.h>
41567 #endif
41568
41569 #undef $ac_func
41570
41571 /* Override any GCC internal prototype to avoid an error.
41572 Use char because int might match the return type of a GCC
41573 builtin and then its argument prototype would still apply. */
41574 #ifdef __cplusplus
41575 extern "C"
41576 #endif
41577 char $ac_func ();
41578 /* The GNU C library defines this for functions which it implements
41579 to always fail with ENOSYS. Some functions are actually named
41580 something starting with __ and the normal name is an alias. */
41581 #if defined __stub_$ac_func || defined __stub___$ac_func
41582 choke me
41583 #endif
41584
41585 int
41586 main ()
41587 {
41588 return $ac_func ();
41589 ;
41590 return 0;
41591 }
41592 _ACEOF
41593 rm -f conftest.$ac_objext conftest$ac_exeext
41594 if { (ac_try="$ac_link"
41595 case "(($ac_try" in
41596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41597 *) ac_try_echo=$ac_try;;
41598 esac
41599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41600 (eval "$ac_link") 2>conftest.er1
41601 ac_status=$?
41602 grep -v '^ *+' conftest.er1 >conftest.err
41603 rm -f conftest.er1
41604 cat conftest.err >&5
41605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41606 (exit $ac_status); } && {
41607 test -z "$ac_c_werror_flag" ||
41608 test ! -s conftest.err
41609 } && test -s conftest$ac_exeext &&
41610 $as_test_x conftest$ac_exeext; then
41611 eval "$as_ac_var=yes"
41612 else
41613 echo "$as_me: failed program was:" >&5
41614 sed 's/^/| /' conftest.$ac_ext >&5
41615
41616 eval "$as_ac_var=no"
41617 fi
41618
41619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41620 conftest$ac_exeext conftest.$ac_ext
41621 fi
41622 ac_res=`eval echo '${'$as_ac_var'}'`
41623 { echo "$as_me:$LINENO: result: $ac_res" >&5
41624 echo "${ECHO_T}$ac_res" >&6; }
41625 if test `eval echo '${'$as_ac_var'}'` = yes; then
41626 cat >>confdefs.h <<_ACEOF
41627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41628 _ACEOF
41629
41630 cat >>confdefs.h <<\_ACEOF
41631 #define HAVE_DLOPEN 1
41632 _ACEOF
41633
41634 HAVE_DL_FUNCS=1
41635
41636 else
41637
41638 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41639 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41640 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41641 echo $ECHO_N "(cached) $ECHO_C" >&6
41642 else
41643 ac_check_lib_save_LIBS=$LIBS
41644 LIBS="-ldl $LIBS"
41645 cat >conftest.$ac_ext <<_ACEOF
41646 /* confdefs.h. */
41647 _ACEOF
41648 cat confdefs.h >>conftest.$ac_ext
41649 cat >>conftest.$ac_ext <<_ACEOF
41650 /* end confdefs.h. */
41651
41652 /* Override any GCC internal prototype to avoid an error.
41653 Use char because int might match the return type of a GCC
41654 builtin and then its argument prototype would still apply. */
41655 #ifdef __cplusplus
41656 extern "C"
41657 #endif
41658 char dlopen ();
41659 int
41660 main ()
41661 {
41662 return dlopen ();
41663 ;
41664 return 0;
41665 }
41666 _ACEOF
41667 rm -f conftest.$ac_objext conftest$ac_exeext
41668 if { (ac_try="$ac_link"
41669 case "(($ac_try" in
41670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41671 *) ac_try_echo=$ac_try;;
41672 esac
41673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41674 (eval "$ac_link") 2>conftest.er1
41675 ac_status=$?
41676 grep -v '^ *+' conftest.er1 >conftest.err
41677 rm -f conftest.er1
41678 cat conftest.err >&5
41679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41680 (exit $ac_status); } && {
41681 test -z "$ac_c_werror_flag" ||
41682 test ! -s conftest.err
41683 } && test -s conftest$ac_exeext &&
41684 $as_test_x conftest$ac_exeext; then
41685 ac_cv_lib_dl_dlopen=yes
41686 else
41687 echo "$as_me: failed program was:" >&5
41688 sed 's/^/| /' conftest.$ac_ext >&5
41689
41690 ac_cv_lib_dl_dlopen=no
41691 fi
41692
41693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41694 conftest$ac_exeext conftest.$ac_ext
41695 LIBS=$ac_check_lib_save_LIBS
41696 fi
41697 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41698 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41699 if test $ac_cv_lib_dl_dlopen = yes; then
41700
41701 cat >>confdefs.h <<\_ACEOF
41702 #define HAVE_DLOPEN 1
41703 _ACEOF
41704
41705 HAVE_DL_FUNCS=1
41706 DL_LINK=" -ldl$DL_LINK"
41707
41708 else
41709
41710
41711 for ac_func in shl_load
41712 do
41713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41714 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41716 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41717 echo $ECHO_N "(cached) $ECHO_C" >&6
41718 else
41719 cat >conftest.$ac_ext <<_ACEOF
41720 /* confdefs.h. */
41721 _ACEOF
41722 cat confdefs.h >>conftest.$ac_ext
41723 cat >>conftest.$ac_ext <<_ACEOF
41724 /* end confdefs.h. */
41725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41727 #define $ac_func innocuous_$ac_func
41728
41729 /* System header to define __stub macros and hopefully few prototypes,
41730 which can conflict with char $ac_func (); below.
41731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41732 <limits.h> exists even on freestanding compilers. */
41733
41734 #ifdef __STDC__
41735 # include <limits.h>
41736 #else
41737 # include <assert.h>
41738 #endif
41739
41740 #undef $ac_func
41741
41742 /* Override any GCC internal prototype to avoid an error.
41743 Use char because int might match the return type of a GCC
41744 builtin and then its argument prototype would still apply. */
41745 #ifdef __cplusplus
41746 extern "C"
41747 #endif
41748 char $ac_func ();
41749 /* The GNU C library defines this for functions which it implements
41750 to always fail with ENOSYS. Some functions are actually named
41751 something starting with __ and the normal name is an alias. */
41752 #if defined __stub_$ac_func || defined __stub___$ac_func
41753 choke me
41754 #endif
41755
41756 int
41757 main ()
41758 {
41759 return $ac_func ();
41760 ;
41761 return 0;
41762 }
41763 _ACEOF
41764 rm -f conftest.$ac_objext conftest$ac_exeext
41765 if { (ac_try="$ac_link"
41766 case "(($ac_try" in
41767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41768 *) ac_try_echo=$ac_try;;
41769 esac
41770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41771 (eval "$ac_link") 2>conftest.er1
41772 ac_status=$?
41773 grep -v '^ *+' conftest.er1 >conftest.err
41774 rm -f conftest.er1
41775 cat conftest.err >&5
41776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41777 (exit $ac_status); } && {
41778 test -z "$ac_c_werror_flag" ||
41779 test ! -s conftest.err
41780 } && test -s conftest$ac_exeext &&
41781 $as_test_x conftest$ac_exeext; then
41782 eval "$as_ac_var=yes"
41783 else
41784 echo "$as_me: failed program was:" >&5
41785 sed 's/^/| /' conftest.$ac_ext >&5
41786
41787 eval "$as_ac_var=no"
41788 fi
41789
41790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41791 conftest$ac_exeext conftest.$ac_ext
41792 fi
41793 ac_res=`eval echo '${'$as_ac_var'}'`
41794 { echo "$as_me:$LINENO: result: $ac_res" >&5
41795 echo "${ECHO_T}$ac_res" >&6; }
41796 if test `eval echo '${'$as_ac_var'}'` = yes; then
41797 cat >>confdefs.h <<_ACEOF
41798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41799 _ACEOF
41800
41801 cat >>confdefs.h <<\_ACEOF
41802 #define HAVE_SHL_LOAD 1
41803 _ACEOF
41804
41805 HAVE_SHL_FUNCS=1
41806
41807 else
41808
41809 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41810 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41811 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41812 echo $ECHO_N "(cached) $ECHO_C" >&6
41813 else
41814 ac_check_lib_save_LIBS=$LIBS
41815 LIBS="-lshl_load $LIBS"
41816 cat >conftest.$ac_ext <<_ACEOF
41817 /* confdefs.h. */
41818 _ACEOF
41819 cat confdefs.h >>conftest.$ac_ext
41820 cat >>conftest.$ac_ext <<_ACEOF
41821 /* end confdefs.h. */
41822
41823 /* Override any GCC internal prototype to avoid an error.
41824 Use char because int might match the return type of a GCC
41825 builtin and then its argument prototype would still apply. */
41826 #ifdef __cplusplus
41827 extern "C"
41828 #endif
41829 char dld ();
41830 int
41831 main ()
41832 {
41833 return dld ();
41834 ;
41835 return 0;
41836 }
41837 _ACEOF
41838 rm -f conftest.$ac_objext conftest$ac_exeext
41839 if { (ac_try="$ac_link"
41840 case "(($ac_try" in
41841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41842 *) ac_try_echo=$ac_try;;
41843 esac
41844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41845 (eval "$ac_link") 2>conftest.er1
41846 ac_status=$?
41847 grep -v '^ *+' conftest.er1 >conftest.err
41848 rm -f conftest.er1
41849 cat conftest.err >&5
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); } && {
41852 test -z "$ac_c_werror_flag" ||
41853 test ! -s conftest.err
41854 } && test -s conftest$ac_exeext &&
41855 $as_test_x conftest$ac_exeext; then
41856 ac_cv_lib_shl_load_dld=yes
41857 else
41858 echo "$as_me: failed program was:" >&5
41859 sed 's/^/| /' conftest.$ac_ext >&5
41860
41861 ac_cv_lib_shl_load_dld=no
41862 fi
41863
41864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41865 conftest$ac_exeext conftest.$ac_ext
41866 LIBS=$ac_check_lib_save_LIBS
41867 fi
41868 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41869 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41870 if test $ac_cv_lib_shl_load_dld = yes; then
41871
41872 HAVE_SHL_FUNCS=1
41873 DL_LINK=" -ldld$DL_LINK"
41874
41875 fi
41876
41877
41878 fi
41879 done
41880
41881
41882 fi
41883
41884
41885 fi
41886 done
41887
41888
41889 if test "$HAVE_DL_FUNCS" = 1; then
41890
41891 for ac_func in dlerror
41892 do
41893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41894 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41896 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41897 echo $ECHO_N "(cached) $ECHO_C" >&6
41898 else
41899 cat >conftest.$ac_ext <<_ACEOF
41900 /* confdefs.h. */
41901 _ACEOF
41902 cat confdefs.h >>conftest.$ac_ext
41903 cat >>conftest.$ac_ext <<_ACEOF
41904 /* end confdefs.h. */
41905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41907 #define $ac_func innocuous_$ac_func
41908
41909 /* System header to define __stub macros and hopefully few prototypes,
41910 which can conflict with char $ac_func (); below.
41911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41912 <limits.h> exists even on freestanding compilers. */
41913
41914 #ifdef __STDC__
41915 # include <limits.h>
41916 #else
41917 # include <assert.h>
41918 #endif
41919
41920 #undef $ac_func
41921
41922 /* Override any GCC internal prototype to avoid an error.
41923 Use char because int might match the return type of a GCC
41924 builtin and then its argument prototype would still apply. */
41925 #ifdef __cplusplus
41926 extern "C"
41927 #endif
41928 char $ac_func ();
41929 /* The GNU C library defines this for functions which it implements
41930 to always fail with ENOSYS. Some functions are actually named
41931 something starting with __ and the normal name is an alias. */
41932 #if defined __stub_$ac_func || defined __stub___$ac_func
41933 choke me
41934 #endif
41935
41936 int
41937 main ()
41938 {
41939 return $ac_func ();
41940 ;
41941 return 0;
41942 }
41943 _ACEOF
41944 rm -f conftest.$ac_objext conftest$ac_exeext
41945 if { (ac_try="$ac_link"
41946 case "(($ac_try" in
41947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41948 *) ac_try_echo=$ac_try;;
41949 esac
41950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41951 (eval "$ac_link") 2>conftest.er1
41952 ac_status=$?
41953 grep -v '^ *+' conftest.er1 >conftest.err
41954 rm -f conftest.er1
41955 cat conftest.err >&5
41956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41957 (exit $ac_status); } && {
41958 test -z "$ac_c_werror_flag" ||
41959 test ! -s conftest.err
41960 } && test -s conftest$ac_exeext &&
41961 $as_test_x conftest$ac_exeext; then
41962 eval "$as_ac_var=yes"
41963 else
41964 echo "$as_me: failed program was:" >&5
41965 sed 's/^/| /' conftest.$ac_ext >&5
41966
41967 eval "$as_ac_var=no"
41968 fi
41969
41970 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41971 conftest$ac_exeext conftest.$ac_ext
41972 fi
41973 ac_res=`eval echo '${'$as_ac_var'}'`
41974 { echo "$as_me:$LINENO: result: $ac_res" >&5
41975 echo "${ECHO_T}$ac_res" >&6; }
41976 if test `eval echo '${'$as_ac_var'}'` = yes; then
41977 cat >>confdefs.h <<_ACEOF
41978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41979 _ACEOF
41980 cat >>confdefs.h <<\_ACEOF
41981 #define HAVE_DLERROR 1
41982 _ACEOF
41983
41984 else
41985
41986 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41987 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41988 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41989 echo $ECHO_N "(cached) $ECHO_C" >&6
41990 else
41991 ac_check_lib_save_LIBS=$LIBS
41992 LIBS="-ldl $LIBS"
41993 cat >conftest.$ac_ext <<_ACEOF
41994 /* confdefs.h. */
41995 _ACEOF
41996 cat confdefs.h >>conftest.$ac_ext
41997 cat >>conftest.$ac_ext <<_ACEOF
41998 /* end confdefs.h. */
41999
42000 /* Override any GCC internal prototype to avoid an error.
42001 Use char because int might match the return type of a GCC
42002 builtin and then its argument prototype would still apply. */
42003 #ifdef __cplusplus
42004 extern "C"
42005 #endif
42006 char dlerror ();
42007 int
42008 main ()
42009 {
42010 return dlerror ();
42011 ;
42012 return 0;
42013 }
42014 _ACEOF
42015 rm -f conftest.$ac_objext conftest$ac_exeext
42016 if { (ac_try="$ac_link"
42017 case "(($ac_try" in
42018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42019 *) ac_try_echo=$ac_try;;
42020 esac
42021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42022 (eval "$ac_link") 2>conftest.er1
42023 ac_status=$?
42024 grep -v '^ *+' conftest.er1 >conftest.err
42025 rm -f conftest.er1
42026 cat conftest.err >&5
42027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42028 (exit $ac_status); } && {
42029 test -z "$ac_c_werror_flag" ||
42030 test ! -s conftest.err
42031 } && test -s conftest$ac_exeext &&
42032 $as_test_x conftest$ac_exeext; then
42033 ac_cv_lib_dl_dlerror=yes
42034 else
42035 echo "$as_me: failed program was:" >&5
42036 sed 's/^/| /' conftest.$ac_ext >&5
42037
42038 ac_cv_lib_dl_dlerror=no
42039 fi
42040
42041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42042 conftest$ac_exeext conftest.$ac_ext
42043 LIBS=$ac_check_lib_save_LIBS
42044 fi
42045 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42046 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42047 if test $ac_cv_lib_dl_dlerror = yes; then
42048 cat >>confdefs.h <<\_ACEOF
42049 #define HAVE_DLERROR 1
42050 _ACEOF
42051
42052 fi
42053
42054
42055
42056 fi
42057 done
42058
42059 fi
42060 fi
42061
42062 if test "$USE_DARWIN" = 1; then
42063 HAVE_DL_FUNCS=1
42064 fi
42065
42066 if test "$HAVE_DL_FUNCS" = 0; then
42067 if test "$HAVE_SHL_FUNCS" = 0; then
42068 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42069 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42070 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42071 wxUSE_DYNAMIC_LOADER=no
42072 wxUSE_DYNLIB_CLASS=no
42073 else
42074 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42075 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42076 fi
42077 fi
42078 fi
42079 fi
42080 fi
42081
42082 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42083 cat >>confdefs.h <<\_ACEOF
42084 #define wxUSE_DYNAMIC_LOADER 1
42085 _ACEOF
42086
42087 fi
42088 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42089 cat >>confdefs.h <<\_ACEOF
42090 #define wxUSE_DYNLIB_CLASS 1
42091 _ACEOF
42092
42093 fi
42094
42095
42096
42097 if test "$wxUSE_PLUGINS" = "yes" ; then
42098 if test "$wxUSE_SHARED" = "no" ; then
42099 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42100 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42101 wxUSE_PLUGINS=no
42102 fi
42103 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42104 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42105 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42106 wxUSE_PLUGINS=no
42107 fi
42108 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42109 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42110 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42111 wxUSE_PLUGINS=no
42112 fi
42113 if test "$wxUSE_PLUGINS" = "yes" ; then
42114 cat >>confdefs.h <<\_ACEOF
42115 #define wxUSE_PLUGINS 1
42116 _ACEOF
42117
42118 fi
42119 fi
42120
42121
42122 if test "$wxUSE_STL" = "yes"; then
42123 cat >>confdefs.h <<\_ACEOF
42124 #define wxUSE_STL 1
42125 _ACEOF
42126
42127 fi
42128
42129 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42130 cat >>confdefs.h <<\_ACEOF
42131 #define wxUSE_EXTENDED_RTTI 1
42132 _ACEOF
42133
42134 fi
42135
42136 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42137 cat >>confdefs.h <<\_ACEOF
42138 #define wxUSE_APPLE_IEEE 1
42139 _ACEOF
42140
42141 fi
42142
42143 if test "$wxUSE_TIMER" = "yes"; then
42144 cat >>confdefs.h <<\_ACEOF
42145 #define wxUSE_TIMER 1
42146 _ACEOF
42147
42148 fi
42149
42150 if test "$USE_UNIX" = 1 ; then
42151 if test "$wxUSE_MGL" != 1; then
42152 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42153 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42154 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42155 echo $ECHO_N "(cached) $ECHO_C" >&6
42156 else
42157
42158 cat >conftest.$ac_ext <<_ACEOF
42159 /* confdefs.h. */
42160 _ACEOF
42161 cat confdefs.h >>conftest.$ac_ext
42162 cat >>conftest.$ac_ext <<_ACEOF
42163 /* end confdefs.h. */
42164
42165 #include <sys/ioctl.h>
42166 #include <sys/soundcard.h>
42167
42168 int
42169 main ()
42170 {
42171
42172 ioctl(0, SNDCTL_DSP_SPEED, 0);
42173
42174 ;
42175 return 0;
42176 }
42177 _ACEOF
42178 rm -f conftest.$ac_objext conftest$ac_exeext
42179 if { (ac_try="$ac_link"
42180 case "(($ac_try" in
42181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42182 *) ac_try_echo=$ac_try;;
42183 esac
42184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42185 (eval "$ac_link") 2>conftest.er1
42186 ac_status=$?
42187 grep -v '^ *+' conftest.er1 >conftest.err
42188 rm -f conftest.er1
42189 cat conftest.err >&5
42190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42191 (exit $ac_status); } && {
42192 test -z "$ac_c_werror_flag" ||
42193 test ! -s conftest.err
42194 } && test -s conftest$ac_exeext &&
42195 $as_test_x conftest$ac_exeext; then
42196 ac_cv_header_sys_soundcard=yes
42197 else
42198 echo "$as_me: failed program was:" >&5
42199 sed 's/^/| /' conftest.$ac_ext >&5
42200
42201
42202 saveLibs="$LIBS"
42203 LIBS="$saveLibs -lossaudio"
42204 cat >conftest.$ac_ext <<_ACEOF
42205 /* confdefs.h. */
42206 _ACEOF
42207 cat confdefs.h >>conftest.$ac_ext
42208 cat >>conftest.$ac_ext <<_ACEOF
42209 /* end confdefs.h. */
42210
42211 #include <sys/ioctl.h>
42212 #include <sys/soundcard.h>
42213
42214 int
42215 main ()
42216 {
42217
42218 ioctl(0, SNDCTL_DSP_SPEED, 0);
42219
42220 ;
42221 return 0;
42222 }
42223 _ACEOF
42224 rm -f conftest.$ac_objext conftest$ac_exeext
42225 if { (ac_try="$ac_link"
42226 case "(($ac_try" in
42227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42228 *) ac_try_echo=$ac_try;;
42229 esac
42230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42231 (eval "$ac_link") 2>conftest.er1
42232 ac_status=$?
42233 grep -v '^ *+' conftest.er1 >conftest.err
42234 rm -f conftest.er1
42235 cat conftest.err >&5
42236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237 (exit $ac_status); } && {
42238 test -z "$ac_c_werror_flag" ||
42239 test ! -s conftest.err
42240 } && test -s conftest$ac_exeext &&
42241 $as_test_x conftest$ac_exeext; then
42242 ac_cv_header_sys_soundcard=yes
42243 else
42244 echo "$as_me: failed program was:" >&5
42245 sed 's/^/| /' conftest.$ac_ext >&5
42246
42247
42248 LIBS="$saveLibs"
42249 ac_cv_header_sys_soundcard=no
42250
42251
42252 fi
42253
42254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42255 conftest$ac_exeext conftest.$ac_ext
42256
42257
42258 fi
42259
42260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42261 conftest$ac_exeext conftest.$ac_ext
42262
42263 fi
42264 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42265 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42266 fi
42267
42268 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42269 cat >>confdefs.h <<\_ACEOF
42270 #define HAVE_SYS_SOUNDCARD_H 1
42271 _ACEOF
42272
42273 fi
42274 fi
42275
42276 WITH_PLUGIN_SDL=0
42277 if test "$wxUSE_SOUND" = "yes"; then
42278 if test "$USE_UNIX" = 1 ; then
42279 if test "$wxUSE_LIBSDL" != "no"; then
42280
42281 # Check whether --with-sdl-prefix was given.
42282 if test "${with_sdl_prefix+set}" = set; then
42283 withval=$with_sdl_prefix; sdl_prefix="$withval"
42284 else
42285 sdl_prefix=""
42286 fi
42287
42288
42289 # Check whether --with-sdl-exec-prefix was given.
42290 if test "${with_sdl_exec_prefix+set}" = set; then
42291 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42292 else
42293 sdl_exec_prefix=""
42294 fi
42295
42296 # Check whether --enable-sdltest was given.
42297 if test "${enable_sdltest+set}" = set; then
42298 enableval=$enable_sdltest;
42299 else
42300 enable_sdltest=yes
42301 fi
42302
42303
42304 if test x$sdl_exec_prefix != x ; then
42305 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42306 if test x${SDL_CONFIG+set} != xset ; then
42307 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42308 fi
42309 fi
42310 if test x$sdl_prefix != x ; then
42311 sdl_args="$sdl_args --prefix=$sdl_prefix"
42312 if test x${SDL_CONFIG+set} != xset ; then
42313 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42314 fi
42315 fi
42316
42317 if test "x$prefix" != xNONE; then
42318 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42319 fi
42320 # Extract the first word of "sdl-config", so it can be a program name with args.
42321 set dummy sdl-config; ac_word=$2
42322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42324 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42325 echo $ECHO_N "(cached) $ECHO_C" >&6
42326 else
42327 case $SDL_CONFIG in
42328 [\\/]* | ?:[\\/]*)
42329 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42330 ;;
42331 *)
42332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42333 for as_dir in $PATH
42334 do
42335 IFS=$as_save_IFS
42336 test -z "$as_dir" && as_dir=.
42337 for ac_exec_ext in '' $ac_executable_extensions; do
42338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42339 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42341 break 2
42342 fi
42343 done
42344 done
42345 IFS=$as_save_IFS
42346
42347 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42348 ;;
42349 esac
42350 fi
42351 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42352 if test -n "$SDL_CONFIG"; then
42353 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42354 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42355 else
42356 { echo "$as_me:$LINENO: result: no" >&5
42357 echo "${ECHO_T}no" >&6; }
42358 fi
42359
42360
42361 min_sdl_version=1.2.0
42362 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42363 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42364 no_sdl=""
42365 if test "$SDL_CONFIG" = "no" ; then
42366 no_sdl=yes
42367 else
42368 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42369 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42370
42371 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42373 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42375 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42377 if test "x$enable_sdltest" = "xyes" ; then
42378 ac_save_CFLAGS="$CFLAGS"
42379 ac_save_CXXFLAGS="$CXXFLAGS"
42380 ac_save_LIBS="$LIBS"
42381 CFLAGS="$CFLAGS $SDL_CFLAGS"
42382 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42383 LIBS="$LIBS $SDL_LIBS"
42384 rm -f conf.sdltest
42385 if test "$cross_compiling" = yes; then
42386 echo $ac_n "cross compiling; assumed OK... $ac_c"
42387 else
42388 cat >conftest.$ac_ext <<_ACEOF
42389 /* confdefs.h. */
42390 _ACEOF
42391 cat confdefs.h >>conftest.$ac_ext
42392 cat >>conftest.$ac_ext <<_ACEOF
42393 /* end confdefs.h. */
42394
42395 #include <stdio.h>
42396 #include <stdlib.h>
42397 #include <string.h>
42398 #include "SDL.h"
42399
42400 char*
42401 my_strdup (char *str)
42402 {
42403 char *new_str;
42404
42405 if (str)
42406 {
42407 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42408 strcpy (new_str, str);
42409 }
42410 else
42411 new_str = NULL;
42412
42413 return new_str;
42414 }
42415
42416 int main (int argc, char *argv[])
42417 {
42418 int major, minor, micro;
42419 char *tmp_version;
42420
42421 /* This hangs on some systems (?)
42422 system ("touch conf.sdltest");
42423 */
42424 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42425
42426 /* HP/UX 9 (%@#!) writes to sscanf strings */
42427 tmp_version = my_strdup("$min_sdl_version");
42428 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42429 printf("%s, bad version string\n", "$min_sdl_version");
42430 exit(1);
42431 }
42432
42433 if (($sdl_major_version > major) ||
42434 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42435 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42436 {
42437 return 0;
42438 }
42439 else
42440 {
42441 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42442 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42443 printf("*** best to upgrade to the required version.\n");
42444 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42445 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42446 printf("*** config.cache before re-running configure\n");
42447 return 1;
42448 }
42449 }
42450
42451
42452 _ACEOF
42453 rm -f conftest$ac_exeext
42454 if { (ac_try="$ac_link"
42455 case "(($ac_try" in
42456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42457 *) ac_try_echo=$ac_try;;
42458 esac
42459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42460 (eval "$ac_link") 2>&5
42461 ac_status=$?
42462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42464 { (case "(($ac_try" in
42465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42466 *) ac_try_echo=$ac_try;;
42467 esac
42468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42469 (eval "$ac_try") 2>&5
42470 ac_status=$?
42471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42472 (exit $ac_status); }; }; then
42473 :
42474 else
42475 echo "$as_me: program exited with status $ac_status" >&5
42476 echo "$as_me: failed program was:" >&5
42477 sed 's/^/| /' conftest.$ac_ext >&5
42478
42479 ( exit $ac_status )
42480 no_sdl=yes
42481 fi
42482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42483 fi
42484
42485
42486 CFLAGS="$ac_save_CFLAGS"
42487 CXXFLAGS="$ac_save_CXXFLAGS"
42488 LIBS="$ac_save_LIBS"
42489 fi
42490 fi
42491 if test "x$no_sdl" = x ; then
42492 { echo "$as_me:$LINENO: result: yes" >&5
42493 echo "${ECHO_T}yes" >&6; }
42494
42495 EXTRALIBS_SDL="$SDL_LIBS"
42496 CFLAGS="$SDL_CFLAGS $CFLAGS"
42497 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42498 cat >>confdefs.h <<\_ACEOF
42499 #define wxUSE_LIBSDL 1
42500 _ACEOF
42501
42502
42503 else
42504 { echo "$as_me:$LINENO: result: no" >&5
42505 echo "${ECHO_T}no" >&6; }
42506 if test "$SDL_CONFIG" = "no" ; then
42507 echo "*** The sdl-config script installed by SDL could not be found"
42508 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42509 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42510 echo "*** full path to sdl-config."
42511 else
42512 if test -f conf.sdltest ; then
42513 :
42514 else
42515 echo "*** Could not run SDL test program, checking why..."
42516 CFLAGS="$CFLAGS $SDL_CFLAGS"
42517 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42518 LIBS="$LIBS $SDL_LIBS"
42519 cat >conftest.$ac_ext <<_ACEOF
42520 /* confdefs.h. */
42521 _ACEOF
42522 cat confdefs.h >>conftest.$ac_ext
42523 cat >>conftest.$ac_ext <<_ACEOF
42524 /* end confdefs.h. */
42525
42526 #include <stdio.h>
42527 #include "SDL.h"
42528
42529 int main(int argc, char *argv[])
42530 { return 0; }
42531 #undef main
42532 #define main K_and_R_C_main
42533
42534 int
42535 main ()
42536 {
42537 return 0;
42538 ;
42539 return 0;
42540 }
42541 _ACEOF
42542 rm -f conftest.$ac_objext conftest$ac_exeext
42543 if { (ac_try="$ac_link"
42544 case "(($ac_try" in
42545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42546 *) ac_try_echo=$ac_try;;
42547 esac
42548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42549 (eval "$ac_link") 2>conftest.er1
42550 ac_status=$?
42551 grep -v '^ *+' conftest.er1 >conftest.err
42552 rm -f conftest.er1
42553 cat conftest.err >&5
42554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42555 (exit $ac_status); } && {
42556 test -z "$ac_c_werror_flag" ||
42557 test ! -s conftest.err
42558 } && test -s conftest$ac_exeext &&
42559 $as_test_x conftest$ac_exeext; then
42560 echo "*** The test program compiled, but did not run. This usually means"
42561 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42562 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42563 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42564 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42565 echo "*** is required on your system"
42566 echo "***"
42567 echo "*** If you have an old version installed, it is best to remove it, although"
42568 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42569 else
42570 echo "$as_me: failed program was:" >&5
42571 sed 's/^/| /' conftest.$ac_ext >&5
42572
42573 echo "*** The test program failed to compile or link. See the file config.log for the"
42574 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42575 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42576 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42577 fi
42578
42579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42580 conftest$ac_exeext conftest.$ac_ext
42581 CFLAGS="$ac_save_CFLAGS"
42582 CXXFLAGS="$ac_save_CXXFLAGS"
42583 LIBS="$ac_save_LIBS"
42584 fi
42585 fi
42586 SDL_CFLAGS=""
42587 SDL_LIBS=""
42588 wxUSE_LIBSDL="no"
42589 fi
42590
42591
42592 rm -f conf.sdltest
42593
42594 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42595 WITH_PLUGIN_SDL=1
42596 fi
42597 fi
42598 else
42599 if test "$wxUSE_MGL" = 1; then
42600 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42601 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42602 wxUSE_SOUND="no"
42603 fi
42604 fi
42605 fi
42606
42607 if test "$wxUSE_SOUND" = "yes"; then
42608 cat >>confdefs.h <<\_ACEOF
42609 #define wxUSE_SOUND 1
42610 _ACEOF
42611
42612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42613 fi
42614
42615 if test "$WXGTK2" = 1; then
42616
42617
42618 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42619 if test -n "$ac_tool_prefix"; then
42620 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42621 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42624 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42625 echo $ECHO_N "(cached) $ECHO_C" >&6
42626 else
42627 case $PKG_CONFIG in
42628 [\\/]* | ?:[\\/]*)
42629 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42630 ;;
42631 *)
42632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42633 for as_dir in $PATH
42634 do
42635 IFS=$as_save_IFS
42636 test -z "$as_dir" && as_dir=.
42637 for ac_exec_ext in '' $ac_executable_extensions; do
42638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42639 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42641 break 2
42642 fi
42643 done
42644 done
42645 IFS=$as_save_IFS
42646
42647 ;;
42648 esac
42649 fi
42650 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42651 if test -n "$PKG_CONFIG"; then
42652 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42653 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42654 else
42655 { echo "$as_me:$LINENO: result: no" >&5
42656 echo "${ECHO_T}no" >&6; }
42657 fi
42658
42659
42660 fi
42661 if test -z "$ac_cv_path_PKG_CONFIG"; then
42662 ac_pt_PKG_CONFIG=$PKG_CONFIG
42663 # Extract the first word of "pkg-config", so it can be a program name with args.
42664 set dummy pkg-config; ac_word=$2
42665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42667 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42668 echo $ECHO_N "(cached) $ECHO_C" >&6
42669 else
42670 case $ac_pt_PKG_CONFIG in
42671 [\\/]* | ?:[\\/]*)
42672 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42673 ;;
42674 *)
42675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42676 for as_dir in $PATH
42677 do
42678 IFS=$as_save_IFS
42679 test -z "$as_dir" && as_dir=.
42680 for ac_exec_ext in '' $ac_executable_extensions; do
42681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42682 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42684 break 2
42685 fi
42686 done
42687 done
42688 IFS=$as_save_IFS
42689
42690 ;;
42691 esac
42692 fi
42693 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42694 if test -n "$ac_pt_PKG_CONFIG"; then
42695 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42696 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42697 else
42698 { echo "$as_me:$LINENO: result: no" >&5
42699 echo "${ECHO_T}no" >&6; }
42700 fi
42701
42702 if test "x$ac_pt_PKG_CONFIG" = x; then
42703 PKG_CONFIG=""
42704 else
42705 case $cross_compiling:$ac_tool_warned in
42706 yes:)
42707 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42708 whose name does not start with the host triplet. If you think this
42709 configuration is useful to you, please write to autoconf@gnu.org." >&5
42710 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42711 whose name does not start with the host triplet. If you think this
42712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42713 ac_tool_warned=yes ;;
42714 esac
42715 PKG_CONFIG=$ac_pt_PKG_CONFIG
42716 fi
42717 else
42718 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42719 fi
42720
42721 fi
42722 if test -n "$PKG_CONFIG"; then
42723 _pkg_min_version=0.9.0
42724 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42725 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42726 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42727 { echo "$as_me:$LINENO: result: yes" >&5
42728 echo "${ECHO_T}yes" >&6; }
42729 else
42730 { echo "$as_me:$LINENO: result: no" >&5
42731 echo "${ECHO_T}no" >&6; }
42732 PKG_CONFIG=""
42733 fi
42734
42735 fi
42736
42737 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42738
42739 if test "$wxUSE_GTKPRINT" = "yes" ; then
42740
42741
42742 pkg_failed=no
42743 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42744 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42745
42746 if test -n "$PKG_CONFIG"; then
42747 if test -n "$GTKPRINT_CFLAGS"; then
42748 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42749 else
42750 if test -n "$PKG_CONFIG" && \
42751 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42752 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42753 ac_status=$?
42754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42755 (exit $ac_status); }; then
42756 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42757 else
42758 pkg_failed=yes
42759 fi
42760 fi
42761 else
42762 pkg_failed=untried
42763 fi
42764 if test -n "$PKG_CONFIG"; then
42765 if test -n "$GTKPRINT_LIBS"; then
42766 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42767 else
42768 if test -n "$PKG_CONFIG" && \
42769 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42770 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42771 ac_status=$?
42772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42773 (exit $ac_status); }; then
42774 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42775 else
42776 pkg_failed=yes
42777 fi
42778 fi
42779 else
42780 pkg_failed=untried
42781 fi
42782
42783
42784
42785 if test $pkg_failed = yes; then
42786
42787 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42788 _pkg_short_errors_supported=yes
42789 else
42790 _pkg_short_errors_supported=no
42791 fi
42792 if test $_pkg_short_errors_supported = yes; then
42793 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42794 else
42795 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42796 fi
42797 # Put the nasty error message in config.log where it belongs
42798 echo "$GTKPRINT_PKG_ERRORS" >&5
42799
42800
42801 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42802 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42803 wxUSE_GTKPRINT="no"
42804
42805
42806 elif test $pkg_failed = untried; then
42807
42808 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42809 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42810 wxUSE_GTKPRINT="no"
42811
42812
42813 else
42814 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42815 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42816 { echo "$as_me:$LINENO: result: yes" >&5
42817 echo "${ECHO_T}yes" >&6; }
42818
42819 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42820 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42821 cat >>confdefs.h <<\_ACEOF
42822 #define wxUSE_GTKPRINT 1
42823 _ACEOF
42824
42825
42826 fi
42827 fi
42828
42829 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42830
42831
42832 pkg_failed=no
42833 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42834 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42835
42836 if test -n "$PKG_CONFIG"; then
42837 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42838 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42839 else
42840 if test -n "$PKG_CONFIG" && \
42841 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42842 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42843 ac_status=$?
42844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42845 (exit $ac_status); }; then
42846 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42847 else
42848 pkg_failed=yes
42849 fi
42850 fi
42851 else
42852 pkg_failed=untried
42853 fi
42854 if test -n "$PKG_CONFIG"; then
42855 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42856 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42857 else
42858 if test -n "$PKG_CONFIG" && \
42859 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42860 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42861 ac_status=$?
42862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42863 (exit $ac_status); }; then
42864 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42865 else
42866 pkg_failed=yes
42867 fi
42868 fi
42869 else
42870 pkg_failed=untried
42871 fi
42872
42873
42874
42875 if test $pkg_failed = yes; then
42876
42877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42878 _pkg_short_errors_supported=yes
42879 else
42880 _pkg_short_errors_supported=no
42881 fi
42882 if test $_pkg_short_errors_supported = yes; then
42883 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42884 else
42885 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42886 fi
42887 # Put the nasty error message in config.log where it belongs
42888 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42889
42890
42891 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42892 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42893 wxUSE_LIBGNOMEPRINT="no"
42894
42895
42896 elif test $pkg_failed = untried; then
42897
42898 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42899 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42900 wxUSE_LIBGNOMEPRINT="no"
42901
42902
42903 else
42904 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42905 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42906 { echo "$as_me:$LINENO: result: yes" >&5
42907 echo "${ECHO_T}yes" >&6; }
42908
42909 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42910 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42911 cat >>confdefs.h <<\_ACEOF
42912 #define wxUSE_LIBGNOMEPRINT 1
42913 _ACEOF
42914
42915
42916 fi
42917 fi
42918 fi
42919
42920 if test "$wxUSE_MIMETYPE" = "yes" ; then
42921 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42922
42923
42924 pkg_failed=no
42925 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42926 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42927
42928 if test -n "$PKG_CONFIG"; then
42929 if test -n "$GNOMEVFS_CFLAGS"; then
42930 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42931 else
42932 if test -n "$PKG_CONFIG" && \
42933 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42934 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42935 ac_status=$?
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); }; then
42938 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42939 else
42940 pkg_failed=yes
42941 fi
42942 fi
42943 else
42944 pkg_failed=untried
42945 fi
42946 if test -n "$PKG_CONFIG"; then
42947 if test -n "$GNOMEVFS_LIBS"; then
42948 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42949 else
42950 if test -n "$PKG_CONFIG" && \
42951 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42952 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42953 ac_status=$?
42954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42955 (exit $ac_status); }; then
42956 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42957 else
42958 pkg_failed=yes
42959 fi
42960 fi
42961 else
42962 pkg_failed=untried
42963 fi
42964
42965
42966
42967 if test $pkg_failed = yes; then
42968
42969 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42970 _pkg_short_errors_supported=yes
42971 else
42972 _pkg_short_errors_supported=no
42973 fi
42974 if test $_pkg_short_errors_supported = yes; then
42975 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42976 else
42977 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42978 fi
42979 # Put the nasty error message in config.log where it belongs
42980 echo "$GNOMEVFS_PKG_ERRORS" >&5
42981
42982
42983 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42984 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42985 wxUSE_LIBGNOMEVFS="no"
42986
42987
42988 elif test $pkg_failed = untried; then
42989
42990 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42991 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42992 wxUSE_LIBGNOMEVFS="no"
42993
42994
42995 else
42996 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42997 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42998 { echo "$as_me:$LINENO: result: yes" >&5
42999 echo "${ECHO_T}yes" >&6; }
43000
43001 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43002 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43003 cat >>confdefs.h <<\_ACEOF
43004 #define wxUSE_LIBGNOMEVFS 1
43005 _ACEOF
43006
43007
43008 fi
43009 fi
43010 fi
43011
43012 if test "$wxUSE_LIBHILDON" = "yes" ; then
43013
43014 pkg_failed=no
43015 { echo "$as_me:$LINENO: checking for HILDON" >&5
43016 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43017
43018 if test -n "$PKG_CONFIG"; then
43019 if test -n "$HILDON_CFLAGS"; then
43020 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43021 else
43022 if test -n "$PKG_CONFIG" && \
43023 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43024 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43025 ac_status=$?
43026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43027 (exit $ac_status); }; then
43028 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43029 else
43030 pkg_failed=yes
43031 fi
43032 fi
43033 else
43034 pkg_failed=untried
43035 fi
43036 if test -n "$PKG_CONFIG"; then
43037 if test -n "$HILDON_LIBS"; then
43038 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43039 else
43040 if test -n "$PKG_CONFIG" && \
43041 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43042 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43043 ac_status=$?
43044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43045 (exit $ac_status); }; then
43046 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43047 else
43048 pkg_failed=yes
43049 fi
43050 fi
43051 else
43052 pkg_failed=untried
43053 fi
43054
43055
43056
43057 if test $pkg_failed = yes; then
43058
43059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43060 _pkg_short_errors_supported=yes
43061 else
43062 _pkg_short_errors_supported=no
43063 fi
43064 if test $_pkg_short_errors_supported = yes; then
43065 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43066 else
43067 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43068 fi
43069 # Put the nasty error message in config.log where it belongs
43070 echo "$HILDON_PKG_ERRORS" >&5
43071
43072
43073 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43074 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43075 wxUSE_LIBHILDON="no"
43076
43077
43078 elif test $pkg_failed = untried; then
43079
43080 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43081 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43082 wxUSE_LIBHILDON="no"
43083
43084
43085 else
43086 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43087 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43088 { echo "$as_me:$LINENO: result: yes" >&5
43089 echo "${ECHO_T}yes" >&6; }
43090
43091 EXTRALIBS_HILDON="$HILDON_LIBS"
43092 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43093 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43094 cat >>confdefs.h <<\_ACEOF
43095 #define wxUSE_LIBHILDON 1
43096 _ACEOF
43097
43098
43099 fi
43100 fi
43101 fi
43102
43103 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43104 cat >>confdefs.h <<\_ACEOF
43105 #define wxUSE_CMDLINE_PARSER 1
43106 _ACEOF
43107
43108 fi
43109
43110 if test "$wxUSE_STOPWATCH" = "yes"; then
43111 cat >>confdefs.h <<\_ACEOF
43112 #define wxUSE_STOPWATCH 1
43113 _ACEOF
43114
43115 fi
43116
43117 if test "$wxUSE_DATETIME" = "yes"; then
43118 cat >>confdefs.h <<\_ACEOF
43119 #define wxUSE_DATETIME 1
43120 _ACEOF
43121
43122 fi
43123
43124 if test "$wxUSE_FILE" = "yes"; then
43125 cat >>confdefs.h <<\_ACEOF
43126 #define wxUSE_FILE 1
43127 _ACEOF
43128
43129 fi
43130
43131 if test "$wxUSE_FFILE" = "yes"; then
43132 cat >>confdefs.h <<\_ACEOF
43133 #define wxUSE_FFILE 1
43134 _ACEOF
43135
43136 fi
43137
43138 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43139 if test "$wxUSE_STREAMS" != yes; then
43140 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43141 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43142 wxUSE_ARCHIVE_STREAMS=no
43143 else
43144 cat >>confdefs.h <<\_ACEOF
43145 #define wxUSE_ARCHIVE_STREAMS 1
43146 _ACEOF
43147
43148 fi
43149 fi
43150
43151 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43152 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43153 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43154 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43155 elif test "$wxUSE_ZLIB" = "no"; then
43156 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43157 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43158 else
43159 cat >>confdefs.h <<\_ACEOF
43160 #define wxUSE_ZIPSTREAM 1
43161 _ACEOF
43162
43163 fi
43164 fi
43165
43166 if test "$wxUSE_TARSTREAM" = "yes"; then
43167 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43168 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43169 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43170 else
43171 cat >>confdefs.h <<\_ACEOF
43172 #define wxUSE_TARSTREAM 1
43173 _ACEOF
43174
43175 fi
43176 fi
43177
43178 if test "$wxUSE_FILESYSTEM" = "yes"; then
43179 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43180 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43181 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43182 wxUSE_FILESYSTEM=no
43183 else
43184 cat >>confdefs.h <<\_ACEOF
43185 #define wxUSE_FILESYSTEM 1
43186 _ACEOF
43187
43188 fi
43189 fi
43190
43191 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43192 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43193 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43194 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43195 else
43196 cat >>confdefs.h <<\_ACEOF
43197 #define wxUSE_FS_ARCHIVE 1
43198 _ACEOF
43199
43200 fi
43201 fi
43202
43203 if test "$wxUSE_FS_ZIP" = "yes"; then
43204 if test "$wxUSE_FS_ARCHIVE" != yes; then
43205 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43206 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43207 else
43208 cat >>confdefs.h <<\_ACEOF
43209 #define wxUSE_FS_ZIP 1
43210 _ACEOF
43211
43212 fi
43213 fi
43214
43215 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43216 if test "$USE_UNIX" != 1; then
43217 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43218 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43219 wxUSE_ON_FATAL_EXCEPTION=no
43220 else
43221 cat >>confdefs.h <<\_ACEOF
43222 #define wxUSE_ON_FATAL_EXCEPTION 1
43223 _ACEOF
43224
43225 fi
43226 fi
43227
43228 if test "$wxUSE_STACKWALKER" = "yes"; then
43229 cat >>confdefs.h <<\_ACEOF
43230 #define wxUSE_STACKWALKER 1
43231 _ACEOF
43232
43233 fi
43234
43235 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43236 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43237 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43238 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43239 wxUSE_DEBUGREPORT=no
43240 else
43241 cat >>confdefs.h <<\_ACEOF
43242 #define wxUSE_DEBUGREPORT 1
43243 _ACEOF
43244
43245 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43247 fi
43248 fi
43249 fi
43250
43251 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43252 cat >>confdefs.h <<\_ACEOF
43253 #define wxUSE_SNGLINST_CHECKER 1
43254 _ACEOF
43255
43256 fi
43257
43258 if test "$wxUSE_BUSYINFO" = "yes"; then
43259 cat >>confdefs.h <<\_ACEOF
43260 #define wxUSE_BUSYINFO 1
43261 _ACEOF
43262
43263 fi
43264
43265 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43266 cat >>confdefs.h <<\_ACEOF
43267 #define wxUSE_STD_IOSTREAM 1
43268 _ACEOF
43269
43270 fi
43271
43272 if test "$wxUSE_STD_STRING" = "yes"; then
43273 cat >>confdefs.h <<\_ACEOF
43274 #define wxUSE_STD_STRING 1
43275 _ACEOF
43276
43277 fi
43278
43279 if test "$wxUSE_STDPATHS" = "yes"; then
43280 cat >>confdefs.h <<\_ACEOF
43281 #define wxUSE_STDPATHS 1
43282 _ACEOF
43283
43284 fi
43285
43286 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43287 cat >>confdefs.h <<\_ACEOF
43288 #define wxUSE_TEXTBUFFER 1
43289 _ACEOF
43290
43291 fi
43292
43293 if test "$wxUSE_TEXTFILE" = "yes"; then
43294 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43295 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43296 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43297 else
43298 cat >>confdefs.h <<\_ACEOF
43299 #define wxUSE_TEXTFILE 1
43300 _ACEOF
43301
43302 fi
43303 fi
43304
43305 if test "$wxUSE_CONFIG" = "yes" ; then
43306 if test "$wxUSE_TEXTFILE" != "yes"; then
43307 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43308 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43309 else
43310 cat >>confdefs.h <<\_ACEOF
43311 #define wxUSE_CONFIG 1
43312 _ACEOF
43313
43314 cat >>confdefs.h <<\_ACEOF
43315 #define wxUSE_CONFIG_NATIVE 1
43316 _ACEOF
43317
43318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43319 fi
43320 fi
43321
43322 if test "$wxUSE_INTL" = "yes" ; then
43323 if test "$wxUSE_FILE" != "yes"; then
43324 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43325 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43326 else
43327 cat >>confdefs.h <<\_ACEOF
43328 #define wxUSE_INTL 1
43329 _ACEOF
43330
43331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43332 GUIDIST="$GUIDIST INTL_DIST"
43333 fi
43334 fi
43335
43336 if test "$wxUSE_XLOCALE" = "yes" ; then
43337 cat >>confdefs.h <<\_ACEOF
43338 #define wxUSE_XLOCALE 1
43339 _ACEOF
43340
43341 { echo "$as_me:$LINENO: checking for locale_t" >&5
43342 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43343 if test "${ac_cv_type_locale_t+set}" = set; then
43344 echo $ECHO_N "(cached) $ECHO_C" >&6
43345 else
43346 cat >conftest.$ac_ext <<_ACEOF
43347 /* confdefs.h. */
43348 _ACEOF
43349 cat confdefs.h >>conftest.$ac_ext
43350 cat >>conftest.$ac_ext <<_ACEOF
43351 /* end confdefs.h. */
43352 #include <xlocale.h>
43353 #include <locale.h>
43354
43355 typedef locale_t ac__type_new_;
43356 int
43357 main ()
43358 {
43359 if ((ac__type_new_ *) 0)
43360 return 0;
43361 if (sizeof (ac__type_new_))
43362 return 0;
43363 ;
43364 return 0;
43365 }
43366 _ACEOF
43367 rm -f conftest.$ac_objext
43368 if { (ac_try="$ac_compile"
43369 case "(($ac_try" in
43370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43371 *) ac_try_echo=$ac_try;;
43372 esac
43373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43374 (eval "$ac_compile") 2>conftest.er1
43375 ac_status=$?
43376 grep -v '^ *+' conftest.er1 >conftest.err
43377 rm -f conftest.er1
43378 cat conftest.err >&5
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); } && {
43381 test -z "$ac_c_werror_flag" ||
43382 test ! -s conftest.err
43383 } && test -s conftest.$ac_objext; then
43384 ac_cv_type_locale_t=yes
43385 else
43386 echo "$as_me: failed program was:" >&5
43387 sed 's/^/| /' conftest.$ac_ext >&5
43388
43389 ac_cv_type_locale_t=no
43390 fi
43391
43392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43393 fi
43394 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43395 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43396 if test $ac_cv_type_locale_t = yes; then
43397
43398 cat >>confdefs.h <<_ACEOF
43399 #define HAVE_LOCALE_T 1
43400 _ACEOF
43401
43402
43403 fi
43404
43405 fi
43406
43407 if test "$wxUSE_LOG" = "yes"; then
43408 cat >>confdefs.h <<\_ACEOF
43409 #define wxUSE_LOG 1
43410 _ACEOF
43411
43412
43413 if test "$wxUSE_LOGGUI" = "yes"; then
43414 cat >>confdefs.h <<\_ACEOF
43415 #define wxUSE_LOGGUI 1
43416 _ACEOF
43417
43418 fi
43419
43420 if test "$wxUSE_LOGWINDOW" = "yes"; then
43421 cat >>confdefs.h <<\_ACEOF
43422 #define wxUSE_LOGWINDOW 1
43423 _ACEOF
43424
43425 fi
43426
43427 if test "$wxUSE_LOGDIALOG" = "yes"; then
43428 cat >>confdefs.h <<\_ACEOF
43429 #define wxUSE_LOG_DIALOG 1
43430 _ACEOF
43431
43432 fi
43433
43434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43435 fi
43436
43437 if test "$wxUSE_LONGLONG" = "yes"; then
43438 cat >>confdefs.h <<\_ACEOF
43439 #define wxUSE_LONGLONG 1
43440 _ACEOF
43441
43442 fi
43443
43444 if test "$wxUSE_GEOMETRY" = "yes"; then
43445 cat >>confdefs.h <<\_ACEOF
43446 #define wxUSE_GEOMETRY 1
43447 _ACEOF
43448
43449 fi
43450
43451 if test "$wxUSE_BASE64" = "yes"; then
43452 cat >>confdefs.h <<\_ACEOF
43453 #define wxUSE_BASE64 1
43454 _ACEOF
43455
43456 fi
43457
43458 if test "$wxUSE_STREAMS" = "yes" ; then
43459 cat >>confdefs.h <<\_ACEOF
43460 #define wxUSE_STREAMS 1
43461 _ACEOF
43462
43463 fi
43464
43465 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43466 cat >>confdefs.h <<\_ACEOF
43467 #define wxUSE_PRINTF_POS_PARAMS 1
43468 _ACEOF
43469
43470 fi
43471
43472 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43473 cat >>confdefs.h <<\_ACEOF
43474 #define wxUSE_OBJC_UNIQUIFYING 1
43475 _ACEOF
43476
43477 fi
43478
43479
43480 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define wxUSE_CONSOLE_EVENTLOOP 1
43483 _ACEOF
43484
43485
43486 if test "$wxUSE_UNIX" = "yes"; then
43487 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_SELECT_DISPATCHER 1
43490 _ACEOF
43491
43492 fi
43493
43494 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43495
43496 for ac_header in sys/epoll.h
43497 do
43498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43499 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43501 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43502 echo $ECHO_N "(cached) $ECHO_C" >&6
43503 else
43504 cat >conftest.$ac_ext <<_ACEOF
43505 /* confdefs.h. */
43506 _ACEOF
43507 cat confdefs.h >>conftest.$ac_ext
43508 cat >>conftest.$ac_ext <<_ACEOF
43509 /* end confdefs.h. */
43510 $ac_includes_default
43511
43512 #include <$ac_header>
43513 _ACEOF
43514 rm -f conftest.$ac_objext
43515 if { (ac_try="$ac_compile"
43516 case "(($ac_try" in
43517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43518 *) ac_try_echo=$ac_try;;
43519 esac
43520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43521 (eval "$ac_compile") 2>conftest.er1
43522 ac_status=$?
43523 grep -v '^ *+' conftest.er1 >conftest.err
43524 rm -f conftest.er1
43525 cat conftest.err >&5
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); } && {
43528 test -z "$ac_c_werror_flag" ||
43529 test ! -s conftest.err
43530 } && test -s conftest.$ac_objext; then
43531 eval "$as_ac_Header=yes"
43532 else
43533 echo "$as_me: failed program was:" >&5
43534 sed 's/^/| /' conftest.$ac_ext >&5
43535
43536 eval "$as_ac_Header=no"
43537 fi
43538
43539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43540 fi
43541 ac_res=`eval echo '${'$as_ac_Header'}'`
43542 { echo "$as_me:$LINENO: result: $ac_res" >&5
43543 echo "${ECHO_T}$ac_res" >&6; }
43544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43545 cat >>confdefs.h <<_ACEOF
43546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43547 _ACEOF
43548
43549 fi
43550
43551 done
43552
43553 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43554 cat >>confdefs.h <<\_ACEOF
43555 #define wxUSE_EPOLL_DISPATCHER 1
43556 _ACEOF
43557
43558 else
43559 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43560 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43561 fi
43562 fi
43563 fi
43564 fi
43565
43566
43567
43568
43569 for ac_func in gettimeofday ftime
43570 do
43571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43572 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43574 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43575 echo $ECHO_N "(cached) $ECHO_C" >&6
43576 else
43577 cat >conftest.$ac_ext <<_ACEOF
43578 /* confdefs.h. */
43579 _ACEOF
43580 cat confdefs.h >>conftest.$ac_ext
43581 cat >>conftest.$ac_ext <<_ACEOF
43582 /* end confdefs.h. */
43583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43585 #define $ac_func innocuous_$ac_func
43586
43587 /* System header to define __stub macros and hopefully few prototypes,
43588 which can conflict with char $ac_func (); below.
43589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43590 <limits.h> exists even on freestanding compilers. */
43591
43592 #ifdef __STDC__
43593 # include <limits.h>
43594 #else
43595 # include <assert.h>
43596 #endif
43597
43598 #undef $ac_func
43599
43600 /* Override any GCC internal prototype to avoid an error.
43601 Use char because int might match the return type of a GCC
43602 builtin and then its argument prototype would still apply. */
43603 #ifdef __cplusplus
43604 extern "C"
43605 #endif
43606 char $ac_func ();
43607 /* The GNU C library defines this for functions which it implements
43608 to always fail with ENOSYS. Some functions are actually named
43609 something starting with __ and the normal name is an alias. */
43610 #if defined __stub_$ac_func || defined __stub___$ac_func
43611 choke me
43612 #endif
43613
43614 int
43615 main ()
43616 {
43617 return $ac_func ();
43618 ;
43619 return 0;
43620 }
43621 _ACEOF
43622 rm -f conftest.$ac_objext conftest$ac_exeext
43623 if { (ac_try="$ac_link"
43624 case "(($ac_try" in
43625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43626 *) ac_try_echo=$ac_try;;
43627 esac
43628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43629 (eval "$ac_link") 2>conftest.er1
43630 ac_status=$?
43631 grep -v '^ *+' conftest.er1 >conftest.err
43632 rm -f conftest.er1
43633 cat conftest.err >&5
43634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43635 (exit $ac_status); } && {
43636 test -z "$ac_c_werror_flag" ||
43637 test ! -s conftest.err
43638 } && test -s conftest$ac_exeext &&
43639 $as_test_x conftest$ac_exeext; then
43640 eval "$as_ac_var=yes"
43641 else
43642 echo "$as_me: failed program was:" >&5
43643 sed 's/^/| /' conftest.$ac_ext >&5
43644
43645 eval "$as_ac_var=no"
43646 fi
43647
43648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43649 conftest$ac_exeext conftest.$ac_ext
43650 fi
43651 ac_res=`eval echo '${'$as_ac_var'}'`
43652 { echo "$as_me:$LINENO: result: $ac_res" >&5
43653 echo "${ECHO_T}$ac_res" >&6; }
43654 if test `eval echo '${'$as_ac_var'}'` = yes; then
43655 cat >>confdefs.h <<_ACEOF
43656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43657 _ACEOF
43658 break
43659 fi
43660 done
43661
43662
43663 if test "$ac_cv_func_gettimeofday" = "yes"; then
43664 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43665 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43666 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43667 echo $ECHO_N "(cached) $ECHO_C" >&6
43668 else
43669
43670 cat >conftest.$ac_ext <<_ACEOF
43671 /* confdefs.h. */
43672 _ACEOF
43673 cat confdefs.h >>conftest.$ac_ext
43674 cat >>conftest.$ac_ext <<_ACEOF
43675 /* end confdefs.h. */
43676
43677 #include <sys/time.h>
43678 #include <unistd.h>
43679
43680 int
43681 main ()
43682 {
43683
43684 struct timeval tv;
43685 gettimeofday(&tv, NULL);
43686
43687 ;
43688 return 0;
43689 }
43690 _ACEOF
43691 rm -f conftest.$ac_objext
43692 if { (ac_try="$ac_compile"
43693 case "(($ac_try" in
43694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43695 *) ac_try_echo=$ac_try;;
43696 esac
43697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43698 (eval "$ac_compile") 2>conftest.er1
43699 ac_status=$?
43700 grep -v '^ *+' conftest.er1 >conftest.err
43701 rm -f conftest.er1
43702 cat conftest.err >&5
43703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43704 (exit $ac_status); } && {
43705 test -z "$ac_c_werror_flag" ||
43706 test ! -s conftest.err
43707 } && test -s conftest.$ac_objext; then
43708 wx_cv_func_gettimeofday_has_2_args=yes
43709 else
43710 echo "$as_me: failed program was:" >&5
43711 sed 's/^/| /' conftest.$ac_ext >&5
43712
43713 cat >conftest.$ac_ext <<_ACEOF
43714 /* confdefs.h. */
43715 _ACEOF
43716 cat confdefs.h >>conftest.$ac_ext
43717 cat >>conftest.$ac_ext <<_ACEOF
43718 /* end confdefs.h. */
43719
43720 #include <sys/time.h>
43721 #include <unistd.h>
43722
43723 int
43724 main ()
43725 {
43726
43727 struct timeval tv;
43728 gettimeofday(&tv);
43729
43730 ;
43731 return 0;
43732 }
43733 _ACEOF
43734 rm -f conftest.$ac_objext
43735 if { (ac_try="$ac_compile"
43736 case "(($ac_try" in
43737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43738 *) ac_try_echo=$ac_try;;
43739 esac
43740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43741 (eval "$ac_compile") 2>conftest.er1
43742 ac_status=$?
43743 grep -v '^ *+' conftest.er1 >conftest.err
43744 rm -f conftest.er1
43745 cat conftest.err >&5
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); } && {
43748 test -z "$ac_c_werror_flag" ||
43749 test ! -s conftest.err
43750 } && test -s conftest.$ac_objext; then
43751 wx_cv_func_gettimeofday_has_2_args=no
43752 else
43753 echo "$as_me: failed program was:" >&5
43754 sed 's/^/| /' conftest.$ac_ext >&5
43755
43756
43757 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43758 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43759 wx_cv_func_gettimeofday_has_2_args=unknown
43760
43761
43762 fi
43763
43764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43765
43766 fi
43767
43768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43769
43770 fi
43771 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43772 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43773
43774 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43775 cat >>confdefs.h <<\_ACEOF
43776 #define WX_GETTIMEOFDAY_NO_TZ 1
43777 _ACEOF
43778
43779 fi
43780 fi
43781
43782 if test "$wxUSE_DATETIME" = "yes"; then
43783 { echo "$as_me:$LINENO: checking for strptime" >&5
43784 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43785 if test "${ac_cv_func_strptime+set}" = set; then
43786 echo $ECHO_N "(cached) $ECHO_C" >&6
43787 else
43788 cat >conftest.$ac_ext <<_ACEOF
43789 /* confdefs.h. */
43790 _ACEOF
43791 cat confdefs.h >>conftest.$ac_ext
43792 cat >>conftest.$ac_ext <<_ACEOF
43793 /* end confdefs.h. */
43794 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43796 #define strptime innocuous_strptime
43797
43798 /* System header to define __stub macros and hopefully few prototypes,
43799 which can conflict with char strptime (); below.
43800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43801 <limits.h> exists even on freestanding compilers. */
43802
43803 #ifdef __STDC__
43804 # include <limits.h>
43805 #else
43806 # include <assert.h>
43807 #endif
43808
43809 #undef strptime
43810
43811 /* Override any GCC internal prototype to avoid an error.
43812 Use char because int might match the return type of a GCC
43813 builtin and then its argument prototype would still apply. */
43814 #ifdef __cplusplus
43815 extern "C"
43816 #endif
43817 char strptime ();
43818 /* The GNU C library defines this for functions which it implements
43819 to always fail with ENOSYS. Some functions are actually named
43820 something starting with __ and the normal name is an alias. */
43821 #if defined __stub_strptime || defined __stub___strptime
43822 choke me
43823 #endif
43824
43825 int
43826 main ()
43827 {
43828 return strptime ();
43829 ;
43830 return 0;
43831 }
43832 _ACEOF
43833 rm -f conftest.$ac_objext conftest$ac_exeext
43834 if { (ac_try="$ac_link"
43835 case "(($ac_try" in
43836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43837 *) ac_try_echo=$ac_try;;
43838 esac
43839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43840 (eval "$ac_link") 2>conftest.er1
43841 ac_status=$?
43842 grep -v '^ *+' conftest.er1 >conftest.err
43843 rm -f conftest.er1
43844 cat conftest.err >&5
43845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43846 (exit $ac_status); } && {
43847 test -z "$ac_c_werror_flag" ||
43848 test ! -s conftest.err
43849 } && test -s conftest$ac_exeext &&
43850 $as_test_x conftest$ac_exeext; then
43851 ac_cv_func_strptime=yes
43852 else
43853 echo "$as_me: failed program was:" >&5
43854 sed 's/^/| /' conftest.$ac_ext >&5
43855
43856 ac_cv_func_strptime=no
43857 fi
43858
43859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43860 conftest$ac_exeext conftest.$ac_ext
43861 fi
43862 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43863 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43864
43865 if test "$ac_cv_func_strptime" = "yes"; then
43866 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43867 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43868 if test "${wx_cv_func_strptime_decl+set}" = set; then
43869 echo $ECHO_N "(cached) $ECHO_C" >&6
43870 else
43871
43872 ac_ext=cpp
43873 ac_cpp='$CXXCPP $CPPFLAGS'
43874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43877
43878 cat >conftest.$ac_ext <<_ACEOF
43879 /* confdefs.h. */
43880 _ACEOF
43881 cat confdefs.h >>conftest.$ac_ext
43882 cat >>conftest.$ac_ext <<_ACEOF
43883 /* end confdefs.h. */
43884
43885 #include <time.h>
43886
43887 int
43888 main ()
43889 {
43890
43891 struct tm t;
43892 strptime("foo", "bar", &t);
43893
43894 ;
43895 return 0;
43896 }
43897 _ACEOF
43898 rm -f conftest.$ac_objext
43899 if { (ac_try="$ac_compile"
43900 case "(($ac_try" in
43901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43902 *) ac_try_echo=$ac_try;;
43903 esac
43904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43905 (eval "$ac_compile") 2>conftest.er1
43906 ac_status=$?
43907 grep -v '^ *+' conftest.er1 >conftest.err
43908 rm -f conftest.er1
43909 cat conftest.err >&5
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); } && {
43912 test -z "$ac_cxx_werror_flag" ||
43913 test ! -s conftest.err
43914 } && test -s conftest.$ac_objext; then
43915 wx_cv_func_strptime_decl=yes
43916 else
43917 echo "$as_me: failed program was:" >&5
43918 sed 's/^/| /' conftest.$ac_ext >&5
43919
43920 wx_cv_func_strptime_decl=no
43921
43922 fi
43923
43924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43925 ac_ext=c
43926 ac_cpp='$CPP $CPPFLAGS'
43927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43930
43931
43932
43933 fi
43934 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43935 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43936 fi
43937 if test "$wx_cv_func_strptime_decl" = "yes"; then
43938 cat >>confdefs.h <<\_ACEOF
43939 #define HAVE_STRPTIME_DECL 1
43940 _ACEOF
43941
43942 else
43943 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43944 fi
43945 if test "$ac_cv_func_strptime" = "yes"; then
43946 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43947 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43948 if test "${wx_cv_func_strptime_ok+set}" = set; then
43949 echo $ECHO_N "(cached) $ECHO_C" >&6
43950 else
43951 if test "$cross_compiling" = yes; then
43952 wx_cv_func_strptime_ok=no
43953
43954 else
43955 cat >conftest.$ac_ext <<_ACEOF
43956
43957 #include <stdlib.h>
43958 #include <time.h>
43959 #include "confdefs.h"
43960
43961 $wx_strptime_decl
43962
43963 int main()
43964 {
43965 struct tm t;
43966 return !!strptime("", "%x", &t);
43967 }
43968
43969 _ACEOF
43970 rm -f conftest$ac_exeext
43971 if { (ac_try="$ac_link"
43972 case "(($ac_try" in
43973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43974 *) ac_try_echo=$ac_try;;
43975 esac
43976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43977 (eval "$ac_link") 2>&5
43978 ac_status=$?
43979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43981 { (case "(($ac_try" in
43982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43983 *) ac_try_echo=$ac_try;;
43984 esac
43985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43986 (eval "$ac_try") 2>&5
43987 ac_status=$?
43988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43989 (exit $ac_status); }; }; then
43990 wx_cv_func_strptime_ok=yes
43991 else
43992 echo "$as_me: program exited with status $ac_status" >&5
43993 echo "$as_me: failed program was:" >&5
43994 sed 's/^/| /' conftest.$ac_ext >&5
43995
43996 ( exit $ac_status )
43997 wx_cv_func_strptime_ok=no
43998 fi
43999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44000 fi
44001
44002
44003
44004 fi
44005 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44006 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44007
44008 if test "$wx_cv_func_strptime_ok" = "yes"; then
44009 cat >>confdefs.h <<\_ACEOF
44010 #define HAVE_STRPTIME 1
44011 _ACEOF
44012
44013 fi
44014 fi
44015
44016 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44017 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44018 if test "${wx_cv_var_timezone+set}" = set; then
44019 echo $ECHO_N "(cached) $ECHO_C" >&6
44020 else
44021
44022 ac_ext=cpp
44023 ac_cpp='$CXXCPP $CPPFLAGS'
44024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44027
44028 cat >conftest.$ac_ext <<_ACEOF
44029 /* confdefs.h. */
44030 _ACEOF
44031 cat confdefs.h >>conftest.$ac_ext
44032 cat >>conftest.$ac_ext <<_ACEOF
44033 /* end confdefs.h. */
44034
44035 #include <time.h>
44036
44037 int
44038 main ()
44039 {
44040
44041 int tz;
44042 tz = timezone;
44043
44044 ;
44045 return 0;
44046 }
44047 _ACEOF
44048 rm -f conftest.$ac_objext
44049 if { (ac_try="$ac_compile"
44050 case "(($ac_try" in
44051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44052 *) ac_try_echo=$ac_try;;
44053 esac
44054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44055 (eval "$ac_compile") 2>conftest.er1
44056 ac_status=$?
44057 grep -v '^ *+' conftest.er1 >conftest.err
44058 rm -f conftest.er1
44059 cat conftest.err >&5
44060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061 (exit $ac_status); } && {
44062 test -z "$ac_cxx_werror_flag" ||
44063 test ! -s conftest.err
44064 } && test -s conftest.$ac_objext; then
44065
44066 wx_cv_var_timezone=timezone
44067
44068 else
44069 echo "$as_me: failed program was:" >&5
44070 sed 's/^/| /' conftest.$ac_ext >&5
44071
44072
44073 cat >conftest.$ac_ext <<_ACEOF
44074 /* confdefs.h. */
44075 _ACEOF
44076 cat confdefs.h >>conftest.$ac_ext
44077 cat >>conftest.$ac_ext <<_ACEOF
44078 /* end confdefs.h. */
44079
44080 #include <time.h>
44081
44082 int
44083 main ()
44084 {
44085
44086 int tz;
44087 tz = _timezone;
44088
44089 ;
44090 return 0;
44091 }
44092 _ACEOF
44093 rm -f conftest.$ac_objext
44094 if { (ac_try="$ac_compile"
44095 case "(($ac_try" in
44096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44097 *) ac_try_echo=$ac_try;;
44098 esac
44099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44100 (eval "$ac_compile") 2>conftest.er1
44101 ac_status=$?
44102 grep -v '^ *+' conftest.er1 >conftest.err
44103 rm -f conftest.er1
44104 cat conftest.err >&5
44105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44106 (exit $ac_status); } && {
44107 test -z "$ac_cxx_werror_flag" ||
44108 test ! -s conftest.err
44109 } && test -s conftest.$ac_objext; then
44110
44111 wx_cv_var_timezone=_timezone
44112
44113 else
44114 echo "$as_me: failed program was:" >&5
44115 sed 's/^/| /' conftest.$ac_ext >&5
44116
44117
44118 cat >conftest.$ac_ext <<_ACEOF
44119 /* confdefs.h. */
44120 _ACEOF
44121 cat confdefs.h >>conftest.$ac_ext
44122 cat >>conftest.$ac_ext <<_ACEOF
44123 /* end confdefs.h. */
44124
44125 #include <time.h>
44126
44127 int
44128 main ()
44129 {
44130
44131 int tz;
44132 tz = __timezone;
44133
44134 ;
44135 return 0;
44136 }
44137 _ACEOF
44138 rm -f conftest.$ac_objext
44139 if { (ac_try="$ac_compile"
44140 case "(($ac_try" in
44141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44142 *) ac_try_echo=$ac_try;;
44143 esac
44144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44145 (eval "$ac_compile") 2>conftest.er1
44146 ac_status=$?
44147 grep -v '^ *+' conftest.er1 >conftest.err
44148 rm -f conftest.er1
44149 cat conftest.err >&5
44150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44151 (exit $ac_status); } && {
44152 test -z "$ac_cxx_werror_flag" ||
44153 test ! -s conftest.err
44154 } && test -s conftest.$ac_objext; then
44155
44156 wx_cv_var_timezone=__timezone
44157
44158 else
44159 echo "$as_me: failed program was:" >&5
44160 sed 's/^/| /' conftest.$ac_ext >&5
44161
44162
44163 if test "$USE_DOS" = 0 ; then
44164 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44165 echo "$as_me: WARNING: no timezone variable" >&2;}
44166 fi
44167
44168
44169 fi
44170
44171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44172
44173
44174 fi
44175
44176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44177
44178
44179 fi
44180
44181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44182 ac_ext=c
44183 ac_cpp='$CPP $CPPFLAGS'
44184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44187
44188
44189
44190 fi
44191 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44192 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44193
44194 if test "x$wx_cv_var_timezone" != x ; then
44195 cat >>confdefs.h <<_ACEOF
44196 #define WX_TIMEZONE $wx_cv_var_timezone
44197 _ACEOF
44198
44199 fi
44200
44201
44202 for ac_func in localtime
44203 do
44204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44205 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44207 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44208 echo $ECHO_N "(cached) $ECHO_C" >&6
44209 else
44210 cat >conftest.$ac_ext <<_ACEOF
44211 /* confdefs.h. */
44212 _ACEOF
44213 cat confdefs.h >>conftest.$ac_ext
44214 cat >>conftest.$ac_ext <<_ACEOF
44215 /* end confdefs.h. */
44216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44218 #define $ac_func innocuous_$ac_func
44219
44220 /* System header to define __stub macros and hopefully few prototypes,
44221 which can conflict with char $ac_func (); below.
44222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44223 <limits.h> exists even on freestanding compilers. */
44224
44225 #ifdef __STDC__
44226 # include <limits.h>
44227 #else
44228 # include <assert.h>
44229 #endif
44230
44231 #undef $ac_func
44232
44233 /* Override any GCC internal prototype to avoid an error.
44234 Use char because int might match the return type of a GCC
44235 builtin and then its argument prototype would still apply. */
44236 #ifdef __cplusplus
44237 extern "C"
44238 #endif
44239 char $ac_func ();
44240 /* The GNU C library defines this for functions which it implements
44241 to always fail with ENOSYS. Some functions are actually named
44242 something starting with __ and the normal name is an alias. */
44243 #if defined __stub_$ac_func || defined __stub___$ac_func
44244 choke me
44245 #endif
44246
44247 int
44248 main ()
44249 {
44250 return $ac_func ();
44251 ;
44252 return 0;
44253 }
44254 _ACEOF
44255 rm -f conftest.$ac_objext conftest$ac_exeext
44256 if { (ac_try="$ac_link"
44257 case "(($ac_try" in
44258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44259 *) ac_try_echo=$ac_try;;
44260 esac
44261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44262 (eval "$ac_link") 2>conftest.er1
44263 ac_status=$?
44264 grep -v '^ *+' conftest.er1 >conftest.err
44265 rm -f conftest.er1
44266 cat conftest.err >&5
44267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44268 (exit $ac_status); } && {
44269 test -z "$ac_c_werror_flag" ||
44270 test ! -s conftest.err
44271 } && test -s conftest$ac_exeext &&
44272 $as_test_x conftest$ac_exeext; then
44273 eval "$as_ac_var=yes"
44274 else
44275 echo "$as_me: failed program was:" >&5
44276 sed 's/^/| /' conftest.$ac_ext >&5
44277
44278 eval "$as_ac_var=no"
44279 fi
44280
44281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44282 conftest$ac_exeext conftest.$ac_ext
44283 fi
44284 ac_res=`eval echo '${'$as_ac_var'}'`
44285 { echo "$as_me:$LINENO: result: $ac_res" >&5
44286 echo "${ECHO_T}$ac_res" >&6; }
44287 if test `eval echo '${'$as_ac_var'}'` = yes; then
44288 cat >>confdefs.h <<_ACEOF
44289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44290 _ACEOF
44291
44292 fi
44293 done
44294
44295
44296 if test "$ac_cv_func_localtime" = "yes"; then
44297 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44298 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44299 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44300 echo $ECHO_N "(cached) $ECHO_C" >&6
44301 else
44302
44303 cat >conftest.$ac_ext <<_ACEOF
44304 /* confdefs.h. */
44305 _ACEOF
44306 cat confdefs.h >>conftest.$ac_ext
44307 cat >>conftest.$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44309
44310 #include <time.h>
44311
44312 int
44313 main ()
44314 {
44315
44316 struct tm tm;
44317 tm.tm_gmtoff++;
44318
44319 ;
44320 return 0;
44321 }
44322 _ACEOF
44323 rm -f conftest.$ac_objext
44324 if { (ac_try="$ac_compile"
44325 case "(($ac_try" in
44326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44327 *) ac_try_echo=$ac_try;;
44328 esac
44329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44330 (eval "$ac_compile") 2>conftest.er1
44331 ac_status=$?
44332 grep -v '^ *+' conftest.er1 >conftest.err
44333 rm -f conftest.er1
44334 cat conftest.err >&5
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); } && {
44337 test -z "$ac_c_werror_flag" ||
44338 test ! -s conftest.err
44339 } && test -s conftest.$ac_objext; then
44340
44341 wx_cv_struct_tm_has_gmtoff=yes
44342
44343 else
44344 echo "$as_me: failed program was:" >&5
44345 sed 's/^/| /' conftest.$ac_ext >&5
44346
44347 wx_cv_struct_tm_has_gmtoff=no
44348
44349 fi
44350
44351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44352
44353 fi
44354 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44355 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44356 fi
44357
44358 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44359 cat >>confdefs.h <<\_ACEOF
44360 #define WX_GMTOFF_IN_TM 1
44361 _ACEOF
44362
44363 fi
44364
44365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44366 fi
44367
44368
44369 if test "$wxUSE_SOCKETS" = "yes"; then
44370 if test "$wxUSE_MGL" = 1; then
44371 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44372 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44373 wxUSE_SOCKETS="no"
44374 fi
44375 fi
44376
44377 if test "$wxUSE_SOCKETS" = "yes"; then
44378 if test "$TOOLKIT" != "MSW"; then
44379 { echo "$as_me:$LINENO: checking for socket" >&5
44380 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44381 if test "${ac_cv_func_socket+set}" = set; then
44382 echo $ECHO_N "(cached) $ECHO_C" >&6
44383 else
44384 cat >conftest.$ac_ext <<_ACEOF
44385 /* confdefs.h. */
44386 _ACEOF
44387 cat confdefs.h >>conftest.$ac_ext
44388 cat >>conftest.$ac_ext <<_ACEOF
44389 /* end confdefs.h. */
44390 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44392 #define socket innocuous_socket
44393
44394 /* System header to define __stub macros and hopefully few prototypes,
44395 which can conflict with char socket (); below.
44396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44397 <limits.h> exists even on freestanding compilers. */
44398
44399 #ifdef __STDC__
44400 # include <limits.h>
44401 #else
44402 # include <assert.h>
44403 #endif
44404
44405 #undef socket
44406
44407 /* Override any GCC internal prototype to avoid an error.
44408 Use char because int might match the return type of a GCC
44409 builtin and then its argument prototype would still apply. */
44410 #ifdef __cplusplus
44411 extern "C"
44412 #endif
44413 char socket ();
44414 /* The GNU C library defines this for functions which it implements
44415 to always fail with ENOSYS. Some functions are actually named
44416 something starting with __ and the normal name is an alias. */
44417 #if defined __stub_socket || defined __stub___socket
44418 choke me
44419 #endif
44420
44421 int
44422 main ()
44423 {
44424 return socket ();
44425 ;
44426 return 0;
44427 }
44428 _ACEOF
44429 rm -f conftest.$ac_objext conftest$ac_exeext
44430 if { (ac_try="$ac_link"
44431 case "(($ac_try" in
44432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44433 *) ac_try_echo=$ac_try;;
44434 esac
44435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44436 (eval "$ac_link") 2>conftest.er1
44437 ac_status=$?
44438 grep -v '^ *+' conftest.er1 >conftest.err
44439 rm -f conftest.er1
44440 cat conftest.err >&5
44441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44442 (exit $ac_status); } && {
44443 test -z "$ac_c_werror_flag" ||
44444 test ! -s conftest.err
44445 } && test -s conftest$ac_exeext &&
44446 $as_test_x conftest$ac_exeext; then
44447 ac_cv_func_socket=yes
44448 else
44449 echo "$as_me: failed program was:" >&5
44450 sed 's/^/| /' conftest.$ac_ext >&5
44451
44452 ac_cv_func_socket=no
44453 fi
44454
44455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44456 conftest$ac_exeext conftest.$ac_ext
44457 fi
44458 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44459 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44460 if test $ac_cv_func_socket = yes; then
44461 :
44462 else
44463
44464 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44465 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44466 if test "${ac_cv_lib_socket_socket+set}" = set; then
44467 echo $ECHO_N "(cached) $ECHO_C" >&6
44468 else
44469 ac_check_lib_save_LIBS=$LIBS
44470 LIBS="-lsocket $LIBS"
44471 cat >conftest.$ac_ext <<_ACEOF
44472 /* confdefs.h. */
44473 _ACEOF
44474 cat confdefs.h >>conftest.$ac_ext
44475 cat >>conftest.$ac_ext <<_ACEOF
44476 /* end confdefs.h. */
44477
44478 /* Override any GCC internal prototype to avoid an error.
44479 Use char because int might match the return type of a GCC
44480 builtin and then its argument prototype would still apply. */
44481 #ifdef __cplusplus
44482 extern "C"
44483 #endif
44484 char socket ();
44485 int
44486 main ()
44487 {
44488 return socket ();
44489 ;
44490 return 0;
44491 }
44492 _ACEOF
44493 rm -f conftest.$ac_objext conftest$ac_exeext
44494 if { (ac_try="$ac_link"
44495 case "(($ac_try" in
44496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44497 *) ac_try_echo=$ac_try;;
44498 esac
44499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44500 (eval "$ac_link") 2>conftest.er1
44501 ac_status=$?
44502 grep -v '^ *+' conftest.er1 >conftest.err
44503 rm -f conftest.er1
44504 cat conftest.err >&5
44505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44506 (exit $ac_status); } && {
44507 test -z "$ac_c_werror_flag" ||
44508 test ! -s conftest.err
44509 } && test -s conftest$ac_exeext &&
44510 $as_test_x conftest$ac_exeext; then
44511 ac_cv_lib_socket_socket=yes
44512 else
44513 echo "$as_me: failed program was:" >&5
44514 sed 's/^/| /' conftest.$ac_ext >&5
44515
44516 ac_cv_lib_socket_socket=no
44517 fi
44518
44519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44520 conftest$ac_exeext conftest.$ac_ext
44521 LIBS=$ac_check_lib_save_LIBS
44522 fi
44523 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44524 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44525 if test $ac_cv_lib_socket_socket = yes; then
44526 if test "$INET_LINK" != " -lsocket"; then
44527 INET_LINK="$INET_LINK -lsocket"
44528 fi
44529 else
44530
44531 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44532 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44533 wxUSE_SOCKETS=no
44534
44535
44536 fi
44537
44538
44539
44540 fi
44541
44542 fi
44543 fi
44544
44545 if test "$wxUSE_SOCKETS" = "yes" ; then
44546 if test "$TOOLKIT" != "MSW"; then
44547 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44548 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44549 if test "${wx_cv_type_getsockname3+set}" = set; then
44550 echo $ECHO_N "(cached) $ECHO_C" >&6
44551 else
44552
44553 ac_ext=cpp
44554 ac_cpp='$CXXCPP $CPPFLAGS'
44555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44558
44559 cat >conftest.$ac_ext <<_ACEOF
44560 /* confdefs.h. */
44561 _ACEOF
44562 cat confdefs.h >>conftest.$ac_ext
44563 cat >>conftest.$ac_ext <<_ACEOF
44564 /* end confdefs.h. */
44565
44566 #include <sys/types.h>
44567 #include <sys/socket.h>
44568
44569 int
44570 main ()
44571 {
44572
44573 socklen_t len;
44574 getsockname(0, 0, &len);
44575
44576 ;
44577 return 0;
44578 }
44579 _ACEOF
44580 rm -f conftest.$ac_objext
44581 if { (ac_try="$ac_compile"
44582 case "(($ac_try" in
44583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44584 *) ac_try_echo=$ac_try;;
44585 esac
44586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44587 (eval "$ac_compile") 2>conftest.er1
44588 ac_status=$?
44589 grep -v '^ *+' conftest.er1 >conftest.err
44590 rm -f conftest.er1
44591 cat conftest.err >&5
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); } && {
44594 test -z "$ac_cxx_werror_flag" ||
44595 test ! -s conftest.err
44596 } && test -s conftest.$ac_objext; then
44597 wx_cv_type_getsockname3=socklen_t
44598 else
44599 echo "$as_me: failed program was:" >&5
44600 sed 's/^/| /' conftest.$ac_ext >&5
44601
44602
44603 CFLAGS_OLD="$CFLAGS"
44604 if test "$GCC" = yes ; then
44605 CFLAGS="-Werror $CFLAGS"
44606 fi
44607
44608 cat >conftest.$ac_ext <<_ACEOF
44609 /* confdefs.h. */
44610 _ACEOF
44611 cat confdefs.h >>conftest.$ac_ext
44612 cat >>conftest.$ac_ext <<_ACEOF
44613 /* end confdefs.h. */
44614
44615 #include <sys/types.h>
44616 #include <sys/socket.h>
44617
44618 int
44619 main ()
44620 {
44621
44622 size_t len;
44623 getsockname(0, 0, &len);
44624
44625 ;
44626 return 0;
44627 }
44628 _ACEOF
44629 rm -f conftest.$ac_objext
44630 if { (ac_try="$ac_compile"
44631 case "(($ac_try" in
44632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44633 *) ac_try_echo=$ac_try;;
44634 esac
44635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44636 (eval "$ac_compile") 2>conftest.er1
44637 ac_status=$?
44638 grep -v '^ *+' conftest.er1 >conftest.err
44639 rm -f conftest.er1
44640 cat conftest.err >&5
44641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44642 (exit $ac_status); } && {
44643 test -z "$ac_cxx_werror_flag" ||
44644 test ! -s conftest.err
44645 } && test -s conftest.$ac_objext; then
44646 wx_cv_type_getsockname3=size_t
44647 else
44648 echo "$as_me: failed program was:" >&5
44649 sed 's/^/| /' conftest.$ac_ext >&5
44650
44651 cat >conftest.$ac_ext <<_ACEOF
44652 /* confdefs.h. */
44653 _ACEOF
44654 cat confdefs.h >>conftest.$ac_ext
44655 cat >>conftest.$ac_ext <<_ACEOF
44656 /* end confdefs.h. */
44657
44658 #include <sys/types.h>
44659 #include <sys/socket.h>
44660
44661 int
44662 main ()
44663 {
44664
44665 int len;
44666 getsockname(0, 0, &len);
44667
44668 ;
44669 return 0;
44670 }
44671 _ACEOF
44672 rm -f conftest.$ac_objext
44673 if { (ac_try="$ac_compile"
44674 case "(($ac_try" in
44675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44676 *) ac_try_echo=$ac_try;;
44677 esac
44678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44679 (eval "$ac_compile") 2>conftest.er1
44680 ac_status=$?
44681 grep -v '^ *+' conftest.er1 >conftest.err
44682 rm -f conftest.er1
44683 cat conftest.err >&5
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); } && {
44686 test -z "$ac_cxx_werror_flag" ||
44687 test ! -s conftest.err
44688 } && test -s conftest.$ac_objext; then
44689 wx_cv_type_getsockname3=int
44690 else
44691 echo "$as_me: failed program was:" >&5
44692 sed 's/^/| /' conftest.$ac_ext >&5
44693
44694 wx_cv_type_getsockname3=unknown
44695
44696 fi
44697
44698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44699
44700 fi
44701
44702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44703
44704 CFLAGS="$CFLAGS_OLD"
44705
44706
44707 fi
44708
44709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44710 ac_ext=c
44711 ac_cpp='$CPP $CPPFLAGS'
44712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44715
44716
44717 fi
44718 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44719 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44720
44721 if test "$wx_cv_type_getsockname3" = "unknown"; then
44722 wxUSE_SOCKETS=no
44723 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44724 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44725 else
44726 cat >>confdefs.h <<_ACEOF
44727 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44728 _ACEOF
44729
44730 fi
44731 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44732 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44733 if test "${wx_cv_type_getsockopt5+set}" = set; then
44734 echo $ECHO_N "(cached) $ECHO_C" >&6
44735 else
44736
44737 ac_ext=cpp
44738 ac_cpp='$CXXCPP $CPPFLAGS'
44739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44742
44743 cat >conftest.$ac_ext <<_ACEOF
44744 /* confdefs.h. */
44745 _ACEOF
44746 cat confdefs.h >>conftest.$ac_ext
44747 cat >>conftest.$ac_ext <<_ACEOF
44748 /* end confdefs.h. */
44749
44750 #include <sys/types.h>
44751 #include <sys/socket.h>
44752
44753 int
44754 main ()
44755 {
44756
44757 socklen_t len;
44758 getsockopt(0, 0, 0, 0, &len);
44759
44760 ;
44761 return 0;
44762 }
44763 _ACEOF
44764 rm -f conftest.$ac_objext
44765 if { (ac_try="$ac_compile"
44766 case "(($ac_try" in
44767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44768 *) ac_try_echo=$ac_try;;
44769 esac
44770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44771 (eval "$ac_compile") 2>conftest.er1
44772 ac_status=$?
44773 grep -v '^ *+' conftest.er1 >conftest.err
44774 rm -f conftest.er1
44775 cat conftest.err >&5
44776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44777 (exit $ac_status); } && {
44778 test -z "$ac_cxx_werror_flag" ||
44779 test ! -s conftest.err
44780 } && test -s conftest.$ac_objext; then
44781 wx_cv_type_getsockopt5=socklen_t
44782 else
44783 echo "$as_me: failed program was:" >&5
44784 sed 's/^/| /' conftest.$ac_ext >&5
44785
44786
44787 cat >conftest.$ac_ext <<_ACEOF
44788 /* confdefs.h. */
44789 _ACEOF
44790 cat confdefs.h >>conftest.$ac_ext
44791 cat >>conftest.$ac_ext <<_ACEOF
44792 /* end confdefs.h. */
44793
44794 #include <sys/types.h>
44795 #include <sys/socket.h>
44796
44797 int
44798 main ()
44799 {
44800
44801 size_t len;
44802 getsockopt(0, 0, 0, 0, &len);
44803
44804 ;
44805 return 0;
44806 }
44807 _ACEOF
44808 rm -f conftest.$ac_objext
44809 if { (ac_try="$ac_compile"
44810 case "(($ac_try" in
44811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44812 *) ac_try_echo=$ac_try;;
44813 esac
44814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44815 (eval "$ac_compile") 2>conftest.er1
44816 ac_status=$?
44817 grep -v '^ *+' conftest.er1 >conftest.err
44818 rm -f conftest.er1
44819 cat conftest.err >&5
44820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44821 (exit $ac_status); } && {
44822 test -z "$ac_cxx_werror_flag" ||
44823 test ! -s conftest.err
44824 } && test -s conftest.$ac_objext; then
44825 wx_cv_type_getsockopt5=size_t
44826 else
44827 echo "$as_me: failed program was:" >&5
44828 sed 's/^/| /' conftest.$ac_ext >&5
44829
44830 cat >conftest.$ac_ext <<_ACEOF
44831 /* confdefs.h. */
44832 _ACEOF
44833 cat confdefs.h >>conftest.$ac_ext
44834 cat >>conftest.$ac_ext <<_ACEOF
44835 /* end confdefs.h. */
44836
44837 #include <sys/types.h>
44838 #include <sys/socket.h>
44839
44840 int
44841 main ()
44842 {
44843
44844 int len;
44845 getsockopt(0, 0, 0, 0, &len);
44846
44847 ;
44848 return 0;
44849 }
44850 _ACEOF
44851 rm -f conftest.$ac_objext
44852 if { (ac_try="$ac_compile"
44853 case "(($ac_try" in
44854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44855 *) ac_try_echo=$ac_try;;
44856 esac
44857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44858 (eval "$ac_compile") 2>conftest.er1
44859 ac_status=$?
44860 grep -v '^ *+' conftest.er1 >conftest.err
44861 rm -f conftest.er1
44862 cat conftest.err >&5
44863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44864 (exit $ac_status); } && {
44865 test -z "$ac_cxx_werror_flag" ||
44866 test ! -s conftest.err
44867 } && test -s conftest.$ac_objext; then
44868 wx_cv_type_getsockopt5=int
44869 else
44870 echo "$as_me: failed program was:" >&5
44871 sed 's/^/| /' conftest.$ac_ext >&5
44872
44873 wx_cv_type_getsockopt5=unknown
44874
44875 fi
44876
44877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44878
44879 fi
44880
44881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44882
44883
44884 fi
44885
44886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44887 ac_ext=c
44888 ac_cpp='$CPP $CPPFLAGS'
44889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44892
44893
44894 fi
44895 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44896 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44897
44898 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44899 wxUSE_SOCKETS=no
44900 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44901 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44902 else
44903 cat >>confdefs.h <<_ACEOF
44904 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44905 _ACEOF
44906
44907 fi
44908 fi
44909 fi
44910
44911 if test "$wxUSE_SOCKETS" = "yes" ; then
44912 if test "$wxUSE_IPV6" = "yes"; then
44913 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44914 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44915 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44916 echo $ECHO_N "(cached) $ECHO_C" >&6
44917 else
44918
44919 cat >conftest.$ac_ext <<_ACEOF
44920 /* confdefs.h. */
44921 _ACEOF
44922 cat confdefs.h >>conftest.$ac_ext
44923 cat >>conftest.$ac_ext <<_ACEOF
44924 /* end confdefs.h. */
44925
44926 #include <sys/types.h>
44927 #include <sys/socket.h>
44928 #include <netinet/in.h>
44929
44930 int
44931 main ()
44932 {
44933
44934 struct sockaddr_in6 sa6;
44935
44936 ;
44937 return 0;
44938 }
44939 _ACEOF
44940 rm -f conftest.$ac_objext
44941 if { (ac_try="$ac_compile"
44942 case "(($ac_try" in
44943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44944 *) ac_try_echo=$ac_try;;
44945 esac
44946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44947 (eval "$ac_compile") 2>conftest.er1
44948 ac_status=$?
44949 grep -v '^ *+' conftest.er1 >conftest.err
44950 rm -f conftest.er1
44951 cat conftest.err >&5
44952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44953 (exit $ac_status); } && {
44954 test -z "$ac_c_werror_flag" ||
44955 test ! -s conftest.err
44956 } && test -s conftest.$ac_objext; then
44957 wx_cv_type_sockaddr_in6=yes
44958 else
44959 echo "$as_me: failed program was:" >&5
44960 sed 's/^/| /' conftest.$ac_ext >&5
44961
44962 wx_cv_type_sockaddr_in6=no
44963
44964 fi
44965
44966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44967
44968
44969 fi
44970 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44971 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44972
44973 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44974 cat >>confdefs.h <<\_ACEOF
44975 #define wxUSE_IPV6 1
44976 _ACEOF
44977
44978 else
44979 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44980 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44981 fi
44982 fi
44983
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_SOCKETS 1
44986 _ACEOF
44987
44988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44989 fi
44990
44991 if test "$wxUSE_PROTOCOL" = "yes"; then
44992 if test "$wxUSE_SOCKETS" != "yes"; then
44993 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44994 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44995 wxUSE_PROTOCOL=no
44996 fi
44997 fi
44998
44999 if test "$wxUSE_PROTOCOL" = "yes"; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_PROTOCOL 1
45002 _ACEOF
45003
45004
45005 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45006 cat >>confdefs.h <<\_ACEOF
45007 #define wxUSE_PROTOCOL_HTTP 1
45008 _ACEOF
45009
45010 fi
45011 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45012 cat >>confdefs.h <<\_ACEOF
45013 #define wxUSE_PROTOCOL_FTP 1
45014 _ACEOF
45015
45016 fi
45017 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45018 cat >>confdefs.h <<\_ACEOF
45019 #define wxUSE_PROTOCOL_FILE 1
45020 _ACEOF
45021
45022 fi
45023 else
45024 if test "$wxUSE_FS_INET" = "yes"; then
45025 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45026 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45027 wxUSE_FS_INET="no"
45028 fi
45029 fi
45030
45031 if test "$wxUSE_URL" = "yes"; then
45032 if test "$wxUSE_PROTOCOL" != "yes"; then
45033 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45034 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45035 wxUSE_URL=no
45036 fi
45037 if test "$wxUSE_URL" = "yes"; then
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_URL 1
45040 _ACEOF
45041
45042 fi
45043 fi
45044
45045 if test "$wxUSE_VARIANT" = "yes"; then
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_VARIANT 1
45048 _ACEOF
45049
45050 fi
45051
45052 if test "$wxUSE_FS_INET" = "yes"; then
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_FS_INET 1
45055 _ACEOF
45056
45057 fi
45058
45059
45060 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45061 wxUSE_JOYSTICK=no
45062
45063 if test "$TOOLKIT" = "MSW"; then
45064 wxUSE_JOYSTICK=yes
45065
45066 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45067 if test "$USE_DARWIN" = 1; then
45068 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45069 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45070 ac_ext=cpp
45071 ac_cpp='$CXXCPP $CPPFLAGS'
45072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45075
45076 cat >conftest.$ac_ext <<_ACEOF
45077 /* confdefs.h. */
45078 _ACEOF
45079 cat confdefs.h >>conftest.$ac_ext
45080 cat >>conftest.$ac_ext <<_ACEOF
45081 /* end confdefs.h. */
45082 #include <IOKit/hid/IOHIDLib.h>
45083 int
45084 main ()
45085 {
45086 IOHIDQueueInterface *qi = NULL;
45087 IOHIDCallbackFunction cb = NULL;
45088 qi->setEventCallout(NULL, cb, NULL, NULL);
45089 ;
45090 return 0;
45091 }
45092 _ACEOF
45093 rm -f conftest.$ac_objext
45094 if { (ac_try="$ac_compile"
45095 case "(($ac_try" in
45096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45097 *) ac_try_echo=$ac_try;;
45098 esac
45099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45100 (eval "$ac_compile") 2>conftest.er1
45101 ac_status=$?
45102 grep -v '^ *+' conftest.er1 >conftest.err
45103 rm -f conftest.er1
45104 cat conftest.err >&5
45105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45106 (exit $ac_status); } && {
45107 test -z "$ac_cxx_werror_flag" ||
45108 test ! -s conftest.err
45109 } && test -s conftest.$ac_objext; then
45110 wxUSE_JOYSTICK=yes
45111
45112 else
45113 echo "$as_me: failed program was:" >&5
45114 sed 's/^/| /' conftest.$ac_ext >&5
45115
45116
45117 fi
45118
45119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45120 ac_ext=c
45121 ac_cpp='$CPP $CPPFLAGS'
45122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45125
45126 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45127 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45128 fi
45129
45130 else
45131 if test "$wxUSE_MGL" != 1; then
45132
45133 for ac_header in linux/joystick.h
45134 do
45135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45136 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45138 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45139 echo $ECHO_N "(cached) $ECHO_C" >&6
45140 else
45141 cat >conftest.$ac_ext <<_ACEOF
45142 /* confdefs.h. */
45143 _ACEOF
45144 cat confdefs.h >>conftest.$ac_ext
45145 cat >>conftest.$ac_ext <<_ACEOF
45146 /* end confdefs.h. */
45147 $ac_includes_default
45148
45149 #include <$ac_header>
45150 _ACEOF
45151 rm -f conftest.$ac_objext
45152 if { (ac_try="$ac_compile"
45153 case "(($ac_try" in
45154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45155 *) ac_try_echo=$ac_try;;
45156 esac
45157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45158 (eval "$ac_compile") 2>conftest.er1
45159 ac_status=$?
45160 grep -v '^ *+' conftest.er1 >conftest.err
45161 rm -f conftest.er1
45162 cat conftest.err >&5
45163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45164 (exit $ac_status); } && {
45165 test -z "$ac_c_werror_flag" ||
45166 test ! -s conftest.err
45167 } && test -s conftest.$ac_objext; then
45168 eval "$as_ac_Header=yes"
45169 else
45170 echo "$as_me: failed program was:" >&5
45171 sed 's/^/| /' conftest.$ac_ext >&5
45172
45173 eval "$as_ac_Header=no"
45174 fi
45175
45176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45177 fi
45178 ac_res=`eval echo '${'$as_ac_Header'}'`
45179 { echo "$as_me:$LINENO: result: $ac_res" >&5
45180 echo "${ECHO_T}$ac_res" >&6; }
45181 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45182 cat >>confdefs.h <<_ACEOF
45183 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45184 _ACEOF
45185 wxUSE_JOYSTICK=yes
45186 fi
45187
45188 done
45189
45190 fi
45191 fi
45192
45193 if test "$wxUSE_JOYSTICK" = "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_JOYSTICK 1
45196 _ACEOF
45197
45198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45199 else
45200 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45201 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45202 fi
45203 fi
45204
45205
45206
45207 if test "$wxUSE_FONTENUM" = "yes" ; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_FONTENUM 1
45210 _ACEOF
45211
45212 fi
45213
45214 if test "$wxUSE_FONTMAP" = "yes" ; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_FONTMAP 1
45217 _ACEOF
45218
45219 fi
45220
45221 if test "$wxUSE_UNICODE" = "yes" ; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_UNICODE 1
45224 _ACEOF
45225
45226
45227 if test "$USE_WIN32" != 1; then
45228 wxUSE_UNICODE_MSLU=no
45229 fi
45230
45231 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45232 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45233 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45234 if test "${ac_cv_lib_unicows_main+set}" = set; then
45235 echo $ECHO_N "(cached) $ECHO_C" >&6
45236 else
45237 ac_check_lib_save_LIBS=$LIBS
45238 LIBS="-lunicows $LIBS"
45239 cat >conftest.$ac_ext <<_ACEOF
45240 /* confdefs.h. */
45241 _ACEOF
45242 cat confdefs.h >>conftest.$ac_ext
45243 cat >>conftest.$ac_ext <<_ACEOF
45244 /* end confdefs.h. */
45245
45246
45247 int
45248 main ()
45249 {
45250 return main ();
45251 ;
45252 return 0;
45253 }
45254 _ACEOF
45255 rm -f conftest.$ac_objext conftest$ac_exeext
45256 if { (ac_try="$ac_link"
45257 case "(($ac_try" in
45258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45259 *) ac_try_echo=$ac_try;;
45260 esac
45261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45262 (eval "$ac_link") 2>conftest.er1
45263 ac_status=$?
45264 grep -v '^ *+' conftest.er1 >conftest.err
45265 rm -f conftest.er1
45266 cat conftest.err >&5
45267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268 (exit $ac_status); } && {
45269 test -z "$ac_c_werror_flag" ||
45270 test ! -s conftest.err
45271 } && test -s conftest$ac_exeext &&
45272 $as_test_x conftest$ac_exeext; then
45273 ac_cv_lib_unicows_main=yes
45274 else
45275 echo "$as_me: failed program was:" >&5
45276 sed 's/^/| /' conftest.$ac_ext >&5
45277
45278 ac_cv_lib_unicows_main=no
45279 fi
45280
45281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45282 conftest$ac_exeext conftest.$ac_ext
45283 LIBS=$ac_check_lib_save_LIBS
45284 fi
45285 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45286 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45287 if test $ac_cv_lib_unicows_main = yes; then
45288
45289 cat >>confdefs.h <<\_ACEOF
45290 #define wxUSE_UNICODE_MSLU 1
45291 _ACEOF
45292
45293
45294 else
45295
45296 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45297 Applications will only run on Windows NT/2000/XP!" >&5
45298 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45299 Applications will only run on Windows NT/2000/XP!" >&2;}
45300 wxUSE_UNICODE_MSLU=no
45301
45302 fi
45303
45304 fi
45305 fi
45306
45307 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45308 cat >>confdefs.h <<\_ACEOF
45309 #define wxUSE_UNICODE_UTF8 1
45310 _ACEOF
45311
45312
45313 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_UTF8_LOCALE_ONLY 1
45316 _ACEOF
45317
45318 fi
45319 fi
45320
45321
45322 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45323 cat >>confdefs.h <<\_ACEOF
45324 #define wxUSE_CONSTRAINTS 1
45325 _ACEOF
45326
45327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45328 fi
45329
45330 if test "$wxUSE_MDI" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_MDI 1
45333 _ACEOF
45334
45335
45336 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45337 cat >>confdefs.h <<\_ACEOF
45338 #define wxUSE_MDI_ARCHITECTURE 1
45339 _ACEOF
45340
45341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45342 fi
45343 fi
45344
45345 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45346 cat >>confdefs.h <<\_ACEOF
45347 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45348 _ACEOF
45349
45350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45351 fi
45352
45353 if test "$wxUSE_HELP" = "yes"; then
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_HELP 1
45356 _ACEOF
45357
45358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45359
45360 if test "$wxUSE_MSW" = 1; then
45361 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45362 cat >>confdefs.h <<\_ACEOF
45363 #define wxUSE_MS_HTML_HELP 1
45364 _ACEOF
45365
45366 fi
45367 fi
45368
45369 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45370 if test "$wxUSE_HTML" = "yes"; then
45371 cat >>confdefs.h <<\_ACEOF
45372 #define wxUSE_WXHTML_HELP 1
45373 _ACEOF
45374
45375 else
45376 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45377 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45378 wxUSE_WXHTML_HELP=no
45379 fi
45380 fi
45381 fi
45382
45383 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45384 cat >>confdefs.h <<\_ACEOF
45385 #define wxUSE_PRINTING_ARCHITECTURE 1
45386 _ACEOF
45387
45388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45389 fi
45390
45391 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45392 cat >>confdefs.h <<\_ACEOF
45393 #define wxUSE_POSTSCRIPT 1
45394 _ACEOF
45395
45396 fi
45397
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45400 _ACEOF
45401
45402
45403 if test "$wxUSE_SVG" = "yes"; then
45404 cat >>confdefs.h <<\_ACEOF
45405 #define wxUSE_SVG 1
45406 _ACEOF
45407
45408 fi
45409
45410
45411 if test "$wxUSE_METAFILE" = "yes"; then
45412 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45413 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45414 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45415 wxUSE_METAFILE=no
45416 fi
45417 fi
45418
45419
45420 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45421 -o "$wxUSE_CLIPBOARD" = "yes" \
45422 -o "$wxUSE_OLE" = "yes" \
45423 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45424 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45425 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45426 if test "${ac_cv_header_ole2_h+set}" = set; then
45427 echo $ECHO_N "(cached) $ECHO_C" >&6
45428 else
45429 cat >conftest.$ac_ext <<_ACEOF
45430 /* confdefs.h. */
45431 _ACEOF
45432 cat confdefs.h >>conftest.$ac_ext
45433 cat >>conftest.$ac_ext <<_ACEOF
45434 /* end confdefs.h. */
45435
45436
45437 #include <ole2.h>
45438 _ACEOF
45439 rm -f conftest.$ac_objext
45440 if { (ac_try="$ac_compile"
45441 case "(($ac_try" in
45442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45443 *) ac_try_echo=$ac_try;;
45444 esac
45445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45446 (eval "$ac_compile") 2>conftest.er1
45447 ac_status=$?
45448 grep -v '^ *+' conftest.er1 >conftest.err
45449 rm -f conftest.er1
45450 cat conftest.err >&5
45451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45452 (exit $ac_status); } && {
45453 test -z "$ac_c_werror_flag" ||
45454 test ! -s conftest.err
45455 } && test -s conftest.$ac_objext; then
45456 ac_cv_header_ole2_h=yes
45457 else
45458 echo "$as_me: failed program was:" >&5
45459 sed 's/^/| /' conftest.$ac_ext >&5
45460
45461 ac_cv_header_ole2_h=no
45462 fi
45463
45464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45465 fi
45466 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45467 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45468
45469
45470
45471 if test "$ac_cv_header_ole2_h" = "yes" ; then
45472 if test "$GCC" = yes ; then
45473 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45474 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45475 cat >conftest.$ac_ext <<_ACEOF
45476 /* confdefs.h. */
45477 _ACEOF
45478 cat confdefs.h >>conftest.$ac_ext
45479 cat >>conftest.$ac_ext <<_ACEOF
45480 /* end confdefs.h. */
45481 #include <windows.h>
45482 #include <ole2.h>
45483 int
45484 main ()
45485 {
45486
45487 ;
45488 return 0;
45489 }
45490 _ACEOF
45491 rm -f conftest.$ac_objext
45492 if { (ac_try="$ac_compile"
45493 case "(($ac_try" in
45494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45495 *) ac_try_echo=$ac_try;;
45496 esac
45497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45498 (eval "$ac_compile") 2>conftest.er1
45499 ac_status=$?
45500 grep -v '^ *+' conftest.er1 >conftest.err
45501 rm -f conftest.er1
45502 cat conftest.err >&5
45503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45504 (exit $ac_status); } && {
45505 test -z "$ac_c_werror_flag" ||
45506 test ! -s conftest.err
45507 } && test -s conftest.$ac_objext; then
45508 { echo "$as_me:$LINENO: result: no" >&5
45509 echo "${ECHO_T}no" >&6; }
45510 else
45511 echo "$as_me: failed program was:" >&5
45512 sed 's/^/| /' conftest.$ac_ext >&5
45513
45514 { echo "$as_me:$LINENO: result: yes" >&5
45515 echo "${ECHO_T}yes" >&6; }
45516 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45517 fi
45518
45519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45520 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45521 if test "$wxUSE_OLE" = "yes" ; then
45522 cat >>confdefs.h <<\_ACEOF
45523 #define wxUSE_OLE 1
45524 _ACEOF
45525
45526 cat >>confdefs.h <<\_ACEOF
45527 #define wxUSE_OLE_AUTOMATION 1
45528 _ACEOF
45529
45530 cat >>confdefs.h <<\_ACEOF
45531 #define wxUSE_ACTIVEX 1
45532 _ACEOF
45533
45534 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45535 fi
45536 fi
45537
45538 if test "$wxUSE_DATAOBJ" = "yes" ; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_DATAOBJ 1
45541 _ACEOF
45542
45543 fi
45544 else
45545 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45546 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45547
45548 wxUSE_CLIPBOARD=no
45549 wxUSE_DRAG_AND_DROP=no
45550 wxUSE_DATAOBJ=no
45551 wxUSE_OLE=no
45552 fi
45553
45554 if test "$wxUSE_METAFILE" = "yes"; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_METAFILE 1
45557 _ACEOF
45558
45559
45560 cat >>confdefs.h <<\_ACEOF
45561 #define wxUSE_ENH_METAFILE 1
45562 _ACEOF
45563
45564 fi
45565 fi
45566
45567 if test "$wxUSE_IPC" = "yes"; then
45568 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45569 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45570 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45571 wxUSE_IPC=no
45572 fi
45573
45574 if test "$wxUSE_IPC" = "yes"; then
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_IPC 1
45577 _ACEOF
45578
45579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45580 fi
45581 fi
45582
45583 if test "$wxUSE_DATAOBJ" = "yes"; then
45584 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45585 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45586 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45587 wxUSE_DATAOBJ=no
45588 else
45589 cat >>confdefs.h <<\_ACEOF
45590 #define wxUSE_DATAOBJ 1
45591 _ACEOF
45592
45593 fi
45594 else
45595 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45596 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45597 wxUSE_CLIPBOARD=no
45598 wxUSE_DRAG_AND_DROP=no
45599 fi
45600
45601 if test "$wxUSE_CLIPBOARD" = "yes"; then
45602 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45603 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45604 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45605 wxUSE_CLIPBOARD=no
45606 fi
45607
45608 if test "$wxUSE_CLIPBOARD" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_CLIPBOARD 1
45611 _ACEOF
45612
45613 fi
45614 fi
45615
45616 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45617 if test "$wxUSE_GTK" = 1; then
45618 if test "$WXGTK12" != 1; then
45619 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45620 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45621 wxUSE_DRAG_AND_DROP=no
45622 fi
45623 fi
45624
45625 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45626 "$wxUSE_DFB" = 1; then
45627 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45628 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45629 wxUSE_DRAG_AND_DROP=no
45630 fi
45631
45632 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_DRAG_AND_DROP 1
45635 _ACEOF
45636
45637 fi
45638
45639 fi
45640
45641 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45643 fi
45644
45645 if test "$wxUSE_CLIPBOARD" = "yes"; then
45646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45647 fi
45648
45649 if test "$wxUSE_SPLINES" = "yes" ; then
45650 cat >>confdefs.h <<\_ACEOF
45651 #define wxUSE_SPLINES 1
45652 _ACEOF
45653
45654 fi
45655
45656 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_MOUSEWHEEL 1
45659 _ACEOF
45660
45661 fi
45662
45663
45664 USES_CONTROLS=0
45665 if test "$wxUSE_CONTROLS" = "yes"; then
45666 USES_CONTROLS=1
45667 fi
45668
45669 if test "$wxUSE_ACCEL" = "yes"; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_ACCEL 1
45672 _ACEOF
45673
45674 USES_CONTROLS=1
45675 fi
45676
45677 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45678 cat >>confdefs.h <<\_ACEOF
45679 #define wxUSE_ANIMATIONCTRL 1
45680 _ACEOF
45681
45682 USES_CONTROLS=1
45683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45684 fi
45685
45686 if test "$wxUSE_BUTTON" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_BUTTON 1
45689 _ACEOF
45690
45691 USES_CONTROLS=1
45692 fi
45693
45694 if test "$wxUSE_BMPBUTTON" = "yes"; then
45695 cat >>confdefs.h <<\_ACEOF
45696 #define wxUSE_BMPBUTTON 1
45697 _ACEOF
45698
45699 USES_CONTROLS=1
45700 fi
45701
45702 if test "$wxUSE_CALCTRL" = "yes"; then
45703 cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_CALENDARCTRL 1
45705 _ACEOF
45706
45707 USES_CONTROLS=1
45708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45709 fi
45710
45711 if test "$wxUSE_CARET" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_CARET 1
45714 _ACEOF
45715
45716 USES_CONTROLS=1
45717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45718 fi
45719
45720 if test "$wxUSE_COLLPANE" = "yes"; then
45721 cat >>confdefs.h <<\_ACEOF
45722 #define wxUSE_COLLPANE 1
45723 _ACEOF
45724
45725 USES_CONTROLS=1
45726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45727 fi
45728
45729 if test "$wxUSE_COMBOBOX" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_COMBOBOX 1
45732 _ACEOF
45733
45734 USES_CONTROLS=1
45735 fi
45736
45737 if test "$wxUSE_COMBOCTRL" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_COMBOCTRL 1
45740 _ACEOF
45741
45742 USES_CONTROLS=1
45743 fi
45744
45745 if test "$wxUSE_CHOICE" = "yes"; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_CHOICE 1
45748 _ACEOF
45749
45750 USES_CONTROLS=1
45751 fi
45752
45753 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45754 cat >>confdefs.h <<\_ACEOF
45755 #define wxUSE_CHOICEBOOK 1
45756 _ACEOF
45757
45758 USES_CONTROLS=1
45759 fi
45760
45761 if test "$wxUSE_CHECKBOX" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_CHECKBOX 1
45764 _ACEOF
45765
45766 USES_CONTROLS=1
45767 fi
45768
45769 if test "$wxUSE_CHECKLST" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_CHECKLISTBOX 1
45772 _ACEOF
45773
45774 USES_CONTROLS=1
45775 fi
45776
45777 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_COLOURPICKERCTRL 1
45780 _ACEOF
45781
45782 USES_CONTROLS=1
45783 fi
45784
45785 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_DATEPICKCTRL 1
45788 _ACEOF
45789
45790 USES_CONTROLS=1
45791 fi
45792
45793 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_DIRPICKERCTRL 1
45796 _ACEOF
45797
45798 USES_CONTROLS=1
45799 fi
45800
45801 if test "$wxUSE_FILECTRL" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_FILECTRL 1
45804 _ACEOF
45805
45806 USES_CONTROLS=1
45807 fi
45808
45809 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_FILEPICKERCTRL 1
45812 _ACEOF
45813
45814 USES_CONTROLS=1
45815 fi
45816
45817 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45818 cat >>confdefs.h <<\_ACEOF
45819 #define wxUSE_FONTPICKERCTRL 1
45820 _ACEOF
45821
45822 USES_CONTROLS=1
45823 fi
45824
45825 if test "$wxUSE_DISPLAY" = "yes"; then
45826 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45827 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45828 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45829 wxUSE_DISPLAY=no
45830 else
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_DISPLAY 1
45833 _ACEOF
45834
45835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45836 fi
45837 fi
45838
45839 if test "$wxUSE_DETECT_SM" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_DETECT_SM 1
45842 _ACEOF
45843
45844 fi
45845
45846 if test "$wxUSE_GAUGE" = "yes"; then
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_GAUGE 1
45849 _ACEOF
45850
45851 USES_CONTROLS=1
45852 fi
45853
45854 if test "$wxUSE_GRID" = "yes"; then
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_GRID 1
45857 _ACEOF
45858
45859 USES_CONTROLS=1
45860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45861 fi
45862
45863 if test "$wxUSE_HEADERCTRL" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_HEADERCTRL 1
45866 _ACEOF
45867
45868 USES_CONTROLS=1
45869 fi
45870
45871 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45872 cat >>confdefs.h <<\_ACEOF
45873 #define wxUSE_HYPERLINKCTRL 1
45874 _ACEOF
45875
45876 USES_CONTROLS=1
45877 fi
45878
45879 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_BITMAPCOMBOBOX 1
45882 _ACEOF
45883
45884 USES_CONTROLS=1
45885 fi
45886
45887 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45888 cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_DATAVIEWCTRL 1
45890 _ACEOF
45891
45892 USES_CONTROLS=1
45893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45894 fi
45895
45896 if test "$wxUSE_IMAGLIST" = "yes"; then
45897 cat >>confdefs.h <<\_ACEOF
45898 #define wxUSE_IMAGLIST 1
45899 _ACEOF
45900
45901 fi
45902
45903 if test "$wxUSE_LISTBOOK" = "yes"; then
45904 cat >>confdefs.h <<\_ACEOF
45905 #define wxUSE_LISTBOOK 1
45906 _ACEOF
45907
45908 USES_CONTROLS=1
45909 fi
45910
45911 if test "$wxUSE_LISTBOX" = "yes"; then
45912 cat >>confdefs.h <<\_ACEOF
45913 #define wxUSE_LISTBOX 1
45914 _ACEOF
45915
45916 USES_CONTROLS=1
45917 fi
45918
45919 if test "$wxUSE_LISTCTRL" = "yes"; then
45920 if test "$wxUSE_IMAGLIST" = "yes"; then
45921 cat >>confdefs.h <<\_ACEOF
45922 #define wxUSE_LISTCTRL 1
45923 _ACEOF
45924
45925 USES_CONTROLS=1
45926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45927 else
45928 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45929 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45930 fi
45931 fi
45932
45933 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45934 cat >>confdefs.h <<\_ACEOF
45935 #define wxUSE_EDITABLELISTBOX 1
45936 _ACEOF
45937
45938 USES_CONTROLS=1
45939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45940 fi
45941
45942 if test "$wxUSE_NOTEBOOK" = "yes"; then
45943 cat >>confdefs.h <<\_ACEOF
45944 #define wxUSE_NOTEBOOK 1
45945 _ACEOF
45946
45947 USES_CONTROLS=1
45948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45949 fi
45950
45951 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_NOTIFICATION_MESSAGE 1
45954 _ACEOF
45955
45956 fi
45957
45958 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_ODCOMBOBOX 1
45961 _ACEOF
45962
45963 USES_CONTROLS=1
45964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45965 fi
45966
45967 if test "$wxUSE_RADIOBOX" = "yes"; then
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_RADIOBOX 1
45970 _ACEOF
45971
45972 USES_CONTROLS=1
45973 fi
45974
45975 if test "$wxUSE_RADIOBTN" = "yes"; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_RADIOBTN 1
45978 _ACEOF
45979
45980 USES_CONTROLS=1
45981 fi
45982
45983 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45984 cat >>confdefs.h <<\_ACEOF
45985 #define wxUSE_REARRANGECTRL 1
45986 _ACEOF
45987
45988 fi
45989
45990 if test "$wxUSE_SASH" = "yes"; then
45991 cat >>confdefs.h <<\_ACEOF
45992 #define wxUSE_SASH 1
45993 _ACEOF
45994
45995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45996 fi
45997
45998 if test "$wxUSE_SCROLLBAR" = "yes"; then
45999 cat >>confdefs.h <<\_ACEOF
46000 #define wxUSE_SCROLLBAR 1
46001 _ACEOF
46002
46003 USES_CONTROLS=1
46004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46005 fi
46006
46007 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46008 cat >>confdefs.h <<\_ACEOF
46009 #define wxUSE_SEARCHCTRL 1
46010 _ACEOF
46011
46012 USES_CONTROLS=1
46013 fi
46014
46015 if test "$wxUSE_SLIDER" = "yes"; then
46016 cat >>confdefs.h <<\_ACEOF
46017 #define wxUSE_SLIDER 1
46018 _ACEOF
46019
46020 USES_CONTROLS=1
46021 fi
46022
46023 if test "$wxUSE_SPINBTN" = "yes"; then
46024 cat >>confdefs.h <<\_ACEOF
46025 #define wxUSE_SPINBTN 1
46026 _ACEOF
46027
46028 USES_CONTROLS=1
46029 fi
46030
46031 if test "$wxUSE_SPINCTRL" = "yes"; then
46032 cat >>confdefs.h <<\_ACEOF
46033 #define wxUSE_SPINCTRL 1
46034 _ACEOF
46035
46036 USES_CONTROLS=1
46037 fi
46038
46039 if test "$wxUSE_SPLITTER" = "yes"; then
46040 cat >>confdefs.h <<\_ACEOF
46041 #define wxUSE_SPLITTER 1
46042 _ACEOF
46043
46044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46045 fi
46046
46047 if test "$wxUSE_STATBMP" = "yes"; then
46048 cat >>confdefs.h <<\_ACEOF
46049 #define wxUSE_STATBMP 1
46050 _ACEOF
46051
46052 USES_CONTROLS=1
46053 fi
46054
46055 if test "$wxUSE_STATBOX" = "yes"; then
46056 cat >>confdefs.h <<\_ACEOF
46057 #define wxUSE_STATBOX 1
46058 _ACEOF
46059
46060 USES_CONTROLS=1
46061 fi
46062
46063 if test "$wxUSE_STATTEXT" = "yes"; then
46064 cat >>confdefs.h <<\_ACEOF
46065 #define wxUSE_STATTEXT 1
46066 _ACEOF
46067
46068 USES_CONTROLS=1
46069 fi
46070
46071 if test "$wxUSE_STATLINE" = "yes"; then
46072 cat >>confdefs.h <<\_ACEOF
46073 #define wxUSE_STATLINE 1
46074 _ACEOF
46075
46076 USES_CONTROLS=1
46077 fi
46078
46079 if test "$wxUSE_STATUSBAR" = "yes"; then
46080 cat >>confdefs.h <<\_ACEOF
46081 #define wxUSE_NATIVE_STATUSBAR 1
46082 _ACEOF
46083
46084 cat >>confdefs.h <<\_ACEOF
46085 #define wxUSE_STATUSBAR 1
46086 _ACEOF
46087
46088 USES_CONTROLS=1
46089
46090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46091 fi
46092
46093 if test "$wxUSE_TEXTCTRL" = "yes"; then
46094 cat >>confdefs.h <<\_ACEOF
46095 #define wxUSE_TEXTCTRL 1
46096 _ACEOF
46097
46098 USES_CONTROLS=1
46099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46100
46101 cat >>confdefs.h <<\_ACEOF
46102 #define wxUSE_RICHEDIT 1
46103 _ACEOF
46104
46105 cat >>confdefs.h <<\_ACEOF
46106 #define wxUSE_RICHEDIT2 1
46107 _ACEOF
46108
46109 fi
46110
46111 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46112 if test "$wxUSE_COCOA" = 1 ; then
46113 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46114 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46115 wxUSE_TOGGLEBTN=no
46116 fi
46117
46118 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46119 cat >>confdefs.h <<\_ACEOF
46120 #define wxUSE_TOGGLEBTN 1
46121 _ACEOF
46122
46123 USES_CONTROLS=1
46124 fi
46125 fi
46126
46127 if test "$wxUSE_TOOLBAR" = "yes"; then
46128 cat >>confdefs.h <<\_ACEOF
46129 #define wxUSE_TOOLBAR 1
46130 _ACEOF
46131
46132 USES_CONTROLS=1
46133
46134 if test "$wxUSE_UNIVERSAL" = "yes"; then
46135 wxUSE_TOOLBAR_NATIVE="no"
46136 else
46137 wxUSE_TOOLBAR_NATIVE="yes"
46138 cat >>confdefs.h <<\_ACEOF
46139 #define wxUSE_TOOLBAR_NATIVE 1
46140 _ACEOF
46141
46142 fi
46143
46144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46145 fi
46146
46147 if test "$wxUSE_TOOLTIPS" = "yes"; then
46148 if test "$wxUSE_MOTIF" = 1; then
46149 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46150 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46151 else
46152 if test "$wxUSE_UNIVERSAL" = "yes"; then
46153 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46154 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46155 else
46156 cat >>confdefs.h <<\_ACEOF
46157 #define wxUSE_TOOLTIPS 1
46158 _ACEOF
46159
46160 fi
46161 fi
46162 fi
46163
46164 if test "$wxUSE_TREEBOOK" = "yes"; then
46165 cat >>confdefs.h <<\_ACEOF
46166 #define wxUSE_TREEBOOK 1
46167 _ACEOF
46168
46169 USES_CONTROLS=1
46170 fi
46171
46172 if test "$wxUSE_TOOLBOOK" = "yes"; then
46173 cat >>confdefs.h <<\_ACEOF
46174 #define wxUSE_TOOLBOOK 1
46175 _ACEOF
46176
46177 USES_CONTROLS=1
46178 fi
46179
46180 if test "$wxUSE_TREECTRL" = "yes"; then
46181 if test "$wxUSE_IMAGLIST" = "yes"; then
46182 cat >>confdefs.h <<\_ACEOF
46183 #define wxUSE_TREECTRL 1
46184 _ACEOF
46185
46186 USES_CONTROLS=1
46187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46188 else
46189 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46190 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46191 fi
46192 fi
46193
46194 if test "$wxUSE_POPUPWIN" = "yes"; then
46195 if test "$wxUSE_COCOA" = 1 ; then
46196 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46197 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46198 else
46199 if test "$wxUSE_PM" = 1; then
46200 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46201 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46202 else
46203 cat >>confdefs.h <<\_ACEOF
46204 #define wxUSE_POPUPWIN 1
46205 _ACEOF
46206
46207 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46208
46209 USES_CONTROLS=1
46210 fi
46211 fi
46212 fi
46213
46214 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46215 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46216 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46217 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46218 else
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_DIALUP_MANAGER 1
46221 _ACEOF
46222
46223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46224 fi
46225 fi
46226
46227 if test "$wxUSE_TIPWINDOW" = "yes"; then
46228 if test "$wxUSE_PM" = 1; then
46229 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46230 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46231 else
46232 cat >>confdefs.h <<\_ACEOF
46233 #define wxUSE_TIPWINDOW 1
46234 _ACEOF
46235
46236 fi
46237 fi
46238
46239 if test "$USES_CONTROLS" = 1; then
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_CONTROLS 1
46242 _ACEOF
46243
46244 fi
46245
46246
46247 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46248 cat >>confdefs.h <<\_ACEOF
46249 #define wxUSE_ACCESSIBILITY 1
46250 _ACEOF
46251
46252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46253 fi
46254
46255 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46256 cat >>confdefs.h <<\_ACEOF
46257 #define wxUSE_DRAGIMAGE 1
46258 _ACEOF
46259
46260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46261 fi
46262
46263 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46264 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46265 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46266 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46267 else
46268 cat >>confdefs.h <<\_ACEOF
46269 #define wxUSE_EXCEPTIONS 1
46270 _ACEOF
46271
46272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46273 fi
46274 fi
46275
46276 USE_HTML=0
46277 if test "$wxUSE_HTML" = "yes"; then
46278 cat >>confdefs.h <<\_ACEOF
46279 #define wxUSE_HTML 1
46280 _ACEOF
46281
46282 USE_HTML=1
46283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46284 fi
46285 if test "$wxUSE_WEBKIT" = "yes"; then
46286 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46287 old_CPPFLAGS="$CPPFLAGS"
46288 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46289 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46290 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46291 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46292 echo $ECHO_N "(cached) $ECHO_C" >&6
46293 else
46294 cat >conftest.$ac_ext <<_ACEOF
46295 /* confdefs.h. */
46296 _ACEOF
46297 cat confdefs.h >>conftest.$ac_ext
46298 cat >>conftest.$ac_ext <<_ACEOF
46299 /* end confdefs.h. */
46300
46301 #include <Carbon/Carbon.h>
46302 #include <WebKit/WebKit.h>
46303
46304
46305 #include <WebKit/HIWebView.h>
46306 _ACEOF
46307 rm -f conftest.$ac_objext
46308 if { (ac_try="$ac_compile"
46309 case "(($ac_try" in
46310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46311 *) ac_try_echo=$ac_try;;
46312 esac
46313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46314 (eval "$ac_compile") 2>conftest.er1
46315 ac_status=$?
46316 grep -v '^ *+' conftest.er1 >conftest.err
46317 rm -f conftest.er1
46318 cat conftest.err >&5
46319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46320 (exit $ac_status); } && {
46321 test -z "$ac_c_werror_flag" ||
46322 test ! -s conftest.err
46323 } && test -s conftest.$ac_objext; then
46324 ac_cv_header_WebKit_HIWebView_h=yes
46325 else
46326 echo "$as_me: failed program was:" >&5
46327 sed 's/^/| /' conftest.$ac_ext >&5
46328
46329 ac_cv_header_WebKit_HIWebView_h=no
46330 fi
46331
46332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46333 fi
46334 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46335 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46336 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46337
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_WEBKIT 1
46340 _ACEOF
46341
46342 WEBKIT_LINK="-framework WebKit"
46343
46344 else
46345
46346 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46347 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46348 wxUSE_WEBKIT=no
46349
46350 fi
46351
46352
46353 CPPFLAGS="$old_CPPFLAGS"
46354 elif test "$wxUSE_COCOA" = 1; then
46355 cat >>confdefs.h <<\_ACEOF
46356 #define wxUSE_WEBKIT 1
46357 _ACEOF
46358
46359 else
46360 wxUSE_WEBKIT=no
46361 fi
46362 if test "$wxUSE_WEBKIT" = "yes"; then
46363 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46364 fi
46365 fi
46366
46367 USE_XRC=0
46368 if test "$wxUSE_XRC" = "yes"; then
46369 if test "$wxUSE_XML" != "yes"; then
46370 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46371 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46372 wxUSE_XRC=no
46373 else
46374 cat >>confdefs.h <<\_ACEOF
46375 #define wxUSE_XRC 1
46376 _ACEOF
46377
46378 USE_XRC=1
46379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46380 fi
46381 fi
46382
46383 USE_AUI=0
46384 if test "$wxUSE_AUI" = "yes"; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_AUI 1
46387 _ACEOF
46388
46389 USE_AUI=1
46390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46391 fi
46392
46393 USE_PROPGRID=0
46394 if test "$wxUSE_PROPGRID" = "yes"; then
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_PROPGRID 1
46397 _ACEOF
46398
46399 USE_PROPGRID=1
46400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46401 fi
46402
46403 USE_STC=0
46404 if test "$wxUSE_STC" = "yes"; then
46405 cat >>confdefs.h <<\_ACEOF
46406 #define wxUSE_STC 1
46407 _ACEOF
46408
46409 USE_STC=1
46410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46411 fi
46412
46413 if test "$wxUSE_MENUS" = "yes"; then
46414 cat >>confdefs.h <<\_ACEOF
46415 #define wxUSE_MENUS 1
46416 _ACEOF
46417
46418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46419 fi
46420
46421 if test "$wxUSE_METAFILE" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_METAFILE 1
46424 _ACEOF
46425
46426 fi
46427
46428 if test "$wxUSE_MIMETYPE" = "yes"; then
46429 cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_MIMETYPE 1
46431 _ACEOF
46432
46433 fi
46434
46435 if test "$wxUSE_MINIFRAME" = "yes"; then
46436 cat >>confdefs.h <<\_ACEOF
46437 #define wxUSE_MINIFRAME 1
46438 _ACEOF
46439
46440 fi
46441
46442 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_SYSTEM_OPTIONS 1
46445 _ACEOF
46446
46447 fi
46448
46449 if test "$wxUSE_TASKBARICON" = "yes"; then
46450 cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_TASKBARICON 1
46452 _ACEOF
46453
46454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46455 fi
46456
46457
46458 if test "$wxUSE_VALIDATORS" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_VALIDATORS 1
46461 _ACEOF
46462
46463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46464 fi
46465
46466 if test "$wxUSE_PALETTE" = "yes" ; then
46467 if test "$wxUSE_DFB" = 1; then
46468 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46469 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46470 wxUSE_PALETTE=no
46471 else
46472 cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_PALETTE 1
46474 _ACEOF
46475
46476 fi
46477 fi
46478
46479 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46480 LIBS=" -lunicows $LIBS"
46481 fi
46482
46483 USE_RICHTEXT=0
46484 if test "$wxUSE_RICHTEXT" = "yes"; then
46485 cat >>confdefs.h <<\_ACEOF
46486 #define wxUSE_RICHTEXT 1
46487 _ACEOF
46488
46489 USE_RICHTEXT=1
46490 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46491 fi
46492
46493
46494 if test "$wxUSE_IMAGE" = "yes" ; then
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_IMAGE 1
46497 _ACEOF
46498
46499
46500 if test "$wxUSE_GIF" = "yes" ; then
46501 cat >>confdefs.h <<\_ACEOF
46502 #define wxUSE_GIF 1
46503 _ACEOF
46504
46505 fi
46506
46507 if test "$wxUSE_PCX" = "yes" ; then
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_PCX 1
46510 _ACEOF
46511
46512 fi
46513
46514 if test "$wxUSE_TGA" = "yes" ; then
46515 cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_TGA 1
46517 _ACEOF
46518
46519 fi
46520
46521 if test "$wxUSE_IFF" = "yes" ; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_IFF 1
46524 _ACEOF
46525
46526 fi
46527
46528 if test "$wxUSE_PNM" = "yes" ; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_PNM 1
46531 _ACEOF
46532
46533 fi
46534
46535 if test "$wxUSE_XPM" = "yes" ; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_XPM 1
46538 _ACEOF
46539
46540 fi
46541
46542 if test "$wxUSE_ICO_CUR" = "yes" ; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_ICO_CUR 1
46545 _ACEOF
46546
46547 fi
46548 fi
46549
46550
46551 if test "$wxUSE_ABOUTDLG" = "yes"; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_ABOUTDLG 1
46554 _ACEOF
46555
46556 fi
46557
46558 if test "$wxUSE_CHOICEDLG" = "yes"; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_CHOICEDLG 1
46561 _ACEOF
46562
46563 fi
46564
46565 if test "$wxUSE_COLOURDLG" = "yes"; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_COLOURDLG 1
46568 _ACEOF
46569
46570 fi
46571
46572 if test "$wxUSE_FILEDLG" = "yes"; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_FILEDLG 1
46575 _ACEOF
46576
46577 fi
46578
46579 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_FINDREPLDLG 1
46582 _ACEOF
46583
46584 fi
46585
46586 if test "$wxUSE_FONTDLG" = "yes"; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_FONTDLG 1
46589 _ACEOF
46590
46591 fi
46592
46593 if test "$wxUSE_DIRDLG" = "yes"; then
46594 if test "$wxUSE_TREECTRL" != "yes"; then
46595 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46596 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46597 else
46598 cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_DIRDLG 1
46600 _ACEOF
46601
46602 fi
46603 fi
46604
46605 if test "$wxUSE_MSGDLG" = "yes"; then
46606 cat >>confdefs.h <<\_ACEOF
46607 #define wxUSE_MSGDLG 1
46608 _ACEOF
46609
46610 fi
46611
46612 if test "$wxUSE_NUMBERDLG" = "yes"; then
46613 cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_NUMBERDLG 1
46615 _ACEOF
46616
46617 fi
46618
46619 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46620 cat >>confdefs.h <<\_ACEOF
46621 #define wxUSE_PROGRESSDLG 1
46622 _ACEOF
46623
46624 fi
46625
46626 if test "$wxUSE_SPLASH" = "yes"; then
46627 cat >>confdefs.h <<\_ACEOF
46628 #define wxUSE_SPLASH 1
46629 _ACEOF
46630
46631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46632 fi
46633
46634 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_STARTUP_TIPS 1
46637 _ACEOF
46638
46639 fi
46640
46641 if test "$wxUSE_TEXTDLG" = "yes"; then
46642 cat >>confdefs.h <<\_ACEOF
46643 #define wxUSE_TEXTDLG 1
46644 _ACEOF
46645
46646 fi
46647
46648 if test "$wxUSE_WIZARDDLG" = "yes"; then
46649 cat >>confdefs.h <<\_ACEOF
46650 #define wxUSE_WIZARDDLG 1
46651 _ACEOF
46652
46653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46654 fi
46655
46656
46657 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46658 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46659 cat >>confdefs.h <<\_ACEOF
46660 #define wxUSE_OWNER_DRAWN 1
46661 _ACEOF
46662
46663 fi
46664 fi
46665
46666
46667 if test "$wxUSE_MSW" = 1 ; then
46668
46669 if test "$wxUSE_DC_CACHEING" = "yes"; then
46670 cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_DC_CACHEING 1
46672 _ACEOF
46673
46674 fi
46675
46676 if test "$wxUSE_DIB" = "yes"; then
46677 cat >>confdefs.h <<\_ACEOF
46678 #define wxUSE_WXDIB 1
46679 _ACEOF
46680
46681 fi
46682
46683 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46684 cat >>confdefs.h <<\_ACEOF
46685 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46686 _ACEOF
46687
46688 fi
46689
46690 if test "$wxUSE_UXTHEME" = "yes"; then
46691 cat >>confdefs.h <<\_ACEOF
46692 #define wxUSE_UXTHEME 1
46693 _ACEOF
46694
46695 fi
46696
46697 fi
46698
46699 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_AUTOID_MANAGEMENT 1
46702 _ACEOF
46703
46704 fi
46705
46706 if test "$USE_WIN32" = 1 ; then
46707 if test "$wxUSE_INICONF" = "yes"; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_INICONF 1
46710 _ACEOF
46711
46712 fi
46713
46714 if test "$wxUSE_REGKEY" = "yes"; then
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_REGKEY 1
46717 _ACEOF
46718
46719 fi
46720 fi
46721
46722
46723 if test "$wxUSE_MAC" = 1; then
46724 wxUSE_GRAPHICS_CONTEXT="yes"
46725 fi
46726
46727 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46728 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46729 cat >>confdefs.h <<\_ACEOF
46730 #define wxUSE_GRAPHICS_CONTEXT 1
46731 _ACEOF
46732
46733 elif test "$wxUSE_GTK" != 1; then
46734 cat >>confdefs.h <<\_ACEOF
46735 #define wxUSE_GRAPHICS_CONTEXT 1
46736 _ACEOF
46737
46738 else
46739
46740 pkg_failed=no
46741 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46742 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46743
46744 if test -n "$PKG_CONFIG"; then
46745 if test -n "$CAIRO_CFLAGS"; then
46746 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46747 else
46748 if test -n "$PKG_CONFIG" && \
46749 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46750 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46751 ac_status=$?
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); }; then
46754 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46755 else
46756 pkg_failed=yes
46757 fi
46758 fi
46759 else
46760 pkg_failed=untried
46761 fi
46762 if test -n "$PKG_CONFIG"; then
46763 if test -n "$CAIRO_LIBS"; then
46764 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46765 else
46766 if test -n "$PKG_CONFIG" && \
46767 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46768 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46769 ac_status=$?
46770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771 (exit $ac_status); }; then
46772 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46773 else
46774 pkg_failed=yes
46775 fi
46776 fi
46777 else
46778 pkg_failed=untried
46779 fi
46780
46781
46782
46783 if test $pkg_failed = yes; then
46784
46785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46786 _pkg_short_errors_supported=yes
46787 else
46788 _pkg_short_errors_supported=no
46789 fi
46790 if test $_pkg_short_errors_supported = yes; then
46791 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46792 else
46793 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46794 fi
46795 # Put the nasty error message in config.log where it belongs
46796 echo "$CAIRO_PKG_ERRORS" >&5
46797
46798 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46799 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46800
46801 elif test $pkg_failed = untried; then
46802 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46803 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46804
46805 else
46806 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46807 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46808 { echo "$as_me:$LINENO: result: yes" >&5
46809 echo "${ECHO_T}yes" >&6; }
46810 cat >>confdefs.h <<\_ACEOF
46811 #define wxUSE_GRAPHICS_CONTEXT 1
46812 _ACEOF
46813
46814 fi
46815 fi
46816 fi
46817
46818
46819 USE_MEDIA=0
46820
46821 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46822 USE_MEDIA=1
46823
46824 if test "$wxUSE_GTK" = 1; then
46825 wxUSE_GSTREAMER="no"
46826
46827 GST_VERSION_MAJOR=0
46828 GST_VERSION_MINOR=10
46829 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46830
46831 if test "$wxUSE_GSTREAMER8" = "no"; then
46832
46833 pkg_failed=no
46834 { echo "$as_me:$LINENO: checking for GST" >&5
46835 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46836
46837 if test -n "$PKG_CONFIG"; then
46838 if test -n "$GST_CFLAGS"; then
46839 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46840 else
46841 if test -n "$PKG_CONFIG" && \
46842 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46843 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46844 ac_status=$?
46845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46846 (exit $ac_status); }; then
46847 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46848 else
46849 pkg_failed=yes
46850 fi
46851 fi
46852 else
46853 pkg_failed=untried
46854 fi
46855 if test -n "$PKG_CONFIG"; then
46856 if test -n "$GST_LIBS"; then
46857 pkg_cv_GST_LIBS="$GST_LIBS"
46858 else
46859 if test -n "$PKG_CONFIG" && \
46860 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46861 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46862 ac_status=$?
46863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46864 (exit $ac_status); }; then
46865 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46866 else
46867 pkg_failed=yes
46868 fi
46869 fi
46870 else
46871 pkg_failed=untried
46872 fi
46873
46874
46875
46876 if test $pkg_failed = yes; then
46877
46878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46879 _pkg_short_errors_supported=yes
46880 else
46881 _pkg_short_errors_supported=no
46882 fi
46883 if test $_pkg_short_errors_supported = yes; then
46884 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46885 else
46886 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46887 fi
46888 # Put the nasty error message in config.log where it belongs
46889 echo "$GST_PKG_ERRORS" >&5
46890
46891
46892 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46893 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46894 GST_VERSION_MINOR=8
46895
46896
46897 elif test $pkg_failed = untried; then
46898
46899 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46900 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46901 GST_VERSION_MINOR=8
46902
46903
46904 else
46905 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46906 GST_LIBS=$pkg_cv_GST_LIBS
46907 { echo "$as_me:$LINENO: result: yes" >&5
46908 echo "${ECHO_T}yes" >&6; }
46909
46910 wxUSE_GSTREAMER="yes"
46911 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46912
46913 fi
46914 else
46915 GST_VERSION_MINOR=8
46916 fi
46917
46918 if test $GST_VERSION_MINOR = "8"; then
46919 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46920
46921 pkg_failed=no
46922 { echo "$as_me:$LINENO: checking for GST" >&5
46923 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46924
46925 if test -n "$PKG_CONFIG"; then
46926 if test -n "$GST_CFLAGS"; then
46927 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46928 else
46929 if test -n "$PKG_CONFIG" && \
46930 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46931 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46932 ac_status=$?
46933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934 (exit $ac_status); }; then
46935 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46936 else
46937 pkg_failed=yes
46938 fi
46939 fi
46940 else
46941 pkg_failed=untried
46942 fi
46943 if test -n "$PKG_CONFIG"; then
46944 if test -n "$GST_LIBS"; then
46945 pkg_cv_GST_LIBS="$GST_LIBS"
46946 else
46947 if test -n "$PKG_CONFIG" && \
46948 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46949 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46950 ac_status=$?
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); }; then
46953 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46954 else
46955 pkg_failed=yes
46956 fi
46957 fi
46958 else
46959 pkg_failed=untried
46960 fi
46961
46962
46963
46964 if test $pkg_failed = yes; then
46965
46966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46967 _pkg_short_errors_supported=yes
46968 else
46969 _pkg_short_errors_supported=no
46970 fi
46971 if test $_pkg_short_errors_supported = yes; then
46972 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46973 else
46974 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46975 fi
46976 # Put the nasty error message in config.log where it belongs
46977 echo "$GST_PKG_ERRORS" >&5
46978
46979
46980 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46981 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46982
46983 elif test $pkg_failed = untried; then
46984
46985 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46986 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46987
46988 else
46989 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46990 GST_LIBS=$pkg_cv_GST_LIBS
46991 { echo "$as_me:$LINENO: result: yes" >&5
46992 echo "${ECHO_T}yes" >&6; }
46993 wxUSE_GSTREAMER="yes"
46994 fi
46995 fi
46996
46997
46998 if test "$wxUSE_GSTREAMER" = "yes"; then
46999 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47000 EXTRALIBS_MEDIA="$GST_LIBS"
47001
47002 cat >>confdefs.h <<\_ACEOF
47003 #define wxUSE_GSTREAMER 1
47004 _ACEOF
47005
47006 else
47007 USE_MEDIA=0
47008 fi
47009 fi
47010
47011 if test $USE_MEDIA = 1; then
47012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47013 cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_MEDIACTRL 1
47015 _ACEOF
47016
47017 else
47018 if test "$wxUSE_MEDIACTRL" = "yes"; then
47019 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47020 echo "$as_me: error: GStreamer not available" >&2;}
47021 { (exit 1); exit 1; }; }
47022 else
47023 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47024 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47025 fi
47026 fi
47027 fi
47028
47029
47030 if test "$cross_compiling" = "yes"; then
47031 OSINFO="\"$host\""
47032 else
47033 OSINFO=`uname -s -r -m`
47034 OSINFO="\"$OSINFO\""
47035 fi
47036
47037 cat >>confdefs.h <<_ACEOF
47038 #define WXWIN_OS_DESCRIPTION $OSINFO
47039 _ACEOF
47040
47041
47042
47043 if test "x$prefix" != "xNONE"; then
47044 wxPREFIX=$prefix
47045 else
47046 wxPREFIX=$ac_default_prefix
47047 fi
47048
47049 cat >>confdefs.h <<_ACEOF
47050 #define wxINSTALL_PREFIX "$wxPREFIX"
47051 _ACEOF
47052
47053
47054
47055
47056 STD_BASE_LIBS="base"
47057 STD_GUI_LIBS=""
47058 BUILT_WX_LIBS="base"
47059 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47060
47061 if test "$wxUSE_SOCKETS" = "yes" ; then
47062 STD_BASE_LIBS="net $STD_BASE_LIBS"
47063 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47064 fi
47065 if test "$wxUSE_XML" = "yes" ; then
47066 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47067 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47068 fi
47069
47070 if test "$wxUSE_GUI" = "yes"; then
47071 STD_GUI_LIBS="adv core"
47072 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47073
47074 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47075 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47076 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47077 fi
47078 if test "$wxUSE_HTML" = "yes" ; then
47079 STD_GUI_LIBS="html $STD_GUI_LIBS"
47080 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47081 fi
47082 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47083 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47084 fi
47085 if test "$wxUSE_OPENGL" = "yes" ; then
47086 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47087 fi
47088 if test "$wxUSE_AUI" = "yes" ; then
47089 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47090 fi
47091 if test "$wxUSE_PROPGRID" = "yes" ; then
47092 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47093 fi
47094 if test "$wxUSE_RICHTEXT" = "yes" ; then
47095 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47096 fi
47097 if test "$wxUSE_STC" = "yes" ; then
47098 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47099 fi
47100 if test "$wxUSE_XRC" = "yes" ; then
47101 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47102 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47103 fi
47104 fi
47105
47106
47107
47108
47109
47110
47111
47112
47113 if test "$wxUSE_MAC" = 1 ; then
47114 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47115 if test "$USE_DARWIN" = 1; then
47116 LDFLAGS="$LDFLAGS -framework QuickTime"
47117 fi
47118 fi
47119 if test "$USE_DARWIN" = 1; then
47120 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47121 fi
47122 fi
47123 if test "$wxUSE_COCOA" = 1 ; then
47124 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47125 if test "$wxUSE_MEDIACTRL" = "yes"; then
47126 LDFLAGS="$LDFLAGS -framework QuickTime"
47127 fi
47128 fi
47129 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47130 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47131 fi
47132
47133 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47134
47135 if test "$wxUSE_GUI" = "yes"; then
47136
47137
47138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47139 erase event exec font image minimal mobile \
47140 mobile/wxedit mobile/styles render \
47141 shaped svg taborder vscroll widgets"
47142
47143 if test "$wxUSE_MONOLITHIC" != "yes"; then
47144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47145 fi
47146 if test "$TOOLKIT" = "MSW"; then
47147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47148 if test "$wxUSE_UNIVERSAL" != "yes"; then
47149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47150 fi
47151 fi
47152 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47153 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47154 fi
47155 else
47156 SAMPLES_SUBDIRS="console"
47157 if test "$wxUSE_SOCKETS" = "yes" ; then
47158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47159 fi
47160 if test "$wxUSE_IPC" = "yes" ; then
47161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47162 fi
47163 fi
47164
47165
47166 if test "x$INTELCC" = "xyes" ; then
47167 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47168 elif test "$GCC" = yes ; then
47169 CWARNINGS="-Wall -Wundef"
47170 fi
47171
47172 if test "x$INTELCXX" = "xyes" ; then
47173 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47174 elif test "$GXX" = yes ; then
47175 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47176 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47177 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47178 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47179 echo $ECHO_N "(cached) $ECHO_C" >&6
47180 else
47181 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47182
47183 ac_ext=cpp
47184 ac_cpp='$CXXCPP $CPPFLAGS'
47185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47188
47189 ac_save_CXXFLAGS="$CXXFLAGS"
47190 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47191 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47192 cat >conftest.$ac_ext <<_ACEOF
47193 /* confdefs.h. */
47194 _ACEOF
47195 cat confdefs.h >>conftest.$ac_ext
47196 cat >>conftest.$ac_ext <<_ACEOF
47197 /* end confdefs.h. */
47198
47199 int
47200 main ()
47201 {
47202 return 0;
47203 ;
47204 return 0;
47205 }
47206 _ACEOF
47207 rm -f conftest.$ac_objext
47208 if { (ac_try="$ac_compile"
47209 case "(($ac_try" in
47210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47211 *) ac_try_echo=$ac_try;;
47212 esac
47213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47214 (eval "$ac_compile") 2>conftest.er1
47215 ac_status=$?
47216 grep -v '^ *+' conftest.er1 >conftest.err
47217 rm -f conftest.er1
47218 cat conftest.err >&5
47219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47220 (exit $ac_status); } && {
47221 test -z "$ac_cxx_werror_flag" ||
47222 test ! -s conftest.err
47223 } && test -s conftest.$ac_objext; then
47224 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47225 else
47226 echo "$as_me: failed program was:" >&5
47227 sed 's/^/| /' conftest.$ac_ext >&5
47228
47229
47230 fi
47231
47232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47233 done
47234 CXXFLAGS="$ac_save_CXXFLAGS"
47235 ac_ext=c
47236 ac_cpp='$CPP $CPPFLAGS'
47237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47240
47241
47242 fi
47243 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47244 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47245 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47246 .ok|.ok,*) ;;
47247 .|.no|.no,*) ;;
47248 *)
47249 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47250 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47251 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47252 ac_status=$?
47253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47254 (exit $ac_status); }
47255 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47256 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47257 ac_status=$?
47258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47259 (exit $ac_status); }
47260 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47261 fi
47262 ;;
47263 esac
47264
47265 fi
47266
47267
47268 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47269 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47270
47271
47272 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47273 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47274 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47275 $CPPFLAGS `
47276
47277 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47278 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47279 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47280 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47281 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47282
47283 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47284
47285
47286 if test "x$MWCC" = "xyes"; then
47287
47288 CC="$CC -cwd source -I-"
47289 CXX="$CXX -cwd source -I-"
47290 fi
47291
47292
47293 LIBS=`echo $LIBS`
47294 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47295 EXTRALIBS_XML="$EXPAT_LINK"
47296 EXTRALIBS_HTML="$MSPACK_LINK"
47297 EXTRALIBS_MEDIA="$GST_LIBS"
47298 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47299 if test "$wxUSE_GUI" = "yes"; then
47300 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47301 fi
47302 if test "$wxUSE_OPENGL" = "yes"; then
47303 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47304 fi
47305
47306 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47307
47308 WXCONFIG_LIBS="$LIBS"
47309
47310 if test "$wxUSE_REGEX" = "builtin" ; then
47311 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47312 fi
47313 if test "$wxUSE_EXPAT" = "builtin" ; then
47314 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47315 fi
47316 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47317 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47318 fi
47319 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47320 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47321 fi
47322 if test "$wxUSE_LIBPNG" = "builtin" ; then
47323 wxconfig_3rdparty="png $wxconfig_3rdparty"
47324 fi
47325 if test "$wxUSE_ZLIB" = "builtin" ; then
47326 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47327 fi
47328
47329 for i in $wxconfig_3rdparty ; do
47330 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47331 done
47332
47333
47334 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47335 WXUNIV=1
47336
47337 case "$wxUNIV_THEMES" in
47338 ''|all)
47339 cat >>confdefs.h <<\_ACEOF
47340 #define wxUSE_ALL_THEMES 1
47341 _ACEOF
47342
47343 ;;
47344
47345 *)
47346 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47347 cat >>confdefs.h <<_ACEOF
47348 #define wxUSE_THEME_$t 1
47349 _ACEOF
47350
47351 done
47352 esac
47353 else
47354 WXUNIV=0
47355 fi
47356
47357
47358
47359
47360
47361
47362
47363
47364 if test $wxUSE_MONOLITHIC = "yes" ; then
47365 MONOLITHIC=1
47366 else
47367 MONOLITHIC=0
47368 fi
47369
47370 if test $wxUSE_PLUGINS = "yes" ; then
47371 USE_PLUGINS=1
47372 else
47373 USE_PLUGINS=0
47374 fi
47375
47376 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47377 USE_QA=1
47378 else
47379 USE_QA=0
47380 fi
47381
47382 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47383 OFFICIAL_BUILD=1
47384 else
47385 OFFICIAL_BUILD=0
47386 fi
47387
47388
47389
47390
47391
47392
47393
47394
47395
47396
47397
47398
47399
47400
47401
47402
47403
47404
47405
47406
47407
47408
47409
47410
47411
47412
47413
47414
47415 TOOLKIT_LOWERCASE=xxx
47416 if test "$TOOLKIT" = "MAC"; then
47417 TOOLKIT_LOWERCASE=osx_carbon
47418 fi
47419 if test "$TOOLKIT" = "OSX_CARBON"; then
47420 TOOLKIT_LOWERCASE=osx_carbon
47421 fi
47422 if test "$TOOLKIT" = "OSX_COCOA"; then
47423 TOOLKIT_LOWERCASE=osx_cocoa
47424 fi
47425 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47426 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47427 fi
47428
47429
47430
47431
47432
47433
47434
47435
47436
47437 case "$TOOLKIT" in
47438 GTK)
47439 TOOLKIT_DESC="GTK+"
47440 if test "$WXGTK2" = 1; then
47441 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47442 if test "$wxUSE_GTKPRINT" = "yes" ; then
47443 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47444 fi
47445 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47446 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47447 fi
47448 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47449 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47450 fi
47451 if test "$wxUSE_LIBHILDON" = "yes"; then
47452 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47453 fi
47454
47455 if test "$TOOLKIT_EXTRA" != ""; then
47456 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47457 fi
47458 fi
47459 ;;
47460
47461 ?*)
47462 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47463 ;;
47464
47465 *)
47466 TOOLKIT_DESC="base only"
47467 ;;
47468 esac
47469
47470 if test "$wxUSE_WINE" = "yes"; then
47471 BAKEFILE_FORCE_PLATFORM=win32
47472 fi
47473
47474 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47475 then
47476 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47477 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47478 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47479 echo $ECHO_N "(cached) $ECHO_C" >&6
47480 else
47481
47482 echo '#include <stdio.h>
47483 const wchar_t test_var[] = L"awidetest";' > conftest.h
47484
47485 echo '#include "conftest.h"
47486 int main()
47487 {
47488 printf("%ls", test_var);
47489 return 0;
47490 }' > conftest.cpp
47491
47492 wx_cv_gcc_pch_bug="pch not supported"
47493
47494 if $CXX conftest.h >/dev/null 2>&1
47495 then
47496 wx_cv_gcc_pch_bug=
47497
47498 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47499 then
47500 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47501 grep awidetest >/dev/null
47502 then
47503 wx_cv_gcc_pch_bug=no
47504 else
47505 wx_cv_gcc_pch_bug=yes
47506 fi
47507 fi
47508 fi
47509
47510 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47511
47512 fi
47513 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47514 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47515
47516 if test "$wx_cv_gcc_pch_bug" = yes; then
47517 bk_use_pch=no
47518 fi
47519 fi
47520
47521
47522
47523
47524
47525
47526
47527 if test "x$BAKEFILE_HOST" = "x"; then
47528 if test "x${host}" = "x" ; then
47529 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47530 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47531 { (exit 1); exit 1; }; }
47532 fi
47533
47534 BAKEFILE_HOST="${host}"
47535 fi
47536
47537 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47538
47539 if test -n "$ac_tool_prefix"; then
47540 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47541 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47544 if test "${ac_cv_prog_RANLIB+set}" = set; then
47545 echo $ECHO_N "(cached) $ECHO_C" >&6
47546 else
47547 if test -n "$RANLIB"; then
47548 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47549 else
47550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47551 for as_dir in $PATH
47552 do
47553 IFS=$as_save_IFS
47554 test -z "$as_dir" && as_dir=.
47555 for ac_exec_ext in '' $ac_executable_extensions; do
47556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47557 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47559 break 2
47560 fi
47561 done
47562 done
47563 IFS=$as_save_IFS
47564
47565 fi
47566 fi
47567 RANLIB=$ac_cv_prog_RANLIB
47568 if test -n "$RANLIB"; then
47569 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47570 echo "${ECHO_T}$RANLIB" >&6; }
47571 else
47572 { echo "$as_me:$LINENO: result: no" >&5
47573 echo "${ECHO_T}no" >&6; }
47574 fi
47575
47576
47577 fi
47578 if test -z "$ac_cv_prog_RANLIB"; then
47579 ac_ct_RANLIB=$RANLIB
47580 # Extract the first word of "ranlib", so it can be a program name with args.
47581 set dummy ranlib; ac_word=$2
47582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47584 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47585 echo $ECHO_N "(cached) $ECHO_C" >&6
47586 else
47587 if test -n "$ac_ct_RANLIB"; then
47588 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47589 else
47590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47591 for as_dir in $PATH
47592 do
47593 IFS=$as_save_IFS
47594 test -z "$as_dir" && as_dir=.
47595 for ac_exec_ext in '' $ac_executable_extensions; do
47596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47597 ac_cv_prog_ac_ct_RANLIB="ranlib"
47598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47599 break 2
47600 fi
47601 done
47602 done
47603 IFS=$as_save_IFS
47604
47605 fi
47606 fi
47607 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47608 if test -n "$ac_ct_RANLIB"; then
47609 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47610 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47611 else
47612 { echo "$as_me:$LINENO: result: no" >&5
47613 echo "${ECHO_T}no" >&6; }
47614 fi
47615
47616 if test "x$ac_ct_RANLIB" = x; then
47617 RANLIB=":"
47618 else
47619 case $cross_compiling:$ac_tool_warned in
47620 yes:)
47621 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47622 whose name does not start with the host triplet. If you think this
47623 configuration is useful to you, please write to autoconf@gnu.org." >&5
47624 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47625 whose name does not start with the host triplet. If you think this
47626 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47627 ac_tool_warned=yes ;;
47628 esac
47629 RANLIB=$ac_ct_RANLIB
47630 fi
47631 else
47632 RANLIB="$ac_cv_prog_RANLIB"
47633 fi
47634
47635 # Find a good install program. We prefer a C program (faster),
47636 # so one script is as good as another. But avoid the broken or
47637 # incompatible versions:
47638 # SysV /etc/install, /usr/sbin/install
47639 # SunOS /usr/etc/install
47640 # IRIX /sbin/install
47641 # AIX /bin/install
47642 # AmigaOS /C/install, which installs bootblocks on floppy discs
47643 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47644 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47645 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47646 # OS/2's system install, which has a completely different semantic
47647 # ./install, which can be erroneously created by make from ./install.sh.
47648 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47649 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47650 if test -z "$INSTALL"; then
47651 if test "${ac_cv_path_install+set}" = set; then
47652 echo $ECHO_N "(cached) $ECHO_C" >&6
47653 else
47654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47655 for as_dir in $PATH
47656 do
47657 IFS=$as_save_IFS
47658 test -z "$as_dir" && as_dir=.
47659 # Account for people who put trailing slashes in PATH elements.
47660 case $as_dir/ in
47661 ./ | .// | /cC/* | \
47662 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47663 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47664 /usr/ucb/* ) ;;
47665 *)
47666 # OSF1 and SCO ODT 3.0 have their own names for install.
47667 # Don't use installbsd from OSF since it installs stuff as root
47668 # by default.
47669 for ac_prog in ginstall scoinst install; do
47670 for ac_exec_ext in '' $ac_executable_extensions; do
47671 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47672 if test $ac_prog = install &&
47673 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47674 # AIX install. It has an incompatible calling convention.
47675 :
47676 elif test $ac_prog = install &&
47677 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47678 # program-specific install script used by HP pwplus--don't use.
47679 :
47680 else
47681 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47682 break 3
47683 fi
47684 fi
47685 done
47686 done
47687 ;;
47688 esac
47689 done
47690 IFS=$as_save_IFS
47691
47692
47693 fi
47694 if test "${ac_cv_path_install+set}" = set; then
47695 INSTALL=$ac_cv_path_install
47696 else
47697 # As a last resort, use the slow shell script. Don't cache a
47698 # value for INSTALL within a source directory, because that will
47699 # break other packages using the cache if that directory is
47700 # removed, or if the value is a relative name.
47701 INSTALL=$ac_install_sh
47702 fi
47703 fi
47704 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47705 echo "${ECHO_T}$INSTALL" >&6; }
47706
47707 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47708 # It thinks the first close brace ends the variable substitution.
47709 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47710
47711 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47712
47713 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47714
47715 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47716 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47717 LN_S=$as_ln_s
47718 if test "$LN_S" = "ln -s"; then
47719 { echo "$as_me:$LINENO: result: yes" >&5
47720 echo "${ECHO_T}yes" >&6; }
47721 else
47722 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47723 echo "${ECHO_T}no, using $LN_S" >&6; }
47724 fi
47725
47726
47727 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47728 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47729 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47730 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47731 echo $ECHO_N "(cached) $ECHO_C" >&6
47732 else
47733 cat >conftest.make <<\_ACEOF
47734 SHELL = /bin/sh
47735 all:
47736 @echo '@@@%%%=$(MAKE)=@@@%%%'
47737 _ACEOF
47738 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47739 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47740 *@@@%%%=?*=@@@%%%*)
47741 eval ac_cv_prog_make_${ac_make}_set=yes;;
47742 *)
47743 eval ac_cv_prog_make_${ac_make}_set=no;;
47744 esac
47745 rm -f conftest.make
47746 fi
47747 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47748 { echo "$as_me:$LINENO: result: yes" >&5
47749 echo "${ECHO_T}yes" >&6; }
47750 SET_MAKE=
47751 else
47752 { echo "$as_me:$LINENO: result: no" >&5
47753 echo "${ECHO_T}no" >&6; }
47754 SET_MAKE="MAKE=${MAKE-make}"
47755 fi
47756
47757
47758
47759 if test "x$SUNCXX" = "xyes"; then
47760 AR=$CXX
47761 AROPTIONS="-xar -o"
47762
47763 elif test "x$SGICC" = "xyes"; then
47764 AR=$CXX
47765 AROPTIONS="-ar -o"
47766
47767 else
47768 if test -n "$ac_tool_prefix"; then
47769 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47770 set dummy ${ac_tool_prefix}ar; ac_word=$2
47771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47773 if test "${ac_cv_prog_AR+set}" = set; then
47774 echo $ECHO_N "(cached) $ECHO_C" >&6
47775 else
47776 if test -n "$AR"; then
47777 ac_cv_prog_AR="$AR" # Let the user override the test.
47778 else
47779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47780 for as_dir in $PATH
47781 do
47782 IFS=$as_save_IFS
47783 test -z "$as_dir" && as_dir=.
47784 for ac_exec_ext in '' $ac_executable_extensions; do
47785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47786 ac_cv_prog_AR="${ac_tool_prefix}ar"
47787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47788 break 2
47789 fi
47790 done
47791 done
47792 IFS=$as_save_IFS
47793
47794 fi
47795 fi
47796 AR=$ac_cv_prog_AR
47797 if test -n "$AR"; then
47798 { echo "$as_me:$LINENO: result: $AR" >&5
47799 echo "${ECHO_T}$AR" >&6; }
47800 else
47801 { echo "$as_me:$LINENO: result: no" >&5
47802 echo "${ECHO_T}no" >&6; }
47803 fi
47804
47805
47806 fi
47807 if test -z "$ac_cv_prog_AR"; then
47808 ac_ct_AR=$AR
47809 # Extract the first word of "ar", so it can be a program name with args.
47810 set dummy ar; ac_word=$2
47811 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47813 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47814 echo $ECHO_N "(cached) $ECHO_C" >&6
47815 else
47816 if test -n "$ac_ct_AR"; then
47817 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47818 else
47819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47820 for as_dir in $PATH
47821 do
47822 IFS=$as_save_IFS
47823 test -z "$as_dir" && as_dir=.
47824 for ac_exec_ext in '' $ac_executable_extensions; do
47825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47826 ac_cv_prog_ac_ct_AR="ar"
47827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47828 break 2
47829 fi
47830 done
47831 done
47832 IFS=$as_save_IFS
47833
47834 fi
47835 fi
47836 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47837 if test -n "$ac_ct_AR"; then
47838 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47839 echo "${ECHO_T}$ac_ct_AR" >&6; }
47840 else
47841 { echo "$as_me:$LINENO: result: no" >&5
47842 echo "${ECHO_T}no" >&6; }
47843 fi
47844
47845 if test "x$ac_ct_AR" = x; then
47846 AR="ar"
47847 else
47848 case $cross_compiling:$ac_tool_warned in
47849 yes:)
47850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47851 whose name does not start with the host triplet. If you think this
47852 configuration is useful to you, please write to autoconf@gnu.org." >&5
47853 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47854 whose name does not start with the host triplet. If you think this
47855 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47856 ac_tool_warned=yes ;;
47857 esac
47858 AR=$ac_ct_AR
47859 fi
47860 else
47861 AR="$ac_cv_prog_AR"
47862 fi
47863
47864 AROPTIONS=rcu
47865 fi
47866
47867
47868 if test -n "$ac_tool_prefix"; then
47869 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47870 set dummy ${ac_tool_prefix}strip; ac_word=$2
47871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47873 if test "${ac_cv_prog_STRIP+set}" = set; then
47874 echo $ECHO_N "(cached) $ECHO_C" >&6
47875 else
47876 if test -n "$STRIP"; then
47877 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47878 else
47879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47880 for as_dir in $PATH
47881 do
47882 IFS=$as_save_IFS
47883 test -z "$as_dir" && as_dir=.
47884 for ac_exec_ext in '' $ac_executable_extensions; do
47885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47886 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47888 break 2
47889 fi
47890 done
47891 done
47892 IFS=$as_save_IFS
47893
47894 fi
47895 fi
47896 STRIP=$ac_cv_prog_STRIP
47897 if test -n "$STRIP"; then
47898 { echo "$as_me:$LINENO: result: $STRIP" >&5
47899 echo "${ECHO_T}$STRIP" >&6; }
47900 else
47901 { echo "$as_me:$LINENO: result: no" >&5
47902 echo "${ECHO_T}no" >&6; }
47903 fi
47904
47905
47906 fi
47907 if test -z "$ac_cv_prog_STRIP"; then
47908 ac_ct_STRIP=$STRIP
47909 # Extract the first word of "strip", so it can be a program name with args.
47910 set dummy strip; ac_word=$2
47911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47913 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47914 echo $ECHO_N "(cached) $ECHO_C" >&6
47915 else
47916 if test -n "$ac_ct_STRIP"; then
47917 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47918 else
47919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47920 for as_dir in $PATH
47921 do
47922 IFS=$as_save_IFS
47923 test -z "$as_dir" && as_dir=.
47924 for ac_exec_ext in '' $ac_executable_extensions; do
47925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47926 ac_cv_prog_ac_ct_STRIP="strip"
47927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47928 break 2
47929 fi
47930 done
47931 done
47932 IFS=$as_save_IFS
47933
47934 fi
47935 fi
47936 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47937 if test -n "$ac_ct_STRIP"; then
47938 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47939 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47940 else
47941 { echo "$as_me:$LINENO: result: no" >&5
47942 echo "${ECHO_T}no" >&6; }
47943 fi
47944
47945 if test "x$ac_ct_STRIP" = x; then
47946 STRIP=":"
47947 else
47948 case $cross_compiling:$ac_tool_warned in
47949 yes:)
47950 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47951 whose name does not start with the host triplet. If you think this
47952 configuration is useful to you, please write to autoconf@gnu.org." >&5
47953 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47954 whose name does not start with the host triplet. If you think this
47955 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47956 ac_tool_warned=yes ;;
47957 esac
47958 STRIP=$ac_ct_STRIP
47959 fi
47960 else
47961 STRIP="$ac_cv_prog_STRIP"
47962 fi
47963
47964 if test -n "$ac_tool_prefix"; then
47965 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47966 set dummy ${ac_tool_prefix}nm; ac_word=$2
47967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47969 if test "${ac_cv_prog_NM+set}" = set; then
47970 echo $ECHO_N "(cached) $ECHO_C" >&6
47971 else
47972 if test -n "$NM"; then
47973 ac_cv_prog_NM="$NM" # Let the user override the test.
47974 else
47975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47976 for as_dir in $PATH
47977 do
47978 IFS=$as_save_IFS
47979 test -z "$as_dir" && as_dir=.
47980 for ac_exec_ext in '' $ac_executable_extensions; do
47981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47982 ac_cv_prog_NM="${ac_tool_prefix}nm"
47983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47984 break 2
47985 fi
47986 done
47987 done
47988 IFS=$as_save_IFS
47989
47990 fi
47991 fi
47992 NM=$ac_cv_prog_NM
47993 if test -n "$NM"; then
47994 { echo "$as_me:$LINENO: result: $NM" >&5
47995 echo "${ECHO_T}$NM" >&6; }
47996 else
47997 { echo "$as_me:$LINENO: result: no" >&5
47998 echo "${ECHO_T}no" >&6; }
47999 fi
48000
48001
48002 fi
48003 if test -z "$ac_cv_prog_NM"; then
48004 ac_ct_NM=$NM
48005 # Extract the first word of "nm", so it can be a program name with args.
48006 set dummy nm; ac_word=$2
48007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48009 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48010 echo $ECHO_N "(cached) $ECHO_C" >&6
48011 else
48012 if test -n "$ac_ct_NM"; then
48013 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48014 else
48015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48016 for as_dir in $PATH
48017 do
48018 IFS=$as_save_IFS
48019 test -z "$as_dir" && as_dir=.
48020 for ac_exec_ext in '' $ac_executable_extensions; do
48021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48022 ac_cv_prog_ac_ct_NM="nm"
48023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48024 break 2
48025 fi
48026 done
48027 done
48028 IFS=$as_save_IFS
48029
48030 fi
48031 fi
48032 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48033 if test -n "$ac_ct_NM"; then
48034 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48035 echo "${ECHO_T}$ac_ct_NM" >&6; }
48036 else
48037 { echo "$as_me:$LINENO: result: no" >&5
48038 echo "${ECHO_T}no" >&6; }
48039 fi
48040
48041 if test "x$ac_ct_NM" = x; then
48042 NM=":"
48043 else
48044 case $cross_compiling:$ac_tool_warned in
48045 yes:)
48046 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48047 whose name does not start with the host triplet. If you think this
48048 configuration is useful to you, please write to autoconf@gnu.org." >&5
48049 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48050 whose name does not start with the host triplet. If you think this
48051 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48052 ac_tool_warned=yes ;;
48053 esac
48054 NM=$ac_ct_NM
48055 fi
48056 else
48057 NM="$ac_cv_prog_NM"
48058 fi
48059
48060
48061 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48062 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48063 INSTALL_TEST_DIR=acbftest$$
48064 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48065 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48066 rmdir $INSTALL_TEST_DIR
48067 INSTALL_DIR='$(INSTALL) -d'
48068 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48069 echo "${ECHO_T}$INSTALL -d" >&6; }
48070 else
48071 INSTALL_DIR="mkdir -p"
48072 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48073 echo "${ECHO_T}mkdir -p" >&6; }
48074 fi
48075
48076
48077 LDFLAGS_GUI=
48078 case ${BAKEFILE_HOST} in
48079 *-*-cygwin* | *-*-mingw32* )
48080 LDFLAGS_GUI="-mwindows"
48081 esac
48082
48083
48084 fi
48085
48086 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48087 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48088 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48089 echo $ECHO_N "(cached) $ECHO_C" >&6
48090 else
48091
48092 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48093 egrep -s GNU > /dev/null); then
48094 bakefile_cv_prog_makeisgnu="yes"
48095 else
48096 bakefile_cv_prog_makeisgnu="no"
48097 fi
48098
48099 fi
48100 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48101 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48102
48103 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48104 IF_GNU_MAKE=""
48105 else
48106 IF_GNU_MAKE="#"
48107 fi
48108
48109
48110
48111 PLATFORM_UNIX=0
48112 PLATFORM_WIN32=0
48113 PLATFORM_MSDOS=0
48114 PLATFORM_MAC=0
48115 PLATFORM_MACOS=0
48116 PLATFORM_MACOSX=0
48117 PLATFORM_OS2=0
48118 PLATFORM_BEOS=0
48119
48120 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48121 case "${BAKEFILE_HOST}" in
48122 *-*-mingw32* )
48123 PLATFORM_WIN32=1
48124 ;;
48125 *-pc-msdosdjgpp )
48126 PLATFORM_MSDOS=1
48127 ;;
48128 *-pc-os2_emx | *-pc-os2-emx )
48129 PLATFORM_OS2=1
48130 ;;
48131 *-*-darwin* )
48132 PLATFORM_MAC=1
48133 PLATFORM_MACOSX=1
48134 ;;
48135 *-*-beos* )
48136 PLATFORM_BEOS=1
48137 ;;
48138 powerpc-apple-macos* )
48139 PLATFORM_MAC=1
48140 PLATFORM_MACOS=1
48141 ;;
48142 * )
48143 PLATFORM_UNIX=1
48144 ;;
48145 esac
48146 else
48147 case "$BAKEFILE_FORCE_PLATFORM" in
48148 win32 )
48149 PLATFORM_WIN32=1
48150 ;;
48151 msdos )
48152 PLATFORM_MSDOS=1
48153 ;;
48154 os2 )
48155 PLATFORM_OS2=1
48156 ;;
48157 darwin )
48158 PLATFORM_MAC=1
48159 PLATFORM_MACOSX=1
48160 ;;
48161 unix )
48162 PLATFORM_UNIX=1
48163 ;;
48164 beos )
48165 PLATFORM_BEOS=1
48166 ;;
48167 * )
48168 ;;
48169 esac
48170 fi
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181
48182 # Check whether --enable-omf was given.
48183 if test "${enable_omf+set}" = set; then
48184 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48185 fi
48186
48187
48188 case "${BAKEFILE_HOST}" in
48189 *-*-darwin* )
48190 if test "x$GCC" = "xyes"; then
48191 CFLAGS="$CFLAGS -fno-common"
48192 CXXFLAGS="$CXXFLAGS -fno-common"
48193 fi
48194 if test "x$XLCC" = "xyes"; then
48195 CFLAGS="$CFLAGS -qnocommon"
48196 CXXFLAGS="$CXXFLAGS -qnocommon"
48197 fi
48198 ;;
48199
48200 *-pc-os2_emx | *-pc-os2-emx )
48201 if test "x$bk_os2_use_omf" = "xyes" ; then
48202 AR=emxomfar
48203 RANLIB=:
48204 LDFLAGS="-Zomf $LDFLAGS"
48205 CFLAGS="-Zomf $CFLAGS"
48206 CXXFLAGS="-Zomf $CXXFLAGS"
48207 OS2_LIBEXT="lib"
48208 else
48209 OS2_LIBEXT="a"
48210 fi
48211 ;;
48212
48213 i*86-*-beos* )
48214 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48215 ;;
48216 esac
48217
48218
48219 SO_SUFFIX="so"
48220 SO_SUFFIX_MODULE="so"
48221 EXEEXT=""
48222 LIBPREFIX="lib"
48223 LIBEXT=".a"
48224 DLLPREFIX="lib"
48225 DLLPREFIX_MODULE=""
48226 DLLIMP_SUFFIX=""
48227 dlldir="$libdir"
48228
48229 case "${BAKEFILE_HOST}" in
48230 ia64-hp-hpux* )
48231 ;;
48232 *-hp-hpux* )
48233 SO_SUFFIX="sl"
48234 SO_SUFFIX_MODULE="sl"
48235 ;;
48236 *-*-aix* )
48237 SO_SUFFIX="a"
48238 SO_SUFFIX_MODULE="a"
48239 ;;
48240 *-*-cygwin* )
48241 SO_SUFFIX="dll"
48242 SO_SUFFIX_MODULE="dll"
48243 DLLIMP_SUFFIX="dll.a"
48244 EXEEXT=".exe"
48245 DLLPREFIX="cyg"
48246 dlldir="$bindir"
48247 ;;
48248 *-*-mingw32* )
48249 SO_SUFFIX="dll"
48250 SO_SUFFIX_MODULE="dll"
48251 DLLIMP_SUFFIX="dll.a"
48252 EXEEXT=".exe"
48253 DLLPREFIX=""
48254 dlldir="$bindir"
48255 ;;
48256 *-pc-msdosdjgpp )
48257 EXEEXT=".exe"
48258 DLLPREFIX=""
48259 dlldir="$bindir"
48260 ;;
48261 *-pc-os2_emx | *-pc-os2-emx )
48262 SO_SUFFIX="dll"
48263 SO_SUFFIX_MODULE="dll"
48264 DLLIMP_SUFFIX=$OS2_LIBEXT
48265 EXEEXT=".exe"
48266 DLLPREFIX=""
48267 LIBPREFIX=""
48268 LIBEXT=".$OS2_LIBEXT"
48269 dlldir="$bindir"
48270 ;;
48271 *-*-darwin* )
48272 SO_SUFFIX="dylib"
48273 SO_SUFFIX_MODULE="bundle"
48274 ;;
48275 esac
48276
48277 if test "x$DLLIMP_SUFFIX" = "x" ; then
48278 DLLIMP_SUFFIX="$SO_SUFFIX"
48279 fi
48280
48281
48282
48283
48284
48285
48286
48287
48288
48289
48290
48291
48292 PIC_FLAG=""
48293 if test "x$GCC" = "xyes"; then
48294 PIC_FLAG="-fPIC"
48295 fi
48296
48297 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48298 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48299 WINDOWS_IMPLIB=0
48300
48301 case "${BAKEFILE_HOST}" in
48302 *-hp-hpux* )
48303 if test "x$GCC" != "xyes"; then
48304 LDFLAGS="$LDFLAGS -L/usr/lib"
48305
48306 SHARED_LD_CC="${CC} -b -o"
48307 SHARED_LD_CXX="${CXX} -b -o"
48308 PIC_FLAG="+Z"
48309 fi
48310 ;;
48311
48312 *-*-linux* )
48313 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48314 PIC_FLAG="-KPIC"
48315 elif test "x$SUNCXX" = "xyes"; then
48316 SHARED_LD_CC="${CC} -G -o"
48317 SHARED_LD_CXX="${CXX} -G -o"
48318 PIC_FLAG="-KPIC"
48319 fi
48320 ;;
48321
48322 *-*-solaris2* )
48323 if test "x$SUNCXX" = xyes ; then
48324 SHARED_LD_CC="${CC} -G -o"
48325 SHARED_LD_CXX="${CXX} -G -o"
48326 PIC_FLAG="-KPIC"
48327 fi
48328 ;;
48329
48330 *-*-darwin* )
48331
48332 D='$'
48333 cat <<EOF >shared-ld-sh
48334 #!/bin/sh
48335 #-----------------------------------------------------------------------------
48336 #-- Name: distrib/mac/shared-ld-sh
48337 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48338 #-- Author: Gilles Depeyrot
48339 #-- Copyright: (c) 2002 Gilles Depeyrot
48340 #-- Licence: any use permitted
48341 #-----------------------------------------------------------------------------
48342
48343 verbose=0
48344 args=""
48345 objects=""
48346 linking_flag="-dynamiclib"
48347 ldargs="-r -keep_private_externs -nostdlib"
48348
48349 if test "x${D}CXX" = "x"; then
48350 CXX="c++"
48351 fi
48352
48353 while test ${D}# -gt 0; do
48354 case ${D}1 in
48355
48356 -v)
48357 verbose=1
48358 ;;
48359
48360 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48361 # collect these options and values
48362 args="${D}{args} ${D}1 ${D}2"
48363 shift
48364 ;;
48365
48366 -arch|-isysroot)
48367 # collect these options and values
48368 ldargs="${D}{ldargs} ${D}1 ${D}2"
48369 shift
48370 ;;
48371
48372 -s|-Wl,*)
48373 # collect these load args
48374 ldargs="${D}{ldargs} ${D}1"
48375 ;;
48376
48377 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48378 # collect these options
48379 args="${D}{args} ${D}1"
48380 ;;
48381
48382 -dynamiclib|-bundle)
48383 linking_flag="${D}1"
48384 ;;
48385
48386 -*)
48387 echo "shared-ld: unhandled option '${D}1'"
48388 exit 1
48389 ;;
48390
48391 *.o | *.a | *.dylib)
48392 # collect object files
48393 objects="${D}{objects} ${D}1"
48394 ;;
48395
48396 *)
48397 echo "shared-ld: unhandled argument '${D}1'"
48398 exit 1
48399 ;;
48400
48401 esac
48402 shift
48403 done
48404
48405 status=0
48406
48407 #
48408 # Link one module containing all the others
48409 #
48410 if test ${D}{verbose} = 1; then
48411 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48412 fi
48413 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48414 status=${D}?
48415
48416 #
48417 # Link the shared library from the single module created, but only if the
48418 # previous command didn't fail:
48419 #
48420 if test ${D}{status} = 0; then
48421 if test ${D}{verbose} = 1; then
48422 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48423 fi
48424 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48425 status=${D}?
48426 fi
48427
48428 #
48429 # Remove intermediate module
48430 #
48431 rm -f master.${D}${D}.o
48432
48433 exit ${D}status
48434 EOF
48435
48436 chmod +x shared-ld-sh
48437
48438 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48439 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48440
48441
48442 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48443 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48444 if test "${bakefile_cv_gcc31+set}" = set; then
48445 echo $ECHO_N "(cached) $ECHO_C" >&6
48446 else
48447
48448 cat >conftest.$ac_ext <<_ACEOF
48449 /* confdefs.h. */
48450 _ACEOF
48451 cat confdefs.h >>conftest.$ac_ext
48452 cat >>conftest.$ac_ext <<_ACEOF
48453 /* end confdefs.h. */
48454
48455 int
48456 main ()
48457 {
48458
48459 #if (__GNUC__ < 3) || \
48460 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48461 This is old gcc
48462 #endif
48463
48464 ;
48465 return 0;
48466 }
48467 _ACEOF
48468 rm -f conftest.$ac_objext
48469 if { (ac_try="$ac_compile"
48470 case "(($ac_try" in
48471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48472 *) ac_try_echo=$ac_try;;
48473 esac
48474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48475 (eval "$ac_compile") 2>conftest.er1
48476 ac_status=$?
48477 grep -v '^ *+' conftest.er1 >conftest.err
48478 rm -f conftest.er1
48479 cat conftest.err >&5
48480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48481 (exit $ac_status); } && {
48482 test -z "$ac_c_werror_flag" ||
48483 test ! -s conftest.err
48484 } && test -s conftest.$ac_objext; then
48485
48486 bakefile_cv_gcc31=yes
48487
48488 else
48489 echo "$as_me: failed program was:" >&5
48490 sed 's/^/| /' conftest.$ac_ext >&5
48491
48492
48493 bakefile_cv_gcc31=no
48494
48495
48496 fi
48497
48498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48499
48500 fi
48501 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48502 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48503 if test "$bakefile_cv_gcc31" = "no"; then
48504 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48505 SHARED_LD_CXX="$SHARED_LD_CC"
48506 else
48507 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48508 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48509 fi
48510
48511 if test "x$GCC" == "xyes"; then
48512 PIC_FLAG="-dynamic -fPIC"
48513 fi
48514 if test "x$XLCC" = "xyes"; then
48515 PIC_FLAG="-dynamic -DPIC"
48516 fi
48517 ;;
48518
48519 *-*-aix* )
48520 if test "x$GCC" = "xyes"; then
48521 PIC_FLAG=""
48522
48523 case "${BAKEFILE_HOST}" in
48524 *-*-aix5* )
48525 LD_EXPFULL="-Wl,-bexpfull"
48526 ;;
48527 esac
48528
48529 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48530 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48531 else
48532 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48533 set dummy makeC++SharedLib; ac_word=$2
48534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48536 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48537 echo $ECHO_N "(cached) $ECHO_C" >&6
48538 else
48539 if test -n "$AIX_CXX_LD"; then
48540 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48541 else
48542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48543 for as_dir in $PATH
48544 do
48545 IFS=$as_save_IFS
48546 test -z "$as_dir" && as_dir=.
48547 for ac_exec_ext in '' $ac_executable_extensions; do
48548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48549 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48551 break 2
48552 fi
48553 done
48554 done
48555 IFS=$as_save_IFS
48556
48557 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48558 fi
48559 fi
48560 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48561 if test -n "$AIX_CXX_LD"; then
48562 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48563 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48564 else
48565 { echo "$as_me:$LINENO: result: no" >&5
48566 echo "${ECHO_T}no" >&6; }
48567 fi
48568
48569
48570 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48571 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48572 fi
48573 ;;
48574
48575 *-*-beos* )
48576 SHARED_LD_CC="${LD} -nostart -o"
48577 SHARED_LD_CXX="${LD} -nostart -o"
48578 ;;
48579
48580 *-*-irix* )
48581 if test "x$GCC" != "xyes"; then
48582 PIC_FLAG="-KPIC"
48583 fi
48584 ;;
48585
48586 *-*-cygwin* | *-*-mingw32* )
48587 PIC_FLAG=""
48588 SHARED_LD_CC="\$(CC) -shared -o"
48589 SHARED_LD_CXX="\$(CXX) -shared -o"
48590 WINDOWS_IMPLIB=1
48591 ;;
48592
48593 *-pc-os2_emx | *-pc-os2-emx )
48594 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48595 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48596 PIC_FLAG=""
48597
48598 D='$'
48599 cat <<EOF >dllar.sh
48600 #!/bin/sh
48601 #
48602 # dllar - a tool to build both a .dll and an .a file
48603 # from a set of object (.o) files for EMX/OS2.
48604 #
48605 # Written by Andrew Zabolotny, bit@freya.etu.ru
48606 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48607 #
48608 # This script will accept a set of files on the command line.
48609 # All the public symbols from the .o files will be exported into
48610 # a .DEF file, then linker will be run (through gcc) against them to
48611 # build a shared library consisting of all given .o files. All libraries
48612 # (.a) will be first decompressed into component .o files then act as
48613 # described above. You can optionally give a description (-d "description")
48614 # which will be put into .DLL. To see the list of accepted options (as well
48615 # as command-line format) simply run this program without options. The .DLL
48616 # is built to be imported by name (there is no guarantee that new versions
48617 # of the library you build will have same ordinals for same symbols).
48618 #
48619 # dllar is free software; you can redistribute it and/or modify
48620 # it under the terms of the GNU General Public License as published by
48621 # the Free Software Foundation; either version 2, or (at your option)
48622 # any later version.
48623 #
48624 # dllar is distributed in the hope that it will be useful,
48625 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48626 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48627 # GNU General Public License for more details.
48628 #
48629 # You should have received a copy of the GNU General Public License
48630 # along with dllar; see the file COPYING. If not, write to the Free
48631 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48632 # 02111-1307, USA.
48633
48634 # To successfuly run this program you will need:
48635 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48636 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48637 # - gcc
48638 # (used to build the .dll)
48639 # - emxexp
48640 # (used to create .def file from .o files)
48641 # - emximp
48642 # (used to create .a file from .def file)
48643 # - GNU text utilites (cat, sort, uniq)
48644 # used to process emxexp output
48645 # - GNU file utilities (mv, rm)
48646 # - GNU sed
48647 # - lxlite (optional, see flag below)
48648 # (used for general .dll cleanup)
48649 #
48650
48651 flag_USE_LXLITE=1;
48652
48653 #
48654 # helper functions
48655 # basnam, variant of basename, which does _not_ remove the path, _iff_
48656 # second argument (suffix to remove) is given
48657 basnam(){
48658 case ${D}# in
48659 1)
48660 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48661 ;;
48662 2)
48663 echo ${D}1 | sed 's/'${D}2'${D}//'
48664 ;;
48665 *)
48666 echo "error in basnam ${D}*"
48667 exit 8
48668 ;;
48669 esac
48670 }
48671
48672 # Cleanup temporary files and output
48673 CleanUp() {
48674 cd ${D}curDir
48675 for i in ${D}inputFiles ; do
48676 case ${D}i in
48677 *!)
48678 rm -rf \`basnam ${D}i !\`
48679 ;;
48680 *)
48681 ;;
48682 esac
48683 done
48684
48685 # Kill result in case of failure as there is just to many stupid make/nmake
48686 # things out there which doesn't do this.
48687 if [ ${D}# -eq 0 ]; then
48688 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48689 fi
48690 }
48691
48692 # Print usage and exit script with rc=1.
48693 PrintHelp() {
48694 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48695 echo ' [-name-mangler-script script.sh]'
48696 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48697 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48698 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48699 echo ' [*.o] [*.a]'
48700 echo '*> "output_file" should have no extension.'
48701 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48702 echo ' The import library name is derived from this and is set to "name".a,'
48703 echo ' unless overridden by -import'
48704 echo '*> "importlib_name" should have no extension.'
48705 echo ' If it has the .o, or .a extension, it is automatically removed.'
48706 echo ' This name is used as the import library name and may be longer and'
48707 echo ' more descriptive than the DLL name which has to follow the old '
48708 echo ' 8.3 convention of FAT.'
48709 echo '*> "script.sh may be given to override the output_file name by a'
48710 echo ' different name. It is mainly useful if the regular make process'
48711 echo ' of some package does not take into account OS/2 restriction of'
48712 echo ' DLL name lengths. It takes the importlib name as input and is'
48713 echo ' supposed to procude a shorter name as output. The script should'
48714 echo ' expect to get importlib_name without extension and should produce'
48715 echo ' a (max.) 8 letter name without extension.'
48716 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48717 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48718 echo ' These flags will be put at the start of GCC command line.'
48719 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48720 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48721 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48722 echo ' If the last character of a symbol is "*", all symbols beginning'
48723 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48724 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48725 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48726 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48727 echo ' C runtime DLLs.'
48728 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48729 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48730 echo ' unchanged to GCC at the end of command line.'
48731 echo '*> If you create a DLL from a library and you do not specify -o,'
48732 echo ' the basename for DLL and import library will be set to library name,'
48733 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48734 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48735 echo ' library will be renamed into gcc_s.a.'
48736 echo '--------'
48737 echo 'Example:'
48738 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48739 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48740 CleanUp
48741 exit 1
48742 }
48743
48744 # Execute a command.
48745 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48746 # @Uses Whatever CleanUp() uses.
48747 doCommand() {
48748 echo "${D}*"
48749 eval ${D}*
48750 rcCmd=${D}?
48751
48752 if [ ${D}rcCmd -ne 0 ]; then
48753 echo "command failed, exit code="${D}rcCmd
48754 CleanUp
48755 exit ${D}rcCmd
48756 fi
48757 }
48758
48759 # main routine
48760 # setup globals
48761 cmdLine=${D}*
48762 outFile=""
48763 outimpFile=""
48764 inputFiles=""
48765 renameScript=""
48766 description=""
48767 CC=gcc.exe
48768 CFLAGS="-s -Zcrtdll"
48769 EXTRA_CFLAGS=""
48770 EXPORT_BY_ORDINALS=0
48771 exclude_symbols=""
48772 library_flags=""
48773 curDir=\`pwd\`
48774 curDirS=curDir
48775 case ${D}curDirS in
48776 */)
48777 ;;
48778 *)
48779 curDirS=${D}{curDirS}"/"
48780 ;;
48781 esac
48782 # Parse commandline
48783 libsToLink=0
48784 omfLinking=0
48785 while [ ${D}1 ]; do
48786 case ${D}1 in
48787 -ord*)
48788 EXPORT_BY_ORDINALS=1;
48789 ;;
48790 -o*)
48791 shift
48792 outFile=${D}1
48793 ;;
48794 -i*)
48795 shift
48796 outimpFile=${D}1
48797 ;;
48798 -name-mangler-script)
48799 shift
48800 renameScript=${D}1
48801 ;;
48802 -d*)
48803 shift
48804 description=${D}1
48805 ;;
48806 -f*)
48807 shift
48808 CFLAGS=${D}1
48809 ;;
48810 -c*)
48811 shift
48812 CC=${D}1
48813 ;;
48814 -h*)
48815 PrintHelp
48816 ;;
48817 -ex*)
48818 shift
48819 exclude_symbols=${D}{exclude_symbols}${D}1" "
48820 ;;
48821 -libf*)
48822 shift
48823 library_flags=${D}{library_flags}${D}1" "
48824 ;;
48825 -nocrt*)
48826 CFLAGS="-s"
48827 ;;
48828 -nolxl*)
48829 flag_USE_LXLITE=0
48830 ;;
48831 -* | /*)
48832 case ${D}1 in
48833 -L* | -l*)
48834 libsToLink=1
48835 ;;
48836 -Zomf)
48837 omfLinking=1
48838 ;;
48839 *)
48840 ;;
48841 esac
48842 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48843 ;;
48844 *.dll)
48845 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48846 if [ ${D}omfLinking -eq 1 ]; then
48847 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48848 else
48849 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48850 fi
48851 ;;
48852 *)
48853 found=0;
48854 if [ ${D}libsToLink -ne 0 ]; then
48855 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48856 else
48857 for file in ${D}1 ; do
48858 if [ -f ${D}file ]; then
48859 inputFiles="${D}{inputFiles} ${D}file"
48860 found=1
48861 fi
48862 done
48863 if [ ${D}found -eq 0 ]; then
48864 echo "ERROR: No file(s) found: "${D}1
48865 exit 8
48866 fi
48867 fi
48868 ;;
48869 esac
48870 shift
48871 done # iterate cmdline words
48872
48873 #
48874 if [ -z "${D}inputFiles" ]; then
48875 echo "dllar: no input files"
48876 PrintHelp
48877 fi
48878
48879 # Now extract all .o files from .a files
48880 newInputFiles=""
48881 for file in ${D}inputFiles ; do
48882 case ${D}file in
48883 *.a | *.lib)
48884 case ${D}file in
48885 *.a)
48886 suffix=".a"
48887 AR="ar"
48888 ;;
48889 *.lib)
48890 suffix=".lib"
48891 AR="emxomfar"
48892 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48893 ;;
48894 *)
48895 ;;
48896 esac
48897 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48898 mkdir ${D}dirname
48899 if [ ${D}? -ne 0 ]; then
48900 echo "Failed to create subdirectory ./${D}dirname"
48901 CleanUp
48902 exit 8;
48903 fi
48904 # Append '!' to indicate archive
48905 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48906 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48907 cd ${D}curDir
48908 found=0;
48909 for subfile in ${D}dirname/*.o* ; do
48910 if [ -f ${D}subfile ]; then
48911 found=1
48912 if [ -s ${D}subfile ]; then
48913 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48914 newInputFiles="${D}newInputFiles ${D}subfile"
48915 fi
48916 fi
48917 done
48918 if [ ${D}found -eq 0 ]; then
48919 echo "WARNING: there are no files in archive \\'${D}file\\'"
48920 fi
48921 ;;
48922 *)
48923 newInputFiles="${D}{newInputFiles} ${D}file"
48924 ;;
48925 esac
48926 done
48927 inputFiles="${D}newInputFiles"
48928
48929 # Output filename(s).
48930 do_backup=0;
48931 if [ -z ${D}outFile ]; then
48932 do_backup=1;
48933 set outFile ${D}inputFiles; outFile=${D}2
48934 fi
48935
48936 # If it is an archive, remove the '!' and the '_%' suffixes
48937 case ${D}outFile in
48938 *_%!)
48939 outFile=\`basnam ${D}outFile _%!\`
48940 ;;
48941 *)
48942 ;;
48943 esac
48944 case ${D}outFile in
48945 *.dll)
48946 outFile=\`basnam ${D}outFile .dll\`
48947 ;;
48948 *.DLL)
48949 outFile=\`basnam ${D}outFile .DLL\`
48950 ;;
48951 *.o)
48952 outFile=\`basnam ${D}outFile .o\`
48953 ;;
48954 *.obj)
48955 outFile=\`basnam ${D}outFile .obj\`
48956 ;;
48957 *.a)
48958 outFile=\`basnam ${D}outFile .a\`
48959 ;;
48960 *.lib)
48961 outFile=\`basnam ${D}outFile .lib\`
48962 ;;
48963 *)
48964 ;;
48965 esac
48966 case ${D}outimpFile in
48967 *.a)
48968 outimpFile=\`basnam ${D}outimpFile .a\`
48969 ;;
48970 *.lib)
48971 outimpFile=\`basnam ${D}outimpFile .lib\`
48972 ;;
48973 *)
48974 ;;
48975 esac
48976 if [ -z ${D}outimpFile ]; then
48977 outimpFile=${D}outFile
48978 fi
48979 defFile="${D}{outFile}.def"
48980 arcFile="${D}{outimpFile}.a"
48981 arcFile2="${D}{outimpFile}.lib"
48982
48983 #create ${D}dllFile as something matching 8.3 restrictions,
48984 if [ -z ${D}renameScript ] ; then
48985 dllFile="${D}outFile"
48986 else
48987 dllFile=\`${D}renameScript ${D}outimpFile\`
48988 fi
48989
48990 if [ ${D}do_backup -ne 0 ] ; then
48991 if [ -f ${D}arcFile ] ; then
48992 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48993 fi
48994 if [ -f ${D}arcFile2 ] ; then
48995 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48996 fi
48997 fi
48998
48999 # Extract public symbols from all the object files.
49000 tmpdefFile=${D}{defFile}_%
49001 rm -f ${D}tmpdefFile
49002 for file in ${D}inputFiles ; do
49003 case ${D}file in
49004 *!)
49005 ;;
49006 *)
49007 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49008 ;;
49009 esac
49010 done
49011
49012 # Create the def file.
49013 rm -f ${D}defFile
49014 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49015 dllFile="${D}{dllFile}.dll"
49016 if [ ! -z ${D}description ]; then
49017 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49018 fi
49019 echo "EXPORTS" >> ${D}defFile
49020
49021 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49022 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49023
49024 # Checks if the export is ok or not.
49025 for word in ${D}exclude_symbols; do
49026 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49027 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49028 done
49029
49030
49031 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49032 sed "=" < ${D}tmpdefFile | \\
49033 sed '
49034 N
49035 : loop
49036 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49037 t loop
49038 ' > ${D}{tmpdefFile}%
49039 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49040 else
49041 rm -f ${D}{tmpdefFile}%
49042 fi
49043 cat ${D}tmpdefFile >> ${D}defFile
49044 rm -f ${D}tmpdefFile
49045
49046 # Do linking, create implib, and apply lxlite.
49047 gccCmdl="";
49048 for file in ${D}inputFiles ; do
49049 case ${D}file in
49050 *!)
49051 ;;
49052 *)
49053 gccCmdl="${D}gccCmdl ${D}file"
49054 ;;
49055 esac
49056 done
49057 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49058 touch "${D}{outFile}.dll"
49059
49060 doCommand "emximp -o ${D}arcFile ${D}defFile"
49061 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49062 add_flags="";
49063 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49064 add_flags="-ynd"
49065 fi
49066 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49067 fi
49068 doCommand "emxomf -s -l ${D}arcFile"
49069
49070 # Successful exit.
49071 CleanUp 1
49072 exit 0
49073 EOF
49074
49075 chmod +x dllar.sh
49076 ;;
49077
49078 powerpc-apple-macos* | \
49079 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49080 *-*-mirbsd* | \
49081 *-*-sunos4* | \
49082 *-*-osf* | \
49083 *-*-dgux5* | \
49084 *-*-sysv5* | \
49085 *-pc-msdosdjgpp )
49086 ;;
49087
49088 *)
49089 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49090 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49091 { (exit 1); exit 1; }; }
49092 esac
49093
49094 if test "x$PIC_FLAG" != "x" ; then
49095 PIC_FLAG="$PIC_FLAG -DPIC"
49096 fi
49097
49098 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49099 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49100 fi
49101 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49102 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49103 fi
49104
49105
49106
49107
49108
49109
49110
49111
49112
49113 USE_SOVERSION=0
49114 USE_SOVERLINUX=0
49115 USE_SOVERSOLARIS=0
49116 USE_SOVERCYGWIN=0
49117 USE_SOSYMLINKS=0
49118 USE_MACVERSION=0
49119 SONAME_FLAG=
49120
49121 case "${BAKEFILE_HOST}" in
49122 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49123 *-*-k*bsd*-gnu | *-*-mirbsd* )
49124 if test "x$SUNCXX" = "xyes"; then
49125 SONAME_FLAG="-h "
49126 else
49127 SONAME_FLAG="-Wl,-soname,"
49128 fi
49129 USE_SOVERSION=1
49130 USE_SOVERLINUX=1
49131 USE_SOSYMLINKS=1
49132 ;;
49133
49134 *-*-solaris2* )
49135 SONAME_FLAG="-h "
49136 USE_SOVERSION=1
49137 USE_SOVERSOLARIS=1
49138 USE_SOSYMLINKS=1
49139 ;;
49140
49141 *-*-darwin* )
49142 USE_MACVERSION=1
49143 USE_SOVERSION=1
49144 USE_SOSYMLINKS=1
49145 ;;
49146
49147 *-*-cygwin* )
49148 USE_SOVERSION=1
49149 USE_SOVERCYGWIN=1
49150 ;;
49151 esac
49152
49153
49154
49155
49156
49157
49158
49159
49160
49161
49162 # Check whether --enable-dependency-tracking was given.
49163 if test "${enable_dependency_tracking+set}" = set; then
49164 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49165 fi
49166
49167
49168 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49169 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49170
49171 BK_DEPS=""
49172 if test "x$bk_use_trackdeps" = "xno" ; then
49173 DEPS_TRACKING=0
49174 { echo "$as_me:$LINENO: result: disabled" >&5
49175 echo "${ECHO_T}disabled" >&6; }
49176 else
49177 DEPS_TRACKING=1
49178
49179 if test "x$GCC" = "xyes"; then
49180 DEPSMODE=gcc
49181 case "${BAKEFILE_HOST}" in
49182 *-*-darwin* )
49183 DEPSFLAG="-no-cpp-precomp -MMD"
49184 ;;
49185 * )
49186 DEPSFLAG="-MMD"
49187 ;;
49188 esac
49189 { echo "$as_me:$LINENO: result: gcc" >&5
49190 echo "${ECHO_T}gcc" >&6; }
49191 elif test "x$MWCC" = "xyes"; then
49192 DEPSMODE=mwcc
49193 DEPSFLAG="-MM"
49194 { echo "$as_me:$LINENO: result: mwcc" >&5
49195 echo "${ECHO_T}mwcc" >&6; }
49196 elif test "x$SUNCC" = "xyes"; then
49197 DEPSMODE=unixcc
49198 DEPSFLAG="-xM1"
49199 { echo "$as_me:$LINENO: result: Sun cc" >&5
49200 echo "${ECHO_T}Sun cc" >&6; }
49201 elif test "x$SGICC" = "xyes"; then
49202 DEPSMODE=unixcc
49203 DEPSFLAG="-M"
49204 { echo "$as_me:$LINENO: result: SGI cc" >&5
49205 echo "${ECHO_T}SGI cc" >&6; }
49206 elif test "x$HPCC" = "xyes"; then
49207 DEPSMODE=unixcc
49208 DEPSFLAG="+make"
49209 { echo "$as_me:$LINENO: result: HP cc" >&5
49210 echo "${ECHO_T}HP cc" >&6; }
49211 elif test "x$COMPAQCC" = "xyes"; then
49212 DEPSMODE=gcc
49213 DEPSFLAG="-MD"
49214 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49215 echo "${ECHO_T}Compaq cc" >&6; }
49216 else
49217 DEPS_TRACKING=0
49218 { echo "$as_me:$LINENO: result: none" >&5
49219 echo "${ECHO_T}none" >&6; }
49220 fi
49221
49222 if test $DEPS_TRACKING = 1 ; then
49223
49224 D='$'
49225 cat <<EOF >bk-deps
49226 #!/bin/sh
49227
49228 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49229 # script. It is used to track C/C++ files dependencies in portable way.
49230 #
49231 # Permission is given to use this file in any way.
49232
49233 DEPSMODE=${DEPSMODE}
49234 DEPSFLAG="${DEPSFLAG}"
49235 DEPSDIRBASE=.deps
49236
49237 if test ${D}DEPSMODE = gcc ; then
49238 ${D}* ${D}{DEPSFLAG}
49239 status=${D}?
49240
49241 # determine location of created files:
49242 while test ${D}# -gt 0; do
49243 case "${D}1" in
49244 -o )
49245 shift
49246 objfile=${D}1
49247 ;;
49248 -* )
49249 ;;
49250 * )
49251 srcfile=${D}1
49252 ;;
49253 esac
49254 shift
49255 done
49256 objfilebase=\`basename ${D}objfile\`
49257 builddir=\`dirname ${D}objfile\`
49258 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49259 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49260 depsdir=${D}builddir/${D}DEPSDIRBASE
49261 mkdir -p ${D}depsdir
49262
49263 # if the compiler failed, we're done:
49264 if test ${D}{status} != 0 ; then
49265 rm -f ${D}depfile
49266 exit ${D}{status}
49267 fi
49268
49269 # move created file to the location we want it in:
49270 if test -f ${D}depfile ; then
49271 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49272 rm -f ${D}depfile
49273 else
49274 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49275 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49276 if test ! -f ${D}depfile ; then
49277 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49278 depfile="${D}objfile.d"
49279 fi
49280 if test -f ${D}depfile ; then
49281 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49282 rm -f ${D}depfile
49283 fi
49284 fi
49285 exit 0
49286
49287 elif test ${D}DEPSMODE = mwcc ; then
49288 ${D}* || exit ${D}?
49289 # Run mwcc again with -MM and redirect into the dep file we want
49290 # NOTE: We can't use shift here because we need ${D}* to be valid
49291 prevarg=
49292 for arg in ${D}* ; do
49293 if test "${D}prevarg" = "-o"; then
49294 objfile=${D}arg
49295 else
49296 case "${D}arg" in
49297 -* )
49298 ;;
49299 * )
49300 srcfile=${D}arg
49301 ;;
49302 esac
49303 fi
49304 prevarg="${D}arg"
49305 done
49306
49307 objfilebase=\`basename ${D}objfile\`
49308 builddir=\`dirname ${D}objfile\`
49309 depsdir=${D}builddir/${D}DEPSDIRBASE
49310 mkdir -p ${D}depsdir
49311
49312 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49313 exit 0
49314
49315 elif test ${D}DEPSMODE = unixcc; then
49316 ${D}* || exit ${D}?
49317 # Run compiler again with deps flag and redirect into the dep file.
49318 # It doesn't work if the '-o FILE' option is used, but without it the
49319 # dependency file will contain the wrong name for the object. So it is
49320 # removed from the command line, and the dep file is fixed with sed.
49321 cmd=""
49322 while test ${D}# -gt 0; do
49323 case "${D}1" in
49324 -o )
49325 shift
49326 objfile=${D}1
49327 ;;
49328 * )
49329 eval arg${D}#=\\${D}1
49330 cmd="${D}cmd \\${D}arg${D}#"
49331 ;;
49332 esac
49333 shift
49334 done
49335
49336 objfilebase=\`basename ${D}objfile\`
49337 builddir=\`dirname ${D}objfile\`
49338 depsdir=${D}builddir/${D}DEPSDIRBASE
49339 mkdir -p ${D}depsdir
49340
49341 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49342 exit 0
49343
49344 else
49345 ${D}*
49346 exit ${D}?
49347 fi
49348 EOF
49349
49350 chmod +x bk-deps
49351 BK_DEPS="`pwd`/bk-deps"
49352 fi
49353 fi
49354
49355
49356
49357
49358
49359 case ${BAKEFILE_HOST} in
49360 *-*-cygwin* | *-*-mingw32* )
49361 if test -n "$ac_tool_prefix"; then
49362 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49363 set dummy ${ac_tool_prefix}windres; ac_word=$2
49364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49366 if test "${ac_cv_prog_WINDRES+set}" = set; then
49367 echo $ECHO_N "(cached) $ECHO_C" >&6
49368 else
49369 if test -n "$WINDRES"; then
49370 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49371 else
49372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49373 for as_dir in $PATH
49374 do
49375 IFS=$as_save_IFS
49376 test -z "$as_dir" && as_dir=.
49377 for ac_exec_ext in '' $ac_executable_extensions; do
49378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49379 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49381 break 2
49382 fi
49383 done
49384 done
49385 IFS=$as_save_IFS
49386
49387 fi
49388 fi
49389 WINDRES=$ac_cv_prog_WINDRES
49390 if test -n "$WINDRES"; then
49391 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49392 echo "${ECHO_T}$WINDRES" >&6; }
49393 else
49394 { echo "$as_me:$LINENO: result: no" >&5
49395 echo "${ECHO_T}no" >&6; }
49396 fi
49397
49398
49399 fi
49400 if test -z "$ac_cv_prog_WINDRES"; then
49401 ac_ct_WINDRES=$WINDRES
49402 # Extract the first word of "windres", so it can be a program name with args.
49403 set dummy windres; ac_word=$2
49404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49406 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49407 echo $ECHO_N "(cached) $ECHO_C" >&6
49408 else
49409 if test -n "$ac_ct_WINDRES"; then
49410 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49411 else
49412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49413 for as_dir in $PATH
49414 do
49415 IFS=$as_save_IFS
49416 test -z "$as_dir" && as_dir=.
49417 for ac_exec_ext in '' $ac_executable_extensions; do
49418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49419 ac_cv_prog_ac_ct_WINDRES="windres"
49420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49421 break 2
49422 fi
49423 done
49424 done
49425 IFS=$as_save_IFS
49426
49427 fi
49428 fi
49429 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49430 if test -n "$ac_ct_WINDRES"; then
49431 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49432 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49433 else
49434 { echo "$as_me:$LINENO: result: no" >&5
49435 echo "${ECHO_T}no" >&6; }
49436 fi
49437
49438 if test "x$ac_ct_WINDRES" = x; then
49439 WINDRES=""
49440 else
49441 case $cross_compiling:$ac_tool_warned in
49442 yes:)
49443 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49444 whose name does not start with the host triplet. If you think this
49445 configuration is useful to you, please write to autoconf@gnu.org." >&5
49446 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49447 whose name does not start with the host triplet. If you think this
49448 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49449 ac_tool_warned=yes ;;
49450 esac
49451 WINDRES=$ac_ct_WINDRES
49452 fi
49453 else
49454 WINDRES="$ac_cv_prog_WINDRES"
49455 fi
49456
49457 ;;
49458
49459 *-*-darwin* | powerpc-apple-macos* )
49460 # Extract the first word of "Rez", so it can be a program name with args.
49461 set dummy Rez; ac_word=$2
49462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49464 if test "${ac_cv_prog_REZ+set}" = set; then
49465 echo $ECHO_N "(cached) $ECHO_C" >&6
49466 else
49467 if test -n "$REZ"; then
49468 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49469 else
49470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49471 for as_dir in $PATH
49472 do
49473 IFS=$as_save_IFS
49474 test -z "$as_dir" && as_dir=.
49475 for ac_exec_ext in '' $ac_executable_extensions; do
49476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49477 ac_cv_prog_REZ="Rez"
49478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49479 break 2
49480 fi
49481 done
49482 done
49483 IFS=$as_save_IFS
49484
49485 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49486 fi
49487 fi
49488 REZ=$ac_cv_prog_REZ
49489 if test -n "$REZ"; then
49490 { echo "$as_me:$LINENO: result: $REZ" >&5
49491 echo "${ECHO_T}$REZ" >&6; }
49492 else
49493 { echo "$as_me:$LINENO: result: no" >&5
49494 echo "${ECHO_T}no" >&6; }
49495 fi
49496
49497
49498 # Extract the first word of "SetFile", so it can be a program name with args.
49499 set dummy SetFile; ac_word=$2
49500 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49502 if test "${ac_cv_prog_SETFILE+set}" = set; then
49503 echo $ECHO_N "(cached) $ECHO_C" >&6
49504 else
49505 if test -n "$SETFILE"; then
49506 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49507 else
49508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49509 for as_dir in $PATH
49510 do
49511 IFS=$as_save_IFS
49512 test -z "$as_dir" && as_dir=.
49513 for ac_exec_ext in '' $ac_executable_extensions; do
49514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49515 ac_cv_prog_SETFILE="SetFile"
49516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49517 break 2
49518 fi
49519 done
49520 done
49521 IFS=$as_save_IFS
49522
49523 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49524 fi
49525 fi
49526 SETFILE=$ac_cv_prog_SETFILE
49527 if test -n "$SETFILE"; then
49528 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49529 echo "${ECHO_T}$SETFILE" >&6; }
49530 else
49531 { echo "$as_me:$LINENO: result: no" >&5
49532 echo "${ECHO_T}no" >&6; }
49533 fi
49534
49535
49536 ;;
49537 esac
49538
49539
49540
49541
49542
49543
49544
49545
49546
49547 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49548
49549
49550 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49551
49552
49553
49554 # Check whether --enable-precomp-headers was given.
49555 if test "${enable_precomp_headers+set}" = set; then
49556 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49557 fi
49558
49559
49560 GCC_PCH=0
49561 ICC_PCH=0
49562 USE_PCH=0
49563 BK_MAKE_PCH=""
49564
49565 case ${BAKEFILE_HOST} in
49566 *-*-cygwin* )
49567 bk_use_pch="no"
49568 ;;
49569 esac
49570
49571 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49572 if test "x$GCC" = "xyes"; then
49573 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49574 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49575 cat >conftest.$ac_ext <<_ACEOF
49576 /* confdefs.h. */
49577 _ACEOF
49578 cat confdefs.h >>conftest.$ac_ext
49579 cat >>conftest.$ac_ext <<_ACEOF
49580 /* end confdefs.h. */
49581
49582 int
49583 main ()
49584 {
49585
49586 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49587 There is no PCH support
49588 #endif
49589 #if (__GNUC__ < 3)
49590 There is no PCH support
49591 #endif
49592 #if (__GNUC__ == 3) && \
49593 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49594 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49595 ( defined(__INTEL_COMPILER) )
49596 There is no PCH support
49597 #endif
49598
49599 ;
49600 return 0;
49601 }
49602 _ACEOF
49603 rm -f conftest.$ac_objext
49604 if { (ac_try="$ac_compile"
49605 case "(($ac_try" in
49606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49607 *) ac_try_echo=$ac_try;;
49608 esac
49609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49610 (eval "$ac_compile") 2>conftest.er1
49611 ac_status=$?
49612 grep -v '^ *+' conftest.er1 >conftest.err
49613 rm -f conftest.er1
49614 cat conftest.err >&5
49615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49616 (exit $ac_status); } && {
49617 test -z "$ac_c_werror_flag" ||
49618 test ! -s conftest.err
49619 } && test -s conftest.$ac_objext; then
49620
49621 { echo "$as_me:$LINENO: result: yes" >&5
49622 echo "${ECHO_T}yes" >&6; }
49623 GCC_PCH=1
49624
49625 else
49626 echo "$as_me: failed program was:" >&5
49627 sed 's/^/| /' conftest.$ac_ext >&5
49628
49629
49630 if test "$INTELCXX8" = "yes"; then
49631 { echo "$as_me:$LINENO: result: yes" >&5
49632 echo "${ECHO_T}yes" >&6; }
49633 ICC_PCH=1
49634 if test "$INTELCXX10" = "yes"; then
49635 ICC_PCH_CREATE_SWITCH="-pch-create"
49636 ICC_PCH_USE_SWITCH="-pch-use"
49637 else
49638 ICC_PCH_CREATE_SWITCH="-create-pch"
49639 ICC_PCH_USE_SWITCH="-use-pch"
49640 fi
49641 else
49642 { echo "$as_me:$LINENO: result: no" >&5
49643 echo "${ECHO_T}no" >&6; }
49644 fi
49645
49646 fi
49647
49648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49649 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49650 USE_PCH=1
49651
49652 D='$'
49653 cat <<EOF >bk-make-pch
49654 #!/bin/sh
49655
49656 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49657 # script. It is used to generated precompiled headers.
49658 #
49659 # Permission is given to use this file in any way.
49660
49661 outfile="${D}{1}"
49662 header="${D}{2}"
49663 shift
49664 shift
49665
49666 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49667
49668 compiler=""
49669 headerfile=""
49670
49671 while test ${D}{#} -gt 0; do
49672 add_to_cmdline=1
49673 case "${D}{1}" in
49674 -I* )
49675 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49676 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49677 headerfile="${D}{incdir}/${D}{header}"
49678 fi
49679 ;;
49680 -use-pch|-use_pch|-pch-use )
49681 shift
49682 add_to_cmdline=0
49683 ;;
49684 esac
49685 if test ${D}add_to_cmdline = 1 ; then
49686 compiler="${D}{compiler} ${D}{1}"
49687 fi
49688 shift
49689 done
49690
49691 if test "x${D}{headerfile}" = "x" ; then
49692 echo "error: can't find header ${D}{header} in include paths" >&2
49693 else
49694 if test -f ${D}{outfile} ; then
49695 rm -f ${D}{outfile}
49696 else
49697 mkdir -p \`dirname ${D}{outfile}\`
49698 fi
49699 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49700 mkdir -p ${D}{builddir}/.deps
49701 if test "x${GCC_PCH}" = "x1" ; then
49702 # can do this because gcc is >= 3.4:
49703 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49704 elif test "x${ICC_PCH}" = "x1" ; then
49705 filename=pch_gen-${D}${D}
49706 file=${D}{filename}.c
49707 dfile=${D}{filename}.d
49708 cat > ${D}file <<EOT
49709 #include "${D}header"
49710 EOT
49711 # using -MF icc complains about differing command lines in creation/use
49712 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49713 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49714 rm -f ${D}file ${D}dfile ${D}{filename}.o
49715 fi
49716 exit ${D}{?}
49717 fi
49718 EOF
49719
49720 chmod +x bk-make-pch
49721 BK_MAKE_PCH="`pwd`/bk-make-pch"
49722 fi
49723 fi
49724 fi
49725
49726
49727
49728
49729
49730
49731
49732 COND_BUILD_DEBUG="#"
49733 if test "x$BUILD" = "xdebug" ; then
49734 COND_BUILD_DEBUG=""
49735 fi
49736
49737 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49738 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49739 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49740 fi
49741
49742 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49743 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49744 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49745 fi
49746
49747 COND_BUILD_DEBUG_UNICODE_0="#"
49748 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49749 COND_BUILD_DEBUG_UNICODE_0=""
49750 fi
49751
49752 COND_BUILD_DEBUG_UNICODE_1="#"
49753 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49754 COND_BUILD_DEBUG_UNICODE_1=""
49755 fi
49756
49757 COND_BUILD_RELEASE="#"
49758 if test "x$BUILD" = "xrelease" ; then
49759 COND_BUILD_RELEASE=""
49760 fi
49761
49762 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49763 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49764 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49765 fi
49766
49767 COND_BUILD_RELEASE_UNICODE_0="#"
49768 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49769 COND_BUILD_RELEASE_UNICODE_0=""
49770 fi
49771
49772 COND_BUILD_RELEASE_UNICODE_1="#"
49773 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49774 COND_BUILD_RELEASE_UNICODE_1=""
49775 fi
49776
49777 COND_BUILD_debug="#"
49778 if test "x$BUILD" = "xdebug" ; then
49779 COND_BUILD_debug=""
49780 fi
49781
49782 COND_BUILD_debug_DEBUG_FLAG_default="#"
49783 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49784 COND_BUILD_debug_DEBUG_FLAG_default=""
49785 fi
49786
49787 COND_BUILD_debug_DEBUG_INFO_default="#"
49788 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49789 COND_BUILD_debug_DEBUG_INFO_default=""
49790 fi
49791
49792 COND_BUILD_debug_UNICODE_0="#"
49793 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49794 COND_BUILD_debug_UNICODE_0=""
49795 fi
49796
49797 COND_BUILD_debug_UNICODE_1="#"
49798 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49799 COND_BUILD_debug_UNICODE_1=""
49800 fi
49801
49802 COND_BUILD_release="#"
49803 if test "x$BUILD" = "xrelease" ; then
49804 COND_BUILD_release=""
49805 fi
49806
49807 COND_BUILD_release_DEBUG_INFO_default="#"
49808 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49809 COND_BUILD_release_DEBUG_INFO_default=""
49810 fi
49811
49812 COND_BUILD_release_UNICODE_0="#"
49813 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49814 COND_BUILD_release_UNICODE_0=""
49815 fi
49816
49817 COND_BUILD_release_UNICODE_1="#"
49818 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49819 COND_BUILD_release_UNICODE_1=""
49820 fi
49821
49822 COND_DEBUG_FLAG_1="#"
49823 if test "x$DEBUG_FLAG" = "x1" ; then
49824 COND_DEBUG_FLAG_1=""
49825 fi
49826
49827 COND_DEBUG_INFO_0="#"
49828 if test "x$DEBUG_INFO" = "x0" ; then
49829 COND_DEBUG_INFO_0=""
49830 fi
49831
49832 COND_DEBUG_INFO_1="#"
49833 if test "x$DEBUG_INFO" = "x1" ; then
49834 COND_DEBUG_INFO_1=""
49835 fi
49836
49837 COND_DEPS_TRACKING_0="#"
49838 if test "x$DEPS_TRACKING" = "x0" ; then
49839 COND_DEPS_TRACKING_0=""
49840 fi
49841
49842 COND_DEPS_TRACKING_1="#"
49843 if test "x$DEPS_TRACKING" = "x1" ; then
49844 COND_DEPS_TRACKING_1=""
49845 fi
49846
49847 COND_GCC_PCH_1="#"
49848 if test "x$GCC_PCH" = "x1" ; then
49849 COND_GCC_PCH_1=""
49850 fi
49851
49852 COND_ICC_PCH_1="#"
49853 if test "x$ICC_PCH" = "x1" ; then
49854 COND_ICC_PCH_1=""
49855 fi
49856
49857 COND_MONOLITHIC_0="#"
49858 if test "x$MONOLITHIC" = "x0" ; then
49859 COND_MONOLITHIC_0=""
49860 fi
49861
49862 COND_MONOLITHIC_0_SHARED_0="#"
49863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49864 COND_MONOLITHIC_0_SHARED_0=""
49865 fi
49866
49867 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49869 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49870 fi
49871
49872 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49874 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49875 fi
49876
49877 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49879 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49880 fi
49881
49882 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49884 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49885 fi
49886
49887 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49889 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49890 fi
49891
49892 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49894 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49895 fi
49896
49897 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49899 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49900 fi
49901
49902 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49904 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49905 fi
49906
49907 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49909 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49910 fi
49911
49912 COND_MONOLITHIC_0_SHARED_1="#"
49913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49914 COND_MONOLITHIC_0_SHARED_1=""
49915 fi
49916
49917 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49919 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49920 fi
49921
49922 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49924 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49925 fi
49926
49927 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49929 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49930 fi
49931
49932 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49934 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49935 fi
49936
49937 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49939 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49940 fi
49941
49942 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49944 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49945 fi
49946
49947 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49949 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49950 fi
49951
49952 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49954 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49955 fi
49956
49957 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49959 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49960 fi
49961
49962 COND_MONOLITHIC_0_USE_AUI_1="#"
49963 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49964 COND_MONOLITHIC_0_USE_AUI_1=""
49965 fi
49966
49967 COND_MONOLITHIC_0_USE_GUI_1="#"
49968 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49969 COND_MONOLITHIC_0_USE_GUI_1=""
49970 fi
49971
49972 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49973 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49974 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49975 fi
49976
49977 COND_MONOLITHIC_0_USE_HTML_1="#"
49978 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49979 COND_MONOLITHIC_0_USE_HTML_1=""
49980 fi
49981
49982 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49983 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49984 COND_MONOLITHIC_0_USE_MEDIA_1=""
49985 fi
49986
49987 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49988 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49989 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49990 fi
49991
49992 COND_MONOLITHIC_0_USE_QA_1="#"
49993 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49994 COND_MONOLITHIC_0_USE_QA_1=""
49995 fi
49996
49997 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49998 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49999 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50000 fi
50001
50002 COND_MONOLITHIC_0_USE_STC_1="#"
50003 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50004 COND_MONOLITHIC_0_USE_STC_1=""
50005 fi
50006
50007 COND_MONOLITHIC_0_USE_XRC_1="#"
50008 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50009 COND_MONOLITHIC_0_USE_XRC_1=""
50010 fi
50011
50012 COND_MONOLITHIC_1="#"
50013 if test "x$MONOLITHIC" = "x1" ; then
50014 COND_MONOLITHIC_1=""
50015 fi
50016
50017 COND_MONOLITHIC_1_SHARED_0="#"
50018 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50019 COND_MONOLITHIC_1_SHARED_0=""
50020 fi
50021
50022 COND_MONOLITHIC_1_SHARED_1="#"
50023 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50024 COND_MONOLITHIC_1_SHARED_1=""
50025 fi
50026
50027 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50028 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50029 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50030 fi
50031
50032 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50033 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50034 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50035 fi
50036
50037 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50038 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50039 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50040 fi
50041
50042 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50043 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50044 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50045 fi
50046
50047 COND_PLATFORM_MACOSX_1="#"
50048 if test "x$PLATFORM_MACOSX" = "x1" ; then
50049 COND_PLATFORM_MACOSX_1=""
50050 fi
50051
50052 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50053 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50054 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50055 fi
50056
50057 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50058 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50059 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50060 fi
50061
50062 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50063 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50064 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50065 fi
50066
50067 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50068 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50069 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50070 fi
50071
50072 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50074 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50075 fi
50076
50077 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50078 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50079 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50080 fi
50081
50082 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50083 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50084 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50085 fi
50086
50087 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50088 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50089 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50090 fi
50091
50092 COND_PLATFORM_MACOS_1="#"
50093 if test "x$PLATFORM_MACOS" = "x1" ; then
50094 COND_PLATFORM_MACOS_1=""
50095 fi
50096
50097 COND_PLATFORM_MAC_0="#"
50098 if test "x$PLATFORM_MAC" = "x0" ; then
50099 COND_PLATFORM_MAC_0=""
50100 fi
50101
50102 COND_PLATFORM_MAC_1="#"
50103 if test "x$PLATFORM_MAC" = "x1" ; then
50104 COND_PLATFORM_MAC_1=""
50105 fi
50106
50107 COND_PLATFORM_MSDOS_0="#"
50108 if test "x$PLATFORM_MSDOS" = "x0" ; then
50109 COND_PLATFORM_MSDOS_0=""
50110 fi
50111
50112 COND_PLATFORM_MSDOS_1="#"
50113 if test "x$PLATFORM_MSDOS" = "x1" ; then
50114 COND_PLATFORM_MSDOS_1=""
50115 fi
50116
50117 COND_PLATFORM_OS2_1="#"
50118 if test "x$PLATFORM_OS2" = "x1" ; then
50119 COND_PLATFORM_OS2_1=""
50120 fi
50121
50122 COND_PLATFORM_UNIX_0="#"
50123 if test "x$PLATFORM_UNIX" = "x0" ; then
50124 COND_PLATFORM_UNIX_0=""
50125 fi
50126
50127 COND_PLATFORM_UNIX_1="#"
50128 if test "x$PLATFORM_UNIX" = "x1" ; then
50129 COND_PLATFORM_UNIX_1=""
50130 fi
50131
50132 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50133 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50134 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50135 fi
50136
50137 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50138 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50139 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50140 fi
50141
50142 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50143 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50144 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50145 fi
50146
50147 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50148 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50149 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50150 fi
50151
50152 COND_PLATFORM_WIN32_0="#"
50153 if test "x$PLATFORM_WIN32" = "x0" ; then
50154 COND_PLATFORM_WIN32_0=""
50155 fi
50156
50157 COND_PLATFORM_WIN32_1="#"
50158 if test "x$PLATFORM_WIN32" = "x1" ; then
50159 COND_PLATFORM_WIN32_1=""
50160 fi
50161
50162 COND_SHARED_0="#"
50163 if test "x$SHARED" = "x0" ; then
50164 COND_SHARED_0=""
50165 fi
50166
50167 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50168 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50169 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50170 fi
50171
50172 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50173 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50174 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50175 fi
50176
50177 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50178 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50179 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50180 fi
50181
50182 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50183 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50184 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50185 fi
50186
50187 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50188 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50189 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50190 fi
50191
50192 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50193 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50194 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50195 fi
50196
50197 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50198 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50199 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50200 fi
50201
50202 COND_SHARED_0_USE_STC_1="#"
50203 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50204 COND_SHARED_0_USE_STC_1=""
50205 fi
50206
50207 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50208 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50209 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50210 fi
50211
50212 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50213 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50214 COND_SHARED_0_wxUSE_REGEX_builtin=""
50215 fi
50216
50217 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50218 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50219 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50220 fi
50221
50222 COND_SHARED_1="#"
50223 if test "x$SHARED" = "x1" ; then
50224 COND_SHARED_1=""
50225 fi
50226
50227 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50228 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50229 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50230 fi
50231
50232 COND_TOOLKIT_="#"
50233 if test "x$TOOLKIT" = "x" ; then
50234 COND_TOOLKIT_=""
50235 fi
50236
50237 COND_TOOLKIT_COCOA="#"
50238 if test "x$TOOLKIT" = "xCOCOA" ; then
50239 COND_TOOLKIT_COCOA=""
50240 fi
50241
50242 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50243 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50244 COND_TOOLKIT_COCOA_USE_GUI_1=""
50245 fi
50246
50247 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50248 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50249 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50250 fi
50251
50252 COND_TOOLKIT_DFB="#"
50253 if test "x$TOOLKIT" = "xDFB" ; then
50254 COND_TOOLKIT_DFB=""
50255 fi
50256
50257 COND_TOOLKIT_DFB_USE_GUI_1="#"
50258 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50259 COND_TOOLKIT_DFB_USE_GUI_1=""
50260 fi
50261
50262 COND_TOOLKIT_GTK="#"
50263 if test "x$TOOLKIT" = "xGTK" ; then
50264 COND_TOOLKIT_GTK=""
50265 fi
50266
50267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50268 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50269 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50270 fi
50271
50272 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50273 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50274 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50275 fi
50276
50277 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50278 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50279 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50280 fi
50281
50282 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50283 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50285 fi
50286
50287 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50288 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50289 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50290 fi
50291
50292 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50293 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50294 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50295 fi
50296
50297 COND_TOOLKIT_GTK_USE_GUI_1="#"
50298 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50299 COND_TOOLKIT_GTK_USE_GUI_1=""
50300 fi
50301
50302 COND_TOOLKIT_MAC="#"
50303 if test "x$TOOLKIT" = "xMAC" ; then
50304 COND_TOOLKIT_MAC=""
50305 fi
50306
50307 COND_TOOLKIT_MGL="#"
50308 if test "x$TOOLKIT" = "xMGL" ; then
50309 COND_TOOLKIT_MGL=""
50310 fi
50311
50312 COND_TOOLKIT_MGL_USE_GUI_1="#"
50313 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50314 COND_TOOLKIT_MGL_USE_GUI_1=""
50315 fi
50316
50317 COND_TOOLKIT_MOTIF="#"
50318 if test "x$TOOLKIT" = "xMOTIF" ; then
50319 COND_TOOLKIT_MOTIF=""
50320 fi
50321
50322 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50323 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50324 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50325 fi
50326
50327 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50328 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50329 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50330 fi
50331
50332 COND_TOOLKIT_MSW="#"
50333 if test "x$TOOLKIT" = "xMSW" ; then
50334 COND_TOOLKIT_MSW=""
50335 fi
50336
50337 COND_TOOLKIT_MSW_USE_GUI_1="#"
50338 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50339 COND_TOOLKIT_MSW_USE_GUI_1=""
50340 fi
50341
50342 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50343 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50344 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50345 fi
50346
50347 COND_TOOLKIT_MSW_WXUNIV_0="#"
50348 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50349 COND_TOOLKIT_MSW_WXUNIV_0=""
50350 fi
50351
50352 COND_TOOLKIT_OSX_CARBON="#"
50353 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50354 COND_TOOLKIT_OSX_CARBON=""
50355 fi
50356
50357 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50358 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50359 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50360 fi
50361
50362 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50363 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50364 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50365 fi
50366
50367 COND_TOOLKIT_OSX_COCOA="#"
50368 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50369 COND_TOOLKIT_OSX_COCOA=""
50370 fi
50371
50372 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50373 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50374 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50375 fi
50376
50377 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50378 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50379 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50380 fi
50381
50382 COND_TOOLKIT_OSX_IPHONE="#"
50383 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50384 COND_TOOLKIT_OSX_IPHONE=""
50385 fi
50386
50387 COND_TOOLKIT_PM="#"
50388 if test "x$TOOLKIT" = "xPM" ; then
50389 COND_TOOLKIT_PM=""
50390 fi
50391
50392 COND_TOOLKIT_PM_USE_GUI_1="#"
50393 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50394 COND_TOOLKIT_PM_USE_GUI_1=""
50395 fi
50396
50397 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50398 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50399 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50400 fi
50401
50402 COND_TOOLKIT_WINCE="#"
50403 if test "x$TOOLKIT" = "xWINCE" ; then
50404 COND_TOOLKIT_WINCE=""
50405 fi
50406
50407 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50408 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50409 COND_TOOLKIT_WINCE_USE_GUI_1=""
50410 fi
50411
50412 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50413 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50414 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50415 fi
50416
50417 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50418 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50419 COND_TOOLKIT_WINCE_WXUNIV_0=""
50420 fi
50421
50422 COND_TOOLKIT_X11="#"
50423 if test "x$TOOLKIT" = "xX11" ; then
50424 COND_TOOLKIT_X11=""
50425 fi
50426
50427 COND_TOOLKIT_X11_USE_GUI_1="#"
50428 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50429 COND_TOOLKIT_X11_USE_GUI_1=""
50430 fi
50431
50432 COND_UNICODE_1="#"
50433 if test "x$UNICODE" = "x1" ; then
50434 COND_UNICODE_1=""
50435 fi
50436
50437 COND_USE_EXCEPTIONS_0="#"
50438 if test "x$USE_EXCEPTIONS" = "x0" ; then
50439 COND_USE_EXCEPTIONS_0=""
50440 fi
50441
50442 COND_USE_EXCEPTIONS_1="#"
50443 if test "x$USE_EXCEPTIONS" = "x1" ; then
50444 COND_USE_EXCEPTIONS_1=""
50445 fi
50446
50447 COND_USE_GUI_0="#"
50448 if test "x$USE_GUI" = "x0" ; then
50449 COND_USE_GUI_0=""
50450 fi
50451
50452 COND_USE_GUI_1="#"
50453 if test "x$USE_GUI" = "x1" ; then
50454 COND_USE_GUI_1=""
50455 fi
50456
50457 COND_USE_GUI_1_USE_OPENGL_1="#"
50458 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50459 COND_USE_GUI_1_USE_OPENGL_1=""
50460 fi
50461
50462 COND_USE_GUI_1_WXUNIV_0="#"
50463 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50464 COND_USE_GUI_1_WXUNIV_0=""
50465 fi
50466
50467 COND_USE_GUI_1_WXUNIV_1="#"
50468 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50469 COND_USE_GUI_1_WXUNIV_1=""
50470 fi
50471
50472 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50473 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50474 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50475 fi
50476
50477 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50478 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50479 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50480 fi
50481
50482 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50483 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50484 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50485 fi
50486
50487 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50488 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50489 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50490 fi
50491
50492 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50493 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50494 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50495 fi
50496
50497 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50498 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50499 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50500 fi
50501
50502 COND_USE_OPENGL_1="#"
50503 if test "x$USE_OPENGL" = "x1" ; then
50504 COND_USE_OPENGL_1=""
50505 fi
50506
50507 COND_USE_PCH_1="#"
50508 if test "x$USE_PCH" = "x1" ; then
50509 COND_USE_PCH_1=""
50510 fi
50511
50512 COND_USE_PLUGINS_0="#"
50513 if test "x$USE_PLUGINS" = "x0" ; then
50514 COND_USE_PLUGINS_0=""
50515 fi
50516
50517 COND_USE_RTTI_0="#"
50518 if test "x$USE_RTTI" = "x0" ; then
50519 COND_USE_RTTI_0=""
50520 fi
50521
50522 COND_USE_RTTI_1="#"
50523 if test "x$USE_RTTI" = "x1" ; then
50524 COND_USE_RTTI_1=""
50525 fi
50526
50527 COND_USE_SOSYMLINKS_1="#"
50528 if test "x$USE_SOSYMLINKS" = "x1" ; then
50529 COND_USE_SOSYMLINKS_1=""
50530 fi
50531
50532 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50533 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50534 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50535 fi
50536
50537 COND_USE_SOVERLINUX_1="#"
50538 if test "x$USE_SOVERLINUX" = "x1" ; then
50539 COND_USE_SOVERLINUX_1=""
50540 fi
50541
50542 COND_USE_SOVERSION_0="#"
50543 if test "x$USE_SOVERSION" = "x0" ; then
50544 COND_USE_SOVERSION_0=""
50545 fi
50546
50547 COND_USE_SOVERSOLARIS_1="#"
50548 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50549 COND_USE_SOVERSOLARIS_1=""
50550 fi
50551
50552 COND_USE_STC_1="#"
50553 if test "x$USE_STC" = "x1" ; then
50554 COND_USE_STC_1=""
50555 fi
50556
50557 COND_USE_THREADS_0="#"
50558 if test "x$USE_THREADS" = "x0" ; then
50559 COND_USE_THREADS_0=""
50560 fi
50561
50562 COND_USE_THREADS_1="#"
50563 if test "x$USE_THREADS" = "x1" ; then
50564 COND_USE_THREADS_1=""
50565 fi
50566
50567 COND_USE_XRC_1="#"
50568 if test "x$USE_XRC" = "x1" ; then
50569 COND_USE_XRC_1=""
50570 fi
50571
50572 COND_WINDOWS_IMPLIB_1="#"
50573 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50574 COND_WINDOWS_IMPLIB_1=""
50575 fi
50576
50577 COND_WITH_PLUGIN_SDL_1="#"
50578 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50579 COND_WITH_PLUGIN_SDL_1=""
50580 fi
50581
50582 COND_WXUNIV_0="#"
50583 if test "x$WXUNIV" = "x0" ; then
50584 COND_WXUNIV_0=""
50585 fi
50586
50587 COND_WXUNIV_1="#"
50588 if test "x$WXUNIV" = "x1" ; then
50589 COND_WXUNIV_1=""
50590 fi
50591
50592 COND_WXUSE_EXPAT_BUILTIN="#"
50593 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50594 COND_WXUSE_EXPAT_BUILTIN=""
50595 fi
50596
50597 COND_WXUSE_LIBJPEG_BUILTIN="#"
50598 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50599 COND_WXUSE_LIBJPEG_BUILTIN=""
50600 fi
50601
50602 COND_WXUSE_LIBPNG_BUILTIN="#"
50603 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50604 COND_WXUSE_LIBPNG_BUILTIN=""
50605 fi
50606
50607 COND_WXUSE_LIBTIFF_BUILTIN="#"
50608 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50609 COND_WXUSE_LIBTIFF_BUILTIN=""
50610 fi
50611
50612 COND_WXUSE_REGEX_BUILTIN="#"
50613 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50614 COND_WXUSE_REGEX_BUILTIN=""
50615 fi
50616
50617 COND_WXUSE_ZLIB_BUILTIN="#"
50618 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50619 COND_WXUSE_ZLIB_BUILTIN=""
50620 fi
50621
50622 COND_wxUSE_EXPAT_builtin="#"
50623 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50624 COND_wxUSE_EXPAT_builtin=""
50625 fi
50626
50627 COND_wxUSE_LIBJPEG_builtin="#"
50628 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50629 COND_wxUSE_LIBJPEG_builtin=""
50630 fi
50631
50632 COND_wxUSE_LIBPNG_builtin="#"
50633 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50634 COND_wxUSE_LIBPNG_builtin=""
50635 fi
50636
50637 COND_wxUSE_LIBTIFF_builtin="#"
50638 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50639 COND_wxUSE_LIBTIFF_builtin=""
50640 fi
50641
50642 COND_wxUSE_REGEX_builtin="#"
50643 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50644 COND_wxUSE_REGEX_builtin=""
50645 fi
50646
50647 COND_wxUSE_ZLIB_builtin="#"
50648 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50649 COND_wxUSE_ZLIB_builtin=""
50650 fi
50651
50652
50653
50654 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50655 { { 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
50656 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;}
50657 { (exit 1); exit 1; }; }
50658 fi
50659
50660 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50661 { { 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
50662 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;}
50663 { (exit 1); exit 1; }; }
50664 fi
50665
50666
50667 case ${INSTALL} in
50668 /* ) # Absolute
50669 ;;
50670 ?:* ) # Drive letter, considered as absolute.
50671 ;;
50672 *)
50673 INSTALL=`pwd`/${INSTALL} ;;
50674 esac
50675
50676 if test "$wxUSE_GUI" = "yes"; then
50677
50678 if test "$wxUSE_MSW" = 1 ; then
50679 if test "x$WINDRES" = "x"; then
50680 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50681 echo "$as_me: error: Required windres program not found" >&2;}
50682 { (exit 1); exit 1; }; }
50683 fi
50684
50685 RESCOMP="$WINDRES"
50686 fi
50687
50688 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50689 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50690 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50691
50692 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50693
50694 # Extract the first word of "DeRez", so it can be a program name with args.
50695 set dummy DeRez; ac_word=$2
50696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50698 if test "${ac_cv_prog_DEREZ+set}" = set; then
50699 echo $ECHO_N "(cached) $ECHO_C" >&6
50700 else
50701 if test -n "$DEREZ"; then
50702 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50703 else
50704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50705 for as_dir in $PATH
50706 do
50707 IFS=$as_save_IFS
50708 test -z "$as_dir" && as_dir=.
50709 for ac_exec_ext in '' $ac_executable_extensions; do
50710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50711 ac_cv_prog_DEREZ="DeRez"
50712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50713 break 2
50714 fi
50715 done
50716 done
50717 IFS=$as_save_IFS
50718
50719 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50720 fi
50721 fi
50722 DEREZ=$ac_cv_prog_DEREZ
50723 if test -n "$DEREZ"; then
50724 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50725 echo "${ECHO_T}$DEREZ" >&6; }
50726 else
50727 { echo "$as_me:$LINENO: result: no" >&5
50728 echo "${ECHO_T}no" >&6; }
50729 fi
50730
50731
50732
50733 MACSETFILE="\$(SETFILE)"
50734
50735 if test "$wxUSE_OSX_CARBON" = 1; then
50736 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50737 RESCOMP="$REZ"
50738 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50739 else
50740 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50741 RESCOMP="cat /dev/null \| $REZ"
50742 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50743 fi
50744
50745 else
50746 MACSETFILE="@true"
50747
50748 if test "$wxUSE_PM" = 1; then
50749 RESCOMP="emxbind"
50750 WXCONFIG_RESFLAGS="-ep"
50751
50752 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50753 else
50754 POSTLINK_COMMAND="@true"
50755 fi
50756 fi
50757
50758 fi
50759
50760
50761 if test $GCC_PCH = 1
50762 then
50763 if test "$wx_cv_gcc_pch_bug" = yes; then
50764 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50765 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50766 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50767 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50768 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50769 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50770 fi
50771
50772 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50773 # the headers that benefit from precompilation are mostly C++ headers.
50774 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50775 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50776 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50777 fi
50778
50779
50780 if test "$wxUSE_MAC" = 1 ; then
50781 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50782 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50783 mv temp bk-deps
50784 chmod +x bk-deps
50785 fi
50786 fi
50787
50788 if test "$wxUSE_SHARED" = "yes"; then
50789 case "${host}" in
50790 *-pc-os2_emx | *-pc-os2-emx )
50791 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50792 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50793 cp -p ${srcdir}/src/os2/dllnames.sh .
50794 cp -p ${srcdir}/src/os2/dllar.sh .
50795 ;;
50796 esac
50797 fi
50798 if test "$wxUSE_OMF" = "yes"; then
50799 case "${host}" in
50800 *-pc-os2_emx | *-pc-os2-emx )
50801 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50802 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50803 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50804 ;;
50805 esac
50806 fi
50807
50808 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50809
50810
50811 case "${host}" in
50812 *-*-solaris2* )
50813 if test "$GCC" = yes; then
50814 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50815 LIBS=`echo $LIBS | sed 's/-mt//'`
50816 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50817 fi
50818 ;;
50819
50820 *-*-linux* )
50821 if test "x$SUNCXX" = xyes; then
50822 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50823 LIBS=`echo $LIBS | sed 's/-pthread//'`
50824 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50825 fi
50826 ;;
50827 esac
50828
50829 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50830 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50831 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50832 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50833
50834 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50835
50836
50837
50838
50839
50840
50841
50842
50843
50844
50845
50846
50847
50848
50849
50850
50851
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887
50888
50889
50890
50891
50892
50893
50894
50895 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50896 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50897 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50898 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50899 echo $ECHO_N "(cached) $ECHO_C" >&6
50900 else
50901 cat >conftest.make <<\_ACEOF
50902 SHELL = /bin/sh
50903 all:
50904 @echo '@@@%%%=$(MAKE)=@@@%%%'
50905 _ACEOF
50906 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50907 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50908 *@@@%%%=?*=@@@%%%*)
50909 eval ac_cv_prog_make_${ac_make}_set=yes;;
50910 *)
50911 eval ac_cv_prog_make_${ac_make}_set=no;;
50912 esac
50913 rm -f conftest.make
50914 fi
50915 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50916 { echo "$as_me:$LINENO: result: yes" >&5
50917 echo "${ECHO_T}yes" >&6; }
50918 SET_MAKE=
50919 else
50920 { echo "$as_me:$LINENO: result: no" >&5
50921 echo "${ECHO_T}no" >&6; }
50922 SET_MAKE="MAKE=${MAKE-make}"
50923 fi
50924
50925
50926
50927 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50928
50929
50930 if test "$USE_WIN32" = 1; then
50931 ac_config_commands="$ac_config_commands
50932 rcdefs.h
50933 "
50934
50935 fi
50936
50937 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50938
50939
50940 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50941
50942
50943 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50944
50945
50946 if test "$wx_cv_version_script" = "yes"; then
50947 ac_config_files="$ac_config_files version-script"
50948
50949 fi
50950 ac_config_files="$ac_config_files Makefile"
50951
50952
50953 ac_config_commands="$ac_config_commands wx-config"
50954
50955
50956
50957 if test "$wxWITH_SUBDIRS" != "no"; then
50958 if test "$wxUSE_GUI" = "yes"; then
50959 SUBDIRS="samples demos utils"
50960 else
50961 SUBDIRS="samples utils"
50962 fi
50963
50964
50965
50966 # Check whether --with-cppunit-prefix was given.
50967 if test "${with_cppunit_prefix+set}" = set; then
50968 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50969 else
50970 cppunit_config_prefix=""
50971 fi
50972
50973
50974 # Check whether --with-cppunit-exec-prefix was given.
50975 if test "${with_cppunit_exec_prefix+set}" = set; then
50976 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50977 else
50978 cppunit_config_exec_prefix=""
50979 fi
50980
50981
50982 if test x$cppunit_config_exec_prefix != x ; then
50983 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50984 if test x${CPPUNIT_CONFIG+set} != xset ; then
50985 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50986 fi
50987 fi
50988 if test x$cppunit_config_prefix != x ; then
50989 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50990 if test x${CPPUNIT_CONFIG+set} != xset ; then
50991 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50992 fi
50993 fi
50994
50995 # Extract the first word of "cppunit-config", so it can be a program name with args.
50996 set dummy cppunit-config; ac_word=$2
50997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50999 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51000 echo $ECHO_N "(cached) $ECHO_C" >&6
51001 else
51002 case $CPPUNIT_CONFIG in
51003 [\\/]* | ?:[\\/]*)
51004 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51005 ;;
51006 *)
51007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51008 for as_dir in $PATH
51009 do
51010 IFS=$as_save_IFS
51011 test -z "$as_dir" && as_dir=.
51012 for ac_exec_ext in '' $ac_executable_extensions; do
51013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51014 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51016 break 2
51017 fi
51018 done
51019 done
51020 IFS=$as_save_IFS
51021
51022 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51023 ;;
51024 esac
51025 fi
51026 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51027 if test -n "$CPPUNIT_CONFIG"; then
51028 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51029 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51030 else
51031 { echo "$as_me:$LINENO: result: no" >&5
51032 echo "${ECHO_T}no" >&6; }
51033 fi
51034
51035
51036 cppunit_version_min=1.8.0
51037
51038 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51039 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51040 no_cppunit=""
51041 if test "$CPPUNIT_CONFIG" = "no" ; then
51042 { echo "$as_me:$LINENO: result: no" >&5
51043 echo "${ECHO_T}no" >&6; }
51044 no_cppunit=yes
51045 else
51046 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51047 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51048 cppunit_version=`$CPPUNIT_CONFIG --version`
51049
51050 cppunit_major_version=`echo $cppunit_version | \
51051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51052 cppunit_minor_version=`echo $cppunit_version | \
51053 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51054 cppunit_micro_version=`echo $cppunit_version | \
51055 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51056
51057 cppunit_major_min=`echo $cppunit_version_min | \
51058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51059 cppunit_minor_min=`echo $cppunit_version_min | \
51060 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51061 cppunit_micro_min=`echo $cppunit_version_min | \
51062 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51063
51064 cppunit_version_proper=`expr \
51065 $cppunit_major_version \> $cppunit_major_min \| \
51066 $cppunit_major_version \= $cppunit_major_min \& \
51067 $cppunit_minor_version \> $cppunit_minor_min \| \
51068 $cppunit_major_version \= $cppunit_major_min \& \
51069 $cppunit_minor_version \= $cppunit_minor_min \& \
51070 $cppunit_micro_version \>= $cppunit_micro_min `
51071
51072 if test "$cppunit_version_proper" = "1" ; then
51073 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51074 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51075 else
51076 { echo "$as_me:$LINENO: result: no" >&5
51077 echo "${ECHO_T}no" >&6; }
51078 no_cppunit=yes
51079 fi
51080 fi
51081
51082 if test "x$no_cppunit" = x ; then
51083 SUBDIRS="$SUBDIRS tests"
51084 else
51085 CPPUNIT_CFLAGS=""
51086 CPPUNIT_LIBS=""
51087 :
51088 fi
51089
51090
51091
51092
51093
51094 for subdir in $SUBDIRS; do
51095 if test -d ${srcdir}/${subdir} ; then
51096 if test "$wxUSE_GUI" = "yes"; then
51097 if test ${subdir} = "samples"; then
51098 makefiles="samples/Makefile.in $makefiles"
51099 for sample in $SAMPLES_SUBDIRS; do
51100 if test -d $srcdir/samples/$sample; then
51101 makefiles="samples/$sample/Makefile.in $makefiles"
51102 fi
51103 done
51104 else
51105 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51106 eval "disabled=\$$disabled_var"
51107 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51108 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51109 fi
51110 else
51111 if test ${subdir} = "samples"; then
51112 makefiles="samples/Makefile.in $makefiles"
51113 for sample in `echo $SAMPLES_SUBDIRS`; do
51114 if test -d $srcdir/samples/$sample; then
51115 makefiles="samples/$sample/Makefile.in $makefiles"
51116 fi
51117 done
51118 elif test ${subdir} = "utils"; then
51119 makefiles=""
51120 for util in ifacecheck ; do
51121 if test -d $srcdir/utils/$util ; then
51122 makefiles="utils/$util/src/Makefile.in \
51123 $makefiles"
51124 fi
51125 done
51126 else
51127 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51128 fi
51129 fi
51130
51131 for mkin in $makefiles ; do
51132 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51133 ac_config_files="$ac_config_files $mk"
51134
51135 done
51136 fi
51137 done
51138 fi
51139 cat >confcache <<\_ACEOF
51140 # This file is a shell script that caches the results of configure
51141 # tests run on this system so they can be shared between configure
51142 # scripts and configure runs, see configure's option --config-cache.
51143 # It is not useful on other systems. If it contains results you don't
51144 # want to keep, you may remove or edit it.
51145 #
51146 # config.status only pays attention to the cache file if you give it
51147 # the --recheck option to rerun configure.
51148 #
51149 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51150 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51151 # following values.
51152
51153 _ACEOF
51154
51155 # The following way of writing the cache mishandles newlines in values,
51156 # but we know of no workaround that is simple, portable, and efficient.
51157 # So, we kill variables containing newlines.
51158 # Ultrix sh set writes to stderr and can't be redirected directly,
51159 # and sets the high bit in the cache file unless we assign to the vars.
51160 (
51161 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51162 eval ac_val=\$$ac_var
51163 case $ac_val in #(
51164 *${as_nl}*)
51165 case $ac_var in #(
51166 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51167 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51168 esac
51169 case $ac_var in #(
51170 _ | IFS | as_nl) ;; #(
51171 *) $as_unset $ac_var ;;
51172 esac ;;
51173 esac
51174 done
51175
51176 (set) 2>&1 |
51177 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51178 *${as_nl}ac_space=\ *)
51179 # `set' does not quote correctly, so add quotes (double-quote
51180 # substitution turns \\\\ into \\, and sed turns \\ into \).
51181 sed -n \
51182 "s/'/'\\\\''/g;
51183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51184 ;; #(
51185 *)
51186 # `set' quotes correctly as required by POSIX, so do not add quotes.
51187 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51188 ;;
51189 esac |
51190 sort
51191 ) |
51192 sed '
51193 /^ac_cv_env_/b end
51194 t clear
51195 :clear
51196 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51197 t end
51198 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51199 :end' >>confcache
51200 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51201 if test -w "$cache_file"; then
51202 test "x$cache_file" != "x/dev/null" &&
51203 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51204 echo "$as_me: updating cache $cache_file" >&6;}
51205 cat confcache >$cache_file
51206 else
51207 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51208 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51209 fi
51210 fi
51211 rm -f confcache
51212
51213 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51214 # Let make expand exec_prefix.
51215 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51216
51217 DEFS=-DHAVE_CONFIG_H
51218
51219 ac_libobjs=
51220 ac_ltlibobjs=
51221 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51222 # 1. Remove the extension, and $U if already installed.
51223 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51224 ac_i=`echo "$ac_i" | sed "$ac_script"`
51225 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51226 # will be set to the directory where LIBOBJS objects are built.
51227 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51228 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51229 done
51230 LIBOBJS=$ac_libobjs
51231
51232 LTLIBOBJS=$ac_ltlibobjs
51233
51234
51235
51236 : ${CONFIG_STATUS=./config.status}
51237 ac_clean_files_save=$ac_clean_files
51238 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51239 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51240 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51241 cat >$CONFIG_STATUS <<_ACEOF
51242 #! $SHELL
51243 # Generated by $as_me.
51244 # Run this file to recreate the current configuration.
51245 # Compiler output produced by configure, useful for debugging
51246 # configure, is in config.log if it exists.
51247
51248 debug=false
51249 ac_cs_recheck=false
51250 ac_cs_silent=false
51251 SHELL=\${CONFIG_SHELL-$SHELL}
51252 _ACEOF
51253
51254 cat >>$CONFIG_STATUS <<\_ACEOF
51255 ## --------------------- ##
51256 ## M4sh Initialization. ##
51257 ## --------------------- ##
51258
51259 # Be more Bourne compatible
51260 DUALCASE=1; export DUALCASE # for MKS sh
51261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51262 emulate sh
51263 NULLCMD=:
51264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51265 # is contrary to our usage. Disable this feature.
51266 alias -g '${1+"$@"}'='"$@"'
51267 setopt NO_GLOB_SUBST
51268 else
51269 case `(set -o) 2>/dev/null` in
51270 *posix*) set -o posix ;;
51271 esac
51272
51273 fi
51274
51275
51276
51277
51278 # PATH needs CR
51279 # Avoid depending upon Character Ranges.
51280 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51281 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51282 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51283 as_cr_digits='0123456789'
51284 as_cr_alnum=$as_cr_Letters$as_cr_digits
51285
51286 # The user is always right.
51287 if test "${PATH_SEPARATOR+set}" != set; then
51288 echo "#! /bin/sh" >conf$$.sh
51289 echo "exit 0" >>conf$$.sh
51290 chmod +x conf$$.sh
51291 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51292 PATH_SEPARATOR=';'
51293 else
51294 PATH_SEPARATOR=:
51295 fi
51296 rm -f conf$$.sh
51297 fi
51298
51299 # Support unset when possible.
51300 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51301 as_unset=unset
51302 else
51303 as_unset=false
51304 fi
51305
51306
51307 # IFS
51308 # We need space, tab and new line, in precisely that order. Quoting is
51309 # there to prevent editors from complaining about space-tab.
51310 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51311 # splitting by setting IFS to empty value.)
51312 as_nl='
51313 '
51314 IFS=" "" $as_nl"
51315
51316 # Find who we are. Look in the path if we contain no directory separator.
51317 case $0 in
51318 *[\\/]* ) as_myself=$0 ;;
51319 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51320 for as_dir in $PATH
51321 do
51322 IFS=$as_save_IFS
51323 test -z "$as_dir" && as_dir=.
51324 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51325 done
51326 IFS=$as_save_IFS
51327
51328 ;;
51329 esac
51330 # We did not find ourselves, most probably we were run as `sh COMMAND'
51331 # in which case we are not to be found in the path.
51332 if test "x$as_myself" = x; then
51333 as_myself=$0
51334 fi
51335 if test ! -f "$as_myself"; then
51336 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51337 { (exit 1); exit 1; }
51338 fi
51339
51340 # Work around bugs in pre-3.0 UWIN ksh.
51341 for as_var in ENV MAIL MAILPATH
51342 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51343 done
51344 PS1='$ '
51345 PS2='> '
51346 PS4='+ '
51347
51348 # NLS nuisances.
51349 for as_var in \
51350 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51351 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51352 LC_TELEPHONE LC_TIME
51353 do
51354 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51355 eval $as_var=C; export $as_var
51356 else
51357 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51358 fi
51359 done
51360
51361 # Required to use basename.
51362 if expr a : '\(a\)' >/dev/null 2>&1 &&
51363 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51364 as_expr=expr
51365 else
51366 as_expr=false
51367 fi
51368
51369 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51370 as_basename=basename
51371 else
51372 as_basename=false
51373 fi
51374
51375
51376 # Name of the executable.
51377 as_me=`$as_basename -- "$0" ||
51378 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51379 X"$0" : 'X\(//\)$' \| \
51380 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51381 echo X/"$0" |
51382 sed '/^.*\/\([^/][^/]*\)\/*$/{
51383 s//\1/
51384 q
51385 }
51386 /^X\/\(\/\/\)$/{
51387 s//\1/
51388 q
51389 }
51390 /^X\/\(\/\).*/{
51391 s//\1/
51392 q
51393 }
51394 s/.*/./; q'`
51395
51396 # CDPATH.
51397 $as_unset CDPATH
51398
51399
51400
51401 as_lineno_1=$LINENO
51402 as_lineno_2=$LINENO
51403 test "x$as_lineno_1" != "x$as_lineno_2" &&
51404 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51405
51406 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51407 # uniformly replaced by the line number. The first 'sed' inserts a
51408 # line-number line after each line using $LINENO; the second 'sed'
51409 # does the real work. The second script uses 'N' to pair each
51410 # line-number line with the line containing $LINENO, and appends
51411 # trailing '-' during substitution so that $LINENO is not a special
51412 # case at line end.
51413 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51414 # scripts with optimization help from Paolo Bonzini. Blame Lee
51415 # E. McMahon (1931-1989) for sed's syntax. :-)
51416 sed -n '
51417 p
51418 /[$]LINENO/=
51419 ' <$as_myself |
51420 sed '
51421 s/[$]LINENO.*/&-/
51422 t lineno
51423 b
51424 :lineno
51425 N
51426 :loop
51427 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51428 t loop
51429 s/-\n.*//
51430 ' >$as_me.lineno &&
51431 chmod +x "$as_me.lineno" ||
51432 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51433 { (exit 1); exit 1; }; }
51434
51435 # Don't try to exec as it changes $[0], causing all sort of problems
51436 # (the dirname of $[0] is not the place where we might find the
51437 # original and so on. Autoconf is especially sensitive to this).
51438 . "./$as_me.lineno"
51439 # Exit status is that of the last command.
51440 exit
51441 }
51442
51443
51444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51445 as_dirname=dirname
51446 else
51447 as_dirname=false
51448 fi
51449
51450 ECHO_C= ECHO_N= ECHO_T=
51451 case `echo -n x` in
51452 -n*)
51453 case `echo 'x\c'` in
51454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51455 *) ECHO_C='\c';;
51456 esac;;
51457 *)
51458 ECHO_N='-n';;
51459 esac
51460
51461 if expr a : '\(a\)' >/dev/null 2>&1 &&
51462 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51463 as_expr=expr
51464 else
51465 as_expr=false
51466 fi
51467
51468 rm -f conf$$ conf$$.exe conf$$.file
51469 if test -d conf$$.dir; then
51470 rm -f conf$$.dir/conf$$.file
51471 else
51472 rm -f conf$$.dir
51473 mkdir conf$$.dir
51474 fi
51475 echo >conf$$.file
51476 if ln -s conf$$.file conf$$ 2>/dev/null; then
51477 as_ln_s='ln -s'
51478 # ... but there are two gotchas:
51479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51481 # In both cases, we have to default to `cp -p'.
51482 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51483 as_ln_s='cp -p'
51484 elif ln conf$$.file conf$$ 2>/dev/null; then
51485 as_ln_s=ln
51486 else
51487 as_ln_s='cp -p'
51488 fi
51489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51490 rmdir conf$$.dir 2>/dev/null
51491
51492 if mkdir -p . 2>/dev/null; then
51493 as_mkdir_p=:
51494 else
51495 test -d ./-p && rmdir ./-p
51496 as_mkdir_p=false
51497 fi
51498
51499 if test -x / >/dev/null 2>&1; then
51500 as_test_x='test -x'
51501 else
51502 if ls -dL / >/dev/null 2>&1; then
51503 as_ls_L_option=L
51504 else
51505 as_ls_L_option=
51506 fi
51507 as_test_x='
51508 eval sh -c '\''
51509 if test -d "$1"; then
51510 test -d "$1/.";
51511 else
51512 case $1 in
51513 -*)set "./$1";;
51514 esac;
51515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51516 ???[sx]*):;;*)false;;esac;fi
51517 '\'' sh
51518 '
51519 fi
51520 as_executable_p=$as_test_x
51521
51522 # Sed expression to map a string onto a valid CPP name.
51523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51524
51525 # Sed expression to map a string onto a valid variable name.
51526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51527
51528
51529 exec 6>&1
51530
51531 # Save the log message, to keep $[0] and so on meaningful, and to
51532 # report actual input values of CONFIG_FILES etc. instead of their
51533 # values after options handling.
51534 ac_log="
51535 This file was extended by wxWidgets $as_me 2.9.0, which was
51536 generated by GNU Autoconf 2.61. Invocation command line was
51537
51538 CONFIG_FILES = $CONFIG_FILES
51539 CONFIG_HEADERS = $CONFIG_HEADERS
51540 CONFIG_LINKS = $CONFIG_LINKS
51541 CONFIG_COMMANDS = $CONFIG_COMMANDS
51542 $ $0 $@
51543
51544 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51545 "
51546
51547 _ACEOF
51548
51549 cat >>$CONFIG_STATUS <<_ACEOF
51550 # Files that config.status was made for.
51551 config_files="$ac_config_files"
51552 config_headers="$ac_config_headers"
51553 config_commands="$ac_config_commands"
51554
51555 _ACEOF
51556
51557 cat >>$CONFIG_STATUS <<\_ACEOF
51558 ac_cs_usage="\
51559 \`$as_me' instantiates files from templates according to the
51560 current configuration.
51561
51562 Usage: $0 [OPTIONS] [FILE]...
51563
51564 -h, --help print this help, then exit
51565 -V, --version print version number and configuration settings, then exit
51566 -q, --quiet do not print progress messages
51567 -d, --debug don't remove temporary files
51568 --recheck update $as_me by reconfiguring in the same conditions
51569 --file=FILE[:TEMPLATE]
51570 instantiate the configuration file FILE
51571 --header=FILE[:TEMPLATE]
51572 instantiate the configuration header FILE
51573
51574 Configuration files:
51575 $config_files
51576
51577 Configuration headers:
51578 $config_headers
51579
51580 Configuration commands:
51581 $config_commands
51582
51583 Report bugs to <bug-autoconf@gnu.org>."
51584
51585 _ACEOF
51586 cat >>$CONFIG_STATUS <<_ACEOF
51587 ac_cs_version="\\
51588 wxWidgets config.status 2.9.0
51589 configured by $0, generated by GNU Autoconf 2.61,
51590 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51591
51592 Copyright (C) 2006 Free Software Foundation, Inc.
51593 This config.status script is free software; the Free Software Foundation
51594 gives unlimited permission to copy, distribute and modify it."
51595
51596 ac_pwd='$ac_pwd'
51597 srcdir='$srcdir'
51598 INSTALL='$INSTALL'
51599 _ACEOF
51600
51601 cat >>$CONFIG_STATUS <<\_ACEOF
51602 # If no file are specified by the user, then we need to provide default
51603 # value. By we need to know if files were specified by the user.
51604 ac_need_defaults=:
51605 while test $# != 0
51606 do
51607 case $1 in
51608 --*=*)
51609 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51610 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51611 ac_shift=:
51612 ;;
51613 *)
51614 ac_option=$1
51615 ac_optarg=$2
51616 ac_shift=shift
51617 ;;
51618 esac
51619
51620 case $ac_option in
51621 # Handling of the options.
51622 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51623 ac_cs_recheck=: ;;
51624 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51625 echo "$ac_cs_version"; exit ;;
51626 --debug | --debu | --deb | --de | --d | -d )
51627 debug=: ;;
51628 --file | --fil | --fi | --f )
51629 $ac_shift
51630 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51631 ac_need_defaults=false;;
51632 --header | --heade | --head | --hea )
51633 $ac_shift
51634 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51635 ac_need_defaults=false;;
51636 --he | --h)
51637 # Conflict between --help and --header
51638 { echo "$as_me: error: ambiguous option: $1
51639 Try \`$0 --help' for more information." >&2
51640 { (exit 1); exit 1; }; };;
51641 --help | --hel | -h )
51642 echo "$ac_cs_usage"; exit ;;
51643 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51644 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51645 ac_cs_silent=: ;;
51646
51647 # This is an error.
51648 -*) { echo "$as_me: error: unrecognized option: $1
51649 Try \`$0 --help' for more information." >&2
51650 { (exit 1); exit 1; }; } ;;
51651
51652 *) ac_config_targets="$ac_config_targets $1"
51653 ac_need_defaults=false ;;
51654
51655 esac
51656 shift
51657 done
51658
51659 ac_configure_extra_args=
51660
51661 if $ac_cs_silent; then
51662 exec 6>/dev/null
51663 ac_configure_extra_args="$ac_configure_extra_args --silent"
51664 fi
51665
51666 _ACEOF
51667 cat >>$CONFIG_STATUS <<_ACEOF
51668 if \$ac_cs_recheck; then
51669 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51670 CONFIG_SHELL=$SHELL
51671 export CONFIG_SHELL
51672 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51673 fi
51674
51675 _ACEOF
51676 cat >>$CONFIG_STATUS <<\_ACEOF
51677 exec 5>>config.log
51678 {
51679 echo
51680 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51681 ## Running $as_me. ##
51682 _ASBOX
51683 echo "$ac_log"
51684 } >&5
51685
51686 _ACEOF
51687 cat >>$CONFIG_STATUS <<_ACEOF
51688 #
51689 # INIT-COMMANDS
51690 #
51691
51692 CPP="$CPP"
51693 infile="$srcdir/include/wx/msw/genrcdefs.h"
51694 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51695
51696
51697 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51698 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51699 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51700 LN_S="${LN_S}"
51701
51702
51703 _ACEOF
51704
51705 cat >>$CONFIG_STATUS <<\_ACEOF
51706
51707 # Handling of arguments.
51708 for ac_config_target in $ac_config_targets
51709 do
51710 case $ac_config_target in
51711 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51712 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51713 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51714 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51715 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51716 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51717 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51718 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51719 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51720
51721 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51722 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51723 { (exit 1); exit 1; }; };;
51724 esac
51725 done
51726
51727
51728 # If the user did not use the arguments to specify the items to instantiate,
51729 # then the envvar interface is used. Set only those that are not.
51730 # We use the long form for the default assignment because of an extremely
51731 # bizarre bug on SunOS 4.1.3.
51732 if $ac_need_defaults; then
51733 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51734 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51735 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51736 fi
51737
51738 # Have a temporary directory for convenience. Make it in the build tree
51739 # simply because there is no reason against having it here, and in addition,
51740 # creating and moving files from /tmp can sometimes cause problems.
51741 # Hook for its removal unless debugging.
51742 # Note that there is a small window in which the directory will not be cleaned:
51743 # after its creation but before its name has been assigned to `$tmp'.
51744 $debug ||
51745 {
51746 tmp=
51747 trap 'exit_status=$?
51748 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51749 ' 0
51750 trap '{ (exit 1); exit 1; }' 1 2 13 15
51751 }
51752 # Create a (secure) tmp directory for tmp files.
51753
51754 {
51755 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51756 test -n "$tmp" && test -d "$tmp"
51757 } ||
51758 {
51759 tmp=./conf$$-$RANDOM
51760 (umask 077 && mkdir "$tmp")
51761 } ||
51762 {
51763 echo "$me: cannot create a temporary directory in ." >&2
51764 { (exit 1); exit 1; }
51765 }
51766
51767 #
51768 # Set up the sed scripts for CONFIG_FILES section.
51769 #
51770
51771 # No need to generate the scripts if there are no CONFIG_FILES.
51772 # This happens for instance when ./config.status config.h
51773 if test -n "$CONFIG_FILES"; then
51774
51775 _ACEOF
51776
51777
51778
51779 ac_delim='%!_!# '
51780 for ac_last_try in false false false false false :; do
51781 cat >conf$$subs.sed <<_ACEOF
51782 SHELL!$SHELL$ac_delim
51783 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51784 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51785 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51786 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51787 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51788 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51789 exec_prefix!$exec_prefix$ac_delim
51790 prefix!$prefix$ac_delim
51791 program_transform_name!$program_transform_name$ac_delim
51792 bindir!$bindir$ac_delim
51793 sbindir!$sbindir$ac_delim
51794 libexecdir!$libexecdir$ac_delim
51795 datarootdir!$datarootdir$ac_delim
51796 datadir!$datadir$ac_delim
51797 sysconfdir!$sysconfdir$ac_delim
51798 sharedstatedir!$sharedstatedir$ac_delim
51799 localstatedir!$localstatedir$ac_delim
51800 includedir!$includedir$ac_delim
51801 oldincludedir!$oldincludedir$ac_delim
51802 docdir!$docdir$ac_delim
51803 infodir!$infodir$ac_delim
51804 htmldir!$htmldir$ac_delim
51805 dvidir!$dvidir$ac_delim
51806 pdfdir!$pdfdir$ac_delim
51807 psdir!$psdir$ac_delim
51808 libdir!$libdir$ac_delim
51809 localedir!$localedir$ac_delim
51810 mandir!$mandir$ac_delim
51811 DEFS!$DEFS$ac_delim
51812 ECHO_C!$ECHO_C$ac_delim
51813 ECHO_N!$ECHO_N$ac_delim
51814 ECHO_T!$ECHO_T$ac_delim
51815 LIBS!$LIBS$ac_delim
51816 build_alias!$build_alias$ac_delim
51817 host_alias!$host_alias$ac_delim
51818 target_alias!$target_alias$ac_delim
51819 build!$build$ac_delim
51820 build_cpu!$build_cpu$ac_delim
51821 build_vendor!$build_vendor$ac_delim
51822 build_os!$build_os$ac_delim
51823 host!$host$ac_delim
51824 host_cpu!$host_cpu$ac_delim
51825 host_vendor!$host_vendor$ac_delim
51826 host_os!$host_os$ac_delim
51827 wx_top_builddir!$wx_top_builddir$ac_delim
51828 CC!$CC$ac_delim
51829 CFLAGS!$CFLAGS$ac_delim
51830 LDFLAGS!$LDFLAGS$ac_delim
51831 CPPFLAGS!$CPPFLAGS$ac_delim
51832 ac_ct_CC!$ac_ct_CC$ac_delim
51833 EXEEXT!$EXEEXT$ac_delim
51834 OBJEXT!$OBJEXT$ac_delim
51835 CPP!$CPP$ac_delim
51836 GREP!$GREP$ac_delim
51837 EGREP!$EGREP$ac_delim
51838 CXX!$CXX$ac_delim
51839 CXXFLAGS!$CXXFLAGS$ac_delim
51840 ac_ct_CXX!$ac_ct_CXX$ac_delim
51841 AR!$AR$ac_delim
51842 subdirs!$subdirs$ac_delim
51843 PKG_CONFIG!$PKG_CONFIG$ac_delim
51844 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51845 GTK_LIBS!$GTK_LIBS$ac_delim
51846 GTK_CONFIG!$GTK_CONFIG$ac_delim
51847 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51848 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51849 XMKMF!$XMKMF$ac_delim
51850 X_CFLAGS!$X_CFLAGS$ac_delim
51851 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51852 X_LIBS!$X_LIBS$ac_delim
51853 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51854 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51855 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51856 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51857 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51858 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51859 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51860 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51861 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51862 LIBICONV!$LIBICONV$ac_delim
51863 GXX_VERSION!$GXX_VERSION$ac_delim
51864 SDL_CONFIG!$SDL_CONFIG$ac_delim
51865 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51866 SDL_LIBS!$SDL_LIBS$ac_delim
51867 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51868 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51869 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51870 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51871 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51872 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51873 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51874 HILDON_LIBS!$HILDON_LIBS$ac_delim
51875 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51876 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51877 GST_CFLAGS!$GST_CFLAGS$ac_delim
51878 GST_LIBS!$GST_LIBS$ac_delim
51879 _ACEOF
51880
51881 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51882 break
51883 elif $ac_last_try; then
51884 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51885 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51886 { (exit 1); exit 1; }; }
51887 else
51888 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51889 fi
51890 done
51891
51892 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51893 if test -n "$ac_eof"; then
51894 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51895 ac_eof=`expr $ac_eof + 1`
51896 fi
51897
51898 cat >>$CONFIG_STATUS <<_ACEOF
51899 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51900 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51901 _ACEOF
51902 sed '
51903 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51904 s/^/s,@/; s/!/@,|#_!!_#|/
51905 :n
51906 t n
51907 s/'"$ac_delim"'$/,g/; t
51908 s/$/\\/; p
51909 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51910 ' >>$CONFIG_STATUS <conf$$subs.sed
51911 rm -f conf$$subs.sed
51912 cat >>$CONFIG_STATUS <<_ACEOF
51913 CEOF$ac_eof
51914 _ACEOF
51915
51916
51917 ac_delim='%!_!# '
51918 for ac_last_try in false false false false false :; do
51919 cat >conf$$subs.sed <<_ACEOF
51920 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51921 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51922 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51923 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51924 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51925 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51926 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51927 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51928 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51929 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51930 VENDOR!$VENDOR$ac_delim
51931 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51932 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51933 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51934 WXUNIV!$WXUNIV$ac_delim
51935 MONOLITHIC!$MONOLITHIC$ac_delim
51936 USE_PLUGINS!$USE_PLUGINS$ac_delim
51937 CXXWARNINGS!$CXXWARNINGS$ac_delim
51938 EXTRALIBS!$EXTRALIBS$ac_delim
51939 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51940 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51941 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51942 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51943 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51944 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51945 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51946 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51947 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51948 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51949 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51950 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51951 UNICODE!$UNICODE$ac_delim
51952 BUILD!$BUILD$ac_delim
51953 DEBUG_INFO!$DEBUG_INFO$ac_delim
51954 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51955 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51956 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51957 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51958 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51959 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51960 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51961 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51962 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51963 RANLIB!$RANLIB$ac_delim
51964 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51965 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51966 INSTALL_DATA!$INSTALL_DATA$ac_delim
51967 LN_S!$LN_S$ac_delim
51968 SET_MAKE!$SET_MAKE$ac_delim
51969 MAKE_SET!$MAKE_SET$ac_delim
51970 AROPTIONS!$AROPTIONS$ac_delim
51971 STRIP!$STRIP$ac_delim
51972 NM!$NM$ac_delim
51973 INSTALL_DIR!$INSTALL_DIR$ac_delim
51974 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51975 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51976 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51977 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51978 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51979 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51980 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51981 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51982 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51983 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51984 SO_SUFFIX!$SO_SUFFIX$ac_delim
51985 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51986 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51987 LIBPREFIX!$LIBPREFIX$ac_delim
51988 LIBEXT!$LIBEXT$ac_delim
51989 DLLPREFIX!$DLLPREFIX$ac_delim
51990 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51991 dlldir!$dlldir$ac_delim
51992 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51993 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51994 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51995 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51996 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51997 PIC_FLAG!$PIC_FLAG$ac_delim
51998 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51999 USE_SOVERSION!$USE_SOVERSION$ac_delim
52000 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52001 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52002 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52003 USE_MACVERSION!$USE_MACVERSION$ac_delim
52004 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52005 SONAME_FLAG!$SONAME_FLAG$ac_delim
52006 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52007 BK_DEPS!$BK_DEPS$ac_delim
52008 WINDRES!$WINDRES$ac_delim
52009 REZ!$REZ$ac_delim
52010 SETFILE!$SETFILE$ac_delim
52011 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52012 GCC_PCH!$GCC_PCH$ac_delim
52013 ICC_PCH!$ICC_PCH$ac_delim
52014 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52015 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52016 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52017 _ACEOF
52018
52019 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52020 break
52021 elif $ac_last_try; then
52022 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52023 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52024 { (exit 1); exit 1; }; }
52025 else
52026 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52027 fi
52028 done
52029
52030 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52031 if test -n "$ac_eof"; then
52032 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52033 ac_eof=`expr $ac_eof + 1`
52034 fi
52035
52036 cat >>$CONFIG_STATUS <<_ACEOF
52037 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52038 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52039 _ACEOF
52040 sed '
52041 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52042 s/^/s,@/; s/!/@,|#_!!_#|/
52043 :n
52044 t n
52045 s/'"$ac_delim"'$/,g/; t
52046 s/$/\\/; p
52047 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52048 ' >>$CONFIG_STATUS <conf$$subs.sed
52049 rm -f conf$$subs.sed
52050 cat >>$CONFIG_STATUS <<_ACEOF
52051 CEOF$ac_eof
52052 _ACEOF
52053
52054
52055 ac_delim='%!_!# '
52056 for ac_last_try in false false false false false :; do
52057 cat >conf$$subs.sed <<_ACEOF
52058 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52059 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52060 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52061 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52062 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52063 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52064 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52065 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52066 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52067 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52068 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52069 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52070 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52071 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52072 COND_BUILD_release!$COND_BUILD_release$ac_delim
52073 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52074 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52075 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52076 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52077 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52078 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52079 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52080 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52081 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52082 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52083 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52084 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52085 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52086 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52087 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52088 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52089 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52090 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52091 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52092 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52093 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52094 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52095 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52096 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52097 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52098 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52099 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52100 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52101 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52102 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52103 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52104 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52105 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52106 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52107 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52108 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52109 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52110 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52111 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52112 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52113 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52114 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52115 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52116 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52117 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52118 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52119 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52120 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52121 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52122 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52123 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52124 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
52125 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52126 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
52127 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52128 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52129 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52130 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52131 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52132 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52133 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52134 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52135 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52136 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52137 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52138 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52139 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52140 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52141 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52142 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52143 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52144 COND_SHARED_0!$COND_SHARED_0$ac_delim
52145 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52146 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52147 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52148 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52149 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52150 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52151 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52152 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52153 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52154 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52155 _ACEOF
52156
52157 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52158 break
52159 elif $ac_last_try; then
52160 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52161 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52162 { (exit 1); exit 1; }; }
52163 else
52164 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52165 fi
52166 done
52167
52168 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52169 if test -n "$ac_eof"; then
52170 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52171 ac_eof=`expr $ac_eof + 1`
52172 fi
52173
52174 cat >>$CONFIG_STATUS <<_ACEOF
52175 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52176 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52177 _ACEOF
52178 sed '
52179 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52180 s/^/s,@/; s/!/@,|#_!!_#|/
52181 :n
52182 t n
52183 s/'"$ac_delim"'$/,g/; t
52184 s/$/\\/; p
52185 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52186 ' >>$CONFIG_STATUS <conf$$subs.sed
52187 rm -f conf$$subs.sed
52188 cat >>$CONFIG_STATUS <<_ACEOF
52189 CEOF$ac_eof
52190 _ACEOF
52191
52192
52193 ac_delim='%!_!# '
52194 for ac_last_try in false false false false false :; do
52195 cat >conf$$subs.sed <<_ACEOF
52196 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52197 COND_SHARED_1!$COND_SHARED_1$ac_delim
52198 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52199 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52200 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52201 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52202 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52203 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52204 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52205 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52206 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52207 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52209 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52210 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52211 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52212 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52213 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52214 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52215 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52216 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52217 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52218 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52219 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52220 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52221 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52222 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52223 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52224 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52225 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52226 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52227 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52228 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52229 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52230 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52231 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52232 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52233 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52234 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52235 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52236 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52237 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52238 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52239 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52240 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52241 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52242 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52243 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52244 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52245 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52246 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52247 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52248 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52249 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52250 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52251 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52252 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52253 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52254 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52255 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52256 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52257 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52258 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52259 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52260 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52261 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52262 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52263 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52264 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52265 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52266 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52267 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52268 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52269 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52270 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52271 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52272 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52273 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52274 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52275 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52276 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52277 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52278 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52279 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52280 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52281 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52282 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52283 DEREZ!$DEREZ$ac_delim
52284 SHARED!$SHARED$ac_delim
52285 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52286 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52287 USE_GUI!$USE_GUI$ac_delim
52288 AFMINSTALL!$AFMINSTALL$ac_delim
52289 WIN32INSTALL!$WIN32INSTALL$ac_delim
52290 TOOLKIT!$TOOLKIT$ac_delim
52291 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52292 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52293 _ACEOF
52294
52295 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52296 break
52297 elif $ac_last_try; then
52298 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52299 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52300 { (exit 1); exit 1; }; }
52301 else
52302 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52303 fi
52304 done
52305
52306 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52307 if test -n "$ac_eof"; then
52308 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52309 ac_eof=`expr $ac_eof + 1`
52310 fi
52311
52312 cat >>$CONFIG_STATUS <<_ACEOF
52313 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52314 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52315 _ACEOF
52316 sed '
52317 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52318 s/^/s,@/; s/!/@,|#_!!_#|/
52319 :n
52320 t n
52321 s/'"$ac_delim"'$/,g/; t
52322 s/$/\\/; p
52323 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52324 ' >>$CONFIG_STATUS <conf$$subs.sed
52325 rm -f conf$$subs.sed
52326 cat >>$CONFIG_STATUS <<_ACEOF
52327 CEOF$ac_eof
52328 _ACEOF
52329
52330
52331 ac_delim='%!_!# '
52332 for ac_last_try in false false false false false :; do
52333 cat >conf$$subs.sed <<_ACEOF
52334 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52335 cross_compiling!$cross_compiling$ac_delim
52336 WIDGET_SET!$WIDGET_SET$ac_delim
52337 WX_RELEASE!$WX_RELEASE$ac_delim
52338 WX_VERSION!$WX_VERSION$ac_delim
52339 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52340 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52341 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52342 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52343 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52344 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52345 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52346 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52347 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52348 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52349 GUIDIST!$GUIDIST$ac_delim
52350 DISTDIR!$DISTDIR$ac_delim
52351 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52352 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52353 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52354 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52355 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52356 RESCOMP!$RESCOMP$ac_delim
52357 RESFLAGS!$RESFLAGS$ac_delim
52358 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52359 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52360 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52361 LIBWXMACRES!$LIBWXMACRES$ac_delim
52362 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52363 MACSETFILE!$MACSETFILE$ac_delim
52364 GCC!$GCC$ac_delim
52365 DLLTOOL!$DLLTOOL$ac_delim
52366 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52367 LIBOBJS!$LIBOBJS$ac_delim
52368 LTLIBOBJS!$LTLIBOBJS$ac_delim
52369 _ACEOF
52370
52371 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52372 break
52373 elif $ac_last_try; then
52374 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52375 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52376 { (exit 1); exit 1; }; }
52377 else
52378 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52379 fi
52380 done
52381
52382 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52383 if test -n "$ac_eof"; then
52384 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52385 ac_eof=`expr $ac_eof + 1`
52386 fi
52387
52388 cat >>$CONFIG_STATUS <<_ACEOF
52389 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52390 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52391 _ACEOF
52392 sed '
52393 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52394 s/^/s,@/; s/!/@,|#_!!_#|/
52395 :n
52396 t n
52397 s/'"$ac_delim"'$/,g/; t
52398 s/$/\\/; p
52399 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52400 ' >>$CONFIG_STATUS <conf$$subs.sed
52401 rm -f conf$$subs.sed
52402 cat >>$CONFIG_STATUS <<_ACEOF
52403 :end
52404 s/|#_!!_#|//g
52405 CEOF$ac_eof
52406 _ACEOF
52407
52408
52409 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52410 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52411 # trailing colons and then remove the whole line if VPATH becomes empty
52412 # (actually we leave an empty line to preserve line numbers).
52413 if test "x$srcdir" = x.; then
52414 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52415 s/:*\$(srcdir):*/:/
52416 s/:*\${srcdir}:*/:/
52417 s/:*@srcdir@:*/:/
52418 s/^\([^=]*=[ ]*\):*/\1/
52419 s/:*$//
52420 s/^[^=]*=[ ]*$//
52421 }'
52422 fi
52423
52424 cat >>$CONFIG_STATUS <<\_ACEOF
52425 fi # test -n "$CONFIG_FILES"
52426
52427
52428 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52429 do
52430 case $ac_tag in
52431 :[FHLC]) ac_mode=$ac_tag; continue;;
52432 esac
52433 case $ac_mode$ac_tag in
52434 :[FHL]*:*);;
52435 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52436 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52437 { (exit 1); exit 1; }; };;
52438 :[FH]-) ac_tag=-:-;;
52439 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52440 esac
52441 ac_save_IFS=$IFS
52442 IFS=:
52443 set x $ac_tag
52444 IFS=$ac_save_IFS
52445 shift
52446 ac_file=$1
52447 shift
52448
52449 case $ac_mode in
52450 :L) ac_source=$1;;
52451 :[FH])
52452 ac_file_inputs=
52453 for ac_f
52454 do
52455 case $ac_f in
52456 -) ac_f="$tmp/stdin";;
52457 *) # Look for the file first in the build tree, then in the source tree
52458 # (if the path is not absolute). The absolute path cannot be DOS-style,
52459 # because $ac_f cannot contain `:'.
52460 test -f "$ac_f" ||
52461 case $ac_f in
52462 [\\/$]*) false;;
52463 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52464 esac ||
52465 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52466 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52467 { (exit 1); exit 1; }; };;
52468 esac
52469 ac_file_inputs="$ac_file_inputs $ac_f"
52470 done
52471
52472 # Let's still pretend it is `configure' which instantiates (i.e., don't
52473 # use $as_me), people would be surprised to read:
52474 # /* config.h. Generated by config.status. */
52475 configure_input="Generated from "`IFS=:
52476 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52477 if test x"$ac_file" != x-; then
52478 configure_input="$ac_file. $configure_input"
52479 { echo "$as_me:$LINENO: creating $ac_file" >&5
52480 echo "$as_me: creating $ac_file" >&6;}
52481 fi
52482
52483 case $ac_tag in
52484 *:-:* | *:-) cat >"$tmp/stdin";;
52485 esac
52486 ;;
52487 esac
52488
52489 ac_dir=`$as_dirname -- "$ac_file" ||
52490 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52491 X"$ac_file" : 'X\(//\)[^/]' \| \
52492 X"$ac_file" : 'X\(//\)$' \| \
52493 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52494 echo X"$ac_file" |
52495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52496 s//\1/
52497 q
52498 }
52499 /^X\(\/\/\)[^/].*/{
52500 s//\1/
52501 q
52502 }
52503 /^X\(\/\/\)$/{
52504 s//\1/
52505 q
52506 }
52507 /^X\(\/\).*/{
52508 s//\1/
52509 q
52510 }
52511 s/.*/./; q'`
52512 { as_dir="$ac_dir"
52513 case $as_dir in #(
52514 -*) as_dir=./$as_dir;;
52515 esac
52516 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52517 as_dirs=
52518 while :; do
52519 case $as_dir in #(
52520 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52521 *) as_qdir=$as_dir;;
52522 esac
52523 as_dirs="'$as_qdir' $as_dirs"
52524 as_dir=`$as_dirname -- "$as_dir" ||
52525 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52526 X"$as_dir" : 'X\(//\)[^/]' \| \
52527 X"$as_dir" : 'X\(//\)$' \| \
52528 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52529 echo X"$as_dir" |
52530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52531 s//\1/
52532 q
52533 }
52534 /^X\(\/\/\)[^/].*/{
52535 s//\1/
52536 q
52537 }
52538 /^X\(\/\/\)$/{
52539 s//\1/
52540 q
52541 }
52542 /^X\(\/\).*/{
52543 s//\1/
52544 q
52545 }
52546 s/.*/./; q'`
52547 test -d "$as_dir" && break
52548 done
52549 test -z "$as_dirs" || eval "mkdir $as_dirs"
52550 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52551 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52552 { (exit 1); exit 1; }; }; }
52553 ac_builddir=.
52554
52555 case "$ac_dir" in
52556 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52557 *)
52558 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52559 # A ".." for each directory in $ac_dir_suffix.
52560 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52561 case $ac_top_builddir_sub in
52562 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52563 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52564 esac ;;
52565 esac
52566 ac_abs_top_builddir=$ac_pwd
52567 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52568 # for backward compatibility:
52569 ac_top_builddir=$ac_top_build_prefix
52570
52571 case $srcdir in
52572 .) # We are building in place.
52573 ac_srcdir=.
52574 ac_top_srcdir=$ac_top_builddir_sub
52575 ac_abs_top_srcdir=$ac_pwd ;;
52576 [\\/]* | ?:[\\/]* ) # Absolute name.
52577 ac_srcdir=$srcdir$ac_dir_suffix;
52578 ac_top_srcdir=$srcdir
52579 ac_abs_top_srcdir=$srcdir ;;
52580 *) # Relative name.
52581 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52582 ac_top_srcdir=$ac_top_build_prefix$srcdir
52583 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52584 esac
52585 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52586
52587
52588 case $ac_mode in
52589 :F)
52590 #
52591 # CONFIG_FILE
52592 #
52593
52594 case $INSTALL in
52595 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52596 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52597 esac
52598 _ACEOF
52599
52600 cat >>$CONFIG_STATUS <<\_ACEOF
52601 # If the template does not know about datarootdir, expand it.
52602 # FIXME: This hack should be removed a few years after 2.60.
52603 ac_datarootdir_hack=; ac_datarootdir_seen=
52604
52605 case `sed -n '/datarootdir/ {
52606 p
52607 q
52608 }
52609 /@datadir@/p
52610 /@docdir@/p
52611 /@infodir@/p
52612 /@localedir@/p
52613 /@mandir@/p
52614 ' $ac_file_inputs` in
52615 *datarootdir*) ac_datarootdir_seen=yes;;
52616 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52617 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52618 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52619 _ACEOF
52620 cat >>$CONFIG_STATUS <<_ACEOF
52621 ac_datarootdir_hack='
52622 s&@datadir@&$datadir&g
52623 s&@docdir@&$docdir&g
52624 s&@infodir@&$infodir&g
52625 s&@localedir@&$localedir&g
52626 s&@mandir@&$mandir&g
52627 s&\\\${datarootdir}&$datarootdir&g' ;;
52628 esac
52629 _ACEOF
52630
52631 # Neutralize VPATH when `$srcdir' = `.'.
52632 # Shell code in configure.ac might set extrasub.
52633 # FIXME: do we really want to maintain this feature?
52634 cat >>$CONFIG_STATUS <<_ACEOF
52635 sed "$ac_vpsub
52636 $extrasub
52637 _ACEOF
52638 cat >>$CONFIG_STATUS <<\_ACEOF
52639 :t
52640 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52641 s&@configure_input@&$configure_input&;t t
52642 s&@top_builddir@&$ac_top_builddir_sub&;t t
52643 s&@srcdir@&$ac_srcdir&;t t
52644 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52645 s&@top_srcdir@&$ac_top_srcdir&;t t
52646 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52647 s&@builddir@&$ac_builddir&;t t
52648 s&@abs_builddir@&$ac_abs_builddir&;t t
52649 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52650 s&@INSTALL@&$ac_INSTALL&;t t
52651 $ac_datarootdir_hack
52652 " $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
52653
52654 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52655 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52656 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52657 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52658 which seems to be undefined. Please make sure it is defined." >&5
52659 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52660 which seems to be undefined. Please make sure it is defined." >&2;}
52661
52662 rm -f "$tmp/stdin"
52663 case $ac_file in
52664 -) cat "$tmp/out"; rm -f "$tmp/out";;
52665 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52666 esac
52667 ;;
52668 :H)
52669 #
52670 # CONFIG_HEADER
52671 #
52672 _ACEOF
52673
52674 # Transform confdefs.h into a sed script `conftest.defines', that
52675 # substitutes the proper values into config.h.in to produce config.h.
52676 rm -f conftest.defines conftest.tail
52677 # First, append a space to every undef/define line, to ease matching.
52678 echo 's/$/ /' >conftest.defines
52679 # Then, protect against being on the right side of a sed subst, or in
52680 # an unquoted here document, in config.status. If some macros were
52681 # called several times there might be several #defines for the same
52682 # symbol, which is useless. But do not sort them, since the last
52683 # AC_DEFINE must be honored.
52684 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52685 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52686 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52687 # PARAMS is the parameter list in the macro definition--in most cases, it's
52688 # just an empty string.
52689 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52690 ac_dB='\\)[ (].*,\\1define\\2'
52691 ac_dC=' '
52692 ac_dD=' ,'
52693
52694 uniq confdefs.h |
52695 sed -n '
52696 t rset
52697 :rset
52698 s/^[ ]*#[ ]*define[ ][ ]*//
52699 t ok
52700 d
52701 :ok
52702 s/[\\&,]/\\&/g
52703 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52704 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52705 ' >>conftest.defines
52706
52707 # Remove the space that was appended to ease matching.
52708 # Then replace #undef with comments. This is necessary, for
52709 # example, in the case of _POSIX_SOURCE, which is predefined and required
52710 # on some systems where configure will not decide to define it.
52711 # (The regexp can be short, since the line contains either #define or #undef.)
52712 echo 's/ $//
52713 s,^[ #]*u.*,/* & */,' >>conftest.defines
52714
52715 # Break up conftest.defines:
52716 ac_max_sed_lines=50
52717
52718 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52719 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52720 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52721 # et cetera.
52722 ac_in='$ac_file_inputs'
52723 ac_out='"$tmp/out1"'
52724 ac_nxt='"$tmp/out2"'
52725
52726 while :
52727 do
52728 # Write a here document:
52729 cat >>$CONFIG_STATUS <<_ACEOF
52730 # First, check the format of the line:
52731 cat >"\$tmp/defines.sed" <<\\CEOF
52732 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52733 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52734 b
52735 :def
52736 _ACEOF
52737 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52738 echo 'CEOF
52739 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52740 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52741 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52742 grep . conftest.tail >/dev/null || break
52743 rm -f conftest.defines
52744 mv conftest.tail conftest.defines
52745 done
52746 rm -f conftest.defines conftest.tail
52747
52748 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52749 cat >>$CONFIG_STATUS <<\_ACEOF
52750 if test x"$ac_file" != x-; then
52751 echo "/* $configure_input */" >"$tmp/config.h"
52752 cat "$ac_result" >>"$tmp/config.h"
52753 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52754 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52755 echo "$as_me: $ac_file is unchanged" >&6;}
52756 else
52757 rm -f $ac_file
52758 mv "$tmp/config.h" $ac_file
52759 fi
52760 else
52761 echo "/* $configure_input */"
52762 cat "$ac_result"
52763 fi
52764 rm -f "$tmp/out12"
52765 ;;
52766
52767 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52768 echo "$as_me: executing $ac_file commands" >&6;}
52769 ;;
52770 esac
52771
52772
52773 case $ac_file$ac_mode in
52774 "rcdefs.h":C)
52775 mkdir -p $outdir &&
52776 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52777 ;;
52778 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52779 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52780 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52781 "wx-config":C) rm -f wx-config
52782 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52783 ;;
52784
52785 esac
52786 done # for ac_tag
52787
52788
52789 { (exit 0); exit 0; }
52790 _ACEOF
52791 chmod +x $CONFIG_STATUS
52792 ac_clean_files=$ac_clean_files_save
52793
52794
52795 # configure is writing to config.log, and then calls config.status.
52796 # config.status does its own redirection, appending to config.log.
52797 # Unfortunately, on DOS this fails, as config.log is still kept open
52798 # by configure, so config.status won't be able to write to it; its
52799 # output is simply discarded. So we exec the FD to /dev/null,
52800 # effectively closing config.log, so it can be properly (re)opened and
52801 # appended to by config.status. When coming back to configure, we
52802 # need to make the FD available again.
52803 if test "$no_create" != yes; then
52804 ac_cs_success=:
52805 ac_config_status_args=
52806 test "$silent" = yes &&
52807 ac_config_status_args="$ac_config_status_args --quiet"
52808 exec 5>/dev/null
52809 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52810 exec 5>>config.log
52811 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52812 # would make configure fail if this is the last instruction.
52813 $ac_cs_success || { (exit 1); exit 1; }
52814 fi
52815
52816 #
52817 # CONFIG_SUBDIRS section.
52818 #
52819 if test "$no_recursion" != yes; then
52820
52821 # Remove --cache-file and --srcdir arguments so they do not pile up.
52822 ac_sub_configure_args=
52823 ac_prev=
52824 eval "set x $ac_configure_args"
52825 shift
52826 for ac_arg
52827 do
52828 if test -n "$ac_prev"; then
52829 ac_prev=
52830 continue
52831 fi
52832 case $ac_arg in
52833 -cache-file | --cache-file | --cache-fil | --cache-fi \
52834 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52835 ac_prev=cache_file ;;
52836 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52837 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52838 | --c=*)
52839 ;;
52840 --config-cache | -C)
52841 ;;
52842 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52843 ac_prev=srcdir ;;
52844 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52845 ;;
52846 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52847 ac_prev=prefix ;;
52848 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52849 ;;
52850 *)
52851 case $ac_arg in
52852 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52853 esac
52854 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52855 esac
52856 done
52857
52858 # Always prepend --prefix to ensure using the same prefix
52859 # in subdir configurations.
52860 ac_arg="--prefix=$prefix"
52861 case $ac_arg in
52862 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52863 esac
52864 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52865
52866 # Pass --silent
52867 if test "$silent" = yes; then
52868 ac_sub_configure_args="--silent $ac_sub_configure_args"
52869 fi
52870
52871 ac_popdir=`pwd`
52872 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52873
52874 # Do not complain, so a configure script can configure whichever
52875 # parts of a large source tree are present.
52876 test -d "$srcdir/$ac_dir" || continue
52877
52878 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52879 echo "$as_me:$LINENO: $ac_msg" >&5
52880 echo "$ac_msg" >&6
52881 { as_dir="$ac_dir"
52882 case $as_dir in #(
52883 -*) as_dir=./$as_dir;;
52884 esac
52885 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52886 as_dirs=
52887 while :; do
52888 case $as_dir in #(
52889 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52890 *) as_qdir=$as_dir;;
52891 esac
52892 as_dirs="'$as_qdir' $as_dirs"
52893 as_dir=`$as_dirname -- "$as_dir" ||
52894 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52895 X"$as_dir" : 'X\(//\)[^/]' \| \
52896 X"$as_dir" : 'X\(//\)$' \| \
52897 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52898 echo X"$as_dir" |
52899 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52900 s//\1/
52901 q
52902 }
52903 /^X\(\/\/\)[^/].*/{
52904 s//\1/
52905 q
52906 }
52907 /^X\(\/\/\)$/{
52908 s//\1/
52909 q
52910 }
52911 /^X\(\/\).*/{
52912 s//\1/
52913 q
52914 }
52915 s/.*/./; q'`
52916 test -d "$as_dir" && break
52917 done
52918 test -z "$as_dirs" || eval "mkdir $as_dirs"
52919 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52920 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52921 { (exit 1); exit 1; }; }; }
52922 ac_builddir=.
52923
52924 case "$ac_dir" in
52925 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52926 *)
52927 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52928 # A ".." for each directory in $ac_dir_suffix.
52929 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52930 case $ac_top_builddir_sub in
52931 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52932 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52933 esac ;;
52934 esac
52935 ac_abs_top_builddir=$ac_pwd
52936 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52937 # for backward compatibility:
52938 ac_top_builddir=$ac_top_build_prefix
52939
52940 case $srcdir in
52941 .) # We are building in place.
52942 ac_srcdir=.
52943 ac_top_srcdir=$ac_top_builddir_sub
52944 ac_abs_top_srcdir=$ac_pwd ;;
52945 [\\/]* | ?:[\\/]* ) # Absolute name.
52946 ac_srcdir=$srcdir$ac_dir_suffix;
52947 ac_top_srcdir=$srcdir
52948 ac_abs_top_srcdir=$srcdir ;;
52949 *) # Relative name.
52950 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52951 ac_top_srcdir=$ac_top_build_prefix$srcdir
52952 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52953 esac
52954 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52955
52956
52957 cd "$ac_dir"
52958
52959 # Check for guested configure; otherwise get Cygnus style configure.
52960 if test -f "$ac_srcdir/configure.gnu"; then
52961 ac_sub_configure=$ac_srcdir/configure.gnu
52962 elif test -f "$ac_srcdir/configure"; then
52963 ac_sub_configure=$ac_srcdir/configure
52964 elif test -f "$ac_srcdir/configure.in"; then
52965 # This should be Cygnus configure.
52966 ac_sub_configure=$ac_aux_dir/configure
52967 else
52968 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52970 ac_sub_configure=
52971 fi
52972
52973 # The recursion is here.
52974 if test -n "$ac_sub_configure"; then
52975 # Make the cache file name correct relative to the subdirectory.
52976 case $cache_file in
52977 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52978 *) # Relative name.
52979 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52980 esac
52981
52982 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52983 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52984 # The eval makes quoting arguments work.
52985 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52986 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52987 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52988 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52989 { (exit 1); exit 1; }; }
52990 fi
52991
52992 cd "$ac_popdir"
52993 done
52994 fi
52995
52996
52997 echo
52998 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52999 echo ""
53000 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53001 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53002
53003 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53004 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53005 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53006 if test "$wxUSE_UNICODE" = "yes"; then
53007 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53008 echo " (using UTF-8)"
53009 else
53010 echo " (using wchar_t)"
53011 fi
53012 else
53013 echo
53014 fi
53015
53016 echo " What level of wxWidgets compatibility should be enabled?"
53017 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53018 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53019
53020 echo " Which libraries should wxWidgets use?"
53021 echo " STL ${wxUSE_STL}"
53022 echo " jpeg ${wxUSE_LIBJPEG-none}"
53023 echo " png ${wxUSE_LIBPNG-none}"
53024 echo " regex ${wxUSE_REGEX}"
53025 echo " tiff ${wxUSE_LIBTIFF-none}"
53026 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53027 echo " xpm ${wxUSE_LIBXPM-none}"
53028 fi
53029 echo " zlib ${wxUSE_ZLIB}"
53030 echo " expat ${wxUSE_EXPAT}"
53031 echo " libmspack ${wxUSE_LIBMSPACK}"
53032 echo " sdl ${wxUSE_LIBSDL}"
53033
53034 echo ""
53035